prime-ui-kit 0.9.2 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (641) hide show
  1. package/README.md +18 -9
  2. package/THIRD_PARTY_NOTICES +76 -0
  3. package/dist/chunks/{chunk-ZEFCDEEQ.js → chunk-4TRNUP45.js} +1085 -526
  4. package/dist/chunks/chunk-EJ2ZVQYL.js +5805 -0
  5. package/dist/chunks/chunk-GFKDZFQR.js +1208 -0
  6. package/dist/chunks/{chunk-LXGRKN34.js → chunk-K4FACFQ2.js} +776 -484
  7. package/dist/chunks/{chunk-IQELQNMR.js → chunk-T7CLQXGB.js} +20 -5
  8. package/dist/color-picker.js +3 -2
  9. package/dist/components/button/Button.d.ts +24 -4
  10. package/dist/components/card/Card.d.ts +1 -1
  11. package/dist/components/code-block/CodeBlock.d.ts +1 -1
  12. package/dist/components/color-picker/ColorPicker.d.ts +1 -1
  13. package/dist/components/data-table/Row.d.ts +3 -1
  14. package/dist/components/data-table/rows.d.ts +4 -0
  15. package/dist/components/digit-input/DigitInput.d.ts +6 -1
  16. package/dist/components/index.d.ts +4 -1
  17. package/dist/components/input/Input.d.ts +16 -1
  18. package/dist/components/input/passwordStrength.d.ts +9 -0
  19. package/dist/components/progress-bar/ProgressBar.d.ts +16 -1
  20. package/dist/components/sparkline/Sparkline.d.ts +26 -0
  21. package/dist/hooks/useEdgeOverflow.d.ts +4 -0
  22. package/dist/icon-set.d.ts +501 -0
  23. package/dist/icons/Icon.d.ts +10 -18
  24. package/dist/icons/glyph.d.ts +40 -0
  25. package/dist/icons/glyphs/a-arrow-down.d.ts +2 -0
  26. package/dist/icons/glyphs/a-arrow-up.d.ts +2 -0
  27. package/dist/icons/glyphs/accessibility.d.ts +2 -0
  28. package/dist/icons/glyphs/activity.d.ts +2 -0
  29. package/dist/icons/glyphs/air-vent.d.ts +2 -0
  30. package/dist/icons/glyphs/airplay.d.ts +2 -0
  31. package/dist/icons/glyphs/alarm-clock-check.d.ts +2 -0
  32. package/dist/icons/glyphs/alarm-clock-minus.d.ts +2 -0
  33. package/dist/icons/glyphs/alarm-clock-plus.d.ts +2 -0
  34. package/dist/icons/glyphs/alarm-clock.d.ts +2 -0
  35. package/dist/icons/glyphs/alarm-smoke.d.ts +2 -0
  36. package/dist/icons/glyphs/align-horizontal-space-around.d.ts +2 -0
  37. package/dist/icons/glyphs/align-vertical-space-around.d.ts +2 -0
  38. package/dist/icons/glyphs/ambulance.d.ts +2 -0
  39. package/dist/icons/glyphs/angry.d.ts +2 -0
  40. package/dist/icons/glyphs/annoyed.d.ts +2 -0
  41. package/dist/icons/glyphs/archive.d.ts +2 -0
  42. package/dist/icons/glyphs/arrow-big-down-dash.d.ts +2 -0
  43. package/dist/icons/glyphs/arrow-big-down.d.ts +2 -0
  44. package/dist/icons/glyphs/arrow-big-left-dash.d.ts +2 -0
  45. package/dist/icons/glyphs/arrow-big-left.d.ts +2 -0
  46. package/dist/icons/glyphs/arrow-big-right-dash.d.ts +2 -0
  47. package/dist/icons/glyphs/arrow-big-right.d.ts +2 -0
  48. package/dist/icons/glyphs/arrow-big-up-dash.d.ts +2 -0
  49. package/dist/icons/glyphs/arrow-big-up.d.ts +2 -0
  50. package/dist/icons/glyphs/arrow-down-0-1.d.ts +2 -0
  51. package/dist/icons/glyphs/arrow-down-1-0.d.ts +2 -0
  52. package/dist/icons/glyphs/arrow-down-a-z.d.ts +2 -0
  53. package/dist/icons/glyphs/arrow-down-left.d.ts +2 -0
  54. package/dist/icons/glyphs/arrow-down-right.d.ts +2 -0
  55. package/dist/icons/glyphs/arrow-down-z-a.d.ts +2 -0
  56. package/dist/icons/glyphs/arrow-down.d.ts +2 -0
  57. package/dist/icons/glyphs/arrow-left.d.ts +2 -0
  58. package/dist/icons/glyphs/arrow-right.d.ts +2 -0
  59. package/dist/icons/glyphs/arrow-up-down.d.ts +2 -0
  60. package/dist/icons/glyphs/arrow-up-left.d.ts +2 -0
  61. package/dist/icons/glyphs/arrow-up-right.d.ts +2 -0
  62. package/dist/icons/glyphs/arrow-up.d.ts +2 -0
  63. package/dist/icons/glyphs/at-sign.d.ts +2 -0
  64. package/dist/icons/glyphs/atom.d.ts +2 -0
  65. package/dist/icons/glyphs/audio-lines.d.ts +2 -0
  66. package/dist/icons/glyphs/axe.d.ts +2 -0
  67. package/dist/icons/glyphs/badge-alert.d.ts +2 -0
  68. package/dist/icons/glyphs/badge-percent.d.ts +2 -0
  69. package/dist/icons/glyphs/ban.d.ts +2 -0
  70. package/dist/icons/glyphs/banana.d.ts +2 -0
  71. package/dist/icons/glyphs/battery-charging.d.ts +2 -0
  72. package/dist/icons/glyphs/battery-full.d.ts +2 -0
  73. package/dist/icons/glyphs/battery-low.d.ts +2 -0
  74. package/dist/icons/glyphs/battery-medium.d.ts +2 -0
  75. package/dist/icons/glyphs/battery-plus.d.ts +2 -0
  76. package/dist/icons/glyphs/battery-warning.d.ts +2 -0
  77. package/dist/icons/glyphs/battery.d.ts +2 -0
  78. package/dist/icons/glyphs/bell-electric.d.ts +2 -0
  79. package/dist/icons/glyphs/bell.d.ts +2 -0
  80. package/dist/icons/glyphs/biceps-flexed.d.ts +2 -0
  81. package/dist/icons/glyphs/binary.d.ts +2 -0
  82. package/dist/icons/glyphs/blocks.d.ts +2 -0
  83. package/dist/icons/glyphs/bluetooth-connected.d.ts +2 -0
  84. package/dist/icons/glyphs/bluetooth-off.d.ts +2 -0
  85. package/dist/icons/glyphs/bluetooth-searching.d.ts +2 -0
  86. package/dist/icons/glyphs/bluetooth.d.ts +2 -0
  87. package/dist/icons/glyphs/bold.d.ts +2 -0
  88. package/dist/icons/glyphs/bone.d.ts +2 -0
  89. package/dist/icons/glyphs/book-open.d.ts +2 -0
  90. package/dist/icons/glyphs/book-text.d.ts +2 -0
  91. package/dist/icons/glyphs/bookmark-check.d.ts +2 -0
  92. package/dist/icons/glyphs/bookmark-minus.d.ts +2 -0
  93. package/dist/icons/glyphs/bookmark-plus.d.ts +2 -0
  94. package/dist/icons/glyphs/bookmark-x.d.ts +2 -0
  95. package/dist/icons/glyphs/bookmark.d.ts +2 -0
  96. package/dist/icons/glyphs/bot-message-square.d.ts +2 -0
  97. package/dist/icons/glyphs/bot.d.ts +2 -0
  98. package/dist/icons/glyphs/box.d.ts +2 -0
  99. package/dist/icons/glyphs/boxes.d.ts +2 -0
  100. package/dist/icons/glyphs/brain.d.ts +2 -0
  101. package/dist/icons/glyphs/briefcase-business.d.ts +2 -0
  102. package/dist/icons/glyphs/calendar-check-2.d.ts +2 -0
  103. package/dist/icons/glyphs/calendar-check.d.ts +2 -0
  104. package/dist/icons/glyphs/calendar-cog.d.ts +2 -0
  105. package/dist/icons/glyphs/calendar-days.d.ts +2 -0
  106. package/dist/icons/glyphs/calendar.d.ts +2 -0
  107. package/dist/icons/glyphs/car.d.ts +2 -0
  108. package/dist/icons/glyphs/cast.d.ts +2 -0
  109. package/dist/icons/glyphs/cctv.d.ts +2 -0
  110. package/dist/icons/glyphs/chart-bar-decreasing.d.ts +2 -0
  111. package/dist/icons/glyphs/chart-bar-increasing.d.ts +2 -0
  112. package/dist/icons/glyphs/chart-column-decreasing.d.ts +2 -0
  113. package/dist/icons/glyphs/chart-column-increasing.d.ts +2 -0
  114. package/dist/icons/glyphs/chart-column.d.ts +2 -0
  115. package/dist/icons/glyphs/chart-line.d.ts +2 -0
  116. package/dist/icons/glyphs/chart-no-axes-column-decreasing.d.ts +2 -0
  117. package/dist/icons/glyphs/chart-no-axes-column-increasing.d.ts +2 -0
  118. package/dist/icons/glyphs/chart-pie.d.ts +2 -0
  119. package/dist/icons/glyphs/chart-scatter.d.ts +2 -0
  120. package/dist/icons/glyphs/chart-spline.d.ts +2 -0
  121. package/dist/icons/glyphs/check-check.d.ts +2 -0
  122. package/dist/icons/glyphs/check.d.ts +2 -0
  123. package/dist/icons/glyphs/chess-bishop.d.ts +2 -0
  124. package/dist/icons/glyphs/chess-king.d.ts +2 -0
  125. package/dist/icons/glyphs/chess-knight.d.ts +2 -0
  126. package/dist/icons/glyphs/chess-pawn.d.ts +2 -0
  127. package/dist/icons/glyphs/chevron-down.d.ts +2 -0
  128. package/dist/icons/glyphs/chevron-first.d.ts +2 -0
  129. package/dist/icons/glyphs/chevron-left.d.ts +2 -0
  130. package/dist/icons/glyphs/chevron-right.d.ts +2 -0
  131. package/dist/icons/glyphs/chevron-up.d.ts +2 -0
  132. package/dist/icons/glyphs/chevrons-down-up.d.ts +2 -0
  133. package/dist/icons/glyphs/chevrons-left-right.d.ts +2 -0
  134. package/dist/icons/glyphs/chevrons-left.d.ts +2 -0
  135. package/dist/icons/glyphs/chevrons-right-left.d.ts +2 -0
  136. package/dist/icons/glyphs/chevrons-up-down.d.ts +2 -0
  137. package/dist/icons/glyphs/chromium.d.ts +2 -0
  138. package/dist/icons/glyphs/cigarette-off.d.ts +2 -0
  139. package/dist/icons/glyphs/cigarette.d.ts +2 -0
  140. package/dist/icons/glyphs/circle-check.d.ts +2 -0
  141. package/dist/icons/glyphs/circle-chevron-down.d.ts +2 -0
  142. package/dist/icons/glyphs/circle-chevron-left.d.ts +2 -0
  143. package/dist/icons/glyphs/circle-chevron-right.d.ts +2 -0
  144. package/dist/icons/glyphs/circle-chevron-up.d.ts +2 -0
  145. package/dist/icons/glyphs/circle-dashed.d.ts +2 -0
  146. package/dist/icons/glyphs/circle-dollar-sign.d.ts +2 -0
  147. package/dist/icons/glyphs/circle-gauge.d.ts +2 -0
  148. package/dist/icons/glyphs/circle-question-mark.d.ts +2 -0
  149. package/dist/icons/glyphs/circle-x.d.ts +2 -0
  150. package/dist/icons/glyphs/circle.d.ts +2 -0
  151. package/dist/icons/glyphs/clapperboard.d.ts +2 -0
  152. package/dist/icons/glyphs/clipboard-check.d.ts +2 -0
  153. package/dist/icons/glyphs/clock.d.ts +2 -0
  154. package/dist/icons/glyphs/cloud-backup.d.ts +2 -0
  155. package/dist/icons/glyphs/cloud-cog.d.ts +2 -0
  156. package/dist/icons/glyphs/cloud-download.d.ts +2 -0
  157. package/dist/icons/glyphs/cloud-lightning.d.ts +2 -0
  158. package/dist/icons/glyphs/cloud-off.d.ts +2 -0
  159. package/dist/icons/glyphs/cloud-rain-wind.d.ts +2 -0
  160. package/dist/icons/glyphs/cloud-rain.d.ts +2 -0
  161. package/dist/icons/glyphs/cloud-snow.d.ts +2 -0
  162. package/dist/icons/glyphs/cloud-sun.d.ts +2 -0
  163. package/dist/icons/glyphs/cloud-sync.d.ts +2 -0
  164. package/dist/icons/glyphs/cloud-upload.d.ts +2 -0
  165. package/dist/icons/glyphs/code-xml.d.ts +2 -0
  166. package/dist/icons/glyphs/coffee.d.ts +2 -0
  167. package/dist/icons/glyphs/cog.d.ts +2 -0
  168. package/dist/icons/glyphs/compass.d.ts +2 -0
  169. package/dist/icons/glyphs/concierge-bell.d.ts +2 -0
  170. package/dist/icons/glyphs/construction.d.ts +2 -0
  171. package/dist/icons/glyphs/contrast.d.ts +2 -0
  172. package/dist/icons/glyphs/cooking-pot.d.ts +2 -0
  173. package/dist/icons/glyphs/copy.d.ts +2 -0
  174. package/dist/icons/glyphs/corner-down-left.d.ts +2 -0
  175. package/dist/icons/glyphs/corner-down-right.d.ts +2 -0
  176. package/dist/icons/glyphs/corner-left-down.d.ts +2 -0
  177. package/dist/icons/glyphs/corner-left-up.d.ts +2 -0
  178. package/dist/icons/glyphs/corner-right-down.d.ts +2 -0
  179. package/dist/icons/glyphs/corner-right-up.d.ts +2 -0
  180. package/dist/icons/glyphs/corner-up-left.d.ts +2 -0
  181. package/dist/icons/glyphs/corner-up-right.d.ts +2 -0
  182. package/dist/icons/glyphs/cpu.d.ts +2 -0
  183. package/dist/icons/glyphs/credit-card.d.ts +2 -0
  184. package/dist/icons/glyphs/cup-soda.d.ts +2 -0
  185. package/dist/icons/glyphs/database-backup.d.ts +2 -0
  186. package/dist/icons/glyphs/delete.d.ts +2 -0
  187. package/dist/icons/glyphs/disc-3.d.ts +2 -0
  188. package/dist/icons/glyphs/dollar-sign.d.ts +2 -0
  189. package/dist/icons/glyphs/download.d.ts +2 -0
  190. package/dist/icons/glyphs/dribbble.d.ts +2 -0
  191. package/dist/icons/glyphs/droplet.d.ts +2 -0
  192. package/dist/icons/glyphs/drum.d.ts +2 -0
  193. package/dist/icons/glyphs/earth.d.ts +2 -0
  194. package/dist/icons/glyphs/ellipsis.d.ts +2 -0
  195. package/dist/icons/glyphs/euro.d.ts +2 -0
  196. package/dist/icons/glyphs/ev-charger.d.ts +2 -0
  197. package/dist/icons/glyphs/expand.d.ts +2 -0
  198. package/dist/icons/glyphs/external-link.d.ts +2 -0
  199. package/dist/icons/glyphs/eye-off.d.ts +2 -0
  200. package/dist/icons/glyphs/eye.d.ts +2 -0
  201. package/dist/icons/glyphs/facebook.d.ts +2 -0
  202. package/dist/icons/glyphs/fan.d.ts +2 -0
  203. package/dist/icons/glyphs/feather.d.ts +2 -0
  204. package/dist/icons/glyphs/figma.d.ts +2 -0
  205. package/dist/icons/glyphs/file-chart-line.d.ts +2 -0
  206. package/dist/icons/glyphs/file-check-corner.d.ts +2 -0
  207. package/dist/icons/glyphs/file-check.d.ts +2 -0
  208. package/dist/icons/glyphs/file-cog.d.ts +2 -0
  209. package/dist/icons/glyphs/file-pen-line.d.ts +2 -0
  210. package/dist/icons/glyphs/file-stack.d.ts +2 -0
  211. package/dist/icons/glyphs/file-text.d.ts +2 -0
  212. package/dist/icons/glyphs/fingerprint-pattern.d.ts +2 -0
  213. package/dist/icons/glyphs/fish-symbol.d.ts +2 -0
  214. package/dist/icons/glyphs/flame.d.ts +2 -0
  215. package/dist/icons/glyphs/flask-conical.d.ts +2 -0
  216. package/dist/icons/glyphs/folder-archive.d.ts +2 -0
  217. package/dist/icons/glyphs/folder-check.d.ts +2 -0
  218. package/dist/icons/glyphs/folder-clock.d.ts +2 -0
  219. package/dist/icons/glyphs/folder-code.d.ts +2 -0
  220. package/dist/icons/glyphs/folder-cog.d.ts +2 -0
  221. package/dist/icons/glyphs/folder-dot.d.ts +2 -0
  222. package/dist/icons/glyphs/folder-down.d.ts +2 -0
  223. package/dist/icons/glyphs/folder-git-2.d.ts +2 -0
  224. package/dist/icons/glyphs/folder-git.d.ts +2 -0
  225. package/dist/icons/glyphs/folder-heart.d.ts +2 -0
  226. package/dist/icons/glyphs/folder-input.d.ts +2 -0
  227. package/dist/icons/glyphs/folder-kanban.d.ts +2 -0
  228. package/dist/icons/glyphs/folder-key.d.ts +2 -0
  229. package/dist/icons/glyphs/folder-lock.d.ts +2 -0
  230. package/dist/icons/glyphs/folder-minus.d.ts +2 -0
  231. package/dist/icons/glyphs/folder-open.d.ts +2 -0
  232. package/dist/icons/glyphs/folder-output.d.ts +2 -0
  233. package/dist/icons/glyphs/folder-plus.d.ts +2 -0
  234. package/dist/icons/glyphs/folder-root.d.ts +2 -0
  235. package/dist/icons/glyphs/folder-sync.d.ts +2 -0
  236. package/dist/icons/glyphs/folder-tree.d.ts +2 -0
  237. package/dist/icons/glyphs/folder-up.d.ts +2 -0
  238. package/dist/icons/glyphs/folder-x.d.ts +2 -0
  239. package/dist/icons/glyphs/folders.d.ts +2 -0
  240. package/dist/icons/glyphs/frame.d.ts +2 -0
  241. package/dist/icons/glyphs/frown.d.ts +2 -0
  242. package/dist/icons/glyphs/gallery-horizontal-end.d.ts +2 -0
  243. package/dist/icons/glyphs/gallery-thumbnails.d.ts +2 -0
  244. package/dist/icons/glyphs/gallery-vertical-end.d.ts +2 -0
  245. package/dist/icons/glyphs/gauge.d.ts +2 -0
  246. package/dist/icons/glyphs/gavel.d.ts +2 -0
  247. package/dist/icons/glyphs/georgian-lari.d.ts +2 -0
  248. package/dist/icons/glyphs/git-branch.d.ts +2 -0
  249. package/dist/icons/glyphs/git-commit-horizontal.d.ts +2 -0
  250. package/dist/icons/glyphs/git-commit-vertical.d.ts +2 -0
  251. package/dist/icons/glyphs/git-compare-arrows.d.ts +2 -0
  252. package/dist/icons/glyphs/git-compare.d.ts +2 -0
  253. package/dist/icons/glyphs/git-fork.d.ts +2 -0
  254. package/dist/icons/glyphs/git-graph.d.ts +2 -0
  255. package/dist/icons/glyphs/git-merge.d.ts +2 -0
  256. package/dist/icons/glyphs/git-pull-request-closed.d.ts +2 -0
  257. package/dist/icons/glyphs/git-pull-request-create.d.ts +2 -0
  258. package/dist/icons/glyphs/git-pull-request.d.ts +2 -0
  259. package/dist/icons/glyphs/github.d.ts +2 -0
  260. package/dist/icons/glyphs/gitlab.d.ts +2 -0
  261. package/dist/icons/glyphs/graduation-cap.d.ts +2 -0
  262. package/dist/icons/glyphs/grip-horizontal.d.ts +2 -0
  263. package/dist/icons/glyphs/grip-vertical.d.ts +2 -0
  264. package/dist/icons/glyphs/grip.d.ts +2 -0
  265. package/dist/icons/glyphs/hammer.d.ts +2 -0
  266. package/dist/icons/glyphs/hand-coins.d.ts +2 -0
  267. package/dist/icons/glyphs/hand-fist.d.ts +2 -0
  268. package/dist/icons/glyphs/hand-grab.d.ts +2 -0
  269. package/dist/icons/glyphs/hand-heart.d.ts +2 -0
  270. package/dist/icons/glyphs/hand-helping.d.ts +2 -0
  271. package/dist/icons/glyphs/hand-metal.d.ts +2 -0
  272. package/dist/icons/glyphs/hand.d.ts +2 -0
  273. package/dist/icons/glyphs/hard-drive-download.d.ts +2 -0
  274. package/dist/icons/glyphs/hard-drive-upload.d.ts +2 -0
  275. package/dist/icons/glyphs/hard-drive.d.ts +2 -0
  276. package/dist/icons/glyphs/hat-glasses.d.ts +2 -0
  277. package/dist/icons/glyphs/heart-handshake.d.ts +2 -0
  278. package/dist/icons/glyphs/heart-pulse.d.ts +2 -0
  279. package/dist/icons/glyphs/heart.d.ts +2 -0
  280. package/dist/icons/glyphs/history.d.ts +2 -0
  281. package/dist/icons/glyphs/hourglass.d.ts +2 -0
  282. package/dist/icons/glyphs/house.d.ts +2 -0
  283. package/dist/icons/glyphs/id-card.d.ts +2 -0
  284. package/dist/icons/glyphs/image.d.ts +2 -0
  285. package/dist/icons/glyphs/inbox.d.ts +2 -0
  286. package/dist/icons/glyphs/indian-rupee.d.ts +2 -0
  287. package/dist/icons/glyphs/info.d.ts +2 -0
  288. package/dist/icons/glyphs/instagram.d.ts +2 -0
  289. package/dist/icons/glyphs/italic.d.ts +2 -0
  290. package/dist/icons/glyphs/japanese-yen.d.ts +2 -0
  291. package/dist/icons/glyphs/key-round.d.ts +2 -0
  292. package/dist/icons/glyphs/key-square.d.ts +2 -0
  293. package/dist/icons/glyphs/key.d.ts +2 -0
  294. package/dist/icons/glyphs/keyboard.d.ts +2 -0
  295. package/dist/icons/glyphs/languages.d.ts +2 -0
  296. package/dist/icons/glyphs/laptop-minimal-check.d.ts +2 -0
  297. package/dist/icons/glyphs/laugh.d.ts +2 -0
  298. package/dist/icons/glyphs/layers.d.ts +2 -0
  299. package/dist/icons/glyphs/layout-dashboard.d.ts +2 -0
  300. package/dist/icons/glyphs/layout-grid.d.ts +2 -0
  301. package/dist/icons/glyphs/layout-panel-top.d.ts +2 -0
  302. package/dist/icons/glyphs/leaf.d.ts +2 -0
  303. package/dist/icons/glyphs/leafy-green.d.ts +2 -0
  304. package/dist/icons/glyphs/link-2.d.ts +2 -0
  305. package/dist/icons/glyphs/link.d.ts +2 -0
  306. package/dist/icons/glyphs/linkedin.d.ts +2 -0
  307. package/dist/icons/glyphs/list-filter.d.ts +2 -0
  308. package/dist/icons/glyphs/list-todo.d.ts +2 -0
  309. package/dist/icons/glyphs/list.d.ts +2 -0
  310. package/dist/icons/glyphs/loader-circle.d.ts +2 -0
  311. package/dist/icons/glyphs/loader-pinwheel.d.ts +2 -0
  312. package/dist/icons/glyphs/loader.d.ts +2 -0
  313. package/dist/icons/glyphs/lock-keyhole-open.d.ts +2 -0
  314. package/dist/icons/glyphs/lock-keyhole.d.ts +2 -0
  315. package/dist/icons/glyphs/lock-open.d.ts +2 -0
  316. package/dist/icons/glyphs/lock.d.ts +2 -0
  317. package/dist/icons/glyphs/log-in.d.ts +2 -0
  318. package/dist/icons/glyphs/log-out.d.ts +2 -0
  319. package/dist/icons/glyphs/mail-check.d.ts +2 -0
  320. package/dist/icons/glyphs/mail.d.ts +2 -0
  321. package/dist/icons/glyphs/mailbox.d.ts +2 -0
  322. package/dist/icons/glyphs/map-pin-check-inside.d.ts +2 -0
  323. package/dist/icons/glyphs/map-pin-check.d.ts +2 -0
  324. package/dist/icons/glyphs/map-pin-house.d.ts +2 -0
  325. package/dist/icons/glyphs/map-pin-minus-inside.d.ts +2 -0
  326. package/dist/icons/glyphs/map-pin-minus.d.ts +2 -0
  327. package/dist/icons/glyphs/map-pin-off.d.ts +2 -0
  328. package/dist/icons/glyphs/map-pin-plus-inside.d.ts +2 -0
  329. package/dist/icons/glyphs/map-pin-plus.d.ts +2 -0
  330. package/dist/icons/glyphs/map-pin-x-inside.d.ts +2 -0
  331. package/dist/icons/glyphs/map-pin.d.ts +2 -0
  332. package/dist/icons/glyphs/maximize-2.d.ts +2 -0
  333. package/dist/icons/glyphs/maximize.d.ts +2 -0
  334. package/dist/icons/glyphs/meh.d.ts +2 -0
  335. package/dist/icons/glyphs/menu.d.ts +2 -0
  336. package/dist/icons/glyphs/message-circle-check.d.ts +2 -0
  337. package/dist/icons/glyphs/message-circle-dashed.d.ts +2 -0
  338. package/dist/icons/glyphs/message-circle-more.d.ts +2 -0
  339. package/dist/icons/glyphs/message-circle-plus.d.ts +2 -0
  340. package/dist/icons/glyphs/message-circle-x.d.ts +2 -0
  341. package/dist/icons/glyphs/message-circle.d.ts +2 -0
  342. package/dist/icons/glyphs/message-square-check.d.ts +2 -0
  343. package/dist/icons/glyphs/message-square-dashed.d.ts +2 -0
  344. package/dist/icons/glyphs/message-square-more.d.ts +2 -0
  345. package/dist/icons/glyphs/message-square-plus.d.ts +2 -0
  346. package/dist/icons/glyphs/message-square-x.d.ts +2 -0
  347. package/dist/icons/glyphs/message-square.d.ts +2 -0
  348. package/dist/icons/glyphs/mic-off.d.ts +2 -0
  349. package/dist/icons/glyphs/mic.d.ts +2 -0
  350. package/dist/icons/glyphs/minimize.d.ts +2 -0
  351. package/dist/icons/glyphs/minus.d.ts +2 -0
  352. package/dist/icons/glyphs/monitor-check.d.ts +2 -0
  353. package/dist/icons/glyphs/monitor-cog.d.ts +2 -0
  354. package/dist/icons/glyphs/monitor.d.ts +2 -0
  355. package/dist/icons/glyphs/moon.d.ts +2 -0
  356. package/dist/icons/glyphs/mouse-pointer-click.d.ts +2 -0
  357. package/dist/icons/glyphs/nfc.d.ts +2 -0
  358. package/dist/icons/glyphs/package.d.ts +2 -0
  359. package/dist/icons/glyphs/palette.d.ts +2 -0
  360. package/dist/icons/glyphs/panel-left-close.d.ts +2 -0
  361. package/dist/icons/glyphs/panel-left-open.d.ts +2 -0
  362. package/dist/icons/glyphs/panel-right-open.d.ts +2 -0
  363. package/dist/icons/glyphs/paperclip.d.ts +2 -0
  364. package/dist/icons/glyphs/party-popper.d.ts +2 -0
  365. package/dist/icons/glyphs/pause.d.ts +2 -0
  366. package/dist/icons/glyphs/pen-tool.d.ts +2 -0
  367. package/dist/icons/glyphs/philippine-peso.d.ts +2 -0
  368. package/dist/icons/glyphs/phone-call.d.ts +2 -0
  369. package/dist/icons/glyphs/phone-forwarded.d.ts +2 -0
  370. package/dist/icons/glyphs/phone-incoming.d.ts +2 -0
  371. package/dist/icons/glyphs/phone-missed.d.ts +2 -0
  372. package/dist/icons/glyphs/phone-off.d.ts +2 -0
  373. package/dist/icons/glyphs/phone.d.ts +2 -0
  374. package/dist/icons/glyphs/pickaxe.d.ts +2 -0
  375. package/dist/icons/glyphs/pipette.d.ts +2 -0
  376. package/dist/icons/glyphs/plane-landing.d.ts +2 -0
  377. package/dist/icons/glyphs/plane-takeoff.d.ts +2 -0
  378. package/dist/icons/glyphs/plane.d.ts +2 -0
  379. package/dist/icons/glyphs/play.d.ts +2 -0
  380. package/dist/icons/glyphs/plug-zap.d.ts +2 -0
  381. package/dist/icons/glyphs/plus.d.ts +2 -0
  382. package/dist/icons/glyphs/pound-sterling.d.ts +2 -0
  383. package/dist/icons/glyphs/projector.d.ts +2 -0
  384. package/dist/icons/glyphs/rabbit.d.ts +2 -0
  385. package/dist/icons/glyphs/radio-tower.d.ts +2 -0
  386. package/dist/icons/glyphs/radio.d.ts +2 -0
  387. package/dist/icons/glyphs/receipt-cent.d.ts +2 -0
  388. package/dist/icons/glyphs/receipt-euro.d.ts +2 -0
  389. package/dist/icons/glyphs/receipt-indian-rupee.d.ts +2 -0
  390. package/dist/icons/glyphs/receipt-japanese-yen.d.ts +2 -0
  391. package/dist/icons/glyphs/receipt-pound-sterling.d.ts +2 -0
  392. package/dist/icons/glyphs/receipt-russian-ruble.d.ts +2 -0
  393. package/dist/icons/glyphs/receipt-swiss-franc.d.ts +2 -0
  394. package/dist/icons/glyphs/receipt-text.d.ts +2 -0
  395. package/dist/icons/glyphs/receipt-turkish-lira.d.ts +2 -0
  396. package/dist/icons/glyphs/receipt.d.ts +2 -0
  397. package/dist/icons/glyphs/redo-dot.d.ts +2 -0
  398. package/dist/icons/glyphs/redo.d.ts +2 -0
  399. package/dist/icons/glyphs/refresh-ccw-dot.d.ts +2 -0
  400. package/dist/icons/glyphs/refresh-ccw.d.ts +2 -0
  401. package/dist/icons/glyphs/refresh-cw-off.d.ts +2 -0
  402. package/dist/icons/glyphs/refresh-cw.d.ts +2 -0
  403. package/dist/icons/glyphs/rocket.d.ts +2 -0
  404. package/dist/icons/glyphs/rocking-chair.d.ts +2 -0
  405. package/dist/icons/glyphs/roller-coaster.d.ts +2 -0
  406. package/dist/icons/glyphs/rotate-ccw.d.ts +2 -0
  407. package/dist/icons/glyphs/rotate-cw.d.ts +2 -0
  408. package/dist/icons/glyphs/route.d.ts +2 -0
  409. package/dist/icons/glyphs/router.d.ts +2 -0
  410. package/dist/icons/glyphs/russian-ruble.d.ts +2 -0
  411. package/dist/icons/glyphs/satellite-dish.d.ts +2 -0
  412. package/dist/icons/glyphs/saudi-riyal.d.ts +2 -0
  413. package/dist/icons/glyphs/scan-face.d.ts +2 -0
  414. package/dist/icons/glyphs/scan-text.d.ts +2 -0
  415. package/dist/icons/glyphs/search.d.ts +2 -0
  416. package/dist/icons/glyphs/send.d.ts +2 -0
  417. package/dist/icons/glyphs/server-cog.d.ts +2 -0
  418. package/dist/icons/glyphs/server-crash.d.ts +2 -0
  419. package/dist/icons/glyphs/server.d.ts +2 -0
  420. package/dist/icons/glyphs/settings.d.ts +2 -0
  421. package/dist/icons/glyphs/shield-check.d.ts +2 -0
  422. package/dist/icons/glyphs/ship-wheel.d.ts +2 -0
  423. package/dist/icons/glyphs/ship.d.ts +2 -0
  424. package/dist/icons/glyphs/shopping-cart.d.ts +2 -0
  425. package/dist/icons/glyphs/shower-head.d.ts +2 -0
  426. package/dist/icons/glyphs/shredder.d.ts +2 -0
  427. package/dist/icons/glyphs/shrink.d.ts +2 -0
  428. package/dist/icons/glyphs/sliders-horizontal.d.ts +2 -0
  429. package/dist/icons/glyphs/smartphone-charging.d.ts +2 -0
  430. package/dist/icons/glyphs/smartphone-nfc.d.ts +2 -0
  431. package/dist/icons/glyphs/smartphone.d.ts +2 -0
  432. package/dist/icons/glyphs/smile-plus.d.ts +2 -0
  433. package/dist/icons/glyphs/smile.d.ts +2 -0
  434. package/dist/icons/glyphs/snowflake.d.ts +2 -0
  435. package/dist/icons/glyphs/soup.d.ts +2 -0
  436. package/dist/icons/glyphs/sparkles.d.ts +2 -0
  437. package/dist/icons/glyphs/spray-can.d.ts +2 -0
  438. package/dist/icons/glyphs/square-activity.d.ts +2 -0
  439. package/dist/icons/glyphs/square-arrow-down.d.ts +2 -0
  440. package/dist/icons/glyphs/square-arrow-left.d.ts +2 -0
  441. package/dist/icons/glyphs/square-arrow-right.d.ts +2 -0
  442. package/dist/icons/glyphs/square-arrow-up.d.ts +2 -0
  443. package/dist/icons/glyphs/square-chevron-down.d.ts +2 -0
  444. package/dist/icons/glyphs/square-chevron-left.d.ts +2 -0
  445. package/dist/icons/glyphs/square-chevron-right.d.ts +2 -0
  446. package/dist/icons/glyphs/square-chevron-up.d.ts +2 -0
  447. package/dist/icons/glyphs/square-pen.d.ts +2 -0
  448. package/dist/icons/glyphs/square-stack.d.ts +2 -0
  449. package/dist/icons/glyphs/stamp.d.ts +2 -0
  450. package/dist/icons/glyphs/stethoscope.d.ts +2 -0
  451. package/dist/icons/glyphs/sun-dim.d.ts +2 -0
  452. package/dist/icons/glyphs/sun-medium.d.ts +2 -0
  453. package/dist/icons/glyphs/sun-moon.d.ts +2 -0
  454. package/dist/icons/glyphs/sun.d.ts +2 -0
  455. package/dist/icons/glyphs/sunset.d.ts +2 -0
  456. package/dist/icons/glyphs/swiss-franc.d.ts +2 -0
  457. package/dist/icons/glyphs/switch-camera.d.ts +2 -0
  458. package/dist/icons/glyphs/syringe.d.ts +2 -0
  459. package/dist/icons/glyphs/tablet.d.ts +2 -0
  460. package/dist/icons/glyphs/telescope.d.ts +2 -0
  461. package/dist/icons/glyphs/terminal.d.ts +2 -0
  462. package/dist/icons/glyphs/text-align-center.d.ts +2 -0
  463. package/dist/icons/glyphs/text-align-end.d.ts +2 -0
  464. package/dist/icons/glyphs/text-align-start.d.ts +2 -0
  465. package/dist/icons/glyphs/thermometer.d.ts +2 -0
  466. package/dist/icons/glyphs/thumbs-down.d.ts +2 -0
  467. package/dist/icons/glyphs/thumbs-up.d.ts +2 -0
  468. package/dist/icons/glyphs/ticket.d.ts +2 -0
  469. package/dist/icons/glyphs/timer.d.ts +2 -0
  470. package/dist/icons/glyphs/tornado.d.ts +2 -0
  471. package/dist/icons/glyphs/train-track.d.ts +2 -0
  472. package/dist/icons/glyphs/trash-2.d.ts +2 -0
  473. package/dist/icons/glyphs/tree-deciduous.d.ts +2 -0
  474. package/dist/icons/glyphs/tree-pine.d.ts +2 -0
  475. package/dist/icons/glyphs/trending-down.d.ts +2 -0
  476. package/dist/icons/glyphs/trending-up-down.d.ts +2 -0
  477. package/dist/icons/glyphs/trending-up.d.ts +2 -0
  478. package/dist/icons/glyphs/triangle-alert.d.ts +2 -0
  479. package/dist/icons/glyphs/truck.d.ts +2 -0
  480. package/dist/icons/glyphs/turkish-lira.d.ts +2 -0
  481. package/dist/icons/glyphs/twitch.d.ts +2 -0
  482. package/dist/icons/glyphs/twitter.d.ts +2 -0
  483. package/dist/icons/glyphs/underline.d.ts +2 -0
  484. package/dist/icons/glyphs/undo-dot.d.ts +2 -0
  485. package/dist/icons/glyphs/undo.d.ts +2 -0
  486. package/dist/icons/glyphs/unplug.d.ts +2 -0
  487. package/dist/icons/glyphs/upload.d.ts +2 -0
  488. package/dist/icons/glyphs/user-check.d.ts +2 -0
  489. package/dist/icons/glyphs/user-plus.d.ts +2 -0
  490. package/dist/icons/glyphs/user-round-check.d.ts +2 -0
  491. package/dist/icons/glyphs/user-round-cog.d.ts +2 -0
  492. package/dist/icons/glyphs/user-round-plus.d.ts +2 -0
  493. package/dist/icons/glyphs/user-round.d.ts +2 -0
  494. package/dist/icons/glyphs/user.d.ts +2 -0
  495. package/dist/icons/glyphs/users-round.d.ts +2 -0
  496. package/dist/icons/glyphs/users.d.ts +2 -0
  497. package/dist/icons/glyphs/vibrate.d.ts +2 -0
  498. package/dist/icons/glyphs/volume.d.ts +2 -0
  499. package/dist/icons/glyphs/wallet.d.ts +2 -0
  500. package/dist/icons/glyphs/washing-machine.d.ts +2 -0
  501. package/dist/icons/glyphs/waves-arrow-down.d.ts +2 -0
  502. package/dist/icons/glyphs/waves-arrow-up.d.ts +2 -0
  503. package/dist/icons/glyphs/waves-ladder.d.ts +2 -0
  504. package/dist/icons/glyphs/waves.d.ts +2 -0
  505. package/dist/icons/glyphs/waypoints.d.ts +2 -0
  506. package/dist/icons/glyphs/webhook.d.ts +2 -0
  507. package/dist/icons/glyphs/wifi-cog.d.ts +2 -0
  508. package/dist/icons/glyphs/wifi-low.d.ts +2 -0
  509. package/dist/icons/glyphs/wifi-pen.d.ts +2 -0
  510. package/dist/icons/glyphs/wifi-sync.d.ts +2 -0
  511. package/dist/icons/glyphs/wifi.d.ts +2 -0
  512. package/dist/icons/glyphs/wind-arrow-down.d.ts +2 -0
  513. package/dist/icons/glyphs/wind.d.ts +2 -0
  514. package/dist/icons/glyphs/workflow.d.ts +2 -0
  515. package/dist/icons/glyphs/wrench.d.ts +2 -0
  516. package/dist/icons/glyphs/x.d.ts +2 -0
  517. package/dist/icons/glyphs/youtube.d.ts +2 -0
  518. package/dist/icons/glyphs/zap-off.d.ts +2 -0
  519. package/dist/icons/glyphs/zap.d.ts +2 -0
  520. package/dist/icons/iconPlay.d.ts +2 -0
  521. package/dist/icons/registry.d.ts +81 -78
  522. package/dist/icons.js +996 -0
  523. package/dist/index.css +1257 -399
  524. package/dist/index.d.ts +1 -0
  525. package/dist/index.js +13 -5
  526. package/dist/internal/CheckMark.d.ts +12 -0
  527. package/dist/internal/ChoiceField.d.ts +1 -1
  528. package/dist/internal/FieldFrame.d.ts +17 -0
  529. package/dist/internal/MorphText.d.ts +12 -0
  530. package/dist/internal/RollingNumber.d.ts +14 -0
  531. package/dist/internal/surfaceDepth.d.ts +25 -0
  532. package/dist/internal/swatch.d.ts +4 -1
  533. package/dist/layout/app-shell/AppShell.d.ts +2 -2
  534. package/dist/motion/celebrate.d.ts +18 -0
  535. package/dist/tokens/layers.d.ts +37 -0
  536. package/dist/tokens/naming.d.ts +1 -1
  537. package/dist/tokens/primitives.d.ts +1 -0
  538. package/dist/tokens/semantic.d.ts +67 -56
  539. package/dist/tokens/themes/dark.d.ts +7 -14
  540. package/package.json +11 -4
  541. package/src/components/accordion/COMPONENT.md +4 -4
  542. package/src/components/avatar/COMPONENT.md +1 -1
  543. package/src/components/button/COMPONENT.md +30 -7
  544. package/src/components/button/examples/download.tsx +45 -0
  545. package/src/components/button/examples/hold-to-confirm.tsx +23 -0
  546. package/src/components/button/examples/in-form.tsx +15 -3
  547. package/src/components/button/examples/label-morph.tsx +38 -0
  548. package/src/components/button/examples/variants.tsx +1 -0
  549. package/src/components/card/COMPONENT.md +4 -2
  550. package/src/components/card/examples/narrow.tsx +2 -2
  551. package/src/components/card/examples/panel-chart.tsx +1 -1
  552. package/src/components/card/examples/variants.tsx +1 -1
  553. package/src/components/checkbox/COMPONENT.md +1 -1
  554. package/src/components/checkbox/examples/examples.module.css +1 -1
  555. package/src/components/code-block/COMPONENT.md +6 -6
  556. package/src/components/code-block/examples/overview.tsx +1 -1
  557. package/src/components/code-block/examples/variants.tsx +1 -1
  558. package/src/components/color-picker/COMPONENT.md +3 -3
  559. package/src/components/color-picker/examples/in-form.tsx +13 -5
  560. package/src/components/color-picker/examples/validation.tsx +10 -4
  561. package/src/components/color-swatches/COMPONENT.md +6 -6
  562. package/src/components/color-swatches/examples/in-form.tsx +11 -5
  563. package/src/components/command-menu/COMPONENT.md +1 -1
  564. package/src/components/crossfade/examples/overview.tsx +3 -3
  565. package/src/components/data-table/COMPONENT.md +5 -4
  566. package/src/components/datepicker/COMPONENT.md +3 -3
  567. package/src/components/datepicker/examples/in-form.tsx +30 -9
  568. package/src/components/datepicker/examples/validation.tsx +20 -10
  569. package/src/components/digit-input/COMPONENT.md +8 -6
  570. package/src/components/digit-input/examples/in-form.tsx +22 -4
  571. package/src/components/digit-input/examples/on-complete.tsx +7 -6
  572. package/src/components/digit-input/examples/validation.tsx +12 -5
  573. package/src/components/dnd/COMPONENT.md +1 -1
  574. package/src/components/dnd/examples/examples.module.css +4 -4
  575. package/src/components/drawer/COMPONENT.md +1 -1
  576. package/src/components/drawer/examples/in-form.tsx +7 -2
  577. package/src/components/dropdown/COMPONENT.md +1 -1
  578. package/src/components/dropdown/examples/examples.module.css +1 -1
  579. package/src/components/empty-page/examples/examples.module.css +1 -1
  580. package/src/components/example-frame/COMPONENT.md +1 -1
  581. package/src/components/file-upload/COMPONENT.md +3 -3
  582. package/src/components/file-upload/examples/in-form.tsx +28 -4
  583. package/src/components/file-upload/examples/validation.tsx +37 -6
  584. package/src/components/input/COMPONENT.md +13 -4
  585. package/src/components/input/examples/in-form.tsx +42 -7
  586. package/src/components/input/examples/password-strength.tsx +12 -0
  587. package/src/components/input/examples/validation.tsx +38 -13
  588. package/src/components/kanban/COMPONENT.md +4 -4
  589. package/src/components/login-form/COMPONENT.md +4 -4
  590. package/src/components/login-form/examples/register.tsx +2 -2
  591. package/src/components/login-form/examples/reset-password.tsx +2 -2
  592. package/src/components/modal/COMPONENT.md +3 -3
  593. package/src/components/modal/examples/examples.module.css +2 -2
  594. package/src/components/modal/examples/in-form.tsx +7 -2
  595. package/src/components/native-select/COMPONENT.md +3 -3
  596. package/src/components/native-select/examples/examples.module.css +2 -0
  597. package/src/components/native-select/examples/in-form.tsx +18 -3
  598. package/src/components/native-select/examples/validation.tsx +8 -3
  599. package/src/components/page-content/examples/examples.module.css +1 -1
  600. package/src/components/popover/COMPONENT.md +2 -2
  601. package/src/components/popover/examples/in-form.tsx +27 -5
  602. package/src/components/progress-bar/COMPONENT.md +5 -1
  603. package/src/components/progress-bar/examples/examples.module.css +7 -0
  604. package/src/components/progress-bar/examples/milestone.tsx +43 -0
  605. package/src/components/progress-bar/examples/steps.tsx +35 -0
  606. package/src/components/radio/COMPONENT.md +1 -1
  607. package/src/components/select/COMPONENT.md +3 -3
  608. package/src/components/select/examples/examples.module.css +1 -0
  609. package/src/components/select/examples/in-form.tsx +25 -3
  610. package/src/components/select/examples/validation.tsx +8 -3
  611. package/src/components/skeleton/examples/with-crossfade.tsx +3 -3
  612. package/src/components/slider/COMPONENT.md +1 -1
  613. package/src/components/sparkline/COMPONENT.md +98 -0
  614. package/src/components/sparkline/examples/examples.module.css +13 -0
  615. package/src/components/sparkline/examples/overview.tsx +27 -0
  616. package/src/components/sparkline/examples/period.tsx +46 -0
  617. package/src/components/switch/COMPONENT.md +1 -1
  618. package/src/components/tabs/COMPONENT.md +15 -16
  619. package/src/components/tabs/examples/examples.module.css +14 -0
  620. package/src/components/tabs/examples/orientation.tsx +87 -33
  621. package/src/components/tag-select/COMPONENT.md +3 -3
  622. package/src/components/tag-select/examples/examples.module.css +1 -0
  623. package/src/components/tag-select/examples/in-form.tsx +19 -2
  624. package/src/components/tag-select/examples/validation.tsx +7 -2
  625. package/src/components/textarea/COMPONENT.md +3 -3
  626. package/src/components/textarea/examples/in-form.tsx +20 -8
  627. package/src/components/textarea/examples/validation.tsx +24 -8
  628. package/src/components/tooltip/COMPONENT.md +8 -6
  629. package/src/components/tooltip/examples/examples.module.css +2 -2
  630. package/src/layout/app-header/COMPONENT.md +1 -1
  631. package/src/layout/app-header/examples/examples.module.css +4 -4
  632. package/src/layout/app-shell/COMPONENT.md +8 -8
  633. package/src/layout/app-shell/examples/examples.module.css +3 -3
  634. package/src/layout/bottom-nav/COMPONENT.md +1 -1
  635. package/src/layout/bottom-nav/examples/examples.module.css +1 -1
  636. package/src/layout/sidebar/COMPONENT.md +4 -4
  637. package/src/layout/sidebar/examples/examples.module.css +5 -5
  638. package/src/styles/globals.css +125 -2
  639. package/src/styles/theme-dark.css +37 -13
  640. package/src/styles/theme-light.css +61 -16
  641. package/src/styles/tokens.css +1 -0
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from "./components";
2
2
  export * from "./icons";
