@storepass/components 0.3.0 → 0.5.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 (256) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +105 -66
  3. package/dist/components/Accordion/Accordion.d.ts +5 -1
  4. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  5. package/dist/components/Accordion/index.js +1 -1
  6. package/dist/components/AlertDialog/AlertDialog.d.ts +14 -9
  7. package/dist/components/AlertDialog/AlertDialog.d.ts.map +1 -1
  8. package/dist/components/AlertDialog/index.js +1 -1
  9. package/dist/components/Avatar/Avatar.d.ts +17 -2
  10. package/dist/components/Avatar/Avatar.d.ts.map +1 -1
  11. package/dist/components/Avatar/index.js +1 -1
  12. package/dist/components/Badge/Badge.d.ts +4 -1
  13. package/dist/components/Badge/Badge.d.ts.map +1 -1
  14. package/dist/components/Badge/index.js +1 -1
  15. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +10 -7
  16. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  17. package/dist/components/Breadcrumbs/index.js +1 -1
  18. package/dist/components/Button/Button.d.ts +9 -1
  19. package/dist/components/Button/Button.d.ts.map +1 -1
  20. package/dist/components/Button/index.js +1 -1
  21. package/dist/components/ButtonGroup/ButtonGroup.d.ts +5 -2
  22. package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  23. package/dist/components/ButtonGroup/index.js +1 -1
  24. package/dist/components/Card/Card.d.ts +11 -8
  25. package/dist/components/Card/Card.d.ts.map +1 -1
  26. package/dist/components/Card/index.js +1 -1
  27. package/dist/components/Carousel/Carousel.d.ts +14 -6
  28. package/dist/components/Carousel/Carousel.d.ts.map +1 -1
  29. package/dist/components/Carousel/index.js +1 -1
  30. package/dist/components/Checkbox/Checkbox.d.ts +4 -1
  31. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  32. package/dist/components/Checkbox/index.js +1 -1
  33. package/dist/components/Collapsible/Collapsible.d.ts +8 -4
  34. package/dist/components/Collapsible/Collapsible.d.ts.map +1 -1
  35. package/dist/components/Collapsible/index.js +1 -1
  36. package/dist/components/Combobox/Combobox.d.ts +27 -19
  37. package/dist/components/Combobox/Combobox.d.ts.map +1 -1
  38. package/dist/components/Combobox/index.js +1 -1
  39. package/dist/components/Command/Command.d.ts +39 -2
  40. package/dist/components/Command/Command.d.ts.map +1 -1
  41. package/dist/components/Command/index.d.ts +1 -1
  42. package/dist/components/Command/index.d.ts.map +1 -1
  43. package/dist/components/Command/index.js +1 -1
  44. package/dist/components/DatePicker/DatePicker.d.ts +9 -2
  45. package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
  46. package/dist/components/DatePicker/index.js +1 -1
  47. package/dist/components/Dialog/Dialog.d.ts +14 -9
  48. package/dist/components/Dialog/Dialog.d.ts.map +1 -1
  49. package/dist/components/Dialog/index.js +1 -1
  50. package/dist/components/DropdownMenu/DropdownMenu.d.ts +15 -12
  51. package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  52. package/dist/components/DropdownMenu/index.js +1 -1
  53. package/dist/components/FeaturedIcon/FeaturedIcon.d.ts +7 -2
  54. package/dist/components/FeaturedIcon/FeaturedIcon.d.ts.map +1 -1
  55. package/dist/components/FeaturedIcon/index.js +1 -1
  56. package/dist/components/Field/Field.d.ts +18 -11
  57. package/dist/components/Field/Field.d.ts.map +1 -1
  58. package/dist/components/Field/index.js +1 -1
  59. package/dist/components/FileUpload/FileUpload.d.ts +4 -1
  60. package/dist/components/FileUpload/FileUpload.d.ts.map +1 -1
  61. package/dist/components/FileUpload/index.js +1 -1
  62. package/dist/components/Footer/Footer.d.ts +26 -0
  63. package/dist/components/Footer/Footer.d.ts.map +1 -0
  64. package/dist/components/Footer/index.d.ts +3 -0
  65. package/dist/components/Footer/index.d.ts.map +1 -0
  66. package/dist/components/Footer/index.js +1 -0
  67. package/dist/components/Form/Form.d.ts +1 -1
  68. package/dist/components/Form/Form.d.ts.map +1 -1
  69. package/dist/components/Form/FormField.d.ts +1 -1
  70. package/dist/components/Form/FormField.d.ts.map +1 -1
  71. package/dist/components/Form/FormLayout.d.ts +53 -0
  72. package/dist/components/Form/FormLayout.d.ts.map +1 -0
  73. package/dist/components/Form/index.d.ts +1 -0
  74. package/dist/components/Form/index.d.ts.map +1 -1
  75. package/dist/components/Form/index.js +1 -1
  76. package/dist/components/Icon/Icon.d.ts +1 -1
  77. package/dist/components/Icon/Icon.d.ts.map +1 -1
  78. package/dist/components/Icon/index.js +1 -1
  79. package/dist/components/ImperativeDialog/ImperativeDialog.d.ts +4 -1
  80. package/dist/components/ImperativeDialog/ImperativeDialog.d.ts.map +1 -1
  81. package/dist/components/ImperativeDialog/index.js +1 -1
  82. package/dist/components/InlineAlert/InlineAlert.d.ts +22 -0
  83. package/dist/components/InlineAlert/InlineAlert.d.ts.map +1 -0
  84. package/dist/components/InlineAlert/index.d.ts +3 -0
  85. package/dist/components/InlineAlert/index.d.ts.map +1 -0
  86. package/dist/components/InlineAlert/index.js +1 -0
  87. package/dist/components/Input/Input.d.ts +8 -0
  88. package/dist/components/Input/Input.d.ts.map +1 -1
  89. package/dist/components/Input/index.js +1 -1
  90. package/dist/components/InputGroup/InputGroup.d.ts +14 -4
  91. package/dist/components/InputGroup/InputGroup.d.ts.map +1 -1
  92. package/dist/components/InputGroup/index.js +1 -1
  93. package/dist/components/Item/Item.d.ts +13 -9
  94. package/dist/components/Item/Item.d.ts.map +1 -1
  95. package/dist/components/Item/index.js +1 -1
  96. package/dist/components/Kbd/Kbd.d.ts +5 -2
  97. package/dist/components/Kbd/Kbd.d.ts.map +1 -1
  98. package/dist/components/Kbd/index.js +1 -1
  99. package/dist/components/Label/Label.d.ts +4 -1
  100. package/dist/components/Label/Label.d.ts.map +1 -1
  101. package/dist/components/Label/index.js +1 -1
  102. package/dist/components/LoadingIndicator/LoadingIndicator.d.ts +4 -1
  103. package/dist/components/LoadingIndicator/LoadingIndicator.d.ts.map +1 -1
  104. package/dist/components/LoadingIndicator/index.js +1 -1
  105. package/dist/components/MoneyAmount/MoneyAmount.d.ts +34 -0
  106. package/dist/components/MoneyAmount/MoneyAmount.d.ts.map +1 -0
  107. package/dist/components/MoneyAmount/formatMoney.d.ts +43 -0
  108. package/dist/components/MoneyAmount/formatMoney.d.ts.map +1 -0
  109. package/dist/components/MoneyAmount/index.d.ts +5 -0
  110. package/dist/components/MoneyAmount/index.d.ts.map +1 -0
  111. package/dist/components/MoneyAmount/index.js +1 -0
  112. package/dist/components/Navbar/Navbar.d.ts +19 -10
  113. package/dist/components/Navbar/Navbar.d.ts.map +1 -1
  114. package/dist/components/Navbar/index.js +1 -1
  115. package/dist/components/NumberField/NumberField.d.ts +10 -4
  116. package/dist/components/NumberField/NumberField.d.ts.map +1 -1
  117. package/dist/components/NumberField/index.js +1 -1
  118. package/dist/components/PageHeading/PageHeading.d.ts +83 -0
  119. package/dist/components/PageHeading/PageHeading.d.ts.map +1 -0
  120. package/dist/components/PageHeading/index.d.ts +3 -0
  121. package/dist/components/PageHeading/index.d.ts.map +1 -0
  122. package/dist/components/PageHeading/index.js +1 -0
  123. package/dist/components/PageLayout/PageLayout.d.ts +29 -0
  124. package/dist/components/PageLayout/PageLayout.d.ts.map +1 -0
  125. package/dist/components/PageLayout/index.d.ts +2 -0
  126. package/dist/components/PageLayout/index.d.ts.map +1 -0
  127. package/dist/components/PageLayout/index.js +1 -0
  128. package/dist/components/Pagination/Pagination.d.ts +10 -7
  129. package/dist/components/Pagination/Pagination.d.ts.map +1 -1
  130. package/dist/components/Pagination/index.js +1 -1
  131. package/dist/components/Panel/Panel.d.ts +5 -5
  132. package/dist/components/Panel/Panel.d.ts.map +1 -1
  133. package/dist/components/Panel/index.js +1 -1
  134. package/dist/components/PinInput/PinInput.d.ts +5 -2
  135. package/dist/components/PinInput/PinInput.d.ts.map +1 -1
  136. package/dist/components/PinInput/index.js +1 -1
  137. package/dist/components/Progress/Progress.d.ts +4 -1
  138. package/dist/components/Progress/Progress.d.ts.map +1 -1
  139. package/dist/components/Progress/index.js +1 -1
  140. package/dist/components/RadioGroup/RadioGroup.d.ts +5 -2
  141. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  142. package/dist/components/RadioGroup/index.js +1 -1
  143. package/dist/components/Rating/Rating.d.ts +7 -1
  144. package/dist/components/Rating/Rating.d.ts.map +1 -1
  145. package/dist/components/Rating/index.js +1 -1
  146. package/dist/components/Select/Select.d.ts +8 -1
  147. package/dist/components/Select/Select.d.ts.map +1 -1
  148. package/dist/components/Select/index.js +1 -1
  149. package/dist/components/Settings/Settings.d.ts +120 -0
  150. package/dist/components/Settings/Settings.d.ts.map +1 -0
  151. package/dist/components/Settings/index.d.ts +3 -0
  152. package/dist/components/Settings/index.d.ts.map +1 -0
  153. package/dist/components/Settings/index.js +1 -0
  154. package/dist/components/Sidebar/Sidebar.d.ts +24 -10
  155. package/dist/components/Sidebar/Sidebar.d.ts.map +1 -1
  156. package/dist/components/Sidebar/index.d.ts +1 -1
  157. package/dist/components/Sidebar/index.d.ts.map +1 -1
  158. package/dist/components/Sidebar/index.js +1 -1
  159. package/dist/components/Slider/Slider.d.ts +4 -1
  160. package/dist/components/Slider/Slider.d.ts.map +1 -1
  161. package/dist/components/Slider/index.js +1 -1
  162. package/dist/components/Table/Table.d.ts +11 -8
  163. package/dist/components/Table/Table.d.ts.map +1 -1
  164. package/dist/components/Table/index.js +1 -1
  165. package/dist/components/Tabs/Tabs.d.ts +16 -6
  166. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  167. package/dist/components/Tabs/index.js +1 -1
  168. package/dist/components/Tags/Tags.d.ts +4 -1
  169. package/dist/components/Tags/Tags.d.ts.map +1 -1
  170. package/dist/components/Tags/index.js +1 -1
  171. package/dist/components/Text/Text.d.ts +4 -4
  172. package/dist/components/Text/Text.d.ts.map +1 -1
  173. package/dist/components/Text/index.js +1 -1
  174. package/dist/components/Textarea/Textarea.d.ts +3 -0
  175. package/dist/components/Textarea/Textarea.d.ts.map +1 -1
  176. package/dist/components/Textarea/index.js +1 -1
  177. package/dist/components/Toast/Toast.d.ts +7 -2
  178. package/dist/components/Toast/Toast.d.ts.map +1 -1
  179. package/dist/components/Toast/index.js +1 -1
  180. package/dist/components/Toggle/Toggle.d.ts +5 -1
  181. package/dist/components/Toggle/Toggle.d.ts.map +1 -1
  182. package/dist/components/Toggle/index.js +1 -1
  183. package/dist/components/Tooltip/Tooltip.d.ts +9 -4
  184. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  185. package/dist/components/Tooltip/index.js +1 -1
  186. package/dist/components/VideoDialog/VideoDialog.d.ts +10 -9
  187. package/dist/components/VideoDialog/VideoDialog.d.ts.map +1 -1
  188. package/dist/components/VideoDialog/index.js +1 -1
  189. package/dist/components/index.d.ts +7 -1
  190. package/dist/components/index.d.ts.map +1 -1
  191. package/dist/index-27w72p7z.js +2 -0
  192. package/dist/{index-25w1pfzg.js → index-7abyvs9n.js} +1 -1
  193. package/dist/index-8b3c6nnb.js +2 -0
  194. package/dist/index-9v1g4s39.js +2 -0
  195. package/dist/index-f862wbmh.js +2 -0
  196. package/dist/index-qfdc271j.js +2 -0
  197. package/dist/index-s2mc6jzt.js +2 -0
  198. package/dist/index-st80n69g.js +2 -0
  199. package/dist/index.d.ts +1 -0
  200. package/dist/index.d.ts.map +1 -1
  201. package/dist/index.js +1 -1
  202. package/dist/lib/controlSize.d.ts +59 -0
  203. package/dist/lib/controlSize.d.ts.map +1 -0
  204. package/dist/lib/utils.js +2 -1
  205. package/dist/theme.css +212 -147
  206. package/package.json +32 -13
  207. package/dist/index-0ctxfsd7.js +0 -1
  208. package/dist/index-1fd47f5y.js +0 -1
  209. package/dist/index-22kkds9g.js +0 -0
  210. package/dist/index-2m3xy8p4.js +0 -1
  211. package/dist/index-2rp207rw.js +0 -2
  212. package/dist/index-2wpth8xr.js +0 -1
  213. package/dist/index-3k9xy0v9.js +0 -1
  214. package/dist/index-4dw1tfwb.js +0 -1
  215. package/dist/index-4x05g3vr.js +0 -1
  216. package/dist/index-5e0zx00q.js +0 -1
  217. package/dist/index-5g1h0raq.js +0 -1
  218. package/dist/index-70s966fy.js +0 -1
  219. package/dist/index-7mxk2r0a.js +0 -1
  220. package/dist/index-7tcckc48.js +0 -1
  221. package/dist/index-8c8ehjkc.js +0 -1
  222. package/dist/index-8cy2sgh0.js +0 -1
  223. package/dist/index-8gm2rxtq.js +0 -1
  224. package/dist/index-ah7cbd07.js +0 -1
  225. package/dist/index-ahz43gdp.js +0 -1
  226. package/dist/index-arpqzy5c.js +0 -1
  227. package/dist/index-bespbh11.js +0 -1
  228. package/dist/index-bnsfdvh5.js +0 -1
  229. package/dist/index-bpcynn56.js +0 -1
  230. package/dist/index-brksk1am.js +0 -1
  231. package/dist/index-caq9qzt1.js +0 -1
  232. package/dist/index-cp373wnj.js +0 -2
  233. package/dist/index-cr59zcha.js +0 -1
  234. package/dist/index-ct209x9n.js +0 -1
  235. package/dist/index-d3gjt5ee.js +0 -1
  236. package/dist/index-e8yrbg3r.js +0 -1
  237. package/dist/index-fbn1rd3s.js +0 -1
  238. package/dist/index-fgvvr0g6.js +0 -1
  239. package/dist/index-g7q96a0a.js +0 -1
  240. package/dist/index-gt5qfkt1.js +0 -1
  241. package/dist/index-j0gmrg5e.js +0 -0
  242. package/dist/index-jbzckcy9.js +0 -1
  243. package/dist/index-jwm4bwn3.js +0 -1
  244. package/dist/index-ktj07kw9.js +0 -1
  245. package/dist/index-mqyj3qgp.js +0 -1
  246. package/dist/index-mx2ee05d.js +0 -1
  247. package/dist/index-nbf81tzs.js +0 -1
  248. package/dist/index-pagn0z78.js +0 -1
  249. package/dist/index-q0b9mxmg.js +0 -1
  250. package/dist/index-r30b9hjw.js +0 -1
  251. package/dist/index-reeqt38g.js +0 -1
  252. package/dist/index-tnbcwg9p.js +0 -1
  253. package/dist/index-v0dbh5ep.js +0 -1
  254. package/dist/index-vvj2x8rm.js +0 -1
  255. package/dist/index-x35yxxgc.js +0 -1
  256. package/dist/index-xqdce72y.js +0 -1
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{a as yt,b as mt,c as bt}from"./index-arpqzy5c.js";import{d as ut,e as gt,f as Ct,g as ct}from"./index-d3gjt5ee.js";import{m as xt}from"./index-caq9qzt1.js";import{n as De,o as Se,p as fe,q as Fe,r as ve,s as Be,t as Ge,u as Ae,v as Le,w as Ne,x as Me,y as ke}from"./index-8c8ehjkc.js";import{A as He,z as we}from"./index-1fd47f5y.js";import{B as he,C as Re,D as Ee,E as Ke,F as ze,G as Ue,H as Oe,I as We}from"./index-bpcynn56.js";import{J as je,K as qe,L as Je,M as Qe,N as Xe,O as Ye}from"./index-2wpth8xr.js";import{P as Ze}from"./index-jwm4bwn3.js";import{Q as _e,R as $e,S as ot,T as rt,U as et,V as tt,W as pt,X as at}from"./index-5g1h0raq.js";import{Y as it,Z as st}from"./index-q0b9mxmg.js";import{$ as Pt,_ as nt,aa as dt,ba as lt}from"./index-8gm2rxtq.js";import{da as Ur,ea as Or,fa as Wr}from"./index-fbn1rd3s.js";import{ga as jr,ha as qr,ia as Jr,ja as Qr,ka as Xr,la as Yr,ma as Zr,na as _r,oa as $r,pa as oe,qa as re}from"./index-5e0zx00q.js";import{ra as ee,sa as te,ta as pe,ua as ae,va as ie,wa as se,xa as ne,ya as Pe}from"./index-tnbcwg9p.js";import{Aa as le,za as de}from"./index-v0dbh5ep.js";import{Ba as ye,Ca as me,Da as be,Ea as ue,Fa as ge}from"./index-nbf81tzs.js";import{Ga as Ce,Ha as ce}from"./index-cr59zcha.js";import{Ia as xe,Ja as Ve,Ka as Ie,La as Te}from"./index-pagn0z78.js";import{Ma as or,Na as rr,Oa as er,Pa as tr}from"./index-ktj07kw9.js";import{Sa as pr}from"./index-bespbh11.js";import{$a as yr,Ua as ar,Va as ir,Wa as sr,Xa as nr,Ya as Pr,Za as dr,_a as lr}from"./index-x35yxxgc.js";import{ab as mr,bb as br,cb as ur,db as gr,eb as Cr,fb as cr,gb as xr,hb as Vr,ib as Ir,jb as Tr,kb as Dr,lb as Sr}from"./index-g7q96a0a.js";import{mb as fr,nb as Fr}from"./index-ahz43gdp.js";import{ob as vr}from"./index-bnsfdvh5.js";import{pb as Br,qb as Gr}from"./index-e8yrbg3r.js";import{Ab as Er,Bb as Kr,Cb as zr,rb as Ar,sb as Lr,tb as Nr,ub as Mr,vb as kr,wb as wr,xb as Hr,yb as hr,zb as Rr}from"./index-4x05g3vr.js";import{Db as Vo,Eb as Io,Fb as To,Gb as Do}from"./index-3k9xy0v9.js";import{Hb as So,Ib as fo,Jb as Fo,Kb as vo,Lb as Bo,Mb as Go,Nb as Ao,Ob as Lo}from"./index-70s966fy.js";import{Pb as Yo,Qb as Zo}from"./index-fgvvr0g6.js";import{Rb as Jo,Sb as Qo,Tb as Xo}from"./index-r30b9hjw.js";import{Ub as No,Vb as Mo}from"./index-xqdce72y.js";import{Wb as _o,Xb as $o}from"./index-0ctxfsd7.js";import{$b as ho,Yb as ko,Zb as wo,_b as Ho,ac as Ro,bc as Eo,cc as Ko,dc as zo,ec as Uo,fc as Oo,gc as Wo,hc as jo,ic as qo}from"./index-jbzckcy9.js";import"./index-j0gmrg5e.js";import{kc as T,lc as D}from"./index-mx2ee05d.js";import{nc as S,pc as f,qc as F,rc as v,sc as B,tc as G,vc as A,xc as L}from"./index-reeqt38g.js";import{Ac as k,Bc as w,Cc as H,Dc as h,Ec as R,yc as N,zc as M}from"./index-ct209x9n.js";import{Fc as I}from"./index-cp373wnj.js";import{Gc as E,Hc as K,Ic as z}from"./index-mqyj3qgp.js";import{Jc as U,Kc as O,Lc as W,Mc as j,Nc as q,Oc as J,Pc as Q,Qc as X}from"./index-vvj2x8rm.js";import{$c as io,Rc as Y,Sc as Z,Tc as _,Uc as $,Vc as oo,Wc as ro,Xc as eo,Yc as to,Zc as po,_c as ao,ad as so}from"./index-2m3xy8p4.js";import{bd as Po,cd as lo,dd as yo,ed as mo,fd as bo,gd as uo,hd as go,id as Co,jd as co,kd as xo}from"./index-4dw1tfwb.js";import{qd as no}from"./index-ah7cbd07.js";import{rd as o,sd as r,td as e,ud as t,vd as p,wd as a,xd as i}from"./index-7mxk2r0a.js";import{Dd as s}from"./index-brksk1am.js";import{Ed as n,Fd as P,Gd as d}from"./index-gt5qfkt1.js";import{Hd as l,Id as y}from"./index-7tcckc48.js";import{Jd as b,Kd as u,Ld as g,Md as C,Nd as c,Od as x,Pd as V}from"./index-8cy2sgh0.js";import"./index-22kkds9g.js";import{Qd as m}from"./index-25w1pfzg.js";import"./index-2rp207rw.js";export{lt as useToast,ko as useInFieldContainer,rr as useImperativeDialog,tr as useConfirm,N as useCarousel,er as useAlert,yt as toggleVariants,mt as toggleThumbVariants,nt as toastVariants,it as textareaVariants,_e as textVariants,ot as textLinkVariants,qe as tabsTriggerVariants,je as tabsListVariants,et as strongVariants,we as sliderVariants,De as sidebarVariants,Ne as sidebarItemVariants,xe as selectTriggerVariants,Ve as selectPopupVariants,Ie as selectItemVariants,Ce as ratingVariants,me as radioItemVariants,be as radioIndicatorVariants,ye as radioGroupVariants,Jo as progressTrackVariants,Qo as progressIndicatorVariants,de as pinInputVariants,ee as panelVariants,pe as panelHeaderVariants,ne as panelFooterVariants,ie as panelBodyVariants,jr as paginationVariants,Jr as paginationLinkVariants,Qr as paginationEllipsisVariants,qr as paginationContentVariants,Ur as numberFieldInputVariants,Or as numberFieldButtonVariants,Ar as navbarVariants,Er as navbarItemVariants,Br as loadingIndicatorVariants,ur as itemVariants,Cr as itemMediaVariants,nr as inputGroupButtonVariants,ir as inputGroupAddonVariants,Yo as fileUploadVariants,Ho as fieldVariants,No as featuredIconVariants,Go as dropdownMenuSubTriggerVariants,Ao as dropdownMenuSubContentVariants,Bo as dropdownMenuShortcutVariants,vo as dropdownMenuSeparatorVariants,Fo as dropdownMenuLabelVariants,fo as dropdownMenuItemVariants,So as dropdownMenuContentVariants,Vo as datePickerTriggerVariants,Io as datePickerPopupVariants,To as datePickerDayVariants,Po as commandVariants,Co as commandShortcutVariants,uo as commandSeparatorVariants,yo as commandListVariants,go as commandItemVariants,co as commandInputWrapperVariants,lo as commandInputVariants,bo as commandGroupVariants,mo as commandEmptyVariants,eo as comboboxStatusVariants,oo as comboboxItemVariants,Y as comboboxInputVariants,Z as comboboxInputGroupVariants,to as comboboxGroupLabelVariants,ro as comboboxEmptyVariants,$ as comboboxContentVariants,po as comboboxChipsVariants,ao as comboboxChipVariants,io as comboboxChipRemoveVariants,_ as comboboxButtonVariants,U as collapsibleTriggerVariants,O as collapsiblePanelVariants,pt as codeVariants,E as checkboxVariants,K as checkboxIndicatorVariants,l as badgeVariants,n as avatarVariants,r as accordionTriggerVariants,e as accordionPanelVariants,o as accordionItemVariants,xt as VideoDialog,Ct as TooltipTrigger,ut as TooltipProvider,ct as TooltipContent,gt as Tooltip,bt as Toggle,dt as Toaster,Pt as ToastProvider,st as Textarea,rt as TextLink,$e as Text,Ze as Tags,Xe as TabsTrigger,Qe as TabsList,Ye as TabsContent,Je as Tabs,ze as TableRow,Re as TableHeader,Ue as TableHead,Ke as TableFooter,Oe as TableCell,We as TableCaption,Ee as TableBody,he as Table,tt as Strong,He as Slider,Ae as SidebarSpacer,Be as SidebarSection,ke as SidebarLabel,Me as SidebarItem,Le as SidebarHeading,fe as SidebarHeader,ve as SidebarFooter,Ge as SidebarDivider,Fe as SidebarBody,Se as Sidebar,Te as Select,ce as Rating,ge as RadioGroupItem,ue as RadioGroup,Xo as Progress,le as PinInput,ae as PanelHeader,Pe as PanelFooter,se as PanelBody,te as Panel,$r as PaginationPrevious,oe as PaginationNext,_r as PaginationLink,Zr as PaginationItem,re as PaginationEllipsis,Yr as PaginationContent,Xr as Pagination,Wr as NumberField,hr as NavbarSpacer,wr as NavbarSection,zr as NavbarLabel,Kr as NavbarItem,Rr as NavbarHeading,Nr as NavbarHeader,kr as NavbarFooter,Hr as NavbarDivider,Mr as NavbarBody,Lr as Navbar,Gr as LoadingIndicator,vr as Label,Fr as KbdGroup,fr as Kbd,Vr as ItemTitle,br as ItemSeparator,cr as ItemMedia,Dr as ItemHeader,mr as ItemGroup,Sr as ItemFooter,Ir as ItemDescription,xr as ItemContent,Tr as ItemActions,gr as Item,yr as InputGroupTextarea,dr as InputGroupText,lr as InputGroupInput,Pr as InputGroupButton,sr as InputGroupAddon,ar as InputGroup,pr as Input,or as ImperativeDialogProvider,m as Icon,$o as FormField,_o as Form,Zo as FileUpload,Oo as FieldTitle,Ro as FieldSet,jo as FieldSeparator,Eo as FieldLegend,Uo as FieldLabel,Ko as FieldGroup,qo as FieldError,Wo as FieldDescription,zo as FieldContent,wo as FieldContainerProvider,ho as Field,Mo as FeaturedIcon,Lo as DropdownMenu,no as Dialog,Do as DatePicker,xo as Command,so as Combobox,j as CollapsibleTrigger,W as CollapsibleRoot,q as CollapsiblePanel,J as CollapsibleContent,Q as CollapsibleChevron,X as Collapsible,at as Code,z as Checkbox,H as CarouselPrevious,h as CarouselNext,w as CarouselItem,R as CarouselDots,k as CarouselContent,M as Carousel,v as CardTitle,F as CardHeaderContent,f as CardHeader,L as CardFooter,B as CardDescription,A as CardContent,G as CardAction,S as Card,D as ButtonGroupSeparator,T as ButtonGroup,I as Button,b as Breadcrumbs,x as BreadcrumbSeparator,c as BreadcrumbPage,u as BreadcrumbList,C as BreadcrumbLink,g as BreadcrumbItem,V as BreadcrumbEllipsis,y as Badge,d as AvatarGroup,P as Avatar,s as AlertDialog,a as AccordionTrigger,p as AccordionItem,i as AccordionContent,t as Accordion};
1
+ import{a as $t}from"./components/VideoDialog/index.js";import{b as St,c as Dt,d as Ft,e as Lt,f as Nt,g as ft,h as vt,i as Gt}from"./components/Table/index.js";import"./components/Tabs/index.js";import{j as At}from"./components/Tags/index.js";import{k as Bt,l as Ht,m as Rt,n as Ot,o as Mt,p as _t,q as kt,r as Et}from"./components/Text/index.js";import{s as wt,t as ht}from"./components/Textarea/index.js";import{u as zt,v as Zt,w as Ut,x as Xt}from"./components/Toast/index.js";import{A as jt,y as Kt,z as Wt}from"./components/Toggle/index.js";import{B as qt,C as Jt,D as Qt,E as Yt}from"./components/Tooltip/index.js";import{F as wr,G as hr}from"./components/PinInput/index.js";import{H as zr,I as Zr,J as Ur,K as Xr,L as Kr}from"./components/RadioGroup/index.js";import{M as Wr,N as jr}from"./components/Rating/index.js";import{O as qr,P as Jr,Q as Qr,R as Yr}from"./components/Select/index.js";import{$ as Tt,S as dt,T as lt,U as mt,V as bt,W as ut,X as gt,Y as Ct,Z as ct,_ as It}from"./components/Settings/index.js";import"./components/Sidebar/index.js";import{aa as $r,ba as ot,ca as et,da as rt,ea as tt,fa as pt,ga as at,ha as it,ia as nt,ja as st,ka as Pt,la as yt}from"./index-qfdc271j.js";import{ma as xt,na as Vt}from"./components/Slider/index.js";import{oa as ke,pa as Ee}from"./components/LoadingIndicator/index.js";import{qa as we,ra as he,sa as ze,ta as Ze,ua as Ue,va as Xe}from"./components/MoneyAmount/index.js";import{Aa as Je,Ba as Qe,Ca as Ye,Da as $e,Ea as or,Fa as er,Ga as rr,Ha as tr,wa as Ke,xa as We,ya as je,za as qe}from"./components/Navbar/index.js";import{Ia as pr,Ja as ar,Ka as ir}from"./components/NumberField/index.js";import"./components/PageHeading/index.js";import{La as mr,Ma as br,Na as ur,Oa as gr,Pa as Cr,Qa as cr}from"./index-27w72p7z.js";import{Ra as nr,Sa as sr,Ta as Pr,Ua as yr,Va as dr,Wa as lr}from"./index-f862wbmh.js";import{Xa as Ir,Ya as Tr}from"./components/PageLayout/index.js";import{$a as Sr,Za as xr,_a as Vr,ab as Dr,bb as Fr,cb as Lr,db as Nr,eb as fr,fb as vr,gb as Gr,hb as Ar}from"./components/Pagination/index.js";import{ib as Br,jb as Hr,kb as Rr,lb as Or,mb as Mr,nb as _r,ob as kr,pb as Er}from"./components/Panel/index.js";import{qb as ye,rb as de,sb as le,tb as me}from"./components/ImperativeDialog/index.js";import{ub as be,vb as ue}from"./components/InlineAlert/index.js";import{wb as ge}from"./components/Input/index.js";import{Ab as Te,Bb as xe,Cb as Ve,Db as Se,Eb as De,xb as Ce,yb as ce,zb as Ie}from"./components/InputGroup/index.js";import{Fb as Fe,Gb as Le,Hb as Ne,Ib as fe,Jb as ve,Kb as Ge,Lb as Ae,Mb as Be,Nb as He,Ob as Re,Pb as Oe,Qb as Me}from"./components/Item/index.js";import"./components/Label/index.js";import{Rb as _e}from"./index-s2mc6jzt.js";import{Sb as Vo,Tb as So,Ub as Do,Vb as Fo}from"./components/DatePicker/index.js";import{$b as Ao,Wb as Lo,Xb as No,Yb as fo,Zb as vo,_b as Go,ac as Bo,bc as Ho}from"./components/DropdownMenu/index.js";import{cc as Yo,dc as $o}from"./components/FileUpload/index.js";import{ec as qo,fc as Jo,gc as Qo}from"./components/Progress/index.js";import{hc as Ro,ic as Oo}from"./components/FeaturedIcon/index.js";import{jc as oe,kc as ee,lc as re,mc as te,nc as pe}from"./components/Footer/index.js";import{oc as ae,pc as ie,qc as ne,rc as se,sc as Pe}from"./components/Form/index.js";import{Ac as Zo,Bc as Uo,Cc as Xo,Dc as Ko,Ec as Wo,Fc as jo,tc as Mo,uc as _o,vc as ko,wc as Eo,xc as wo,yc as ho,zc as zo}from"./components/Field/index.js";import"./components/Button/index.js";import{Gc as V,Hc as S}from"./components/ButtonGroup/index.js";import"./components/Card/index.js";import{Jc as D,Lc as F,Mc as L,Nc as N,Oc as f,Pc as v,Rc as G,Tc as A}from"./index-9v1g4s39.js";import{Uc as B,Vc as H,Wc as R,Xc as O,Yc as M,Zc as _,_c as k}from"./components/Carousel/index.js";import{ad as x}from"./index-8b3c6nnb.js";import{bd as E,cd as w,dd as h}from"./components/Checkbox/index.js";import{ed as z,fd as Z,gd as U,hd as X,id as K,jd as W,kd as j,ld as q}from"./components/Collapsible/index.js";import{md as J,nd as Q,od as Y,pd as $,qd as oo,rd as eo,sd as ro,td as to,ud as po,vd as ao,wd as io,xd as no}from"./components/Combobox/index.js";import{Ad as rp,Bd as tp,Cd as pp,Dd as ap,Ed as ip,Fd as np,Gd as sp,Hd as Pp,Id as yp,Jd as dp,Kd as lp,Ld as mp,Md as bp,yd as op,zd as ep}from"./index-st80n69g.js";import{Nd as lo,Od as mo,Pd as bo,Qd as uo,Rd as go,Sd as Co,Td as co,Ud as Io,Vd as To,Wd as xo}from"./components/Command/index.js";import{Xd as Po,Yd as yo}from"./components/Kbd/index.js";import{Zd as so}from"./components/Dialog/index.js";import{$d as e,_d as o,ae as r,be as t,ce as p,de as a,ee as i}from"./components/Accordion/index.js";import{fe as n}from"./components/AlertDialog/index.js";import{ge as s,he as P,ie as y}from"./components/Avatar/index.js";import{je as d,ke as l}from"./components/Badge/index.js";import{le as b,me as u,ne as g,oe as C,pe as c,qe as I,re as T}from"./components/Breadcrumbs/index.js";import"./components/Icon/index.js";import{se as m}from"./index-7abyvs9n.js";import"./lib/utils.js";export{Xt as useToast,Mo as useInFieldContainer,de as useImperativeDialog,me as useConfirm,B as useCarousel,le as useAlert,Kt as toggleVariants,Wt as toggleThumbVariants,zt as toastVariants,wt as textareaVariants,Bt as textVariants,Rt as textLinkVariants,sr as tabsTriggerVariants,nr as tabsListVariants,Mt as strongVariants,xt as sliderVariants,$r as sidebarVariants,st as sidebarItemVariants,dt as settingsContainerVariants,qr as selectTriggerVariants,Jr as selectPopupVariants,Qr as selectItemVariants,Wr as ratingVariants,Zr as radioItemVariants,Ur as radioIndicatorVariants,zr as radioGroupVariants,qo as progressTrackVariants,Jo as progressIndicatorVariants,wr as pinInputVariants,Br as panelVariants,Rr as panelHeaderVariants,kr as panelFooterVariants,Mr as panelBodyVariants,xr as paginationVariants,Sr as paginationLinkVariants,Dr as paginationEllipsisVariants,Vr as paginationContentVariants,mr as pageHeadingVariants,br as pageHeadingTitleVariants,pr as numberFieldInputVariants,ar as numberFieldButtonVariants,Ke as navbarVariants,er as navbarItemVariants,he as moneySign,ze as moneyCurrencyCode,Ue as moneyAmountVariants,ke as loadingIndicatorVariants,Ne as itemVariants,ve as itemMediaVariants,we as isMoneyLike,Te as inputGroupButtonVariants,ce as inputGroupAddonVariants,be as inlineAlertVariants,Ze as formatMoney,Yo as fileUploadVariants,ko as fieldVariants,Ro as featuredIconVariants,Ao as dropdownMenuSubTriggerVariants,Bo as dropdownMenuSubContentVariants,Go as dropdownMenuShortcutVariants,vo as dropdownMenuSeparatorVariants,fo as dropdownMenuLabelVariants,No as dropdownMenuItemVariants,Lo as dropdownMenuContentVariants,Vo as datePickerTriggerVariants,So as datePickerPopupVariants,Do as datePickerDayVariants,lo as commandVariants,Io as commandShortcutVariants,Co as commandSeparatorVariants,bo as commandListVariants,co as commandItemVariants,To as commandInputWrapperVariants,mo as commandInputVariants,go as commandGroupVariants,uo as commandEmptyVariants,ro as comboboxStatusVariants,oo as comboboxItemVariants,J as comboboxInputVariants,Q as comboboxInputGroupVariants,to as comboboxGroupLabelVariants,eo as comboboxEmptyVariants,$ as comboboxContentVariants,po as comboboxChipsVariants,ao as comboboxChipVariants,io as comboboxChipRemoveVariants,Y as comboboxButtonVariants,z as collapsibleTriggerVariants,Z as collapsiblePanelVariants,kt as codeVariants,E as checkboxVariants,w as checkboxIndicatorVariants,d as badgeVariants,s as avatarVariants,e as accordionTriggerVariants,r as accordionPanelVariants,o as accordionItemVariants,$t as VideoDialog,Qt as TooltipTrigger,qt as TooltipProvider,Yt as TooltipContent,Jt as Tooltip,jt as Toggle,Ut as Toaster,Zt as ToastProvider,ht as Textarea,Ot as TextLink,Ht as Text,At as Tags,dr as TabsTrigger,yr as TabsList,lr as TabsContent,Pr as Tabs,Nt as TableRow,Dt as TableHeader,ft as TableHead,Lt as TableFooter,vt as TableCell,Gt as TableCaption,Ft as TableBody,St as Table,_t as Strong,Vt as Slider,it as SidebarSpacer,pt as SidebarSection,yt as SidebarLabel,Pt as SidebarItem,nt as SidebarHeading,et as SidebarHeader,tt as SidebarFooter,at as SidebarDivider,rt as SidebarBody,ot as Sidebar,Ct as SettingsSeparator,ut as SettingsSection,gt as SettingsRow,Tt as SettingsNavItem,It as SettingsNavGroup,ct as SettingsNav,bt as SettingsHeader,lt as SettingsContainer,mt as SettingsBackButton,Yr as Select,jr as Rating,Kr as RadioGroupItem,Xr as RadioGroup,Qo as Progress,hr as PinInput,Or as PanelHeader,Er as PanelFooter,_r as PanelBody,Hr as Panel,vr as PaginationPrevious,Gr as PaginationNext,fr as PaginationLink,Nr as PaginationItem,Ar as PaginationEllipsis,Lr as PaginationContent,Fr as Pagination,Tr as PageLayoutColumns,Ir as PageLayout,cr as PageHeadingNavLink,Cr as PageHeadingNav,gr as PageHeadingBackLink,ur as PageHeading,ir as NumberField,$e as NavbarSpacer,Qe as NavbarSection,tr as NavbarLabel,rr as NavbarItem,or as NavbarHeading,je as NavbarHeader,Je as NavbarFooter,Ye as NavbarDivider,qe as NavbarBody,We as Navbar,Xe as MoneyAmount,Ee as LoadingIndicator,_e as Label,yo as KbdGroup,Po as Kbd,Be as ItemTitle,Le as ItemSeparator,Ge as ItemMedia,Oe as ItemHeader,Fe as ItemGroup,Me as ItemFooter,He as ItemDescription,Ae as ItemContent,Re as ItemActions,fe as Item,De as InputGroupTextarea,Ve as InputGroupText,Se as InputGroupInput,xe as InputGroupButton,Ie as InputGroupAddon,Ce as InputGroup,ge as Input,ue as InlineAlert,ye as ImperativeDialogProvider,m as Icon,ne as FormSection,se as FormRow,ie as FormField,Pe as FormActions,ae as Form,ee as FooterRow,te as FooterNav,re as FooterMeta,pe as FooterLink,oe as Footer,$o as FileUpload,Xo as FieldTitle,wo as FieldSet,Wo as FieldSeparator,ho as FieldLegend,Uo as FieldLabel,zo as FieldGroup,jo as FieldError,Ko as FieldDescription,Zo as FieldContent,_o as FieldContainerProvider,Eo as Field,Oo as FeaturedIcon,Ho as DropdownMenu,so as Dialog,Fo as DatePicker,xo as Command,no as Combobox,X as CollapsibleTrigger,U as CollapsibleRoot,K as CollapsiblePanel,W as CollapsibleContent,j as CollapsibleChevron,q as Collapsible,Et as Code,h as Checkbox,M as CarouselPrevious,_ as CarouselNext,O as CarouselItem,k as CarouselDots,R as CarouselContent,H as Carousel,N as CardTitle,L as CardHeaderContent,F as CardHeader,A as CardFooter,f as CardDescription,G as CardContent,v as CardAction,D as Card,tp as CONTROL_TEXT,op as CONTROL_SIZES,pp as CONTROL_INPUT_TEXT,np as CONTROL_INPUT_SIZE,yp as CONTROL_ICON_PAD,Pp as CONTROL_ICON_EDGE,bp as CONTROL_HEIGHT_TEXT_WITH_ICON,ap as CONTROL_HEIGHT_TEXT,ep as CONTROL_HEIGHT_PX,rp as CONTROL_HEIGHT_CLASS,dp as CONTROL_FIELD_SIZE_WITH_ICON,mp as CONTROL_FIELD_SIZE_TRAILING_ICON,lp as CONTROL_FIELD_SIZE_LEADING_ICON,ip as CONTROL_FIELD_SIZE,sp as CONTROL_FIELD_ICON,S as ButtonGroupSeparator,V as ButtonGroup,x as Button,b as Breadcrumbs,I as BreadcrumbSeparator,c as BreadcrumbPage,u as BreadcrumbList,C as BreadcrumbLink,g as BreadcrumbItem,T as BreadcrumbEllipsis,l as Badge,y as AvatarGroup,P as Avatar,n as AlertDialog,a as AccordionTrigger,p as AccordionItem,i as AccordionContent,t as Accordion};
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Shared size + type contract for Button, Input, Select, Combobox,
3
+ * NumberField, DatePicker, and InputGroup.
4
+ *
5
+ * sm/md/lg share the same height so controls align in a toolbar row. Type is
6
+ * `text-sm / leading-5 / font-medium` at every size so a button, select, and
7
+ * date picker read as one family — not a mix of semibold actions and regular
8
+ * fields. Native `<input>` elements use the same metrics, stepping to 16px
9
+ * only on coarse pointers so iOS doesn't zoom on focus.
10
+ *
11
+ * Decorative icons (search, calendar, chevron) sit on a tighter edge inset
12
+ * than text: the glyph's bounding box includes empty padding, so `pl-2`/`pr-2`
13
+ * matches the optical inset of `px-3` text. Nested icon *buttons* (Combobox
14
+ * trigger, NumberField steppers) go further — `p-0.5` so they fill the inner
15
+ * height concentrically.
16
+ */
17
+ export declare const CONTROL_SIZES: readonly ["sm", "md", "lg"];
18
+ export type ControlSize = (typeof CONTROL_SIZES)[number];
19
+ /** Pixel heights of `h-8` / `h-9` / `h-10` at a 16px root font size. */
20
+ export declare const CONTROL_HEIGHT_PX: Record<ControlSize, number>;
21
+ export declare const CONTROL_HEIGHT_CLASS: Record<ControlSize, string>;
22
+ /**
23
+ * Type for every sm/md/lg control: 14px / 20px / medium.
24
+ * Weight is medium (not regular or semibold) so outline buttons, selects,
25
+ * and filled values share one voice in a toolbar.
26
+ */
27
+ export declare const CONTROL_TEXT = "text-sm leading-5 font-medium";
28
+ /**
29
+ * Native `<input>` / `<textarea>`: same metrics as `CONTROL_TEXT`, with 16px
30
+ * on coarse pointers so iOS Safari doesn't zoom on focus.
31
+ */
32
+ export declare const CONTROL_INPUT_TEXT = "text-sm leading-5 font-medium [@media(pointer:coarse)]:text-base";
33
+ /** Height + type, no horizontal padding — for grouped/wrapped controls. */
34
+ export declare const CONTROL_HEIGHT_TEXT: Record<ControlSize, string>;
35
+ /**
36
+ * Standalone field size: height, type, and horizontal text inset.
37
+ * sm/md share `px-3`; lg steps to `px-3.5` to match Button lg.
38
+ */
39
+ export declare const CONTROL_FIELD_SIZE: Record<ControlSize, string>;
40
+ /** Same geometry as `CONTROL_FIELD_SIZE` with iOS-safe type on native inputs. */
41
+ export declare const CONTROL_INPUT_SIZE: Record<ControlSize, string>;
42
+ export declare const CONTROL_FIELD_ICON: Record<ControlSize, string>;
43
+ /**
44
+ * Optical edge inset for a decorative leading/trailing icon.
45
+ * 8px at sm/md, 10px at lg — 4px tighter than the text inset.
46
+ */
47
+ export declare const CONTROL_ICON_EDGE: Record<ControlSize, {
48
+ leading: string;
49
+ trailing: string;
50
+ }>;
51
+ /** Button/field padding when an icon is present (tucks both sides). */
52
+ export declare const CONTROL_ICON_PAD: Record<ControlSize, string>;
53
+ export declare const CONTROL_FIELD_SIZE_WITH_ICON: Record<ControlSize, string>;
54
+ /** Leading icon (search, calendar): tuck the start edge, keep text inset at the end. */
55
+ export declare const CONTROL_FIELD_SIZE_LEADING_ICON: Record<ControlSize, string>;
56
+ /** Trailing icon (select chevron): tuck the end edge, keep text inset at the start. */
57
+ export declare const CONTROL_FIELD_SIZE_TRAILING_ICON: Record<ControlSize, string>;
58
+ export declare const CONTROL_HEIGHT_TEXT_WITH_ICON: Record<ControlSize, string>;
59
+ //# sourceMappingURL=controlSize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controlSize.d.ts","sourceRoot":"","sources":["../../src/lib/controlSize.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,eAAO,MAAM,aAAa,6BAA8B,CAAC;AACzD,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD,wEAAwE;AACxE,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAIzD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAI5D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,kCAAkC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,kBAAkB,qEAAuD,CAAC;AAEvF,2EAA2E;AAC3E,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAI3D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAI1D,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAI1D,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAI1D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CACrC,WAAW,EACX;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAKrC,CAAC;AAEF,uEAAuE;AACvE,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAIxD,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAIpE,CAAC;AAEF,wFAAwF;AACxF,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAIvE,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,gCAAgC,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAIxE,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAIrE,CAAC"}
package/dist/lib/utils.js CHANGED
@@ -1 +1,2 @@
1
- import{Rd as a}from"../index-2rp207rw.js";export{a as cn};
1
+ import{cx as o}from"class-variance-authority";import{twMerge as e}from"tailwind-merge";function n(...t){return e(o(t))}export{n as cn};
2
+ export{n as te};
package/dist/theme.css CHANGED
@@ -3,20 +3,37 @@
3
3
  *
