@brett_lamy/ui 0.0.1

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 (92) hide show
  1. package/README.md +72 -0
  2. package/dist/components/avatar.d.ts +13 -0
  3. package/dist/components/avatar.d.ts.map +1 -0
  4. package/dist/components/avatar.stories.d.ts +9 -0
  5. package/dist/components/avatar.stories.d.ts.map +1 -0
  6. package/dist/components/credenza.d.ts +16 -0
  7. package/dist/components/credenza.d.ts.map +1 -0
  8. package/dist/components/credenza.stories.d.ts +8 -0
  9. package/dist/components/credenza.stories.d.ts.map +1 -0
  10. package/dist/components/edit-bar.d.ts +11 -0
  11. package/dist/components/edit-bar.d.ts.map +1 -0
  12. package/dist/components/edit-bar.stories.d.ts +10 -0
  13. package/dist/components/edit-bar.stories.d.ts.map +1 -0
  14. package/dist/components/haptic-indicator.d.ts +9 -0
  15. package/dist/components/haptic-indicator.d.ts.map +1 -0
  16. package/dist/components/haptic-indicator.stories.d.ts +8 -0
  17. package/dist/components/haptic-indicator.stories.d.ts.map +1 -0
  18. package/dist/components/index-bar.d.ts +24 -0
  19. package/dist/components/index-bar.d.ts.map +1 -0
  20. package/dist/components/index-bar.stories.d.ts +8 -0
  21. package/dist/components/index-bar.stories.d.ts.map +1 -0
  22. package/dist/components/list-row.stories.d.ts +12 -0
  23. package/dist/components/list-row.stories.d.ts.map +1 -0
  24. package/dist/components/list.d.ts +50 -0
  25. package/dist/components/list.d.ts.map +1 -0
  26. package/dist/components/list.stories.d.ts +23 -0
  27. package/dist/components/list.stories.d.ts.map +1 -0
  28. package/dist/components/measure-h.d.ts +7 -0
  29. package/dist/components/measure-h.d.ts.map +1 -0
  30. package/dist/components/navigation-stack.d.ts +52 -0
  31. package/dist/components/navigation-stack.d.ts.map +1 -0
  32. package/dist/components/navigation-stack.stories.d.ts +20 -0
  33. package/dist/components/navigation-stack.stories.d.ts.map +1 -0
  34. package/dist/components/pill-button.d.ts +11 -0
  35. package/dist/components/pill-button.d.ts.map +1 -0
  36. package/dist/components/pill-button.stories.d.ts +9 -0
  37. package/dist/components/pill-button.stories.d.ts.map +1 -0
  38. package/dist/components/qr-svg.d.ts +10 -0
  39. package/dist/components/qr-svg.d.ts.map +1 -0
  40. package/dist/components/qr-svg.stories.d.ts +9 -0
  41. package/dist/components/qr-svg.stories.d.ts.map +1 -0
  42. package/dist/components/search-field.d.ts +11 -0
  43. package/dist/components/search-field.d.ts.map +1 -0
  44. package/dist/components/search-field.stories.d.ts +8 -0
  45. package/dist/components/search-field.stories.d.ts.map +1 -0
  46. package/dist/components/segmented.d.ts +16 -0
  47. package/dist/components/segmented.d.ts.map +1 -0
  48. package/dist/components/segmented.stories.d.ts +8 -0
  49. package/dist/components/segmented.stories.d.ts.map +1 -0
  50. package/dist/components/side-drawer.d.ts +13 -0
  51. package/dist/components/side-drawer.d.ts.map +1 -0
  52. package/dist/components/side-drawer.stories.d.ts +8 -0
  53. package/dist/components/side-drawer.stories.d.ts.map +1 -0
  54. package/dist/components/spinner.d.ts +9 -0
  55. package/dist/components/spinner.d.ts.map +1 -0
  56. package/dist/components/spinner.stories.d.ts +9 -0
  57. package/dist/components/spinner.stories.d.ts.map +1 -0
  58. package/dist/components/split-view.d.ts +14 -0
  59. package/dist/components/split-view.d.ts.map +1 -0
  60. package/dist/components/split-view.stories.d.ts +8 -0
  61. package/dist/components/split-view.stories.d.ts.map +1 -0
  62. package/dist/components/switch.d.ts +11 -0
  63. package/dist/components/switch.d.ts.map +1 -0
  64. package/dist/components/switch.stories.d.ts +9 -0
  65. package/dist/components/switch.stories.d.ts.map +1 -0
  66. package/dist/components/tab-bar.d.ts +16 -0
  67. package/dist/components/tab-bar.d.ts.map +1 -0
  68. package/dist/components/tab-bar.stories.d.ts +8 -0
  69. package/dist/components/tab-bar.stories.d.ts.map +1 -0
  70. package/dist/demos/haptics-playground.d.ts +15 -0
  71. package/dist/demos/haptics-playground.d.ts.map +1 -0
  72. package/dist/demos/haptics-playground.stories.d.ts +8 -0
  73. package/dist/demos/haptics-playground.stories.d.ts.map +1 -0
  74. package/dist/index.css +2 -0
  75. package/dist/index.d.ts +42 -0
  76. package/dist/index.d.ts.map +1 -0
  77. package/dist/index.js +15467 -0
  78. package/dist/lib/haptics.d.ts +27 -0
  79. package/dist/lib/haptics.d.ts.map +1 -0
  80. package/dist/lib/icon.d.ts +20 -0
  81. package/dist/lib/icon.d.ts.map +1 -0
  82. package/dist/lib/icon.stories.d.ts +8 -0
  83. package/dist/lib/icon.stories.d.ts.map +1 -0
  84. package/dist/lib/motion.d.ts +4 -0
  85. package/dist/lib/motion.d.ts.map +1 -0
  86. package/dist/lib/theme.d.ts +21 -0
  87. package/dist/lib/theme.d.ts.map +1 -0
  88. package/dist/lib/utils.d.ts +6 -0
  89. package/dist/lib/utils.d.ts.map +1 -0
  90. package/dist/stories/frame.d.ts +16 -0
  91. package/dist/stories/frame.d.ts.map +1 -0
  92. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,72 @@
