@nearform/quantum 1.9.4 → 1.10.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.
Files changed (383) hide show
  1. package/dist/animations/index.js.map +1 -1
  2. package/dist/assets/build/open-source.icon.js.map +1 -1
  3. package/dist/assets/index.d.ts +1 -1
  4. package/dist/assets/index.js +1 -1
  5. package/dist/assets/index.js.map +1 -1
  6. package/dist/colors/index.js.map +1 -1
  7. package/dist/components/Accordion/index.d.ts +2 -2
  8. package/dist/components/Accordion/index.js +7 -7
  9. package/dist/components/Accordion/index.js.map +1 -1
  10. package/dist/components/AppHeader/index.js +8 -8
  11. package/dist/components/AppHeader/index.js.map +1 -1
  12. package/dist/components/Avatar/index.d.ts +3 -3
  13. package/dist/components/Avatar/index.js +3 -3
  14. package/dist/components/Avatar/index.js.map +1 -1
  15. package/dist/components/BackLink/index.d.ts +2 -2
  16. package/dist/components/BackLink/index.js +3 -3
  17. package/dist/components/BackLink/index.js.map +1 -1
  18. package/dist/components/Badge/index.d.ts +3 -3
  19. package/dist/components/Badge/index.js +2 -2
  20. package/dist/components/Badge/index.js.map +1 -1
  21. package/dist/components/Breadcrumb/index.d.ts +1 -1
  22. package/dist/components/Breadcrumb/index.js +7 -7
  23. package/dist/components/Breadcrumb/index.js.map +1 -1
  24. package/dist/components/Button/index.d.ts +3 -3
  25. package/dist/components/Button/index.js +3 -3
  26. package/dist/components/Button/index.js.map +1 -1
  27. package/dist/components/ButtonGroup/index.d.ts +2 -2
  28. package/dist/components/ButtonGroup/index.js +2 -2
  29. package/dist/components/ButtonGroup/index.js.map +1 -1
  30. package/dist/components/Calendar/index.js +5 -5
  31. package/dist/components/Calendar/index.js.map +1 -1
  32. package/dist/components/Card/index.d.ts +4 -4
  33. package/dist/components/Card/index.js +10 -10
  34. package/dist/components/Card/index.js.map +1 -1
  35. package/dist/components/Chat/index.d.ts +1 -1
  36. package/dist/components/Chat/index.js +8 -8
  37. package/dist/components/Chat/index.js.map +1 -1
  38. package/dist/components/Checkbox/index.js +3 -3
  39. package/dist/components/Checkbox/index.js.map +1 -1
  40. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  41. package/dist/components/CheckboxGroup/CheckboxGroup.js +3 -3
  42. package/dist/components/CheckboxGroup/CheckboxGroup.js.map +1 -1
  43. package/dist/components/CheckboxGroup/CheckboxGroupItem.d.ts +1 -1
  44. package/dist/components/CheckboxGroup/CheckboxGroupItem.js +7 -7
  45. package/dist/components/CheckboxGroup/CheckboxGroupItem.js.map +1 -1
  46. package/dist/components/CheckboxGroup/index.d.ts +2 -2
  47. package/dist/components/CheckboxGroup/index.js +5 -5
  48. package/dist/components/CheckboxGroup/index.js.map +1 -1
  49. package/dist/components/Chip/index.d.ts +2 -2
  50. package/dist/components/Chip/index.js +3 -3
  51. package/dist/components/Chip/index.js.map +1 -1
  52. package/dist/components/CodeBlock/index.js +2 -2
  53. package/dist/components/CodeBlock/index.js.map +1 -1
  54. package/dist/components/ControlLabel/index.d.ts +3 -3
  55. package/dist/components/ControlLabel/index.js +4 -4
  56. package/dist/components/ControlLabel/index.js.map +1 -1
  57. package/dist/components/DateInput/index.js +5 -5
  58. package/dist/components/DateInput/index.js.map +1 -1
  59. package/dist/components/DocsList/index.js +9 -9
  60. package/dist/components/DocsList/index.js.map +1 -1
  61. package/dist/components/FormGroup/index.d.ts +1 -1
  62. package/dist/components/FormGroup/index.js +16 -19
  63. package/dist/components/FormGroup/index.js.map +1 -1
  64. package/dist/components/HeroButton/index.d.ts +2 -2
  65. package/dist/components/HeroButton/index.js +3 -3
  66. package/dist/components/HeroButton/index.js.map +1 -1
  67. package/dist/components/IconButton/index.d.ts +3 -3
  68. package/dist/components/IconButton/index.js +3 -3
  69. package/dist/components/IconButton/index.js.map +1 -1
  70. package/dist/components/Input/index.d.ts +3 -3
  71. package/dist/components/Input/index.js +5 -5
  72. package/dist/components/Input/index.js.map +1 -1
  73. package/dist/components/Label/index.d.ts +2 -2
  74. package/dist/components/Label/index.js +3 -3
  75. package/dist/components/Label/index.js.map +1 -1
  76. package/dist/components/Link/index.d.ts +3 -3
  77. package/dist/components/Link/index.js +2 -2
  78. package/dist/components/Link/index.js.map +1 -1
  79. package/dist/components/Meter/index.js +5 -5
  80. package/dist/components/Meter/index.js.map +1 -1
  81. package/dist/components/Modal/index.d.ts +12 -12
  82. package/dist/components/Modal/index.js +9 -9
  83. package/dist/components/Modal/index.js.map +1 -1
  84. package/dist/components/Navigation/index.js +3 -3
  85. package/dist/components/Navigation/index.js.map +1 -1
  86. package/dist/components/Notice/index.d.ts +2 -2
  87. package/dist/components/Notice/index.js +9 -9
  88. package/dist/components/Notice/index.js.map +1 -1
  89. package/dist/components/PageHeader/index.d.ts +2 -2
  90. package/dist/components/PageHeader/index.js +4 -4
  91. package/dist/components/PageHeader/index.js.map +1 -1
  92. package/dist/components/Pagination/index.d.ts +1 -1
  93. package/dist/components/Pagination/index.js +3 -3
  94. package/dist/components/Pagination/index.js.map +1 -1
  95. package/dist/components/Password/index.js +4 -4
  96. package/dist/components/Password/index.js.map +1 -1
  97. package/dist/components/Popover/index.d.ts +1 -1
  98. package/dist/components/Popover/index.js +6 -6
  99. package/dist/components/Popover/index.js.map +1 -1
  100. package/dist/components/Radio/RadioGroup.js +3 -3
  101. package/dist/components/Radio/RadioGroup.js.map +1 -1
  102. package/dist/components/Radio/RadioGroupItem.js +6 -6
  103. package/dist/components/Radio/RadioGroupItem.js.map +1 -1
  104. package/dist/components/Radio/index.d.ts +2 -2
  105. package/dist/components/Radio/index.js +4 -4
  106. package/dist/components/Radio/index.js.map +1 -1
  107. package/dist/components/Select/index.d.ts +3 -3
  108. package/dist/components/Select/index.js +8 -8
  109. package/dist/components/Select/index.js.map +1 -1
  110. package/dist/components/Slider/index.d.ts +1 -1
  111. package/dist/components/Slider/index.js +6 -6
  112. package/dist/components/Slider/index.js.map +1 -1
  113. package/dist/components/SortAndShow/index.js +5 -5
  114. package/dist/components/SortAndShow/index.js.map +1 -1
  115. package/dist/components/SplitButton/index.d.ts +3 -3
  116. package/dist/components/SplitButton/index.js +6 -6
  117. package/dist/components/SplitButton/index.js.map +1 -1
  118. package/dist/components/Stats/index.d.ts +1 -1
  119. package/dist/components/Stats/index.js +3 -3
  120. package/dist/components/Stats/index.js.map +1 -1
  121. package/dist/components/Stepper/index.js +7 -7
  122. package/dist/components/Stepper/index.js.map +1 -1
  123. package/dist/components/StepsIndicator/Step.js +3 -3
  124. package/dist/components/StepsIndicator/Step.js.map +1 -1
  125. package/dist/components/StepsIndicator/StepsIndicator.js +4 -4
  126. package/dist/components/StepsIndicator/StepsIndicator.js.map +1 -1
  127. package/dist/components/StepsIndicator/index.d.ts +2 -2
  128. package/dist/components/StepsIndicator/index.js +2 -2
  129. package/dist/components/StepsIndicator/index.js.map +1 -1
  130. package/dist/components/Subnav/index.js +5 -5
  131. package/dist/components/Subnav/index.js.map +1 -1
  132. package/dist/components/Switch/index.js +2 -2
  133. package/dist/components/Switch/index.js.map +1 -1
  134. package/dist/components/Table/index.d.ts +2 -2
  135. package/dist/components/Table/index.js +17 -17
  136. package/dist/components/Table/index.js.map +1 -1
  137. package/dist/components/Tabs/index.d.ts +4 -4
  138. package/dist/components/Tabs/index.js +5 -5
  139. package/dist/components/Tabs/index.js.map +1 -1
  140. package/dist/components/Textarea/index.d.ts +2 -2
  141. package/dist/components/Textarea/index.js +2 -2
  142. package/dist/components/Textarea/index.js.map +1 -1
  143. package/dist/components/ThemeToggle/index.d.ts +1 -1
  144. package/dist/components/ThemeToggle/index.js +2 -2
  145. package/dist/components/ThemeToggle/index.js.map +1 -1
  146. package/dist/components/Toast/index.d.ts +2 -2
  147. package/dist/components/Toast/index.js +12 -12
  148. package/dist/components/Toast/index.js.map +1 -1
  149. package/dist/components/ToggleList/index.d.ts +1 -1
  150. package/dist/components/ToggleList/index.js +6 -6
  151. package/dist/components/ToggleList/index.js.map +1 -1
  152. package/dist/components/Tooltip/index.js +2 -2
  153. package/dist/components/Tooltip/index.js.map +1 -1
  154. package/dist/components/WebsiteFooter/index.d.ts +4 -4
  155. package/dist/components/WebsiteFooter/index.js +5 -5
  156. package/dist/components/WebsiteFooter/index.js.map +1 -1
  157. package/dist/components/WebsiteHeader/index.js +8 -8
  158. package/dist/components/WebsiteHeader/index.js.map +1 -1
  159. package/dist/components/choice-group.d.ts +3 -3
  160. package/dist/components/choice-group.js +7 -7
  161. package/dist/components/choice-group.js.map +1 -1
  162. package/dist/components/index.d.ts +51 -51
  163. package/dist/components/index.js +51 -51
  164. package/dist/components/index.js.map +1 -1
  165. package/dist/esm/animations/index.d.ts +25 -0
  166. package/dist/esm/assets/build/open-source.icon.d.ts +2 -0
  167. package/dist/esm/assets/build/open-source.icon.js +3 -0
  168. package/dist/esm/assets/build/open-source.icon.js.map +1 -0
  169. package/dist/esm/assets/index.d.ts +13 -0
  170. package/dist/esm/assets/index.js +13 -0
  171. package/dist/esm/assets/index.js.map +1 -0
  172. package/dist/esm/colors/accent.d.ts +16 -0
  173. package/dist/esm/colors/accent.js +1 -1
  174. package/dist/esm/colors/background.d.ts +36 -0
  175. package/dist/esm/colors/background.js +1 -1
  176. package/dist/esm/colors/base.d.ts +136 -0
  177. package/dist/esm/colors/border.d.ts +16 -0
  178. package/dist/esm/colors/border.js +1 -1
  179. package/dist/esm/colors/button.d.ts +106 -0
  180. package/dist/esm/colors/button.js +5 -5
  181. package/dist/esm/colors/feedback.d.ts +27 -0
  182. package/dist/esm/colors/feedback.js +1 -1
  183. package/dist/esm/colors/foreground.d.ts +35 -0
  184. package/dist/esm/colors/foreground.js +1 -1
  185. package/dist/esm/colors/index.d.ts +351 -0
  186. package/dist/esm/colors/index.js +7 -7
  187. package/dist/esm/components/Accordion/index.d.ts +16 -0
  188. package/dist/esm/components/Accordion/index.js +58 -0
  189. package/dist/esm/components/Accordion/index.js.map +1 -0
  190. package/dist/esm/components/AppHeader/index.d.ts +21 -0
  191. package/dist/esm/components/AppHeader/index.js +56 -0
  192. package/dist/esm/components/AppHeader/index.js.map +1 -0
  193. package/dist/esm/components/Avatar/index.d.ts +32 -0
  194. package/dist/esm/components/Avatar/index.js +110 -0
  195. package/dist/esm/components/Avatar/index.js.map +1 -0
  196. package/dist/esm/components/BackLink/index.d.ts +9 -0
  197. package/dist/esm/components/BackLink/index.js +43 -0
  198. package/dist/esm/components/BackLink/index.js.map +1 -0
  199. package/dist/esm/components/Badge/index.d.ts +48 -0
  200. package/dist/esm/components/Badge/index.js +154 -0
  201. package/dist/esm/components/Badge/index.js.map +1 -0
  202. package/dist/esm/components/Breadcrumb/index.d.ts +13 -0
  203. package/dist/esm/components/Breadcrumb/index.js +49 -0
  204. package/dist/esm/components/Breadcrumb/index.js.map +1 -0
  205. package/dist/esm/components/Button/index.d.ts +17 -0
  206. package/dist/esm/components/Button/index.js +167 -0
  207. package/dist/esm/components/Button/index.js.map +1 -0
  208. package/dist/esm/components/ButtonGroup/index.d.ts +11 -0
  209. package/dist/esm/components/ButtonGroup/index.js +96 -0
  210. package/dist/esm/components/ButtonGroup/index.js.map +1 -0
  211. package/dist/esm/components/Calendar/index.d.ts +8 -0
  212. package/dist/esm/components/Calendar/index.js +144 -0
  213. package/dist/esm/components/Calendar/index.js.map +1 -0
  214. package/dist/esm/components/Card/index.d.ts +28 -0
  215. package/dist/esm/components/Card/index.js +114 -0
  216. package/dist/esm/components/Card/index.js.map +1 -0
  217. package/dist/esm/components/Chat/index.d.ts +39 -0
  218. package/dist/esm/components/Chat/index.js +91 -0
  219. package/dist/esm/components/Chat/index.js.map +1 -0
  220. package/dist/esm/components/Checkbox/index.d.ts +5 -0
  221. package/dist/esm/components/Checkbox/index.js +92 -0
  222. package/dist/esm/components/Checkbox/index.js.map +1 -0
  223. package/dist/esm/components/CheckboxGroup/CheckboxGroup.d.ts +61 -0
  224. package/dist/esm/components/CheckboxGroup/CheckboxGroup.js +70 -0
  225. package/dist/esm/components/CheckboxGroup/CheckboxGroup.js.map +1 -0
  226. package/dist/esm/components/CheckboxGroup/CheckboxGroupItem.d.ts +19 -0
  227. package/dist/esm/components/CheckboxGroup/CheckboxGroupItem.js +47 -0
  228. package/dist/esm/components/CheckboxGroup/CheckboxGroupItem.js.map +1 -0
  229. package/dist/esm/components/CheckboxGroup/index.d.ts +2 -0
  230. package/dist/esm/components/CheckboxGroup/index.js +3 -0
  231. package/dist/esm/components/CheckboxGroup/index.js.map +1 -0
  232. package/dist/esm/components/Chip/index.d.ts +11 -0
  233. package/dist/esm/components/Chip/index.js +99 -0
  234. package/dist/esm/components/Chip/index.js.map +1 -0
  235. package/dist/esm/components/CodeBlock/index.d.ts +7 -0
  236. package/dist/esm/components/CodeBlock/index.js +21 -0
  237. package/dist/esm/components/CodeBlock/index.js.map +1 -0
  238. package/dist/esm/components/ControlLabel/index.d.ts +13 -0
  239. package/dist/esm/components/ControlLabel/index.js +47 -0
  240. package/dist/esm/components/ControlLabel/index.js.map +1 -0
  241. package/dist/esm/components/DateInput/index.d.ts +26 -0
  242. package/dist/esm/components/DateInput/index.js +225 -0
  243. package/dist/esm/components/DateInput/index.js.map +1 -0
  244. package/dist/esm/components/DocsList/index.d.ts +18 -0
  245. package/dist/esm/components/DocsList/index.js +83 -0
  246. package/dist/esm/components/DocsList/index.js.map +1 -0
  247. package/dist/esm/components/FormGroup/index.d.ts +121 -0
  248. package/dist/esm/components/FormGroup/index.js +317 -0
  249. package/dist/esm/components/FormGroup/index.js.map +1 -0
  250. package/dist/esm/components/HeroButton/index.d.ts +17 -0
  251. package/dist/esm/components/HeroButton/index.js +102 -0
  252. package/dist/esm/components/HeroButton/index.js.map +1 -0
  253. package/dist/esm/components/IconButton/index.d.ts +77 -0
  254. package/dist/esm/components/IconButton/index.js +198 -0
  255. package/dist/esm/components/IconButton/index.js.map +1 -0
  256. package/dist/esm/components/Input/index.d.ts +27 -0
  257. package/dist/esm/components/Input/index.js +172 -0
  258. package/dist/esm/components/Input/index.js.map +1 -0
  259. package/dist/esm/components/Label/index.d.ts +12 -0
  260. package/dist/esm/components/Label/index.js +53 -0
  261. package/dist/esm/components/Label/index.js.map +1 -0
  262. package/dist/esm/components/Link/index.d.ts +13 -0
  263. package/dist/esm/components/Link/index.js +76 -0
  264. package/dist/esm/components/Link/index.js.map +1 -0
  265. package/dist/esm/components/Meter/index.d.ts +20 -0
  266. package/dist/esm/components/Meter/index.js +100 -0
  267. package/dist/esm/components/Meter/index.js.map +1 -0
  268. package/dist/esm/components/Modal/index.d.ts +26 -0
  269. package/dist/esm/components/Modal/index.js +97 -0
  270. package/dist/esm/components/Modal/index.js.map +1 -0
  271. package/dist/esm/components/Navigation/index.d.ts +8 -0
  272. package/dist/esm/components/Navigation/index.js +28 -0
  273. package/dist/esm/components/Navigation/index.js.map +1 -0
  274. package/dist/esm/components/Notice/index.d.ts +21 -0
  275. package/dist/esm/components/Notice/index.js +105 -0
  276. package/dist/esm/components/Notice/index.js.map +1 -0
  277. package/dist/esm/components/PageHeader/index.d.ts +15 -0
  278. package/dist/esm/components/PageHeader/index.js +51 -0
  279. package/dist/esm/components/PageHeader/index.js.map +1 -0
  280. package/dist/esm/components/Pagination/index.d.ts +17 -0
  281. package/dist/esm/components/Pagination/index.js +115 -0
  282. package/dist/esm/components/Pagination/index.js.map +1 -0
  283. package/dist/esm/components/Password/index.d.ts +18 -0
  284. package/dist/esm/components/Password/index.js +70 -0
  285. package/dist/esm/components/Password/index.js.map +1 -0
  286. package/dist/esm/components/Popover/index.d.ts +28 -0
  287. package/dist/esm/components/Popover/index.js +54 -0
  288. package/dist/esm/components/Popover/index.js.map +1 -0
  289. package/dist/esm/components/Radio/RadioGroup.d.ts +42 -0
  290. package/dist/esm/components/Radio/RadioGroup.js +46 -0
  291. package/dist/esm/components/Radio/RadioGroup.js.map +1 -0
  292. package/dist/esm/components/Radio/RadioGroupItem.d.ts +17 -0
  293. package/dist/esm/components/Radio/RadioGroupItem.js +81 -0
  294. package/dist/esm/components/Radio/RadioGroupItem.js.map +1 -0
  295. package/dist/esm/components/Radio/index.d.ts +2 -0
  296. package/dist/esm/components/Radio/index.js +3 -0
  297. package/dist/esm/components/Radio/index.js.map +1 -0
  298. package/dist/esm/components/Select/index.d.ts +19 -0
  299. package/dist/esm/components/Select/index.js +162 -0
  300. package/dist/esm/components/Select/index.js.map +1 -0
  301. package/dist/esm/components/Slider/index.d.ts +20 -0
  302. package/dist/esm/components/Slider/index.js +92 -0
  303. package/dist/esm/components/Slider/index.js.map +1 -0
  304. package/dist/esm/components/SortAndShow/index.d.ts +15 -0
  305. package/dist/esm/components/SortAndShow/index.js +31 -0
  306. package/dist/esm/components/SortAndShow/index.js.map +1 -0
  307. package/dist/esm/components/SplitButton/index.d.ts +25 -0
  308. package/dist/esm/components/SplitButton/index.js +184 -0
  309. package/dist/esm/components/SplitButton/index.js.map +1 -0
  310. package/dist/esm/components/Stats/index.d.ts +10 -0
  311. package/dist/esm/components/Stats/index.js +26 -0
  312. package/dist/esm/components/Stats/index.js.map +1 -0
  313. package/dist/esm/components/Stepper/index.d.ts +27 -0
  314. package/dist/esm/components/Stepper/index.js +124 -0
  315. package/dist/esm/components/Stepper/index.js.map +1 -0
  316. package/dist/esm/components/StepsIndicator/Step.d.ts +6 -0
  317. package/dist/esm/components/StepsIndicator/Step.js +21 -0
  318. package/dist/esm/components/StepsIndicator/Step.js.map +1 -0
  319. package/dist/esm/components/StepsIndicator/StepsIndicator.d.ts +12 -0
  320. package/dist/esm/components/StepsIndicator/StepsIndicator.js +31 -0
  321. package/dist/esm/components/StepsIndicator/StepsIndicator.js.map +1 -0
  322. package/dist/esm/components/StepsIndicator/index.d.ts +2 -0
  323. package/dist/esm/components/StepsIndicator/index.js +3 -0
  324. package/dist/esm/components/StepsIndicator/index.js.map +1 -0
  325. package/dist/esm/components/Subnav/index.d.ts +14 -0
  326. package/dist/esm/components/Subnav/index.js +54 -0
  327. package/dist/esm/components/Subnav/index.js.map +1 -0
  328. package/dist/esm/components/Switch/index.d.ts +4 -0
  329. package/dist/esm/components/Switch/index.js +67 -0
  330. package/dist/esm/components/Switch/index.js.map +1 -0
  331. package/dist/esm/components/Table/index.d.ts +53 -0
  332. package/dist/esm/components/Table/index.js +108 -0
  333. package/dist/esm/components/Table/index.js.map +1 -0
  334. package/dist/esm/components/Tabs/index.d.ts +16 -0
  335. package/dist/esm/components/Tabs/index.js +126 -0
  336. package/dist/esm/components/Tabs/index.js.map +1 -0
  337. package/dist/esm/components/Textarea/index.d.ts +13 -0
  338. package/dist/esm/components/Textarea/index.js +89 -0
  339. package/dist/esm/components/Textarea/index.js.map +1 -0
  340. package/dist/esm/components/ThemeToggle/index.d.ts +9 -0
  341. package/dist/esm/components/ThemeToggle/index.js +90 -0
  342. package/dist/esm/components/ThemeToggle/index.js.map +1 -0
  343. package/dist/esm/components/Toast/index.d.ts +24 -0
  344. package/dist/esm/components/Toast/index.js +129 -0
  345. package/dist/esm/components/Toast/index.js.map +1 -0
  346. package/dist/esm/components/ToggleList/index.d.ts +20 -0
  347. package/dist/esm/components/ToggleList/index.js +31 -0
  348. package/dist/esm/components/ToggleList/index.js.map +1 -0
  349. package/dist/esm/components/Tooltip/index.d.ts +11 -0
  350. package/dist/esm/components/Tooltip/index.js +30 -0
  351. package/dist/esm/components/Tooltip/index.js.map +1 -0
  352. package/dist/esm/components/WebsiteFooter/index.d.ts +23 -0
  353. package/dist/esm/components/WebsiteFooter/index.js +104 -0
  354. package/dist/esm/components/WebsiteFooter/index.js.map +1 -0
  355. package/dist/esm/components/WebsiteHeader/index.d.ts +21 -0
  356. package/dist/esm/components/WebsiteHeader/index.js +56 -0
  357. package/dist/esm/components/WebsiteHeader/index.js.map +1 -0
  358. package/dist/esm/components/choice-group.d.ts +109 -0
  359. package/dist/esm/components/choice-group.js +159 -0
  360. package/dist/esm/components/choice-group.js.map +1 -0
  361. package/dist/esm/components/index.d.ts +51 -0
  362. package/dist/esm/components/index.js +52 -0
  363. package/dist/esm/components/index.js.map +1 -0
  364. package/dist/esm/index.d.ts +3 -0
  365. package/dist/esm/index.js +4 -0
  366. package/dist/esm/index.js.map +1 -0
  367. package/dist/esm/lib/utils.d.ts +16 -0
  368. package/dist/esm/lib/utils.js +18 -0
  369. package/dist/esm/lib/utils.js.map +1 -0
  370. package/dist/esm/tailwind-base.d.ts +37 -0
  371. package/dist/esm/tailwind-plugin.d.ts +22 -0
  372. package/dist/esm/tailwind-plugin.js +2 -2
  373. package/dist/esm/theme.d.ts +421 -0
  374. package/dist/esm/theme.js +2 -2
  375. package/dist/index.d.ts +3 -3
  376. package/dist/index.js +4 -4
  377. package/dist/index.js.map +1 -1
  378. package/dist/lib/utils.d.ts +1 -1
  379. package/dist/lib/utils.js.map +1 -1
  380. package/dist/tailwind-base.js.map +1 -1
  381. package/dist/tailwind-plugin.js.map +1 -1
  382. package/dist/theme.js.map +1 -1
  383. package/package.json +27 -16
