@atom-learning/components 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -590
- package/dist/components/tabs/TabTrigger.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,599 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
## [1.0.1](https://github.com/Atom-Learning/components/compare/v1.0.0...v1.0.1) (2021-11-02)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
* add accessibility test for radio-card-group ([de12c19](https://github.com/Atom-Learning/components/commit/de12c1924f08ff7d140410d196a85e2baa6906c4))
|
|
8
|
-
* add better comment, restore lg Link ([3a44ab5](https://github.com/Atom-Learning/components/commit/3a44ab5cd5a560f66ad34cd1a9c40526bf02e2aa))
|
|
9
|
-
* add border-collapse to table ([c491484](https://github.com/Atom-Learning/components/commit/c491484608c0809f11a75d3d7b6b60ebbe7f6e52))
|
|
10
|
-
* add catch, improve import ([deb8643](https://github.com/Atom-Learning/components/commit/deb8643ebf350c556be0db101b074ed8fcef0b3a))
|
|
11
|
-
* add contributing back in ([fa3ed38](https://github.com/Atom-Learning/components/commit/fa3ed38aadd2ce7b3c7cc8c6ca2580fa42679f3f))
|
|
12
|
-
* add Form around dependent components, remove live preview from toast example ([732d43e](https://github.com/Atom-Learning/components/commit/732d43ec1cf3605f70070c0630b34f28d413fac2))
|
|
13
|
-
* add missing dependency ([8473bc0](https://github.com/Atom-Learning/components/commit/8473bc0280906423c8ea21d8ad9ab4091568054c))
|
|
14
|
-
* add missing docs on polymorphism, handle correct types ([8f7725e](https://github.com/Atom-Learning/components/commit/8f7725e87462a7cc0cdca08d670cd0ae80204021))
|
|
15
|
-
* add missing resizeobserver types ([b131af1](https://github.com/Atom-Learning/components/commit/b131af190f728e93ccf91f7fab2c6a38d0155294))
|
|
16
|
-
* add missing visual state to button ([0b6a618](https://github.com/Atom-Learning/components/commit/0b6a6189bb63d80f727ef06a7d8e70d907b64d64))
|
|
17
|
-
* add missing webhook env var ([76c91e4](https://github.com/Atom-Learning/components/commit/76c91e4d0a48a61aceb3148381d2a3bfed2060ed))
|
|
18
|
-
* add package name to semantic release ([ac37cdf](https://github.com/Atom-Learning/components/commit/ac37cdf13c055cca4ac86fb87e327df5925a9fb5))
|
|
19
|
-
* add replaceable text as props for action icon ([6d61ec1](https://github.com/Atom-Learning/components/commit/6d61ec1d742849558e10c36c9f6a400ede89ae7b))
|
|
20
|
-
* add types to stitches config ([66f8117](https://github.com/Atom-Learning/components/commit/66f8117fc49ef5a8df19ee0a068782af2f73d0d6))
|
|
21
|
-
* add z-index to styled toast ([84bf9fd](https://github.com/Atom-Learning/components/commit/84bf9fd16d02c427e5f643a704e878b5060b3db7))
|
|
22
|
-
* added a comment to the error hook in case of a v7 migration ([0b35a79](https://github.com/Atom-Learning/components/commit/0b35a79444f8372e86afc113cb8f1a1b9a44d486))
|
|
23
|
-
* added a hook for getting form field error ([08224c9](https://github.com/Atom-Learning/components/commit/08224c9e980458c7e5d8152aadb9b0c634cab9d5))
|
|
24
|
-
* added a sentence about useFieldError hook ([c42e7b0](https://github.com/Atom-Learning/components/commit/c42e7b082e3ac6cd00433f69e8584721f08fcee3))
|
|
25
|
-
* added back required to checkbox field wrapper removed during merge by mistake ([57853d4](https://github.com/Atom-Learning/components/commit/57853d4e0857c41d80da6207408956355228b09b))
|
|
26
|
-
* added correct exports to be able to use StyledLink and StyledButton ([cd08603](https://github.com/Atom-Learning/components/commit/cd086039d1e6de99c6d608489b642aba59f3cd65))
|
|
27
|
-
* added description to MarkdownContent doc ([028f439](https://github.com/Atom-Learning/components/commit/028f439262081e7ec7dc60488449d133c7ce0526))
|
|
28
|
-
* added getErrors util ([6cd7636](https://github.com/Atom-Learning/components/commit/6cd7636e017c5aec2bc66397a099c77d90d46fdd))
|
|
29
|
-
* added hook forms doc link ([4813e12](https://github.com/Atom-Learning/components/commit/4813e1287405679adf6a3766dad3edc0f1c4390e))
|
|
30
|
-
* added missing styling textarea ([1499f88](https://github.com/Atom-Learning/components/commit/1499f88c89ab13322889ab2d4f23d4f5f27eaa98))
|
|
31
|
-
* added newline ([6961577](https://github.com/Atom-Learning/components/commit/69615775341f6c0175ce841e25eed24d60571a9b))
|
|
32
|
-
* adjust icon color for solid variant ([093967d](https://github.com/Atom-Learning/components/commit/093967d137ba6c8fc9af0d7b681c7ed7e8013217))
|
|
33
|
-
* adjust line height ([58c9e27](https://github.com/Atom-Learning/components/commit/58c9e27e07a800b38d80f1a3b7ed2b5f6e638329))
|
|
34
|
-
* adjusted ActionIcon disabled state colours ([d62b954](https://github.com/Atom-Learning/components/commit/d62b954de25e7ab91ef4dd974a3295a2b9996fee))
|
|
35
|
-
* adjusting sizes ([fa6b60a](https://github.com/Atom-Learning/components/commit/fa6b60af447b090cb0acee10a3d3ea6a126a9006))
|
|
36
|
-
* alphabetical order in css props ([2b8c325](https://github.com/Atom-Learning/components/commit/2b8c325183473f033808a763bb26a5228a1ee469))
|
|
37
|
-
* attribute selectors ([7380c3a](https://github.com/Atom-Learning/components/commit/7380c3ab3b7395030f656265c87236e246e51a72))
|
|
38
|
-
* button height for lg variant ([a57cae8](https://github.com/Atom-Learning/components/commit/a57cae8972411872d37be256ded489dce29a29da))
|
|
39
|
-
* button render ([0a46c04](https://github.com/Atom-Learning/components/commit/0a46c04cafc46273c4f004e68e5f4540ebb01581))
|
|
40
|
-
* **button:** changed type to use union ([3f40a81](https://github.com/Atom-Learning/components/commit/3f40a81faddb2bf52787dd362dbb19873073e4e9))
|
|
41
|
-
* change line height ([0b33816](https://github.com/Atom-Learning/components/commit/0b33816fc1c468fcc45901e1f612c0fd982b67e5))
|
|
42
|
-
* change slack-bot config ([4df8a4f](https://github.com/Atom-Learning/components/commit/4df8a4f9e3e9057349f21cf6eaeb2917748ccf7b))
|
|
43
|
-
* change util to background ([5fc3dd6](https://github.com/Atom-Learning/components/commit/5fc3dd6886ae92509bd38703816e79e307eaadae))
|
|
44
|
-
* changed logic to retrieve form errors ([9763ca5](https://github.com/Atom-Learning/components/commit/9763ca5deed909fed3a8a82be02a6281e9d45a3d))
|
|
45
|
-
* changing variant name ([32ba5c1](https://github.com/Atom-Learning/components/commit/32ba5c1ef2f69859aa8b24c0b629e5832aa34ceb))
|
|
46
|
-
* check that dialog is mounted before removing ([bcbe529](https://github.com/Atom-Learning/components/commit/bcbe529b44ac31d01f620ab20e532e7c2316f6e5))
|
|
47
|
-
* checkbox & radio layout issue, added xs text size, tweaked sm button spacing ([99028fe](https://github.com/Atom-Learning/components/commit/99028fe7a433297541193cb709005d2d17c7ea14))
|
|
48
|
-
* checkbox label alignment ([98532b6](https://github.com/Atom-Learning/components/commit/98532b60191bdfd87ddb1ccab7c2de6193f573ab))
|
|
49
|
-
* **checkbox:** repair failing test ([eda1ed8](https://github.com/Atom-Learning/components/commit/eda1ed8e6e2847288e46b33d1e1fc2d2ad37acde))
|
|
50
|
-
* colour issue and exported component correctly ([e225ce1](https://github.com/Atom-Learning/components/commit/e225ce1c3afd58baba089d4baa5a28c076d5db5d))
|
|
51
|
-
* component prop types ([69159e7](https://github.com/Atom-Learning/components/commit/69159e70acbadc74586619f650422902f47d9c49))
|
|
52
|
-
* **contributing:** remove reference to asana form ([e19fa72](https://github.com/Atom-Learning/components/commit/e19fa7271ae2e3aa56c9d5fc4d5e14b6ea50b9e2))
|
|
53
|
-
* correct component props ([b471c81](https://github.com/Atom-Learning/components/commit/b471c81c371bb6d42014ad488ac7d6e31bb9800c))
|
|
54
|
-
* correct quotes in text, minor content updates to overview documentation ([f2fda57](https://github.com/Atom-Learning/components/commit/f2fda576ad331475cba4191bd337993b2f797f0b))
|
|
55
|
-
* corrected type in video ([b949008](https://github.com/Atom-Learning/components/commit/b949008b95a6cafabf510c444af90d6800380cbb))
|
|
56
|
-
* correctly escape codeblock examples ([730a335](https://github.com/Atom-Learning/components/commit/730a335948c067122baa5a7b9a4d76558d508455))
|
|
57
|
-
* create custom assertion to remove expected thrown errors from the console output ([b57bba8](https://github.com/Atom-Learning/components/commit/b57bba88bbc5557318050f64e9d5dbea28837c35))
|
|
58
|
-
* default fieldset and legend styles ([846f21d](https://github.com/Atom-Learning/components/commit/846f21db6796dab8bf03e5463431a59ba80c3c44))
|
|
59
|
-
* default heading to h2 ([1fd57c4](https://github.com/Atom-Learning/components/commit/1fd57c44b08d06f104a4d017e0fc3e6728cc0c8d))
|
|
60
|
-
* divider test, allow css and as for wrapper component ([1d3704e](https://github.com/Atom-Learning/components/commit/1d3704e845693c0df3ff9bfba4333881b826fafc))
|
|
61
|
-
* docgen issue, minor docs tweaks ([1f6d6f2](https://github.com/Atom-Learning/components/commit/1f6d6f2d327355936c925df9bd2f60b3721d71c6))
|
|
62
|
-
* documentation errors ([8481930](https://github.com/Atom-Learning/components/commit/84819307b54504cfd094579f04f7141ca964f20a))
|
|
63
|
-
* documentation previews, layout issues with components, color option on List ([4b24cc3](https://github.com/Atom-Learning/components/commit/4b24cc3cb4dc97cf1984c72d6633fb0f4c1cc133))
|
|
64
|
-
* don't add type to links ([335d7ac](https://github.com/Atom-Learning/components/commit/335d7ac42c00a64aca2ad5fe692a134393e9a701))
|
|
65
|
-
* duped content onto versioning docs ([82ff9f3](https://github.com/Atom-Learning/components/commit/82ff9f3dfdb43a32c34df654acac930a8766cce0))
|
|
66
|
-
* ensure all exported fns are exported from createCss, fix border token reference ([a918b25](https://github.com/Atom-Learning/components/commit/a918b2533d8d9ec31431d0403595e621490d0472))
|
|
67
|
-
* ensure children of stack content can set css ([6ccd2a6](https://github.com/Atom-Learning/components/commit/6ccd2a630abc1255122a2ad652d1ce042da75653))
|
|
68
|
-
* ensure consistency between field components ([6df652a](https://github.com/Atom-Learning/components/commit/6df652a521935a70b639a474cc16a2fdd2fc7722))
|
|
69
|
-
* ensure correct pkg registry is used ([8eb84e6](https://github.com/Atom-Learning/components/commit/8eb84e6c4dc206ec6426f224520106fa892c62c7))
|
|
70
|
-
* ensure link works within list ([e6a4b3c](https://github.com/Atom-Learning/components/commit/e6a4b3cfe87d79614d71e34be0b185423d3ff27e))
|
|
71
|
-
* ensure spacing is flush top & bottom for heading, text components ([4ce996a](https://github.com/Atom-Learning/components/commit/4ce996a548dbd9ab72e9d5a7ceff50a853fff17f))
|
|
72
|
-
* ensure that inline field elements are aligned correctly, provide better alignment options for field wrapper, update switch style ([a95bcfd](https://github.com/Atom-Learning/components/commit/a95bcfdd17cb14acb2a1ead0ba773a9bafb621be))
|
|
73
|
-
* export multiple components from single source file ([ce8e287](https://github.com/Atom-Learning/components/commit/ce8e287c273b1eb76b5e15a768ba7989760584e0))
|
|
74
|
-
* export styled button to create custom button logic ([6460322](https://github.com/Atom-Learning/components/commit/64603221737a8695bc227c94a251daaeeeb78d2f))
|
|
75
|
-
* exported StyledLink ([cf279b5](https://github.com/Atom-Learning/components/commit/cf279b58be184e804012fb90b0a1c4500901affc))
|
|
76
|
-
* fixed checkbox value, defalut value and validation ([ed646aa](https://github.com/Atom-Learning/components/commit/ed646aa4b6cff661e85eb88ef3066a87f15460b7))
|
|
77
|
-
* fixed dynamic fields example ([217de0a](https://github.com/Atom-Learning/components/commit/217de0a4f2522cdc982a6623520ca690e07d17d3))
|
|
78
|
-
* fixed example formatting ([ae75c60](https://github.com/Atom-Learning/components/commit/ae75c60e777bc9a9a2d67fdd740ba6f4c9867265))
|
|
79
|
-
* fixed getting errors msg in validationError ([6f6fcbe](https://github.com/Atom-Learning/components/commit/6f6fcbe3302b93e61476943b48352f6ca84a4a1a))
|
|
80
|
-
* fixed radius value on button ([51df132](https://github.com/Atom-Learning/components/commit/51df132eb1e65ac89154b60257018ae4c1d94b01))
|
|
81
|
-
* fixed validation error on radiobuttongroup ([2eb0a45](https://github.com/Atom-Learning/components/commit/2eb0a45ba173bd44f1dc67846de28503a9cabdf6))
|
|
82
|
-
* following review suggestions for wording ([7dbbfeb](https://github.com/Atom-Learning/components/commit/7dbbfeb2cb5a15e0f103a3b3d96df2404db1efe4))
|
|
83
|
-
* form test ([2267607](https://github.com/Atom-Learning/components/commit/2267607efdee886df4b8b5e195c4133d8590b079))
|
|
84
|
-
* github action yarn lockfile issue ([8dad50a](https://github.com/Atom-Learning/components/commit/8dad50a20221280e7db53a25ed6292463bdb805f))
|
|
85
|
-
* github workflow install, sandbox build directory ([5bf0c4e](https://github.com/Atom-Learning/components/commit/5bf0c4e453f94b3abdf0964941f8b2d947d6a4ec))
|
|
86
|
-
* global css reference in sandbox, updated theme ([6ba356f](https://github.com/Atom-Learning/components/commit/6ba356f90870b4bb5a566fb08839815302a3845c))
|
|
87
|
-
* grid gap type, grid test, remove width from stack ([323bf47](https://github.com/Atom-Learning/components/commit/323bf4772d038c0b5c2e375212ae797886fc402b))
|
|
88
|
-
* handle toast, dialog motion ([fddc9e6](https://github.com/Atom-Learning/components/commit/fddc9e6d4286b459cafb86e1ea8d4cf5cd2300a6))
|
|
89
|
-
* heading color reference ([4234267](https://github.com/Atom-Learning/components/commit/42342670b0b0c94752ab05e1c673ca13dcbd2bef))
|
|
90
|
-
* hide the progress bar from the toast ([e008e03](https://github.com/Atom-Learning/components/commit/e008e03083fb2838a906c4437411eebe7828a277))
|
|
91
|
-
* ignore contributing & license ([2e2b584](https://github.com/Atom-Learning/components/commit/2e2b584d83ee9a33425e6cd5b0b5554605c9d4d8))
|
|
92
|
-
* improve accessibility on warning button ([5456be1](https://github.com/Atom-Learning/components/commit/5456be1194604e5c2e66de076df259e75d9bb1db))
|
|
93
|
-
* improve alignment css and types ([7631137](https://github.com/Atom-Learning/components/commit/76311374356b9c77e7cb597034364f109dec79c5))
|
|
94
|
-
* improve animation sharing, fix tooltip animation issue, allow tooltip content to be styled ([083035b](https://github.com/Atom-Learning/components/commit/083035b746289e1a4e2fab8884de582b2bac604a))
|
|
95
|
-
* improve nested describes to remove duped vars ([c99c8b6](https://github.com/Atom-Learning/components/commit/c99c8b687063d48fa6d5e73c4108a020de25aabc))
|
|
96
|
-
* improve tests ([23ce171](https://github.com/Atom-Learning/components/commit/23ce1718fc7f9d1886f1299daf28695c85d03809))
|
|
97
|
-
* improve types and docs ([a88b69f](https://github.com/Atom-Learning/components/commit/a88b69f5be920d26921e3b310a54ae06408f26f7))
|
|
98
|
-
* include icons in dev dependencies ([6f595f8](https://github.com/Atom-Learning/components/commit/6f595f833c2fe13a87f86ce4baea314703c9a8e3))
|
|
99
|
-
* incorrect prop in List docs ([2237ad1](https://github.com/Atom-Learning/components/commit/2237ad1f97472db5c967ee2f6947798ba8a1dc27))
|
|
100
|
-
* increase timeout for radix component tests ([4238e38](https://github.com/Atom-Learning/components/commit/4238e38662effae0610e19c4ebf97a8464d027bc))
|
|
101
|
-
* increase x spacing ([137a9c2](https://github.com/Atom-Learning/components/commit/137a9c25b3af3c86b03946f8cf3b684773c1b280))
|
|
102
|
-
* inherit text color from the ancestor ([acffe29](https://github.com/Atom-Learning/components/commit/acffe29c1bc5c5913b811121dcd294aec4b0951a))
|
|
103
|
-
* install theme package from correct registry ([c3d05d7](https://github.com/Atom-Learning/components/commit/c3d05d7c077bc8fe4b5e0992d26ad29a3bad2b4f))
|
|
104
|
-
* lighten separator ([95d35d9](https://github.com/Atom-Learning/components/commit/95d35d9b6c6bacb770a66cf371ee69143e21f1db))
|
|
105
|
-
* lock radix package versions ([7104c2b](https://github.com/Atom-Learning/components/commit/7104c2bab580c5f60f07aea1324dd7e71e081326))
|
|
106
|
-
* lock stitches core version, include lockfile ([de4a7dd](https://github.com/Atom-Learning/components/commit/de4a7dd4861a1d52c06025cecdd42f0100c854fe))
|
|
107
|
-
* lock stitches version ([3946e4b](https://github.com/Atom-Learning/components/commit/3946e4bc104096e691de38cbed90bf04b21714b3))
|
|
108
|
-
* made show prop on Popover mandatory with not default ([5128fcc](https://github.com/Atom-Learning/components/commit/5128fccb26cdfedbf69eb8895d035aba57a9fc47))
|
|
109
|
-
* make as an optional prop on Button and Link ([51b475d](https://github.com/Atom-Learning/components/commit/51b475dfad33698e04292de0131e45791e0ad7ae))
|
|
110
|
-
* make cancelActionText optional, simplify showAlert docs, improve useAlert error messaging ([9c6cf3d](https://github.com/Atom-Learning/components/commit/9c6cf3d2751687bf6825455a6ccedd8052885841))
|
|
111
|
-
* markdowncontent documentation errors ([8a99ba5](https://github.com/Atom-Learning/components/commit/8a99ba5ff94fee0211a50cf8f9c5a669b78782a0))
|
|
112
|
-
* merged 1.0 branch ([2ee6d56](https://github.com/Atom-Learning/components/commit/2ee6d56724e13baff3186a9b92d7d6e43d912ae1))
|
|
113
|
-
* merged imports for checkbox ([12924da](https://github.com/Atom-Learning/components/commit/12924daf2896b9a2cf7c66ae85f46a781204b0e7))
|
|
114
|
-
* minor component tweaks, add documentation local workflow ([53f8e03](https://github.com/Atom-Learning/components/commit/53f8e03fb130780e8b05ac0526d358edf8f8ce28))
|
|
115
|
-
* minor style tweaks ([a5b4703](https://github.com/Atom-Learning/components/commit/a5b4703c29ac98aa47b75e66f9e283d8efb2c2ad))
|
|
116
|
-
* minor style tweaks ([accdf30](https://github.com/Atom-Learning/components/commit/accdf30a7c4b44cf8046f3c429b3ec7053e27faa))
|
|
117
|
-
* minor text and content changes ([e727329](https://github.com/Atom-Learning/components/commit/e727329ae9ba727f494423d3a846695404715d15))
|
|
118
|
-
* minor text change ([2276095](https://github.com/Atom-Learning/components/commit/22760957d00bb934ee52bae7e9a624bcbd930df9))
|
|
119
|
-
* minor text change ([f2d3d46](https://github.com/Atom-Learning/components/commit/f2d3d4656ca75b77fe5be60eeb1eece6e243ad9e))
|
|
120
|
-
* minor TS and props updates ([51cce9f](https://github.com/Atom-Learning/components/commit/51cce9ff2284784978159c3de6b27fcb787b0808))
|
|
121
|
-
* minor updates ([637869e](https://github.com/Atom-Learning/components/commit/637869e8947bc9ec7fb4a581a815ba873da31d42))
|
|
122
|
-
* minor updates from PR feedback ([bf0a6e9](https://github.com/Atom-Learning/components/commit/bf0a6e9fe2ca2fd02e0dbeec52a00efde7cfa6cf))
|
|
123
|
-
* missing babel package ([174ebc6](https://github.com/Atom-Learning/components/commit/174ebc6b8a6be05155c8ae60e7371775430bac80))
|
|
124
|
-
* missing disabled styles for Radiobutton ([434fb1a](https://github.com/Atom-Learning/components/commit/434fb1aa6cffd2dfbba9d65787530ea6d818c64c))
|
|
125
|
-
* move icon-specific styling to PasswordInput ([b9ca4b6](https://github.com/Atom-Learning/components/commit/b9ca4b67f940bb91319bea5b7fcc000e6ac6d7a2))
|
|
126
|
-
* multi-line validation error ([b25e400](https://github.com/Atom-Learning/components/commit/b25e400c0b381b6bccbdca9b0a23fadeb5a59272))
|
|
127
|
-
* new theme, stitches types ([22df52a](https://github.com/Atom-Learning/components/commit/22df52af1ec8fbe318f77669a41b39d530978f6a))
|
|
128
|
-
* npm script ([d4a51b5](https://github.com/Atom-Learning/components/commit/d4a51b57f189ad7b7defd2f836f02079353f4374))
|
|
129
|
-
* only mock CSS files ([c29ffca](https://github.com/Atom-Learning/components/commit/c29ffca8afeaeb218ad5fbd2490ed427e94f7d23))
|
|
130
|
-
* open dropdown to catch full snapshot ([590a5f1](https://github.com/Atom-Learning/components/commit/590a5f136e6b32c70449e3dfb575c81772283102))
|
|
131
|
-
* outdated size-limit validation ([d23b881](https://github.com/Atom-Learning/components/commit/d23b881ca3b50545cc4d36913dda0a39522d463a))
|
|
132
|
-
* output type declarations ([9471a13](https://github.com/Atom-Learning/components/commit/9471a1374975b30dda98683b9fb49f1c58e9412b))
|
|
133
|
-
* package registry location ([4ad88af](https://github.com/Atom-Learning/components/commit/4ad88af5d682a2b4fffdc192a3441a316af111e3))
|
|
134
|
-
* password field visibility button appearance ([cd4a954](https://github.com/Atom-Learning/components/commit/cd4a9547c6c58e2c25fbb986cd1a278567e25df7))
|
|
135
|
-
* patch CSSOM and re-run snapshots ([127a88b](https://github.com/Atom-Learning/components/commit/127a88b2b0f457bed3240ce18407643d4778aacf))
|
|
136
|
-
* path aliases in emitted type files ([de8b84c](https://github.com/Atom-Learning/components/commit/de8b84cec6848ca821bf2dd4cdd51c8c630ec778))
|
|
137
|
-
* **popover:** add accessibility props ([82e0ed4](https://github.com/Atom-Learning/components/commit/82e0ed4cbfbc8b831fec4d50a6acc99769942500))
|
|
138
|
-
* **popover:** replace box shadow with token shadow ([dce618b](https://github.com/Atom-Learning/components/commit/dce618b3fad45dc417e3f7d60daf8e3e1db93758))
|
|
139
|
-
* pr feedback ([1e1ce3f](https://github.com/Atom-Learning/components/commit/1e1ce3f93a416b3fd8c993fd703ca988a836423c))
|
|
140
|
-
* preserve module structure in ES output to enable tree-shaking ([427ee19](https://github.com/Atom-Learning/components/commit/427ee199ad22ad4a5ca2ab00961e27d49b23a8b7))
|
|
141
|
-
* radio group 'required', added 'required' prop to checkbox, fixed validation ([2a9d440](https://github.com/Atom-Learning/components/commit/2a9d440134dd59656b3d18fa94fe3c455e0b75eb))
|
|
142
|
-
* readd form export in main index.ts ([#94](https://github.com/Atom-Learning/components/issues/94)) ([b2d4707](https://github.com/Atom-Learning/components/commit/b2d47072722002ddc5d2f6d8f6a8dd4282d0dc89))
|
|
143
|
-
* reducing height sizes ([8a830a8](https://github.com/Atom-Learning/components/commit/8a830a8ae9aca420378b90df57b4e72a09779378))
|
|
144
|
-
* refactor component definitions, add display name, remove prototype select component ([ca12264](https://github.com/Atom-Learning/components/commit/ca12264d284af1d1abd47794ad94de63e6f7a723))
|
|
145
|
-
* refactor component usage within context ([9ba4360](https://github.com/Atom-Learning/components/commit/9ba436014a9679f02a37251f38183c99355c5106))
|
|
146
|
-
* release issue ([227e0c4](https://github.com/Atom-Learning/components/commit/227e0c4016e3ac00b350e78ada36705d8f849fdf))
|
|
147
|
-
* rely on stitches variants types ([dc6652e](https://github.com/Atom-Learning/components/commit/dc6652eff44c6a9588a15515a8045f1f750a7c7b))
|
|
148
|
-
* remove css support in bundle and tests, fix test ([1d7f38c](https://github.com/Atom-Learning/components/commit/1d7f38c8dcf7ffcf163388662d96b30e86a652a5))
|
|
149
|
-
* remove custom close button ([52eb120](https://github.com/Atom-Learning/components/commit/52eb120d8fd492879a12ba98a0d7aed252bfc0dc))
|
|
150
|
-
* remove default category ([a2bbeed](https://github.com/Atom-Learning/components/commit/a2bbeed9711233c30076f712a595097b06a95991))
|
|
151
|
-
* remove default style and update naming convention of List ([79c36bf](https://github.com/Atom-Learning/components/commit/79c36bf67f101f7d838b55e4ae69a52cb79f9a77))
|
|
152
|
-
* remove deprecated AlertDialog.Content prop ([59d4fc3](https://github.com/Atom-Learning/components/commit/59d4fc32e9efceff82a6b9aaddd6eec7b95e2181))
|
|
153
|
-
* remove field wrapper spacing update ([af17e22](https://github.com/Atom-Learning/components/commit/af17e22995b69610bc26ad1eb08d9559d53c47df))
|
|
154
|
-
* remove github action ([ebdcf31](https://github.com/Atom-Learning/components/commit/ebdcf3106582ce86cc19a116b3abc22c04bee9bf))
|
|
155
|
-
* remove reference to component in toast docs ([06bd9e6](https://github.com/Atom-Learning/components/commit/06bd9e634f24c8740a4ca354d97c77c3291e19f9))
|
|
156
|
-
* remove sandbox components page, improve root sandbox file ([4f163c6](https://github.com/Atom-Learning/components/commit/4f163c6e5e0f79d84fabe187a45d00bef0a269fc))
|
|
157
|
-
* remove test files from being typechecked ([08ededb](https://github.com/Atom-Learning/components/commit/08ededb7d614611a4566762649e0f7b5c7c06ebc))
|
|
158
|
-
* remove test warnings ([3134e1f](https://github.com/Atom-Learning/components/commit/3134e1f005876236c56c4b9825b492163a6a64b8))
|
|
159
|
-
* remove test-id from csswrapper ([8275a49](https://github.com/Atom-Learning/components/commit/8275a491f1a3dbf3a9eb584bc866c94a34608dea))
|
|
160
|
-
* remove unnecessary Button change ([cf4e194](https://github.com/Atom-Learning/components/commit/cf4e194a1e8afbef913d6f21a039dd016783f627))
|
|
161
|
-
* remove unnecessary duplicated required prop, fix tests ([321a080](https://github.com/Atom-Learning/components/commit/321a0809098dbe6b28d9a2f001994bd8c51b3a34))
|
|
162
|
-
* remove unnecessary export ([7fc1de3](https://github.com/Atom-Learning/components/commit/7fc1de3d692e6960963d20697ee22340e2e9d807))
|
|
163
|
-
* remove unnecessary jest updates ([508bc8b](https://github.com/Atom-Learning/components/commit/508bc8b739531bec257af72ea278eda61497ed39))
|
|
164
|
-
* remove unnecessary render ([53c177c](https://github.com/Atom-Learning/components/commit/53c177ca52da5a57ead417f6864dfd343330781c))
|
|
165
|
-
* remove unnecessary return type ([4e9030e](https://github.com/Atom-Learning/components/commit/4e9030ec50bfb56a27e1d6539546e467f07256e4))
|
|
166
|
-
* removed lightPlayer option ([2476534](https://github.com/Atom-Learning/components/commit/2476534548be0def86835eff03b04ab52ed8c96e))
|
|
167
|
-
* removed secondary references in Button ([20b0ff6](https://github.com/Atom-Learning/components/commit/20b0ff6addc65859d334997ef09cf572e2e66555))
|
|
168
|
-
* removed unavailable typings due to package downgrade ([2f7d5c4](https://github.com/Atom-Learning/components/commit/2f7d5c4e6779b58699887dc73718a0d07373bc5e))
|
|
169
|
-
* removed unused import ([c8c84af](https://github.com/Atom-Learning/components/commit/c8c84afad1ea6eeba895f8e2729bbe0e40b429f9))
|
|
170
|
-
* removed unused lines from the useFieldArray example ([529ab4f](https://github.com/Atom-Learning/components/commit/529ab4f9ffd20980b9bd77d69bccbad94b42aa6b))
|
|
171
|
-
* removed useFieldError unnecessary local state ([a83b510](https://github.com/Atom-Learning/components/commit/a83b510d00f7c82470afb3c607069d6ae375e23a))
|
|
172
|
-
* replace baseline alignment, fix radio-button indicator ([fe256ed](https://github.com/Atom-Learning/components/commit/fe256edfae01890b0279820a19ddb4f9a5cdee2f))
|
|
173
|
-
* replace test case with valid HTML ([ad18b47](https://github.com/Atom-Learning/components/commit/ad18b47b98ad459255ba823b9132d94cd0c4b6bf))
|
|
174
|
-
* replaced lodash/get with dlv ([6e71c5f](https://github.com/Atom-Learning/components/commit/6e71c5fe3d0b7254ca3c08307d1021d8417f6b51))
|
|
175
|
-
* replaced old colors wtih v1.0 counterparts ([0c5d7e0](https://github.com/Atom-Learning/components/commit/0c5d7e012e8c8ca0df9d91a1d22d42e3298434cb))
|
|
176
|
-
* required pseudo element, combine label styles ([d941d55](https://github.com/Atom-Learning/components/commit/d941d556f807225398147a1214c39c774c495e0d))
|
|
177
|
-
* restore fragments in progress bar docs, add docs and test for label required prop ([ace2c88](https://github.com/Atom-Learning/components/commit/ace2c8895a2f9cd4e7db3632c3e8a31dd223ec22))
|
|
178
|
-
* restore missing styles ([df8bfba](https://github.com/Atom-Learning/components/commit/df8bfba969a2d39ba5d00c972417f93c691faa1b))
|
|
179
|
-
* restored original spacing between items in StackContent ([f2319ec](https://github.com/Atom-Learning/components/commit/f2319ec46b5330cfb8269721ad4507fab3897d5c))
|
|
180
|
-
* reuse description in radio field ([75706d7](https://github.com/Atom-Learning/components/commit/75706d729fd9347a9294af86b4d7d341fcd3920e))
|
|
181
|
-
* revert back to stitches output to retain as and css types ([924ef78](https://github.com/Atom-Learning/components/commit/924ef78a9e03b39508e7fdd2e685c81d52f6c9e2))
|
|
182
|
-
* revert package registry changes ([cf45159](https://github.com/Atom-Learning/components/commit/cf451591fe8a7ec6854887d65de864debde7c065))
|
|
183
|
-
* revert radix package upgrade ([3f4a021](https://github.com/Atom-Learning/components/commit/3f4a0211da15d233d3add5ac8898cd1dca7dba91))
|
|
184
|
-
* revert radix radio group version ([9cd28e0](https://github.com/Atom-Learning/components/commit/9cd28e0d77c91da020b9421a4aac13a241089d92))
|
|
185
|
-
* revert sandbox change ([d0a81e7](https://github.com/Atom-Learning/components/commit/d0a81e7b404ef9761513a80e97551c84c2820700))
|
|
186
|
-
* revert sandbox changes ([1f97214](https://github.com/Atom-Learning/components/commit/1f972140289c1d0ad69dd4c74cb6dfca97b1beb8))
|
|
187
|
-
* revert workflow update and recreate yarn.lock ([347bb32](https://github.com/Atom-Learning/components/commit/347bb32f88ad9c6d985e089927c3c6e72966d839))
|
|
188
|
-
* revert yarn.lock to npm registry version for carousel ([2a705ee](https://github.com/Atom-Learning/components/commit/2a705eec8e1735b012eb0f6c6d90b6f1d97ae799))
|
|
189
|
-
* reverted to using fieldset with a label in radiogroup ([25eaa42](https://github.com/Atom-Learning/components/commit/25eaa42ac6af49df6492cea1880c7581256e7ca1))
|
|
190
|
-
* review comments ([fab5741](https://github.com/Atom-Learning/components/commit/fab5741ff49658e7c4807c9bab9fd3c2d1e40cb9))
|
|
191
|
-
* rework action icon to allow correctly styled link ([8f8c5ce](https://github.com/Atom-Learning/components/commit/8f8c5ce07f933b2effabc7750005e88a526619df))
|
|
192
|
-
* rollover stext color fixed to white ([f89719a](https://github.com/Atom-Learning/components/commit/f89719a79dcf7df03c208ff9736e34660c72e6d2))
|
|
193
|
-
* set hardcoded width, improve type definition for toast ([6d0e205](https://github.com/Atom-Learning/components/commit/6d0e205c9d2e53fc21788b7cbc2556ce172953e3))
|
|
194
|
-
* simplified example ([cbdd47f](https://github.com/Atom-Learning/components/commit/cbdd47f7abd6462432a945f09a5f5b2fcd72f918))
|
|
195
|
-
* simplify & fix grid layout ([527c5e8](https://github.com/Atom-Learning/components/commit/527c5e8dec2048dc7320309e76b7ae5c17711025))
|
|
196
|
-
* snaps ([31fa0d1](https://github.com/Atom-Learning/components/commit/31fa0d1b17bdd2d4a7fdf79091484b159e0486d8))
|
|
197
|
-
* snaps ([14f5ed1](https://github.com/Atom-Learning/components/commit/14f5ed125e1209e32ca8e4d404c4a9df153685b7))
|
|
198
|
-
* snapshot ([a88e313](https://github.com/Atom-Learning/components/commit/a88e31334c8d1019775c636f0c336cf0324a5fb5))
|
|
199
|
-
* snapshot ([0c6a5e0](https://github.com/Atom-Learning/components/commit/0c6a5e05f50080dc0c37d48c5d9393c6f842ff98))
|
|
200
|
-
* snapshot ([0264dfa](https://github.com/Atom-Learning/components/commit/0264dfa7ddb78ee5001c487e9e1f0c7dda808aaa))
|
|
201
|
-
* snapshot ([7a28d17](https://github.com/Atom-Learning/components/commit/7a28d17bea14095167d79d2ca3f40c33144c0690))
|
|
202
|
-
* snapshot ([4d03c4a](https://github.com/Atom-Learning/components/commit/4d03c4a6d9c6bb4ecfb8ee64206b319a93118a2c))
|
|
203
|
-
* snapshot test, missing types ([f8d4c2f](https://github.com/Atom-Learning/components/commit/f8d4c2fc0ebe71514b1e8bddb9f2ecafec1de51d))
|
|
204
|
-
* snapshot, remove a11y test ([49ff818](https://github.com/Atom-Learning/components/commit/49ff81895a9827d616ce9152f934c660166882e9))
|
|
205
|
-
* snapshots ([167ff2e](https://github.com/Atom-Learning/components/commit/167ff2e2a00b76f66588f8b34662cda40115f9ba))
|
|
206
|
-
* snapshots, update tab tests ([20fc2af](https://github.com/Atom-Learning/components/commit/20fc2afbdef6a48ca22f606bafd59e8f24e5cf4b))
|
|
207
|
-
* spacing between toasts ([3b2a310](https://github.com/Atom-Learning/components/commit/3b2a310f53525b7fd3c362029d82b9a4660d64f8))
|
|
208
|
-
* stop using optional chaining - it was causing some TS error in the validate script ([29c60c3](https://github.com/Atom-Learning/components/commit/29c60c36f78e630b4517fa2d848983325049697f))
|
|
209
|
-
* svg import issues and Icon prop types ([67d4fac](https://github.com/Atom-Learning/components/commit/67d4facee996671c31329647114e9612b0fea39f))
|
|
210
|
-
* switch to minHeight for row height ([e8b44fd](https://github.com/Atom-Learning/components/commit/e8b44fdaf40b615686410c8e9052773dc6507a7d))
|
|
211
|
-
* switch to use theme tockens for size ([bab5fc2](https://github.com/Atom-Learning/components/commit/bab5fc2001e897599fa21b797079eae049394b5f))
|
|
212
|
-
* table text color ([7a7f140](https://github.com/Atom-Learning/components/commit/7a7f140e134a7e73ff72c7d3c67a0196c46b660e))
|
|
213
|
-
* target component instead of HTML element ([f7508ee](https://github.com/Atom-Learning/components/commit/f7508eec137daa02725f9fbd93f6e81cb3275fd3))
|
|
214
|
-
* test timeouts ([437cee5](https://github.com/Atom-Learning/components/commit/437cee5e14112714428fdb3121da3693791c5a03))
|
|
215
|
-
* tests and snapshot elements ([d8ef5d6](https://github.com/Atom-Learning/components/commit/d8ef5d6d1ba39b303500809c319f9b1c3e9df843))
|
|
216
|
-
* tests, docs ([0a94baf](https://github.com/Atom-Learning/components/commit/0a94bafb8daa1f690fe1c4a253b69b3d54d258d7))
|
|
217
|
-
* tests, refactor components ([7d8cb07](https://github.com/Atom-Learning/components/commit/7d8cb07aa30616496c269853476e0cdbae5ef2d3))
|
|
218
|
-
* **text:** removed maxWidth ([#102](https://github.com/Atom-Learning/components/issues/102)) ([9f473ec](https://github.com/Atom-Learning/components/commit/9f473ec2ab0ccf9ce5d5b875bfbae844567cdf1d))
|
|
219
|
-
* theme version range -> specific version ([8b4b6a1](https://github.com/Atom-Learning/components/commit/8b4b6a1c2918a01ce832d07e3a0fab208e0688bb))
|
|
220
|
-
* toast tweaks ([647b0eb](https://github.com/Atom-Learning/components/commit/647b0eb21f575fa47f5ac5deec13bd07822a2f40))
|
|
221
|
-
* **toast:** css changes ([d41c561](https://github.com/Atom-Learning/components/commit/d41c561f0255b13e7f900afaf4d8a8d09287719d))
|
|
222
|
-
* **toast:** making toast slimmer ([782145b](https://github.com/Atom-Learning/components/commit/782145b2d6c4fe197baf3df17e3d58a5e2d86d2a))
|
|
223
|
-
* **toast:** reinstating progress bar animation ([3aada66](https://github.com/Atom-Learning/components/commit/3aada66314f4d8a3782e87b74638dae8cf44a75a))
|
|
224
|
-
* TS error, improve docs ([a9cb366](https://github.com/Atom-Learning/components/commit/a9cb36656376d5c7292ea8da25abce78e66bed5b))
|
|
225
|
-
* TS issues ([c564db9](https://github.com/Atom-Learning/components/commit/c564db901199558788ce12d632d1941f2277618d))
|
|
226
|
-
* ts partial type is used ([aee62ff](https://github.com/Atom-Learning/components/commit/aee62ff6dbc0eb4bb68c90bedbcc5dc3e648e1fe))
|
|
227
|
-
* tweak icon size & color, ensure focus retained on input ([ffd82c4](https://github.com/Atom-Learning/components/commit/ffd82c41a6fbceed1c105a80de167a97d245f241))
|
|
228
|
-
* tweak test structure to correctly test a11y of open dialog ([42ba22e](https://github.com/Atom-Learning/components/commit/42ba22ea5a0b0d3532fce072f63301997726a335))
|
|
229
|
-
* tweaks from reviews ([98d0518](https://github.com/Atom-Learning/components/commit/98d0518cb75b025fc02054598ce66e075ab88fc2))
|
|
230
|
-
* typo ([bf29d66](https://github.com/Atom-Learning/components/commit/bf29d6656137f3289bec2874286b56ea2d3d9a97))
|
|
231
|
-
* typo ComponentsProps -> ComponentProps ([de6ad94](https://github.com/Atom-Learning/components/commit/de6ad949645027e21def2cdc984665520fcf765e))
|
|
232
|
-
* typo in docs ([93444fb](https://github.com/Atom-Learning/components/commit/93444fb252a0d804cf1e7bffa6a54be06b502460))
|
|
233
|
-
* update alt for Image ([cf4d767](https://github.com/Atom-Learning/components/commit/cf4d7673d1eef62cade9e5aa4c75514900c41f18))
|
|
234
|
-
* update checkbox ([b35bcb9](https://github.com/Atom-Learning/components/commit/b35bcb9930b66226ce31af618cf01a8c0a1925fd))
|
|
235
|
-
* update docs priority ([17ca1ad](https://github.com/Atom-Learning/components/commit/17ca1ad952dc307f6c15fcfd0c867abe5ad42583))
|
|
236
|
-
* update documentation ([7a6fbe2](https://github.com/Atom-Learning/components/commit/7a6fbe20d9fa305d8f45ea50bd1a88b0d26283ff))
|
|
237
|
-
* update input type to simplify type checking ([b536e4c](https://github.com/Atom-Learning/components/commit/b536e4c54205833f95477b65a8dea5521f66b5ad))
|
|
238
|
-
* update naming of exported variants, apply to password field ([f7c8b63](https://github.com/Atom-Learning/components/commit/f7c8b63f96b4afceda5ce3483bea71c93883491b))
|
|
239
|
-
* update numbers to px, use radii round ([7469166](https://github.com/Atom-Learning/components/commit/7469166f6ffecf3d22237b7ef2dc1fe23585263e))
|
|
240
|
-
* update preview to tsx ([12e7c21](https://github.com/Atom-Learning/components/commit/12e7c217602ff163563eeb7d3ce380274ed15a5f))
|
|
241
|
-
* update snaps ([04883be](https://github.com/Atom-Learning/components/commit/04883be1f43415ad96d8bd86e5390c1352ea3a96))
|
|
242
|
-
* update snaps ([b66622a](https://github.com/Atom-Learning/components/commit/b66622a3144f38861853499b211fcb20dd14bc20))
|
|
243
|
-
* update snapshot ([e476372](https://github.com/Atom-Learning/components/commit/e4763720de4804d0f77acf9928ef5dd70fe7a56a))
|
|
244
|
-
* update snapshot to match actual result ([83af200](https://github.com/Atom-Learning/components/commit/83af20083e2edcb1320a92f7527758babbc8ef1f))
|
|
245
|
-
* update snapshots ([d29d6bf](https://github.com/Atom-Learning/components/commit/d29d6bf53fa33b6866d22fd12c00d9182b7fc7f3))
|
|
246
|
-
* update snapshots ([abe1938](https://github.com/Atom-Learning/components/commit/abe193859d11af9ea4f9ab157b0f35a7f068bd2d))
|
|
247
|
-
* update snapshots ([0d0529e](https://github.com/Atom-Learning/components/commit/0d0529e85553f59c4b1243351ea17e12870d96f9))
|
|
248
|
-
* update snapshots ([f8263d8](https://github.com/Atom-Learning/components/commit/f8263d83da09d53926ae3216fabf47a7a80254aa))
|
|
249
|
-
* update snapshots for new radix packages ([c98eacb](https://github.com/Atom-Learning/components/commit/c98eacbc7f594084cdd656e1d910d8ff3c40ea69))
|
|
250
|
-
* update snapshots, remove logs ([19e1c15](https://github.com/Atom-Learning/components/commit/19e1c15ba5cae880bd117996f7bb042215201745))
|
|
251
|
-
* update test ([4e4d421](https://github.com/Atom-Learning/components/commit/4e4d421ac683a018e608a0cb4d35bd1476daeeaf))
|
|
252
|
-
* update tests ([5a9fca6](https://github.com/Atom-Learning/components/commit/5a9fca680c25216b4ce135d4f94237408dc69d16))
|
|
253
|
-
* update tests ([da45ba6](https://github.com/Atom-Learning/components/commit/da45ba67f83ed9758e2712fdfd49ca497f6b074c))
|
|
254
|
-
* update tests and fix snapshots ([4160d0a](https://github.com/Atom-Learning/components/commit/4160d0a33704a90c6d31d1f245e3b39e880d4bfa))
|
|
255
|
-
* update tests to remove deprecated as prop ([baeb384](https://github.com/Atom-Learning/components/commit/baeb38419de5a02230d12deae88ff845157c3d47))
|
|
256
|
-
* update theme to beta 4 ([3bf6d5f](https://github.com/Atom-Learning/components/commit/3bf6d5fda444e3df85de7eddbc661e60379c840a))
|
|
257
|
-
* update types on link and label ([8b0f0c4](https://github.com/Atom-Learning/components/commit/8b0f0c428d4e4f4231bcc216334fcdd5658a88bf))
|
|
258
|
-
* update yarn.lock file ([b4fe5cc](https://github.com/Atom-Learning/components/commit/b4fe5cc0cb97b9ccb4de484015f697d6417d26fe))
|
|
259
|
-
* updated condition to apply margin on Icon inside Button to fix failing with minified code ([50ee342](https://github.com/Atom-Learning/components/commit/50ee342b6c7ecad18814c87db9868dbfb82abd16))
|
|
260
|
-
* updated fontsize to match link on login form ([cec448d](https://github.com/Atom-Learning/components/commit/cec448d56ce1f45a7583e7b309e923b6e7b5a95f))
|
|
261
|
-
* updating yarn.lock to have dependency from npm ([2c749c1](https://github.com/Atom-Learning/components/commit/2c749c1e7b88ff8f94f905884ea866801f103e83))
|
|
262
|
-
* upgrade icons package, fix react path in tests ([6913857](https://github.com/Atom-Learning/components/commit/69138577cbf5c16a94e34495306107b8ab4de2d9))
|
|
263
|
-
* upgrade jest-stitches and update snapshots ([04205d5](https://github.com/Atom-Learning/components/commit/04205d51aeeaf55292266203eeb6f4462c99c9cf))
|
|
264
|
-
* upgrade stitches, fix remaining issues ([ee4467b](https://github.com/Atom-Learning/components/commit/ee4467b0f84d9c0bd00838315ca5860c6756211a))
|
|
265
|
-
* upgrade stitches, fix TS errors ([422c34d](https://github.com/Atom-Learning/components/commit/422c34dec5adf63dae327148261488e96423bec1))
|
|
266
|
-
* use all unset on button ([1e5dfdd](https://github.com/Atom-Learning/components/commit/1e5dfdde606390835dc2920c2991442d6dba5325))
|
|
267
|
-
* validation style, reach ui console warning ([95edb07](https://github.com/Atom-Learning/components/commit/95edb07ad6e7220ad44bc180268277aed2e93658))
|
|
268
|
-
* **validation-error:** removed circular dependency ([d784d25](https://github.com/Atom-Learning/components/commit/d784d2586ccac2a7b4e8da1067c126942309a7d5))
|
|
269
|
-
* video test ([e136737](https://github.com/Atom-Learning/components/commit/e136737bdfeb41d6113ebb378040c350b1ea77b0))
|
|
270
|
-
* video width, button onClick type, validation error margins, added label required prop ([5523ac5](https://github.com/Atom-Learning/components/commit/5523ac51021de0cbc126227dd4ce1a373daf1df5))
|
|
271
|
-
* wording updated following review comments ([5514e1d](https://github.com/Atom-Learning/components/commit/5514e1d4afe54a4003097d872e2eb166d90d53d2))
|
|
272
|
-
|
|
6
|
+
* remove cursor pointer from disabled tab ([34c283f](https://github.com/Atom-Learning/components/commit/34c283f70ce73d0ca2b2886e495bcece5475097c))
|
|
273
7
|
|
|
274
|
-
|
|
8
|
+
# 1.0.0 (2021-10-22)
|
|
275
9
|
|
|
276
|
-
|
|
277
|
-
* accept onSubmit for validationMode ([283998e](https://github.com/Atom-Learning/components/commit/283998ea51e128f7f614e842c34d8b17b0057348))
|
|
278
|
-
* actually fix ref for box ([8b4ce10](https://github.com/Atom-Learning/components/commit/8b4ce106d4d42d4688ad9e29994ec7e310cc135c))
|
|
279
|
-
* ad PasswordField tests ([48023d5](https://github.com/Atom-Learning/components/commit/48023d5015ef17aa292b578594db84b7c154c431))
|
|
280
|
-
* add axe-react typings and fix test errors ([b4b33c5](https://github.com/Atom-Learning/components/commit/b4b33c5e5bb7c4e45918ae32dbb7ca1adc8a64c7))
|
|
281
|
-
* add basic checkbox styling ([8018c1f](https://github.com/Atom-Learning/components/commit/8018c1f2747296b381910316c9bf84550f91969c))
|
|
282
|
-
* add basic files ([f3073e7](https://github.com/Atom-Learning/components/commit/f3073e731fee42cf92b54ec77b30239df0a2a4cb))
|
|
283
|
-
* add basic Icon component outline ([afbaf71](https://github.com/Atom-Learning/components/commit/afbaf710dc3ca483a2de3ab90f82fc35b56ddf66))
|
|
284
|
-
* add basic Image docs ([1b89cd8](https://github.com/Atom-Learning/components/commit/1b89cd8c5e62920c70bb4d615bddb8acd8e4a7d7))
|
|
285
|
-
* add button support to link, ensure divider is visible, remove pointer from disabled button ([c9d3017](https://github.com/Atom-Learning/components/commit/c9d3017590bec156c654f3e8d85efd699834a9ed))
|
|
286
|
-
* add capsize to links and ensure nested headings and text are handled correctly ([3581311](https://github.com/Atom-Learning/components/commit/3581311b2c022b9290002f9b0223657f99a7961b))
|
|
287
|
-
* add carousel docs ([55d58b0](https://github.com/Atom-Learning/components/commit/55d58b0895fdc5278721a989a712f9a81def4d72))
|
|
288
|
-
* add carousel test ([ec1031d](https://github.com/Atom-Learning/components/commit/ec1031d8c278a5ca4ca60d9da637162bb0843d9f))
|
|
289
|
-
* add category to list docs ([d08527b](https://github.com/Atom-Learning/components/commit/d08527bf26b5ef05b02b426d6046a11652fc8014))
|
|
290
|
-
* add combobox component ([410c954](https://github.com/Atom-Learning/components/commit/410c95486d629b7068b6742f192e51dbd24e6b31))
|
|
291
|
-
* add CSSWrapper ([0d8951a](https://github.com/Atom-Learning/components/commit/0d8951a3148446eeb802f4662dbb4b7a646256d6))
|
|
292
|
-
* add dependencies ([f8bcf09](https://github.com/Atom-Learning/components/commit/f8bcf097f6a5239c805e0511d59ee2640b130636))
|
|
293
|
-
* add description to inlinefield, create small search input, other minor fixes ([d4748d7](https://github.com/Atom-Learning/components/commit/d4748d7c8e4311d808be4e71a912ccae757409fb))
|
|
294
|
-
* add directives to MarkdownContent; style update MarkdownContent; add ordered type to List ([1ec9d7f](https://github.com/Atom-Learning/components/commit/1ec9d7f4b4df906164c3773fc29b6df35f1822af))
|
|
295
|
-
* add divider component ([#98](https://github.com/Atom-Learning/components/issues/98)) ([634755a](https://github.com/Atom-Learning/components/commit/634755ac9ecbe7ff08fdad7b0caff630a652f2a3))
|
|
296
|
-
* add documentation ([f83a4d0](https://github.com/Atom-Learning/components/commit/f83a4d033b2ce0ae83e56802ea594d5f47b6987b))
|
|
297
|
-
* add FieldWrapper docs ([f1322d5](https://github.com/Atom-Learning/components/commit/f1322d57e1458f03cf38925ab66bfd7fba5cf1a7))
|
|
298
|
-
* add file export to ensure docs are included in package, tweak prop generation ([5121aec](https://github.com/Atom-Learning/components/commit/5121aec39c3f3b0336bb5ab917241e06e6b49d8d))
|
|
299
|
-
* add first Image test ([beb53d8](https://github.com/Atom-Learning/components/commit/beb53d85de2bf758fc84da4d360dd9c95b1721bf))
|
|
300
|
-
* add first Text tests ([e8c7b38](https://github.com/Atom-Learning/components/commit/e8c7b38aa2410e6f39961196054118dbb645f0ca))
|
|
301
|
-
* add flex component, update snapshots, include code coverage in test ([ce5dca9](https://github.com/Atom-Learning/components/commit/ce5dca9b74705f7a0baffb17063c63983dc3be82))
|
|
302
|
-
* add fullWidth variant for Button ([f4b1592](https://github.com/Atom-Learning/components/commit/f4b159216f1a17935477bae12ec2a2a1ac0bbdc4))
|
|
303
|
-
* add github action ([a2fcbc9](https://github.com/Atom-Learning/components/commit/a2fcbc934d92bd832ce3a26a15526cb4ab0452e3))
|
|
304
|
-
* add InputField docs ([f99cad4](https://github.com/Atom-Learning/components/commit/f99cad4ea1f68834299bad66a36c6fed3cbb3f5c))
|
|
305
|
-
* add label and toggle states ([3a559ba](https://github.com/Atom-Learning/components/commit/3a559baf512d3ee947d253b35d2e84654d52153a))
|
|
306
|
-
* add mb to List.Items ([149381f](https://github.com/Atom-Learning/components/commit/149381f7195e338a82e24721c1f0deb87900c92f))
|
|
307
|
-
* add missing deps ([e5a12b9](https://github.com/Atom-Learning/components/commit/e5a12b98d96f5fce52572a5905a773b84c2d0727))
|
|
308
|
-
* add neutral theme, update password input ([aa28dcc](https://github.com/Atom-Learning/components/commit/aa28dcc72f2a14164b6228a9fa14d8c9297f81a2))
|
|
309
|
-
* add new styling ([0ee01fb](https://github.com/Atom-Learning/components/commit/0ee01fb5e130ef232441b4fa5cd4779a7d3976a4))
|
|
310
|
-
* add new styling ([783e2ee](https://github.com/Atom-Learning/components/commit/783e2ee30bc7c2dfc8b25b205fb0df1436f95947))
|
|
311
|
-
* add optional prompt to FieldWrapper ([c707586](https://github.com/Atom-Learning/components/commit/c707586c8693c0854a4ddd16bac4a008232bbac1))
|
|
312
|
-
* add options for alignment ([79f7cf3](https://github.com/Atom-Learning/components/commit/79f7cf3dd4350e3b02b343696c4d1805959ec26c))
|
|
313
|
-
* add output visualiser to build ([6bfaad4](https://github.com/Atom-Learning/components/commit/6bfaad4858fd1bc66e77a50accd63b586fd32b15))
|
|
314
|
-
* add package ([59695e7](https://github.com/Atom-Learning/components/commit/59695e788a0641ea17eb4c2a3a250f73f3b28eeb))
|
|
315
|
-
* add PasswordField docs ([8917583](https://github.com/Atom-Learning/components/commit/8917583533f98747e5877529a50fe521423b0dd1))
|
|
316
|
-
* add PasswordInput ([bcb9b7c](https://github.com/Atom-Learning/components/commit/bcb9b7c4e3d19623cbe6eb69e0585589ab8db6fe))
|
|
317
|
-
* add path alias ~/* for src/* ([7c67eef](https://github.com/Atom-Learning/components/commit/7c67eef9bb9c9004fe4b6ff82e8707968c27baaf))
|
|
318
|
-
* add radix-switch ([f017c11](https://github.com/Atom-Learning/components/commit/f017c11fe76ada86845df7e8f36352e762580907))
|
|
319
|
-
* add ref to Button ([a776bf5](https://github.com/Atom-Learning/components/commit/a776bf56420ce98fe41e5cafe4c72287bb0501f2))
|
|
320
|
-
* add return type for stitches utils funcs ([d81f9e9](https://github.com/Atom-Learning/components/commit/d81f9e946b6b18350103f76636fc7d3f4c54c0ac))
|
|
321
|
-
* add select-field ([cf85019](https://github.com/Atom-Learning/components/commit/cf85019a2fb4eccbbef446537a2e4b6809a33e1c))
|
|
322
|
-
* add size util ([a444c10](https://github.com/Atom-Learning/components/commit/a444c1001e6d7e6973c6c188e448ccc3b84f24a8))
|
|
323
|
-
* add size-limit github action ([86a3c55](https://github.com/Atom-Learning/components/commit/86a3c556d2f3557b1abec80ce56ec6289263cb12))
|
|
324
|
-
* add snapshot and doc for list ([0d499ee](https://github.com/Atom-Learning/components/commit/0d499eeaa5dfe297c4b8fdd307dda63efb4fa9b9))
|
|
325
|
-
* add snapshot and tests for disabled toggle ([7f21fbe](https://github.com/Atom-Learning/components/commit/7f21fbe20d2d06894a9554c0ff1fe16a264dc575))
|
|
326
|
-
* add snapshot test ([625af65](https://github.com/Atom-Learning/components/commit/625af651920a6cb8bb76409dced84c3eded6799c))
|
|
327
|
-
* add snapshot to VC ([c141b83](https://github.com/Atom-Learning/components/commit/c141b83242035619cbffe7b4a231d00b368dbcbf))
|
|
328
|
-
* add svg size options, test and docs ([e729929](https://github.com/Atom-Learning/components/commit/e729929680ecf355f9b740bf9e641ef28fec1fee))
|
|
329
|
-
* add table component ([ee4e3ea](https://github.com/Atom-Learning/components/commit/ee4e3ea425cb548dab3d5ca53b2d73045ae8269c))
|
|
330
|
-
* add tabs component ([d49eccc](https://github.com/Atom-Learning/components/commit/d49ecccab214119a43f3fa8284fd4096fc45d723))
|
|
331
|
-
* add test assertion for message content ([415c9bf](https://github.com/Atom-Learning/components/commit/415c9bfb8eb230515ab657fdefdbffc3099eebca))
|
|
332
|
-
* add test for InputField error ([711d04e](https://github.com/Atom-Learning/components/commit/711d04e7612fe3d622b2389e4deb083e13137f60))
|
|
333
|
-
* add test to ensure children are rendered ([c4332c1](https://github.com/Atom-Learning/components/commit/c4332c1391db40e91dfc570a4aaa55c7b08c78ba))
|
|
334
|
-
* add tests for AlertDialog and AlertContext, tweak jest set-up ([dc88cfa](https://github.com/Atom-Learning/components/commit/dc88cfac42cb0097af4620b6260bed9dd5a8b5ba))
|
|
335
|
-
* add tests, docs ([b89687d](https://github.com/Atom-Learning/components/commit/b89687d858bbb87eeb46ee43f1f610ff7533d232))
|
|
336
|
-
* add toggle component ([60d1155](https://github.com/Atom-Learning/components/commit/60d11556b7e7a0353c35c9a035f403d00836123a))
|
|
337
|
-
* add toggle component ([22fcc4e](https://github.com/Atom-Learning/components/commit/22fcc4e556e988db83aaacb1dd8f23f6f73a30b4))
|
|
338
|
-
* add toggle documentation ([ac950ba](https://github.com/Atom-Learning/components/commit/ac950ba389a3207fc04694f61fc24e64a7a461d7))
|
|
339
|
-
* add toggle documentation ([a70fac6](https://github.com/Atom-Learning/components/commit/a70fac662fdd56e1fbe53a9cf5dc87823550e802))
|
|
340
|
-
* add toggle type ([269e855](https://github.com/Atom-Learning/components/commit/269e855306b45c4a5fb6ecbde97a3cf64f74eb71))
|
|
341
|
-
* add ToggleField component ([e737661](https://github.com/Atom-Learning/components/commit/e7376619f51bccbff924b3e396e3d43adcb5b8e8))
|
|
342
|
-
* add useAlert functionality ([b8c4b84](https://github.com/Atom-Learning/components/commit/b8c4b84a50c3154c8b040ba48059687adf924530))
|
|
343
|
-
* add useful packages to build, fix name and output fields, add missing prettier ignore ([15519aa](https://github.com/Atom-Learning/components/commit/15519aaf1a6ad6f1ca2128eefdc65a92a0c36aed))
|
|
344
|
-
* add validate script to CI ([312a381](https://github.com/Atom-Learning/components/commit/312a38167b302a8d7689a35186cc2c8b1eeb8acd))
|
|
345
|
-
* add ValidationError component and snapshot test ([634c93f](https://github.com/Atom-Learning/components/commit/634c93fd1bd35b00aa3e26996abba27c373891c0))
|
|
346
|
-
* add ValidationError docs ([c9965ae](https://github.com/Atom-Learning/components/commit/c9965aeef1522400b92ff7cb3ab1c85f6829bd04))
|
|
347
|
-
* add vertical-align: middle to Image default styling ([3feaeed](https://github.com/Atom-Learning/components/commit/3feaeedd36eda6f2315ca6cd18d05dc0102b4749))
|
|
348
|
-
* add X icon ([cfcc740](https://github.com/Atom-Learning/components/commit/cfcc74040c782aab8212ec739db1956b371ae4a7))
|
|
349
|
-
* added a11y storybook addon ([7fada99](https://github.com/Atom-Learning/components/commit/7fada99374a29e25ae4c9d5fcec24cd8096b3eb2))
|
|
350
|
-
* added aria-label to popover ([2cb075d](https://github.com/Atom-Learning/components/commit/2cb075df518457b030f38bc7a77be567d3ac7383))
|
|
351
|
-
* added box back into sandboxx ([a0dfd58](https://github.com/Atom-Learning/components/commit/a0dfd58fbb54323081896e168db7f996752b3ac9))
|
|
352
|
-
* added button component ([071e12e](https://github.com/Atom-Learning/components/commit/071e12e01af713958a90486308007c01977a9e37))
|
|
353
|
-
* added css prop to MarkdownContent ([6bf2cad](https://github.com/Atom-Learning/components/commit/6bf2cadb85984393dbe1776dd65004dce447afb4))
|
|
354
|
-
* added default font-family to trigger ([625a419](https://github.com/Atom-Learning/components/commit/625a419f634231dc551095a903b51875f84e7bc1))
|
|
355
|
-
* added disabled handling for link and added test case ([3428856](https://github.com/Atom-Learning/components/commit/34288567f5eee6874fdf56ec6809a7615222c11d))
|
|
356
|
-
* added disabled state to action icon ([88bbd34](https://github.com/Atom-Learning/components/commit/88bbd3452e900230ba86f116a146e4cc6a074320))
|
|
357
|
-
* added documentation and extra tests ([ee79ba5](https://github.com/Atom-Learning/components/commit/ee79ba5924af516e2c19c25cc2a3ed0ebf4199b6))
|
|
358
|
-
* added FooterCell component and refactored styles ([c2f31c3](https://github.com/Atom-Learning/components/commit/c2f31c3c048c72458e931a1ded154ff70bc8ad96))
|
|
359
|
-
* added href functionality with styling - ActionIcon ([b8865a2](https://github.com/Atom-Learning/components/commit/b8865a2e945da4ff2cf82fae68c571dd018090f6))
|
|
360
|
-
* Added initial Radio components WIP ([a9d1670](https://github.com/Atom-Learning/components/commit/a9d16705b77360c698f2bc2d42203cb02a8ded39)), closes [#46](https://github.com/Atom-Learning/components/issues/46)
|
|
361
|
-
* added isRounded variant ([2fe545b](https://github.com/Atom-Learning/components/commit/2fe545b33c9cd439706425fbc4956ca35011745d))
|
|
362
|
-
* added Label component ([b3a0a4e](https://github.com/Atom-Learning/components/commit/b3a0a4eda4423956da58b2f0a72a2dfce1ca6cbd))
|
|
363
|
-
* added Link component ([5dccc41](https://github.com/Atom-Learning/components/commit/5dccc419d87cc3d4bb50cf3e5ec895bdf1929bcf))
|
|
364
|
-
* added popover with triangle working WIP ([f378bb8](https://github.com/Atom-Learning/components/commit/f378bb80cc2d2e0f78a7eb8e0eb3e23b5cc6fe0d))
|
|
365
|
-
* added RadioButton and RadioButton group ([3ef1b5b](https://github.com/Atom-Learning/components/commit/3ef1b5bd1856518885ef6c7a623527d205091e25))
|
|
366
|
-
* added select control (WIP) ([9722e63](https://github.com/Atom-Learning/components/commit/9722e63cc9a17f2a0b7ae37955cb8c51f18b1bd0))
|
|
367
|
-
* added sizes for Links ([0980ff1](https://github.com/Atom-Learning/components/commit/0980ff183e23b000244a49402db7c93532e93ea6))
|
|
368
|
-
* added stitches docs and added to core concepts ([deb597a](https://github.com/Atom-Learning/components/commit/deb597a4182ac3911e7cd62a86669bde87465080))
|
|
369
|
-
* added Table documentation ([c2bf59e](https://github.com/Atom-Learning/components/commit/c2bf59ef69ccd27022fd21d046120b7fe05e6fd1))
|
|
370
|
-
* added video component ([0a125c7](https://github.com/Atom-Learning/components/commit/0a125c7f1fc7268a950a47ad3608e3a0d2165778))
|
|
371
|
-
* additional default styles for icon ([d0dfb7a](https://github.com/Atom-Learning/components/commit/d0dfb7a4cf4a678a2f63d32b43be299c94cf17a4))
|
|
372
|
-
* additional updates to button, form fields, icons to bring inline with design ([3419a25](https://github.com/Atom-Learning/components/commit/3419a256fa35e7cf5130f0cdaed7bcda8c579b30))
|
|
373
|
-
* allow 'xl' on Heading ([2033e84](https://github.com/Atom-Learning/components/commit/2033e84c6b77ac05db455c79d395dda70aa87939))
|
|
374
|
-
* allow text sizes xl & xxl ([23266b9](https://github.com/Atom-Learning/components/commit/23266b98fc6b40f602d8e23729f9a5ec1ae84eb3))
|
|
375
|
-
* applied text sizes to Label, Link & List, added extra detail in docs ([8ce9508](https://github.com/Atom-Learning/components/commit/8ce95086354b2e38315f8c58309511dbb8181ebb))
|
|
376
|
-
* apply capsize to sm text size ([89bb1e8](https://github.com/Atom-Learning/components/commit/89bb1e87cc53fdf361f874b8d16d006551bef575))
|
|
377
|
-
* basic form test ([a48c238](https://github.com/Atom-Learning/components/commit/a48c238efb29db9ca6d254b45eec3082c6019d85))
|
|
378
|
-
* basic heading component, docs, tests ([fa0dc6b](https://github.com/Atom-Learning/components/commit/fa0dc6bb5f9559a48d7ec5019251848645748d8b))
|
|
379
|
-
* basic image stuff ([d8909fa](https://github.com/Atom-Learning/components/commit/d8909fa66924407293a0e19c3711ca5f480b74fb))
|
|
380
|
-
* basic validation works ([42a41fc](https://github.com/Atom-Learning/components/commit/42a41fc78ab26d291be0fb6e1815c34eda781a39))
|
|
381
|
-
* basics docs and focus/active states ([cca01b5](https://github.com/Atom-Learning/components/commit/cca01b5c7642f7eb35cefdc885cb92997ab9f374))
|
|
382
|
-
* basics of text component and docs ([44fa9e6](https://github.com/Atom-Learning/components/commit/44fa9e684fd0b7de41f3304e6e693c9595bcbc1b))
|
|
383
|
-
* better temporary ref fix ([f5d4ec3](https://github.com/Atom-Learning/components/commit/f5d4ec3a2462116ecd51c8b5deec6cf0b36b1d74))
|
|
384
|
-
* break apart introduction, create new simple readme ([992c971](https://github.com/Atom-Learning/components/commit/992c97109dda98f000d2d059b3f7ea04bce5fce2))
|
|
385
|
-
* break Slider into own component ([7fea700](https://github.com/Atom-Learning/components/commit/7fea70077dba3dbc983bbc77d478f883c8f7dbd0))
|
|
386
|
-
* **button:** add loading state to show loader ([d229bcf](https://github.com/Atom-Learning/components/commit/d229bcf046e020753efa5f66ad996b8a40f2c95c))
|
|
387
|
-
* **button:** added loading state ([85e73b9](https://github.com/Atom-Learning/components/commit/85e73b947e8b42d9351e3fea0c9e0ec34363d2bc))
|
|
388
|
-
* **button:** added option to show icon ([dbf3090](https://github.com/Atom-Learning/components/commit/dbf3090df5d6a0ff114ce42cae7ea373c1998b59))
|
|
389
|
-
* **button:** added rounded variant ([2ed8256](https://github.com/Atom-Learning/components/commit/2ed8256174d642af71f7179b25b73c1c8941b925))
|
|
390
|
-
* **button:** added sizes ([aed388b](https://github.com/Atom-Learning/components/commit/aed388b602b2a01fed817741e7385f8d2462b427))
|
|
391
|
-
* change to one build with multiple outputs ([3694096](https://github.com/Atom-Learning/components/commit/369409681da8a17b3f7a2d6e8bcefb2b771e0f22))
|
|
392
|
-
* commented, refactored, improved error handling and messaging in CLI ([02e9934](https://github.com/Atom-Learning/components/commit/02e993415299a6988fd8cdfab4a9c07f04ba1607))
|
|
393
|
-
* commiting sandbox for testing ([50dc622](https://github.com/Atom-Learning/components/commit/50dc62227ba64e2220376c7f1a4739da91393fc9))
|
|
394
|
-
* composable arrows ([1214f82](https://github.com/Atom-Learning/components/commit/1214f8288f29edd063c57fab20184878586efe50))
|
|
395
|
-
* continued minor tweaks and fixes ([81723d9](https://github.com/Atom-Learning/components/commit/81723d9356b9391336f09e89368c295dcd03e552))
|
|
396
|
-
* convert all code previews to TSX, tidy up and fix code examples, naming ([e5322ff](https://github.com/Atom-Learning/components/commit/e5322ff2a10c47a11d02eabaf9b9c826440d875d))
|
|
397
|
-
* copy work from login mockup branch ([d3e79bf](https://github.com/Atom-Learning/components/commit/d3e79bf8cbe90bac76a62697244f8afa203bd982))
|
|
398
|
-
* correctly typed video component ([56ca9d2](https://github.com/Atom-Learning/components/commit/56ca9d2696af859e34bdf271e902074a2064a47f))
|
|
399
|
-
* create background svg util, replace icon ([322aa64](https://github.com/Atom-Learning/components/commit/322aa6421ca42c0f2e8abbdd1cf338adb5f24d04))
|
|
400
|
-
* create dialog ([136b10a](https://github.com/Atom-Learning/components/commit/136b10a07fc5ce85d1d151a0680f0c940ff0156f))
|
|
401
|
-
* create Grid component, update docs for Flex & Box, tidy up storybook set up files ([eb23d6a](https://github.com/Atom-Learning/components/commit/eb23d6a5519396e226a7dace887f6c2a8329550c))
|
|
402
|
-
* create success, warning, error & primary themes ([a2308e0](https://github.com/Atom-Learning/components/commit/a2308e0dc12b9834b63ffec7626abaa7e3aa29ef))
|
|
403
|
-
* doccomment for Override type ([8c67269](https://github.com/Atom-Learning/components/commit/8c672693e3da2afefa3b0bc5a53958069ac4a36e))
|
|
404
|
-
* document changes to form ([d1176c7](https://github.com/Atom-Learning/components/commit/d1176c758c4dd6c09ae648966f6e1205cebaf748))
|
|
405
|
-
* dropdown tests ([c97610f](https://github.com/Atom-Learning/components/commit/c97610f6516ebe78e613289535b137ec7eb17735))
|
|
406
|
-
* enhance Divider component to enable horizontal and vertical orientation ([5948e80](https://github.com/Atom-Learning/components/commit/5948e80a95f813bacd9d6f352e1f040ee2b2c802))
|
|
407
|
-
* ensure useAlert can handle multiple calls to showAlert ([e962c3d](https://github.com/Atom-Learning/components/commit/e962c3d0d3fd6558c0b36bd1c9a355776189bdc5))
|
|
408
|
-
* everything is broken ??? ([640b36c](https://github.com/Atom-Learning/components/commit/640b36c07d146b3a88cf913baba90d3cd761a090))
|
|
409
|
-
* exclude readme & changelog, create documentation directory ([0c5aa69](https://github.com/Atom-Learning/components/commit/0c5aa69807f622beb50495772539638bbb8e2f4a))
|
|
410
|
-
* field-wrapper component and tests -- text tests failing ([e88a92a](https://github.com/Atom-Learning/components/commit/e88a92a151fa329ac0f13cf29e19545ef16cf361))
|
|
411
|
-
* finish checkbox behaviour ([c2efb5e](https://github.com/Atom-Learning/components/commit/c2efb5ed24ca2e76ca0776db28eebfedbb77ac77))
|
|
412
|
-
* fix documentation ([7c8ee26](https://github.com/Atom-Learning/components/commit/7c8ee2654a31b4918e484425ac6aef37c1306262))
|
|
413
|
-
* fix missing colour on required asterisk ([5a8d236](https://github.com/Atom-Learning/components/commit/5a8d2365eb22fab3406ffa70ede0837a202e6f96))
|
|
414
|
-
* fix ref for box ([e0b0936](https://github.com/Atom-Learning/components/commit/e0b093659a9e4f52b703fd23e8f6f3dcc4851a83))
|
|
415
|
-
* fix sandbox example and switch back to variant for visibility ([41aeaa1](https://github.com/Atom-Learning/components/commit/41aeaa1b7d40af595b9c7e6d505fb36050f5ecbe))
|
|
416
|
-
* fix slide widths ([700bcc2](https://github.com/Atom-Learning/components/commit/700bcc242a047a529fa72dc80ce16ab83bf4600a))
|
|
417
|
-
* fixed tests, updated style and variants of tooltip ([e20f6a1](https://github.com/Atom-Learning/components/commit/e20f6a14d6887fc79bbe5d6dd3c144b6cd723696))
|
|
418
|
-
* form documentation ([6524e6f](https://github.com/Atom-Learning/components/commit/6524e6f791ae954439e78961ee9130eae77a031d))
|
|
419
|
-
* get CheckboxField errors from context hook ([1e72ff1](https://github.com/Atom-Learning/components/commit/1e72ff1092e6f367054192a170a18bd7f1cad59c))
|
|
420
|
-
* horrible accessibility test workaround ([99a0918](https://github.com/Atom-Learning/components/commit/99a0918a9b4cbd58ae35ae9affbec996b4bede50))
|
|
421
|
-
* implement fukol grid ([be9691b](https://github.com/Atom-Learning/components/commit/be9691b29562ebca188daf8b23268348ce1cccdc))
|
|
422
|
-
* improve defaultOption name ([da812c4](https://github.com/Atom-Learning/components/commit/da812c41d9f9c7f67af58ef838c70117dcf8b3e4))
|
|
423
|
-
* improve docs, add disabled test ([5cd1bd9](https://github.com/Atom-Learning/components/commit/5cd1bd9c0a212d7b37730188a69d3acc71d6c523))
|
|
424
|
-
* improve prop names ([4a48e1b](https://github.com/Atom-Learning/components/commit/4a48e1b459d6c48e2da4bf73f0d1aa5665d44c3c))
|
|
425
|
-
* incorporate table from alpha ([46710a1](https://github.com/Atom-Learning/components/commit/46710a1fc86fff9404a6b8e0194fd3410f9270d0))
|
|
426
|
-
* initial pass migrating to beta stitches ([28c58ae](https://github.com/Atom-Learning/components/commit/28c58ae2f1abb4f1927680aa3564366a4cb950d7))
|
|
427
|
-
* initial work migrating to new version of stitches, update snapshots ([96f3450](https://github.com/Atom-Learning/components/commit/96f345029e113899b5a58a33511ef0f8e14805cb))
|
|
428
|
-
* initial work on ActionIcon ([9d6d398](https://github.com/Atom-Learning/components/commit/9d6d398d26267290a12757dc83507071f0e0672c))
|
|
429
|
-
* initial work on alert dialog ([27272c5](https://github.com/Atom-Learning/components/commit/27272c59e5e6377f5c9261e86e00b35332feff73))
|
|
430
|
-
* initial work on automating new component or utility creation ([9ff84a8](https://github.com/Atom-Learning/components/commit/9ff84a871eddb66e812acb530942d043cc1d3f63))
|
|
431
|
-
* initial work on capsize for text components ([b7d2e21](https://github.com/Atom-Learning/components/commit/b7d2e21c5fa7ccf4d02f8e27596a9a67b553e77d))
|
|
432
|
-
* initial work on outputting component props via docgen ([0d25e73](https://github.com/Atom-Learning/components/commit/0d25e73a976cb3f881a35e83cbfe15b846d90c05))
|
|
433
|
-
* initial work on radio-card ([cffb8d5](https://github.com/Atom-Learning/components/commit/cffb8d58deb1b33a0bc04cf387bfda3a4c48725a))
|
|
434
|
-
* initial work on search input ([7daf5e9](https://github.com/Atom-Learning/components/commit/7daf5e9e7387fcf1457cdc40ae6bac1957c2178c))
|
|
435
|
-
* initial work on small form fields ([841e0c7](https://github.com/Atom-Learning/components/commit/841e0c7dcf213c342f1f9a134ebaff7f5873905f))
|
|
436
|
-
* initial work on stack component ([464ff3f](https://github.com/Atom-Learning/components/commit/464ff3f0a9278abfda53ea5093fcba3c5c6050cd))
|
|
437
|
-
* initial work on stack content component ([01b2559](https://github.com/Atom-Learning/components/commit/01b2559ccfa7e10dd4eca6596a72f9ed1be05744))
|
|
438
|
-
* initial work updating tokens for new theme ([a054882](https://github.com/Atom-Learning/components/commit/a054882b2e7bb087af48cda8f663a88a04716c96))
|
|
439
|
-
* install radix tooltip ([f6eb4c5](https://github.com/Atom-Learning/components/commit/f6eb4c5d3e1b0ec4abb150d38410f44d169aaf74))
|
|
440
|
-
* integrate current theme into stitches config file, create utils and breakpoints ([7e46cf5](https://github.com/Atom-Learning/components/commit/7e46cf5cd9b53f644c978b20831c0af051a28a3f))
|
|
441
|
-
* LinkItem and styling changes ([29a0ef9](https://github.com/Atom-Learning/components/commit/29a0ef928e6b6bf58d2e09cace76002d0115689c))
|
|
442
|
-
* made video component responsive ([69d5e27](https://github.com/Atom-Learning/components/commit/69d5e27fc837be821cdbcf671efd78f81f1a01b1))
|
|
443
|
-
* make button polymorphic ([c20ad3c](https://github.com/Atom-Learning/components/commit/c20ad3ce674aee5d9f29fbdf69b89df44b11bda9))
|
|
444
|
-
* make capsize conditional on text size variants ([40a4e8f](https://github.com/Atom-Learning/components/commit/40a4e8fa641bbc6895b5c02cbfaaadf0d1ad9fda))
|
|
445
|
-
* make Link polymorphic too ([dd0a482](https://github.com/Atom-Learning/components/commit/dd0a482c8f56a6d46effaae86bdc7faae9fd2851))
|
|
446
|
-
* make live code examples consistent, remove some default styles from link, ensure docs have all exported components ([4b12fe3](https://github.com/Atom-Learning/components/commit/4b12fe3ca706b35bf72f6b136e92a27f399c1dfb))
|
|
447
|
-
* manage deps ([4382e0c](https://github.com/Atom-Learning/components/commit/4382e0c70bd9e509204d6ebf82ac4ca2919e7c10))
|
|
448
|
-
* manually add dependencies to externals ([a0e5654](https://github.com/Atom-Learning/components/commit/a0e5654073ea87e9d74d433e89581d995104b849))
|
|
449
|
-
* match list size styling to Text component ([f1b7711](https://github.com/Atom-Learning/components/commit/f1b7711c509046bc475f626f75b0dbf4905be113))
|
|
450
|
-
* mention optimising SVGs in Icon docs ([e8b0c8d](https://github.com/Atom-Learning/components/commit/e8b0c8d76d270daedf402d9272c88c8b0ca8dc6d))
|
|
451
|
-
* merge latest update from main, fix layout/colour issues ([da287e0](https://github.com/Atom-Learning/components/commit/da287e0e1bb534a2f89689a9fdd4b7d5044ce3d0))
|
|
452
|
-
* merge main, apply correct style to xs heading ([5804ea2](https://github.com/Atom-Learning/components/commit/5804ea22c4ff97815b411415ff0c9a256910333b))
|
|
453
|
-
* minor docs updates ([1f63ce7](https://github.com/Atom-Learning/components/commit/1f63ce7a7916b21c8e41c22a16bdddb2d027d2a4))
|
|
454
|
-
* minor styling tweaks for textarea ([de7c3fe](https://github.com/Atom-Learning/components/commit/de7c3fe42df4a5723df3cec5c1691a07da6dd3dc))
|
|
455
|
-
* minor updates to docs for consistency ([b9de023](https://github.com/Atom-Learning/components/commit/b9de02373ae069a438123b6358cf84d0d9f0d7c2))
|
|
456
|
-
* more updates ([9927024](https://github.com/Atom-Learning/components/commit/9927024d6d6fbf7c63530609a0f053fe28d0640d))
|
|
457
|
-
* move field wrapper description to below label ([51822ff](https://github.com/Atom-Learning/components/commit/51822ffe01de0c6cc154e961cc1727fe0725dff2))
|
|
458
|
-
* move z-index to container in toast provider ([dcef073](https://github.com/Atom-Learning/components/commit/dcef07340e304d5931980c60c83e0b2051c8f6aa))
|
|
459
|
-
* no mb on last list item ([8742831](https://github.com/Atom-Learning/components/commit/874283104b7331ef640200a9cfd38939f79576d9))
|
|
460
|
-
* nothing works ([3979cb7](https://github.com/Atom-Learning/components/commit/3979cb7f3f58ebdfbb4ded43aab03413bde43c25))
|
|
461
|
-
* one failing assertion ([71832fb](https://github.com/Atom-Learning/components/commit/71832fb8e65639ae5b8e717cc8480496131c563f))
|
|
462
|
-
* pass basic CheckboxField tests ([f0aca71](https://github.com/Atom-Learning/components/commit/f0aca71821ed0543ceaac898adfd45bdd43ddb92))
|
|
463
|
-
* pass basic tests ([8bfaf20](https://github.com/Atom-Learning/components/commit/8bfaf20e9d50e765c78b2ad2dd75b6cd850bec76))
|
|
464
|
-
* pass error to selectfield wrapper ([0e94fcc](https://github.com/Atom-Learning/components/commit/0e94fcc02c567f29382818f2ee9e552d1c41c912))
|
|
465
|
-
* pass required attr down to HTML input ([2e8cacf](https://github.com/Atom-Learning/components/commit/2e8cacfadda731810a5954aa62642c466198ea8d))
|
|
466
|
-
* **persist-form:** adding persist functionality into form and tests ([87a17cf](https://github.com/Atom-Learning/components/commit/87a17cf7b61ff71d163b7a734aa0b4b93fc0ff4a))
|
|
467
|
-
* **persist-form:** adding react-hook-form-persist package ([f782197](https://github.com/Atom-Learning/components/commit/f7821971c99f1ef3329e70fcb5a2c3fe69fb2de9))
|
|
468
|
-
* **persist-form:** cleaned up types and Form file ([481b8ac](https://github.com/Atom-Learning/components/commit/481b8ac216bee65bd008d3f7eb569d8f2cf1303d))
|
|
469
|
-
* **persist-form:** moved types around and cleaned up files ([1678c56](https://github.com/Atom-Learning/components/commit/1678c563e67da4c09121a88eacd0214c917406b2))
|
|
470
|
-
* **persist-form:** tweak to Form.mdx file ([ae4c8b3](https://github.com/Atom-Learning/components/commit/ae4c8b3a22343e37765ea0a269419e027c47ba73))
|
|
471
|
-
* **persist-form:** tweaks and additions to Form.test.tsx ([8ebed1a](https://github.com/Atom-Learning/components/commit/8ebed1a92595a6d81c09e19579d2b91ef3d3f6b9))
|
|
472
|
-
* **persist-form:** updated Form.mdx file ([6b84ca4](https://github.com/Atom-Learning/components/commit/6b84ca46237c3d155a88e661b82fce8f509a405e))
|
|
473
|
-
* **persist-form:** WIP type changes + tweaks to tests - fixes to get exclude working ([f915f0f](https://github.com/Atom-Learning/components/commit/f915f0fdba21bf3881036f9a15519231a5860aac))
|
|
474
|
-
* polymorphic link and button ([054bfef](https://github.com/Atom-Learning/components/commit/054bfef796fbb8ddfbbfff247e92b861427d6ed8))
|
|
475
|
-
* **popover:** add trigger functionality WIP ([0f5e3e5](https://github.com/Atom-Learning/components/commit/0f5e3e52b66a09ef3103c1af1e1e342e7ed4bc3e))
|
|
476
|
-
* **popover:** added truthy variant for visibility ([3347a2e](https://github.com/Atom-Learning/components/commit/3347a2ef1e39d792d8253a2859d17b6ee124479e))
|
|
477
|
-
* **popover:** switch back to theme for visibility ([4dbf109](https://github.com/Atom-Learning/components/commit/4dbf109eea89405b65dad25bfdef55534055988f))
|
|
478
|
-
* **Progress:** added progress bar, WIP ([488654c](https://github.com/Atom-Learning/components/commit/488654cd7be2b41c35258ca5ffd990fa1afe52c2))
|
|
479
|
-
* **progress:** completed progressbar component ([e0ebc8a](https://github.com/Atom-Learning/components/commit/e0ebc8a5c40b4e5aadf018482c191e4d71fcba04))
|
|
480
|
-
* **progress:** revert size of progressbar to 12 ([add34eb](https://github.com/Atom-Learning/components/commit/add34ebca8c9b2f4382efa9104a90ac8e7f0eccf))
|
|
481
|
-
* publish action into separate job ([3b8277b](https://github.com/Atom-Learning/components/commit/3b8277b228cd700edb20815d311fd618e619d692))
|
|
482
|
-
* radiogroupfield hooked into react-hook-form ([037356c](https://github.com/Atom-Learning/components/commit/037356cac4381c013964a3a7e381e017475da49a))
|
|
483
|
-
* re-export default triggers for radix comps ([54ffcbf](https://github.com/Atom-Learning/components/commit/54ffcbf04ae05550bc7a20b86529ad77b669d828))
|
|
484
|
-
* refactor carousel into more components ([31b544c](https://github.com/Atom-Learning/components/commit/31b544c8328ae193fe9eb8942a21d01990e5e82e))
|
|
485
|
-
* refactor Table component ([c207c2d](https://github.com/Atom-Learning/components/commit/c207c2dde083013e3abf6bf937c29bb377be2284))
|
|
486
|
-
* refactored components to be subcomponents on the Tabs object. updated docs and tests ([66ebedb](https://github.com/Atom-Learning/components/commit/66ebedb2341c44b6cadde005d6bbe0dfec0774ec))
|
|
487
|
-
* refactored MarkdownContent to split up into separate components; added customComponents prop ([a0ca8d8](https://github.com/Atom-Learning/components/commit/a0ca8d87526acb2e5fa30815cd779d66e9ef8b96))
|
|
488
|
-
* remove default slide styling and add transition effect ([19f615e](https://github.com/Atom-Learning/components/commit/19f615ef8dac05cbf6e35a60b4629eeed40011b8))
|
|
489
|
-
* remove password field prompt text from component definition ([a940485](https://github.com/Atom-Learning/components/commit/a9404852f42c71ced08dad8aa8647f8fa69e4c39))
|
|
490
|
-
* remove redundant aria-live attribute, update size util ([3b9d7ec](https://github.com/Atom-Learning/components/commit/3b9d7ec195a0c5813efe4d86c37aaa5beff62cef))
|
|
491
|
-
* remove redundant transform styling ([2b8176b](https://github.com/Atom-Learning/components/commit/2b8176ba90f773f159c7264c609bcccef38a8c73))
|
|
492
|
-
* remove sourcemaps, fix test, set-up npm package files ([9e2613a](https://github.com/Atom-Learning/components/commit/9e2613ad953ca0fd8094e107388497788e569b02))
|
|
493
|
-
* remove toggle ([cd2157b](https://github.com/Atom-Learning/components/commit/cd2157b671b1477affef6b4dae8f5f7930338993))
|
|
494
|
-
* remove unneeded rollup plugin ([033ca65](https://github.com/Atom-Learning/components/commit/033ca659750a36ca0b0debc9ba8d1a8f13bf5694))
|
|
495
|
-
* removed default theme variant for List and made list marker inherit the color of text ([f668f3e](https://github.com/Atom-Learning/components/commit/f668f3e45746af09f5ace74b9bbea75b388215e0))
|
|
496
|
-
* renamed subcomponents and small simplification refactor to Table.tsx ([b7a77ed](https://github.com/Atom-Learning/components/commit/b7a77ede86d5a2bda8bf6f05dfc6fd4cd1018565))
|
|
497
|
-
* reorganise and update the contributing docs and introduction to the components ([388feb2](https://github.com/Atom-Learning/components/commit/388feb22812b8b0e5bae75bcfe0ce308ab6d8e0d))
|
|
498
|
-
* replace icons with lib, remove rollup & jest config related, upgrade theme ([8638650](https://github.com/Atom-Learning/components/commit/8638650524e46ee28cd2ad9b94bb301cac22c8e0))
|
|
499
|
-
* replace theme with package, utilise esmodule export ([448b855](https://github.com/Atom-Learning/components/commit/448b8554eaca34de51b9bdabff426ba59807923f))
|
|
500
|
-
* restricted the types of themes and appearance ([8a1bf9d](https://github.com/Atom-Learning/components/commit/8a1bf9d31ed32f9f58df90b7251366c72adde29a))
|
|
501
|
-
* retain button size when loading ([03b4576](https://github.com/Atom-Learning/components/commit/03b4576b8ece5b4198e832cca7fd9667f84de114))
|
|
502
|
-
* revert version bumps on radix packages; comment out tab snapshot test ([e9acf71](https://github.com/Atom-Learning/components/commit/e9acf719bd612732491301baa97554de76f4ee3f))
|
|
503
|
-
* run add-component ([3c28c6f](https://github.com/Atom-Learning/components/commit/3c28c6f08a418d828bb8ddd8fea8e9f5a82a5343))
|
|
504
|
-
* set default button type ([2ca14ae](https://github.com/Atom-Learning/components/commit/2ca14ae03db7448e05739c810b52d0090b4e1912))
|
|
505
|
-
* set default prop in function declaration ([998a55d](https://github.com/Atom-Learning/components/commit/998a55d0f52eef936ff55c85e1311ef141996693))
|
|
506
|
-
* simplify implementation ([7274380](https://github.com/Atom-Learning/components/commit/7274380285a25ef374968b7fd9d19e1ab8abb830))
|
|
507
|
-
* simplify Inputfield props ([0e11745](https://github.com/Atom-Learning/components/commit/0e11745368c5b9789a8e876ff0672d0ed8a3d56f))
|
|
508
|
-
* simplify object spread ([8818cc9](https://github.com/Atom-Learning/components/commit/8818cc9b3703aa0563e5ddd2a662cdbc3add9639))
|
|
509
|
-
* skip snapshot for now ([4aacea4](https://github.com/Atom-Learning/components/commit/4aacea48fda96062f6621ba81e8936fc3c52df33))
|
|
510
|
-
* switch visibility to class instead of variant ([ec70d2e](https://github.com/Atom-Learning/components/commit/ec70d2eceadcda8b48bf0f03d0ecf6765fc1f24b))
|
|
511
|
-
* take props for hide/show password labels ([1fa8e7a](https://github.com/Atom-Learning/components/commit/1fa8e7ae737cf002febc8322d8e2ae742c788cf7))
|
|
512
|
-
* test accessibility of disabled input ([5f37fac](https://github.com/Atom-Learning/components/commit/5f37fac58e556cda00cf701c2b82c547bd6da858))
|
|
513
|
-
* test cleanup ([c1743a3](https://github.com/Atom-Learning/components/commit/c1743a3772969d57b327d35a9007b7c2ca4887fd))
|
|
514
|
-
* test error messages being passed to fields ([fad2fb2](https://github.com/Atom-Learning/components/commit/fad2fb283ee7d204f8d485a5af3a8c8774fec3c2))
|
|
515
|
-
* test FieldWrapper for error rendering ([f3926c3](https://github.com/Atom-Learning/components/commit/f3926c3777d99d0524585fcb4645ccb7de7ece1f))
|
|
516
|
-
* test FieldWrapper renders prompt ([b1c1415](https://github.com/Atom-Learning/components/commit/b1c1415c3ac122d9992e527486ac9005b85838c9))
|
|
517
|
-
* test polymorphic button ([31af2a7](https://github.com/Atom-Learning/components/commit/31af2a77ce4088562e94c11305fda40d315293f7))
|
|
518
|
-
* **textarea:** added textarea component ([9304c8a](https://github.com/Atom-Learning/components/commit/9304c8a5af74b2dcc45c83c2e5dbfdd1503f6911))
|
|
519
|
-
* tidy script and reorganise npm scripts, adding prepublish step ([1113271](https://github.com/Atom-Learning/components/commit/1113271f701d71438fcf39f2a7a7aa0c4ead1c3b))
|
|
520
|
-
* **toast:** add toast component ([b353c02](https://github.com/Atom-Learning/components/commit/b353c02f7e108c1b696988d3922ebee856488c95))
|
|
521
|
-
* transpile code on build, update size-limit to large lib ([77e9974](https://github.com/Atom-Learning/components/commit/77e9974e6d25d09dcfeff01dac5edc03bec2c0ff))
|
|
522
|
-
* tweak docs ([72598a4](https://github.com/Atom-Learning/components/commit/72598a4c399f7ac489dd1ec635bf78237ae5b5f9))
|
|
523
|
-
* tweak styling of component ([1151acc](https://github.com/Atom-Learning/components/commit/1151acc3c5194a5b68547ad202461b1690406281))
|
|
524
|
-
* tweaks to other components ([e9bb9f5](https://github.com/Atom-Learning/components/commit/e9bb9f5242e47e7a261f315bf16cdeee0a2f8015))
|
|
525
|
-
* update Button to render anchor if provided link ([31ae7e7](https://github.com/Atom-Learning/components/commit/31ae7e74fb05c0e4fc1ae0a4c8430aa4af460a8b))
|
|
526
|
-
* update carousel naming conventions, fix ul render, include all components in docs ([d701963](https://github.com/Atom-Learning/components/commit/d7019630401a252c27660a9b786fd2f7f7828aba))
|
|
527
|
-
* update components test view, tweak colours and dialog style ([adbfa10](https://github.com/Atom-Learning/components/commit/adbfa100a2585185335fa88694e958d28c1c707c))
|
|
528
|
-
* update contributing docs ([ee17e0e](https://github.com/Atom-Learning/components/commit/ee17e0e9155557a305f72a51710bd57cb9c1704c))
|
|
529
|
-
* update contributing to reflect docs changes ([02195a6](https://github.com/Atom-Learning/components/commit/02195a6c9e2a08333f69dd8479bf9dd9d6c718bf))
|
|
530
|
-
* update docs to add categories and tweak content ([bc2177d](https://github.com/Atom-Learning/components/commit/bc2177d04771f729d372ae551432b5da5831cecc))
|
|
531
|
-
* update docs to reflect new Arrow component structure ([77a24b6](https://github.com/Atom-Learning/components/commit/77a24b6b8c0db6c2ee89bc2fe576554e64621516))
|
|
532
|
-
* update docs, minor colour updates, add justify to stack ([ead91d7](https://github.com/Atom-Learning/components/commit/ead91d730b36aba7b438e47c67b57ffe7d1c1c9a))
|
|
533
|
-
* update documentation ([d71e66a](https://github.com/Atom-Learning/components/commit/d71e66a3e6c9fa8fad9d02c229abcba5ac699ace))
|
|
534
|
-
* update documentation ([ab2aaf8](https://github.com/Atom-Learning/components/commit/ab2aaf87bfb6500a845949112afe6439b182bb18))
|
|
535
|
-
* update documentation for box, flex, heading & icon components ([26c33d0](https://github.com/Atom-Learning/components/commit/26c33d075a76232c93fbf7e1a664abf8df8d6488))
|
|
536
|
-
* update documentation, allow Text to forwardRef, tweak child component props ([87347a9](https://github.com/Atom-Learning/components/commit/87347a909547bb19c63145bd1148f3573f689511))
|
|
537
|
-
* update FieldWrapper docs ([85a4464](https://github.com/Atom-Learning/components/commit/85a4464ffd2d95ea709c6bd88983beb923f38b10))
|
|
538
|
-
* update Form to take render prop ([0da11ae](https://github.com/Atom-Learning/components/commit/0da11ae5067b97b066af4f66a3a0e40b26ffb453))
|
|
539
|
-
* update github token name ([b0bf3fe](https://github.com/Atom-Learning/components/commit/b0bf3fef1e6026ff584ee378e71f5883461040ec))
|
|
540
|
-
* update grid docs ([fc8e59e](https://github.com/Atom-Learning/components/commit/fc8e59e42571c6a580a4a75434c739ce2a080b4b))
|
|
541
|
-
* update Heading sizes ([2b1f883](https://github.com/Atom-Learning/components/commit/2b1f88354d778bc00dba6343ef621907e6e5563d))
|
|
542
|
-
* update jest config to match tsconfig path alias ([8bf75c5](https://github.com/Atom-Learning/components/commit/8bf75c50207090c70b845192aef79c9e688fc8b3))
|
|
543
|
-
* update Loader sizes ([4f05961](https://github.com/Atom-Learning/components/commit/4f059611a34a07bd56463e6ba03e6b554bca7142))
|
|
544
|
-
* update naming conventions and introduce simple variant ([d77408d](https://github.com/Atom-Learning/components/commit/d77408d5dc61db01fdcf07365f7e06129b5af53c))
|
|
545
|
-
* update password field with actionicon ([a9d142a](https://github.com/Atom-Learning/components/commit/a9d142a067d8e2f44b802bae9f32d71385de45ed))
|
|
546
|
-
* update popover component with Radix component ([4bc7cee](https://github.com/Atom-Learning/components/commit/4bc7cee085bfa4ba291be3b93be9adde7ef9c285))
|
|
547
|
-
* update RadioButton snapshots ([98e1a7c](https://github.com/Atom-Learning/components/commit/98e1a7cfd08f5c482e04a5bdec0f02d845c2e4bd))
|
|
548
|
-
* update radix (again) and update snapshots ([d6cdefa](https://github.com/Atom-Learning/components/commit/d6cdefa7d0e1ccfb7b80a3734762ff30df5f2295))
|
|
549
|
-
* update radix tooltip lib version for TS fixes ([62e5ecb](https://github.com/Atom-Learning/components/commit/62e5ecbc19916a96a860e995e010398b0fd08a12))
|
|
550
|
-
* update Select api to use children instead of options ([d4cc306](https://github.com/Atom-Learning/components/commit/d4cc3067dd8d9b5c553de13f4444cc63968261d2))
|
|
551
|
-
* update sizing scales ([777bc03](https://github.com/Atom-Learning/components/commit/777bc03c34400b270555485d1846c8e40eeecc66))
|
|
552
|
-
* update some components to use useFormContext ([23c3d4a](https://github.com/Atom-Learning/components/commit/23c3d4aa6220ae198024665916bdc658b1fbcf6d))
|
|
553
|
-
* update styling ([f4fd43e](https://github.com/Atom-Learning/components/commit/f4fd43ea6a202b6433e008125879128dc9224d3e))
|
|
554
|
-
* update styling/layout for new theme, create components sandbox to test ([44150e1](https://github.com/Atom-Learning/components/commit/44150e12fed7f8233e0ce28063fb72e1ac8f1a4a))
|
|
555
|
-
* update text test ([de2b7dc](https://github.com/Atom-Learning/components/commit/de2b7dcd448d44d8d24f270c127221c4656f8659))
|
|
556
|
-
* update to export trigger and component separately ([d224d1d](https://github.com/Atom-Learning/components/commit/d224d1d16073b45e18d557746e44ab1bf4c90a96))
|
|
557
|
-
* update to vite, enable import from src ([778a0a0](https://github.com/Atom-Learning/components/commit/778a0a09dcfc5bd91a1f80fcded1d8358cf33ca0))
|
|
558
|
-
* update toast to use react-hot-toast ([4a312ac](https://github.com/Atom-Learning/components/commit/4a312acf184d5dbd615656e82f475c572f27a269))
|
|
559
|
-
* updated colors and fonts weights of active/inactive states; added border under tabs ([797bec9](https://github.com/Atom-Learning/components/commit/797bec924b4480b86d79020839d3bc130d7aadfa))
|
|
560
|
-
* updated default styling to Atom style ([aeeeaf6](https://github.com/Atom-Learning/components/commit/aeeeaf6b62c6e9b840e859897ed1490942f4e6ce))
|
|
561
|
-
* updated display names for better semantics ([19314ed](https://github.com/Atom-Learning/components/commit/19314ed2cfd6a9f708932e3dc16bb472ff3cc4db))
|
|
562
|
-
* updated documentation files to fit new format ([00e3d0a](https://github.com/Atom-Learning/components/commit/00e3d0a2967cfe2b551d412a5e1ead4a11adb02c))
|
|
563
|
-
* updated doucmentation ([b858869](https://github.com/Atom-Learning/components/commit/b858869052aebd777b068b3fbd69ce76e3081d4a))
|
|
564
|
-
* updated form documentation ([346872c](https://github.com/Atom-Learning/components/commit/346872c67dba19c956ae9e91268df3922ef2b90c))
|
|
565
|
-
* updated HeaderCell styles to match Atom ([73e5841](https://github.com/Atom-Learning/components/commit/73e5841d0de34b443e5349c0f8ab2a056edd6606))
|
|
566
|
-
* updated MDX file ([926e7d1](https://github.com/Atom-Learning/components/commit/926e7d1c50f7469d8a3ecc713f523034aebb7cc9))
|
|
567
|
-
* updated snapshots ([3b05749](https://github.com/Atom-Learning/components/commit/3b057499910defa3e076817d366ef63ca42633b6))
|
|
568
|
-
* updated Table documentation ([40f3cc7](https://github.com/Atom-Learning/components/commit/40f3cc72c060a0f7037aa4bdaf36d81c322a4615))
|
|
569
|
-
* updated test ([e36d2c3](https://github.com/Atom-Learning/components/commit/e36d2c33c4a16323e422e666c85cce71fd53a528))
|
|
570
|
-
* updated with main branch ([56fe0e0](https://github.com/Atom-Learning/components/commit/56fe0e084020a40e81c8caf21fc8beb0d5b467bf))
|
|
571
|
-
* upgrade radix components ([c012309](https://github.com/Atom-Learning/components/commit/c0123094559f512076634085b3f889dc3d891fcc))
|
|
572
|
-
* upgrade radix packages ([0b0f90e](https://github.com/Atom-Learning/components/commit/0b0f90e281f3e60543eabf799f271616b78bf13f))
|
|
573
|
-
* upgrade radix radio component, fix tests ([06ef9cf](https://github.com/Atom-Learning/components/commit/06ef9cfa1b93a77f3f25fdd561d3f5d37de4955a))
|
|
574
|
-
* upgrade stitches ([37a6a48](https://github.com/Atom-Learning/components/commit/37a6a485bdc44cdc0b7de6002bbafbd239b5bde2))
|
|
575
|
-
* upgrade stitches, fix TS errors ([9b4aa3d](https://github.com/Atom-Learning/components/commit/9b4aa3d810d0bde7104d6ec6519929aa351a46da))
|
|
576
|
-
* use FieldWrapper in InputField component ([bb86009](https://github.com/Atom-Learning/components/commit/bb8600992dc1b11f2286022a69d2c0ffb6c5642a))
|
|
577
|
-
* use radix checkbox, not reach ([0d0b110](https://github.com/Atom-Learning/components/commit/0d0b1109d532eb5f10dfb6e425d8f46eb6668cad))
|
|
578
|
-
* use readme intro and remove unnecessary code preview example ([0adafc8](https://github.com/Atom-Learning/components/commit/0adafc8e4a5207c010c9db8082043b2f4c76e180))
|
|
579
|
-
* use theme key for input height ([c812a85](https://github.com/Atom-Learning/components/commit/c812a85c5f41ac5c0f20843e0e4a0b417636eb44))
|
|
580
|
-
* use themn size scale for grid gap variants ([292307e](https://github.com/Atom-Learning/components/commit/292307eb04d12f121779c209903c39ce5bf2ba6f))
|
|
581
|
-
* utilise action-icon in toast, change appearance none interaction state ([cb0a0ea](https://github.com/Atom-Learning/components/commit/cb0a0eaa54aba58d278a3ad5dab96afa7c6514a8))
|
|
582
|
-
* wip ([f2c4429](https://github.com/Atom-Learning/components/commit/f2c442920144cc7093c11ee9d703655c4fc40de3))
|
|
583
|
-
* wip adding arrows option; nothing works ([2f7f41c](https://github.com/Atom-Learning/components/commit/2f7f41c6a4b1bff04d3512d45395e8c9f30443da))
|
|
584
|
-
* wip combobox ([ce3c229](https://github.com/Atom-Learning/components/commit/ce3c2292152a737c06891221b7a75fb052d407b2))
|
|
585
|
-
* wip dropdown-menu ([db637c1](https://github.com/Atom-Learning/components/commit/db637c165bfe25a7d11e38743136ad5ec9eb713b))
|
|
586
|
-
* wip DropdownMenu components ([5cefc8f](https://github.com/Atom-Learning/components/commit/5cefc8fd206cce64fd20c57f47a6846c875aef83))
|
|
587
|
-
* wip generic form component ([ca6c756](https://github.com/Atom-Learning/components/commit/ca6c756183325ce64fbb93d766de6dd9c499e0d8))
|
|
588
|
-
* wip make types available in jest ([8c577e6](https://github.com/Atom-Learning/components/commit/8c577e633ced9b5f59c956639b138b571cafbee8))
|
|
589
|
-
* wip porting existing carousel ([353d452](https://github.com/Atom-Learning/components/commit/353d4527f1184aeb3f043b47ffc5eead13555a27))
|
|
590
|
-
* wip splitting carousel into separate exports ([1551680](https://github.com/Atom-Learning/components/commit/155168081e292d288e2a641b2c7e49f39005907d))
|
|
591
|
-
* wip tooltip styling ([9e243a6](https://github.com/Atom-Learning/components/commit/9e243a69b6e100e66e4dcc0838aed9d9e9935999))
|
|
592
|
-
* working simplified form ([505148f](https://github.com/Atom-Learning/components/commit/505148ffc8e84914df8b08c5aad7dd97d6ca8259))
|
|
593
|
-
* working tests ([1100de3](https://github.com/Atom-Learning/components/commit/1100de3029d59dc874849635e1a2376070bfa0ce))
|
|
594
|
-
* wrap carousel in box to receive CSS ([7083f80](https://github.com/Atom-Learning/components/commit/7083f80eb222ecea9a2bf552990b68a09624dcc0))
|
|
595
|
-
* wrap input with Label in InlineFieldWrapper ([33a8ace](https://github.com/Atom-Learning/components/commit/33a8ace4a81a167bdaa7f0af416666c1e301d413))
|
|
596
|
-
* write initial concept docs ([c207e9f](https://github.com/Atom-Learning/components/commit/c207e9f407b4ac136679f821d8b9617af66cba79))
|
|
10
|
+
- Initial release 🎉
|
|
597
11
|
|
|
598
12
|
# Changelog
|
|
599
13
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const r=["children","disabled","css"];import{Trigger as e}from"@radix-ui/react-tabs";import{createElement as o}from"react";import{styled as t}from"../../stitches.js";const a=t(e,{color:"$secondary",cursor:"pointer",flexShrink:0,fontFamily:"$body",p:"$4",userSelect:"none","&:hover":{color:"$primary"},"&[data-disabled],&[data-disabled]:hover":{color:"$tonal300"},'&[data-state="active"]':{color:"$primary",fontWeight:"bold",boxShadow:"inset 0 -3px 0 0 currentColor"}}),i=e=>{let{children:t,disabled:i=!1,css:s}=e,
|
|
1
|
+
const r=["children","disabled","css"];import{Trigger as e}from"@radix-ui/react-tabs";import{createElement as o}from"react";import{styled as t}from"../../stitches.js";const a=t(e,{color:"$secondary",cursor:"pointer",flexShrink:0,fontFamily:"$body",p:"$4",userSelect:"none","&:hover":{color:"$primary"},"&[data-disabled],&[data-disabled]:hover":{color:"$tonal300",cursor:"default"},'&[data-state="active"]':{color:"$primary",fontWeight:"bold",boxShadow:"inset 0 -3px 0 0 currentColor"}}),i=e=>{let{children:t,disabled:i=!1,css:s}=e,c=function(r,e){if(null==r)return{};var o,t,a={},i=Object.keys(r);for(t=0;t<i.length;t++)o=i[t],e.indexOf(o)>=0||(a[o]=r[o]);return a}(e,r);return o(a,Object.assign({css:s,disabled:i},c),t)};i.displayName="TabTrigger";export{i as TabTrigger};
|
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=["is","size"],t=["children","theme","appearance","size","label","href","disabled"],r=["size"],o=["children","isLoading","onClick","href","appearance","size","theme","type"],a=["size"],i=["css","gap","direction","justify"],n=["size"],s=["title","description","onAction","cancelActionText","confirmActionText","onClose"],l=["children"],d=["align","as","direction","size","type","children","required"],c=["size","ordered"],m=["size","onClick","href"],p=["css","children"],u=["id"],h=["exclude"],g=["formMethods","handleSubmit","onSubmit","children"],b=["children","defaultValues","onSubmit","validationMode","render","persist"],$=["css","defaultChecked","label","name","validation","description"],f=["size","children","closeDialogText"],x=["orientation"],y=["children","href"],v=["css","gap","minItemSize"],w=["type","size"],E=["css","label","name","validation","prompt","description"],z=["children"],C=["css","hidePasswordText","showPasswordText"],k=["css","label","name","prompt","description","validation"],S=["children","side","sideOffset","closePopoverText","size"],O=["value","theme"],j=["children","isFullWidth","size","align"],F=["css","children","size","isFullWidth","align","gap","justify"],R=["css","label","value"],N=["size","css"],T=["placeholder","children","size"],D=["css","children","name","label","validation","prompt","description"],I=["size"],W=["children","disabled","css"],M=["children"],q=["css","label","name","validation","prompt","description"],A=["children","side","sideOffset","size"],B=["children","delayDuration"],H=["id","ratio","css"];function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}function P(e,t){if(null==e)return{};var r,o,a={},i=Object.keys(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)>=0||(a[r]=e[r]);return a}Object.defineProperty(exports,"__esModule",{value:!0});var V=require("invariant"),Y=require("react"),G=require("@atom-learning/theme"),X=require("@stitches/react"),_=require("@radix-ui/react-alert-dialog"),U=require("polished"),K=require("@radix-ui/react-visually-hidden"),J=require("uid"),Q=require("pure-react-carousel"),Z=require("@atom-learning/icons"),ee=require("@radix-ui/react-checkbox"),te=require("react-hook-form"),re=require("@radix-ui/react-radio-group"),oe=require("react-hook-form-persist"),ae=require("dlv"),ie=require("@reach/combobox"),ne=require("@radix-ui/react-dialog"),se=require("@radix-ui/react-dropdown-menu"),le=require("mdast-util-directive"),de=require("mdast-util-from-markdown"),ce=require("micromark-extension-directive"),me=require("@radix-ui/react-popover"),pe=require("@radix-ui/react-progress"),ue=require("@radix-ui/react-switch"),he=require("@radix-ui/react-tabs"),ge=require("react-hot-toast"),be=require("@radix-ui/react-tooltip"),$e=require("react-player/vimeo");function fe(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function xe(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var ye=fe(V),ve=fe(Y),we=xe(G),Ee=fe(oe),ze=fe(ae),Ce=fe(le),ke=fe(de),Se=fe(ce),Oe=fe(ge),je=fe($e);const Fe={bg:e=>({background:e}),inset:e=>({top:e,right:e,bottom:e,left:e}),size:e=>({height:e,width:e}),p:e=>({padding:e}),pt:e=>({paddingTop:e}),pr:e=>({paddingRight:e}),pb:e=>({paddingBottom:e}),pl:e=>({paddingLeft:e}),px:e=>({paddingLeft:e,paddingRight:e}),py:e=>({paddingTop:e,paddingBottom:e}),m:e=>({margin:e}),mt:e=>({marginTop:e}),mr:e=>({marginRight:e}),mb:e=>({marginBottom:e}),ml:e=>({marginLeft:e}),mx:e=>({marginLeft:e,marginRight:e}),my:e=>({marginTop:e,marginBottom:e})},Re={sm:"(min-width: 550px)",md:"(min-width: 800px)",lg:"(min-width: 1100px)",xl:"(min-width: 1350px)",reducedMotion:"(prefers-reduced-motion)",allowMotion:"(prefers-reduced-motion: no-preference)",hover:"(hover: hover)"},Ne=X.createStitches({theme:we,utils:Fe,media:Re}),{css:Te,getCssText:De,createTheme:Ie,globalCss:We,keyframes:Me,styled:qe,theme:Ae}=Ne,Be=qe("svg",{display:"inline-block",fill:"none",stroke:"currentcolor",strokeLinecap:"round",strokeLinejoin:"round",verticalAlign:"middle",variants:{size:{sm:{size:"$1",strokeWidth:"1.75"},md:{size:"$2",strokeWidth:"2"},lg:{size:"$3",strokeWidth:"2"}}}}),He=Y.forwardRef(((t,r)=>{let{is:o,size:a="md"}=t,i=P(t,e);return Y.createElement(Be,Object.assign({size:a,"aria-hidden":"true"},i,{as:o,ref:r}))})),Le=(e,t,r)=>({bg:"transparent",color:e,"&:not(:disabled):hover, &:not(:disabled):focus":{color:t},"&:not(:disabled):active":{color:r},"&[disabled]":{color:"$tonal400",cursor:"not-allowed"}}),Pe=(e,t,r)=>({bg:e,color:"white","&:not(:disabled):hover, &:not(:disabled):focus":{bg:t,color:"white"},"&:not(:disabled):active":{bg:r},"&[disabled]":{bg:"$tonal100",color:"$tonal400",cursor:"not-allowed"}}),Ve=(e,t,r)=>({border:"1px solid",borderColor:"currentColor",color:e,"&:not(:disabled):hover, &:not(:disabled):focus":{color:t},"&:not(:disabled):active":{color:r},"&[disabled]":{borderColor:"$tonal400",color:"$tonal400",cursor:"not-allowed"}}),Ye=qe("button",{alignItems:"center",appearance:"none",bg:"white",border:"unset",borderRadius:"$0",boxSizing:"border-box",cursor:"pointer",display:"flex",justifyContent:"center",p:"unset",transition:"all 100ms ease-out",variants:{theme:{neutral:{},primary:{},success:{},warning:{},danger:{}},appearance:{simple:{},outline:{},solid:{}},size:{md:{size:"$3"},lg:{size:"$4"}},isRounded:{true:{borderRadius:"$round"}}},compoundVariants:[{theme:"neutral",appearance:"simple",css:Le("$tonal300","$primaryMid","$primaryDark")},{theme:"primary",appearance:"simple",css:Le("$primary","$primaryMid","$primaryDark")},{theme:"success",appearance:"simple",css:Le("$success","$successMid","$successDark")},{theme:"warning",appearance:"simple",css:Le("$warning","$warningMid","$warningDark")},{theme:"danger",appearance:"simple",css:Le("$danger","$dangerMid","$dangerDark")},{theme:"primary",appearance:"solid",css:Pe("$primary","$primaryMid","$primaryDark")},{theme:"success",appearance:"solid",css:Pe("$success","$successMid","$successDark")},{theme:"warning",appearance:"solid",css:Pe("$warning","$warningMid","$warningDark")},{theme:"danger",appearance:"solid",css:Pe("$danger","$dangerMid","$dangerDark")},{theme:"primary",appearance:"outline",css:Ve("$primary","$primaryMid","$primaryDark")},{theme:"success",appearance:"outline",css:Ve("$success","$successMid","$successDark")},{theme:"warning",appearance:"outline",css:Ve("$warning","$warningMid","$warningDark")},{theme:"danger",appearance:"outline",css:Ve("$danger","$dangerMid","$dangerDark")}]}),Ge=Y.forwardRef(((e,r)=>{let{children:o,theme:a="primary",appearance:i="simple",size:n="md",label:s,href:l,disabled:d}=e,c=P(e,t);const m=`A single ${He.displayName} component is permitted as a child of ${Ge.displayName}`;ye.default(1===Y.Children.count(o),m);const p=l?{as:"a",href:d?null:l,onClick:void 0,"aria-disabled":!!d}:{type:"button"};return Y.createElement(Ye,Object.assign({},c,p,{"aria-label":s,theme:a,appearance:i,size:n,ref:r,disabled:d}),Y.Children.map(o,(e=>{if(!Y.isValidElement(e))throw new Error(m);return ye.default(e.type===He,`Children of type ${null==e?void 0:e.type} aren't permitted. Only an ${He.displayName} component is allowed in ${Ge.displayName}`),Y.cloneElement(e,{css:L({size:"lg"===n?20:16},e.props.css?e.props.css:{})})})))}));Ge.displayName="ActionIcon";const Xe=qe("div",{});Xe.displayName="Box";const _e=({css:e,children:t})=>e?Y.createElement(Xe,{css:e},t):Y.createElement(Y.Fragment,null,t);_e.displayName="CSSWrapper";const Ue=(e,t)=>({"&::before":{content:"''",mb:`-${e}em`,display:"table"},"&::after":{content:"''",mt:`-${t||e}em`,display:"table"}}),Ke={chevron:e=>`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24" stroke="${e}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" color="${e}"><polyline points="6 10 12 16 18 10"/></svg>`,search:e=>`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24" stroke="${e}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" color="${e}"><path d="M14.4121122,14.4121122 L20,20"></path><circle cx="10" cy="10" r="6"></circle></svg>`},Je=(e,t)=>{const r=U.toColorString(U.parseToHsl(e));return`url(data:image/svg+xml;charset=US-ASCII,${encodeURIComponent(Ke[t](r))})`},Qe=Me({"0%":{opacity:0,transform:"translateY(2px)"},"100%":{opacity:1,transform:"translateY(0)"}}),Ze=Me({"0%":{opacity:0,transform:"translateX(-2px)"},"100%":{opacity:1,transform:"translateX(0)"}}),et=Me({"0%":{opacity:0,transform:"translateY(-2px)"},"100%":{opacity:1,transform:"translateY(0)"}}),tt=Me({"0%":{opacity:0,transform:"translateX(2px)"},"100%":{opacity:1,transform:"translateX(0)"}}),rt=Me({"0%":{opacity:0},"100%":{opacity:1}}),ot=Me({"0%":{opacity:1},"100%":{opacity:0}}),at=Me({"0%":{transform:"translate3d(-50%, 50vh, 0)"},"100%":{transform:"translate3d(-50%, -50%, 0)"}}),it=Me({"0%":{transform:"translate3d(-50%, -50%, 0)"},"100%":{transform:"translate3d(-50%, 50vh, 0)"}}),nt=qe(_.Overlay,{backgroundColor:"$alpha600",inset:0,position:"fixed","@allowMotion":{'&[data-state="open"]':{animation:`${rt} 250ms ease-out`},'&[data-state="closed"]':{animation:`${ot} 550ms ease-out`}}}),st=qe(_.Content,{bg:"white",borderRadius:"$1",boxShadow:"$3",boxSizing:"border-box",left:"50%",maxWidth:"90vw",p:"$5",position:"fixed",top:"50%",transform:"translate3d(-50%, -50%, 0)","&:focus":{outline:"none"},"@allowMotion":{'&[data-state="open"]':{animation:`${at} 550ms cubic-bezier(0.22, 1, 0.36, 1)`},'&[data-state="closed"]':{animation:`${it} 550ms cubic-bezier(0.22, 1, 0.36, 1)`}},variants:{size:{sm:{width:"380px"},md:{width:"480px"},lg:{width:"600px"}}}}),lt=qe(_.Root,{}),dt=e=>Y.createElement(lt,Object.assign({},e));dt.Description=_.Description,dt.Title=_.Title,dt.Action=_.Action,dt.Cancel=_.Cancel,dt.Content=e=>{let{size:t="sm"}=e,o=P(e,r);return Y.createElement(Y.Fragment,null,Y.createElement(nt,null),Y.createElement(st,Object.assign({size:t},o)))},dt.Trigger=_.Trigger,dt.displayName="AlertDialog";const ct=qe("div",{display:"flex"});ct.displayName="Flex";const mt=qe("div",{animationName:`${Me({"0%":{opacity:0},"30%":{opacity:1},"50%":{opacity:1},"80%":{opacity:0},"100%":{opacity:0}})}`,animationDuration:"1s",animationFillMode:"both",animationIterationCount:"infinite",animationTimingFunction:"linear",backgroundColor:"currentColor",borderRadius:"$round","&:nth-child(1)":{animationDelay:"-300ms"},"&:nth-child(2)":{animationDelay:"-150ms"},"&:nth-child(3)":{animationDelay:0},variants:{size:{sm:{size:"4px",mx:"2px"},md:{size:"6px",mx:"2px"},lg:{size:"8px",mx:"3px"}}}}),pt=({css:e={},message:t="Loading",size:r="md"})=>Y.createElement(ct,{css:L({justifyContent:"center"},e),role:"alert"},Y.createElement(K.Root,null,t),Y.createElement(mt,{size:r}),Y.createElement(mt,{size:r}),Y.createElement(mt,{size:r})),ut=(e,t,r,o="white")=>({bg:e,color:o,"&[disabled]":{bg:"$tonal100",color:"$tonal400",cursor:"not-allowed"},"&:not([disabled]):hover, &:not([disabled]):focus":{bg:t,color:o},"&:not([disabled]):active":{bg:r}}),ht=qe("button",{alignItems:"center",bg:"unset",border:"unset",borderRadius:"$0",cursor:"pointer",display:"flex",fontFamily:"$body",fontWeight:600,justifyContent:"center",p:"unset",textDecoration:"none",transition:"all 100ms ease-out",whiteSpace:"nowrap",width:"max-content",variants:{theme:{primary:{},secondary:{},success:{},warning:{},danger:{}},appearance:{solid:{},outline:{}},size:{sm:{fontSize:"$sm",lineHeight:1.53,height:"$3",px:"$4"},md:{fontSize:"$md",lineHeight:1.5,height:"$4",px:"$5"},lg:{fontSize:"$lg",lineHeight:1.5,height:"$5",px:"$5"}},isLoading:{true:{cursor:"not-allowed",opacity:.6,pointerEvents:"none"}},fullWidth:{true:{width:"100%"}},isRounded:{true:{borderRadius:"$round"}}},compoundVariants:[{theme:"primary",appearance:"solid",css:ut("$primary","$primaryMid","$primaryDark")},{theme:"secondary",appearance:"solid",css:ut("$primaryDark",U.darken(.1,Ae.colors.primaryDark.value),U.darken(.15,Ae.colors.primaryDark.value))},{theme:"success",appearance:"solid",css:ut("$success","$successMid","$successDark")},{theme:"warning",appearance:"solid",css:ut("$warning","$warningMid","$warningDark","$tonal500")},{theme:"danger",appearance:"solid",css:ut("$danger","$dangerMid","$dangerDark")},{theme:"primary",appearance:"outline",css:(gt="$primary",bt="$primaryMid",$t="$primaryDark",{border:"1px solid",borderColor:"currentColor",color:gt,"&[disabled]":{borderColor:"$tonal400",color:"$tonal400",cursor:"not-allowed"},"&:not([disabled]):hover, &:not([disabled]):focus":{textDecoration:"none",color:bt},"&:not([disabled]):active":{color:$t}})}]});var gt,bt,$t;const ft=({isLoading:e,children:t})=>Y.createElement(Y.Fragment,null,Y.createElement(pt,{css:{opacity:e?1:0,position:"absolute",transition:"opacity 150ms"}}),Y.createElement(Xe,{as:"span",css:e?{opacity:0,transition:"opacity 150ms"}:{}},t)),xt=e=>{switch(e){case"lg":return 22;case"md":return 20;case"sm":default:return 16}},yt=(e,t)=>Y.Children.map(e,((e,r)=>(null==e?void 0:e.type)===He?Y.cloneElement(e,{css:L({[0===r?"mr":"ml"]:"sm"===t?"$2":"$3",size:xt(t)},e.props.css?e.props.css:{})}):e)),vt=Y.forwardRef(((e,t)=>{let{children:r,isLoading:a,onClick:i,href:n,appearance:s="solid",size:l="md",theme:d="primary",type:c="button"}=e,m=P(e,o);const p=n?{as:"a",href:n,onClick:void 0}:{},u=n?{}:{type:c};return Y.createElement(ht,Object.assign({isLoading:a||!1,onClick:a?void 0:i,appearance:s,size:l,theme:d},m,p,u,{ref:t}),"boolean"==typeof a?Y.createElement(ft,{isLoading:a},yt(r,l)):yt(r,l))}));vt.displayName="Button";const wt=qe("h2",{color:"$tonal600",fontFamily:"$display",fontWeight:700,m:0,variants:{size:{xs:L({fontFamily:"$body",fontWeight:600,fontSize:"$md",lineHeight:1.5},Ue(.3864)),sm:L({fontSize:"$lg",lineHeight:1.14},Ue(.2174,.2254)),md:L({fontSize:"$xl",lineHeight:1.14},Ue(.2174,.2254)),lg:L({fontSize:"$2xl",lineHeight:1.08},Ue(.1865,.1945)),xl:L({fontSize:"$3xl",lineHeight:1.12},Ue(.206,.214)),xxl:L({fontSize:"$4xl",lineHeight:1.06},Ue(.1793,.1873))}}}),Et=e=>{let{size:t="md"}=e,r=P(e,a);return Y.createElement(wt,Object.assign({size:t},r))};Et.displayName="Heading";const zt=qe("div",{display:"flex",flexWrap:"wrap","& > *":{m:0},variants:{direction:{row:{flexDirection:"row",alignItems:"center"},"row-reverse":{flexDirection:"row-reverse",alignItems:"center"},column:{flexDirection:"column"}},justify:{start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},center:{justifyContent:"center"}},gap:Object.keys(Ae.space).reduce(((e,t)=>L({},e,{[t]:{mt:`-$space$${t}`,ml:`-$space$${t}`,"& > *":{mt:`$space$${t}`,ml:`$space$${t}`}}})),{})}}),Ct=e=>{let{css:t,gap:r=2,direction:o="row",justify:a="start"}=e,n=P(e,i);return Y.createElement(_e,{css:t},Y.createElement(zt,Object.assign({direction:o,gap:r,justify:a},n)))};Ct.displayName="Stack";const kt=({applyCapsize:e=!0}={})=>({xs:L({fontSize:"$xs",lineHeight:1.6},e?Ue(.4364):{}),sm:L({fontSize:"$sm",lineHeight:1.53},e?Ue(.4056):{}),md:L({fontSize:"$md",lineHeight:1.5},e?Ue(.3864):{}),lg:L({fontSize:"$lg",lineHeight:1.52},e?Ue(.3983):{}),xl:L({fontSize:"$xl",lineHeight:1.42},e?Ue(.3506):{})}),St=qe("p",{color:"$tonal600",fontFamily:"$body",fontWeight:400,margin:0,variants:{size:kt()}}),Ot=Y.forwardRef(((e,t)=>{let{size:r="md"}=e,o=P(e,n);return Y.createElement(St,Object.assign({size:r},o,{ref:t}))}));Ot.displayName="Text";const jt=e=>{let{title:t,description:r,onAction:o,cancelActionText:a,confirmActionText:i,onClose:n}=e,l=P(e,s);return Y.createElement(dt,{defaultOpen:!0},Y.createElement(dt.Content,Object.assign({onEscapeKeyDown:e=>e.preventDefault(),onCloseAutoFocus:n},l),Y.createElement(Et,{as:dt.Title,size:"sm",css:{mb:"$5"}},t),r&&Y.createElement(Ot,{as:dt.Description,css:{mb:"$5"}},r),Y.createElement(Ct,{gap:"2",justify:"end"},a&&Y.createElement(vt,{appearance:"outline",as:dt.Cancel,onClick:()=>o(!1),size:"sm"},a),Y.createElement(vt,{as:dt.Action,onClick:()=>o(!0),size:"sm"},i))))},Ft=[],Rt=(e,t)=>{switch(t.type){case"ADD":return[...e,L({},t.payload,{id:J.uid()})];case"REMOVE":return e.filter((({id:e})=>e!==t.payload));default:return e}},Nt=Y.createContext({showAlert:()=>null}),Tt={alignItems:"center",bg:"unset",border:"unset",color:"$primary",cursor:"pointer",display:"flex",justifyContent:"center",p:"unset",size:"$5",top:"50%",transform:"translateY(-50%)",transition:"color 0.15s ease-in-out","&:hover":{color:"$primaryMid"},"&:active":{color:"$primaryDark"},"&:disabled":{color:"$tonal100"}},Dt=qe(Q.ButtonBack,Tt),It=qe(Q.ButtonNext,Tt),Wt=qe(Q.DotGroup,{justifyContent:"center","& button":{bg:"$tonal200",border:"none",borderRadius:"50%",cursor:"pointer",mx:"$1",p:"$1",size:"$space$3",transition:"all 100ms ease-in",'&[class*="selected"]':{bg:"$primary"},"&:hover, &:focus":{bg:"$primaryMid"}}}),Mt=qe(Q.Slide,{}),qt=qe(Q.Slider,{cursor:"grab",ml:"50%",overflow:"hidden",transform:"translateX(-50%)",'& [class*="sliderTray_"]':{p:"unset",m:"unset",transition:"transform .5s cubic-bezier(.645,.045,.355,1)"},'& [class*="slide_"]':{float:"left",pb:"0 !important"},'& [class*="slideInner"]':{display:"flex",justifyContent:"center"},variants:{overflow:{true:{overflow:"visible"}}}}),At=({children:e,css:t,slideHeight:r,slideWidth:o,numSlides:a})=>Y.createElement(_e,{css:t},Y.createElement(Q.CarouselProvider,{naturalSlideWidth:o,naturalSlideHeight:r,totalSlides:a},e));At.ArrowNext=e=>Y.createElement(It,Object.assign({},e),Y.createElement(He,{is:Z.ChevronRight})),At.ArrowPrevious=e=>Y.createElement(Dt,Object.assign({},e),Y.createElement(He,{is:Z.ChevronLeft})),At.Pagination=Wt,At.Slide=e=>{let{children:t}=e,r=P(e,l);return Y.createElement(Mt,Object.assign({},r,{tag:"div"}),Y.createElement(Xe,{css:{px:"$3"}},t))},At.Slider=qt,At.displayName="Carousel";const Bt=qe(ee.Indicator,{display:"flex",alignItems:"center",justifyContent:"center"}),Ht=qe(ee.Root,{appearance:"none",backgroundColor:"transparent",border:"1px solid $colors$tonal400",borderRadius:"3px",color:"white",cursor:"pointer",size:"$1",p:0,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 50ms ease-out",'&[data-state="checked"]':{backgroundColor:"$primary",borderColor:"$primary"},'&[data-state="indeterminate"]':{backgroundColor:"$primary",borderColor:"$primary"},"&:focus":{outline:"2px solid $primary",outlineOffset:"1px"},"&[disabled]":{backgroundColor:"$tonal100",borderColor:"$tonal400",cursor:"not-allowed",color:"$tonal400"},variants:{state:{error:{borderColor:"$danger"}}}}),Lt=Y.forwardRef(((e,t)=>Y.createElement(Ht,Object.assign({},e,{ref:t}),Y.createElement(Bt,null,Y.createElement(He,{is:"indeterminate"===e.checked?Z.Minus:Z.Ok,css:{pointerEvents:"none",position:"absolute",strokeWidth:"3",size:14}})))));Lt.displayName="Checkbox";const{sm:Pt,md:Vt}=kt(),Yt=qe("label",{color:"$tonal500",fontFamily:"$body",m:0,variants:{size:{sm:Pt,md:Vt},type:{block:{display:"block",fontWeight:600},inline:{display:"flex",fontWeight:400,maxWidth:"max-content"}},align:{start:{alignItems:"flex-start"},center:{alignItems:"center"}},direction:{reverse:{flexDirection:"row-reverse"},row:{flexDirection:"row"}}}}),Gt=qe("span",{color:"$danger",ml:"$1",fontWeight:400}),Xt=e=>{let{align:t="start",as:r="label",direction:o="row",size:a="md",type:i="block",children:n,required:s}=e,l=P(e,d);return Y.createElement(Yt,Object.assign({as:r,size:a,type:i,align:t,direction:o},l),n,s&&Y.createElement(Gt,{"aria-hidden":!0},"*"))};Xt.displayName="Label";const _t=qe("li",{}),Ut=qe("ul",{fontFamily:"$body",m:"unset",p:"unset",[`& > ${_t}`]:{"&:not(:last-child)":{mb:"$2"},"&:last-child":{mb:0}},variants:{size:kt({applyCapsize:!1}),as:{ol:{pl:"$4",listStyle:"decimal",[`& > ${_t}`]:{pl:"$1","&::marker":{fontSize:"$sm",fontWeight:"bold"}}},ul:{pl:"$3",[`& > ${_t}`]:{pl:"$2","&::marker":{content:"•",fontWeight:"bold"}}}}}}),Kt=e=>{let{size:t="md",ordered:r}=e,o=P(e,c);return Y.createElement(Ut,Object.assign({as:r?"ol":"ul",size:t},o))};Kt.Item=_t;const Jt=qe("a",{bg:"unset",border:"unset",p:"unset",color:"$primary",cursor:"pointer",fontFamily:"$body",textDecoration:"none","&:focus, &:hover":{color:"$primaryMid",textDecoration:"underline"},"&:active":{color:"$primaryDark"},[`${St} > &, ${wt} > &, ${_t} > &`]:{fontSize:"100%",lineHeight:1,"&::before, &::after":{content:"none"}},variants:{size:kt()}}),Qt=Y.forwardRef(((e,t)=>{let{size:r="md",onClick:o,href:a}=e,i=P(e,m);return a?Y.createElement(Jt,Object.assign({size:r},i,{ref:t,href:a})):Y.createElement(Jt,Object.assign({as:"button",size:r},i,{ref:t,onClick:o}))}));Qt.displayName="Link";const Zt=e=>{let{css:t,children:r}=e,o=P(e,p);return Y.createElement(ct,Object.assign({css:L({color:"$danger",alignItems:"flex-start"},t)},o),Y.createElement(He,{is:Z.Error,size:"sm",css:{mr:"$2",flexShrink:0},"aria-hidden":!0}),Y.createElement(Ot,{css:{color:"inherit",transform:"translateY($space$1)"},size:"sm"},r))},er=({children:e,css:t})=>Y.createElement(Ot,{size:"sm",css:L({color:"$tonal300",maxWidth:"80ch"},t)},e),tr=({css:e,children:t,error:r,fieldId:o,label:a,prompt:i,description:n,required:s})=>Y.createElement(Xe,{css:e},Y.createElement(ct,{css:{justifyContent:"space-between",alignItems:"center",mb:"$3"}},Y.createElement(Xt,{htmlFor:o,required:s},a),i&&Y.createElement(Qt,{href:i.link,size:"sm"},i.label)),n&&Y.createElement(er,{css:{mb:"$3"}},n),t,r&&Y.createElement(Zt,{css:{mt:"$2"}},r));tr.displayName="FieldWrapper";const rr=qe(re.Item,{alignItems:"center",appearance:"none",backgroundColor:"transparent",border:"1px solid $tonal400",borderRadius:"$round",color:"white",cursor:"pointer",display:"flex",justifyContent:"center",p:0,size:"$1",transition:"all 50ms ease-out","&:focus":{outline:"2px solid $primary",outlineOffset:"1px"},'&[data-state="checked"]':{backgroundColor:"$primary",borderColor:"$primary"},"&[disabled]":{backgroundColor:"$tonal100",borderColor:"$tonal400",color:"$tonal400",cursor:"not-allowed"}}),or=qe(re.Indicator,{size:"6px",borderRadius:"$round",backgroundColor:"currentcolor",position:"absolute"}),ar=e=>Y.createElement(rr,Object.assign({},e),Y.createElement(or,null));ar.displayName="RadioButton";const ir=qe(re.Root,{display:"flex",flexWrap:"wrap",variants:{direction:{row:{flexDirection:"row","& > *:not(:last-child)":{mr:"$5"}},column:{flexDirection:"column"}}}});ir.displayName="RadioButtonGroup";const nr=({align:e="start",children:t,css:r,description:o,direction:a="row",error:i,label:n,required:s})=>Y.createElement(Xe,{css:r},Y.createElement(Xt,{align:e,direction:a,required:s,type:"inline"},Y.Children.map(t,(e=>Y.createElement(Xe,{css:L({["reverse"===a?"ml":"mr"]:"$3"},((null==e?void 0:e.type)===Lt||(null==e?void 0:e.type)===ar)&&{transform:"translateY($space$1)"})},e))),n),i&&Y.createElement(Zt,{css:{mt:"$2"}},i),o&&Y.createElement(er,{css:{mt:"$2",["reverse"===a?"mr":"ml"]:"calc($space$3 + $sizes$1)"}},o));var sr;nr.displayName="InlineFieldWrapper",function(e){e.LOCAL="local",e.SESSION="session"}(sr||(sr={}));const lr=qe("form",{}),dr=({persist:e,watch:t,setValue:r,children:o})=>{const{id:a}=e,i=P(e,u);let n=L({},i,{storage:i.storage===sr.LOCAL?window.localStorage:window.sessionStorage});if(i.exclude){const e=P(n,h),r=t();n=L({},e,{include:Object.keys(r).filter((e=>{var t;if(null==(t=i.exclude)||!t.includes(e))return e}))})}return Ee.default(a,{watch:t,setValue:r},n),o},cr=e=>{let{formMethods:t,handleSubmit:r,onSubmit:o,children:a}=e,i=P(e,g);return Y.createElement(te.FormProvider,Object.assign({},t),Y.createElement(lr,Object.assign({"aria-label":"form"},i,{onSubmit:r(o)}),a))},mr=e=>{let{children:t,defaultValues:r={},onSubmit:o,validationMode:a="onBlur",render:i,persist:n}=e,s=P(e,b);ye.default(!(t&&i),"`Form` should only be given one of `children` or `render`. When both are provided, `render` will be used and `children` will be ignored.");const l=te.useForm({defaultValues:r,mode:a}),{handleSubmit:d,watch:c,setValue:m}=l,p=i?i(l):t,u=L({formMethods:l,handleSubmit:d,onSubmit:o},s);return n?Y.createElement(dr,{persist:n,watch:c,setValue:m},Y.createElement(cr,Object.assign({},u),p)):Y.createElement(cr,Object.assign({},u),p)};mr.displayName="Form";const pr=e=>{var t;const{errors:r}=te.useFormContext(),o=e.split(/[,[\].]+?/).filter(Boolean);return{error:null==(t=ze.default(r,o))?void 0:t.message}};var ur;!function(e){e.ON="on",e.OFF="off"}(ur||(ur={}));const hr=e=>{let{css:t,defaultChecked:r=!1,label:o,name:a,validation:i,description:n}=e,s=P(e,$);const{control:l}=te.useFormContext(),{error:d}=pr(a);return Y.createElement(te.Controller,{control:l,name:a,defaultValue:r,rules:i,render:({onChange:e,value:a,name:l})=>Y.createElement(nr,{css:t,description:n,error:d,label:o,required:Boolean(null==i?void 0:i.required)},Y.createElement(Lt,Object.assign({defaultChecked:r,defaultValue:r?ur.ON:ur.OFF,checked:a,name:l,onCheckedChange:e,value:a?ur.ON:ur.OFF},d&&{state:"error"},s)))})};hr.displayName="CheckboxField";const gr=qe(ie.ComboboxInput,{boxShadow:"none",fontSize:"$md",appearance:"none",backgroundImage:Je(Ae.colors.tonal300.value,"chevron"),backgroundPosition:"right $space$3 top 50%, 0 0",backgroundRepeat:"no-repeat, repeat",backgroundSize:"20px auto, 100%",border:"1px solid $tonal300",borderRadius:"$0",boxSizing:"border-box",color:"$tonal600",cursor:"text",display:"block",fontFamily:"$body",height:"$4",pl:"$3",pr:"$6",transition:"all 100ms ease-out",width:"100%","&::placeholder":{color:"$tonal300",opacity:1},"&:focus-within":{borderColor:"$primary",outline:"none"},"&[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},variants:{state:{error:{border:"1px solid $danger"}}}}),br=qe(ie.ComboboxList,{listStyle:"none",m:0,p:0,userSelect:"none"}),$r=qe(ie.ComboboxOption,{color:"$tonal500",cursor:"pointer",m:0,p:"$2",'&:hover, &[aria-selected="true"]':{bg:"$tonal50",borderRadius:"$0"},"[data-user-value]":{color:"$primary"}}),fr=qe(ie.ComboboxPopover,{bg:"white",border:"solid 1px $tonal100",borderRadius:"$0",boxShadow:"$1",boxSizing:"border-box",fontFamily:"$body",fontSize:"$md",outline:"none",p:"$1",transform:"translateY($space$2)"});We({":root":{"--reach-combobox":1}})();const xr=qe(ie.Combobox,{}),yr=e=>Y.createElement(xr,Object.assign({},e));yr.displayName="Combobox",yr.Option=$r,yr.Input=gr,yr.Popover=fr,yr.List=br,yr.OptionText=ie.ComboboxOptionText;const vr=qe(ne.Close,{}),wr=Me({"0%":{transform:"translate3d(-50%, 50vh, 0)"},"100%":{transform:"translate3d(-50%, -50%, 0)"}}),Er=Me({"0%":{transform:"translate3d(-50%, -50%, 0)"},"100%":{transform:"translate3d(-50%, 50vh, 0)"}}),zr=qe(ne.Overlay,{backgroundColor:"$alpha600",inset:0,position:"fixed","@allowMotion":{'&[data-state="open"]':{animation:`${rt} 250ms ease-out`},'&[data-state="closed"]':{animation:`${ot} 550ms ease-out`}}}),Cr=qe(ne.Content,{bg:"white",borderRadius:"$1",boxShadow:"$3",boxSizing:"border-box",left:"50%",maxWidth:"90vw",p:"$5",position:"fixed",top:"50%",transform:"translate3d(-50%, -50%, 0)","&:focus":{outline:"none"},"@allowMotion":{'&[data-state="open"]':{animation:`${wr} 550ms cubic-bezier(0.22, 1, 0.36, 1)`},'&[data-state="closed"]':{animation:`${Er} 550ms cubic-bezier(0.22, 1, 0.36, 1)`}},variants:{size:{xs:{width:"380px"},sm:{width:"480px"},md:{width:"600px"},lg:{width:"800px"},xl:{width:"1100px"}}}}),kr=qe(ne.Root,{}),Sr=e=>Y.createElement(kr,Object.assign({},e));Sr.Close=vr,Sr.Content=e=>{let{size:t="sm",children:r,closeDialogText:o="Close dialog"}=e,a=P(e,f);return Y.createElement(Y.Fragment,null,Y.createElement(zr,null),Y.createElement(Cr,Object.assign({size:t},a),Y.createElement(Ge,{as:ne.Close,css:{position:"absolute",right:"$4",top:"$4"},label:o,size:"lg",theme:"neutral"},Y.createElement(He,{is:Z.Close})),r))},Sr.Trigger=ne.Trigger,Sr.displayName="Dialog";const Or=qe("hr",{border:0,bg:"$tonal200",variants:{orientation:{horizontal:{height:1,width:"100%"},vertical:{height:"100%",width:1,minHeight:"$3"}}}}),jr=e=>{let{orientation:t="horizontal"}=e,r=P(e,x);return ve.default.createElement(Or,Object.assign({orientation:t},r))},Fr=qe(se.Content,{bg:"white",borderRadius:"$0",boxShadow:"$0",py:"$2","@allowMotion":{animationDuration:"250ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",'&[data-state="open"]':{'&[data-side="top"]':{animationName:et},'&[data-side="right"]':{animationName:tt},'&[data-side="bottom"]':{animationName:Qe},'&[data-side="left"]':{animationName:Ze}}}}),Rr=qe(se.Item,{alignItems:"center",color:"$tonal600",cursor:"pointer",display:"flex",fontFamily:"$body",fontWeight:400,position:"relative",px:"$3",py:"$2","&[data-disabled]":{color:"$tonal200",pointerEvents:"none"},'&[aria-current="page"], &:focus':{"&::before":{borderLeft:"2px solid currentColor",content:"",height:"$2",left:0,outline:"none",position:"absolute",transform:"scale(1)"}},"&:focus":{color:"$primaryMid",outline:"none"}}),Nr=qe("a",{textDecoration:"none"}),Tr=qe(se.Separator,{height:"1px",backgroundColor:"$tonal200",my:"$2"}),Dr=qe(se.Trigger,{}),Ir=qe(se.Root,{}),Wr=e=>ve.default.createElement(Ir,Object.assign({},e));Wr.Content=Fr,Wr.Item=Rr,Wr.LinkItem=e=>{let{children:t,href:r}=e,o=P(e,y);return ve.default.createElement(Rr,Object.assign({},o,{asChild:!0}),ve.default.createElement(Nr,{href:r,role:"menuitem"},t))},Wr.Separator=Tr,Wr.Trigger=Dr;const Mr=qe("div",{display:"grid",variants:{gap:Object.keys(Ae.space).reduce(((e,t)=>L({},e,{[t]:{gap:`$space$${t}`}})),{})}}),qr=e=>{let{css:t,gap:r=2,minItemSize:o}=e,a=P(e,v);return Y.createElement(Mr,Object.assign({css:L({},t,{gridTemplateColumns:`repeat(auto-fit, minmax(${o}, 1fr))`}),gap:r},a))};qr.displayName="Grid";const Ar=qe("img",{verticalAlign:"middle",maxWidth:"100%","&[width]":{width:"auto"},"&[width][height]":{height:"auto"},'&[src$=".svg"]':{width:"100%",height:"auto",maxWidth:"none"}});Ar.displayName="Image";const Br=qe("input",{appearance:"none",border:"1px solid $tonal400",borderRadius:"$0",boxShadow:"none",boxSizing:"border-box",color:"$tonal600",cursor:"text",display:"block",fontFamily:"$body",px:"$3",transition:"all 100ms ease-out",width:"100%","&:focus":{borderColor:"$primary",outline:"none"},"&[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},"&::placeholder":{color:"$tonal300",opacity:1},variants:{size:{sm:{height:"$3",fontSize:"$sm"},md:{height:"$4",fontSize:"$md"}},state:{error:{border:"1px solid $danger"}}}}),Hr=Y.forwardRef(((e,t)=>{let{type:r="text",size:o="md"}=e,a=P(e,w);return"number"===r?Y.createElement(Br,Object.assign({type:"text",inputMode:"numeric",pattern:"[0-9]*",size:o},a,{ref:t})):Y.createElement(Br,Object.assign({type:r,size:o},a,{ref:t}))}));Hr.displayName="Input";const Lr=e=>{let{css:t,label:r,name:o,validation:a,prompt:i,description:n}=e,s=P(e,E);const{register:l}=te.useFormContext(),{error:d}=pr(o),c=a?l(a):l;return Y.createElement(tr,{css:t,description:n,error:d,fieldId:o,label:r,prompt:i,required:Boolean(null==a?void 0:a.required)},Y.createElement(Hr,Object.assign({id:o,name:o,ref:c},d&&{state:"error"},s)))};Lr.displayName="InputField";const Pr=qe(Xe,{bg:"$tonal100",borderRadius:"$1",color:"$tonal600",fontFamily:"$mono",fontSize:"$sm",lineHeight:1.4,my:"$4",p:"$3"}),Vr=qe("em",{fontStyle:"italic"}),Yr=({node:e,handleNode:t,css:r})=>{var o;const{as:a,size:i}=(e=>{switch(e){case 1:return{size:"xl",as:"h1"};case 2:return{size:"lg",as:"h2"};case 3:return{size:"md",as:"h3"};case 4:return{size:"sm",as:"h4"};case 5:return{size:"xs",as:"h5"};default:return{size:"xs",as:"h6"}}})(e.depth);return Y.createElement(Et,{as:a,size:i,css:L({color:"inherit"},r)},null==(o=e.children)?void 0:o.map(t))},Gr=qe(Xe,{bg:"$tonal100",borderRadius:"$0",color:"$tonal600",display:"inline-block",fontFamily:"$mono",fontSize:"85%",p:"$0 $1"}),Xr=({node:e,css:t})=>Y.createElement(Ar,{src:e.url,alt:e.alt,css:t}),_r=({node:e,handleNode:t,css:r})=>{var o;return Y.createElement(Kt,{css:L({"& p:before, & p:after":{display:"none"}},r),ordered:e.ordered},null==(o=e.children)?void 0:o.map(t))},Ur=({node:e,handleNode:t,css:r})=>{var o;return Y.createElement(Ot,{css:L({color:"inherit"},r)},null==(o=e.children)?void 0:o.map(t))},Kr=qe("strong",{fontWeight:600}),Jr=({css:e})=>Y.createElement(jr,{css:L({width:"100%"},e)}),Qr=qe("div",{}),Zr=(e,t)=>Y.cloneElement(e,{css:L({},t,e.props.css?e.props.css:{})}),eo=e=>{let{children:t}=e,r=P(e,z);return Y.createElement(Qr,Object.assign({},r),Y.Children.map(t,(e=>{if(!Y.isValidElement(e))return e;const t=null==e?void 0:e.type;return t===Et||t===Yr?Zr(e,{maxWidth:"65ch","&:not(:first-child)":{mt:"$5"},"&:not(:last-child)":{mb:"$5"}}):t===Ot||t===Ur||t===Kt||t===_r?Zr(e,{maxWidth:"75ch","&:not(:last-child)":{mb:"$5"}}):t===jr||t===Jr?Zr(e,{my:"$5"}):t===Ar||t===Xr?Zr(e,{display:"block","&:not(:first-child)":{mt:"$6"},"&:not(:last-child)":{mb:"$6"}}):e})))};eo.displayName="StackContent";const to={code:({node:e})=>Y.createElement(Pr,{as:"pre"},e.value),emphasis:({node:e,handleNode:t})=>{var r;return Y.createElement(Vr,null,null==(r=e.children)?void 0:r.map(t))},heading:Yr,inlineCode:({node:e})=>Y.createElement(Gr,{as:"code"},e.value),image:Xr,link:({node:e,handleNode:t})=>{var r;return Y.createElement(Qt,{title:e.title,href:e.url},null==(r=e.children)?void 0:r.map(t))},list:_r,listItem:({node:e,handleNode:t})=>{var r;return Y.createElement(Kt.Item,null,null==(r=e.children)?void 0:r.map(t))},paragraph:Ur,strong:({node:e,handleNode:t})=>{var r;return Y.createElement(Kr,null,null==(r=e.children)?void 0:r.map(t))},text:({node:e})=>e.value,thematicBreak:Jr},ro=e=>{var t;if(null!=(t=e.position)&&t.start){var r;const{line:t,column:o,offset:a}=null==(r=e.position)?void 0:r.start;return`${e.type}${t}${o}${a}`}return`${e.type}${+new Date}`},oo=({content:e,customComponents:t={},css:r})=>{const o=ke.default(e,{extensions:[Se.default()],mdastExtensions:[Ce.default.fromMarkdown]}),a=L({},to,t),i=e=>{const t=a[e.type];return t?Y.createElement(t,{key:ro(e),node:e,handleNode:i}):null};return Y.createElement(eo,{css:r},o.children.map(i))};oo.displayName="MarkdownContent";const ao=Y.forwardRef(((e,t)=>{let{css:r,hidePasswordText:o="Hide password",showPasswordText:a="Show password"}=e,i=P(e,C);const[n,s]=Y.useState(!1);return Y.createElement(Xe,{css:L({position:"relative"},r)},Y.createElement(Hr,Object.assign({},i,{type:n?"text":"password",ref:t,css:{pr:"$sizes$2"}})),Y.createElement(Ge,{appearance:"simple",theme:"neutral",css:{bottom:0,position:"absolute",right:0},label:n?o:a,onClick:()=>s((e=>!e)),onMouseDown:e=>e.preventDefault(),size:"lg"},Y.createElement(He,{is:n?Z.Eye:Z.EyeCrossed,css:{size:20}})))}));ao.displayName="PasswordInput";const io=e=>{let{css:t={},label:r="Password",name:o,prompt:a,description:i,validation:n}=e,s=P(e,k);const{register:l}=te.useFormContext(),{error:d}=pr(o),c=n?l(n):l;return Y.createElement(tr,{css:L({},t,{position:"relative"}),description:i,error:d,fieldId:o,label:r,prompt:a,required:Boolean(null==n?void 0:n.required)},Y.createElement(ao,Object.assign({autoComplete:"current-password",name:o,id:o,ref:c},s)))};io.displayName="PasswordField";const no=qe(me.Content,{bg:"white",borderRadius:"$1",boxShadow:"$2",maxWidth:"90vw",p:"$sizes$2",pr:"$6",position:"relative","@allowMotion":{animationDuration:"75ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",'&[data-state="open"]':{'&[data-side="top"]':{animationName:et},'&[data-side="right"]':{animationName:tt},'&[data-side="bottom"]':{animationName:Qe},'&[data-side="left"]':{animationName:Ze}}},variants:{size:{sm:{maxWidth:"200px"},md:{maxWidth:"400px"},lg:{maxWidth:"600px"}}}}),so=qe(me.Arrow,{fill:"white",zIndex:1,'[data-align="end"] &':{mr:"$sizes$2"},'[data-align="start"] &':{ml:"$sizes$2"}});qe(me.Root,{});const lo=e=>Y.createElement(me.Root,Object.assign({},e));lo.Content=e=>{let{children:t,side:r="top",sideOffset:o=8,closePopoverText:a="Close popover",size:i="md"}=e,n=P(e,S);return Y.createElement(no,Object.assign({size:i,side:r,sideOffset:o},n),Y.createElement(Ge,{as:me.Close,css:{position:"absolute",right:"$0",top:"$0"},label:a,size:"lg",theme:"neutral"},Y.createElement(He,{is:Z.Close})),t,Y.createElement(so,{width:16,height:8}))},lo.Trigger=me.Trigger,lo.displayName="Popover";const co=qe(pe.Root,{borderRadius:"$round",background:"$tonal100",height:"$0",position:"relative",overflow:"hidden",width:"100%",variants:{theme:{primary:{color:"$primary"},success:{color:"$success"},warning:{color:"$warning"},danger:{color:"$danger"}}}}),mo=qe(pe.Indicator,{backgroundColor:"currentcolor",borderRadius:"$round",boxSizing:"border-box",height:"100%",position:"absolute",transition:"all 300ms ease-out"}),po=e=>{let{value:t,theme:r="primary"}=e,o=P(e,O);return Y.createElement(co,Object.assign({theme:r},o),Y.createElement(mo,{style:{width:`${t}%`}}))};po.displayName="ProgressBar";const uo=qe(re.Item,{alignItems:"center",bg:"white",border:"1px solid $tonal200",borderRadius:"$0",cursor:"pointer",display:"flex",textAlign:"left",'&[data-state="checked"]':{outline:"2px solid $primary",outlineOffset:"-2px"},variants:{align:{left:{flexDirection:"row"},right:{flexDirection:"row-reverse"}},size:{md:{px:"$4",py:"$3"},lg:{px:"$5",py:"$4"}},isFullWidth:{true:{width:"100%"},false:{width:"max-content"}}}}),ho=qe("div",{alignItems:"center",appearance:"none",backgroundColor:"transparent",border:"1px solid $tonal500",borderRadius:"$round",display:"flex",flexShrink:0,justifyContent:"center",p:0,size:"$1",transition:"all 50ms ease-out",'[data-state="checked"] &':{backgroundColor:"$primary",borderColor:"$primary"},variants:{containerIsFullWidth:{true:{},false:{}},align:{left:{mr:"$4"},right:{}}},compoundVariants:[{containerIsFullWidth:!0,align:"right",css:{ml:"auto"}},{containerIsFullWidth:!1,align:"right",css:{ml:"$4"}}]}),go=qe(re.Indicator,{backgroundColor:"white",borderRadius:"$round",position:"absolute",size:"6px"}),bo=e=>{let{children:t,isFullWidth:r=!1,size:o="md",align:a="left"}=e,i=P(e,j);return Y.createElement(uo,Object.assign({},i,{align:a,isFullWidth:r,size:o}),Y.createElement(ho,{align:a,containerIsFullWidth:r},Y.createElement(go,null)),Y.createElement(Xe,null,t))},$o=e=>{let{css:t,label:r,value:o}=e,a=P(e,R);return Y.createElement(nr,{css:t,label:r},Y.createElement(ar,Object.assign({value:o},a)))};$o.displayName="RadioField";const fo=qe("fieldset",{all:"unset"}),xo=({children:e,css:t,direction:r="column",defaultValue:o,description:a,label:i,name:n,validation:s})=>{const{control:l}=te.useFormContext(),{error:d}=pr(n);return Y.createElement(fo,{css:t},Y.createElement(Xt,{as:"legend",css:{p:0,mb:"$3"},required:Boolean(null==s?void 0:s.required)},i),a&&Y.createElement(er,{css:{mb:"$3"}},a),Y.createElement(te.Controller,{control:l,name:n,rules:s,defaultValue:o,render:({onChange:t,value:a})=>Y.createElement(ir,{direction:r,defaultValue:o,onValueChange:t,value:a},e)}),d&&Y.createElement(Zt,{css:{mt:"$2"}},d))};xo.Item=$o,xo.displayName="RadioButtonField";const yo=e=>{let{size:t,css:r}=e,o=P(e,N);return Y.createElement(Xe,{css:L({position:"relative"},r)},Y.createElement(Y.Fragment,null,Y.createElement(He,{is:Z.Search,css:{color:"$tonal300",pointerEvents:"none",position:"absolute",size:"sm"===t?"$1":20,top:"sm"===t?"$2":10,left:"sm"===t?"$2":10}}),Y.createElement(Hr,Object.assign({size:t,css:{pl:"sm"===t?"$5":"$6"}},o,{type:"search"}))))};yo.displayName="SearchInput";const vo=qe("select",{appearance:"none",backgroundColor:"white",backgroundImage:Je(Ae.colors.tonal300.value,"chevron"),backgroundRepeat:"no-repeat, repeat",border:"1px solid $tonal300",borderRadius:"$0",color:"$tonal600",display:"block",fontFamily:"$body",fontWeight:400,lineHeight:1.4,transition:"all 75ms ease-out",width:"100%","&:hover":{cursor:"pointer"},"&:focus":{borderColor:"$primary",outline:"none"},"&::-ms-expand":{display:"none"},"&[disabled], > option[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},variants:{size:{sm:{backgroundPosition:"right $space$2 top 50%, 0 0",backgroundSize:"18px auto, 100%",fontSize:"$sm",height:"$3",pl:"$2",pr:"$5"},md:{backgroundPosition:"right $space$3 top 50%, 0 0",backgroundSize:"20px auto, 100%",fontSize:"$md",height:"$4",pl:"$3",pr:"$6"}},state:{error:{border:"1px solid $danger"}}}}),wo=Y.forwardRef(((e,t)=>{let{placeholder:r,children:o,size:a="md"}=e,i=P(e,T);return Y.createElement(vo,Object.assign({size:a,defaultValue:""},i,{ref:t}),r&&Y.createElement("option",{disabled:!0,hidden:!0,value:""},r),o)}));wo.displayName="Select";const Eo=e=>{let{css:t,children:r,name:o,label:a,validation:i,prompt:n,description:s}=e,l=P(e,D);const{register:d}=te.useFormContext(),{error:c}=pr(o),m=i?d(i):d;return Y.createElement(tr,{css:t,description:s,error:c,fieldId:o,label:a,prompt:n,required:Boolean(null==i?void 0:i.required)},Y.createElement(wo,Object.assign({name:o,id:o},l,{ref:m},c&&{state:"error"}),r))};Eo.displayName="SelectField";const zo=qe(ue.Root,{appearance:"none",backgroundColor:"$tonal200",border:"none",borderRadius:"$round",cursor:"pointer",display:"flex",overflow:"hidden",p:"$0",position:"relative",transition:"all 50ms ease-out",width:"$4","&:hover":{backgroundColor:"$tonal300"},"&:focus":{outline:"2px solid $primary",outlineOffset:"1px"},'&[data-state="checked"]':{backgroundColor:"$primary"},'&[data-state="checked"]:hover':{backgroundColor:"$primaryMid"}}),Co=qe(ue.Thumb,{backgroundColor:"white",borderRadius:"$round",display:"block",size:"$1",transition:"transform 50ms",willChange:"transform",'&[data-state="checked"]':{transform:"translateX(calc($sizes$2 - $space$1))"}}),ko=e=>Y.createElement(zo,Object.assign({},e),Y.createElement(Co,null));ko.displayName="Switch";const So=qe("tbody",{});So.displayName="TableBody";const Oo=qe("td",{borderBottom:"1px solid $tonal100",boxSizing:"border-box",color:"$tonal400",fontFamily:"$body",lineHeight:1.5,p:"$2 $3",textAlign:"left",verticalAlign:"middle","tr:nth-child(even) &":{bg:"$tonal50"}});Oo.displayName="TableCell";const jo=qe("tfoot",{});jo.displayName="TableFooter";const Fo=qe("td",{color:"$tonal400",fontFamily:"$body",fontWeight:600,p:"$2 $3",textAlign:"left",verticalAlign:"middle"});Fo.displayName="TableFooterCell";const Ro=qe("thead",{});Ro.displayName="TableHeader";const No=qe("th",{bg:"$primaryDark",color:"white",fontFamily:"$body",fontWeight:600,lineHeight:1.5,p:"$2 $3",textAlign:"left",verticalAlign:"middle","&:first-of-type":{borderTopLeftRadius:"$0",borderBottomLeftRadius:"$0"},"&:last-of-type":{borderTopRightRadius:"$0",borderBottomRightRadius:"$0"}});No.displayName="TableHeaderCell";const To=qe("tr",{});To.displayName="TableRow";const Do=qe("table",{borderCollapse:"collapse",fontFamily:"$sans",fontSize:"$sm",width:"100%",variants:{size:{md:{[`${Oo}`]:{height:"$4"}},lg:{[`${Oo}`]:{height:"$5"}}}}}),Io=e=>{let{size:t="md"}=e,r=P(e,I);return Y.createElement(Do,Object.assign({size:t},r))};Io.Body=So,Io.Cell=Oo,Io.Footer=jo,Io.FooterCell=Fo,Io.Header=Ro,Io.HeaderCell=No,Io.Row=To,Io.displayName="Table";const Wo=qe(he.Trigger,{color:"$secondary",cursor:"pointer",flexShrink:0,fontFamily:"$body",p:"$4",userSelect:"none","&:hover":{color:"$primary"},"&[data-disabled],&[data-disabled]:hover":{color:"$tonal300"},'&[data-state="active"]':{color:"$primary",fontWeight:"bold",boxShadow:"inset 0 -3px 0 0 currentColor"}}),Mo=e=>{let{children:t,disabled:r=!1,css:o}=e,a=P(e,W);return Y.createElement(Wo,Object.assign({css:o,disabled:r},a),t)};Mo.displayName="TabTrigger";const qo=qe(he.Root,{display:"flex",flexDirection:"column"}),Ao=qe(he.Content,{flexGrow:1}),Bo=qe(he.List,{flexShrink:0,display:"flex",borderBottom:"1px solid $primaryDark"}),Ho=e=>{let{children:t}=e,r=P(e,M);return Y.createElement(qo,Object.assign({},r),t)};Ho.TriggerList=Bo,Ho.Trigger=Mo,Ho.Content=Ao,Ho.displayName="Tabs";const Lo=qe("textarea",{boxShadow:"none",fontSize:"$md",appearance:"none",border:"1px solid $tonal400",borderRadius:"$0",boxSizing:"border-box",color:"$tonal600",fontFamily:"$body",fontWeight:400,lineHeight:1.4,minHeight:"$7",px:"$3",py:"calc($2 + $1)",resize:"vertical",transition:"all 75ms ease-out",width:"100%","&:focus":{borderColor:"$primary",outline:"none"},"&[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},"&::placeholder":{color:"$tonal300",opacity:1},variants:{state:{error:{border:"1px solid $danger"}}}}),Po=Y.forwardRef(((e,t)=>Y.createElement(Lo,Object.assign({},e,{ref:t}))));Po.displayName="Textarea";const Vo=e=>{let{css:t,label:r,name:o,validation:a,prompt:i,description:n}=e,s=P(e,q);const{register:l}=te.useFormContext(),{error:d}=pr(o),c=a?l(a):l;return Y.createElement(tr,{css:t,description:n,error:d,fieldId:o,label:r,prompt:i,required:Boolean(null==a?void 0:a.required)},Y.createElement(Po,Object.assign({id:o,name:o,ref:c},d&&{state:"error"},s)))};Vo.displayName="TextareaField";const Yo=qe("div",{position:"absolute",width:"100%",variants:{visible:{true:{"@allowMotion":{animation:`${Me({"0%":{transform:"translate3d(0,-100%,0)",opacity:0},"100%":{transform:"translate3d(0,0,0)",opacity:1}})} 250ms cubic-bezier(0.22, 1, 0.36, 1)`}},false:{opacity:0,"@allowMotion":{animation:`${Me({"0%":{transform:"translate3d(0,0,0)",opacity:1},"100%":{transform:"translate3d(0,-100%,0)",opacity:0}})} 250ms cubic-bezier(0.22, 1, 0.36, 1)`}}}}}),Go=qe("div",{alignItems:"center",borderRadius:"$0",boxShadow:"$1",boxSizing:"border-box",color:"white",display:"flex",minHeight:"$5",pl:"$4",position:"relative",pr:"$6",py:"$4",transition:"background-color 50ms ease-out",width:"100%","@sm":{width:400},"@allowMotion":{transition:"background-color 50ms ease-out, transform 150ms ease-out"},variants:{status:{blank:{bg:"$primary"},error:{bg:"$danger"},loading:{bg:"$primary"},success:{bg:"$success"}}}}),Xo=Y.memo((({ariaLive:e,height:t,id:r,message:o,role:a,type:i="blank",visible:n,calculateOffset:s,updateHeight:l})=>{const d=s(r,{reverseOrder:!0,margin:8});return Y.createElement(Yo,{visible:n},Y.createElement(Go,{ref:e=>{e&&void 0===t&&l(r,e.getBoundingClientRect().height)},status:i,role:a,"aria-live":e,style:{transform:`translateY(${d}px)`}},"error"===i&&Y.createElement(He,{size:"sm",css:{mr:"$3",flex:"0 0 auto"},is:Z.Error}),Y.createElement(Ot,{css:{color:"inherit"}},o),"loading"===i?Y.createElement(pt,{css:{flex:"0 0 auto",ml:"auto"}}):Y.createElement(Ge,{css:{position:"absolute",top:"$2",right:"$2",color:"white","&:hover,&:focus":{color:"white",opacity:.5}},label:"Close alert",onClick:()=>ge.toast.dismiss(r)},Y.createElement(He,{is:Z.Close}))))})),_o=qe("div",{left:"$2",position:"fixed",top:"$2",right:"$2",zIndex:2147483647,"@sm":{top:"$3",right:"auto",left:"calc(50% - 200px)"}}),Uo=({children:e})=>{const{toasts:t,handlers:r}=ge.useToaster(),{startPause:o,endPause:a,calculateOffset:i,updateHeight:n}=r;return Y.createElement(Y.Fragment,null,Y.createElement(_o,{onMouseEnter:o,onMouseLeave:a},t.map((e=>Y.createElement(Xo,Object.assign({key:e.id,calculateOffset:i,updateHeight:n},e))))),e)};Uo.displayName="ToastProvider";const Ko=qe(be.Content,{backgroundColor:"$tonal500",borderRadius:"$0",boxShadow:"$0",color:"white",fontFamily:"$body",fontSize:"$sm",lineHeight:1.5,px:"$3",py:"$2","@allowMotion":{animationDuration:"75ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",'&[data-state="delayed-open"]':{'&[data-side="top"]':{animationName:et},'&[data-side="right"]':{animationName:tt},'&[data-side="bottom"]':{animationName:Qe},'&[data-side="left"]':{animationName:Ze}}},variants:{size:{sm:{maxWidth:"100px"},md:{maxWidth:"250px"},lg:{maxWidth:"400px"}}}}),Jo=qe(be.Arrow,{fill:"$tonal500",'[data-align="end"] &':{mr:"$2"},'[data-align="start"] &':{ml:"$2"}}),Qo=e=>{let{children:t,delayDuration:r=350}=e,o=P(e,B);return Y.createElement(be.Root,Object.assign({delayDuration:r},o),t)};Qo.Content=e=>{let{children:t,side:r="top",sideOffset:o=4,size:a="md"}=e,i=P(e,A);return Y.createElement(Ko,Object.assign({side:r,sideOffset:o,size:a},i),t,Y.createElement(Jo,null))},Qo.Trigger=qe(be.Trigger,{}),Qo.displayName="Tooltip";const Zo=qe(je.default,{}),ea=e=>{let{id:t,ratio:r=9/16,css:o}=e,a=P(e,H);return Y.createElement(_e,{css:o},Y.createElement(Xe,{css:{borderRadius:"$0",position:"relative",paddingTop:100*r+"%",overflow:"hidden",height:0,width:"100%"}},Y.createElement(Zo,Object.assign({},a,{role:"figure",url:`https://player.vimeo.com/video/${t}`,height:"100%",width:"100%",css:{position:"absolute",top:0,left:0}}))))};ea.displayName="Video",Object.defineProperty(exports,"toast",{enumerable:!0,get:function(){return Oe.default}}),exports.ActionIcon=Ge,exports.AlertDialog=dt,exports.AlertProvider=({children:e})=>{const[t,r]=Y.useReducer(Rt,Ft),o=(()=>{const e=Y.useRef();return Y.useEffect((()=>(e.current=!0,()=>{e.current=!1}))),e})();return Y.createElement(Nt.Provider,{value:{showAlert:e=>r({payload:e,type:"ADD"})}},Boolean(t.length)&&Y.createElement(jt,Object.assign({},t[0],{key:t[0].id,onClose:()=>{o.current&&r({payload:t[0].id,type:"REMOVE"})}})),e)},exports.Box=Xe,exports.Button=vt,exports.Carousel=At,exports.Checkbox=Lt,exports.CheckboxField=hr,exports.Combobox=yr,exports.Dialog=Sr,exports.Divider=jr,exports.DropdownMenu=Wr,exports.FieldWrapper=tr,exports.Flex=ct,exports.Form=mr,exports.Grid=qr,exports.Heading=Et,exports.Icon=He,exports.Image=Ar,exports.InlineFieldWrapper=nr,exports.Input=Hr,exports.InputField=Lr,exports.Label=Xt,exports.Link=Qt,exports.List=Kt,exports.Loader=pt,exports.MarkdownContent=oo,exports.PasswordField=io,exports.PasswordInput=ao,exports.Popover=lo,exports.ProgressBar=po,exports.RadioButton=ar,exports.RadioButtonField=xo,exports.RadioButtonGroup=ir,exports.RadioCard=bo,exports.RadioCardGroup=e=>{let{css:t,children:r,size:o,isFullWidth:a,align:i,gap:n="3",justify:s}=e,l=P(e,F);return Y.createElement(re.Root,Object.assign({},l),Y.createElement(Ct,{direction:"row",justify:s,gap:n,css:t},Y.Children.map(r,(e=>Y.isValidElement(e)&&(null==e?void 0:e.type)===bo?Y.cloneElement(e,{size:o,isFullWidth:a,align:i}):e))))},exports.SearchInput=yo,exports.Select=wo,exports.SelectField=Eo,exports.Stack=Ct,exports.StackContent=eo,exports.StyledButton=ht,exports.StyledLink=Jt,exports.Switch=ko,exports.Table=Io,exports.Tabs=Ho,exports.Text=Ot,exports.Textarea=Po,exports.TextareaField=Vo,exports.ToastProvider=Uo,exports.Tooltip=Qo,exports.ValidationError=Zt,exports.Video=ea,exports.createTheme=Ie,exports.css=Te,exports.getCssText=De,exports.globalCss=We,exports.keyframes=Me,exports.media=Re,exports.styled=qe,exports.theme=Ae,exports.useAlert=()=>{const e=Y.useContext(Nt);if(void 0===e)throw new Error("useAlert must be used within a AlertProvider");return e},exports.utils=Fe;
|
|
1
|
+
"use strict";const e=["is","size"],t=["children","theme","appearance","size","label","href","disabled"],r=["size"],o=["children","isLoading","onClick","href","appearance","size","theme","type"],a=["size"],i=["css","gap","direction","justify"],n=["size"],s=["title","description","onAction","cancelActionText","confirmActionText","onClose"],l=["children"],d=["align","as","direction","size","type","children","required"],c=["size","ordered"],m=["size","onClick","href"],p=["css","children"],u=["id"],h=["exclude"],g=["formMethods","handleSubmit","onSubmit","children"],b=["children","defaultValues","onSubmit","validationMode","render","persist"],$=["css","defaultChecked","label","name","validation","description"],f=["size","children","closeDialogText"],x=["orientation"],y=["children","href"],v=["css","gap","minItemSize"],w=["type","size"],E=["css","label","name","validation","prompt","description"],z=["children"],C=["css","hidePasswordText","showPasswordText"],k=["css","label","name","prompt","description","validation"],S=["children","side","sideOffset","closePopoverText","size"],O=["value","theme"],j=["children","isFullWidth","size","align"],F=["css","children","size","isFullWidth","align","gap","justify"],R=["css","label","value"],N=["size","css"],T=["placeholder","children","size"],D=["css","children","name","label","validation","prompt","description"],I=["size"],W=["children","disabled","css"],M=["children"],q=["css","label","name","validation","prompt","description"],A=["children","side","sideOffset","size"],B=["children","delayDuration"],H=["id","ratio","css"];function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}function P(e,t){if(null==e)return{};var r,o,a={},i=Object.keys(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)>=0||(a[r]=e[r]);return a}Object.defineProperty(exports,"__esModule",{value:!0});var V=require("invariant"),Y=require("react"),G=require("@atom-learning/theme"),X=require("@stitches/react"),_=require("@radix-ui/react-alert-dialog"),U=require("polished"),K=require("@radix-ui/react-visually-hidden"),J=require("uid"),Q=require("pure-react-carousel"),Z=require("@atom-learning/icons"),ee=require("@radix-ui/react-checkbox"),te=require("react-hook-form"),re=require("@radix-ui/react-radio-group"),oe=require("react-hook-form-persist"),ae=require("dlv"),ie=require("@reach/combobox"),ne=require("@radix-ui/react-dialog"),se=require("@radix-ui/react-dropdown-menu"),le=require("mdast-util-directive"),de=require("mdast-util-from-markdown"),ce=require("micromark-extension-directive"),me=require("@radix-ui/react-popover"),pe=require("@radix-ui/react-progress"),ue=require("@radix-ui/react-switch"),he=require("@radix-ui/react-tabs"),ge=require("react-hot-toast"),be=require("@radix-ui/react-tooltip"),$e=require("react-player/vimeo");function fe(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function xe(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var ye=fe(V),ve=fe(Y),we=xe(G),Ee=fe(oe),ze=fe(ae),Ce=fe(le),ke=fe(de),Se=fe(ce),Oe=fe(ge),je=fe($e);const Fe={bg:e=>({background:e}),inset:e=>({top:e,right:e,bottom:e,left:e}),size:e=>({height:e,width:e}),p:e=>({padding:e}),pt:e=>({paddingTop:e}),pr:e=>({paddingRight:e}),pb:e=>({paddingBottom:e}),pl:e=>({paddingLeft:e}),px:e=>({paddingLeft:e,paddingRight:e}),py:e=>({paddingTop:e,paddingBottom:e}),m:e=>({margin:e}),mt:e=>({marginTop:e}),mr:e=>({marginRight:e}),mb:e=>({marginBottom:e}),ml:e=>({marginLeft:e}),mx:e=>({marginLeft:e,marginRight:e}),my:e=>({marginTop:e,marginBottom:e})},Re={sm:"(min-width: 550px)",md:"(min-width: 800px)",lg:"(min-width: 1100px)",xl:"(min-width: 1350px)",reducedMotion:"(prefers-reduced-motion)",allowMotion:"(prefers-reduced-motion: no-preference)",hover:"(hover: hover)"},Ne=X.createStitches({theme:we,utils:Fe,media:Re}),{css:Te,getCssText:De,createTheme:Ie,globalCss:We,keyframes:Me,styled:qe,theme:Ae}=Ne,Be=qe("svg",{display:"inline-block",fill:"none",stroke:"currentcolor",strokeLinecap:"round",strokeLinejoin:"round",verticalAlign:"middle",variants:{size:{sm:{size:"$1",strokeWidth:"1.75"},md:{size:"$2",strokeWidth:"2"},lg:{size:"$3",strokeWidth:"2"}}}}),He=Y.forwardRef(((t,r)=>{let{is:o,size:a="md"}=t,i=P(t,e);return Y.createElement(Be,Object.assign({size:a,"aria-hidden":"true"},i,{as:o,ref:r}))})),Le=(e,t,r)=>({bg:"transparent",color:e,"&:not(:disabled):hover, &:not(:disabled):focus":{color:t},"&:not(:disabled):active":{color:r},"&[disabled]":{color:"$tonal400",cursor:"not-allowed"}}),Pe=(e,t,r)=>({bg:e,color:"white","&:not(:disabled):hover, &:not(:disabled):focus":{bg:t,color:"white"},"&:not(:disabled):active":{bg:r},"&[disabled]":{bg:"$tonal100",color:"$tonal400",cursor:"not-allowed"}}),Ve=(e,t,r)=>({border:"1px solid",borderColor:"currentColor",color:e,"&:not(:disabled):hover, &:not(:disabled):focus":{color:t},"&:not(:disabled):active":{color:r},"&[disabled]":{borderColor:"$tonal400",color:"$tonal400",cursor:"not-allowed"}}),Ye=qe("button",{alignItems:"center",appearance:"none",bg:"white",border:"unset",borderRadius:"$0",boxSizing:"border-box",cursor:"pointer",display:"flex",justifyContent:"center",p:"unset",transition:"all 100ms ease-out",variants:{theme:{neutral:{},primary:{},success:{},warning:{},danger:{}},appearance:{simple:{},outline:{},solid:{}},size:{md:{size:"$3"},lg:{size:"$4"}},isRounded:{true:{borderRadius:"$round"}}},compoundVariants:[{theme:"neutral",appearance:"simple",css:Le("$tonal300","$primaryMid","$primaryDark")},{theme:"primary",appearance:"simple",css:Le("$primary","$primaryMid","$primaryDark")},{theme:"success",appearance:"simple",css:Le("$success","$successMid","$successDark")},{theme:"warning",appearance:"simple",css:Le("$warning","$warningMid","$warningDark")},{theme:"danger",appearance:"simple",css:Le("$danger","$dangerMid","$dangerDark")},{theme:"primary",appearance:"solid",css:Pe("$primary","$primaryMid","$primaryDark")},{theme:"success",appearance:"solid",css:Pe("$success","$successMid","$successDark")},{theme:"warning",appearance:"solid",css:Pe("$warning","$warningMid","$warningDark")},{theme:"danger",appearance:"solid",css:Pe("$danger","$dangerMid","$dangerDark")},{theme:"primary",appearance:"outline",css:Ve("$primary","$primaryMid","$primaryDark")},{theme:"success",appearance:"outline",css:Ve("$success","$successMid","$successDark")},{theme:"warning",appearance:"outline",css:Ve("$warning","$warningMid","$warningDark")},{theme:"danger",appearance:"outline",css:Ve("$danger","$dangerMid","$dangerDark")}]}),Ge=Y.forwardRef(((e,r)=>{let{children:o,theme:a="primary",appearance:i="simple",size:n="md",label:s,href:l,disabled:d}=e,c=P(e,t);const m=`A single ${He.displayName} component is permitted as a child of ${Ge.displayName}`;ye.default(1===Y.Children.count(o),m);const p=l?{as:"a",href:d?null:l,onClick:void 0,"aria-disabled":!!d}:{type:"button"};return Y.createElement(Ye,Object.assign({},c,p,{"aria-label":s,theme:a,appearance:i,size:n,ref:r,disabled:d}),Y.Children.map(o,(e=>{if(!Y.isValidElement(e))throw new Error(m);return ye.default(e.type===He,`Children of type ${null==e?void 0:e.type} aren't permitted. Only an ${He.displayName} component is allowed in ${Ge.displayName}`),Y.cloneElement(e,{css:L({size:"lg"===n?20:16},e.props.css?e.props.css:{})})})))}));Ge.displayName="ActionIcon";const Xe=qe("div",{});Xe.displayName="Box";const _e=({css:e,children:t})=>e?Y.createElement(Xe,{css:e},t):Y.createElement(Y.Fragment,null,t);_e.displayName="CSSWrapper";const Ue=(e,t)=>({"&::before":{content:"''",mb:`-${e}em`,display:"table"},"&::after":{content:"''",mt:`-${t||e}em`,display:"table"}}),Ke={chevron:e=>`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24" stroke="${e}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" color="${e}"><polyline points="6 10 12 16 18 10"/></svg>`,search:e=>`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24" stroke="${e}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" color="${e}"><path d="M14.4121122,14.4121122 L20,20"></path><circle cx="10" cy="10" r="6"></circle></svg>`},Je=(e,t)=>{const r=U.toColorString(U.parseToHsl(e));return`url(data:image/svg+xml;charset=US-ASCII,${encodeURIComponent(Ke[t](r))})`},Qe=Me({"0%":{opacity:0,transform:"translateY(2px)"},"100%":{opacity:1,transform:"translateY(0)"}}),Ze=Me({"0%":{opacity:0,transform:"translateX(-2px)"},"100%":{opacity:1,transform:"translateX(0)"}}),et=Me({"0%":{opacity:0,transform:"translateY(-2px)"},"100%":{opacity:1,transform:"translateY(0)"}}),tt=Me({"0%":{opacity:0,transform:"translateX(2px)"},"100%":{opacity:1,transform:"translateX(0)"}}),rt=Me({"0%":{opacity:0},"100%":{opacity:1}}),ot=Me({"0%":{opacity:1},"100%":{opacity:0}}),at=Me({"0%":{transform:"translate3d(-50%, 50vh, 0)"},"100%":{transform:"translate3d(-50%, -50%, 0)"}}),it=Me({"0%":{transform:"translate3d(-50%, -50%, 0)"},"100%":{transform:"translate3d(-50%, 50vh, 0)"}}),nt=qe(_.Overlay,{backgroundColor:"$alpha600",inset:0,position:"fixed","@allowMotion":{'&[data-state="open"]':{animation:`${rt} 250ms ease-out`},'&[data-state="closed"]':{animation:`${ot} 550ms ease-out`}}}),st=qe(_.Content,{bg:"white",borderRadius:"$1",boxShadow:"$3",boxSizing:"border-box",left:"50%",maxWidth:"90vw",p:"$5",position:"fixed",top:"50%",transform:"translate3d(-50%, -50%, 0)","&:focus":{outline:"none"},"@allowMotion":{'&[data-state="open"]':{animation:`${at} 550ms cubic-bezier(0.22, 1, 0.36, 1)`},'&[data-state="closed"]':{animation:`${it} 550ms cubic-bezier(0.22, 1, 0.36, 1)`}},variants:{size:{sm:{width:"380px"},md:{width:"480px"},lg:{width:"600px"}}}}),lt=qe(_.Root,{}),dt=e=>Y.createElement(lt,Object.assign({},e));dt.Description=_.Description,dt.Title=_.Title,dt.Action=_.Action,dt.Cancel=_.Cancel,dt.Content=e=>{let{size:t="sm"}=e,o=P(e,r);return Y.createElement(Y.Fragment,null,Y.createElement(nt,null),Y.createElement(st,Object.assign({size:t},o)))},dt.Trigger=_.Trigger,dt.displayName="AlertDialog";const ct=qe("div",{display:"flex"});ct.displayName="Flex";const mt=qe("div",{animationName:`${Me({"0%":{opacity:0},"30%":{opacity:1},"50%":{opacity:1},"80%":{opacity:0},"100%":{opacity:0}})}`,animationDuration:"1s",animationFillMode:"both",animationIterationCount:"infinite",animationTimingFunction:"linear",backgroundColor:"currentColor",borderRadius:"$round","&:nth-child(1)":{animationDelay:"-300ms"},"&:nth-child(2)":{animationDelay:"-150ms"},"&:nth-child(3)":{animationDelay:0},variants:{size:{sm:{size:"4px",mx:"2px"},md:{size:"6px",mx:"2px"},lg:{size:"8px",mx:"3px"}}}}),pt=({css:e={},message:t="Loading",size:r="md"})=>Y.createElement(ct,{css:L({justifyContent:"center"},e),role:"alert"},Y.createElement(K.Root,null,t),Y.createElement(mt,{size:r}),Y.createElement(mt,{size:r}),Y.createElement(mt,{size:r})),ut=(e,t,r,o="white")=>({bg:e,color:o,"&[disabled]":{bg:"$tonal100",color:"$tonal400",cursor:"not-allowed"},"&:not([disabled]):hover, &:not([disabled]):focus":{bg:t,color:o},"&:not([disabled]):active":{bg:r}}),ht=qe("button",{alignItems:"center",bg:"unset",border:"unset",borderRadius:"$0",cursor:"pointer",display:"flex",fontFamily:"$body",fontWeight:600,justifyContent:"center",p:"unset",textDecoration:"none",transition:"all 100ms ease-out",whiteSpace:"nowrap",width:"max-content",variants:{theme:{primary:{},secondary:{},success:{},warning:{},danger:{}},appearance:{solid:{},outline:{}},size:{sm:{fontSize:"$sm",lineHeight:1.53,height:"$3",px:"$4"},md:{fontSize:"$md",lineHeight:1.5,height:"$4",px:"$5"},lg:{fontSize:"$lg",lineHeight:1.5,height:"$5",px:"$5"}},isLoading:{true:{cursor:"not-allowed",opacity:.6,pointerEvents:"none"}},fullWidth:{true:{width:"100%"}},isRounded:{true:{borderRadius:"$round"}}},compoundVariants:[{theme:"primary",appearance:"solid",css:ut("$primary","$primaryMid","$primaryDark")},{theme:"secondary",appearance:"solid",css:ut("$primaryDark",U.darken(.1,Ae.colors.primaryDark.value),U.darken(.15,Ae.colors.primaryDark.value))},{theme:"success",appearance:"solid",css:ut("$success","$successMid","$successDark")},{theme:"warning",appearance:"solid",css:ut("$warning","$warningMid","$warningDark","$tonal500")},{theme:"danger",appearance:"solid",css:ut("$danger","$dangerMid","$dangerDark")},{theme:"primary",appearance:"outline",css:(gt="$primary",bt="$primaryMid",$t="$primaryDark",{border:"1px solid",borderColor:"currentColor",color:gt,"&[disabled]":{borderColor:"$tonal400",color:"$tonal400",cursor:"not-allowed"},"&:not([disabled]):hover, &:not([disabled]):focus":{textDecoration:"none",color:bt},"&:not([disabled]):active":{color:$t}})}]});var gt,bt,$t;const ft=({isLoading:e,children:t})=>Y.createElement(Y.Fragment,null,Y.createElement(pt,{css:{opacity:e?1:0,position:"absolute",transition:"opacity 150ms"}}),Y.createElement(Xe,{as:"span",css:e?{opacity:0,transition:"opacity 150ms"}:{}},t)),xt=e=>{switch(e){case"lg":return 22;case"md":return 20;case"sm":default:return 16}},yt=(e,t)=>Y.Children.map(e,((e,r)=>(null==e?void 0:e.type)===He?Y.cloneElement(e,{css:L({[0===r?"mr":"ml"]:"sm"===t?"$2":"$3",size:xt(t)},e.props.css?e.props.css:{})}):e)),vt=Y.forwardRef(((e,t)=>{let{children:r,isLoading:a,onClick:i,href:n,appearance:s="solid",size:l="md",theme:d="primary",type:c="button"}=e,m=P(e,o);const p=n?{as:"a",href:n,onClick:void 0}:{},u=n?{}:{type:c};return Y.createElement(ht,Object.assign({isLoading:a||!1,onClick:a?void 0:i,appearance:s,size:l,theme:d},m,p,u,{ref:t}),"boolean"==typeof a?Y.createElement(ft,{isLoading:a},yt(r,l)):yt(r,l))}));vt.displayName="Button";const wt=qe("h2",{color:"$tonal600",fontFamily:"$display",fontWeight:700,m:0,variants:{size:{xs:L({fontFamily:"$body",fontWeight:600,fontSize:"$md",lineHeight:1.5},Ue(.3864)),sm:L({fontSize:"$lg",lineHeight:1.14},Ue(.2174,.2254)),md:L({fontSize:"$xl",lineHeight:1.14},Ue(.2174,.2254)),lg:L({fontSize:"$2xl",lineHeight:1.08},Ue(.1865,.1945)),xl:L({fontSize:"$3xl",lineHeight:1.12},Ue(.206,.214)),xxl:L({fontSize:"$4xl",lineHeight:1.06},Ue(.1793,.1873))}}}),Et=e=>{let{size:t="md"}=e,r=P(e,a);return Y.createElement(wt,Object.assign({size:t},r))};Et.displayName="Heading";const zt=qe("div",{display:"flex",flexWrap:"wrap","& > *":{m:0},variants:{direction:{row:{flexDirection:"row",alignItems:"center"},"row-reverse":{flexDirection:"row-reverse",alignItems:"center"},column:{flexDirection:"column"}},justify:{start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},center:{justifyContent:"center"}},gap:Object.keys(Ae.space).reduce(((e,t)=>L({},e,{[t]:{mt:`-$space$${t}`,ml:`-$space$${t}`,"& > *":{mt:`$space$${t}`,ml:`$space$${t}`}}})),{})}}),Ct=e=>{let{css:t,gap:r=2,direction:o="row",justify:a="start"}=e,n=P(e,i);return Y.createElement(_e,{css:t},Y.createElement(zt,Object.assign({direction:o,gap:r,justify:a},n)))};Ct.displayName="Stack";const kt=({applyCapsize:e=!0}={})=>({xs:L({fontSize:"$xs",lineHeight:1.6},e?Ue(.4364):{}),sm:L({fontSize:"$sm",lineHeight:1.53},e?Ue(.4056):{}),md:L({fontSize:"$md",lineHeight:1.5},e?Ue(.3864):{}),lg:L({fontSize:"$lg",lineHeight:1.52},e?Ue(.3983):{}),xl:L({fontSize:"$xl",lineHeight:1.42},e?Ue(.3506):{})}),St=qe("p",{color:"$tonal600",fontFamily:"$body",fontWeight:400,margin:0,variants:{size:kt()}}),Ot=Y.forwardRef(((e,t)=>{let{size:r="md"}=e,o=P(e,n);return Y.createElement(St,Object.assign({size:r},o,{ref:t}))}));Ot.displayName="Text";const jt=e=>{let{title:t,description:r,onAction:o,cancelActionText:a,confirmActionText:i,onClose:n}=e,l=P(e,s);return Y.createElement(dt,{defaultOpen:!0},Y.createElement(dt.Content,Object.assign({onEscapeKeyDown:e=>e.preventDefault(),onCloseAutoFocus:n},l),Y.createElement(Et,{as:dt.Title,size:"sm",css:{mb:"$5"}},t),r&&Y.createElement(Ot,{as:dt.Description,css:{mb:"$5"}},r),Y.createElement(Ct,{gap:"2",justify:"end"},a&&Y.createElement(vt,{appearance:"outline",as:dt.Cancel,onClick:()=>o(!1),size:"sm"},a),Y.createElement(vt,{as:dt.Action,onClick:()=>o(!0),size:"sm"},i))))},Ft=[],Rt=(e,t)=>{switch(t.type){case"ADD":return[...e,L({},t.payload,{id:J.uid()})];case"REMOVE":return e.filter((({id:e})=>e!==t.payload));default:return e}},Nt=Y.createContext({showAlert:()=>null}),Tt={alignItems:"center",bg:"unset",border:"unset",color:"$primary",cursor:"pointer",display:"flex",justifyContent:"center",p:"unset",size:"$5",top:"50%",transform:"translateY(-50%)",transition:"color 0.15s ease-in-out","&:hover":{color:"$primaryMid"},"&:active":{color:"$primaryDark"},"&:disabled":{color:"$tonal100"}},Dt=qe(Q.ButtonBack,Tt),It=qe(Q.ButtonNext,Tt),Wt=qe(Q.DotGroup,{justifyContent:"center","& button":{bg:"$tonal200",border:"none",borderRadius:"50%",cursor:"pointer",mx:"$1",p:"$1",size:"$space$3",transition:"all 100ms ease-in",'&[class*="selected"]':{bg:"$primary"},"&:hover, &:focus":{bg:"$primaryMid"}}}),Mt=qe(Q.Slide,{}),qt=qe(Q.Slider,{cursor:"grab",ml:"50%",overflow:"hidden",transform:"translateX(-50%)",'& [class*="sliderTray_"]':{p:"unset",m:"unset",transition:"transform .5s cubic-bezier(.645,.045,.355,1)"},'& [class*="slide_"]':{float:"left",pb:"0 !important"},'& [class*="slideInner"]':{display:"flex",justifyContent:"center"},variants:{overflow:{true:{overflow:"visible"}}}}),At=({children:e,css:t,slideHeight:r,slideWidth:o,numSlides:a})=>Y.createElement(_e,{css:t},Y.createElement(Q.CarouselProvider,{naturalSlideWidth:o,naturalSlideHeight:r,totalSlides:a},e));At.ArrowNext=e=>Y.createElement(It,Object.assign({},e),Y.createElement(He,{is:Z.ChevronRight})),At.ArrowPrevious=e=>Y.createElement(Dt,Object.assign({},e),Y.createElement(He,{is:Z.ChevronLeft})),At.Pagination=Wt,At.Slide=e=>{let{children:t}=e,r=P(e,l);return Y.createElement(Mt,Object.assign({},r,{tag:"div"}),Y.createElement(Xe,{css:{px:"$3"}},t))},At.Slider=qt,At.displayName="Carousel";const Bt=qe(ee.Indicator,{display:"flex",alignItems:"center",justifyContent:"center"}),Ht=qe(ee.Root,{appearance:"none",backgroundColor:"transparent",border:"1px solid $colors$tonal400",borderRadius:"3px",color:"white",cursor:"pointer",size:"$1",p:0,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 50ms ease-out",'&[data-state="checked"]':{backgroundColor:"$primary",borderColor:"$primary"},'&[data-state="indeterminate"]':{backgroundColor:"$primary",borderColor:"$primary"},"&:focus":{outline:"2px solid $primary",outlineOffset:"1px"},"&[disabled]":{backgroundColor:"$tonal100",borderColor:"$tonal400",cursor:"not-allowed",color:"$tonal400"},variants:{state:{error:{borderColor:"$danger"}}}}),Lt=Y.forwardRef(((e,t)=>Y.createElement(Ht,Object.assign({},e,{ref:t}),Y.createElement(Bt,null,Y.createElement(He,{is:"indeterminate"===e.checked?Z.Minus:Z.Ok,css:{pointerEvents:"none",position:"absolute",strokeWidth:"3",size:14}})))));Lt.displayName="Checkbox";const{sm:Pt,md:Vt}=kt(),Yt=qe("label",{color:"$tonal500",fontFamily:"$body",m:0,variants:{size:{sm:Pt,md:Vt},type:{block:{display:"block",fontWeight:600},inline:{display:"flex",fontWeight:400,maxWidth:"max-content"}},align:{start:{alignItems:"flex-start"},center:{alignItems:"center"}},direction:{reverse:{flexDirection:"row-reverse"},row:{flexDirection:"row"}}}}),Gt=qe("span",{color:"$danger",ml:"$1",fontWeight:400}),Xt=e=>{let{align:t="start",as:r="label",direction:o="row",size:a="md",type:i="block",children:n,required:s}=e,l=P(e,d);return Y.createElement(Yt,Object.assign({as:r,size:a,type:i,align:t,direction:o},l),n,s&&Y.createElement(Gt,{"aria-hidden":!0},"*"))};Xt.displayName="Label";const _t=qe("li",{}),Ut=qe("ul",{fontFamily:"$body",m:"unset",p:"unset",[`& > ${_t}`]:{"&:not(:last-child)":{mb:"$2"},"&:last-child":{mb:0}},variants:{size:kt({applyCapsize:!1}),as:{ol:{pl:"$4",listStyle:"decimal",[`& > ${_t}`]:{pl:"$1","&::marker":{fontSize:"$sm",fontWeight:"bold"}}},ul:{pl:"$3",[`& > ${_t}`]:{pl:"$2","&::marker":{content:"•",fontWeight:"bold"}}}}}}),Kt=e=>{let{size:t="md",ordered:r}=e,o=P(e,c);return Y.createElement(Ut,Object.assign({as:r?"ol":"ul",size:t},o))};Kt.Item=_t;const Jt=qe("a",{bg:"unset",border:"unset",p:"unset",color:"$primary",cursor:"pointer",fontFamily:"$body",textDecoration:"none","&:focus, &:hover":{color:"$primaryMid",textDecoration:"underline"},"&:active":{color:"$primaryDark"},[`${St} > &, ${wt} > &, ${_t} > &`]:{fontSize:"100%",lineHeight:1,"&::before, &::after":{content:"none"}},variants:{size:kt()}}),Qt=Y.forwardRef(((e,t)=>{let{size:r="md",onClick:o,href:a}=e,i=P(e,m);return a?Y.createElement(Jt,Object.assign({size:r},i,{ref:t,href:a})):Y.createElement(Jt,Object.assign({as:"button",size:r},i,{ref:t,onClick:o}))}));Qt.displayName="Link";const Zt=e=>{let{css:t,children:r}=e,o=P(e,p);return Y.createElement(ct,Object.assign({css:L({color:"$danger",alignItems:"flex-start"},t)},o),Y.createElement(He,{is:Z.Error,size:"sm",css:{mr:"$2",flexShrink:0},"aria-hidden":!0}),Y.createElement(Ot,{css:{color:"inherit",transform:"translateY($space$1)"},size:"sm"},r))},er=({children:e,css:t})=>Y.createElement(Ot,{size:"sm",css:L({color:"$tonal300",maxWidth:"80ch"},t)},e),tr=({css:e,children:t,error:r,fieldId:o,label:a,prompt:i,description:n,required:s})=>Y.createElement(Xe,{css:e},Y.createElement(ct,{css:{justifyContent:"space-between",alignItems:"center",mb:"$3"}},Y.createElement(Xt,{htmlFor:o,required:s},a),i&&Y.createElement(Qt,{href:i.link,size:"sm"},i.label)),n&&Y.createElement(er,{css:{mb:"$3"}},n),t,r&&Y.createElement(Zt,{css:{mt:"$2"}},r));tr.displayName="FieldWrapper";const rr=qe(re.Item,{alignItems:"center",appearance:"none",backgroundColor:"transparent",border:"1px solid $tonal400",borderRadius:"$round",color:"white",cursor:"pointer",display:"flex",justifyContent:"center",p:0,size:"$1",transition:"all 50ms ease-out","&:focus":{outline:"2px solid $primary",outlineOffset:"1px"},'&[data-state="checked"]':{backgroundColor:"$primary",borderColor:"$primary"},"&[disabled]":{backgroundColor:"$tonal100",borderColor:"$tonal400",color:"$tonal400",cursor:"not-allowed"}}),or=qe(re.Indicator,{size:"6px",borderRadius:"$round",backgroundColor:"currentcolor",position:"absolute"}),ar=e=>Y.createElement(rr,Object.assign({},e),Y.createElement(or,null));ar.displayName="RadioButton";const ir=qe(re.Root,{display:"flex",flexWrap:"wrap",variants:{direction:{row:{flexDirection:"row","& > *:not(:last-child)":{mr:"$5"}},column:{flexDirection:"column"}}}});ir.displayName="RadioButtonGroup";const nr=({align:e="start",children:t,css:r,description:o,direction:a="row",error:i,label:n,required:s})=>Y.createElement(Xe,{css:r},Y.createElement(Xt,{align:e,direction:a,required:s,type:"inline"},Y.Children.map(t,(e=>Y.createElement(Xe,{css:L({["reverse"===a?"ml":"mr"]:"$3"},((null==e?void 0:e.type)===Lt||(null==e?void 0:e.type)===ar)&&{transform:"translateY($space$1)"})},e))),n),i&&Y.createElement(Zt,{css:{mt:"$2"}},i),o&&Y.createElement(er,{css:{mt:"$2",["reverse"===a?"mr":"ml"]:"calc($space$3 + $sizes$1)"}},o));var sr;nr.displayName="InlineFieldWrapper",function(e){e.LOCAL="local",e.SESSION="session"}(sr||(sr={}));const lr=qe("form",{}),dr=({persist:e,watch:t,setValue:r,children:o})=>{const{id:a}=e,i=P(e,u);let n=L({},i,{storage:i.storage===sr.LOCAL?window.localStorage:window.sessionStorage});if(i.exclude){const e=P(n,h),r=t();n=L({},e,{include:Object.keys(r).filter((e=>{var t;if(null==(t=i.exclude)||!t.includes(e))return e}))})}return Ee.default(a,{watch:t,setValue:r},n),o},cr=e=>{let{formMethods:t,handleSubmit:r,onSubmit:o,children:a}=e,i=P(e,g);return Y.createElement(te.FormProvider,Object.assign({},t),Y.createElement(lr,Object.assign({"aria-label":"form"},i,{onSubmit:r(o)}),a))},mr=e=>{let{children:t,defaultValues:r={},onSubmit:o,validationMode:a="onBlur",render:i,persist:n}=e,s=P(e,b);ye.default(!(t&&i),"`Form` should only be given one of `children` or `render`. When both are provided, `render` will be used and `children` will be ignored.");const l=te.useForm({defaultValues:r,mode:a}),{handleSubmit:d,watch:c,setValue:m}=l,p=i?i(l):t,u=L({formMethods:l,handleSubmit:d,onSubmit:o},s);return n?Y.createElement(dr,{persist:n,watch:c,setValue:m},Y.createElement(cr,Object.assign({},u),p)):Y.createElement(cr,Object.assign({},u),p)};mr.displayName="Form";const pr=e=>{var t;const{errors:r}=te.useFormContext(),o=e.split(/[,[\].]+?/).filter(Boolean);return{error:null==(t=ze.default(r,o))?void 0:t.message}};var ur;!function(e){e.ON="on",e.OFF="off"}(ur||(ur={}));const hr=e=>{let{css:t,defaultChecked:r=!1,label:o,name:a,validation:i,description:n}=e,s=P(e,$);const{control:l}=te.useFormContext(),{error:d}=pr(a);return Y.createElement(te.Controller,{control:l,name:a,defaultValue:r,rules:i,render:({onChange:e,value:a,name:l})=>Y.createElement(nr,{css:t,description:n,error:d,label:o,required:Boolean(null==i?void 0:i.required)},Y.createElement(Lt,Object.assign({defaultChecked:r,defaultValue:r?ur.ON:ur.OFF,checked:a,name:l,onCheckedChange:e,value:a?ur.ON:ur.OFF},d&&{state:"error"},s)))})};hr.displayName="CheckboxField";const gr=qe(ie.ComboboxInput,{boxShadow:"none",fontSize:"$md",appearance:"none",backgroundImage:Je(Ae.colors.tonal300.value,"chevron"),backgroundPosition:"right $space$3 top 50%, 0 0",backgroundRepeat:"no-repeat, repeat",backgroundSize:"20px auto, 100%",border:"1px solid $tonal300",borderRadius:"$0",boxSizing:"border-box",color:"$tonal600",cursor:"text",display:"block",fontFamily:"$body",height:"$4",pl:"$3",pr:"$6",transition:"all 100ms ease-out",width:"100%","&::placeholder":{color:"$tonal300",opacity:1},"&:focus-within":{borderColor:"$primary",outline:"none"},"&[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},variants:{state:{error:{border:"1px solid $danger"}}}}),br=qe(ie.ComboboxList,{listStyle:"none",m:0,p:0,userSelect:"none"}),$r=qe(ie.ComboboxOption,{color:"$tonal500",cursor:"pointer",m:0,p:"$2",'&:hover, &[aria-selected="true"]':{bg:"$tonal50",borderRadius:"$0"},"[data-user-value]":{color:"$primary"}}),fr=qe(ie.ComboboxPopover,{bg:"white",border:"solid 1px $tonal100",borderRadius:"$0",boxShadow:"$1",boxSizing:"border-box",fontFamily:"$body",fontSize:"$md",outline:"none",p:"$1",transform:"translateY($space$2)"});We({":root":{"--reach-combobox":1}})();const xr=qe(ie.Combobox,{}),yr=e=>Y.createElement(xr,Object.assign({},e));yr.displayName="Combobox",yr.Option=$r,yr.Input=gr,yr.Popover=fr,yr.List=br,yr.OptionText=ie.ComboboxOptionText;const vr=qe(ne.Close,{}),wr=Me({"0%":{transform:"translate3d(-50%, 50vh, 0)"},"100%":{transform:"translate3d(-50%, -50%, 0)"}}),Er=Me({"0%":{transform:"translate3d(-50%, -50%, 0)"},"100%":{transform:"translate3d(-50%, 50vh, 0)"}}),zr=qe(ne.Overlay,{backgroundColor:"$alpha600",inset:0,position:"fixed","@allowMotion":{'&[data-state="open"]':{animation:`${rt} 250ms ease-out`},'&[data-state="closed"]':{animation:`${ot} 550ms ease-out`}}}),Cr=qe(ne.Content,{bg:"white",borderRadius:"$1",boxShadow:"$3",boxSizing:"border-box",left:"50%",maxWidth:"90vw",p:"$5",position:"fixed",top:"50%",transform:"translate3d(-50%, -50%, 0)","&:focus":{outline:"none"},"@allowMotion":{'&[data-state="open"]':{animation:`${wr} 550ms cubic-bezier(0.22, 1, 0.36, 1)`},'&[data-state="closed"]':{animation:`${Er} 550ms cubic-bezier(0.22, 1, 0.36, 1)`}},variants:{size:{xs:{width:"380px"},sm:{width:"480px"},md:{width:"600px"},lg:{width:"800px"},xl:{width:"1100px"}}}}),kr=qe(ne.Root,{}),Sr=e=>Y.createElement(kr,Object.assign({},e));Sr.Close=vr,Sr.Content=e=>{let{size:t="sm",children:r,closeDialogText:o="Close dialog"}=e,a=P(e,f);return Y.createElement(Y.Fragment,null,Y.createElement(zr,null),Y.createElement(Cr,Object.assign({size:t},a),Y.createElement(Ge,{as:ne.Close,css:{position:"absolute",right:"$4",top:"$4"},label:o,size:"lg",theme:"neutral"},Y.createElement(He,{is:Z.Close})),r))},Sr.Trigger=ne.Trigger,Sr.displayName="Dialog";const Or=qe("hr",{border:0,bg:"$tonal200",variants:{orientation:{horizontal:{height:1,width:"100%"},vertical:{height:"100%",width:1,minHeight:"$3"}}}}),jr=e=>{let{orientation:t="horizontal"}=e,r=P(e,x);return ve.default.createElement(Or,Object.assign({orientation:t},r))},Fr=qe(se.Content,{bg:"white",borderRadius:"$0",boxShadow:"$0",py:"$2","@allowMotion":{animationDuration:"250ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",'&[data-state="open"]':{'&[data-side="top"]':{animationName:et},'&[data-side="right"]':{animationName:tt},'&[data-side="bottom"]':{animationName:Qe},'&[data-side="left"]':{animationName:Ze}}}}),Rr=qe(se.Item,{alignItems:"center",color:"$tonal600",cursor:"pointer",display:"flex",fontFamily:"$body",fontWeight:400,position:"relative",px:"$3",py:"$2","&[data-disabled]":{color:"$tonal200",pointerEvents:"none"},'&[aria-current="page"], &:focus':{"&::before":{borderLeft:"2px solid currentColor",content:"",height:"$2",left:0,outline:"none",position:"absolute",transform:"scale(1)"}},"&:focus":{color:"$primaryMid",outline:"none"}}),Nr=qe("a",{textDecoration:"none"}),Tr=qe(se.Separator,{height:"1px",backgroundColor:"$tonal200",my:"$2"}),Dr=qe(se.Trigger,{}),Ir=qe(se.Root,{}),Wr=e=>ve.default.createElement(Ir,Object.assign({},e));Wr.Content=Fr,Wr.Item=Rr,Wr.LinkItem=e=>{let{children:t,href:r}=e,o=P(e,y);return ve.default.createElement(Rr,Object.assign({},o,{asChild:!0}),ve.default.createElement(Nr,{href:r,role:"menuitem"},t))},Wr.Separator=Tr,Wr.Trigger=Dr;const Mr=qe("div",{display:"grid",variants:{gap:Object.keys(Ae.space).reduce(((e,t)=>L({},e,{[t]:{gap:`$space$${t}`}})),{})}}),qr=e=>{let{css:t,gap:r=2,minItemSize:o}=e,a=P(e,v);return Y.createElement(Mr,Object.assign({css:L({},t,{gridTemplateColumns:`repeat(auto-fit, minmax(${o}, 1fr))`}),gap:r},a))};qr.displayName="Grid";const Ar=qe("img",{verticalAlign:"middle",maxWidth:"100%","&[width]":{width:"auto"},"&[width][height]":{height:"auto"},'&[src$=".svg"]':{width:"100%",height:"auto",maxWidth:"none"}});Ar.displayName="Image";const Br=qe("input",{appearance:"none",border:"1px solid $tonal400",borderRadius:"$0",boxShadow:"none",boxSizing:"border-box",color:"$tonal600",cursor:"text",display:"block",fontFamily:"$body",px:"$3",transition:"all 100ms ease-out",width:"100%","&:focus":{borderColor:"$primary",outline:"none"},"&[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},"&::placeholder":{color:"$tonal300",opacity:1},variants:{size:{sm:{height:"$3",fontSize:"$sm"},md:{height:"$4",fontSize:"$md"}},state:{error:{border:"1px solid $danger"}}}}),Hr=Y.forwardRef(((e,t)=>{let{type:r="text",size:o="md"}=e,a=P(e,w);return"number"===r?Y.createElement(Br,Object.assign({type:"text",inputMode:"numeric",pattern:"[0-9]*",size:o},a,{ref:t})):Y.createElement(Br,Object.assign({type:r,size:o},a,{ref:t}))}));Hr.displayName="Input";const Lr=e=>{let{css:t,label:r,name:o,validation:a,prompt:i,description:n}=e,s=P(e,E);const{register:l}=te.useFormContext(),{error:d}=pr(o),c=a?l(a):l;return Y.createElement(tr,{css:t,description:n,error:d,fieldId:o,label:r,prompt:i,required:Boolean(null==a?void 0:a.required)},Y.createElement(Hr,Object.assign({id:o,name:o,ref:c},d&&{state:"error"},s)))};Lr.displayName="InputField";const Pr=qe(Xe,{bg:"$tonal100",borderRadius:"$1",color:"$tonal600",fontFamily:"$mono",fontSize:"$sm",lineHeight:1.4,my:"$4",p:"$3"}),Vr=qe("em",{fontStyle:"italic"}),Yr=({node:e,handleNode:t,css:r})=>{var o;const{as:a,size:i}=(e=>{switch(e){case 1:return{size:"xl",as:"h1"};case 2:return{size:"lg",as:"h2"};case 3:return{size:"md",as:"h3"};case 4:return{size:"sm",as:"h4"};case 5:return{size:"xs",as:"h5"};default:return{size:"xs",as:"h6"}}})(e.depth);return Y.createElement(Et,{as:a,size:i,css:L({color:"inherit"},r)},null==(o=e.children)?void 0:o.map(t))},Gr=qe(Xe,{bg:"$tonal100",borderRadius:"$0",color:"$tonal600",display:"inline-block",fontFamily:"$mono",fontSize:"85%",p:"$0 $1"}),Xr=({node:e,css:t})=>Y.createElement(Ar,{src:e.url,alt:e.alt,css:t}),_r=({node:e,handleNode:t,css:r})=>{var o;return Y.createElement(Kt,{css:L({"& p:before, & p:after":{display:"none"}},r),ordered:e.ordered},null==(o=e.children)?void 0:o.map(t))},Ur=({node:e,handleNode:t,css:r})=>{var o;return Y.createElement(Ot,{css:L({color:"inherit"},r)},null==(o=e.children)?void 0:o.map(t))},Kr=qe("strong",{fontWeight:600}),Jr=({css:e})=>Y.createElement(jr,{css:L({width:"100%"},e)}),Qr=qe("div",{}),Zr=(e,t)=>Y.cloneElement(e,{css:L({},t,e.props.css?e.props.css:{})}),eo=e=>{let{children:t}=e,r=P(e,z);return Y.createElement(Qr,Object.assign({},r),Y.Children.map(t,(e=>{if(!Y.isValidElement(e))return e;const t=null==e?void 0:e.type;return t===Et||t===Yr?Zr(e,{maxWidth:"65ch","&:not(:first-child)":{mt:"$5"},"&:not(:last-child)":{mb:"$5"}}):t===Ot||t===Ur||t===Kt||t===_r?Zr(e,{maxWidth:"75ch","&:not(:last-child)":{mb:"$5"}}):t===jr||t===Jr?Zr(e,{my:"$5"}):t===Ar||t===Xr?Zr(e,{display:"block","&:not(:first-child)":{mt:"$6"},"&:not(:last-child)":{mb:"$6"}}):e})))};eo.displayName="StackContent";const to={code:({node:e})=>Y.createElement(Pr,{as:"pre"},e.value),emphasis:({node:e,handleNode:t})=>{var r;return Y.createElement(Vr,null,null==(r=e.children)?void 0:r.map(t))},heading:Yr,inlineCode:({node:e})=>Y.createElement(Gr,{as:"code"},e.value),image:Xr,link:({node:e,handleNode:t})=>{var r;return Y.createElement(Qt,{title:e.title,href:e.url},null==(r=e.children)?void 0:r.map(t))},list:_r,listItem:({node:e,handleNode:t})=>{var r;return Y.createElement(Kt.Item,null,null==(r=e.children)?void 0:r.map(t))},paragraph:Ur,strong:({node:e,handleNode:t})=>{var r;return Y.createElement(Kr,null,null==(r=e.children)?void 0:r.map(t))},text:({node:e})=>e.value,thematicBreak:Jr},ro=e=>{var t;if(null!=(t=e.position)&&t.start){var r;const{line:t,column:o,offset:a}=null==(r=e.position)?void 0:r.start;return`${e.type}${t}${o}${a}`}return`${e.type}${+new Date}`},oo=({content:e,customComponents:t={},css:r})=>{const o=ke.default(e,{extensions:[Se.default()],mdastExtensions:[Ce.default.fromMarkdown]}),a=L({},to,t),i=e=>{const t=a[e.type];return t?Y.createElement(t,{key:ro(e),node:e,handleNode:i}):null};return Y.createElement(eo,{css:r},o.children.map(i))};oo.displayName="MarkdownContent";const ao=Y.forwardRef(((e,t)=>{let{css:r,hidePasswordText:o="Hide password",showPasswordText:a="Show password"}=e,i=P(e,C);const[n,s]=Y.useState(!1);return Y.createElement(Xe,{css:L({position:"relative"},r)},Y.createElement(Hr,Object.assign({},i,{type:n?"text":"password",ref:t,css:{pr:"$sizes$2"}})),Y.createElement(Ge,{appearance:"simple",theme:"neutral",css:{bottom:0,position:"absolute",right:0},label:n?o:a,onClick:()=>s((e=>!e)),onMouseDown:e=>e.preventDefault(),size:"lg"},Y.createElement(He,{is:n?Z.Eye:Z.EyeCrossed,css:{size:20}})))}));ao.displayName="PasswordInput";const io=e=>{let{css:t={},label:r="Password",name:o,prompt:a,description:i,validation:n}=e,s=P(e,k);const{register:l}=te.useFormContext(),{error:d}=pr(o),c=n?l(n):l;return Y.createElement(tr,{css:L({},t,{position:"relative"}),description:i,error:d,fieldId:o,label:r,prompt:a,required:Boolean(null==n?void 0:n.required)},Y.createElement(ao,Object.assign({autoComplete:"current-password",name:o,id:o,ref:c},s)))};io.displayName="PasswordField";const no=qe(me.Content,{bg:"white",borderRadius:"$1",boxShadow:"$2",maxWidth:"90vw",p:"$sizes$2",pr:"$6",position:"relative","@allowMotion":{animationDuration:"75ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",'&[data-state="open"]':{'&[data-side="top"]':{animationName:et},'&[data-side="right"]':{animationName:tt},'&[data-side="bottom"]':{animationName:Qe},'&[data-side="left"]':{animationName:Ze}}},variants:{size:{sm:{maxWidth:"200px"},md:{maxWidth:"400px"},lg:{maxWidth:"600px"}}}}),so=qe(me.Arrow,{fill:"white",zIndex:1,'[data-align="end"] &':{mr:"$sizes$2"},'[data-align="start"] &':{ml:"$sizes$2"}});qe(me.Root,{});const lo=e=>Y.createElement(me.Root,Object.assign({},e));lo.Content=e=>{let{children:t,side:r="top",sideOffset:o=8,closePopoverText:a="Close popover",size:i="md"}=e,n=P(e,S);return Y.createElement(no,Object.assign({size:i,side:r,sideOffset:o},n),Y.createElement(Ge,{as:me.Close,css:{position:"absolute",right:"$0",top:"$0"},label:a,size:"lg",theme:"neutral"},Y.createElement(He,{is:Z.Close})),t,Y.createElement(so,{width:16,height:8}))},lo.Trigger=me.Trigger,lo.displayName="Popover";const co=qe(pe.Root,{borderRadius:"$round",background:"$tonal100",height:"$0",position:"relative",overflow:"hidden",width:"100%",variants:{theme:{primary:{color:"$primary"},success:{color:"$success"},warning:{color:"$warning"},danger:{color:"$danger"}}}}),mo=qe(pe.Indicator,{backgroundColor:"currentcolor",borderRadius:"$round",boxSizing:"border-box",height:"100%",position:"absolute",transition:"all 300ms ease-out"}),po=e=>{let{value:t,theme:r="primary"}=e,o=P(e,O);return Y.createElement(co,Object.assign({theme:r},o),Y.createElement(mo,{style:{width:`${t}%`}}))};po.displayName="ProgressBar";const uo=qe(re.Item,{alignItems:"center",bg:"white",border:"1px solid $tonal200",borderRadius:"$0",cursor:"pointer",display:"flex",textAlign:"left",'&[data-state="checked"]':{outline:"2px solid $primary",outlineOffset:"-2px"},variants:{align:{left:{flexDirection:"row"},right:{flexDirection:"row-reverse"}},size:{md:{px:"$4",py:"$3"},lg:{px:"$5",py:"$4"}},isFullWidth:{true:{width:"100%"},false:{width:"max-content"}}}}),ho=qe("div",{alignItems:"center",appearance:"none",backgroundColor:"transparent",border:"1px solid $tonal500",borderRadius:"$round",display:"flex",flexShrink:0,justifyContent:"center",p:0,size:"$1",transition:"all 50ms ease-out",'[data-state="checked"] &':{backgroundColor:"$primary",borderColor:"$primary"},variants:{containerIsFullWidth:{true:{},false:{}},align:{left:{mr:"$4"},right:{}}},compoundVariants:[{containerIsFullWidth:!0,align:"right",css:{ml:"auto"}},{containerIsFullWidth:!1,align:"right",css:{ml:"$4"}}]}),go=qe(re.Indicator,{backgroundColor:"white",borderRadius:"$round",position:"absolute",size:"6px"}),bo=e=>{let{children:t,isFullWidth:r=!1,size:o="md",align:a="left"}=e,i=P(e,j);return Y.createElement(uo,Object.assign({},i,{align:a,isFullWidth:r,size:o}),Y.createElement(ho,{align:a,containerIsFullWidth:r},Y.createElement(go,null)),Y.createElement(Xe,null,t))},$o=e=>{let{css:t,label:r,value:o}=e,a=P(e,R);return Y.createElement(nr,{css:t,label:r},Y.createElement(ar,Object.assign({value:o},a)))};$o.displayName="RadioField";const fo=qe("fieldset",{all:"unset"}),xo=({children:e,css:t,direction:r="column",defaultValue:o,description:a,label:i,name:n,validation:s})=>{const{control:l}=te.useFormContext(),{error:d}=pr(n);return Y.createElement(fo,{css:t},Y.createElement(Xt,{as:"legend",css:{p:0,mb:"$3"},required:Boolean(null==s?void 0:s.required)},i),a&&Y.createElement(er,{css:{mb:"$3"}},a),Y.createElement(te.Controller,{control:l,name:n,rules:s,defaultValue:o,render:({onChange:t,value:a})=>Y.createElement(ir,{direction:r,defaultValue:o,onValueChange:t,value:a},e)}),d&&Y.createElement(Zt,{css:{mt:"$2"}},d))};xo.Item=$o,xo.displayName="RadioButtonField";const yo=e=>{let{size:t,css:r}=e,o=P(e,N);return Y.createElement(Xe,{css:L({position:"relative"},r)},Y.createElement(Y.Fragment,null,Y.createElement(He,{is:Z.Search,css:{color:"$tonal300",pointerEvents:"none",position:"absolute",size:"sm"===t?"$1":20,top:"sm"===t?"$2":10,left:"sm"===t?"$2":10}}),Y.createElement(Hr,Object.assign({size:t,css:{pl:"sm"===t?"$5":"$6"}},o,{type:"search"}))))};yo.displayName="SearchInput";const vo=qe("select",{appearance:"none",backgroundColor:"white",backgroundImage:Je(Ae.colors.tonal300.value,"chevron"),backgroundRepeat:"no-repeat, repeat",border:"1px solid $tonal300",borderRadius:"$0",color:"$tonal600",display:"block",fontFamily:"$body",fontWeight:400,lineHeight:1.4,transition:"all 75ms ease-out",width:"100%","&:hover":{cursor:"pointer"},"&:focus":{borderColor:"$primary",outline:"none"},"&::-ms-expand":{display:"none"},"&[disabled], > option[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},variants:{size:{sm:{backgroundPosition:"right $space$2 top 50%, 0 0",backgroundSize:"18px auto, 100%",fontSize:"$sm",height:"$3",pl:"$2",pr:"$5"},md:{backgroundPosition:"right $space$3 top 50%, 0 0",backgroundSize:"20px auto, 100%",fontSize:"$md",height:"$4",pl:"$3",pr:"$6"}},state:{error:{border:"1px solid $danger"}}}}),wo=Y.forwardRef(((e,t)=>{let{placeholder:r,children:o,size:a="md"}=e,i=P(e,T);return Y.createElement(vo,Object.assign({size:a,defaultValue:""},i,{ref:t}),r&&Y.createElement("option",{disabled:!0,hidden:!0,value:""},r),o)}));wo.displayName="Select";const Eo=e=>{let{css:t,children:r,name:o,label:a,validation:i,prompt:n,description:s}=e,l=P(e,D);const{register:d}=te.useFormContext(),{error:c}=pr(o),m=i?d(i):d;return Y.createElement(tr,{css:t,description:s,error:c,fieldId:o,label:a,prompt:n,required:Boolean(null==i?void 0:i.required)},Y.createElement(wo,Object.assign({name:o,id:o},l,{ref:m},c&&{state:"error"}),r))};Eo.displayName="SelectField";const zo=qe(ue.Root,{appearance:"none",backgroundColor:"$tonal200",border:"none",borderRadius:"$round",cursor:"pointer",display:"flex",overflow:"hidden",p:"$0",position:"relative",transition:"all 50ms ease-out",width:"$4","&:hover":{backgroundColor:"$tonal300"},"&:focus":{outline:"2px solid $primary",outlineOffset:"1px"},'&[data-state="checked"]':{backgroundColor:"$primary"},'&[data-state="checked"]:hover':{backgroundColor:"$primaryMid"}}),Co=qe(ue.Thumb,{backgroundColor:"white",borderRadius:"$round",display:"block",size:"$1",transition:"transform 50ms",willChange:"transform",'&[data-state="checked"]':{transform:"translateX(calc($sizes$2 - $space$1))"}}),ko=e=>Y.createElement(zo,Object.assign({},e),Y.createElement(Co,null));ko.displayName="Switch";const So=qe("tbody",{});So.displayName="TableBody";const Oo=qe("td",{borderBottom:"1px solid $tonal100",boxSizing:"border-box",color:"$tonal400",fontFamily:"$body",lineHeight:1.5,p:"$2 $3",textAlign:"left",verticalAlign:"middle","tr:nth-child(even) &":{bg:"$tonal50"}});Oo.displayName="TableCell";const jo=qe("tfoot",{});jo.displayName="TableFooter";const Fo=qe("td",{color:"$tonal400",fontFamily:"$body",fontWeight:600,p:"$2 $3",textAlign:"left",verticalAlign:"middle"});Fo.displayName="TableFooterCell";const Ro=qe("thead",{});Ro.displayName="TableHeader";const No=qe("th",{bg:"$primaryDark",color:"white",fontFamily:"$body",fontWeight:600,lineHeight:1.5,p:"$2 $3",textAlign:"left",verticalAlign:"middle","&:first-of-type":{borderTopLeftRadius:"$0",borderBottomLeftRadius:"$0"},"&:last-of-type":{borderTopRightRadius:"$0",borderBottomRightRadius:"$0"}});No.displayName="TableHeaderCell";const To=qe("tr",{});To.displayName="TableRow";const Do=qe("table",{borderCollapse:"collapse",fontFamily:"$sans",fontSize:"$sm",width:"100%",variants:{size:{md:{[`${Oo}`]:{height:"$4"}},lg:{[`${Oo}`]:{height:"$5"}}}}}),Io=e=>{let{size:t="md"}=e,r=P(e,I);return Y.createElement(Do,Object.assign({size:t},r))};Io.Body=So,Io.Cell=Oo,Io.Footer=jo,Io.FooterCell=Fo,Io.Header=Ro,Io.HeaderCell=No,Io.Row=To,Io.displayName="Table";const Wo=qe(he.Trigger,{color:"$secondary",cursor:"pointer",flexShrink:0,fontFamily:"$body",p:"$4",userSelect:"none","&:hover":{color:"$primary"},"&[data-disabled],&[data-disabled]:hover":{color:"$tonal300",cursor:"default"},'&[data-state="active"]':{color:"$primary",fontWeight:"bold",boxShadow:"inset 0 -3px 0 0 currentColor"}}),Mo=e=>{let{children:t,disabled:r=!1,css:o}=e,a=P(e,W);return Y.createElement(Wo,Object.assign({css:o,disabled:r},a),t)};Mo.displayName="TabTrigger";const qo=qe(he.Root,{display:"flex",flexDirection:"column"}),Ao=qe(he.Content,{flexGrow:1}),Bo=qe(he.List,{flexShrink:0,display:"flex",borderBottom:"1px solid $primaryDark"}),Ho=e=>{let{children:t}=e,r=P(e,M);return Y.createElement(qo,Object.assign({},r),t)};Ho.TriggerList=Bo,Ho.Trigger=Mo,Ho.Content=Ao,Ho.displayName="Tabs";const Lo=qe("textarea",{boxShadow:"none",fontSize:"$md",appearance:"none",border:"1px solid $tonal400",borderRadius:"$0",boxSizing:"border-box",color:"$tonal600",fontFamily:"$body",fontWeight:400,lineHeight:1.4,minHeight:"$7",px:"$3",py:"calc($2 + $1)",resize:"vertical",transition:"all 75ms ease-out",width:"100%","&:focus":{borderColor:"$primary",outline:"none"},"&[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},"&::placeholder":{color:"$tonal300",opacity:1},variants:{state:{error:{border:"1px solid $danger"}}}}),Po=Y.forwardRef(((e,t)=>Y.createElement(Lo,Object.assign({},e,{ref:t}))));Po.displayName="Textarea";const Vo=e=>{let{css:t,label:r,name:o,validation:a,prompt:i,description:n}=e,s=P(e,q);const{register:l}=te.useFormContext(),{error:d}=pr(o),c=a?l(a):l;return Y.createElement(tr,{css:t,description:n,error:d,fieldId:o,label:r,prompt:i,required:Boolean(null==a?void 0:a.required)},Y.createElement(Po,Object.assign({id:o,name:o,ref:c},d&&{state:"error"},s)))};Vo.displayName="TextareaField";const Yo=qe("div",{position:"absolute",width:"100%",variants:{visible:{true:{"@allowMotion":{animation:`${Me({"0%":{transform:"translate3d(0,-100%,0)",opacity:0},"100%":{transform:"translate3d(0,0,0)",opacity:1}})} 250ms cubic-bezier(0.22, 1, 0.36, 1)`}},false:{opacity:0,"@allowMotion":{animation:`${Me({"0%":{transform:"translate3d(0,0,0)",opacity:1},"100%":{transform:"translate3d(0,-100%,0)",opacity:0}})} 250ms cubic-bezier(0.22, 1, 0.36, 1)`}}}}}),Go=qe("div",{alignItems:"center",borderRadius:"$0",boxShadow:"$1",boxSizing:"border-box",color:"white",display:"flex",minHeight:"$5",pl:"$4",position:"relative",pr:"$6",py:"$4",transition:"background-color 50ms ease-out",width:"100%","@sm":{width:400},"@allowMotion":{transition:"background-color 50ms ease-out, transform 150ms ease-out"},variants:{status:{blank:{bg:"$primary"},error:{bg:"$danger"},loading:{bg:"$primary"},success:{bg:"$success"}}}}),Xo=Y.memo((({ariaLive:e,height:t,id:r,message:o,role:a,type:i="blank",visible:n,calculateOffset:s,updateHeight:l})=>{const d=s(r,{reverseOrder:!0,margin:8});return Y.createElement(Yo,{visible:n},Y.createElement(Go,{ref:e=>{e&&void 0===t&&l(r,e.getBoundingClientRect().height)},status:i,role:a,"aria-live":e,style:{transform:`translateY(${d}px)`}},"error"===i&&Y.createElement(He,{size:"sm",css:{mr:"$3",flex:"0 0 auto"},is:Z.Error}),Y.createElement(Ot,{css:{color:"inherit"}},o),"loading"===i?Y.createElement(pt,{css:{flex:"0 0 auto",ml:"auto"}}):Y.createElement(Ge,{css:{position:"absolute",top:"$2",right:"$2",color:"white","&:hover,&:focus":{color:"white",opacity:.5}},label:"Close alert",onClick:()=>ge.toast.dismiss(r)},Y.createElement(He,{is:Z.Close}))))})),_o=qe("div",{left:"$2",position:"fixed",top:"$2",right:"$2",zIndex:2147483647,"@sm":{top:"$3",right:"auto",left:"calc(50% - 200px)"}}),Uo=({children:e})=>{const{toasts:t,handlers:r}=ge.useToaster(),{startPause:o,endPause:a,calculateOffset:i,updateHeight:n}=r;return Y.createElement(Y.Fragment,null,Y.createElement(_o,{onMouseEnter:o,onMouseLeave:a},t.map((e=>Y.createElement(Xo,Object.assign({key:e.id,calculateOffset:i,updateHeight:n},e))))),e)};Uo.displayName="ToastProvider";const Ko=qe(be.Content,{backgroundColor:"$tonal500",borderRadius:"$0",boxShadow:"$0",color:"white",fontFamily:"$body",fontSize:"$sm",lineHeight:1.5,px:"$3",py:"$2","@allowMotion":{animationDuration:"75ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",'&[data-state="delayed-open"]':{'&[data-side="top"]':{animationName:et},'&[data-side="right"]':{animationName:tt},'&[data-side="bottom"]':{animationName:Qe},'&[data-side="left"]':{animationName:Ze}}},variants:{size:{sm:{maxWidth:"100px"},md:{maxWidth:"250px"},lg:{maxWidth:"400px"}}}}),Jo=qe(be.Arrow,{fill:"$tonal500",'[data-align="end"] &':{mr:"$2"},'[data-align="start"] &':{ml:"$2"}}),Qo=e=>{let{children:t,delayDuration:r=350}=e,o=P(e,B);return Y.createElement(be.Root,Object.assign({delayDuration:r},o),t)};Qo.Content=e=>{let{children:t,side:r="top",sideOffset:o=4,size:a="md"}=e,i=P(e,A);return Y.createElement(Ko,Object.assign({side:r,sideOffset:o,size:a},i),t,Y.createElement(Jo,null))},Qo.Trigger=qe(be.Trigger,{}),Qo.displayName="Tooltip";const Zo=qe(je.default,{}),ea=e=>{let{id:t,ratio:r=9/16,css:o}=e,a=P(e,H);return Y.createElement(_e,{css:o},Y.createElement(Xe,{css:{borderRadius:"$0",position:"relative",paddingTop:100*r+"%",overflow:"hidden",height:0,width:"100%"}},Y.createElement(Zo,Object.assign({},a,{role:"figure",url:`https://player.vimeo.com/video/${t}`,height:"100%",width:"100%",css:{position:"absolute",top:0,left:0}}))))};ea.displayName="Video",Object.defineProperty(exports,"toast",{enumerable:!0,get:function(){return Oe.default}}),exports.ActionIcon=Ge,exports.AlertDialog=dt,exports.AlertProvider=({children:e})=>{const[t,r]=Y.useReducer(Rt,Ft),o=(()=>{const e=Y.useRef();return Y.useEffect((()=>(e.current=!0,()=>{e.current=!1}))),e})();return Y.createElement(Nt.Provider,{value:{showAlert:e=>r({payload:e,type:"ADD"})}},Boolean(t.length)&&Y.createElement(jt,Object.assign({},t[0],{key:t[0].id,onClose:()=>{o.current&&r({payload:t[0].id,type:"REMOVE"})}})),e)},exports.Box=Xe,exports.Button=vt,exports.Carousel=At,exports.Checkbox=Lt,exports.CheckboxField=hr,exports.Combobox=yr,exports.Dialog=Sr,exports.Divider=jr,exports.DropdownMenu=Wr,exports.FieldWrapper=tr,exports.Flex=ct,exports.Form=mr,exports.Grid=qr,exports.Heading=Et,exports.Icon=He,exports.Image=Ar,exports.InlineFieldWrapper=nr,exports.Input=Hr,exports.InputField=Lr,exports.Label=Xt,exports.Link=Qt,exports.List=Kt,exports.Loader=pt,exports.MarkdownContent=oo,exports.PasswordField=io,exports.PasswordInput=ao,exports.Popover=lo,exports.ProgressBar=po,exports.RadioButton=ar,exports.RadioButtonField=xo,exports.RadioButtonGroup=ir,exports.RadioCard=bo,exports.RadioCardGroup=e=>{let{css:t,children:r,size:o,isFullWidth:a,align:i,gap:n="3",justify:s}=e,l=P(e,F);return Y.createElement(re.Root,Object.assign({},l),Y.createElement(Ct,{direction:"row",justify:s,gap:n,css:t},Y.Children.map(r,(e=>Y.isValidElement(e)&&(null==e?void 0:e.type)===bo?Y.cloneElement(e,{size:o,isFullWidth:a,align:i}):e))))},exports.SearchInput=yo,exports.Select=wo,exports.SelectField=Eo,exports.Stack=Ct,exports.StackContent=eo,exports.StyledButton=ht,exports.StyledLink=Jt,exports.Switch=ko,exports.Table=Io,exports.Tabs=Ho,exports.Text=Ot,exports.Textarea=Po,exports.TextareaField=Vo,exports.ToastProvider=Uo,exports.Tooltip=Qo,exports.ValidationError=Zt,exports.Video=ea,exports.createTheme=Ie,exports.css=Te,exports.getCssText=De,exports.globalCss=We,exports.keyframes=Me,exports.media=Re,exports.styled=qe,exports.theme=Ae,exports.useAlert=()=>{const e=Y.useContext(Nt);if(void 0===e)throw new Error("useAlert must be used within a AlertProvider");return e},exports.utils=Fe;
|