karsten-design-system 1.2.72 → 1.2.74

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.
@@ -0,0 +1,16 @@
1
+ declare const variants: {
2
+ white: string;
3
+ secondary: string;
4
+ };
5
+ export type CheckboxProps = {
6
+ variant?: keyof typeof variants;
7
+ label?: string;
8
+ value?: string;
9
+ checked: boolean;
10
+ onChange: (checked: boolean) => void;
11
+ disabled?: boolean;
12
+ error?: boolean;
13
+ ariaLabel?: string;
14
+ };
15
+ export declare function Checkbox({ label, value, checked, onChange, disabled, error, variant, ariaLabel, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -8,6 +8,7 @@ export * from './stories/components/card';
8
8
  export * from './stories/components/cardButton';
9
9
  export * from './stories/components/cardIconsButton';
10
10
  export * from './stories/components/charts';
11
+ export * from './stories/components/checkbox';
11
12
  export * from './stories/components/divider';
12
13
  export * from './stories/components/emptyContent';
13
14
  export * from './stories/components/expandablePanel';
@@ -0,0 +1,16 @@
1
+ declare const variants: {
2
+ white: string;
3
+ secondary: string;
4
+ };
5
+ export type CheckboxProps = {
6
+ variant?: keyof typeof variants;
7
+ label?: string;
8
+ value?: string;
9
+ checked: boolean;
10
+ onChange: (checked: boolean) => void;
11
+ disabled?: boolean;
12
+ error?: boolean;
13
+ ariaLabel?: string;
14
+ };
15
+ export declare function Checkbox({ label, value, checked, onChange, disabled, error, variant, ariaLabel, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
16
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "karsten-design-system",
3
3
  "description": "Karsten Design System Components",
4
- "version": "1.2.72",
4
+ "version": "1.2.74",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",