@telia/teddy 0.0.71 → 0.0.73
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/breadcrumbs/breadcrumbs-link.d.ts +1 -1
- package/dist/components/breadcrumbs/index.d.ts +1 -1
- package/dist/components/card/card-button.cjs +2 -2
- package/dist/components/card/card-button.js +2 -2
- package/dist/components/card/card-link.d.ts +1 -1
- package/dist/components/card/card-price.cjs +20 -28
- package/dist/components/card/card-price.d.ts +4 -1
- package/dist/components/card/card-price.js +21 -29
- package/dist/components/card/card.cjs +50 -49
- package/dist/components/card/card.d.ts +1 -1
- package/dist/components/card/card.js +50 -49
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/chip/chip-indicator.d.ts +2 -2
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/expandable-card/expandable-card-button.d.ts +2 -2
- package/dist/components/expandable-card/index.d.ts +3 -3
- package/dist/components/index.cjs +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/modal/modal.cjs +1 -0
- package/dist/components/modal/modal.js +1 -0
- package/dist/components/navigation-card/index.cjs +10 -0
- package/dist/components/navigation-card/index.d.ts +15 -0
- package/dist/components/navigation-card/index.js +10 -0
- package/dist/components/navigation-card/navigation-card-content.cjs +49 -0
- package/dist/components/navigation-card/navigation-card-content.d.ts +10 -0
- package/dist/components/navigation-card/navigation-card-content.js +49 -0
- package/dist/components/navigation-card/navigation-card-root.cjs +32 -0
- package/dist/components/navigation-card/navigation-card-root.d.ts +6 -0
- package/dist/components/navigation-card/navigation-card-root.js +32 -0
- package/dist/components/navigation-menu/navigation-menu.cjs +1 -0
- package/dist/components/navigation-menu/navigation-menu.js +1 -0
- package/dist/components/notabene/notabene-icon.d.ts +2 -2
- package/dist/components/notification/notification.d.ts +2 -2
- package/dist/components/radio-card-group/radio-card-group-content.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-content.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-body.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-body.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-title.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-title.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-item.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item.js +1 -0
- package/dist/components/scroll-area/index.d.ts +2 -2
- package/dist/components/scroll-area/scroll-area-bar.cjs +71 -29
- package/dist/components/scroll-area/scroll-area-bar.js +71 -29
- package/dist/components/scroll-area/scroll-area-button.d.ts +4 -4
- package/dist/components/scroll-area/scroll-area-item.cjs +13 -2
- package/dist/components/scroll-area/scroll-area-item.js +13 -2
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tabs/tabs-scroll-button.d.ts +2 -2
- package/dist/components/text-field/index.d.ts +2 -2
- package/dist/components/text-field/text-field-button.d.ts +2 -2
- package/dist/components/toggle/toggle.d.ts +2 -2
- package/dist/main.cjs +2 -0
- package/dist/main.js +2 -0
- package/dist/style.css +1133 -1087
- package/dist/utils/generate-styling/grid.d.ts +24 -24
- package/dist/utils/generate-styling/index.d.ts +16 -16
- package/dist/utils/generate-styling/util.d.ts +2 -2
- package/package.json +2 -1
|
@@ -9,7 +9,7 @@ export declare const Link: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.
|
|
|
9
9
|
disableVisited?: boolean | undefined;
|
|
10
10
|
ensureTargetArea?: boolean | undefined;
|
|
11
11
|
silent?: boolean | undefined;
|
|
12
|
-
variant: "text" | "
|
|
12
|
+
variant: "text" | "text-negative" | "standalone" | "standalone-negative" | "navigation" | "navigation-negative";
|
|
13
13
|
} & React.RefAttributes<HTMLAnchorElement>, "ref">, "variant"> & {
|
|
14
14
|
home?: boolean | undefined;
|
|
15
15
|
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -15,7 +15,7 @@ export declare const Breadcrumbs: import('react').ForwardRefExoticComponent<Omit
|
|
|
15
15
|
disableVisited?: boolean | undefined;
|
|
16
16
|
ensureTargetArea?: boolean | undefined;
|
|
17
17
|
silent?: boolean | undefined;
|
|
18
|
-
variant: "text" | "
|
|
18
|
+
variant: "text" | "text-negative" | "standalone" | "standalone-negative" | "navigation" | "navigation-negative";
|
|
19
19
|
} & import('react').RefAttributes<HTMLAnchorElement>, "ref">, "variant"> & {
|
|
20
20
|
home?: boolean | undefined;
|
|
21
21
|
} & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
@@ -19,7 +19,7 @@ function getButtonVariant(variant) {
|
|
|
19
19
|
const Button = React.forwardRef(
|
|
20
20
|
({ className, iconOnly, disclaimer, ...props }, forwardRef) => {
|
|
21
21
|
const context = React.useContext(components_card_card.RootContext);
|
|
22
|
-
const wrapperClasses = clsx(
|
|
22
|
+
const wrapperClasses = clsx(components_card_card.styles[`${components_card_card.actionElementIdentifier}-wrapper`]);
|
|
23
23
|
const classes = clsx(
|
|
24
24
|
[components_card_card.styles[`${components_card_card.rootClassName}__button`]],
|
|
25
25
|
components_card_card.styles[components_card_card.actionElementIdentifier],
|
|
@@ -29,7 +29,7 @@ const Button = React.forwardRef(
|
|
|
29
29
|
className
|
|
30
30
|
);
|
|
31
31
|
const ref = utils_composeRefs.composeRefs(context == null ? void 0 : context.buttonRef, forwardRef);
|
|
32
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, {
|
|
32
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { className: wrapperClasses, children: [
|
|
33
33
|
disclaimer && /* @__PURE__ */ jsxRuntime.jsx(components_text_text.Text, { mr: "100", variant: "additional-100", children: disclaimer }),
|
|
34
34
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35
35
|
components_button_button.Button,
|
|
@@ -17,7 +17,7 @@ function getButtonVariant(variant) {
|
|
|
17
17
|
const Button = React__default.forwardRef(
|
|
18
18
|
({ className, iconOnly, disclaimer, ...props }, forwardRef) => {
|
|
19
19
|
const context = React__default.useContext(RootContext);
|
|
20
|
-
const wrapperClasses = clsx(
|
|
20
|
+
const wrapperClasses = clsx(styles[`${actionElementIdentifier}-wrapper`]);
|
|
21
21
|
const classes = clsx(
|
|
22
22
|
[styles[`${rootClassName}__button`]],
|
|
23
23
|
styles[actionElementIdentifier],
|
|
@@ -27,7 +27,7 @@ const Button = React__default.forwardRef(
|
|
|
27
27
|
className
|
|
28
28
|
);
|
|
29
29
|
const ref = composeRefs(context == null ? void 0 : context.buttonRef, forwardRef);
|
|
30
|
-
return /* @__PURE__ */ jsxs(Flex, {
|
|
30
|
+
return /* @__PURE__ */ jsxs(Flex, { className: wrapperClasses, children: [
|
|
31
31
|
disclaimer && /* @__PURE__ */ jsx(Text, { mr: "100", variant: "additional-100", children: disclaimer }),
|
|
32
32
|
/* @__PURE__ */ jsx(
|
|
33
33
|
Button$1,
|
|
@@ -7,5 +7,5 @@ export declare const Link: React.ForwardRefExoticComponent<Omit<Omit<React.Detai
|
|
|
7
7
|
disableVisited?: boolean | undefined;
|
|
8
8
|
ensureTargetArea?: boolean | undefined;
|
|
9
9
|
silent?: boolean | undefined;
|
|
10
|
-
variant: "text" | "
|
|
10
|
+
variant: "text" | "text-negative" | "standalone" | "standalone-negative" | "navigation" | "navigation-negative";
|
|
11
11
|
} & React.RefAttributes<HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -6,37 +6,29 @@ const clsx = require("clsx");
|
|
|
6
6
|
const components_card_card = require("./card.cjs");
|
|
7
7
|
const components_flex_flex = require("../flex/flex.cjs");
|
|
8
8
|
const components_text_text = require("../text/text.cjs");
|
|
9
|
+
const tokens_color_variables = require("../../tokens/color/variables.cjs");
|
|
9
10
|
const Price = React.forwardRef(
|
|
10
|
-
({ className, pricePrefix, priceText }, forwardRef) => {
|
|
11
|
+
({ className, pricePrefix, priceText, variant = "default", textAbovePrice, textBelowPrice }, forwardRef) => {
|
|
11
12
|
const rootColorDotsClass = `${components_card_card.rootClassName}__price`;
|
|
12
13
|
const classes = clsx([components_card_card.styles[rootColorDotsClass]], className);
|
|
13
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
14
|
-
|
|
15
|
-
{
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
as: "span",
|
|
32
|
-
ml: "100",
|
|
33
|
-
className: components_card_card.styles[`${rootColorDotsClass}--big`],
|
|
34
|
-
children: priceText
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
] })
|
|
38
|
-
}
|
|
39
|
-
);
|
|
14
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { flexGrow: "1", mt: "auto", mb: "100", ref: forwardRef, className: classes, direction: "column", gap: "10", children: [
|
|
15
|
+
textAbovePrice ? /* @__PURE__ */ jsxRuntime.jsx(components_text_text.Text, { variant: "additional-100", as: "p", faded: true, children: textAbovePrice }) : null,
|
|
16
|
+
/* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { direction: "row", align: "baseline", flexGrow: "1", wrap: "nowrap", children: [
|
|
17
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_text_text.Text, { variant: "paragraph-200", as: "p", faded: true, children: pricePrefix ? `${pricePrefix} ` : null }),
|
|
18
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19
|
+
components_text_text.Text,
|
|
20
|
+
{
|
|
21
|
+
variant: "paragraph-100-bold",
|
|
22
|
+
as: "span",
|
|
23
|
+
ml: "100",
|
|
24
|
+
color: variant === "purple" ? tokens_color_variables.teddyColorBrandCorePurple : void 0,
|
|
25
|
+
className: components_card_card.styles[`${rootColorDotsClass}--big`],
|
|
26
|
+
children: priceText
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
] }),
|
|
30
|
+
textBelowPrice ? /* @__PURE__ */ jsxRuntime.jsx(components_text_text.Text, { variant: "additional-100", as: "p", faded: true, children: textBelowPrice }) : null
|
|
31
|
+
] });
|
|
40
32
|
}
|
|
41
33
|
);
|
|
42
34
|
Price.displayName = "Price";
|
|
@@ -1,40 +1,32 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { s as styles, rootClassName } from "./card.js";
|
|
5
5
|
import { Flex } from "../flex/flex.js";
|
|
6
6
|
import { Text } from "../text/text.js";
|
|
7
|
+
import { teddyColorBrandCorePurple } from "../../tokens/color/variables.js";
|
|
7
8
|
const Price = React__default.forwardRef(
|
|
8
|
-
({ className, pricePrefix, priceText }, forwardRef) => {
|
|
9
|
+
({ className, pricePrefix, priceText, variant = "default", textAbovePrice, textBelowPrice }, forwardRef) => {
|
|
9
10
|
const rootColorDotsClass = `${rootClassName}__price`;
|
|
10
11
|
const classes = clsx([styles[rootColorDotsClass]], className);
|
|
11
|
-
return /* @__PURE__ */
|
|
12
|
-
|
|
13
|
-
{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
as: "span",
|
|
30
|
-
ml: "100",
|
|
31
|
-
className: styles[`${rootColorDotsClass}--big`],
|
|
32
|
-
children: priceText
|
|
33
|
-
}
|
|
34
|
-
)
|
|
35
|
-
] })
|
|
36
|
-
}
|
|
37
|
-
);
|
|
12
|
+
return /* @__PURE__ */ jsxs(Flex, { flexGrow: "1", mt: "auto", mb: "100", ref: forwardRef, className: classes, direction: "column", gap: "10", children: [
|
|
13
|
+
textAbovePrice ? /* @__PURE__ */ jsx(Text, { variant: "additional-100", as: "p", faded: true, children: textAbovePrice }) : null,
|
|
14
|
+
/* @__PURE__ */ jsxs(Flex, { direction: "row", align: "baseline", flexGrow: "1", wrap: "nowrap", children: [
|
|
15
|
+
/* @__PURE__ */ jsx(Text, { variant: "paragraph-200", as: "p", faded: true, children: pricePrefix ? `${pricePrefix} ` : null }),
|
|
16
|
+
/* @__PURE__ */ jsx(
|
|
17
|
+
Text,
|
|
18
|
+
{
|
|
19
|
+
variant: "paragraph-100-bold",
|
|
20
|
+
as: "span",
|
|
21
|
+
ml: "100",
|
|
22
|
+
color: variant === "purple" ? teddyColorBrandCorePurple : void 0,
|
|
23
|
+
className: styles[`${rootColorDotsClass}--big`],
|
|
24
|
+
children: priceText
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
] }),
|
|
28
|
+
textBelowPrice ? /* @__PURE__ */ jsx(Text, { variant: "additional-100", as: "p", faded: true, children: textBelowPrice }) : null
|
|
29
|
+
] });
|
|
38
30
|
}
|
|
39
31
|
);
|
|
40
32
|
Price.displayName = "Price";
|
|
@@ -7,55 +7,56 @@ const utils_composeEventHandlers = require("../../utils/composeEventHandlers.cjs
|
|
|
7
7
|
const components_grid_grid = require("../grid/grid.cjs");
|
|
8
8
|
const tokens_color_variables = require("../../tokens/color/variables.cjs");
|
|
9
9
|
const styles = {
|
|
10
|
-
"teddy-card": "_teddy-
|
|
11
|
-
"teddy-card__slot": "_teddy-
|
|
12
|
-
"teddy-card__slot--bottom": "_teddy-card__slot--
|
|
13
|
-
"teddy-card__slot--center": "_teddy-card__slot--
|
|
14
|
-
"teddy-card__slot--no-translate": "_teddy-card__slot--no-
|
|
15
|
-
"teddy-card--shadow": "_teddy-card--
|
|
16
|
-
"teddy-card__action": "_teddy-
|
|
17
|
-
"teddy-card__action--disabled": "_teddy-card__action--
|
|
18
|
-
"teddy-card--border": "_teddy-card--
|
|
19
|
-
"teddy-
|
|
20
|
-
"teddy-
|
|
21
|
-
"teddy-
|
|
22
|
-
"teddy-
|
|
23
|
-
"teddy-
|
|
24
|
-
"teddy-
|
|
25
|
-
"teddy-card__footer": "_teddy-
|
|
26
|
-
"teddy-card__overline": "_teddy-
|
|
27
|
-
"teddy-card__description": "_teddy-
|
|
28
|
-
"teddy-card__color-dots": "_teddy-card__color-
|
|
29
|
-
"teddy-card__availability": "_teddy-
|
|
30
|
-
"teddy-card__price": "_teddy-
|
|
31
|
-
"teddy-card--default": "_teddy-card--
|
|
32
|
-
"teddy-card--navigation-vertical": "_teddy-card--navigation-
|
|
33
|
-
"teddy-card--navigation-horizontal-small": "_teddy-card--navigation-horizontal-
|
|
34
|
-
"teddy-card--navigation-horizontal-
|
|
35
|
-
"teddy-card--
|
|
36
|
-
"teddy-
|
|
37
|
-
"teddy-
|
|
38
|
-
"teddy-card--purple-
|
|
39
|
-
"teddy-card--
|
|
40
|
-
"teddy-card--
|
|
41
|
-
"teddy-card--
|
|
42
|
-
"teddy-card--
|
|
43
|
-
"teddy-
|
|
44
|
-
"teddy-
|
|
45
|
-
"teddy-
|
|
46
|
-
"teddy-
|
|
47
|
-
"teddy-
|
|
48
|
-
"teddy-card__inset
|
|
49
|
-
"teddy-card__inset--
|
|
50
|
-
"teddy-card__inset--
|
|
51
|
-
"teddy-card__inset--
|
|
52
|
-
"teddy-
|
|
53
|
-
"teddy-card__availability--
|
|
54
|
-
"teddy-card__availability--
|
|
55
|
-
"teddy-card__availability--
|
|
56
|
-
"teddy-card__availability--
|
|
57
|
-
"teddy-card__availability--
|
|
58
|
-
"teddy-card__availability--
|
|
10
|
+
"teddy-card": "_teddy-card_1cl9t_3",
|
|
11
|
+
"teddy-card__slot": "_teddy-card__slot_1cl9t_13",
|
|
12
|
+
"teddy-card__slot--bottom": "_teddy-card__slot--bottom_1cl9t_16",
|
|
13
|
+
"teddy-card__slot--center": "_teddy-card__slot--center_1cl9t_19",
|
|
14
|
+
"teddy-card__slot--no-translate": "_teddy-card__slot--no-translate_1cl9t_25",
|
|
15
|
+
"teddy-card--shadow": "_teddy-card--shadow_1cl9t_44",
|
|
16
|
+
"teddy-card__action": "_teddy-card__action_1cl9t_48",
|
|
17
|
+
"teddy-card__action--disabled": "_teddy-card__action--disabled_1cl9t_48",
|
|
18
|
+
"teddy-card--border": "_teddy-card--border_1cl9t_55",
|
|
19
|
+
"teddy-card__action-wrapper": "_teddy-card__action-wrapper_1cl9t_58",
|
|
20
|
+
"teddy-card--layout": "_teddy-card--layout_1cl9t_61",
|
|
21
|
+
"teddy-card__illustration": "_teddy-card__illustration_1cl9t_61",
|
|
22
|
+
"teddy-card__carousel": "_teddy-card__carousel_1cl9t_64",
|
|
23
|
+
"teddy-card__content": "_teddy-card__content_1cl9t_67",
|
|
24
|
+
"teddy-card__heading": "_teddy-card__heading_1cl9t_70",
|
|
25
|
+
"teddy-card__footer": "_teddy-card__footer_1cl9t_76",
|
|
26
|
+
"teddy-card__overline": "_teddy-card__overline_1cl9t_79",
|
|
27
|
+
"teddy-card__description": "_teddy-card__description_1cl9t_82",
|
|
28
|
+
"teddy-card__color-dots": "_teddy-card__color-dots_1cl9t_85",
|
|
29
|
+
"teddy-card__availability": "_teddy-card__availability_1cl9t_88",
|
|
30
|
+
"teddy-card__price": "_teddy-card__price_1cl9t_91",
|
|
31
|
+
"teddy-card--default": "_teddy-card--default_1cl9t_94",
|
|
32
|
+
"teddy-card--navigation-vertical": "_teddy-card--navigation-vertical_1cl9t_99",
|
|
33
|
+
"teddy-card--navigation-horizontal-small": "_teddy-card--navigation-horizontal-small_1cl9t_118",
|
|
34
|
+
"teddy-card--navigation-horizontal-small-centered": "_teddy-card--navigation-horizontal-small-centered_1cl9t_127",
|
|
35
|
+
"teddy-card--navigation-horizontal-large": "_teddy-card--navigation-horizontal-large_1cl9t_144",
|
|
36
|
+
"teddy-card--rich-card": "_teddy-card--rich-card_1cl9t_156",
|
|
37
|
+
"teddy-card__line": "_teddy-card__line_1cl9t_174",
|
|
38
|
+
"teddy-card--purple-light": "_teddy-card--purple-light_1cl9t_178",
|
|
39
|
+
"teddy-card--purple-dark": "_teddy-card--purple-dark_1cl9t_192",
|
|
40
|
+
"teddy-card--white": "_teddy-card--white_1cl9t_211",
|
|
41
|
+
"teddy-card--gray": "_teddy-card--gray_1cl9t_225",
|
|
42
|
+
"teddy-card--beige": "_teddy-card--beige_1cl9t_239",
|
|
43
|
+
"teddy-card--product": "_teddy-card--product_1cl9t_253",
|
|
44
|
+
"teddy-card__price--big": "_teddy-card__price--big_1cl9t_313",
|
|
45
|
+
"teddy-card__image--as-background": "_teddy-card__image--as-background_1cl9t_316",
|
|
46
|
+
"teddy-card--background-image": "_teddy-card--background-image_1cl9t_322",
|
|
47
|
+
"teddy-card__illustration--rounded": "_teddy-card__illustration--rounded_1cl9t_327",
|
|
48
|
+
"teddy-card__inset": "_teddy-card__inset_1cl9t_331",
|
|
49
|
+
"teddy-card__inset--top": "_teddy-card__inset--top_1cl9t_334",
|
|
50
|
+
"teddy-card__inset--left": "_teddy-card__inset--left_1cl9t_337",
|
|
51
|
+
"teddy-card__inset--right": "_teddy-card__inset--right_1cl9t_340",
|
|
52
|
+
"teddy-card__inset--bottom": "_teddy-card__inset--bottom_1cl9t_343",
|
|
53
|
+
"teddy-card__availability--badge": "_teddy-card__availability--badge_1cl9t_358",
|
|
54
|
+
"teddy-card__availability--success": "_teddy-card__availability--success_1cl9t_361",
|
|
55
|
+
"teddy-card__availability--warning": "_teddy-card__availability--warning_1cl9t_364",
|
|
56
|
+
"teddy-card__availability--error": "_teddy-card__availability--error_1cl9t_367",
|
|
57
|
+
"teddy-card__availability--special": "_teddy-card__availability--special_1cl9t_370",
|
|
58
|
+
"teddy-card__availability--neutral": "_teddy-card__availability--neutral_1cl9t_373",
|
|
59
|
+
"teddy-card__availability--information": "_teddy-card__availability--information_1cl9t_376"
|
|
59
60
|
};
|
|
60
61
|
const rootClassName = "teddy-card";
|
|
61
62
|
const actionElementIdentifier = `${rootClassName}__action`;
|
|
@@ -4,7 +4,7 @@ import { Variant } from './utils';
|
|
|
4
4
|
|
|
5
5
|
export declare const rootClassName = "teddy-card";
|
|
6
6
|
export declare const actionElementIdentifier = "teddy-card__action";
|
|
7
|
-
export type Layout = 'navigation-vertical' | 'navigation-horizontal-small' | 'navigation-horizontal-large' | 'rich-card' | 'default' | 'product';
|
|
7
|
+
export type Layout = 'navigation-vertical' | 'navigation-horizontal-small' | 'navigation-horizontal-small-centered' | 'navigation-horizontal-large' | 'rich-card' | 'default' | 'product';
|
|
8
8
|
type Gradient = 'light' | 'dark' | 'default';
|
|
9
9
|
export type CardType = 'regular' | 'product';
|
|
10
10
|
export declare const RootContext: React.Context<{
|
|
@@ -5,55 +5,56 @@ import { composeEventHandlers } from "../../utils/composeEventHandlers.js";
|
|
|
5
5
|
import { Grid } from "../grid/grid.js";
|
|
6
6
|
import { teddyColorTransparentWhite850, teddyColorTransparentWhite800, teddyColorTransparentWhite100, teddyColorTransparentBlack600, teddyColorTransparentBlack200 } from "../../tokens/color/variables.js";
|
|
7
7
|
const styles = {
|
|
8
|
-
"teddy-card": "_teddy-
|
|
9
|
-
"teddy-card__slot": "_teddy-
|
|
10
|
-
"teddy-card__slot--bottom": "_teddy-card__slot--
|
|
11
|
-
"teddy-card__slot--center": "_teddy-card__slot--
|
|
12
|
-
"teddy-card__slot--no-translate": "_teddy-card__slot--no-
|
|
13
|
-
"teddy-card--shadow": "_teddy-card--
|
|
14
|
-
"teddy-card__action": "_teddy-
|
|
15
|
-
"teddy-card__action--disabled": "_teddy-card__action--
|
|
16
|
-
"teddy-card--border": "_teddy-card--
|
|
17
|
-
"teddy-
|
|
18
|
-
"teddy-
|
|
19
|
-
"teddy-
|
|
20
|
-
"teddy-
|
|
21
|
-
"teddy-
|
|
22
|
-
"teddy-
|
|
23
|
-
"teddy-card__footer": "_teddy-
|
|
24
|
-
"teddy-card__overline": "_teddy-
|
|
25
|
-
"teddy-card__description": "_teddy-
|
|
26
|
-
"teddy-card__color-dots": "_teddy-card__color-
|
|
27
|
-
"teddy-card__availability": "_teddy-
|
|
28
|
-
"teddy-card__price": "_teddy-
|
|
29
|
-
"teddy-card--default": "_teddy-card--
|
|
30
|
-
"teddy-card--navigation-vertical": "_teddy-card--navigation-
|
|
31
|
-
"teddy-card--navigation-horizontal-small": "_teddy-card--navigation-horizontal-
|
|
32
|
-
"teddy-card--navigation-horizontal-
|
|
33
|
-
"teddy-card--
|
|
34
|
-
"teddy-
|
|
35
|
-
"teddy-
|
|
36
|
-
"teddy-card--purple-
|
|
37
|
-
"teddy-card--
|
|
38
|
-
"teddy-card--
|
|
39
|
-
"teddy-card--
|
|
40
|
-
"teddy-card--
|
|
41
|
-
"teddy-
|
|
42
|
-
"teddy-
|
|
43
|
-
"teddy-
|
|
44
|
-
"teddy-
|
|
45
|
-
"teddy-
|
|
46
|
-
"teddy-card__inset
|
|
47
|
-
"teddy-card__inset--
|
|
48
|
-
"teddy-card__inset--
|
|
49
|
-
"teddy-card__inset--
|
|
50
|
-
"teddy-
|
|
51
|
-
"teddy-card__availability--
|
|
52
|
-
"teddy-card__availability--
|
|
53
|
-
"teddy-card__availability--
|
|
54
|
-
"teddy-card__availability--
|
|
55
|
-
"teddy-card__availability--
|
|
56
|
-
"teddy-card__availability--
|
|
8
|
+
"teddy-card": "_teddy-card_1cl9t_3",
|
|
9
|
+
"teddy-card__slot": "_teddy-card__slot_1cl9t_13",
|
|
10
|
+
"teddy-card__slot--bottom": "_teddy-card__slot--bottom_1cl9t_16",
|
|
11
|
+
"teddy-card__slot--center": "_teddy-card__slot--center_1cl9t_19",
|
|
12
|
+
"teddy-card__slot--no-translate": "_teddy-card__slot--no-translate_1cl9t_25",
|
|
13
|
+
"teddy-card--shadow": "_teddy-card--shadow_1cl9t_44",
|
|
14
|
+
"teddy-card__action": "_teddy-card__action_1cl9t_48",
|
|
15
|
+
"teddy-card__action--disabled": "_teddy-card__action--disabled_1cl9t_48",
|
|
16
|
+
"teddy-card--border": "_teddy-card--border_1cl9t_55",
|
|
17
|
+
"teddy-card__action-wrapper": "_teddy-card__action-wrapper_1cl9t_58",
|
|
18
|
+
"teddy-card--layout": "_teddy-card--layout_1cl9t_61",
|
|
19
|
+
"teddy-card__illustration": "_teddy-card__illustration_1cl9t_61",
|
|
20
|
+
"teddy-card__carousel": "_teddy-card__carousel_1cl9t_64",
|
|
21
|
+
"teddy-card__content": "_teddy-card__content_1cl9t_67",
|
|
22
|
+
"teddy-card__heading": "_teddy-card__heading_1cl9t_70",
|
|
23
|
+
"teddy-card__footer": "_teddy-card__footer_1cl9t_76",
|
|
24
|
+
"teddy-card__overline": "_teddy-card__overline_1cl9t_79",
|
|
25
|
+
"teddy-card__description": "_teddy-card__description_1cl9t_82",
|
|
26
|
+
"teddy-card__color-dots": "_teddy-card__color-dots_1cl9t_85",
|
|
27
|
+
"teddy-card__availability": "_teddy-card__availability_1cl9t_88",
|
|
28
|
+
"teddy-card__price": "_teddy-card__price_1cl9t_91",
|
|
29
|
+
"teddy-card--default": "_teddy-card--default_1cl9t_94",
|
|
30
|
+
"teddy-card--navigation-vertical": "_teddy-card--navigation-vertical_1cl9t_99",
|
|
31
|
+
"teddy-card--navigation-horizontal-small": "_teddy-card--navigation-horizontal-small_1cl9t_118",
|
|
32
|
+
"teddy-card--navigation-horizontal-small-centered": "_teddy-card--navigation-horizontal-small-centered_1cl9t_127",
|
|
33
|
+
"teddy-card--navigation-horizontal-large": "_teddy-card--navigation-horizontal-large_1cl9t_144",
|
|
34
|
+
"teddy-card--rich-card": "_teddy-card--rich-card_1cl9t_156",
|
|
35
|
+
"teddy-card__line": "_teddy-card__line_1cl9t_174",
|
|
36
|
+
"teddy-card--purple-light": "_teddy-card--purple-light_1cl9t_178",
|
|
37
|
+
"teddy-card--purple-dark": "_teddy-card--purple-dark_1cl9t_192",
|
|
38
|
+
"teddy-card--white": "_teddy-card--white_1cl9t_211",
|
|
39
|
+
"teddy-card--gray": "_teddy-card--gray_1cl9t_225",
|
|
40
|
+
"teddy-card--beige": "_teddy-card--beige_1cl9t_239",
|
|
41
|
+
"teddy-card--product": "_teddy-card--product_1cl9t_253",
|
|
42
|
+
"teddy-card__price--big": "_teddy-card__price--big_1cl9t_313",
|
|
43
|
+
"teddy-card__image--as-background": "_teddy-card__image--as-background_1cl9t_316",
|
|
44
|
+
"teddy-card--background-image": "_teddy-card--background-image_1cl9t_322",
|
|
45
|
+
"teddy-card__illustration--rounded": "_teddy-card__illustration--rounded_1cl9t_327",
|
|
46
|
+
"teddy-card__inset": "_teddy-card__inset_1cl9t_331",
|
|
47
|
+
"teddy-card__inset--top": "_teddy-card__inset--top_1cl9t_334",
|
|
48
|
+
"teddy-card__inset--left": "_teddy-card__inset--left_1cl9t_337",
|
|
49
|
+
"teddy-card__inset--right": "_teddy-card__inset--right_1cl9t_340",
|
|
50
|
+
"teddy-card__inset--bottom": "_teddy-card__inset--bottom_1cl9t_343",
|
|
51
|
+
"teddy-card__availability--badge": "_teddy-card__availability--badge_1cl9t_358",
|
|
52
|
+
"teddy-card__availability--success": "_teddy-card__availability--success_1cl9t_361",
|
|
53
|
+
"teddy-card__availability--warning": "_teddy-card__availability--warning_1cl9t_364",
|
|
54
|
+
"teddy-card__availability--error": "_teddy-card__availability--error_1cl9t_367",
|
|
55
|
+
"teddy-card__availability--special": "_teddy-card__availability--special_1cl9t_370",
|
|
56
|
+
"teddy-card__availability--neutral": "_teddy-card__availability--neutral_1cl9t_373",
|
|
57
|
+
"teddy-card__availability--information": "_teddy-card__availability--information_1cl9t_376"
|
|
57
58
|
};
|
|
58
59
|
const rootClassName = "teddy-card";
|
|
59
60
|
const actionElementIdentifier = `${rootClassName}__action`;
|
|
@@ -28,7 +28,7 @@ export declare const Card: import('react').ForwardRefExoticComponent<RootProps &
|
|
|
28
28
|
disableVisited?: boolean | undefined;
|
|
29
29
|
ensureTargetArea?: boolean | undefined;
|
|
30
30
|
silent?: boolean | undefined;
|
|
31
|
-
variant: "text" | "
|
|
31
|
+
variant: "text" | "text-negative" | "standalone" | "standalone-negative" | "navigation" | "navigation-negative";
|
|
32
32
|
} & import('react').RefAttributes<HTMLAnchorElement>, "ref"> & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
33
33
|
Overline: import('react').ForwardRefExoticComponent<OverlineProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
34
34
|
Slot: import('react').ForwardRefExoticComponent<SlotProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -3,7 +3,7 @@ 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: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "
|
|
7
|
-
size?: ("
|
|
6
|
+
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "download" | "x" | "split" | "alert" | "radio" | "email" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "sync" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "volume" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
7
|
+
size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "font") | undefined;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -5,8 +5,8 @@ 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: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "
|
|
9
|
-
size?: ("
|
|
8
|
+
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "download" | "x" | "split" | "alert" | "radio" | "email" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "sync" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "volume" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
9
|
+
size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "font") | undefined;
|
|
10
10
|
children?: import('react').ReactNode;
|
|
11
11
|
}, "ref">> & import('react').RefAttributes<SVGSVGElement>>;
|
|
12
12
|
};
|
|
@@ -12,7 +12,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
12
12
|
loading?: boolean | undefined;
|
|
13
13
|
fullWidth?: boolean | undefined;
|
|
14
14
|
size?: "sm" | "md" | "lg" | undefined;
|
|
15
|
-
variant?: "text" | "
|
|
15
|
+
variant?: "text" | "text-negative" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
|
|
16
16
|
} & {
|
|
17
17
|
iconOnly: true;
|
|
18
18
|
"aria-label": string;
|
|
@@ -23,7 +23,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
23
23
|
loading?: boolean | undefined;
|
|
24
24
|
fullWidth?: boolean | undefined;
|
|
25
25
|
size?: "sm" | "md" | "lg" | undefined;
|
|
26
|
-
variant?: "text" | "
|
|
26
|
+
variant?: "text" | "text-negative" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
|
|
27
27
|
} & {
|
|
28
28
|
iconOnly?: false | undefined;
|
|
29
29
|
"aria-label"?: string | undefined;
|
|
@@ -27,7 +27,7 @@ export declare const ExpandableCard: import('react').ForwardRefExoticComponent<R
|
|
|
27
27
|
loading?: boolean | undefined;
|
|
28
28
|
fullWidth?: boolean | undefined;
|
|
29
29
|
size?: "sm" | "md" | "lg" | undefined;
|
|
30
|
-
variant?: "text" | "
|
|
30
|
+
variant?: "text" | "text-negative" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
|
|
31
31
|
} & {
|
|
32
32
|
iconOnly: true;
|
|
33
33
|
"aria-label": string;
|
|
@@ -38,12 +38,12 @@ export declare const ExpandableCard: import('react').ForwardRefExoticComponent<R
|
|
|
38
38
|
loading?: boolean | undefined;
|
|
39
39
|
fullWidth?: boolean | undefined;
|
|
40
40
|
size?: "sm" | "md" | "lg" | undefined;
|
|
41
|
-
variant?: "text" | "
|
|
41
|
+
variant?: "text" | "text-negative" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
|
|
42
42
|
} & {
|
|
43
43
|
iconOnly?: false | undefined;
|
|
44
44
|
"aria-label"?: string | undefined;
|
|
45
45
|
} & import('react').RefAttributes<HTMLButtonElement>, "ref">, "variant"> & {
|
|
46
|
-
variant?: "text" | "
|
|
46
|
+
variant?: "text" | "text-negative" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "expressive-negative" | undefined;
|
|
47
47
|
position?: "left" | "right" | undefined;
|
|
48
48
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
49
49
|
Indicator: import('react').ForwardRefExoticComponent<Omit<IndicatorProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|