@storepass/components 0.4.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 (200) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +104 -68
  3. package/dist/components/Accordion/Accordion.d.ts +1 -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 +9 -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 +3 -3
  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 +1 -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 +7 -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 +5 -3
  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 +2 -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 +8 -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 +6 -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 +1 -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 +5 -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 +22 -20
  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 +6 -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 +9 -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 +12 -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 +3 -3
  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 +11 -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 +1 -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 +5 -5
  63. package/dist/components/Footer/Footer.d.ts.map +1 -1
  64. package/dist/components/Footer/index.js +1 -1
  65. package/dist/components/Form/Form.d.ts +1 -1
  66. package/dist/components/Form/Form.d.ts.map +1 -1
  67. package/dist/components/Form/FormField.d.ts +1 -1
  68. package/dist/components/Form/FormField.d.ts.map +1 -1
  69. package/dist/components/Form/FormLayout.d.ts +3 -3
  70. package/dist/components/Form/FormLayout.d.ts.map +1 -1
  71. package/dist/components/Form/index.js +1 -1
  72. package/dist/components/Icon/Icon.d.ts +1 -1
  73. package/dist/components/Icon/Icon.d.ts.map +1 -1
  74. package/dist/components/Icon/index.js +1 -1
  75. package/dist/components/ImperativeDialog/ImperativeDialog.d.ts +1 -1
  76. package/dist/components/ImperativeDialog/ImperativeDialog.d.ts.map +1 -1
  77. package/dist/components/ImperativeDialog/index.js +1 -1
  78. package/dist/components/InlineAlert/InlineAlert.d.ts +1 -1
  79. package/dist/components/InlineAlert/InlineAlert.d.ts.map +1 -1
  80. package/dist/components/InlineAlert/index.js +1 -1
  81. package/dist/components/Input/Input.d.ts +5 -0
  82. package/dist/components/Input/Input.d.ts.map +1 -1
  83. package/dist/components/Input/index.js +1 -1
  84. package/dist/components/InputGroup/InputGroup.d.ts +10 -5
  85. package/dist/components/InputGroup/InputGroup.d.ts.map +1 -1
  86. package/dist/components/InputGroup/index.js +1 -1
  87. package/dist/components/Item/Item.d.ts +9 -9
  88. package/dist/components/Item/Item.d.ts.map +1 -1
  89. package/dist/components/Item/index.js +1 -1
  90. package/dist/components/Kbd/Kbd.d.ts +2 -2
  91. package/dist/components/Kbd/Kbd.d.ts.map +1 -1
  92. package/dist/components/Kbd/index.js +1 -1
  93. package/dist/components/Label/Label.d.ts +1 -1
  94. package/dist/components/Label/Label.d.ts.map +1 -1
  95. package/dist/components/Label/index.js +1 -1
  96. package/dist/components/LoadingIndicator/LoadingIndicator.d.ts +1 -1
  97. package/dist/components/LoadingIndicator/LoadingIndicator.d.ts.map +1 -1
  98. package/dist/components/LoadingIndicator/index.js +1 -1
  99. package/dist/components/MoneyAmount/MoneyAmount.d.ts +34 -0
  100. package/dist/components/MoneyAmount/MoneyAmount.d.ts.map +1 -0
  101. package/dist/components/MoneyAmount/formatMoney.d.ts +43 -0
  102. package/dist/components/MoneyAmount/formatMoney.d.ts.map +1 -0
  103. package/dist/components/MoneyAmount/index.d.ts +5 -0
  104. package/dist/components/MoneyAmount/index.d.ts.map +1 -0
  105. package/dist/components/MoneyAmount/index.js +1 -0
  106. package/dist/components/Navbar/Navbar.d.ts +10 -10
  107. package/dist/components/Navbar/Navbar.d.ts.map +1 -1
  108. package/dist/components/Navbar/index.js +1 -1
  109. package/dist/components/NumberField/NumberField.d.ts +7 -4
  110. package/dist/components/NumberField/NumberField.d.ts.map +1 -1
  111. package/dist/components/NumberField/index.js +1 -1
  112. package/dist/components/PageHeading/PageHeading.d.ts +83 -0
  113. package/dist/components/PageHeading/PageHeading.d.ts.map +1 -0
  114. package/dist/components/PageHeading/index.d.ts +3 -0
  115. package/dist/components/PageHeading/index.d.ts.map +1 -0
  116. package/dist/components/PageHeading/index.js +1 -0
  117. package/dist/components/PageLayout/PageLayout.d.ts +29 -0
  118. package/dist/components/PageLayout/PageLayout.d.ts.map +1 -0
  119. package/dist/components/PageLayout/index.d.ts +2 -0
  120. package/dist/components/PageLayout/index.d.ts.map +1 -0
  121. package/dist/components/PageLayout/index.js +1 -0
  122. package/dist/components/Pagination/Pagination.d.ts +7 -7
  123. package/dist/components/Pagination/Pagination.d.ts.map +1 -1
  124. package/dist/components/Pagination/index.js +1 -1
  125. package/dist/components/Panel/Panel.d.ts +5 -5
  126. package/dist/components/Panel/Panel.d.ts.map +1 -1
  127. package/dist/components/Panel/index.js +1 -1
  128. package/dist/components/PinInput/PinInput.d.ts +3 -3
  129. package/dist/components/PinInput/PinInput.d.ts.map +1 -1
  130. package/dist/components/PinInput/index.js +1 -1
  131. package/dist/components/Progress/Progress.d.ts +1 -1
  132. package/dist/components/Progress/Progress.d.ts.map +1 -1
  133. package/dist/components/Progress/index.js +1 -1
  134. package/dist/components/RadioGroup/RadioGroup.d.ts +2 -2
  135. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  136. package/dist/components/RadioGroup/index.js +1 -1
  137. package/dist/components/Rating/Rating.d.ts +1 -1
  138. package/dist/components/Rating/Rating.d.ts.map +1 -1
  139. package/dist/components/Rating/index.js +1 -1
  140. package/dist/components/Select/Select.d.ts +5 -1
  141. package/dist/components/Select/Select.d.ts.map +1 -1
  142. package/dist/components/Select/index.js +1 -1
  143. package/dist/components/Settings/Settings.d.ts +26 -36
  144. package/dist/components/Settings/Settings.d.ts.map +1 -1
  145. package/dist/components/Settings/index.d.ts +1 -1
  146. package/dist/components/Settings/index.d.ts.map +1 -1
  147. package/dist/components/Settings/index.js +1 -1
  148. package/dist/components/Sidebar/Sidebar.d.ts +15 -10
  149. package/dist/components/Sidebar/Sidebar.d.ts.map +1 -1
  150. package/dist/components/Sidebar/index.d.ts +1 -1
  151. package/dist/components/Sidebar/index.d.ts.map +1 -1
  152. package/dist/components/Sidebar/index.js +1 -1
  153. package/dist/components/Slider/Slider.d.ts +1 -1
  154. package/dist/components/Slider/Slider.d.ts.map +1 -1
  155. package/dist/components/Slider/index.js +1 -1
  156. package/dist/components/Table/Table.d.ts +8 -8
  157. package/dist/components/Table/Table.d.ts.map +1 -1
  158. package/dist/components/Table/index.js +1 -1
  159. package/dist/components/Tabs/Tabs.d.ts +11 -9
  160. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  161. package/dist/components/Tabs/index.js +1 -1
  162. package/dist/components/Tags/Tags.d.ts +1 -1
  163. package/dist/components/Tags/Tags.d.ts.map +1 -1
  164. package/dist/components/Tags/index.js +1 -1
  165. package/dist/components/Text/Text.d.ts +4 -4
  166. package/dist/components/Text/Text.d.ts.map +1 -1
  167. package/dist/components/Text/index.js +1 -1
  168. package/dist/components/Textarea/Textarea.d.ts.map +1 -1
  169. package/dist/components/Textarea/index.js +1 -1
  170. package/dist/components/Toast/Toast.d.ts +2 -2
  171. package/dist/components/Toast/Toast.d.ts.map +1 -1
  172. package/dist/components/Toast/index.js +1 -1
  173. package/dist/components/Toggle/Toggle.d.ts +1 -1
  174. package/dist/components/Toggle/Toggle.d.ts.map +1 -1
  175. package/dist/components/Toggle/index.js +1 -1
  176. package/dist/components/Tooltip/Tooltip.d.ts +5 -5
  177. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  178. package/dist/components/Tooltip/index.js +1 -1
  179. package/dist/components/VideoDialog/VideoDialog.d.ts +9 -9
  180. package/dist/components/VideoDialog/VideoDialog.d.ts.map +1 -1
  181. package/dist/components/VideoDialog/index.js +1 -1
  182. package/dist/components/index.d.ts +4 -1
  183. package/dist/components/index.d.ts.map +1 -1
  184. package/dist/index-27w72p7z.js +2 -0
  185. package/dist/{index-rypjyrpn.js → index-7abyvs9n.js} +1 -1
  186. package/dist/index-8b3c6nnb.js +2 -0
  187. package/dist/{index-8mzg78nw.js → index-9v1g4s39.js} +2 -2
  188. package/dist/index-f862wbmh.js +2 -0
  189. package/dist/index-qfdc271j.js +2 -0
  190. package/dist/{index-btjxn90p.js → index-s2mc6jzt.js} +2 -2
  191. package/dist/index-st80n69g.js +2 -0
  192. package/dist/index.d.ts +1 -0
  193. package/dist/index.d.ts.map +1 -1
  194. package/dist/index.js +1 -1
  195. package/dist/lib/controlSize.d.ts +59 -0
  196. package/dist/lib/controlSize.d.ts.map +1 -0
  197. package/dist/lib/utils.js +1 -1
  198. package/dist/theme.css +211 -147
  199. package/package.json +24 -22
  200. package/dist/index-1cb5sns5.js +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"InputGroup.d.ts","sourceRoot":"","sources":["../../../src/components/InputGroup/InputGroup.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE5D,QAAA,MAAM,kBAAkB;;8EAcvB,CAAC;AAEF,MAAM,WAAW,eAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,EAChD,YAAY,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAE5C;;;;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AG,KAAK,EAAE,EAAE,mBAAmB,+BAUnE;AAED,MAAM,WAAW,oBAChB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC;CAAG;AAEnD,QAAA,MAAM,eAAe,mHAkBpB,CAAC;AAIF,MAAM,WAAW,uBAChB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC;CAAG;AAEtD,QAAA,MAAM,kBAAkB,yHAkBtB,CAAC;AAIH,OAAO,EACN,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,wBAAwB,EACxB,kBAAkB,GAClB,CAAC"}
