@infonomic/uikit 6.9.0 → 7.0.0

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 (830) hide show
  1. package/README.md +168 -5
  2. package/dist/classes/accordion.d.ts +1 -0
  3. package/dist/classes/accordion.js +1 -0
  4. package/dist/classes/alert.d.ts +1 -0
  5. package/dist/classes/alert.js +1 -0
  6. package/dist/classes/autocomplete.d.ts +1 -0
  7. package/dist/classes/autocomplete.js +1 -0
  8. package/dist/classes/avatar.d.ts +1 -0
  9. package/dist/classes/avatar.js +1 -0
  10. package/dist/classes/badge.d.ts +1 -0
  11. package/dist/classes/badge.js +1 -0
  12. package/dist/classes/button-group.d.ts +1 -0
  13. package/dist/classes/button-group.js +1 -0
  14. package/dist/classes/button.d.ts +1 -0
  15. package/dist/classes/button.js +1 -0
  16. package/dist/classes/card.d.ts +1 -0
  17. package/dist/classes/card.js +1 -0
  18. package/dist/classes/checkbox-group.d.ts +1 -0
  19. package/dist/classes/checkbox-group.js +1 -0
  20. package/dist/classes/checkbox.d.ts +1 -0
  21. package/dist/classes/checkbox.js +1 -0
  22. package/dist/classes/chip.d.ts +1 -0
  23. package/dist/classes/chip.js +1 -0
  24. package/dist/classes/combo-button.d.ts +1 -0
  25. package/dist/classes/combo-button.js +1 -0
  26. package/dist/classes/container.d.ts +1 -0
  27. package/dist/classes/container.js +1 -0
  28. package/dist/classes/control-buttons.d.ts +1 -0
  29. package/dist/classes/control-buttons.js +1 -0
  30. package/dist/classes/copy-button.d.ts +1 -0
  31. package/dist/classes/copy-button.js +1 -0
  32. package/dist/classes/datepicker.d.ts +1 -0
  33. package/dist/classes/datepicker.js +1 -0
  34. package/dist/classes/drawer.d.ts +1 -0
  35. package/dist/classes/drawer.js +1 -0
  36. package/dist/classes/dropdown.d.ts +1 -0
  37. package/dist/classes/dropdown.js +1 -0
  38. package/dist/classes/ellipses.d.ts +1 -0
  39. package/dist/classes/ellipses.js +1 -0
  40. package/dist/classes/error-text.d.ts +1 -0
  41. package/dist/classes/error-text.js +1 -0
  42. package/dist/classes/hamburger.d.ts +1 -0
  43. package/dist/classes/hamburger.js +1 -0
  44. package/dist/classes/help-text.d.ts +1 -0
  45. package/dist/classes/help-text.js +1 -0
  46. package/dist/classes/input-adornment.d.ts +1 -0
  47. package/dist/classes/input-adornment.js +1 -0
  48. package/dist/classes/input-password.d.ts +1 -0
  49. package/dist/classes/input-password.js +1 -0
  50. package/dist/classes/input.d.ts +1 -0
  51. package/dist/classes/input.js +1 -0
  52. package/dist/classes/label.d.ts +1 -0
  53. package/dist/classes/label.js +1 -0
  54. package/dist/classes/modal.d.ts +1 -0
  55. package/dist/classes/modal.js +1 -0
  56. package/dist/classes/pagination.d.ts +1 -0
  57. package/dist/classes/pagination.js +1 -0
  58. package/dist/classes/radio-group.d.ts +1 -0
  59. package/dist/classes/radio-group.js +1 -0
  60. package/dist/classes/ring.d.ts +1 -0
  61. package/dist/classes/ring.js +1 -0
  62. package/dist/classes/scroll-area.d.ts +1 -0
  63. package/dist/classes/scroll-area.js +1 -0
  64. package/dist/classes/scroll-to-top.d.ts +1 -0
  65. package/dist/classes/scroll-to-top.js +1 -0
  66. package/dist/classes/section.d.ts +1 -0
  67. package/dist/classes/section.js +1 -0
  68. package/dist/classes/select.d.ts +1 -0
  69. package/dist/classes/select.js +1 -0
  70. package/dist/classes/shimmer.d.ts +1 -0
  71. package/dist/classes/shimmer.js +1 -0
  72. package/dist/classes/spinner.d.ts +1 -0
  73. package/dist/classes/spinner.js +1 -0
  74. package/dist/classes/table.d.ts +1 -0
  75. package/dist/classes/table.js +1 -0
  76. package/dist/classes/tabs.d.ts +1 -0
  77. package/dist/classes/tabs.js +1 -0
  78. package/dist/classes/text-area.d.ts +1 -0
  79. package/dist/classes/text-area.js +1 -0
  80. package/dist/classes/timeline.d.ts +1 -0
  81. package/dist/classes/timeline.js +1 -0
  82. package/dist/classes/toast.d.ts +1 -0
  83. package/dist/classes/toast.js +1 -0
  84. package/dist/classes/tooltip.d.ts +1 -0
  85. package/dist/classes/tooltip.js +1 -0
  86. package/dist/components/@types/contract.d.ts +69 -0
  87. package/dist/components/@types/contract.d.ts.map +1 -0
  88. package/dist/components/@types/contract.js +1 -0
  89. package/dist/components/accordion/accordion.classes.d.ts +18 -0
  90. package/dist/components/accordion/accordion.classes.d.ts.map +1 -0
  91. package/dist/components/accordion/accordion.classes.js +12 -0
  92. package/dist/components/accordion/accordion.contract.d.ts +33 -0
  93. package/dist/components/accordion/accordion.contract.d.ts.map +1 -0
  94. package/dist/components/accordion/accordion.contract.js +38 -0
  95. package/dist/components/accordion/accordion.d.ts.map +1 -1
  96. package/dist/components/accordion/accordion.js +6 -6
  97. package/dist/components/accordion/accordion.module.css.d.ts +9 -0
  98. package/dist/components/accordion/accordion.module.d.css.ts +9 -0
  99. package/dist/components/avatar/avatar.classes.d.ts +17 -0
  100. package/dist/components/avatar/avatar.classes.d.ts.map +1 -0
  101. package/dist/components/avatar/avatar.classes.js +11 -0
  102. package/dist/components/avatar/avatar.contract.d.ts +27 -0
  103. package/dist/components/avatar/avatar.contract.d.ts.map +1 -0
  104. package/dist/components/avatar/avatar.contract.js +27 -0
  105. package/dist/components/avatar/avatar.d.ts +8 -2
  106. package/dist/components/avatar/avatar.d.ts.map +1 -1
  107. package/dist/components/avatar/avatar.js +11 -13
  108. package/dist/components/avatar/avatar.module.css.d.ts +11 -0
  109. package/dist/components/avatar/avatar.module.d.css.ts +11 -0
  110. package/dist/components/badge/badge.classes.d.ts +16 -0
  111. package/dist/components/badge/badge.classes.d.ts.map +1 -0
  112. package/dist/components/badge/badge.classes.js +10 -0
  113. package/dist/components/badge/badge.contract.d.ts +23 -0
  114. package/dist/components/badge/badge.contract.d.ts.map +1 -0
  115. package/dist/components/badge/badge.contract.js +23 -0
  116. package/dist/components/badge/badge.js +4 -2
  117. package/dist/components/badge/badge.module.css.d.ts +11 -0
  118. package/dist/components/badge/badge.module.d.css.ts +11 -0
  119. package/dist/components/button/button-group.classes.d.ts +14 -0
  120. package/dist/components/button/button-group.classes.d.ts.map +1 -0
  121. package/dist/components/button/button-group.classes.js +8 -0
  122. package/dist/components/button/button-group.contract.d.ts +12 -0
  123. package/dist/components/button/button-group.contract.d.ts.map +1 -0
  124. package/dist/components/button/button-group.contract.js +12 -0
  125. package/dist/components/button/button-group.js +2 -2
  126. package/dist/components/button/button-group.module.css.d.ts +5 -0
  127. package/dist/components/button/button-group.module.d.css.ts +5 -0
  128. package/dist/components/button/button.astro +3 -11
  129. package/dist/components/button/button.classes.d.ts +24 -0
  130. package/dist/components/button/button.classes.d.ts.map +1 -0
  131. package/dist/components/button/button.classes.js +14 -0
  132. package/dist/components/button/button.contract.d.ts +45 -0
  133. package/dist/components/button/button.contract.d.ts.map +1 -0
  134. package/dist/components/button/button.contract.js +47 -0
  135. package/dist/components/button/button.d.ts.map +1 -1
  136. package/dist/components/button/button.js +7 -4
  137. package/dist/components/button/button.module.css +12 -0
  138. package/dist/components/button/button.module.css.d.ts +25 -0
  139. package/dist/components/button/button.module.d.css.ts +25 -0
  140. package/dist/components/button/button_module.css +6 -6
  141. package/dist/components/button/combo-button.classes.d.ts +30 -0
  142. package/dist/components/button/combo-button.classes.d.ts.map +1 -0
  143. package/dist/components/button/combo-button.classes.js +19 -0
  144. package/dist/components/button/combo-button.contract.d.ts +46 -0
  145. package/dist/components/button/combo-button.contract.d.ts.map +1 -0
  146. package/dist/components/button/combo-button.contract.js +48 -0
  147. package/dist/components/button/combo-button.d.ts.map +1 -1
  148. package/dist/components/button/combo-button.js +11 -11
  149. package/dist/components/button/combo-button.module.css +6 -2
  150. package/dist/components/button/combo-button.module.css.d.ts +17 -0
  151. package/dist/components/button/combo-button.module.d.css.ts +17 -0
  152. package/dist/components/button/combo-button_module.css +2 -2
  153. package/dist/components/button/control-buttons.classes.d.ts +26 -0
  154. package/dist/components/button/control-buttons.classes.d.ts.map +1 -0
  155. package/dist/components/button/control-buttons.classes.js +18 -0
  156. package/dist/components/button/control-buttons.contract.d.ts +60 -0
  157. package/dist/components/button/control-buttons.contract.d.ts.map +1 -0
  158. package/dist/components/button/control-buttons.contract.js +49 -0
  159. package/dist/components/button/control-buttons.d.ts.map +1 -1
  160. package/dist/components/button/control-buttons.js +14 -7
  161. package/dist/components/button/control-buttons.module.css +43 -17
  162. package/dist/components/button/control-buttons.module.css.d.ts +19 -0
  163. package/dist/components/button/control-buttons.module.d.css.ts +19 -0
  164. package/dist/components/button/control-buttons_module.css +17 -17
  165. package/dist/components/button/copy-button.classes.d.ts +20 -0
  166. package/dist/components/button/copy-button.classes.d.ts.map +1 -0
  167. package/dist/components/button/copy-button.classes.js +11 -0
  168. package/dist/components/button/copy-button.contract.d.ts +26 -0
  169. package/dist/components/button/copy-button.contract.d.ts.map +1 -0
  170. package/dist/components/button/copy-button.contract.js +26 -0
  171. package/dist/components/button/copy-button.d.ts.map +1 -1
  172. package/dist/components/button/copy-button.js +5 -3
  173. package/dist/components/button/copy-button.module.css.d.ts +12 -0
  174. package/dist/components/button/copy-button.module.d.css.ts +12 -0
  175. package/dist/components/button/icon-button.astro +3 -3
  176. package/dist/components/button/icon-button.js +5 -3
  177. package/dist/components/card/card-content.astro +2 -2
  178. package/dist/components/card/card-description.astro +2 -2
  179. package/dist/components/card/card-footer.astro +2 -2
  180. package/dist/components/card/card-header.astro +2 -2
  181. package/dist/components/card/card-title.astro +2 -2
  182. package/dist/components/card/card.astro +3 -3
  183. package/dist/components/card/card.classes.d.ts +23 -0
  184. package/dist/components/card/card.classes.d.ts.map +1 -0
  185. package/dist/components/card/card.classes.js +15 -0
  186. package/dist/components/card/card.contract.d.ts +42 -0
  187. package/dist/components/card/card.contract.d.ts.map +1 -0
  188. package/dist/components/card/card.contract.js +42 -0
  189. package/dist/components/card/card.d.ts.map +1 -1
  190. package/dist/components/card/card.js +9 -8
  191. package/dist/components/card/card.module.css.d.ts +16 -0
  192. package/dist/components/card/card.module.d.css.ts +16 -0
  193. package/dist/components/chips/chip.classes.d.ts +37 -0
  194. package/dist/components/chips/chip.classes.d.ts.map +1 -0
  195. package/dist/components/chips/chip.classes.js +16 -0
  196. package/dist/components/chips/chip.contract.d.ts +57 -0
  197. package/dist/components/chips/chip.contract.d.ts.map +1 -0
  198. package/dist/components/chips/chip.contract.js +59 -0
  199. package/dist/components/chips/chip.js +13 -9
  200. package/dist/components/chips/chip.module.css +45 -0
  201. package/dist/components/chips/chip.module.css.d.ts +26 -0
  202. package/dist/components/chips/chip.module.d.css.ts +26 -0
  203. package/dist/components/chips/chip_module.css +26 -5
  204. package/dist/components/container/container.astro +2 -2
  205. package/dist/components/container/container.classes.d.ts +14 -0
  206. package/dist/components/container/container.classes.d.ts.map +1 -0
  207. package/dist/components/container/container.classes.js +8 -0
  208. package/dist/components/container/container.contract.d.ts +12 -0
  209. package/dist/components/container/container.contract.d.ts.map +1 -0
  210. package/dist/components/container/container.contract.js +12 -0
  211. package/dist/components/container/container.js +2 -2
  212. package/dist/components/container/container.module.css.d.ts +4 -0
  213. package/dist/components/container/container.module.d.css.ts +4 -0
  214. package/dist/components/dropdown/dropdown.classes.d.ts +21 -0
  215. package/dist/components/dropdown/dropdown.classes.d.ts.map +1 -0
  216. package/dist/components/dropdown/dropdown.classes.js +15 -0
  217. package/dist/components/dropdown/dropdown.contract.d.ts +46 -0
  218. package/dist/components/dropdown/dropdown.contract.d.ts.map +1 -0
  219. package/dist/components/dropdown/dropdown.contract.js +52 -0
  220. package/dist/components/dropdown/dropdown.d.ts.map +1 -1
  221. package/dist/components/dropdown/dropdown.js +9 -9
  222. package/dist/components/dropdown/dropdown.module.css.d.ts +15 -0
  223. package/dist/components/dropdown/dropdown.module.d.css.ts +15 -0
  224. package/dist/components/hamburger/hamburger.astro +4 -6
  225. package/dist/components/hamburger/hamburger.classes.d.ts +26 -0
  226. package/dist/components/hamburger/hamburger.classes.d.ts.map +1 -0
  227. package/dist/components/hamburger/hamburger.classes.js +13 -0
  228. package/dist/components/hamburger/hamburger.contract.d.ts +31 -0
  229. package/dist/components/hamburger/hamburger.contract.d.ts.map +1 -0
  230. package/dist/components/hamburger/hamburger.contract.js +31 -0
  231. package/dist/components/hamburger/hamburger.d.ts.map +1 -1
  232. package/dist/components/hamburger/hamburger.js +7 -8
  233. package/dist/components/hamburger/hamburger.module.css.d.ts +9 -0
  234. package/dist/components/hamburger/hamburger.module.d.css.ts +9 -0
  235. package/dist/components/inputs/@types/checkbox-options.d.ts +38 -0
  236. package/dist/components/inputs/@types/checkbox-options.d.ts.map +1 -0
  237. package/dist/components/inputs/@types/checkbox-options.js +10 -0
  238. package/dist/components/inputs/@types/checkbox.d.ts +2 -33
  239. package/dist/components/inputs/@types/checkbox.d.ts.map +1 -1
  240. package/dist/components/inputs/@types/checkbox.js +1 -10
  241. package/dist/components/inputs/@types/input-options.d.ts +39 -0
  242. package/dist/components/inputs/@types/input-options.d.ts.map +1 -0
  243. package/dist/components/inputs/@types/input-options.js +11 -0
  244. package/dist/components/inputs/@types/input.d.ts +4 -34
  245. package/dist/components/inputs/@types/input.d.ts.map +1 -1
  246. package/dist/components/inputs/@types/input.js +1 -11
  247. package/dist/components/inputs/autocomplete.classes.d.ts +37 -0
  248. package/dist/components/inputs/autocomplete.classes.d.ts.map +1 -0
  249. package/dist/components/inputs/autocomplete.classes.js +23 -0
  250. package/dist/components/inputs/autocomplete.contract.d.ts +89 -0
  251. package/dist/components/inputs/autocomplete.contract.d.ts.map +1 -0
  252. package/dist/components/inputs/autocomplete.contract.js +104 -0
  253. package/dist/components/inputs/autocomplete.d.ts.map +1 -1
  254. package/dist/components/inputs/autocomplete.js +18 -12
  255. package/dist/components/inputs/autocomplete.module.css +15 -7
  256. package/dist/components/inputs/autocomplete.module.css.d.ts +35 -0
  257. package/dist/components/inputs/autocomplete.module.d.css.ts +35 -0
  258. package/dist/components/inputs/autocomplete_module.css +8 -8
  259. package/dist/components/inputs/checkbox-group.classes.d.ts +14 -0
  260. package/dist/components/inputs/checkbox-group.classes.d.ts.map +1 -0
  261. package/dist/components/inputs/checkbox-group.classes.js +8 -0
  262. package/dist/components/inputs/checkbox-group.contract.d.ts +12 -0
  263. package/dist/components/inputs/checkbox-group.contract.d.ts.map +1 -0
  264. package/dist/components/inputs/checkbox-group.contract.js +12 -0
  265. package/dist/components/inputs/checkbox-group.js +2 -2
  266. package/dist/components/inputs/checkbox-group.module.css.d.ts +5 -0
  267. package/dist/components/inputs/checkbox-group.module.d.css.ts +5 -0
  268. package/dist/components/inputs/checkbox.astro +39 -15
  269. package/dist/components/inputs/checkbox.classes.d.ts +36 -0
  270. package/dist/components/inputs/checkbox.classes.d.ts.map +1 -0
  271. package/dist/components/inputs/checkbox.classes.js +20 -0
  272. package/dist/components/inputs/checkbox.contract.d.ts +73 -0
  273. package/dist/components/inputs/checkbox.contract.d.ts.map +1 -0
  274. package/dist/components/inputs/checkbox.contract.js +83 -0
  275. package/dist/components/inputs/checkbox.d.ts.map +1 -1
  276. package/dist/components/inputs/checkbox.js +14 -9
  277. package/dist/components/inputs/checkbox.module.css +3 -10
  278. package/dist/components/inputs/checkbox.module.css.d.ts +23 -0
  279. package/dist/components/inputs/checkbox.module.d.css.ts +23 -0
  280. package/dist/components/inputs/checkbox.module.js +0 -1
  281. package/dist/components/inputs/checkbox_module.css +3 -9
  282. package/dist/components/inputs/error-text.astro +5 -3
  283. package/dist/components/inputs/error-text.classes.d.ts +16 -0
  284. package/dist/components/inputs/error-text.classes.d.ts.map +1 -0
  285. package/dist/components/inputs/error-text.classes.js +10 -0
  286. package/dist/components/inputs/error-text.contract.d.ts +19 -0
  287. package/dist/components/inputs/error-text.contract.d.ts.map +1 -0
  288. package/dist/components/inputs/error-text.contract.js +19 -0
  289. package/dist/components/inputs/error-text.js +4 -2
  290. package/dist/components/inputs/error-text.module.css.d.ts +7 -0
  291. package/dist/components/inputs/error-text.module.d.css.ts +7 -0
  292. package/dist/components/inputs/help-text.astro +5 -3
  293. package/dist/components/inputs/help-text.classes.d.ts +16 -0
  294. package/dist/components/inputs/help-text.classes.d.ts.map +1 -0
  295. package/dist/components/inputs/help-text.classes.js +10 -0
  296. package/dist/components/inputs/help-text.contract.d.ts +20 -0
  297. package/dist/components/inputs/help-text.contract.d.ts.map +1 -0
  298. package/dist/components/inputs/help-text.contract.js +22 -0
  299. package/dist/components/inputs/help-text.js +4 -2
  300. package/dist/components/inputs/help-text.module.css +1 -1
  301. package/dist/components/inputs/help-text.module.css.d.ts +7 -0
  302. package/dist/components/inputs/help-text.module.d.css.ts +7 -0
  303. package/dist/components/inputs/help-text_module.css +1 -1
  304. package/dist/components/inputs/input-adornment.astro +2 -4
  305. package/dist/components/inputs/input-adornment.classes.d.ts +15 -0
  306. package/dist/components/inputs/input-adornment.classes.d.ts.map +1 -0
  307. package/dist/components/inputs/input-adornment.classes.js +10 -0
  308. package/dist/components/inputs/input-adornment.contract.d.ts +18 -0
  309. package/dist/components/inputs/input-adornment.contract.d.ts.map +1 -0
  310. package/dist/components/inputs/input-adornment.contract.js +18 -0
  311. package/dist/components/inputs/input-adornment.d.ts.map +1 -1
  312. package/dist/components/inputs/input-adornment.js +4 -6
  313. package/dist/components/inputs/input-adornment.module.css.d.ts +6 -0
  314. package/dist/components/inputs/input-adornment.module.d.css.ts +6 -0
  315. package/dist/components/inputs/input-password.classes.d.ts +14 -0
  316. package/dist/components/inputs/input-password.classes.d.ts.map +1 -0
  317. package/dist/components/inputs/input-password.classes.js +8 -0
  318. package/dist/components/inputs/input-password.contract.d.ts +12 -0
  319. package/dist/components/inputs/input-password.contract.d.ts.map +1 -0
  320. package/dist/components/inputs/input-password.contract.js +12 -0
  321. package/dist/components/inputs/input-password.d.ts.map +1 -1
  322. package/dist/components/inputs/input-password.js +2 -3
  323. package/dist/components/inputs/input-password.module.css.d.ts +4 -0
  324. package/dist/components/inputs/input-password.module.d.css.ts +4 -0
  325. package/dist/components/inputs/input.astro +23 -15
  326. package/dist/components/inputs/input.classes.d.ts +43 -0
  327. package/dist/components/inputs/input.classes.d.ts.map +1 -0
  328. package/dist/components/inputs/input.classes.js +25 -0
  329. package/dist/components/inputs/input.contract.d.ts +100 -0
  330. package/dist/components/inputs/input.contract.d.ts.map +1 -0
  331. package/dist/components/inputs/input.contract.js +109 -0
  332. package/dist/components/inputs/input.d.ts.map +1 -1
  333. package/dist/components/inputs/input.js +20 -12
  334. package/dist/components/inputs/input.module.css +16 -14
  335. package/dist/components/inputs/input.module.css.d.ts +33 -0
  336. package/dist/components/inputs/input.module.d.css.ts +33 -0
  337. package/dist/components/inputs/input_module.css +13 -15
  338. package/dist/components/inputs/label.astro +5 -4
  339. package/dist/components/inputs/label.classes.d.ts +23 -0
  340. package/dist/components/inputs/label.classes.d.ts.map +1 -0
  341. package/dist/components/inputs/label.classes.js +11 -0
  342. package/dist/components/inputs/label.contract.d.ts +25 -0
  343. package/dist/components/inputs/label.contract.d.ts.map +1 -0
  344. package/dist/components/inputs/label.contract.js +27 -0
  345. package/dist/components/inputs/label.d.ts +3 -1
  346. package/dist/components/inputs/label.d.ts.map +1 -1
  347. package/dist/components/inputs/label.js +6 -4
  348. package/dist/components/inputs/label.module.css +21 -1
  349. package/dist/components/inputs/label.module.css.d.ts +8 -0
  350. package/dist/components/inputs/label.module.d.css.ts +8 -0
  351. package/dist/components/inputs/label.module.js +3 -0
  352. package/dist/components/inputs/label_module.css +9 -1
  353. package/dist/components/inputs/radio-group.classes.d.ts +27 -0
  354. package/dist/components/inputs/radio-group.classes.d.ts.map +1 -0
  355. package/dist/components/inputs/radio-group.classes.js +16 -0
  356. package/dist/components/inputs/radio-group.contract.d.ts +50 -0
  357. package/dist/components/inputs/radio-group.contract.d.ts.map +1 -0
  358. package/dist/components/inputs/radio-group.contract.js +55 -0
  359. package/dist/components/inputs/radio-group.js +10 -6
  360. package/dist/components/inputs/radio-group.module.css.d.ts +19 -0
  361. package/dist/components/inputs/radio-group.module.d.css.ts +19 -0
  362. package/dist/components/inputs/select.classes.d.ts +28 -0
  363. package/dist/components/inputs/select.classes.d.ts.map +1 -0
  364. package/dist/components/inputs/select.classes.js +16 -0
  365. package/dist/components/inputs/select.contract.d.ts +51 -0
  366. package/dist/components/inputs/select.contract.d.ts.map +1 -0
  367. package/dist/components/inputs/select.contract.js +54 -0
  368. package/dist/components/inputs/select.d.ts.map +1 -1
  369. package/dist/components/inputs/select.js +11 -9
  370. package/dist/components/inputs/select.module.css +26 -13
  371. package/dist/components/inputs/select.module.css.d.ts +22 -0
  372. package/dist/components/inputs/select.module.d.css.ts +22 -0
  373. package/dist/components/inputs/select_module.css +11 -11
  374. package/dist/components/inputs/text-area.astro +4 -9
  375. package/dist/components/inputs/text-area.classes.d.ts +22 -0
  376. package/dist/components/inputs/text-area.classes.d.ts.map +1 -0
  377. package/dist/components/inputs/text-area.classes.js +20 -0
  378. package/dist/components/inputs/text-area.contract.d.ts +23 -0
  379. package/dist/components/inputs/text-area.contract.d.ts.map +1 -0
  380. package/dist/components/inputs/text-area.contract.js +25 -0
  381. package/dist/components/inputs/text-area.d.ts.map +1 -1
  382. package/dist/components/inputs/text-area.js +8 -6
  383. package/dist/components/inputs/text-area.module.css +7 -5
  384. package/dist/components/inputs/text-area.module.css.d.ts +6 -0
  385. package/dist/components/inputs/text-area.module.d.css.ts +6 -0
  386. package/dist/components/inputs/text-area_module.css +2 -2
  387. package/dist/components/notifications/alert.classes.d.ts +27 -0
  388. package/dist/components/notifications/alert.classes.d.ts.map +1 -0
  389. package/dist/components/notifications/alert.classes.js +17 -0
  390. package/dist/components/notifications/alert.contract.d.ts +56 -0
  391. package/dist/components/notifications/alert.contract.d.ts.map +1 -0
  392. package/dist/components/notifications/alert.contract.js +56 -0
  393. package/dist/components/notifications/alert.d.ts.map +1 -1
  394. package/dist/components/notifications/alert.js +16 -15
  395. package/dist/components/notifications/alert.module.css.d.ts +19 -0
  396. package/dist/components/notifications/alert.module.d.css.ts +19 -0
  397. package/dist/components/notifications/toast.classes.d.ts +26 -0
  398. package/dist/components/notifications/toast.classes.d.ts.map +1 -0
  399. package/dist/components/notifications/toast.classes.js +17 -0
  400. package/dist/components/notifications/toast.contract.d.ts +57 -0
  401. package/dist/components/notifications/toast.contract.d.ts.map +1 -0
  402. package/dist/components/notifications/toast.contract.js +64 -0
  403. package/dist/components/notifications/toast.d.ts.map +1 -1
  404. package/dist/components/notifications/toast.js +10 -8
  405. package/dist/components/notifications/toast.module.css +16 -4
  406. package/dist/components/notifications/toast.module.css.d.ts +19 -0
  407. package/dist/components/notifications/toast.module.d.css.ts +19 -0
  408. package/dist/components/notifications/toast_module.css +8 -4
  409. package/dist/components/pager/ellipses.js +2 -2
  410. package/dist/components/pager/first-button.js +6 -3
  411. package/dist/components/pager/last-button.js +6 -3
  412. package/dist/components/pager/next-button.js +6 -7
  413. package/dist/components/pager/number-button.js +8 -10
  414. package/dist/components/pager/pagination.classes.d.ts +38 -0
  415. package/dist/components/pager/pagination.classes.d.ts.map +1 -0
  416. package/dist/components/pager/pagination.classes.js +26 -0
  417. package/dist/components/pager/pagination.contract.d.ts +132 -0
  418. package/dist/components/pager/pagination.contract.d.ts.map +1 -0
  419. package/dist/components/pager/pagination.contract.js +109 -0
  420. package/dist/components/pager/pagination.d.ts.map +1 -1
  421. package/dist/components/pager/pagination.js +5 -3
  422. package/dist/components/pager/pagination.module.css +121 -15
  423. package/dist/components/pager/pagination.module.css.d.ts +28 -0
  424. package/dist/components/pager/pagination.module.d.css.ts +28 -0
  425. package/dist/components/pager/pagination_module.css +117 -12
  426. package/dist/components/pager/previous-button.js +6 -5
  427. package/dist/components/scroll-area/scroll-area.classes.d.ts +18 -0
  428. package/dist/components/scroll-area/scroll-area.classes.d.ts.map +1 -0
  429. package/dist/components/scroll-area/scroll-area.classes.js +12 -0
  430. package/dist/components/scroll-area/scroll-area.contract.d.ts +33 -0
  431. package/dist/components/scroll-area/scroll-area.contract.d.ts.map +1 -0
  432. package/dist/components/scroll-area/scroll-area.contract.js +35 -0
  433. package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
  434. package/dist/components/scroll-area/scroll-area.js +8 -8
  435. package/dist/components/scroll-area/scroll-area.module.css.d.ts +8 -0
  436. package/dist/components/scroll-area/scroll-area.module.d.css.ts +8 -0
  437. package/dist/components/scroll-to-top/scroll-to-top.astro +15 -7
  438. package/dist/components/scroll-to-top/scroll-to-top.classes.d.ts +16 -0
  439. package/dist/components/scroll-to-top/scroll-to-top.classes.d.ts.map +1 -0
  440. package/dist/components/scroll-to-top/scroll-to-top.classes.js +10 -0
  441. package/dist/components/scroll-to-top/scroll-to-top.contract.d.ts +17 -0
  442. package/dist/components/scroll-to-top/scroll-to-top.contract.d.ts.map +1 -0
  443. package/dist/components/scroll-to-top/scroll-to-top.contract.js +17 -0
  444. package/dist/components/scroll-to-top/scroll-to-top.d.ts.map +1 -1
  445. package/dist/components/scroll-to-top/scroll-to-top.js +4 -5
  446. package/dist/components/scroll-to-top/scroll-to-top.module.css.d.ts +7 -0
  447. package/dist/components/scroll-to-top/scroll-to-top.module.d.css.ts +7 -0
  448. package/dist/components/section/section.astro +2 -2
  449. package/dist/components/section/section.classes.d.ts +14 -0
  450. package/dist/components/section/section.classes.d.ts.map +1 -0
  451. package/dist/components/section/section.classes.js +8 -0
  452. package/dist/components/section/section.contract.d.ts +12 -0
  453. package/dist/components/section/section.contract.d.ts.map +1 -0
  454. package/dist/components/section/section.contract.js +12 -0
  455. package/dist/components/section/section.js +2 -2
  456. package/dist/components/section/section.module.css.d.ts +4 -0
  457. package/dist/components/section/section.module.d.css.ts +4 -0
  458. package/dist/components/shimmer/shimmer.classes.d.ts +23 -0
  459. package/dist/components/shimmer/shimmer.classes.d.ts.map +1 -0
  460. package/dist/components/shimmer/shimmer.classes.js +11 -0
  461. package/dist/components/shimmer/shimmer.contract.d.ts +24 -0
  462. package/dist/components/shimmer/shimmer.contract.d.ts.map +1 -0
  463. package/dist/components/shimmer/shimmer.contract.js +24 -0
  464. package/dist/components/shimmer/shimmer.d.ts.map +1 -1
  465. package/dist/components/shimmer/shimmer.js +8 -14
  466. package/dist/components/shimmer/shimmer.module.css.d.ts +8 -0
  467. package/dist/components/shimmer/shimmer.module.d.css.ts +8 -0
  468. package/dist/components/table/table.classes.d.ts +22 -0
  469. package/dist/components/table/table.classes.d.ts.map +1 -0
  470. package/dist/components/table/table.classes.js +16 -0
  471. package/dist/components/table/table.contract.d.ts +51 -0
  472. package/dist/components/table/table.contract.d.ts.map +1 -0
  473. package/dist/components/table/table.contract.js +51 -0
  474. package/dist/components/table/table.d.ts.map +1 -1
  475. package/dist/components/table/table.js +10 -10
  476. package/dist/components/table/table.module.css.d.ts +18 -0
  477. package/dist/components/table/table.module.d.css.ts +18 -0
  478. package/dist/components/tabs/tabs.classes.d.ts +17 -0
  479. package/dist/components/tabs/tabs.classes.d.ts.map +1 -0
  480. package/dist/components/tabs/tabs.classes.js +11 -0
  481. package/dist/components/tabs/tabs.contract.d.ts +28 -0
  482. package/dist/components/tabs/tabs.contract.d.ts.map +1 -0
  483. package/dist/components/tabs/tabs.contract.js +30 -0
  484. package/dist/components/tabs/tabs.d.ts.map +1 -1
  485. package/dist/components/tabs/tabs.js +5 -5
  486. package/dist/components/tabs/tabs.module.css.d.ts +11 -0
  487. package/dist/components/tabs/tabs.module.d.css.ts +11 -0
  488. package/dist/components/tooltip/tooltip.classes.d.ts +18 -0
  489. package/dist/components/tooltip/tooltip.classes.d.ts.map +1 -0
  490. package/dist/components/tooltip/tooltip.classes.js +12 -0
  491. package/dist/components/tooltip/tooltip.contract.d.ts +34 -0
  492. package/dist/components/tooltip/tooltip.contract.d.ts.map +1 -0
  493. package/dist/components/tooltip/tooltip.contract.js +39 -0
  494. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  495. package/dist/components/tooltip/tooltip.js +6 -7
  496. package/dist/components/tooltip/tooltip.module.css +27 -11
  497. package/dist/components/tooltip/tooltip.module.css.d.ts +12 -0
  498. package/dist/components/tooltip/tooltip.module.d.css.ts +12 -0
  499. package/dist/components/tooltip/tooltip_module.css +7 -7
  500. package/dist/core/part-classes.d.ts +38 -0
  501. package/dist/core/part-classes.d.ts.map +1 -0
  502. package/dist/core/part-classes.js +27 -0
  503. package/dist/css/accordion.css +55 -0
  504. package/dist/css/alert.css +130 -0
  505. package/dist/css/autocomplete.css +314 -0
  506. package/dist/css/avatar.css +38 -0
  507. package/dist/css/badge.css +53 -0
  508. package/dist/css/button-group.css +19 -0
  509. package/dist/css/button.css +384 -0
  510. package/dist/css/card.css +64 -0
  511. package/dist/css/checkbox-group.css +12 -0
  512. package/dist/css/checkbox.css +216 -0
  513. package/dist/css/chip.css +338 -0
  514. package/dist/css/combo-button.css +74 -0
  515. package/dist/css/container.css +31 -0
  516. package/dist/css/control-buttons.css +111 -0
  517. package/dist/css/copy-button.css +51 -0
  518. package/dist/css/datepicker.css +193 -0
  519. package/dist/css/drawer.css +167 -0
  520. package/dist/css/dropdown.css +113 -0
  521. package/dist/css/ellipses.css +75 -0
  522. package/dist/css/error-text.css +23 -0
  523. package/dist/css/hamburger.css +171 -0
  524. package/dist/css/help-text.css +23 -0
  525. package/dist/css/input-adornment.css +21 -0
  526. package/dist/css/input-password.css +25 -0
  527. package/dist/css/input.css +259 -0
  528. package/dist/css/label.css +24 -0
  529. package/dist/css/modal.css +120 -0
  530. package/dist/css/pagination.css +210 -0
  531. package/dist/css/radio-group.css +162 -0
  532. package/dist/css/ring.css +51 -0
  533. package/dist/css/scroll-area.css +65 -0
  534. package/dist/css/scroll-to-top.css +102 -0
  535. package/dist/css/section.css +11 -0
  536. package/dist/css/select.css +143 -0
  537. package/dist/css/shimmer.css +49 -0
  538. package/dist/css/spinner.css +101 -0
  539. package/dist/css/table.css +93 -0
  540. package/dist/css/tabs.css +54 -0
  541. package/dist/css/text-area.css +21 -0
  542. package/dist/css/timeline.css +85 -0
  543. package/dist/css/toast.css +218 -0
  544. package/dist/css/tooltip.css +75 -0
  545. package/dist/loaders/ellipses.classes.d.ts +26 -0
  546. package/dist/loaders/ellipses.classes.d.ts.map +1 -0
  547. package/dist/loaders/ellipses.classes.js +15 -0
  548. package/dist/loaders/ellipses.contract.d.ts +18 -0
  549. package/dist/loaders/ellipses.contract.d.ts.map +1 -0
  550. package/dist/loaders/ellipses.contract.js +21 -0
  551. package/dist/loaders/ellipses.d.ts.map +1 -1
  552. package/dist/loaders/ellipses.js +8 -6
  553. package/dist/loaders/ellipses.module.css +8 -4
  554. package/dist/loaders/ellipses.module.css.d.ts +13 -0
  555. package/dist/loaders/ellipses.module.d.css.ts +13 -0
  556. package/dist/loaders/ellipses_module.css +4 -4
  557. package/dist/loaders/ring.classes.d.ts +26 -0
  558. package/dist/loaders/ring.classes.d.ts.map +1 -0
  559. package/dist/loaders/ring.classes.js +15 -0
  560. package/dist/loaders/ring.contract.d.ts +18 -0
  561. package/dist/loaders/ring.contract.d.ts.map +1 -0
  562. package/dist/loaders/ring.contract.js +21 -0
  563. package/dist/loaders/ring.d.ts.map +1 -1
  564. package/dist/loaders/ring.js +8 -6
  565. package/dist/loaders/ring.module.css +6 -3
  566. package/dist/loaders/ring.module.css.d.ts +7 -0
  567. package/dist/loaders/ring.module.d.css.ts +7 -0
  568. package/dist/loaders/ring_module.css +3 -3
  569. package/dist/loaders/spinner.classes.d.ts +27 -0
  570. package/dist/loaders/spinner.classes.d.ts.map +1 -0
  571. package/dist/loaders/spinner.classes.js +16 -0
  572. package/dist/loaders/spinner.contract.d.ts +23 -0
  573. package/dist/loaders/spinner.contract.d.ts.map +1 -0
  574. package/dist/loaders/spinner.contract.js +26 -0
  575. package/dist/loaders/spinner.d.ts.map +1 -1
  576. package/dist/loaders/spinner.js +9 -7
  577. package/dist/loaders/spinner.module.css +24 -12
  578. package/dist/loaders/spinner.module.css.d.ts +9 -0
  579. package/dist/loaders/spinner.module.d.css.ts +9 -0
  580. package/dist/loaders/spinner_module.css +12 -12
  581. package/dist/styles/components-vanilla.css +1 -1
  582. package/dist/widgets/datepicker/datepicker.classes.d.ts +35 -0
  583. package/dist/widgets/datepicker/datepicker.classes.d.ts.map +1 -0
  584. package/dist/widgets/datepicker/datepicker.classes.js +23 -0
  585. package/dist/widgets/datepicker/datepicker.contract.d.ts +90 -0
  586. package/dist/widgets/datepicker/datepicker.contract.d.ts.map +1 -0
  587. package/dist/widgets/datepicker/datepicker.contract.js +97 -0
  588. package/dist/widgets/datepicker/datepicker.d.ts.map +1 -1
  589. package/dist/widgets/datepicker/datepicker.js +17 -17
  590. package/dist/widgets/datepicker/datepicker.module.css +2 -1
  591. package/dist/widgets/datepicker/datepicker.module.css.d.ts +33 -0
  592. package/dist/widgets/datepicker/datepicker.module.d.css.ts +33 -0
  593. package/dist/widgets/datepicker/datepicker_module.css +1 -1
  594. package/dist/widgets/drawer/drawer-container.d.ts.map +1 -1
  595. package/dist/widgets/drawer/drawer-container.js +2 -2
  596. package/dist/widgets/drawer/drawer-content.d.ts.map +1 -1
  597. package/dist/widgets/drawer/drawer-content.js +2 -2
  598. package/dist/widgets/drawer/drawer-header.js +2 -2
  599. package/dist/widgets/drawer/drawer-top-actions.js +2 -2
  600. package/dist/widgets/drawer/drawer.classes.d.ts +30 -0
  601. package/dist/widgets/drawer/drawer.classes.d.ts.map +1 -0
  602. package/dist/widgets/drawer/drawer.classes.js +21 -0
  603. package/dist/widgets/drawer/drawer.contract.d.ts +52 -0
  604. package/dist/widgets/drawer/drawer.contract.d.ts.map +1 -0
  605. package/dist/widgets/drawer/drawer.contract.js +62 -0
  606. package/dist/widgets/drawer/drawer.d.ts.map +1 -1
  607. package/dist/widgets/drawer/drawer.js +6 -4
  608. package/dist/widgets/drawer/drawer.module.css +25 -10
  609. package/dist/widgets/drawer/drawer.module.css.d.ts +26 -0
  610. package/dist/widgets/drawer/drawer.module.d.css.ts +26 -0
  611. package/dist/widgets/drawer/drawer_module.css +40 -4
  612. package/dist/widgets/modal/modal-actions.d.ts.map +1 -1
  613. package/dist/widgets/modal/modal-actions.js +2 -2
  614. package/dist/widgets/modal/modal-container.d.ts.map +1 -1
  615. package/dist/widgets/modal/modal-container.js +2 -2
  616. package/dist/widgets/modal/modal-content.d.ts.map +1 -1
  617. package/dist/widgets/modal/modal-content.js +2 -2
  618. package/dist/widgets/modal/modal-header.js +2 -2
  619. package/dist/widgets/modal/modal.classes.d.ts +19 -0
  620. package/dist/widgets/modal/modal.classes.d.ts.map +1 -0
  621. package/dist/widgets/modal/modal.classes.js +13 -0
  622. package/dist/widgets/modal/modal.contract.d.ts +39 -0
  623. package/dist/widgets/modal/modal.contract.d.ts.map +1 -0
  624. package/dist/widgets/modal/modal.contract.js +43 -0
  625. package/dist/widgets/modal/modal.d.ts.map +1 -1
  626. package/dist/widgets/modal/modal.js +3 -4
  627. package/dist/widgets/modal/modal.module.css +6 -2
  628. package/dist/widgets/modal/modal.module.css.d.ts +14 -0
  629. package/dist/widgets/modal/modal.module.d.css.ts +14 -0
  630. package/dist/widgets/modal/modal_module.css +2 -2
  631. package/dist/widgets/timeline/timeline.classes.d.ts +20 -0
  632. package/dist/widgets/timeline/timeline.classes.d.ts.map +1 -0
  633. package/dist/widgets/timeline/timeline.classes.js +14 -0
  634. package/dist/widgets/timeline/timeline.contract.d.ts +42 -0
  635. package/dist/widgets/timeline/timeline.contract.d.ts.map +1 -0
  636. package/dist/widgets/timeline/timeline.contract.js +42 -0
  637. package/dist/widgets/timeline/timeline.d.ts.map +1 -1
  638. package/dist/widgets/timeline/timeline.js +8 -8
  639. package/dist/widgets/timeline/timeline.module.css.d.ts +16 -0
  640. package/dist/widgets/timeline/timeline.module.d.css.ts +16 -0
  641. package/package.json +12 -2
  642. package/src/components/@types/contract.ts +63 -0
  643. package/src/components/accordion/accordion.classes.ts +23 -0
  644. package/src/components/accordion/accordion.contract.ts +35 -0
  645. package/src/components/accordion/accordion.tsx +6 -14
  646. package/src/components/avatar/avatar.classes.ts +22 -0
  647. package/src/components/avatar/avatar.contract.ts +29 -0
  648. package/src/components/avatar/avatar.stories.tsx +8 -0
  649. package/src/components/avatar/avatar.tsx +14 -15
  650. package/src/components/badge/badge.classes.ts +23 -0
  651. package/src/components/badge/badge.contract.ts +24 -0
  652. package/src/components/badge/badge.tsx +2 -8
  653. package/src/components/button/button-group.classes.ts +19 -0
  654. package/src/components/button/button-group.contract.ts +14 -0
  655. package/src/components/button/button-group.tsx +2 -2
  656. package/src/components/button/button.astro +3 -11
  657. package/src/components/button/button.classes.ts +37 -0
  658. package/src/components/button/button.contract.ts +48 -0
  659. package/src/components/button/button.module.css +12 -0
  660. package/src/components/button/button.tsx +2 -13
  661. package/src/components/button/combo-button.classes.ts +41 -0
  662. package/src/components/button/combo-button.contract.ts +47 -0
  663. package/src/components/button/combo-button.module.css +6 -2
  664. package/src/components/button/combo-button.tsx +9 -11
  665. package/src/components/button/control-buttons.classes.ts +34 -0
  666. package/src/components/button/control-buttons.contract.ts +50 -0
  667. package/src/components/button/control-buttons.module.css +43 -17
  668. package/src/components/button/control-buttons.tsx +34 -9
  669. package/src/components/button/copy-button.classes.ts +26 -0
  670. package/src/components/button/copy-button.contract.ts +29 -0
  671. package/src/components/button/copy-button.tsx +6 -13
  672. package/src/components/button/icon-button.astro +3 -3
  673. package/src/components/button/icon-button.tsx +3 -3
  674. package/src/components/card/card-content.astro +2 -2
  675. package/src/components/card/card-description.astro +2 -2
  676. package/src/components/card/card-footer.astro +2 -2
  677. package/src/components/card/card-header.astro +2 -2
  678. package/src/components/card/card-title.astro +2 -2
  679. package/src/components/card/card.astro +3 -3
  680. package/src/components/card/card.classes.ts +30 -0
  681. package/src/components/card/card.contract.ts +44 -0
  682. package/src/components/card/card.tsx +7 -24
  683. package/src/components/chips/chip.classes.ts +48 -0
  684. package/src/components/chips/chip.contract.ts +60 -0
  685. package/src/components/chips/chip.module.css +45 -0
  686. package/src/components/chips/chip.tsx +13 -23
  687. package/src/components/container/container.astro +2 -2
  688. package/src/components/container/container.classes.ts +19 -0
  689. package/src/components/container/container.contract.ts +13 -0
  690. package/src/components/container/container.tsx +2 -2
  691. package/src/components/dropdown/dropdown.classes.ts +26 -0
  692. package/src/components/dropdown/dropdown.contract.ts +49 -0
  693. package/src/components/dropdown/dropdown.tsx +9 -29
  694. package/src/components/hamburger/hamburger.astro +4 -6
  695. package/src/components/hamburger/hamburger.classes.ts +33 -0
  696. package/src/components/hamburger/hamburger.contract.ts +33 -0
  697. package/src/components/hamburger/hamburger.tsx +4 -13
  698. package/src/components/inputs/@types/checkbox-options.ts +44 -0
  699. package/src/components/inputs/@types/checkbox.ts +2 -36
  700. package/src/components/inputs/@types/input-options.ts +45 -0
  701. package/src/components/inputs/@types/input.ts +4 -41
  702. package/src/components/inputs/autocomplete.classes.ts +51 -0
  703. package/src/components/inputs/autocomplete.contract.ts +94 -0
  704. package/src/components/inputs/autocomplete.module.css +15 -7
  705. package/src/components/inputs/autocomplete.tsx +13 -35
  706. package/src/components/inputs/checkbox-group.classes.ts +19 -0
  707. package/src/components/inputs/checkbox-group.contract.ts +13 -0
  708. package/src/components/inputs/checkbox-group.tsx +2 -2
  709. package/src/components/inputs/checkbox.astro +39 -15
  710. package/src/components/inputs/checkbox.classes.ts +48 -0
  711. package/src/components/inputs/checkbox.contract.ts +73 -0
  712. package/src/components/inputs/checkbox.module.css +3 -10
  713. package/src/components/inputs/checkbox.tsx +13 -25
  714. package/src/components/inputs/error-text.astro +5 -3
  715. package/src/components/inputs/error-text.classes.ts +23 -0
  716. package/src/components/inputs/error-text.contract.ts +20 -0
  717. package/src/components/inputs/error-text.tsx +2 -2
  718. package/src/components/inputs/help-text.astro +5 -3
  719. package/src/components/inputs/help-text.classes.ts +23 -0
  720. package/src/components/inputs/help-text.contract.ts +21 -0
  721. package/src/components/inputs/help-text.module.css +1 -1
  722. package/src/components/inputs/help-text.tsx +2 -2
  723. package/src/components/inputs/input-adornment.astro +2 -4
  724. package/src/components/inputs/input-adornment.classes.ts +24 -0
  725. package/src/components/inputs/input-adornment.contract.ts +19 -0
  726. package/src/components/inputs/input-adornment.tsx +2 -12
  727. package/src/components/inputs/input-password.classes.ts +19 -0
  728. package/src/components/inputs/input-password.contract.ts +14 -0
  729. package/src/components/inputs/input-password.tsx +2 -4
  730. package/src/components/inputs/input.astro +23 -15
  731. package/src/components/inputs/input.classes.ts +67 -0
  732. package/src/components/inputs/input.contract.ts +93 -0
  733. package/src/components/inputs/input.module.css +16 -14
  734. package/src/components/inputs/input.tsx +31 -34
  735. package/src/components/inputs/label.astro +5 -4
  736. package/src/components/inputs/label.classes.ts +29 -0
  737. package/src/components/inputs/label.contract.ts +27 -0
  738. package/src/components/inputs/label.module.css +21 -1
  739. package/src/components/inputs/label.tsx +13 -4
  740. package/src/components/inputs/radio-group.classes.ts +36 -0
  741. package/src/components/inputs/radio-group.contract.ts +53 -0
  742. package/src/components/inputs/radio-group.tsx +6 -6
  743. package/src/components/inputs/select.classes.ts +35 -0
  744. package/src/components/inputs/select.contract.ts +55 -0
  745. package/src/components/inputs/select.module.css +26 -13
  746. package/src/components/inputs/select.tsx +9 -13
  747. package/src/components/inputs/text-area.astro +4 -9
  748. package/src/components/inputs/text-area.classes.ts +39 -0
  749. package/src/components/inputs/text-area.contract.ts +22 -0
  750. package/src/components/inputs/text-area.module.css +7 -5
  751. package/src/components/inputs/text-area.tsx +6 -11
  752. package/src/components/notifications/alert.classes.ts +34 -0
  753. package/src/components/notifications/alert.contract.ts +59 -0
  754. package/src/components/notifications/alert.tsx +14 -25
  755. package/src/components/notifications/toast.classes.ts +33 -0
  756. package/src/components/notifications/toast.contract.ts +61 -0
  757. package/src/components/notifications/toast.module.css +16 -4
  758. package/src/components/notifications/toast.tsx +8 -12
  759. package/src/components/pager/ellipses.tsx +2 -2
  760. package/src/components/pager/first-button.tsx +3 -5
  761. package/src/components/pager/last-button.tsx +3 -5
  762. package/src/components/pager/next-button.tsx +6 -5
  763. package/src/components/pager/number-button.tsx +12 -12
  764. package/src/components/pager/pagination.classes.ts +63 -0
  765. package/src/components/pager/pagination.contract.ts +91 -0
  766. package/src/components/pager/pagination.module.css +121 -15
  767. package/src/components/pager/pagination.tsx +3 -17
  768. package/src/components/pager/previous-button.tsx +6 -5
  769. package/src/components/scroll-area/scroll-area.classes.ts +23 -0
  770. package/src/components/scroll-area/scroll-area.contract.ts +35 -0
  771. package/src/components/scroll-area/scroll-area.tsx +8 -17
  772. package/src/components/scroll-to-top/scroll-to-top.astro +15 -7
  773. package/src/components/scroll-to-top/scroll-to-top.classes.ts +23 -0
  774. package/src/components/scroll-to-top/scroll-to-top.contract.ts +19 -0
  775. package/src/components/scroll-to-top/scroll-to-top.tsx +2 -10
  776. package/src/components/section/section.astro +2 -2
  777. package/src/components/section/section.classes.ts +19 -0
  778. package/src/components/section/section.contract.ts +14 -0
  779. package/src/components/section/section.tsx +2 -2
  780. package/src/components/shimmer/shimmer.classes.ts +30 -0
  781. package/src/components/shimmer/shimmer.contract.ts +26 -0
  782. package/src/components/shimmer/shimmer.tsx +4 -15
  783. package/src/components/table/table.classes.ts +27 -0
  784. package/src/components/table/table.contract.ts +52 -0
  785. package/src/components/table/table.tsx +10 -14
  786. package/src/components/tabs/tabs.classes.ts +22 -0
  787. package/src/components/tabs/tabs.contract.ts +29 -0
  788. package/src/components/tabs/tabs.tsx +5 -23
  789. package/src/components/tooltip/tooltip.classes.ts +23 -0
  790. package/src/components/tooltip/tooltip.contract.ts +36 -0
  791. package/src/components/tooltip/tooltip.module.css +27 -11
  792. package/src/components/tooltip/tooltip.tsx +6 -9
  793. package/src/core/part-classes.ts +66 -0
  794. package/src/loaders/ellipses.classes.ts +42 -0
  795. package/src/loaders/ellipses.contract.ts +19 -0
  796. package/src/loaders/ellipses.module.css +8 -4
  797. package/src/loaders/ellipses.tsx +5 -14
  798. package/src/loaders/ring.classes.ts +41 -0
  799. package/src/loaders/ring.contract.ts +19 -0
  800. package/src/loaders/ring.module.css +6 -3
  801. package/src/loaders/ring.tsx +4 -16
  802. package/src/loaders/spinner.classes.ts +43 -0
  803. package/src/loaders/spinner.contract.ts +24 -0
  804. package/src/loaders/spinner.module.css +24 -12
  805. package/src/loaders/spinner.tsx +5 -25
  806. package/src/styles/components/components.css +0 -2
  807. package/src/widgets/datepicker/datepicker.classes.ts +40 -0
  808. package/src/widgets/datepicker/datepicker.contract.ts +97 -0
  809. package/src/widgets/datepicker/datepicker.module.css +2 -1
  810. package/src/widgets/datepicker/datepicker.tsx +17 -49
  811. package/src/widgets/drawer/drawer-container.tsx +2 -6
  812. package/src/widgets/drawer/drawer-content.tsx +2 -6
  813. package/src/widgets/drawer/drawer-header.tsx +2 -2
  814. package/src/widgets/drawer/drawer-top-actions.tsx +2 -2
  815. package/src/widgets/drawer/drawer.classes.ts +39 -0
  816. package/src/widgets/drawer/drawer.contract.ts +55 -0
  817. package/src/widgets/drawer/drawer.module.css +25 -10
  818. package/src/widgets/drawer/drawer.tsx +3 -15
  819. package/src/widgets/modal/modal-actions.tsx +2 -6
  820. package/src/widgets/modal/modal-container.tsx +2 -6
  821. package/src/widgets/modal/modal-content.tsx +2 -6
  822. package/src/widgets/modal/modal-header.tsx +2 -2
  823. package/src/widgets/modal/modal.classes.ts +24 -0
  824. package/src/widgets/modal/modal.contract.ts +44 -0
  825. package/src/widgets/modal/modal.module.css +6 -2
  826. package/src/widgets/modal/modal.tsx +3 -4
  827. package/src/widgets/timeline/timeline.classes.ts +25 -0
  828. package/src/widgets/timeline/timeline.contract.ts +43 -0
  829. package/src/widgets/timeline/timeline.tsx +8 -12
  830. package/src/styles/components/loaders.css +0 -212
