cecomponent 2.0.9 → 2.0.11

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 (39) hide show
  1. package/README.md +12 -0
  2. package/dist/ce-component-lib.css +1 -1
  3. package/dist/ce-component-lib.js +173 -156
  4. package/dist/ce-component-lib.mjs +24616 -26168
  5. package/dist/components/Common/Box/CeBox.stories.d.ts +19 -0
  6. package/dist/components/Common/Breadcrumb/CEBreadcrumbs.stories.d.ts +21 -0
  7. package/dist/components/Common/Button/CEButton.d.ts +3 -3
  8. package/dist/components/Common/Button/CEButton.stories.d.ts +15 -0
  9. package/dist/components/Common/CECharts/CEStackedLineChart.d.ts +3 -0
  10. package/dist/components/Common/CEFaqExpander/CEFaqExpander.stories.d.ts +22 -0
  11. package/dist/components/Common/CEFieldComponet/DynamicTextField/DynamicTextField.d.ts +12 -0
  12. package/dist/components/Common/CEFieldComponet/DynamicTextField/DynamicTextField.stories.d.ts +6 -0
  13. package/dist/components/Common/CEFileUpload/CEUploadPopUp.stories.d.ts +12 -0
  14. package/dist/components/Common/CEModalPopUp/CEModalPopUp.stories.d.ts +28 -0
  15. package/dist/components/Common/CEStepper/CEStepper.stories.d.ts +18 -0
  16. package/dist/components/Common/CEToggleGroup/CEToggleYesNo.stories.d.ts +20 -0
  17. package/dist/components/Common/CEToggleSlider/CEToggleSlide.stories.d.ts +15 -0
  18. package/dist/components/Common/CheckBox/CECheckBox.d.ts +1 -1
  19. package/dist/components/Common/CheckBox/CECheckBox.stories.d.ts +15 -0
  20. package/dist/components/Common/ChipInput/CEChipInput.d.ts +1 -1
  21. package/dist/components/Common/ChipInput/CEChipInput.stories.d.ts +14 -0
  22. package/dist/components/Common/DataGrid/CEDataGridDynamicsTable.d.ts +0 -4
  23. package/dist/components/Common/DataGrid/CEDataTable.stories.d.ts +19 -0
  24. package/dist/components/Common/Footer/CEFooter.stories.d.ts +14 -0
  25. package/dist/components/Common/InputBox/CEInputTextBox.d.ts +1 -1
  26. package/dist/components/Common/InputBox/CEInputTextBox.stories.d.ts +30 -0
  27. package/dist/components/Common/LinearProgressBar/LinearBar.stories.d.ts +24 -0
  28. package/dist/components/Common/Login/CELogin.stories.d.ts +12 -0
  29. package/dist/components/Common/RadioButton/CERadioButton.d.ts +1 -1
  30. package/dist/components/Common/RadioButton/CERadioButton.stories.d.ts +14 -0
  31. package/dist/components/Common/TabView/CETabView.d.ts +12 -2
  32. package/dist/components/Common/TabView/CETabView.stories.d.ts +13 -0
  33. package/dist/stories/Button.d.ts +14 -0
  34. package/dist/stories/Button.stories.d.ts +23 -0
  35. package/dist/stories/Header.d.ts +11 -0
  36. package/dist/stories/Header.stories.d.ts +18 -0
  37. package/dist/stories/Page.d.ts +2 -0
  38. package/dist/stories/Page.stories.d.ts +12 -0
  39. package/package.json +15 -2
