@dynamic-labs-sdk/droplet 1.47.0 → 1.49.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 (40) hide show
  1. package/README.md +1 -0
  2. package/dist/components/copy-button/copy-button.d.ts.map +1 -1
  3. package/dist/components/tab-navigation/index.d.ts +3 -0
  4. package/dist/components/tab-navigation/index.d.ts.map +1 -0
  5. package/dist/components/tab-navigation/tab-navigation.d.ts +74 -0
  6. package/dist/components/tab-navigation/tab-navigation.d.ts.map +1 -0
  7. package/dist/components/tab-navigation/tab-navigation.stories.d.ts +13 -0
  8. package/dist/components/tab-navigation/tab-navigation.stories.d.ts.map +1 -0
  9. package/dist/components/ui/button/button.stories.d.ts.map +1 -1
  10. package/dist/components/ui/check-icon/check-icon.d.ts +1 -1
  11. package/dist/components/ui/check-icon/check-icon.d.ts.map +1 -1
  12. package/dist/components/ui/check-icon/check-icon.stories.d.ts +1 -1
  13. package/dist/components/ui/check-icon/check-icon.stories.d.ts.map +1 -1
  14. package/dist/components/ui/pagination/pagination.d.ts +2 -2
  15. package/dist/components/ui/pagination/pagination.d.ts.map +1 -1
  16. package/dist/components/ui/table/table.d.ts +8 -1
  17. package/dist/components/ui/table/table.d.ts.map +1 -1
  18. package/dist/components/ui/table/table.stories.d.ts +7 -1
  19. package/dist/components/ui/table/table.stories.d.ts.map +1 -1
  20. package/dist/components/ui/tabs/tabs.d.ts +1 -1
  21. package/dist/components/ui/tabs/tabs.d.ts.map +1 -1
  22. package/dist/components/ui/well/well-reveal.stories.d.ts.map +1 -1
  23. package/dist/components/ui/well/well.d.ts.map +1 -1
  24. package/dist/components/ui/well/well.stories.d.ts +1 -0
  25. package/dist/components/ui/well/well.stories.d.ts.map +1 -1
  26. package/dist/index.cjs +332 -49
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.ts +2 -0
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.esm.js +332 -50
  31. package/dist/index.esm.js.map +1 -1
  32. package/dist/migration.cjs +1 -1
  33. package/dist/migration.esm.js +1 -1
  34. package/dist/{toggle-row-D6zreMMF.cjs → toggle-row-BBTk7_bT.cjs} +3 -3
  35. package/dist/toggle-row-BBTk7_bT.cjs.map +1 -0
  36. package/dist/{toggle-row-BZvM5UmY.esm.js → toggle-row-PqelNVXI.esm.js} +3 -3
  37. package/dist/toggle-row-PqelNVXI.esm.js.map +1 -0
  38. package/package.json +1 -1
  39. package/dist/toggle-row-BZvM5UmY.esm.js.map +0 -1
  40. package/dist/toggle-row-D6zreMMF.cjs.map +0 -1
package/README.md CHANGED
@@ -149,6 +149,7 @@ Higher-level components composed from primitives, designed for dashboard and set
149
149
  | `ProductPageLayout` | Full-page scaffold: header, tabs, content, sidebar |
150
150
  | `SettingsSection` | Labeled section wrapper for settings pages |
151
151
  | `StatusBadge` | Live / inactive / pending status indicator |
152
+ | `TabNavigation` | Full-width underline tab navigation for switching related views |
152
153
  | `ToggleRow` | Label + description + switch in a single accessible row |
153
154
  | `UnsavedChangesBar` | Sticky bottom bar for save/discard with change tracking |
154
155
 
