@storepass/components 0.4.0 → 0.6.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 (205) hide show
  1. package/CHANGELOG.md +43 -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/Drawer/Drawer.d.ts +65 -0
  51. package/dist/components/Drawer/Drawer.d.ts.map +1 -0
  52. package/dist/components/Drawer/index.d.ts +2 -0
  53. package/dist/components/Drawer/index.d.ts.map +1 -0
  54. package/dist/components/Drawer/index.js +1 -0
  55. package/dist/components/DropdownMenu/DropdownMenu.d.ts +12 -12
  56. package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  57. package/dist/components/DropdownMenu/index.js +1 -1
  58. package/dist/components/FeaturedIcon/FeaturedIcon.d.ts +3 -3
  59. package/dist/components/FeaturedIcon/FeaturedIcon.d.ts.map +1 -1
  60. package/dist/components/FeaturedIcon/index.js +1 -1
  61. package/dist/components/Field/Field.d.ts +11 -11
  62. package/dist/components/Field/Field.d.ts.map +1 -1
  63. package/dist/components/Field/index.js +1 -1
  64. package/dist/components/FileUpload/FileUpload.d.ts +1 -1
  65. package/dist/components/FileUpload/FileUpload.d.ts.map +1 -1
  66. package/dist/components/FileUpload/index.js +1 -1
  67. package/dist/components/Footer/Footer.d.ts +5 -5
  68. package/dist/components/Footer/Footer.d.ts.map +1 -1
  69. package/dist/components/Footer/index.js +1 -1
  70. package/dist/components/Form/Form.d.ts +1 -1
  71. package/dist/components/Form/Form.d.ts.map +1 -1
  72. package/dist/components/Form/FormField.d.ts +1 -1
  73. package/dist/components/Form/FormField.d.ts.map +1 -1
  74. package/dist/components/Form/FormLayout.d.ts +3 -3
  75. package/dist/components/Form/FormLayout.d.ts.map +1 -1
  76. package/dist/components/Form/index.js +1 -1
  77. package/dist/components/Icon/Icon.d.ts +1 -1
  78. package/dist/components/Icon/Icon.d.ts.map +1 -1
  79. package/dist/components/Icon/index.js +1 -1
  80. package/dist/components/ImperativeDialog/ImperativeDialog.d.ts +1 -1
  81. package/dist/components/ImperativeDialog/ImperativeDialog.d.ts.map +1 -1
  82. package/dist/components/ImperativeDialog/index.js +1 -1
  83. package/dist/components/InlineAlert/InlineAlert.d.ts +1 -1
  84. package/dist/components/InlineAlert/InlineAlert.d.ts.map +1 -1
  85. package/dist/components/InlineAlert/index.js +1 -1
  86. package/dist/components/Input/Input.d.ts +5 -0
  87. package/dist/components/Input/Input.d.ts.map +1 -1
  88. package/dist/components/Input/index.js +1 -1
  89. package/dist/components/InputGroup/InputGroup.d.ts +10 -5
  90. package/dist/components/InputGroup/InputGroup.d.ts.map +1 -1
  91. package/dist/components/InputGroup/index.js +1 -1
  92. package/dist/components/Item/Item.d.ts +9 -9
  93. package/dist/components/Item/Item.d.ts.map +1 -1
  94. package/dist/components/Item/index.js +1 -1
  95. package/dist/components/Kbd/Kbd.d.ts +2 -2
  96. package/dist/components/Kbd/Kbd.d.ts.map +1 -1
  97. package/dist/components/Kbd/index.js +1 -1
  98. package/dist/components/Label/Label.d.ts +1 -1
  99. package/dist/components/Label/Label.d.ts.map +1 -1
  100. package/dist/components/Label/index.js +1 -1
  101. package/dist/components/LoadingIndicator/LoadingIndicator.d.ts +1 -1
  102. package/dist/components/LoadingIndicator/LoadingIndicator.d.ts.map +1 -1
  103. package/dist/components/LoadingIndicator/index.js +1 -1
  104. package/dist/components/MoneyAmount/MoneyAmount.d.ts +34 -0
  105. package/dist/components/MoneyAmount/MoneyAmount.d.ts.map +1 -0
  106. package/dist/components/MoneyAmount/formatMoney.d.ts +43 -0
  107. package/dist/components/MoneyAmount/formatMoney.d.ts.map +1 -0
  108. package/dist/components/MoneyAmount/index.d.ts +5 -0
  109. package/dist/components/MoneyAmount/index.d.ts.map +1 -0
  110. package/dist/components/MoneyAmount/index.js +1 -0
  111. package/dist/components/Navbar/Navbar.d.ts +10 -10
  112. package/dist/components/Navbar/Navbar.d.ts.map +1 -1
  113. package/dist/components/Navbar/index.js +1 -1
  114. package/dist/components/NumberField/NumberField.d.ts +7 -4
  115. package/dist/components/NumberField/NumberField.d.ts.map +1 -1
  116. package/dist/components/NumberField/index.js +1 -1
  117. package/dist/components/PageHeading/PageHeading.d.ts +83 -0
  118. package/dist/components/PageHeading/PageHeading.d.ts.map +1 -0
  119. package/dist/components/PageHeading/index.d.ts +3 -0
  120. package/dist/components/PageHeading/index.d.ts.map +1 -0
  121. package/dist/components/PageHeading/index.js +1 -0
  122. package/dist/components/PageLayout/PageLayout.d.ts +29 -0
  123. package/dist/components/PageLayout/PageLayout.d.ts.map +1 -0
  124. package/dist/components/PageLayout/index.d.ts +2 -0
  125. package/dist/components/PageLayout/index.d.ts.map +1 -0
  126. package/dist/components/PageLayout/index.js +1 -0
  127. package/dist/components/Pagination/Pagination.d.ts +7 -7
  128. package/dist/components/Pagination/Pagination.d.ts.map +1 -1
  129. package/dist/components/Pagination/index.js +1 -1
  130. package/dist/components/Panel/Panel.d.ts +5 -5
  131. package/dist/components/Panel/Panel.d.ts.map +1 -1
  132. package/dist/components/Panel/index.js +1 -1
  133. package/dist/components/PinInput/PinInput.d.ts +3 -3
  134. package/dist/components/PinInput/PinInput.d.ts.map +1 -1
  135. package/dist/components/PinInput/index.js +1 -1
  136. package/dist/components/Progress/Progress.d.ts +1 -1
  137. package/dist/components/Progress/Progress.d.ts.map +1 -1
  138. package/dist/components/Progress/index.js +1 -1
  139. package/dist/components/RadioGroup/RadioGroup.d.ts +2 -2
  140. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  141. package/dist/components/RadioGroup/index.js +1 -1
  142. package/dist/components/Rating/Rating.d.ts +1 -1
  143. package/dist/components/Rating/Rating.d.ts.map +1 -1
  144. package/dist/components/Rating/index.js +1 -1
  145. package/dist/components/Select/Select.d.ts +5 -1
  146. package/dist/components/Select/Select.d.ts.map +1 -1
  147. package/dist/components/Select/index.js +1 -1
  148. package/dist/components/Settings/Settings.d.ts +26 -36
  149. package/dist/components/Settings/Settings.d.ts.map +1 -1
  150. package/dist/components/Settings/index.d.ts +1 -1
  151. package/dist/components/Settings/index.d.ts.map +1 -1
  152. package/dist/components/Settings/index.js +1 -1
  153. package/dist/components/Sidebar/Sidebar.d.ts +46 -15
  154. package/dist/components/Sidebar/Sidebar.d.ts.map +1 -1
  155. package/dist/components/Sidebar/index.d.ts +2 -2
  156. package/dist/components/Sidebar/index.d.ts.map +1 -1
  157. package/dist/components/Sidebar/index.js +1 -1
  158. package/dist/components/Slider/Slider.d.ts +1 -1
  159. package/dist/components/Slider/Slider.d.ts.map +1 -1
  160. package/dist/components/Slider/index.js +1 -1
  161. package/dist/components/Table/Table.d.ts +8 -8
  162. package/dist/components/Table/Table.d.ts.map +1 -1
  163. package/dist/components/Table/index.js +1 -1
  164. package/dist/components/Tabs/Tabs.d.ts +11 -9
  165. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  166. package/dist/components/Tabs/index.js +1 -1
  167. package/dist/components/Tags/Tags.d.ts +1 -1
  168. package/dist/components/Tags/Tags.d.ts.map +1 -1
  169. package/dist/components/Tags/index.js +1 -1
  170. package/dist/components/Text/Text.d.ts +4 -4
  171. package/dist/components/Text/Text.d.ts.map +1 -1
  172. package/dist/components/Text/index.js +1 -1
  173. package/dist/components/Textarea/Textarea.d.ts.map +1 -1
  174. package/dist/components/Textarea/index.js +1 -1
  175. package/dist/components/Toast/Toast.d.ts +2 -2
  176. package/dist/components/Toast/Toast.d.ts.map +1 -1
  177. package/dist/components/Toast/index.js +1 -1
  178. package/dist/components/Toggle/Toggle.d.ts +1 -1
  179. package/dist/components/Toggle/Toggle.d.ts.map +1 -1
  180. package/dist/components/Toggle/index.js +1 -1
  181. package/dist/components/Tooltip/Tooltip.d.ts +5 -5
  182. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  183. package/dist/components/Tooltip/index.js +1 -1
  184. package/dist/components/VideoDialog/VideoDialog.d.ts +9 -9
  185. package/dist/components/VideoDialog/VideoDialog.d.ts.map +1 -1
  186. package/dist/components/VideoDialog/index.js +1 -1
  187. package/dist/components/index.d.ts +6 -2
  188. package/dist/components/index.d.ts.map +1 -1
  189. package/dist/index-2nc1awt9.js +2 -0
  190. package/dist/index-9scn04dv.js +2 -0
  191. package/dist/{index-rypjyrpn.js → index-aq782dhn.js} +1 -1
  192. package/dist/index-dsdw1626.js +2 -0
  193. package/dist/index-env8xaka.js +2 -0
  194. package/dist/index-mmas6ncx.js +2 -0
  195. package/dist/{index-btjxn90p.js → index-mq6f0tgx.js} +2 -2
  196. package/dist/{index-8mzg78nw.js → index-nr793zrn.js} +2 -2
  197. package/dist/index.d.ts +1 -0
  198. package/dist/index.d.ts.map +1 -1
  199. package/dist/index.js +1 -1
  200. package/dist/lib/controlSize.d.ts +59 -0
  201. package/dist/lib/controlSize.d.ts.map +1 -0
  202. package/dist/lib/utils.js +1 -1
  203. package/dist/theme.css +211 -147
  204. package/package.json +25 -22
  205. package/dist/index-1cb5sns5.js +0 -2
