@cimpress-ui/react 0.1.0 → 0.2.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 (507) hide show
  1. package/README.md +1 -1
  2. package/dist/commonjs/components/breadcrumbs/breadcrumbs.d.ts +22 -0
  3. package/dist/commonjs/components/breadcrumbs/breadcrumbs.d.ts.map +1 -0
  4. package/dist/commonjs/components/breadcrumbs/breadcrumbs.js +37 -0
  5. package/dist/commonjs/components/breadcrumbs/breadcrumbs.js.map +1 -0
  6. package/dist/commonjs/components/button/button.js +1 -1
  7. package/dist/commonjs/components/button/button.js.map +1 -1
  8. package/dist/commonjs/components/button/icon-button.js +1 -1
  9. package/dist/commonjs/components/button/icon-button.js.map +1 -1
  10. package/dist/commonjs/components/button/types.d.ts.map +1 -1
  11. package/dist/commonjs/components/button/types.js.map +1 -1
  12. package/dist/commonjs/components/card/card-context.d.ts +4 -0
  13. package/dist/commonjs/components/card/card-context.d.ts.map +1 -0
  14. package/dist/commonjs/components/card/card-context.js +6 -0
  15. package/dist/commonjs/components/card/card-context.js.map +1 -0
  16. package/dist/commonjs/components/card/card.d.ts +15 -0
  17. package/dist/commonjs/components/card/card.d.ts.map +1 -0
  18. package/dist/commonjs/components/card/card.js +24 -0
  19. package/dist/commonjs/components/card/card.js.map +1 -0
  20. package/dist/commonjs/components/checkbox/checkbox.d.ts +1 -1
  21. package/dist/commonjs/components/checkbox/checkbox.d.ts.map +1 -1
  22. package/dist/commonjs/components/checkbox/checkbox.js.map +1 -1
  23. package/dist/commonjs/components/combo-box/combo-box.d.ts +5 -1
  24. package/dist/commonjs/components/combo-box/combo-box.d.ts.map +1 -1
  25. package/dist/commonjs/components/combo-box/combo-box.js +6 -6
  26. package/dist/commonjs/components/combo-box/combo-box.js.map +1 -1
  27. package/dist/commonjs/components/disclosure/disclosure-group.d.ts +10 -0
  28. package/dist/commonjs/components/disclosure/disclosure-group.d.ts.map +1 -0
  29. package/dist/commonjs/components/disclosure/disclosure-group.js +18 -0
  30. package/dist/commonjs/components/disclosure/disclosure-group.js.map +1 -0
  31. package/dist/commonjs/components/disclosure/disclosure.d.ts +14 -0
  32. package/dist/commonjs/components/disclosure/disclosure.d.ts.map +1 -0
  33. package/dist/commonjs/components/disclosure/disclosure.js +20 -0
  34. package/dist/commonjs/components/disclosure/disclosure.js.map +1 -0
  35. package/dist/commonjs/components/internal/collapsible-list/collapsible-list.d.ts +0 -14
  36. package/dist/commonjs/components/internal/collapsible-list/collapsible-list.d.ts.map +1 -1
  37. package/dist/commonjs/components/internal/collapsible-list/collapsible-list.js +2 -4
  38. package/dist/commonjs/components/internal/collapsible-list/collapsible-list.js.map +1 -1
  39. package/dist/commonjs/components/internal/form-field/form-field.d.ts +1 -28
  40. package/dist/commonjs/components/internal/form-field/form-field.d.ts.map +1 -1
  41. package/dist/commonjs/components/internal/form-field/form-field.js +10 -0
  42. package/dist/commonjs/components/internal/form-field/form-field.js.map +1 -1
  43. package/dist/commonjs/components/internal/spinner/spinner.d.ts +0 -16
  44. package/dist/commonjs/components/internal/spinner/spinner.d.ts.map +1 -1
  45. package/dist/commonjs/components/modal/modal.d.ts +19 -0
  46. package/dist/commonjs/components/modal/modal.d.ts.map +1 -0
  47. package/dist/commonjs/components/modal/modal.js +25 -0
  48. package/dist/commonjs/components/modal/modal.js.map +1 -0
  49. package/dist/commonjs/components/nav-tabs/nav-tabs.d.ts +23 -0
  50. package/dist/commonjs/components/nav-tabs/nav-tabs.d.ts.map +1 -0
  51. package/dist/commonjs/components/nav-tabs/nav-tabs.js +27 -0
  52. package/dist/commonjs/components/nav-tabs/nav-tabs.js.map +1 -0
  53. package/dist/commonjs/components/number-field/number-field.d.ts +10 -0
  54. package/dist/commonjs/components/number-field/number-field.d.ts.map +1 -0
  55. package/dist/commonjs/components/number-field/number-field.js +32 -0
  56. package/dist/commonjs/components/number-field/number-field.js.map +1 -0
  57. package/dist/commonjs/components/pagination/pagination.d.ts +14 -0
  58. package/dist/commonjs/components/pagination/pagination.d.ts.map +1 -0
  59. package/dist/commonjs/components/pagination/pagination.js +69 -0
  60. package/dist/commonjs/components/pagination/pagination.js.map +1 -0
  61. package/dist/commonjs/components/radio/radio.d.ts +1 -1
  62. package/dist/commonjs/components/radio/radio.d.ts.map +1 -1
  63. package/dist/commonjs/components/radio/radio.js.map +1 -1
  64. package/dist/commonjs/components/table/contexts/focus.d.ts +13 -0
  65. package/dist/commonjs/components/table/contexts/focus.d.ts.map +1 -0
  66. package/dist/commonjs/components/table/contexts/focus.js +51 -0
  67. package/dist/commonjs/components/table/contexts/focus.js.map +1 -0
  68. package/dist/commonjs/components/table/contexts/row-state.d.ts +10 -0
  69. package/dist/commonjs/components/table/contexts/row-state.d.ts.map +1 -0
  70. package/dist/commonjs/components/table/contexts/row-state.js +22 -0
  71. package/dist/commonjs/components/table/contexts/row-state.js.map +1 -0
  72. package/dist/commonjs/components/table/hooks/use-table-cell.d.ts +7 -0
  73. package/dist/commonjs/components/table/hooks/use-table-cell.d.ts.map +1 -0
  74. package/dist/commonjs/components/table/hooks/use-table-cell.js +125 -0
  75. package/dist/commonjs/components/table/hooks/use-table-cell.js.map +1 -0
  76. package/dist/commonjs/components/table/hooks/use-table.d.ts +7 -0
  77. package/dist/commonjs/components/table/hooks/use-table.d.ts.map +1 -0
  78. package/dist/commonjs/components/table/hooks/use-table.js +142 -0
  79. package/dist/commonjs/components/table/hooks/use-table.js.map +1 -0
  80. package/dist/commonjs/components/table/table-body-cell.d.ts +26 -0
  81. package/dist/commonjs/components/table/table-body-cell.d.ts.map +1 -0
  82. package/dist/commonjs/components/table/table-body-cell.js +17 -0
  83. package/dist/commonjs/components/table/table-body-cell.js.map +1 -0
  84. package/dist/commonjs/components/table/table-body.d.ts +8 -0
  85. package/dist/commonjs/components/table/table-body.d.ts.map +1 -0
  86. package/dist/commonjs/components/table/table-body.js +11 -0
  87. package/dist/commonjs/components/table/table-body.js.map +1 -0
  88. package/dist/commonjs/components/table/table-container.d.ts +8 -0
  89. package/dist/commonjs/components/table/table-container.d.ts.map +1 -0
  90. package/dist/commonjs/components/table/table-container.js +40 -0
  91. package/dist/commonjs/components/table/table-container.js.map +1 -0
  92. package/dist/commonjs/components/table/table-header-cell.d.ts +26 -0
  93. package/dist/commonjs/components/table/table-header-cell.d.ts.map +1 -0
  94. package/dist/commonjs/components/table/table-header-cell.js +17 -0
  95. package/dist/commonjs/components/table/table-header-cell.js.map +1 -0
  96. package/dist/commonjs/components/table/table-header.d.ts +8 -0
  97. package/dist/commonjs/components/table/table-header.d.ts.map +1 -0
  98. package/dist/commonjs/components/table/table-header.js +11 -0
  99. package/dist/commonjs/components/table/table-header.js.map +1 -0
  100. package/dist/commonjs/components/table/table-row.d.ts +21 -0
  101. package/dist/commonjs/components/table/table-row.d.ts.map +1 -0
  102. package/dist/commonjs/components/table/table-row.js +14 -0
  103. package/dist/commonjs/components/table/table-row.js.map +1 -0
  104. package/dist/commonjs/components/table/table.d.ts +26 -0
  105. package/dist/commonjs/components/table/table.d.ts.map +1 -0
  106. package/dist/commonjs/components/table/table.js +27 -0
  107. package/dist/commonjs/components/table/table.js.map +1 -0
  108. package/dist/commonjs/components/table/utils/focus-table-child.d.ts +4 -0
  109. package/dist/commonjs/components/table/utils/focus-table-child.d.ts.map +1 -0
  110. package/dist/commonjs/components/table/utils/focus-table-child.js +14 -0
  111. package/dist/commonjs/components/table/utils/focus-table-child.js.map +1 -0
  112. package/dist/commonjs/components/tag/tag-group.d.ts +18 -0
  113. package/dist/commonjs/components/tag/tag-group.d.ts.map +1 -0
  114. package/dist/commonjs/components/tag/tag-group.js +27 -0
  115. package/dist/commonjs/components/tag/tag-group.js.map +1 -0
  116. package/dist/commonjs/components/tag/tag.d.ts +17 -0
  117. package/dist/commonjs/components/tag/tag.d.ts.map +1 -0
  118. package/dist/commonjs/components/tag/tag.js +20 -0
  119. package/dist/commonjs/components/tag/tag.js.map +1 -0
  120. package/dist/commonjs/components/text-inputs/text-area.d.ts.map +1 -1
  121. package/dist/commonjs/components/text-inputs/text-area.js +1 -1
  122. package/dist/commonjs/components/text-inputs/text-area.js.map +1 -1
  123. package/dist/commonjs/components/text-inputs/text-field.d.ts.map +1 -1
  124. package/dist/commonjs/components/text-inputs/text-field.js +1 -1
  125. package/dist/commonjs/components/text-inputs/text-field.js.map +1 -1
  126. package/dist/commonjs/components/tooltip/tooltip.d.ts +9 -0
  127. package/dist/commonjs/components/tooltip/tooltip.d.ts.map +1 -0
  128. package/dist/commonjs/components/tooltip/tooltip.js +15 -0
  129. package/dist/commonjs/components/tooltip/tooltip.js.map +1 -0
  130. package/dist/commonjs/components/types.d.ts +16 -2
  131. package/dist/commonjs/components/types.d.ts.map +1 -1
  132. package/dist/commonjs/components/types.js.map +1 -1
  133. package/dist/commonjs/components/typography/link.d.ts +2 -2
  134. package/dist/commonjs/components/typography/link.d.ts.map +1 -1
  135. package/dist/commonjs/components/typography/link.js +3 -2
  136. package/dist/commonjs/components/typography/link.js.map +1 -1
  137. package/dist/commonjs/components/typography/types.d.ts +2 -1
  138. package/dist/commonjs/components/typography/types.d.ts.map +1 -1
  139. package/dist/commonjs/components/typography/types.js.map +1 -1
  140. package/dist/commonjs/components/typography/utils.d.ts.map +1 -1
  141. package/dist/commonjs/components/typography/utils.js +2 -2
  142. package/dist/commonjs/components/typography/utils.js.map +1 -1
  143. package/dist/commonjs/components/visually-hidden/visually-hidden.d.ts +17 -0
  144. package/dist/commonjs/components/visually-hidden/visually-hidden.d.ts.map +1 -0
  145. package/dist/commonjs/components/visually-hidden/visually-hidden.js +20 -0
  146. package/dist/commonjs/components/visually-hidden/visually-hidden.js.map +1 -0
  147. package/dist/commonjs/icons/accounting-document.d.ts +1 -1
  148. package/dist/commonjs/icons/accounting-document.d.ts.map +1 -1
  149. package/dist/commonjs/icons/accounting-document.js +4 -2
  150. package/dist/commonjs/icons/accounting-document.js.map +1 -1
  151. package/dist/commonjs/icons/add-circle-fill.d.ts +1 -1
  152. package/dist/commonjs/icons/add-circle-fill.d.ts.map +1 -1
  153. package/dist/commonjs/icons/add-circle-fill.js +4 -2
  154. package/dist/commonjs/icons/add-circle-fill.js.map +1 -1
  155. package/dist/commonjs/icons/add-circle.d.ts +1 -1
  156. package/dist/commonjs/icons/add-circle.d.ts.map +1 -1
  157. package/dist/commonjs/icons/add-circle.js +4 -2
  158. package/dist/commonjs/icons/add-circle.js.map +1 -1
  159. package/dist/commonjs/icons/add.d.ts +1 -1
  160. package/dist/commonjs/icons/add.d.ts.map +1 -1
  161. package/dist/commonjs/icons/add.js +4 -2
  162. package/dist/commonjs/icons/add.js.map +1 -1
  163. package/dist/commonjs/icons/alert-triangle.d.ts +1 -1
  164. package/dist/commonjs/icons/alert-triangle.d.ts.map +1 -1
  165. package/dist/commonjs/icons/alert-triangle.js +4 -2
  166. package/dist/commonjs/icons/alert-triangle.js.map +1 -1
  167. package/dist/commonjs/icons/calculator-alt.d.ts +1 -1
  168. package/dist/commonjs/icons/calculator-alt.d.ts.map +1 -1
  169. package/dist/commonjs/icons/calculator-alt.js +4 -2
  170. package/dist/commonjs/icons/calculator-alt.js.map +1 -1
  171. package/dist/commonjs/icons/calculator.d.ts +1 -1
  172. package/dist/commonjs/icons/calculator.d.ts.map +1 -1
  173. package/dist/commonjs/icons/calculator.js +4 -2
  174. package/dist/commonjs/icons/calculator.js.map +1 -1
  175. package/dist/commonjs/icons/checkmark-circle-fill.d.ts +1 -1
  176. package/dist/commonjs/icons/checkmark-circle-fill.d.ts.map +1 -1
  177. package/dist/commonjs/icons/checkmark-circle-fill.js +4 -2
  178. package/dist/commonjs/icons/checkmark-circle-fill.js.map +1 -1
  179. package/dist/commonjs/icons/checkmark-circle.d.ts +1 -1
  180. package/dist/commonjs/icons/checkmark-circle.d.ts.map +1 -1
  181. package/dist/commonjs/icons/checkmark-circle.js +4 -2
  182. package/dist/commonjs/icons/checkmark-circle.js.map +1 -1
  183. package/dist/commonjs/icons/checkmark-small.d.ts +1 -1
  184. package/dist/commonjs/icons/checkmark-small.d.ts.map +1 -1
  185. package/dist/commonjs/icons/checkmark-small.js +4 -2
  186. package/dist/commonjs/icons/checkmark-small.js.map +1 -1
  187. package/dist/commonjs/icons/checkmark.d.ts +1 -1
  188. package/dist/commonjs/icons/checkmark.d.ts.map +1 -1
  189. package/dist/commonjs/icons/checkmark.js +4 -2
  190. package/dist/commonjs/icons/checkmark.js.map +1 -1
  191. package/dist/commonjs/icons/chevron-down-fill.d.ts +1 -1
  192. package/dist/commonjs/icons/chevron-down-fill.d.ts.map +1 -1
  193. package/dist/commonjs/icons/chevron-down-fill.js +4 -2
  194. package/dist/commonjs/icons/chevron-down-fill.js.map +1 -1
  195. package/dist/commonjs/icons/error-circle-fill.d.ts +1 -1
  196. package/dist/commonjs/icons/error-circle-fill.d.ts.map +1 -1
  197. package/dist/commonjs/icons/error-circle-fill.js +5 -3
  198. package/dist/commonjs/icons/error-circle-fill.js.map +1 -1
  199. package/dist/commonjs/icons/index.d.ts +6 -0
  200. package/dist/commonjs/icons/index.d.ts.map +1 -1
  201. package/dist/commonjs/icons/index.js +13 -1
  202. package/dist/commonjs/icons/index.js.map +1 -1
  203. package/dist/commonjs/icons/info-circle-fill.d.ts +1 -1
  204. package/dist/commonjs/icons/info-circle-fill.d.ts.map +1 -1
  205. package/dist/commonjs/icons/info-circle-fill.js +4 -2
  206. package/dist/commonjs/icons/info-circle-fill.js.map +1 -1
  207. package/dist/commonjs/icons/minus-small.d.ts +1 -1
  208. package/dist/commonjs/icons/minus-small.d.ts.map +1 -1
  209. package/dist/commonjs/icons/minus-small.js +4 -2
  210. package/dist/commonjs/icons/minus-small.js.map +1 -1
  211. package/dist/commonjs/icons/minus.d.ts +8 -0
  212. package/dist/commonjs/icons/minus.d.ts.map +1 -0
  213. package/dist/commonjs/icons/minus.js +24 -0
  214. package/dist/commonjs/icons/minus.js.map +1 -0
  215. package/dist/commonjs/icons/unstable-chevron-left-fill.d.ts +8 -0
  216. package/dist/commonjs/icons/unstable-chevron-left-fill.d.ts.map +1 -0
  217. package/dist/commonjs/icons/unstable-chevron-left-fill.js +24 -0
  218. package/dist/commonjs/icons/unstable-chevron-left-fill.js.map +1 -0
  219. package/dist/commonjs/icons/unstable-chevron-right-fill.d.ts +8 -0
  220. package/dist/commonjs/icons/unstable-chevron-right-fill.d.ts.map +1 -0
  221. package/dist/commonjs/icons/unstable-chevron-right-fill.js +24 -0
  222. package/dist/commonjs/icons/unstable-chevron-right-fill.js.map +1 -0
  223. package/dist/commonjs/icons/unstable-close.d.ts +8 -0
  224. package/dist/commonjs/icons/unstable-close.d.ts.map +1 -0
  225. package/dist/commonjs/icons/unstable-close.js +24 -0
  226. package/dist/commonjs/icons/unstable-close.js.map +1 -0
  227. package/dist/commonjs/icons/unstable-info-circle.d.ts +8 -0
  228. package/dist/commonjs/icons/unstable-info-circle.d.ts.map +1 -0
  229. package/dist/commonjs/icons/unstable-info-circle.js +24 -0
  230. package/dist/commonjs/icons/unstable-info-circle.js.map +1 -0
  231. package/dist/commonjs/icons/unstable-placeholder.d.ts +8 -0
  232. package/dist/commonjs/icons/unstable-placeholder.d.ts.map +1 -0
  233. package/dist/commonjs/icons/unstable-placeholder.js +24 -0
  234. package/dist/commonjs/icons/unstable-placeholder.js.map +1 -0
  235. package/dist/commonjs/icons/warning-circle-fill.d.ts +1 -1
  236. package/dist/commonjs/icons/warning-circle-fill.d.ts.map +1 -1
  237. package/dist/commonjs/icons/warning-circle-fill.js +4 -2
  238. package/dist/commonjs/icons/warning-circle-fill.js.map +1 -1
  239. package/dist/commonjs/index.d.ts +21 -1
  240. package/dist/commonjs/index.d.ts.map +1 -1
  241. package/dist/commonjs/index.js +19 -0
  242. package/dist/commonjs/index.js.map +1 -1
  243. package/dist/commonjs/utils/style/tone.d.ts +3 -0
  244. package/dist/commonjs/utils/style/tone.d.ts.map +1 -0
  245. package/dist/commonjs/utils/style/tone.js +7 -0
  246. package/dist/commonjs/utils/style/tone.js.map +1 -0
  247. package/dist/commonjs/utils/style/types.d.ts +2 -0
  248. package/dist/commonjs/utils/style/types.d.ts.map +1 -0
  249. package/dist/commonjs/utils/style/types.js +3 -0
  250. package/dist/commonjs/utils/style/types.js.map +1 -0
  251. package/dist/commonjs/with-style-props.d.ts +1 -1
  252. package/dist/commonjs/with-style-props.d.ts.map +1 -1
  253. package/dist/commonjs/with-style-props.js.map +1 -1
  254. package/dist/esm/components/breadcrumbs/breadcrumbs.d.ts +22 -0
  255. package/dist/esm/components/breadcrumbs/breadcrumbs.d.ts.map +1 -0
  256. package/dist/esm/components/breadcrumbs/breadcrumbs.js +30 -0
  257. package/dist/esm/components/breadcrumbs/breadcrumbs.js.map +1 -0
  258. package/dist/esm/components/button/button.js +1 -1
  259. package/dist/esm/components/button/button.js.map +1 -1
  260. package/dist/esm/components/button/icon-button.js +1 -1
  261. package/dist/esm/components/button/icon-button.js.map +1 -1
  262. package/dist/esm/components/button/types.d.ts.map +1 -1
  263. package/dist/esm/components/button/types.js.map +1 -1
  264. package/dist/esm/components/card/card-context.d.ts +4 -0
  265. package/dist/esm/components/card/card-context.d.ts.map +1 -0
  266. package/dist/esm/components/card/card-context.js +3 -0
  267. package/dist/esm/components/card/card-context.js.map +1 -0
  268. package/dist/esm/components/card/card.d.ts +15 -0
  269. package/dist/esm/components/card/card.d.ts.map +1 -0
  270. package/dist/esm/components/card/card.js +17 -0
  271. package/dist/esm/components/card/card.js.map +1 -0
  272. package/dist/esm/components/checkbox/checkbox.d.ts +1 -1
  273. package/dist/esm/components/checkbox/checkbox.d.ts.map +1 -1
  274. package/dist/esm/components/checkbox/checkbox.js.map +1 -1
  275. package/dist/esm/components/combo-box/combo-box.d.ts +5 -1
  276. package/dist/esm/components/combo-box/combo-box.d.ts.map +1 -1
  277. package/dist/esm/components/combo-box/combo-box.js +7 -7
  278. package/dist/esm/components/combo-box/combo-box.js.map +1 -1
  279. package/dist/esm/components/disclosure/disclosure-group.d.ts +10 -0
  280. package/dist/esm/components/disclosure/disclosure-group.d.ts.map +1 -0
  281. package/dist/esm/components/disclosure/disclosure-group.js +12 -0
  282. package/dist/esm/components/disclosure/disclosure-group.js.map +1 -0
  283. package/dist/esm/components/disclosure/disclosure.d.ts +14 -0
  284. package/dist/esm/components/disclosure/disclosure.d.ts.map +1 -0
  285. package/dist/esm/components/disclosure/disclosure.js +14 -0
  286. package/dist/esm/components/disclosure/disclosure.js.map +1 -0
  287. package/dist/esm/components/internal/collapsible-list/collapsible-list.d.ts +0 -14
  288. package/dist/esm/components/internal/collapsible-list/collapsible-list.d.ts.map +1 -1
  289. package/dist/esm/components/internal/collapsible-list/collapsible-list.js +2 -4
  290. package/dist/esm/components/internal/collapsible-list/collapsible-list.js.map +1 -1
  291. package/dist/esm/components/internal/form-field/form-field.d.ts +1 -28
  292. package/dist/esm/components/internal/form-field/form-field.d.ts.map +1 -1
  293. package/dist/esm/components/internal/form-field/form-field.js +10 -1
  294. package/dist/esm/components/internal/form-field/form-field.js.map +1 -1
  295. package/dist/esm/components/internal/spinner/spinner.d.ts +0 -16
  296. package/dist/esm/components/internal/spinner/spinner.d.ts.map +1 -1
  297. package/dist/esm/components/modal/modal.d.ts +19 -0
  298. package/dist/esm/components/modal/modal.d.ts.map +1 -0
  299. package/dist/esm/components/modal/modal.js +18 -0
  300. package/dist/esm/components/modal/modal.js.map +1 -0
  301. package/dist/esm/components/nav-tabs/nav-tabs.d.ts +23 -0
  302. package/dist/esm/components/nav-tabs/nav-tabs.d.ts.map +1 -0
  303. package/dist/esm/components/nav-tabs/nav-tabs.js +20 -0
  304. package/dist/esm/components/nav-tabs/nav-tabs.js.map +1 -0
  305. package/dist/esm/components/number-field/number-field.d.ts +10 -0
  306. package/dist/esm/components/number-field/number-field.d.ts.map +1 -0
  307. package/dist/esm/components/number-field/number-field.js +26 -0
  308. package/dist/esm/components/number-field/number-field.js.map +1 -0
  309. package/dist/esm/components/pagination/pagination.d.ts +14 -0
  310. package/dist/esm/components/pagination/pagination.d.ts.map +1 -0
  311. package/dist/esm/components/pagination/pagination.js +66 -0
  312. package/dist/esm/components/pagination/pagination.js.map +1 -0
  313. package/dist/esm/components/radio/radio.d.ts +1 -1
  314. package/dist/esm/components/radio/radio.d.ts.map +1 -1
  315. package/dist/esm/components/radio/radio.js.map +1 -1
  316. package/dist/esm/components/table/contexts/focus.d.ts +13 -0
  317. package/dist/esm/components/table/contexts/focus.d.ts.map +1 -0
  318. package/dist/esm/components/table/contexts/focus.js +47 -0
  319. package/dist/esm/components/table/contexts/focus.js.map +1 -0
  320. package/dist/esm/components/table/contexts/row-state.d.ts +10 -0
  321. package/dist/esm/components/table/contexts/row-state.d.ts.map +1 -0
  322. package/dist/esm/components/table/contexts/row-state.js +18 -0
  323. package/dist/esm/components/table/contexts/row-state.js.map +1 -0
  324. package/dist/esm/components/table/hooks/use-table-cell.d.ts +7 -0
  325. package/dist/esm/components/table/hooks/use-table-cell.d.ts.map +1 -0
  326. package/dist/esm/components/table/hooks/use-table-cell.js +122 -0
  327. package/dist/esm/components/table/hooks/use-table-cell.js.map +1 -0
  328. package/dist/esm/components/table/hooks/use-table.d.ts +7 -0
  329. package/dist/esm/components/table/hooks/use-table.d.ts.map +1 -0
  330. package/dist/esm/components/table/hooks/use-table.js +139 -0
  331. package/dist/esm/components/table/hooks/use-table.js.map +1 -0
  332. package/dist/esm/components/table/table-body-cell.d.ts +26 -0
  333. package/dist/esm/components/table/table-body-cell.d.ts.map +1 -0
  334. package/dist/esm/components/table/table-body-cell.js +14 -0
  335. package/dist/esm/components/table/table-body-cell.js.map +1 -0
  336. package/dist/esm/components/table/table-body.d.ts +8 -0
  337. package/dist/esm/components/table/table-body.d.ts.map +1 -0
  338. package/dist/esm/components/table/table-body.js +8 -0
  339. package/dist/esm/components/table/table-body.js.map +1 -0
  340. package/dist/esm/components/table/table-container.d.ts +8 -0
  341. package/dist/esm/components/table/table-container.d.ts.map +1 -0
  342. package/dist/esm/components/table/table-container.js +34 -0
  343. package/dist/esm/components/table/table-container.js.map +1 -0
  344. package/dist/esm/components/table/table-header-cell.d.ts +26 -0
  345. package/dist/esm/components/table/table-header-cell.d.ts.map +1 -0
  346. package/dist/esm/components/table/table-header-cell.js +14 -0
  347. package/dist/esm/components/table/table-header-cell.js.map +1 -0
  348. package/dist/esm/components/table/table-header.d.ts +8 -0
  349. package/dist/esm/components/table/table-header.d.ts.map +1 -0
  350. package/dist/esm/components/table/table-header.js +8 -0
  351. package/dist/esm/components/table/table-header.js.map +1 -0
  352. package/dist/esm/components/table/table-row.d.ts +21 -0
  353. package/dist/esm/components/table/table-row.d.ts.map +1 -0
  354. package/dist/esm/components/table/table-row.js +11 -0
  355. package/dist/esm/components/table/table-row.js.map +1 -0
  356. package/dist/esm/components/table/table.d.ts +26 -0
  357. package/dist/esm/components/table/table.d.ts.map +1 -0
  358. package/dist/esm/components/table/table.js +24 -0
  359. package/dist/esm/components/table/table.js.map +1 -0
  360. package/dist/esm/components/table/utils/focus-table-child.d.ts +4 -0
  361. package/dist/esm/components/table/utils/focus-table-child.d.ts.map +1 -0
  362. package/dist/esm/components/table/utils/focus-table-child.js +11 -0
  363. package/dist/esm/components/table/utils/focus-table-child.js.map +1 -0
  364. package/dist/esm/components/tag/tag-group.d.ts +18 -0
  365. package/dist/esm/components/tag/tag-group.d.ts.map +1 -0
  366. package/dist/esm/components/tag/tag-group.js +21 -0
  367. package/dist/esm/components/tag/tag-group.js.map +1 -0
  368. package/dist/esm/components/tag/tag.d.ts +17 -0
  369. package/dist/esm/components/tag/tag.d.ts.map +1 -0
  370. package/dist/esm/components/tag/tag.js +14 -0
  371. package/dist/esm/components/tag/tag.js.map +1 -0
  372. package/dist/esm/components/text-inputs/text-area.d.ts.map +1 -1
  373. package/dist/esm/components/text-inputs/text-area.js +3 -3
  374. package/dist/esm/components/text-inputs/text-area.js.map +1 -1
  375. package/dist/esm/components/text-inputs/text-field.d.ts.map +1 -1
  376. package/dist/esm/components/text-inputs/text-field.js +3 -3
  377. package/dist/esm/components/text-inputs/text-field.js.map +1 -1
  378. package/dist/esm/components/tooltip/tooltip.d.ts +9 -0
  379. package/dist/esm/components/tooltip/tooltip.d.ts.map +1 -0
  380. package/dist/esm/components/tooltip/tooltip.js +9 -0
  381. package/dist/esm/components/tooltip/tooltip.js.map +1 -0
  382. package/dist/esm/components/types.d.ts +16 -2
  383. package/dist/esm/components/types.d.ts.map +1 -1
  384. package/dist/esm/components/types.js.map +1 -1
  385. package/dist/esm/components/typography/link.d.ts +2 -2
  386. package/dist/esm/components/typography/link.d.ts.map +1 -1
  387. package/dist/esm/components/typography/link.js +3 -2
  388. package/dist/esm/components/typography/link.js.map +1 -1
  389. package/dist/esm/components/typography/types.d.ts +2 -1
  390. package/dist/esm/components/typography/types.d.ts.map +1 -1
  391. package/dist/esm/components/typography/types.js.map +1 -1
  392. package/dist/esm/components/typography/utils.d.ts.map +1 -1
  393. package/dist/esm/components/typography/utils.js +2 -2
  394. package/dist/esm/components/typography/utils.js.map +1 -1
  395. package/dist/esm/components/visually-hidden/visually-hidden.d.ts +17 -0
  396. package/dist/esm/components/visually-hidden/visually-hidden.d.ts.map +1 -0
  397. package/dist/esm/components/visually-hidden/visually-hidden.js +14 -0
  398. package/dist/esm/components/visually-hidden/visually-hidden.js.map +1 -0
  399. package/dist/esm/icons/accounting-document.d.ts +1 -1
  400. package/dist/esm/icons/accounting-document.d.ts.map +1 -1
  401. package/dist/esm/icons/accounting-document.js +4 -2
  402. package/dist/esm/icons/accounting-document.js.map +1 -1
  403. package/dist/esm/icons/add-circle-fill.d.ts +1 -1
  404. package/dist/esm/icons/add-circle-fill.d.ts.map +1 -1
  405. package/dist/esm/icons/add-circle-fill.js +4 -2
  406. package/dist/esm/icons/add-circle-fill.js.map +1 -1
  407. package/dist/esm/icons/add-circle.d.ts +1 -1
  408. package/dist/esm/icons/add-circle.d.ts.map +1 -1
  409. package/dist/esm/icons/add-circle.js +4 -2
  410. package/dist/esm/icons/add-circle.js.map +1 -1
  411. package/dist/esm/icons/add.d.ts +1 -1
  412. package/dist/esm/icons/add.d.ts.map +1 -1
  413. package/dist/esm/icons/add.js +4 -2
  414. package/dist/esm/icons/add.js.map +1 -1
  415. package/dist/esm/icons/alert-triangle.d.ts +1 -1
  416. package/dist/esm/icons/alert-triangle.d.ts.map +1 -1
  417. package/dist/esm/icons/alert-triangle.js +4 -2
  418. package/dist/esm/icons/alert-triangle.js.map +1 -1
  419. package/dist/esm/icons/calculator-alt.d.ts +1 -1
  420. package/dist/esm/icons/calculator-alt.d.ts.map +1 -1
  421. package/dist/esm/icons/calculator-alt.js +4 -2
  422. package/dist/esm/icons/calculator-alt.js.map +1 -1
  423. package/dist/esm/icons/calculator.d.ts +1 -1
  424. package/dist/esm/icons/calculator.d.ts.map +1 -1
  425. package/dist/esm/icons/calculator.js +4 -2
  426. package/dist/esm/icons/calculator.js.map +1 -1
  427. package/dist/esm/icons/checkmark-circle-fill.d.ts +1 -1
  428. package/dist/esm/icons/checkmark-circle-fill.d.ts.map +1 -1
  429. package/dist/esm/icons/checkmark-circle-fill.js +4 -2
  430. package/dist/esm/icons/checkmark-circle-fill.js.map +1 -1
  431. package/dist/esm/icons/checkmark-circle.d.ts +1 -1
  432. package/dist/esm/icons/checkmark-circle.d.ts.map +1 -1
  433. package/dist/esm/icons/checkmark-circle.js +4 -2
  434. package/dist/esm/icons/checkmark-circle.js.map +1 -1
  435. package/dist/esm/icons/checkmark-small.d.ts +1 -1
  436. package/dist/esm/icons/checkmark-small.d.ts.map +1 -1
  437. package/dist/esm/icons/checkmark-small.js +4 -2
  438. package/dist/esm/icons/checkmark-small.js.map +1 -1
  439. package/dist/esm/icons/checkmark.d.ts +1 -1
  440. package/dist/esm/icons/checkmark.d.ts.map +1 -1
  441. package/dist/esm/icons/checkmark.js +4 -2
  442. package/dist/esm/icons/checkmark.js.map +1 -1
  443. package/dist/esm/icons/chevron-down-fill.d.ts +1 -1
  444. package/dist/esm/icons/chevron-down-fill.d.ts.map +1 -1
  445. package/dist/esm/icons/chevron-down-fill.js +4 -2
  446. package/dist/esm/icons/chevron-down-fill.js.map +1 -1
  447. package/dist/esm/icons/error-circle-fill.d.ts +1 -1
  448. package/dist/esm/icons/error-circle-fill.d.ts.map +1 -1
  449. package/dist/esm/icons/error-circle-fill.js +6 -4
  450. package/dist/esm/icons/error-circle-fill.js.map +1 -1
  451. package/dist/esm/icons/index.d.ts +6 -0
  452. package/dist/esm/icons/index.d.ts.map +1 -1
  453. package/dist/esm/icons/index.js +6 -0
  454. package/dist/esm/icons/index.js.map +1 -1
  455. package/dist/esm/icons/info-circle-fill.d.ts +1 -1
  456. package/dist/esm/icons/info-circle-fill.d.ts.map +1 -1
  457. package/dist/esm/icons/info-circle-fill.js +4 -2
  458. package/dist/esm/icons/info-circle-fill.js.map +1 -1
  459. package/dist/esm/icons/minus-small.d.ts +1 -1
  460. package/dist/esm/icons/minus-small.d.ts.map +1 -1
  461. package/dist/esm/icons/minus-small.js +4 -2
  462. package/dist/esm/icons/minus-small.js.map +1 -1
  463. package/dist/esm/icons/minus.d.ts +8 -0
  464. package/dist/esm/icons/minus.d.ts.map +1 -0
  465. package/dist/esm/icons/minus.js +19 -0
  466. package/dist/esm/icons/minus.js.map +1 -0
  467. package/dist/esm/icons/unstable-chevron-left-fill.d.ts +8 -0
  468. package/dist/esm/icons/unstable-chevron-left-fill.d.ts.map +1 -0
  469. package/dist/esm/icons/unstable-chevron-left-fill.js +19 -0
  470. package/dist/esm/icons/unstable-chevron-left-fill.js.map +1 -0
  471. package/dist/esm/icons/unstable-chevron-right-fill.d.ts +8 -0
  472. package/dist/esm/icons/unstable-chevron-right-fill.d.ts.map +1 -0
  473. package/dist/esm/icons/unstable-chevron-right-fill.js +19 -0
  474. package/dist/esm/icons/unstable-chevron-right-fill.js.map +1 -0
  475. package/dist/esm/icons/unstable-close.d.ts +8 -0
  476. package/dist/esm/icons/unstable-close.d.ts.map +1 -0
  477. package/dist/esm/icons/unstable-close.js +19 -0
  478. package/dist/esm/icons/unstable-close.js.map +1 -0
  479. package/dist/esm/icons/unstable-info-circle.d.ts +8 -0
  480. package/dist/esm/icons/unstable-info-circle.d.ts.map +1 -0
  481. package/dist/esm/icons/unstable-info-circle.js +19 -0
  482. package/dist/esm/icons/unstable-info-circle.js.map +1 -0
  483. package/dist/esm/icons/unstable-placeholder.d.ts +8 -0
  484. package/dist/esm/icons/unstable-placeholder.d.ts.map +1 -0
  485. package/dist/esm/icons/unstable-placeholder.js +19 -0
  486. package/dist/esm/icons/unstable-placeholder.js.map +1 -0
  487. package/dist/esm/icons/warning-circle-fill.d.ts +1 -1
  488. package/dist/esm/icons/warning-circle-fill.d.ts.map +1 -1
  489. package/dist/esm/icons/warning-circle-fill.js +4 -2
  490. package/dist/esm/icons/warning-circle-fill.js.map +1 -1
  491. package/dist/esm/index.d.ts +21 -1
  492. package/dist/esm/index.d.ts.map +1 -1
  493. package/dist/esm/index.js +19 -0
  494. package/dist/esm/index.js.map +1 -1
  495. package/dist/esm/utils/style/tone.d.ts +3 -0
  496. package/dist/esm/utils/style/tone.d.ts.map +1 -0
  497. package/dist/esm/utils/style/tone.js +4 -0
  498. package/dist/esm/utils/style/tone.js.map +1 -0
  499. package/dist/esm/utils/style/types.d.ts +2 -0
  500. package/dist/esm/utils/style/types.d.ts.map +1 -0
  501. package/dist/esm/utils/style/types.js +2 -0
  502. package/dist/esm/utils/style/types.js.map +1 -0
  503. package/dist/esm/with-style-props.d.ts +1 -1
  504. package/dist/esm/with-style-props.d.ts.map +1 -1
  505. package/dist/esm/with-style-props.js.map +1 -1
  506. package/dist-styles/styles.css +1 -1
  507. package/package.json +5 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAGL,KAAK,YAAY,IAAI,eAAe,EAErC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,EAC7B,IAAI,CAAC,eAAe,EAAE,WAAW,GAAG,QAAQ,GAAG,YAAY,CAAC;IAC9D,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,KAAK,EACL,MAAM,EACN,gBAAgB,EAChB,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAsBvB"}
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import clsx from 'clsx';
4
+ import { Tooltip as RACTooltip, OverlayArrow as RACOverlayArrow, TooltipTrigger as RACTooltipTrigger, } from 'react-aria-components';
5
+ import { Text } from '../typography/text.js';
6
+ export function UNSTABLE_Tooltip({ children, label, isOpen, UNSAFE_className, UNSAFE_style, ...props }) {
7
+ return (_jsxs(RACTooltipTrigger, { isOpen: isOpen, delay: 300, children: [children, _jsxs(RACTooltip, { ...props, className: clsx('cim-tooltip', UNSAFE_className), arrowBoundaryOffset: 8, style: UNSAFE_style, "data-cim-style-root": true, children: [_jsx(RACOverlayArrow, { className: "cim-tooltip-arrow", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 10", width: "16", height: "10", children: _jsx("path", { d: "M0 0h16L8.78 9.024a1 1 0 0 1-1.56 0L0 0Z" }) }) }), _jsx(Text, { as: "p", variant: "small", children: label })] })] }));
8
+ }
9
+ //# sourceMappingURL=tooltip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../../src/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EACL,OAAO,IAAI,UAAU,EACrB,YAAY,IAAI,eAAe,EAE/B,cAAc,IAAI,iBAAiB,GACpC,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAS7C,MAAM,UAAU,gBAAgB,CAAC,EAC/B,QAAQ,EACR,KAAK,EACL,MAAM,EACN,gBAAgB,EAChB,YAAY,EACZ,GAAG,KAAK,EACc;IACtB,OAAO,CACL,MAAC,iBAAiB,IAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,aAC1C,QAAQ,EACT,MAAC,UAAU,OACL,KAAK,EACT,SAAS,EAAE,IAAI,CAAC,aAAa,EAAE,gBAAgB,CAAC,EAChD,mBAAmB,EAAE,CAAC,EACtB,KAAK,EAAE,YAAY,0CAGnB,KAAC,eAAe,IAAC,SAAS,EAAC,mBAAmB,YAC5C,cAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,YAChF,eAAM,CAAC,EAAC,0CAA0C,GAAG,GACjD,GACU,EAClB,KAAC,IAAI,IAAC,EAAE,EAAC,GAAG,EAAC,OAAO,EAAC,OAAO,YACzB,KAAK,GACD,IACI,IACK,CACrB,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\nimport clsx from 'clsx';\nimport type { ReactNode } from 'react';\nimport {\n Tooltip as RACTooltip,\n OverlayArrow as RACOverlayArrow,\n type TooltipProps as RACTooltipProps,\n TooltipTrigger as RACTooltipTrigger,\n} from 'react-aria-components';\nimport type { CommonProps } from '../types.js';\nimport { Text } from '../typography/text.js';\n\nexport interface UNSTABLE_TooltipProps\n extends Omit<CommonProps, 'id'>,\n Pick<RACTooltipProps, 'placement' | 'isOpen' | 'triggerRef'> {\n children: ReactNode;\n label: string;\n}\n\nexport function UNSTABLE_Tooltip({\n children,\n label,\n isOpen,\n UNSAFE_className,\n UNSAFE_style,\n ...props\n}: UNSTABLE_TooltipProps) {\n return (\n <RACTooltipTrigger isOpen={isOpen} delay={300}>\n {children}\n <RACTooltip\n {...props}\n className={clsx('cim-tooltip', UNSAFE_className)}\n arrowBoundaryOffset={8}\n style={UNSAFE_style}\n data-cim-style-root\n >\n <RACOverlayArrow className=\"cim-tooltip-arrow\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 10\" width=\"16\" height=\"10\">\n <path d=\"M0 0h16L8.78 9.024a1 1 0 0 1-1.56 0L0 0Z\" />\n </svg>\n </RACOverlayArrow>\n <Text as=\"p\" variant=\"small\">\n {label}\n </Text>\n </RACTooltip>\n </RACTooltipTrigger>\n );\n}\n"]}
@@ -1,7 +1,11 @@
1
- import type { CSSProperties, ReactNode } from 'react';
1
+ import type { focusSafely } from '@react-aria/focus';
2
+ import type { CSSProperties, HTMLAttributes, ReactNode } from 'react';
2
3
  import type { ButtonProps as RACButtonProps, LinkProps as RACLinkProps, PressEvent as RACPressEvent, ValidationResult as RACValidationResult } from 'react-aria-components';
4
+ import type { ForegroundTone } from '../utils/style/types.js';
3
5
  /** Represents an identifier for a collection item. */
4
6
  export type Key = string | number;
7
+ /** Represents a selection of items in a collection. */
8
+ export type UNSTABLE_Selection = 'all' | Set<Key>;
5
9
  /** Represents a direction (vertical or horizontal). */
6
10
  export type Direction = 'vertical' | 'horizontal';
7
11
  /**
@@ -9,6 +13,8 @@ export type Direction = 'vertical' | 'horizontal';
9
13
  * but also want to allow expressions that resolve to strings.
10
14
  */
11
15
  export type StringLikeChildren = string | number | (string | number)[];
16
+ /** Any focusable element, including both HTML and SVG elements. */
17
+ export type FocusableElement = Parameters<typeof focusSafely>[0];
12
18
  /**
13
19
  * A set of common props that are allowed on every component
14
20
  */
@@ -47,9 +53,11 @@ export type HoverEvent = Parameters<NonNullable<RACButtonProps['onHoverStart']>>
47
53
  /**
48
54
  * Props for components that require a label, which can be hidden if necessary.
49
55
  */
50
- export interface LabellableProps {
56
+ export interface LabellableProps extends AriaLabelingProps {
51
57
  /** The content to display as the label. */
52
58
  label?: string;
59
+ }
60
+ export interface AriaLabelingProps {
53
61
  /**
54
62
  * Defines a string value that labels the current element.
55
63
  */
@@ -143,5 +151,11 @@ export interface IconProps extends CommonProps, Pick<LabellableProps, 'aria-labe
143
151
  'aria-hidden'?: boolean;
144
152
  /** The size of the icon in pixels. */
145
153
  size?: 16 | 24 | 32;
154
+ /** The tone of the icon. */
155
+ tone?: ForegroundTone;
156
+ }
157
+ /** Props available on native HTML elements. */
158
+ export interface NativeElementProps<T extends HTMLElement> extends HTMLAttributes<T> {
159
+ [dataProp: `data-${string}`]: string | number | boolean | undefined;
146
160
  }
147
161
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/types.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,KAAK,EACV,WAAW,IAAI,cAAc,EAC7B,SAAS,IAAI,YAAY,EACzB,UAAU,IAAI,aAAa,EAC3B,gBAAgB,IAAI,mBAAmB,EACxC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,sDAAsD;AACtD,MAAM,MAAM,GAAG,GAAG,MAAM,GAAG,MAAM,CAAC;AAElC,uDAAuD;AACvD,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;AAElD,uDAAuD;AACvD,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,YAAY,CAAC;AAElD;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;AAGvE,mEAAmE;AACnE,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAC7C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,YAAY,CAAC,EAAE,aAAa,CAAC;CAC9B;AAED;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC;AAGvC,kDAAkD;AAClD,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,WAAW,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEpF;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,mEAAmE;AACnE,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAAC;AAEnD,wDAAwD;AACxD,MAAM,MAAM,UAAU,GAClB,MAAM,GACN,MAAM,EAAE,GACR,SAAS,GACT,CAAC,CAAC,UAAU,EAAE,gBAAgB,KAAK,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;AAEtE,gDAAgD;AAChD,MAAM,WAAW,UAAU,CAAC,CAAC,CAAE,SAAQ,eAAe;IACpD,qGAAqG;IACrG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sCAAsC;IACtC,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CAC/D;AAED,iEAAiE;AACjE,MAAM,WAAW,yBAAyB,CAAC,CAAC,CAAE,SAAQ,UAAU,CAAC,CAAC,CAAC;IACjE,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qFAAqF;AACrF,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG;KAAG,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,CAAC;AAE1E;;;GAGG;AAEH,MAAM,WAAW,YAAY;CAAG;AAEhC;;;GAGG;AACH,MAAM,MAAM,IAAI,GAAG,YAAY,SAAS;IAAE,IAAI,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CAAC,GAAG,MAAM,CAAC;AAEvE;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,YAAY,SAAS;IAAE,aAAa,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CAAC,GAAG,KAAK,CAAC;AAExF;;GAEG;AACH,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,YAAY,EAAE,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,MAAM,GAAG,gBAAgB,CAAC;IAClG,wBAAwB;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,qDAAqD;IACrD,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B;AAED,kFAAkF;AAClF,MAAM,WAAW,cAAc;IAC7B,+CAA+C;IAC/C,EAAE,EAAE,GAAG,CAAC;CACT;AAED,6DAA6D;AAC7D,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,cAAc;IACvD,sCAAsC;IACtC,QAAQ,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,CAAC,CAAC;IAChD,8CAA8C;IAC9C,KAAK,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;CACrB;AAED,gCAAgC;AAChC,MAAM,WAAW,SAAU,SAAQ,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,YAAY,GAAG,iBAAiB,CAAC;IACrG;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,sCAAsC;IACtC,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IACpB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB;AAED,+CAA+C;AAC/C,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,WAAW,CAAE,SAAQ,cAAc,CAAC,CAAC,CAAC;IAClF,CAAC,QAAQ,EAAE,QAAQ,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACrE"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport type {\n ButtonProps as RACButtonProps,\n LinkProps as RACLinkProps,\n PressEvent as RACPressEvent,\n ValidationResult as RACValidationResult,\n} from 'react-aria-components';\n\n/** Represents an identifier for a collection item. */\nexport type Key = string | number;\n\n/** Represents a direction (vertical or horizontal). */\nexport type Direction = 'vertical' | 'horizontal';\n\n/**\n * Use this type when you want to restrict `children` to a string,\n * but also want to allow expressions that resolve to strings.\n */\nexport type StringLikeChildren = string | number | (string | number)[];\n\n/**\n * A set of common props that are allowed on every component\n */\nexport interface CommonProps {\n /**\n * The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id).\n */\n id?: string;\n /**\n * Use this attribute to \"claim\" the component tree for exclusive Cimpress UI usage.\n */\n 'data-cim-style-root'?: boolean | 'no-reset';\n /**\n * Sets the CSS className for the element. Only use as a **last resort**. Use style props instead.\n *\n * See [styling guide](https://ui.cimpress.io/dev-guides/styling/).\n */\n UNSAFE_className?: string;\n /**\n * Sets the CSS style for the element. Only use as a **last resort**. Use style props instead.\n *\n * See [styling guide](https://ui.cimpress.io/dev-guides/styling/).\n */\n UNSAFE_style?: CSSProperties;\n}\n\n/**\n * An event fired when a component is pressed.\n *\n * By default, press events stop propagation to parent elements.\n * In cases where a handler decides not to handle a specific event,\n * it can call `continuePropagation()` to allow a parent to handle it.\n */\nexport type PressEvent = RACPressEvent;\n\n// HoverEvent is not exported from react-aria-components\n/** An event fired when a component is hovered. */\nexport type HoverEvent = Parameters<NonNullable<RACButtonProps['onHoverStart']>>[0];\n\n/**\n * Props for components that require a label, which can be hidden if necessary.\n */\n// Copied and modified from AriaLabelingProps from @react-types/shared\nexport interface LabellableProps {\n /** The content to display as the label. */\n label?: string;\n\n /**\n * Defines a string value that labels the current element.\n */\n 'aria-label'?: string;\n\n /**\n * Identifies the element (or elements) that labels the current element.\n */\n 'aria-labelledby'?: string;\n\n /**\n * Identifies the element (or elements) that describes the object.\n */\n 'aria-describedby'?: string;\n\n /**\n * Identifies the element (or elements) that provide a detailed, extended description for the object.\n */\n 'aria-details'?: string;\n}\n\n/** Provides details about the validation state of a form field. */\nexport type ValidationResult = RACValidationResult;\n\n/** Represents the error message(s) for a form field. */\nexport type FieldError =\n | string\n | string[]\n | undefined\n | ((validation: ValidationResult) => string | string[] | undefined);\n\n/** Props available on form field components. */\nexport interface FieldProps<T> extends LabellableProps {\n /** A description for the field. Provides a hint such as specific requirements for what to choose. */\n description?: string;\n /** An error message for the field. */\n error?: FieldError;\n /**\n * A function that returns an error message (or `true`) if a given value is invalid.\n * Validation errors are displayed to the user when the form is submitted.\n * For real-time validation, use the `error` prop instead.\n */\n validate?: (value: T) => string | string[] | true | undefined;\n}\n\n/** Props available on form field components with text inputs. */\nexport interface FieldWithPlaceholderProps<T> extends FieldProps<T> {\n /** The placeholder text displayed in the input field. */\n placeholder?: string;\n}\n\n/** Changes specified optional properties within the provided type to be required. */\nexport type WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };\n\n/**\n * This interface allows configuring navigation props with router options and type-safe URLs via TypeScript module augmentation.\n * By default, this is an empty interface. Extend with `href` and `routerOptions` properties to configure your router.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface RouterConfig {}\n\n/**\n * Represents a URL for navigation components.\n * This type can be configured by augmenting `RouterConfig` with an `href` property.\n */\nexport type Href = RouterConfig extends { href: infer H } ? H : string;\n\n/**\n * Represents router options for navigation components.\n * This type can be configured by augmenting `RouterConfig` with a `routerOptions` property.\n */\nexport type RouterOptions = RouterConfig extends { routerOptions: infer O } ? O : never;\n\n/**\n * Props available on components that perform navigation.\n */\nexport interface NavigationProps\n extends Pick<RACLinkProps, 'hrefLang' | 'target' | 'rel' | 'download' | 'ping' | 'referrerPolicy'> {\n /** A URL to link to. */\n href?: Href;\n /** Options for the configured client side router. */\n routerOptions?: RouterOptions;\n}\n\n/** Represents a minimal data shape of a dynamic item in collection components. */\nexport interface CollectionItem {\n /** Unique identifier for the item or group. */\n id: Key;\n}\n\n/** Props available on components that render collections. */\nexport interface CollectionProps<T extends CollectionItem> {\n /** The contents of the collection. */\n children?: ReactNode | ((item: T) => ReactNode);\n /** The items to display in the collection. */\n items?: Iterable<T>;\n}\n\n/** Props available on icons. */\nexport interface IconProps extends CommonProps, Pick<LabellableProps, 'aria-label' | 'aria-labelledby'> {\n /**\n * Whether the icon is hidden from assistive technologies.\n * @default true\n */\n 'aria-hidden'?: boolean;\n /** The size of the icon in pixels. */\n size?: 16 | 24 | 32;\n}\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { focusSafely } from '@react-aria/focus';\nimport type { CSSProperties, HTMLAttributes, ReactNode } from 'react';\nimport type {\n ButtonProps as RACButtonProps,\n LinkProps as RACLinkProps,\n PressEvent as RACPressEvent,\n ValidationResult as RACValidationResult,\n} from 'react-aria-components';\nimport type { ForegroundTone } from '../utils/style/types.js';\n\n/** Represents an identifier for a collection item. */\nexport type Key = string | number;\n\n/** Represents a selection of items in a collection. */\nexport type UNSTABLE_Selection = 'all' | Set<Key>;\n\n/** Represents a direction (vertical or horizontal). */\nexport type Direction = 'vertical' | 'horizontal';\n\n/**\n * Use this type when you want to restrict `children` to a string,\n * but also want to allow expressions that resolve to strings.\n */\nexport type StringLikeChildren = string | number | (string | number)[];\n\n// `FocusableElement` is not exported from any React Aria package\n/** Any focusable element, including both HTML and SVG elements. */\nexport type FocusableElement = Parameters<typeof focusSafely>[0];\n\n/**\n * A set of common props that are allowed on every component\n */\nexport interface CommonProps {\n /**\n * The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id).\n */\n id?: string;\n /**\n * Use this attribute to \"claim\" the component tree for exclusive Cimpress UI usage.\n */\n 'data-cim-style-root'?: boolean | 'no-reset';\n /**\n * Sets the CSS className for the element. Only use as a **last resort**. Use style props instead.\n *\n * See [styling guide](https://ui.cimpress.io/dev-guides/styling/).\n */\n UNSAFE_className?: string;\n /**\n * Sets the CSS style for the element. Only use as a **last resort**. Use style props instead.\n *\n * See [styling guide](https://ui.cimpress.io/dev-guides/styling/).\n */\n UNSAFE_style?: CSSProperties;\n}\n\n/**\n * An event fired when a component is pressed.\n *\n * By default, press events stop propagation to parent elements.\n * In cases where a handler decides not to handle a specific event,\n * it can call `continuePropagation()` to allow a parent to handle it.\n */\nexport type PressEvent = RACPressEvent;\n\n// HoverEvent is not exported from react-aria-components\n/** An event fired when a component is hovered. */\nexport type HoverEvent = Parameters<NonNullable<RACButtonProps['onHoverStart']>>[0];\n\n/**\n * Props for components that require a label, which can be hidden if necessary.\n */\nexport interface LabellableProps extends AriaLabelingProps {\n /** The content to display as the label. */\n label?: string;\n}\n\n// Copied from AriaLabelingProps from @react-types/shared\nexport interface AriaLabelingProps {\n /**\n * Defines a string value that labels the current element.\n */\n 'aria-label'?: string;\n\n /**\n * Identifies the element (or elements) that labels the current element.\n */\n 'aria-labelledby'?: string;\n\n /**\n * Identifies the element (or elements) that describes the object.\n */\n 'aria-describedby'?: string;\n\n /**\n * Identifies the element (or elements) that provide a detailed, extended description for the object.\n */\n 'aria-details'?: string;\n}\n\n/** Provides details about the validation state of a form field. */\nexport type ValidationResult = RACValidationResult;\n\n/** Represents the error message(s) for a form field. */\nexport type FieldError =\n | string\n | string[]\n | undefined\n | ((validation: ValidationResult) => string | string[] | undefined);\n\n/** Props available on form field components. */\nexport interface FieldProps<T> extends LabellableProps {\n /** A description for the field. Provides a hint such as specific requirements for what to choose. */\n description?: string;\n /** An error message for the field. */\n error?: FieldError;\n /**\n * A function that returns an error message (or `true`) if a given value is invalid.\n * Validation errors are displayed to the user when the form is submitted.\n * For real-time validation, use the `error` prop instead.\n */\n validate?: (value: T) => string | string[] | true | undefined;\n}\n\n/** Props available on form field components with text inputs. */\nexport interface FieldWithPlaceholderProps<T> extends FieldProps<T> {\n /** The placeholder text displayed in the input field. */\n placeholder?: string;\n}\n\n/** Changes specified optional properties within the provided type to be required. */\nexport type WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };\n\n/**\n * This interface allows configuring navigation props with router options and type-safe URLs via TypeScript module augmentation.\n * By default, this is an empty interface. Extend with `href` and `routerOptions` properties to configure your router.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface RouterConfig {}\n\n/**\n * Represents a URL for navigation components.\n * This type can be configured by augmenting `RouterConfig` with an `href` property.\n */\nexport type Href = RouterConfig extends { href: infer H } ? H : string;\n\n/**\n * Represents router options for navigation components.\n * This type can be configured by augmenting `RouterConfig` with a `routerOptions` property.\n */\nexport type RouterOptions = RouterConfig extends { routerOptions: infer O } ? O : never;\n\n/**\n * Props available on components that perform navigation.\n */\nexport interface NavigationProps\n extends Pick<RACLinkProps, 'hrefLang' | 'target' | 'rel' | 'download' | 'ping' | 'referrerPolicy'> {\n /** A URL to link to. */\n href?: Href;\n /** Options for the configured client side router. */\n routerOptions?: RouterOptions;\n}\n\n/** Represents a minimal data shape of a dynamic item in collection components. */\nexport interface CollectionItem {\n /** Unique identifier for the item or group. */\n id: Key;\n}\n\n/** Props available on components that render collections. */\nexport interface CollectionProps<T extends CollectionItem> {\n /** The contents of the collection. */\n children?: ReactNode | ((item: T) => ReactNode);\n /** The items to display in the collection. */\n items?: Iterable<T>;\n}\n\n/** Props available on icons. */\nexport interface IconProps extends CommonProps, Pick<LabellableProps, 'aria-label' | 'aria-labelledby'> {\n /**\n * Whether the icon is hidden from assistive technologies.\n * @default true\n */\n 'aria-hidden'?: boolean;\n /** The size of the icon in pixels. */\n size?: 16 | 24 | 32;\n /** The tone of the icon. */\n tone?: ForegroundTone;\n}\n\n/** Props available on native HTML elements. */\nexport interface NativeElementProps<T extends HTMLElement> extends HTMLAttributes<T> {\n [dataProp: `data-${string}`]: string | number | boolean | undefined;\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import { type LinkProps as RACLinkProps } from 'react-aria-components';
3
3
  import type { NavigationProps, WithRequired } from '../types.js';
4
- import type { BaseTypographyProps } from './types.js';
5
- export interface LinkProps extends Omit<BaseTypographyProps, 'id'>, WithRequired<NavigationProps, 'href'>, Pick<RACLinkProps, 'isDisabled' | 'onHoverStart' | 'onHoverEnd'> {
4
+ import type { BaseTypographyProps, TextStyleOptions } from './types.js';
5
+ export interface LinkProps extends Omit<BaseTypographyProps, 'id'>, WithRequired<NavigationProps, 'href'>, Pick<TextStyleOptions, 'variant' | 'fontStyle' | 'alignment'>, Pick<RACLinkProps, 'isDisabled' | 'onHoverStart' | 'onHoverEnd'> {
6
6
  /** An icon displayed before the link text. */
7
7
  iconStart?: ReactNode;
8
8
  /** An icon displayed after the link text. */
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/link.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAmB,KAAK,SAAS,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAGxF,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAKtD,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,mBAAmB,EAAE,IAAI,CAAC,EACrC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,EACrC,IAAI,CAAC,YAAY,EAAE,YAAY,GAAG,cAAc,GAAG,YAAY,CAAC;IAClE,8CAA8C;IAC9C,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AAyBD;;;;GAIG;AACH,QAAA,MAAM,KAAK,8JAA2C,CAAC;AAEvD,OAAO,EAAE,KAAK,IAAI,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/link.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAmB,KAAK,SAAS,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAGxF,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAMxE,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,mBAAmB,EAAE,IAAI,CAAC,EACrC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,EACrC,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,WAAW,GAAG,WAAW,CAAC,EAC7D,IAAI,CAAC,YAAY,EAAE,YAAY,GAAG,cAAc,GAAG,YAAY,CAAC;IAClE,8CAA8C;IAC9C,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AA8BD;;;;GAIG;AACH,QAAA,MAAM,KAAK,8JAA2C,CAAC;AAEvD,OAAO,EAAE,KAAK,IAAI,IAAI,EAAE,CAAC"}
@@ -4,10 +4,11 @@ import clsx from 'clsx';
4
4
  import { Link as RACLink } from 'react-aria-components';
5
5
  import { forwardRef } from '../../forward-ref.js';
6
6
  import { withStyleProps } from '../../with-style-props.js';
7
+ import { textStyle } from './utils.js';
7
8
  // Used to prevent word wrap between icons and text
8
9
  const WORD_JOINER = '\u2060';
9
- function Link({ children, iconStart, iconEnd, UNSAFE_className, UNSAFE_style, ...props }, ref) {
10
- return (_jsxs(RACLink, { ...props, ref: ref, className: clsx('cim-link', UNSAFE_className), style: UNSAFE_style, children: [iconStart && (_jsxs(_Fragment, { children: [_jsx("span", { className: "cim-link-icon", children: iconStart }), WORD_JOINER] })), _jsx("span", { className: "cim-link-text", children: children }), iconEnd && (_jsxs(_Fragment, { children: [WORD_JOINER, _jsx("span", { className: "cim-link-icon", children: iconEnd })] }))] }));
10
+ function Link({ children, iconStart, iconEnd, UNSAFE_className, UNSAFE_style, variant, fontStyle, alignment, ...props }, ref) {
11
+ return (_jsxs(RACLink, { ...props, ref: ref, className: clsx('cim-link', textStyle({ variant, fontStyle, alignment }), UNSAFE_className), style: UNSAFE_style, children: [iconStart && (_jsxs(_Fragment, { children: [_jsx("span", { className: "cim-link-icon", children: iconStart }), WORD_JOINER] })), _jsx("span", { className: "cim-link-text", children: children }), iconEnd && (_jsxs(_Fragment, { children: [WORD_JOINER, _jsx("span", { className: "cim-link-icon", children: iconEnd })] }))] }));
11
12
  }
12
13
  /**
13
14
  * Displays a textual link that allows users to navigate to another page or resource.
@@ -1 +1 @@
1
- {"version":3,"file":"link.js","sourceRoot":"","sources":["../../../../src/components/typography/link.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,IAAI,IAAI,OAAO,EAAkC,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,mDAAmD;AACnD,MAAM,WAAW,GAAG,QAAQ,CAAC;AAY7B,SAAS,IAAI,CACX,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,GAAG,KAAK,EAAa,EACrF,GAAoC;IAEpC,OAAO,CACL,MAAC,OAAO,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,gBAAgB,CAAC,EAAE,KAAK,EAAE,YAAY,aAC7F,SAAS,IAAI,CACZ,8BACE,eAAM,SAAS,EAAC,eAAe,YAAE,SAAS,GAAQ,EACjD,WAAW,IACX,CACJ,EACD,eAAM,SAAS,EAAC,eAAe,YAAE,QAAQ,GAAQ,EAChD,OAAO,IAAI,CACV,8BACG,WAAW,EACZ,eAAM,SAAS,EAAC,eAAe,YAAE,OAAO,GAAQ,IAC/C,CACJ,IACO,CACX,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,KAAK,GAAG,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC;AAEvD,OAAO,EAAE,KAAK,IAAI,IAAI,EAAE,CAAC","sourcesContent":["'use client';\n\nimport clsx from 'clsx';\nimport type { ForwardedRef, ReactNode } from 'react';\nimport { Link as RACLink, type LinkProps as RACLinkProps } from 'react-aria-components';\nimport { forwardRef } from '../../forward-ref.js';\nimport { withStyleProps } from '../../with-style-props.js';\nimport type { NavigationProps, WithRequired } from '../types.js';\nimport type { BaseTypographyProps } from './types.js';\n\n// Used to prevent word wrap between icons and text\nconst WORD_JOINER = '\\u2060';\n\nexport interface LinkProps\n extends Omit<BaseTypographyProps, 'id'>,\n WithRequired<NavigationProps, 'href'>,\n Pick<RACLinkProps, 'isDisabled' | 'onHoverStart' | 'onHoverEnd'> {\n /** An icon displayed before the link text. */\n iconStart?: ReactNode;\n /** An icon displayed after the link text. */\n iconEnd?: ReactNode;\n}\n\nfunction Link(\n { children, iconStart, iconEnd, UNSAFE_className, UNSAFE_style, ...props }: LinkProps,\n ref: ForwardedRef<HTMLAnchorElement>,\n) {\n return (\n <RACLink {...props} ref={ref} className={clsx('cim-link', UNSAFE_className)} style={UNSAFE_style}>\n {iconStart && (\n <>\n <span className=\"cim-link-icon\">{iconStart}</span>\n {WORD_JOINER}\n </>\n )}\n <span className=\"cim-link-text\">{children}</span>\n {iconEnd && (\n <>\n {WORD_JOINER}\n <span className=\"cim-link-icon\">{iconEnd}</span>\n </>\n )}\n </RACLink>\n );\n}\n\n/**\n * Displays a textual link that allows users to navigate to another page or resource.\n *\n * See [link usage guidelines](https://ui.cimpress.io/components/link/).\n */\nconst _Link = withStyleProps(forwardRef(Link), 'Link');\n\nexport { _Link as Link };\n"]}
1
+ {"version":3,"file":"link.js","sourceRoot":"","sources":["../../../../src/components/typography/link.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,IAAI,IAAI,OAAO,EAAkC,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,mDAAmD;AACnD,MAAM,WAAW,GAAG,QAAQ,CAAC;AAa7B,SAAS,IAAI,CACX,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,KAAK,EAAa,EACpH,GAAoC;IAEpC,OAAO,CACL,MAAC,OAAO,OACF,KAAK,EACT,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,EAAE,gBAAgB,CAAC,EAC3F,KAAK,EAAE,YAAY,aAElB,SAAS,IAAI,CACZ,8BACE,eAAM,SAAS,EAAC,eAAe,YAAE,SAAS,GAAQ,EACjD,WAAW,IACX,CACJ,EACD,eAAM,SAAS,EAAC,eAAe,YAAE,QAAQ,GAAQ,EAChD,OAAO,IAAI,CACV,8BACG,WAAW,EACZ,eAAM,SAAS,EAAC,eAAe,YAAE,OAAO,GAAQ,IAC/C,CACJ,IACO,CACX,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,KAAK,GAAG,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC;AAEvD,OAAO,EAAE,KAAK,IAAI,IAAI,EAAE,CAAC","sourcesContent":["'use client';\n\nimport clsx from 'clsx';\nimport type { ForwardedRef, ReactNode } from 'react';\nimport { Link as RACLink, type LinkProps as RACLinkProps } from 'react-aria-components';\nimport { forwardRef } from '../../forward-ref.js';\nimport { withStyleProps } from '../../with-style-props.js';\nimport type { NavigationProps, WithRequired } from '../types.js';\nimport type { BaseTypographyProps, TextStyleOptions } from './types.js';\nimport { textStyle } from './utils.js';\n\n// Used to prevent word wrap between icons and text\nconst WORD_JOINER = '\\u2060';\n\nexport interface LinkProps\n extends Omit<BaseTypographyProps, 'id'>,\n WithRequired<NavigationProps, 'href'>,\n Pick<TextStyleOptions, 'variant' | 'fontStyle' | 'alignment'>,\n Pick<RACLinkProps, 'isDisabled' | 'onHoverStart' | 'onHoverEnd'> {\n /** An icon displayed before the link text. */\n iconStart?: ReactNode;\n /** An icon displayed after the link text. */\n iconEnd?: ReactNode;\n}\n\nfunction Link(\n { children, iconStart, iconEnd, UNSAFE_className, UNSAFE_style, variant, fontStyle, alignment, ...props }: LinkProps,\n ref: ForwardedRef<HTMLAnchorElement>,\n) {\n return (\n <RACLink\n {...props}\n ref={ref}\n className={clsx('cim-link', textStyle({ variant, fontStyle, alignment }), UNSAFE_className)}\n style={UNSAFE_style}\n >\n {iconStart && (\n <>\n <span className=\"cim-link-icon\">{iconStart}</span>\n {WORD_JOINER}\n </>\n )}\n <span className=\"cim-link-text\">{children}</span>\n {iconEnd && (\n <>\n {WORD_JOINER}\n <span className=\"cim-link-icon\">{iconEnd}</span>\n </>\n )}\n </RACLink>\n );\n}\n\n/**\n * Displays a textual link that allows users to navigate to another page or resource.\n *\n * See [link usage guidelines](https://ui.cimpress.io/components/link/).\n */\nconst _Link = withStyleProps(forwardRef(Link), 'Link');\n\nexport { _Link as Link };\n"]}
@@ -1,4 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
+ import type { ForegroundTone } from '../../utils/style/types.js';
2
3
  import type { CommonProps, LabellableProps } from '../types.js';
3
4
  /**
4
5
  * Props available on all typography components.
@@ -17,6 +18,6 @@ export interface TextStyleOptions {
17
18
  /** The kind of decorative line applied to the text. */
18
19
  textDecoration?: 'none' | 'strikethrough' | 'underline';
19
20
  /** Determines the color tone of the text. */
20
- tone?: 'title' | 'base' | 'subtle' | 'muted' | 'inverse' | 'action' | 'info' | 'success' | 'warning' | 'critical';
21
+ tone?: ForegroundTone;
21
22
  }
22
23
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEhE;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC;IACtF,mEAAmE;IACnE,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,6CAA6C;IAC7C,OAAO,CAAC,EACJ,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,MAAM,GACN,eAAe,GACf,QAAQ,GACR,iBAAiB,GACjB,OAAO,GACP,gBAAgB,CAAC;IACrB,sEAAsE;IACtE,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,oCAAoC;IACpC,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;IACnD,uDAAuD;IACvD,cAAc,CAAC,EAAE,MAAM,GAAG,eAAe,GAAG,WAAW,CAAC;IACxD,6CAA6C;IAC7C,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;CACnH"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEhE;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC;IACtF,mEAAmE;IACnE,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,6CAA6C;IAC7C,OAAO,CAAC,EACJ,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,MAAM,GACN,eAAe,GACf,QAAQ,GACR,iBAAiB,GACjB,OAAO,GACP,gBAAgB,CAAC;IACrB,sEAAsE;IACtE,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,oCAAoC;IACpC,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;IACnD,uDAAuD;IACvD,cAAc,CAAC,EAAE,MAAM,GAAG,eAAe,GAAG,WAAW,CAAC;IACxD,6CAA6C;IAC7C,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/components/typography/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from 'react';\nimport type { CommonProps, LabellableProps } from '../types.js';\n\n/**\n * Props available on all typography components.\n */\nexport interface BaseTypographyProps extends CommonProps, Omit<LabellableProps, 'label'> {\n /** Text to display. Allows nesting other typography components. */\n children: ReactNode;\n}\n\nexport interface TextStyleOptions {\n /** Determines the visual variant of text. */\n variant?:\n | 'title-1'\n | 'title-2'\n | 'title-3'\n | 'title-4'\n | 'title-5'\n | 'title-6'\n | 'body'\n | 'body-semibold'\n | 'medium'\n | 'medium-semibold'\n | 'small'\n | 'small-semibold';\n /** Whether the font should be styled with a normal or italic face. */\n fontStyle?: 'normal' | 'italic';\n /** Horizontal alignment of text. */\n alignment?: 'start' | 'center' | 'end' | 'justify';\n /** The kind of decorative line applied to the text. */\n textDecoration?: 'none' | 'strikethrough' | 'underline';\n /** Determines the color tone of the text. */\n tone?: 'title' | 'base' | 'subtle' | 'muted' | 'inverse' | 'action' | 'info' | 'success' | 'warning' | 'critical';\n}\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/components/typography/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from 'react';\nimport type { ForegroundTone } from '../../utils/style/types.js';\nimport type { CommonProps, LabellableProps } from '../types.js';\n\n/**\n * Props available on all typography components.\n */\nexport interface BaseTypographyProps extends CommonProps, Omit<LabellableProps, 'label'> {\n /** Text to display. Allows nesting other typography components. */\n children: ReactNode;\n}\n\nexport interface TextStyleOptions {\n /** Determines the visual variant of text. */\n variant?:\n | 'title-1'\n | 'title-2'\n | 'title-3'\n | 'title-4'\n | 'title-5'\n | 'title-6'\n | 'body'\n | 'body-semibold'\n | 'medium'\n | 'medium-semibold'\n | 'small'\n | 'small-semibold';\n /** Whether the font should be styled with a normal or italic face. */\n fontStyle?: 'normal' | 'italic';\n /** Horizontal alignment of text. */\n alignment?: 'start' | 'center' | 'end' | 'justify';\n /** The kind of decorative line applied to the text. */\n textDecoration?: 'none' | 'strikethrough' | 'underline';\n /** Determines the color tone of the text. */\n tone?: ForegroundTone;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD,0EAA0E;AAC1E,wBAAgB,SAAS,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,IAAI,EAAE,EAAE,gBAAgB,UAQlG"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD,0EAA0E;AAC1E,wBAAgB,SAAS,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,IAAI,EAAE,EAAE,gBAAgB,UAWlG"}
@@ -1,4 +1,5 @@
1
1
  import clsx from 'clsx';
2
+ import { fgTone } from '../../utils/style/tone.js';
2
3
  /** Returns a string of classNames that apply the specified text style. */
3
4
  export function textStyle({ variant, fontStyle, alignment, textDecoration, tone }) {
4
5
  return clsx('cim-text', {
@@ -6,7 +7,6 @@ export function textStyle({ variant, fontStyle, alignment, textDecoration, tone
6
7
  [`cim-text-fs-${fontStyle}`]: fontStyle,
7
8
  [`cim-text-alignment-${alignment}`]: alignment,
8
9
  [`cim-text-decoration-${textDecoration}`]: textDecoration,
9
- [`cim-text-tone-${tone}`]: tone,
10
- });
10
+ }, tone && fgTone(tone));
11
11
  }
12
12
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/components/typography/utils.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,0EAA0E;AAC1E,MAAM,UAAU,SAAS,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,IAAI,EAAoB;IACjG,OAAO,IAAI,CAAC,UAAU,EAAE;QACtB,CAAC,oBAAoB,OAAO,EAAE,CAAC,EAAE,OAAO;QACxC,CAAC,eAAe,SAAS,EAAE,CAAC,EAAE,SAAS;QACvC,CAAC,sBAAsB,SAAS,EAAE,CAAC,EAAE,SAAS;QAC9C,CAAC,uBAAuB,cAAc,EAAE,CAAC,EAAE,cAAc;QACzD,CAAC,iBAAiB,IAAI,EAAE,CAAC,EAAE,IAAI;KAChC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import clsx from 'clsx';\nimport type { TextStyleOptions } from './types.js';\n\n/** Returns a string of classNames that apply the specified text style. */\nexport function textStyle({ variant, fontStyle, alignment, textDecoration, tone }: TextStyleOptions) {\n return clsx('cim-text', {\n [`cim-text-variant-${variant}`]: variant,\n [`cim-text-fs-${fontStyle}`]: fontStyle,\n [`cim-text-alignment-${alignment}`]: alignment,\n [`cim-text-decoration-${textDecoration}`]: textDecoration,\n [`cim-text-tone-${tone}`]: tone,\n });\n}\n"]}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/components/typography/utils.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAGnD,0EAA0E;AAC1E,MAAM,UAAU,SAAS,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,IAAI,EAAoB;IACjG,OAAO,IAAI,CACT,UAAU,EACV;QACE,CAAC,oBAAoB,OAAO,EAAE,CAAC,EAAE,OAAO;QACxC,CAAC,eAAe,SAAS,EAAE,CAAC,EAAE,SAAS;QACvC,CAAC,sBAAsB,SAAS,EAAE,CAAC,EAAE,SAAS;QAC9C,CAAC,uBAAuB,cAAc,EAAE,CAAC,EAAE,cAAc;KAC1D,EACD,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,CACrB,CAAC;AACJ,CAAC","sourcesContent":["import clsx from 'clsx';\nimport { fgTone } from '../../utils/style/tone.js';\nimport type { TextStyleOptions } from './types.js';\n\n/** Returns a string of classNames that apply the specified text style. */\nexport function textStyle({ variant, fontStyle, alignment, textDecoration, tone }: TextStyleOptions) {\n return clsx(\n 'cim-text',\n {\n [`cim-text-variant-${variant}`]: variant,\n [`cim-text-fs-${fontStyle}`]: fontStyle,\n [`cim-text-alignment-${alignment}`]: alignment,\n [`cim-text-decoration-${textDecoration}`]: textDecoration,\n },\n tone && fgTone(tone),\n );\n}\n"]}
@@ -0,0 +1,17 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { CommonProps } from '../types.js';
3
+ export interface UNSTABLE_VisuallyHiddenProps extends CommonProps {
4
+ /** The content that should be hidden visually. */
5
+ children: ReactNode;
6
+ /**
7
+ * Whether to show the content when it's focused. This can be used to implement a [skip link](https://webaim.org/techniques/skipnav/).
8
+ * @default false
9
+ */
10
+ showWhenFocused?: boolean;
11
+ }
12
+ /**
13
+ * Renders a container that hides its children visually, while keeping content accessible to screen readers.
14
+ */
15
+ declare const _VisuallyHidden: (props: UNSTABLE_VisuallyHiddenProps & import("react").RefAttributes<HTMLDivElement> & import("../../with-style-props.js").StyleProps) => import("react").JSX.Element | null;
16
+ export { _VisuallyHidden as UNSTABLE_VisuallyHidden };
17
+ //# sourceMappingURL=visually-hidden.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visually-hidden.d.ts","sourceRoot":"","sources":["../../../../src/components/visually-hidden/visually-hidden.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAgB,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,WAAW,4BAA6B,SAAQ,WAAW;IAC/D,kDAAkD;IAClD,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAkBD;;GAEG;AACH,QAAA,MAAM,eAAe,8KAAwE,CAAC;AAE9F,OAAO,EAAE,eAAe,IAAI,uBAAuB,EAAE,CAAC"}
@@ -0,0 +1,14 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import clsx from 'clsx';
4
+ import { forwardRef } from '../../forward-ref.js';
5
+ import { withStyleProps } from '../../with-style-props.js';
6
+ function UNSTABLE_VisuallyHidden({ children, UNSAFE_className, UNSAFE_style, showWhenFocused, ...props }, ref) {
7
+ return (_jsx("div", { ...props, ref: ref, className: clsx('cim-visually-hidden', showWhenFocused && 'cim-visually-hidden-focusable', UNSAFE_className), style: UNSAFE_style, children: children }));
8
+ }
9
+ /**
10
+ * Renders a container that hides its children visually, while keeping content accessible to screen readers.
11
+ */
12
+ const _VisuallyHidden = withStyleProps(forwardRef(UNSTABLE_VisuallyHidden), 'VisuallyHidden');
13
+ export { _VisuallyHidden as UNSTABLE_VisuallyHidden };
14
+ //# sourceMappingURL=visually-hidden.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visually-hidden.js","sourceRoot":"","sources":["../../../../src/components/visually-hidden/visually-hidden.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAa3D,SAAS,uBAAuB,CAC9B,EAAE,QAAQ,EAAE,gBAAgB,EAAE,YAAY,EAAE,eAAe,EAAE,GAAG,KAAK,EAAgC,EACrG,GAAiC;IAEjC,OAAO,CACL,iBACM,KAAK,EACT,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAI,CAAC,qBAAqB,EAAE,eAAe,IAAI,+BAA+B,EAAE,gBAAgB,CAAC,EAC5G,KAAK,EAAE,YAAY,YAElB,QAAQ,GACL,CACP,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,eAAe,GAAG,cAAc,CAAC,UAAU,CAAC,uBAAuB,CAAC,EAAE,gBAAgB,CAAC,CAAC;AAE9F,OAAO,EAAE,eAAe,IAAI,uBAAuB,EAAE,CAAC","sourcesContent":["'use client';\n\nimport clsx from 'clsx';\nimport type { ReactNode, ForwardedRef } from 'react';\nimport { forwardRef } from '../../forward-ref.js';\nimport { withStyleProps } from '../../with-style-props.js';\nimport type { CommonProps } from '../types.js';\n\nexport interface UNSTABLE_VisuallyHiddenProps extends CommonProps {\n /** The content that should be hidden visually. */\n children: ReactNode;\n /**\n * Whether to show the content when it's focused. This can be used to implement a [skip link](https://webaim.org/techniques/skipnav/).\n * @default false\n */\n showWhenFocused?: boolean;\n}\n\nfunction UNSTABLE_VisuallyHidden(\n { children, UNSAFE_className, UNSAFE_style, showWhenFocused, ...props }: UNSTABLE_VisuallyHiddenProps,\n ref: ForwardedRef<HTMLDivElement>,\n) {\n return (\n <div\n {...props}\n ref={ref}\n className={clsx('cim-visually-hidden', showWhenFocused && 'cim-visually-hidden-focusable', UNSAFE_className)}\n style={UNSAFE_style}\n >\n {children}\n </div>\n );\n}\n\n/**\n * Renders a container that hides its children visually, while keeping content accessible to screen readers.\n */\nconst _VisuallyHidden = withStyleProps(forwardRef(UNSTABLE_VisuallyHidden), 'VisuallyHidden');\n\nexport { _VisuallyHidden as UNSTABLE_VisuallyHidden };\n"]}
@@ -1,7 +1,7 @@
1
1
  import type { IconProps } from '../components/types.js';
2
2
  /** Renders an SVG icon. */
3
3
  declare const SvgAccountingDocument: {
4
- ({ size, "aria-hidden": ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ size, "aria-hidden": ariaHidden, tone, UNSAFE_className, UNSAFE_style, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default SvgAccountingDocument;
@@ -1 +1 @@
1
- {"version":3,"file":"accounting-document.d.ts","sourceRoot":"","sources":["../../../src/icons/accounting-document.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,2BAA2B;AAC3B,QAAA,MAAM,qBAAqB;mFAMxB,SAAS;;CA2BX,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"accounting-document.d.ts","sourceRoot":"","sources":["../../../src/icons/accounting-document.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD,2BAA2B;AAC3B,QAAA,MAAM,qBAAqB;yFAOxB,SAAS;;CA4BX,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import clsx from 'clsx';
3
+ import { fgTone } from '../utils/style/tone.js';
3
4
  const displayName = 'IconAccountingDocument';
4
5
  /** Renders an SVG icon. */
5
- const SvgAccountingDocument = ({ size, 'aria-hidden': ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }) => {
6
+ const SvgAccountingDocument = ({ size, 'aria-hidden': ariaHidden, tone, UNSAFE_className, UNSAFE_style, ...rest }) => {
6
7
  const props = {
7
8
  ...rest,
8
9
  'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),
9
- className: clsx('cim-icon', UNSAFE_className),
10
+ className: clsx('cim-icon', tone && fgTone(tone), UNSAFE_className),
11
+ style: UNSAFE_style,
10
12
  width: size != null ? size + 'px' : '1em',
11
13
  height: size != null ? size + 'px' : '1em',
12
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"accounting-document.js","sourceRoot":"","sources":["../../../src/icons/accounting-document.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,WAAW,GAAG,wBAAwB,CAAC;AAC7C,2BAA2B;AAC3B,MAAM,qBAAqB,GAAG,CAAC,EAC7B,IAAI,EACJ,aAAa,EAAE,UAAU,EACzB,gBAAgB,EAChB,YAAY,EACZ,GAAG,IAAI,EACG,EAAE,EAAE;IACd,MAAM,KAAK,GAAG;QACZ,GAAG,IAAI;QACP,aAAa,EAAE,UAAU,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC;QAC5F,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,gBAAgB,CAAC;QAC7C,KAAK,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;QACzC,MAAM,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;KAC3C,CAAC;IACF,OAAO,CACL,eAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,cAAc,EAAC,OAAO,EAAC,WAAW,eAAW,MAAM,KAAK,KAAK,aACxG,eACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,yMAAyM,EAC3M,QAAQ,EAAC,SAAS,GAClB,EACF,eACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,sQAAsQ,EACxQ,QAAQ,EAAC,SAAS,GAClB,EACF,eACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,s/BAAs/B,EACx/B,QAAQ,EAAC,SAAS,GAClB,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AACF,qBAAqB,CAAC,WAAW,GAAG,WAAW,CAAC;AAChD,eAAe,qBAAqB,CAAC","sourcesContent":["import clsx from 'clsx';\nimport type { IconProps } from '../components/types.js';\nconst displayName = 'IconAccountingDocument';\n/** Renders an SVG icon. */\nconst SvgAccountingDocument = ({\n size,\n 'aria-hidden': ariaHidden,\n UNSAFE_className,\n UNSAFE_style,\n ...rest\n}: IconProps) => {\n const props = {\n ...rest,\n 'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),\n className: clsx('cim-icon', UNSAFE_className),\n width: size != null ? size + 'px' : '1em',\n height: size != null ? size + 'px' : '1em',\n };\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\" data-icon=\"true\" {...props}>\n <path\n fillRule=\"evenodd\"\n d=\"M9 4a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V10h-4.5A1.5 1.5 0 0 1 18 8.5V4zm11 1.414L22.586 8H20zM6 5a3 3 0 0 1 3-3h10a1 1 0 0 1 .707.293l6 6A1 1 0 0 1 26 9v18a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3z\"\n clipRule=\"evenodd\"\n />\n <path\n fillRule=\"evenodd\"\n d=\"M10 23a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1m8-4a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2h-2a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2h-2a1 1 0 0 1-1-1M13 8.5a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0v-1a1 1 0 0 1 1-1m0 8a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0v-1a1 1 0 0 1 1-1\"\n clipRule=\"evenodd\"\n />\n <path\n fillRule=\"evenodd\"\n d=\"M14.12 9.745c.318.075.761.222 1.087.548.372.372.573.761.68 1.078a2.3 2.3 0 0 1 .112.591v.02l.001.01v.006S16 12 15 12h1a1 1 0 0 1-1.999.05.74.74 0 0 0-.174-.306 1 1 0 0 0-.165-.052 3 3 0 0 0-.662-.067c-.252 0-.486.026-.662.067a1 1 0 0 0-.165.051.9.9 0 0 0-.23.463c-.015.117-.007.3.232.554.02.009.083.038.216.078.215.063.48.117.805.181l.023.005c.296.06.645.129.954.22.277.081.716.23 1.034.549 1.077 1.077 1.037 2.877 0 3.914-.326.326-.769.473-1.087.548a5 5 0 0 1-1.12.12 5 5 0 0 1-1.12-.12c-.318-.075-.761-.222-1.087-.548a2.8 2.8 0 0 1-.68-1.078 2.3 2.3 0 0 1-.112-.591v-.02l-.001-.01v-.006S10 16 11 16h-1a1 1 0 0 1 1.999-.05.74.74 0 0 0 .174.306c.021.01.073.03.165.052.176.041.41.067.662.067s.486-.026.662-.067c.09-.021.14-.04.164-.05.23-.271.234-.745-.004-1.02-.021-.009-.085-.038-.213-.075a10 10 0 0 0-.805-.182l-.023-.005c-.296-.06-.645-.129-.954-.22-.277-.081-.716-.23-1.034-.549-.691-.69-.932-1.496-.833-2.26.093-.71.466-1.287.833-1.654.326-.326.769-.473 1.087-.548a5 5 0 0 1 1.12-.12c.373 0 .764.037 1.12.12\"\n clipRule=\"evenodd\"\n />\n </svg>\n );\n};\nSvgAccountingDocument.displayName = displayName;\nexport default SvgAccountingDocument;\n"]}
1
+ {"version":3,"file":"accounting-document.js","sourceRoot":"","sources":["../../../src/icons/accounting-document.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,MAAM,WAAW,GAAG,wBAAwB,CAAC;AAC7C,2BAA2B;AAC3B,MAAM,qBAAqB,GAAG,CAAC,EAC7B,IAAI,EACJ,aAAa,EAAE,UAAU,EACzB,IAAI,EACJ,gBAAgB,EAChB,YAAY,EACZ,GAAG,IAAI,EACG,EAAE,EAAE;IACd,MAAM,KAAK,GAAG;QACZ,GAAG,IAAI;QACP,aAAa,EAAE,UAAU,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC;QAC5F,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;QACnE,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;QACzC,MAAM,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;KAC3C,CAAC;IACF,OAAO,CACL,eAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,cAAc,EAAC,OAAO,EAAC,WAAW,eAAW,MAAM,KAAK,KAAK,aACxG,eACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,yMAAyM,EAC3M,QAAQ,EAAC,SAAS,GAClB,EACF,eACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,sQAAsQ,EACxQ,QAAQ,EAAC,SAAS,GAClB,EACF,eACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,s/BAAs/B,EACx/B,QAAQ,EAAC,SAAS,GAClB,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AACF,qBAAqB,CAAC,WAAW,GAAG,WAAW,CAAC;AAChD,eAAe,qBAAqB,CAAC","sourcesContent":["import clsx from 'clsx';\nimport type { IconProps } from '../components/types.js';\nimport { fgTone } from '../utils/style/tone.js';\nconst displayName = 'IconAccountingDocument';\n/** Renders an SVG icon. */\nconst SvgAccountingDocument = ({\n size,\n 'aria-hidden': ariaHidden,\n tone,\n UNSAFE_className,\n UNSAFE_style,\n ...rest\n}: IconProps) => {\n const props = {\n ...rest,\n 'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),\n className: clsx('cim-icon', tone && fgTone(tone), UNSAFE_className),\n style: UNSAFE_style,\n width: size != null ? size + 'px' : '1em',\n height: size != null ? size + 'px' : '1em',\n };\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\" data-icon=\"true\" {...props}>\n <path\n fillRule=\"evenodd\"\n d=\"M9 4a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V10h-4.5A1.5 1.5 0 0 1 18 8.5V4zm11 1.414L22.586 8H20zM6 5a3 3 0 0 1 3-3h10a1 1 0 0 1 .707.293l6 6A1 1 0 0 1 26 9v18a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3z\"\n clipRule=\"evenodd\"\n />\n <path\n fillRule=\"evenodd\"\n d=\"M10 23a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1m8-4a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2h-2a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2h-2a1 1 0 0 1-1-1M13 8.5a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0v-1a1 1 0 0 1 1-1m0 8a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0v-1a1 1 0 0 1 1-1\"\n clipRule=\"evenodd\"\n />\n <path\n fillRule=\"evenodd\"\n d=\"M14.12 9.745c.318.075.761.222 1.087.548.372.372.573.761.68 1.078a2.3 2.3 0 0 1 .112.591v.02l.001.01v.006S16 12 15 12h1a1 1 0 0 1-1.999.05.74.74 0 0 0-.174-.306 1 1 0 0 0-.165-.052 3 3 0 0 0-.662-.067c-.252 0-.486.026-.662.067a1 1 0 0 0-.165.051.9.9 0 0 0-.23.463c-.015.117-.007.3.232.554.02.009.083.038.216.078.215.063.48.117.805.181l.023.005c.296.06.645.129.954.22.277.081.716.23 1.034.549 1.077 1.077 1.037 2.877 0 3.914-.326.326-.769.473-1.087.548a5 5 0 0 1-1.12.12 5 5 0 0 1-1.12-.12c-.318-.075-.761-.222-1.087-.548a2.8 2.8 0 0 1-.68-1.078 2.3 2.3 0 0 1-.112-.591v-.02l-.001-.01v-.006S10 16 11 16h-1a1 1 0 0 1 1.999-.05.74.74 0 0 0 .174.306c.021.01.073.03.165.052.176.041.41.067.662.067s.486-.026.662-.067c.09-.021.14-.04.164-.05.23-.271.234-.745-.004-1.02-.021-.009-.085-.038-.213-.075a10 10 0 0 0-.805-.182l-.023-.005c-.296-.06-.645-.129-.954-.22-.277-.081-.716-.23-1.034-.549-.691-.69-.932-1.496-.833-2.26.093-.71.466-1.287.833-1.654.326-.326.769-.473 1.087-.548a5 5 0 0 1 1.12-.12c.373 0 .764.037 1.12.12\"\n clipRule=\"evenodd\"\n />\n </svg>\n );\n};\nSvgAccountingDocument.displayName = displayName;\nexport default SvgAccountingDocument;\n"]}
@@ -1,7 +1,7 @@
1
1
  import type { IconProps } from '../components/types.js';
2
2
  /** Renders an SVG icon. */
3
3
  declare const SvgAddCircleFill: {
4
- ({ size, "aria-hidden": ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ size, "aria-hidden": ariaHidden, tone, UNSAFE_className, UNSAFE_style, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default SvgAddCircleFill;
@@ -1 +1 @@
1
- {"version":3,"file":"add-circle-fill.d.ts","sourceRoot":"","sources":["../../../src/icons/add-circle-fill.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,2BAA2B;AAC3B,QAAA,MAAM,gBAAgB;mFAAkF,SAAS;;CAiBhH,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"add-circle-fill.d.ts","sourceRoot":"","sources":["../../../src/icons/add-circle-fill.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD,2BAA2B;AAC3B,QAAA,MAAM,gBAAgB;yFAOnB,SAAS;;CAkBX,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import clsx from 'clsx';
3
+ import { fgTone } from '../utils/style/tone.js';
3
4
  const displayName = 'IconAddCircleFill';
4
5
  /** Renders an SVG icon. */
5
- const SvgAddCircleFill = ({ size, 'aria-hidden': ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }) => {
6
+ const SvgAddCircleFill = ({ size, 'aria-hidden': ariaHidden, tone, UNSAFE_className, UNSAFE_style, ...rest }) => {
6
7
  const props = {
7
8
  ...rest,
8
9
  'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),
9
- className: clsx('cim-icon', UNSAFE_className),
10
+ className: clsx('cim-icon', tone && fgTone(tone), UNSAFE_className),
11
+ style: UNSAFE_style,
10
12
  width: size != null ? size + 'px' : '1em',
11
13
  height: size != null ? size + 'px' : '1em',
12
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"add-circle-fill.js","sourceRoot":"","sources":["../../../src/icons/add-circle-fill.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,WAAW,GAAG,mBAAmB,CAAC;AACxC,2BAA2B;AAC3B,MAAM,gBAAgB,GAAG,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,gBAAgB,EAAE,YAAY,EAAE,GAAG,IAAI,EAAa,EAAE,EAAE;IACnH,MAAM,KAAK,GAAG;QACZ,GAAG,IAAI;QACP,aAAa,EAAE,UAAU,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC;QAC5F,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,gBAAgB,CAAC;QAC7C,KAAK,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;QACzC,MAAM,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;KAC3C,CAAC;IACF,OAAO,CACL,cAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,cAAc,EAAC,OAAO,EAAC,WAAW,eAAW,MAAM,KAAK,KAAK,YACxG,eACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,sLAAsL,EACxL,QAAQ,EAAC,SAAS,GAClB,GACE,CACP,CAAC;AACJ,CAAC,CAAC;AACF,gBAAgB,CAAC,WAAW,GAAG,WAAW,CAAC;AAC3C,eAAe,gBAAgB,CAAC","sourcesContent":["import clsx from 'clsx';\nimport type { IconProps } from '../components/types.js';\nconst displayName = 'IconAddCircleFill';\n/** Renders an SVG icon. */\nconst SvgAddCircleFill = ({ size, 'aria-hidden': ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }: IconProps) => {\n const props = {\n ...rest,\n 'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),\n className: clsx('cim-icon', UNSAFE_className),\n width: size != null ? size + 'px' : '1em',\n height: size != null ? size + 'px' : '1em',\n };\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\" data-icon=\"true\" {...props}>\n <path\n fillRule=\"evenodd\"\n d=\"M30 16c0-7.732-6.268-14-14-14S2 8.268 2 16s6.268 14 14 14 14-6.268 14-14m-12.5-6a1.5 1.5 0 0 0-3 0v4.5H10a1.5 1.5 0 0 0 0 3h4.5V22a1.5 1.5 0 0 0 3 0v-4.5H22a1.5 1.5 0 0 0 0-3h-4.5z\"\n clipRule=\"evenodd\"\n />\n </svg>\n );\n};\nSvgAddCircleFill.displayName = displayName;\nexport default SvgAddCircleFill;\n"]}
1
+ {"version":3,"file":"add-circle-fill.js","sourceRoot":"","sources":["../../../src/icons/add-circle-fill.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,MAAM,WAAW,GAAG,mBAAmB,CAAC;AACxC,2BAA2B;AAC3B,MAAM,gBAAgB,GAAG,CAAC,EACxB,IAAI,EACJ,aAAa,EAAE,UAAU,EACzB,IAAI,EACJ,gBAAgB,EAChB,YAAY,EACZ,GAAG,IAAI,EACG,EAAE,EAAE;IACd,MAAM,KAAK,GAAG;QACZ,GAAG,IAAI;QACP,aAAa,EAAE,UAAU,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC;QAC5F,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;QACnE,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;QACzC,MAAM,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;KAC3C,CAAC;IACF,OAAO,CACL,cAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,cAAc,EAAC,OAAO,EAAC,WAAW,eAAW,MAAM,KAAK,KAAK,YACxG,eACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,sLAAsL,EACxL,QAAQ,EAAC,SAAS,GAClB,GACE,CACP,CAAC;AACJ,CAAC,CAAC;AACF,gBAAgB,CAAC,WAAW,GAAG,WAAW,CAAC;AAC3C,eAAe,gBAAgB,CAAC","sourcesContent":["import clsx from 'clsx';\nimport type { IconProps } from '../components/types.js';\nimport { fgTone } from '../utils/style/tone.js';\nconst displayName = 'IconAddCircleFill';\n/** Renders an SVG icon. */\nconst SvgAddCircleFill = ({\n size,\n 'aria-hidden': ariaHidden,\n tone,\n UNSAFE_className,\n UNSAFE_style,\n ...rest\n}: IconProps) => {\n const props = {\n ...rest,\n 'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),\n className: clsx('cim-icon', tone && fgTone(tone), UNSAFE_className),\n style: UNSAFE_style,\n width: size != null ? size + 'px' : '1em',\n height: size != null ? size + 'px' : '1em',\n };\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\" data-icon=\"true\" {...props}>\n <path\n fillRule=\"evenodd\"\n d=\"M30 16c0-7.732-6.268-14-14-14S2 8.268 2 16s6.268 14 14 14 14-6.268 14-14m-12.5-6a1.5 1.5 0 0 0-3 0v4.5H10a1.5 1.5 0 0 0 0 3h4.5V22a1.5 1.5 0 0 0 3 0v-4.5H22a1.5 1.5 0 0 0 0-3h-4.5z\"\n clipRule=\"evenodd\"\n />\n </svg>\n );\n};\nSvgAddCircleFill.displayName = displayName;\nexport default SvgAddCircleFill;\n"]}
@@ -1,7 +1,7 @@
1
1
  import type { IconProps } from '../components/types.js';
2
2
  /** Renders an SVG icon. */
3
3
  declare const SvgAddCircle: {
4
- ({ size, "aria-hidden": ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ size, "aria-hidden": ariaHidden, tone, UNSAFE_className, UNSAFE_style, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default SvgAddCircle;
@@ -1 +1 @@
1
- {"version":3,"file":"add-circle.d.ts","sourceRoot":"","sources":["../../../src/icons/add-circle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,2BAA2B;AAC3B,QAAA,MAAM,YAAY;mFAAkF,SAAS;;CAmB5G,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"add-circle.d.ts","sourceRoot":"","sources":["../../../src/icons/add-circle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD,2BAA2B;AAC3B,QAAA,MAAM,YAAY;yFAOf,SAAS;;CAoBX,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import clsx from 'clsx';
3
+ import { fgTone } from '../utils/style/tone.js';
3
4
  const displayName = 'IconAddCircle';
4
5
  /** Renders an SVG icon. */
5
- const SvgAddCircle = ({ size, 'aria-hidden': ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }) => {
6
+ const SvgAddCircle = ({ size, 'aria-hidden': ariaHidden, tone, UNSAFE_className, UNSAFE_style, ...rest }) => {
6
7
  const props = {
7
8
  ...rest,
8
9
  'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),
9
- className: clsx('cim-icon', UNSAFE_className),
10
+ className: clsx('cim-icon', tone && fgTone(tone), UNSAFE_className),
11
+ style: UNSAFE_style,
10
12
  width: size != null ? size + 'px' : '1em',
11
13
  height: size != null ? size + 'px' : '1em',
12
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"add-circle.js","sourceRoot":"","sources":["../../../src/icons/add-circle.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,WAAW,GAAG,eAAe,CAAC;AACpC,2BAA2B;AAC3B,MAAM,YAAY,GAAG,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,gBAAgB,EAAE,YAAY,EAAE,GAAG,IAAI,EAAa,EAAE,EAAE;IAC/G,MAAM,KAAK,GAAG;QACZ,GAAG,IAAI;QACP,aAAa,EAAE,UAAU,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC;QAC5F,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,gBAAgB,CAAC;QAC7C,KAAK,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;QACzC,MAAM,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;KAC3C,CAAC;IACF,OAAO,CACL,eAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,cAAc,EAAC,OAAO,EAAC,WAAW,eAAW,MAAM,KAAK,KAAK,aACxG,eACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,8IAA8I,EAChJ,QAAQ,EAAC,SAAS,GAClB,EACF,eAAM,QAAQ,EAAC,SAAS,EAAC,CAAC,EAAC,wDAAwD,EAAC,QAAQ,EAAC,SAAS,GAAG,EACzG,eAAM,QAAQ,EAAC,SAAS,EAAC,CAAC,EAAC,wDAAwD,EAAC,QAAQ,EAAC,SAAS,GAAG,IACrG,CACP,CAAC;AACJ,CAAC,CAAC;AACF,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC;AACvC,eAAe,YAAY,CAAC","sourcesContent":["import clsx from 'clsx';\nimport type { IconProps } from '../components/types.js';\nconst displayName = 'IconAddCircle';\n/** Renders an SVG icon. */\nconst SvgAddCircle = ({ size, 'aria-hidden': ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }: IconProps) => {\n const props = {\n ...rest,\n 'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),\n className: clsx('cim-icon', UNSAFE_className),\n width: size != null ? size + 'px' : '1em',\n height: size != null ? size + 'px' : '1em',\n };\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\" data-icon=\"true\" {...props}>\n <path\n fillRule=\"evenodd\"\n d=\"M16 4C9.373 4 4 9.373 4 16s5.373 12 12 12 12-5.373 12-12S22.627 4 16 4M2 16C2 8.268 8.268 2 16 2s14 6.268 14 14-6.268 14-14 14S2 23.732 2 16\"\n clipRule=\"evenodd\"\n />\n <path fillRule=\"evenodd\" d=\"M10 16a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H11a1 1 0 0 1-1-1\" clipRule=\"evenodd\" />\n <path fillRule=\"evenodd\" d=\"M16 10a1 1 0 0 1 1 1v10a1 1 0 1 1-2 0V11a1 1 0 0 1 1-1\" clipRule=\"evenodd\" />\n </svg>\n );\n};\nSvgAddCircle.displayName = displayName;\nexport default SvgAddCircle;\n"]}
1
+ {"version":3,"file":"add-circle.js","sourceRoot":"","sources":["../../../src/icons/add-circle.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,MAAM,WAAW,GAAG,eAAe,CAAC;AACpC,2BAA2B;AAC3B,MAAM,YAAY,GAAG,CAAC,EACpB,IAAI,EACJ,aAAa,EAAE,UAAU,EACzB,IAAI,EACJ,gBAAgB,EAChB,YAAY,EACZ,GAAG,IAAI,EACG,EAAE,EAAE;IACd,MAAM,KAAK,GAAG;QACZ,GAAG,IAAI;QACP,aAAa,EAAE,UAAU,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC;QAC5F,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;QACnE,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;QACzC,MAAM,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;KAC3C,CAAC;IACF,OAAO,CACL,eAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,cAAc,EAAC,OAAO,EAAC,WAAW,eAAW,MAAM,KAAK,KAAK,aACxG,eACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,8IAA8I,EAChJ,QAAQ,EAAC,SAAS,GAClB,EACF,eAAM,QAAQ,EAAC,SAAS,EAAC,CAAC,EAAC,wDAAwD,EAAC,QAAQ,EAAC,SAAS,GAAG,EACzG,eAAM,QAAQ,EAAC,SAAS,EAAC,CAAC,EAAC,wDAAwD,EAAC,QAAQ,EAAC,SAAS,GAAG,IACrG,CACP,CAAC;AACJ,CAAC,CAAC;AACF,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC;AACvC,eAAe,YAAY,CAAC","sourcesContent":["import clsx from 'clsx';\nimport type { IconProps } from '../components/types.js';\nimport { fgTone } from '../utils/style/tone.js';\nconst displayName = 'IconAddCircle';\n/** Renders an SVG icon. */\nconst SvgAddCircle = ({\n size,\n 'aria-hidden': ariaHidden,\n tone,\n UNSAFE_className,\n UNSAFE_style,\n ...rest\n}: IconProps) => {\n const props = {\n ...rest,\n 'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),\n className: clsx('cim-icon', tone && fgTone(tone), UNSAFE_className),\n style: UNSAFE_style,\n width: size != null ? size + 'px' : '1em',\n height: size != null ? size + 'px' : '1em',\n };\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\" data-icon=\"true\" {...props}>\n <path\n fillRule=\"evenodd\"\n d=\"M16 4C9.373 4 4 9.373 4 16s5.373 12 12 12 12-5.373 12-12S22.627 4 16 4M2 16C2 8.268 8.268 2 16 2s14 6.268 14 14-6.268 14-14 14S2 23.732 2 16\"\n clipRule=\"evenodd\"\n />\n <path fillRule=\"evenodd\" d=\"M10 16a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H11a1 1 0 0 1-1-1\" clipRule=\"evenodd\" />\n <path fillRule=\"evenodd\" d=\"M16 10a1 1 0 0 1 1 1v10a1 1 0 1 1-2 0V11a1 1 0 0 1 1-1\" clipRule=\"evenodd\" />\n </svg>\n );\n};\nSvgAddCircle.displayName = displayName;\nexport default SvgAddCircle;\n"]}
@@ -1,7 +1,7 @@
1
1
  import type { IconProps } from '../components/types.js';
2
2
  /** Renders an SVG icon. */
3
3
  declare const SvgAdd: {
4
- ({ size, "aria-hidden": ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ size, "aria-hidden": ariaHidden, tone, UNSAFE_className, UNSAFE_style, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default SvgAdd;
@@ -1 +1 @@
1
- {"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/icons/add.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,2BAA2B;AAC3B,QAAA,MAAM,MAAM;mFAAkF,SAAS;;CAgBtG,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/icons/add.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD,2BAA2B;AAC3B,QAAA,MAAM,MAAM;yFAAwF,SAAS;;CAiB5G,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import clsx from 'clsx';
3
+ import { fgTone } from '../utils/style/tone.js';
3
4
  const displayName = 'IconAdd';
4
5
  /** Renders an SVG icon. */
5
- const SvgAdd = ({ size, 'aria-hidden': ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }) => {
6
+ const SvgAdd = ({ size, 'aria-hidden': ariaHidden, tone, UNSAFE_className, UNSAFE_style, ...rest }) => {
6
7
  const props = {
7
8
  ...rest,
8
9
  'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),
9
- className: clsx('cim-icon', UNSAFE_className),
10
+ className: clsx('cim-icon', tone && fgTone(tone), UNSAFE_className),
11
+ style: UNSAFE_style,
10
12
  width: size != null ? size + 'px' : '1em',
11
13
  height: size != null ? size + 'px' : '1em',
12
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"add.js","sourceRoot":"","sources":["../../../src/icons/add.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,WAAW,GAAG,SAAS,CAAC;AAC9B,2BAA2B;AAC3B,MAAM,MAAM,GAAG,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,gBAAgB,EAAE,YAAY,EAAE,GAAG,IAAI,EAAa,EAAE,EAAE;IACzG,MAAM,KAAK,GAAG;QACZ,GAAG,IAAI;QACP,aAAa,EAAE,UAAU,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC;QAC5F,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,gBAAgB,CAAC;QAC7C,KAAK,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;QACzC,MAAM,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;KAC3C,CAAC;IACF,OAAO,CACL,cAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,eAAW,MAAM,EAAC,IAAI,EAAC,cAAc,KAAK,KAAK,YACxG,aAAG,QAAQ,EAAC,SAAS,EAAC,QAAQ,EAAC,SAAS,aACtC,eAAM,CAAC,EAAC,sDAAsD,GAAG,EACjE,eAAM,CAAC,EAAC,sDAAsD,GAAG,IAC/D,GACA,CACP,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,CAAC,WAAW,GAAG,WAAW,CAAC;AACjC,eAAe,MAAM,CAAC","sourcesContent":["import clsx from 'clsx';\nimport type { IconProps } from '../components/types.js';\nconst displayName = 'IconAdd';\n/** Renders an SVG icon. */\nconst SvgAdd = ({ size, 'aria-hidden': ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }: IconProps) => {\n const props = {\n ...rest,\n 'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),\n className: clsx('cim-icon', UNSAFE_className),\n width: size != null ? size + 'px' : '1em',\n height: size != null ? size + 'px' : '1em',\n };\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" data-icon=\"true\" fill=\"currentColor\" {...props}>\n <g fillRule=\"evenodd\" clipRule=\"evenodd\">\n <path d=\"M5 16a2 2 0 0 1 2-2h18a2 2 0 1 1 0 4H7a2 2 0 0 1-2-2\" />\n <path d=\"M16 5a2 2 0 0 1 2 2v18a2 2 0 1 1-4 0V7a2 2 0 0 1 2-2\" />\n </g>\n </svg>\n );\n};\nSvgAdd.displayName = displayName;\nexport default SvgAdd;\n"]}
1
+ {"version":3,"file":"add.js","sourceRoot":"","sources":["../../../src/icons/add.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,MAAM,WAAW,GAAG,SAAS,CAAC;AAC9B,2BAA2B;AAC3B,MAAM,MAAM,GAAG,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,IAAI,EAAE,gBAAgB,EAAE,YAAY,EAAE,GAAG,IAAI,EAAa,EAAE,EAAE;IAC/G,MAAM,KAAK,GAAG;QACZ,GAAG,IAAI;QACP,aAAa,EAAE,UAAU,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC;QAC5F,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;QACnE,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;QACzC,MAAM,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;KAC3C,CAAC;IACF,OAAO,CACL,cAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,eAAW,MAAM,EAAC,IAAI,EAAC,cAAc,KAAK,KAAK,YACxG,aAAG,QAAQ,EAAC,SAAS,EAAC,QAAQ,EAAC,SAAS,aACtC,eAAM,CAAC,EAAC,sDAAsD,GAAG,EACjE,eAAM,CAAC,EAAC,sDAAsD,GAAG,IAC/D,GACA,CACP,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,CAAC,WAAW,GAAG,WAAW,CAAC;AACjC,eAAe,MAAM,CAAC","sourcesContent":["import clsx from 'clsx';\nimport type { IconProps } from '../components/types.js';\nimport { fgTone } from '../utils/style/tone.js';\nconst displayName = 'IconAdd';\n/** Renders an SVG icon. */\nconst SvgAdd = ({ size, 'aria-hidden': ariaHidden, tone, UNSAFE_className, UNSAFE_style, ...rest }: IconProps) => {\n const props = {\n ...rest,\n 'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),\n className: clsx('cim-icon', tone && fgTone(tone), UNSAFE_className),\n style: UNSAFE_style,\n width: size != null ? size + 'px' : '1em',\n height: size != null ? size + 'px' : '1em',\n };\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" data-icon=\"true\" fill=\"currentColor\" {...props}>\n <g fillRule=\"evenodd\" clipRule=\"evenodd\">\n <path d=\"M5 16a2 2 0 0 1 2-2h18a2 2 0 1 1 0 4H7a2 2 0 0 1-2-2\" />\n <path d=\"M16 5a2 2 0 0 1 2 2v18a2 2 0 1 1-4 0V7a2 2 0 0 1 2-2\" />\n </g>\n </svg>\n );\n};\nSvgAdd.displayName = displayName;\nexport default SvgAdd;\n"]}
@@ -1,7 +1,7 @@
1
1
  import type { IconProps } from '../components/types.js';
2
2
  /** Renders an SVG icon. */
3
3
  declare const SvgAlertTriangle: {
4
- ({ size, "aria-hidden": ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ size, "aria-hidden": ariaHidden, tone, UNSAFE_className, UNSAFE_style, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default SvgAlertTriangle;
@@ -1 +1 @@
1
- {"version":3,"file":"alert-triangle.d.ts","sourceRoot":"","sources":["../../../src/icons/alert-triangle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,2BAA2B;AAC3B,QAAA,MAAM,gBAAgB;mFAAkF,SAAS;;CAmBhH,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"alert-triangle.d.ts","sourceRoot":"","sources":["../../../src/icons/alert-triangle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD,2BAA2B;AAC3B,QAAA,MAAM,gBAAgB;yFAOnB,SAAS;;CAoBX,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import clsx from 'clsx';
3
+ import { fgTone } from '../utils/style/tone.js';
3
4
  const displayName = 'IconAlertTriangle';
4
5
  /** Renders an SVG icon. */
5
- const SvgAlertTriangle = ({ size, 'aria-hidden': ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }) => {
6
+ const SvgAlertTriangle = ({ size, 'aria-hidden': ariaHidden, tone, UNSAFE_className, UNSAFE_style, ...rest }) => {
6
7
  const props = {
7
8
  ...rest,
8
9
  'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),
9
- className: clsx('cim-icon', UNSAFE_className),
10
+ className: clsx('cim-icon', tone && fgTone(tone), UNSAFE_className),
11
+ style: UNSAFE_style,
10
12
  width: size != null ? size + 'px' : '1em',
11
13
  height: size != null ? size + 'px' : '1em',
12
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"alert-triangle.js","sourceRoot":"","sources":["../../../src/icons/alert-triangle.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,WAAW,GAAG,mBAAmB,CAAC;AACxC,2BAA2B;AAC3B,MAAM,gBAAgB,GAAG,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,gBAAgB,EAAE,YAAY,EAAE,GAAG,IAAI,EAAa,EAAE,EAAE;IACnH,MAAM,KAAK,GAAG;QACZ,GAAG,IAAI;QACP,aAAa,EAAE,UAAU,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC;QAC5F,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,gBAAgB,CAAC;QAC7C,KAAK,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;QACzC,MAAM,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;KAC3C,CAAC;IACF,OAAO,CACL,eAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,eAAW,MAAM,EAAC,IAAI,EAAC,cAAc,KAAK,KAAK,aACxG,eACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,qQAAqQ,EACvQ,QAAQ,EAAC,SAAS,GAClB,EACF,eAAM,CAAC,EAAC,oCAAoC,GAAG,EAC/C,eAAM,QAAQ,EAAC,SAAS,EAAC,CAAC,EAAC,uDAAuD,EAAC,QAAQ,EAAC,SAAS,GAAG,IACpG,CACP,CAAC;AACJ,CAAC,CAAC;AACF,gBAAgB,CAAC,WAAW,GAAG,WAAW,CAAC;AAC3C,eAAe,gBAAgB,CAAC","sourcesContent":["import clsx from 'clsx';\nimport type { IconProps } from '../components/types.js';\nconst displayName = 'IconAlertTriangle';\n/** Renders an SVG icon. */\nconst SvgAlertTriangle = ({ size, 'aria-hidden': ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }: IconProps) => {\n const props = {\n ...rest,\n 'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),\n className: clsx('cim-icon', UNSAFE_className),\n width: size != null ? size + 'px' : '1em',\n height: size != null ? size + 'px' : '1em',\n };\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" data-icon=\"true\" fill=\"currentColor\" {...props}>\n <path\n fillRule=\"evenodd\"\n d=\"M16.91 4.6a1.018 1.018 0 0 0-1.82 0L5.147 24.489a1.018 1.018 0 0 0 .91 1.474H25.94c.757 0 1.25-.797.91-1.474L16.912 4.6Zm-3.642-.911c1.125-2.252 4.338-2.252 5.464 0l9.941 19.89C29.69 25.608 28.212 28 25.941 28H6.058c-2.27 0-3.747-2.39-2.732-4.422L13.268 3.69Z\"\n clipRule=\"evenodd\"\n />\n <path d=\"M17 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0\" />\n <path fillRule=\"evenodd\" d=\"M16 12a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1\" clipRule=\"evenodd\" />\n </svg>\n );\n};\nSvgAlertTriangle.displayName = displayName;\nexport default SvgAlertTriangle;\n"]}
1
+ {"version":3,"file":"alert-triangle.js","sourceRoot":"","sources":["../../../src/icons/alert-triangle.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,MAAM,WAAW,GAAG,mBAAmB,CAAC;AACxC,2BAA2B;AAC3B,MAAM,gBAAgB,GAAG,CAAC,EACxB,IAAI,EACJ,aAAa,EAAE,UAAU,EACzB,IAAI,EACJ,gBAAgB,EAChB,YAAY,EACZ,GAAG,IAAI,EACG,EAAE,EAAE;IACd,MAAM,KAAK,GAAG;QACZ,GAAG,IAAI;QACP,aAAa,EAAE,UAAU,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC;QAC5F,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;QACnE,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;QACzC,MAAM,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK;KAC3C,CAAC;IACF,OAAO,CACL,eAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,eAAW,MAAM,EAAC,IAAI,EAAC,cAAc,KAAK,KAAK,aACxG,eACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,qQAAqQ,EACvQ,QAAQ,EAAC,SAAS,GAClB,EACF,eAAM,CAAC,EAAC,oCAAoC,GAAG,EAC/C,eAAM,QAAQ,EAAC,SAAS,EAAC,CAAC,EAAC,uDAAuD,EAAC,QAAQ,EAAC,SAAS,GAAG,IACpG,CACP,CAAC;AACJ,CAAC,CAAC;AACF,gBAAgB,CAAC,WAAW,GAAG,WAAW,CAAC;AAC3C,eAAe,gBAAgB,CAAC","sourcesContent":["import clsx from 'clsx';\nimport type { IconProps } from '../components/types.js';\nimport { fgTone } from '../utils/style/tone.js';\nconst displayName = 'IconAlertTriangle';\n/** Renders an SVG icon. */\nconst SvgAlertTriangle = ({\n size,\n 'aria-hidden': ariaHidden,\n tone,\n UNSAFE_className,\n UNSAFE_style,\n ...rest\n}: IconProps) => {\n const props = {\n ...rest,\n 'aria-hidden': ariaHidden ?? (rest['aria-label'] == null && rest['aria-labelledby'] == null),\n className: clsx('cim-icon', tone && fgTone(tone), UNSAFE_className),\n style: UNSAFE_style,\n width: size != null ? size + 'px' : '1em',\n height: size != null ? size + 'px' : '1em',\n };\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" data-icon=\"true\" fill=\"currentColor\" {...props}>\n <path\n fillRule=\"evenodd\"\n d=\"M16.91 4.6a1.018 1.018 0 0 0-1.82 0L5.147 24.489a1.018 1.018 0 0 0 .91 1.474H25.94c.757 0 1.25-.797.91-1.474L16.912 4.6Zm-3.642-.911c1.125-2.252 4.338-2.252 5.464 0l9.941 19.89C29.69 25.608 28.212 28 25.941 28H6.058c-2.27 0-3.747-2.39-2.732-4.422L13.268 3.69Z\"\n clipRule=\"evenodd\"\n />\n <path d=\"M17 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0\" />\n <path fillRule=\"evenodd\" d=\"M16 12a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1\" clipRule=\"evenodd\" />\n </svg>\n );\n};\nSvgAlertTriangle.displayName = displayName;\nexport default SvgAlertTriangle;\n"]}
@@ -1,7 +1,7 @@
1
1
  import type { IconProps } from '../components/types.js';
2
2
  /** Renders an SVG icon. */
3
3
  declare const SvgCalculatorAlt: {
4
- ({ size, "aria-hidden": ariaHidden, UNSAFE_className, UNSAFE_style, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ size, "aria-hidden": ariaHidden, tone, UNSAFE_className, UNSAFE_style, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default SvgCalculatorAlt;
@@ -1 +1 @@
1
- {"version":3,"file":"calculator-alt.d.ts","sourceRoot":"","sources":["../../../src/icons/calculator-alt.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,2BAA2B;AAC3B,QAAA,MAAM,gBAAgB;mFAAkF,SAAS;;CAahH,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"calculator-alt.d.ts","sourceRoot":"","sources":["../../../src/icons/calculator-alt.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD,2BAA2B;AAC3B,QAAA,MAAM,gBAAgB;yFAOnB,SAAS;;CAcX,CAAC;AAEF,eAAe,gBAAgB,CAAC"}