@@ -1 +1 @@
1
- {"version":3,"file":"copy-button.d.ts","sourceRoot":"","sources":["../../../src/components/copy-button/copy-button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAA+B,MAAM,OAAO,CAAC;AAkEvE,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,CAAC;CACzD,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,UAAU,gDAMpB,eAAe,KAAG,YAmIpB,CAAC"}
1
+ {"version":3,"file":"copy-button.d.ts","sourceRoot":"","sources":["../../../src/components/copy-button/copy-button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAA+B,MAAM,OAAO,CAAC;AAmFvE,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,CAAC;CACzD,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,UAAU,gDAMpB,eAAe,KAAG,YA2IpB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { TabNavigation } from './tab-navigation';
2
+ export type { TabNavigationItem, TabNavigationProps } from './tab-navigation';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tab-navigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,74 @@
1
+ import { type ComponentProps, type ReactElement } from 'react';
2
+ import { Tabs } from '../ui/tabs';
3
+ /**
4
+ * A single tab in {@link TabNavigation}.
5
+ *
6
+ * @description `value` keys the tab and its `TabsContent` panel; `label` is the
7
+ * visible tab text; `disabled` blocks selection and is skipped for the initial
8
+ * selection.
9
+ * @example
10
+ * ```tsx
11
+ * const item: TabNavigationItem = { label: 'Invitations', value: 'invitations' };
12
+ * ```
13
+ * @see TabNavigation
14
+ * @see TabNavigationProps
15
+ */
16
+ type TabNavigationItem = {
17
+ disabled?: boolean;
18
+ label: string;
19
+ value: string;
20
+ };
21
+ /**
22
+ * Props for {@link TabNavigation}. Extends the underlying `Tabs` props except
23
+ * `orientation`, which is fixed to horizontal: the underline indicator and
24
+ * navigation styles only apply to a horizontal tab list.
25
+ *
26
+ * @description `items` renders the tabs in order; `listLabel` gives the tab
27
+ * list an accessible name; `defaultValue` picks the initially selected tab in
28
+ * uncontrolled use; `value`/`onValueChange` control selection.
29
+ * @example
30
+ * ```tsx
31
+ * const props: TabNavigationProps = {
32
+ * items: [
33
+ * { label: 'All', value: 'all' },
34
+ * { label: 'Invitations', value: 'invitations' },
35
+ * ],
36
+ * listLabel: 'Users',
37
+ * };
38
+ * ```
39
+ * @see TabNavigation
40
+ * @see ProductPageLayout
41
+ */
42
+ type TabNavigationProps = Omit<ComponentProps<typeof Tabs>, 'orientation'> & {
43
+ items: TabNavigationItem[];
44
+ listLabel?: string;
45
+ };
46
+ /**
47
+ * Full-width underline tab navigation for switching between related views,
48
+ * built on {@link Tabs}. The blue underline slides between tabs; pass
49
+ * `TabsContent` elements as children when the component owns the panels.
50
+ *
51
+ * @description Without `defaultValue`, the first enabled item is selected. If
52
+ * uncontrolled `items` later change so the selection is missing or disabled,
53
+ * the selection moves to the first enabled item.
54
+ * @example
55
+ * ```tsx
56
+ * <TabNavigation
57
+ * items={[
58
+ * { label: 'All', value: 'all' },
59
+ * { label: 'Invitations', value: 'invitations' },
60
+ * ]}
61
+ * listLabel="Users"
62
+ * >
63
+ * <TabsContent value="all">All users</TabsContent>
64
+ * <TabsContent value="invitations">Pending invitations</TabsContent>
65
+ * </TabNavigation>
66
+ * ```
67
+ * @returns The rendered tab navigation element.
68
+ * @see Tabs
69
+ * @see ProductPageLayout
70
+ */
71
+ declare const TabNavigation: ({ children, defaultValue, items, listLabel, onValueChange, value, ...props }: TabNavigationProps) => ReactElement;
72
+ export { TabNavigation };
73
+ export type { TabNavigationItem, TabNavigationProps };
74
+ //# sourceMappingURL=tab-navigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-navigation.d.ts","sourceRoot":"","sources":["../../../src/components/tab-navigation/tab-navigation.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,YAAY,EAGlB,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,IAAI,EAAyB,MAAM,YAAY,CAAC;AAEzD;;;;;;;;;;;;GAYG;AACH,KAAK,iBAAiB,GAAG;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,KAAK,kBAAkB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,aAAa,CAAC,GAAG;IAC3E,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,QAAA,MAAM,aAAa,iFAQhB,kBAAkB,KAAG,YAqDvB,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ component: ({ children, defaultValue, items, listLabel, onValueChange, value, ...props }: import("./tab-navigation").TabNavigationProps) => import("react").ReactElement;
4
+ parameters: {
5
+ layout: string;
6
+ };
7
+ tags: string[];
8
+ title: string;
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
13
+ //# sourceMappingURL=tab-navigation.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-navigation.stories.d.ts","sourceRoot":"","sources":["../../../src/components/tab-navigation/tab-navigation.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAK5D,QAAA,MAAM,IAAI;;;;;;;CAK4B,CAAC;AAEvC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAwBrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAM5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;eAsIu8B,CAAC;eAAiH,CAAC;;;;CAzGriC,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,WAAW,EAAE,KAuBzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KA0BtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAiB7B,CAAC"}
1
+ {"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAM5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;eAsIw8B,CAAC;eAAiH,CAAC;;;;CAzGtiC,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,WAAW,EAAE,KAuBzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KA0BtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAiB7B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { type ReactElement, type SVGProps } from 'react';
2
2
  declare const CheckIcon: ({ size, strokeWidth, className, ...props }: {
3
- size?: number;
3
+ size?: number | null;
4
4
  strokeWidth?: number;
5
5
  } & Omit<SVGProps<SVGSVGElement>, "strokeWidth">) => ReactElement;
6
6
  export { CheckIcon };
@@ -1 +1 @@
1
- {"version":3,"file":"check-icon.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/check-icon/check-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzD,QAAA,MAAM,SAAS,+CAKZ;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,aAAa,CAAC,KAAG,YAclD,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"check-icon.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/check-icon/check-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzD,QAAA,MAAM,SAAS,+CAKZ;IAED,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,aAAa,CAAC,KAAG,YAclD,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -13,7 +13,7 @@ declare const meta: {
13
13
  };
14
14
  };
15
15
  component: ({ size, strokeWidth, className, ...props }: {
16
- size?: number;
16
+ size?: number | null;
17
17
  strokeWidth?: number;
18
18
  } & Omit<import("react").SVGProps<SVGSVGElement>, "strokeWidth">) => import("react").ReactElement;
19
19
  tags: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"check-icon.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/check-icon/check-icon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;YAGN,CAAA;mBAEF,CAAC;;;;CAO+B,CAAC;AAEnC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAWnB,CAAC"}
1
+ {"version":3,"file":"check-icon.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/check-icon/check-icon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;YAOC,CAAC;mBACV,CAAC;;;;CAI+B,CAAC;AAEnC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAWnB,CAAC"}
@@ -27,12 +27,12 @@ declare const PaginationLink: ({ className, isActive, children, ...props }: Pagi
27
27
  /**
28
28
  * Previous-page control.
29
29
  * Disabled when the consumer passes `aria-disabled="true"` or the native `disabled` attribute.
30
- * Touch target is expanded to 44 px via the pseudo-element already baked into `icon-sm`.
30
+ * Keeps a 44px-tall target while fitting the horizontal expansion between adjacent links.
31
31
  */
32
32
  declare const PaginationPrevious: ({ className, children, ...props }: ComponentProps<"a">) => ReactElement;
33
33
  /**
34
34
  * Next-page control.
35
- * Touch target is expanded to 44 px via the pseudo-element already baked into `icon-sm`.
35
+ * Keeps a 44px-tall target while fitting the horizontal expansion between adjacent links.
36
36
  */
37
37
  declare const PaginationNext: ({ className, children, ...props }: ComponentProps<"a">) => ReactElement;
38
38
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/pagination/pagination.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAW/E;;;GAGG;AACH,QAAA,MAAM,UAAU,4BAGb,cAAc,CAAC,KAAK,CAAC,KAAG,YAQ1B,CAAC;AAEF;;;GAGG;AACH,QAAA,MAAM,iBAAiB,4BAGpB,cAAc,CAAC,IAAI,CAAC,KAAG,YAMzB,CAAC;AAEF;;;GAGG;AACH,QAAA,MAAM,cAAc,4BAGjB,cAAc,CAAC,IAAI,CAAC,KAAG,YAEzB,CAAC;AAEF,KAAK,mBAAmB,GAAG,cAAc,CAAC,GAAG,CAAC,GAAG;IAC/C,6FAA6F;IAC7F,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,cAAc,gDAKjB,mBAAmB,KAAG,YAexB,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,sCAIrB,cAAc,CAAC,GAAG,CAAC,KAAG,YAexB,CAAC;AAEF;;;GAGG;AACH,QAAA,MAAM,cAAc,sCAIjB,cAAc,CAAC,GAAG,CAAC,KAAG,YAcxB,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,4BAGrB,cAAc,CAAC,MAAM,CAAC,KAAG,YAa3B,CAAC;AAMF,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,OAAO,EAAE,OAAO,CAAC;IACjB,+EAA+E;IAC/E,WAAW,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kDAAkD;IAClD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,sDAAsD;IACtD,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,gBAAgB,oEAOnB,qBAAqB,KAAG,YAiC1B,CAAC;AAEF,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,cAAc,EACd,kBAAkB,GACnB,CAAC;AACF,YAAY,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/pagination/pagination.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAc/E;;;GAGG;AACH,QAAA,MAAM,UAAU,4BAGb,cAAc,CAAC,KAAK,CAAC,KAAG,YAQ1B,CAAC;AAEF;;;GAGG;AACH,QAAA,MAAM,iBAAiB,4BAGpB,cAAc,CAAC,IAAI,CAAC,KAAG,YAMzB,CAAC;AAEF;;;GAGG;AACH,QAAA,MAAM,cAAc,4BAGjB,cAAc,CAAC,IAAI,CAAC,KAAG,YAEzB,CAAC;AAEF,KAAK,mBAAmB,GAAG,cAAc,CAAC,GAAG,CAAC,GAAG;IAC/C,6FAA6F;IAC7F,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,cAAc,gDAKjB,mBAAmB,KAAG,YAgBxB,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,sCAIrB,cAAc,CAAC,GAAG,CAAC,KAAG,YAgBxB,CAAC;AAEF;;;GAGG;AACH,QAAA,MAAM,cAAc,sCAIjB,cAAc,CAAC,GAAG,CAAC,KAAG,YAexB,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,4BAGrB,cAAc,CAAC,MAAM,CAAC,KAAG,YAa3B,CAAC;AAMF,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,OAAO,EAAE,OAAO,CAAC;IACjB,+EAA+E;IAC/E,WAAW,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kDAAkD;IAClD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,sDAAsD;IACtD,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,gBAAgB,oEAOnB,qBAAqB,KAAG,YAiC1B,CAAC;AAEF,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,cAAc,EACd,kBAAkB,GACnB,CAAC;AACF,YAAY,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1,5 +1,12 @@
1
1
  import { type ComponentProps, type ReactElement } from 'react';
2
- declare const Table: ({ className, ...props }: ComponentProps<"table">) => ReactElement;
2
+ type TableProps = ComponentProps<'table'> & {
3
+ /** Customize the native scroll viewport, including an optional max-height. */
4
+ scrollAreaProps?: Omit<ComponentProps<'div'>, 'children' | 'ref' | 'role' | 'tabIndex'>;
5
+ /** Pin the first column at inline-start; cells spanning multiple columns stay unpinned. */
6
+ stickyFirstColumn?: boolean;
7
+ };
8
+ /** Render a table in a stable tray with keyboard access only when content overflows. */
9
+ declare const Table: ({ className, scrollAreaProps, stickyFirstColumn, ...props }: TableProps) => ReactElement;
3
10
  declare const TableHeader: ({ className, ...props }: ComponentProps<"thead">) => ReactElement;
4
11
  declare const TableBody: ({ className, ...props }: ComponentProps<"tbody">) => ReactElement;
5
12
  declare const TableFooter: ({ className, ...props }: ComponentProps<"tfoot">) => ReactElement;
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/table/table.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAA+B,MAAM,OAAO,CAAC;AAI5F,QAAA,MAAM,KAAK,4BAGR,cAAc,CAAC,OAAO,CAAC,KAAG,YA4C5B,CAAC;AAEF,QAAA,MAAM,WAAW,4BAGd,cAAc,CAAC,OAAO,CAAC,KAAG,YAW5B,CAAC;AAEF,QAAA,MAAM,SAAS,4BAGZ,cAAc,CAAC,OAAO,CAAC,KAAG,YAiB5B,CAAC;AAEF,QAAA,MAAM,WAAW,4BAGd,cAAc,CAAC,OAAO,CAAC,KAAG,YAa5B,CAAC;AAEF,QAAA,MAAM,QAAQ,4BAGX,cAAc,CAAC,IAAI,CAAC,KAAG,YAWzB,CAAC;AAEF,QAAA,MAAM,SAAS,mCAIZ,cAAc,CAAC,IAAI,CAAC,KAAG,YAYzB,CAAC;AAEF,QAAA,MAAM,SAAS,4BAGZ,cAAc,CAAC,IAAI,CAAC,KAAG,YAWzB,CAAC;AAEF,QAAA,MAAM,YAAY,4BAGf,cAAc,CAAC,SAAS,CAAC,KAAG,YAQ9B,CAAC;AAEF,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/table/table.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,YAAY,EAIlB,MAAM,OAAO,CAAC;AAKf,KAAK,UAAU,GAAG,cAAc,CAAC,OAAO,CAAC,GAAG;IAC1C,8EAA8E;IAC9E,eAAe,CAAC,EAAE,IAAI,CACpB,cAAc,CAAC,KAAK,CAAC,EACrB,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,UAAU,CACzC,CAAC;IACF,2FAA2F;IAC3F,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AA8DF,wFAAwF;AACxF,QAAA,MAAM,KAAK,gEAKR,UAAU,KAAG,YAkRf,CAAC;AAEF,QAAA,MAAM,WAAW,4BAGd,cAAc,CAAC,OAAO,CAAC,KAAG,YAW5B,CAAC;AAEF,QAAA,MAAM,SAAS,4BAGZ,cAAc,CAAC,OAAO,CAAC,KAAG,YAW5B,CAAC;AAEF,QAAA,MAAM,WAAW,4BAGd,cAAc,CAAC,OAAO,CAAC,KAAG,YAW5B,CAAC;AAEF,QAAA,MAAM,QAAQ,4BAGX,cAAc,CAAC,IAAI,CAAC,KAAG,YAYzB,CAAC;AAEF,QAAA,MAAM,SAAS,mCAIZ,cAAc,CAAC,IAAI,CAAC,KAAG,YAYzB,CAAC;AAEF,QAAA,MAAM,SAAS,4BAGZ,cAAc,CAAC,IAAI,CAAC,KAAG,YAWzB,CAAC;AAEF,QAAA,MAAM,YAAY,4BAGf,cAAc,CAAC,SAAS,CAAC,KAAG,YAW9B,CAAC;AAEF,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAC"}
@@ -1,6 +1,9 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
- component: ({ className, ...props }: import("react").ComponentProps<"table">) => import("react").ReactElement;
3
+ component: ({ className, scrollAreaProps, stickyFirstColumn, ...props }: import("react").ClassAttributes<HTMLTableElement> & import("react").TableHTMLAttributes<HTMLTableElement> & {
4
+ scrollAreaProps?: Omit<import("react").ComponentProps<"div">, "children" | "ref" | "role" | "tabIndex">;
5
+ stickyFirstColumn?: boolean;
6
+ }) => import("react").ReactElement;
4
7
  parameters: {
5
8
  layout: string;
6
9
  };
@@ -13,4 +16,7 @@ export declare const Default: Story;
13
16
  export declare const Selected: Story;
14
17
  export declare const Empty: Story;
15
18
  export declare const Loading: Story;
19
+ export declare const HorizontalOverflow: Story;
20
+ export declare const BoundedScrolling: Story;
21
+ export declare const FixedFirstColumn: Story;
16
22
  //# sourceMappingURL=table.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/table/table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAe5D,QAAA,MAAM,IAAI;;;;;;;CAKoB,CAAC;AAE/B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAoCnC,eAAO,MAAM,OAAO,EAAE,KAoCrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KA4BtB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAqBnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAwBrB,CAAC"}
1
+ {"version":3,"file":"table.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/table/table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAgB5D,QAAA,MAAM,IAAI;;;;;;;;;;CAKoB,CAAC;AAE/B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA0CnC,eAAO,MAAM,OAAO,EAAE,KAsCrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAkCtB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAwBnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KA8BrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KA6ChC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAoD9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KA6G9B,CAAC"}
@@ -3,7 +3,7 @@ import { type VariantProps } from 'class-variance-authority';
3
3
  import * as TabsPrimitive from '@radix-ui/react-tabs';
4
4
  declare const Tabs: ({ className, orientation, ...props }: ComponentProps<typeof TabsPrimitive.Root>) => ReactElement;
5
5
  declare const tabsListVariants: (props?: ({
6
- variant?: "default" | "line" | null | undefined;
6
+ variant?: "default" | "line" | "navigation" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  declare const TabsList: ({ className, variant, ...props }: ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>) => ReactElement;
9
9
  declare const TabsTrigger: ({ className, ...props }: ComponentProps<typeof TabsPrimitive.Trigger>) => ReactElement;
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/tabs/tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAItD,QAAA,MAAM,IAAI,yCAIP,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,KAAG,YAa9C,CAAC;AAEF,QAAA,MAAM,gBAAgB;;8EAarB,CAAC;AAEF,QAAA,MAAM,QAAQ,qCAIX,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,GAC1C,YAAY,CAAC,OAAO,gBAAgB,CAAC,KAAG,YASzC,CAAC;AAEF,QAAA,MAAM,WAAW,4BAGd,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,KAAG,YAcjD,CAAC;AAEF,QAAA,MAAM,WAAW,4BAGd,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,KAAG,YAWjD,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/tabs/tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAItD,QAAA,MAAM,IAAI,yCAIP,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,KAAG,YAa9C,CAAC;AAEF,QAAA,MAAM,gBAAgB;;8EAcrB,CAAC;AAEF,QAAA,MAAM,QAAQ,qCAIX,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,GAC1C,YAAY,CAAC,OAAO,gBAAgB,CAAC,KAAG,YASzC,CAAC;AAEF,QAAA,MAAM,WAAW,4BAGd,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,KAAG,YAejD,CAAC;AAEF,QAAA,MAAM,WAAW,4BAGd,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,KAAG,YAWjD,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"well-reveal.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/well/well-reveal.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAU5D,QAAA,MAAM,IAAI;;;;;;;iBAkBiB,CAAC;;;;;;;;;;;;;CACO,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAkDrB,CAAC"}
1
+ {"version":3,"file":"well-reveal.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/well/well-reveal.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAU5D,QAAA,MAAM,IAAI;;;;;;;iBAyBK,CAAC;;;;;;;;;;;;;CANmB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAkDrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"well.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/well/well.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/E,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,YAAY;;;;8EAyBhB,CAAC;AAEH,QAAA,MAAM,IAAI,mDAMP,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,KAAG,YAO9D,CAAC;AAEF,QAAA,MAAM,UAAU,mCAIb;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;CACf,KAAG,YAmBH,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"well.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/well/well.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/E,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,YAAY;;;;8EA2BhB,CAAC;AAEH,QAAA,MAAM,IAAI,mDAMP,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,KAAG,YAO9D,CAAC;AAEF,QAAA,MAAM,UAAU,mCAIb;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;CACf,KAAG,YAuBH,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC"}
@@ -36,4 +36,5 @@ type Story = StoryObj<typeof meta>;
36
36
  export declare const Default: Story;
37
37
  export declare const Variants: Story;
38
38
  export declare const WellRevealFromToggle: Story;
39
+ export declare const RowRhythm: Story;
39
40
  //# sourceMappingURL=well.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"well.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/well/well.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAO5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAemB,CAAC;AAE9B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KActB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KA2DlC,CAAC"}
1
+ {"version":3,"file":"well.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/well/well.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAO5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAemB,CAAC;AAE9B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KActB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KA2DlC,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KASvB,CAAC"}