@telia/teddy 0.0.71 → 0.0.72
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/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 +49 -49
- package/dist/components/card/card.js +49 -49
- package/dist/style.css +98 -98
- package/package.json +1 -1
|
@@ -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,55 @@ 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-card--layout": "_teddy-card--
|
|
20
|
-
"teddy-card__illustration": "_teddy-
|
|
21
|
-
"teddy-card__carousel": "_teddy-
|
|
22
|
-
"teddy-card__content": "_teddy-
|
|
23
|
-
"teddy-card__heading": "_teddy-
|
|
24
|
-
"teddy-card__action-wrapper": "_teddy-card__action-
|
|
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-large": "_teddy-card--navigation-horizontal-
|
|
35
|
-
"teddy-card--rich-card": "_teddy-card--rich-
|
|
36
|
-
"teddy-card__line": "_teddy-
|
|
37
|
-
"teddy-card--purple-light": "_teddy-card--purple-
|
|
38
|
-
"teddy-card--purple-dark": "_teddy-card--purple-
|
|
39
|
-
"teddy-card--white": "_teddy-card--
|
|
40
|
-
"teddy-card--gray": "_teddy-card--
|
|
41
|
-
"teddy-card--beige": "_teddy-card--
|
|
42
|
-
"teddy-card--product": "_teddy-card--
|
|
43
|
-
"teddy-card__price--big": "_teddy-card__price--
|
|
44
|
-
"teddy-card__image--as-background": "_teddy-card__image--as-
|
|
45
|
-
"teddy-card--background-image": "_teddy-card--background-
|
|
46
|
-
"teddy-card__illustration--rounded": "_teddy-card__illustration--
|
|
47
|
-
"teddy-card__inset": "_teddy-
|
|
48
|
-
"teddy-card__inset--top": "_teddy-card__inset--
|
|
49
|
-
"teddy-card__inset--left": "_teddy-card__inset--
|
|
50
|
-
"teddy-card__inset--right": "_teddy-card__inset--
|
|
51
|
-
"teddy-card__inset--bottom": "_teddy-card__inset--
|
|
52
|
-
"teddy-card__availability--badge": "_teddy-card__availability--
|
|
53
|
-
"teddy-card__availability--success": "_teddy-card__availability--
|
|
54
|
-
"teddy-card__availability--warning": "_teddy-card__availability--
|
|
55
|
-
"teddy-card__availability--error": "_teddy-card__availability--
|
|
56
|
-
"teddy-card__availability--special": "_teddy-card__availability--
|
|
57
|
-
"teddy-card__availability--neutral": "_teddy-card__availability--
|
|
58
|
-
"teddy-card__availability--information": "_teddy-card__availability--
|
|
10
|
+
"teddy-card": "_teddy-card_1qi3a_3",
|
|
11
|
+
"teddy-card__slot": "_teddy-card__slot_1qi3a_13",
|
|
12
|
+
"teddy-card__slot--bottom": "_teddy-card__slot--bottom_1qi3a_16",
|
|
13
|
+
"teddy-card__slot--center": "_teddy-card__slot--center_1qi3a_19",
|
|
14
|
+
"teddy-card__slot--no-translate": "_teddy-card__slot--no-translate_1qi3a_25",
|
|
15
|
+
"teddy-card--shadow": "_teddy-card--shadow_1qi3a_44",
|
|
16
|
+
"teddy-card__action": "_teddy-card__action_1qi3a_48",
|
|
17
|
+
"teddy-card__action--disabled": "_teddy-card__action--disabled_1qi3a_48",
|
|
18
|
+
"teddy-card--border": "_teddy-card--border_1qi3a_55",
|
|
19
|
+
"teddy-card--layout": "_teddy-card--layout_1qi3a_58",
|
|
20
|
+
"teddy-card__illustration": "_teddy-card__illustration_1qi3a_58",
|
|
21
|
+
"teddy-card__carousel": "_teddy-card__carousel_1qi3a_61",
|
|
22
|
+
"teddy-card__content": "_teddy-card__content_1qi3a_64",
|
|
23
|
+
"teddy-card__heading": "_teddy-card__heading_1qi3a_67",
|
|
24
|
+
"teddy-card__action-wrapper": "_teddy-card__action-wrapper_1qi3a_70",
|
|
25
|
+
"teddy-card__footer": "_teddy-card__footer_1qi3a_73",
|
|
26
|
+
"teddy-card__overline": "_teddy-card__overline_1qi3a_76",
|
|
27
|
+
"teddy-card__description": "_teddy-card__description_1qi3a_79",
|
|
28
|
+
"teddy-card__color-dots": "_teddy-card__color-dots_1qi3a_82",
|
|
29
|
+
"teddy-card__availability": "_teddy-card__availability_1qi3a_85",
|
|
30
|
+
"teddy-card__price": "_teddy-card__price_1qi3a_88",
|
|
31
|
+
"teddy-card--default": "_teddy-card--default_1qi3a_91",
|
|
32
|
+
"teddy-card--navigation-vertical": "_teddy-card--navigation-vertical_1qi3a_96",
|
|
33
|
+
"teddy-card--navigation-horizontal-small": "_teddy-card--navigation-horizontal-small_1qi3a_115",
|
|
34
|
+
"teddy-card--navigation-horizontal-large": "_teddy-card--navigation-horizontal-large_1qi3a_127",
|
|
35
|
+
"teddy-card--rich-card": "_teddy-card--rich-card_1qi3a_139",
|
|
36
|
+
"teddy-card__line": "_teddy-card__line_1qi3a_157",
|
|
37
|
+
"teddy-card--purple-light": "_teddy-card--purple-light_1qi3a_161",
|
|
38
|
+
"teddy-card--purple-dark": "_teddy-card--purple-dark_1qi3a_175",
|
|
39
|
+
"teddy-card--white": "_teddy-card--white_1qi3a_194",
|
|
40
|
+
"teddy-card--gray": "_teddy-card--gray_1qi3a_208",
|
|
41
|
+
"teddy-card--beige": "_teddy-card--beige_1qi3a_222",
|
|
42
|
+
"teddy-card--product": "_teddy-card--product_1qi3a_236",
|
|
43
|
+
"teddy-card__price--big": "_teddy-card__price--big_1qi3a_296",
|
|
44
|
+
"teddy-card__image--as-background": "_teddy-card__image--as-background_1qi3a_299",
|
|
45
|
+
"teddy-card--background-image": "_teddy-card--background-image_1qi3a_305",
|
|
46
|
+
"teddy-card__illustration--rounded": "_teddy-card__illustration--rounded_1qi3a_310",
|
|
47
|
+
"teddy-card__inset": "_teddy-card__inset_1qi3a_314",
|
|
48
|
+
"teddy-card__inset--top": "_teddy-card__inset--top_1qi3a_317",
|
|
49
|
+
"teddy-card__inset--left": "_teddy-card__inset--left_1qi3a_320",
|
|
50
|
+
"teddy-card__inset--right": "_teddy-card__inset--right_1qi3a_323",
|
|
51
|
+
"teddy-card__inset--bottom": "_teddy-card__inset--bottom_1qi3a_326",
|
|
52
|
+
"teddy-card__availability--badge": "_teddy-card__availability--badge_1qi3a_341",
|
|
53
|
+
"teddy-card__availability--success": "_teddy-card__availability--success_1qi3a_344",
|
|
54
|
+
"teddy-card__availability--warning": "_teddy-card__availability--warning_1qi3a_347",
|
|
55
|
+
"teddy-card__availability--error": "_teddy-card__availability--error_1qi3a_350",
|
|
56
|
+
"teddy-card__availability--special": "_teddy-card__availability--special_1qi3a_353",
|
|
57
|
+
"teddy-card__availability--neutral": "_teddy-card__availability--neutral_1qi3a_356",
|
|
58
|
+
"teddy-card__availability--information": "_teddy-card__availability--information_1qi3a_359"
|
|
59
59
|
};
|
|
60
60
|
const rootClassName = "teddy-card";
|
|
61
61
|
const actionElementIdentifier = `${rootClassName}__action`;
|
|
@@ -5,55 +5,55 @@ 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-card--layout": "_teddy-card--
|
|
18
|
-
"teddy-card__illustration": "_teddy-
|
|
19
|
-
"teddy-card__carousel": "_teddy-
|
|
20
|
-
"teddy-card__content": "_teddy-
|
|
21
|
-
"teddy-card__heading": "_teddy-
|
|
22
|
-
"teddy-card__action-wrapper": "_teddy-card__action-
|
|
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-large": "_teddy-card--navigation-horizontal-
|
|
33
|
-
"teddy-card--rich-card": "_teddy-card--rich-
|
|
34
|
-
"teddy-card__line": "_teddy-
|
|
35
|
-
"teddy-card--purple-light": "_teddy-card--purple-
|
|
36
|
-
"teddy-card--purple-dark": "_teddy-card--purple-
|
|
37
|
-
"teddy-card--white": "_teddy-card--
|
|
38
|
-
"teddy-card--gray": "_teddy-card--
|
|
39
|
-
"teddy-card--beige": "_teddy-card--
|
|
40
|
-
"teddy-card--product": "_teddy-card--
|
|
41
|
-
"teddy-card__price--big": "_teddy-card__price--
|
|
42
|
-
"teddy-card__image--as-background": "_teddy-card__image--as-
|
|
43
|
-
"teddy-card--background-image": "_teddy-card--background-
|
|
44
|
-
"teddy-card__illustration--rounded": "_teddy-card__illustration--
|
|
45
|
-
"teddy-card__inset": "_teddy-
|
|
46
|
-
"teddy-card__inset--top": "_teddy-card__inset--
|
|
47
|
-
"teddy-card__inset--left": "_teddy-card__inset--
|
|
48
|
-
"teddy-card__inset--right": "_teddy-card__inset--
|
|
49
|
-
"teddy-card__inset--bottom": "_teddy-card__inset--
|
|
50
|
-
"teddy-card__availability--badge": "_teddy-card__availability--
|
|
51
|
-
"teddy-card__availability--success": "_teddy-card__availability--
|
|
52
|
-
"teddy-card__availability--warning": "_teddy-card__availability--
|
|
53
|
-
"teddy-card__availability--error": "_teddy-card__availability--
|
|
54
|
-
"teddy-card__availability--special": "_teddy-card__availability--
|
|
55
|
-
"teddy-card__availability--neutral": "_teddy-card__availability--
|
|
56
|
-
"teddy-card__availability--information": "_teddy-card__availability--
|
|
8
|
+
"teddy-card": "_teddy-card_1qi3a_3",
|
|
9
|
+
"teddy-card__slot": "_teddy-card__slot_1qi3a_13",
|
|
10
|
+
"teddy-card__slot--bottom": "_teddy-card__slot--bottom_1qi3a_16",
|
|
11
|
+
"teddy-card__slot--center": "_teddy-card__slot--center_1qi3a_19",
|
|
12
|
+
"teddy-card__slot--no-translate": "_teddy-card__slot--no-translate_1qi3a_25",
|
|
13
|
+
"teddy-card--shadow": "_teddy-card--shadow_1qi3a_44",
|
|
14
|
+
"teddy-card__action": "_teddy-card__action_1qi3a_48",
|
|
15
|
+
"teddy-card__action--disabled": "_teddy-card__action--disabled_1qi3a_48",
|
|
16
|
+
"teddy-card--border": "_teddy-card--border_1qi3a_55",
|
|
17
|
+
"teddy-card--layout": "_teddy-card--layout_1qi3a_58",
|
|
18
|
+
"teddy-card__illustration": "_teddy-card__illustration_1qi3a_58",
|
|
19
|
+
"teddy-card__carousel": "_teddy-card__carousel_1qi3a_61",
|
|
20
|
+
"teddy-card__content": "_teddy-card__content_1qi3a_64",
|
|
21
|
+
"teddy-card__heading": "_teddy-card__heading_1qi3a_67",
|
|
22
|
+
"teddy-card__action-wrapper": "_teddy-card__action-wrapper_1qi3a_70",
|
|
23
|
+
"teddy-card__footer": "_teddy-card__footer_1qi3a_73",
|
|
24
|
+
"teddy-card__overline": "_teddy-card__overline_1qi3a_76",
|
|
25
|
+
"teddy-card__description": "_teddy-card__description_1qi3a_79",
|
|
26
|
+
"teddy-card__color-dots": "_teddy-card__color-dots_1qi3a_82",
|
|
27
|
+
"teddy-card__availability": "_teddy-card__availability_1qi3a_85",
|
|
28
|
+
"teddy-card__price": "_teddy-card__price_1qi3a_88",
|
|
29
|
+
"teddy-card--default": "_teddy-card--default_1qi3a_91",
|
|
30
|
+
"teddy-card--navigation-vertical": "_teddy-card--navigation-vertical_1qi3a_96",
|
|
31
|
+
"teddy-card--navigation-horizontal-small": "_teddy-card--navigation-horizontal-small_1qi3a_115",
|
|
32
|
+
"teddy-card--navigation-horizontal-large": "_teddy-card--navigation-horizontal-large_1qi3a_127",
|
|
33
|
+
"teddy-card--rich-card": "_teddy-card--rich-card_1qi3a_139",
|
|
34
|
+
"teddy-card__line": "_teddy-card__line_1qi3a_157",
|
|
35
|
+
"teddy-card--purple-light": "_teddy-card--purple-light_1qi3a_161",
|
|
36
|
+
"teddy-card--purple-dark": "_teddy-card--purple-dark_1qi3a_175",
|
|
37
|
+
"teddy-card--white": "_teddy-card--white_1qi3a_194",
|
|
38
|
+
"teddy-card--gray": "_teddy-card--gray_1qi3a_208",
|
|
39
|
+
"teddy-card--beige": "_teddy-card--beige_1qi3a_222",
|
|
40
|
+
"teddy-card--product": "_teddy-card--product_1qi3a_236",
|
|
41
|
+
"teddy-card__price--big": "_teddy-card__price--big_1qi3a_296",
|
|
42
|
+
"teddy-card__image--as-background": "_teddy-card__image--as-background_1qi3a_299",
|
|
43
|
+
"teddy-card--background-image": "_teddy-card--background-image_1qi3a_305",
|
|
44
|
+
"teddy-card__illustration--rounded": "_teddy-card__illustration--rounded_1qi3a_310",
|
|
45
|
+
"teddy-card__inset": "_teddy-card__inset_1qi3a_314",
|
|
46
|
+
"teddy-card__inset--top": "_teddy-card__inset--top_1qi3a_317",
|
|
47
|
+
"teddy-card__inset--left": "_teddy-card__inset--left_1qi3a_320",
|
|
48
|
+
"teddy-card__inset--right": "_teddy-card__inset--right_1qi3a_323",
|
|
49
|
+
"teddy-card__inset--bottom": "_teddy-card__inset--bottom_1qi3a_326",
|
|
50
|
+
"teddy-card__availability--badge": "_teddy-card__availability--badge_1qi3a_341",
|
|
51
|
+
"teddy-card__availability--success": "_teddy-card__availability--success_1qi3a_344",
|
|
52
|
+
"teddy-card__availability--warning": "_teddy-card__availability--warning_1qi3a_347",
|
|
53
|
+
"teddy-card__availability--error": "_teddy-card__availability--error_1qi3a_350",
|
|
54
|
+
"teddy-card__availability--special": "_teddy-card__availability--special_1qi3a_353",
|
|
55
|
+
"teddy-card__availability--neutral": "_teddy-card__availability--neutral_1qi3a_356",
|
|
56
|
+
"teddy-card__availability--information": "_teddy-card__availability--information_1qi3a_359"
|
|
57
57
|
};
|
|
58
58
|
const rootClassName = "teddy-card";
|
|
59
59
|
const actionElementIdentifier = `${rootClassName}__action`;
|
package/dist/style.css
CHANGED
|
@@ -2477,32 +2477,32 @@
|
|
|
2477
2477
|
}
|
|
2478
2478
|
}@layer heading, flex, grid, button, card;
|
|
2479
2479
|
@layer card {
|
|
2480
|
-
._teddy-
|
|
2480
|
+
._teddy-card_1qi3a_3 {
|
|
2481
2481
|
border-radius: var(--teddy-border-radius-md);
|
|
2482
2482
|
padding: var(--teddy-spacing-250);
|
|
2483
2483
|
position: relative;
|
|
2484
2484
|
}
|
|
2485
2485
|
@media (prefers-reduced-motion: no-preference) {
|
|
2486
|
-
._teddy-
|
|
2486
|
+
._teddy-card_1qi3a_3 {
|
|
2487
2487
|
transition: background-color var(--teddy-motion-duration-300) ease;
|
|
2488
2488
|
}
|
|
2489
2489
|
}
|
|
2490
|
-
._teddy-
|
|
2490
|
+
._teddy-card__slot_1qi3a_13 {
|
|
2491
2491
|
transform: translateY(-50%);
|
|
2492
2492
|
}
|
|
2493
|
-
._teddy-card__slot--
|
|
2493
|
+
._teddy-card__slot--bottom_1qi3a_16 {
|
|
2494
2494
|
transform: translateY(50%);
|
|
2495
2495
|
}
|
|
2496
|
-
._teddy-card__slot--
|
|
2496
|
+
._teddy-card__slot--center_1qi3a_19 {
|
|
2497
2497
|
transform: translate(-50%, -50%);
|
|
2498
2498
|
}
|
|
2499
|
-
._teddy-card__slot--
|
|
2499
|
+
._teddy-card__slot--bottom_1qi3a_16._teddy-card__slot--center_1qi3a_19 {
|
|
2500
2500
|
transform: translate(-50%, 50%);
|
|
2501
2501
|
}
|
|
2502
|
-
._teddy-card__slot--no-
|
|
2502
|
+
._teddy-card__slot--no-translate_1qi3a_25 {
|
|
2503
2503
|
transform: initial;
|
|
2504
2504
|
}
|
|
2505
|
-
._teddy-
|
|
2505
|
+
._teddy-card_1qi3a_3::before {
|
|
2506
2506
|
content: "";
|
|
2507
2507
|
display: block;
|
|
2508
2508
|
position: absolute;
|
|
@@ -2513,204 +2513,204 @@
|
|
|
2513
2513
|
box-shadow: var(--teddy-shadow-md);
|
|
2514
2514
|
}
|
|
2515
2515
|
@media (prefers-reduced-motion: no-preference) {
|
|
2516
|
-
._teddy-
|
|
2516
|
+
._teddy-card_1qi3a_3::before {
|
|
2517
2517
|
transition: var(--teddy-motion-duration-300) ease;
|
|
2518
2518
|
transition-property: opacity, box-shadow;
|
|
2519
2519
|
}
|
|
2520
2520
|
}
|
|
2521
|
-
._teddy-card--
|
|
2521
|
+
._teddy-card--shadow_1qi3a_44::before {
|
|
2522
2522
|
opacity: 1;
|
|
2523
2523
|
box-shadow: var(--teddy-shadow-sm-2);
|
|
2524
2524
|
}
|
|
2525
|
-
._teddy-
|
|
2525
|
+
._teddy-card_1qi3a_3:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2526
2526
|
cursor: pointer;
|
|
2527
2527
|
}
|
|
2528
|
-
._teddy-
|
|
2528
|
+
._teddy-card_1qi3a_3:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)):hover:not(:has(button:hover), :has(a:hover)):has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48))::before {
|
|
2529
2529
|
opacity: 1;
|
|
2530
2530
|
box-shadow: var(--teddy-shadow-md);
|
|
2531
2531
|
}
|
|
2532
|
-
._teddy-card--
|
|
2532
|
+
._teddy-card--border_1qi3a_55 {
|
|
2533
2533
|
border: var(--teddy-border-width-xs) solid transparent;
|
|
2534
2534
|
}
|
|
2535
|
-
._teddy-card--
|
|
2535
|
+
._teddy-card--layout_1qi3a_58 ._teddy-card__illustration_1qi3a_58 {
|
|
2536
2536
|
grid-area: illustration;
|
|
2537
2537
|
}
|
|
2538
|
-
._teddy-card--
|
|
2538
|
+
._teddy-card--layout_1qi3a_58 ._teddy-card__carousel_1qi3a_61 {
|
|
2539
2539
|
grid-area: carousel;
|
|
2540
2540
|
}
|
|
2541
|
-
._teddy-card--
|
|
2541
|
+
._teddy-card--layout_1qi3a_58 ._teddy-card__content_1qi3a_64 {
|
|
2542
2542
|
grid-area: content;
|
|
2543
2543
|
}
|
|
2544
|
-
._teddy-card--
|
|
2544
|
+
._teddy-card--layout_1qi3a_58 ._teddy-card__heading_1qi3a_67 {
|
|
2545
2545
|
grid-area: heading;
|
|
2546
2546
|
}
|
|
2547
|
-
._teddy-card--
|
|
2547
|
+
._teddy-card--layout_1qi3a_58 ._teddy-card__action-wrapper_1qi3a_70 {
|
|
2548
2548
|
grid-area: action;
|
|
2549
2549
|
}
|
|
2550
|
-
._teddy-card--
|
|
2550
|
+
._teddy-card--layout_1qi3a_58 ._teddy-card__footer_1qi3a_73 {
|
|
2551
2551
|
grid-area: footer;
|
|
2552
2552
|
}
|
|
2553
|
-
._teddy-card--
|
|
2553
|
+
._teddy-card--layout_1qi3a_58 ._teddy-card__overline_1qi3a_76 {
|
|
2554
2554
|
grid-area: overline;
|
|
2555
2555
|
}
|
|
2556
|
-
._teddy-card--
|
|
2556
|
+
._teddy-card--layout_1qi3a_58 ._teddy-card__description_1qi3a_79 {
|
|
2557
2557
|
grid-area: description;
|
|
2558
2558
|
}
|
|
2559
|
-
._teddy-card--
|
|
2559
|
+
._teddy-card--layout_1qi3a_58 ._teddy-card__color-dots_1qi3a_82 {
|
|
2560
2560
|
grid-area: colors;
|
|
2561
2561
|
}
|
|
2562
|
-
._teddy-card--
|
|
2562
|
+
._teddy-card--layout_1qi3a_58 ._teddy-card__availability_1qi3a_85 {
|
|
2563
2563
|
grid-area: availability;
|
|
2564
2564
|
}
|
|
2565
|
-
._teddy-card--
|
|
2565
|
+
._teddy-card--layout_1qi3a_58 ._teddy-card__price_1qi3a_88 {
|
|
2566
2566
|
grid-area: price;
|
|
2567
2567
|
}
|
|
2568
|
-
._teddy-card--
|
|
2568
|
+
._teddy-card--default_1qi3a_91 {
|
|
2569
2569
|
display: flex;
|
|
2570
2570
|
flex-direction: column;
|
|
2571
2571
|
gap: var(--teddy-spacing-200);
|
|
2572
2572
|
}
|
|
2573
|
-
._teddy-card--navigation-
|
|
2573
|
+
._teddy-card--navigation-vertical_1qi3a_96 {
|
|
2574
2574
|
grid-template-rows: auto auto 1fr auto;
|
|
2575
2575
|
justify-items: start;
|
|
2576
2576
|
align-items: baseline;
|
|
2577
2577
|
grid-template-areas: "illustration" "heading" "content" "action";
|
|
2578
2578
|
}
|
|
2579
|
-
._teddy-card--navigation-
|
|
2579
|
+
._teddy-card--navigation-vertical_1qi3a_96 ._teddy-card__illustration_1qi3a_58 {
|
|
2580
2580
|
margin-bottom: var(--teddy-spacing-200);
|
|
2581
2581
|
}
|
|
2582
|
-
._teddy-card--navigation-
|
|
2582
|
+
._teddy-card--navigation-vertical_1qi3a_96 ._teddy-card__content_1qi3a_64 {
|
|
2583
2583
|
margin-bottom: var(--teddy-spacing-200);
|
|
2584
2584
|
}
|
|
2585
|
-
._teddy-card--navigation-
|
|
2585
|
+
._teddy-card--navigation-vertical_1qi3a_96 ._teddy-card__heading_1qi3a_67 {
|
|
2586
2586
|
margin-bottom: var(--teddy-spacing-100);
|
|
2587
2587
|
}
|
|
2588
|
-
._teddy-card--navigation-
|
|
2588
|
+
._teddy-card--navigation-vertical_1qi3a_96 ._teddy-card__action_1qi3a_48 {
|
|
2589
2589
|
margin-top: auto;
|
|
2590
2590
|
justify-self: end;
|
|
2591
2591
|
}
|
|
2592
|
-
._teddy-card--navigation-horizontal-
|
|
2592
|
+
._teddy-card--navigation-horizontal-small_1qi3a_115 {
|
|
2593
2593
|
grid-template-columns: auto 1fr auto;
|
|
2594
2594
|
grid-template-rows: auto 1fr;
|
|
2595
2595
|
grid-template-areas: "illustration heading action" "illustration content action";
|
|
2596
2596
|
column-gap: var(--teddy-spacing-200);
|
|
2597
2597
|
}
|
|
2598
|
-
._teddy-card--navigation-horizontal-
|
|
2598
|
+
._teddy-card--navigation-horizontal-small_1qi3a_115 ._teddy-card__heading_1qi3a_67 {
|
|
2599
2599
|
margin-bottom: var(--teddy-spacing-100);
|
|
2600
2600
|
}
|
|
2601
|
-
._teddy-card--navigation-horizontal-
|
|
2601
|
+
._teddy-card--navigation-horizontal-small_1qi3a_115 ._teddy-card__action_1qi3a_48 {
|
|
2602
2602
|
margin-top: auto;
|
|
2603
2603
|
}
|
|
2604
|
-
._teddy-card--navigation-horizontal-
|
|
2604
|
+
._teddy-card--navigation-horizontal-large_1qi3a_127 {
|
|
2605
2605
|
grid-template-columns: 1fr auto;
|
|
2606
2606
|
grid-template-rows: auto auto 1fr;
|
|
2607
2607
|
grid-template-areas: "illustration action" "heading action" "content action";
|
|
2608
2608
|
column-gap: var(--teddy-spacing-200);
|
|
2609
2609
|
}
|
|
2610
|
-
._teddy-card--navigation-horizontal-
|
|
2610
|
+
._teddy-card--navigation-horizontal-large_1qi3a_127 ._teddy-card__heading_1qi3a_67 {
|
|
2611
2611
|
margin-bottom: var(--teddy-spacing-100);
|
|
2612
2612
|
}
|
|
2613
|
-
._teddy-card--navigation-horizontal-
|
|
2613
|
+
._teddy-card--navigation-horizontal-large_1qi3a_127 ._teddy-card__action_1qi3a_48 {
|
|
2614
2614
|
margin-top: auto;
|
|
2615
2615
|
}
|
|
2616
|
-
._teddy-card--rich-
|
|
2616
|
+
._teddy-card--rich-card_1qi3a_139 {
|
|
2617
2617
|
justify-items: start;
|
|
2618
2618
|
align-items: baseline;
|
|
2619
2619
|
grid-template-rows: auto auto 1fr auto;
|
|
2620
2620
|
grid-template-areas: "illustration" "heading" "content" "action";
|
|
2621
2621
|
}
|
|
2622
|
-
._teddy-card--rich-
|
|
2622
|
+
._teddy-card--rich-card_1qi3a_139 ._teddy-card__illustration_1qi3a_58 {
|
|
2623
2623
|
margin-bottom: var(--teddy-spacing-200);
|
|
2624
2624
|
}
|
|
2625
|
-
._teddy-card--rich-
|
|
2625
|
+
._teddy-card--rich-card_1qi3a_139 ._teddy-card__content_1qi3a_64 {
|
|
2626
2626
|
margin-bottom: var(--teddy-spacing-200);
|
|
2627
2627
|
}
|
|
2628
|
-
._teddy-card--rich-
|
|
2628
|
+
._teddy-card--rich-card_1qi3a_139 ._teddy-card__heading_1qi3a_67 {
|
|
2629
2629
|
margin-bottom: var(--teddy-spacing-100);
|
|
2630
2630
|
}
|
|
2631
|
-
._teddy-card--rich-
|
|
2631
|
+
._teddy-card--rich-card_1qi3a_139 ._teddy-card__action_1qi3a_48 {
|
|
2632
2632
|
margin-top: auto;
|
|
2633
2633
|
}
|
|
2634
|
-
._teddy-
|
|
2634
|
+
._teddy-card__line_1qi3a_157 {
|
|
2635
2635
|
border: 0;
|
|
2636
2636
|
border-top: var(--teddy-border-width-xs) solid var(--teddy-color-border-weak);
|
|
2637
2637
|
}
|
|
2638
|
-
._teddy-card--purple-
|
|
2638
|
+
._teddy-card--purple-light_1qi3a_161 {
|
|
2639
2639
|
background-color: var(--teddy-color-background-interactive-primary-negative);
|
|
2640
2640
|
color: var(--teddy-color-text-default);
|
|
2641
2641
|
border-color: var(--teddy-color-background-interactive-primary-negative);
|
|
2642
2642
|
}
|
|
2643
|
-
._teddy-card--purple-
|
|
2643
|
+
._teddy-card--purple-light_1qi3a_161:hover:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2644
2644
|
background-color: var(--teddy-color-background-interactive-primary-negative-hover);
|
|
2645
2645
|
}
|
|
2646
|
-
._teddy-card--purple-
|
|
2646
|
+
._teddy-card--purple-light_1qi3a_161:active:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2647
2647
|
background-color: var(--teddy-color-background-interactive-primary-negative-active);
|
|
2648
2648
|
}
|
|
2649
|
-
._teddy-card--purple-
|
|
2649
|
+
._teddy-card--purple-light_1qi3a_161:has(._teddy-card__action--disabled_1qi3a_48) {
|
|
2650
2650
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2651
2651
|
}
|
|
2652
|
-
._teddy-card--purple-
|
|
2652
|
+
._teddy-card--purple-dark_1qi3a_175 {
|
|
2653
2653
|
background-color: var(--teddy-color-brand-deep-purple);
|
|
2654
2654
|
color: var(--teddy-color-text-default-negative);
|
|
2655
2655
|
border-color: var(--teddy-color-brand-deep-purple);
|
|
2656
2656
|
}
|
|
2657
|
-
._teddy-card--purple-
|
|
2657
|
+
._teddy-card--purple-dark_1qi3a_175:hover:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2658
2658
|
background-color: var(--teddy-color-background-interactive-transparent-negative-hover);
|
|
2659
2659
|
}
|
|
2660
|
-
._teddy-card--purple-
|
|
2660
|
+
._teddy-card--purple-dark_1qi3a_175:active:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2661
2661
|
background-color: var(--teddy-color-background-interactive-transparent-negative-active);
|
|
2662
2662
|
}
|
|
2663
|
-
._teddy-card--purple-
|
|
2663
|
+
._teddy-card--purple-dark_1qi3a_175:has(._teddy-card__action--disabled_1qi3a_48) {
|
|
2664
2664
|
color: var(--teddy-color-text-default);
|
|
2665
2665
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2666
2666
|
}
|
|
2667
|
-
._teddy-card--purple-
|
|
2667
|
+
._teddy-card--purple-dark_1qi3a_175:has(._teddy-card__action--disabled_1qi3a_48) ._teddy-card__action_1qi3a_48 {
|
|
2668
2668
|
color: var(--teddy-color-text-weak);
|
|
2669
2669
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2670
2670
|
}
|
|
2671
|
-
._teddy-card--
|
|
2671
|
+
._teddy-card--white_1qi3a_194 {
|
|
2672
2672
|
background-color: var(--teddy-color-brand-white);
|
|
2673
2673
|
color: var(--teddy-color-text-default);
|
|
2674
2674
|
border-color: var(--teddy-color-border-interactive-subtle);
|
|
2675
2675
|
}
|
|
2676
|
-
._teddy-card--
|
|
2676
|
+
._teddy-card--white_1qi3a_194:hover:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2677
2677
|
background-color: var(--teddy-color-background-interactive-transparent-hover);
|
|
2678
2678
|
}
|
|
2679
|
-
._teddy-card--
|
|
2679
|
+
._teddy-card--white_1qi3a_194:active:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2680
2680
|
background-color: var(--teddy-color-background-interactive-transparent-active);
|
|
2681
2681
|
}
|
|
2682
|
-
._teddy-card--
|
|
2682
|
+
._teddy-card--white_1qi3a_194:has(._teddy-card__action--disabled_1qi3a_48) {
|
|
2683
2683
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2684
2684
|
}
|
|
2685
|
-
._teddy-card--
|
|
2685
|
+
._teddy-card--gray_1qi3a_208 {
|
|
2686
2686
|
background-color: var(--teddy-color-background-secondary);
|
|
2687
2687
|
color: var(--teddy-color-text-default);
|
|
2688
2688
|
border-color: var(--teddy-color-border-interactive-subtle);
|
|
2689
2689
|
}
|
|
2690
|
-
._teddy-card--
|
|
2690
|
+
._teddy-card--gray_1qi3a_208:hover:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2691
2691
|
background-color: var(--teddy-color-gray-100);
|
|
2692
2692
|
}
|
|
2693
|
-
._teddy-card--
|
|
2693
|
+
._teddy-card--gray_1qi3a_208:active:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2694
2694
|
background-color: var(--teddy-color-gray-200);
|
|
2695
2695
|
}
|
|
2696
|
-
._teddy-card--
|
|
2696
|
+
._teddy-card--gray_1qi3a_208:has(._teddy-card__action--disabled_1qi3a_48) {
|
|
2697
2697
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2698
2698
|
}
|
|
2699
|
-
._teddy-card--
|
|
2699
|
+
._teddy-card--beige_1qi3a_222 {
|
|
2700
2700
|
background-color: var(--teddy-color-beige-100);
|
|
2701
2701
|
color: var(--teddy-color-text-default);
|
|
2702
2702
|
border-color: var(--teddy-color-beige-300);
|
|
2703
2703
|
}
|
|
2704
|
-
._teddy-card--
|
|
2704
|
+
._teddy-card--beige_1qi3a_222:hover:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2705
2705
|
background-color: var(--teddy-color-beige-200);
|
|
2706
2706
|
}
|
|
2707
|
-
._teddy-card--
|
|
2707
|
+
._teddy-card--beige_1qi3a_222:active:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2708
2708
|
background-color: var(--teddy-color-beige-300);
|
|
2709
2709
|
}
|
|
2710
|
-
._teddy-card--
|
|
2710
|
+
._teddy-card--beige_1qi3a_222:has(._teddy-card__action--disabled_1qi3a_48) {
|
|
2711
2711
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2712
2712
|
}
|
|
2713
|
-
._teddy-card--
|
|
2713
|
+
._teddy-card--product_1qi3a_236 {
|
|
2714
2714
|
grid-template-columns: minmax(0, 100%);
|
|
2715
2715
|
grid-template-rows: auto auto auto auto auto auto auto 1fr auto auto;
|
|
2716
2716
|
grid-template-areas: "illustration" "carousel" "overline" "heading" "colors" "description" "content" "price" "action" "availability";
|
|
@@ -2721,119 +2721,119 @@
|
|
|
2721
2721
|
padding-bottom: var(--teddy-spacing-100);
|
|
2722
2722
|
width: 100%;
|
|
2723
2723
|
}
|
|
2724
|
-
._teddy-card--
|
|
2724
|
+
._teddy-card--product_1qi3a_236:hover:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2725
2725
|
background-color: var(--teddy-color-brand-white);
|
|
2726
2726
|
outline: var(--teddy-border-width-sm) solid var(--teddy-color-border-interactive-primary);
|
|
2727
2727
|
outline-offset: calc(var(--teddy-border-width-sm) * -1);
|
|
2728
2728
|
}
|
|
2729
|
-
._teddy-card--
|
|
2729
|
+
._teddy-card--product_1qi3a_236:active:has(._teddy-card__action_1qi3a_48:not(._teddy-card__action--disabled_1qi3a_48)) {
|
|
2730
2730
|
background-color: var(--teddy-color-background-interactive-transparent-active);
|
|
2731
2731
|
}
|
|
2732
|
-
._teddy-card--
|
|
2732
|
+
._teddy-card--product_1qi3a_236:has(._teddy-card__action--disabled_1qi3a_48) {
|
|
2733
2733
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2734
2734
|
}
|
|
2735
|
-
._teddy-card--
|
|
2735
|
+
._teddy-card--product_1qi3a_236 ._teddy-card__illustration_1qi3a_58 {
|
|
2736
2736
|
height: 180px;
|
|
2737
2737
|
display: grid;
|
|
2738
2738
|
place-items: center;
|
|
2739
2739
|
place-self: center;
|
|
2740
2740
|
margin-bottom: var(--teddy-spacing-400);
|
|
2741
2741
|
}
|
|
2742
|
-
._teddy-card--
|
|
2742
|
+
._teddy-card--product_1qi3a_236 ._teddy-card__illustration_1qi3a_58 img {
|
|
2743
2743
|
max-width: 200px;
|
|
2744
2744
|
max-height: 180px;
|
|
2745
2745
|
object-fit: contain;
|
|
2746
2746
|
}
|
|
2747
|
-
._teddy-card--
|
|
2747
|
+
._teddy-card--product_1qi3a_236 ._teddy-card__carousel_1qi3a_61 .slick-dots li {
|
|
2748
2748
|
min-width: 12px;
|
|
2749
2749
|
width: initial !important;
|
|
2750
2750
|
margin: 0 0.25rem !important;
|
|
2751
2751
|
}
|
|
2752
|
-
._teddy-card--
|
|
2752
|
+
._teddy-card--product_1qi3a_236 ._teddy-card__carousel_1qi3a_61 .slick-dots .slick-active {
|
|
2753
2753
|
min-width: 24px;
|
|
2754
2754
|
width: initial !important;
|
|
2755
2755
|
}
|
|
2756
|
-
._teddy-card--
|
|
2756
|
+
._teddy-card--product_1qi3a_236 ._teddy-card__overline_1qi3a_76 {
|
|
2757
2757
|
margin-bottom: var(--teddy-spacing-50);
|
|
2758
2758
|
}
|
|
2759
|
-
._teddy-card--
|
|
2759
|
+
._teddy-card--product_1qi3a_236 ._teddy-card__heading_1qi3a_67 {
|
|
2760
2760
|
margin-bottom: var(--teddy-spacing-200);
|
|
2761
2761
|
}
|
|
2762
|
-
._teddy-card--
|
|
2762
|
+
._teddy-card--product_1qi3a_236 ._teddy-card__description_1qi3a_79 {
|
|
2763
2763
|
margin-bottom: var(--teddy-spacing-200);
|
|
2764
2764
|
}
|
|
2765
|
-
._teddy-card--
|
|
2765
|
+
._teddy-card--product_1qi3a_236 ._teddy-card__action_1qi3a_48 {
|
|
2766
2766
|
margin-top: auto;
|
|
2767
2767
|
margin-left: auto;
|
|
2768
2768
|
justify-self: end;
|
|
2769
2769
|
}
|
|
2770
|
-
._teddy-card--
|
|
2770
|
+
._teddy-card--product_1qi3a_236 ._teddy-card__price_1qi3a_88 {
|
|
2771
2771
|
display: flex;
|
|
2772
2772
|
}
|
|
2773
|
-
._teddy-card--
|
|
2774
|
-
font-size: var(--teddy-typography-scale-
|
|
2773
|
+
._teddy-card--product_1qi3a_236 ._teddy-card__price--big_1qi3a_296 {
|
|
2774
|
+
font-size: var(--teddy-typography-scale-200);
|
|
2775
2775
|
}
|
|
2776
|
-
._teddy-
|
|
2776
|
+
._teddy-card_1qi3a_3:has(._teddy-card__image--as-background_1qi3a_299) {
|
|
2777
2777
|
background-color: transparent;
|
|
2778
2778
|
}
|
|
2779
|
-
._teddy-
|
|
2779
|
+
._teddy-card__heading_1qi3a_67 {
|
|
2780
2780
|
color: inherit;
|
|
2781
2781
|
}
|
|
2782
|
-
._teddy-card--background-
|
|
2782
|
+
._teddy-card--background-image_1qi3a_305 {
|
|
2783
2783
|
background-repeat: no-repeat;
|
|
2784
2784
|
background-size: cover;
|
|
2785
2785
|
background-position: center;
|
|
2786
2786
|
}
|
|
2787
|
-
._teddy-card__illustration--
|
|
2787
|
+
._teddy-card__illustration--rounded_1qi3a_310 {
|
|
2788
2788
|
border-radius: inherit;
|
|
2789
2789
|
overflow: hidden;
|
|
2790
2790
|
}
|
|
2791
|
-
._teddy-
|
|
2791
|
+
._teddy-card__inset_1qi3a_314 {
|
|
2792
2792
|
overflow: hidden;
|
|
2793
2793
|
}
|
|
2794
|
-
._teddy-card__inset--
|
|
2794
|
+
._teddy-card__inset--top_1qi3a_317 {
|
|
2795
2795
|
margin-top: calc(var(--teddy-spacing-250) * -1);
|
|
2796
2796
|
}
|
|
2797
|
-
._teddy-card__inset--
|
|
2797
|
+
._teddy-card__inset--top_1qi3a_317._teddy-card__inset--left_1qi3a_320 {
|
|
2798
2798
|
border-top-left-radius: inherit;
|
|
2799
2799
|
}
|
|
2800
|
-
._teddy-card__inset--
|
|
2800
|
+
._teddy-card__inset--top_1qi3a_317._teddy-card__inset--right_1qi3a_323 {
|
|
2801
2801
|
border-top-right-radius: inherit;
|
|
2802
2802
|
}
|
|
2803
|
-
._teddy-card__inset--
|
|
2803
|
+
._teddy-card__inset--bottom_1qi3a_326 {
|
|
2804
2804
|
margin-bottom: calc(var(--teddy-spacing-250) * -1);
|
|
2805
2805
|
}
|
|
2806
|
-
._teddy-card__inset--
|
|
2806
|
+
._teddy-card__inset--bottom_1qi3a_326._teddy-card__inset--left_1qi3a_320 {
|
|
2807
2807
|
border-bottom-left-radius: inherit;
|
|
2808
2808
|
}
|
|
2809
|
-
._teddy-card__inset--
|
|
2809
|
+
._teddy-card__inset--bottom_1qi3a_326._teddy-card__inset--right_1qi3a_323 {
|
|
2810
2810
|
border-bottom-right-radius: inherit;
|
|
2811
2811
|
}
|
|
2812
|
-
._teddy-card__inset--
|
|
2812
|
+
._teddy-card__inset--left_1qi3a_320 {
|
|
2813
2813
|
margin-left: calc(var(--teddy-spacing-250) * -1);
|
|
2814
2814
|
}
|
|
2815
|
-
._teddy-card__inset--
|
|
2815
|
+
._teddy-card__inset--right_1qi3a_323 {
|
|
2816
2816
|
margin-right: calc(var(--teddy-spacing-250) * -1);
|
|
2817
2817
|
}
|
|
2818
|
-
._teddy-card__availability--
|
|
2818
|
+
._teddy-card__availability--badge_1qi3a_341 {
|
|
2819
2819
|
margin-right: var(--teddy-spacing-150);
|
|
2820
2820
|
}
|
|
2821
|
-
._teddy-card__availability--
|
|
2821
|
+
._teddy-card__availability--success_1qi3a_344 {
|
|
2822
2822
|
color: var(--teddy-color-text-status-success-strong);
|
|
2823
2823
|
}
|
|
2824
|
-
._teddy-card__availability--
|
|
2824
|
+
._teddy-card__availability--warning_1qi3a_347 {
|
|
2825
2825
|
color: var(--teddy-color-text-status-warning-strong);
|
|
2826
2826
|
}
|
|
2827
|
-
._teddy-card__availability--
|
|
2827
|
+
._teddy-card__availability--error_1qi3a_350 {
|
|
2828
2828
|
color: var(--teddy-color-text-status-error-strong);
|
|
2829
2829
|
}
|
|
2830
|
-
._teddy-card__availability--
|
|
2830
|
+
._teddy-card__availability--special_1qi3a_353 {
|
|
2831
2831
|
color: var(--teddy-color-text-status-special);
|
|
2832
2832
|
}
|
|
2833
|
-
._teddy-card__availability--
|
|
2833
|
+
._teddy-card__availability--neutral_1qi3a_356 {
|
|
2834
2834
|
color: var(--teddy-color-text-status-neutral);
|
|
2835
2835
|
}
|
|
2836
|
-
._teddy-card__availability--
|
|
2836
|
+
._teddy-card__availability--information_1qi3a_359 {
|
|
2837
2837
|
color: var(--teddy-color-text-status-info-strong);
|
|
2838
2838
|
}
|
|
2839
2839
|
}._teddy-badge_wlyo5_1 {
|