4
4
  * Structure:
5
5
  * 1. Typography + shadows — display/text + shadow scales.
6
- * 2. Color palette — brand/error/warning/success/info scales generated
7
- * from our exact brand colors (scripts/gen-scale.ts),
8
- * greys reference Tailwind `slate`.
6
+ * 2. Color palette — gray + brand/error/warning/success/info scales
7
+ * generated by scripts/gen-scale.ts (OKLCH, shared
8
+ * lightness targets, brand anchors pinned exactly).
9
9
  * 3. Utility color scales — `utility-*` aliases for badges/charts.
10
- * 4. Semantic colors — text-/fg-/bg-/border-* (raw `--color-*` vars).
11
- * 5. Property-alias utils — clean class names (text-tertiary, bg-brand-solid…)
10
+ * 4. Semantic colors — text-/fg-/bg-/border-* (raw `--color-*` vars),
11
+ * including alpha "ink" overlays for stacked
12
+ * surfaces.
13
+ * 5. Property-alias utils — clean class names (text-tertiary, bg-ink-well…)
12
14
  * 6. Compat tokens — existing shadcn-style tokens kept working.
13
15
  *
16
+ * Color rules (enforced by gen-scale.ts + this mapping):
17
+ * - ONE neutral family: `gray`, an achromatic Storepass neutral. No slate /
18
+ * stock-gray / one-off hex greys — every surface, border, and text grey
19
+ * shares the same tone without competing with the brand hue.
20
+ * - Solids are peers: every `*-solid` role uses the step that passes
21
+ * ≥ 4.5:1 with white text (600 for all hues). Warning is the exception —
22
+ * amber can't get there, so its solid stays the light anchor (400) and
23
+ * always pairs with the dark foreground token.
24
+ * - Ramps are evenly spaced in OKLCH lightness, so "one step darker" is the
25
+ * same visual move in every hue (hover/pressed behave consistently).
26
+ * - Stacked surfaces use ink: fills for tracks/wells, hover, and pressed
27
+ * states, and hairline borders on non-white surfaces, are translucent
28
+ * near-black — they composite correctly on any surface instead of
29
+ * assuming a white page.
30
+ *
14
31
  * Light mode only for now; the semantic layer is structured so a `.dark-mode`
