Lea Verou
9fefb6d65a
[Native details] Refactor to use nesting and opt-out
...
Rel #300
2024-12-16 11:51:40 -05:00
Lea Verou
4b18c74b83
[Details] Add RTL example
2024-12-16 11:50:41 -05:00
Lea Verou
f739c6c143
Fix details tests
2024-12-16 11:17:58 -05:00
Lea Verou
9739aceb9f
Fix select tests
2024-12-16 11:16:42 -05:00
Lea Verou
afde497a1a
[Docs] Collapse "Components" by default, except when viewing a page in /components/
2024-12-16 11:14:18 -05:00
Lea Verou
666f1e5d52
Fix #309 for reals this time
2024-12-16 11:13:07 -05:00
Lea Verou
1013e83032
[Details] Fix interactive elements in summary, closes #309
2024-12-16 11:10:13 -05:00
Lea Verou
b15d938c7e
Merge branch 'next' of https://github.com/shoelace-style/webawesome into next
2024-12-16 10:49:09 -05:00
Lea Verou
c066c5f30b
[Details] Revamp CSS, simplify part names
...
First component to use the `display: contents` trick discussed in #207
2024-12-16 10:48:56 -05:00
Cory LaViska
abbfd9b43d
remove eslint from gh actions
2024-12-16 10:39:25 -05:00
Cory LaViska
ee0167a059
fix jsdoc
2024-12-16 10:29:46 -05:00
Lea Verou
f86c07bdab
Automate component navigation
2024-12-16 09:42:24 -05:00
Lea Verou
699595496e
[Page] CSS utilities: .wa-mobile-only and .wa-desktop-only
2024-12-16 07:55:28 -05:00
Lea Verou
fa42764a4b
Automatically hide [data-toggle-nav] on desktop view
2024-12-16 07:53:35 -05:00
Lea Verou
15bbafd631
Fix typo
2024-12-16 07:44:01 -05:00
Lea Verou
9423178df5
Tweaks to <details> styles
2024-12-16 07:18:02 -05:00
Lea Verou
9260d35b4c
Split Applied CSS out to make it easier to manage and share w/ components
...
As discussed with @lindsaym-fa
Still unsure about some of these (especially about whether blockquote & details should be separate) but I figured better go ahead and split and we can fine tune later
Co-Authored-By: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com >
2024-12-16 06:55:01 -05:00
Lea Verou
10156a8218
Add log filter for easier debugging of templates
2024-12-16 06:27:25 -05:00
Lea Verou
d0574677c1
Fix a couple types that were throwing off the CEM
2024-12-14 20:29:29 -05:00
Lea Verou
7b0274a657
Refactor: Normalize order of alternatives
2024-12-14 19:51:04 -05:00
Lea Verou
325eaeb225
[select] Mark getTag as attribute: false
2024-12-14 19:10:30 -05:00
Lea Verou
f840d623d5
We no longer need to highlight CSS in template strings
2024-12-14 18:53:56 -05:00
Lea Verou
f9590195a5
Refactor: Revamp select styles
...
- Removed BEM-style naming (the shadow DOM gives you scoping already!)
- Use new size helper
- Organize styles to keep an element’s styles together, using nesting for modifiers
- Removed unused classes
2024-12-14 17:35:50 -05:00
Lea Verou
53eb0d8f30
Refactor: [textarea] Use size util
2024-12-14 17:12:22 -05:00
Lea Verou
b0c4c7263b
Allow Prettier default for trailing commas, run Prettier on repo
...
per convo with @claviska
2024-12-14 17:10:26 -05:00
Lea Verou
b5d1a71f46
Simplify hint slots
2024-12-14 17:04:42 -05:00
Lea Verou
dd7b673328
Run Prettier on repo
...
Turns out `prettier-plugin-organize-imports` sorts imports differently than the old one so this will prevent spreading the change across multiple commits whenever we touch a file (and potentially introducing conflicts)
2024-12-14 17:01:35 -05:00
Lea Verou
9f0276f55e
Introduce size shadow utils and use them with checkbox (more to come)
2024-12-14 16:34:53 -05:00
Lea Verou
15d250b103
Refactor: [select.css] more CSS nesting
2024-12-14 15:46:59 -05:00
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