package/README.md CHANGED
@@ -28,13 +28,17 @@ We built this with the following design goals in mind:
28
28
 
29
29
  ### Other key points:
30
30
 
31
- We use CSS [Cascade layers](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Styling_basics/Cascade_layers) via the `@layer` statement at-rule for named layers. This allows all of our CSS to be easily overridden by any consuming client application - since CSS outside any layer automatically has a higher specificity than CSS within a layer. We also carefully order our layers to create our own specificity hierarchy - for example - `@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;`
31
+ We use CSS [Cascade layers](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Styling_basics/Cascade_layers) via the `@layer` statement at-rule for named layers. All kit CSS lives in `infonomic-*` layers, in a fixed order shared with the host application and Tailwind, so that a host can restyle a kit component from its own `overrides` layer, and a Tailwind utility applied to an element has the final say, without `!important` and without raising selector specificity. The order and the rules for hosts are set out in [CSS cascade layers](#css-cascade-layers).
32
32
 
33
- For components - this means ensuring that the layer specificity order appears at the top of each CSS module. It acts as a sort of 'preamble' - and it means that the component's bundled CSS will behave correctly when used within the overall UI kit.
33
+ For components - this means the full layer order appears at the top of each CSS module. It acts as a sort of 'preamble' - and it means that a component's CSS behaves correctly whichever stylesheet the browser happens to load first.
34
+
35
+ Styling follows one rule: **classes carry what the author chooses, and data attributes carry what the behaviour layer reports.** Intent, variant and size are classes. Open, checked, highlighted, disabled and similar states are styled through the data attributes and CSS variables that [Base UI](https://base-ui.com/) sets on each part. Base UI's part anatomy is our blueprint for component structure, which is what lets the same stylesheet serve another behaviour library that follows it.
36
+
37
+ Every documented part of a component has a stable, readable class beside its generated CSS Module class - `infonomic-button`, `infonomic-button-outlined`, `infonomic-modal-backdrop` and so on. The kit's stylesheets style these names for every component except the calendar and icons, and the React and Astro components put each one on the element it belongs to (see [Plain HTML and class hooks](#plain-html-and-class-hooks)). The hooks serve two purposes. A host can target them from its `overrides` layer to restyle a kit component. And they work on their own: hand-written markup such as `<a class="infonomic-button infonomic-button-filled infonomic-button-primary infonomic-button-md">` is styled like the kit's `Button`, with no component and no framework. See [Plain HTML and class hooks](#plain-html-and-class-hooks).
34
38
 
35
39
  We also highly value the option to 'tell' components to ignore or override a top-level theme decision of light or dark. There is an intentionally duplicated `.not-dark` class selector in our functional tokens file. Being able to use `.not-dark` means that we can override components that need to be in 'dark mode' on an otherwise 'light theme', or that need to be in `.not-dark` mode on an otherwise 'dark theme'.
36
40
 
37
- In addition to CSS modules, we're experimenting with an assembled global stylesheet (in a post-build script) that can be used in vanilla HTML/CSS projects.
41
+ The styling is also being made available independently of React, as class helpers and per-component stylesheets that any framework can use. See [Using the kit with other frameworks](#using-the-kit-with-other-frameworks).
38
42
 
39
43
  ## Design System Architecture
40
44
 
@@ -97,6 +101,77 @@ Followed by the below in any of your components or routes where you'd like to im
97
101
  import { Button, Card, Container, Section } from '@infonomic/uikit/react'
98
102
  ```
99
103
 
104
+ ### Astro
105
+
106
+ A subset of components is available as Astro components:
107
+
108
+ ```astro
109
+ ---
110
+ import { Button, Card, Container, Section } from '@infonomic/uikit/astro'
111
+ ---
112
+ ```
113
+
114
+ An Astro host needs two things in `astro.config.mjs`. The kit ships `.astro` files and CSS imports, so Vite has to bundle it rather than leave it to Node; without `noExternal`, pages fail with `Unknown file extension ".astro"`. And like any host it needs the layer order established first (see [Host integration](#host-integration)):
115
+
116
+ ```js
117
+ import { infonomicLayerOrder } from '@infonomic/uikit/css-layers'
118
+ import { defineConfig } from 'astro/config'
119
+
120
+ export default defineConfig({
121
+ vite: {
122
+ resolve: { noExternal: ['@infonomic/uikit'] },
123
+ css: { postcss: { plugins: [infonomicLayerOrder()] } },
124
+ },
125
+ })
126
+ ```
127
+
128
+ ```astro
129
+ ---
130
+ import { INFONOMIC_LAYER_ORDER } from '@infonomic/uikit/css-layers'
131
+ ---
132
+ <head>
133
+ <style is:inline set:html={INFONOMIC_LAYER_ORDER}></style>
134
+ ...
135
+ </head>
136
+ ```
137
+
138
+ ### Plain HTML and class hooks
139
+
140
+ The kit's classes work on hand-written markup, with no component and no framework. Load the global stylesheets as above, then the component styles, and use the `infonomic-*` classes:
141
+
142
+ ```css
143
+ @import "@infonomic/uikit/reset.css";
144
+ @import "@infonomic/uikit/styles.css";
145
+
146
+ /* Every component in one file (about 110 kB minified)... */
147
+ @import "@infonomic/uikit/components.css";
148
+
149
+ /* ...or one component at a time. */
150
+ @import "@infonomic/uikit/css/button.css";
151
+ @import "@infonomic/uikit/css/modal.css";
152
+ ```
153
+
154
+ ```html
155
+ <button type="button" class="infonomic-button infonomic-button-filled infonomic-button-primary infonomic-button-md">
156
+ Save
157
+ </button>
158
+ ```
159
+
160
+ The class vocabulary follows the component props: `infonomic-<component>` for the part, then `infonomic-<component>-<value>` for each of intent, variant and size.
161
+
162
+ State is the author's job: a kit component's behaviour library sets attributes such as `data-open` or `data-starting-style`, and hand-written markup that wants those styles has to set them itself. The demo in `apps/html` does this for a modal in a few lines of script.
163
+
164
+ Some components build on another's classes, as the kit's own components do. The contract lists this under `composes`, and a host loading stylesheets one at a time needs both stylesheets.
165
+
166
+ - A text area is an input with a few adjustments, so it carries both sets: `infonomic-input infonomic-input-filled infonomic-input-primary infonomic-text-area infonomic-text-area-filled`. It needs `css/input.css` as well as `css/text-area.css`.
167
+ - An input's label is a Label, its help text a HelpText, and a checkbox's error message an ErrorText. Each carries the shared class, which styles it, and the parent's own class, which is a hook for hosts: `infonomic-label infonomic-input-label`, `infonomic-help-text infonomic-input-help-text`, `infonomic-error-text infonomic-checkbox-error-text`.
168
+
169
+ A label, help text or error text takes the size of its field with a size class: `infonomic-label-sm` beside a small input, for example. Without one a label inherits its font size.
170
+
171
+ Disabled styles match the native `disabled` attribute and, for an element that has none, `data-disabled`.
172
+
173
+ The file name under `css/` is the component's module name; [the full list](#covered-components) is below. Three things the React entry exports are not covered, because their markup or styling is React's: the calendar (its classes map onto the DOM that `react-day-picker` renders), the icons, and `FadeInLift` (an animation wrapper styled by a global stylesheet). Each component's parts, classes and states are listed in its contract, `src/**/<name>.contract.ts`.
174
+
100
175
  ## CSS cascade layers
101
176
 
102
177
  A Tailwind utility applied directly to an element overrides ordinary
@@ -259,8 +334,96 @@ keeps both integrations. After `pnpm build`, `test:css-build` also checks the
259
334
  published helper and the first-appearance order of every emitted stylesheet.
260
335
 
261
336
  The layer prefix is `infonomic-`. The Byline CMS kit (`@byline/ui`) uses the
262
- same order with the `byline-` prefix; when porting a change between the kits,
263
- rename `@layer` names but not the `.infonomic-*` DOM class hooks.
337
+ same order with the `byline-` prefix, and its own `.byline-*` class hooks in
338
+ place of `.infonomic-*`. When porting a change between the kits, rename both
339
+ the `@layer` names and the class hooks, and check the hooks on both sides for
340
+ the component involved: Byline places component rules in
341
+ `byline-components.primitives` / `.cms` sublayers, and a few of its
342
+ stylesheets still carry `.infonomic-*` names that are due to be renamed.
343
+
344
+ ## Using the kit with other frameworks
345
+
346
+ The kit's styling is separate from its React components, so that another framework, or a behaviour library other than Base UI, can use the same stylesheets. Each of the 42 component modules listed under [Covered components](#covered-components) has a contract, a stylesheet entry and class helpers. The calendar, the icons and `FadeInLift` have none and stay React-only. The date picker's helpers cover the parts around the calendar (field, popup, time picker, actions); the calendar grid and date selection are React-specific.
347
+
348
+ Each component has a framework-neutral entry with no React in it, named after its module as the `css/` entries are (`classes/combo-button`, `classes/text-area`, `classes/radio-group`):
349
+
350
+ ```ts
351
+ import { buttonClasses, buttonContract, buttonStyles } from '@infonomic/uikit/classes/button'
352
+ import { modalClasses } from '@infonomic/uikit/classes/modal'
353
+
354
+ buttonClasses({ intent: 'danger', variant: 'outlined' })
355
+ // 'infonomic-button infonomic-button-danger infonomic-button-outlined infonomic-button-md <generated classes>'
356
+
357
+ modalClasses.backdrop
358
+ // 'infonomic-modal-backdrop <generated class>'
359
+ ```
360
+
361
+ ```ts
362
+ import { selectClasses } from '@infonomic/uikit/classes/select'
363
+ import { loaderRingClasses, loaderRingVariables } from '@infonomic/uikit/classes/ring'
364
+
365
+ selectClasses.list // a part with no choices is a string
366
+ selectClasses.popup({ size: 'sm' }) // a part that takes choices is a function
367
+
368
+ loaderRingClasses.root
369
+ loaderRingVariables({ size: 24, color: 'red' })
370
+ // { '--loader-ring-size': '24px', '--loader-ring-color': 'red' }, to set as inline style
371
+ ```
372
+
373
+ - `<name>Classes` returns the complete class attribute for the component or one of its parts: the plain `infonomic-*` hook followed by the generated CSS Module classes. It takes one of three shapes. A component with a single part is a function of its options (`buttonClasses`, `badgeClasses`, `textAreaClasses`). A component with several parts is a map, in which a part is a string, or a function where it takes options (`modalClasses.backdrop`, `selectClasses.popup({ size })`). Options are the component's public values, with its defaults; the CSS Module keys behind them stay inside the helper.
374
+ - `<name>Variables`, where a component is sized or coloured through CSS variables, returns them as a plain object for inline style: the three loaders and the combo button have one.
375
+ - `<name>Styles` is the raw class map, with exact keys.
376
+ - `<name>Contract` describes the anatomy: each part and what it is, its plain class and module class, the classes for each option, the parts of other components it is used with (`composes`), and the state attributes and CSS variables the stylesheet expects the behaviour layer to set. A state the stylesheet reads on an element inside a part, with `:has()`, is listed under `descendantStates` with the part that carries it.
377
+
378
+ Where a part is another component, use both helpers, as the kit's own components do. A select's trigger and a copy button are Buttons, so they take `buttonClasses(...)`; an input's label is a Label, so it takes `labelClasses.root({ size })` and `inputClasses.label`. A text area is the exception: `textAreaClasses` already includes the Input classes it needs, and importing `classes/text-area` loads the Input stylesheet as well as its own.
379
+
380
+ ### Covered components
381
+
382
+ These are the names to use in `@infonomic/uikit/classes/<name>` and `@infonomic/uikit/css/<name>.css`. A name is a stylesheet module, so one can hold several React components: `control-buttons` is `PlayButton`, `StopButton` and `DirectionalButton`, and `ellipses`, `ring` and `spinner` are the three loaders.
383
+
384
+ `accordion`, `alert`, `autocomplete`, `avatar`, `badge`, `button`, `button-group`, `card`, `checkbox`, `checkbox-group`, `chip`, `combo-button`, `container`, `control-buttons`, `copy-button`, `datepicker`, `drawer`, `dropdown`, `ellipses`, `error-text`, `hamburger`, `help-text`, `input`, `input-adornment`, `input-password`, `label`, `modal`, `pagination`, `radio-group`, `ring`, `scroll-area`, `scroll-to-top`, `section`, `select`, `shimmer`, `spinner`, `table`, `tabs`, `text-area`, `timeline`, `toast`, `tooltip`.
385
+
386
+ `IconButton` uses `button`. Not covered, and React-only: the calendar, the icons and `FadeInLift`.
387
+
388
+ Importing an entry loads that component's stylesheet through your bundler. The stylesheet alone is at `@infonomic/uikit/css/<name>.css`.
389
+
390
+ **Writing an adapter.** Render each part the contract lists, put the helper's class string on it, and let your behaviour library set the state attributes. Use the helper's output as it is, rather than building classes from the raw map: the plain hook has to be on every part, or a host's `.infonomic-modal-backdrop { ... }` in `overrides` will not reach your component. Focus management, dismissal and keyboard interaction stay with the behaviour library. The contract's vocabulary is Base UI's, so a library that uses different attribute names needs a mapping in the adapter.
391
+
392
+ **What is stable.** The plain class names, the keys of each class map, each component's parts, and the state attributes and adapter-supplied variables its styles read are covered by semver. Generated class names are not: they can change in any release, and each map ships with the stylesheet it matches, so never hard-code them.
393
+
394
+ **What gets installed and what gets bundled.** `@infonomic/uikit` is one package, so installing it also installs its React-side dependencies: React, Base UI, `react-day-picker`, `motion` and others. That affects install size only. A bundler includes a module only when something in your app imports it, and the `classes/*` and `css/*` entries import nothing but their own class map and stylesheet. An app that imports only those entries (and `css-layers`, which runs at build time) ships no React or Base UI code. Importing anything from `@infonomic/uikit/react` brings the React components and their dependencies into the bundle. The entries import CSS, so on the server they need a bundler such as Vite's SSR; plain Node cannot load them.
395
+
396
+ The first adapter is an experiment with [Effect UI](https://github.com/Effect-TS/ui), in [`fixtures/effect-ui`](https://github.com/infonomic/uikit/tree/main/fixtures/effect-ui): `@effect/ui-kit`'s Button and Dialog styled by the entries above, installed from a packed tarball, with no React in its production bundle. Effect UI is pre-release, so that fixture sits outside the workspace and is not part of any release.
397
+
398
+ ## Upgrading to 7.0
399
+
400
+ 7.0 adds the framework-neutral entries above and makes every documented `infonomic-*` class work on hand-written markup. Nothing was removed from the React or Astro entries and no existing prop changed, but class names and a few default sizes did, so compare forms, tables and any hand-written kit markup against a baseline taken before the upgrade.
401
+
402
+ **New**
403
+
404
+ - `@infonomic/uikit/classes/<name>` and `@infonomic/uikit/css/<name>.css` for the 42 modules listed under [Covered components](#covered-components).
405
+ - `./components.css` now holds every component's stylesheet (42, where it held 14), and is about 110 kB minified, up from 30 kB. A host that wants less should import the `css/` entries it uses.
406
+ - React and Astro components emit every documented `infonomic-*` hook. Astro components keep the bare class names they emitted before (`button`, `input`, `checkbox`, the option values) and add the documented ones.
407
+ - `Label` takes a `size` (`sm`, `md`, `lg`), and Astro `HelpText` and `ErrorText` do too.
408
+ - Disabled styles also match `[data-disabled]`, and `Chip` and the Astro `Checkbox` set it.
409
+
410
+ **Changed appearance**
411
+
412
+ - A label follows the size of its field. Beside a small `Input` or `Autocomplete` it is 14px, where it was 16px; medium and large stay at 16px.
413
+ - `Checkbox` labels are 14px, 16px and 16px for `sm`, `md` and `lg`, where they were 13.6px, 14px and 16px. The default checkbox label is therefore larger.
414
+ - In Astro, help and error text under a small or large field take that size (13.6px or 14.4px, where they were 14px).
415
+ - `Table.Footer` now has the stylesheet's footer rule. Its Tailwind classes are still there and still win where Tailwind is loaded; a host without Tailwind sees the footer styled for the first time.
416
+ - The arrow of a `DirectionalButton` is white, as its stylesheet always said. The rule did not reach the icon before.
417
+ - `Alert` no longer throws for `intent="noeffect"`; it renders without a status icon.
418
+
419
+ **Changed class names, for hand-written markup and host CSS**
420
+
421
+ - `infonomic-dropdown-error-text` is now `infonomic-checkbox-error-text`, and `infonomic-text-area--underlined` is now `infonomic-text-area-underlined`.
422
+ - `infonomic-input-label` and `infonomic-input-help-text` no longer set a font size, and `infonomic-checkbox-error-text` no longer sets a colour. Use each beside the shared class that styles the element: `infonomic-label`, `infonomic-help-text`, `infonomic-error-text` (see "Plain HTML and class hooks").
423
+ - A few selectors that could only match the kit's generated class names now use documented classes: a toast viewport's corner is `infonomic-toast-top-right` (and the other three), a pagination variant is `infonomic-pagination-default`, `-classic` or `-dashboard`, and an underlined input's size and adornment classes are the ordinary `infonomic-input-*` ones.
424
+ - `infonomic-chip-text` now takes its colours from the chip's intent. The React `Chip` never used that class and is unchanged.
425
+
426
+ **Astro hosts** installing the kit from npm must bundle it (`vite.resolve.noExternal: ['@infonomic/uikit']`) and need both halves of the layer-order integration; see "Astro" under Getting Started.
264
427
 
265
428
  ## Documentation
266
429
 
@@ -0,0 +1 @@
1
+ export * from '../components/accordion/accordion.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/accordion/accordion.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/notifications/alert.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/notifications/alert.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/autocomplete.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/autocomplete.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/avatar/avatar.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/avatar/avatar.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/badge/badge.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/badge/badge.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/button/button-group.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/button/button-group.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/button/button.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/button/button.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/card/card.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/card/card.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/checkbox-group.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/checkbox-group.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/checkbox.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/checkbox.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/chips/chip.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/chips/chip.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/button/combo-button.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/button/combo-button.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/container/container.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/container/container.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/button/control-buttons.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/button/control-buttons.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/button/copy-button.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/button/copy-button.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../widgets/datepicker/datepicker.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../widgets/datepicker/datepicker.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../widgets/drawer/drawer.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../widgets/drawer/drawer.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/dropdown/dropdown.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/dropdown/dropdown.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../loaders/ellipses.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../loaders/ellipses.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/error-text.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/error-text.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/hamburger/hamburger.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/hamburger/hamburger.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/help-text.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/help-text.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/input-adornment.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/input-adornment.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/input-password.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/input-password.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/input.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/input.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/label.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/label.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../widgets/modal/modal.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../widgets/modal/modal.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/pager/pagination.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/pager/pagination.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/radio-group.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/radio-group.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../loaders/ring.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../loaders/ring.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/scroll-area/scroll-area.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/scroll-area/scroll-area.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/scroll-to-top/scroll-to-top.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/scroll-to-top/scroll-to-top.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/section/section.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/section/section.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/select.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/select.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/shimmer/shimmer.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/shimmer/shimmer.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../loaders/spinner.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../loaders/spinner.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/table/table.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/table/table.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/tabs/tabs.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/tabs/tabs.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/text-area.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/inputs/text-area.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../widgets/timeline/timeline.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../widgets/timeline/timeline.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/notifications/toast.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/notifications/toast.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/tooltip/tooltip.classes.js'
@@ -0,0 +1 @@
1
+ export * from '../components/tooltip/tooltip.classes.js'
@@ -0,0 +1,69 @@
1
+ /**
2
+ * The styling contract of one component: what an adapter for any framework has
3
+ * to render for the kit's stylesheet to apply. Covered by semver.
4
+ *
5
+ * Behaviour (focus, dismissal, keyboard) is not part of it. That belongs to the
6
+ * adapter's behaviour library, which reports state through the attributes and
7
+ * CSS variables listed here. The vocabulary is Base UI's.
8
+ */
9
+ export interface ComponentContract {
10
+ /** Component name as exported from the React entry. */
11
+ name: string;
12
+ /** The CSS module, relative to `src/`. */
13
+ module: string;
14
+ parts: Record<string, PartContract>;
15
+ }
16
+ export interface PartContract {
17
+ /** What the part is, and the Base UI part it corresponds to where there is one. */
18
+ description?: string;
19
+ /**
20
+ * The plain class every adapter puts on this part, beside the generated one.
21
+ * Hosts target it from `@layer overrides`, and hand-written markup uses it on
22
+ * its own.
23
+ */
24
+ plainClass: string;
25
+ /**
26
+ * The part's class in the CSS module (the key in the component's class map).
27
+ * Left out for a part the kit gives a hook but no styles of its own.
28
+ */
29
+ moduleClass?: string;
30
+ /**
31
+ * Parts of other components whose classes this part is always used with, as
32
+ * the kit's own component does. A text area carries the input's classes and
33
+ * its own: hand-written markup and adapters must do the same, and a host
34
+ * loading stylesheets one by one needs the other component's as well.
35
+ * Options with the same name (`variant`, `intent`) take the same value on both.
36
+ */
37
+ composes?: readonly {
38
+ component: string;
39
+ part: string;
40
+ }[];
41
+ /**
42
+ * The author's choices on this part, by option (`intent`, `variant`, `size`,
43
+ * ...). Each option maps a module class key to its plain class.
44
+ */
45
+ modifiers?: Record<string, Readonly<Record<string, string>>>;
46
+ /**
47
+ * Data attributes the stylesheet reads on this part. The behaviour layer sets
48
+ * them; hand-written markup has to write them itself.
49
+ */
50
+ states?: readonly string[];
51
+ /**
52
+ * Data attributes the stylesheet reads on an element inside this part, with
53
+ * `:has()`, and the part that carries each. A combo button's wrapper shows
54
+ * its ring while the trigger inside it has `data-popup-open`: the attribute
55
+ * goes on the trigger, and setting it on the wrapper has no effect.
56
+ */
57
+ descendantStates?: readonly {
58
+ state: string;
59
+ part: string;
60
+ }[];
61
+ /** CSS variables the stylesheet reads on this part that the adapter must set. */
62
+ suppliedVariables?: readonly string[];
63
+ /**
64
+ * CSS variables the part's styles read that nothing in the kit sets: optional
65
+ * hooks a host may set to restyle it. Each is read with a fallback.
66
+ */
67
+ themingVariables?: readonly string[];
68
+ }
69
+ //# sourceMappingURL=contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../src/components/@types/contract.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAA;IACZ,0CAA0C;IAC1C,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,mFAAmF;IACnF,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,SAAS;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzD;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAA;IAC5D;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC1B;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,SAAS;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC7D,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACrC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CACrC"}
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,18 @@
1
+ import { accordionContract } from './accordion.contract.js';
2
+ import styles from './accordion.module.css';
3
+ export { accordionContract, styles as accordionStyles };
4
+ /**
5
+ * The class attribute for each Accordion part, for any framework: the plain
6
+ * `infonomic-*` hook followed by the generated module class.
7
+ *
8
+ * Importing this module loads the Accordion stylesheet.
9
+ */
10
+ export declare const accordionClasses: {
11
+ readonly root: string;
12
+ readonly item: string;
13
+ readonly header: string;
14
+ readonly trigger: string;
15
+ readonly content: string;
16
+ };
17
+ export type AccordionPart = keyof typeof accordionClasses;
18
+ //# sourceMappingURL=accordion.classes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.classes.d.ts","sourceRoot":"","sources":["../../../src/components/accordion/accordion.classes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,MAAM,MAAM,wBAAwB,CAAA;AAE3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,IAAI,eAAe,EAAE,CAAA;AAIvD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;aAC3B,IAAI;aACJ,IAAI;aACJ,MAAM;aACN,OAAO;aACP,OAAO;CACC,CAAA;AAEV,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,gBAAgB,CAAA"}