15
32
  * block can be layered on later.
16
33
  *
17
34
  * ⚠️ primary / secondary collision: in our current (shadcn) components
18
35
  * `bg-primary`/`text-primary`/`border-primary` mean BRAND, and `bg-secondary`
19
- * means a soft slate surface. The semantic layer also defines neutral
36
+ * means a soft grey surface. The semantic layer also defines neutral
20
37
  * base surface/text under these names. To avoid breaking today's components we
21
38
  * keep the shadcn meaning for those four used utilities (we do NOT emit the
22
39
  * neutral property aliases). The neutral surfaces are still available via the
@@ -39,10 +56,17 @@
39
56
  --text-xl: calc(var(--spacing) * 5);
40
57
  --text-xl--line-height: calc(var(--spacing) * 7.5);
41
58
 
59
+ /* Display ramp: -2% tracking at every step so the smaller display sizes
60
+ set as tightly as display-md+. */
61
+ --text-display-2xs: calc(var(--spacing) * 5);
62
+ --text-display-2xs--line-height: calc(var(--spacing) * 6.5);
63
+ --text-display-2xs--letter-spacing: -0.4px;
42
64
  --text-display-xs: calc(var(--spacing) * 6);
43
65
  --text-display-xs--line-height: calc(var(--spacing) * 8);