@@ -1 +1 @@
1
- import{Qc as C}from"../../index-1cb5sns5.js";import{Sd as T}from"../../lib/utils.js";import{Field as O}from"@base-ui/react/field";import{cva as A}from"class-variance-authority";import{forwardRef as D}from"react";import{jsx as G}from"react/jsx-runtime";var E=A("border-input bg-background shadow-xs has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive has-disabled:bg-input/50 rounded-lg border transition-[color,box-shadow] in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>[data-slot=input-group-control]]:pt-3 has-[>[data-align=block-start]]:[&>[data-slot=input-group-control]]:pb-3 has-[>[data-align=inline-end]]:[&>[data-slot=input-group-control]]:pr-1.5 has-[>[data-align=inline-start]]:[&>[data-slot=input-group-control]]:pl-1.5 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto",{variants:{size:{sm:"h-8 text-xs",md:"h-9 text-sm",lg:"h-10 text-base md:text-sm"}},defaultVariants:{size:"md"}});function Q({className:I,size:P,...y}){return G("div",{"data-slot":"input-group",role:"group",className:T(E({size:P}),I),...y})}var H=A("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none",{variants:{align:{"inline-start":"pl-2 has-[>button]:pl-1.5 has-[>kbd]:ml-[-0.15rem] order-first","inline-end":"pr-2 has-[>button]:pr-1.5 has-[>kbd]:mr-[-0.15rem] order-last","block-start":"px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start","block-end":"px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"}},defaultVariants:{align:"inline-start"}});function S({className:I,align:P="inline-start",...y}){return G("div",{role:"group","data-slot":"input-group-addon","data-align":P,className:T(H({align:P}),I),onClick:(k)=>{if(k.target.closest("button"))return;let q=k.currentTarget.parentElement;(q?.querySelector("input")??q?.querySelector("textarea"))?.focus()},...y})}var J=A("shadow-none",{variants:{size:{xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>[data-slot=icon]]:gap-1 [&_[data-slot=icon]]:size-3.5",sm:"h-8 gap-1.5 rounded-md px-2.5 text-sm has-[>[data-slot=icon]]:gap-1.5 [&_[data-slot=icon]]:size-4","icon-xs":"size-6 rounded-md p-0 [&_[data-slot=icon]]:size-3.5","icon-sm":"size-8 rounded-md p-0 [&_[data-slot=icon]]:size-4"}},defaultVariants:{size:"xs"}});function U({className:I,type:P="button",variant:y="ghost",size:k="xs",...q}){return G(C,{type:P,variant:y,size:"sm",className:T(J({size:k}),I),...q})}function W({className:I,...P}){return G("span",{className:T("text-muted-foreground gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",I),...P})}var K=D(({className:I,...P},y)=>{return G(O.Control,{ref:y,"data-slot":"input-group-control",render:G("input",{}),className:T("placeholder:text-muted-foreground/60 selection:bg-primary selection:text-primary-foreground","w-full min-w-0 bg-transparent px-3 text-base outline-none md:text-sm","rounded-none border-0 shadow-none ring-0 focus-visible:ring-0","disabled:bg-transparent aria-invalid:ring-0 flex-1",I),...P})});K.displayName="InputGroupInput";var L=D(({className:I,...P},y)=>{return G("textarea",{ref:y,"data-slot":"input-group-control",className:T("placeholder:text-muted-foreground/60 selection:bg-primary selection:text-primary-foreground","w-full min-w-0 bg-transparent px-3 py-2 text-base outline-none md:text-sm","rounded-none border-0 shadow-none ring-0 focus-visible:ring-0","disabled:bg-transparent aria-invalid:ring-0 flex-1 resize-none",I),...P})});L.displayName="InputGroupTextarea";export{E as inputGroupVariants,J as inputGroupButtonVariants,H as inputGroupAddonVariants,L as InputGroupTextarea,W as InputGroupText,K as InputGroupInput,U as InputGroupButton,S as InputGroupAddon,Q as InputGroup};export{Q as kb,H as lb,S as mb,J as nb,U as ob,W as pb,K as qb,L as rb};
1
+ import{ad as Y}from"../../index-8b3c6nnb.js";import{Cd as J,Md as Q}from"../../index-st80n69g.js";import{te as A}from"../../lib/utils.js";import{Field as W}from"@base-ui/react/field";import{cva as K}from"class-variance-authority";import{forwardRef as Z}from"react";import{jsx as q}from"react/jsx-runtime";var $=K(["group/input-group relative flex w-full min-w-0 items-center rounded-lg border border-input bg-background shadow-xs outline-none","transition-[color,box-shadow]","has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot=input-group-control]:focus-visible]:ring-3","has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:ring-3","has-disabled:bg-input/50 has-disabled:opacity-50","in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0","has-[>textarea]:h-auto","has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col","has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col","has-[>[data-align=block-end]]:[&>[data-slot=input-group-control]]:pt-3","has-[>[data-align=block-start]]:[&>[data-slot=input-group-control]]:pb-3","has-[>[data-align=inline-end]]:[&>[data-slot=input-group-control]]:pr-2","has-[>[data-align=inline-start]]:[&>[data-slot=input-group-control]]:pl-2"],{variants:{size:Q},defaultVariants:{size:"md"}});function h({className:y,size:P,...k}){return q("div",{"data-slot":"input-group","data-size":P??"md",role:"group",className:A($({size:P}),y),...k})}var F=K("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] flex cursor-text items-center justify-center select-none [&_[data-slot=icon]]:shrink-0",{variants:{align:{"inline-start":"pl-2 group-data-[size=lg]/input-group:pl-2.5 has-[>button]:self-stretch has-[>button]:p-0.5 group-data-[size=lg]/input-group:has-[>button]:p-0.5 has-[>kbd]:ml-[-0.15rem] order-first","inline-end":"pr-2 group-data-[size=lg]/input-group:pr-2.5 has-[>button]:self-stretch has-[>button]:p-0.5 group-data-[size=lg]/input-group:has-[>button]:p-0.5 has-[>kbd]:mr-[-0.15rem] order-last","block-start":"px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start","block-end":"px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"}},defaultVariants:{align:"inline-start"}});function w({className:y,align:P="inline-start",...k}){return q("div",{role:"group","data-slot":"input-group-addon","data-align":P,className:A(F({align:P}),y),onClick:(D)=>{if(D.target.closest("button"))return;let G=D.currentTarget.parentElement;(G?.querySelector("input")??G?.querySelector("textarea"))?.focus()},...k})}var I=K("shadow-none",{variants:{size:{xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>[data-slot=icon]]:gap-1 [&_[data-slot=icon]]:size-3.5",sm:"h-8 gap-1.5 rounded-md px-2.5 text-sm has-[>[data-slot=icon]]:gap-1.5 [&_[data-slot=icon]]:size-4","icon-xs":"h-full w-auto aspect-square rounded-md p-0 px-0 has-[[data-slot=icon]]:px-0 [&_[data-slot=icon]]:size-3.5","icon-sm":"h-full w-auto aspect-square rounded-md p-0 px-0 has-[[data-slot=icon]]:px-0 [&_[data-slot=icon]]:size-4"}},defaultVariants:{size:"xs"}});function U({className:y,type:P="button",variant:k="ghost",size:D="xs",...G}){return q(Y,{type:P,variant:k,size:"sm",className:A(I({size:D}),y),...G})}function B({className:y,...P}){return q("span",{className:A("text-muted-foreground gap-2 text-sm font-medium flex items-center [&_[data-slot=icon]]:pointer-events-none [&_[data-slot=icon]]:shrink-0",y),...P})}var M=Z(({className:y,...P},k)=>{return q(W.Control,{ref:k,"data-slot":"input-group-control",render:q("input",{}),className:A("placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground",`w-full min-w-0 bg-transparent px-3 outline-none ${J}`,"rounded-none border-0 shadow-none ring-0 focus-visible:ring-0","disabled:bg-transparent aria-invalid:ring-0 flex-1",y),...P})});M.displayName="InputGroupInput";var S=Z(({className:y,...P},k)=>{return q("textarea",{ref:k,"data-slot":"input-group-control",className:A("placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground",`w-full min-w-0 bg-transparent px-3 py-2 outline-none ${J}`,"rounded-none border-0 shadow-none ring-0 focus-visible:ring-0","disabled:bg-transparent aria-invalid:ring-0 flex-1 resize-none",y),...P})});S.displayName="InputGroupTextarea";export{$ as inputGroupVariants,I as inputGroupButtonVariants,F as inputGroupAddonVariants,S as InputGroupTextarea,B as InputGroupText,M as InputGroupInput,U as InputGroupButton,w as InputGroupAddon,h as InputGroup};export{h as xb,F as yb,w as zb,I as Ab,U as Bb,B as Cb,M as Db,S as Eb};
@@ -3,11 +3,11 @@ import { type VariantProps } from "class-variance-authority";
3
3
  export interface ItemGroupProps extends Omit<React.ComponentPropsWithoutRef<"div">, "className"> {
4
4
  className?: string;
5
5
  }
6
- export declare function ItemGroup({ className, ...props }: ItemGroupProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function ItemGroup({ className, ...props }: ItemGroupProps): import("react").JSX.Element;
7
7
  export interface ItemSeparatorProps extends Omit<React.ComponentPropsWithoutRef<"hr">, "className"> {
8
8
  className?: string;
9
9
  }
10
- export declare function ItemSeparator({ className, ...props }: ItemSeparatorProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function ItemSeparator({ className, ...props }: ItemSeparatorProps): import("react").JSX.Element;
11
11
  declare const itemVariants: (props?: ({
12
12
  variant?: "outline" | "default" | "muted" | null | undefined;
13
13
  size?: "sm" | "xs" | "default" | null | undefined;
@@ -27,30 +27,30 @@ declare const itemMediaVariants: (props?: ({
27
27
  export interface ItemMediaProps extends Omit<React.ComponentPropsWithoutRef<"div">, "className">, VariantProps<typeof itemMediaVariants> {
28
28
  className?: string;
29
29
  }
30
- export declare function ItemMedia({ className, variant, ...props }: ItemMediaProps): import("react/jsx-runtime").JSX.Element;
30
+ export declare function ItemMedia({ className, variant, ...props }: ItemMediaProps): import("react").JSX.Element;
31
31
  export interface ItemContentProps extends Omit<React.ComponentPropsWithoutRef<"div">, "className"> {
32
32
  className?: string;
33
33
  }
34
- export declare function ItemContent({ className, ...props }: ItemContentProps): import("react/jsx-runtime").JSX.Element;
34
+ export declare function ItemContent({ className, ...props }: ItemContentProps): import("react").JSX.Element;
35
35
  export interface ItemTitleProps extends Omit<React.ComponentPropsWithoutRef<"div">, "className"> {
36
36
  className?: string;
37
37
  }
38
- export declare function ItemTitle({ className, ...props }: ItemTitleProps): import("react/jsx-runtime").JSX.Element;
38
+ export declare function ItemTitle({ className, ...props }: ItemTitleProps): import("react").JSX.Element;
39
39
  export interface ItemDescriptionProps extends Omit<React.ComponentPropsWithoutRef<"p">, "className"> {
40
40
  className?: string;
41
41
  }
42
- export declare function ItemDescription({ className, ...props }: ItemDescriptionProps): import("react/jsx-runtime").JSX.Element;
42
+ export declare function ItemDescription({ className, ...props }: ItemDescriptionProps): import("react").JSX.Element;
43
43
  export interface ItemActionsProps extends Omit<React.ComponentPropsWithoutRef<"div">, "className"> {
44
44
  className?: string;
45
45
  }
46
- export declare function ItemActions({ className, ...props }: ItemActionsProps): import("react/jsx-runtime").JSX.Element;
46
+ export declare function ItemActions({ className, ...props }: ItemActionsProps): import("react").JSX.Element;
47
47
  export interface ItemHeaderProps extends Omit<React.ComponentPropsWithoutRef<"div">, "className"> {
48
48
  className?: string;
49
49
  }
50
- export declare function ItemHeader({ className, ...props }: ItemHeaderProps): import("react/jsx-runtime").JSX.Element;
50
+ export declare function ItemHeader({ className, ...props }: ItemHeaderProps): import("react").JSX.Element;
51
51
  export interface ItemFooterProps extends Omit<React.ComponentPropsWithoutRef<"div">, "className"> {
52
52
  className?: string;
53
53
  }
54
- export declare function ItemFooter({ className, ...props }: ItemFooterProps): import("react/jsx-runtime").JSX.Element;
54
+ export declare function ItemFooter({ className, ...props }: ItemFooterProps): import("react").JSX.Element;
55
55
  export { itemMediaVariants, itemVariants };
56
56
  //# sourceMappingURL=Item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../src/components/Item/Item.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,MAAM,WAAW,cAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAWhE;AAED,MAAM,WAAW,kBAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC;IAC/D,SAAS,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AAK,CAAC,EAAE,WAAW,CAAC;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAWlE;AAED,MAAM,WAAW,eAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAWlE;AAED,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC"}
@@ -1 +1 @@
1
- import{Sd as t}from"../../lib/utils.js";import{mergeProps as M}from"@base-ui/react/merge-props";import{useRender as f}from"@base-ui/react/use-render";import{cva as G}from"class-variance-authority";import{createElement as k}from"react";import{jsx as C}from"react/jsx-runtime";function q({className:P,...I}){return C("div",{"data-slot":"item-group",className:t("group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",P),...I})}function B({className:P,...I}){return C("hr",{"data-slot":"item-separator",className:t("my-2 border-t border-border",P),...I})}var H=G(["rounded-lg border text-sm w-full group/item flex items-center flex-wrap outline-none transition-[color,box-shadow] duration-100","[a]:hover:bg-accent [a]:transition-colors","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]"],{variants:{variant:{default:"border-transparent",outline:"border-border",muted:"bg-accent/50 border-transparent text-accent-foreground"},size:{default:"gap-2.5 px-3 py-2.5",sm:"gap-2.5 px-3 py-2.5",xs:"gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0"}},defaultVariants:{variant:"default",size:"default"}});function J({className:P,variant:I="default",size:D="default",render:T,as:F,...A}){return f({defaultTagName:"div",props:M({className:t(H({variant:I,size:D,className:P}))},A),render:T??(F?k(F):void 0),state:{slot:"item",variant:I,size:D}})}var S=G("gap-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none",{variants:{variant:{default:"bg-transparent",icon:"[&_svg:not([class*='size-'])]:size-4",image:"size-10 overflow-hidden rounded-md group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover"}},defaultVariants:{variant:"default"}});function K({className:P,variant:I="default",...D}){return C("div",{"data-slot":"item-media","data-variant":I,className:t(S({variant:I,className:P})),...D})}function L({className:P,...I}){return C("div",{"data-slot":"item-content",className:t("flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",P),...I})}function O({className:P,...I}){return C("div",{"data-slot":"item-title",className:t("flex w-fit items-center gap-2 text-sm font-medium leading-snug underline-offset-4 line-clamp-1",P),...I})}function Q({className:P,...I}){return C("p",{"data-slot":"item-description",className:t("text-muted-foreground text-left text-sm font-normal leading-normal line-clamp-2 group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",P),...I})}function U({className:P,...I}){return C("div",{"data-slot":"item-actions",className:t("flex items-center gap-2",P),...I})}function W({className:P,...I}){return C("div",{"data-slot":"item-header",className:t("flex basis-full items-center justify-between gap-2",P),...I})}function X({className:P,...I}){return C("div",{"data-slot":"item-footer",className:t("flex basis-full items-center justify-between gap-2",P),...I})}export{H as itemVariants,S as itemMediaVariants,O as ItemTitle,B as ItemSeparator,K as ItemMedia,W as ItemHeader,q as ItemGroup,X as ItemFooter,Q as ItemDescription,L as ItemContent,U as ItemActions,J as Item};export{q as sb,B as tb,H as ub,J as vb,S as wb,K as xb,L as yb,O as zb,Q as Ab,U as Bb,W as Cb,X as Db};
1
+ import{te as t}from"../../lib/utils.js";import{mergeProps as M}from"@base-ui/react/merge-props";import{useRender as f}from"@base-ui/react/use-render";import{cva as G}from"class-variance-authority";import{createElement as k}from"react";import{jsx as C}from"react/jsx-runtime";function q({className:P,...I}){return C("div",{"data-slot":"item-group",className:t("group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",P),...I})}function B({className:P,...I}){return C("hr",{"data-slot":"item-separator",className:t("my-2 border-t border-border",P),...I})}var H=G(["rounded-lg border text-sm w-full group/item flex items-center flex-wrap outline-none transition-[color,box-shadow] duration-100","[a]:hover:bg-accent [a]:transition-colors","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]"],{variants:{variant:{default:"border-transparent",outline:"border-border",muted:"bg-accent/50 border-transparent text-accent-foreground"},size:{default:"gap-2.5 px-3 py-2.5",sm:"gap-2.5 px-3 py-2.5",xs:"gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0"}},defaultVariants:{variant:"default",size:"default"}});function J({className:P,variant:I="default",size:D="default",render:T,as:F,...A}){return f({defaultTagName:"div",props:M({className:t(H({variant:I,size:D,className:P}))},A),render:T??(F?k(F):void 0),state:{slot:"item",variant:I,size:D}})}var S=G("gap-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none",{variants:{variant:{default:"bg-transparent",icon:"[&_svg:not([class*='size-'])]:size-4",image:"size-10 overflow-hidden rounded-md group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover"}},defaultVariants:{variant:"default"}});function K({className:P,variant:I="default",...D}){return C("div",{"data-slot":"item-media","data-variant":I,className:t(S({variant:I,className:P})),...D})}function L({className:P,...I}){return C("div",{"data-slot":"item-content",className:t("flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",P),...I})}function O({className:P,...I}){return C("div",{"data-slot":"item-title",className:t("flex w-fit items-center gap-2 text-sm font-medium leading-snug underline-offset-4 line-clamp-1",P),...I})}function Q({className:P,...I}){return C("p",{"data-slot":"item-description",className:t("text-muted-foreground text-left text-sm font-normal leading-normal line-clamp-2 group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",P),...I})}function U({className:P,...I}){return C("div",{"data-slot":"item-actions",className:t("flex items-center gap-2",P),...I})}function W({className:P,...I}){return C("div",{"data-slot":"item-header",className:t("flex basis-full items-center justify-between gap-2",P),...I})}function X({className:P,...I}){return C("div",{"data-slot":"item-footer",className:t("flex basis-full items-center justify-between gap-2",P),...I})}export{H as itemVariants,S as itemMediaVariants,O as ItemTitle,B as ItemSeparator,K as ItemMedia,W as ItemHeader,q as ItemGroup,X as ItemFooter,Q as ItemDescription,L as ItemContent,U as ItemActions,J as Item};export{q as Fb,B as Gb,H as Hb,J as Ib,S as Jb,K as Kb,L as Lb,O as Mb,Q as Nb,U as Ob,W as Pb,X as Qb};
@@ -3,9 +3,9 @@ export interface KbdProps extends React.ComponentProps<"kbd"> {
3
3
  /**
4
4
  * Keyboard key indicator component for displaying keyboard shortcuts.
5
5
  */
6
- declare function Kbd({ className, ...props }: KbdProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function Kbd({ className, ...props }: KbdProps): import("react").JSX.Element;
7
7
  export interface KbdGroupProps extends React.ComponentProps<"div"> {
8
8
  }
9
- declare function KbdGroup({ className, ...props }: KbdGroupProps): import("react/jsx-runtime").JSX.Element;
9
+ declare function KbdGroup({ className, ...props }: KbdGroupProps): import("react").JSX.Element;
10
10
  export { Kbd, KbdGroup };
11
11
  //# sourceMappingURL=Kbd.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Kbd.d.ts","sourceRoot":"","sources":["../../../src/components/Kbd/Kbd.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,QAAS,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;CAAG;AAEhE;;GAEG;AACH,iBAAS,GAAG,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,QAAQ,2CAa7C;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;CAAG;AAErE,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAQvD;AAED,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"Kbd.d.ts","sourceRoot":"","sources":["../../../src/components/Kbd/Kbd.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,QAAS,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;CAAG;AAEhE;;GAEG;AACH,iBAAS,GAAG,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,QAAQ,+BAa7C;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;CAAG;AAErE,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAQvD;AAED,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC"}
@@ -1 +1 @@
1
- import{Sd as f}from"../../lib/utils.js";import{jsx as G}from"react/jsx-runtime";function b({className:K,...P}){return G("kbd",{"data-slot":"kbd",className:f("bg-background text-muted-foreground border border-input pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-md px-1 font-sans text-xs font-medium shadow-xs select-none","[&_svg:not([class*='size-'])]:size-3","[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:border-transparent [[data-slot=tooltip-content]_&]:text-background",K),...P})}function q({className:K,...P}){return G("div",{"data-slot":"kbd-group",className:f("inline-flex items-center gap-1",K),...P})}export{q as KbdGroup,b as Kbd};export{b as Eb,q as Fb};
1
+ import{te as f}from"../../lib/utils.js";import{jsx as G}from"react/jsx-runtime";function b({className:K,...P}){return G("kbd",{"data-slot":"kbd",className:f("bg-ink-well text-secondary border border-hairline pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-md px-1 font-sans text-xs font-medium select-none","[&_svg:not([class*='size-'])]:size-3","[[data-slot=tooltip-content]_&]:bg-tooltip-key [[data-slot=tooltip-content]_&]:border-transparent [[data-slot=tooltip-content]_&]:text-tooltip-foreground",K),...P})}function q({className:K,...P}){return G("div",{"data-slot":"kbd-group",className:f("inline-flex items-center gap-1",K),...P})}export{q as KbdGroup,b as Kbd};export{b as Xd,q as Yd};
@@ -3,5 +3,5 @@ export interface LabelProps extends React.ComponentPropsWithoutRef<"label"> {
3
3
  /**
4
4
  * A label component for form elements.
5
5
  */
6
- export declare function Label({ className, ...props }: LabelProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function Label({ className, ...props }: LabelProps): import("react").JSX.Element;
7
7
  //# sourceMappingURL=Label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC;CAAG;AAE9E;;GAEG;AACH,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAWxD"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC;CAAG;AAE9E;;GAEG;AACH,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+BAWxD"}
@@ -1 +1 @@
1
- import{Gb as e}from"../../index-btjxn90p.js";import"../../lib/utils.js";export{e as Label};
1
+ import{Rb as e}from"../../index-s2mc6jzt.js";import"../../lib/utils.js";export{e as Label};
@@ -10,6 +10,6 @@ export interface LoadingIndicatorProps extends Omit<React.ComponentProps<"output
10
10
  /**
11
11
  * A lightweight loading indicator with spinner, dots, and line variants. Uses an `<output>` element for implicit role=status a11y semantics.
12
12
  */
13
- export declare function LoadingIndicator({ variant, size, label, className, ...props }: LoadingIndicatorProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function LoadingIndicator({ variant, size, label, className, ...props }: LoadingIndicatorProps): React.JSX.Element;
14
14
  export { loadingIndicatorVariants };
15
15
  //# sourceMappingURL=LoadingIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingIndicator/LoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,QAAA,MAAM,wBAAwB;;;8EAiB5B,CAAC;AAEH,MAAM,WAAW,qBAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,EACvD,YAAY,CAAC,OAAO,wBAAwB,CAAC;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAiBD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAChC,OAAmB,EACnB,IAAW,EACX,KAAiB,EACjB,SAAS,EACT,GAAG,KAAK,EACR,EAAE,qBAAqB,2CA2CvB;AAED,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
1
+ {"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingIndicator/LoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,QAAA,MAAM,wBAAwB;;;8EAiB5B,CAAC;AAEH,MAAM,WAAW,qBAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,EACvD,YAAY,CAAC,OAAO,wBAAwB,CAAC;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAiBD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAChC,OAAmB,EACnB,IAAW,EACX,KAAiB,EACjB,SAAS,EACT,GAAG,KAAK,EACR,EAAE,qBAAqB,qBA2CvB;AAED,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
@@ -1 +1 @@
1
- import{Sd as L}from"../../lib/utils.js";import{cva as B}from"class-variance-authority";import{jsx as I,jsxs as G}from"react/jsx-runtime";var C=B("",{variants:{variant:{spinner:"",dots:"",line:""},size:{sm:"",md:"",lg:""}},defaultVariants:{variant:"spinner",size:"md"}}),D={sm:"size-4",md:"size-5",lg:"size-6"},E={sm:"size-1.5",md:"size-2",lg:"size-2.5"};function F({variant:f="spinner",size:o="md",label:g="Loading",className:k,...q}){return G("output",{"data-slot":"loading-indicator",className:L("inline-flex items-center justify-center text-primary",k),...q,children:[I("span",{className:"sr-only",children:g}),f==="spinner"&&I("span",{className:L("inline-block animate-spin rounded-full border-2 border-current border-t-transparent",D[o??"md"])}),f==="dots"&&I("span",{className:"inline-flex items-center gap-1",children:[0,150,300].map((P)=>I("span",{className:L("rounded-full bg-current animate-pulse",E[o??"md"]),style:{animationDelay:`${P}ms`}},P))}),f==="line"&&I("span",{className:"h-1 w-full overflow-hidden rounded-full bg-muted block min-w-24",children:I("span",{className:"block h-full w-1/2 rounded-full bg-primary animate-pulse"})})]})}export{C as loadingIndicatorVariants,F as LoadingIndicator};export{C as oa,F as pa};
1
+ import{te as L}from"../../lib/utils.js";import{cva as B}from"class-variance-authority";import{jsx as I,jsxs as G}from"react/jsx-runtime";var C=B("",{variants:{variant:{spinner:"",dots:"",line:""},size:{sm:"",md:"",lg:""}},defaultVariants:{variant:"spinner",size:"md"}}),D={sm:"size-4",md:"size-5",lg:"size-6"},E={sm:"size-1.5",md:"size-2",lg:"size-2.5"};function F({variant:f="spinner",size:o="md",label:g="Loading",className:k,...q}){return G("output",{"data-slot":"loading-indicator",className:L("inline-flex items-center justify-center text-primary",k),...q,children:[I("span",{className:"sr-only",children:g}),f==="spinner"&&I("span",{className:L("inline-block animate-spin rounded-full border-2 border-current border-t-transparent",D[o??"md"])}),f==="dots"&&I("span",{className:"inline-flex items-center gap-1",children:[0,150,300].map((P)=>I("span",{className:L("rounded-full bg-current animate-pulse",E[o??"md"]),style:{animationDelay:`${P}ms`}},P))}),f==="line"&&I("span",{className:"h-1 w-full overflow-hidden rounded-full bg-ink-well block min-w-24",children:I("span",{className:"block h-full w-1/2 rounded-full bg-primary animate-pulse"})})]})}export{C as loadingIndicatorVariants,F as LoadingIndicator};export{C as oa,F as pa};
@@ -0,0 +1,34 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import type { ComponentPropsWithoutRef } from "react";
3
+ import { type MoneyInput } from "./formatMoney";
4
+ declare const moneyAmountVariants: (props?: ({
5
+ tone?: "inherit" | "signed" | "delta" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export type MoneyAmountTone = NonNullable<VariantProps<typeof moneyAmountVariants>["tone"]>;
8
+ export interface MoneyAmountProps extends Omit<ComponentPropsWithoutRef<"span">, "children"> {
9
+ /**
10
+ * A `@storepass/money` Money (or structurally compatible) instance, or the
11
+ * `{ amount, currency }` wire shape with `amount` in minor units.
12
+ */
13
+ value: MoneyInput;
14
+ /** BCP 47 locale(s). Defaults to the runtime locale. */
15
+ locale?: string | string[];
16
+ /** Sign-aware coloring; inherit blends into the surrounding text. */
17
+ tone?: MoneyAmountTone;
18
+ /** How the currency is announced. Defaults to the locale's symbol. */
19
+ currencyDisplay?: "symbol" | "narrowSymbol" | "code" | "name";
20
+ /** When the sign is shown; `always`/`exceptZero` suit delta values. */
21
+ signDisplay?: "auto" | "always" | "exceptZero" | "negative";
22
+ /** Remaining `Intl.NumberFormat` options (notation, fraction digits, ...). */
23
+ formatOptions?: Omit<Intl.NumberFormatOptions, "style" | "currency" | "currencyDisplay" | "signDisplay">;
24
+ }
25
+ /**
26
+ * Inline money display for `@storepass/money` values and `{ amount, currency }`
27
+ * wire shapes. Formats through the browser's `Intl.NumberFormat` and injects
28
+ * tabular numerals so digits line up in tables and totals, while inheriting
29
+ * the surrounding font size and color so it drops into any text run.
30
+ * `data-sign` and `data-currency` are exposed for contextual styling.
31
+ */
32
+ export declare function MoneyAmount({ value, locale, tone, currencyDisplay, signDisplay, formatOptions, className, ...props }: MoneyAmountProps): import("react").JSX.Element;
33
+ export { moneyAmountVariants };
34
+ //# sourceMappingURL=MoneyAmount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MoneyAmount.d.ts","sourceRoot":"","sources":["../../../src/components/MoneyAmount/MoneyAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAEN,KAAK,UAAU,EAGf,MAAM,eAAe,CAAC;AAEvB,QAAA,MAAM,mBAAmB;;8EAevB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,WAAW,CACxC,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAChD,CAAC;AAEF,MAAM,WAAW,gBAChB,SAAQ,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC;IAC1D;;;OAGG;IACH,KAAK,EAAE,UAAU,CAAC;IAClB,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,qEAAqE;IACrE,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,sEAAsE;IACtE,eAAe,CAAC,EAAE,QAAQ,GAAG,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC;IAC9D,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,YAAY,GAAG,UAAU,CAAC;IAC5D,8EAA8E;IAC9E,aAAa,CAAC,EAAE,IAAI,CACnB,IAAI,CAAC,mBAAmB,EACxB,OAAO,GAAG,UAAU,GAAG,iBAAiB,GAAG,aAAa,CACxD,CAAC;CACF;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAC3B,KAAK,EACL,MAAM,EACN,IAAgB,EAChB,eAAe,EACf,WAAW,EACX,aAAa,EACb,SAAS,EACT,GAAG,KAAK,EACR,EAAE,gBAAgB,+BAgBlB;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -0,0 +1,43 @@
1
+ export interface MoneyLikeCurrency {
2
+ /** Alpha code (ISO 4217 alpha-3, or free-form for custom assets). */
3
+ code: string;
4
+ /** Minor-unit precision used for arithmetic. */
5
+ decimalPlaces: number;
6
+ /** Optional alpha-3 alias `Intl.NumberFormat` should display instead. */
7
+ displayCode?: string;
8
+ }
9
+ /**
10
+ * Structural view of a `@storepass/money` Money instance. Anything that can
11
+ * format itself and expose its currency and numeric value qualifies.
12
+ */
13
+ export interface MoneyLike {
14
+ currency: MoneyLikeCurrency;
15
+ toNumber(): number;
16
+ format(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
17
+ }
18
+ /**
19
+ * The `Money#toJSON` wire shape: `amount` is in minor units (cents). For a
20
+ * currency code `Intl.NumberFormat` can't resolve (non-ISO assets), pass
21
+ * `decimalPlaces` — the browser can't know a custom asset's precision, and
22
+ * money is never displayed at a guessed scale.
23
+ */
24
+ export interface SerializedMoney {
25
+ amount: number;
26
+ currency: string;
27
+ decimalPlaces?: number;
28
+ }
29
+ export type MoneyInput = MoneyLike | SerializedMoney;
30
+ export declare function isMoneyLike(value: MoneyInput): value is MoneyLike;
31
+ export type MoneySign = "negative" | "zero" | "positive";
32
+ /** Sign of any money input, for styling hooks. */
33
+ export declare function moneySign(value: MoneyInput): MoneySign;
34
+ /** Alpha currency code of any money input. */
35
+ export declare function moneyCurrencyCode(value: MoneyInput): string;
36
+ /**
37
+ * Format any money input for display. Money instances format themselves —
38
+ * `Money#format` already honors `decimalPlaces` and `displayCode` — while
39
+ * serialized shapes are scaled from minor units and formatted by the
40
+ * browser's `Intl.NumberFormat`.
41
+ */
42
+ export declare function formatMoney(value: MoneyInput, locale?: string | string[], options?: Intl.NumberFormatOptions): string;
43
+ //# sourceMappingURL=formatMoney.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatMoney.d.ts","sourceRoot":"","sources":["../../../src/components/MoneyAmount/formatMoney.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,iBAAiB;IACjC,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,aAAa,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,SAAS;IACzB,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,QAAQ,IAAI,MAAM,CAAC;IACnB,MAAM,CACL,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,IAAI,CAAC,mBAAmB,GAChC,MAAM,CAAC;CACV;AAED;;;;;GAKG;AACH,MAAM,WAAW,eAAe;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,eAAe,CAAC;AAErD,wBAAgB,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,KAAK,IAAI,SAAS,CAKjE;AAED,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,CAAC;AAEzD,kDAAkD;AAClD,wBAAgB,SAAS,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS,CAKtD;AAED,8CAA8C;AAC9C,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,CAE3D;AAyED;;;;;GAKG;AACH,wBAAgB,WAAW,CAC1B,KAAK,EAAE,UAAU,EACjB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,CAAC,EAAE,IAAI,CAAC,mBAAmB,GAChC,MAAM,CAGR"}
@@ -0,0 +1,5 @@
1
+ export type { MoneyInput, MoneyLike, MoneyLikeCurrency, MoneySign, SerializedMoney, } from "./formatMoney";
2
+ export { formatMoney, isMoneyLike, moneyCurrencyCode, moneySign, } from "./formatMoney";
3
+ export type { MoneyAmountProps, MoneyAmountTone } from "./MoneyAmount";
4
+ export { MoneyAmount, moneyAmountVariants } from "./MoneyAmount";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/MoneyAmount/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,SAAS,EACT,eAAe,GACf,MAAM,eAAe,CAAC;AACvB,OAAO,EACN,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,SAAS,GACT,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1 @@
1
+ import{te as U}from"../../lib/utils.js";function H(M){return typeof M.format==="function"&&typeof M.currency==="object"}function L(M){let A=H(M)?M.toNumber():M.amount;if(A<0)return"negative";if(A>0)return"positive";return"zero"}function Q(M){return H(M)?M.currency.code:M.currency}var G=new Map;function K(M,A){let S=JSON.stringify([M,A]),q=G.get(S);if(!q){if(G.size>=256)G.clear();q=new Intl.NumberFormat(M,A),G.set(S,q)}return q}function Y(M,A){return K(M,{style:"currency",currency:A}).resolvedOptions().maximumFractionDigits??2}function Z(M,A,S){let{amount:q,currency:B,decimalPlaces:T}=M,E;try{E=K(A,{style:"currency",currency:B,...T!==void 0&&{minimumFractionDigits:T,maximumFractionDigits:T},...S})}catch{}if(E){let X=T??Y(A,B);return E.format(q/10**X)}if(T===void 0)throw Error(`formatMoney: Intl.NumberFormat rejected currency code "${B}" and no decimalPlaces was given, so the amount's scale is unknown. Pass decimalPlaces or a Money instance.`);let J=K(A,{style:"decimal",minimumFractionDigits:T,maximumFractionDigits:T,...S});return`${B} ${J.format(q/10**T)}`}function R(M,A,S){if(H(M))return M.format(A,S);return Z(M,A,S)}import{cva as _}from"class-variance-authority";import{jsx as x}from"react/jsx-runtime";var W=_("tabular-nums",{variants:{tone:{inherit:"",signed:"data-[sign=negative]:text-destructive",delta:"data-[sign=negative]:text-destructive data-[sign=positive]:text-utility-success-700"}},defaultVariants:{tone:"inherit"}});function $({value:M,locale:A,tone:S="inherit",currencyDisplay:q,signDisplay:B,formatOptions:T,className:E,...J}){return x("span",{"data-slot":"money","data-sign":L(M),"data-currency":Q(M),className:U(W({tone:S}),E),...J,children:R(M,A,{currencyDisplay:q,signDisplay:B,...T})})}export{L as moneySign,Q as moneyCurrencyCode,W as moneyAmountVariants,H as isMoneyLike,R as formatMoney,$ as MoneyAmount};export{H as qa,L as ra,Q as sa,R as ta,W as ua,$ as va};
@@ -10,28 +10,28 @@ export interface NavbarProps extends ComponentPropsWithoutRef<"nav">, VariantPro
10
10
  * A horizontal navigation bar component with support for headers, sections,
11
11
  * items, and footers. Mirrors the Sidebar API for top-of-page navigation.
12
12
  */
13
- export declare function Navbar({ className, variant, ...props }: NavbarProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function Navbar({ className, variant, ...props }: NavbarProps): import("react").JSX.Element;
14
14
  export interface NavbarHeaderProps extends ComponentPropsWithoutRef<"div"> {
15
15
  }
16
- export declare function NavbarHeader({ className, ...props }: NavbarHeaderProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function NavbarHeader({ className, ...props }: NavbarHeaderProps): import("react").JSX.Element;
17
17
  export interface NavbarBodyProps extends ComponentPropsWithoutRef<"div"> {
18
18
  }
19
- export declare function NavbarBody({ className, ...props }: NavbarBodyProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function NavbarBody({ className, ...props }: NavbarBodyProps): import("react").JSX.Element;
20
20
  export interface NavbarFooterProps extends ComponentPropsWithoutRef<"div"> {
21
21
  }
22
- export declare function NavbarFooter({ className, ...props }: NavbarFooterProps): import("react/jsx-runtime").JSX.Element;
22
+ export declare function NavbarFooter({ className, ...props }: NavbarFooterProps): import("react").JSX.Element;
23
23
  export interface NavbarSectionProps extends ComponentPropsWithoutRef<"div"> {
24
24
  }
25
- export declare function NavbarSection({ className, ...props }: NavbarSectionProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function NavbarSection({ className, ...props }: NavbarSectionProps): import("react").JSX.Element;
26
26
  export interface NavbarDividerProps extends ComponentPropsWithoutRef<"hr"> {
27
27
  }
28
- export declare function NavbarDivider({ className, ...props }: NavbarDividerProps): import("react/jsx-runtime").JSX.Element;
28
+ export declare function NavbarDivider({ className, ...props }: NavbarDividerProps): import("react").JSX.Element;
29
29
  export interface NavbarSpacerProps extends ComponentPropsWithoutRef<"div"> {
30
30
  }
31
- export declare function NavbarSpacer({ className, ...props }: NavbarSpacerProps): import("react/jsx-runtime").JSX.Element;
31
+ export declare function NavbarSpacer({ className, ...props }: NavbarSpacerProps): import("react").JSX.Element;
32
32
  export interface NavbarHeadingProps extends ComponentPropsWithoutRef<"span"> {
33
33
  }
34
- export declare function NavbarHeading({ className, ...props }: NavbarHeadingProps): import("react/jsx-runtime").JSX.Element;
34
+ export declare function NavbarHeading({ className, ...props }: NavbarHeadingProps): import("react").JSX.Element;
35
35
  declare const navbarItemVariants: (props?: ({
36
36
  current?: boolean | null | undefined;
37
37
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -47,9 +47,9 @@ export type NavbarItemProps<C extends React.ElementType = "button"> = NavbarItem
47
47
  * item. `render` accepts a custom element (e.g. a router Link) and receives
48
48
  * className, data-current, ref, and children.
49
49
  */
50
- export declare function NavbarItem<C extends React.ElementType = "button">({ current, className, children, render, as, ...props }: NavbarItemProps<C>): import("react/jsx-runtime").JSX.Element;
50
+ export declare function NavbarItem<C extends React.ElementType = "button">({ current, className, children, render, as, ...props }: NavbarItemProps<C>): import("react").JSX.Element;
51
51
  export interface NavbarLabelProps extends ComponentPropsWithoutRef<"span"> {
52
52
  }
53
- export declare function NavbarLabel({ className, ...props }: NavbarLabelProps): import("react/jsx-runtime").JSX.Element;
53
+ export declare function NavbarLabel({ className, ...props }: NavbarLabelProps): import("react").JSX.Element;
54
54
  export { navbarItemVariants, navbarVariants };
55
55
  //# sourceMappingURL=Navbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Navbar.d.ts","sourceRoot":"","sources":["../../../src/components/Navbar/Navbar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACN,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AAGf,QAAA,MAAM,cAAc;;8EAUlB,CAAC;AAEH,MAAM,WAAW,WAChB,SAAQ,wBAAwB,CAAC,KAAK,CAAC,EACtC,YAAY,CAAC,OAAO,cAAc,CAAC;CAAG;AAExC;;;GAGG;AACH,wBAAgB,MAAM,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAInE;AAED,MAAM,WAAW,iBAAkB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;CAAG;AAE7E,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAUtE;AAED,MAAM,WAAW,eAAgB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;CAAG;AAE3E,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAUlE;AAED,MAAM,WAAW,iBAAkB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;CAAG;AAE7E,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA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N,EAAE,EACF,GAAG,KAAK,EACR,EAAE,eAAe,CAAC,CAAC,CAAC,+BA2BpB;AAED,MAAM,WAAW,gBAAiB,SAAQ,wBAAwB,CAAC,MAAM,CAAC;CAAG;AAE7E,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BAEpE;AAED,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC"}
@@ -1 +1 @@
1
- import{Sd as P}from"../../lib/utils.js";import{mergeProps as z}from"@base-ui/react/merge-props";import{useRender as A}from"@base-ui/react/use-render";import{cva as D}from"class-variance-authority";import{createElement as C}from"react";import{jsx as H,jsxs as Y}from"react/jsx-runtime";var F=D("flex w-full min-w-0 items-stretch",{variants:{variant:{default:"",bordered:"border-b border-border"}},defaultVariants:{variant:"default"}});function G({className:b,variant:v,...S}){return H("nav",{...S,className:P(F({variant:v}),b)})}function J({className:b,...v}){return H("div",{...v,className:P("flex items-center gap-2 border-r border-border pr-3 mr-3 [&>[data-slot=section]+[data-slot=section]]:ml-2.5",b)})}function K({className:b,...v}){return H("div",{...v,className:P("flex flex-1 items-center gap-1 overflow-x-auto py-2 [&>[data-slot=section]+[data-slot=section]]:ml-5",b)})}function M({className:b,...v}){return H("div",{...v,className:P("flex items-center gap-1 border-l border-border pl-3 ml-3 [&>[data-slot=section]+[data-slot=section]]:ml-2.5",b)})}function N({className:b,...v}){return H("div",{...v,"data-slot":"section",className:P("flex items-center gap-[3px]",b)})}function O({className:b,...v}){return H("hr",{...v,"aria-orientation":"vertical",className:P("mx-3 h-6 w-px border-0 bg-border",b)})}function Q({className:b,...v}){return H("div",{"aria-hidden":"true",...v,className:P("ml-4 flex-1",b)})}function T({className:b,...v}){return H("span",{...v,className:P("mr-1 px-2 text-xs/6 font-medium text-muted-foreground",b)})}var I=D(["flex items-center gap-2 rounded-lg px-2.5 py-1.5 text-left","text-sm/5 font-medium text-foreground","[&_[data-slot=icon]]:shrink-0 [&_[data-slot=icon]]:size-4 [&_[data-slot=icon]]:text-muted-foreground","hover:bg-accent hover:[&_[data-slot=icon]]:text-foreground","active:bg-accent active:[&_[data-slot=icon]]:text-foreground","focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50","data-[disabled]:pointer-events-none data-[disabled]:opacity-50"],{variants:{current:{true:"[&_[data-slot=icon]]:text-foreground bg-accent text-foreground",false:""}},defaultVariants:{current:!1}});function U({current:b,className:v,children:S,render:L,as:y,...f}){let B=L??(y?C(y):void 0),q={className:P(I({current:b??!1}),!B&&"cursor-default",v),"data-current":b?"true":void 0,children:S},w=A({defaultTagName:"button",render:B,props:z(q,f)});return Y("span",{className:"relative",children:[b&&H("span",{className:"absolute inset-x-2 -bottom-2 h-0.5 rounded-full bg-primary"}),w]})}function X({className:b,...v}){return H("span",{...v,className:P("truncate",b)})}export{F as navbarVariants,I as navbarItemVariants,Q as NavbarSpacer,N as NavbarSection,X as NavbarLabel,U as NavbarItem,T as NavbarHeading,J as NavbarHeader,M as NavbarFooter,O as NavbarDivider,K as NavbarBody,G as Navbar};export{F as qa,G as ra,J as sa,K as ta,M as ua,N as va,O as wa,Q as xa,T as ya,I as za,U as Aa,X as Ba};
1
+ import{te as P}from"../../lib/utils.js";import{mergeProps as z}from"@base-ui/react/merge-props";import{useRender as A}from"@base-ui/react/use-render";import{cva as D}from"class-variance-authority";import{createElement as C}from"react";import{jsx as H,jsxs as Y}from"react/jsx-runtime";var F=D("flex w-full min-w-0 items-stretch",{variants:{variant:{default:"",bordered:"border-b border-border"}},defaultVariants:{variant:"default"}});function G({className:b,variant:v,...S}){return H("nav",{...S,className:P(F({variant:v}),b)})}function J({className:b,...v}){return H("div",{...v,className:P("flex items-center gap-2 border-r border-border pr-3 mr-3 [&>[data-slot=section]+[data-slot=section]]:ml-2.5",b)})}function K({className:b,...v}){return H("div",{...v,className:P("flex flex-1 items-center gap-1 overflow-x-auto py-2 [&>[data-slot=section]+[data-slot=section]]:ml-5",b)})}function M({className:b,...v}){return H("div",{...v,className:P("flex items-center gap-1 border-l border-border pl-3 ml-3 [&>[data-slot=section]+[data-slot=section]]:ml-2.5",b)})}function N({className:b,...v}){return H("div",{...v,"data-slot":"section",className:P("flex items-center gap-[3px]",b)})}function O({className:b,...v}){return H("hr",{...v,"aria-orientation":"vertical",className:P("mx-3 h-6 w-px border-0 bg-border",b)})}function Q({className:b,...v}){return H("div",{"aria-hidden":"true",...v,className:P("ml-4 flex-1",b)})}function T({className:b,...v}){return H("span",{...v,className:P("mr-1 px-2 text-xs/6 font-medium text-muted-foreground",b)})}var I=D(["flex items-center gap-2 rounded-lg px-2.5 py-1.5 text-left","text-sm/5 font-medium text-foreground","[&_[data-slot=icon]]:shrink-0 [&_[data-slot=icon]]:size-4 [&_[data-slot=icon]]:text-muted-foreground","hover:bg-accent hover:[&_[data-slot=icon]]:text-foreground","active:bg-accent active:[&_[data-slot=icon]]:text-foreground","focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50","data-[disabled]:pointer-events-none data-[disabled]:opacity-50"],{variants:{current:{true:"[&_[data-slot=icon]]:text-foreground bg-accent text-foreground",false:""}},defaultVariants:{current:!1}});function U({current:b,className:v,children:S,render:L,as:y,...f}){let B=L??(y?C(y):void 0),q={className:P(I({current:b??!1}),!B&&"cursor-default",v),"data-current":b?"true":void 0,children:S},w=A({defaultTagName:"button",render:B,props:z(q,f)});return Y("span",{className:"relative",children:[b&&H("span",{className:"absolute inset-x-2 -bottom-2 h-0.5 rounded-full bg-primary"}),w]})}function X({className:b,...v}){return H("span",{...v,className:P("truncate",b)})}export{F as navbarVariants,I as navbarItemVariants,Q as NavbarSpacer,N as NavbarSection,X as NavbarLabel,U as NavbarItem,T as NavbarHeading,J as NavbarHeader,M as NavbarFooter,O as NavbarDivider,K as NavbarBody,G as Navbar};export{F as wa,G as xa,J as ya,K as za,M as Aa,N as Ba,O as Ca,Q as Da,T as Ea,I as Fa,U as Ga,X as Ha};
@@ -7,9 +7,7 @@ declare const numberFieldGroupVariants: (props?: ({
7
7
  declare const numberFieldInputVariants: (props?: ({
8
8
  size?: "sm" | "md" | "lg" | null | undefined;
9
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
- declare const numberFieldButtonVariants: (props?: ({
11
- size?: "sm" | "md" | "lg" | null | undefined;
12
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
+ declare const numberFieldButtonVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
13
11
  export interface NumberFieldProps extends Omit<React.ComponentPropsWithoutRef<typeof BaseNumberField.Root>, "className">, VariantProps<typeof numberFieldGroupVariants> {
14
12
  className?: string;
15
13
  label?: string;
@@ -18,7 +16,12 @@ export interface NumberFieldProps extends Omit<React.ComponentPropsWithoutRef<ty
18
16
  }
19
17
  /**
20
18
  * A number input component with increment/decrement buttons and optional scrub area for precise value adjustments.
19
+ *
20
+ * Size follows the shared control-size contract (h-8 / h-9 / h-10,
21
+ * text-sm/font-medium) so a NumberField sits in a row of Inputs/Selects/Buttons
22
+ * at identical height and type. Steppers are nested secondary-button chips,
23
+ * not edge-to-edge addons.
21
24
  */
22
- export declare function NumberField({ size, className, label, error, scrubArea, id, ...props }: NumberFieldProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function NumberField({ size, className, label, error, scrubArea, id, ...props }: NumberFieldProps): React.JSX.Element;
23
26
  export { numberFieldButtonVariants, numberFieldGroupVariants, numberFieldInputVariants, };
24
27
  //# sourceMappingURL=NumberField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../src/components/NumberField/NumberField.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE7E,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,QAAA,MAAM,wBAAwB;;8EAoB7B,CAAC;AAEF,QAAA,MAAM,wBAAwB;;8EAc7B,CAAC;AAIF,QAAA,MAAM,yBAAyB;;8EAkB9B,CAAC;AAEF,MAAM,WAAW,gBAChB,SAAQ,IAAI,CACV,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAC3D,WAAW,CACX,EACD,YAAY,CAAC,OAAO,wBAAwB,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC3B,IAAI,EACJ,SAAS,EACT,KAAK,EACL,KAAK,EACL,SAAiB,EACjB,EAAE,EACF,GAAG,KAAK,EACR,EAAE,gBAAgB,2CAgFlB;AAmBD,OAAO,EACN,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,GACxB,CAAC"}
1
+ {"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../src/components/NumberField/NumberField.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE7E,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,QAAA,MAAM,wBAAwB;;8EAgB7B,CAAC;AAEF,QAAA,MAAM,wBAAwB;;8EAc7B,CAAC;AAIF,QAAA,MAAM,yBAAyB,oFAO7B,CAAC;AAEH,MAAM,WAAW,gBAChB,SAAQ,IAAI,CACV,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAC3D,WAAW,CACX,EACD,YAAY,CAAC,OAAO,wBAAwB,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,EAC3B,IAAI,EACJ,SAAS,EACT,KAAK,EACL,KAAK,EACL,SAAiB,EACjB,EAAE,EACF,GAAG,KAAK,EACR,EAAE,gBAAgB,qBAuElB;AAmBD,OAAO,EACN,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,GACxB,CAAC"}
@@ -1 +1 @@
1
- import{ic as X}from"../Field/index.js";import"../Icon/index.js";import{Rd as O}from"../../index-rypjyrpn.js";import{Sd as D}from"../../lib/utils.js";import{Field as K}from"@base-ui/react/field";import{NumberField as q}from"@base-ui/react/number-field";import{faMinus as S,faPlus as A}from"@fortawesome/pro-solid-svg-icons";import{cva as Q}from"class-variance-authority";import*as Y from"react";import{jsx as k,jsxs as H}from"react/jsx-runtime";var Z=Q(["flex w-fit items-center overflow-hidden rounded-lg border border-input bg-background shadow-xs","transition-[color,box-shadow]","has-[input:focus-visible]:border-ring has-[input:focus-visible]:ring-ring/50 has-[input:focus-visible]:ring-[3px]","has-[[data-invalid]]:ring-destructive/20 has-[[data-invalid]]:border-destructive","has-[[data-disabled]]:pointer-events-none has-[[data-disabled]]:cursor-not-allowed has-[[data-disabled]]:opacity-50"],{variants:{size:{sm:"h-8 [&_[data-slot=icon]]:size-3",md:"h-9 [&_[data-slot=icon]]:size-3.5",lg:"h-10 [&_[data-slot=icon]]:size-4"}},defaultVariants:{size:"md"}}),_=Q("h-full min-w-0 bg-background text-center tabular-nums outline-none",{variants:{size:{sm:"w-12 text-xs",md:"w-14 text-sm",lg:"w-16 text-base md:text-sm"}},defaultVariants:{size:"md"}}),P=Q(["flex h-full shrink-0 items-center justify-center self-stretch bg-muted text-muted-foreground select-none","transition-colors hover:bg-accent hover:text-foreground active:bg-accent/80","data-[disabled]:pointer-events-none data-[disabled]:opacity-50"],{variants:{size:{sm:"w-8",md:"w-9",lg:"w-10"}},defaultVariants:{size:"md"}});function C({size:y,className:$,label:L,error:R,scrubArea:f=!1,id:h,...T}){let w=X(),G=Y.useId(),J=h||G,U=H(q.Group,{className:D(Z({size:y}),$),children:[k(q.Decrement,{className:D(P({size:y}),"border-r border-input"),children:k(O,{icon:S,"data-slot":"icon"})}),k(q.Input,{className:D(_({size:y}))}),k(q.Increment,{className:D(P({size:y}),"border-l border-input"),children:k(O,{icon:A,"data-slot":"icon"})})]}),M=k(q.Root,{id:J,...T,children:U});if(w)return M;let W=L?f?H(q.ScrubArea,{className:"cursor-ew-resize",children:[k(K.Label,{htmlFor:J,className:"cursor-ew-resize text-sm font-medium text-foreground",children:L}),k(q.ScrubAreaCursor,{className:"drop-shadow-[0_1px_1px_#0008] filter",children:k(E,{})})]}):k(K.Label,{htmlFor:J,className:"text-sm font-medium text-foreground",children:L}):null;return H(K.Root,{invalid:R?!0:void 0,className:"flex flex-col gap-1",children:[H(q.Root,{id:J,...T,children:[W&&k("div",{className:"mb-1 flex flex-col items-start",children:W}),U]}),k(K.Error,{className:"text-sm text-destructive",children:R})]})}function E(y){return H("svg",{width:"26",height:"14",viewBox:"0 0 24 14",fill:"black",stroke:"white",xmlns:"http://www.w3.org/2000/svg",...y,children:[k("title",{children:"Scrub cursor"}),k("path",{d:"M19.5 5.5L6.49737 5.51844V2L1 6.9999L6.5 12L6.49737 8.5L19.5 8.5V12L25 6.9999L19.5 2V5.5Z"})]})}export{_ as numberFieldInputVariants,Z as numberFieldGroupVariants,P as numberFieldButtonVariants,C as NumberField};export{_ as Ca,P as Da,C as Ea};
1
+ import{tc as A}from"../Field/index.js";import{Cd as U,Md as W}from"../../index-st80n69g.js";import"../Icon/index.js";import{se as Z}from"../../index-7abyvs9n.js";import{te as Y}from"../../lib/utils.js";import{Field as K}from"@base-ui/react/field";import{NumberField as q}from"@base-ui/react/number-field";import{faMinus as z,faPlus as C}from"@fortawesome/pro-solid-svg-icons";import{cva as f}from"class-variance-authority";import*as G from"react";import{jsx as k,jsxs as y}from"react/jsx-runtime";var L=f(["flex w-fit items-center gap-0.5 rounded-lg border border-input bg-background p-0.5 shadow-xs","transition-[color,box-shadow]","has-[input:focus-visible]:border-ring has-[input:focus-visible]:ring-ring/50 has-[input:focus-visible]:ring-[3px]","has-[[data-invalid]]:ring-destructive/20 has-[[data-invalid]]:border-destructive","has-[[data-disabled]]:pointer-events-none has-[[data-disabled]]:cursor-not-allowed has-[[data-disabled]]:opacity-50"],{variants:{size:W},defaultVariants:{size:"md"}}),R=f(`h-full min-w-0 bg-transparent text-center tabular-nums outline-none ${U}`,{variants:{size:{sm:"w-12",md:"w-14",lg:"w-16"}},defaultVariants:{size:"md"}}),$=f(["flex aspect-square h-full shrink-0 items-center justify-center rounded-md","bg-secondary text-secondary-foreground shadow-xs-skeuomorphic select-none","transition-[background-color,box-shadow,transform] duration-150","hover:bg-secondary/80 active:translate-y-px active:shadow-none","outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50","data-[disabled]:pointer-events-none data-[disabled]:opacity-50"]);function E({size:D,className:S,label:Q,error:h,scrubArea:X=!1,id:H,...w}){let g=A(),V=G.useId(),J=H||V,M=y(q.Group,{"data-slot":"number-field-group",className:Y(L({size:D}),S),children:[k(q.Decrement,{className:$(),children:k(Z,{icon:z,"data-slot":"icon"})}),k(q.Input,{className:Y(R({size:D}))}),k(q.Increment,{className:$(),children:k(Z,{icon:C,"data-slot":"icon"})})]}),v=k(q.Root,{id:J,...w,children:M});if(g)return v;let P=Q?X?y(q.ScrubArea,{className:"cursor-ew-resize",children:[k(K.Label,{htmlFor:J,className:"cursor-ew-resize text-sm font-medium text-foreground",children:Q}),k(q.ScrubAreaCursor,{className:"drop-shadow-[0_1px_1px_#0008] filter",children:k(O,{})})]}):k(K.Label,{htmlFor:J,className:"text-sm font-medium text-foreground",children:Q}):null;return y(K.Root,{invalid:h?!0:void 0,className:"flex flex-col gap-1",children:[y(q.Root,{id:J,...w,children:[P&&k("div",{className:"mb-1 flex flex-col items-start",children:P}),M]}),k(K.Error,{className:"text-sm text-destructive",children:h})]})}function O(D){return y("svg",{width:"26",height:"14",viewBox:"0 0 24 14",fill:"black",stroke:"white",xmlns:"http://www.w3.org/2000/svg",...D,children:[k("title",{children:"Scrub cursor"}),k("path",{d:"M19.5 5.5L6.49737 5.51844V2L1 6.9999L6.5 12L6.49737 8.5L19.5 8.5V12L25 6.9999L19.5 2V5.5Z"})]})}export{R as numberFieldInputVariants,L as numberFieldGroupVariants,$ as numberFieldButtonVariants,E as NumberField};export{R as Ia,$ as Ja,E as Ka};
@@ -0,0 +1,83 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import type { ComponentPropsWithoutRef, ReactNode } from "react";
3
+ import { type ButtonProps } from "../Button/Button";
4
+ declare const pageHeadingVariants: (props?: ({
5
+ size?: "display" | "default" | "compact" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ declare const pageHeadingTitleVariants: (props?: ({
8
+ size?: "display" | "default" | "compact" | null | undefined;
9
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
+ export type PageHeadingSize = NonNullable<VariantProps<typeof pageHeadingVariants>["size"]>;
11
+ export interface PageHeadingProps extends Omit<ComponentPropsWithoutRef<"header">, "children" | "title"> {
12
+ /** Primary page label. */
13
+ title: ReactNode;
14
+ /**
15
+ * 24px page title by default; 36px `display` for configuration hubs and
16
+ * other headline surfaces; 20px `compact` for dense operational surfaces.
17
+ */
18
+ size?: PageHeadingSize;
19
+ /** Optional icon displayed before the title. */
20
+ icon?: ReactNode;
21
+ /** Static status or count beside the title. Put editable status controls in actions. */
22
+ badge?: ReactNode;
23
+ /** Quiet supporting copy displayed below the title row. */
24
+ description?: ReactNode;
25
+ /** Breadcrumb trail. Replaces `back` at 40rem of header width and above. */
26
+ breadcrumbs?: ReactNode;
27
+ /** Compact up-navigation, normally a PageHeadingBackLink. */
28
+ back?: ReactNode;
29
+ /** Local page navigation displayed beside the title or on its own row. */
30
+ navigation?: ReactNode;
31
+ /** Places local navigation beside the title or on its own row. */
32
+ navigationPlacement?: "inline" | "below";
33
+ /**
34
+ * Right-aligned page actions. Buttons, ghost controls, ButtonGroups, and
35
+ * DropdownMenu triggers are supported; compose a menu trigger `asChild`
36
+ * around a Button so it inherits the library's control treatment.
37
+ */
38
+ actions?: ReactNode;
39
+ }
40
+ /**
41
+ * Container-responsive page heading with quiet navigation and action slots.
42
+ * The single title ramp for the app: display for configuration hubs
43
+ * (SettingsHeader delegates here), default for the shared application/detail
44
+ * scale, compact for dense lists, boards, and operational workspaces. It stays
45
+ * surface-free so it belongs to the page canvas instead of reading as a
46
+ * nested card. It measures its own width: breadcrumbs and inline navigation
47
+ * expand at 40rem; actions move beside the title at 48rem. Long titles wrap.
48
+ */
49
+ export declare function PageHeading({ title, size, icon, badge, description, breadcrumbs, back, navigation, navigationPlacement, actions, className, ...props }: PageHeadingProps): import("react").JSX.Element;
50
+ export { pageHeadingTitleVariants, pageHeadingVariants };
51
+ export interface PageHeadingBackLinkProps extends Omit<ButtonProps, "variant" | "size"> {
52
+ /** Renders the link as a plain anchor; pass `render` for router links. */
53
+ href?: string;
54
+ }
55
+ /**
56
+ * Ghost-styled up-navigation for a PageHeading. Shares the ghost Button styles
57
+ * (and SettingsBackButton) so hover, focus, and sizing stay inherited; the only additions are a quieter resting
58
+ * text color and a negative margin that optically aligns the label with the
59
+ * content edge despite the button's padding. Label the destination
60
+ * (e.g. "Engineering"), not "Back".
61
+ */
62
+ export declare function PageHeadingBackLink({ href, render, className, children, ...props }: PageHeadingBackLinkProps): import("react").JSX.Element | null;
63
+ export interface PageHeadingNavProps extends ComponentPropsWithoutRef<"nav"> {
64
+ }
65
+ /**
66
+ * Compact local navigation for the PageHeading navigation slot. Wears the
67
+ * Tabs soft (trackless) variant so heading navigation and Tabs share one
68
+ * style source.
69
+ */
70
+ export declare function PageHeadingNav({ className, ...props }: PageHeadingNavProps): import("react").JSX.Element;
71
+ export interface PageHeadingNavLinkProps extends Omit<ComponentPropsWithoutRef<"a">, "aria-current"> {
72
+ current?: boolean;
73
+ }
74
+ /**
75
+ * Quiet local-navigation link styled by the Tabs soft variant: it mirrors
76
+ * Base UI's `data-active` attribute so the shared trigger styles apply
77
+ * unchanged. Deliberately an anchor rather than the Tabs widget — these
78
+ * links navigate to URLs (`aria-current="page"`), they don't switch
79
+ * `role="tab"` panels — so the semantics stay native while the styling
80
+ * can't drift from Tabs.
81
+ */
82
+ export declare function PageHeadingNavLink({ current, className, ...props }: PageHeadingNavLinkProps): import("react").JSX.Element;
83
+ //# sourceMappingURL=PageHeading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageHeading.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeading/PageHeading.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAU,KAAK,WAAW,EAAkB,MAAM,kBAAkB,CAAC;AAI5E,QAAA,MAAM,mBAAmB;;8EAiBxB,CAAC;AAMF,QAAA,MAAM,wBAAwB;;8EAc7B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,WAAW,CACxC,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAChD,CAAC;AAEF,MAAM,WAAW,gBAChB,SAAQ,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IACtE,0BAA0B;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,gDAAgD;IAChD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,wFAAwF;IACxF,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,SAAS,CAAC;IAC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HeadingNavLinkProps, PageHeadingNavProps, PageHeadingProps, PageHeadingSize, } from "./PageHeading";
2
+ export { PageHeading, PageHeadingBackLink, PageHeadingNav, PageHeadingNavLink, pageHeadingTitleVariants, pageHeadingVariants, } from "./PageHeading";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeading/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,wBAAwB,EACxB,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,GACf,MAAM,eAAe,CAAC;AACvB,OAAO,EACN,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,GACnB,MAAM,eAAe,CAAC"}
@@ -0,0 +1 @@
1
+ import{La as a,Ma as e,Na as g,Oa as i,Pa as n,Qa as P}from"../../index-27w72p7z.js";import"../../index-f862wbmh.js";import"../../index-8b3c6nnb.js";import"../../index-st80n69g.js";import"../Icon/index.js";import"../../index-7abyvs9n.js";import"../../lib/utils.js";export{a as pageHeadingVariants,e as pageHeadingTitleVariants,P as PageHeadingNavLink,n as PageHeadingNav,i as PageHeadingBackLink,g as PageHeading};