@@ -0,0 +1,19 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').ForwardRefExoticComponent<import('./CeBox').BoxProps & import('react').RefAttributes<HTMLElement>>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
13
+ export declare const WithCustomStyling: Story;
14
+ export declare const AsButton: Story;
15
+ export declare const AsSection: Story;
16
+ export declare const CardStyle: Story;
17
+ export declare const WithIdAndName: Story;
18
+ export declare const FlexContainer: Story;
19
+ export declare const GridContainer: Story;
@@ -0,0 +1,21 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<{
5
+ items: import('./CEBreadcrumbs').BreadcrumbItem[];
6
+ maxVisible?: number;
7
+ onItemClick?: (index: number) => void;
8
+ }>;
9
+ parameters: {
10
+ layout: string;
11
+ };
12
+ tags: string[];
13
+ };
14
+ export default meta;
15
+ type Story = StoryObj<typeof meta>;
16
+ export declare const Default: Story;
17
+ export declare const Simple: Story;
18
+ export declare const WithClickHandlers: Story;
19
+ export declare const LongPath: Story;
20
+ export declare const CustomMaxVisible: Story;
21
+ export declare const FileExplorer: Story;
@@ -1,11 +1,11 @@
1
1
  import { default as React } from 'react';
2
2
  import { Size } from '../Tokens/CESizes';