66
+ --text-display-xs--letter-spacing: -0.48px;
44
67
  --text-display-sm: calc(var(--spacing) * 7.5);
45
68
  --text-display-sm--line-height: calc(var(--spacing) * 9.5);
69
+ --text-display-sm--letter-spacing: -0.6px;
46
70
  --text-display-md: calc(var(--spacing) * 9);
47
71
  --text-display-md--line-height: calc(var(--spacing) * 11);
48
72
  --text-display-md--letter-spacing: -0.72px;
@@ -104,75 +128,89 @@
104
128
  --color-alpha-white: rgb(255 255 255);
105
129
  --color-alpha-black: rgb(0 0 0);
106
130
 
131
+ /* gray (Storepass achromatic neutral — overrides Tailwind gray) */
132
+ --color-gray-25: #fdfdfd;
133
+ --color-gray-50: #fafafa;
134
+ --color-gray-100: #f2f2f2;
135
+ --color-gray-200: #e4e4e4;
136
+ --color-gray-300: #cecece;
137
+ --color-gray-400: #9d9d9d;
138
+ --color-gray-500: #6d6d6d;
139
+ --color-gray-600: #545454;
140
+ --color-gray-700: #3e3e3e;
141
+ --color-gray-800: #282828;
142
+ --color-gray-900: #151515;
143
+ --color-gray-950: #050505;
144
+
107
145
  /* brand (anchor #8150e9 @ 600) */
