@storepass/components 0.14.0 → 0.15.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 (166) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/INDEX.md +10 -4
  3. package/README.md +23 -0
  4. package/dist/components/Accordion/index.js +1 -1
  5. package/dist/components/AlertDialog/index.js +1 -1
  6. package/dist/components/AttachmentTile/index.js +1 -1
  7. package/dist/components/Avatar/index.js +1 -1
  8. package/dist/components/Badge/index.js +1 -1
  9. package/dist/components/Breadcrumbs/index.js +1 -1
  10. package/dist/components/Button/index.js +1 -1
  11. package/dist/components/ButtonGroup/index.js +1 -1
  12. package/dist/components/Card/index.js +1 -1
  13. package/dist/components/Carousel/index.js +1 -1
  14. package/dist/components/ChannelMark/index.js +1 -1
  15. package/dist/components/Checkbox/index.js +1 -1
  16. package/dist/components/Collapsible/index.js +1 -1
  17. package/dist/components/Combobox/index.js +1 -1
  18. package/dist/components/Command/index.js +1 -1
  19. package/dist/components/DataGrid/index.js +1 -1
  20. package/dist/components/DatePicker/index.js +1 -1
  21. package/dist/components/Dialog/index.js +1 -1
  22. package/dist/components/Drawer/index.js +1 -1
  23. package/dist/components/DropdownMenu/index.js +1 -1
  24. package/dist/components/FeaturedIcon/index.js +1 -1
  25. package/dist/components/Field/index.js +1 -1
  26. package/dist/components/FileUpload/index.js +1 -1
  27. package/dist/components/Footer/index.js +1 -1
  28. package/dist/components/Form/index.js +1 -1
  29. package/dist/components/Gloss/index.js +1 -1
  30. package/dist/components/ImperativeDialog/index.js +1 -1
  31. package/dist/components/InlineAlert/index.js +1 -1
  32. package/dist/components/Input/index.js +1 -1
  33. package/dist/components/InputGroup/InputGroup.d.ts +6 -0
  34. package/dist/components/InputGroup/InputGroup.d.ts.map +1 -1
  35. package/dist/components/InputGroup/index.js +1 -1
  36. package/dist/components/Item/index.js +1 -1
  37. package/dist/components/Kbd/index.js +1 -1
  38. package/dist/components/Label/index.js +1 -1
  39. package/dist/components/Lightbox/index.js +1 -1
  40. package/dist/components/LoadingIndicator/index.js +1 -1
  41. package/dist/components/MoneyAmount/index.js +1 -1
  42. package/dist/components/Navbar/index.js +1 -1
  43. package/dist/components/NumberField/index.js +1 -1
  44. package/dist/components/PageHeading/index.js +1 -1
  45. package/dist/components/PageLayout/index.js +1 -1
  46. package/dist/components/Pagination/index.js +1 -1
  47. package/dist/components/Panel/index.js +1 -1
  48. package/dist/components/PinInput/index.js +1 -1
  49. package/dist/components/Popover/Popover.d.ts +100 -0
  50. package/dist/components/Popover/Popover.d.ts.map +1 -0
  51. package/dist/components/Popover/index.d.ts +3 -0
  52. package/dist/components/Popover/index.d.ts.map +1 -0
  53. package/dist/components/Popover/index.js +1 -0
  54. package/dist/components/PriorityGlyph/index.js +1 -1
  55. package/dist/components/Progress/index.js +1 -1
  56. package/dist/components/PropertyList/index.js +1 -1
  57. package/dist/components/RadioGroup/index.js +1 -1
  58. package/dist/components/Rating/index.js +1 -1
  59. package/dist/components/SegmentedBar/SegmentedBar.d.ts +10 -3
  60. package/dist/components/SegmentedBar/SegmentedBar.d.ts.map +1 -1
  61. package/dist/components/SegmentedBar/index.d.ts +2 -2
  62. package/dist/components/SegmentedBar/index.d.ts.map +1 -1
  63. package/dist/components/SegmentedBar/index.js +1 -1
  64. package/dist/components/Select/index.js +1 -1
  65. package/dist/components/SelectionBar/index.js +1 -1
  66. package/dist/components/Settings/index.js +1 -1
  67. package/dist/components/Sidebar/index.js +1 -1
  68. package/dist/components/Slider/index.js +1 -1
  69. package/dist/components/StatusGlyph/index.js +1 -1
  70. package/dist/components/StoreMark/StoreMark.d.ts +18 -2
  71. package/dist/components/StoreMark/StoreMark.d.ts.map +1 -1
  72. package/dist/components/StoreMark/index.js +1 -1
  73. package/dist/components/Table/index.js +1 -1
  74. package/dist/components/Tabs/index.js +1 -1
  75. package/dist/components/Tags/index.js +1 -1
  76. package/dist/components/Text/index.js +1 -1
  77. package/dist/components/Textarea/Textarea.d.ts +10 -0
  78. package/dist/components/Textarea/Textarea.d.ts.map +1 -1
  79. package/dist/components/Textarea/index.js +1 -1
  80. package/dist/components/Timeline/index.js +1 -1
  81. package/dist/components/Toast/index.js +1 -1
  82. package/dist/components/Toggle/index.js +1 -1
  83. package/dist/components/Tooltip/index.js +1 -1
  84. package/dist/components/VideoDialog/index.js +1 -1
  85. package/dist/components/index.d.ts +2 -1
  86. package/dist/components/index.d.ts.map +1 -1
  87. package/dist/{index-k2tc5pfm.js → index-10d4970f.js} +1 -1
  88. package/dist/{index-jfzem8ns.js → index-24qych6b.js} +1 -1
  89. package/dist/{index-68ccexa7.js → index-29d9qhkm.js} +2 -2
  90. package/dist/{index-4yb5kxmn.js → index-2e9mtwm7.js} +1 -1
  91. package/dist/{index-w01b2f8v.js → index-32fdarm5.js} +1 -1
  92. package/dist/{index-j6bvfvsj.js → index-3c7a4wks.js} +1 -1
  93. package/dist/{index-6tq56661.js → index-3nxmtrqw.js} +1 -1
  94. package/dist/{index-5fec682d.js → index-3xf91xtf.js} +1 -1
  95. package/dist/{index-88mhdxqy.js → index-4sgrvtt8.js} +2 -2
  96. package/dist/{index-nwwzg7n8.js → index-55nad9b8.js} +1 -1
  97. package/dist/{index-m4z4ey2n.js → index-5dfbecyj.js} +1 -1
  98. package/dist/{index-23qg25c1.js → index-6qs2ez9w.js} +1 -1
  99. package/dist/{index-2bbt1hpa.js → index-757tth7f.js} +2 -2
  100. package/dist/{index-v58qq412.js → index-78tfg9py.js} +2 -2
  101. package/dist/{index-97a7bb0r.js → index-7fhjeajg.js} +1 -1
  102. package/dist/{index-htafenas.js → index-8mw9d9jd.js} +1 -1
  103. package/dist/{index-2mdg1a03.js → index-917rd8at.js} +1 -1
  104. package/dist/{index-dk463fx7.js → index-91t0z6g9.js} +1 -1
  105. package/dist/index-9ge2g301.js +1 -0
  106. package/dist/{index-s961fec1.js → index-a6zvz6gv.js} +1 -1
  107. package/dist/{index-btcbxwf1.js → index-ac4y1fm1.js} +1 -1
  108. package/dist/{index-sjz68qpz.js → index-bcs2y6bz.js} +1 -1
  109. package/dist/{index-sz8zbzqw.js → index-bnwhybh7.js} +1 -1
  110. package/dist/{index-b3hwx176.js → index-c51cvjaw.js} +1 -1
  111. package/dist/{index-ctwpnkep.js → index-cg64tmyp.js} +1 -1
  112. package/dist/index-cke03ky3.js +2 -0
  113. package/dist/{index-rkmpsmj7.js → index-ckk0cpg2.js} +1 -1
  114. package/dist/{index-12qxk1fw.js → index-cm1axdz4.js} +2 -2
  115. package/dist/index-dkjpv3v8.js +121 -0
  116. package/dist/index-dyn7jm04.js +1 -0
  117. package/dist/{index-zzxyp9zv.js → index-e52fymvh.js} +1 -1
  118. package/dist/index-faj8kzqr.js +1 -0
  119. package/dist/index-fq170ezb.js +1 -0
  120. package/dist/{index-r43cvdya.js → index-g1as3s23.js} +2 -2
  121. package/dist/{index-schp69m9.js → index-g3v95te2.js} +2 -2
  122. package/dist/{index-a91ybn6n.js → index-g6qktxaj.js} +1 -1
  123. package/dist/{index-vamrbm0c.js → index-j85tycyn.js} +1 -1
  124. package/dist/{index-9wds4zg4.js → index-jjd6gjtk.js} +1 -1
  125. package/dist/{index-d66az3bj.js → index-jwb9z0t0.js} +2 -2
  126. package/dist/index-kbspw5vh.js +1 -0
  127. package/dist/index-kfx88mvc.js +1 -0
  128. package/dist/index-kn0c9652.js +1 -0
  129. package/dist/{index-ychamcd4.js → index-m36ksqyb.js} +2 -2
  130. package/dist/{index-k2xxt1f8.js → index-m5vf4jn4.js} +1 -1
  131. package/dist/{index-ba79k35t.js → index-m6j0aeq2.js} +1 -1
  132. package/dist/{index-mmy37bbh.js → index-me6xf924.js} +1 -1
  133. package/dist/{index-hbz00x1h.js → index-nksc7g3n.js} +1 -1
  134. package/dist/{index-wp1st81d.js → index-nnhcrm97.js} +1 -1
  135. package/dist/{index-qyxhzzte.js → index-nscsq6z2.js} +1 -1
  136. package/dist/{index-n95wzs7j.js → index-nvcc68p5.js} +1 -1
  137. package/dist/{index-jjky9e4z.js → index-pykgzher.js} +2 -2
  138. package/dist/{index-na040vfb.js → index-rxpa0atz.js} +1 -1
  139. package/dist/{index-hr1ap5qf.js → index-s35x83wa.js} +1 -1
  140. package/dist/{index-16mzkb0b.js → index-sg71jjzz.js} +1 -1
  141. package/dist/{index-p4x00vje.js → index-sv2949cy.js} +1 -1
  142. package/dist/{index-4ysrfbkp.js → index-tgqcjdvt.js} +1 -1
  143. package/dist/{index-e08snq88.js → index-tq1ydcb4.js} +1 -1
  144. package/dist/{index-fs2k265e.js → index-tszgqq2v.js} +1 -1
  145. package/dist/{index-x4ha0h6k.js → index-tvdy8fs0.js} +1 -1
  146. package/dist/{index-dpxxm8rv.js → index-tzprh6pt.js} +1 -1
  147. package/dist/{index-gkwpkvzq.js → index-v0eegwp5.js} +1 -1
  148. package/dist/{index-dtxrma97.js → index-vrvk9brn.js} +1 -1
  149. package/dist/{index-2sb8sfkr.js → index-vzp304yq.js} +1 -1
  150. package/dist/{index-bgqb3mtz.js → index-wzsvzv00.js} +1 -1
  151. package/dist/{index-asp78vex.js → index-xpfy1be7.js} +1 -1
  152. package/dist/{index-qdctc58v.js → index-y6r9yjk7.js} +1 -1
  153. package/dist/{index-rhs6x646.js → index-z7kqxb74.js} +2 -2
  154. package/dist/{index-3eyj4mb2.js → index-za6wpyn8.js} +1 -1
  155. package/dist/{index-z5nxz0jw.js → index-zhy3tb08.js} +1 -1
  156. package/dist/index.js +1 -1
  157. package/dist/lib/autoGrow.d.ts +39 -0
  158. package/dist/lib/autoGrow.d.ts.map +1 -0
  159. package/package.json +1 -1
  160. package/dist/index-3y9jaq2t.js +0 -1
  161. package/dist/index-54661rc5.js +0 -1
  162. package/dist/index-h8j7nvmr.js +0 -1
  163. package/dist/index-k6wx57x7.js +0 -1
  164. package/dist/index-r2eq1jre.js +0 -1
  165. package/dist/index-s24xbskb.js +0 -121
  166. package/dist/index-t8p34zj2.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.15.0
