Konnor Rogers
79bafc513a
11ty for webawesome-app ( #803 )
...
* working on integration
* 11ty for webawesome + app
* add flashes
* additional changes
* prettier
* add note about nunjucks
* prettier
2025-03-18 13:04:24 -04:00
Lindsay M
a9bf1bd838
Add --wa-color-{role}-N variables, closes #785 ( #797 )
...
* Initial comment, based on #768
* Add `neutral` color variables
* Add `success`, `warning`, and `danger` variables
* Theme touch-ups
* Remove unused clamped tokens
* Re-add clamped tokens test page, refactor to be based on hue instead of `brand`
2025-03-13 17:07:03 -04:00
Cory LaViska
a6745602d6
fix color picker light dismiss ( #794 )
...
* fix color picker light dismiss
* update changelog
2025-03-12 15:59:37 -04:00
Cory LaViska
da4f619d95
prevent card example from overflowing ( #795 )
2025-03-12 14:44:39 -04:00
Cory LaViska
1283a696a5
fix switch + tooltip behavior ( #793 )
2025-03-12 18:22:23 +00:00
Cory LaViska
d12b97b0b0
fix wa-pill and wa-input[pill] styles ( #791 )
2025-03-12 16:19:50 +00:00
Lea Verou
58ed88bc5a
Add orange to list of hues
2025-03-05 22:27:11 -05:00
Lea Verou
71e7227763
Theme remixing fix: Order of params should not matter ( #772 )
...
Also renamed the `theme` export to `getThemeCode` since it was being renamed everywhere it was imported.
2025-02-21 14:03:55 -05:00
Lea Verou
dd671e15aa
Changelog ( #770 )
2025-02-21 13:14:19 -05:00
Cory LaViska
3cb6625c1d
update changelog
2025-02-21 12:52:51 -05:00
Lindsay M
41affca083
Allow color tweak tags to wrap ( #769 )
2025-02-21 11:50:13 -05:00
Lea Verou
132dbfabcc
Gray tweaks prototype ( #761 )
...
Co-authored-by: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com >
2025-02-20 12:10:43 -05:00
Lea Verou
4921d1c32e
Save palette MVP, fixes #746 ( #755 )
2025-02-18 16:11:40 -05:00
Lindsay M
54d71d2319
Use tintless and clamped brand colors in themes ( #754 )
...
* Use tintless `brand` colors, cutoffs in themes
* Re-add `40-min`, add `70-max`
* Fix mistakes in Mellow theme
* Revert accidental Premium brand color change
* Add changelog
2025-02-18 10:22:32 -05:00
Cory LaViska
c1ecca0169
fix select hint ( #760 )
2025-02-18 15:09:52 +00:00
Lea Verou
d6a91919e0
Code block improvements
...
- Add ids, use ids to link copy button. No need for client-side script or updating the copy button manually for dynamic code snippets.
- Add button to link to code block
- Slight refactor on copy plugin to use the 11ty API properly
2025-02-14 15:09:02 -05:00
Lea Verou
726dc73e2a
Hue tweaking & chroma scaling, closes #669 #670 ( #747 )
...
- General infrastructure to support palette tweaking
- Hue shifts per color scale (UI, permalinks, dynamic code snippets)
- Scale overall chroma up/down (UI, permalinks, dynamic code snippets)
- Update contrast ratio tables (styling for contrast up/down/fail could use improvement, but it's a starting point)
- Make sure it works with Turbo (i.e. things don't break when we navigate to another page)
2025-02-13 19:28:20 -05:00
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