@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dismiss, DismissProps } from './notification-dismiss';
|
|
2
2
|
import { Heading, HeadingProps } from './notification-heading';
|
|
3
3
|
import { Icon, IconProps } from './notification-icon';
|
|
4
|
-
import { RootProps } from './notification-root';
|
|
4
|
+
import { Root, RootProps } from './notification-root';
|
|
5
5
|
import { TextProps, Text } from './notification-text';
|
|
6
6
|
import { FooterProps, Footer } from './notification-footer';
|
|
7
7
|
|
|
@@ -26,86 +26,7 @@ type NotificationProps = {
|
|
|
26
26
|
* <Notification.Text>This is the detailed message of the notification.</Notification.Text>
|
|
27
27
|
* </Notification>
|
|
28
28
|
*/
|
|
29
|
-
declare const Notification:
|
|
30
|
-
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
31
|
-
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
32
|
-
align?: import('../../utils/generate-styling/align').Align | undefined;
|
|
33
|
-
justify?: import('../../utils/generate-styling/justify').Justify | undefined;
|
|
34
|
-
} & import('../../utils/generate-styling/grid').GridLayout & {
|
|
35
|
-
asChild: true;
|
|
36
|
-
as?: undefined;
|
|
37
|
-
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
38
|
-
/**
|
|
39
|
-
* Footer component displays the footer of the notification.
|
|
40
|
-
*
|
|
41
|
-
* @component
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
* <Notification.Footer">Notification Footer</Notification.Footer>
|
|
45
|
-
*/
|
|
46
|
-
asChild?: boolean | undefined;
|
|
47
|
-
variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
|
|
48
|
-
bordered?: boolean | undefined;
|
|
49
|
-
shadow?: boolean | undefined;
|
|
50
|
-
backgroundImageSrc?: string | undefined;
|
|
51
|
-
imageGradient?: ("none" | "dark" | "light" | "default") | undefined;
|
|
52
|
-
layout?: import('../card/card').Layout | undefined;
|
|
53
|
-
} & import('react').RefAttributes<HTMLDivElement>, "ref"> | Omit<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
54
|
-
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
55
|
-
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
56
|
-
align?: import('../../utils/generate-styling/align').Align | undefined;
|
|
57
|
-
justify?: import('../../utils/generate-styling/justify').Justify | undefined;
|
|
58
|
-
} & import('../../utils/generate-styling/grid').GridLayout & {
|
|
59
|
-
as?: "span" | undefined;
|
|
60
|
-
asChild?: false | undefined;
|
|
61
|
-
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
62
|
-
/**
|
|
63
|
-
* Footer component displays the footer of the notification.
|
|
64
|
-
*
|
|
65
|
-
* @component
|
|
66
|
-
*
|
|
67
|
-
* @example
|
|
68
|
-
* <Notification.Footer">Notification Footer</Notification.Footer>
|
|
69
|
-
*/
|
|
70
|
-
asChild?: boolean | undefined;
|
|
71
|
-
variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
|
|
72
|
-
bordered?: boolean | undefined;
|
|
73
|
-
shadow?: boolean | undefined;
|
|
74
|
-
backgroundImageSrc?: string | undefined;
|
|
75
|
-
imageGradient?: ("none" | "dark" | "light" | "default") | undefined;
|
|
76
|
-
layout?: import('../card/card').Layout | undefined;
|
|
77
|
-
} & import('react').RefAttributes<HTMLDivElement>, "ref"> | Omit<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
78
|
-
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
79
|
-
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
80
|
-
align?: import('../../utils/generate-styling/align').Align | undefined;
|
|
81
|
-
justify?: import('../../utils/generate-styling/justify').Justify | undefined;
|
|
82
|
-
} & import('../../utils/generate-styling/grid').GridLayout & {
|
|
83
|
-
as: "div";
|
|
84
|
-
asChild?: false | undefined;
|
|
85
|
-
} & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
86
|
-
/**
|
|
87
|
-
* Footer component displays the footer of the notification.
|
|
88
|
-
*
|
|
89
|
-
* @component
|
|
90
|
-
*
|
|
91
|
-
* @example
|
|
92
|
-
* <Notification.Footer">Notification Footer</Notification.Footer>
|
|
93
|
-
*/
|
|
94
|
-
asChild?: boolean | undefined;
|
|
95
|
-
variant?: "beige" | "white" | "gray" | "purple-light" | "beige-light" | "purple-dark" | undefined;
|
|
96
|
-
bordered?: boolean | undefined;
|
|
97
|
-
shadow?: boolean | undefined;
|
|
98
|
-
backgroundImageSrc?: string | undefined;
|
|
99
|
-
imageGradient?: ("none" | "dark" | "light" | "default") | undefined;
|
|
100
|
-
layout?: import('../card/card').Layout | undefined;
|
|
101
|
-
} & import('react').RefAttributes<HTMLDivElement>, "ref">, "variant" | "layout" | "as"> & {
|
|
102
|
-
variant?: "error" | "warning" | "beige" | "gray" | "teal" | "information" | "success" | "light-purple" | undefined;
|
|
103
|
-
type?: "card" | "tile" | undefined;
|
|
104
|
-
open?: boolean | undefined;
|
|
105
|
-
defaultOpen?: boolean | undefined;
|
|
106
|
-
onOpenChange?: ((open: boolean) => void) | undefined;
|
|
107
|
-
role?: "alert" | undefined;
|
|
108
|
-
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
29
|
+
declare const Notification: typeof Root & {
|
|
109
30
|
/**
|
|
110
31
|
* Text component displays the detailed message.
|
|
111
32
|
*
|
|
@@ -3,8 +3,8 @@ import { Icon as IconPrimitives } from '../icon';
|
|
|
3
3
|
|
|
4
4
|
export type IconProps = Partial<React.ComponentPropsWithoutRef<typeof IconPrimitives>>;
|
|
5
5
|
export declare const Icon: 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>>;
|
|
@@ -21,66 +21,66 @@ export type RootProps = Omit<React.ComponentPropsWithoutRef<typeof Card>, 'varia
|
|
|
21
21
|
export declare const NotificationContext: React.Context<Pick<RootProps, "type" | "variant"> | undefined>;
|
|
22
22
|
/** Groups Icon and Text parts. This component is based on the div element */
|
|
23
23
|
export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
24
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
24
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
25
25
|
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
26
|
-
align?: import('../../utils/generate-styling/align').Align
|
|
27
|
-
justify?: import('../../utils/generate-styling/justify').Justify
|
|
26
|
+
align?: import('../../utils/generate-styling/align').Align;
|
|
27
|
+
justify?: import('../../utils/generate-styling/justify').Justify;
|
|
28
28
|
} & import('../../utils/generate-styling/grid').GridLayout & {
|
|
29
29
|
asChild: true;
|
|
30
|
-
as?:
|
|
30
|
+
as?: never;
|
|
31
31
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
32
|
-
asChild?: boolean
|
|
33
|
-
variant?:
|
|
34
|
-
bordered?: boolean
|
|
35
|
-
shadow?: boolean
|
|
36
|
-
backgroundImageSrc?: string
|
|
37
|
-
imageGradient?:
|
|
38
|
-
layout?: import('../card/card').Layout
|
|
32
|
+
asChild?: boolean;
|
|
33
|
+
variant?: import('../card/utils').Variant;
|
|
34
|
+
bordered?: boolean;
|
|
35
|
+
shadow?: boolean;
|
|
36
|
+
backgroundImageSrc?: string;
|
|
37
|
+
imageGradient?: "none" | "default" | "dark" | "light";
|
|
38
|
+
layout?: import('../card/card').Layout;
|
|
39
39
|
} & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
40
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
40
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
41
41
|
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
42
|
-
align?: import('../../utils/generate-styling/align').Align
|
|
43
|
-
justify?: import('../../utils/generate-styling/justify').Justify
|
|
42
|
+
align?: import('../../utils/generate-styling/align').Align;
|
|
43
|
+
justify?: import('../../utils/generate-styling/justify').Justify;
|
|
44
44
|
} & import('../../utils/generate-styling/grid').GridLayout & {
|
|
45
|
-
as?: "span"
|
|
46
|
-
asChild?: false
|
|
45
|
+
as?: "span";
|
|
46
|
+
asChild?: false;
|
|
47
47
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
48
|
-
asChild?: boolean
|
|
49
|
-
variant?:
|
|
50
|
-
bordered?: boolean
|
|
51
|
-
shadow?: boolean
|
|
52
|
-
backgroundImageSrc?: string
|
|
53
|
-
imageGradient?:
|
|
54
|
-
layout?: import('../card/card').Layout
|
|
48
|
+
asChild?: boolean;
|
|
49
|
+
variant?: import('../card/utils').Variant;
|
|
50
|
+
bordered?: boolean;
|
|
51
|
+
shadow?: boolean;
|
|
52
|
+
backgroundImageSrc?: string;
|
|
53
|
+
imageGradient?: "none" | "default" | "dark" | "light";
|
|
54
|
+
layout?: import('../card/card').Layout;
|
|
55
55
|
} & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
56
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
56
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
57
57
|
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
58
|
-
align?: import('../../utils/generate-styling/align').Align
|
|
59
|
-
justify?: import('../../utils/generate-styling/justify').Justify
|
|
58
|
+
align?: import('../../utils/generate-styling/align').Align;
|
|
59
|
+
justify?: import('../../utils/generate-styling/justify').Justify;
|
|
60
60
|
} & import('../../utils/generate-styling/grid').GridLayout & {
|
|
61
61
|
as: "div";
|
|
62
|
-
asChild?: false
|
|
62
|
+
asChild?: false;
|
|
63
63
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
64
|
-
asChild?: boolean
|
|
65
|
-
variant?:
|
|
66
|
-
bordered?: boolean
|
|
67
|
-
shadow?: boolean
|
|
68
|
-
backgroundImageSrc?: string
|
|
69
|
-
imageGradient?:
|
|
70
|
-
layout?: import('../card/card').Layout
|
|
71
|
-
} & React.RefAttributes<HTMLDivElement>, "ref">, "
|
|
64
|
+
asChild?: boolean;
|
|
65
|
+
variant?: import('../card/utils').Variant;
|
|
66
|
+
bordered?: boolean;
|
|
67
|
+
shadow?: boolean;
|
|
68
|
+
backgroundImageSrc?: string;
|
|
69
|
+
imageGradient?: "none" | "default" | "dark" | "light";
|
|
70
|
+
layout?: import('../card/card').Layout;
|
|
71
|
+
} & React.RefAttributes<HTMLDivElement>, "ref">, "as" | "variant" | "layout"> & {
|
|
72
72
|
/**
|
|
73
73
|
* The variant of the notification.
|
|
74
74
|
*
|
|
75
75
|
*/
|
|
76
|
-
variant?: "
|
|
76
|
+
variant?: "success" | "error" | "warning" | "information" | "beige" | "teal" | "gray" | "light-purple";
|
|
77
77
|
/**
|
|
78
78
|
* The tyoe of the notification.
|
|
79
79
|
*
|
|
80
80
|
*/
|
|
81
|
-
type?: "card" | "tile"
|
|
82
|
-
open?: boolean
|
|
83
|
-
defaultOpen?: boolean
|
|
84
|
-
onOpenChange?: (
|
|
85
|
-
role?: "alert"
|
|
81
|
+
type?: "card" | "tile";
|
|
82
|
+
open?: boolean;
|
|
83
|
+
defaultOpen?: boolean;
|
|
84
|
+
onOpenChange?: (open: boolean) => void;
|
|
85
|
+
role?: "alert";
|
|
86
86
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RootProps } from './pagination-root';
|
|
1
|
+
import { Root, RootProps } from './pagination-root';
|
|
2
2
|
import { Button, ButtonProps } from './pagination-button';
|
|
3
3
|
import { PageNumbers, PageNumbersProps } from './pagination-page-numbers';
|
|
4
4
|
import { Navigation, NavigationProps } from './pagination-navigation';
|
|
@@ -34,9 +34,7 @@ import { ItemsPerPage, ItemsPerPageProps } from './pagination-items-per-page';
|
|
|
34
34
|
* />
|
|
35
35
|
* </Pagination>
|
|
36
36
|
*/
|
|
37
|
-
declare const Pagination:
|
|
38
|
-
'aria-label'?: string | undefined;
|
|
39
|
-
} & import('react').RefAttributes<HTMLElement>> & {
|
|
37
|
+
declare const Pagination: typeof Root & {
|
|
40
38
|
/**
|
|
41
39
|
* Button component for individual page numbers and navigation actions.
|
|
42
40
|
*
|
|
@@ -32,15 +32,15 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<PrimitiveButto
|
|
|
32
32
|
/**
|
|
33
33
|
* Whether the button is currently active/selected
|
|
34
34
|
*/
|
|
35
|
-
isActive?: boolean
|
|
35
|
+
isActive?: boolean;
|
|
36
36
|
/**
|
|
37
37
|
* Button variant type
|
|
38
38
|
*/
|
|
39
|
-
variant?: "page" | "
|
|
39
|
+
variant?: "page" | "prev" | "next" | "ellipsis";
|
|
40
40
|
/**
|
|
41
41
|
* Page number for page buttons
|
|
42
42
|
*/
|
|
43
|
-
pageNumber?: number
|
|
43
|
+
pageNumber?: number;
|
|
44
44
|
/**
|
|
45
45
|
* Custom icon or content
|
|
46
46
|
*/
|
|
@@ -48,9 +48,9 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<PrimitiveButto
|
|
|
48
48
|
/**
|
|
49
49
|
* Hide text and show only icon
|
|
50
50
|
*/
|
|
51
|
-
iconOnly?: boolean
|
|
51
|
+
iconOnly?: boolean;
|
|
52
52
|
/**
|
|
53
53
|
* Show text with icon for prev/next buttons
|
|
54
54
|
*/
|
|
55
|
-
showLabel?: boolean
|
|
55
|
+
showLabel?: boolean;
|
|
56
56
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -20,5 +20,5 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<React.DetailedHT
|
|
|
20
20
|
* Accessible label for the pagination navigation
|
|
21
21
|
* @default 'Pagination navigation'
|
|
22
22
|
*/
|
|
23
|
-
'aria-label'?: string
|
|
23
|
+
'aria-label'?: string;
|
|
24
24
|
} & React.RefAttributes<HTMLElement>>;
|
|
@@ -7,6 +7,6 @@ export type ProgressBarProps = React.ComponentPropsWithoutRef<typeof ProgressPri
|
|
|
7
7
|
};
|
|
8
8
|
declare const ProgressBar: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
9
9
|
progress: number;
|
|
10
|
-
colorTheme?: "
|
|
10
|
+
colorTheme?: "light" | "dark";
|
|
11
11
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
export { ProgressBar };
|
|
@@ -5,54 +5,54 @@ import { BodyProps } from './radio-card-group-item-body';
|
|
|
5
5
|
import { ItemProps } from './radio-card-group-item';
|
|
6
6
|
|
|
7
7
|
export declare const RadioCardGroup: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-radio-group').RadioGroupProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
8
|
-
defaultValue?: string
|
|
9
|
-
disabled?: boolean
|
|
10
|
-
name?: string
|
|
11
|
-
required?: boolean
|
|
12
|
-
value?: string
|
|
13
|
-
onValueChange?: (
|
|
14
|
-
orientation?: "horizontal" | "vertical"
|
|
15
|
-
dir?: "ltr" | "rtl"
|
|
16
|
-
loop?: boolean
|
|
8
|
+
defaultValue?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
name?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
value?: string;
|
|
13
|
+
onValueChange?: (value: string) => void;
|
|
14
|
+
orientation?: "horizontal" | "vertical";
|
|
15
|
+
dir?: "ltr" | "rtl";
|
|
16
|
+
loop?: boolean;
|
|
17
17
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
18
18
|
GroupLabel: import('react').ForwardRefExoticComponent<(({
|
|
19
|
-
id?: string
|
|
20
|
-
asChild?: false
|
|
19
|
+
id?: string;
|
|
20
|
+
asChild?: false;
|
|
21
21
|
} & {
|
|
22
|
-
as?: "h2"
|
|
23
|
-
asChild?: false
|
|
22
|
+
as?: "h2";
|
|
23
|
+
asChild?: false;
|
|
24
24
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
25
|
-
id?: string
|
|
26
|
-
asChild?: false
|
|
25
|
+
id?: string;
|
|
26
|
+
asChild?: false;
|
|
27
27
|
} & {
|
|
28
|
-
as?: "h3"
|
|
29
|
-
asChild?: false
|
|
28
|
+
as?: "h3";
|
|
29
|
+
asChild?: false;
|
|
30
30
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
31
|
-
id?: string
|
|
32
|
-
asChild?: false
|
|
31
|
+
id?: string;
|
|
32
|
+
asChild?: false;
|
|
33
33
|
} & {
|
|
34
|
-
as?: "h4"
|
|
35
|
-
asChild?: false
|
|
34
|
+
as?: "h4";
|
|
35
|
+
asChild?: false;
|
|
36
36
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
37
|
-
id?: string
|
|
38
|
-
asChild?: false
|
|
37
|
+
id?: string;
|
|
38
|
+
asChild?: false;
|
|
39
39
|
} & {
|
|
40
|
-
as?: "h5"
|
|
41
|
-
asChild?: false
|
|
40
|
+
as?: "h5";
|
|
41
|
+
asChild?: false;
|
|
42
42
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
43
|
-
id?: string
|
|
44
|
-
asChild?: false
|
|
43
|
+
id?: string;
|
|
44
|
+
asChild?: false;
|
|
45
45
|
} & {
|
|
46
|
-
as?: "h6"
|
|
47
|
-
asChild?: false
|
|
46
|
+
as?: "h6";
|
|
47
|
+
asChild?: false;
|
|
48
48
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">)) & import('react').RefAttributes<HTMLButtonElement>>;
|
|
49
49
|
Item: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-radio-group').RadioGroupItemProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
50
50
|
value: string;
|
|
51
|
-
children:
|
|
52
|
-
imageUrl?: string
|
|
51
|
+
children: React.ReactNode;
|
|
52
|
+
imageUrl?: string;
|
|
53
53
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
54
54
|
Title: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
|
|
55
|
-
asChild?: boolean
|
|
55
|
+
asChild?: boolean;
|
|
56
56
|
} & import('react').RefAttributes<HTMLHeadingElement>>;
|
|
57
57
|
Body: import('react').ForwardRefExoticComponent<BodyProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
58
58
|
};
|
|
@@ -4,5 +4,5 @@ export type TitleProps = React.ComponentPropsWithoutRef<'h2'> & {
|
|
|
4
4
|
asChild?: boolean;
|
|
5
5
|
};
|
|
6
6
|
export declare const Title: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
|
|
7
|
-
asChild?: boolean
|
|
7
|
+
asChild?: boolean;
|
|
8
8
|
} & React.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -8,10 +8,10 @@ export type ItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitiv
|
|
|
8
8
|
};
|
|
9
9
|
export declare const ItemContext: React.Context<{
|
|
10
10
|
triggerRef: React.RefObject<HTMLButtonElement>;
|
|
11
|
-
id?: string
|
|
11
|
+
id?: string;
|
|
12
12
|
} | undefined>;
|
|
13
13
|
export declare const Item: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
14
14
|
value: string;
|
|
15
15
|
children: React.ReactNode;
|
|
16
|
-
imageUrl?: string
|
|
16
|
+
imageUrl?: string;
|
|
17
17
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -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<HTMLButtonElement>>;
|
|
65
65
|
export {};
|
|
@@ -30,23 +30,23 @@ export type RootProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitiv
|
|
|
30
30
|
};
|
|
31
31
|
export declare const Root: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
32
32
|
/** The value of the radio item that should be checked when initially rendered. Use when you do not need to control the state of the radio items. */
|
|
33
|
-
defaultValue?: string
|
|
33
|
+
defaultValue?: string;
|
|
34
34
|
/** When `true`, prevents the user from interacting with radio items. */
|
|
35
|
-
disabled?: boolean
|
|
35
|
+
disabled?: boolean;
|
|
36
36
|
/** The name of the group. Submitted with its owning form as part of a name/value pair. */
|
|
37
|
-
name?: string
|
|
37
|
+
name?: string;
|
|
38
38
|
/** When `true`, indicates that the user must check a radio item before the owning form can be submitted. */
|
|
39
|
-
required?: boolean
|
|
39
|
+
required?: boolean;
|
|
40
40
|
/** The controlled value of the radio item to check. Should be used in conjunction with onValueChange. */
|
|
41
|
-
value?: string
|
|
41
|
+
value?: string;
|
|
42
42
|
/** Event handler called when the value changes. */
|
|
43
|
-
onValueChange?: (
|
|
43
|
+
onValueChange?: (value: string) => void;
|
|
44
44
|
/** The orientation of the component. */
|
|
45
|
-
orientation?: "horizontal" | "vertical"
|
|
45
|
+
orientation?: "horizontal" | "vertical";
|
|
46
46
|
/** The reading direction of the radio group. If omitted, inherits globally from DirectionProvider or assumes LTR (left-to-right) reading mode. */
|
|
47
|
-
dir?: "ltr" | "rtl"
|
|
47
|
+
dir?: "ltr" | "rtl";
|
|
48
48
|
/** When true, keyboard navigation will loop from last item to first, and vice versa.
|
|
49
49
|
* @default true
|
|
50
50
|
*/
|
|
51
|
-
loop?: boolean
|
|
51
|
+
loop?: boolean;
|
|
52
52
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -6,58 +6,58 @@ import { LabelProps } from './radio-group-item-label';
|
|
|
6
6
|
import { GroupLabelProps } from './radio-group-label';
|
|
7
7
|
|
|
8
8
|
export declare const RadioGroup: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-radio-group').RadioGroupProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
9
|
-
defaultValue?: string
|
|
10
|
-
disabled?: boolean
|
|
11
|
-
name?: string
|
|
12
|
-
required?: boolean
|
|
13
|
-
value?: string
|
|
14
|
-
onValueChange?: (
|
|
15
|
-
orientation?: "horizontal" | "vertical"
|
|
16
|
-
dir?: "ltr" | "rtl"
|
|
17
|
-
loop?: boolean
|
|
9
|
+
defaultValue?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
name?: string;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
value?: string;
|
|
14
|
+
onValueChange?: (value: string) => void;
|
|
15
|
+
orientation?: "horizontal" | "vertical";
|
|
16
|
+
dir?: "ltr" | "rtl";
|
|
17
|
+
loop?: boolean;
|
|
18
18
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
19
19
|
Item: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
20
20
|
Trigger: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-radio-group').RadioGroupItemProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
21
|
-
id?: string
|
|
21
|
+
id?: string;
|
|
22
22
|
value: string;
|
|
23
23
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
24
24
|
Indicator: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-radio-group').RadioGroupIndicatorProps & import('react').RefAttributes<HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
|
|
25
25
|
Label: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-label').LabelProps & import('react').RefAttributes<HTMLLabelElement>, "ref"> & {
|
|
26
|
-
disabled?: boolean
|
|
27
|
-
isRequired?: boolean
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
isRequired?: boolean;
|
|
28
28
|
} & import('react').RefAttributes<HTMLLabelElement>, "ref"> & {
|
|
29
|
-
htmlFor?: string
|
|
29
|
+
htmlFor?: string;
|
|
30
30
|
} & import('react').RefAttributes<HTMLLabelElement>>;
|
|
31
31
|
GroupLabel: import('react').ForwardRefExoticComponent<(({
|
|
32
|
-
id?: string
|
|
33
|
-
asChild?: false
|
|
32
|
+
id?: string;
|
|
33
|
+
asChild?: false;
|
|
34
34
|
} & {
|
|
35
|
-
as?: "h2"
|
|
36
|
-
asChild?: false
|
|
35
|
+
as?: "h2";
|
|
36
|
+
asChild?: false;
|
|
37
37
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
38
|
-
id?: string
|
|
39
|
-
asChild?: false
|
|
38
|
+
id?: string;
|
|
39
|
+
asChild?: false;
|
|
40
40
|
} & {
|
|
41
|
-
as?: "h3"
|
|
42
|
-
asChild?: false
|
|
41
|
+
as?: "h3";
|
|
42
|
+
asChild?: false;
|
|
43
43
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
44
|
-
id?: string
|
|
45
|
-
asChild?: false
|
|
44
|
+
id?: string;
|
|
45
|
+
asChild?: false;
|
|
46
46
|
} & {
|
|
47
|
-
as?: "h4"
|
|
48
|
-
asChild?: false
|
|
47
|
+
as?: "h4";
|
|
48
|
+
asChild?: false;
|
|
49
49
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
50
|
-
id?: string
|
|
51
|
-
asChild?: false
|
|
50
|
+
id?: string;
|
|
51
|
+
asChild?: false;
|
|
52
52
|
} & {
|
|
53
|
-
as?: "h5"
|
|
54
|
-
asChild?: false
|
|
53
|
+
as?: "h5";
|
|
54
|
+
asChild?: false;
|
|
55
55
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
56
|
-
id?: string
|
|
57
|
-
asChild?: false
|
|
56
|
+
id?: string;
|
|
57
|
+
asChild?: false;
|
|
58
58
|
} & {
|
|
59
|
-
as?: "h6"
|
|
60
|
-
asChild?: false
|
|
59
|
+
as?: "h6";
|
|
60
|
+
asChild?: false;
|
|
61
61
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">)) & import('react').RefAttributes<HTMLButtonElement>>;
|
|
62
62
|
};
|
|
63
63
|
export type RadioGroupProps = {
|
|
@@ -7,9 +7,9 @@ export type LabelProps = React.ComponentPropsWithoutRef<typeof LabelPrimitive> &
|
|
|
7
7
|
};
|
|
8
8
|
/** Label for the radio button */
|
|
9
9
|
export declare const Label: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-label').LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & {
|
|
10
|
-
disabled?: boolean
|
|
11
|
-
isRequired?: boolean
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
isRequired?: boolean;
|
|
12
12
|
} & React.RefAttributes<HTMLLabelElement>, "ref"> & {
|
|
13
13
|
/** This is used to connect label and trigger. The connection is made automatically, but if you override the id in the trigger, you will need to provide the id here as well. */
|
|
14
|
-
htmlFor?: string
|
|
14
|
+
htmlFor?: string;
|
|
15
15
|
} & React.RefAttributes<HTMLLabelElement>>;
|