Lea Verou
99ad0abdd3
Palette icons, take 4
2025-02-13 10:52:40 -05:00
Cory LaViska
902e2b6367
Fix invalid CSS property in <wa-select> ( #751 )
...
* remove empty selectors
* fix invalid property
* update changelog
2025-02-13 15:45:57 +00:00
Lea Verou
7f3210b12d
Update changelog
2025-02-13 09:44:27 -05:00
Lea Verou
eee63bdecd
Clamped brand color tokens ( #741 )
2025-02-12 15:13:03 -05:00
Lindsay M
a91fd07ed7
Add pink, closes #658 ( #742 )
2025-02-11 10:52:51 -05:00
Lea Verou
13b5385633
Radio improvements
...
- Drop `base` part (rel #207 )
- Add `hint` slot and attribute (it was the only form control that did not support that)
- Refactor `@watch` calls to `updated()` per @claviska's plan for them
2025-02-10 14:19:53 -05:00
Lea Verou
d25f3748c4
Analyze color components ( #732 )
...
Also refactored existing color scripts (moved to separate directory, extracted utils to separate file)
2025-02-10 13:54:54 -05:00
Lea Verou
ffda52a7cf
Theme remixing: Dynamic code snippets ( #729 )
2025-02-07 23:03:34 -05:00
Lea Verou
c30f3c4b09
Improve theme remixing UI ( #724 )
...
Co-authored-by: lindsaym-fa <dev@lindsaym.design >
Co-authored-by: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com >
2025-02-07 11:35:12 -05:00
Lea Verou
f1fa7f713e
Add label attribute to option & menu-item ( #704 )
...
* Add `label` attribute and `defaultLabel` getter to option and menu-item, drop `getTextLabel()`
- Add `label` attribute to option and menu-item, closes #698
- [Option] Add `defaultLabel` cached property to both
- [Option] Remove `getTextLabel()` method from both (people can just set `el.label`)
- Refactor: Merge utils to get text content into one more powerful utility function
- Fixed typo in `slot.ts`
.
Add `label` attribute to menu, remove `getTextLabel`
* Update filename
2025-02-06 10:58:09 -05:00
lindsaym-fa
3394a95057
Remove visual test failure markers
2025-02-06 10:57:33 -05:00
Lea Verou
daf5e7734d
Support opting out of anchor headings with data-no-anchor
2025-02-06 10:56:56 -05:00
Lea Verou
17eeccbc5d
Better infrastructure for core colors, show core colors in docs, closes #668
2025-02-05 11:24:13 -05:00
Cory LaViska
b3e4c59197
add secure context notice ( #683 )
2025-02-04 16:27:35 +00:00
Lindsay M
6080a85035
Replace teal with cyan, fixes #659 ( #671 )
...
Co-authored-by: Lea Verou <lea@verou.me >
2025-02-03 19:01:23 -05:00
lindsaym-fa
f7e088c8df
Rename violet to purple, fixes #656
2025-02-03 18:47:03 -05:00
Cory LaViska
99f0273783
fix placeholder token ( #652 )
2025-02-03 17:03:34 +00:00
Cory LaViska
8e13683a30
Select tag fix ( #651 )
...
* add tag-counter part to wa-select
* on second thought
2025-02-03 16:48:46 +00:00
Cory LaViska
fd73542d2c
restore slot detection for non-SSR environments ( #649 )
2025-02-03 16:21:53 +00:00
Cory LaViska
bde0ed7403
add orientation example and use utils for spacing ( #648 )
2025-02-03 15:46:51 +00:00
Cory LaViska
8dc49f7119
fix event listeners ( #647 )
2025-02-03 10:07:21 -05:00
Cory LaViska
360273ac27
update version
2025-01-31 11:23:50 -05:00
Lea Verou
404d59d9d6
Improve FOUCE reduction utility, docs fixes, :state(wa-defined) ( #643 )
...
* Utility layout
* Split out, improve & document FOUCE utility
2025-01-31 11:19:30 -05:00
Lea Verou
74ecc52a15
Inheritable size ( #593 )
...
Co-authored-by: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com >
Co-authored-by: lindsaym-fa <dev@lindsaym.design >
2025-01-30 15:56:32 -08:00
Lindsay M
a64cc60ad5
Revise docs to clarify installation guidance ( #638 )
...
* Revise docs to clarify installation guidance
* Fix broken link
* Clarify `:where(:root)`, add CSS part example
2025-01-30 14:40:08 -05:00
Lindsay M
c5f91ec2f7
Add missing changelog entries ( #639 )
...
* Add logs for visual tests, `variant` inheritance, and missing bug fixes
* Update logs on docs changes
2025-01-30 11:51:57 -05:00
Lea Verou
4f9af1e871
Add JS snppet for setting wa-dark based on OS default
2025-01-30 08:32:01 -08:00
Lea Verou
aeb25f3a7d
Infrastructure for inheritable props, make variant inherit ( #582 )
...
Fixes #454 , fixes #592
Co-authored-by: lindsaym-fa <dev@lindsaym.design >
2025-01-29 16:22:50 -08:00
Cory LaViska
b89ee673e6
Fix <wa-textarea> form submit behavior ( #637 )
...
* fix textarea form submit behavior
* add test
2025-01-29 17:57:16 -05:00
Lindsay M
3c70c44b8a
Use flex columns for form controls, fixes #629 ( #636 )
...
* Use flex columns for form controls
* Touch up spacing in color picker example
* Use consistent `display` for related form controls
2025-01-29 09:56:09 -05:00
Lindsay M
d8881c0b1e
Add Visual Test Suite ( #617 )
...
* Initial progress on visual test suite
* Additional tests and descriptions
* Add native callout, add dividers between tables
* Indicate test failures, improve alignment tests
* Split tests into separate files
* Add table scrolling
* Remove irrelevant icon test cases
* Add test failures
* Shorten "Inline Code" > "Code" to prevent wrapping
* Add horizontal orientation to radio button tests
2025-01-28 18:45:19 -05:00
Lea Verou
88b6fe2fbe
Docs on cherry-picking native styles ( #619 )
...
Co-authored-by: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com >
2025-01-28 16:58:53 -05:00
Lea Verou
6a0725cf00
Fix button appearance docs ( #603 )
2025-01-28 15:46:30 -05:00
Cory LaViska
3ff8745910
Add orientation to radio group ( #635 )
...
* add orientation to radio group; fixes #613
* fix timing issue that prevents value from being set sometimes
* gimme a break
* make radio button examples horizontal
---------
Co-authored-by: lindsaym-fa <dev@lindsaym.design >
2025-01-28 14:23:39 -05:00
Lindsay M
815cc4220b
Add breaks between radios in examples ( #598 )
2025-01-24 17:19:26 -05:00
Cory LaViska
e1bf5471bf
Use native events when possible ( #590 )
...
* fix filename
* <wa-input> input + change (change not working)
* compose that horribly misleading change event
* use native blur/focus events
* update checkbox
* update color picker events
* update color picker events
* update radio group events
* update button events
* remove event options
* update select events
* update image comparer events
* update icon button events
* update slider events
* update rating events
* update radio events
* update switch event
* update textarea events
* update radio button events
* remove unused events
* cleanup
* fix react wrappers
* fix react events for real this time
* update changelog
* add note
* Update src/components/input/input.ts
Co-authored-by: Lea Verou <lea@verou.me >
* delete unused close event
* use same event type
* fix tests
* remove wa- from events in docs and examples
* fix comment
* Update docs/docs/resources/changelog.md
Co-authored-by: Lea Verou <lea@verou.me >
---------
Co-authored-by: Lea Verou <lea@verou.me >
2025-01-23 17:52:41 -05:00
Lea Verou
099edc5186
Implement wide page-level data
2025-01-22 13:25:29 -05:00
Cory LaViska
f2bb2c84a0
fix nested tab groups ( #576 )
2025-01-21 12:54:38 -05:00
Cory LaViska
13b3342017
fix slot names ( #577 )
2025-01-21 12:52:41 -05:00
Cory LaViska
d1c1d689ce
ensure fix works on backers website ( #579 )
2025-01-21 12:36:54 -05:00
Cory LaViska
566aae927d
fix typo
2025-01-17 10:39:18 -05:00
Lea Verou
7258c001a7
Demo for mixing and matching ( #565 )
2025-01-17 10:38:03 -05:00
Lea Verou
7a70940c6a
Update changelog, remove .wa-callout from alpha
2025-01-16 18:27:47 -05:00
Lea Verou
45f4edc426
Fix #561
2025-01-16 16:50:28 -05:00
Lea Verou
da32015f27
Basic mixing and matching docs ( #560 )
2025-01-16 16:31:24 -05:00
Lindsay M
34f8744493
Fix missing mild palette doc and links ( #557 )
2025-01-16 16:09:52 -05:00
Lea Verou
0037712549
Matter Ripple MVP ( #558 )
...
Co-authored-by: lindsaym-fa <dev@lindsaym.design >
2025-01-16 16:05:50 -05:00
Lea Verou
5301945bfa
Filled inputs
2025-01-16 14:48:56 -05:00
Lea Verou
df51149d0a
Show contrast ratios in contrast pair tables
2025-01-16 13:18:26 -05:00
Lindsay M
fba0b11343
Add Matter theme ( #547 )
...
* Add Matter theme
* Add Matter to alpha build
* Add changelog
* Fix incorrect palette name
* Make loud fills darker in light mode
2025-01-16 12:08:51 -05:00