3
- type ButtonVariant = "primary" | "secondary" | "text" | "neutral" | "outlined" | "outlinedGreen" | "disabled" | "underline";
4
- interface CEButtonProps {
3
+ export type ButtonVariant = "primary" | "secondary" | "text" | "neutral" | "outlined" | "outlinedGreen" | "disabled" | "underline";
4
+ export interface CEButtonProps {
5
5
  label?: string;
6
6
  variant?: ButtonVariant;
7
7
  size?: Size;
8
- onClick: () => void;
8
+ onClick?: () => void;
9
9
  children?: React.ReactNode;
10
10
  className?: string;
11
11
  sx?: React.CSSProperties;
@@ -0,0 +1,15 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<import('./CEButton').CEButtonProps>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Primary: Story;
13
+ export declare const Secondary: Story;
14
+ export declare const Outlined: Story;
15
+ export declare const Disabled: Story;
@@ -2,6 +2,8 @@ export declare const LINE_OF_BUSINESS_COLORS: Record<string, string>;
2
2
  export interface CEStackedBarLineChartConfig {
3
3
  unit?: string;
4
4
  currencySymbol?: string;
5
+ key?: string;
6
+ type?: string;
5
7
  showDecimals?: boolean;
6
8
  linekey: string;
7
9
  lineName?: string;
@@ -20,6 +22,7 @@ export interface CEStackedBarLineChartConfig {
20
22
  rightAxisColor?: string;
21
23
  rightAxisFontSize?: number;
22
24
  incrementValue?: number;
25
+ stackTotalLabel?: string;
23
26
  }
24
27
  interface CEStackedBarLineChartProps {
25
28
  chartData: any;
@@ -0,0 +1,22 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<import('./CEFaqExpander').CEFaqExpanderProps>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
13
+ export declare const WithSubtitle: Story;
14
+ export declare const WithItemCount: Story;
15
+ export declare const AllowMultiple: Story;
16
+ export declare const DefaultOpenItem: Story;
17
+ export declare const SmallSize: Story;
18
+ export declare const LargeSize: Story;
19
+ export declare const LimitedItems: Story;
20
+ export declare const CustomMaxWidth: Story;
21
+ export declare const DarkTheme: Story;
22
+ export declare const RichContent: Story;
@@ -16,6 +16,18 @@ export interface CETextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElem
16
16
  width?: number | string;
17
17
  /** 🔥 NEW – zero-risk UI switch */
18
18
  labelPosition?: "floating" | "top";
19
+ /** Optional leading/trailing icon */
20
+ iconType?: "search" | "user" | "email" | "phone" | "lock" | "info" | "warning" | "custom";
21
+ /** Icon path for custom SVG (used when iconType = "custom") */
22
+ iconPath?: string;
23
+ /** Icon color (defaults to #6b7280) */
24
+ iconColor?: string;
25
+ /** Icon size in pixels (defaults to 18) */
26
+ iconSize?: number;
27
+ /** Icon alignment inside the field (defaults to left) */
28
+ iconAlignment?: "left" | "right";
29
+ /** Custom icon node when iconType = "custom" */
30
+ icon?: React.ReactNode;
19
31
  validationType?: "number" | "alphanumeric" | "alpha" | "alphanumericWithSpecial" | "alphaWithoutSpecial";
20
32
  }
21
33
  declare const CEDynamicTextField: React.ForwardRefExoticComponent<CETextFieldProps & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { default as CEDynamicTextField } from './DynamicTextField';
3
+ declare const meta: Meta<typeof CEDynamicTextField>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof CEDynamicTextField>;
6
+ export declare const Default: Story;
@@ -0,0 +1,12 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<{}>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
@@ -0,0 +1,28 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<{
5
+ isOpen: boolean;
6
+ onClose: () => void;
7
+ title?: string;
8
+ children?: React.ReactNode;
9
+ primaryButtonText?: string;
10
+ secondaryButtonText?: string;
11
+ onPrimaryClick?: () => void;
12
+ onSecondaryClick?: () => void;
13
+ width?: number | string;
14
+ height?: number | string;
15
+ style?: React.CSSProperties;
16
+ }>;
17
+ parameters: {
18
+ layout: string;
19
+ };
20
+ tags: string[];
21
+ };
22
+ export default meta;
23
+ type Story = StoryObj<typeof meta>;
24
+ export declare const Default: Story;
25
+ export declare const SimpleModal: Story;
26
+ export declare const WithPrimaryButton: Story;
27
+ export declare const CustomSize: Story;
28
+ export declare const FormModal: Story;
@@ -0,0 +1,18 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { CEStepperProps } from './CEStepper';
3
+ declare const meta: {
4
+ title: string;
5
+ component: import('react').FC<CEStepperProps>;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ tags: string[];
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
14
+ export declare const WithErrors: Story;
15
+ export declare const SmallSize: Story;
16
+ export declare const LargeSize: Story;
17
+ export declare const ThreeSteps: Story;
18
+ export declare const AllCompleted: Story;
@@ -0,0 +1,20 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<{
5
+ value: string | null;
6
+ onChange: (val: string) => void;
7
+ label?: string;
8
+ }>;
9
+ parameters: {
10
+ layout: string;
11
+ };
12
+ tags: string[];
13
+ };
14
+ export default meta;
15
+ type Story = StoryObj<typeof meta>;
16
+ export declare const Default: Story;
17
+ export declare const WithLabel: Story;
18
+ export declare const PreSelectedYes: Story;
19
+ export declare const PreSelectedNo: Story;
20
+ export declare const MultipleQuestions: Story;
@@ -0,0 +1,15 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<import('./CEToggleSlide').ToggleProps>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
13
+ export declare const WithLabel: Story;
14
+ export declare const CheckedByDefault: Story;
15
+ export declare const MultipleToggles: Story;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- interface CheckBoxProps {
2
+ export interface CheckBoxProps {
3
3
  label: string;
4
4
  checked: boolean;
5
5
  onChange: (checked: boolean) => void;
@@ -0,0 +1,15 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<import('./CECheckBox').CheckBoxProps>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
13
+ export declare const Checked: Story;
14
+ export declare const Disabled: Story;
15
+ export declare const DisabledChecked: Story;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- interface ChipInputProps {
2
+ export interface ChipInputProps {
3
3
  placeholder?: string;
4
4
  onChange?: (chips: string[]) => void;
5
5
  }
@@ -0,0 +1,14 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<import('./CEChipInput').ChipInputProps>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
13
+ export declare const WithCustomPlaceholder: Story;
14
+ export declare const EmailChips: Story;
@@ -93,10 +93,6 @@ interface CEDataGridDynamicTableProps {
93
93
  rowsSelected?: Set<number>;
94
94
  /** Called when the current page changes; receives the new page index (0-based) */
95
95
  onPageChange?: (page: number) => void;
96
- /** Column name to check for disabled row values */
97
- disabledRowColumn?: string;
98
- /** Array of values in disabledRowColumn that should mark rows as disabled */
99
- disabledRowValues?: string[];
100
96
  }
101
97
  declare const CEDataGridDynamicTable: React.FC<CEDataGridDynamicTableProps>;
102
98
  export default CEDataGridDynamicTable;
@@ -0,0 +1,19 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { default as CETable } from './CEDataTable';
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof CETable;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ tags: string[];
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
14
+ export declare const WithoutHeader: Story;
15
+ export declare const WithoutFooter: Story;
16
+ export declare const MinimalTable: Story;
17
+ export declare const CustomTitle: Story;
18
+ export declare const WithDisabledRows: Story;
19
+ export declare const SmallDataset: Story;
@@ -0,0 +1,14 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<{}>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
13
+ export declare const WithContent: Story;
14
+ export declare const ShortContent: Story;
@@ -1,7 +1,7 @@
1
1
  import { default as React, FocusEvent } from 'react';
2
2
  import { Size } from '../Tokens/CESizes';
3
3
  type InputType = "text" | "number" | "alphanumeric" | "password" | "email" | "textarea";
4
- interface ValidatedInputProps {
4
+ export interface ValidatedInputProps {
5
5
  value: string | number;
6
6
  onChange: (value: string | number) => void;
7
7
  id?: string;
@@ -0,0 +1,30 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<import('./CEInputTextBox').ValidatedInputProps>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ argTypes: {
10
+ type: {
11
+ control: "select";
12
+ options: string[];
13
+ };
14
+ size: {
15
+ control: "select";
16
+ options: string[];
17
+ };
18
+ };
19
+ };
20
+ export default meta;
21
+ type Story = StoryObj<typeof meta>;
22
+ export declare const Default: Story;
23
+ export declare const WithLabel: Story;
24
+ export declare const Required: Story;
25
+ export declare const Password: Story;
26
+ export declare const NumberInput: Story;
27
+ export declare const Textarea: Story;
28
+ export declare const Small: Story;
29
+ export declare const Large: Story;
30
+ export declare const Disabled: Story;
@@ -0,0 +1,24 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<{
5
+ duration: number;
6
+ color?: string;
7
+ backgroundColor?: string;
8
+ height?: string;
9
+ isActive?: boolean;
10
+ }>;
11
+ parameters: {
12
+ layout: string;
13
+ };
14
+ tags: string[];
15
+ };
16
+ export default meta;
17
+ type Story = StoryObj<typeof meta>;
18
+ export declare const Default: Story;
19
+ export declare const Fast: Story;
20
+ export declare const Slow: Story;
21
+ export declare const Thin: Story;
22
+ export declare const Thick: Story;
23
+ export declare const RedProgress: Story;
24
+ export declare const AutoStart: Story;
@@ -0,0 +1,12 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<{}>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- interface RadioButtonProps {
2
+ export interface RadioButtonProps {
3
3
  label?: string;
4
4
  value: string;
5
5
  checked: boolean;
@@ -0,0 +1,14 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<import('./CERadioButton').RadioButtonProps>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
13
+ export declare const Checked: Story;
14
+ export declare const RadioGroup: Story;
@@ -1,7 +1,17 @@
1
1
  import { default as React } from 'react';
2
- interface TabProps {
3
- tabs: string[];
2
+ type TabItem = {
3
+ key: string;
4
+ label: string;
5
+ icon?: React.ReactNode;
6
+ badgeCount?: number;
7
+ };
8
+ type TabInput = string | (Partial<Omit<TabItem, "key">> & {
9
+ key?: string;
10
+ });
11
+ export interface TabProps {
12
+ tabs: TabInput[];
4
13
  renderContent: (selectedTab: string) => React.ReactNode;
14
+ variant?: "sidebar" | "top";
5
15
  }
6
16
  declare const CETabView: React.FC<TabProps>;
7
17
  export default CETabView;
@@ -0,0 +1,13 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<import('./CETabView').TabProps>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const TopVariant: Story;
13
+ export declare const SidebarVariant: Story;
@@ -0,0 +1,14 @@
1
+ export interface ButtonProps {
2
+ /** Is this the principal call to action on the page? */
3
+ primary?: boolean;
4
+ /** What background color to use */
5
+ backgroundColor?: string;
6
+ /** How large should the button be? */
7
+ size?: 'small' | 'medium' | 'large';
8
+ /** Button contents */
9
+ label: string;
10
+ /** Optional click handler */
11
+ onClick?: () => void;
12
+ }
13
+ /** Primary UI component for user interaction */
14
+ export declare const Button: ({ primary, size, backgroundColor, label, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,23 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ primary, size, backgroundColor, label, ...props }: import('./Button').ButtonProps) => import("react/jsx-runtime").JSX.Element;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ argTypes: {
10
+ backgroundColor: {
11
+ control: "color";
12
+ };
13
+ };
14
+ args: {
15
+ onClick: import('@vitest/spy').Mock<(...args: any[]) => any>;
16
+ };
17
+ };
18
+ export default meta;
19
+ type Story = StoryObj<typeof meta>;
20
+ export declare const Primary: Story;
21
+ export declare const Secondary: Story;
22
+ export declare const Large: Story;
23
+ export declare const Small: Story;
@@ -0,0 +1,11 @@
1
+ type User = {
2
+ name: string;
3
+ };
4
+ export interface HeaderProps {
5
+ user?: User;
6
+ onLogin?: () => void;
7
+ onLogout?: () => void;
8
+ onCreateAccount?: () => void;
9
+ }
10
+ export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,18 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ user, onLogin, onLogout, onCreateAccount }: import('./Header').HeaderProps) => import("react/jsx-runtime").JSX.Element;
5
+ tags: string[];
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ args: {
10
+ onLogin: import('@vitest/spy').Mock<(...args: any[]) => any>;
11
+ onLogout: import('@vitest/spy').Mock<(...args: any[]) => any>;
12
+ onCreateAccount: import('@vitest/spy').Mock<(...args: any[]) => any>;
13
+ };
14
+ };
15
+ export default meta;
16
+ type Story = StoryObj<typeof meta>;
17
+ export declare const LoggedIn: Story;
18
+ export declare const LoggedOut: Story;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Page: React.FC;
@@ -0,0 +1,12 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').FC<{}>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ };
9
+ export default meta;
10
+ type Story = StoryObj<typeof meta>;
11
+ export declare const LoggedOut: Story;
12
+ export declare const LoggedIn: Story;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cecomponent",
3
3
  "description": "A React component library for building modern UIs for Cleanearth",
4
- "version": "2.0.9",
4
+ "version": "2.0.11",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/idex.d.ts",
@@ -10,6 +10,7 @@
10
10
  "build": "vite build",
11
11
  "lint": "eslint .",
12
12
  "preview": "vite preview",
13
+ "docs:generate": "node tools/generate-docs.js",
13
14
  "storybook": "storybook dev -p 6006",
14
15
  "build-storybook": "storybook build"
15
16
  },
@@ -53,6 +54,18 @@
53
54
  "typescript": "~5.6.2",
54
55
  "typescript-eslint": "^8.18.2",
55
56
  "vite": "^6.0.5",
56
- "vite-plugin-dts": "^4.5.4"
57
+ "vite-plugin-dts": "^4.5.4",
58
+ "storybook": "^10.2.0",
59
+ "@storybook/react-vite": "^10.2.0",
60
+ "@chromatic-com/storybook": "^5.0.0",
61
+ "@storybook/addon-vitest": "^10.2.0",
62
+ "@storybook/addon-a11y": "^10.2.0",
63
+ "@storybook/addon-docs": "^10.2.0",
64
+ "@storybook/addon-onboarding": "^10.2.0",
65
+ "eslint-plugin-storybook": "^10.2.0",
66
+ "vitest": "^4.0.17",
67
+ "playwright": "^1.57.0",
68
+ "@vitest/browser-playwright": "^4.0.17",
69
+ "@vitest/coverage-v8": "^4.0.17"
57
70
  }
58
71
  }