108
- --color-brand-25: #faf8fe;
109
- --color-brand-50: #f5f2fd;
110
- --color-brand-100: #e8dffb;
111
- --color-brand-200: #d5c5f8;
112
- --color-brand-300: #bca2f3;
113
- --color-brand-400: #a785f0;
114
- --color-brand-500: #946bec;
146
+ --color-brand-25: #faf9ff;
147
+ --color-brand-50: #f6f4ff;
148
+ --color-brand-100: #ede9ff;
149
+ --color-brand-200: #ddd6ff;
150
+ --color-brand-300: #c8bbff;
151
+ --color-brand-400: #b29cff;
152
+ --color-brand-500: #9a73ff;
115
153
  --color-brand-600: #8150e9;
116
- --color-brand-700: #633db2;
117
- --color-brand-800: #442a7b;
118
- --color-brand-900: #2a1a4b;
119
- --color-brand-950: #0f091b;
120
-
121
- /* error (anchor #fa5c7c @ 600) */
122
- --color-error-25: #fff8fa;
123
- --color-error-50: #fff3f5;
124
- --color-error-100: #fee1e7;
125
- --color-error-200: #fdc9d3;
126
- --color-error-300: #fca9ba;
127
- --color-error-400: #fc8da4;
128
- --color-error-500: #fb7590;
129
- --color-error-600: #fa5c7c;
130
- --color-error-700: #bf465f;
131
- --color-error-800: #843142;
132
- --color-error-900: #511e28;
133
- --color-error-950: #1d0b0f;
134
-
135
- /* warning (anchor #ffbc00 @ 500) */
136
- --color-warning-25: #fffcf5;
137
- --color-warning-50: #fff9e8;
138
- --color-warning-100: #fff1c8;
139
- --color-warning-200: #ffe59b;
140
- --color-warning-300: #ffd560;
141
- --color-warning-400: #ffc82e;
142
- --color-warning-500: #ffbc00;
143
- --color-warning-600: #c59100;
144
- --color-warning-700: #976f00;
145
- --color-warning-800: #684d00;
146
- --color-warning-900: #402f00;
147
- --color-warning-950: #171100;
148
-
149
- /* success (anchor #0acf97 @ 500) */
150
- --color-success-25: #f5fdfb;
151
- --color-success-50: #e9fbf6;
152
- --color-success-100: #cbf5e9;
153
- --color-success-200: #9fecd6;
154
- --color-success-300: #66e1be;
155
- --color-success-400: #36d8aa;
156
- --color-success-500: #0acf97;
157
- --color-success-600: #08a075;
158
- --color-success-700: #067a59;
159
- --color-success-800: #04553e;
160
- --color-success-900: #033426;
161
- --color-success-950: #01130e;
154
+ --color-brand-700: #6b32cf;
155
+ --color-brand-800: #5612b1;
156
+ --color-brand-900: #3f0088;
157
+ --color-brand-950: #29005c;
158
+
159
+ /* error (anchor #fa5c7c @ 500) */
160
+ --color-error-25: #fff8f9;
161
+ --color-error-50: #fff2f3;
162
+ --color-error-100: #ffe7e9;
163
+ --color-error-200: #ffd1d6;
164
+ --color-error-300: #ffb2bb;
165
+ --color-error-400: #ff8e9f;
166
+ --color-error-500: #fa5c7c;
167
+ --color-error-600: #da1656;
168
+ --color-error-700: #b50043;
169
+ --color-error-800: #8e0033;
170
+ --color-error-900: #680024;
171
+ --color-error-950: #450015;
172
+
173
+ /* warning (anchor #ffbc00 @ 400) */
174
+ --color-warning-25: #fff9ef;
175
+ --color-warning-50: #fff6e6;
176
+ --color-warning-100: #ffefd3;
177
+ --color-warning-200: #ffe3af;
178
+ --color-warning-300: #ffd177;
179
+ --color-warning-400: #ffbc00;
180
+ --color-warning-500: #cf9800;
181
+ --color-warning-600: #a17500;
182
+ --color-warning-700: #825e00;
183
+ --color-warning-800: #644800;
184
+ --color-warning-900: #483300;
185
+ --color-warning-950: #2e1f00;
186
+
187
+ /* success (anchor #0acf97 @ 400) */
188
+ --color-success-25: #f3fdf8;
189
+ --color-success-50: #e8fbf2;
190
+ --color-success-100: #d2f7e5;
191
+ --color-success-200: #aaeed0;
192
+ --color-success-300: #71e0b3;
193
+ --color-success-400: #0acf97;
194
+ --color-success-500: #00a97b;
195
+ --color-success-600: #00855f;
196
+ --color-success-700: #006c4d;
197
+ --color-success-800: #00553c;
198
+ --color-success-900: #003e2b;
199
+ --color-success-950: #00291b;
162
200
 