3
3
  export * from "./internal/states";
4
+ export * from "./motion/celebrate";
4
5
  export * from "./theme/applyTheme";
package/dist/index.js CHANGED
@@ -34,7 +34,6 @@ import {
34
34
  PageToolbar,
35
35
  Pagination,
36
36
  Popover,
37
- ProgressBar,
38
37
  ProgressCircle,
39
38
  Radio,
40
39
  SegmentedControl,
@@ -42,6 +41,7 @@ import {
42
41
  Skeleton,
43
42
  Slider,
44
43
  SmartFilter,
44
+ Sparkline,
45
45
  Stepper,
46
46
  Switch,
47
47
  THEME_SWITCHING_ATTRIBUTE,
@@ -53,6 +53,7 @@ import {
53
53
  Typography,
54
54
  YEARLESS_YEAR,
55
55
  applyTheme,
56
+ celebrate,
56
57
  datepickerPresets,
57
58
  formatDatepickerValue,
58
59
  matchesSmartFilter,
@@ -61,19 +62,19 @@ import {
61
62
  suspendTransitions,
62
63
  useNotifications,
63
64
  useSidebar
64
- } from "./chunks/chunk-LXGRKN34.js";
65
+ } from "./chunks/chunk-K4FACFQ2.js";
65
66
  import {
66
67
  Button,
67
68
  COLOR_PRESETS,
68
69
  Checkbox,
69
70
  ColorSwatches,
70
- ControlSizeProvider,
71
71
  Divider,
72
72
  EmptyPage,
73
73
  Hint,
74
74
  Icon,
75
75
  Input,
76
76
  Label,
77
+ ProgressBar,
77
78
  ScrollContainer,
78
79
  Select,
79
80
  Spinner,
@@ -81,13 +82,17 @@ import {
81
82
  controlSizes,
82
83
  createIcon,
83
84
  dataStates,
85
+ getPasswordStrength,
84
86
  paletteColors,
85
87
  stepDown,
86
88
  textTones,
87
89
  tones,
88
- useOptionalControlSize,
89
90
  variants
90
- } from "./chunks/chunk-ZEFCDEEQ.js";
91
+ } from "./chunks/chunk-4TRNUP45.js";
92
+ import {
93
+ ControlSizeProvider,
94
+ useOptionalControlSize
95
+ } from "./chunks/chunk-GFKDZFQR.js";
91
96
  export {
92
97
  Accordion,
93
98
  AppHeader,
@@ -145,6 +150,7 @@ export {
145
150
  Skeleton,
146
151
  Slider,
147
152
  SmartFilter,
153
+ Sparkline,
148
154
  Spinner,
149
155
  Stepper,
150
156
  Switch,
@@ -158,11 +164,13 @@ export {
158
164
  Typography,
159
165
  YEARLESS_YEAR,
160
166
  applyTheme,
167
+ celebrate,
161
168
  controlSizes,
162
169
  createIcon,
163
170
  dataStates,
164
171
  datepickerPresets,
165
172
  formatDatepickerValue,
173
+ getPasswordStrength,
166
174
  matchesSmartFilter,
167
175
  moveBefore,
168
176
  paletteColors,
@@ -0,0 +1,12 @@
1
+ export type CheckMarkState = "checked" | "unchecked" | "indeterminate";
2
+ /**
3
+ * The kit's check and indeterminate bar, drawn in with a stroke reveal (foundation §7 rule 8: a
4
+ * check draws in, it does not pop). Both paths stay in the DOM so the mark animates both ways;
5
+ * `state` picks the one that shows. Color is `currentColor`; size comes from the host box.
6
+ * Shared by Checkbox and the color swatches. Own SVG instead of `Icon`: the motion needs
7
+ * `pathLength` on the paths.
8
+ */
9
+ export declare function CheckMark({ state, className }: {
10
+ state: CheckMarkState;
11
+ className?: string;
12
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import type * as React from "react";
2
- import type { FieldIds } from "@/internal/FieldFrame";
2
+ import { type FieldIds } from "@/internal/FieldFrame";
3
3
  import type { ControlSize, DataState } from "@/internal/states";
4
4
  /** Class of the visually hidden native input that sits on top of the visual control. */
5
5
  export declare const choiceInputClass: string;
@@ -48,6 +48,23 @@ export declare function useFieldFrame(explicitId: string | undefined, { label, h
48
48
  error?: React.ReactNode;
49
49
  invalid?: boolean;
50
50
  }, ariaDescribedBy?: string): FieldIds;
51
+ /**
52
+ * `data-shake` of a field root: the control shakes once when the field turns invalid or its error
53
+ * message changes (foundation §7, rule 14) — never for an error it mounts with. The value
54
+ * alternates between `odd` and `even` so a new error restarts the keyframes.
55
+ */
56
+ export declare function useErrorShake(invalid: boolean, error: React.ReactNode): "odd" | "even" | undefined;
57
+ /**
58
+ * The error that has just been fixed, kept on screen while it fades out (`fast`, `exit`) so the
59
+ * message leaves as smoothly as it arrived; the hint takes the slot after it. `null` when nothing
60
+ * is leaving. Reduced motion drops it at once.
61
+ */
62
+ export declare function useLeavingError(showError: boolean, error: React.ReactNode): {
63
+ node: React.ReactNode;
64
+ onExitEnd: (event: React.SyntheticEvent<Element>) => void;
65
+ } | null;
66
+ /** Class of the leaving error message (`useLeavingError`), for frames that render their own row. */
67
+ export declare const leavingErrorClass: string;
51
68
  type FieldFrameRenderProps = Omit<FieldFrameProps, "focusRing"> & {
52
69
  size: ControlSize;
53
70
  ids: FieldIds;
@@ -0,0 +1,12 @@
1
+ export type MorphTextProps = {
2
+ children: string;
3
+ className?: string;
4
+ };
5
+ /**
6
+ * A label that changes in place (foundation §7 rule 8): the old letters leave upward, the new ones
7
+ * come from below one short step apart, and the box glides between the two widths. At rest it is
8
+ * one plain text span; the letter layers exist only while a change plays. Still on the first
9
+ * render, under reduced motion, and when only digits change (a counter or a percentage in a label
10
+ * updates in place).
11
+ */
12
+ export declare function MorphText({ children: text, className }: MorphTextProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ export type RollingNumberProps = {
2
+ /** The formatted value («4 812 350 ₽», «12», «−3,4%»); digits roll, other characters stay put. */
3
+ children: string | number;
4
+ className?: string;
5
+ };
6
+ /**
7
+ * A number whose digits roll to their new values column by column, like an odometer (foundation §7
8
+ * rule 8: counters ease, they do not flip). The DOM holds the real digits (text, copy, assistive
9
+ * tech and a page without CSS read the value); each digit column draws the 0–9 strip in a
10
+ * pseudo-element. Columns are keyed from the right, so an unchanged digit stays still and a new
11
+ * leading digit appears without rolling. A value that changes by itself every frame (a running
12
+ * percentage) stays plain tabular text: rolling there is noise.
13
+ */
14
+ export declare function RollingNumber({ children, className }: RollingNumberProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,25 @@
1
+ import * as React from "react";
2
+ /**
3
+ * Depth of a surface on the ladder (foundation §4): `0` the page … `4` the deepest nested layer,
4
+ * `floating` for menus, popovers, modals and drawers, `floating-1`/`floating-2` for layers nested in
5
+ * one, `tinted` for a host off the ladder (a tinted banner, an accent wash). A surface renders
6
+ * `data-depth` with it; `globals.css` maps each depth to the context variables
7
+ * (`--prime-color-layer-current`, `--prime-color-field-bg`…).
8
+ */
9
+ export type SurfaceDepth = 0 | 1 | 2 | 3 | 4 | "floating" | "floating-1" | "floating-2" | "tinted";
10
+ /**
11
+ * The depth of a surface nested in `depth`; the deepest layer and `floating-2` repeat, a card on a
12
+ * tinted host is a card on the page.
13
+ */
14
+ export declare function nextSurfaceDepth(depth: SurfaceDepth): SurfaceDepth;
15
+ /** Depth of the surface the caller renders: one above the nearest surface around it. */
16
+ export declare function useNestedSurfaceDepth(): SurfaceDepth;
17
+ /** Surfaces inside `children` count their depth from `value`. */
18
+ export declare const SurfaceDepthProvider: React.Provider<SurfaceDepth>;
19
+ /**
20
+ * The layer an ExampleFrame stage stands for (the docs' "preview background"). The stage element
21
+ * itself takes it as `data-depth`: no wrapper may sit between the stage and the example, because
22
+ * the stage lays out its children with child selectors (`> *`).
23
+ */
24
+ export declare const StageDepthProvider: React.Provider<SurfaceDepth>;
25
+ export declare function useStageDepth(): SurfaceDepth;
@@ -31,7 +31,10 @@ export declare const swatchTierClass: string;
31
31
  export declare function SwatchFill({ value }: {
32
32
  value: string | null;
33
33
  }): import("react/jsx-runtime").JSX.Element;
34
- /** Inside a selectable swatch: the color layer and, when selected, the contrasting check. */
34
+ /**
35
+ * Inside a selectable swatch: the color layer and the contrasting check, which draws in when the
36
+ * swatch is selected and retracts when it is not (`CheckMark`, the same mark as Checkbox).
37
+ */
35
38
  export declare function SwatchContent({ value, selected }: {
36
39
  value: string | null;
37
40
  selected: boolean;
@@ -7,14 +7,14 @@ export type AppShellRootProps = React.HTMLAttributes<HTMLDivElement> & {
7
7
  export type AppShellNavProps = React.HTMLAttributes<HTMLDivElement> & {
8
8
  ref?: React.Ref<HTMLDivElement>;
9
9
  };
10
- /** Navigation column (usually `Sidebar.Root`); sits on the canvas. */
10
+ /** Navigation column (usually `Sidebar.Root`, a surface one layer above the page). */
11
11
  declare function AppShellNav({ className, ...rest }: AppShellNavProps): import("react/jsx-runtime").JSX.Element;
12
12
  declare namespace AppShellNav {
13
13
  var displayName: string;
14
14
  }
15
15
  /**
16
16
  * Grid: navigation column | content panel. Everything that is not `AppShell.Nav` goes into the
17
- * content panel (`bg-surface`, inset from the window on wide screens).
17
+ * content panel, which is the page itself (the layer around the shell): cards on it are the next layer.
18
18
  */
19
19
  declare function AppShellRoot({ fillViewport, className, children, ...rest }: AppShellRootProps): import("react/jsx-runtime").JSX.Element;
20
20
  declare namespace AppShellRoot {
@@ -0,0 +1,18 @@
1
+ export type CelebrateOptions = {
2
+ /**
3
+ * Where the burst starts: an element (from its center) or a point in the viewport. Default: the
4
+ * middle of the screen, a third from the top.
5
+ */
6
+ origin?: Element | {
7
+ x: number;
8
+ y: number;
9
+ };
10
+ };
11
+ /**
12
+ * A short confetti burst for a rare milestone: a quarter closed, the first invoice paid, an
13
+ * onboarding finished (foundation §7 rule 1 — only rare moments carry delight; never for routine
14
+ * success, that is a Notification). Draws on a canvas above every layer, ignores the pointer and
15
+ * assistive tech, and removes itself after 1.4 s. Under reduced motion it draws nothing. Say the
16
+ * achievement in words too: the burst is decoration. Resolves when the canvas is gone.
17
+ */
18
+ export declare function celebrate(options?: CelebrateOptions): Promise<void>;
@@ -0,0 +1,37 @@
1
+ /** ΔL in OKLab between neighbouring layers. */
2
+ export declare const LAYER_STEP = 0.03;
3
+ /** Layers 0…4: the page and four nested surfaces. */
4
+ export declare const LAYER_DEPTH = 4;
5
+ export type LayerTheme = {
6
+ /** The page color (layer 0). */
7
+ page: string;
8
+ /** Lightness window: no color goes outside it. */
9
+ lo: number;
10
+ hi: number;
11
+ /** Direction of control fills from their host: −1 darker, +1 lighter. */
12
+ control: 1 | -1;
13
+ };
14
+ export declare const LIGHT_LAYERS: LayerTheme;
15
+ export declare const DARK_LAYERS: LayerTheme;
16
+ export declare const lightnessOf: (hex: string) => number;
17
+ /**
18
+ * `steps` steps from L towards `dir`. Reflects when less than half a step of room is left (unless
19
+ * `reflect` is off), snaps to the edge when less than half a step would remain after the move.
20
+ */
21
+ export declare function move(theme: LayerTheme, L: number, dir: 1 | -1, steps?: number, reflect?: boolean): number;
22
+ export type LayerColors = {
23
+ /** The layer itself. */
24
+ bg: string;
25
+ /** Fields, chips, segmented tracks, neutral buttons on this layer. */
26
+ fill: string;
27
+ /** Hover of that fill. */
28
+ fillHover: string;
29
+ /** The selected segment (thumb) on a track of this layer. */
30
+ selected: string;
31
+ };
32
+ /** Layers 0…LAYER_DEPTH of a theme, each one step from its parent. */
33
+ export declare function layerLadder(theme: LayerTheme): LayerColors[];
34
+ /** Floating layers (popovers, menus, modals, drawers) sit one step above a card and never reflect. */
35
+ export declare function floatingLayer(theme: LayerTheme): LayerColors;
36
+ /** Token tree for `color.layer`: `0`…`4` plus `floating` and the two layers nested in it. */
37
+ export declare function layerTokens(theme: LayerTheme): Record<string, LayerColors>;
@@ -2,5 +2,5 @@
2
2
  export declare const REF_PREFIX = "--prime-ref";
3
3
  /** Semantic variables: `--prime-*`. */
4
4
  export declare const SYS_PREFIX = "--prime";
5
- /** Token path → CSS variable: `color.bg.canvas` → `--prime-color-bg-canvas`, camelCase → kebab-case. */
5
+ /** Token path → CSS variable: `color.text.primary` → `--prime-color-text-primary`, camelCase → kebab-case. */
6
6
  export declare function toVarName(path: string, prefix?: string): string;
@@ -68,6 +68,7 @@ export declare const primitiveTokens: {
68
68
  readonly 400: "#4ade80";
69
69
  readonly 500: "#22c55e";
70
70
  readonly 700: "#15803d";
71
+ readonly 800: "#166534";
71
72
  };
72
73
  readonly teal: {
73
74
  readonly 100: "#ccfbf1";
@@ -1,25 +1,13 @@
1
- /**
2
- * Semantic layer (`--prime-*`). Components read only these variables.
3
- * Path → variable: `color.bg.canvas` → `--prime-color-bg-canvas`, camelCase → kebab-case.
4
- * Values below are the light theme; `themes/dark.ts` overrides colors and shadows.
5
- *
6
- * Design rules (see docs/foundation.md):
7
- * - Depth comes from fills, not borders. `border.subtle` is a hairline, `border.control` is transparent
8
- * (it becomes visible only under `prefers-contrast: more`).
9
- * - Every size is on the 4px grid. Controls share one size axis: xs 28 · s 32 · m 36 · l 40 · xl 48.
10
- * - A nested radius equals the outer radius minus the padding between them.
11
- */
12
1
  export declare const semanticTokens: {
13
2
  readonly color: {
3
+ /**
4
+ * Surface ladder, computed by `layers.ts`: `0` the page … `4` the deepest nested layer, `floating`
5
+ * for menus, popovers, modals and drawers (`floating1`/`floating2` nest inside it). Each row:
6
+ * `bg` the layer, `fill` controls on it, `fillHover`, `selected` the thumb on its track.
7
+ * Components read them through the depth context variables (globals.css), not directly.
8
+ */
9
+ readonly layer: Record<string, import("./layers").LayerColors>;
14
10
  readonly bg: {
15
- /** App background. */
16
- readonly canvas: "{color.gray.50}";
17
- /** Cards, panels, table bodies. */
18
- readonly surface: "{color.gray.0}";
19
- /** Floating layers: menus, popovers, modals, drawers. */
20
- readonly raised: "{color.gray.0}";
21
- /** Inset areas inside a surface: modal footer, table head, code. */
22
- readonly sunken: "{color.gray.75}";
23
11
  readonly inverse: "{color.gray.925}";
24
12
  readonly scrim: "rgba(17, 19, 24, 0.44)";
25
13
  /** Soft shade over an edge that hides scrolled content (DataTable columns). */
@@ -32,22 +20,18 @@ export declare const semanticTokens: {
32
20
  /** The specular top edge of a glass surface: the line that makes it read as glass. */
33
21
  readonly glassEdge: "rgba(255, 255, 255, 0.85)";
34
22
  };
23
+ /**
24
+ * Translucent state washes: they sit on any background, including ones off the ladder (an
25
+ * image, a tinted banner). Resting fills of controls come from the ladder instead
26
+ * (`--prime-color-fill-muted`, `--prime-color-field-bg`).
27
+ */
35
28
  readonly fill: {
36
- /** Transparent wash: ghost hover, row hover. Works on any background. */
29
+ /** Ghost hover, row hover. */
37
30
  readonly subtle: "rgba(17, 19, 24, 0.04)";
38
31
  readonly subtleActive: "rgba(17, 19, 24, 0.07)";
39
- /**
40
- * The faintest wash: hover of a tab in the sunken strip (Tabs). Stays below the
41
- * sunken → surface step in both themes, so a hovered tab never reads as the selected one.
42
- */
32
+ /** The faintest wash: hover of a tab in the tab strip, below the selected tab's step. */
43
33
  readonly faint: "rgba(17, 19, 24, 0.04)";
44
- /**
45
- * Neutral buttons, chips, segmented track. Translucent ink wash: always one step off whatever
46
- * it sits on (canvas, card, sunken tile, a custom container), in both themes.
47
- */
48
- readonly muted: "color-mix(in srgb, var(--prime-ref-color-gray-925) 7%, transparent)";
49
- readonly mutedHover: "color-mix(in srgb, var(--prime-ref-color-gray-925) 10%, transparent)";
50
- /** Unchecked checkbox, switch track, slider track. Same wash, stronger. */
34
+ /** Unchecked checkbox, switch track, slider track. */
51
35
  readonly strong: "color-mix(in srgb, var(--prime-ref-color-gray-925) 15%, transparent)";
52
36
  readonly strongHover: "color-mix(in srgb, var(--prime-ref-color-gray-925) 22%, transparent)";
53
37
  };
@@ -88,6 +72,7 @@ export declare const semanticTokens: {
88
72
  };
89
73
  readonly success: {
90
74
  readonly default: "{color.green.700}";
75
+ readonly hover: "{color.green.800}";
91
76
  readonly fg: "{color.white}";
92
77
  readonly soft: "{color.green.100}";
93
78
  readonly text: "{color.green.700}";
@@ -105,39 +90,29 @@ export declare const semanticTokens: {
105
90
  readonly soft: "{color.sky.100}";
106
91
  readonly text: "{color.sky.800}";
107
92
  };
108
- /**
109
- * Field fill depends on what it sits on. `bg` is the canvas value; every surface component
110
- * (Card, Modal, Drawer, Popover, Sidebar…) sets `--prime-color-field-bg: var(--prime-color-field-bg-surface)`.
111
- */
93
+ /** The field fill at rest, hover and focus comes from the ladder (`--prime-color-field-bg*`). */
112
94
  readonly field: {
113
- /** Translucent wash, visible on any background; `bgSurface` kept equal for surface contexts. */
114
- readonly bg: "color-mix(in srgb, var(--prime-ref-color-gray-925) 6%, transparent)";
115
- readonly bgSurface: "color-mix(in srgb, var(--prime-ref-color-gray-925) 6%, transparent)";
116
- /** Hover wash of a field: the `bg` wash, twice as dense (≈ `bg` mixed 94% with the text color). */
117
- readonly bgHover: "color-mix(in srgb, var(--prime-ref-color-gray-925) 12%, transparent)";
118
- readonly bgFocus: "{color.gray.0}";
95
+ /** A disabled field: a faint wash on whatever it sits on. */
119
96
  readonly bgDisabled: "color-mix(in srgb, var(--prime-ref-color-gray-925) 4%, transparent)";
120
97
  };
121
- /**
122
- * Card fill depends on what it sits on (same idea as `field`). On the canvas a card is white and raised;
123
- * every surface plane (AppShell content, Card, Modal, Drawer, Popover) sets
124
- * `--prime-color-card-bg: var(--prime-color-bg-sunken)`, and a card on a sunken fill drops its shadow.
125
- */
126
- readonly card: {
127
- readonly bg: "{color.bg.surface}";
128
- };
129
98
  readonly focus: {
130
99
  readonly ring: "{color.cobalt.700}";
131
100
  };
132
101
  readonly control: {
133
102
  /** Switch thumb, slider thumb. */
134
103
  readonly thumb: "{color.white}";
135
- /** Selected segment in a segmented track: one step lighter than the track. */
136
- readonly selected: "{color.gray.0}";
137
104
  };
105
+ /**
106
+ * The tooltip is an inverse chip: everything inside it (a Kbd, a secondary line) reads its
107
+ * colors from here, through the context the chip sets (`--prime-color-text-*`, fills).
108
+ */
138
109
  readonly tooltip: {
139
110
  readonly bg: "{color.gray.925}";
140
111
  readonly text: "{color.gray.0}";
112
+ /** Secondary text on the chip (a shortcut, a second line). */
113
+ readonly muted: "{color.gray.300}";
114
+ /** A key cap or chip on the chip: a light wash over the dark fill. */
115
+ readonly fill: "rgba(255, 255, 255, 0.14)";
141
116
  };
142
117
  readonly palette: Record<string, {
143
118
  soft: string;
@@ -326,6 +301,8 @@ export declare const semanticTokens: {
326
301
  };
327
302
  /** Step between items of a staggered first render. */
328
303
  readonly stagger: "{duration.80}";
304
+ /** Blur that hides a change of shape while two states swap in place (icon → check, letters). */
305
+ readonly blur: "2px";
329
306
  /** `:active` scale of pressable controls; `compact` for icon-only and small targets. */
330
307
  readonly press: {
331
308
  readonly scale: "0.98";
@@ -561,8 +538,6 @@ export declare const semanticTokens: {
561
538
  readonly minWidth: "12rem";
562
539
  };
563
540
  readonly card: {
564
- /** Context: surfaces set it to `none` together with `--prime-color-card-bg` (see color.card). */
565
- readonly shadow: "{shadow.raised}";
566
541
  readonly radius: "{radius.12}";
567
542
  readonly paddingS: "{space.4}";
568
543
  readonly paddingM: "{space.5}";
@@ -625,10 +600,46 @@ export declare const semanticTokens: {
625
600
  readonly floatingInset: "{space.3}";
626
601
  readonly blur: "0.5rem";
627
602
  };
603
+ /**
604
+ * Tooltip tiers: a chip of tier T is as tall as a menu item of tier T (24 · 28 · 32 · 36 · 40),
605
+ * and text, padding and radius grow together, one step per tier.
606
+ */
628
607
  readonly tooltip: {
629
- readonly radius: "{radius.6}";
630
- readonly paddingX: "{space.2}";
631
- readonly paddingY: "{space.1}";
608
+ readonly xs: {
609
+ readonly textSize: "{font.size.12}";
610
+ readonly lineHeight: "{font.lineHeight.16}";
611
+ readonly paddingX: "0.375rem";
612
+ readonly paddingY: "{space.1}";
613
+ readonly radius: "{radius.4}";
614
+ };
615
+ readonly s: {
616
+ readonly textSize: "{font.size.12}";
617
+ readonly lineHeight: "{font.lineHeight.16}";
618
+ readonly paddingX: "{space.2}";
619
+ readonly paddingY: "0.375rem";
620
+ readonly radius: "{radius.6}";
621
+ };
622
+ readonly m: {
623
+ readonly textSize: "{font.size.13}";
624
+ readonly lineHeight: "{font.lineHeight.20}";
625
+ readonly paddingX: "0.625rem";
626
+ readonly paddingY: "0.375rem";
627
+ readonly radius: "{radius.6}";
628
+ };
629
+ readonly l: {
630
+ readonly textSize: "{font.size.14}";
631
+ readonly lineHeight: "{font.lineHeight.20}";
632
+ readonly paddingX: "{space.3}";
633
+ readonly paddingY: "{space.2}";
634
+ readonly radius: "{radius.8}";
635
+ };
636
+ readonly xl: {
637
+ readonly textSize: "{font.size.16}";
638
+ readonly lineHeight: "{font.lineHeight.24}";
639
+ readonly paddingX: "{space.4}";
640
+ readonly paddingY: "{space.2}";
641
+ readonly radius: "{radius.8}";
642
+ };
632
643
  readonly maxWidth: "17.5rem";
633
644
  /** Arrow base and depth; the arrow points at the trigger's centre. */
634
645
  readonly arrowWidth: "0.625rem";
@@ -1,11 +1,7 @@
1
1
  export declare const darkThemeOverrides: {
2
2
  readonly color: {
3
+ readonly layer: Record<string, import("../layers").LayerColors>;
3
4
  readonly bg: {
4
- readonly canvas: "{color.gray.950}";
5
- readonly surface: "{color.gray.900}";
6
- readonly raised: "{color.gray.875}";
7
- /** = canvas: nested tiles on the 900 surface need a clear step (925 read as 1.03:1). */
8
- readonly sunken: "{color.gray.950}";
9
5
  readonly inverse: "{color.gray.100}";
10
6
  readonly scrim: "rgba(0, 0, 0, 0.6)";
11
7
  /** Darker than the scrim's share: a shade on a 900 surface needs more ink to read. */
@@ -17,8 +13,6 @@ export declare const darkThemeOverrides: {
17
13
  readonly subtle: "rgba(233, 235, 240, 0.05)";
18
14
  readonly subtleActive: "rgba(233, 235, 240, 0.09)";
19
15
  readonly faint: "rgba(233, 235, 240, 0.02)";
20
- readonly muted: "color-mix(in srgb, var(--prime-ref-color-gray-100) 7%, transparent)";
21
- readonly mutedHover: "color-mix(in srgb, var(--prime-ref-color-gray-100) 10%, transparent)";
22
16
  readonly strong: "color-mix(in srgb, var(--prime-ref-color-gray-100) 16%, transparent)";
23
17
  readonly strongHover: "color-mix(in srgb, var(--prime-ref-color-gray-100) 22%, transparent)";
24
18
  };
@@ -55,6 +49,7 @@ export declare const darkThemeOverrides: {
55
49
  };
56
50
  readonly success: {
57
51
  readonly default: "{color.green.400}";
52
+ readonly hover: "{color.green.300}";
58
53
  readonly fg: "{color.gray.950}";
59
54
  readonly soft: "color-mix(in srgb, var(--prime-ref-color-green-500) 16%, transparent)";
60
55
  readonly text: "{color.green.300}";
@@ -72,10 +67,6 @@ export declare const darkThemeOverrides: {
72
67
  readonly text: "{color.sky.300}";
73
68
  };
74
69
  readonly field: {
75
- readonly bg: "color-mix(in srgb, var(--prime-ref-color-gray-100) 6%, transparent)";
76
- readonly bgSurface: "color-mix(in srgb, var(--prime-ref-color-gray-100) 6%, transparent)";
77
- readonly bgHover: "color-mix(in srgb, var(--prime-ref-color-gray-100) 12%, transparent)";
78
- readonly bgFocus: "{color.gray.925}";
79
70
  readonly bgDisabled: "color-mix(in srgb, var(--prime-ref-color-gray-100) 4%, transparent)";
80
71
  };
81
72
  readonly focus: {
@@ -83,11 +74,13 @@ export declare const darkThemeOverrides: {
83
74
  };
84
75
  readonly control: {
85
76
  readonly thumb: "{color.gray.100}";
86
- readonly selected: "{color.gray.750}";
87
77
  };
78
+ /** A light chip over the dark UI: inverse like in light, so it reads over any layer. */
88
79
  readonly tooltip: {
89
- readonly bg: "{color.gray.750}";
90
- readonly text: "{color.gray.100}";
80
+ readonly bg: "{color.gray.100}";
81
+ readonly text: "{color.gray.925}";
82
+ readonly muted: "{color.gray.600}";
83
+ readonly fill: "rgba(17, 19, 24, 0.08)";
91
84
  };
92
85
  readonly palette: Record<string, {
93
86
  soft: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prime-ui-kit",
3
- "version": "0.9.2",
3
+ "version": "0.10.0",
4
4
  "packageManager": "bun@1.3.13",
5
5
  "description": "React 19 UI kit for product interfaces: 61 composable components on one design contract — forms, selects, tables, overlays, navigation, app shell. CSS Modules, --prime-* tokens, light and dark themes, TypeScript, a11y. Ships COMPONENT.md docs and copyable examples.",
6
6
  "main": "./dist/index.js",
@@ -60,7 +60,8 @@
60
60
  "src/layout/**/COMPONENT.md",
61
61
  "src/components/**/examples/**",
62
62
  "src/layout/**/examples/**",
63
- "LICENSE"
63
+ "LICENSE",
64
+ "THIRD_PARTY_NOTICES"
64
65
  ],
65
66
  "publishConfig": {
66
67
  "access": "public"
@@ -105,6 +106,10 @@
105
106
  "types": "./dist/color-picker.d.ts",
106
107
  "default": "./dist/color-picker.js"
107
108
  },
109
+ "./icons": {
110
+ "types": "./dist/icon-set.d.ts",
111
+ "default": "./dist/icons.js"
112
+ },
108
113
  "./bundle.css": "./dist/index.css",
109
114
  "./fonts.css": "./src/styles/fonts.css",
110
115
  "./reset.css": "./src/styles/reset.css",
@@ -113,9 +118,11 @@
113
118
  "./theme-dark.css": "./src/styles/theme-dark.css"
114
119
  },
115
120
  "scripts": {
116
- "clean": "rm -rf dist .dts-stage playground/dist",
121
+ "clean": "rm -rf dist dist-skill .dts-stage playground/dist",
117
122
  "tokens:build": "bun run scripts/build-tokens.ts",
118
123
  "docs:build": "bun run scripts/build-docs.ts",
124
+ "icons:add": "bun run scripts/add-glyph.ts",
125
+ "skill:build": "bun run scripts/build-skill.ts",
119
126
  "build": "bun run tokens:build && bun run scripts/bundle-lib.ts",
120
127
  "prepublishOnly": "bun run clean && bun run build",
121
128
  "playground:dev": "vite playground --config playground/vite.config.ts",
@@ -125,7 +132,7 @@
125
132
  "typecheck": "tsc --noEmit",
126
133
  "test": "vitest run",
127
134
  "test:watch": "vitest",
128
- "verify": "bun run check:ci && bun run typecheck && bun run test && bun run verify:tokens && bun run build",
135
+ "verify": "bun run check:ci && bun run typecheck && bun run test && bun run verify:tokens && bun run build && bun run skill:build",
129
136
  "verify:tokens": "bun run tokens:build && git diff --exit-code -- src/styles/tokens.css src/styles/theme-light.css src/styles/theme-dark.css"
130
137
  },
131
138
  "sideEffects": [
@@ -96,8 +96,8 @@ Accordion.Root frame (grouped) or column of cards (separate)
96
96
  ### layout
97
97
  | Value | Looks like | Use when | Default |
98
98
  |---|---|---|---|
99
- | `grouped` | One `card-bg` surface with card radius, `border-subtle` hairlines between items, no shadow of its own | FAQ, short settings lists | yes |
100
- | `separate` | Each item is a separate card (`card-bg`, card radius, `card-shadow`) with `--prime-space-2` between them | Heavier sections, checkout steps | |
99
+ | `grouped` | One surface — a layer of the ladder (`layer-current`) — with card radius, `border-subtle` hairlines between items, no shadow of its own | FAQ, short settings lists | yes |
100
+ | `separate` | Each item is a separate card (`layer-current`, card radius, the raised whisper on the page) with `--prime-space-2` between them | Heavier sections, checkout steps | |
101
101
 
102
102
  ### size
103
103
  | Value | Looks like | Use when | Default |
@@ -122,7 +122,7 @@ Accordion.Root frame (grouped) or column of cards (separate)
122
122
  |---|---|---|
123
123
  | open / closed | `value` / `defaultValue` + `onValueChange` | `data-state="open" \| "closed"` on Item, Trigger and Content; `aria-expanded` on Trigger; `inert` on a closed Content |
124
124
  | disabled | `disabled` on Item | `data-disabled` on Item and Trigger, native `disabled`, `text-disabled`, `cursor: not-allowed` |
125
- | hover / active | pointer | trigger `fill-subtle` / `fill-subtle-active` |
125
+ | hover / active | pointer | trigger `fill-muted-hover` (two ladder steps off the accordion's layer, so it never lands on the host's color at the edges) / `fill-strong` |
126
126
  | focus-visible | keyboard | inset focus ring inside the trigger |
127
127
 
128
128
  Root: `data-size`, `data-layout`. The panel height transitions through `grid-template-rows: 0fr → 1fr` (no JS measuring, follows content that resizes while open) and the body fades in while settling by `--prime-space-1`; open uses `base` + `enter`, close `fast` + `exit`. The chevron rotates over `base`. Instant under `prefers-reduced-motion`.
@@ -130,7 +130,7 @@ Root: `data-size`, `data-layout`. The panel height transitions through `grid-tem
130
130
  ## Layout & spacing
131
131
  - Takes the full width of its parent (`width: 100%`); the parent sets the measure.
132
132
  - Panel content is a flex column with `--prime-space-3` gap; it reserves `--prime-focus-space` at the top so focus rings of fields inside are not clipped.
133
- - Fields inside panels get the surface field fill automatically.
133
+ - The root is a layer of the surface ladder (`data-depth`): fields inside panels take that layer's fill automatically.
134
134
  - Stack several accordions or an accordion and other blocks with the page gap (`--prime-space-8` between groups).
135
135
 
136
136
  ## Accessibility
@@ -156,7 +156,7 @@ No keyboard interaction.
156
156
  - `alt="Анна Климова"` while the name is printed next to it → `alt=""`.
157
157
  - A random `color` on every render → derive it from the user id.
158
158
  - A custom presence dot → use `Avatar.Status`.
159
- - A group on a custom filled block with a canvas-colored ring → set `--avatar-ring` to that fill.
159
+ - A group on a custom filled block with a ring in the wrong color → set `--avatar-ring` to that fill (by default the ring is the current layer, `--prime-color-layer-current`).
160
160
  - `size` on every avatar in a group → set it once on `Avatar.Group`.
161
161
 
162
162
  ## Related