4
+
5
+ ### Added
6
+
7
+ - Popover: a floating panel anchored to its trigger, on Base UI Popover, used namespace-style (`Popover.Root`, `Trigger`, `Portal`, `Content`, `Header`, `Title`, `Description`, `Body`, `Footer`, `Close`, `CloseButton`), for a desktop cart, a short form, or details opened from a toolbar button. Give every popover a name. When the trigger already says what opens, such as a cart or a paste form, leave out the header and put `aria-label` on `Content`. Otherwise put a `Title` (and usually a `CloseButton`) in a `Header`, and the title names the panel. `Content` takes `size` for the width (`sm` 320px, `md` 480px, the default, `lg` 540px) and the positioning props DropdownMenu has: `side` (default `bottom`), `align` (default `start`), `sideOffset` (default 4) and `alignOffset`. It uses the popup surface (10px corners, the popup border and shadow), never grows past the space the viewport has, and its `Body` scrolls while the header and footer stay put. `Body padding="none"` runs rows edge to edge; `Footer orientation="vertical"` stacks full-width rows, such as a total above a checkout button. It has no arrow. A click outside or Escape closes it, and focus returns to the trigger.
8
+ - SegmentedBar takes `variant="rounded"`, which gives the bar a button's corner shape instead of pill ends (2px at `sm` and `md`, 4px at `lg`, 6px at `xl`; the legend swatches get 2px corners to match), and `size="xl"`, an 18px bar. `pill` stays the default, so existing bars do not change. The `SegmentedBarVariant` type and `segmentedBarSwatchVariants` are exported.
9
+ - StoreMark takes `logoUrl`: a `tile` shows the store's square logo once it loads and keeps the initials while it loads, when it fails, or when there is none. It takes `size="lg"`, a 20px tile for a storefront's navbar and footer; `md` (18px) stays the default. And it takes `tone`: `color` (the default, today's colour from the store id), `dark` (an ink tile with white initials) or `light` (a solid pale grey tile with a grey edge and ink initials, so it stays the same grey on any background). Under `dark` and `light` a logo shows in grayscale. The tile carries `data-tone`. A `badge` ignores all three props.
10
+ - Textarea and InputGroupTextarea take `autoGrow`, with `minRows` (default 3) and `maxRows` (default 10): the field grows with its text, scrolls past the maximum, and shrinks again when the text is cleared. Browsers with `field-sizing: content` size it in CSS; others get the same heights measured from the text. Rows are measured from the field's own line height and padding, so they hold for every size, the `mono` variant and an InputGroup. While the field has focus and grows, it keeps itself in view. Textarea hides the resize handle when `autoGrow` is on unless you set `resize`. Without `autoGrow` nothing changes. Give an auto-growing field its width from its container: `field-sizing: content` also sizes the width when the container shrinks to fit.
11
+ - README → Styles → "Re-colouring for a tenant": the six semantic tokens to override when you only have the tenant's one colour, which brand tints still need the full ramp, why the ramp goes on `:root` and not on a wrapper element, and the one build-time fallback (the 20% field focus ring in browsers that cannot mix a CSS variable).
12
+ - `INDEX.md` lists Popover and the new SegmentedBar, StoreMark, Textarea and InputGroup props.
13
+ - Development only: the design-system lint's composition rule covers Popover, so `Popover.Root` needs a `Popover.Trigger` and a `Popover.Content`; a header is not required. The lint config is not in the published package.
14
+
15
+ ### Changed
16
+
17
+ - StoreMark's `tile` is a squircle (continuous corners, like an app icon) instead of a square with 5px corners, at both sizes, with or without a logo, in every browser. An SVG mask cuts the shape and an SVG stroke of the same curve draws the edge. This is the one change existing screens will see: the 18px tile in storepass's support tickets (header, sidebar and table) changes shape and keeps its colour, its white inner edge and its small shadow.
18
+ - Every `tile` now sits inside a new wrapping `span` (`data-slot="store-mark-frame"`) that carries the shadow, because the mask would cut a shadow off the tile itself. The tile keeps `data-slot="store-mark"`, `role="img"`, its `aria-label`, and any `className`, `style` or other props you pass.
19
+ - Resizing the tile through `className` is not supported. The edge stroke is drawn for 18px and 20px, so a tile resized another way gets an edge thicker or thinner than 1px. Use `size`.
20
+
21
+ ### Compatibility notes
22
+
23
+ - No prop, export, or token was renamed or removed.
24
+ - `storeMarkVariants({ variant: "tile" })` no longer includes the 5px corners, because the component draws the shape with a mask. Render `StoreMark` instead of reusing its classes.
25
+
26
+ ### Upgrading
27
+
28
+ - From 0.14.0 nothing is required. From 0.13.x, nothing in 0.15.0 is required either; also read the 0.14.0 Upgrading notes below (hand-written focus rings, header-row hover).
29
+ - If you style or query the tile's parent, for example with a parent selector, a `>` child combinator, or `parentElement` in a test, the tile's parent is now the `store-mark-frame` span. Selectors on `[data-slot="store-mark"]` still find the tile.
30
+ - Re-colouring for a tenant needs nothing new. storepass/buylist already sets the six semantic tokens from the README and a generated brand ramp on `:root[data-tenant-brand]`, which is what the note recommends.
31
+
3
32
  ## 0.14.0
4
33
 
5
34
  ### Changed
package/INDEX.md CHANGED
@@ -21,9 +21,9 @@ This file ships in the npm package, so a consuming repository reads it at `node_
21
21
  - Pick InputGroup instead when the addon is interactive (a button, a Kbd hint, inline text) or sits above or below the input, or when the control is a textarea.
22
22
  - Pick NumberField instead when the value is a number that needs steppers, min/max/step, Intl formatting, or scrubbing.
23
23
  - Pick PinInput instead when the user enters a fixed-length one-time code.
24
- - InputGroup: A composable field shell (InputGroup with InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, and InputGroupTextarea) for inputs with inline or block addons, buttons, and Kbd hints, on the shared `sm`/`md`/`lg` control heights. `@storepass/components/InputGroup`
24
+ - InputGroup: A composable field shell (InputGroup with InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, and InputGroupTextarea, which takes the same `autoGrow`, `minRows`, and `maxRows` as Textarea) for inputs with inline or block addons, buttons, and Kbd hints, on the shared `sm`/`md`/`lg` control heights. `@storepass/components/InputGroup`
25
25
  - Pick Input instead when you only need a plain field with an optional decorative icon, label, and error.
26
- - Textarea: A multiline text field with built-in `label` and `error`, `sm`/`md`/`lg` sizes, a `mono` variant (monospace at 12px for code, JSON, and CSS), and `resize` set to `none`, `vertical`, `horizontal`, or `both`, which renders bare inside a FormField. `@storepass/components/Textarea`
26
+ - Textarea: A multiline text field with built-in `label` and `error`, `sm`/`md`/`lg` sizes, a `mono` variant (monospace at 12px for code, JSON, and CSS), `resize` set to `none`, `vertical`, `horizontal`, or `both`, and `autoGrow`, which grows the field with its text between `minRows` (3) and `maxRows` (10) and then scrolls; it renders bare inside a FormField. `@storepass/components/Textarea`
27
27
  - Pick InputGroup (with InputGroupTextarea) instead when the textarea needs a toolbar or action buttons attached, as in a composer.
28
28
  - NumberField: A numeric input on Base UI NumberField with nested increment and decrement chips, min/max/step, Intl `format` options, an optional drag-to-scrub label, built-in `label` and `error`, and `sm`/`md`/`lg` sizes. `@storepass/components/NumberField`
29
29
  - Pick Slider instead when an approximate value picked by dragging along a visible range is good enough.
@@ -91,6 +91,11 @@ This file ships in the npm package, so a consuming repository reads it at `node_
91
91
  - Command: A searchable command menu on cmdk, used namespace-style (Command.Root, Command.Input, Command.List, Command.Empty, Command.Group, Command.Item, Command.Separator, Command.Shortcut, Command.Header, Command.Scopes, Command.Scope, Command.Description, Command.Meta, Command.Footer, Command.Hint, Command.Dialog), for command palettes, workspace search with scope filters, and quick actions, inline or in a `sm`/`md`/`lg` Command.Dialog. `@storepass/components/Command`
92
92
  - Pick Combobox instead when the selection is a form value that needs to stay visible in a field.
93
93
  - Pick DropdownMenu instead when there are only a few actions and no search is needed.
94
+ - Popover: A floating panel anchored to its trigger on Base UI Popover, used namespace-style (Popover.Root, Popover.Trigger, Popover.Portal, Popover.Content, Popover.Header, Popover.Title, Popover.Description, Popover.Body, Popover.Footer, Popover.Close, Popover.CloseButton), with `side`, `align`, `sideOffset`, and `alignOffset` as on DropdownMenu, `sm`/`md`/`lg` widths (320, 480, 540px), a Body that scrolls inside the viewport (`padding="none"` for edge-to-edge rows), and a Footer that stays put (`horizontal` or `vertical`), for a desktop cart, a short form, or details opened from a toolbar button. When the trigger already says what opens, as in a cart or a paste form, leave out the Header and name the panel with `aria-label` on Content; use a Header with a Title when it does not. `@storepass/components/Popover`
95
+ - Pick Dialog instead when the task should block the page until it is done or dismissed, or when the content is too large to sit next to its trigger.
96
+ - Pick Drawer instead on touch screens and narrow viewports, where an anchored panel has no room; a cart is a Popover on desktop and a Drawer on mobile.
97
+ - Pick DropdownMenu instead when the panel is only a list of actions to run.
98
+ - Pick Tooltip instead for a short read-only hint on hover or focus with nothing to click inside.
94
99
  - Tooltip: A quiet hint on hover or keyboard focus on Base UI Tooltip (Tooltip with TooltipTrigger and TooltipContent), with `side` and `sideOffset`, an arrow, and TooltipProvider to share hover timing across related tooltips. `@storepass/components/Tooltip`
95
100
  - Pick Gloss instead when the trigger is a date, time, or money value whose compact reading should reveal the exact value.
96
101
 
@@ -152,7 +157,7 @@ This file ships in the npm package, so a consuming repository reads it at `node_
152
157
  - Gloss: A compact reading of a datetime (`kind="datetime"`, relative such as "3h", with an optional `live` refresh and `timeZone`) or a Money amount (`kind="money"`, compact such as $1.29M) that shows the exact value in a tooltip on hover, focus, or tap. `@storepass/components/Gloss`
153
158
  - Pick Tooltip instead for any other hover hint that is not a date, time, or amount.
154
159
  - Pick MoneyAmount instead when the exact amount should always be visible, as in totals and table columns.
155
- - SegmentedBar: A proportional bar split into colored segments that breaks down one total (for example listings by status), with an optional `list` or `inline` legend of labels and counts, a `max` that leaves remainder track, `brand`, `success`, `warning`, `error`, `info`, `neutral`, and `muted` tones, and `sm`/`md`/`lg` sizes. `@storepass/components/SegmentedBar`
160
+ - SegmentedBar: A proportional bar split into colored segments that breaks down one total (for example listings by status), with an optional `list` or `inline` legend of labels and counts, a `max` that leaves remainder track, `brand`, `success`, `warning`, `error`, `info`, `neutral`, and `muted` tones, `sm`/`md`/`lg`/`xl` sizes, and a `variant` of `pill` (default, fully rounded ends) or `rounded` (a button's corner shape). `@storepass/components/SegmentedBar`
156
161
  - Pick Progress instead for one task moving toward done.
157
162
  - Pick Tabs (pill variant) instead if you were looking for a segmented control, which this component is not.
158
163
 
@@ -195,7 +200,8 @@ This file ships in the npm package, so a consuming repository reads it at `node_
195
200
 
196
201
  - Avatar: A user avatar on Base UI Avatar that shows an image with an initials or custom fallback, `xs` to `xl` sizes, an opt-in `colored` tint hashed from `colorHash` or the fallback, and AvatarGroup for an overlapping stack. `@storepass/components/Avatar`
197
202
  - Pick StoreMark instead to represent a store (tenant) rather than a person.
198
- - StoreMark: A store's mark colored from its id so the same store looks the same everywhere, as a `badge` (the name on a soft gradient, as in the tickets list) or an 18px `tile` of initials (as in a sidebar). `@storepass/components/StoreMark`
203
+ - StoreMark: A store's mark colored from its id so the same store looks the same everywhere, as a `badge` (the name on a soft gradient, as in the tickets list) or a `tile` of initials (as in a sidebar), 18px at `size="md"` or 20px at `size="lg"`, that shows the store's square logo from `logoUrl` once it loads and keeps the initials while it loads, when it fails, or when there is none. The tile is a squircle, and `tone` picks its colour: `color` from the id (default), or monochrome `dark` or `light` with the logo in grayscale. `@storepass/components/StoreMark`
204
+ - Pick a plain image instead for a wide wordmark logo; StoreMark is a square mark.
199
205
  - Pick Avatar instead for a person, or ChannelMark for a sales channel.
200
206
  - ChannelMark: A small square tile with a sales channel's letter or logo, an optional corner status dot (`success`, `warning`, `error`, `info`, `neutral`) with a spoken `statusLabel`, a dashed `off` state, and `sm`/`md` sizes. `@storepass/components/ChannelMark`
201
207
  - Pick StoreMark instead to identify a store rather than a channel such as TCGplayer or CardTrader.
package/README.md CHANGED
@@ -39,6 +39,29 @@ Load FontAwesome's CSS once, before the Storepass theme, to keep icon sizing con
39
39
 
40
40
  The theme currently supports light mode. Use semantic tokens such as `text-tertiary`, `bg-brand-solid`, and `border-secondary`. Stacked surfaces use translucent ink tokens: `bg-ink-hover`, `bg-ink-well`, `bg-ink-pressed`, and `border-hairline`.
41
41
 
42
+ ### Re-colouring for a tenant
43
+
44
+ Every brand colour in the library comes from the brand ramp (`--color-brand-25` … `--color-brand-950`). No component hard-codes a brand hex. There are two ways to re-colour it.
45
+
46
+ **Full re-colour (preferred).** Build a ramp from the tenant colour the way `scripts/gen-scale.ts` builds the Storepass one (even OKLCH lightness steps, with the tenant colour pinned at 600) and set every step on `:root`. In Storybook this re-colours every story except the colour-palette docs pages, which show literal hex values. Set the ramp on `:root`, not on a wrapper element: the semantic tokens below are declared on `:root` and resolve there, so a ramp set on a subtree does not reach them. To theme only a subtree, re-declare the semantic tokens on that element as well.
47
+
48
+ **Single colour.** If you only have the tenant's one colour, override these semantic tokens on `:root`:
49
+
50
+ | Token | What it colours |
51
+ | --- | --- |
52
+ | `--color-bg-brand-solid` | Primary Button fill at rest |
53
+ | `--color-bg-brand-solid_hover` | Primary Button fill on hover. Pressed adds no colour (it is a 1px shift), and disabled is opacity. |
54
+ | `--color-text-primary_on-brand` | Primary Button label (white). Change it only if the tenant colour is too light for white text (4.5:1). |
55
+ | `--color-primary`, `--color-primary-hover` | Selected and active states: checked Checkbox, RadioGroup and Toggle, the Slider fill, active Carousel dot, Progress, LoadingIndicator, the default SegmentedBar segment, the link Button, the sidebar active tick, and the FileUpload drag border |
56
+ | `--color-ring` | The keyboard focus outline (`focus-ring` utility) and the text-field focus border and 20% ring (Input, Textarea, InputGroup, Select, Combobox, NumberField, PinInput, DatePicker). The ring's 20% layer has a build-time fallback; see the last paragraph. |
57
+ | `--color-fg-brand-primary` | Brand icons, such as the DataGrid selection checks |
58
+
59
+ Menu, Combobox and Command highlights use the neutral ink tokens, so they need no override.
60
+
61
+ With only these six tokens, the light brand tints stay purple, because they follow ramp steps directly. They are `--color-bg-brand-primary` (SelectionBar, the AppShell badge), `--color-text-brand-*`, `--color-border-brand`, `--color-focus-ring`, and the `utility-brand-*` scale (FeaturedIcon, Avatar `colored`, Timeline, StatusGlyph, the Item selected border, the FileUpload drag fill). Use the full ramp to re-colour these too.
62
+
63
+ One value is hard-coded at build time. Tailwind compiles opacity modifiers on theme colours, such as `ring-ring/20` on focused fields, with a literal fallback (`color-mix(in srgb, #8150e9 20%, transparent)`) for browsers that cannot mix a CSS variable. Current browsers use the variable form and follow the override. Older ones keep a purple field focus ring.
64
+
42
65
  ## Usage
43
66
 
44
67
  Import components from the package root or from individual component paths:
@@ -1 +1 @@
1
- import{Mo,Lo,Eo,on,rn,an,nn}from"../../index-2mdg1a03.js";import"../../index-6hjt8vvj.js";export{on as Accordion,nn as AccordionContent,rn as AccordionItem,an as AccordionTrigger,Mo as accordionItemVariants,Eo as accordionPanelVariants,Lo as accordionTriggerVariants};
1
+ import{Ho,Wo,$o,mn,fn,gn,bn}from"../../index-917rd8at.js";import"../../index-6hjt8vvj.js";export{mn as Accordion,bn as AccordionContent,fn as AccordionItem,gn as AccordionTrigger,Ho as accordionItemVariants,$o as accordionPanelVariants,Wo as accordionTriggerVariants};
@@ -1 +1 @@
1
- import{Gn,Hn,Wn,$n,Un,m}from"../../index-mmy37bbh.js";import"../../index-6hjt8vvj.js";export{m as AlertDialog,Un as alertDialogActionsVariants,$n as alertDialogDescriptionVariants,Gn as alertDialogOverlayVariants,Hn as alertDialogPopupVariants,Wn as alertDialogTitleVariants};
1
+ import{Yn,Qn,Jn,qn,ei,m}from"../../index-me6xf924.js";import"../../index-6hjt8vvj.js";export{m as AlertDialog,ei as alertDialogActionsVariants,qn as alertDialogDescriptionVariants,Yn as alertDialogOverlayVariants,Qn as alertDialogPopupVariants,Jn as alertDialogTitleVariants};
@@ -1 +1 @@
1
- import{sn}from"../../index-btcbxwf1.js";import"../../index-jj59rx1e.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{sn as AttachmentTile};
1
+ import{xn}from"../../index-ac4y1fm1.js";import"../../index-jj59rx1e.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{xn as AttachmentTile};
@@ -1 +1 @@
1
- import{Ao,_,ie}from"../../index-16mzkb0b.js";import"../../index-6hjt8vvj.js";export{_ as Avatar,ie as AvatarGroup,Ao as avatarVariants};
1
+ import{Uo,G,ie}from"../../index-sg71jjzz.js";import"../../index-6hjt8vvj.js";export{G as Avatar,ie as AvatarGroup,Uo as avatarVariants};
@@ -1 +1 @@
1
- import{Bo,x}from"../../index-vamrbm0c.js";import"../../index-6hjt8vvj.js";export{x as Badge,Bo as badgeVariants};
1
+ import{jo,x}from"../../index-j85tycyn.js";import"../../index-6hjt8vvj.js";export{x as Badge,jo as badgeVariants};
@@ -1 +1 @@
1
- import{Ua,ja,Ka,Xa,Ya,Za,Qa}from"../../index-s961fec1.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{Qa as BreadcrumbEllipsis,Ka as BreadcrumbItem,Xa as BreadcrumbLink,ja as BreadcrumbList,Ya as BreadcrumbPage,Za as BreadcrumbSeparator,Ua as Breadcrumbs};
1
+ import{en,tn,on,rn,an,nn,sn}from"../../index-a6zvz6gv.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{sn as BreadcrumbEllipsis,on as BreadcrumbItem,rn as BreadcrumbLink,tn as BreadcrumbList,an as BreadcrumbPage,nn as BreadcrumbSeparator,en as Breadcrumbs};
@@ -1 +1 @@
1
- import"../../index-626k16zr.js";import{o}from"../../index-2bbt1hpa.js";import"../../index-6hjt8vvj.js";export{o as Button};
1
+ import"../../index-626k16zr.js";import{o}from"../../index-757tth7f.js";import"../../index-6hjt8vvj.js";export{o as Button};
@@ -1 +1 @@
1
- import{Fn,Ja,qa}from"../../index-dpxxm8rv.js";import"../../index-6hjt8vvj.js";export{Ja as ButtonGroup,qa as ButtonGroupSeparator,Fn as buttonGroupVariants};
1
+ import{Hn,ln,dn}from"../../index-tzprh6pt.js";import"../../index-6hjt8vvj.js";export{ln as ButtonGroup,dn as ButtonGroupSeparator,Hn as buttonGroupVariants};
@@ -1 +1 @@
1
- import"../../index-mq3xffc2.js";import{Yn,Ee,Zn,Mn,Ln,En,An,Bn,Qn,Ae,Jn,zn}from"../../index-jjky9e4z.js";import"../../index-6hjt8vvj.js";export{Ee as Card,Bn as CardAction,Ae as CardContent,An as CardDescription,zn as CardFooter,Mn as CardHeader,Ln as CardHeaderContent,En as CardTitle,Qn as cardContentVariants,Jn as cardFooterVariants,Zn as cardHeaderVariants,Yn as cardVariants};
1
+ import"../../index-mq3xffc2.js";import{ai,Ee,ni,Wn,$n,Un,jn,Kn,ii,Ae,si,Xn}from"../../index-pykgzher.js";import"../../index-6hjt8vvj.js";export{Ee as Card,Kn as CardAction,Ae as CardContent,jn as CardDescription,Xn as CardFooter,Wn as CardHeader,$n as CardHeaderContent,Un as CardTitle,ii as cardContentVariants,si as cardFooterVariants,ni as cardHeaderVariants,ai as cardVariants};
@@ -1 +1 @@
1
- import"../../index-wpk5v3xc.js";import{P,Be,ze,_e,Ge,He,_n}from"../../index-rhs6x646.js";import"../../index-2bbt1hpa.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{Be as Carousel,ze as CarouselContent,_n as CarouselDots,_e as CarouselItem,He as CarouselNext,Ge as CarouselPrevious,P as useCarousel};
1
+ import"../../index-wpk5v3xc.js";import{P,ze,Ge,_e,He,We,Zn}from"../../index-z7kqxb74.js";import"../../index-757tth7f.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{ze as Carousel,Ge as CarouselContent,Zn as CarouselDots,_e as CarouselItem,We as CarouselNext,He as CarouselPrevious,P as useCarousel};
@@ -1 +1 @@
1
- import{wo,No,en}from"../../index-97a7bb0r.js";import"../../index-6hjt8vvj.js";export{en as ChannelMark,No as channelMarkStatusVariants,wo as channelMarkVariants};
1
+ import{Vo,Oo,pn}from"../../index-7fhjeajg.js";import"../../index-6hjt8vvj.js";export{pn as ChannelMark,Oo as channelMarkStatusVariants,Vo as channelMarkVariants};
@@ -1 +1 @@
1
- import{Ro,So,B}from"../../index-sjz68qpz.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{B as Checkbox,So as checkboxIndicatorVariants,Ro as checkboxVariants};
1
+ import{Fo,Mo,A}from"../../index-bcs2y6bz.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{A as Checkbox,Mo as checkboxIndicatorVariants,Fo as checkboxVariants};
@@ -1 +1 @@
1
- import{To,ko,Io,Do,Vo,Oo,Fo,tn}from"../../index-rkmpsmj7.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{tn as Collapsible,Fo as CollapsibleChevron,Oo as CollapsibleContent,Vo as CollapsiblePanel,Io as CollapsibleRoot,Do as CollapsibleTrigger,ko as collapsiblePanelVariants,To as collapsibleTriggerVariants};
1
+ import{Lo,Bo,Eo,Ao,zo,Go,_o,un}from"../../index-ckk0cpg2.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{un as Collapsible,_o as CollapsibleChevron,Go as CollapsibleContent,zo as CollapsiblePanel,Eo as CollapsibleRoot,Ao as CollapsibleTrigger,Bo as collapsiblePanelVariants,Lo as collapsibleTriggerVariants};
@@ -1 +1 @@
1
- import{Yt,Zt,Le,Qt,Jt,qt,eo,to,oo,ro,ao,c}from"../../index-qdctc58v.js";import"../../index-d66az3bj.js";import"../../index-nwwzg7n8.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{c as Combobox,Le as comboboxButtonVariants,ao as comboboxChipRemoveVariants,ro as comboboxChipVariants,oo as comboboxChipsVariants,Qt as comboboxContentVariants,qt as comboboxEmptyVariants,to as comboboxGroupLabelVariants,Zt as comboboxInputGroupVariants,Yt as comboboxInputVariants,Jt as comboboxItemVariants,eo as comboboxStatusVariants};
1
+ import{ro,ao,Be,no,io,so,lo,po,co,uo,mo,c}from"../../index-y6r9yjk7.js";import"../../index-jwb9z0t0.js";import"../../index-55nad9b8.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{c as Combobox,Be as comboboxButtonVariants,mo as comboboxChipRemoveVariants,uo as comboboxChipVariants,co as comboboxChipsVariants,no as comboboxContentVariants,so as comboboxEmptyVariants,po as comboboxGroupLabelVariants,ao as comboboxInputGroupVariants,ro as comboboxInputVariants,io as comboboxItemVariants,lo as comboboxStatusVariants};
@@ -1 +1 @@
1
- import{Vt,Ot,Ft,Mt,Lt,Et,At,Bt,zt,Sa}from"../../index-x4ha0h6k.js";import"../../index-2sb8sfkr.js";import"../../index-hbz00x1h.js";import"../../index-6hjt8vvj.js";export{Sa as Command,Mt as commandEmptyVariants,Lt as commandGroupVariants,Ot as commandInputVariants,zt as commandInputWrapperVariants,At as commandItemVariants,Ft as commandListVariants,Et as commandSeparatorVariants,Bt as commandShortcutVariants,Vt as commandVariants};
1
+ import{zt,Gt,_t,Ht,Wt,$t,Ut,jt,Kt,La}from"../../index-tvdy8fs0.js";import"../../index-vzp304yq.js";import"../../index-nksc7g3n.js";import"../../index-6hjt8vvj.js";export{La as Command,Ht as commandEmptyVariants,Wt as commandGroupVariants,Gt as commandInputVariants,Kt as commandInputWrapperVariants,Ut as commandItemVariants,_t as commandListVariants,$t as commandSeparatorVariants,jt as commandShortcutVariants,zt as commandVariants};
@@ -1 +1 @@
1
- import{_t,Gt,Ht,xe,Wt,$t,Ut,jt,Ta,ka,he,ye,ve,Pe,Ce,we,Ne,Re,Se,V,j,K,u,h,Kt,Ia,Da,O,Te,Va,ke,Oa}from"../../index-s24xbskb.js";import"../../index-jfzem8ns.js";import"../../index-5k17f917.js";import"../../index-6zm0by24.js";import"../../index-m4z4ey2n.js";import{a}from"../../index-bdntmxp6.js";import"../../index-v58qq412.js";import"../../index-asp78vex.js";import"../../index-qdctc58v.js";import"../../index-d66az3bj.js";import"../../index-2sb8sfkr.js";import"../../index-4yb5kxmn.js";import"../../index-nwwzg7n8.js";import"../../index-88mhdxqy.js";import"../../index-zzxyp9zv.js";import"../../index-626k16zr.js";import"../../index-2bbt1hpa.js";import"../../index-sjz68qpz.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-16mzkb0b.js";import"../../index-vamrbm0c.js";import"../../index-6hjt8vvj.js";export{h as ACTIONS_COLUMN_WIDTH,Gt as AvatarCell,Ht as AvatarGroupCell,Ce as ColumnMenu,Se as DENSITY_ROW_PY,Oa as DataGrid,xe as EmptyCell,_t as EntityCell,ve as FilterButton,ye as FilterChips,Re as GridPagination,$t as MoneyCell,V as PAGE_SIZE_DEFAULT,j as PAGE_SIZE_MAX,K as ROWS_PAGE_SIZE_MAX,Ne as RowActionsMenu,u as SELECT_COLUMN_WIDTH,he as SearchField,Pe as SortMenu,Ut as SparklineCell,jt as StatusCell,Wt as TagsCell,we as ViewMenu,Te as applyGridQuery,Ta as column,ka as defineGrid,Kt as emptyGridQuery,a as formatCount,Ia as parseGridQuery,ke as resolveGridResult,Da as serializeGridQuery,Va as toGridRequest,O as transitionGridQuery};
1
+ import{Xt,Zt,Yt,he,Qt,Jt,qt,eo,Ba,Ea,ye,ve,Pe,Ce,we,Ne,Re,Se,Te,V,j,K,u,h,to,Aa,za,O,ke,Ga,Ie,_a}from"../../index-dkjpv3v8.js";import"../../index-24qych6b.js";import"../../index-5k17f917.js";import"../../index-6zm0by24.js";import"../../index-5dfbecyj.js";import{a}from"../../index-bdntmxp6.js";import"../../index-78tfg9py.js";import"../../index-xpfy1be7.js";import"../../index-y6r9yjk7.js";import"../../index-jwb9z0t0.js";import"../../index-vzp304yq.js";import"../../index-2e9mtwm7.js";import"../../index-55nad9b8.js";import"../../index-4sgrvtt8.js";import"../../index-e52fymvh.js";import"../../index-626k16zr.js";import"../../index-757tth7f.js";import"../../index-bcs2y6bz.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-sg71jjzz.js";import"../../index-j85tycyn.js";import"../../index-6hjt8vvj.js";export{h as ACTIONS_COLUMN_WIDTH,Zt as AvatarCell,Yt as AvatarGroupCell,we as ColumnMenu,Te as DENSITY_ROW_PY,_a as DataGrid,he as EmptyCell,Xt as EntityCell,Pe as FilterButton,ve as FilterChips,Se as GridPagination,Jt as MoneyCell,V as PAGE_SIZE_DEFAULT,j as PAGE_SIZE_MAX,K as ROWS_PAGE_SIZE_MAX,Re as RowActionsMenu,u as SELECT_COLUMN_WIDTH,ye as SearchField,Ce as SortMenu,qt as SparklineCell,eo as StatusCell,Qt as TagsCell,Ne as ViewMenu,ke as applyGridQuery,Ba as column,Ea as defineGrid,to as emptyGridQuery,a as formatCount,Aa as parseGridQuery,Ie as resolveGridResult,za as serializeGridQuery,Ga as toGridRequest,O as transitionGridQuery};
@@ -1 +1 @@
1
- import{io,so,lo,Aa}from"../../index-fs2k265e.js";import"../../index-4yb5kxmn.js";import"../../index-nwwzg7n8.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{Aa as DatePicker,lo as datePickerDayVariants,so as datePickerPopupVariants,io as datePickerTriggerVariants};
1
+ import{go,bo,xo,ja}from"../../index-tszgqq2v.js";import"../../index-2e9mtwm7.js";import"../../index-55nad9b8.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{ja as DatePicker,xo as datePickerDayVariants,bo as datePickerPopupVariants,go as datePickerTriggerVariants};
@@ -1 +1 @@
1
- import{Tn,kn,In,Dn,Vn,v}from"../../index-hbz00x1h.js";import"../../index-6hjt8vvj.js";export{v as Dialog,Vn as dialogActionsVariants,Dn as dialogDescriptionVariants,Tn as dialogOverlayVariants,kn as dialogPopupVariants,In as dialogTitleVariants};
1
+ import{Bn,En,An,zn,Gn,v}from"../../index-nksc7g3n.js";import"../../index-6hjt8vvj.js";export{v as Dialog,Gn as dialogActionsVariants,zn as dialogDescriptionVariants,Bn as dialogOverlayVariants,En as dialogPopupVariants,An as dialogTitleVariants};
@@ -1 +1 @@
1
- import"../../index-6hjt8vvj.js";import"../../index-2bbt1hpa.js";import"../../index-r721jqpc.js";import"../../index-s3543vem.js";import{On,b}from"../../index-88mhdxqy.js";export{b as Drawer,On as drawerPopupVariants};
1
+ import"../../index-6hjt8vvj.js";import"../../index-757tth7f.js";import"../../index-r721jqpc.js";import"../../index-s3543vem.js";import{_n,b}from"../../index-4sgrvtt8.js";export{b as Drawer,_n as drawerPopupVariants};
@@ -1 +1 @@
1
- import{po,uo,mo,fo,go,bo,xo,r}from"../../index-zzxyp9zv.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{r as DropdownMenu,po as dropdownMenuContentVariants,uo as dropdownMenuItemVariants,mo as dropdownMenuLabelVariants,fo as dropdownMenuSeparatorVariants,go as dropdownMenuShortcutVariants,xo as dropdownMenuSubContentVariants,bo as dropdownMenuSubTriggerVariants};
1
+ import{yo,vo,Po,Co,wo,No,Ro,r}from"../../index-e52fymvh.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{r as DropdownMenu,yo as dropdownMenuContentVariants,vo as dropdownMenuItemVariants,Po as dropdownMenuLabelVariants,Co as dropdownMenuSeparatorVariants,wo as dropdownMenuShortcutVariants,Ro as dropdownMenuSubContentVariants,No as dropdownMenuSubTriggerVariants};
@@ -1 +1 @@
1
- import{ho,R}from"../../index-bgqb3mtz.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{R as FeaturedIcon,ho as featuredIconVariants};
1
+ import{So,R}from"../../index-wzsvzv00.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{R as FeaturedIcon,So as featuredIconVariants};
@@ -1 +1 @@
1
- import{d,L,co,Ba,za,_a,Ga,Ha,oe,Wa,re,$a,ae}from"../../index-nwwzg7n8.js";import"../../index-6hjt8vvj.js";export{Ba as Field,L as FieldContainerProvider,Ha as FieldContent,re as FieldDescription,ae as FieldError,Ga as FieldGroup,oe as FieldLabel,_a as FieldLegend,$a as FieldSeparator,za as FieldSet,Wa as FieldTitle,co as fieldVariants,d as useInFieldContainer};
1
+ import{p,L,ho,Ka,Xa,Za,Ya,Qa,oe,Ja,re,qa,ae}from"../../index-55nad9b8.js";import"../../index-6hjt8vvj.js";export{Ka as Field,L as FieldContainerProvider,Qa as FieldContent,re as FieldDescription,ae as FieldError,Ya as FieldGroup,oe as FieldLabel,Za as FieldLegend,qa as FieldSeparator,Xa as FieldSet,Ja as FieldTitle,ho as fieldVariants,p as useInFieldContainer};
@@ -1 +1 @@
1
- import{Tt,da}from"../../index-w01b2f8v.js";import"../../index-qyxhzzte.js";import"../../index-bgqb3mtz.js";import"../../index-626k16zr.js";import"../../index-2bbt1hpa.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{da as FileUpload,Tt as fileUploadVariants};
1
+ import{Lt,ha}from"../../index-32fdarm5.js";import"../../index-nscsq6z2.js";import"../../index-wzsvzv00.js";import"../../index-626k16zr.js";import"../../index-757tth7f.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{ha as FileUpload,Lt as fileUploadVariants};
@@ -1 +1 @@
1
- import{ca,pa,ua,ma,fa}from"../../index-k2xxt1f8.js";import"../../index-6hjt8vvj.js";export{ca as Footer,fa as FooterLink,ua as FooterMeta,ma as FooterNav,pa as FooterRow};
1
+ import{ya,va,Pa,Ca,wa}from"../../index-m5vf4jn4.js";import"../../index-6hjt8vvj.js";export{ya as Footer,wa as FooterLink,Pa as FooterMeta,Ca as FooterNav,va as FooterRow};
@@ -1 +1 @@
1
- import{ga,ba,xa,ha,ya}from"../../index-5fec682d.js";import"../../index-nwwzg7n8.js";import"../../index-6hjt8vvj.js";export{ga as Form,ya as FormActions,ba as FormField,ha as FormRow,xa as FormSection};
1
+ import{Na,Ra,Sa,Ta,ka}from"../../index-3xf91xtf.js";import"../../index-55nad9b8.js";import"../../index-6hjt8vvj.js";export{Na as Form,ka as FormActions,Ra as FormField,Ta as FormRow,Sa as FormSection};
@@ -1 +1 @@
1
- import{va}from"../../index-wp1st81d.js";import"../../index-b3hwx176.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{va as Gloss};
1
+ import{Ia}from"../../index-nnhcrm97.js";import"../../index-c51cvjaw.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{Ia as Gloss};
@@ -1 +1 @@
1
- import{Ca,be,wa,Na}from"../../index-4ysrfbkp.js";import"../../index-626k16zr.js";import"../../index-2bbt1hpa.js";import"../../index-mmy37bbh.js";import"../../index-6hjt8vvj.js";export{Ca as ImperativeDialogProvider,wa as useAlert,Na as useConfirm,be as useImperativeDialog};
1
+ import{Va,xe,Oa,Fa}from"../../index-tgqcjdvt.js";import"../../index-626k16zr.js";import"../../index-757tth7f.js";import"../../index-me6xf924.js";import"../../index-6hjt8vvj.js";export{Va as ImperativeDialogProvider,Oa as useAlert,Fa as useConfirm,xe as useImperativeDialog};
@@ -1 +1 @@
1
- import{Dt,Ra}from"../../index-hr1ap5qf.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{Ra as InlineAlert,Dt as inlineAlertVariants};
1
+ import{At,Ma}from"../../index-s35x83wa.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{Ma as InlineAlert,At as inlineAlertVariants};
@@ -1 +1 @@
1
- import{M,Sn,y}from"../../index-4yb5kxmn.js";import"../../index-nwwzg7n8.js";import"../../index-6hjt8vvj.js";export{y as Input,M as inputVariants,Sn as inputWrapperVariants};
1
+ import{M,Ln,y}from"../../index-2e9mtwm7.js";import"../../index-55nad9b8.js";import"../../index-6hjt8vvj.js";export{y as Input,M as inputVariants,Ln as inputWrapperVariants};
@@ -36,6 +36,12 @@ export interface InputGroupInputProps extends React.ComponentPropsWithoutRef<"in
36
36
  }