163
201
  /* info (anchor #2c8ef8 @ 500) */
164
202
  --color-info-25: #f7faff;
165
- --color-info-50: #ecf5fe;
166
- --color-info-100: #d2e7fe;
167
- --color-info-200: #acd3fc;
168
- --color-info-300: #7bb8fb;
169
- --color-info-400: #52a2f9;
203
+ --color-info-50: #eff6ff;
204
+ --color-info-100: #dfedff;
205
+ --color-info-200: #c2ddff;
206
+ --color-info-300: #99c7ff;
207
+ --color-info-400: #6baeff;
170
208
  --color-info-500: #2c8ef8;
171
- --color-info-600: #226ec0;
172
- --color-info-700: #1a5493;
173
- --color-info-800: #123a65;
174
- --color-info-900: #0b243e;
175
- --color-info-950: #040d17;
209
+ --color-info-600: #006ed0;
210
+ --color-info-700: #0059ab;
211
+ --color-info-800: #004688;
212
+ --color-info-900: #003366;
213
+ --color-info-950: #002146;
176
214
 
177
215
  /* Storepass single-value palette aliases (kept for compatibility) */
178
216
  --color-blue: #2c8ef8;
@@ -187,16 +225,15 @@
187
225
 
188
226
  /* ============================================================
189
227
  * UTILITY COLOR SCALES — for badges, charts, tags (`utility-*`)
190
- * Greys map to Tailwind `slate`; the rest to our generated scales.
191
228
  * ============================================================ */
