@luminalityai/ui 0.6.0 → 0.8.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.
package/README.md CHANGED
@@ -12,12 +12,12 @@ npm install @luminalityai/ui
12
12
 
13
13
  ### Peer dependencies
14
14
 
15
- This package requires the following peer dependencies:
15
+ This package declares the following peer dependencies (you must supply them):
16
16
 
17
- - `react` ^19.0.0
18
- - `react-dom` ^19.0.0
19
- - `tailwindcss` ^4.0.0
20
- - `tw-animate-css` ^1.0.0
17
+ - `react` ^19
18
+ - `react-dom` ^19
19
+
20
+ Tailwind CSS v4 and `tailwindcss-animate` are bundled as regular dependencies (wired up in the package's stylesheet), so you do not need to install them yourself.
21
21
 
22
22
  ## Usage
23
23
 
@@ -33,6 +33,9 @@ Import the stylesheet in your CSS:
33
33
 
34
34
  ## Scripts
35
35
 
36
- - `npm run build` compile TypeScript to `dist/`
37
- - `npm run typecheck` — run TypeScript type checking
38
- - `npm run clean` — remove build artifacts
36
+ See the `scripts` block in [`package.json`](./package.json) for the authoritative list. The most common ones:
37
+
38
+ - `npm run build` — build the package to `dist/` with Vite (`vite build`; types emitted via `vite-plugin-dts`)
39
+ - `npm run check` — type-check without emitting (`tsc --noEmit`)
40
+ - `npm run lint` — run ESLint
41
+ - `npm test` — run the Vitest unit suite
@@ -4,6 +4,8 @@ declare const meta: Meta<typeof Button>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Button>;
6
6
  export declare const Default: Story;
7
+ export declare const Clickable: Story;
8
+ export declare const DisabledDoesNotClick: Story;
7
9
  export declare const Variants: Story;
8
10
  export declare const Sizes: Story;
9
11
  export declare const Disabled: Story;
@@ -1 +1 @@
1
- {"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../src/components/button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CA0B7B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA;AAEpC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAgBtB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAQnB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAA"}
1
+ {"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../src/components/button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CA0B7B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA;AAEpC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAYvB,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAelC,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAgBtB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAQnB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAA"}
@@ -5,5 +5,6 @@ export default meta;
5
5
  type Story = StoryObj<typeof Checkbox>;
6
6
  export declare const Default: Story;
7
7
  export declare const Checked: Story;
8
+ export declare const Toggles: Story;
8
9
  export declare const Disabled: Story;
9
10
  //# sourceMappingURL=checkbox.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.stories.d.ts","sourceRoot":"","sources":["../../src/components/checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAG/B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAA;AAEtC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAA"}
1
+ {"version":3,"file":"checkbox.stories.d.ts","sourceRoot":"","sources":["../../src/components/checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAG/B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAA;AAEtC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAA"}
@@ -4,5 +4,6 @@ declare const meta: Meta<typeof Dialog>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Dialog>;
6
6
  export declare const Default: Story;
7
+ export declare const OpensAndCloses: Story;
7
8
  export declare const Open: Story;
8
9
  //# sourceMappingURL=dialog.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.stories.d.ts","sourceRoot":"","sources":["../../src/components/dialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EACL,MAAM,EAQP,MAAM,UAAU,CAAA;AAGjB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAG7B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA;AAEpC,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAyBlB,CAAA"}
1
+ {"version":3,"file":"dialog.stories.d.ts","sourceRoot":"","sources":["../../src/components/dialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,EACL,MAAM,EAQP,MAAM,UAAU,CAAA;AAGjB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAG7B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA;AAEpC,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KA+C5B,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAyBlB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-menu.stories.d.ts","sourceRoot":"","sources":["../../src/components/dropdown-menu.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EACL,YAAY,EAOb,MAAM,iBAAiB,CAAA;AAGxB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAGnC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAA;AAE1C,eAAO,MAAM,OAAO,EAAE,KAsBrB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAsBlB,CAAA"}
1
+ {"version":3,"file":"dropdown-menu.stories.d.ts","sourceRoot":"","sources":["../../src/components/dropdown-menu.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,EACL,YAAY,EAOb,MAAM,iBAAiB,CAAA;AAGxB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAGnC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAA;AAE1C,eAAO,MAAM,OAAO,EAAE,KAsBrB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAkDlB,CAAA"}
@@ -4,4 +4,5 @@ declare const meta: Meta<typeof Tabs>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Tabs>;
6
6
  export declare const Default: Story;
7
+ export declare const SwitchesTabs: Story;
7
8
  //# sourceMappingURL=tabs.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.stories.d.ts","sourceRoot":"","sources":["../../src/components/tabs.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,IAAI,EAAsC,MAAM,QAAQ,CAAA;AAEjE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAG3B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAA"}
1
+ {"version":3,"file":"tabs.stories.d.ts","sourceRoot":"","sources":["../../src/components/tabs.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,EAAE,IAAI,EAAsC,MAAM,QAAQ,CAAA;AAEjE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAG3B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KA8C1B,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj;
5
+ export declare const CurrentVsProposed: Story;
6
+ //# sourceMappingURL=palette-comparison.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"palette-comparison.stories.d.ts","sourceRoot":"","sources":["../../src/foundations/palette-comparison.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AA4Q3D,QAAA,MAAM,IAAI,EAAE,IAQX,CAAA;AACD,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAA;AAErB,eAAO,MAAM,iBAAiB,EAAE,KAkC/B,CAAA"}