conversion-ui-library 1.1.16 → 1.1.17
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/dist/components/Checkbox/Checkbox.stories.d.ts +38 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/components/Checkbox/CheckboxTable.d.ts +3 -0
- package/dist/components/Checkbox/CheckboxTable.d.ts.map +1 -0
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/label.d.ts +2 -2
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/index.cjs.js +50 -50
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +9543 -9263
- package/dist/index.umd.js +51 -51
- package/package.json +2 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Checkbox } from '../ui/checkbox';
|
|
3
|
+
declare const meta: Meta<typeof Checkbox>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Checkbox>;
|
|
6
|
+
/**
|
|
7
|
+
* Overview of all checkbox variants and states
|
|
8
|
+
*/
|
|
9
|
+
export declare function CheckboxDocs(): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
* Default checkbox with medium size
|
|
12
|
+
*/
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
/**
|
|
15
|
+
* Checkbox sizes: xs, sm, md
|
|
16
|
+
*/
|
|
17
|
+
export declare const Sizes: Story;
|
|
18
|
+
/**
|
|
19
|
+
* Checkbox states: unchecked, checked, indeterminate, disabled
|
|
20
|
+
*/
|
|
21
|
+
export declare const States: Story;
|
|
22
|
+
/**
|
|
23
|
+
* Interactive checkbox with state management
|
|
24
|
+
*/
|
|
25
|
+
export declare const Interactive: Story;
|
|
26
|
+
/**
|
|
27
|
+
* Checkbox group with "Select All" functionality
|
|
28
|
+
*/
|
|
29
|
+
export declare const CheckboxGroup: Story;
|
|
30
|
+
/**
|
|
31
|
+
* Form example with multiple checkboxes
|
|
32
|
+
*/
|
|
33
|
+
export declare const FormExample: Story;
|
|
34
|
+
/**
|
|
35
|
+
* All sizes in both checked and unchecked states
|
|
36
|
+
*/
|
|
37
|
+
export declare const SizeComparison: Story;
|
|
38
|
+
//# sourceMappingURL=Checkbox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAK1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAO/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEvC;;GAEG;AACH,wBAAgB,YAAY,4CAS3B;AAED;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAuBnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,KAgEpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAwBzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KA2D3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KA6HzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KA0D5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckboxTable.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/CheckboxTable.tsx"],"names":[],"mappings":"AAwJA,iBAAS,aAAa,4CAErB;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
3
|
+
type CheckboxSize = "xs" | "sm" | "md";
|
|
4
|
+
interface CheckboxProps extends React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> {
|
|
5
|
+
size?: CheckboxSize;
|
|
6
|
+
}
|
|
7
|
+
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
export { Checkbox };
|
|
9
|
+
export type { CheckboxProps, CheckboxSize };
|
|
10
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAI9D,KAAK,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEvC,UAAU,aACR,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC;IACrE,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAuBD,QAAA,MAAM,QAAQ,yFAuCZ,CAAC;AAIH,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -5,8 +5,8 @@ declare const labelVariants: (props?: ({
|
|
|
5
5
|
fontFamily?: "primary" | "secondary" | "mono" | null | undefined;
|
|
6
6
|
fontWeight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
8
|
-
export interface LabelProps extends React.
|
|
8
|
+
export interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>, VariantProps<typeof labelVariants> {
|
|
9
9
|
}
|
|
10
|
-
export declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<
|
|
10
|
+
export declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/ui/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,aAAa;;;;mFAyBjB,CAAC;AAEH,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/ui/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,aAAa;;;;mFAyBjB,CAAC;AAEH,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EACjD,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,eAAO,MAAM,KAAK,qFAajB,CAAC"}
|