37
37
  declare const InputGroupInput: import("react").ForwardRefExoticComponent<InputGroupInputProps & import("react").RefAttributes<HTMLInputElement>>;
38
38
  export interface InputGroupTextareaProps extends React.ComponentPropsWithoutRef<"textarea"> {
39
+ /** Grow with the text between `minRows` and `maxRows`, then scroll. */
40
+ autoGrow?: boolean;
41
+ /** Rows an auto-growing field shows when empty. Defaults to 3. */
42
+ minRows?: number;
43
+ /** Rows an auto-growing field grows to before it scrolls. Defaults to 10. */
44
+ maxRows?: number;
39
45
  }
40
46
  declare const InputGroupTextarea: import("react").ForwardRefExoticComponent<InputGroupTextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
41
47
  export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants, };
@@ -1 +1 @@
1
- {"version":3,"file":"InputGroup.d.ts","sourceRoot":"","sources":["../../../src/components/InputGroup/InputGroup.tsx"],"names":[],"mappings":"AAGA,OAAO,EAA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AAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC;AAED,iBAAS,gBAAgB,CAAC,EACzB,SAAS,EACT,IAAe,EACf,OAAiB,EACjB,IAAW,EACX,GAAG,KAAK,EACR,EAAE,qBAAqB,+BAUvB;AAED,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC;CAAG;AAE5E,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,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;IAClD,uEAAuE;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,QAAA,MAAM,kBAAkB,yHA2CvB,CAAC;AAIF,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{wn,jr,vt,Kr,Pt,Xr,Yr,Ct,wt}from"../../index-t8p34zj2.js";import"../../index-2bbt1hpa.js";import"../../index-6hjt8vvj.js";export{jr as InputGroup,Kr as InputGroupAddon,Xr as InputGroupButton,Ct as InputGroupInput,Yr as InputGroupText,wt as InputGroupTextarea,vt as inputGroupAddonVariants,Pt as inputGroupButtonVariants,wn as inputGroupVariants};
1
+ import{On,ta,kt,oa,It,ra,aa,Dt,Vt}from"../../index-kbspw5vh.js";import"../../index-cke03ky3.js";import"../../index-757tth7f.js";import"../../index-6hjt8vvj.js";export{ta as InputGroup,oa as InputGroupAddon,ra as InputGroupButton,Dt as InputGroupInput,aa as InputGroupText,Vt as InputGroupTextarea,kt as inputGroupAddonVariants,It as inputGroupButtonVariants,On as inputGroupVariants};
@@ -1 +1 @@
1
- import{Zr,Qr,Nt,Jr,Rt,qr,ea,ta,oa,ra,aa,na}from"../../index-sz8zbzqw.js";import"../../index-6hjt8vvj.js";export{Jr as Item,ra as ItemActions,ea as ItemContent,oa as ItemDescription,na as ItemFooter,Zr as ItemGroup,aa as ItemHeader,qr as ItemMedia,Qr as ItemSeparator,ta as ItemTitle,Rt as itemMediaVariants,Nt as itemVariants};
1
+ import{na,ia,Ot,sa,Ft,la,da,pa,ca,ua,ma,fa}from"../../index-bnwhybh7.js";import"../../index-6hjt8vvj.js";export{sa as Item,ua as ItemActions,da as ItemContent,ca as ItemDescription,fa as ItemFooter,na as ItemGroup,ma as ItemHeader,la as ItemMedia,ia as ItemSeparator,pa as ItemTitle,Ft as itemMediaVariants,Ot as itemVariants};
@@ -1 +1 @@
1
- import{no,N,Ea}from"../../index-2sb8sfkr.js";import"../../index-6hjt8vvj.js";export{N as Kbd,Ea as KbdGroup,no as kbdVariants};
1
+ import{fo,N,Ua}from"../../index-vzp304yq.js";import"../../index-6hjt8vvj.js";export{N as Kbd,Ua as KbdGroup,fo as kbdVariants};
@@ -1 +1 @@
1
- import"../../index-77e650nh.js";import{ge}from"../../index-r43cvdya.js";import"../../index-6hjt8vvj.js";export{ge as Label};
1
+ import"../../index-77e650nh.js";import{be}from"../../index-g1as3s23.js";import"../../index-6hjt8vvj.js";export{be as Label};
@@ -1 +1 @@
1
- import{ia}from"../../index-23qg25c1.js";import"../../index-68ccexa7.js";import"../../index-rhs6x646.js";import"../../index-2bbt1hpa.js";import"../../index-jj59rx1e.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{ia as Lightbox};
1
+ import{ga}from"../../index-6qs2ez9w.js";import"../../index-29d9qhkm.js";import"../../index-z7kqxb74.js";import"../../index-757tth7f.js";import"../../index-jj59rx1e.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{ga as Lightbox};
@@ -1 +1 @@
1
- import{sa,la}from"../../index-dk463fx7.js";import"../../index-6hjt8vvj.js";export{la as LoadingIndicator,sa as loadingIndicatorVariants};
1
+ import{ba,xa}from"../../index-91t0z6g9.js";import"../../index-6hjt8vvj.js";export{xa as LoadingIndicator,ba as loadingIndicatorVariants};
@@ -1 +1 @@
1
- import{ee,Fe,Me,k,Xt,I}from"../../index-asp78vex.js";import"../../index-6hjt8vvj.js";export{I as MoneyAmount,k as formatMoney,ee as isMoneyLike,Xt as moneyAmountVariants,Me as moneyCurrencyCode,Fe as moneySign};
1
+ import{ee,Me,Le,k,oo,I}from"../../index-xpfy1be7.js";import"../../index-6hjt8vvj.js";export{I as MoneyAmount,k as formatMoney,ee as isMoneyLike,oo as moneyAmountVariants,Le as moneyCurrencyCode,Me as moneySign};
@@ -1 +1 @@
1
- import{lt,hr,yr,vr,Pr,Cr,wr,Nr,Rr,dt,Sr,Tr}from"../../index-e08snq88.js";import"../../index-6hjt8vvj.js";export{hr as Navbar,vr as NavbarBody,wr as NavbarDivider,Pr as NavbarFooter,yr as NavbarHeader,Rr as NavbarHeading,Sr as NavbarItem,Tr as NavbarLabel,Cr as NavbarSection,Nr as NavbarSpacer,dt as navbarItemVariants,lt as navbarVariants};
1
+ import{pt,Tr,kr,Ir,Dr,Vr,Or,Fr,Mr,ct,Lr,Br}from"../../index-tq1ydcb4.js";import"../../index-6hjt8vvj.js";export{Tr as Navbar,Ir as NavbarBody,Or as NavbarDivider,Dr as NavbarFooter,kr as NavbarHeader,Mr as NavbarHeading,Lr as NavbarItem,Br as NavbarLabel,Vr as NavbarSection,Fr as NavbarSpacer,ct as navbarItemVariants,pt as navbarVariants};
@@ -1 +1 @@
1
- import{vn,ct,ue,kr}from"../../index-z5nxz0jw.js";import"../../index-nwwzg7n8.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{kr as NumberField,ue as numberFieldButtonVariants,vn as numberFieldGroupVariants,ct as numberFieldInputVariants};
1
+ import{In,ut,ue,Er}from"../../index-zhy3tb08.js";import"../../index-55nad9b8.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{Er as NumberField,ue as numberFieldButtonVariants,In as numberFieldGroupVariants,ut as numberFieldInputVariants};
@@ -1 +1 @@
1
- import"../../index-6bayqdg2.js";import{Ir,Dr,me,fe,Pn,Cn}from"../../index-ychamcd4.js";import"../../index-v58qq412.js";import"../../index-2bbt1hpa.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{me as PageHeading,fe as PageHeadingBackLink,Pn as PageHeadingNav,Cn as PageHeadingNavLink,Dr as pageHeadingTitleVariants,Ir as pageHeadingVariants};
1
+ import"../../index-6bayqdg2.js";import{Ar,zr,me,fe,Dn,Vn}from"../../index-m36ksqyb.js";import"../../index-78tfg9py.js";import"../../index-757tth7f.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{me as PageHeading,fe as PageHeadingBackLink,Dn as PageHeadingNav,Vn as PageHeadingNavLink,zr as pageHeadingTitleVariants,Ar as pageHeadingVariants};
@@ -1 +1 @@
1
- import{Vr,Or}from"../../index-j6bvfvsj.js";import"../../index-6hjt8vvj.js";export{Vr as PageLayout,Or as PageLayoutColumns};
1
+ import{Gr,_r}from"../../index-3c7a4wks.js";import"../../index-6hjt8vvj.js";export{Gr as PageLayout,_r as PageLayoutColumns};
@@ -1 +1 @@
1
- import{pt,ut,mt,ft,Fr,Mr,Lr,Er,Ar,Br,zr}from"../../index-3y9jaq2t.js";import"../../index-626k16zr.js";import"../../index-2bbt1hpa.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{Fr as Pagination,Mr as PaginationContent,zr as PaginationEllipsis,Lr as PaginationItem,Er as PaginationLink,Br as PaginationNext,Ar as PaginationPrevious,ut as paginationContentVariants,ft as paginationEllipsisVariants,mt as paginationLinkVariants,pt as paginationVariants};
1
+ import{mt,ft,gt,bt,Hr,Wr,$r,Ur,jr,Kr,Xr}from"../../index-kn0c9652.js";import"../../index-626k16zr.js";import"../../index-757tth7f.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{Hr as Pagination,Wr as PaginationContent,Xr as PaginationEllipsis,$r as PaginationItem,Ur as PaginationLink,Kr as PaginationNext,jr as PaginationPrevious,ft as paginationContentVariants,bt as paginationEllipsisVariants,gt as paginationLinkVariants,mt as paginationVariants};
@@ -1 +1 @@
1
- import{gt,_r,bt,Gr,xt,Hr,ht,Wr}from"../../index-gkwpkvzq.js";import"../../index-6hjt8vvj.js";export{_r as Panel,Hr as PanelBody,Wr as PanelFooter,Gr as PanelHeader,xt as panelBodyVariants,ht as panelFooterVariants,bt as panelHeaderVariants,gt as panelVariants};
1
+ import{xt,Zr,ht,Yr,yt,Qr,vt,Jr}from"../../index-v0eegwp5.js";import"../../index-6hjt8vvj.js";export{Zr as Panel,Qr as PanelBody,Jr as PanelFooter,Yr as PanelHeader,yt as panelBodyVariants,vt as panelFooterVariants,ht as panelHeaderVariants,xt as panelVariants};
@@ -1 +1 @@
1
- import{yt,$r}from"../../index-9wds4zg4.js";import"../../index-6hjt8vvj.js";export{$r as PinInput,yt as pinInputVariants};
1
+ import{Pt,qr}from"../../index-jjd6gjtk.js";import"../../index-6hjt8vvj.js";export{qr as PinInput,Pt as pinInputVariants};
@@ -0,0 +1,100 @@
1
+ import { Popover as BasePopover } from "@base-ui/react/popover";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ import type { ComponentProps, HTMLAttributes, ReactNode } from "react";
4
+ declare const popoverContentVariants: (props?: ({
5
+ size?: "sm" | "md" | "lg" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ declare const popoverHeaderVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
8
+ declare const popoverTitleVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
9
+ declare const popoverDescriptionVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
+ declare const popoverBodyVariants: (props?: ({
11
+ padding?: "none" | "default" | null | undefined;
12
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
+ declare const popoverFooterVariants: (props?: ({
14
+ orientation?: "horizontal" | "vertical" | null | undefined;
15
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
16
+ export interface PopoverRootProps extends BasePopover.Root.Props {
17
+ children: ReactNode;
18
+ }
19
+ export interface PopoverTriggerProps extends Omit<ComponentProps<typeof BasePopover.Trigger>, "className"> {
20
+ className?: string;
21
+ children: ReactNode;
22
+ asChild?: boolean;
23
+ }
24
+ export interface PopoverPortalProps extends BasePopover.Portal.Props {
25
+ children: ReactNode;
26
+ }
27
+ export interface PopoverContentProps extends Omit<ComponentProps<typeof BasePopover.Popup>, "className">, VariantProps<typeof popoverContentVariants> {
28
+ className?: string;
29
+ children: ReactNode;
30
+ side?: "top" | "bottom" | "left" | "right";
31
+ align?: "start" | "center" | "end";
32
+ sideOffset?: number;
33
+ alignOffset?: number;
34
+ }
35
+ export type PopoverHeaderProps = HTMLAttributes<HTMLDivElement>;
36
+ export type PopoverTitleProps = Omit<ComponentProps<typeof BasePopover.Title>, "className"> & {
37
+ className?: string;
38
+ };
39
+ export type PopoverDescriptionProps = Omit<ComponentProps<typeof BasePopover.Description>, "className"> & {
40
+ className?: string;
41
+ };
42
+ export interface PopoverBodyProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof popoverBodyVariants> {
43
+ }
44
+ export interface PopoverFooterProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof popoverFooterVariants> {
45
+ }
46
+ export interface PopoverCloseProps extends Omit<ComponentProps<typeof BasePopover.Close>, "className"> {
47
+ className?: string;
48
+ children: ReactNode;
49
+ asChild?: boolean;
50
+ }
51
+ export type PopoverCloseButtonProps = Omit<ComponentProps<typeof BasePopover.Close>, "className"> & {
52
+ className?: string;
53
+ };
54
+ /**
55
+ * A floating panel anchored to its trigger, such as a cart or a short form
56
+ * opened from a toolbar button. It does not block the page; a click outside
57
+ * or Escape closes it and focus returns to the trigger.
58
+ */
59
+ declare function PopoverRoot({ children, ...props }: PopoverRootProps): import("react").JSX.Element;
60
+ declare function PopoverTrigger({ className, children, asChild, ...props }: PopoverTriggerProps): import("react").JSX.Element;
61
+ declare function PopoverPortal({ children, ...props }: PopoverPortalProps): import("react").JSX.Element;
62
+ /**
63
+ * The panel itself, portalled and positioned against the trigger. `size`
64
+ * sets the width (`sm` 320px, `md` 480px, `lg` 540px); the panel never
65
+ * grows past the space the viewport has, and a Body inside it scrolls.
66
+ * Name it: with `aria-label` when the trigger already says what opens and
67
+ * the panel has no title row, or with a Title inside a Header.
68
+ */
69
+ declare function PopoverContent({ className, children, size, side, align, sideOffset, alignOffset, ...props }: PopoverContentProps): import("react").JSX.Element;
70
+ declare function PopoverHeader({ className, ...props }: PopoverHeaderProps): import("react").JSX.Element;
71
+ declare function PopoverTitle({ className, ...props }: PopoverTitleProps): import("react").JSX.Element;
72
+ declare function PopoverDescription({ className, ...props }: PopoverDescriptionProps): import("react").JSX.Element;
73
+ /**
74
+ * The scrolling middle of the panel. `padding="none"` lets rows run edge to
75
+ * edge, as in a cart list.
76
+ */
77
+ declare function PopoverBody({ className, padding, ...props }: PopoverBodyProps): import("react").JSX.Element;
78
+ /**
79
+ * Actions that stay put below the scrolling Body. `horizontal` puts the first
80
+ * child at the start and the last at the end; `vertical` stacks full-width
81
+ * rows, such as a total above a checkout button.
82
+ */
83
+ declare function PopoverFooter({ className, orientation, ...props }: PopoverFooterProps): import("react").JSX.Element;
84
+ declare function PopoverClose({ className, children, asChild, ...props }: PopoverCloseProps): import("react").JSX.Element;
85
+ declare function PopoverCloseButton({ className, children, ...props }: PopoverCloseButtonProps): import("react").JSX.Element;
86
+ export declare const Popover: {
87
+ Root: typeof PopoverRoot;
88
+ Trigger: typeof PopoverTrigger;
89
+ Portal: typeof PopoverPortal;
90
+ Content: typeof PopoverContent;
91
+ Header: typeof PopoverHeader;
92
+ Title: typeof PopoverTitle;
93
+ Description: typeof PopoverDescription;
94
+ Body: typeof PopoverBody;
95
+ Footer: typeof PopoverFooter;
96
+ Close: typeof PopoverClose;
97
+ CloseButton: typeof PopoverCloseButton;
98
+ };
99
+ export { popoverBodyVariants, popoverContentVariants, popoverDescriptionVariants, popoverFooterVariants, popoverHeaderVariants, popoverTitleVariants, };
100
+ //# sourceMappingURL=Popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAEhE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvE,QAAA,MAAM,sBAAsB;;8EAsB3B,CAAC;AAEF,QAAA,MAAM,qBAAqB,oFAE1B,CAAC;AAEF,QAAA,MAAM,oBAAoB,oFAEzB,CAAC;AAEF,QAAA,MAAM,0BAA0B,oFAAuC,CAAC;AAExE,QAAA,MAAM,mBAAmB;;8EAaxB,CAAC;AAEF,QAAA,MAAM,qBAAqB;;8EAa1B,CAAC;AAEF,MAAM,WAAW,gBAAiB,SAAQ,WAAW,CAAC,IAAI,CAAC,KAAK;IAC/D,QAAQ,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,mBAChB,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACn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,+BAQpB;AAED,iBAAS,YAAY,CAAC,EACrB,SAAS,EACT,QAAQ,EACR,OAAO,EACP,GAAG,KAAK,EACR,EAAE,iBAAiB,+BAWnB;AAED,iBAAS,kBAAkB,CAAC,EAC3B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,uBAAuB,+BAezB;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,OAAO,EACN,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,GACpB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { PopoverBodyProps, PopoverCloseButtonProps, PopoverCloseProps, PopoverContentProps, PopoverDescriptionProps, PopoverFooterProps, PopoverHeaderProps, PopoverPortalProps, PopoverRootProps, PopoverTitleProps, PopoverTriggerProps, } from "./Popover";
2
+ export { Popover, popoverBodyVariants, popoverContentVariants, popoverDescriptionVariants, popoverFooterVariants, popoverHeaderVariants, popoverTitleVariants, } from "./Popover";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,gBAAgB,EAChB,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,GACnB,MAAM,WAAW,CAAC;AACnB,OAAO,EACN,OAAO,EACP,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,GACpB,MAAM,WAAW,CAAC"}
@@ -0,0 +1 @@
1
+ import{Ct,wt,Nt,Rt,St,Tt,ea}from"../../index-kfx88mvc.js";import"../../index-757tth7f.js";import"../../index-s3543vem.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{ea as Popover,St as popoverBodyVariants,Ct as popoverContentVariants,Rt as popoverDescriptionVariants,Tt as popoverFooterVariants,wt as popoverHeaderVariants,Nt as popoverTitleVariants};
@@ -1 +1 @@
1
- import{Ur}from"../../index-a91ybn6n.js";import"../../index-6hjt8vvj.js";export{Ur as PriorityGlyph};
1
+ import{vr}from"../../index-g6qktxaj.js";import"../../index-6hjt8vvj.js";export{vr as PriorityGlyph};
@@ -1 +1 @@
1
- import{kt,It,G}from"../../index-qyxhzzte.js";import"../../index-6hjt8vvj.js";export{G as Progress,It as progressIndicatorVariants,kt as progressTrackVariants};
1
+ import{Bt,Et,_}from"../../index-nscsq6z2.js";import"../../index-6hjt8vvj.js";export{_ as Progress,Et as progressIndicatorVariants,Bt as progressTrackVariants};
@@ -1 +1 @@
1
- import{or,rr}from"../../index-na040vfb.js";import"../../index-6hjt8vvj.js";export{or as PropertyList,rr as PropertyListItem};
1
+ import{Pr,Cr}from"../../index-rxpa0atz.js";import"../../index-6hjt8vvj.js";export{Pr as PropertyList,Cr as PropertyListItem};
@@ -1 +1 @@
1
- import{ot,rt,at,ar,nr}from"../../index-htafenas.js";import"../../index-6hjt8vvj.js";export{ar as RadioGroup,nr as RadioGroupItem,ot as radioGroupVariants,at as radioIndicatorVariants,rt as radioItemVariants};
1
+ import{nt,it,st,wr,Nr}from"../../index-8mw9d9jd.js";import"../../index-6hjt8vvj.js";export{wr as RadioGroup,Nr as RadioGroupItem,nt as radioGroupVariants,st as radioIndicatorVariants,it as radioItemVariants};
@@ -1 +1 @@
1
- import{le,ir}from"../../index-n95wzs7j.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{ir as Rating,le as ratingVariants};
1
+ import{pe,Rr}from"../../index-nvcc68p5.js";import"../../index-r721jqpc.js";import"../../index-6hjt8vvj.js";export{Rr as Rating,pe as ratingVariants};