@@ -1,9 +1,9 @@
1
- import { useRender } from "@base-ui/react/use-render";
2
1
  import { type VariantProps } from "class-variance-authority";
3
- import { type ComponentPropsWithoutRef, type ReactNode } from "react";
4
- import { type ButtonProps } from "../Button/Button";
2
+ import type { ComponentPropsWithoutRef, ReactNode } from "react";
3
+ import { type PageHeadingBackLinkProps } from "../PageHeading/PageHeading";
4
+ import { type SidebarItemProps } from "../Sidebar/Sidebar";
5
5
  declare const settingsContainerVariants: (props?: ({
6
- width?: "settings" | "wide" | null | undefined;
6
+ width?: "wide" | "settings" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  export interface SettingsContainerProps extends Omit<ComponentPropsWithoutRef<"div">, "className">, VariantProps<typeof settingsContainerVariants> {
9
9
  /**
@@ -22,21 +22,17 @@ export interface SettingsContainerProps extends Omit<ComponentPropsWithoutRef<"d
22
22
  * and content rhythm. Full-bleed surfaces (product tables, dashboards) should
23
23
  * not use it.
24
24
  */
25
- export declare function SettingsContainer({ width, back, className, children, ...props }: SettingsContainerProps): import("react/jsx-runtime").JSX.Element;
26
- export interface SettingsBackButtonProps extends Omit<ButtonProps, "variant" | "size"> {
27
- /** Renders the button as a plain anchor; pass `render` for router links. */
28
- href?: string;
25
+ export declare function SettingsContainer({ width, back, className, children, ...props }: SettingsContainerProps): import("react").JSX.Element;
26
+ export interface SettingsBackButtonProps extends PageHeadingBackLinkProps {
29
27
  }
30
28
  /**
31
29
  * Quiet up-navigation for drill-in settings pages. SettingsContainer renders
32
30
  * it at the top-left of the content pane, in the gutter above the centered
33
- * column — not in the header corner. The stock ghost Button so the hover
34
- * treatment stays inherited; the only additions are a quieter resting text
35
- * color and a negative margin that optically aligns the label with the
36
- * pane's gutter edge despite the button's padding. Label the destination
37
- * (e.g. "Marketplaces"), not "Back".
31
+ * column — not in the header corner. The settings-kit name for the shared
32
+ * PageHeadingBackLink, so both surfaces keep one back-link treatment. Label
33
+ * the destination (e.g. "Marketplaces"), not "Back".
38
34
  */
39
- export declare function SettingsBackButton({ href, render, className, children, ...props }: SettingsBackButtonProps): import("react/jsx-runtime").JSX.Element;
35
+ export declare function SettingsBackButton(props: SettingsBackButtonProps): import("react").JSX.Element;
40
36
  export interface SettingsHeaderProps {
41
37
  title: string;
42
38
  /** Chip rendered beside the title (e.g. a Beta badge). */
@@ -46,11 +42,11 @@ export interface SettingsHeaderProps {
46
42
  description?: ReactNode;
47
43
  }
48
44
  /**
49
- * Page headline for configuration surfaces: 36px semibold page title, quiet
50
- * small subtext. Drill-in views (an order detail) step down to
51
- * `text-2xl leading-tight font-semibold` rather than reusing this.
45
+ * Page headline for configuration surfaces: the display-size PageHeading
46
+ * (36px semibold title, quiet text-md subtext). Drill-in views (an order
47
+ * detail) step down to the default-size PageHeading rather than reusing this.
52
48
  */
53
- export declare function SettingsHeader({ title, badge, actions, description, }: SettingsHeaderProps): import("react/jsx-runtime").JSX.Element;
49
+ export declare function SettingsHeader({ title, badge, actions, description, }: SettingsHeaderProps): import("react").JSX.Element;
54
50
  export interface SettingsSectionProps {
55
51
  title: ReactNode;
56
52
  /** Sub-copy under the title, in the header per Card semantics. */
@@ -68,7 +64,7 @@ export interface SettingsSectionProps {
68
64
  * Free-form fields go in a Form (FormRow for side-by-side pairs); use
69
65
  * sibling sections rather than FormSection to group a long form.
70
66
  */
71
- export declare function SettingsSection({ title, description, action, className, children, }: SettingsSectionProps): import("react/jsx-runtime").JSX.Element;
67
+ export declare function SettingsSection({ title, description, action, className, children, }: SettingsSectionProps): import("react").JSX.Element;
72
68
  export interface SettingsRowProps extends Omit<ComponentPropsWithoutRef<"div">, "className" | "title"> {
73
69
  /** Setting name, text-sm medium. */
74
70
  label: ReactNode;
@@ -87,7 +83,7 @@ export interface SettingsRowProps extends Omit<ComponentPropsWithoutRef<"div">,
87
83
  * that need the full measure (text inputs, textareas) belong in a Field
88
84
  * below the row instead of crammed into the control slot.
89
85
  */
90
- export declare function SettingsRow({ label, description, htmlFor, className, children, ...props }: SettingsRowProps): import("react/jsx-runtime").JSX.Element;
86
+ export declare function SettingsRow({ label, description, htmlFor, className, children, ...props }: SettingsRowProps): import("react").JSX.Element;
91
87
  export interface SettingsSeparatorProps extends ComponentPropsWithoutRef<"hr"> {
92
88
  }
93
89
  /**
@@ -95,7 +91,7 @@ export interface SettingsSeparatorProps extends ComponentPropsWithoutRef<"hr"> {
95
91
  * negative margins cancel CardContent's md padding so the line runs edge to
96
92
  * edge like a card divider, not an underline.
97
93
  */
98
- export declare function SettingsSeparator({ className, ...props }: SettingsSeparatorProps): import("react/jsx-runtime").JSX.Element;
94
+ export declare function SettingsSeparator({ className, ...props }: SettingsSeparatorProps): import("react").JSX.Element;
99
95
  export interface SettingsNavProps extends ComponentPropsWithoutRef<"nav"> {
100
96
  }
101
97
  /**
@@ -104,27 +100,21 @@ export interface SettingsNavProps extends ComponentPropsWithoutRef<"nav"> {
104
100
  * the SettingsHeader is the lighter alternative; once pages group into
105
101
  * categories, this is the rule.
106
102
  */
107
- export declare function SettingsNav({ className, ...props }: SettingsNavProps): import("react/jsx-runtime").JSX.Element;
103
+ export declare function SettingsNav({ className, ...props }: SettingsNavProps): import("react").JSX.Element;
108
104
  export interface SettingsNavGroupProps extends Omit<ComponentPropsWithoutRef<"div">, "title"> {
109
105
  /** Group heading (e.g. "Integrations"); omit for the top-level group. */
110
106
  title?: ReactNode;
111
107
  }
112
- export declare function SettingsNavGroup({ title, className, children, ...props }: SettingsNavGroupProps): import("react/jsx-runtime").JSX.Element;
113
- declare const settingsNavItemVariants: (props?: ({
114
- current?: boolean | null | undefined;
115
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
116
- export type SettingsNavItemOwnProps = useRender.ComponentProps<"button"> & VariantProps<typeof settingsNavItemVariants> & {
117
- current?: boolean;
118
- children: ReactNode;
119
- };
120
- export type SettingsNavItemProps<C extends React.ElementType = "button"> = SettingsNavItemOwnProps & {
121
- as?: C;
122
- } & Omit<React.ComponentPropsWithoutRef<C>, keyof SettingsNavItemOwnProps | "as">;
108
+ export declare function SettingsNavGroup({ title, className, children, ...props }: SettingsNavGroupProps): import("react").JSX.Element;
109
+ export type SettingsNavItemProps<C extends React.ElementType = "button"> = Omit<SidebarItemProps<C>, "nested">;
123
110
  /**
124
111
  * One page link in a SettingsNav. Renders a button by default; pass
125
112
  * `as="a"`/`href` or `render={<Link .../>}` for real navigation. `current`
126
- * marks the active page (filled pill, aria-current).
113
+ * marks the active page (filled pill, aria-current). Inherits the nested
114
+ * SidebarItem — geometry, icon handling, the current pill, canvas
115
+ * surface treatment, and polymorphism — while resting rows read
116
+ * text-secondary.
127
117
  */
128
- export declare function SettingsNavItem<C extends React.ElementType = "button">({ current, className, children, render, as, ...props }: SettingsNavItemProps<C>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
129
- export { settingsContainerVariants, settingsNavItemVariants };
118
+ export declare function SettingsNavItem<C extends React.ElementType = "button">({ current, className, ...props }: SettingsNavItemProps<C>): import("react").JSX.Element;
119
+ export { settingsContainerVariants };
130
120
  //# sourceMappingURL=Settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../../src/components/Settings/Settings.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAmDtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACN,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AAEf,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAK5D,QAAA,MAAM,yBAAyB;;8EAY7B,CAAC;AAEH,MAAM,WAAW,sBAChB,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,EACzD,YAAY,CAAC,OAAO,yBAAyB,CAAC;IAC/C;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,EACjC,KAAK,EACL,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,sBAAsB,2CAexB;AAED,MAAM,WAAW,uBAChB,SAAQ,IAAI,CAAC,W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AAM,WAAW,gBAAiB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;CAAG;AAE5E;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BAQpE;AAED,MAAM,WAAW,qBAChB,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACtD,yEAAyE;IACzE,KAAK,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,wBAAgB,gBAAgB,CAAC,EAChC,KAAK,EACL,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,qBAAqB,+BAWvB;AAED,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,IAAI,IAAI,CAC9E,gBAAgB,CAAC,CAAC,CAAC,EACnB,QAAQ,CACR,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,EAAE,EACvE,OAAO,EACP,SAAS,EACT,GAAG,KAAK,EACR,EAAE,oBAAoB,CAAC,CAAC,CAAC,+BAYzB;AAED,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export type { SettingsBackButtonProps, SettingsContainerProps, SettingsHeaderProps, SettingsNavGroupProps, SettingsNavItemProps, SettingsNavProps, SettingsRowProps, SettingsSectionProps, SettingsSeparatorProps, } from "./Settings";
2
- export { SettingsBackButton, SettingsContainer, SettingsHeader, SettingsNav, SettingsNavGroup, SettingsNavItem, SettingsRow, SettingsSection, SettingsSeparator, settingsContainerVariants, settingsNavItemVariants, } from "./Settings";
2
+ export { SettingsBackButton, SettingsContainer, SettingsHeader, SettingsNav, SettingsNavGroup, SettingsNavItem, SettingsRow, SettingsSection, SettingsSeparator, settingsContainerVariants, } from "./Settings";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Settings/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,sBAAsB,GACtB,MAAM,YAAY,CAAC;AACpB,OAAO,EACN,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,GACvB,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Settings/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,sBAAsB,GACtB,MAAM,YAAY,CAAC;AACpB,OAAO,EACN,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,yBAAyB,GACzB,MAAM,YAAY,CAAC"}
@@ -1 +1 @@
1
- import{Gb as M}from"../../index-btjxn90p.js";import{Gc as K,yc as J}from"../../index-8mzg78nw.js";import{Qc as D}from"../../index-1cb5sns5.js";import{Rd as A}from"../../index-rypjyrpn.js";import{Sd as q}from"../../lib/utils.js";import{mergeProps as W}from"@base-ui/react/merge-props";import{useRender as X}from"@base-ui/react/use-render";import{faChevronLeft as Y}from"@fortawesome/pro-solid-svg-icons";import{cva as O}from"class-variance-authority";import{createElement as Z}from"react";import{jsx as g,jsxs as k}from"react/jsx-runtime";var Q=O("mx-auto flex w-full flex-col gap-5",{variants:{width:{settings:"max-w-3xl",wide:"max-w-7xl"}},defaultVariants:{width:"settings"}});function _({width:S,back:P,className:G,children:H,...B}){return k("div",{"data-slot":"settings-container",className:"flex flex-col gap-8",children:[g("div",{className:"h-8",children:P}),g("div",{className:q(Q({width:S}),G),...B,children:H})]})}function $({href:S,render:P,className:G,children:H,...B}){let y=P??(S!==void 0?g("a",{href:S}):void 0);return k(D,{variant:"ghost",size:"sm",nativeButton:!y,render:y,className:q("-ml-2.5 w-fit text-secondary",G),...B,children:[g(A,{icon:Y}),H]})}function w({title:S,badge:P,actions:G,description:H}){return k("div",{"data-slot":"settings-header",className:"flex flex-wrap items-start justify-between gap-4",children:[k("div",{className:"flex flex-col gap-1.5",children:[k("div",{className:"flex items-center gap-3",children:[g("h1",{className:"text-[36px] leading-tight font-semibold text-foreground",children:S}),P]}),H&&g("p",{className:"max-w-2xl text-sm text-tertiary",children:H})]}),G&&g("div",{className:"flex items-center gap-2",children:G})]})}function E({title:S,description:P,action:G,className:H,children:B}){return k("section",{"data-slot":"settings-section",className:q("flex flex-col gap-3 [[data-slot=settings-section]+&]:mt-3",H),children:[k("div",{className:"flex flex-wrap items-center justify-between gap-x-4 gap-y-2",children:[k("div",{className:"flex min-w-0 flex-col gap-1",children:[g("h2",{className:"text-base leading-tight font-semibold text-foreground",children:S}),P&&g("p",{className:"text-sm text-tertiary",children:P})]}),G&&g("div",{className:"shrink-0",children:G})]}),g(J,{padding:"md",children:g(K,{padding:"none",className:"flex flex-col gap-4 text-sm text-secondary",children:B})})]})}function I({label:S,description:P,htmlFor:G,className:H,children:B,...y}){return k("div",{"data-slot":"settings-row",className:q("flex flex-wrap items-center justify-between gap-x-8 gap-y-2",H),...y,children:[k("div",{className:"flex min-w-0 flex-col gap-1",children:[G?g(M,{htmlFor:G,children:S}):g("span",{className:"text-sm leading-none font-medium text-foreground",children:S}),P&&g("p",{className:"max-w-md text-[13px] leading-normal text-tertiary",children:P})]}),B&&g("div",{className:"flex shrink-0 items-center gap-2",children:B})]})}function V({className:S,...P}){return g("hr",{"data-slot":"settings-separator",className:q("-mx-5 my-1 border-t border-border",S),...P})}function R({className:S,...P}){return g("nav",{"data-slot":"settings-nav",className:q("flex w-56 shrink-0 flex-col gap-6",S),...P})}function v({title:S,className:P,children:G,...H}){return k("div",{"data-slot":"settings-nav-group",className:q("flex flex-col",P),...H,children:[S&&g("h3",{className:"mb-1 px-2.5 text-xs font-medium text-muted-foreground",children:S}),g("div",{className:"flex flex-col gap-0.5",children:G})]})}var T=O(["flex w-full items-center gap-2 rounded-md px-2.5 py-1.5 text-left text-sm","[&_[data-slot=icon]]:size-4 [&_[data-slot=icon]]:shrink-0 [&_[data-slot=icon]]:text-muted-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:"bg-background font-medium text-foreground shadow-xs [&_[data-slot=icon]]:text-foreground",false:"text-secondary hover:bg-background/60 hover:text-foreground hover:[&_[data-slot=icon]]:text-foreground"}},defaultVariants:{current:!1}});function F({current:S,className:P,children:G,render:H,as:B,...y}){let z=H??(B?Z(B):void 0),U={className:q(T({current:S??!1}),!z&&"cursor-default",P),"aria-current":S?"page":void 0,children:G};return X({defaultTagName:"button",render:z,props:W(U,y)})}export{T as settingsNavItemVariants,Q as settingsContainerVariants,V as SettingsSeparator,E as SettingsSection,I as SettingsRow,F as SettingsNavItem,v as SettingsNavGroup,R as SettingsNav,w as SettingsHeader,_ as SettingsContainer,$ as SettingsBackButton};export{Q as C,_ as D,$ as E,w as F,E as G,I as H,V as I,R as J,v as K,T as L,F as M};
1
+ import{sa as K,ua as M}from"../../index-env8xaka.js";import{za as D}from"../../index-mq6f0tgx.js";import{Za as E,_a as J}from"../../index-mmas6ncx.js";import"../../index-dsdw1626.js";import{Oc as z,Wc as A}from"../../index-nr793zrn.js";import"../../index-9scn04dv.js";import"../../index-2nc1awt9.js";import"../Icon/index.js";import"../../index-aq782dhn.js";import{ye as g}from"../../lib/utils.js";import{cva as U}from"class-variance-authority";import{jsx as P,jsxs as q}from"react/jsx-runtime";var Q=U("mx-auto flex w-full flex-col gap-5",{variants:{width:{settings:"max-w-3xl",wide:"max-w-7xl"}},defaultVariants:{width:"settings"}});function W({width:S,back:B,className:G,children:R,...v}){return q("div",{"data-slot":"settings-container",className:"flex flex-col gap-8",children:[P("div",{className:"h-8",children:B}),P("div",{className:g(Q({width:S}),G),...v,children:R})]})}function X(S){return P(J,{...S})}function Y({title:S,badge:B,actions:G,description:R}){return P(E,{"data-slot":"settings-header",size:"display",title:S,badge:B,description:R,actions:G})}function Z({title:S,description:B,action:G,className:R,children:v}){return q("section",{"data-slot":"settings-section",className:g("flex flex-col gap-3 [[data-slot=settings-section]+&]:mt-3",R),children:[q("div",{className:"flex flex-wrap items-center justify-between gap-x-4 gap-y-2",children:[q("div",{className:"flex min-w-0 flex-col gap-1",children:[P("h2",{className:"text-base leading-tight font-semibold text-foreground",children:S}),B&&P("p",{className:"text-sm text-tertiary",children:B})]}),G&&P("div",{className:"shrink-0",children:G})]}),P(z,{padding:"md",children:P(A,{padding:"none",className:"flex flex-col gap-4 text-sm text-secondary",children:v})})]})}function _({label:S,description:B,htmlFor:G,className:R,children:v,...T}){return q("div",{"data-slot":"settings-row",className:g("flex flex-wrap items-center justify-between gap-x-8 gap-y-2",R),...T,children:[q("div",{className:"flex min-w-0 flex-col gap-1",children:[G?P(D,{htmlFor:G,children:S}):P("span",{className:"text-sm leading-none font-medium text-foreground",children:S}),B&&P("p",{className:"max-w-md text-[13px] leading-normal text-tertiary",children:B})]}),v&&P("div",{className:"flex shrink-0 items-center gap-2",children:v})]})}function $({className:S,...B}){return P("hr",{"data-slot":"settings-separator",className:g("-mx-5 my-1 border-t border-border",S),...B})}function I({className:S,...B}){return P("nav",{"data-slot":"settings-nav",className:g("flex w-56 shrink-0 flex-col gap-6",S),...B})}function O({title:S,className:B,children:G,...R}){return q("div",{"data-slot":"settings-nav-group",className:g("flex flex-col",B),...R,children:[S&&P(K,{children:S}),P("div",{className:"flex flex-col gap-0.5",children:G})]})}function V({current:S,className:B,...G}){return P(M,{nested:!0,current:S,surface:"canvas",className:g(S?"font-medium":"text-secondary",B),...G})}export{Q as settingsContainerVariants,$ as SettingsSeparator,Z as SettingsSection,_ as SettingsRow,V as SettingsNavItem,O as SettingsNavGroup,I as SettingsNav,Y as SettingsHeader,W as SettingsContainer,X as SettingsBackButton};export{Q as aa,W as ba,X as ca,Y as da,Z as ea,_ as fa,$ as ga,I as ha,O as ia,V as ja};
@@ -1,57 +1,88 @@
1
+ import { Collapsible as BaseCollapsible } from "@base-ui/react/collapsible";
1
2
  import { useRender } from "@base-ui/react/use-render";
2
3
  import { type VariantProps } from "class-variance-authority";
3
4
  import { type ComponentPropsWithoutRef, type ReactNode } from "react";
4
5
  declare const sidebarVariants: (props?: ({
5
6
  variant?: "default" | "bordered" | null | undefined;
7
+ surface?: "canvas" | "default" | null | undefined;
6
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ export type SidebarSurface = "default" | "canvas";
7
10
  export interface SidebarProps extends ComponentPropsWithoutRef<"nav">, VariantProps<typeof sidebarVariants> {
8
11
  }
9
12
  /**
10
13
  * A vertical navigation sidebar component with support for headers,
11
- * sections, items, and footers.
14
+ * sections, collapsible groups, items, and footers. The current-item pill
15
+ * slides between items as `current` moves.
12
16
  */
13
- export declare function Sidebar({ className, variant, ...props }: SidebarProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function Sidebar({ className, variant, surface, ...props }: SidebarProps): import("react").JSX.Element;
14
18
  export interface SidebarHeaderProps extends ComponentPropsWithoutRef<"div"> {
15
19
  }
16
- export declare function SidebarHeader({ className, ...props }: SidebarHeaderProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function SidebarHeader({ className, ...props }: SidebarHeaderProps): import("react").JSX.Element;
17
21
  export interface SidebarBodyProps extends ComponentPropsWithoutRef<"div"> {
18
22
  }
19
- export declare function SidebarBody({ className, ...props }: SidebarBodyProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function SidebarBody({ className, ...props }: SidebarBodyProps): import("react").JSX.Element;
20
24
  export interface SidebarFooterProps extends ComponentPropsWithoutRef<"div"> {
21
25
  }
22
- export declare function SidebarFooter({ className, ...props }: SidebarFooterProps): import("react/jsx-runtime").JSX.Element;
26
+ export declare function SidebarFooter({ className, ...props }: SidebarFooterProps): import("react").JSX.Element;
23
27
  export interface SidebarSectionProps extends ComponentPropsWithoutRef<"div"> {
24
28
  }
25
- export declare function SidebarSection({ className, ...props }: SidebarSectionProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare function SidebarSection({ className, ...props }: SidebarSectionProps): import("react").JSX.Element;
26
30
  export interface SidebarDividerProps extends ComponentPropsWithoutRef<"hr"> {
27
31
  }
28
- export declare function SidebarDivider({ className, ...props }: SidebarDividerProps): import("react/jsx-runtime").JSX.Element;
32
+ export declare function SidebarDivider({ className, ...props }: SidebarDividerProps): import("react").JSX.Element;
29
33
  export interface SidebarSpacerProps extends ComponentPropsWithoutRef<"div"> {
30
34
  }
31
- export declare function SidebarSpacer({ className, ...props }: SidebarSpacerProps): import("react/jsx-runtime").JSX.Element;
35
+ export declare function SidebarSpacer({ className, ...props }: SidebarSpacerProps): import("react").JSX.Element;
32
36
  export interface SidebarHeadingProps extends ComponentPropsWithoutRef<"h3"> {
33
37
  }
34
- export declare function SidebarHeading({ className, ...props }: SidebarHeadingProps): import("react/jsx-runtime").JSX.Element;
38
+ export declare function SidebarHeading({ className, ...props }: SidebarHeadingProps): import("react").JSX.Element;
35
39
  declare const sidebarItemVariants: (props?: ({
36
- current?: boolean | null | undefined;
37
40
  nested?: boolean | null | undefined;
41
+ grouped?: boolean | null | undefined;
42
+ surface?: "canvas" | "default" | null | undefined;
43
+ current?: boolean | null | undefined;
38
44
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
39
45
  export type SidebarItemOwnProps = useRender.ComponentProps<"button"> & VariantProps<typeof sidebarItemVariants> & {
40
46
  current?: boolean;
47
+ /** Compact, muted row (settings-style sub-navigation). Children of a
48
+ * SidebarGroup don't need this. */
41
49
  nested?: boolean;
50
+ /** A separate trailing control, rendered as a sibling of the item. */
51
+ action?: ReactNode;
42
52
  children: ReactNode;
43
53
  };
44
54
  export type SidebarItemProps<C extends React.ElementType = "button"> = SidebarItemOwnProps & {
45
55
  as?: C;
46
56
  } & Omit<React.ComponentPropsWithoutRef<C>, keyof SidebarItemOwnProps | "as">;
47
57
  /**
48
- * A single navigation entry within a SidebarSection. Pass `render` (or
49
- * `as`) to render as a custom element such as a router Link; it receives
50
- * className, data-current, ref, and children.
58
+ * A single navigation entry within a SidebarSection or SidebarGroupPanel.
59
+ * Pass `render` (or `as`) to render as a custom element such as a router
60
+ * Link; it receives className, data-current, ref, and children.
51
61
  */
52
- export declare function SidebarItem<C extends React.ElementType = "button">({ current, nested, className, children, render, as, ...props }: SidebarItemProps<C>): import("react/jsx-runtime").JSX.Element;
62
+ export declare function SidebarItem<C extends React.ElementType = "button">({ current, nested, grouped, surface, action, className, children, render, as, ...props }: SidebarItemProps<C>): import("react").JSX.Element;
63
+ type SidebarGroupRootProps = ComponentPropsWithoutRef<typeof BaseCollapsible.Root>;
64
+ export interface SidebarGroupProps extends Omit<SidebarGroupRootProps, "className"> {
65
+ className?: string;
66
+ }
67
+ /**
68
+ * A collapsible parent entry. Its SidebarGroupPanel hangs the children off a
69
+ * rail that lines up with the trigger's icon, so children share the parent's
70
+ * label column instead of indenting past it.
71
+ */
72
+ export declare function SidebarGroup({ className, onOpenChange, ...props }: SidebarGroupProps): import("react").JSX.Element;
73
+ export interface SidebarGroupTriggerProps extends Omit<ComponentPropsWithoutRef<typeof BaseCollapsible.Trigger>, "className"> {
74
+ className?: string;
75
+ }
76
+ /** The parent row of a SidebarGroup: styled as a SidebarItem, with a trailing
77
+ * chevron that turns down while open. */
78
+ export declare function SidebarGroupTrigger({ className, children, ...props }: SidebarGroupTriggerProps): import("react").JSX.Element;
79
+ export interface SidebarGroupPanelProps extends Omit<ComponentPropsWithoutRef<typeof BaseCollapsible.Panel>, "className"> {
80
+ className?: string;
81
+ }
82
+ /** The children of a SidebarGroup, on a rail aligned to the trigger's icon. */
83
+ export declare function SidebarGroupPanel({ className, children, onTransitionEnd, ...props }: SidebarGroupPanelProps): import("react").JSX.Element;
53
84
  export interface SidebarLabelProps extends ComponentPropsWithoutRef<"span"> {
54
85
  }
55
- export declare function SidebarLabel({ className, ...props }: SidebarLabelProps): import("react/jsx-runtime").JSX.Element;
86
+ export declare function SidebarLabel({ className, ...props }: SidebarLabelProps): import("react").JSX.Element;
56
87
  export { sidebarItemVariants, sidebarVariants };
57
88
  //# sourceMappingURL=Sidebar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.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,eAAe;;8EAUnB,CAAC;AAEH,MAAM,WAAW,YAChB,SAAQ,wBAAwB,CAAC,KAAK,CAAC,EACtC,YAAY,CAAC,OAAO,eAAe,CAAC;CAAG;AAEzC;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAIrE;AAED,MAAM,WAAW,kBAAmB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;CAAG;AAE9E,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAUxE;AAED,MAAM,WAAW,gBAAiB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;CAAG;AAE5E,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAUpE;AAED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AAM,CAAC;CACnB;AAED,+EAA+E;AAC/E,wBAAgB,iBAAiB,CAAC,EACjC,SAAS,EACT,QAAQ,EACR,eAAe,EACf,GAAG,KAAK,EACR,EAAE,sBAAsB,+BAwCxB;AAED,MAAM,WAAW,iBAAkB,SAAQ,wBAAwB,CAAC,MAAM,CAAC;CAAG;AAE9E,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,+BAQtE;AAED,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
- export type { SidebarBodyProps, SidebarDividerProps, SidebarFooterProps, SidebarHeaderProps, SidebarHeadingProps, SidebarItemProps, SidebarLabelProps, SidebarProps, SidebarSectionProps, SidebarSpacerProps, } from "./Sidebar";
2
- export { Sidebar, SidebarBody, SidebarDivider, SidebarFooter, SidebarHeader, SidebarHeading, SidebarItem, SidebarLabel, SidebarSection, SidebarSpacer, sidebarItemVariants, sidebarVariants, } from "./Sidebar";
1
+ export type { SidebarBodyProps, SidebarDividerProps, SidebarFooterProps, SidebarGroupPanelProps, SidebarGroupProps, SidebarGroupTriggerProps, SidebarHeaderProps, SidebarHeadingProps, SidebarItemProps, SidebarLabelProps, SidebarProps, SidebarSectionProps, SidebarSpacerProps, SidebarSurface, } from "./Sidebar";
2
+ export { Sidebar, SidebarBody, SidebarDivider, SidebarFooter, SidebarGroup, SidebarGroupPanel, SidebarGroupTrigger, SidebarHeader, SidebarHeading, SidebarItem, SidebarLabel, SidebarSection, SidebarSpacer, sidebarItemVariants, sidebarVariants, } from "./Sidebar";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,GAClB,MAAM,WAAW,CAAC;AACnB,OAAO,EACN,OAAO,EACP,WAAW,EACX,cAAc,EACd,aAAa,EACb,aAAa,EACb,cAAc,EACd,WAAW,EACX,YAAY,EACZ,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,eAAe,GACf,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,GACd,MAAM,WAAW,CAAC;AACnB,OAAO,EACN,OAAO,EACP,WAAW,EACX,cAAc,EACd,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,WAAW,EACX,YAAY,EACZ,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,eAAe,GACf,MAAM,WAAW,CAAC"}
@@ -1 +1 @@
1
- import{Sd as d}from"../../lib/utils.js";import{mergeProps as C}from"@base-ui/react/merge-props";import{useRender as G}from"@base-ui/react/use-render";import{cva as D}from"class-variance-authority";import{createElement as J}from"react";import{jsx as P,jsxs as _}from"react/jsx-runtime";var F=D("flex h-full min-h-0 flex-col",{variants:{variant:{default:"",bordered:"border-r border-border"}},defaultVariants:{variant:"default"}});function K({className:S,variant:b,...H}){return P("nav",{...H,className:d(F({variant:b}),S)})}function M({className:S,...b}){return P("div",{...b,className:d("flex flex-col border-b border-border pb-2 [&>[data-slot=section]+[data-slot=section]]:mt-2.5",S)})}function O({className:S,...b}){return P("div",{...b,className:d("flex flex-1 flex-col overflow-y-auto px-2 py-3 [&>[data-slot=section]+[data-slot=section]]:mt-5",S)})}function Q({className:S,...b}){return P("div",{...b,className:d("flex flex-col border-t border-border px-2 py-2.5 [&>[data-slot=section]+[data-slot=section]]:mt-2.5",S)})}function T({className:S,...b}){return P("div",{...b,"data-slot":"section",className:d("flex flex-col gap-[3px]",S)})}function U({className:S,...b}){return P("hr",{...b,className:d("-mx-2 my-3 border-t border-border",S)})}function W({className:S,...b}){return P("div",{"aria-hidden":"true",...b,className:d("mt-8 flex-1",S)})}function X({className:S,...b}){return P("h3",{...b,className:d("mb-1 px-2 text-xs/6 font-medium text-muted-foreground",S)})}var y=D(["flex w-full items-center gap-2.5 rounded-lg px-2 text-left","[&_[data-slot=icon]]:shrink-0 [&_[data-slot=icon]]:text-muted-foreground","[&_[data-slot=icon]:last-child]:ml-auto","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:""},nested:{true:["py-1.5 text-sm/5 font-normal text-muted-foreground","[&_[data-slot=icon]]:size-4","[&_[data-slot=icon]:last-child]:size-3.5","hover:text-foreground"],false:["py-2.5 text-base/6 font-medium text-foreground sm:py-2 sm:text-sm/5","[&_[data-slot=icon]]:size-5 sm:[&_[data-slot=icon]]:size-[18px]","[&_[data-slot=icon]:last-child]:size-4 sm:[&_[data-slot=icon]:last-child]:size-3.5"]}},defaultVariants:{current:!1,nested:!1}});function Y({current:S,nested:b,className:H,children:I,render:L,as:i,...f}){let B=L??(i?J(i):void 0),q={className:d(y({current:S??!1,nested:b??!1}),!B&&"cursor-default",H),"data-current":S?"true":void 0,children:I},z=G({defaultTagName:"button",render:B,props:C(q,f)});return _("span",{className:"relative",children:[S&&P("span",{className:"absolute inset-y-2 -left-2 w-0.5 rounded-full bg-primary"}),z]})}function Z({className:S,...b}){return P("span",{...b,className:d("truncate",S)})}export{F as sidebarVariants,y as sidebarItemVariants,W as SidebarSpacer,T as SidebarSection,Z as SidebarLabel,Y as SidebarItem,X as SidebarHeading,M as SidebarHeader,Q as SidebarFooter,U as SidebarDivider,O as SidebarBody,K as Sidebar};export{F as N,K as O,M as P,O as Q,Q as R,T as S,U as T,W as U,X as V,y as W,Y as X,Z as Y};
1
+ import{ka as r,la as e,ma as a,na as i,oa as d,pa as S,qa as b,ra as o,sa as p,ta as s,ua as P,va as t,wa as n,xa as u,ya as g}from"../../index-env8xaka.js";import"../Icon/index.js";import"../../index-aq782dhn.js";import"../../lib/utils.js";export{r as sidebarVariants,s as sidebarItemVariants,o as SidebarSpacer,S as SidebarSection,g as SidebarLabel,P as SidebarItem,p as SidebarHeading,a as SidebarHeader,n as SidebarGroupTrigger,u as SidebarGroupPanel,t as SidebarGroup,d as SidebarFooter,b as SidebarDivider,i as SidebarBody,e as Sidebar};
@@ -11,6 +11,6 @@ export interface SliderProps extends Omit<React.ComponentPropsWithoutRef<typeof
11
11
  /**
12
12
  * A range slider built on Base UI with single and multi-thumb support, brand indicator, and full keyboard accessibility.
13
13
  */
14
- export declare function Slider({ className, orientation, thumbCount, value, defaultValue, ...props }: SliderProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function Slider({ className, orientation, thumbCount, value, defaultValue, ...props }: SliderProps): React.JSX.Element;
15
15
  export { sliderVariants };
16
16
  //# sourceMappingURL=Slider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,QAAA,MAAM,cAAc;;8EAanB,CAAC;AAEF,MAAM,WAAW,WAChB,SAAQ,IAAI,CACV,KAAK,CAAC,wBAAwB,CAAC,OAAO,UAAU,CAAC,IAAI,CAAC,EACtD,WAAW,GAAG,aAAa,CAC3B,EACD,YAAY,CAAC,OAAO,cAAc,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,EACtB,SAAS,EACT,WAAW,EACX,UAAU,EACV,KAAK,EACL,YAAY,EACZ,GAAG,KAAK,EACR,EAAE,WAAW,2CAgDb;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,QAAA,MAAM,cAAc;;8EAanB,CAAC;AAEF,MAAM,WAAW,WAChB,SAAQ,IAAI,CACV,KAAK,CAAC,wBAAwB,CAAC,OAAO,UAAU,CAAC,IAAI,CAAC,EACtD,WAAW,GAAG,aAAa,CAC3B,EACD,YAAY,CAAC,OAAO,cAAc,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,EACtB,SAAS,EACT,WAAW,EACX,UAAU,EACV,KAAK,EACL,YAAY,EACZ,GAAG,KAAK,EACR,EAAE,WAAW,qBAgDb;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1 +1 @@
1
- import{Sd as E}from"../../lib/utils.js";import{Slider as P}from"@base-ui/react/slider";import{cva as Q}from"class-variance-authority";import{jsx as q,jsxs as X}from"react/jsx-runtime";var H=Q("relative flex w-full touch-none select-none items-center data-[disabled]:pointer-events-none data-[disabled]:opacity-50",{variants:{orientation:{horizontal:"flex-row",vertical:"flex-col h-full"}},defaultVariants:{orientation:"horizontal"}});function W({className:J,orientation:F,thumbCount:K,value:z,defaultValue:D,...L}){let M=Array.isArray(z)?z.length>1:Array.isArray(D)?D.length>1:!1,O=K??(M?2:1);return q(P.Root,{"data-slot":"slider",orientation:F??"horizontal",value:z,defaultValue:D,className:E(H({orientation:F}),J),...L,children:q(P.Control,{"data-slot":"slider-control",className:"flex w-full items-center py-3",children:X(P.Track,{"data-slot":"slider-track",className:"relative h-2 w-full grow overflow-hidden rounded-full bg-muted",children:[q(P.Indicator,{"data-slot":"slider-indicator",className:"absolute h-full rounded-full bg-primary"}),Array.from({length:O}).map((Y,G)=>q(P.Thumb,{index:G,"data-slot":"slider-thumb",className:E("block size-5 shrink-0 rounded-full border border-input bg-background shadow-sm outline-none","transition-[color,box-shadow]","focus-visible:ring-[3px] focus-visible:ring-ring/50","data-[dragging]:ring-[3px] data-[dragging]:ring-ring/50","data-[disabled]:pointer-events-none data-[disabled]:opacity-50")},G))]})})})}export{H as sliderVariants,W as Slider};export{H as Z,W as _};
1
+ import{ye as E}from"../../lib/utils.js";import{Slider as P}from"@base-ui/react/slider";import{cva as Q}from"class-variance-authority";import{jsx as q,jsxs as X}from"react/jsx-runtime";var H=Q("relative flex w-full touch-none select-none items-center data-[disabled]:pointer-events-none data-[disabled]:opacity-50",{variants:{orientation:{horizontal:"flex-row",vertical:"flex-col h-full"}},defaultVariants:{orientation:"horizontal"}});function W({className:J,orientation:F,thumbCount:K,value:z,defaultValue:D,...L}){let M=Array.isArray(z)?z.length>1:Array.isArray(D)?D.length>1:!1,O=K??(M?2:1);return q(P.Root,{"data-slot":"slider",orientation:F??"horizontal",value:z,defaultValue:D,className:E(H({orientation:F}),J),...L,children:q(P.Control,{"data-slot":"slider-control",className:"flex w-full items-center py-3",children:X(P.Track,{"data-slot":"slider-track",className:"relative h-2 w-full grow overflow-hidden rounded-full bg-ink-well",children:[q(P.Indicator,{"data-slot":"slider-indicator",className:"absolute h-full rounded-full bg-primary"}),Array.from({length:O}).map((Y,G)=>q(P.Thumb,{index:G,"data-slot":"slider-thumb",className:E("block size-5 shrink-0 rounded-full border border-input bg-background shadow-sm outline-none","transition-[color,box-shadow]","focus-visible:ring-[3px] focus-visible:ring-ring/50","data-[dragging]:ring-[3px] data-[dragging]:ring-ring/50","data-[disabled]:pointer-events-none data-[disabled]:opacity-50")},G))]})})})}export{H as sliderVariants,W as Slider};export{H as f,W as g};
@@ -5,26 +5,26 @@ export interface TableProps extends React.ComponentProps<"table"> {
5
5
  /**
6
6
  * A headless data table part set built on semantic HTML elements. Compose Table, TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell, and TableCaption to build any layout.
7
7
  */
8
- export declare function Table({ className, containerClassName, ...props }: TableProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Table({ className, containerClassName, ...props }: TableProps): React.JSX.Element;
9
9
  export interface TableHeaderProps extends React.ComponentProps<"thead"> {
10
10
  }
11
- export declare function TableHeader({ className, ...props }: TableHeaderProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function TableHeader({ className, ...props }: TableHeaderProps): React.JSX.Element;
12
12
  export interface TableBodyProps extends React.ComponentProps<"tbody"> {
13
13
  }
14
- export declare function TableBody({ className, ...props }: TableBodyProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function TableBody({ className, ...props }: TableBodyProps): React.JSX.Element;
15
15
  export interface TableFooterProps extends React.ComponentProps<"tfoot"> {
16
16
  }
17
- export declare function TableFooter({ className, ...props }: TableFooterProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function TableFooter({ className, ...props }: TableFooterProps): React.JSX.Element;
18
18
  export interface TableRowProps extends React.ComponentProps<"tr"> {
19
19
  }
20
- export declare function TableRow({ className, ...props }: TableRowProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function TableRow({ className, ...props }: TableRowProps): React.JSX.Element;
21
21
  export interface TableHeadProps extends React.ComponentProps<"th"> {
22
22
  }
23
- export declare function TableHead({ className, ...props }: TableHeadProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function TableHead({ className, ...props }: TableHeadProps): React.JSX.Element;
24
24
  export interface TableCellProps extends React.ComponentProps<"td"> {
25
25
  }
26
- export declare function TableCell({ className, ...props }: TableCellProps): import("react/jsx-runtime").JSX.Element;
26
+ export declare function TableCell({ className, ...props }: TableCellProps): React.JSX.Element;
27
27
  export interface TableCaptionProps extends React.ComponentProps<"caption"> {
28
28
  }
29
- export declare function TableCaption({ className, ...props }: TableCaptionProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare function TableCaption({ className, ...props }: TableCaptionProps): React.JSX.Element;
30
30
  //# sourceMappingURL=Table.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;IAChE,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAgB5E;AAED,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAE1E,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAWpE;AAED,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAExE,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAQhE;AAED,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;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,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAExE,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,qBAQhE;AAED,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAE1E,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,qBAWpE;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;CAAG;AAEpE,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,qBAW9D;AAED,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;CAAG;AAErE,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,qBAWhE;AAED,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;CAAG;AAErE,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,qBAWhE;AAED,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC;CAAG;AAE7E,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,qBAQtE"}
@@ -1 +1 @@
1
- import{Sd as b}from"../../lib/utils.js";import{jsx as f}from"react/jsx-runtime";function B({className:P,containerClassName:T,...w}){return f("div",{"data-slot":"table-container",className:b("relative w-full overflow-x-auto rounded-xl border border-input",T),children:f("table",{"data-slot":"table",className:b("w-full caption-bottom text-sm",P),...w})})}function F({className:P,...T}){return f("thead",{"data-slot":"table-header",className:b("[&_tr]:border-b [&_tr]:border-input bg-muted/50",P),...T})}function H({className:P,...T}){return f("tbody",{"data-slot":"table-body",className:b("[&_tr:last-child]:border-0",P),...T})}function R({className:P,...T}){return f("tfoot",{"data-slot":"table-footer",className:b("border-t border-input bg-muted/50 font-medium [&>tr]:last:border-b-0",P),...T})}function g({className:P,...T}){return f("tr",{"data-slot":"table-row",className:b("border-b border-input transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",P),...T})}function k({className:P,...T}){return f("th",{"data-slot":"table-head",className:b("h-11 px-4 text-left align-middle font-medium text-muted-foreground whitespace-nowrap [&:has([role=checkbox])]:pr-0",P),...T})}function q({className:P,...T}){return f("td",{"data-slot":"table-cell",className:b("p-4 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",P),...T})}function v({className:P,...T}){return f("caption",{"data-slot":"table-caption",className:b("mt-4 text-sm text-muted-foreground",P),...T})}export{g as TableRow,F as TableHeader,k as TableHead,R as TableFooter,q as TableCell,v as TableCaption,H as TableBody,B as Table};export{B as $,F as aa,H as ba,R as ca,g as da,k as ea,q as fa,v as ga};
1
+ import{ye as b}from"../../lib/utils.js";import{jsx as f}from"react/jsx-runtime";function B({className:P,containerClassName:T,...w}){return f("div",{"data-slot":"table-container",className:b("relative w-full overflow-x-auto rounded-xl border border-input",T),children:f("table",{"data-slot":"table",className:b("w-full caption-bottom text-sm",P),...w})})}function F({className:P,...T}){return f("thead",{"data-slot":"table-header",className:b("[&_tr]:border-b [&_tr]:border-input bg-muted/50",P),...T})}function H({className:P,...T}){return f("tbody",{"data-slot":"table-body",className:b("[&_tr:last-child]:border-0",P),...T})}function R({className:P,...T}){return f("tfoot",{"data-slot":"table-footer",className:b("border-t border-input bg-muted/50 font-medium [&>tr]:last:border-b-0",P),...T})}function g({className:P,...T}){return f("tr",{"data-slot":"table-row",className:b("border-b border-input transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",P),...T})}function k({className:P,...T}){return f("th",{"data-slot":"table-head",className:b("h-11 px-4 text-left align-middle font-medium text-muted-foreground whitespace-nowrap [&:has([role=checkbox])]:pr-0",P),...T})}function q({className:P,...T}){return f("td",{"data-slot":"table-cell",className:b("p-4 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",P),...T})}function v({className:P,...T}){return f("caption",{"data-slot":"table-caption",className:b("mt-4 text-sm text-muted-foreground",P),...T})}export{g as TableRow,F as TableHeader,k as TableHead,R as TableFooter,q as TableCell,v as TableCaption,H as TableBody,B as Table};export{B as h,F as i,H as j,R as k,g as l,k as m,q as n,v as o};
@@ -2,11 +2,11 @@ import { Tabs as BaseTabs } from "@base-ui/react/tabs";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  import * as React from "react";
4
4
  declare const tabsListVariants: (props?: ({
5
- variant?: "underline" | "pill" | null | undefined;
5
+ variant?: "underline" | "pill" | "soft" | null | undefined;
6
6
  size?: "sm" | "md" | "lg" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  declare const tabsTriggerVariants: (props?: ({
9
- variant?: "underline" | "pill" | null | undefined;
9
+ variant?: "underline" | "pill" | "soft" | null | undefined;
10
10
  size?: "sm" | "md" | "lg" | null | undefined;
11
11
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
12
  export interface TabsProps extends Omit<React.ComponentPropsWithoutRef<typeof BaseTabs.Root>, "className"> {
@@ -23,15 +23,17 @@ export interface TabsContentProps extends Omit<React.ComponentPropsWithoutRef<ty
23
23
  }
24
24
  /**
25
25
  * Accessible tab navigation built on Base UI Tabs. Supports a pill variant
26
- * (default) and an underline variant. All triggers have full keyboard
27
- * navigation and focus rings.
26
+ * (default) on a muted track, an underline variant, and a trackless soft
27
+ * variant for white surfaces. All triggers have full keyboard navigation and
28
+ * focus rings.
28
29
  *
29
30
  * TabsList's sm/md/lg sizes match Input/Select heights (h-8/h-9/h-10) so
30
- * tabs align with form controls in toolbars.
31
+ * tabs align with form controls in toolbars. PageHeadingNav shares these
32
+ * variants (soft), so heading navigation and tabs can't drift apart.
31
33
  */
32
- export declare function Tabs({ className, ...props }: TabsProps): import("react/jsx-runtime").JSX.Element;
33
- export declare function TabsList({ variant, size, className, ...props }: TabsListProps): import("react/jsx-runtime").JSX.Element;
34
- export declare function TabsTrigger({ className, ...props }: TabsTriggerProps): import("react/jsx-runtime").JSX.Element;
35
- export declare function TabsContent({ className, ...props }: TabsContentProps): import("react/jsx-runtime").JSX.Element;
34
+ export declare function Tabs({ className, ...props }: TabsProps): React.JSX.Element;
35
+ export declare function TabsList({ variant, size, className, ...props }: TabsListProps): React.JSX.Element;
36
+ export declare function TabsTrigger({ className, ...props }: TabsTriggerProps): React.JSX.Element;
37
+ export declare function TabsContent({ className, ...props }: TabsContentProps): React.JSX.Element;
36
38
  export { tabsListVariants, tabsTriggerVariants };
37
39
  //# sourceMappingURL=Tabs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,QAAA,MAAM,gBAAgB;;;8EAmBpB,CAAC;AAEH,QAAA,MAAM,mBAAmB;;;8EAyCxB,CAAC;AAiBF,MAAM,WAAW,SAChB,SAAQ,IAAI,CACX,KAAK,CAAC,wBAAwB,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,EACpD,WAAW,CACX;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAChB,SAAQ,IAAI,CACV,KAAK,CAAC,wBAAwB,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,EACpD,WAAW,CACX,EACD,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAChB,SAAQ,IAAI,CACX,K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KAAK,CAAC,wBAAwB,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,EACpD,WAAW,CACX,EACD,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAChB,SAAQ,IAAI,CACX,KAAK,CAAC,wBAAwB,CAAC,OAAO,QAAQ,CAAC,GAAG,CAAC,EACnD,WAAW,CACX;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAChB,SAAQ,IAAI,CACX,KAAK,CAAC,wBAAwB,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,EACrD,WAAW,CACX;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;GASG;AACH,wBAAgB,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,qBAItD;AAED,wBAAgB,QAAQ,CAAC,EACxB,OAAgB,EAChB,IAAW,EACX,SAAS,EACT,GAAG,KAAK,EACR,EAAE,aAAa,qBAYf;AAED,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,qBASpE;AAED,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,qBAWpE;AAED,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1 +1 @@
1
- import{Sd as C}from"../../lib/utils.js";import{Tabs as D}from"@base-ui/react/tabs";import{cva as H}from"class-variance-authority";import*as E from"react";import{jsx as q}from"react/jsx-runtime";var J=H("inline-flex items-center",{variants:{variant:{pill:"gap-1 rounded-lg bg-muted p-0.5",underline:"gap-4 border-b border-input"},size:{sm:"",md:"",lg:""}},defaultVariants:{variant:"pill",size:"md"}}),K=H(["inline-flex items-center justify-center whitespace-nowrap font-medium","text-muted-foreground transition-all outline-none","focus-visible:ring-[3px] focus-visible:ring-ring/50","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","data-[active]:text-foreground"],{variants:{variant:{pill:["rounded-md","data-[active]:bg-background data-[active]:shadow-sm"],underline:["border-b-2 border-transparent","data-[active]:border-primary"]},size:{sm:"",md:"",lg:""}},compoundVariants:[{variant:"pill",size:"sm",className:"h-7 px-2.5 py-1 text-xs"},{variant:"pill",size:"md",className:"h-8 px-3 py-1.5 text-sm"},{variant:"pill",size:"lg",className:"h-9 px-3.5 py-1.5 text-sm"},{variant:"underline",size:"sm",className:"px-1 pb-2 text-xs"},{variant:"underline",size:"md",className:"px-1 pb-2.5 text-sm"},{variant:"underline",size:"lg",className:"px-1 pb-3 text-sm"}],defaultVariants:{variant:"pill",size:"md"}}),L=E.createContext({variant:"pill",size:"md"});function M({className:P,...T}){return q(D.Root,{"data-slot":"tabs",className:C(P),...T})}function O({variant:P="pill",size:T="md",className:F,...G}){return q(L.Provider,{value:{variant:P??"pill",size:T??"md"},children:q(D.List,{"data-slot":"tabs-list",className:C(J({variant:P,size:T}),F),...G})})}function Q({className:P,...T}){let{variant:F,size:G}=E.useContext(L);return q(D.Tab,{"data-slot":"tabs-trigger",className:C(K({variant:F,size:G}),P),...T})}function R({className:P,...T}){return q(D.Panel,{"data-slot":"tabs-content",className:C("mt-3 outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50",P),...T})}export{K as tabsTriggerVariants,J as tabsListVariants,Q as TabsTrigger,O as TabsList,R as TabsContent,M as Tabs};export{J as ha,K as ia,M as ja,O as ka,Q as la,R as ma};
1
+ import{bb as s,cb as r,db as a,eb as t,fb as T,gb as b}from"../../index-dsdw1626.js";import"../../lib/utils.js";export{r as tabsTriggerVariants,s as tabsListVariants,T as TabsTrigger,t as TabsList,b as TabsContent,a as Tabs};
@@ -11,5 +11,5 @@ export interface TagsProps extends Omit<React.ComponentProps<"div">, "defaultVal
11
11
  /**
12
12
  * A tag/token input field. Renders existing tags as removable chips alongside an inline text input. Supports controlled and uncontrolled value, keyboard entry (Enter or comma to add, Backspace to remove last), deduplication, and an optional max tag count. Adding beyond the max is a no-op.
13
13
  */
14
- export declare function Tags({ value, defaultValue, onValueChange, inputValue: controlledInputValue, onInputValueChange, placeholder, disabled, max, className, ...props }: TagsProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function Tags({ value, defaultValue, onValueChange, inputValue: controlledInputValue, onInputValueChange, placeholder, disabled, max, className, ...props }: TagsProps): import("react").JSX.Element;
15
15
  //# sourceMappingURL=Tags.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tags.d.ts","sourceRoot":"","sources":["../../../src/components/Tags/Tags.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,SAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC;IACtE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;GAEG;AACH,wBAAgB,IAAI,CAAC,EACpB,KAAK,EACL,YAAY,EACZ,aAAa,EACb,UAAU,EAAE,oBAAoB,EAChC,kBAAkB,EAClB,WAAW,EACX,QAAQ,EACR,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACR,EAAE,SAAS,2CA6HX"}
1
+ {"version":3,"file":"Tags.d.ts","sourceRoot":"","sources":["../../../src/components/Tags/Tags.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,SAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC;IACtE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;GAEG;AACH,wBAAgB,IAAI,CAAC,EACpB,KAAK,EACL,YAAY,EACZ,aAAa,EACb,UAAU,EAAE,oBAAoB,EAChC,kBAAkB,EAClB,WAAW,EACX,QAAQ,EACR,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACR,EAAE,SAAS,+BA6HX"}
@@ -1 +1 @@
1
- import{Jd as B}from"../Badge/index.js";import"../Icon/index.js";import{Rd as D}from"../../index-rypjyrpn.js";import{Sd as X}from"../../lib/utils.js";import{faXmark as T}from"@fortawesome/pro-solid-svg-icons";import{useCallback as z,useRef as m,useState as K}from"react";import{jsx as U,jsxs as M}from"react/jsx-runtime";function C({value:W,defaultValue:N,onValueChange:Y,inputValue:A,onInputValueChange:Z,placeholder:S,disabled:H,max:J,className:R,...f}){let L=W!==void 0,[w,j]=K(N??[]),[k,v]=K(""),_=m(null),q=L?W:w,E=A!==void 0?A:k,F=z((P)=>{if(!L)j(P);Y?.(P)},[L,Y]),G=z((P)=>{if(A===void 0)v(P);Z?.(P)},[A,Z]),$=z((P)=>{let y=P.trim();if(!y)return;if(q.includes(y)){G("");return}if(J!==void 0&&q.length>=J)return;F([...q,y]),G("")},[q,J,F,G]),O=z((P)=>{F(q.filter((y,Q)=>Q!==P))},[q,F]),h=z((P)=>{if(P.key==="Enter"||P.key===",")P.preventDefault(),$(E);else if(P.key==="Backspace"&&E==="")O(q.length-1)},[E,q.length,$,O]),b=z((P)=>{if(P.target===P.currentTarget)P.preventDefault(),_.current?.focus()},[]);return M("div",{"data-slot":"tags","data-disabled":H?"":void 0,className:X("flex min-h-10 w-full flex-wrap items-center gap-1.5 rounded-lg border border-input bg-background px-2 py-1.5 text-sm shadow-xs transition-[color,box-shadow]","focus-within:ring-[3px] focus-within:ring-ring/50 focus-within:border-ring","data-[disabled]:opacity-50 data-[disabled]:pointer-events-none",R),onMouseDown:b,...f,children:[q.map((P,y)=>M(B,{"data-slot":"tag",variant:"secondary",size:"md",className:"gap-0.5 pr-0.5",children:[P,!H&&U("button",{type:"button","aria-label":`Remove ${P}`,className:"inline-flex size-4 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:bg-accent hover:text-foreground [&_svg]:size-3",onMouseDown:(Q)=>Q.stopPropagation(),onClick:()=>O(y),children:U(D,{icon:T})})]},P)),U("input",{ref:_,"data-slot":"tags-input",type:"text",value:E,placeholder:q.length===0?S:void 0,disabled:H,className:"flex-1 bg-transparent outline-none placeholder:text-muted-foreground min-w-24 disabled:cursor-not-allowed",onChange:(P)=>G(P.target.value),onKeyDown:h})]})}export{C as Tags};export{C as na};
1
+ import{pe as B}from"../Badge/index.js";import"../Icon/index.js";import{xe as D}from"../../index-aq782dhn.js";import{ye as X}from"../../lib/utils.js";import{faXmark as T}from"@fortawesome/pro-solid-svg-icons";import{useCallback as z,useRef as m,useState as K}from"react";import{jsx as U,jsxs as M}from"react/jsx-runtime";function C({value:W,defaultValue:N,onValueChange:Y,inputValue:A,onInputValueChange:Z,placeholder:S,disabled:H,max:J,className:R,...f}){let L=W!==void 0,[w,j]=K(N??[]),[k,v]=K(""),_=m(null),q=L?W:w,E=A!==void 0?A:k,F=z((P)=>{if(!L)j(P);Y?.(P)},[L,Y]),G=z((P)=>{if(A===void 0)v(P);Z?.(P)},[A,Z]),$=z((P)=>{let y=P.trim();if(!y)return;if(q.includes(y)){G("");return}if(J!==void 0&&q.length>=J)return;F([...q,y]),G("")},[q,J,F,G]),O=z((P)=>{F(q.filter((y,Q)=>Q!==P))},[q,F]),h=z((P)=>{if(P.key==="Enter"||P.key===",")P.preventDefault(),$(E);else if(P.key==="Backspace"&&E==="")O(q.length-1)},[E,q.length,$,O]),b=z((P)=>{if(P.target===P.currentTarget)P.preventDefault(),_.current?.focus()},[]);return M("div",{"data-slot":"tags","data-disabled":H?"":void 0,className:X("flex min-h-10 w-full flex-wrap items-center gap-1.5 rounded-lg border border-input bg-background px-2 py-1.5 text-sm shadow-xs transition-[color,box-shadow]","focus-within:ring-[3px] focus-within:ring-ring/50 focus-within:border-ring","data-[disabled]:opacity-50 data-[disabled]:pointer-events-none",R),onMouseDown:b,...f,children:[q.map((P,y)=>M(B,{"data-slot":"tag",variant:"secondary",size:"md",className:"gap-0.5 pr-0.5",children:[P,!H&&U("button",{type:"button","aria-label":`Remove ${P}`,className:"inline-flex size-4 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:bg-accent hover:text-foreground [&_svg]:size-3",onMouseDown:(Q)=>Q.stopPropagation(),onClick:()=>O(y),children:U(D,{icon:T})})]},P)),U("input",{ref:_,"data-slot":"tags-input",type:"text",value:E,placeholder:q.length===0?S:void 0,disabled:H,className:"flex-1 bg-transparent outline-none placeholder:text-muted-foreground min-w-24 disabled:cursor-not-allowed",onChange:(P)=>G(P.target.value),onKeyDown:h})]})}export{C as Tags};export{C as p};
@@ -4,18 +4,18 @@ declare const textVariants: (props?: ({
4
4
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
5
  export interface TextProps extends React.ComponentPropsWithoutRef<"p">, VariantProps<typeof textVariants> {
6
6
  }
7
- export declare function Text({ variant, className, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function Text({ variant, className, ...props }: TextProps): import("react").JSX.Element;
8
8
  declare const textLinkVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
9
9
  export interface TextLinkProps extends React.ComponentPropsWithoutRef<"a">, VariantProps<typeof textLinkVariants> {
10
10
  }
11
- export declare function TextLink({ className, ...props }: TextLinkProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function TextLink({ className, ...props }: TextLinkProps): import("react").JSX.Element;
12
12
  declare const strongVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
13
13
  export interface StrongProps extends React.ComponentPropsWithoutRef<"strong">, VariantProps<typeof strongVariants> {
14
14
  }
15
- export declare function Strong({ className, ...props }: StrongProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function Strong({ className, ...props }: StrongProps): import("react").JSX.Element;
16
16
  declare const codeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
17
17
  export interface CodeProps extends React.ComponentPropsWithoutRef<"code">, VariantProps<typeof codeVariants> {
18
18
  }
19
- export declare function Code({ className, ...props }: CodeProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function Code({ className, ...props }: CodeProps): import("react").JSX.Element;
20
20
  export { codeVariants, strongVariants, textLinkVariants, textVariants };
21
21
  //# sourceMappingURL=Text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,YAAY;;8EAajB,CAAC;AAEF,MAAM,WAAW,SAChB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,GAAG,CAAC,EAC1C,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAEtC,wBAAgB,IAAI,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAQ/D;AAED,QAAA,MAAM,gBAAgB,oFAAyD,CAAC;AAEhF,MAAM,WAAW,aAChB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,GAAG,CAAC,EAC1C,YAAY,CAAC,OAAO,gBAAgB,C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GAAG,KAAK,EAAE,EAAE,aAAa,+BAQ9D;AAED,QAAA,MAAM,cAAc,oFAAqC,CAAC;AAE1D,MAAM,WAAW,WAChB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAC/C,YAAY,CAAC,OAAO,cAAc,CAAC;CAAG;AAExC,wBAAgB,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,+BAQ1D;AAED,QAAA,MAAM,YAAY,oFAEjB,CAAC;AAEF,MAAM,WAAW,SAChB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAC7C,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAEtC,wBAAgB,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAQtD;AAED,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,EAAE,CAAC"}
@@ -1 +1 @@
1
- import{Sd as o}from"../../lib/utils.js";import{cva as r}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var a=r("text-base/6 sm:text-sm/6 [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",{variants:{variant:{default:"text-foreground",muted:"text-muted-foreground"}},defaultVariants:{variant:"default"}});function x({variant:t,className:e,...d}){return n("p",{"data-slot":"text",className:o(a({variant:t}),e),...d})}var s=r("underline underline-offset-4 hover:text-primary");function f({className:t,...e}){return n("a",{"data-slot":"text-link",className:o(s(),t),...e})}var i=r("font-medium text-foreground");function m({className:t,...e}){return n("strong",{"data-slot":"strong",className:o(i(),t),...e})}var p=r("rounded-md border border-border bg-muted px-1 py-px text-sm font-medium text-foreground sm:text-[0.8125rem]");function u({className:t,...e}){return n("code",{"data-slot":"code",className:o(p(),t),...e})}export{a as textVariants,s as textLinkVariants,i as strongVariants,p as codeVariants,f as TextLink,x as Text,m as Strong,u as Code};export{a,x as b,s as c,f as d,i as e,m as f,p as g,u as h};
1
+ import{ye as o}from"../../lib/utils.js";import{cva as r}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var a=r("text-base/6 sm:text-sm/6 [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",{variants:{variant:{default:"text-foreground",muted:"text-muted-foreground"}},defaultVariants:{variant:"default"}});function x({variant:t,className:e,...d}){return n("p",{"data-slot":"text",className:o(a({variant:t}),e),...d})}var s=r("underline underline-offset-4 hover:text-primary");function f({className:t,...e}){return n("a",{"data-slot":"text-link",className:o(s(),t),...e})}var i=r("font-medium text-foreground");function m({className:t,...e}){return n("strong",{"data-slot":"strong",className:o(i(),t),...e})}var p=r("rounded-md border border-border bg-muted px-1 py-px text-sm font-medium text-foreground sm:text-[0.8125rem]");function u({className:t,...e}){return n("code",{"data-slot":"code",className:o(p(),t),...e})}export{a as textVariants,s as textLinkVariants,i as strongVariants,p as codeVariants,f as TextLink,x as Text,m as Strong,u as Code};export{a as q,x as r,s,f as t,i as u,m as v,p as w,u as x};
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,gBAAgB;;;8EA+BrB,CAAC;AAEF,MAAM,WAAW,aAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,EAC/D,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,+GAwDpB,CAAC;AAIF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAMlE,QAAA,MAAM,gBAAgB;;;8EA+BrB,CAAC;AAEF,MAAM,WAAW,aAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,EAC/D,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,+GAwDpB,CAAC;AAIF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}