@techsio/ui-kit 0.41.1 → 0.42.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 (151) hide show
  1. package/README.md +2 -1
  2. package/dist/atoms/numeric-input.js +3 -3
  3. package/dist/atoms/rating.js +3 -3
  4. package/dist/atoms/tooltip.js +3 -3
  5. package/dist/internal/molecules/drawer.context.js +133 -0
  6. package/dist/internal/molecules/drawer.styles.js +107 -0
  7. package/dist/internal/organisms/sidebar.context.js +223 -0
  8. package/dist/internal/organisms/sidebar.focus.js +169 -0
  9. package/dist/internal/organisms/sidebar.styles.js +146 -0
  10. package/dist/molecules/accordion.js +3 -3
  11. package/dist/molecules/carousel.js +3 -3
  12. package/dist/molecules/chart.js +1 -1
  13. package/dist/molecules/dialog.js +3 -3
  14. package/dist/molecules/drawer.js +262 -0
  15. package/dist/molecules/menu.js +5 -5
  16. package/dist/molecules/radio-group.js +3 -3
  17. package/dist/molecules/select.js +4 -4
  18. package/dist/molecules/slider.js +3 -3
  19. package/dist/molecules/switch.js +3 -3
  20. package/dist/molecules/tabs.js +3 -3
  21. package/dist/molecules/toast.js +6 -6
  22. package/dist/molecules/tree-view.js +4 -4
  23. package/dist/organisms/data-table.fields.js +1 -1
  24. package/dist/organisms/data-table.js +7 -7
  25. package/dist/organisms/sidebar.js +448 -0
  26. package/dist/src/atoms/action-icon.d.ts +1 -1
  27. package/dist/src/atoms/button.d.ts +1 -1
  28. package/dist/src/atoms/link-button.d.ts +1 -1
  29. package/dist/src/atoms/numeric-input.d.ts +1 -1
  30. package/dist/src/atoms/status-text.d.ts +1 -1
  31. package/dist/src/internal/molecules/drawer.context.d.ts +53 -0
  32. package/dist/src/internal/molecules/drawer.context.d.ts.map +1 -0
  33. package/dist/src/internal/molecules/drawer.styles.d.ts +115 -0
  34. package/dist/src/internal/molecules/drawer.styles.d.ts.map +1 -0
  35. package/dist/src/internal/organisms/sidebar.context.d.ts +83 -0
  36. package/dist/src/internal/organisms/sidebar.context.d.ts.map +1 -0
  37. package/dist/src/internal/organisms/sidebar.focus.d.ts +16 -0
  38. package/dist/src/internal/organisms/sidebar.focus.d.ts.map +1 -0
  39. package/dist/src/internal/organisms/sidebar.styles.d.ts +149 -0
  40. package/dist/src/internal/organisms/sidebar.styles.d.ts.map +1 -0
  41. package/dist/src/molecules/accordion.d.ts +1 -1
  42. package/dist/src/molecules/breadcrumb.d.ts +2 -2
  43. package/dist/src/molecules/carousel.d.ts +2 -2
  44. package/dist/src/molecules/combobox.d.ts +1 -1
  45. package/dist/src/molecules/drawer.d.ts +112 -0
  46. package/dist/src/molecules/drawer.d.ts.map +1 -0
  47. package/dist/src/molecules/form-input.d.ts +1 -1
  48. package/dist/src/molecules/form-numeric-input.d.ts +1 -1
  49. package/dist/src/molecules/form-textarea.d.ts +1 -1
  50. package/dist/src/molecules/menu.d.ts +1 -1
  51. package/dist/src/molecules/pagination.d.ts +1 -1
  52. package/dist/src/molecules/phone-input.d.ts +3 -3
  53. package/dist/src/molecules/popover.d.ts +1 -1
  54. package/dist/src/molecules/product-card.d.ts +4 -4
  55. package/dist/src/molecules/radio-card.d.ts +2 -2
  56. package/dist/src/molecules/radio-group.d.ts +2 -2
  57. package/dist/src/molecules/search-form.d.ts +5 -5
  58. package/dist/src/molecules/select.d.ts +1 -1
  59. package/dist/src/molecules/steps.d.ts +1 -1
  60. package/dist/src/molecules/switch.d.ts +3 -3
  61. package/dist/src/molecules/tabs.d.ts +1 -1
  62. package/dist/src/molecules/toast.d.ts +6 -6
  63. package/dist/src/molecules/tree-view.d.ts +1 -1
  64. package/dist/src/organisms/data-table.d.ts +8 -8
  65. package/dist/src/organisms/data-table.fields.d.ts +2 -2
  66. package/dist/src/organisms/data-table.helpers.d.ts +1 -1
  67. package/dist/src/organisms/gallery.d.ts +2 -2
  68. package/dist/src/organisms/sidebar.d.ts +93 -0
  69. package/dist/src/organisms/sidebar.d.ts.map +1 -0
  70. package/dist/src/templates/accordion.d.ts +2 -2
  71. package/dist/src/templates/breadcrumb.d.ts +2 -2
  72. package/dist/src/templates/carousel.d.ts +2 -2
  73. package/dist/src/templates/gallery.d.ts +3 -3
  74. package/dist/src/templates/numeric-input.d.ts +2 -2
  75. package/dist/src/templates/popover.d.ts +1 -1
  76. package/dist/src/templates/product-card.d.ts +2 -2
  77. package/dist/src/templates/select.d.ts +1 -1
  78. package/dist/src/templates/tabs.d.ts +1 -1
  79. package/dist/src/theme/theme-provider.d.ts +1 -1
  80. package/dist/src/types/zag.d.ts +1 -0
  81. package/dist/src/types/zag.d.ts.map +1 -1
  82. package/dist/stories/atoms/badge.stories.d.ts +1 -1
  83. package/dist/stories/atoms/button.stories.d.ts +1 -1
  84. package/dist/stories/atoms/checkbox.stories.d.ts +1 -1
  85. package/dist/stories/atoms/icon.stories.d.ts +1 -1
  86. package/dist/stories/atoms/image.stories.d.ts +1 -1
  87. package/dist/stories/atoms/input.stories.d.ts +1 -1
  88. package/dist/stories/atoms/numeric-input.stories.d.ts +1 -1
  89. package/dist/stories/atoms/rating.stories.d.ts +1 -1
  90. package/dist/stories/atoms/skeleton.stories.d.ts +1 -1
  91. package/dist/stories/atoms/status-text.stories.d.ts +1 -1
  92. package/dist/stories/atoms/textarea.stories.d.ts +1 -1
  93. package/dist/stories/atoms/tooltip.stories.d.ts +2 -2
  94. package/dist/stories/changelog/changelog.stories.d.ts.map +1 -1
  95. package/dist/stories/helpers/icon-options.d.ts +1 -1
  96. package/dist/stories/molecules/accordion.stories.d.ts +1 -1
  97. package/dist/stories/molecules/breadcrumb.stories.d.ts +1 -1
  98. package/dist/stories/molecules/carousel.stories.d.ts +1 -1
  99. package/dist/stories/molecules/chart.stories.d.ts +1 -1
  100. package/dist/stories/molecules/color-select.stories.d.ts +1 -1
  101. package/dist/stories/molecules/combobox.stories.d.ts +1 -1
  102. package/dist/stories/molecules/dialog.stories.d.ts +1 -1
  103. package/dist/stories/molecules/drawer.stories.d.ts +158 -0
  104. package/dist/stories/molecules/drawer.stories.d.ts.map +1 -0
  105. package/dist/stories/molecules/form-checkbox.stories.d.ts +1 -1
  106. package/dist/stories/molecules/form-input.stories.d.ts +1 -1
  107. package/dist/stories/molecules/form-numeric-input.stories.d.ts +1 -1
  108. package/dist/stories/molecules/form-textarea.stories.d.ts +1 -1
  109. package/dist/stories/molecules/menu.stories.d.ts +1 -1
  110. package/dist/stories/molecules/pagination.stories.d.ts +1 -1
  111. package/dist/stories/molecules/phone-input.stories.d.ts +1 -1
  112. package/dist/stories/molecules/popover.stories.d.ts +1 -1
  113. package/dist/stories/molecules/product-card.stories.d.ts +1 -1
  114. package/dist/stories/molecules/radio-card.stories.d.ts +1 -1
  115. package/dist/stories/molecules/radio-group.stories.d.ts +1 -1
  116. package/dist/stories/molecules/search-form.stories.d.ts +1 -1
  117. package/dist/stories/molecules/select.stories.d.ts +1 -1
  118. package/dist/stories/molecules/slider.stories.d.ts +1 -1
  119. package/dist/stories/molecules/steps.stories.d.ts +1 -1
  120. package/dist/stories/molecules/switch.stories.d.ts +1 -1
  121. package/dist/stories/molecules/tabs.stories.d.ts +1 -1
  122. package/dist/stories/molecules/tree-view.stories.d.ts +1 -1
  123. package/dist/stories/organisms/data-table.stories.d.ts +1 -1
  124. package/dist/stories/organisms/footer.stories.d.ts +1 -1
  125. package/dist/stories/organisms/gallery.stories.d.ts +2 -2
  126. package/dist/stories/organisms/header.stories.d.ts +1 -1
  127. package/dist/stories/organisms/sidebar.stories.d.ts +66 -0
  128. package/dist/stories/organisms/sidebar.stories.d.ts.map +1 -0
  129. package/dist/stories/organisms/table.stories.d.ts +1 -1
  130. package/dist/stories/templates/accordion.stories.d.ts +1 -1
  131. package/dist/stories/templates/breadcrumb.stories.d.ts +1 -1
  132. package/dist/stories/templates/carousel.stories.d.ts +1 -1
  133. package/dist/stories/templates/gallery.stories.d.ts +1 -1
  134. package/dist/stories/templates/numeric-input.stories.d.ts +1 -1
  135. package/dist/stories/templates/popover.stories.d.ts +1 -1
  136. package/dist/stories/templates/product-card.stories.d.ts +1 -1
  137. package/dist/stories/templates/select.stories.d.ts +1 -1
  138. package/dist/stories/templates/tabs.stories.d.ts +1 -1
  139. package/dist/test/drawer.behavior.spec.d.ts +2 -0
  140. package/dist/test/drawer.behavior.spec.d.ts.map +1 -0
  141. package/dist/test/sidebar.behavior.spec.d.ts +2 -0
  142. package/dist/test/sidebar.behavior.spec.d.ts.map +1 -0
  143. package/dist/test/sidebar.ssr.bun.d.ts +2 -0
  144. package/dist/test/sidebar.ssr.bun.d.ts.map +1 -0
  145. package/dist/theme/theme-provider.js +4 -4
  146. package/dist/theme/theme-toggle.js +1 -1
  147. package/package.json +43 -33
  148. package/src/tokens/components/components.css +2 -0
  149. package/src/tokens/components/molecules/_drawer.css +369 -0
  150. package/src/tokens/components/organisms/_sidebar.css +93 -0
  151. package/src/tokens/styles.d.ts +3 -0
