Lea Verou
0c40579be4
Split visually hidden into a separate file that components can import
2024-12-14 15:30:51 -05:00
Lea Verou
f0f080a428
Refactor: [select, input] Use CSS Nesting
2024-12-13 19:20:54 -05:00
Lea Verou
54b511b709
Collapse weird pill rules duplicating values
2024-12-13 18:57:45 -05:00
Lea Verou
c50da3429b
Refactor: Collapse 3 rules doing the same thing
2024-12-13 17:32:34 -05:00
Lea Verou
ad3cd289dd
Merge branch 'next' of https://github.com/shoelace-style/webawesome into next
2024-12-13 17:17:48 -05:00
Lea Verou
b1fffc7df9
Refactor: checkbox
...
- Reduce class names by using `:has()`, native pseudo-classes, or `[part~=foo]` selectors
- Remove `hasFocus` property since it’s no longer needed
- Move the icon hiding logic to CSS
2024-12-13 17:17:45 -05:00
Lea Verou
587db10022
Refactor: reduce duplication in form-controls.css
2024-12-13 17:14:15 -05:00
Lea Verou
47294ad0ed
Leftover help-text ➡️ hint
2024-12-13 17:09:23 -05:00
lindsaym-fa
28ebab868b
remove busted links to old layout.css location
2024-12-13 15:03:25 -05:00
lindsaym-fa
07d15fd863
fix references to utility files
2024-12-13 14:43:43 -05:00
Lea Verou
2c9eb385fd
Add note about Chrome bugfix
...
Also revert unintentional change, oops
2024-12-13 14:35:16 -05:00
Lea Verou
6d9f513f68
help-text ➡️ hint
2024-12-13 14:17:58 -05:00
Lea Verou
4b56a03144
Convert component shadow styles to CSS files too
2024-12-13 13:56:42 -05:00
Lea Verou
9c17d27af4
Big CSS Reorg Part 1 ( #304 )
2024-12-13 13:45:33 -05:00
Lea Verou
cc37a5c44b
Delete unused tabbable.ts file
2024-12-13 10:56:13 -05:00
Lea Verou
9e6ee89585
Support any CSS length in mobile-breakpoint ( #303 )
...
Co-authored-by: Konnor Rogers <konnor5456@gmail.com >
2024-12-13 10:48:41 -05:00
Lea Verou
ea25de8040
Split CSS utility regions into separate files
2024-12-13 04:25:58 -05:00
Lea Verou
7bee00d706
Update package-lock.json
2024-12-13 04:25:28 -05:00
Lea Verou
6b9f064aeb
Ooops, turns out prettier-plugin-organize-imports was not added
2024-12-13 04:16:32 -05:00
Lea Verou
e9377cf746
Apply display: flex to gap utils, closes #265
2024-12-13 03:50:22 -05:00
Lea Verou
35d2b7f12a
Add tab-size: 4, closes #256
2024-12-13 03:45:48 -05:00
Lea Verou
922d7d9894
Remove <wa-visually-hidden>, closes #232
2024-12-13 03:42:09 -05:00
Lea Verou
24f5f3c4ca
Enable light dismiss by default for <wa-drawer>
...
The docs seemed to be hinting that this is the case, and indeed it seems more reasonable.
2024-12-13 03:32:45 -05:00
Lea Verou
8358127992
Leftover work from removing ESLint
2024-12-13 03:14:41 -05:00
Lea Verou
67563b2bba
Remove ESLint, add prettier-plugin-organize-imports
...
Per discussions with @claviska
2024-12-13 02:56:24 -05:00
Lea Verou
73e9e9ab3a
More CSS refactor
...
cc @lindsaym-fa
2024-12-12 20:53:54 -05:00
Lea Verou
7ce393feb8
Slight refactor of page demo CSS
...
@lindsaym-fa I think I didn't break anything, but you might want to take a look
2024-12-12 20:42:19 -05:00
lindsaym-fa
b25e58b24b
reinstate content flow rule
2024-12-12 16:13:39 -05:00
lindsaym-fa
cb0240c91d
let navigation links close the navigation drawer
2024-12-12 16:00:04 -05:00
Lea Verou
16302c0130
Move component styles to use CSS files ( #298 )
2024-12-12 12:30:13 -05:00
Lea Verou
88f2f99290
Simplify how components specify their own shadow styles
...
Shared styles are now added in the base class, rather than having to be repeated in every component.
In the odd case a component does not want the shared styles, it can define a custom `styles` property of its own.
2024-12-11 21:21:30 -05:00
Lea Verou
36a397ddaa
Split out mobile page styles
...
Now each `*.styles.ts` file has a single default export
2024-12-11 20:40:34 -05:00
Lea Verou
8fd897e348
[viewport-demo] Revert resize button
2024-12-11 16:22:42 -05:00
Lea Verou
adc76b4eb1
Merge branch 'next' of https://github.com/shoelace-style/webawesome into next
2024-12-11 16:09:17 -05:00
Lea Verou
cbb4aa8be1
Fix <wa-viewport-demo> zooming in Safari & Firefox
...
Also some refactoring to use `updated()` rather than `handleXXX()` functions
2024-12-11 16:09:15 -05:00
lindsaym-fa
968930c543
improve responsiveness of media example page
2024-12-11 10:52:46 -05:00
lindsaym-fa
4be8a46cdd
touch up media example page
2024-12-11 10:32:09 -05:00
Lea Verou
c02496ff02
Add warning
2024-12-11 10:06:19 -05:00
Lea Verou
4b8afb4bc3
Hide zoom/viewport readings when they are lying
2024-12-11 10:02:25 -05:00
Lea Verou
01aa2afc15
Move display: flex to shared rule
2024-12-11 02:11:56 -05:00
Lea Verou
4f3539cb43
Formatting
2024-12-11 01:59:26 -05:00
Lea Verou
260bd47030
Simplify selector
2024-12-11 01:54:27 -05:00
Lea Verou
2f6fe33e2c
Merge branch 'next' of https://github.com/shoelace-style/webawesome into next
2024-12-10 18:18:22 -05:00
Lea Verou
c307cfde1c
Re-enable zoom in Safari & FF
...
The way they do zooming is crap, but hey, at least you can now tweak it again
2024-12-10 18:18:20 -05:00
Cory LaViska
883ef50186
Merge branch 'next' of https://github.com/shoelace-style/webawesome into next
2024-12-10 17:42:07 -05:00
Cory LaViska
c359556605
cleanup changelog
2024-12-10 17:41:51 -05:00
Lea Verou
3e18309367
Reorg page docs, light content editing
2024-12-10 15:34:14 -05:00
Cory LaViska
2fb0cc7d6d
Merge branch 'next' into alpha
2024-12-10 15:27:19 -05:00
Lea Verou
26449e12e5
Merge branch 'next' of https://github.com/shoelace-style/webawesome into next
2024-12-10 15:23:22 -05:00
Lea Verou
7058de0568
Convert preview scripts to modules when using a manually slotted preview
2024-12-10 15:23:16 -05:00