1
+ # @brett_lamy/ui
2
+
3
+ Touch-first React components inspired by UIKit container patterns. The package includes theme tokens, haptics, lists, navigation, adaptive split views, drawers, sheets, and a reusable jump rail.
4
+
5
+ ## Install
6
+
7
+ ```sh
8
+ pnpm add @brett_lamy/ui react react-dom
9
+ ```
10
+
11
+ Import the stylesheet once, then wrap the part of the app that uses TouchKit tokens:
12
+
13
+ ```tsx
14
+ import '@brett_lamy/ui/styles.css';
15
+ import { TouchKitProvider, NavigationStack } from '@brett_lamy/ui';
16
+
17
+ export function App() {
18
+ return (
19
+ <TouchKitProvider tint="#0a84ff">
20
+ <NavigationStack screens={screens} onPop={handlePop} />
21
+ </TouchKitProvider>
22
+ );
23
+ }
24
+ ```
25
+
26
+ React 18 and 19 are supported peer dependencies.
27
+
28
+ ## IndexBar
29
+
30
+ `IndexBar` accepts application-defined string or numeric keys. Labels are optional, so dense timelines can render as dots, and `preview` accepts any React node. Hover previews without navigating; pointer drag and keyboard navigation (`ArrowUp`, `ArrowDown`, `Home`, `End`) commit a stop.
31
+
32
+ ```tsx
33
+ import { IndexBar, type IndexBarItem } from '@brett_lamy/ui';
34
+
35
+ const stops: IndexBarItem<number>[] = turns.map((turn, index) => ({
36
+ key: turn.sequence,
37
+ label: index % 5 === 0 ? String(index + 1) : undefined,
38
+ caption: turn.author,
39
+ preview: <span>{turn.summary}</span>,
40
+ }));
41
+
42
+ <IndexBar
43
+ items={stops}
44
+ label="Jump to conversation turn"
45
+ onJump={(sequence) => scrollToTurn(sequence)}
46
+ />;
47
+ ```
48
+
49
+ If `items` is omitted or empty, the component retains its A-Z form:
50
+
51
+ ```tsx
52
+ <IndexBar
53
+ avail={new Set(['A', 'B', 'K'])}
54
+ onLetter={(letter) => scrollToSection(letter)}
55
+ />;
56
+ ```
57
+
58
+ ## Core exports
59
+
60
+ - Containers: `NavigationStack`, `SplitView`, `Credenza`, `SideDrawer`
61
+ - Lists and navigation: `List`, `List.Section`, `List.Row`, `IndexBar`, `TabBar`, `EditBar`
62
+ - Inputs and feedback: `SearchField`, `Switch`, `Segmented`, `Haptics`, `HapticIndicator`
63
+ - Foundations: `TouchKitProvider`, `Icon`, `Avatar`, `Spinner`, token helpers
64
+
65
+ Every component exports its props type from the package root. See the Storybook catalog for interaction and responsive examples.
66
+
67
+ ## Workspace development
68
+
69
+ ```sh
70
+ pnpm nx build @touchkit/ui
71
+ pnpm nx lint @touchkit/ui
72
+ ```
@@ -0,0 +1,13 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface AvatarProps {
3
+ /** Contact-like record: `f` first name, `l` last name. */
4
+ c: {
5
+ f: string;
6
+ l: string;
7
+ };
8
+ size?: number;
9
+ className?: string;
10
+ style?: CSSProperties;
11
+ }
12
+ export declare function Avatar({ c, size, className, style }: AvatarProps): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAK3C,MAAM,WAAW,WAAW;IAC1B,0DAA0D;IAC1D,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,WAAW,2CAShE"}
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { Avatar } from './avatar';
3
+ declare const meta: Meta<typeof Avatar>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Avatar>;
6
+ export declare const Default: Story;
7
+ export declare const Sizes: Story;
8
+ export declare const Palette: Story;
9
+ //# sourceMappingURL=avatar.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.stories.d.ts","sourceRoot":"","sources":["../../src/components/avatar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAI7B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ export interface CredenzaProps {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ onBack?: () => void;
6
+ canBack?: boolean;
7
+ /** Key of the current morphing view — changing it cross-fades and re-measures the body. */
8
+ view?: string;
9
+ title?: ReactNode;
10
+ compact?: boolean;
11
+ children?: ReactNode;
12
+ className?: string;
13
+ style?: CSSProperties;
14
+ }
15
+ export declare function Credenza({ open, onClose, onBack, canBack, view, title, compact, children, className, style }: CredenzaProps): import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=credenza.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credenza.d.ts","sourceRoot":"","sources":["../../src/components/credenza.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAWxF,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2FAA2F;IAC3F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,aAAa,2CAoE3H"}
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { Credenza } from './credenza';
3
+ declare const meta: Meta<typeof Credenza>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Credenza>;
6
+ export declare const Dialog: Story;
7
+ export declare const CompactTray: Story;
8
+ //# sourceMappingURL=credenza.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credenza.stories.d.ts","sourceRoot":"","sources":["../../src/components/credenza.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAMtC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAG/B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;AAyDvC,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface EditBarProps {
3
+ count: number;
4
+ allFav?: boolean;
5
+ onFav?: () => void;
6
+ onDelete?: () => void;
7
+ className?: string;
8
+ style?: CSSProperties;
9
+ }
10
+ export declare function EditBar({ count, allFav, onFav, onDelete, className, style }: EditBarProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=edit-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit-bar.d.ts","sourceRoot":"","sources":["../../src/components/edit-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,YAAY,2CAazF"}
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { EditBar } from './edit-bar';
3
+ declare const meta: Meta<typeof EditBar>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof EditBar>;
6
+ export declare const Empty: Story;
7
+ export declare const WithSelection: Story;
8
+ export declare const AllFavorited: Story;
9
+ export declare const Interactive: Story;
10
+ //# sourceMappingURL=edit-bar.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit-bar.stories.d.ts","sourceRoot":"","sources":["../../src/components/edit-bar.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAI9B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,KAAK,EAAE,KAA8B,CAAC;AACnD,eAAO,MAAM,aAAa,EAAE,KAA6C,CAAC;AAC1E,eAAO,MAAM,YAAY,EAAE,KAA4C,CAAC;AAExE,eAAO,MAAM,WAAW,EAAE,KAezB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface HapticIndicatorProps {
3
+ visible?: boolean;
4
+ bottom?: number | string;
5
+ className?: string;
6
+ style?: CSSProperties;
7
+ }
8
+ export declare function HapticIndicator({ visible, bottom, className, style }: HapticIndicatorProps): import("react/jsx-runtime").JSX.Element | null;
9
+ //# sourceMappingURL=haptic-indicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"haptic-indicator.d.ts","sourceRoot":"","sources":["../../src/components/haptic-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAIxE,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,oBAAoB,kDAuB1F"}
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { HapticIndicator } from './haptic-indicator';
3
+ declare const meta: Meta<typeof HapticIndicator>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof HapticIndicator>;
6
+ /** Fire any haptic — the pulse pill visualizes the event and reports the active engine. */
7
+ export declare const Interactive: Story;
8
+ //# sourceMappingURL=haptic-indicator.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"haptic-indicator.stories.d.ts","sourceRoot":"","sources":["../../src/components/haptic-indicator.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAKrD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CAGtC,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9C,2FAA2F;AAC3F,eAAO,MAAM,WAAW,EAAE,KAYzB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ export declare const AL: string[];
3
+ export type IndexBarKey = string | number;
4
+ export interface IndexBarItem<K extends IndexBarKey = IndexBarKey> {
5
+ key?: K;
6
+ label?: string;
7
+ preview?: ReactNode;
8
+ caption?: string | null;
9
+ dim?: boolean;
10
+ }
11
+ export interface IndexBarProps<K extends IndexBarKey = string> {
12
+ items?: Array<IndexBarItem<K> | K>;
13
+ avail?: Set<string>;
14
+ onJump?: (key: K, point: IndexBarItem<K>, index: number) => void;
15
+ onLetter?: (key: string) => void;
16
+ top?: number | string;
17
+ bottom?: number | string;
18
+ width?: number;
19
+ label?: string;
20
+ className?: string;
21
+ style?: CSSProperties;
22
+ }
23
+ export declare function IndexBar<K extends IndexBarKey = string>({ items, avail, onJump, onLetter, top, bottom, width, label, className, style }: IndexBarProps<K>): import("react/jsx-runtime").JSX.Element;
24
+ //# sourceMappingURL=index-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-bar.d.ts","sourceRoot":"","sources":["../../src/components/index-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,aAAa,EAAsB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAWxG,eAAO,MAAM,EAAE,UAAyC,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC;AAE1C,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW;IAC/D,GAAG,CAAC,EAAE,CAAC,CAAC;IACR,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAgBD,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,WAAW,GAAG,MAAM;IAC3D,KAAK,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACpB,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjE,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,WAAW,GAAG,MAAM,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,KAAU,EAAE,KAAyB,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,aAAa,CAAC,CAAC,CAAC,2CAyGlL"}
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { IndexBar } from './index-bar';
3
+ declare const meta: Meta<typeof IndexBar>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof IndexBar>;
6
+ export declare const AlphaAZ: Story;
7
+ export declare const CustomItemsWithPreviews: Story;
8
+ //# sourceMappingURL=index-bar.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-bar.stories.d.ts","sourceRoot":"","sources":["../../src/components/index-bar.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAI/B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;AAcvC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAqBF,eAAO,MAAM,uBAAuB,EAAE,KAErC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { ListRow } from './list';
3
+ declare const meta: Meta<typeof ListRow>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ListRow>;
6
+ export declare const Basic: Story;
7
+ export declare const SubtitleAndLeading: Story;
8
+ export declare const Chevron: Story;
9
+ export declare const Check: Story;
10
+ export declare const SwipeToDelete: Story;
11
+ export declare const EditMode: Story;
12
+ //# sourceMappingURL=list-row.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-row.stories.d.ts","sourceRoot":"","sources":["../../src/components/list-row.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAIjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAQ9B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,KAAK,EAAE,KAEnB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAWhC,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAYnB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAkB3B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAkBtB,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ export interface ListProps {
3
+ children?: ReactNode;
4
+ inset?: boolean;
5
+ header?: ReactNode;
6
+ stickyTop?: number;
7
+ className?: string;
8
+ style?: CSSProperties;
9
+ }
10
+ declare function ListBase({ children, inset, header, stickyTop, className, style }: ListProps): import("react/jsx-runtime").JSX.Element;
11
+ export interface ListSectionProps {
12
+ title?: ReactNode;
13
+ footer?: ReactNode;
14
+ children?: ReactNode;
15
+ sticky?: boolean;
16
+ innerRef?: (el: HTMLDivElement | null) => void;
17
+ stickyTop?: number;
18
+ className?: string;
19
+ style?: CSSProperties;
20
+ }
21
+ export declare function ListSection({ title, footer, children, sticky, innerRef, stickyTop, className, style }: ListSectionProps): import("react/jsx-runtime").JSX.Element;
22
+ export interface ListRowProps {
23
+ title?: ReactNode;
24
+ subtitle?: ReactNode;
25
+ leading?: ReactNode;
26
+ trailing?: ReactNode;
27
+ accessory?: 'chevron' | 'check';
28
+ checked?: boolean;
29
+ selected?: boolean;
30
+ /** When defined (true/false), the row is in edit mode and reserves/animates the checkmark gutter. */
31
+ edit?: boolean;
32
+ onPress?: () => void;
33
+ onDelete?: () => void;
34
+ divider?: boolean;
35
+ center?: boolean;
36
+ destructive?: boolean;
37
+ rowRole?: string;
38
+ /** Return true to ignore swipe starts near an edge (e.g. under a back-gesture zone). */
39
+ isEdge?: (clientX: number) => boolean;
40
+ className?: string;
41
+ style?: CSSProperties;
42
+ }
43
+ export declare function ListRow(p: ListRowProps): import("react/jsx-runtime").JSX.Element;
44
+ /** Compound list API: `List`, `List.Section`, `List.Row` (also exported flat as ListSection / ListRow). */
45
+ export declare const List: typeof ListBase & {
46
+ Section: typeof ListSection;
47
+ Row: typeof ListRow;
48
+ };
49
+ export {};
50
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/components/list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAAE,KAAK,SAAS,EACnC,MAAM,OAAO,CAAC;AAUf,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,iBAAS,QAAQ,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,SAAS,2CA2BpF;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,gBAAgB,2CAgBvH;AAID,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qGAAqG;IACrG,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wFAAwF;IACxF,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,OAAO,CAAC,CAAC,EAAE,YAAY,2CAiGtC;AAED,2GAA2G;AAC3G,eAAO,MAAM,IAAI;;;CAAkE,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { List } from './list';
3
+ declare const meta: Meta<typeof List>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof List>;
6
+ /** Flagship: plain sticky sections + wired IndexBar (scrub or click a letter to jump — with a haptic tick),
7
+ * sticky large-title search subheader, swipe-to-delete rows, Select → edit mode with EditBar,
8
+ * pull-to-refresh restores deleted rows. */
9
+ export declare const ContactsWithIndexBar: Story;
10
+ export declare const ContactsWithIndexBarDark: Story;
11
+ /** UITableView .insetGrouped: each letter section floats as a card; IndexBar still jumps. */
12
+ export declare const InsetGrouped: Story;
13
+ /** List `header` prop: the list measures its own header and keeps it sticky under whatever chrome is above,
14
+ * offsetting section headers below it. */
15
+ export declare const StickySearchHeader: Story;
16
+ /** Drag a row left: past 55% width commits (medium tick), release past 64px parks the Delete action. */
17
+ export declare const SwipeToDelete: Story;
18
+ /** Edit mode: rows animate open a check gutter; the EditBar drives bulk favorite / delete. */
19
+ export declare const EditModeWithEditBar: Story;
20
+ /** Empty state: no sections, centered "No results" message (search for anything to reproduce live). */
21
+ export declare const EmptyState: Story;
22
+ export declare const WithFooter: Story;
23
+ //# sourceMappingURL=list.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.stories.d.ts","sourceRoot":"","sources":["../../src/components/list.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAQ9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAG3B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAuInC;;6CAE6C;AAC7C,eAAO,MAAM,oBAAoB,EAAE,KAElC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAEtC,CAAC;AAEF,6FAA6F;AAC7F,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAC;AAEF;2CAC2C;AAC3C,eAAO,MAAM,kBAAkB,EAAE,KAuBhC,CAAC;AAEF,wGAAwG;AACxG,eAAO,MAAM,aAAa,EAAE,KAsB3B,CAAC;AAEF,8FAA8F;AAC9F,eAAO,MAAM,mBAAmB,EAAE,KA6BjC,CAAC;AAEF,uGAAuG;AACvG,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAkBxB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ /** Internal: reports its rendered height (used by Credenza's morphing body). */
3
+ export declare function MeasureH({ onH, children }: {
4
+ onH: (h: number) => void;
5
+ children?: ReactNode;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=measure-h.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"measure-h.d.ts","sourceRoot":"","sources":["../../src/components/measure-h.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhE,gFAAgF;AAChF,wBAAgB,QAAQ,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE;IAAE,GAAG,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,2CAW7F"}
@@ -0,0 +1,52 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ /** Screen descriptor consumed by NavigationStack. */
3
+ export interface Screen {
4
+ key: string;
5
+ title?: ReactNode;
6
+ largeTitle?: boolean;
7
+ grouped?: boolean;
8
+ content?: ReactNode;
9
+ leading?: ReactNode;
10
+ trailing?: ReactNode;
11
+ overlay?: ReactNode;
12
+ subheader?: ReactNode;
13
+ maxW?: number | string;
14
+ bottomInset?: number;
15
+ onRefresh?: () => void;
16
+ titleOnScroll?: boolean;
17
+ hideChromeOnScroll?: boolean;
18
+ }
19
+ interface NavHandle {
20
+ pop: () => void;
21
+ canPop: boolean;
22
+ }
23
+ type Reg = (key: string, part: {
24
+ el?: HTMLDivElement | null;
25
+ dim?: HTMLDivElement | null;
26
+ }) => void;
27
+ export interface ScreenWrapProps {
28
+ sc: Screen;
29
+ depth: number;
30
+ top: number;
31
+ ghost: boolean;
32
+ entering: boolean;
33
+ nav: NavHandle;
34
+ backTitle?: ReactNode | null;
35
+ reg: Reg;
36
+ defIns?: number;
37
+ z: number;
38
+ }
39
+ export declare function ScreenWrap({ sc, depth, top, ghost, entering, nav, backTitle, reg, defIns, z }: ScreenWrapProps): import("react/jsx-runtime").JSX.Element;
40
+ export interface NavigationStackProps {
41
+ screens: Screen[];
42
+ onPop?: () => void;
43
+ /** Default bottom inset applied to screens that don't set `bottomInset`. */
44
+ defIns?: number;
45
+ /** Safe-area top override for this stack (px). Usually inherited from TouchKitProvider instead. */
46
+ safeTop?: number | string;
47
+ className?: string;
48
+ style?: CSSProperties;
49
+ }
50
+ export declare function NavigationStack({ screens, onPop, defIns, safeTop, className, style }: NavigationStackProps): import("react/jsx-runtime").JSX.Element;
51
+ export {};
52
+ //# sourceMappingURL=navigation-stack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-stack.d.ts","sourceRoot":"","sources":["../../src/components/navigation-stack.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAAE,KAAK,SAAS,EACnC,MAAM,OAAO,CAAC;AAOf,qDAAqD;AACrD,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,UAAU,SAAS;IAAG,GAAG,EAAE,MAAM,IAAI,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE;AACxD,KAAK,GAAG,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE;IAAE,EAAE,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IAAC,GAAG,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;CAAE,KAAK,IAAI,CAAC;AAEpG,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,SAAS,CAAC;IACf,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,GAAG,EAAE,GAAG,CAAC;IACT,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,EAAE,MAAM,CAAC;CACX;AAED,wBAAgB,UAAU,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,eAAe,2CA8J9G;AA2BD,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,4EAA4E;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mGAAmG;IACnG,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,oBAAoB,2CA2G1G"}
@@ -0,0 +1,20 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { NavigationStack } from './navigation-stack';
3
+ declare const meta: Meta<typeof NavigationStack>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof NavigationStack>;
6
+ export declare const PushPop: Story;
7
+ export declare const WithPullToRefresh: Story;
8
+ export declare const WithSafeTop: Story;
9
+ /** `titleOnScroll`: the bar title only fades in once the content scrolls (detail-screen pattern),
10
+ * vs `largeTitle` where the big in-content title hands off to the bar. */
11
+ export declare const TitleOnScroll: Story;
12
+ /** Chrome hide-on-scroll: scroll down and the nav bar and TabBar ride away together (chromeStore);
13
+ * scroll up — or back near the top — and they return. Sticky headers follow the bar. */
14
+ export declare const ChromeHideOnScroll: Story;
15
+ /** `hideChromeOnScroll: false` keeps the bar pinned no matter how far you scroll. */
16
+ export declare const ChromeHideDisabled: Story;
17
+ /** Dynamic Island + chrome hide: the bar collapses to the safe-area strip and no further —
18
+ * the opaque under-island strip never goes away. */
19
+ export declare const ChromeHideWithSafeTop: Story;
20
+ //# sourceMappingURL=navigation-stack.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-stack.stories.d.ts","sourceRoot":"","sources":["../../src/components/navigation-stack.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,eAAe,EAAe,MAAM,oBAAoB,CAAC;AAIlE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CAItC,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,eAAe,CAAC,CAAC;AA6C9C,eAAO,MAAM,OAAO,EAAE,KAAkC,CAAC;AACzD,eAAO,MAAM,iBAAiB,EAAE,KAA8C,CAAC;AAC/E,eAAO,MAAM,WAAW,EAAE,KAA0C,CAAC;AAarE;2EAC2E;AAC3E,eAAO,MAAM,aAAa,EAAE,KAO3B,CAAC;AAEF;yFACyF;AACzF,eAAO,MAAM,kBAAkB,EAAE,KAgBhC,CAAC;AAEF,qFAAqF;AACrF,eAAO,MAAM,kBAAkB,EAAE,KAOhC,CAAC;AAEF;qDACqD;AACrD,eAAO,MAAM,qBAAqB,EAAE,KAOnC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ export interface PillButtonProps {
3
+ label: ReactNode;
4
+ onPress?: () => void;
5
+ tone?: 'tint' | 'soft';
6
+ className?: string;
7
+ style?: CSSProperties;
8
+ }
9
+ /** Full-width pill action button (prototype `PillBtn`). */
10
+ export declare function PillButton({ label, onPress, tone, className, style }: PillButtonProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=pill-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pill-button.d.ts","sourceRoot":"","sources":["../../src/components/pill-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAItD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,2DAA2D;AAC3D,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,eAAe,2CAQrF"}
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { PillButton } from './pill-button';
3
+ declare const meta: Meta<typeof PillButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof PillButton>;
6
+ export declare const Tint: Story;
7
+ export declare const Soft: Story;
8
+ export declare const Stack: Story;
9
+ //# sourceMappingURL=pill-button.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pill-button.stories.d.ts","sourceRoot":"","sources":["../../src/components/pill-button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAIjC,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,IAAI,EAAE,KAA6C,CAAC;AACjE,eAAO,MAAM,IAAI,EAAE,KAAoD,CAAC;AAExE,eAAO,MAAM,KAAK,EAAE,KAOnB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface QRSvgProps {
3
+ seed: string;
4
+ size?: number;
5
+ className?: string;
6
+ style?: CSSProperties;
7
+ }
8
+ /** Decorative deterministic QR-look SVG (not a scannable code). */
9
+ export declare function QRSvg({ seed, size, className, style }: QRSvgProps): import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=qr-svg.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qr-svg.d.ts","sourceRoot":"","sources":["../../src/components/qr-svg.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAa,MAAM,OAAO,CAAC;AAGtD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,mEAAmE;AACnE,wBAAgB,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,UAAU,2CAqBjE"}
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { QRSvg } from './qr-svg';
3
+ declare const meta: Meta<typeof QRSvg>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof QRSvg>;
6
+ /** Deterministic decorative QR-look SVG (seed-stable, not scannable). */
7
+ export declare const Default: Story;
8
+ export declare const Seeds: Story;
9
+ //# sourceMappingURL=qr-svg.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qr-svg.stories.d.ts","sourceRoot":"","sources":["../../src/components/qr-svg.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAI5B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,yEAAyE;AACzE,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface SearchFieldProps {
3
+ q: string;
4
+ setQ: (q: string) => void;
5
+ placeholder?: string;
6
+ 'aria-label'?: string;
7
+ className?: string;
8
+ style?: CSSProperties;
9
+ }
10
+ export declare function SearchField({ q, setQ, placeholder, className, style, ...rest }: SearchFieldProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=search-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-field.d.ts","sourceRoot":"","sources":["../../src/components/search-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,MAAM,WAAW,gBAAgB;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,WAAW,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,WAAsB,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,2CAkB3G"}
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { SearchField } from './search-field';
3
+ declare const meta: Meta<typeof SearchField>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof SearchField>;
6
+ export declare const Empty: Story;
7
+ export declare const WithQuery: Story;
8
+ //# sourceMappingURL=search-field.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-field.stories.d.ts","sourceRoot":"","sources":["../../src/components/search-field.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAIlC,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAO1C,eAAO,MAAM,KAAK,EAAE,KAAkC,CAAC;AACvD,eAAO,MAAM,SAAS,EAAE,KAAiD,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ export interface SegmentedOption {
3
+ id: string;
4
+ label: ReactNode;
5
+ }
6
+ export interface SegmentedProps {
7
+ options: SegmentedOption[];
8
+ value: string;
9
+ onChange: (id: string) => void;
10
+ 'aria-label'?: string;
11
+ className?: string;
12
+ style?: CSSProperties;
13
+ }
14
+ /** Segmented control — react-aria RadioGroup/Radio behavior, prototype-exact visuals. */
15
+ export declare function Segmented({ options, value, onChange, className, style, ...rest }: SegmentedProps): import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=segmented.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"segmented.d.ts","sourceRoot":"","sources":["../../src/components/segmented.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtD,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,yFAAyF;AACzF,wBAAgB,SAAS,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,2CAwBhG"}
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { Segmented } from './segmented';
3
+ declare const meta: Meta<typeof Segmented>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Segmented>;
6
+ export declare const TwoOptions: Story;
7
+ export declare const ThreeOptions: Story;
8
+ //# sourceMappingURL=segmented.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"segmented.stories.d.ts","sourceRoot":"","sources":["../../src/components/segmented.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAIhC,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAOxC,eAAO,MAAM,UAAU,EAAE,KAExB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ export interface SideDrawerProps {
3
+ mode: 'fixed' | 'overlay';
4
+ open: boolean;
5
+ onClose?: () => void;
6
+ title?: ReactNode;
7
+ width?: number;
8
+ children?: ReactNode;
9
+ className?: string;
10
+ style?: CSSProperties;
11
+ }
12
+ export declare function SideDrawer({ mode, open, onClose, title, width, children, className, style }: SideDrawerProps): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=side-drawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-drawer.d.ts","sourceRoot":"","sources":["../../src/components/side-drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQtD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,eAAe,2CAgC5G"}
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { SideDrawer } from './side-drawer';
3
+ declare const meta: Meta<typeof SideDrawer>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof SideDrawer>;
6
+ export declare const Fixed: Story;
7
+ export declare const Overlay: Story;
8
+ //# sourceMappingURL=side-drawer.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-drawer.stories.d.ts","sourceRoot":"","sources":["../../src/components/side-drawer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAGjC,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAazC,eAAO,MAAM,KAAK,EAAE,KAgBnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface SpinnerProps {
3
+ spin?: boolean;
4
+ size?: number;
5
+ className?: string;
6
+ style?: CSSProperties;
7
+ }
8
+ export declare function Spinner({ spin, size, className, style }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
9
+ //# sourceMappingURL=spinner.d.ts.map