@@ -5,11 +5,11 @@ declare const toastVariants: import("tailwind-variants").TVReturnType<{
5
5
  [key: string]: {
6
6
  [key: string]: import("tailwind-merge").ClassNameValue | {
7
7
  title?: import("tailwind-merge").ClassNameValue;
8
+ description?: import("tailwind-merge").ClassNameValue;
9
+ header?: import("tailwind-merge").ClassNameValue;
8
10
  icon?: import("tailwind-merge").ClassNameValue;
9
11
  group?: import("tailwind-merge").ClassNameValue;
10
12
  root?: import("tailwind-merge").ClassNameValue;
11
- header?: import("tailwind-merge").ClassNameValue;
12
- description?: import("tailwind-merge").ClassNameValue;
13
13
  closeButton?: import("tailwind-merge").ClassNameValue;
14
14
  };
15
15
  };
@@ -17,11 +17,11 @@ declare const toastVariants: import("tailwind-variants").TVReturnType<{
17
17
  [x: string]: {
18
18
  [x: string]: import("tailwind-merge").ClassNameValue | {
19
19
  title?: import("tailwind-merge").ClassNameValue;
20
+ description?: import("tailwind-merge").ClassNameValue;
21
+ header?: import("tailwind-merge").ClassNameValue;
20
22
  icon?: import("tailwind-merge").ClassNameValue;
21
23
  group?: import("tailwind-merge").ClassNameValue;
22
24
  root?: import("tailwind-merge").ClassNameValue;
23
- header?: import("tailwind-merge").ClassNameValue;
24
- description?: import("tailwind-merge").ClassNameValue;
25
25
  closeButton?: import("tailwind-merge").ClassNameValue;
26
26
  };
27
27
  };
@@ -37,11 +37,11 @@ declare const toastVariants: import("tailwind-variants").TVReturnType<{
37
37
  [key: string]: {
38
38
  [key: string]: import("tailwind-merge").ClassNameValue | {
39
39
  title?: import("tailwind-merge").ClassNameValue;
40
+ description?: import("tailwind-merge").ClassNameValue;
41
+ header?: import("tailwind-merge").ClassNameValue;
40
42
  icon?: import("tailwind-merge").ClassNameValue;
41
43
  group?: import("tailwind-merge").ClassNameValue;
42
44
  root?: import("tailwind-merge").ClassNameValue;
43
- header?: import("tailwind-merge").ClassNameValue;
44
- description?: import("tailwind-merge").ClassNameValue;
45
45
  closeButton?: import("tailwind-merge").ClassNameValue;
46
46
  };
47
47
  };
@@ -1,7 +1,7 @@
1
1
  import * as tree from "@zag-js/tree-view";
2
2
  import { type ComponentPropsWithoutRef, type ReactNode } from "react";
3
3
  import type { VariantProps } from "tailwind-variants";
4
- import { type IconType } from "../atoms/icon";
4
+ import { type IconType } from "../atoms/icon.js";
5
5
  export interface TreeNode {
6
6
  id: string;
7
7
  name: string;
@@ -1,13 +1,13 @@
1
1
  import { type ColumnFiltersState, type ColumnPinningState, type ColumnVisibilityState, type ExpandedState, type PaginationState, type RowData, type RowSelectionState, type SortingState } from "@tanstack/react-table";
2
2
  import { type ReactNode, type Ref } from "react";
3
- import { type ButtonProps } from "../atoms/button";
4
- import { type IconType } from "../atoms/icon";
5
- import { type PaginationProps } from "../molecules/pagination";
6
- import { type DataTableColumnType, type DataTableEditorRenderer, type DataTableFilterRenderer } from "./data-table.fields";
7
- import { type Column, type ColumnDef, type DataTableGetCellSpan, type Row, type TanstackTable } from "./data-table.helpers";
8
- export type { DataTableColumnType, DataTableControlSize, DataTableEditorContext, DataTableEditorRenderer, DataTableFilterContext, DataTableFilterRenderer, DataTableOption, } from "./data-table.fields";
9
- export type { Cell, CellContext, Column, ColumnDef, DataTableCellSpan, DataTableColumnWidth, DataTableConditionalFilterValue, DataTableFeatures, DataTableFilterOperator, DataTableGetCellSpan, DataTableInstance, Header, Row, TanstackTable, } from "./data-table.helpers";
10
- export { conditionalFilterFn } from "./data-table.helpers";
3
+ import { type ButtonProps } from "../atoms/button.js";
4
+ import { type IconType } from "../atoms/icon.js";
5
+ import { type PaginationProps } from "../molecules/pagination.js";
6
+ import { type DataTableColumnType, type DataTableEditorRenderer, type DataTableFilterRenderer } from "./data-table.fields.js";
7
+ import { type Column, type ColumnDef, type DataTableGetCellSpan, type Row, type TanstackTable } from "./data-table.helpers.js";
8
+ export type { DataTableColumnType, DataTableControlSize, DataTableEditorContext, DataTableEditorRenderer, DataTableFilterContext, DataTableFilterRenderer, DataTableOption, } from "./data-table.fields.js";
9
+ export type { Cell, CellContext, Column, ColumnDef, DataTableCellSpan, DataTableColumnWidth, DataTableConditionalFilterValue, DataTableFeatures, DataTableFilterOperator, DataTableGetCellSpan, DataTableInstance, Header, Row, TanstackTable, } from "./data-table.helpers.js";
10
+ export { conditionalFilterFn } from "./data-table.helpers.js";
11
11
  /**
12
12
  * A custom toolbar action, rendered as a `Button` at the table's `size`.
13
13
  * Accepts the full Button API, so icon-only, themed and loading actions all
@@ -14,8 +14,8 @@
14
14
  */
15
15
  import type { RowData } from "@tanstack/react-table";
16
16
  import type { ReactNode } from "react";
17
- import { type SelectItem } from "../molecules/select";
18
- import type { Column, DataTableFilterOperator, Row } from "./data-table.helpers";
17
+ import { type SelectItem } from "../molecules/select.js";
18
+ import type { Column, DataTableFilterOperator, Row } from "./data-table.helpers.js";
19
19
  export type DataTableColumnType = "string" | "int" | "number" | "boolean" | "enum" | "multiEnum" | "date" | "datetime" | "time" | "dateRange" | "custom";
20
20
  /** Control size scale shared by the table and every nested form control. */
21
21
  export type DataTableControlSize = "sm" | "md" | "lg";
@@ -21,7 +21,7 @@ export type Row<T extends RowData> = TanstackRow<DataTableFeatures, T>;
21
21
  export type TanstackTable<T extends RowData> = ReactTable<DataTableFeatures, T>;
22
22
  export type Header<T extends RowData, V extends CellData = CellData> = TanstackHeader<DataTableFeatures, T, V>;
23
23
  export type FilterFn<T extends RowData> = TanstackFilterFn<DataTableFeatures, T>;
24
- import type { DataTableColumnType, DataTableEditorContext, DataTableFilterContext, DataTableOption } from "./data-table.fields";
24
+ import type { DataTableColumnType, DataTableEditorContext, DataTableFilterContext, DataTableOption } from "./data-table.fields.js";
25
25
  /**
26
26
  * Signature for the filter functions DataTable registers on its own feature
27
27
  * set. `TFeatures` is left as `any` on purpose: the feature set is defined in
@@ -11,8 +11,8 @@
11
11
  */
12
12
  import { type ComponentPropsWithoutRef, type ElementType, type ReactNode } from "react";
13
13
  import type { VariantProps } from "tailwind-variants";
14
- import { Image } from "../atoms/image";
15
- import { type CarouselRootProps, type CarouselSlide } from "../molecules/carousel";
14
+ import { Image } from "../atoms/image.js";
15
+ import { type CarouselRootProps, type CarouselSlide } from "../molecules/carousel.js";
16
16
  type GalleryImageComponent<T extends ElementType = typeof Image> = T extends typeof Image ? typeof Image : T extends ElementType ? "src" extends keyof ComponentPropsWithoutRef<T> ? "alt" extends keyof ComponentPropsWithoutRef<T> ? T : never : never : never;
17
17
  declare const galleryVariants: import("tailwind-variants").TVReturnType<{
18
18
  orientation: {
@@ -0,0 +1,93 @@
1
+ import type { ButtonHTMLAttributes, ComponentPropsWithoutRef, HTMLAttributes, ReactNode, Ref } from "react";
2
+ import { type ActionIconProps } from "../atoms/action-icon.js";
3
+ import type { IconType } from "../atoms/icon.js";
4
+ import { type SidebarApi, type SidebarSide, type SidebarStateProps } from "../internal/organisms/sidebar.context.js";
5
+ export type { SidebarApi, SidebarCollapsible, SidebarCollapsiblePolicy, SidebarExpandedChangeDetails, SidebarMobileOpenChangeDetails, SidebarSide, } from "../internal/organisms/sidebar.context.js";
6
+ export type SidebarRootProps = Omit<ComponentPropsWithoutRef<"div">, "dir" | "id"> & SidebarStateProps & {
7
+ ref?: Ref<HTMLDivElement>;
8
+ };
9
+ export declare function Sidebar({ children, className, collapsible, defaultExpanded, defaultMobileOpen, dir, expanded, id, mobileOpen, onExpandedChange, onMobileOpenChange, ref, ...props }: SidebarRootProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare namespace Sidebar {
11
+ var Root: typeof Sidebar;
12
+ var Panel: ({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, children, className, onBlurCapture, onFocusCapture, ref, side, tabIndex, ...props }: SidebarPanelProps) => import("react/jsx-runtime").JSX.Element;
13
+ var Trigger: ({ "aria-label": ariaLabel, className, icon, onBlurCapture, onClick, onFocusCapture, side, tooltip, value, ...props }: SidebarTriggerProps) => import("react/jsx-runtime").JSX.Element | null;
14
+ var CloseTrigger: ({ "aria-label": ariaLabel, className, icon, onClick, size, tone, ...props }: SidebarCloseTriggerProps) => import("react/jsx-runtime").JSX.Element | null;
15
+ var Inset: ({ className, ref, ...props }: SidebarInsetProps) => import("react/jsx-runtime").JSX.Element;
16
+ var Header: ({ className, ref, ...props }: SidebarSectionProps) => import("react/jsx-runtime").JSX.Element;
17
+ var Content: ({ className, ref, ...props }: SidebarSectionProps) => import("react/jsx-runtime").JSX.Element;
18
+ var Footer: ({ className, ref, ...props }: SidebarSectionProps) => import("react/jsx-runtime").JSX.Element;
19
+ var Group: ({ className, ref, ...props }: SidebarSectionProps) => import("react/jsx-runtime").JSX.Element;
20
+ var GroupLabel: ({ className, ref, ...props }: SidebarGroupLabelProps) => import("react/jsx-runtime").JSX.Element;
21
+ var GroupContent: ({ className, ref, ...props }: SidebarSectionProps) => import("react/jsx-runtime").JSX.Element;
22
+ var Menu: ({ className, ref, ...props }: SidebarMenuProps) => import("react/jsx-runtime").JSX.Element;
23
+ var Item: ({ className, ref, ...props }: SidebarItemProps) => import("react/jsx-runtime").JSX.Element;
24
+ var Separator: ({ className, ref, ...props }: SidebarSeparatorProps) => import("react/jsx-runtime").JSX.Element;
25
+ var Expanded: ({ className, ref, ...props }: SidebarExpandedProps) => import("react/jsx-runtime").JSX.Element;
26
+ var Label: ({ className, ref, ...props }: SidebarLabelProps) => import("react/jsx-runtime").JSX.Element;
27
+ var PaneGroup: ({ className, ref, ...props }: SidebarPaneGroupProps) => import("react/jsx-runtime").JSX.Element;
28
+ var Pane: ({ className, ref, size, visibility, ...props }: SidebarPaneProps) => import("react/jsx-runtime").JSX.Element;
29
+ var Rail: ({ "aria-label": ariaLabel, className, onClick, ref, title, ...props }: SidebarRailProps) => import("react/jsx-runtime").JSX.Element | null;
30
+ var Context: ({ children }: SidebarContextProps) => ReactNode;
31
+ }
32
+ type SidebarAccessibleName = {
33
+ "aria-label": string;
34
+ "aria-labelledby"?: string;
35
+ } | {
36
+ "aria-label"?: never;
37
+ "aria-labelledby": string;
38
+ };
39
+ export type SidebarPanelProps = Omit<ComponentPropsWithoutRef<"aside">, "aria-label" | "aria-labelledby" | "id"> & SidebarAccessibleName & {
40
+ ref?: Ref<HTMLElement>;
41
+ side?: SidebarSide;
42
+ };
43
+ export type SidebarTriggerProps = Omit<ActionIconProps, "aria-label" | "icon" | "id" | "value"> & {
44
+ "aria-label": string;
45
+ icon?: IconType;
46
+ side?: SidebarSide;
47
+ tooltip?: ReactNode;
48
+ value?: string;
49
+ };
50
+ export type SidebarCloseTriggerProps = Omit<ActionIconProps, "aria-label" | "icon"> & {
51
+ "aria-label": string;
52
+ icon?: IconType;
53
+ };
54
+ export type SidebarInsetProps = ComponentPropsWithoutRef<"main"> & {
55
+ ref?: Ref<HTMLElement>;
56
+ };
57
+ export type SidebarSectionProps = HTMLAttributes<HTMLDivElement> & {
58
+ ref?: Ref<HTMLDivElement>;
59
+ };
60
+ export type SidebarGroupLabelProps = ComponentPropsWithoutRef<"h2"> & {
61
+ ref?: Ref<HTMLHeadingElement>;
62
+ };
63
+ export type SidebarMenuProps = ComponentPropsWithoutRef<"ul"> & {
64
+ ref?: Ref<HTMLUListElement>;
65
+ };
66
+ export type SidebarItemProps = ComponentPropsWithoutRef<"li"> & {
67
+ ref?: Ref<HTMLLIElement>;
68
+ };
69
+ export type SidebarSeparatorProps = ComponentPropsWithoutRef<"hr"> & {
70
+ ref?: Ref<HTMLHRElement>;
71
+ };
72
+ export type SidebarExpandedProps = HTMLAttributes<HTMLDivElement> & {
73
+ ref?: Ref<HTMLDivElement>;
74
+ };
75
+ export type SidebarLabelProps = ComponentPropsWithoutRef<"span"> & {
76
+ ref?: Ref<HTMLSpanElement>;
77
+ };
78
+ export type SidebarPaneGroupProps = HTMLAttributes<HTMLDivElement> & {
79
+ ref?: Ref<HTMLDivElement>;
80
+ };
81
+ export type SidebarPaneProps = HTMLAttributes<HTMLDivElement> & {
82
+ ref?: Ref<HTMLDivElement>;
83
+ size?: "rail" | "content" | "auto";
84
+ visibility?: "always" | "expanded";
85
+ };
86
+ export type SidebarRailProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "aria-label" | "children"> & {
87
+ "aria-label": string;
88
+ ref?: Ref<HTMLButtonElement>;
89
+ };
90
+ export type SidebarContextProps = {
91
+ children: (api: SidebarApi) => ReactNode;
92
+ };
93
+ //# sourceMappingURL=sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/organisms/sidebar.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,cAAc,EACd,SAAS,EACT,GAAG,EACJ,MAAM,OAAO,CAAA;AAEd,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,OAAO,EACL,KAAK,UAAU,EAGf,KAAK,WAAW,EAChB,KAAK,iBAAiB,EAIvB,MAAM,uCAAuC,CAAA;AAK9C,YAAY,EACV,UAAU,EACV,kBAAkB,EAClB,wBAAwB,EACxB,4BAA4B,EAC5B,8BAA8B,EAC9B,WAAW,GACZ,MAAM,uCAAuC,C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AM,MAAM,oBAAoB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAClE,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;CAC1B,CAAA;AAqBD,MAAM,MAAM,iBAAiB,GAAG,wBAAwB,CAAC,MAAM,CAAC,GAAG;IACjE,GAAG,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,CAAA;CAC3B,CAAA;AAqBD,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACnE,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;CAC1B,CAAA;AAmBD,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC9D,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAAA;IAClC,UAAU,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAA;CACnC,CAAA;AAyBD,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,YAAY,GAAG,UAAU,CAC1B,GAAG;IACF,YAAY,EAAE,MAAM,CAAA;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAA;CAC7B,CAAA;AAyCD,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,SAAS,CAAA;CACzC,CAAA"}
@@ -9,8 +9,8 @@
9
9
  * Versioning is enforced at commit by scripts/check-skill-sync.mjs: @componentVersion must match
10
10
  * the accordion-usage skill's component_version and a changelog entry. Bump all three together.
11
11
  */
12
- import type { IconType } from "../atoms/icon";
13
- import { type AccordionProps } from "../molecules/accordion";
12
+ import type { IconType } from "../atoms/icon.js";
13
+ import { type AccordionProps } from "../molecules/accordion.js";
14
14
  export interface AccordionItem {
15
15
  value: string;
16
16
  title: string;
@@ -10,8 +10,8 @@
10
10
  * the breadcrumb-usage skill's component_version and a changelog entry. Bump all three together.
11
11
  */
12
12
  import { type ElementType, type ReactNode, type Ref } from "react";
13
- import type { IconProps, IconType } from "../atoms/icon";
14
- import { type BreadcrumbLinkProps, type BreadcrumbRootProps } from "../molecules/breadcrumb";
13
+ import type { IconProps, IconType } from "../atoms/icon.js";
14
+ import { type BreadcrumbLinkProps, type BreadcrumbRootProps } from "../molecules/breadcrumb.js";
15
15
  export type BreadcrumbTemplateLinkProps<T extends ElementType> = Omit<BreadcrumbLinkProps<T>, "as" | "href" | "children" | "className">;
16
16
  export type BreadcrumbTemplateItem = {
17
17
  label: ReactNode;
@@ -10,8 +10,8 @@
10
10
  * the carousel-usage skill's component_version and a changelog entry. Bump all three together.
11
11
  */
12
12
  import type { ElementType } from "react";
13
- import type { IconType } from "../atoms/icon";
14
- import { type CarouselRootProps, type CarouselSlide } from "../molecules/carousel";
13
+ import type { IconType } from "../atoms/icon.js";
14
+ import { type CarouselRootProps, type CarouselSlide } from "../molecules/carousel.js";
15
15
  export interface CarouselTemplateProps<T extends ElementType> extends Omit<CarouselRootProps<T>, "children" | "slideCount"> {
16
16
  slides: CarouselSlide[];
17
17
  showControls?: boolean;
@@ -10,9 +10,9 @@
10
10
  * the gallery-usage skill's component_version and a changelog entry. Bump all three together.
11
11
  */
12
12
  import type { ElementType, ReactNode } from "react";
13
- import type { IconType } from "../atoms/icon";
14
- import { type CarouselRootProps } from "../molecules/carousel";
15
- import { type GalleryItem, type GalleryProps, type GalleryRenderThumbnailParams } from "../organisms/gallery";
13
+ import type { IconType } from "../atoms/icon.js";
14
+ import { type CarouselRootProps } from "../molecules/carousel.js";
15
+ import { type GalleryItem, type GalleryProps, type GalleryRenderThumbnailParams } from "../organisms/gallery.js";
16
16
  export type GalleryTemplateProps<T extends ElementType = "img"> = Omit<GalleryProps<T>, "children" | "items" | "carouselProps"> & {
17
17
  items: GalleryItem[];
18
18
  carouselWidth?: CarouselRootProps<T>["width"];
@@ -10,8 +10,8 @@
10
10
  * the numeric-input-usage skill's component_version and a changelog entry. Bump all three together.
11
11
  */
12
12
  import type { Ref } from "react";
13
- import type { IconType } from "../atoms/icon";
14
- import { type NumericInputProps } from "../atoms/numeric-input";
13
+ import type { IconType } from "../atoms/icon.js";
14
+ import { type NumericInputProps } from "../atoms/numeric-input.js";
15
15
  export interface NumericInputTemplateProps extends Omit<NumericInputProps, "children" | "ref"> {
16
16
  showControls?: boolean;
17
17
  showScrubber?: boolean;
@@ -10,7 +10,7 @@
10
10
  * the popover-usage skill's component_version and a changelog entry. Bump all three together.
11
11
  */
12
12
  import type { ReactNode, Ref } from "react";
13
- import { type PopoverContentProps, type PopoverRootProps, type PopoverTriggerProps } from "../molecules/popover";
13
+ import { type PopoverContentProps, type PopoverRootProps, type PopoverTriggerProps } from "../molecules/popover.js";
14
14
  export type PopoverTemplateProps = Omit<PopoverRootProps, "children"> & {
15
15
  children: ReactNode;
16
16
  contentClassName?: string;
@@ -9,8 +9,8 @@
9
9
  * Versioning is enforced at commit by scripts/check-skill-sync.mjs: @componentVersion must match
10
10
  * the product-card-usage skill's component_version and a changelog entry. Bump all three together.
11
11
  */
12
- import { type BadgeProps } from "../atoms/badge";
13
- import { type ProductCardProps } from "../molecules/product-card";
12
+ import { type BadgeProps } from "../atoms/badge.js";
13
+ import { type ProductCardProps } from "../molecules/product-card.js";
14
14
  export interface ProductCardTemplateProps extends Pick<ProductCardProps, "layout"> {
15
15
  image?: {
16
16
  src: string;
@@ -10,7 +10,7 @@
10
10
  * the select-usage skill's component_version and a changelog entry. Bump all three together.
11
11
  */
12
12
  import type { ComponentPropsWithoutRef, ReactNode, Ref } from "react";
13
- import { type SelectItem, type SelectProps, type SelectSize } from "../molecules/select";
13
+ import { type SelectItem, type SelectProps, type SelectSize } from "../molecules/select.js";
14
14
  type SelectTemplateLabelProps = Omit<ComponentPropsWithoutRef<"label">, "children"> & {
15
15
  ref?: Ref<HTMLLabelElement>;
16
16
  };
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type * as React from "react";
13
13
  import type { Ref } from "react";
14
- import { type TabsProps } from "../molecules/tabs";
14
+ import { type TabsProps } from "../molecules/tabs.js";
15
15
  export interface TabItem {
16
16
  value: string;
17
17
  label: string;
@@ -1,5 +1,5 @@
1
1
  import { type PropsWithChildren } from "react";
2
- import { type BrandKey, type ColorMode, type ModeSetting } from "./theme-config";
2
+ import { type BrandKey, type ColorMode, type ModeSetting } from "./theme-config.js";
3
3
  type AppThemeProviderProps = PropsWithChildren<{
4
4
  defaultBrand?: BrandKey;
5
5
  defaultMode?: ModeSetting;
@@ -3,6 +3,7 @@ export type * as Carousel from "@zag-js/carousel";
3
3
  export type * as Checkbox from "@zag-js/checkbox";
4
4
  export type * as Combobox from "@zag-js/combobox";
5
5
  export type * as Dialog from "@zag-js/dialog";
6
+ export type * as Drawer from "@zag-js/drawer";
6
7
  export type * as Menu from "@zag-js/menu";
7
8
  export type * as NumberInput from "@zag-js/number-input";
8
9
  export type * as Pagination from "@zag-js/pagination";
@@ -1 +1 @@
1
- {"version":3,"file":"zag.d.ts","sourceRoot":"","sources":["../../../src/types/zag.ts"],"names":[],"mappings":"AAAA,YAAY,KAAK,SAAS,MAAM,mBAAmB,CAAA;AACnD,YAAY,KAAK,QAAQ,MAAM,kBAAkB,CAAA;AACjD,YAAY,KAAK,QAAQ,MAAM,kBAAkB,CAAA;AACjD,YAAY,KAAK,QAAQ,MAAM,kBAAkB,CAAA;AACjD,YAAY,KAAK,MAAM,MAAM,gBAAgB,CAAA;AAC7C,YAAY,KAAK,IAAI,MAAM,cAAc,CAAA;AACzC,YAAY,KAAK,WAAW,MAAM,sBAAsB,CAAA;AACxD,YAAY,KAAK,UAAU,MAAM,oBAAoB,CAAA;AACrD,YAAY,KAAK,OAAO,MAAM,iBAAiB,CAAA;AAC/C,YAAY,KAAK,UAAU,MAAM,qBAAqB,CAAA;AACtD,YAAY,KAAK,WAAW,MAAM,sBAAsB,CAAA;AACxD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AC3C,YAAY,KAAK,OAAO,MAAM,iBAAiB,CAAA;AAC/C,YAAY,KAAK,QAAQ,MAAM,mBAAmB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { Badge, type BadgeProps } from '../../src/atoms/badge';
2
+ import { Badge, type BadgeProps } from '../../src/atoms/badge.js';
3
3
  declare const meta: Meta<typeof Badge>;
4
4
  export default meta;
5
5
  type Story = Omit<StoryObj<typeof meta>, 'args'> & {
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { Button } from '../../src/atoms/button';
2
+ import { Button } from '../../src/atoms/button.js';
3
3
  declare const meta: Meta<typeof Button>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Button>;
@@ -1,5 +1,5 @@
1
1
  import type { StoryObj } from '@storybook/react';
2
- import { Checkbox } from '../../src/atoms/checkbox';
2
+ import { Checkbox } from '../../src/atoms/checkbox.js';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: typeof Checkbox;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { Icon } from '../../src/atoms/icon';
2
+ import { Icon } from '../../src/atoms/icon.js';
3
3
  declare const meta: Meta<typeof Icon>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Icon>;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { Image } from '../../src/atoms/image';
2
+ import { Image } from '../../src/atoms/image.js';
3
3
  declare const meta: Meta<typeof Image>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Image>;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { Input } from '../../src/atoms/input';
2
+ import { Input } from '../../src/atoms/input.js';
3
3
  declare const meta: Meta<typeof Input>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Input>;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { NumericInput, type NumericInputProps } from '../../src/atoms/numeric-input';
2
+ import { NumericInput, type NumericInputProps } from '../../src/atoms/numeric-input.js';
3
3
  type PlaygroundArgs = NumericInputProps & {
4
4
  showLabel?: boolean;
5
5
  label?: string;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { Rating } from '../../src/atoms/rating';
2
+ import { Rating } from '../../src/atoms/rating.js';
3
3
  declare const meta: Meta<typeof Rating>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Rating>;
@@ -1,6 +1,6 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
2
  import type { ComponentPropsWithoutRef } from 'react';
3
- import { Skeleton } from '../../src/atoms/skeleton';
3
+ import { Skeleton } from '../../src/atoms/skeleton.js';
4
4
  declare const meta: Meta<typeof Skeleton>;
5
5
  export default meta;
6
6
  type Story = StoryObj<typeof Skeleton>;
@@ -1,6 +1,6 @@
1
1
  import type { ComponentPropsWithoutRef } from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { StatusText } from "../../src/atoms/status-text";
3
+ import { StatusText } from "../../src/atoms/status-text.js";
4
4
  declare const meta: Meta<typeof StatusText>;
5
5
  export default meta;
6
6
  type Story = StoryObj<typeof StatusText>;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { Textarea } from '../../src/atoms/textarea';
2
+ import { Textarea } from '../../src/atoms/textarea.js';
3
3
  declare const meta: Meta<typeof Textarea>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Textarea>;
@@ -1,7 +1,7 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
2
  import { type ComponentPropsWithoutRef } from 'react';
3
- import { type IconType } from '../../src/atoms/icon';
4
- import { Tooltip } from '../../src/atoms/tooltip';
3
+ import { type IconType } from '../../src/atoms/icon.js';
4
+ import { Tooltip } from '../../src/atoms/tooltip.js';
5
5
  type PlaygroundArgs = ComponentPropsWithoutRef<typeof Tooltip> & {
6
6
  triggerType?: 'button' | 'icon';
7
7
  triggerLabel?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"changelog.stories.d.ts","sourceRoot":"","sources":["../../../stories/changelog/changelog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAgLtD,iBAAS,SAAS,4CAUjB;AAED,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAKhC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,OAAO,SAAS,CAAM,CAAA"}
1
+ {"version":3,"file":"changelog.stories.d.ts","sourceRoot":"","sources":["../../../stories/changelog/changelog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAsLtD,iBAAS,SAAS,4CAUjB;AAED,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAKhC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,OAAO,SAAS,CAAM,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { IconType } from "../../src/atoms/icon";
1
+ import type { IconType } from "../../src/atoms/icon.js";
2
2
  export declare const iconOptions: (IconType | undefined)[];
3
3
  export declare const iconLabels: Record<string, string>;
4
4
  //# sourceMappingURL=icon-options.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { Accordion } from '../../src/molecules/accordion';
2
+ import { Accordion } from '../../src/molecules/accordion.js';
3
3
  declare const meta: Meta<typeof Accordion>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Accordion>;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { Breadcrumb } from '../../src/molecules/breadcrumb';
2
+ import { Breadcrumb } from '../../src/molecules/breadcrumb.js';
3
3
  declare const meta: Meta<typeof Breadcrumb>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Breadcrumb>;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { Carousel } from '../../src/molecules/carousel';
2
+ import { Carousel } from '../../src/molecules/carousel.js';
3
3
  declare const meta: Meta<typeof Carousel>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from "@storybook/react";
2
- import { Chart } from "../../src/molecules/chart";
2
+ import { Chart } from "../../src/molecules/chart.js";
3
3
  type RevenuePoint = {
4
4
  month: string;
5
5
  revenue: number;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { ColorSelect } from '../../src/molecules/color-select';
2
+ import { ColorSelect } from '../../src/molecules/color-select.js';
3
3
  declare const meta: Meta<typeof ColorSelect>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { Combobox } from '../../src/molecules/combobox';
2
+ import { Combobox } from '../../src/molecules/combobox.js';
3
3
  declare const meta: Meta<typeof Combobox>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Combobox>;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { Dialog } from '../../src/molecules/dialog';
2
+ import { Dialog } from '../../src/molecules/dialog.js';
3
3
  declare const meta: Meta<typeof Dialog>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;