@telia/teddy 0.7.53 → 0.7.55
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/accordion/accordion-root.d.ts +1 -1
- package/dist/components/accordion/accordion-trigger.d.ts +1 -1
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/avatar/avatar-root.d.ts +4 -4
- package/dist/components/avatar/index.d.ts +4 -4
- package/dist/components/badge/badge.d.ts +2 -2
- package/dist/components/breadcrumbs/breadcrumbs-link.d.ts +5 -5
- package/dist/components/breadcrumbs/breadcrumbs-root.d.ts +1 -1
- package/dist/components/breadcrumbs/index.d.ts +6 -6
- package/dist/components/button/button.cjs +27 -27
- package/dist/components/button/button.js +27 -27
- package/dist/components/card/card-availability.d.ts +1 -1
- package/dist/components/card/card-illustration.d.ts +2 -2
- package/dist/components/card/card-link.d.ts +4 -4
- package/dist/components/card/card.cjs +52 -52
- package/dist/components/card/card.d.ts +2 -2
- package/dist/components/card/card.js +52 -52
- package/dist/components/card/index.d.ts +2 -2
- package/dist/components/carousel/carousel-root.cjs +4 -4
- package/dist/components/carousel/carousel-root.js +4 -4
- package/dist/components/channel-button/channel-button-root.d.ts +18 -18
- package/dist/components/channel-button/index.d.ts +2 -28
- package/dist/components/checkbox/checkbox-group-item.d.ts +1 -1
- package/dist/components/checkbox/checkbox-group-label.d.ts +2 -2
- package/dist/components/checkbox/checkbox-group-list.d.ts +15 -15
- package/dist/components/checkbox/checkbox-group.d.ts +20 -20
- package/dist/components/checkbox/checkbox-root.d.ts +1 -1
- package/dist/components/checkbox/index.d.ts +40 -40
- package/dist/components/checkbox-card-group/checkbox-card-group-indicator.cjs +32 -32
- package/dist/components/checkbox-card-group/checkbox-card-group-indicator.d.ts +3 -3
- package/dist/components/checkbox-card-group/checkbox-card-group-indicator.js +32 -32
- package/dist/components/checkbox-card-group/checkbox-card-group-item-title.d.ts +4 -4
- package/dist/components/checkbox-card-group/checkbox-card-group-item.d.ts +5 -5
- package/dist/components/checkbox-card-group/checkbox-card-group-label.d.ts +20 -20
- package/dist/components/checkbox-card-group/checkbox-card-group-root.d.ts +7 -7
- package/dist/components/checkbox-card-group/index.d.ts +39 -39
- package/dist/components/chip/chip-indicator.d.ts +3 -3
- package/dist/components/chip/chip.cjs +3 -3
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/chip/index.d.ts +4 -4
- package/dist/components/collapsible/index.d.ts +2 -2
- package/dist/components/color-dot/color-dot-root.d.ts +3 -3
- package/dist/components/color-dot/index.d.ts +4 -4
- package/dist/components/dashboard-card/dashboard-card-avatar.d.ts +4 -4
- package/dist/components/dashboard-card/dashboard-card-root.cjs +15 -15
- package/dist/components/dashboard-card/dashboard-card-root.d.ts +5 -5
- package/dist/components/dashboard-card/dashboard-card-root.js +15 -15
- package/dist/components/dashboard-card/index.d.ts +2 -7
- package/dist/components/dashed-button/dashed-button-root.d.ts +38 -38
- package/dist/components/date-picker/css.cjs +38 -38
- package/dist/components/date-picker/css.js +38 -38
- package/dist/components/drawer/drawer-close.cjs +1 -1
- package/dist/components/drawer/drawer-close.js +1 -1
- package/dist/components/drawer/drawer-content.cjs +1 -1
- package/dist/components/drawer/drawer-content.js +1 -1
- package/dist/components/drawer/drawer-description.cjs +1 -1
- package/dist/components/drawer/drawer-description.js +1 -1
- package/dist/components/drawer/drawer-footer.cjs +1 -1
- package/dist/components/drawer/drawer-footer.js +1 -1
- package/dist/components/drawer/drawer-overlay.cjs +1 -1
- package/dist/components/drawer/drawer-overlay.d.ts +1 -1
- package/dist/components/drawer/drawer-overlay.js +1 -1
- package/dist/components/drawer/drawer-title.cjs +1 -1
- package/dist/components/drawer/drawer-title.js +1 -1
- package/dist/components/expandable-card/expandable-card-button.d.ts +18 -18
- package/dist/components/expandable-card/index.d.ts +20 -18
- package/dist/components/flip-card/flip-card-root.d.ts +4 -4
- package/dist/components/flip-card/flip-card-trigger.d.ts +17 -17
- package/dist/components/flip-card/index.d.ts +2 -7
- package/dist/components/icon/utils.d.ts +3 -1
- package/dist/components/input/index.d.ts +7 -7
- package/dist/components/input/input-group.d.ts +2 -2
- package/dist/components/input/input-indicator.d.ts +2 -2
- package/dist/components/input/input.d.ts +3 -3
- package/dist/components/label/label.d.ts +2 -2
- package/dist/components/link/link.d.ts +4 -4
- package/dist/components/list/index.d.ts +19 -19
- package/dist/components/list/list-illustration.d.ts +1 -1
- package/dist/components/list/list.d.ts +18 -18
- package/dist/components/meter-bar/index.d.ts +2 -2
- package/dist/components/meter-bar/meter-bar-indicator.d.ts +2 -2
- package/dist/components/modal/index.d.ts +2 -2
- package/dist/components/modal/modal-content.d.ts +1 -1
- package/dist/components/modal/modal-image.d.ts +1 -1
- package/dist/components/modal/modal-overlay.d.ts +1 -1
- package/dist/components/modal/modal-title.d.ts +8 -8
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.d.ts +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.d.ts +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.d.ts +3 -3
- package/dist/components/navigation-menu/navigation-menu.d.ts +11 -11
- package/dist/components/notabene/index.d.ts +2 -2
- package/dist/components/notabene/notabene-icon.d.ts +3 -3
- package/dist/components/notification/index.d.ts +2 -81
- package/dist/components/notification/notification-icon.d.ts +3 -3
- package/dist/components/notification/notification-root.d.ts +41 -41
- package/dist/components/pagination/index.d.ts +2 -4
- package/dist/components/pagination/pagination-button.d.ts +5 -5
- package/dist/components/pagination/pagination-root.d.ts +1 -1
- package/dist/components/progress-bar/progress-bar.d.ts +1 -1
- package/dist/components/radio-card-group/index.d.ts +32 -32
- package/dist/components/radio-card-group/radio-card-group-item-title.d.ts +1 -1
- package/dist/components/radio-card-group/radio-card-group-item.d.ts +2 -2
- package/dist/components/radio-card-group/radio-card-group-label.d.ts +20 -20
- package/dist/components/radio-card-group/radio-card-group-root.d.ts +9 -9
- package/dist/components/radio-group/index.d.ts +33 -33
- package/dist/components/radio-group/radio-group-item-label.d.ts +3 -3
- package/dist/components/radio-group/radio-group-item.d.ts +1 -1
- package/dist/components/radio-group/radio-group-label.d.ts +20 -20
- package/dist/components/radio-group/radio-group-root.d.ts +9 -9
- package/dist/components/radio-group/radio-group-trigger.d.ts +1 -1
- package/dist/components/ribbon/ribbon-root.d.ts +2 -2
- package/dist/components/scroll-area/index.d.ts +25 -25
- package/dist/components/scroll-area/scroll-area-button.d.ts +18 -18
- package/dist/components/scroll-area/scroll-area-item.d.ts +4 -4
- package/dist/components/scroll-area/scroll-area-root.d.ts +3 -3
- package/dist/components/select/index.d.ts +16 -16
- package/dist/components/select/select-group.d.ts +2 -2
- package/dist/components/select/select-root.d.ts +11 -11
- package/dist/components/select/select-trigger.d.ts +2 -2
- package/dist/components/select/select-value.d.ts +1 -1
- package/dist/components/shopping-cart/shopping-cart-context.d.ts +0 -1
- package/dist/components/shopping-cart/shopping-cart-continue.d.ts +0 -1
- package/dist/components/spinner/spinner.d.ts +2 -2
- package/dist/components/step-by-step/index.d.ts +7 -7
- package/dist/components/step-by-step/step-by-step-root.d.ts +6 -6
- package/dist/components/step-by-step/step-by-step-step.d.ts +1 -1
- package/dist/components/step-indicator/index.d.ts +9 -9
- package/dist/components/step-indicator/step-indicator-root.d.ts +8 -8
- package/dist/components/step-indicator/step-indicator-step-element.d.ts +0 -1
- package/dist/components/table/index.d.ts +2 -5
- package/dist/components/table/table-cell.d.ts +5 -5
- package/dist/components/table/table-head.d.ts +6 -6
- package/dist/components/table/table-root.cjs +20 -20
- package/dist/components/table/table-root.d.ts +2 -2
- package/dist/components/table/table-root.js +20 -20
- package/dist/components/tabs/index.d.ts +2 -9
- package/dist/components/tabs/tabs-content.d.ts +1 -1
- package/dist/components/tabs/tabs-list.d.ts +1 -1
- package/dist/components/tabs/tabs-root.cjs +5 -5
- package/dist/components/tabs/tabs-root.d.ts +6 -6
- package/dist/components/tabs/tabs-root.js +5 -5
- package/dist/components/tabs/tabs-scroll-button.d.ts +18 -18
- package/dist/components/tabs/tabs-scroll.d.ts +3 -3
- package/dist/components/tabs/tabs-trigger.d.ts +2 -2
- package/dist/components/text-field/index.d.ts +25 -25
- package/dist/components/text-field/text-field-button.d.ts +17 -17
- package/dist/components/text-field/text-field-error-list.d.ts +1 -1
- package/dist/components/text-field/text-field-input-group.d.ts +2 -2
- package/dist/components/text-field/text-field-label.d.ts +2 -2
- package/dist/components/text-field/text-field.d.ts +3 -3
- package/dist/components/text-spacing/text-spacing.d.ts +1 -1
- package/dist/components/textarea/index.d.ts +9 -9
- package/dist/components/textarea/textarea-group.d.ts +2 -2
- package/dist/components/textarea/textarea-indicator.d.ts +2 -2
- package/dist/components/textarea/textarea.d.ts +5 -5
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toast/toast-root.cjs +75 -75
- package/dist/components/toast/toast-root.js +75 -75
- package/dist/components/toggle/toggle.cjs +4 -4
- package/dist/components/toggle/toggle.d.ts +4 -4
- package/dist/components/toggle/toggle.js +4 -4
- package/dist/components/toggletip/index.d.ts +1 -1
- package/dist/components/toggletip/toggletip-root.d.ts +3 -3
- package/dist/components/tooltip/index.d.ts +15 -17
- package/dist/components/tooltip/tooltip-content.d.ts +15 -15
- package/dist/components/tooltip/tooltip-root.d.ts +1 -1
- package/dist/components/top-row-buttons/top-row-buttons.d.ts +5 -5
- package/dist/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/drawer.module-CRbvc--J.js +16 -0
- package/dist/drawer.module-CdrdXo5o.cjs +15 -0
- package/dist/style.css +841 -800
- package/dist/utils/action.d.ts +0 -1
- package/dist/utils/component-props-as.d.ts +0 -1
- package/dist/utils/generate-styling/gap.d.ts +0 -24
- package/package.json +56 -57
- package/dist/drawer.module-C4NZoZUc.cjs +0 -15
- package/dist/drawer.module-jxIDBwQn.js +0 -16
|
@@ -7,8 +7,8 @@ export type TitleProps = React.ComponentPropsWithoutRef<'h2'> & {
|
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
};
|
|
9
9
|
export declare const Title: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
|
|
10
|
-
asChild?: boolean
|
|
11
|
-
checked?: boolean
|
|
12
|
-
onCheckedChange?: (
|
|
13
|
-
disabled?: boolean
|
|
10
|
+
asChild?: boolean;
|
|
11
|
+
checked?: boolean;
|
|
12
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
13
|
+
disabled?: boolean;
|
|
14
14
|
} & React.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -10,13 +10,13 @@ export type ItemProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
|
10
10
|
};
|
|
11
11
|
export declare const ItemContext: React.Context<{
|
|
12
12
|
triggerRef: React.RefObject<HTMLDivElement>;
|
|
13
|
-
id?: string
|
|
13
|
+
id?: string;
|
|
14
14
|
} | undefined>;
|
|
15
15
|
export declare const Item: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
16
|
value: string;
|
|
17
17
|
children: React.ReactNode;
|
|
18
|
-
imageUrl?: string
|
|
19
|
-
checked?: boolean
|
|
20
|
-
onCheckedChange?: (
|
|
21
|
-
disabled?: boolean
|
|
18
|
+
imageUrl?: string;
|
|
19
|
+
checked?: boolean;
|
|
20
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
21
|
+
disabled?: boolean;
|
|
22
22
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -32,34 +32,34 @@ type H6Props = {
|
|
|
32
32
|
asChild?: false;
|
|
33
33
|
} & React.ComponentPropsWithoutRef<'h6'>;
|
|
34
34
|
export declare const GroupLabel: React.ForwardRefExoticComponent<(({
|
|
35
|
-
id?: string
|
|
36
|
-
asChild?: false
|
|
35
|
+
id?: string;
|
|
36
|
+
asChild?: false;
|
|
37
37
|
} & {
|
|
38
|
-
as?: "h2"
|
|
39
|
-
asChild?: false
|
|
38
|
+
as?: "h2";
|
|
39
|
+
asChild?: false;
|
|
40
40
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
41
|
-
id?: string
|
|
42
|
-
asChild?: false
|
|
41
|
+
id?: string;
|
|
42
|
+
asChild?: false;
|
|
43
43
|
} & {
|
|
44
|
-
as?: "h3"
|
|
45
|
-
asChild?: false
|
|
44
|
+
as?: "h3";
|
|
45
|
+
asChild?: false;
|
|
46
46
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
47
|
-
id?: string
|
|
48
|
-
asChild?: false
|
|
47
|
+
id?: string;
|
|
48
|
+
asChild?: false;
|
|
49
49
|
} & {
|
|
50
|
-
as?: "h4"
|
|
51
|
-
asChild?: false
|
|
50
|
+
as?: "h4";
|
|
51
|
+
asChild?: false;
|
|
52
52
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
53
|
-
id?: string
|
|
54
|
-
asChild?: false
|
|
53
|
+
id?: string;
|
|
54
|
+
asChild?: false;
|
|
55
55
|
} & {
|
|
56
|
-
as?: "h5"
|
|
57
|
-
asChild?: false
|
|
56
|
+
as?: "h5";
|
|
57
|
+
asChild?: false;
|
|
58
58
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
59
|
-
id?: string
|
|
60
|
-
asChild?: false
|
|
59
|
+
id?: string;
|
|
60
|
+
asChild?: false;
|
|
61
61
|
} & {
|
|
62
|
-
as?: "h6"
|
|
63
|
-
asChild?: false
|
|
62
|
+
as?: "h6";
|
|
63
|
+
asChild?: false;
|
|
64
64
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">)) & React.RefAttributes<HTMLDivElement>>;
|
|
65
65
|
export {};
|
|
@@ -23,17 +23,17 @@ export type RootProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
|
23
23
|
};
|
|
24
24
|
export declare const Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
25
25
|
/** When `true`, prevents the user from interacting with checkbox items. */
|
|
26
|
-
disabled?: boolean
|
|
26
|
+
disabled?: boolean;
|
|
27
27
|
/** The name of the group. Submitted with its owning form as part of a name/value pair. */
|
|
28
|
-
name?: string
|
|
28
|
+
name?: string;
|
|
29
29
|
/** When `true`, indicates that the user must check at least one checkbox item before the owning form can be submitted. */
|
|
30
|
-
required?: boolean
|
|
30
|
+
required?: boolean;
|
|
31
31
|
/** The controlled values of the checkbox items that are checked. Should be used in conjunction with onValueChange. */
|
|
32
|
-
value?: string[]
|
|
32
|
+
value?: string[];
|
|
33
33
|
/** Event handler called when the values change. */
|
|
34
|
-
onValueChange?: (
|
|
34
|
+
onValueChange?: (value: string[]) => void;
|
|
35
35
|
/** The orientation of the component. */
|
|
36
|
-
orientation?: "horizontal" | "vertical"
|
|
36
|
+
orientation?: "horizontal" | "vertical";
|
|
37
37
|
/** The reading direction of the checkbox group. If omitted, assumes left-to-right reading mode. */
|
|
38
|
-
direction?: "left" | "right"
|
|
38
|
+
direction?: "left" | "right";
|
|
39
39
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -6,64 +6,64 @@ import { ItemProps } from './checkbox-card-group-item';
|
|
|
6
6
|
import { IndicatorProps } from './checkbox-card-group-indicator';
|
|
7
7
|
|
|
8
8
|
export declare const CheckboxCardGroup: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
-
disabled?: boolean
|
|
10
|
-
name?: string
|
|
11
|
-
required?: boolean
|
|
12
|
-
value?: string[]
|
|
13
|
-
onValueChange?: (
|
|
14
|
-
orientation?: "horizontal" | "vertical"
|
|
15
|
-
direction?: "left" | "right"
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
name?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
value?: string[];
|
|
13
|
+
onValueChange?: (value: string[]) => void;
|
|
14
|
+
orientation?: "horizontal" | "vertical";
|
|
15
|
+
direction?: "left" | "right";
|
|
16
16
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
17
17
|
GroupLabel: import('react').ForwardRefExoticComponent<(({
|
|
18
|
-
id?: string
|
|
19
|
-
asChild?: false
|
|
18
|
+
id?: string;
|
|
19
|
+
asChild?: false;
|
|
20
20
|
} & {
|
|
21
|
-
as?: "h2"
|
|
22
|
-
asChild?: false
|
|
21
|
+
as?: "h2";
|
|
22
|
+
asChild?: false;
|
|
23
23
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
24
|
-
id?: string
|
|
25
|
-
asChild?: false
|
|
24
|
+
id?: string;
|
|
25
|
+
asChild?: false;
|
|
26
26
|
} & {
|
|
27
|
-
as?: "h3"
|
|
28
|
-
asChild?: false
|
|
27
|
+
as?: "h3";
|
|
28
|
+
asChild?: false;
|
|
29
29
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
30
|
-
id?: string
|
|
31
|
-
asChild?: false
|
|
30
|
+
id?: string;
|
|
31
|
+
asChild?: false;
|
|
32
32
|
} & {
|
|
33
|
-
as?: "h4"
|
|
34
|
-
asChild?: false
|
|
33
|
+
as?: "h4";
|
|
34
|
+
asChild?: false;
|
|
35
35
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
36
|
-
id?: string
|
|
37
|
-
asChild?: false
|
|
36
|
+
id?: string;
|
|
37
|
+
asChild?: false;
|
|
38
38
|
} & {
|
|
39
|
-
as?: "h5"
|
|
40
|
-
asChild?: false
|
|
39
|
+
as?: "h5";
|
|
40
|
+
asChild?: false;
|
|
41
41
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
42
|
-
id?: string
|
|
43
|
-
asChild?: false
|
|
42
|
+
id?: string;
|
|
43
|
+
asChild?: false;
|
|
44
44
|
} & {
|
|
45
|
-
as?: "h6"
|
|
46
|
-
asChild?: false
|
|
45
|
+
as?: "h6";
|
|
46
|
+
asChild?: false;
|
|
47
47
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">)) & import('react').RefAttributes<HTMLDivElement>>;
|
|
48
48
|
Item: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
49
49
|
value: string;
|
|
50
|
-
children:
|
|
51
|
-
imageUrl?: string
|
|
52
|
-
checked?: boolean
|
|
53
|
-
onCheckedChange?: (
|
|
54
|
-
disabled?: boolean
|
|
50
|
+
children: React.ReactNode;
|
|
51
|
+
imageUrl?: string;
|
|
52
|
+
checked?: boolean;
|
|
53
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
54
|
+
disabled?: boolean;
|
|
55
55
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
56
56
|
Title: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
|
|
57
|
-
asChild?: boolean
|
|
58
|
-
checked?: boolean
|
|
59
|
-
onCheckedChange?: (
|
|
60
|
-
disabled?: boolean
|
|
57
|
+
asChild?: boolean;
|
|
58
|
+
checked?: boolean;
|
|
59
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
60
|
+
disabled?: boolean;
|
|
61
61
|
} & import('react').RefAttributes<HTMLHeadingElement>>;
|
|
62
62
|
Body: import('react').ForwardRefExoticComponent<BodyProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
63
63
|
Indicator: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
64
|
-
checked?: boolean
|
|
65
|
-
onCheckedChange?: (
|
|
66
|
-
disabled?: boolean
|
|
64
|
+
checked?: boolean;
|
|
65
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
66
|
+
disabled?: boolean;
|
|
67
67
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
68
68
|
};
|
|
69
69
|
export type CheckboxCardGroupProps = {
|
|
@@ -3,8 +3,8 @@ import { Icon } from '../icon';
|
|
|
3
3
|
|
|
4
4
|
export type IndicatorProps = Partial<React.ComponentPropsWithoutRef<typeof Icon>>;
|
|
5
5
|
export declare const Indicator: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
|
|
6
|
-
name:
|
|
7
|
-
size?:
|
|
8
|
-
title?: string
|
|
6
|
+
name: import('..').IconName;
|
|
7
|
+
size?: "xs" | "sm" | "md" | "lg" | "font" | "xxs" | "xl";
|
|
8
|
+
title?: string;
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -23,9 +23,9 @@ function _interopNamespaceDefault(e) {
|
|
|
23
23
|
}
|
|
24
24
|
const ToggleGroupPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(ToggleGroupPrimitive);
|
|
25
25
|
const styles = {
|
|
26
|
-
"teddy-chip__item": "_teddy-
|
|
27
|
-
"teddy-chip__item--unavailable": "_teddy-chip__item--
|
|
28
|
-
"teddy-chip__indicator": "_teddy-
|
|
26
|
+
"teddy-chip__item": "_teddy-chip__item_lsr0j_1",
|
|
27
|
+
"teddy-chip__item--unavailable": "_teddy-chip__item--unavailable_lsr0j_33",
|
|
28
|
+
"teddy-chip__indicator": "_teddy-chip__indicator_lsr0j_83"
|
|
29
29
|
};
|
|
30
30
|
const rootClassName = "teddy-chip";
|
|
31
31
|
const RootContext = React.createContext(void 0);
|
|
@@ -4,9 +4,9 @@ import clsx from "clsx";
|
|
|
4
4
|
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
5
5
|
import { Flex } from "../flex/flex.js";
|
|
6
6
|
const styles = {
|
|
7
|
-
"teddy-chip__item": "_teddy-
|
|
8
|
-
"teddy-chip__item--unavailable": "_teddy-chip__item--
|
|
9
|
-
"teddy-chip__indicator": "_teddy-
|
|
7
|
+
"teddy-chip__item": "_teddy-chip__item_lsr0j_1",
|
|
8
|
+
"teddy-chip__item--unavailable": "_teddy-chip__item--unavailable_lsr0j_33",
|
|
9
|
+
"teddy-chip__indicator": "_teddy-chip__indicator_lsr0j_83"
|
|
10
10
|
};
|
|
11
11
|
const rootClassName = "teddy-chip";
|
|
12
12
|
const RootContext = React__default.createContext(void 0);
|
|
@@ -5,10 +5,10 @@ import { ItemProps } from './chip-item';
|
|
|
5
5
|
export declare const Chip: import('react').ForwardRefExoticComponent<RootProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
6
6
|
Item: import('react').ForwardRefExoticComponent<ItemProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
Indicator: import('react').ForwardRefExoticComponent<Partial<Omit<import('react').SVGProps<SVGSVGElement> & {
|
|
8
|
-
name:
|
|
9
|
-
size?:
|
|
10
|
-
title?: string
|
|
11
|
-
children?:
|
|
8
|
+
name: import('..').IconName;
|
|
9
|
+
size?: "xs" | "sm" | "md" | "lg" | "font" | "xxs" | "xl";
|
|
10
|
+
title?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
12
|
}, "ref">> & import('react').RefAttributes<SVGSVGElement>>;
|
|
13
13
|
};
|
|
14
14
|
export type ChipProps = {
|
|
@@ -4,10 +4,10 @@ import { ContentProps } from './collapsible-content';
|
|
|
4
4
|
|
|
5
5
|
export declare const Collapsible: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-collapsible').CollapsibleProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
|
|
6
6
|
Trigger: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-collapsible').CollapsibleTriggerProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
7
|
-
children:
|
|
7
|
+
children: React.ReactNode;
|
|
8
8
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
9
9
|
Content: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-collapsible').CollapsibleContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
10
|
-
children:
|
|
10
|
+
children: React.ReactNode;
|
|
11
11
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
12
|
};
|
|
13
13
|
export type CollapsibleProps = {
|
|
@@ -15,8 +15,8 @@ export type RootProps = Omit<SpanProps | DivProps, 'children'> & {
|
|
|
15
15
|
/** */
|
|
16
16
|
export declare const Root: React.ForwardRefExoticComponent<Omit<SpanProps | DivProps, "children"> & {
|
|
17
17
|
color: string;
|
|
18
|
-
size:
|
|
19
|
-
bordered?: boolean
|
|
20
|
-
wide?: boolean
|
|
18
|
+
size: "xs" | "sm" | "md" | "lg";
|
|
19
|
+
bordered?: boolean;
|
|
20
|
+
wide?: boolean;
|
|
21
21
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
22
22
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RootProps } from './color-dot-root';
|
|
2
2
|
|
|
3
3
|
export declare const ColorDot: import('react').ForwardRefExoticComponent<Omit<({
|
|
4
|
-
as?: "span"
|
|
4
|
+
as?: "span";
|
|
5
5
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">) | ({
|
|
6
|
-
as?: "div"
|
|
6
|
+
as?: "div";
|
|
7
7
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">), "children"> & {
|
|
8
8
|
color: string;
|
|
9
9
|
size: "xs" | "sm" | "md" | "lg";
|
|
10
|
-
bordered?: boolean
|
|
11
|
-
wide?: boolean
|
|
10
|
+
bordered?: boolean;
|
|
11
|
+
wide?: boolean;
|
|
12
12
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
13
|
export type ColorDotProps = RootProps;
|
|
@@ -3,8 +3,8 @@ import { Avatar as PrimitiveAvatar } from '../avatar';
|
|
|
3
3
|
|
|
4
4
|
export type AvatarProps = React.ComponentPropsWithoutRef<typeof PrimitiveAvatar>;
|
|
5
5
|
export declare const Avatar: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
-
variant?:
|
|
7
|
-
firstName?: string
|
|
8
|
-
lastName?: string
|
|
9
|
-
icon?:
|
|
6
|
+
variant?: "beige" | "grey" | "white" | "blue" | "green" | "orange" | "purple-light";
|
|
7
|
+
firstName?: string;
|
|
8
|
+
lastName?: string;
|
|
9
|
+
icon?: import('..').IconName;
|
|
10
10
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -7,21 +7,21 @@ const reactSlot = require("@radix-ui/react-slot");
|
|
|
7
7
|
require("../../assets/sprite.44b293a1-teddy.svg");
|
|
8
8
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
9
9
|
const styles = {
|
|
10
|
-
"teddy-dashboard-card": "_teddy-dashboard-
|
|
11
|
-
"teddy-dashboard-card__content": "_teddy-dashboard-
|
|
12
|
-
"teddy-dashboard-card__footer": "_teddy-dashboard-
|
|
13
|
-
"teddy-dashboard-card--white": "_teddy-dashboard-card--
|
|
14
|
-
"teddy-dashboard-card--disabled": "_teddy-dashboard-card--
|
|
15
|
-
"teddy-dashboard-card--border": "_teddy-dashboard-card--
|
|
16
|
-
"teddy-dashboard-card--grey": "_teddy-dashboard-card--
|
|
17
|
-
"teddy-dashboard-card--purple-light": "_teddy-dashboard-card--purple-
|
|
18
|
-
"teddy-dashboard-card--beige-light": "_teddy-dashboard-card--beige-
|
|
19
|
-
"teddy-dashboard-card__layout": "_teddy-dashboard-
|
|
20
|
-
"teddy-dashboard-card__avatar": "_teddy-dashboard-
|
|
21
|
-
"teddy-dashboard-card__illustration": "_teddy-dashboard-
|
|
22
|
-
"teddy-dashboard-card__heading": "_teddy-dashboard-
|
|
23
|
-
"teddy-dashboard-card__subtitle": "_teddy-dashboard-
|
|
24
|
-
"teddy-dashboard-card__chevron": "_teddy-dashboard-
|
|
10
|
+
"teddy-dashboard-card": "_teddy-dashboard-card_1twnh_3",
|
|
11
|
+
"teddy-dashboard-card__content": "_teddy-dashboard-card__content_1twnh_20",
|
|
12
|
+
"teddy-dashboard-card__footer": "_teddy-dashboard-card__footer_1twnh_21",
|
|
13
|
+
"teddy-dashboard-card--white": "_teddy-dashboard-card--white_1twnh_24",
|
|
14
|
+
"teddy-dashboard-card--disabled": "_teddy-dashboard-card--disabled_1twnh_28",
|
|
15
|
+
"teddy-dashboard-card--border": "_teddy-dashboard-card--border_1twnh_37",
|
|
16
|
+
"teddy-dashboard-card--grey": "_teddy-dashboard-card--grey_1twnh_49",
|
|
17
|
+
"teddy-dashboard-card--purple-light": "_teddy-dashboard-card--purple-light_1twnh_62",
|
|
18
|
+
"teddy-dashboard-card--beige-light": "_teddy-dashboard-card--beige-light_1twnh_75",
|
|
19
|
+
"teddy-dashboard-card__layout": "_teddy-dashboard-card__layout_1twnh_88",
|
|
20
|
+
"teddy-dashboard-card__avatar": "_teddy-dashboard-card__avatar_1twnh_88",
|
|
21
|
+
"teddy-dashboard-card__illustration": "_teddy-dashboard-card__illustration_1twnh_91",
|
|
22
|
+
"teddy-dashboard-card__heading": "_teddy-dashboard-card__heading_1twnh_94",
|
|
23
|
+
"teddy-dashboard-card__subtitle": "_teddy-dashboard-card__subtitle_1twnh_98",
|
|
24
|
+
"teddy-dashboard-card__chevron": "_teddy-dashboard-card__chevron_1twnh_102"
|
|
25
25
|
};
|
|
26
26
|
const rootClassName = "teddy-dashboard-card";
|
|
27
27
|
const RootContext = React.createContext(void 0);
|
|
@@ -3,7 +3,7 @@ import { default as React } from 'react';
|
|
|
3
3
|
export declare const rootClassName = "teddy-dashboard-card";
|
|
4
4
|
type Variant = 'white' | 'grey' | 'purple-light' | 'beige-light';
|
|
5
5
|
export declare const RootContext: React.Context<{
|
|
6
|
-
variant?: Variant
|
|
6
|
+
variant?: Variant;
|
|
7
7
|
} | undefined>;
|
|
8
8
|
export type RootProps = React.ComponentPropsWithoutRef<'a'> & {
|
|
9
9
|
asChild?: boolean;
|
|
@@ -12,9 +12,9 @@ export type RootProps = React.ComponentPropsWithoutRef<'a'> & {
|
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
};
|
|
14
14
|
export declare const Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
15
|
-
asChild?: boolean
|
|
16
|
-
variant?: Variant
|
|
17
|
-
bordered?: boolean
|
|
18
|
-
disabled?: boolean
|
|
15
|
+
asChild?: boolean;
|
|
16
|
+
variant?: Variant;
|
|
17
|
+
bordered?: boolean;
|
|
18
|
+
disabled?: boolean;
|
|
19
19
|
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
20
20
|
export {};
|
|
@@ -5,21 +5,21 @@ import { Slot, Slottable } from "@radix-ui/react-slot";
|
|
|
5
5
|
import "../../assets/sprite.44b293a1-teddy.svg";
|
|
6
6
|
import { Icon } from "../icon/icon.js";
|
|
7
7
|
const styles = {
|
|
8
|
-
"teddy-dashboard-card": "_teddy-dashboard-
|
|
9
|
-
"teddy-dashboard-card__content": "_teddy-dashboard-
|
|
10
|
-
"teddy-dashboard-card__footer": "_teddy-dashboard-
|
|
11
|
-
"teddy-dashboard-card--white": "_teddy-dashboard-card--
|
|
12
|
-
"teddy-dashboard-card--disabled": "_teddy-dashboard-card--
|
|
13
|
-
"teddy-dashboard-card--border": "_teddy-dashboard-card--
|
|
14
|
-
"teddy-dashboard-card--grey": "_teddy-dashboard-card--
|
|
15
|
-
"teddy-dashboard-card--purple-light": "_teddy-dashboard-card--purple-
|
|
16
|
-
"teddy-dashboard-card--beige-light": "_teddy-dashboard-card--beige-
|
|
17
|
-
"teddy-dashboard-card__layout": "_teddy-dashboard-
|
|
18
|
-
"teddy-dashboard-card__avatar": "_teddy-dashboard-
|
|
19
|
-
"teddy-dashboard-card__illustration": "_teddy-dashboard-
|
|
20
|
-
"teddy-dashboard-card__heading": "_teddy-dashboard-
|
|
21
|
-
"teddy-dashboard-card__subtitle": "_teddy-dashboard-
|
|
22
|
-
"teddy-dashboard-card__chevron": "_teddy-dashboard-
|
|
8
|
+
"teddy-dashboard-card": "_teddy-dashboard-card_1twnh_3",
|
|
9
|
+
"teddy-dashboard-card__content": "_teddy-dashboard-card__content_1twnh_20",
|
|
10
|
+
"teddy-dashboard-card__footer": "_teddy-dashboard-card__footer_1twnh_21",
|
|
11
|
+
"teddy-dashboard-card--white": "_teddy-dashboard-card--white_1twnh_24",
|
|
12
|
+
"teddy-dashboard-card--disabled": "_teddy-dashboard-card--disabled_1twnh_28",
|
|
13
|
+
"teddy-dashboard-card--border": "_teddy-dashboard-card--border_1twnh_37",
|
|
14
|
+
"teddy-dashboard-card--grey": "_teddy-dashboard-card--grey_1twnh_49",
|
|
15
|
+
"teddy-dashboard-card--purple-light": "_teddy-dashboard-card--purple-light_1twnh_62",
|
|
16
|
+
"teddy-dashboard-card--beige-light": "_teddy-dashboard-card--beige-light_1twnh_75",
|
|
17
|
+
"teddy-dashboard-card__layout": "_teddy-dashboard-card__layout_1twnh_88",
|
|
18
|
+
"teddy-dashboard-card__avatar": "_teddy-dashboard-card__avatar_1twnh_88",
|
|
19
|
+
"teddy-dashboard-card__illustration": "_teddy-dashboard-card__illustration_1twnh_91",
|
|
20
|
+
"teddy-dashboard-card__heading": "_teddy-dashboard-card__heading_1twnh_94",
|
|
21
|
+
"teddy-dashboard-card__subtitle": "_teddy-dashboard-card__subtitle_1twnh_98",
|
|
22
|
+
"teddy-dashboard-card__chevron": "_teddy-dashboard-card__chevron_1twnh_102"
|
|
23
23
|
};
|
|
24
24
|
const rootClassName = "teddy-dashboard-card";
|
|
25
25
|
const RootContext = React__default.createContext(void 0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RootProps } from './dashboard-card-root';
|
|
1
|
+
import { Root, RootProps } from './dashboard-card-root';
|
|
2
2
|
import { Heading, HeadingProps } from './dashboard-card-heading';
|
|
3
3
|
import { Subtitle, SubtitleProps } from './dashboard-card-subtitle';
|
|
4
4
|
import { Avatar, AvatarProps } from './dashboard-card-avatar';
|
|
@@ -32,12 +32,7 @@ export type DashboardCardProps = {
|
|
|
32
32
|
* <DashboardCard.Content/>
|
|
33
33
|
* </DashboardCard>
|
|
34
34
|
*/
|
|
35
|
-
declare const DashboardCard:
|
|
36
|
-
asChild?: boolean | undefined;
|
|
37
|
-
variant?: ("grey" | "white" | "purple-light" | "beige-light") | undefined;
|
|
38
|
-
bordered?: boolean | undefined;
|
|
39
|
-
disabled?: boolean | undefined;
|
|
40
|
-
} & import('react').RefAttributes<HTMLAnchorElement>> & {
|
|
35
|
+
declare const DashboardCard: typeof Root & {
|
|
41
36
|
/**
|
|
42
37
|
* Avatar component for the DashboardCard.
|
|
43
38
|
*
|