@telia/teddy 0.7.53 → 0.7.54
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/select-group.d.ts +2 -2
- 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 +57 -58
- package/dist/components/select/index.d.ts +0 -56
- package/dist/components/select/select-root.d.ts +0 -54
- package/dist/drawer.module-C4NZoZUc.cjs +0 -15
- package/dist/drawer.module-jxIDBwQn.js +0 -16
|
@@ -20,29 +20,29 @@ export type TriggerProps = Omit<React.ComponentPropsWithoutRef<typeof Button>, '
|
|
|
20
20
|
children?: React.ReactNode;
|
|
21
21
|
};
|
|
22
22
|
export declare const Trigger: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & 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 & {
|
|
23
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
23
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
24
24
|
} & {
|
|
25
|
-
asChild?: boolean
|
|
26
|
-
loading?: boolean
|
|
27
|
-
fullWidth?: boolean
|
|
28
|
-
size?:
|
|
29
|
-
variant?:
|
|
30
|
-
borderStyle?:
|
|
25
|
+
asChild?: boolean;
|
|
26
|
+
loading?: boolean;
|
|
27
|
+
fullWidth?: boolean;
|
|
28
|
+
size?: import('../button/button').Size;
|
|
29
|
+
variant?: import('../button/button').Variant;
|
|
30
|
+
borderStyle?: "dashed" | "default";
|
|
31
31
|
} & {
|
|
32
32
|
iconOnly: true;
|
|
33
33
|
"aria-label": string;
|
|
34
34
|
} & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & 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 & {
|
|
35
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
35
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
36
36
|
} & {
|
|
37
|
-
asChild?: boolean
|
|
38
|
-
loading?: boolean
|
|
39
|
-
fullWidth?: boolean
|
|
40
|
-
size?:
|
|
41
|
-
variant?:
|
|
42
|
-
borderStyle?:
|
|
37
|
+
asChild?: boolean;
|
|
38
|
+
loading?: boolean;
|
|
39
|
+
fullWidth?: boolean;
|
|
40
|
+
size?: import('../button/button').Size;
|
|
41
|
+
variant?: import('../button/button').Variant;
|
|
42
|
+
borderStyle?: "dashed" | "default";
|
|
43
43
|
} & {
|
|
44
|
-
iconOnly?: false
|
|
45
|
-
"aria-label"?: string
|
|
44
|
+
iconOnly?: false;
|
|
45
|
+
"aria-label"?: string;
|
|
46
46
|
} & React.RefAttributes<HTMLButtonElement>, "ref">, "variant" | "iconOnly"> & {
|
|
47
47
|
/**
|
|
48
48
|
* The visual style of the trigger button.
|
|
@@ -54,7 +54,7 @@ export declare const Trigger: React.ForwardRefExoticComponent<Omit<Omit<Omit<Rea
|
|
|
54
54
|
*
|
|
55
55
|
* @default undefined - Uses the default Button variant
|
|
56
56
|
*/
|
|
57
|
-
variant?: ButtonProps[
|
|
57
|
+
variant?: ButtonProps["variant"] | "back";
|
|
58
58
|
/**
|
|
59
59
|
* The content of the trigger button.
|
|
60
60
|
* Typically text that indicates the action (e.g., "Flip", "See details", "Back").
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RootProps } from './flip-card-root';
|
|
1
|
+
import { Root, RootProps } from './flip-card-root';
|
|
2
2
|
import { Back, BackProps } from './flip-card-back';
|
|
3
3
|
import { Front, FrontProps } from './flip-card-front';
|
|
4
4
|
import { Trigger, TriggerProps } from './flip-card-trigger';
|
|
@@ -58,12 +58,7 @@ export type FlipCardProps = {
|
|
|
58
58
|
* </FlipCard>
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
|
-
declare const FlipCard:
|
|
62
|
-
defaultFlipped?: boolean | undefined;
|
|
63
|
-
onFlippedChange?: ((flipped: boolean) => void) | undefined;
|
|
64
|
-
flipped?: boolean | undefined;
|
|
65
|
-
'aria-label'?: string | undefined;
|
|
66
|
-
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
61
|
+
declare const FlipCard: typeof Root & {
|
|
67
62
|
/**
|
|
68
63
|
* Container for content displayed on the back of the card.
|
|
69
64
|
* This content is shown when the card is flipped.
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { IconName } from './icon';
|
|
2
|
+
|
|
3
|
+
export declare const isIconName: (value: string | null) => value is IconName;
|
|
@@ -4,17 +4,17 @@ import { InputGroupRootProps } from './input-group';
|
|
|
4
4
|
import { ClearButtonProps } from './input-clear-button';
|
|
5
5
|
|
|
6
6
|
declare const InputGroup: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
-
frameClassName?: string
|
|
8
|
-
preventGroupClickSelect?: boolean
|
|
7
|
+
frameClassName?: string;
|
|
8
|
+
preventGroupClickSelect?: boolean;
|
|
9
9
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
10
10
|
Input: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "children"> & {
|
|
11
|
-
validationState?:
|
|
12
|
-
isLoading?: boolean
|
|
13
|
-
onValueChange?: (
|
|
11
|
+
validationState?: "invalid" | "valid";
|
|
12
|
+
isLoading?: boolean;
|
|
13
|
+
onValueChange?: (value: string) => void;
|
|
14
14
|
} & import('react').RefAttributes<HTMLInputElement>>;
|
|
15
15
|
Indicator: import('react').ForwardRefExoticComponent<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
|
|
16
|
-
isValid?: boolean
|
|
17
|
-
isLoading?: boolean
|
|
16
|
+
isValid?: boolean;
|
|
17
|
+
isLoading?: boolean;
|
|
18
18
|
} & import('react').RefAttributes<SVGSVGElement>>;
|
|
19
19
|
ClearButton: import('react').ForwardRefExoticComponent<ClearButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
20
20
|
};
|
|
@@ -12,7 +12,7 @@ type InputGroupContextValue = {
|
|
|
12
12
|
export declare const InputGroupContext: React.Context<InputGroupContextValue | undefined>;
|
|
13
13
|
/** This is the element that wraps the input element gives the outline effect */
|
|
14
14
|
export declare const Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
15
|
-
frameClassName?: string
|
|
16
|
-
preventGroupClickSelect?: boolean
|
|
15
|
+
frameClassName?: string;
|
|
16
|
+
preventGroupClickSelect?: boolean;
|
|
17
17
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
export {};
|
|
@@ -15,9 +15,9 @@ export declare const Indicator: React.ForwardRefExoticComponent<Omit<React.SVGPr
|
|
|
15
15
|
/**
|
|
16
16
|
* Whether the input is invalid.
|
|
17
17
|
*/
|
|
18
|
-
isValid?: boolean
|
|
18
|
+
isValid?: boolean;
|
|
19
19
|
/**
|
|
20
20
|
* Whether the input is loading.
|
|
21
21
|
*/
|
|
22
|
-
isLoading?: boolean
|
|
22
|
+
isLoading?: boolean;
|
|
23
23
|
} & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -14,10 +14,10 @@ export type InputProps = Omit<Input, 'children'> & {
|
|
|
14
14
|
/** The input element */
|
|
15
15
|
export declare const Input: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "children"> & {
|
|
16
16
|
/** Whether the input should display its "valid" or "invalid" visual styling. */
|
|
17
|
-
validationState?: ValidationState
|
|
17
|
+
validationState?: ValidationState;
|
|
18
18
|
/** Whether to show a loading indicator. */
|
|
19
|
-
isLoading?: boolean
|
|
19
|
+
isLoading?: boolean;
|
|
20
20
|
/** Called when the value changes. */
|
|
21
|
-
onValueChange?: (
|
|
21
|
+
onValueChange?: (value: string) => void;
|
|
22
22
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
23
23
|
export {};
|
|
@@ -5,7 +5,7 @@ export type LabelProps = React.ComponentPropsWithoutRef<typeof LabelPrimitive.Ro
|
|
|
5
5
|
isRequired?: boolean;
|
|
6
6
|
};
|
|
7
7
|
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & {
|
|
8
|
-
disabled?: boolean
|
|
9
|
-
isRequired?: boolean
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
isRequired?: boolean;
|
|
10
10
|
} & React.RefAttributes<HTMLLabelElement>>;
|
|
11
11
|
export { Label };
|
|
@@ -27,22 +27,22 @@ type LinkProps = React.ComponentPropsWithoutRef<'a'> & {
|
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
declare const Link: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
30
|
-
asChild?: boolean
|
|
30
|
+
asChild?: boolean;
|
|
31
31
|
/** Disables visited styling */
|
|
32
|
-
disableVisited?: boolean
|
|
32
|
+
disableVisited?: boolean;
|
|
33
33
|
/**
|
|
34
34
|
* This sets a minimum size on the targetable area of the link. Please note
|
|
35
35
|
* it also changes display value to flex, meaning its container will behave
|
|
36
36
|
* like a block element. You can wrap this component in a flex container
|
|
37
37
|
* for additional layout control.
|
|
38
38
|
*/
|
|
39
|
-
ensureTargetArea?: boolean
|
|
39
|
+
ensureTargetArea?: boolean;
|
|
40
40
|
/**
|
|
41
41
|
* A silent link is intended to wrap an element
|
|
42
42
|
* to make it a link but not add any styling
|
|
43
43
|
* except for the pointer cursor and focus style.
|
|
44
44
|
*/
|
|
45
|
-
silent?: boolean
|
|
45
|
+
silent?: boolean;
|
|
46
46
|
variant: Variant;
|
|
47
47
|
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
48
48
|
export { Link };
|
|
@@ -4,40 +4,40 @@ import { IllustrationProps } from './list-illustration';
|
|
|
4
4
|
import { ContentProps } from './list-content';
|
|
5
5
|
|
|
6
6
|
declare const List: import('react').ForwardRefExoticComponent<Omit<Omit<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 & {
|
|
7
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
7
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
8
8
|
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
9
|
-
align?: import('../../utils/generate-styling/align').Align
|
|
10
|
-
justify?: import('../../utils/generate-styling/justify').Justify
|
|
9
|
+
align?: import('../../utils/generate-styling/align').Align;
|
|
10
|
+
justify?: import('../../utils/generate-styling/justify').Justify;
|
|
11
11
|
} & import('../../utils/generate-styling/flex').FlexLayout & {
|
|
12
12
|
asChild: true;
|
|
13
|
-
as?:
|
|
13
|
+
as?: never;
|
|
14
14
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> | Omit<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 & {
|
|
15
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
15
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
16
16
|
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
17
|
-
align?: import('../../utils/generate-styling/align').Align
|
|
18
|
-
justify?: import('../../utils/generate-styling/justify').Justify
|
|
17
|
+
align?: import('../../utils/generate-styling/align').Align;
|
|
18
|
+
justify?: import('../../utils/generate-styling/justify').Justify;
|
|
19
19
|
} & import('../../utils/generate-styling/flex').FlexLayout & {
|
|
20
|
-
as?: "span"
|
|
21
|
-
asChild?: false
|
|
20
|
+
as?: "span";
|
|
21
|
+
asChild?: false;
|
|
22
22
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> | Omit<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 & {
|
|
23
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
23
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
24
24
|
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
25
|
-
align?: import('../../utils/generate-styling/align').Align
|
|
26
|
-
justify?: import('../../utils/generate-styling/justify').Justify
|
|
25
|
+
align?: import('../../utils/generate-styling/align').Align;
|
|
26
|
+
justify?: import('../../utils/generate-styling/justify').Justify;
|
|
27
27
|
} & import('../../utils/generate-styling/flex').FlexLayout & {
|
|
28
28
|
as: "div";
|
|
29
|
-
asChild?: false
|
|
29
|
+
asChild?: false;
|
|
30
30
|
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref">, "as"> & {
|
|
31
|
-
layout?: import('./list').Layout
|
|
32
|
-
variant?: import('./list').Variant
|
|
33
|
-
isSubcomponent?: boolean
|
|
34
|
-
gapSize?: "small" | "large"
|
|
31
|
+
layout?: import('./list').Layout;
|
|
32
|
+
variant?: import('./list').Variant;
|
|
33
|
+
isSubcomponent?: boolean;
|
|
34
|
+
gapSize?: "small" | "large";
|
|
35
35
|
} & 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 & {
|
|
36
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
36
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
37
37
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
38
38
|
Item: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & import('react').RefAttributes<HTMLLIElement>>;
|
|
39
39
|
Illustration: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
40
|
-
variant?: import('./list').Variant
|
|
40
|
+
variant?: import('./list').Variant;
|
|
41
41
|
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
42
42
|
Content: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
43
43
|
};
|
|
@@ -5,5 +5,5 @@ export type IllustrationProps = React.ComponentPropsWithoutRef<'span'> & {
|
|
|
5
5
|
variant?: Variant;
|
|
6
6
|
};
|
|
7
7
|
export declare const Illustration: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
8
|
-
variant?: Variant
|
|
8
|
+
variant?: Variant;
|
|
9
9
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -16,35 +16,35 @@ type RootContextType = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare const RootContext: React.Context<RootContextType | undefined>;
|
|
18
18
|
export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<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 & {
|
|
19
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
19
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
20
20
|
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
21
|
-
align?: import('../../utils/generate-styling/align').Align
|
|
22
|
-
justify?: import('../../utils/generate-styling/justify').Justify
|
|
21
|
+
align?: import('../../utils/generate-styling/align').Align;
|
|
22
|
+
justify?: import('../../utils/generate-styling/justify').Justify;
|
|
23
23
|
} & import('../../utils/generate-styling/flex').FlexLayout & {
|
|
24
24
|
asChild: true;
|
|
25
|
-
as?:
|
|
25
|
+
as?: never;
|
|
26
26
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<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 & {
|
|
27
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
27
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
28
28
|
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
29
|
-
align?: import('../../utils/generate-styling/align').Align
|
|
30
|
-
justify?: import('../../utils/generate-styling/justify').Justify
|
|
29
|
+
align?: import('../../utils/generate-styling/align').Align;
|
|
30
|
+
justify?: import('../../utils/generate-styling/justify').Justify;
|
|
31
31
|
} & import('../../utils/generate-styling/flex').FlexLayout & {
|
|
32
|
-
as?: "span"
|
|
33
|
-
asChild?: false
|
|
32
|
+
as?: "span";
|
|
33
|
+
asChild?: false;
|
|
34
34
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<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 & {
|
|
35
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
35
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
36
36
|
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
37
|
-
align?: import('../../utils/generate-styling/align').Align
|
|
38
|
-
justify?: import('../../utils/generate-styling/justify').Justify
|
|
37
|
+
align?: import('../../utils/generate-styling/align').Align;
|
|
38
|
+
justify?: import('../../utils/generate-styling/justify').Justify;
|
|
39
39
|
} & import('../../utils/generate-styling/flex').FlexLayout & {
|
|
40
40
|
as: "div";
|
|
41
|
-
asChild?: false
|
|
41
|
+
asChild?: false;
|
|
42
42
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "as"> & {
|
|
43
|
-
layout?: Layout
|
|
44
|
-
variant?: Variant
|
|
45
|
-
isSubcomponent?: boolean
|
|
46
|
-
gapSize?: "small" | "large"
|
|
43
|
+
layout?: Layout;
|
|
44
|
+
variant?: Variant;
|
|
45
|
+
isSubcomponent?: boolean;
|
|
46
|
+
gapSize?: "small" | "large";
|
|
47
47
|
} & 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 & {
|
|
48
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
48
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
49
49
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
50
50
|
export {};
|
|
@@ -18,8 +18,8 @@ import { IndicatorProps } from './meter-bar-indicator';
|
|
|
18
18
|
export declare const MeterBar: import('react').ForwardRefExoticComponent<RootProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
19
19
|
Indicator: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
20
20
|
value: number | null | undefined;
|
|
21
|
-
max?: number
|
|
22
|
-
color?: string
|
|
21
|
+
max?: number;
|
|
22
|
+
color?: string;
|
|
23
23
|
getValueLabel?(value: number, max: number): string;
|
|
24
24
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
25
25
|
};
|
|
@@ -12,8 +12,8 @@ export type IndicatorProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const Indicator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
14
|
value: number | null | undefined;
|
|
15
|
-
max?: number
|
|
16
|
-
color?: string
|
|
15
|
+
max?: number;
|
|
16
|
+
color?: string;
|
|
17
17
|
/** A function to get the accessible label text representing the current value in a human-readable format. If not provided, the value label will be read as the numeric value as a percentage of the max value. */
|
|
18
18
|
getValueLabel?(value: number, max: number): string;
|
|
19
19
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RootProps } from './modal-root';
|
|
1
|
+
import { Root, RootProps } from './modal-root';
|
|
2
2
|
import { Trigger, TriggerProps } from './modal-trigger';
|
|
3
3
|
import { Content, ContentProps } from './modal-content';
|
|
4
4
|
import { Title, TitleProps } from './modal-title';
|
|
@@ -59,7 +59,7 @@ type ModalProps = {
|
|
|
59
59
|
* </Modal.Content>
|
|
60
60
|
* </Modal>
|
|
61
61
|
*/
|
|
62
|
-
declare const Modal:
|
|
62
|
+
declare const Modal: typeof Root & {
|
|
63
63
|
/**
|
|
64
64
|
* Trigger component that opens the modal when clicked.
|
|
65
65
|
* Must be passed a single child component that will be used as the trigger.
|
|
@@ -6,7 +6,7 @@ type ContentProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Conten
|
|
|
6
6
|
size?: Size;
|
|
7
7
|
};
|
|
8
8
|
declare const Content: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
9
|
-
size?: Size
|
|
9
|
+
size?: Size;
|
|
10
10
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
export { Content };
|
|
12
12
|
export type { ContentProps };
|
|
@@ -4,7 +4,7 @@ type ImageProps = React.ComponentPropsWithoutRef<'img'> & {
|
|
|
4
4
|
asChild?: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const Image: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
|
|
7
|
-
asChild?: boolean
|
|
7
|
+
asChild?: boolean;
|
|
8
8
|
} & React.RefAttributes<HTMLImageElement>>;
|
|
9
9
|
export { Image };
|
|
10
10
|
export type { ImageProps };
|
|
@@ -6,7 +6,7 @@ type OverlayProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overla
|
|
|
6
6
|
container?: React.ComponentProps<typeof DialogPrimitive.Portal>['container'];
|
|
7
7
|
};
|
|
8
8
|
declare const Overlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
9
|
-
container?: React.ComponentProps<typeof DialogPrimitive.Portal>[
|
|
9
|
+
container?: React.ComponentProps<typeof DialogPrimitive.Portal>["container"];
|
|
10
10
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
export { Overlay };
|
|
12
12
|
export type { OverlayProps };
|
|
@@ -3,16 +3,16 @@ import { HeadingProps } from '../heading';
|
|
|
3
3
|
|
|
4
4
|
type TitleProps = HeadingProps['Root'];
|
|
5
5
|
declare const Title: React.ForwardRefExoticComponent<({
|
|
6
|
-
enableHyphenation?: boolean
|
|
7
|
-
variant?:
|
|
8
|
-
} & 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 & {
|
|
9
|
-
display?: import('../../utils/generate-styling').DisplayChildren
|
|
6
|
+
enableHyphenation?: boolean;
|
|
7
|
+
variant?: import('../heading/heading').HeadingVariant;
|
|
8
|
+
} & 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 & ({
|
|
9
|
+
display?: import('../../utils/generate-styling').DisplayChildren;
|
|
10
10
|
} & (({
|
|
11
11
|
asChild: true;
|
|
12
|
-
as?:
|
|
12
|
+
as?: never;
|
|
13
13
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
14
|
-
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6"
|
|
15
|
-
asChild?: false
|
|
16
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">))) & React.RefAttributes<HTMLHeadingElement>>;
|
|
14
|
+
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
15
|
+
asChild?: false;
|
|
16
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">)))))) & React.RefAttributes<HTMLHeadingElement>>;
|
|
17
17
|
export { Title };
|
|
18
18
|
export type { TitleProps };
|
package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export type DesktopProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
|
4
4
|
isSimplified?: boolean;
|
|
5
5
|
};
|
|
6
6
|
export declare const DesktopSimplified: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
-
isSimplified?: boolean
|
|
7
|
+
isSimplified?: boolean;
|
|
8
8
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -10,5 +10,5 @@ export declare const HighlightedLinks: ({ listTitle, links, item, drawerRef, }:
|
|
|
10
10
|
listTitle: string;
|
|
11
11
|
links: LinkProps[];
|
|
12
12
|
item: LinkProps;
|
|
13
|
-
drawerRef?:
|
|
13
|
+
drawerRef?: MutableRefObject<HTMLButtonElement | null>;
|
|
14
14
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { TextField } from '../../text-field';
|
|
|
3
3
|
|
|
4
4
|
export type SearchFieldProps = React.ComponentPropsWithoutRef<typeof TextField>;
|
|
5
5
|
export declare const SearchField: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<import('../../input/input-indicator').InputIndicatorProps, "isLoading" | "isValid"> & {
|
|
6
|
-
disabled?: boolean
|
|
7
|
-
readOnly?: boolean
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
readOnly?: boolean;
|
|
8
8
|
errors?: (string | null | undefined)[] | null | undefined;
|
|
9
|
-
isRequired?: boolean
|
|
9
|
+
isRequired?: boolean;
|
|
10
10
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -88,32 +88,32 @@ declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMen
|
|
|
88
88
|
/** The default top menu value
|
|
89
89
|
* @example "private" | "business"
|
|
90
90
|
*/
|
|
91
|
-
defaultTopMenuValue?: string
|
|
91
|
+
defaultTopMenuValue?: string;
|
|
92
92
|
topMenuValue?: string | undefined;
|
|
93
|
-
onTopMenuValueChange?: (
|
|
93
|
+
onTopMenuValueChange?: (value: string) => void;
|
|
94
94
|
} & React.RefAttributes<HTMLElement>> & {
|
|
95
95
|
List: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & {
|
|
96
|
-
variant?: "gray"
|
|
96
|
+
variant?: "gray";
|
|
97
97
|
/** If the list should be contained by the top menu, provide a value that matches the top menu value
|
|
98
98
|
* @example
|
|
99
99
|
* <NavigationMenu.TopMenuTrigger value="home" />
|
|
100
100
|
* <NavigationMenu.List value="home" />
|
|
101
101
|
*/
|
|
102
|
-
value?: string
|
|
102
|
+
value?: string;
|
|
103
103
|
} & React.RefAttributes<HTMLUListElement>>;
|
|
104
104
|
Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
105
105
|
Item: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>, "ref"> & {
|
|
106
|
-
defaultValue?: string
|
|
106
|
+
defaultValue?: string;
|
|
107
107
|
} & React.RefAttributes<HTMLLIElement>>;
|
|
108
108
|
Trigger: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
109
|
-
variant?: "
|
|
110
|
-
active?: boolean
|
|
109
|
+
variant?: "default" | "small";
|
|
110
|
+
active?: boolean;
|
|
111
111
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
112
112
|
Content: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
113
|
-
variant?: "default" | "float"
|
|
113
|
+
variant?: "default" | "float";
|
|
114
114
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
115
115
|
Link: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & {
|
|
116
|
-
variant?: "
|
|
116
|
+
variant?: "default" | "small" | "button";
|
|
117
117
|
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
118
118
|
Indicator: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
119
119
|
Viewport: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -122,8 +122,8 @@ declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMen
|
|
|
122
122
|
TopMenuItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
123
123
|
TopMenuTrigger: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
124
124
|
value: string;
|
|
125
|
-
active?: boolean
|
|
126
|
-
asChild?: boolean
|
|
125
|
+
active?: boolean;
|
|
126
|
+
asChild?: boolean;
|
|
127
127
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
128
128
|
};
|
|
129
129
|
type NavigationMenuProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Content, ContentProps } from './notabene.content';
|
|
2
2
|
import { Heading, HeadingProps } from './notabene-heading';
|
|
3
3
|
import { Icon, IconProps } from './notabene-icon';
|
|
4
|
-
import { RootProps } from './notabene-root';
|
|
4
|
+
import { Root, RootProps } from './notabene-root';
|
|
5
5
|
|
|
6
6
|
type NotabeneProps = {
|
|
7
7
|
Root: RootProps;
|
|
@@ -26,7 +26,7 @@ type NotabeneProps = {
|
|
|
26
26
|
* </Notabene.Content>
|
|
27
27
|
* </Notabene>
|
|
28
28
|
*/
|
|
29
|
-
declare const Notabene:
|
|
29
|
+
declare const Notabene: typeof Root & {
|
|
30
30
|
/**
|
|
31
31
|
* Content component displays the detailed message.
|
|
32
32
|
*
|
|
@@ -3,8 +3,8 @@ import { Icon as PrimitiveIcon } from '../icon';
|
|
|
3
3
|
|
|
4
4
|
export type IconProps = Partial<React.ComponentPropsWithoutRef<typeof PrimitiveIcon>>;
|
|
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>>;
|