192
- --color-utility-gray-50: var(--color-slate-50);
193
- --color-utility-gray-100: var(--color-slate-100);
194
- --color-utility-gray-200: var(--color-slate-200);
195
- --color-utility-gray-300: var(--color-slate-300);
196
- --color-utility-gray-400: var(--color-slate-400);
197
- --color-utility-gray-500: var(--color-slate-500);
198
- --color-utility-gray-600: var(--color-slate-600);
199
- --color-utility-gray-700: var(--color-slate-700);
229
+ --color-utility-gray-50: var(--color-gray-50);
230
+ --color-utility-gray-100: var(--color-gray-100);
231
+ --color-utility-gray-200: var(--color-gray-200);
232
+ --color-utility-gray-300: var(--color-gray-300);
233
+ --color-utility-gray-400: var(--color-gray-400);
234
+ --color-utility-gray-500: var(--color-gray-500);
235
+ --color-utility-gray-600: var(--color-gray-600);
236
+ --color-utility-gray-700: var(--color-gray-700);
200
237
 
201
238
  --color-utility-brand-50: var(--color-brand-50);
202
239
  --color-utility-brand-100: var(--color-brand-100);
@@ -245,22 +282,22 @@
245
282
 
246
283
  /* ============================================================
247
284
  * SEMANTIC — TEXT colors
248
- * (text-*-primary use the 700 step so error/warning/success text
249
- * stays readable on white, since our anchors are light.)
285
+ * (status text uses the 700 step so it stays readable on the
286
+ * 25/50 tinted surfaces it usually sits on.)
250
287
  * ============================================================ */
251
- --color-text-primary: #2d2d2d;
288
+ --color-text-primary: var(--color-gray-800);
252
289
  --color-text-primary_on-brand: var(--color-alpha-white);
253
- --color-text-secondary: var(--color-slate-700);
254
- --color-text-secondary_hover: var(--color-slate-800);
290
+ --color-text-secondary: var(--color-gray-700);
291
+ --color-text-secondary_hover: var(--color-gray-800);
255
292
  --color-text-secondary_on-brand: var(--color-brand-200);
256
- --color-text-tertiary: var(--color-slate-500);
257
- --color-text-tertiary_hover: var(--color-slate-600);
293
+ --color-text-tertiary: var(--color-gray-500);
294
+ --color-text-tertiary_hover: var(--color-gray-600);
258
295
  --color-text-tertiary_on-brand: var(--color-brand-200);
259
- --color-text-quaternary: var(--color-slate-400);
296
+ --color-text-quaternary: var(--color-gray-400);
260
297
  --color-text-quaternary_on-brand: var(--color-brand-300);
261
- --color-text-disabled: var(--color-slate-400);
262
- --color-text-placeholder: var(--color-slate-400);
263
- --color-text-placeholder_subtle: var(--color-slate-300);
298
+ --color-text-disabled: var(--color-gray-400);
299
+ --color-text-placeholder: var(--color-gray-400);
300
+ --color-text-placeholder_subtle: var(--color-gray-300);
264
301
  --color-text-white: var(--color-alpha-white);
265
302
  --color-text-brand-primary: var(--color-brand-900);
266
303
  --color-text-brand-secondary: var(--color-brand-700);
@@ -275,18 +312,18 @@
275
312
  /* ============================================================
276
313
  * SEMANTIC — FOREGROUND colors (icons / graphics)
277
314
  * ============================================================ */
278
- --color-fg-primary: #2d2d2d;
279
- --color-fg-secondary: var(--color-slate-700);
280
- --color-fg-secondary_hover: var(--color-slate-800);
281
- --color-fg-tertiary: var(--color-slate-500);
282
- --color-fg-tertiary_hover: var(--color-slate-600);
283
- --color-fg-quaternary: var(--color-slate-400);
284
- --color-fg-quaternary_hover: var(--color-slate-500);
285
- --color-fg-quinary: var(--color-slate-400);
286
- --color-fg-quinary_hover: var(--color-slate-500);
315
+ --color-fg-primary: var(--color-gray-800);
316
+ --color-fg-secondary: var(--color-gray-700);
317
+ --color-fg-secondary_hover: var(--color-gray-800);
318
+ --color-fg-tertiary: var(--color-gray-500);
319
+ --color-fg-tertiary_hover: var(--color-gray-600);
320
+ --color-fg-quaternary: var(--color-gray-400);
321
+ --color-fg-quaternary_hover: var(--color-gray-500);
322
+ --color-fg-quinary: var(--color-gray-400);
323
+ --color-fg-quinary_hover: var(--color-gray-500);
287
324
  --color-fg-white: var(--color-alpha-white);
288
- --color-fg-disabled: var(--color-slate-300);
289
- --color-fg-disabled_subtle: var(--color-slate-200);
325
+ --color-fg-disabled: var(--color-gray-300);
326
+ --color-fg-disabled_subtle: var(--color-gray-200);
290
327
  --color-fg-brand-primary: var(--color-brand-600);
291
328
  --color-fg-brand-primary_alt: var(--color-brand-600);
292
329
  --color-fg-brand-secondary: var(--color-brand-500);
@@ -299,20 +336,23 @@
299
336
 
300
337
  /* ============================================================
301
338
  * SEMANTIC — BACKGROUND colors
339
+ * `*-solid` = the step that passes ≥ 4.5:1 with white text (600),
340
+ * except warning: amber can't, so it stays the light anchor (400)
341
+ * and must pair with dark text (--color-warning-foreground).
302
342
  * ============================================================ */
303
343
  --color-bg-primary: var(--color-alpha-white);
304
344
  --color-bg-primary_alt: var(--color-alpha-white);