@@ -0,0 +1,30 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
4
+ import { cn } from '../../lib/utils.js';
5
+ import { cva } from 'class-variance-authority';
6
+ const tooltipVariants = cva([
7
+ [
8
+ 'fill-accent',
9
+ 'bg-accent',
10
+ 'z-50',
11
+ 'overflow-hidden',
12
+ 'rounded',
13
+ 'p-2',
14
+ 'text-xs',
15
+ 'text-center',
16
+ 'text-foreground-inverse',
17
+ 'font-semibold'
18
+ ],
19
+ [
20
+ 'dark:text-foreground-inverse-dark',
21
+ 'dark:bg-accent-dark',
22
+ 'dark:fill-accent-dark'
23
+ ]
24
+ ]);
25
+ const Tooltip = React.forwardRef(({ children, side, content, sideOffset }, ref) => {
26
+ return (_jsx(TooltipPrimitive.Provider, { children: _jsxs(TooltipPrimitive.Root, { delayDuration: 100, children: [_jsx(TooltipPrimitive.Trigger, { asChild: React.isValidElement(children), children: children }), _jsxs(TooltipPrimitive.Content, { side: side !== null && side !== void 0 ? side : 'top', sideOffset: sideOffset !== null && sideOffset !== void 0 ? sideOffset : 4, className: cn(tooltipVariants()), ref: ref, children: [content, _jsx(TooltipPrimitive.Arrow, { className: 'fill-inherit' })] })] }) }));
27
+ });
28
+ Tooltip.displayName = 'Tooltip';
29
+ export { Tooltip };
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Tooltip/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAA;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAA;AAE9C,MAAM,eAAe,GAAG,GAAG,CAAC;IAC1B;QACE,aAAa;QACb,WAAW;QACX,MAAM;QACN,iBAAiB;QACjB,SAAS;QACT,KAAK;QACL,SAAS;QACT,aAAa;QACb,yBAAyB;QACzB,eAAe;KAChB;IACD;QACE,mCAAmC;QACnC,qBAAqB;QACrB,uBAAuB;KACxB;CACF,CAAC,CAAA;AASF,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAG9B,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,GAAG,EAAE,EAAE;IACjD,OAAO,CACL,KAAC,gBAAgB,CAAC,QAAQ,cACxB,MAAC,gBAAgB,CAAC,IAAI,IAAC,aAAa,EAAE,GAAG,aACvC,KAAC,gBAAgB,CAAC,OAAO,IAAC,OAAO,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,YAC9D,QAAQ,GACgB,EAC3B,MAAC,gBAAgB,CAAC,OAAO,IACvB,IAAI,EAAE,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,KAAK,EACnB,UAAU,EAAE,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,CAAC,EAC3B,SAAS,EAAE,EAAE,CAAC,eAAe,EAAE,CAAC,EAChC,GAAG,EAAE,GAAG,aAEP,OAAO,EACR,KAAC,gBAAgB,CAAC,KAAK,IAAC,SAAS,EAAE,cAAc,GAAI,IAC5B,IACL,GACE,CAC7B,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,CAAC,WAAW,GAAG,SAAS,CAAA;AAE/B,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import React from 'react';
3
+ declare const websiteFooterVariants: (props?: ({
4
+ size?: "sm" | "standard" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ declare const footerStatementVariants: (props?: ({
7
+ size?: "sm" | "standard" | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ declare const linkColumnVariants: (props?: ({
10
+ size?: "lg" | "md" | "sm" | null | undefined;
11
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
+ interface WebsiteFooterProps extends React.ComponentPropsWithoutRef<'footer'>, VariantProps<typeof websiteFooterVariants> {
13
+ }
14
+ declare const WebsiteFooter: React.ForwardRefExoticComponent<WebsiteFooterProps & React.RefAttributes<HTMLElement>>;
15
+ interface FooterStatementProps extends React.ComponentPropsWithoutRef<'div'>, VariantProps<typeof footerStatementVariants> {
16
+ }
17
+ declare const FooterStatement: React.ForwardRefExoticComponent<FooterStatementProps & React.RefAttributes<HTMLDivElement>>;
18
+ type LinkRowProps = React.ComponentPropsWithoutRef<'div'>;
19
+ declare const LinkRow: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
+ interface LinkColumnProps extends React.ComponentPropsWithoutRef<'div'>, VariantProps<typeof linkColumnVariants> {
21
+ }
22
+ declare const LinkColumn: React.ForwardRefExoticComponent<LinkColumnProps & React.RefAttributes<HTMLDivElement>>;
23
+ export { WebsiteFooter, FooterStatement, LinkColumn, LinkRow, type WebsiteFooterProps, type FooterStatementProps, type LinkColumnProps, type LinkRowProps };
@@ -0,0 +1,104 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { cn } from '../../lib/utils.js';
14
+ import { cva } from 'class-variance-authority';
15
+ import React from 'react';
16
+ const websiteFooterVariants = cva(['flex', 'flex-col', 'w-full', 'items-center', 'px-16', 'py-4'], {
17
+ variants: {
18
+ size: {
19
+ standard: ['sm:[&>div]:flex-row', '[&>div]:flex-col'],
20
+ sm: [
21
+ '[&>div]:flex-col',
22
+ '[&>div]:items-center',
23
+ '[&>div]:[&>div]:items-center'
24
+ ]
25
+ }
26
+ },
27
+ defaultVariants: { size: 'standard' }
28
+ });
29
+ const footerStatementVariants = cva([
30
+ 'flex',
31
+ 'flex-col',
32
+ 'gap-1',
33
+ 'items-center',
34
+ 'text-foreground-muted',
35
+ 'dark:text-foreground-muted-dark',
36
+ 'py-4',
37
+ 'text-sm'
38
+ ], {
39
+ variants: {
40
+ size: {
41
+ standard: ['sm:py-8', 'sm:text-base'],
42
+ sm: []
43
+ }
44
+ },
45
+ defaultVariants: { size: 'standard' }
46
+ });
47
+ const linkRowVariants = cva([
48
+ 'flex',
49
+ 'w-full',
50
+ 'justify-between',
51
+ '[&>div]:text-xl',
52
+ '[&>*]:font-normal',
53
+ '[&>*]:text-sm'
54
+ ]);
55
+ const linkColumnVariants = cva([
56
+ 'flex',
57
+ 'flex-col',
58
+ 'px-8',
59
+ 'pb-6',
60
+ 'gap-2',
61
+ 'dark:text-white',
62
+ '[&>div]:font-semibold',
63
+ '[&>div]:mb-2',
64
+ '[&>div]:text-xl',
65
+ '[&>*]:font-normal',
66
+ '[&>*]:text-sm',
67
+ 'items-center'
68
+ ], {
69
+ variants: {
70
+ size: {
71
+ lg: [
72
+ 'sm:gap-3',
73
+ 'sm:[&>div]:text-2xl',
74
+ 'sm:[&>*]:font-normal',
75
+ 'sm:[&>*]:text-sm',
76
+ 'sm:pb-0',
77
+ 'sm:items-start'
78
+ ],
79
+ md: ['sm:items-start', 'sm:pb-0'],
80
+ sm: []
81
+ }
82
+ },
83
+ defaultVariants: {
84
+ size: 'lg'
85
+ }
86
+ });
87
+ const WebsiteFooter = React.forwardRef((_a, ref) => {
88
+ var { className, size } = _a, props = __rest(_a, ["className", "size"]);
89
+ return (_jsx("footer", Object.assign({ className: cn(websiteFooterVariants({ size }), className) }, props, { ref: ref })));
90
+ });
91
+ const FooterStatement = React.forwardRef((_a, ref) => {
92
+ var { className, size } = _a, props = __rest(_a, ["className", "size"]);
93
+ return (_jsx("div", { children: _jsx("div", Object.assign({ className: cn(footerStatementVariants({ size }), className) }, props, { ref: ref })) }));
94
+ });
95
+ const LinkRow = React.forwardRef((_a, ref) => {
96
+ var { className } = _a, props = __rest(_a, ["className"]);
97
+ return (_jsx("div", Object.assign({ className: cn(linkRowVariants(), className) }, props, { ref: ref })));
98
+ });
99
+ const LinkColumn = React.forwardRef((_a, ref) => {
100
+ var { className, size, title, children } = _a, props = __rest(_a, ["className", "size", "title", "children"]);
101
+ return (_jsxs("div", Object.assign({ className: cn(linkColumnVariants({ size }), className) }, props, { ref: ref, children: [title && _jsx("div", { children: title }), children] })));
102
+ });
103
+ export { WebsiteFooter, FooterStatement, LinkColumn, LinkRow };
104
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/WebsiteFooter/index.tsx"],"names":[],"mappings":";;;;;;;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AAU,CACjC,CAAC,EAA8C,EAAE,GAAG,EAAE,EAAE;QAAvD,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,OAAY,EAAP,KAAK,cAA5C,0CAA8C,CAAF;IAAY,OAAA,CACvD,6BACE,SAAS,EAAE,EAAE,CAAC,kBAAkB,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,CAAC,IAClD,KAAK,IACT,GAAG,EAAE,GAAG,aAEP,KAAK,IAAI,wBAAM,KAAK,GAAO,EAC3B,QAAQ,KACL,CACP,CAAA;AACH,CAAC,AADE,CACF,CAAA;AAED,OAAO,EACL,aAAa,EACb,eAAe,EACf,UAAU,EACV,OAAO,EAKR,CAAA"}
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ declare const WebsiteHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
3
+ interface WebsiteHeaderLogoProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
4
+ asChild?: boolean;
5
+ }
6
+ declare const WebsiteHeaderLogo: React.ForwardRefExoticComponent<WebsiteHeaderLogoProps & React.RefAttributes<HTMLAnchorElement>>;
7
+ declare const WebsiteHeaderNav: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
8
+ interface WebsiteHeaderLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
9
+ asChild?: boolean;
10
+ active?: boolean;
11
+ }
12
+ declare const WebsiteHeaderLink: React.ForwardRefExoticComponent<WebsiteHeaderLinkProps & React.RefAttributes<HTMLAnchorElement>>;
13
+ declare const WebsiteHeaderActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
14
+ interface WebsiteHeaderMenuButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
15
+ open?: boolean;
16
+ }
17
+ declare const WebsiteHeaderMenuButton: React.ForwardRefExoticComponent<WebsiteHeaderMenuButtonProps & React.RefAttributes<HTMLButtonElement>>;
18
+ declare const WebsiteHeaderMobileMenu: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
19
+ open?: boolean;
20
+ } & React.RefAttributes<HTMLDivElement>>;
21
+ export { WebsiteHeader, WebsiteHeaderLogo, WebsiteHeaderNav, WebsiteHeaderLink, WebsiteHeaderActions, WebsiteHeaderMenuButton, WebsiteHeaderMobileMenu, type WebsiteHeaderLogoProps, type WebsiteHeaderLinkProps, type WebsiteHeaderMenuButtonProps };
@@ -0,0 +1,56 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import * as React from 'react';
14
+ import { Slot } from '@radix-ui/react-slot';
15
+ import { cn } from '../../lib/utils.js';
16
+ const WebsiteHeader = React.forwardRef((_a, ref) => {
17
+ var { className } = _a, props = __rest(_a, ["className"]);
18
+ return (_jsx("header", Object.assign({ ref: ref, className: cn('flex items-center justify-between', 'w-full px-6 py-3', 'bg-background dark:bg-background-dark', 'border-b border-border-subtle dark:border-border-subtle-dark', className) }, props)));
19
+ });
20
+ WebsiteHeader.displayName = 'WebsiteHeader';
21
+ const WebsiteHeaderLogo = React.forwardRef((_a, ref) => {
22
+ var { className, asChild = false } = _a, props = __rest(_a, ["className", "asChild"]);
23
+ const Comp = asChild ? Slot : 'a';
24
+ return (_jsx(Comp, Object.assign({ ref: ref, className: cn('inline-flex items-center shrink-0', 'text-foreground dark:text-foreground-dark', 'focus-visible:outline-hidden', 'focus-visible:shadow-brandGreen dark:focus-visible:shadow-brandGreen10', 'rounded-sm', className) }, props)));
25
+ });
26
+ WebsiteHeaderLogo.displayName = 'WebsiteHeaderLogo';
27
+ const WebsiteHeaderNav = React.forwardRef((_a, ref) => {
28
+ var { className } = _a, props = __rest(_a, ["className"]);
29
+ return (_jsx("nav", Object.assign({ ref: ref, className: cn('hidden sm:flex items-center gap-1', className) }, props)));
30
+ });
31
+ WebsiteHeaderNav.displayName = 'WebsiteHeaderNav';
32
+ const WebsiteHeaderLink = React.forwardRef((_a, ref) => {
33
+ var { className, asChild = false, active = false, 'aria-current': ariaCurrent } = _a, props = __rest(_a, ["className", "asChild", "active", 'aria-current']);
34
+ const Comp = asChild ? Slot : 'a';
35
+ return (_jsx(Comp, Object.assign({ ref: ref, "aria-current": ariaCurrent !== null && ariaCurrent !== void 0 ? ariaCurrent : (active ? 'page' : undefined), className: cn('inline-flex items-center px-3 py-1.5', 'text-sm font-medium rounded-sm', 'cursor-pointer', 'text-foreground-subtle dark:text-foreground-muted-dark', 'hover:text-foreground dark:hover:text-foreground-dark', 'aria-[current=page]:text-foreground dark:aria-[current=page]:text-foreground-dark', 'focus-visible:outline-hidden', 'focus-visible:shadow-brandGreen dark:focus-visible:shadow-brandGreen10', className) }, props)));
36
+ });
37
+ WebsiteHeaderLink.displayName = 'WebsiteHeaderLink';
38
+ const WebsiteHeaderActions = React.forwardRef((_a, ref) => {
39
+ var { className } = _a, props = __rest(_a, ["className"]);
40
+ return (_jsx("div", Object.assign({ ref: ref, className: cn('hidden sm:flex items-center gap-2', className) }, props)));
41
+ });
42
+ WebsiteHeaderActions.displayName = 'WebsiteHeaderActions';
43
+ const WebsiteHeaderMenuButton = React.forwardRef((_a, ref) => {
44
+ var { className, open = false, children } = _a, props = __rest(_a, ["className", "open", "children"]);
45
+ return (_jsx("button", Object.assign({ ref: ref, type: "button", "aria-expanded": open, "aria-label": open ? 'Close menu' : 'Open menu', className: cn('inline-flex sm:hidden items-center gap-1', 'px-3 py-1.5 text-sm font-medium', 'text-foreground dark:text-foreground-dark', 'cursor-pointer', 'focus-visible:outline-hidden', 'focus-visible:shadow-brandGreen dark:focus-visible:shadow-brandGreen10', 'rounded-sm', className) }, props, { children: children !== null && children !== void 0 ? children : (_jsxs(_Fragment, { children: ["Menu", ' ', _jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", className: cn('transition-transform', open && 'rotate-180'), children: _jsx("path", { d: "M4 6L8 10L12 6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })] })) })));
46
+ });
47
+ WebsiteHeaderMenuButton.displayName = 'WebsiteHeaderMenuButton';
48
+ const WebsiteHeaderMobileMenu = React.forwardRef((_a, ref) => {
49
+ var { className, open = false } = _a, props = __rest(_a, ["className", "open"]);
50
+ if (!open)
51
+ return null;
52
+ return (_jsx("div", Object.assign({ ref: ref, className: cn('sm:hidden flex flex-col gap-1', 'w-full px-6 py-3', 'bg-background dark:bg-background-dark', 'border-b border-border-subtle dark:border-border-subtle-dark', className) }, props)));
53
+ });
54
+ WebsiteHeaderMobileMenu.displayName = 'WebsiteHeaderMobileMenu';
55
+ export { WebsiteHeader, WebsiteHeaderLogo, WebsiteHeaderNav, WebsiteHeaderLink, WebsiteHeaderActions, WebsiteHeaderMenuButton, WebsiteHeaderMobileMenu };
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/WebsiteHeader/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAE3C,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAA;AAEvC,MAAM,aAAa,GAAG,KAAK,CAAC,UAAU,CAGpC,CAAC,EAAu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AAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EAIxB,CAAA"}
@@ -0,0 +1,109 @@
1
+ import * as React from 'react';
2
+ import { type AriaInvalid } from '../lib/utils.ts';
3
+ /**
4
+ * How the options sit relative to each other. Vertical is the default because
5
+ * it is the arrangement that stays readable at any label length; horizontal
6
+ * wraps rather than overflowing, so a group that outgrows its container
7
+ * becomes two rows instead of a scrollbar.
8
+ *
9
+ * `items-end` on a vertical group with its labels on the left is what lines
10
+ * the controls up in a column: without it each row is only as wide as its own
11
+ * label and the controls sit at a different x per row. It is scoped to that
12
+ * one combination -- on a horizontal group the same class would align the rows
13
+ * along their baseline-ish bottom edge instead, which is not the same request.
14
+ */
15
+ declare const choiceGroupItemsVariants: (props?: ({
16
+ orientation?: "horizontal" | "vertical" | null | undefined;
17
+ labelPosition?: "left" | "right" | null | undefined;
18
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
19
+ interface ChoiceGroupContextValue {
20
+ /** Whether the group's controls should be marked `aria-invalid`. */
21
+ invalid: boolean;
22
+ labelPosition: 'left' | 'right';
23
+ /**
24
+ * Whether the group as a whole is disabled. Published because an option's
25
+ * label has to dim with its control, and a radio disabled by its group is
26
+ * disabled by Radix's own context rather than by a prop the item can see.
27
+ */
28
+ disabled?: boolean;
29
+ }
30
+ declare const ChoiceGroupContext: React.Context<ChoiceGroupContextValue | null>;
31
+ /**
32
+ * Read by `CheckboxGroupItem` and by `Radio`, so a single option picks up the
33
+ * group's invalid state and label side without either being passed down by
34
+ * hand. `null` outside a group, where a control is on its own and both
35
+ * questions are the caller's.
36
+ */
37
+ declare const useChoiceGroup: () => ChoiceGroupContextValue | null;
38
+ /**
39
+ * What an option's `aria-invalid` should end up as, given the group's state
40
+ * and whatever the caller asked for.
41
+ *
42
+ * The group wins over `aria-invalid={false}` and only over that, which is the
43
+ * line `FormGroup` already draws: `false` is the attribute's default and reads
44
+ * identically to its absence, so an option carrying it has asserted nothing,
45
+ * and letting it suppress the group's error would render an option that is
46
+ * visibly invalid inside a group showing an error message while telling a
47
+ * screen reader it is fine. Every other value is a real assertion and is kept.
48
+ *
49
+ * Returning the value the attribute will actually carry, rather than a
50
+ * boolean, is what keeps the styling and the announcement in step -- both are
51
+ * derived from this one result.
52
+ */
53
+ declare const resolveAriaInvalid: (own: AriaInvalid, groupInvalid: boolean) => "grammar" | "spelling" | "true" | true | undefined;
54
+ interface ChoiceGroupFieldsetProps extends React.ComponentPropsWithoutRef<'fieldset'> {
55
+ /** The group's name, rendered as its `<legend>`. */
56
+ legend?: React.ReactNode;
57
+ /** Hint under the legend, reached through the fieldset's `aria-describedby`. */
58
+ description?: React.ReactNode;
59
+ /** Validation message under the options, reached the same way. */
60
+ error?: React.ReactNode;
61
+ /**
62
+ * Dims the legend along with the options. Deliberately not rendered as the
63
+ * `<fieldset disabled>` attribute, which the browser applies to every
64
+ * control inside the element with no way for one of them to opt back in: a
65
+ * group disabled that way could not leave a single option live, and an item
66
+ * that had asked to stay enabled would render as enabled and refuse to be
67
+ * clicked. Every control is given `disabled` in its own right instead.
68
+ */
69
+ disabled?: boolean;
70
+ }
71
+ /**
72
+ * The fieldset around a set of options, with its legend and its two messages.
73
+ *
74
+ * Both messages are published to the group rather than to the controls
75
+ * inside it: a screen reader announces a fieldset's description when focus
76
+ * first enters the group, which is where "Select all that apply" and "Choose
77
+ * at least one" are useful, and announcing either of them again on every
78
+ * option would be five copies of one sentence. The per-control half of the
79
+ * error is `aria-invalid`, which `useChoiceGroup()` hands to the options.
80
+ */
81
+ declare const ChoiceGroupFieldset: React.ForwardRefExoticComponent<ChoiceGroupFieldsetProps & React.RefAttributes<HTMLFieldSetElement>>;
82
+ interface ChoiceItemProps {
83
+ /** The control's id, which the label's `htmlFor` points at. */
84
+ controlId: string;
85
+ /** Where the hint is published, if there is one. */
86
+ descriptionId: string;
87
+ label?: React.ReactNode;
88
+ description?: React.ReactNode;
89
+ disabled?: boolean;
90
+ labelPosition: 'left' | 'right';
91
+ /** The checkbox or radio itself. */
92
+ children: React.ReactNode;
93
+ }
94
+ /**
95
+ * One option: the control, its label, and the hint that belongs to that option
96
+ * alone.
97
+ *
98
+ * The hint is wired to the control with `aria-describedby` by whoever renders
99
+ * this, rather than being left as text that happens to sit nearby. A hint that
100
+ * distinguishes one option from another -- "Delivered the next working day" --
101
+ * is the difference between the two choices, and a reader who only hears the
102
+ * labels has not been told what they are choosing between.
103
+ *
104
+ * `items-start` rather than centring: the control is a fixed 20px and the
105
+ * label is however many lines its text needs, so centring a two-line label
106
+ * would drift the control into the gap between the lines.
107
+ */
108
+ declare const ChoiceItem: React.FC<ChoiceItemProps>;
109
+ export { ChoiceGroupContext, ChoiceGroupFieldset, ChoiceItem, choiceGroupItemsVariants, resolveAriaInvalid, useChoiceGroup, type ChoiceGroupFieldsetProps };
@@ -0,0 +1,159 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import * as React from 'react';
14
+ import { cva } from 'class-variance-authority';
15
+ import { assertsInvalid, cn } from '../lib/utils.js';
16
+ import { FieldError } from './FormGroup/index.js';
17
+ import { Label } from './Label/index.js';
18
+ /**
19
+ * The parts a group of checkboxes and a group of radios have in common: the
20
+ * `<fieldset>` and `<legend>` that give the options one name, the hint under
21
+ * that name, the validation message under the options, and the row that pairs
22
+ * one control with its own label and hint.
23
+ *
24
+ * Not exported from the package. `CheckboxGroup` and `RadioGroup` are the two
25
+ * components this exists for, and a third group shape would be a third
26
+ * component rather than a configuration of this one.
27
+ */
28
+ /**
29
+ * Hint text, on the group and on a single option.
30
+ *
31
+ * The same weights as `FieldDescription`, deliberately not that component:
32
+ * a field's hint stands down while its error is showing, because the two share
33
+ * one line under one control. A group's hint is instructions for reading the
34
+ * options -- "Select all that apply" -- it sits above them rather than under
35
+ * them, and an error appearing below is not a reason to take the instructions
36
+ * away.
37
+ */
38
+ const choiceHintVariants = cva([
39
+ 'text-xs',
40
+ 'text-foreground-muted',
41
+ 'dark:text-foreground-muted-dark'
42
+ ]);
43
+ /**
44
+ * How the options sit relative to each other. Vertical is the default because
45
+ * it is the arrangement that stays readable at any label length; horizontal
46
+ * wraps rather than overflowing, so a group that outgrows its container
47
+ * becomes two rows instead of a scrollbar.
48
+ *
49
+ * `items-end` on a vertical group with its labels on the left is what lines
50
+ * the controls up in a column: without it each row is only as wide as its own
51
+ * label and the controls sit at a different x per row. It is scoped to that
52
+ * one combination -- on a horizontal group the same class would align the rows
53
+ * along their baseline-ish bottom edge instead, which is not the same request.
54
+ */
55
+ const choiceGroupItemsVariants = cva('flex', {
56
+ variants: {
57
+ orientation: {
58
+ vertical: ['flex-col', 'gap-3'],
59
+ horizontal: ['flex-row', 'flex-wrap', 'gap-x-6', 'gap-y-3']
60
+ },
61
+ labelPosition: {
62
+ left: '',
63
+ right: ''
64
+ }
65
+ },
66
+ compoundVariants: [
67
+ { orientation: 'vertical', labelPosition: 'left', class: 'items-end' }
68
+ ],
69
+ defaultVariants: {
70
+ orientation: 'vertical',
71
+ labelPosition: 'right'
72
+ }
73
+ });
74
+ const ChoiceGroupContext = React.createContext(null);
75
+ /**
76
+ * Read by `CheckboxGroupItem` and by `Radio`, so a single option picks up the
77
+ * group's invalid state and label side without either being passed down by
78
+ * hand. `null` outside a group, where a control is on its own and both
79
+ * questions are the caller's.
80
+ */
81
+ const useChoiceGroup = () => React.useContext(ChoiceGroupContext);
82
+ /**
83
+ * What an option's `aria-invalid` should end up as, given the group's state
84
+ * and whatever the caller asked for.
85
+ *
86
+ * The group wins over `aria-invalid={false}` and only over that, which is the
87
+ * line `FormGroup` already draws: `false` is the attribute's default and reads
88
+ * identically to its absence, so an option carrying it has asserted nothing,
89
+ * and letting it suppress the group's error would render an option that is
90
+ * visibly invalid inside a group showing an error message while telling a
91
+ * screen reader it is fine. Every other value is a real assertion and is kept.
92
+ *
93
+ * Returning the value the attribute will actually carry, rather than a
94
+ * boolean, is what keeps the styling and the announcement in step -- both are
95
+ * derived from this one result.
96
+ */
97
+ const resolveAriaInvalid = (own, groupInvalid) => assertsInvalid(own) ? own : groupInvalid || undefined;
98
+ /**
99
+ * The fieldset around a set of options, with its legend and its two messages.
100
+ *
101
+ * Both messages are published to the group rather than to the controls
102
+ * inside it: a screen reader announces a fieldset's description when focus
103
+ * first enters the group, which is where "Select all that apply" and "Choose
104
+ * at least one" are useful, and announcing either of them again on every
105
+ * option would be five copies of one sentence. The per-control half of the
106
+ * error is `aria-invalid`, which `useChoiceGroup()` hands to the options.
107
+ */
108
+ const ChoiceGroupFieldset = React.forwardRef((_a, ref) => {
109
+ var { legend, description, error, disabled, className, children, 'aria-describedby': ariaDescribedBy } = _a, props = __rest(_a, ["legend", "description", "error", "disabled", "className", "children", 'aria-describedby']);
110
+ const id = React.useId();
111
+ const descriptionId = `${id}-description`;
112
+ const errorId = `${id}-error`;
113
+ // The caller's own tokens first: the group's own messages are the most
114
+ // specific thing said about it, and the most specific thing reads last.
115
+ const describedBy = [
116
+ ariaDescribedBy,
117
+ description ? descriptionId : undefined,
118
+ error ? errorId : undefined
119
+ ]
120
+ .filter(Boolean)
121
+ .join(' ') || undefined;
122
+ return (_jsxs("fieldset", Object.assign({ ref: ref,
123
+ // `min-inline-size: min-content` is a fieldset UA style that Tailwind's
124
+ // preflight leaves alone, and it stops the element from shrinking
125
+ // inside a flex or grid parent -- a group of long labels then pushes
126
+ // the layout wider instead of wrapping.
127
+ className: cn('min-w-0 border-0 p-0', className), "aria-describedby": describedBy }, props, { children: [legend && (_jsx(Label, { asChild: true, children: _jsx("legend", { className: cn('p-0', description ? 'mb-1' : 'mb-3', disabled && 'opacity-70'), children: legend }) })), description && (_jsx("p", { id: descriptionId, className: cn(choiceHintVariants(), 'mb-3'), children: description })), children, error && (_jsx(FieldError, { id: errorId, className: "mt-2", children: error }))] })));
128
+ });
129
+ ChoiceGroupFieldset.displayName = 'ChoiceGroupFieldset';
130
+ /**
131
+ * One option: the control, its label, and the hint that belongs to that option
132
+ * alone.
133
+ *
134
+ * The hint is wired to the control with `aria-describedby` by whoever renders
135
+ * this, rather than being left as text that happens to sit nearby. A hint that
136
+ * distinguishes one option from another -- "Delivered the next working day" --
137
+ * is the difference between the two choices, and a reader who only hears the
138
+ * labels has not been told what they are choosing between.
139
+ *
140
+ * `items-start` rather than centring: the control is a fixed 20px and the
141
+ * label is however many lines its text needs, so centring a two-line label
142
+ * would drift the control into the gap between the lines.
143
+ */
144
+ const ChoiceItem = ({ controlId, descriptionId, label, description, disabled, labelPosition, children }) => {
145
+ if (!label && !description)
146
+ return _jsx(_Fragment, { children: children });
147
+ const text = (_jsxs("div", { className: cn('grid gap-0.5', labelPosition === 'left' && 'justify-items-end'), children: [label && (_jsx(Label, { htmlFor: controlId, align: labelPosition === 'left' ? 'right' : 'left',
148
+ // The library's disabled label treatment, applied here rather than
149
+ // left to `Label`'s own `peer-disabled:`, which needs the control to
150
+ // be the label's previous sibling -- here it is a sibling of this
151
+ // wrapper. The hint below is deliberately not dimmed with it: at 70%
152
+ // `foreground-muted` is 3.5:1, and on a disabled option the hint is
153
+ // usually the reason it is disabled, which is the one line that has
154
+ // to stay readable.
155
+ className: cn(disabled && 'opacity-70'), children: label })), description && (_jsx("p", { id: descriptionId, className: cn(choiceHintVariants(), labelPosition === 'left' && 'text-right'), children: description }))] }));
156
+ return (_jsxs("div", { className: "flex items-start gap-2", children: [labelPosition === 'left' && text, children, labelPosition === 'right' && text] }));
157
+ };
158
+ export { ChoiceGroupContext, ChoiceGroupFieldset, ChoiceItem, choiceGroupItemsVariants, resolveAriaInvalid, useChoiceGroup };
159
+ //# sourceMappingURL=choice-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"choice-group.js","sourceRoot":"","sources":["../../../src/components/choice-group.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAA;AAE9C,OAAO,EAAE,cAAc,EAAE,EAAE,EAAoB,MAAM,iBAAiB,CAAA;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAuB,CAAA;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAmB,CAAA;AAEzC;;;;;;;;;GASG;AAEH;;;;;;;;;GASG;AACH,MAAM,kBAAkB,GAAG,GAAG,CAAC;IAC7B,SAAS;IACT,uBAAuB;IACvB,iCAAiC;CAClC,CAAC,CAAA;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,wBAAwB,GAAG,GAAG,CAAC,MAAM,EAAE;IAC3C,QAAQ,EAAE;QACR,WAAW,EAAE;YACX,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;YAC/B,UAAU,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC;SAC5D;QACD,aAAa,EAAE;YACb,IAAI,EAAE,EAAE;YACR,KAAK,EAAE,EAAE;SACV;KACF;IACD,gBAAgB,EAAE;QAChB,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE;KACvE;IACD,eAAe,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,aAAa,EAAE,OAAO;KACvB;CACF,CAAC,CAAA;AAcF,MAAM,kBAAkB,GAAG,KAAK,CAAC,aAAa,CAC5C,IAAI,CACL,CAAA;AAED;;;;;GAKG;AACH,MAAM,cAAc,GAAG,GAAG,EAAE,CAAC,KAA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,SAAS,EAAC,wBAAwB,aACpC,aAAa,KAAK,MAAM,IAAI,IAAI,EAChC,QAAQ,EACR,aAAa,KAAK,OAAO,IAAI,IAAI,IAC9B,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,UAAU,EACV,wBAAwB,EACxB,kBAAkB,EAClB,cAAc,EAEf,CAAA"}
@@ -0,0 +1,51 @@
1
+ export * from './Accordion/index.tsx';
2
+ export * from './AppHeader/index.tsx';
3
+ export * from './Avatar/index.tsx';
4
+ export * from './BackLink/index.tsx';
5
+ export * from './Breadcrumb/index.tsx';
6
+ export * from './Badge/index.tsx';
7
+ export * from './Button/index.tsx';
8
+ export * from './ButtonGroup/index.tsx';
9
+ export * from './Calendar/index.tsx';
10
+ export * from './Card/index.tsx';
11
+ export * from './Chat/index.tsx';
12
+ export * from './Checkbox/index.tsx';
13
+ export * from './CheckboxGroup/index.tsx';
14
+ export * from './CodeBlock/index.tsx';
15
+ export * from './DateInput/index.tsx';
16
+ export * from './DocsList/index.tsx';
17
+ export * from './Chip/index.tsx';
18
+ export * from './ControlLabel/index.tsx';
19
+ export * from './FormGroup/index.tsx';
20
+ export * from './HeroButton/index.tsx';
21
+ export * from './IconButton/index.tsx';
22
+ export * from './Input/index.tsx';
23
+ export * from './Label/index.tsx';
24
+ export * from './Link/index.tsx';
25
+ export * from './Meter/index.tsx';
26
+ export * from './Modal/index.tsx';
27
+ export * from './Navigation/index.tsx';
28
+ export * from './Notice/index.tsx';
29
+ export * from './PageHeader/index.tsx';
30
+ export * from './Pagination/index.tsx';
31
+ export * from './Password/index.tsx';
32
+ export * from './Popover/index.tsx';
33
+ export * from './Radio/index.tsx';
34
+ export * from './Select/index.tsx';
35
+ export * from './Slider/index.tsx';
36
+ export * from './SortAndShow/index.tsx';
37
+ export * from './SplitButton/index.tsx';
38
+ export * from './Stats/index.tsx';
39
+ export * from './Stepper/index.tsx';
40
+ export * from './Subnav/index.tsx';
41
+ export * from './StepsIndicator/index.tsx';
42
+ export * from './Switch/index.tsx';
43
+ export * from './Table/index.tsx';
44
+ export * from './Tabs/index.tsx';
45
+ export * from './Textarea/index.tsx';
46
+ export * from './ThemeToggle/index.tsx';
47
+ export * from './Toast/index.tsx';
48
+ export * from './ToggleList/index.tsx';
49
+ export * from './Tooltip/index.tsx';
50
+ export * from './WebsiteFooter/index.tsx';
51
+ export * from './WebsiteHeader/index.tsx';