305
- --color-bg-primary_hover: var(--color-slate-50);
306
- --color-bg-primary-solid: var(--color-slate-950);
307
- --color-bg-secondary: var(--color-slate-50);
308
- --color-bg-secondary_alt: var(--color-slate-50);
309
- --color-bg-secondary_hover: var(--color-slate-100);
310
- --color-bg-secondary-solid: var(--color-slate-600);
311
- --color-bg-tertiary: var(--color-slate-100);
312
- --color-bg-quaternary: var(--color-slate-200);
313
- --color-bg-disabled: var(--color-slate-100);
314
- --color-bg-disabled_subtle: var(--color-slate-50);
315
- --color-bg-overlay: var(--color-slate-950);
345
+ --color-bg-primary_hover: var(--color-gray-50);
346
+ --color-bg-primary-solid: var(--color-gray-950);
347
+ --color-bg-secondary: var(--color-gray-50);
348
+ --color-bg-secondary_alt: var(--color-gray-50);
349
+ --color-bg-secondary_hover: var(--color-gray-100);
350
+ --color-bg-secondary-solid: var(--color-gray-600);
351
+ --color-bg-tertiary: var(--color-gray-100);
352
+ --color-bg-quaternary: var(--color-gray-200);
353
+ --color-bg-disabled: var(--color-gray-100);
354
+ --color-bg-disabled_subtle: var(--color-gray-50);
355
+ --color-bg-overlay: var(--color-gray-950);
316
356
  --color-bg-brand-primary: var(--color-brand-50);
317
357
  --color-bg-brand-primary_alt: var(--color-brand-50);
318
358
  --color-bg-brand-secondary: var(--color-brand-100);
@@ -326,23 +366,35 @@
326
366
  --color-bg-error-solid_hover: var(--color-error-700);
327
367
  --color-bg-warning-primary: var(--color-warning-50);
328
368
  --color-bg-warning-secondary: var(--color-warning-100);
329
- --color-bg-warning-solid: var(--color-warning-500);
369
+ --color-bg-warning-solid: var(--color-warning-400);
330
370
  --color-bg-success-primary: var(--color-success-50);
331
371
  --color-bg-success-secondary: var(--color-success-100);
332
372
  --color-bg-success-solid: var(--color-success-600);
333
373
  --color-bg-info-primary: var(--color-info-50);
334
374
  --color-bg-info-secondary: var(--color-info-100);
335
- --color-bg-info-solid: var(--color-info-500);
375
+ --color-bg-info-solid: var(--color-info-600);
376
+
377
+ /* ============================================================
378
+ * SEMANTIC — INK overlays
379
+ * Translucent near-black (gray-950 = rgb(5 5 5)) fills for surfaces
380
+ * that stack on other surfaces: they darken whatever they sit on, so
381
+ * tracks, hovers, and hairlines read correctly on white, tinted, and
382
+ * grey backgrounds alike. Rest < hover < well < pressed.
383
+ * ============================================================ */
384
+ --color-bg-ink-hover: rgb(5 5 5 / 0.045);
385
+ --color-bg-ink-well: rgb(5 5 5 / 0.055);
386
+ --color-bg-ink-pressed: rgb(5 5 5 / 0.085);
336
387
 
337
388
  /* ============================================================
338
389
  * SEMANTIC — BORDER colors
339
390
  * ============================================================ */
340
- --color-border-primary: var(--color-slate-300);
341
- --color-border-secondary: var(--color-slate-200);
342
- --color-border-secondary_alt: rgb(0 0 0 / 0.08);
343
- --color-border-tertiary: var(--color-slate-100);
344
- --color-border-disabled: var(--color-slate-300);
345
- --color-border-disabled_subtle: var(--color-slate-200);
391
+ --color-border-primary: var(--color-gray-300);
392
+ --color-border-secondary: var(--color-gray-200);
393
+ --color-border-hairline: rgb(5 5 5 / 0.08);
394
+ --color-border-secondary_alt: var(--color-border-hairline);
395
+ --color-border-tertiary: var(--color-gray-100);
396
+ --color-border-disabled: var(--color-gray-300);
397
+ --color-border-disabled_subtle: var(--color-gray-200);
346
398
  --color-border-brand: var(--color-brand-500);
347
399
  --color-border-brand_alt: var(--color-brand-600);
348
400
  --color-border-error: var(--color-error-500);
@@ -351,6 +403,10 @@
351
403
  /* ============================================================
352
404
  * COMPONENT colors
353
405
  * ============================================================ */
406
+ --color-tooltip: var(--color-gray-800);
407
+ --color-tooltip-foreground: var(--color-text-white);
408
+ --color-tooltip-key: rgb(255 255 255 / 0.12);
409
+
354
410
  --color-focus-ring: var(--color-brand-500);
355
411
  --color-focus-ring-error: var(--color-error-500);
356
412
 
@@ -389,6 +445,9 @@
389
445
  --background-color-quaternary: var(--color-bg-quaternary);
390
446
  --background-color-disabled: var(--color-bg-disabled);
391
447
  --background-color-overlay: var(--color-bg-overlay);
448
+ --background-color-ink-hover: var(--color-bg-ink-hover);
449
+ --background-color-ink-well: var(--color-bg-ink-well);
450
+ --background-color-ink-pressed: var(--color-bg-ink-pressed);
392
451
  --background-color-brand-primary: var(--color-bg-brand-primary);
393
452
  --background-color-brand-secondary: var(--color-bg-brand-secondary);
394
453
  --background-color-brand-solid: var(--color-bg-brand-solid);
@@ -405,10 +464,12 @@
405
464
  --background-color-success-secondary: var(--color-bg-success-secondary);
406
465
  --background-color-success-solid: var(--color-bg-success-solid);
407
466
  --background-color-info-primary: var(--color-bg-info-primary);
467
+ --background-color-info-secondary: var(--color-bg-info-secondary);
408
468
  --background-color-info-solid: var(--color-bg-info-solid);
409
469
 
410
470
  /* border-* */
411
471
  --border-color-secondary: var(--color-border-secondary);
472
+ --border-color-hairline: var(--color-border-hairline);
412
473
  --border-color-secondary_alt: var(--color-border-secondary_alt);
413
474
  --border-color-tertiary: var(--color-border-tertiary);
414
475
  --border-color-disabled: var(--color-border-disabled);
@@ -438,42 +499,46 @@
438
499
  --color-primary-muted: var(--color-brand-100);
439
500
  --color-primary-foreground: var(--color-alpha-white);
440
501
 
441
- /* Status (solids preserved at our exact original values) */
442
- --color-success: var(--color-success-500);
502
+ /* Status — solids that may carry white text point at the AA-passing
503
+ * solid steps. Warning stays the light anchor: it carries dark text
504
+ * (warning-foreground) and doubles as the star/accent amber. */
505
+ --color-success: var(--color-bg-success-solid);
443
506
  --color-danger: var(
444
507
  --color-error-600
445
508
  ); /* palette alias — use destructive for components */
446
509
  --color-destructive: var(--color-error-600);
447
- --color-warning: var(--color-warning-500);
448
- --color-warning-foreground: #2d2d2d;
449
- --color-info: var(--color-info-500);
450
-
451
- /* UI surfaces */
452
- --color-secondary: var(--color-slate-100);
453
- --color-secondary-foreground: var(--color-slate-900);
454
- --color-accent: var(--color-slate-100);
455
- --color-accent-foreground: var(--color-slate-900);
510
+ --color-warning: var(--color-warning-400);
511
+ --color-warning-foreground: var(--color-gray-900);
512
+ --color-info: var(--color-bg-info-solid);
513
+
514
+ /* UI surfaces — accent is the hover ink so highlight states composite
515
+ * on any surface, not just white. */
516
+ --color-secondary: var(--color-gray-100);
517
+ --color-secondary-foreground: var(--color-gray-900);
518
+ --color-accent: var(--color-bg-ink-hover);
519
+ --color-accent-foreground: var(--color-gray-900);
456
520
  --color-ring: var(--color-brand-600);
457
- --color-input: var(--color-slate-200);
458
- --color-border: #e5e7eb;
459
- --color-foreground: #2d2d2d;
521
+ --color-input: var(--color-gray-200);
522
+ --color-border: var(--color-gray-200);
523
+ --color-foreground: var(--color-gray-800);
460
524
 
461
525
  /* Neutral / text */
462
- --color-body: #2d2d2d;
463
- --color-muted: var(--color-slate-100);
464
- --color-muted-foreground: var(--color-slate-500);
526
+ --color-body: var(--color-gray-800);
527
+ --color-muted: var(--color-gray-100);
528
+ --color-muted-foreground: var(--color-gray-500);
465
529
  --color-background: var(--color-alpha-white);
466
530
  --color-card: var(--color-alpha-white);
467
531
 
468
- /* Bootstrap-style button colors (legacy) */
469
- --color-btn-primary: #337ab7;
470
- --color-btn-primary-border: #245580;
471
- --color-btn-success: #5cb85c;
472
- --color-btn-success-border: #3e8f3e;
473
- --color-btn-info: #5bc0de;
474
- --color-btn-info-border: #28a4c9;
475
- --color-btn-warning: #f0ad4e;
476
- --color-btn-warning-border: #e38d13;
477
- --color-btn-danger: #d9534f;
478
- --color-btn-danger-border: #b92c28;
532
+ /* Bootstrap-style aliases retained for compatibility, now routed through
533
+ * the Storepass palette so legacy consumers share the same color system. */
534
+ --color-btn-primary: var(--color-brand-600);
535
+ --color-btn-primary-border: var(--color-brand-700);
536
+ --color-btn-success: var(--color-success-600);
537
+ --color-btn-success-border: var(--color-success-700);
538
+ --color-btn-info: var(--color-info-600);
539
+ --color-btn-info-border: var(--color-info-700);
540
+ --color-btn-warning: var(--color-warning-400);
541
+ --color-btn-warning-border: var(--color-warning-500);
542
+ --color-btn-danger: var(--color-error-600);
543
+ --color-btn-danger-border: var(--color-error-700);
479
544
  }