@telia/teddy 0.0.74 → 0.0.76
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-carousel.cjs +24 -2
- package/dist/components/card/card-carousel.d.ts +3 -0
- package/dist/components/card/card-carousel.js +24 -2
- package/dist/components/card/card.cjs +50 -50
- package/dist/components/card/card.js +50 -50
- package/dist/components/carousel/carousel-root.cjs +3 -27
- package/dist/components/carousel/carousel-root.d.ts +1 -0
- package/dist/components/carousel/carousel-root.js +4 -28
- package/dist/components/navigation-menu/global-navigation/utils.cjs +34 -2
- package/dist/components/navigation-menu/global-navigation/utils.d.ts +54 -4
- package/dist/components/navigation-menu/global-navigation/utils.js +34 -2
- package/dist/style.css +103 -101
- package/dist/utils/breakpointToNumber.cjs +6 -0
- package/dist/utils/breakpointToNumber.d.ts +1 -0
- package/dist/utils/breakpointToNumber.js +6 -0
- package/package.json +1 -1
|
@@ -6,8 +6,19 @@ const clsx = require("clsx");
|
|
|
6
6
|
const components_card_card = require("./card.cjs");
|
|
7
7
|
const components_carousel_carouselRoot = require("../carousel/carousel-root.cjs");
|
|
8
8
|
const components_colorDot_index = require("../color-dot/index.cjs");
|
|
9
|
+
const utils_breakpointToNumber = require("../../utils/breakpointToNumber.cjs");
|
|
10
|
+
const tokens_breakpoint_variables = require("../../tokens/breakpoint/variables.cjs");
|
|
9
11
|
const ImageSlider = React.forwardRef(
|
|
10
|
-
({
|
|
12
|
+
({
|
|
13
|
+
settings,
|
|
14
|
+
variants,
|
|
15
|
+
className,
|
|
16
|
+
children,
|
|
17
|
+
onClick = () => void 0,
|
|
18
|
+
onClickNext,
|
|
19
|
+
onClickPrev,
|
|
20
|
+
onChangeVariant = () => void 0
|
|
21
|
+
}, forwardRef) => {
|
|
11
22
|
const [selectedSlide, setSelectedSlide] = React.useState(0);
|
|
12
23
|
const rootCarouselClass = `${components_card_card.rootClassName}__carousel`;
|
|
13
24
|
const classes = clsx([components_card_card.styles[rootCarouselClass]], className);
|
|
@@ -17,6 +28,7 @@ const ImageSlider = React.forwardRef(
|
|
|
17
28
|
size: "sm",
|
|
18
29
|
onClickNext,
|
|
19
30
|
onClickPrev,
|
|
31
|
+
onClick,
|
|
20
32
|
settings: {
|
|
21
33
|
beforeChange: (_currentSlide, nextSlide) => {
|
|
22
34
|
setSelectedSlide(nextSlide);
|
|
@@ -25,7 +37,17 @@ const ImageSlider = React.forwardRef(
|
|
|
25
37
|
customPaging: (index) => {
|
|
26
38
|
const variant = variants[index];
|
|
27
39
|
return /* @__PURE__ */ jsxRuntime.jsx(components_colorDot_index.ColorDot, { color: variant.color, size: "xs", bordered: true, wide: index === selectedSlide });
|
|
28
|
-
}
|
|
40
|
+
},
|
|
41
|
+
swipe: false,
|
|
42
|
+
responsive: [
|
|
43
|
+
{
|
|
44
|
+
breakpoint: utils_breakpointToNumber.breakpointToNumber(tokens_breakpoint_variables.teddyBreakpointMd),
|
|
45
|
+
settings: {
|
|
46
|
+
swipe: true
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
...settings
|
|
29
51
|
},
|
|
30
52
|
children
|
|
31
53
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { Settings } from 'react-slick';
|
|
2
3
|
|
|
3
4
|
export type ImageSliderVariant = {
|
|
4
5
|
color: string;
|
|
@@ -8,6 +9,8 @@ export interface ImageSliderProps {
|
|
|
8
9
|
variants: ImageSliderVariant[];
|
|
9
10
|
children: React.ReactNode;
|
|
10
11
|
className?: string;
|
|
12
|
+
settings?: Settings;
|
|
13
|
+
onClick?: () => void;
|
|
11
14
|
onClickNext?: () => void;
|
|
12
15
|
onClickPrev?: () => void;
|
|
13
16
|
onChangeVariant?: (variant: ImageSliderVariant) => void;
|
|
@@ -4,8 +4,19 @@ import clsx from "clsx";
|
|
|
4
4
|
import { s as styles, rootClassName } from "./card.js";
|
|
5
5
|
import { Carousel } from "../carousel/carousel-root.js";
|
|
6
6
|
import { ColorDot } from "../color-dot/index.js";
|
|
7
|
+
import { breakpointToNumber } from "../../utils/breakpointToNumber.js";
|
|
8
|
+
import { teddyBreakpointMd } from "../../tokens/breakpoint/variables.js";
|
|
7
9
|
const ImageSlider = React__default.forwardRef(
|
|
8
|
-
({
|
|
10
|
+
({
|
|
11
|
+
settings,
|
|
12
|
+
variants,
|
|
13
|
+
className,
|
|
14
|
+
children,
|
|
15
|
+
onClick = () => void 0,
|
|
16
|
+
onClickNext,
|
|
17
|
+
onClickPrev,
|
|
18
|
+
onChangeVariant = () => void 0
|
|
19
|
+
}, forwardRef) => {
|
|
9
20
|
const [selectedSlide, setSelectedSlide] = useState(0);
|
|
10
21
|
const rootCarouselClass = `${rootClassName}__carousel`;
|
|
11
22
|
const classes = clsx([styles[rootCarouselClass]], className);
|
|
@@ -15,6 +26,7 @@ const ImageSlider = React__default.forwardRef(
|
|
|
15
26
|
size: "sm",
|
|
16
27
|
onClickNext,
|
|
17
28
|
onClickPrev,
|
|
29
|
+
onClick,
|
|
18
30
|
settings: {
|
|
19
31
|
beforeChange: (_currentSlide, nextSlide) => {
|
|
20
32
|
setSelectedSlide(nextSlide);
|
|
@@ -23,7 +35,17 @@ const ImageSlider = React__default.forwardRef(
|
|
|
23
35
|
customPaging: (index) => {
|
|
24
36
|
const variant = variants[index];
|
|
25
37
|
return /* @__PURE__ */ jsx(ColorDot, { color: variant.color, size: "xs", bordered: true, wide: index === selectedSlide });
|
|
26
|
-
}
|
|
38
|
+
},
|
|
39
|
+
swipe: false,
|
|
40
|
+
responsive: [
|
|
41
|
+
{
|
|
42
|
+
breakpoint: breakpointToNumber(teddyBreakpointMd),
|
|
43
|
+
settings: {
|
|
44
|
+
swipe: true
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
...settings
|
|
27
49
|
},
|
|
28
50
|
children
|
|
29
51
|
}
|
|
@@ -7,56 +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-card__action-wrapper": "_teddy-card__action-
|
|
20
|
-
"teddy-card--layout": "_teddy-card--
|
|
21
|
-
"teddy-card__illustration": "_teddy-
|
|
22
|
-
"teddy-card__carousel": "_teddy-
|
|
23
|
-
"teddy-card__content": "_teddy-
|
|
24
|
-
"teddy-card__heading": "_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-small-centered": "_teddy-card--navigation-horizontal-small-
|
|
35
|
-
"teddy-card--navigation-horizontal-large": "_teddy-card--navigation-horizontal-
|
|
36
|
-
"teddy-card--rich-card": "_teddy-card--rich-
|
|
37
|
-
"teddy-card__line": "_teddy-
|
|
38
|
-
"teddy-card--purple-light": "_teddy-card--purple-
|
|
39
|
-
"teddy-card--purple-dark": "_teddy-card--purple-
|
|
40
|
-
"teddy-card--white": "_teddy-card--
|
|
41
|
-
"teddy-card--gray": "_teddy-card--
|
|
42
|
-
"teddy-card--beige": "_teddy-card--
|
|
43
|
-
"teddy-card--product": "_teddy-card--
|
|
44
|
-
"teddy-card__price--big": "_teddy-card__price--
|
|
45
|
-
"teddy-card__image--as-background": "_teddy-card__image--as-
|
|
46
|
-
"teddy-card--background-image": "_teddy-card--background-
|
|
47
|
-
"teddy-card__illustration--rounded": "_teddy-card__illustration--
|
|
48
|
-
"teddy-card__inset": "_teddy-
|
|
49
|
-
"teddy-card__inset--top": "_teddy-card__inset--
|
|
50
|
-
"teddy-card__inset--left": "_teddy-card__inset--
|
|
51
|
-
"teddy-card__inset--right": "_teddy-card__inset--
|
|
52
|
-
"teddy-card__inset--bottom": "_teddy-card__inset--
|
|
53
|
-
"teddy-card__availability--badge": "_teddy-card__availability--
|
|
54
|
-
"teddy-card__availability--success": "_teddy-card__availability--
|
|
55
|
-
"teddy-card__availability--warning": "_teddy-card__availability--
|
|
56
|
-
"teddy-card__availability--error": "_teddy-card__availability--
|
|
57
|
-
"teddy-card__availability--special": "_teddy-card__availability--
|
|
58
|
-
"teddy-card__availability--neutral": "_teddy-card__availability--
|
|
59
|
-
"teddy-card__availability--information": "_teddy-card__availability--
|
|
10
|
+
"teddy-card": "_teddy-card_obors_3",
|
|
11
|
+
"teddy-card__slot": "_teddy-card__slot_obors_13",
|
|
12
|
+
"teddy-card__slot--bottom": "_teddy-card__slot--bottom_obors_16",
|
|
13
|
+
"teddy-card__slot--center": "_teddy-card__slot--center_obors_19",
|
|
14
|
+
"teddy-card__slot--no-translate": "_teddy-card__slot--no-translate_obors_25",
|
|
15
|
+
"teddy-card--shadow": "_teddy-card--shadow_obors_44",
|
|
16
|
+
"teddy-card__action": "_teddy-card__action_obors_48",
|
|
17
|
+
"teddy-card__action--disabled": "_teddy-card__action--disabled_obors_48",
|
|
18
|
+
"teddy-card--border": "_teddy-card--border_obors_55",
|
|
19
|
+
"teddy-card__action-wrapper": "_teddy-card__action-wrapper_obors_58",
|
|
20
|
+
"teddy-card--layout": "_teddy-card--layout_obors_61",
|
|
21
|
+
"teddy-card__illustration": "_teddy-card__illustration_obors_61",
|
|
22
|
+
"teddy-card__carousel": "_teddy-card__carousel_obors_64",
|
|
23
|
+
"teddy-card__content": "_teddy-card__content_obors_67",
|
|
24
|
+
"teddy-card__heading": "_teddy-card__heading_obors_70",
|
|
25
|
+
"teddy-card__footer": "_teddy-card__footer_obors_76",
|
|
26
|
+
"teddy-card__overline": "_teddy-card__overline_obors_79",
|
|
27
|
+
"teddy-card__description": "_teddy-card__description_obors_82",
|
|
28
|
+
"teddy-card__color-dots": "_teddy-card__color-dots_obors_85",
|
|
29
|
+
"teddy-card__availability": "_teddy-card__availability_obors_88",
|
|
30
|
+
"teddy-card__price": "_teddy-card__price_obors_91",
|
|
31
|
+
"teddy-card--default": "_teddy-card--default_obors_94",
|
|
32
|
+
"teddy-card--navigation-vertical": "_teddy-card--navigation-vertical_obors_99",
|
|
33
|
+
"teddy-card--navigation-horizontal-small": "_teddy-card--navigation-horizontal-small_obors_118",
|
|
34
|
+
"teddy-card--navigation-horizontal-small-centered": "_teddy-card--navigation-horizontal-small-centered_obors_127",
|
|
35
|
+
"teddy-card--navigation-horizontal-large": "_teddy-card--navigation-horizontal-large_obors_146",
|
|
36
|
+
"teddy-card--rich-card": "_teddy-card--rich-card_obors_158",
|
|
37
|
+
"teddy-card__line": "_teddy-card__line_obors_176",
|
|
38
|
+
"teddy-card--purple-light": "_teddy-card--purple-light_obors_180",
|
|
39
|
+
"teddy-card--purple-dark": "_teddy-card--purple-dark_obors_194",
|
|
40
|
+
"teddy-card--white": "_teddy-card--white_obors_213",
|
|
41
|
+
"teddy-card--gray": "_teddy-card--gray_obors_227",
|
|
42
|
+
"teddy-card--beige": "_teddy-card--beige_obors_241",
|
|
43
|
+
"teddy-card--product": "_teddy-card--product_obors_255",
|
|
44
|
+
"teddy-card__price--big": "_teddy-card__price--big_obors_315",
|
|
45
|
+
"teddy-card__image--as-background": "_teddy-card__image--as-background_obors_318",
|
|
46
|
+
"teddy-card--background-image": "_teddy-card--background-image_obors_324",
|
|
47
|
+
"teddy-card__illustration--rounded": "_teddy-card__illustration--rounded_obors_329",
|
|
48
|
+
"teddy-card__inset": "_teddy-card__inset_obors_333",
|
|
49
|
+
"teddy-card__inset--top": "_teddy-card__inset--top_obors_336",
|
|
50
|
+
"teddy-card__inset--left": "_teddy-card__inset--left_obors_339",
|
|
51
|
+
"teddy-card__inset--right": "_teddy-card__inset--right_obors_342",
|
|
52
|
+
"teddy-card__inset--bottom": "_teddy-card__inset--bottom_obors_345",
|
|
53
|
+
"teddy-card__availability--badge": "_teddy-card__availability--badge_obors_360",
|
|
54
|
+
"teddy-card__availability--success": "_teddy-card__availability--success_obors_363",
|
|
55
|
+
"teddy-card__availability--warning": "_teddy-card__availability--warning_obors_366",
|
|
56
|
+
"teddy-card__availability--error": "_teddy-card__availability--error_obors_369",
|
|
57
|
+
"teddy-card__availability--special": "_teddy-card__availability--special_obors_372",
|
|
58
|
+
"teddy-card__availability--neutral": "_teddy-card__availability--neutral_obors_375",
|
|
59
|
+
"teddy-card__availability--information": "_teddy-card__availability--information_obors_378"
|
|
60
60
|
};
|
|
61
61
|
const rootClassName = "teddy-card";
|
|
62
62
|
const actionElementIdentifier = `${rootClassName}__action`;
|
|
@@ -5,56 +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-card__action-wrapper": "_teddy-card__action-
|
|
18
|
-
"teddy-card--layout": "_teddy-card--
|
|
19
|
-
"teddy-card__illustration": "_teddy-
|
|
20
|
-
"teddy-card__carousel": "_teddy-
|
|
21
|
-
"teddy-card__content": "_teddy-
|
|
22
|
-
"teddy-card__heading": "_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-small-centered": "_teddy-card--navigation-horizontal-small-
|
|
33
|
-
"teddy-card--navigation-horizontal-large": "_teddy-card--navigation-horizontal-
|
|
34
|
-
"teddy-card--rich-card": "_teddy-card--rich-
|
|
35
|
-
"teddy-card__line": "_teddy-
|
|
36
|
-
"teddy-card--purple-light": "_teddy-card--purple-
|
|
37
|
-
"teddy-card--purple-dark": "_teddy-card--purple-
|
|
38
|
-
"teddy-card--white": "_teddy-card--
|
|
39
|
-
"teddy-card--gray": "_teddy-card--
|
|
40
|
-
"teddy-card--beige": "_teddy-card--
|
|
41
|
-
"teddy-card--product": "_teddy-card--
|
|
42
|
-
"teddy-card__price--big": "_teddy-card__price--
|
|
43
|
-
"teddy-card__image--as-background": "_teddy-card__image--as-
|
|
44
|
-
"teddy-card--background-image": "_teddy-card--background-
|
|
45
|
-
"teddy-card__illustration--rounded": "_teddy-card__illustration--
|
|
46
|
-
"teddy-card__inset": "_teddy-
|
|
47
|
-
"teddy-card__inset--top": "_teddy-card__inset--
|
|
48
|
-
"teddy-card__inset--left": "_teddy-card__inset--
|
|
49
|
-
"teddy-card__inset--right": "_teddy-card__inset--
|
|
50
|
-
"teddy-card__inset--bottom": "_teddy-card__inset--
|
|
51
|
-
"teddy-card__availability--badge": "_teddy-card__availability--
|
|
52
|
-
"teddy-card__availability--success": "_teddy-card__availability--
|
|
53
|
-
"teddy-card__availability--warning": "_teddy-card__availability--
|
|
54
|
-
"teddy-card__availability--error": "_teddy-card__availability--
|
|
55
|
-
"teddy-card__availability--special": "_teddy-card__availability--
|
|
56
|
-
"teddy-card__availability--neutral": "_teddy-card__availability--
|
|
57
|
-
"teddy-card__availability--information": "_teddy-card__availability--
|
|
8
|
+
"teddy-card": "_teddy-card_obors_3",
|
|
9
|
+
"teddy-card__slot": "_teddy-card__slot_obors_13",
|
|
10
|
+
"teddy-card__slot--bottom": "_teddy-card__slot--bottom_obors_16",
|
|
11
|
+
"teddy-card__slot--center": "_teddy-card__slot--center_obors_19",
|
|
12
|
+
"teddy-card__slot--no-translate": "_teddy-card__slot--no-translate_obors_25",
|
|
13
|
+
"teddy-card--shadow": "_teddy-card--shadow_obors_44",
|
|
14
|
+
"teddy-card__action": "_teddy-card__action_obors_48",
|
|
15
|
+
"teddy-card__action--disabled": "_teddy-card__action--disabled_obors_48",
|
|
16
|
+
"teddy-card--border": "_teddy-card--border_obors_55",
|
|
17
|
+
"teddy-card__action-wrapper": "_teddy-card__action-wrapper_obors_58",
|
|
18
|
+
"teddy-card--layout": "_teddy-card--layout_obors_61",
|
|
19
|
+
"teddy-card__illustration": "_teddy-card__illustration_obors_61",
|
|
20
|
+
"teddy-card__carousel": "_teddy-card__carousel_obors_64",
|
|
21
|
+
"teddy-card__content": "_teddy-card__content_obors_67",
|
|
22
|
+
"teddy-card__heading": "_teddy-card__heading_obors_70",
|
|
23
|
+
"teddy-card__footer": "_teddy-card__footer_obors_76",
|
|
24
|
+
"teddy-card__overline": "_teddy-card__overline_obors_79",
|
|
25
|
+
"teddy-card__description": "_teddy-card__description_obors_82",
|
|
26
|
+
"teddy-card__color-dots": "_teddy-card__color-dots_obors_85",
|
|
27
|
+
"teddy-card__availability": "_teddy-card__availability_obors_88",
|
|
28
|
+
"teddy-card__price": "_teddy-card__price_obors_91",
|
|
29
|
+
"teddy-card--default": "_teddy-card--default_obors_94",
|
|
30
|
+
"teddy-card--navigation-vertical": "_teddy-card--navigation-vertical_obors_99",
|
|
31
|
+
"teddy-card--navigation-horizontal-small": "_teddy-card--navigation-horizontal-small_obors_118",
|
|
32
|
+
"teddy-card--navigation-horizontal-small-centered": "_teddy-card--navigation-horizontal-small-centered_obors_127",
|
|
33
|
+
"teddy-card--navigation-horizontal-large": "_teddy-card--navigation-horizontal-large_obors_146",
|
|
34
|
+
"teddy-card--rich-card": "_teddy-card--rich-card_obors_158",
|
|
35
|
+
"teddy-card__line": "_teddy-card__line_obors_176",
|
|
36
|
+
"teddy-card--purple-light": "_teddy-card--purple-light_obors_180",
|
|
37
|
+
"teddy-card--purple-dark": "_teddy-card--purple-dark_obors_194",
|
|
38
|
+
"teddy-card--white": "_teddy-card--white_obors_213",
|
|
39
|
+
"teddy-card--gray": "_teddy-card--gray_obors_227",
|
|
40
|
+
"teddy-card--beige": "_teddy-card--beige_obors_241",
|
|
41
|
+
"teddy-card--product": "_teddy-card--product_obors_255",
|
|
42
|
+
"teddy-card__price--big": "_teddy-card__price--big_obors_315",
|
|
43
|
+
"teddy-card__image--as-background": "_teddy-card__image--as-background_obors_318",
|
|
44
|
+
"teddy-card--background-image": "_teddy-card--background-image_obors_324",
|
|
45
|
+
"teddy-card__illustration--rounded": "_teddy-card__illustration--rounded_obors_329",
|
|
46
|
+
"teddy-card__inset": "_teddy-card__inset_obors_333",
|
|
47
|
+
"teddy-card__inset--top": "_teddy-card__inset--top_obors_336",
|
|
48
|
+
"teddy-card__inset--left": "_teddy-card__inset--left_obors_339",
|
|
49
|
+
"teddy-card__inset--right": "_teddy-card__inset--right_obors_342",
|
|
50
|
+
"teddy-card__inset--bottom": "_teddy-card__inset--bottom_obors_345",
|
|
51
|
+
"teddy-card__availability--badge": "_teddy-card__availability--badge_obors_360",
|
|
52
|
+
"teddy-card__availability--success": "_teddy-card__availability--success_obors_363",
|
|
53
|
+
"teddy-card__availability--warning": "_teddy-card__availability--warning_obors_366",
|
|
54
|
+
"teddy-card__availability--error": "_teddy-card__availability--error_obors_369",
|
|
55
|
+
"teddy-card__availability--special": "_teddy-card__availability--special_obors_372",
|
|
56
|
+
"teddy-card__availability--neutral": "_teddy-card__availability--neutral_obors_375",
|
|
57
|
+
"teddy-card__availability--information": "_teddy-card__availability--information_obors_378"
|
|
58
58
|
};
|
|
59
59
|
const rootClassName = "teddy-card";
|
|
60
60
|
const actionElementIdentifier = `${rootClassName}__action`;
|
|
@@ -39,6 +39,7 @@ const Carousel = ({
|
|
|
39
39
|
className = "",
|
|
40
40
|
onClickNext,
|
|
41
41
|
onClickPrev,
|
|
42
|
+
onClick = () => void 0,
|
|
42
43
|
navigationIcon,
|
|
43
44
|
settings,
|
|
44
45
|
size = "lg"
|
|
@@ -55,20 +56,6 @@ const Carousel = ({
|
|
|
55
56
|
lazyLoad: "ondemand",
|
|
56
57
|
...settings
|
|
57
58
|
};
|
|
58
|
-
const [swiped, setSwiped] = React.useState(false);
|
|
59
|
-
const handleSwiped = React.useCallback(() => {
|
|
60
|
-
setSwiped(true);
|
|
61
|
-
}, [setSwiped]);
|
|
62
|
-
const handleOnItemClick = React.useCallback(
|
|
63
|
-
(e) => {
|
|
64
|
-
if (swiped) {
|
|
65
|
-
e.stopPropagation();
|
|
66
|
-
e.preventDefault();
|
|
67
|
-
setSwiped(false);
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
[swiped]
|
|
71
|
-
);
|
|
72
59
|
const filteredChildren = React.Children.toArray(children).filter((child) => !!child);
|
|
73
60
|
const SliderComponent = Slider.default ? Slider.default : Slider;
|
|
74
61
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -78,19 +65,8 @@ const Carousel = ({
|
|
|
78
65
|
[styles[`${rootClassName}--${size}`]]: size,
|
|
79
66
|
[className]: className
|
|
80
67
|
}),
|
|
81
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(SliderComponent, { ...computedSettings,
|
|
82
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
83
|
-
"div",
|
|
84
|
-
{
|
|
85
|
-
onClick: (e) => {
|
|
86
|
-
e.stopPropagation();
|
|
87
|
-
e.preventDefault();
|
|
88
|
-
},
|
|
89
|
-
onClickCapture: handleOnItemClick,
|
|
90
|
-
className: clsx(styles[`${rootClassName}__item`]),
|
|
91
|
-
children: child
|
|
92
|
-
}
|
|
93
|
-
);
|
|
68
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(SliderComponent, { ...computedSettings, children: React.Children.map(filteredChildren, (child) => {
|
|
69
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { onClick, className: clsx(styles[`${rootClassName}__item`]), children: child });
|
|
94
70
|
}) })
|
|
95
71
|
}
|
|
96
72
|
);
|
|
@@ -10,6 +10,7 @@ export type CarouselProps = {
|
|
|
10
10
|
size?: 'sm' | 'lg';
|
|
11
11
|
onClickNext?: () => void;
|
|
12
12
|
onClickPrev?: () => void;
|
|
13
|
+
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
13
14
|
};
|
|
14
15
|
/** Carousel to show images in. Can be fully customized by utlizing underlying 'settings' props mapped with react-slick */
|
|
15
16
|
export declare const Carousel: React.FC<CarouselProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import React__default
|
|
2
|
+
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import Slider from "react-slick";
|
|
5
5
|
import "../../assets/sprite.269ba410-teddy.svg";
|
|
@@ -37,6 +37,7 @@ const Carousel = ({
|
|
|
37
37
|
className = "",
|
|
38
38
|
onClickNext,
|
|
39
39
|
onClickPrev,
|
|
40
|
+
onClick = () => void 0,
|
|
40
41
|
navigationIcon,
|
|
41
42
|
settings,
|
|
42
43
|
size = "lg"
|
|
@@ -53,20 +54,6 @@ const Carousel = ({
|
|
|
53
54
|
lazyLoad: "ondemand",
|
|
54
55
|
...settings
|
|
55
56
|
};
|
|
56
|
-
const [swiped, setSwiped] = useState(false);
|
|
57
|
-
const handleSwiped = useCallback(() => {
|
|
58
|
-
setSwiped(true);
|
|
59
|
-
}, [setSwiped]);
|
|
60
|
-
const handleOnItemClick = useCallback(
|
|
61
|
-
(e) => {
|
|
62
|
-
if (swiped) {
|
|
63
|
-
e.stopPropagation();
|
|
64
|
-
e.preventDefault();
|
|
65
|
-
setSwiped(false);
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
[swiped]
|
|
69
|
-
);
|
|
70
57
|
const filteredChildren = React__default.Children.toArray(children).filter((child) => !!child);
|
|
71
58
|
const SliderComponent = Slider.default ? Slider.default : Slider;
|
|
72
59
|
return /* @__PURE__ */ jsx(
|
|
@@ -76,19 +63,8 @@ const Carousel = ({
|
|
|
76
63
|
[styles[`${rootClassName}--${size}`]]: size,
|
|
77
64
|
[className]: className
|
|
78
65
|
}),
|
|
79
|
-
children: /* @__PURE__ */ jsx(SliderComponent, { ...computedSettings,
|
|
80
|
-
return /* @__PURE__ */ jsx(
|
|
81
|
-
"div",
|
|
82
|
-
{
|
|
83
|
-
onClick: (e) => {
|
|
84
|
-
e.stopPropagation();
|
|
85
|
-
e.preventDefault();
|
|
86
|
-
},
|
|
87
|
-
onClickCapture: handleOnItemClick,
|
|
88
|
-
className: clsx(styles[`${rootClassName}__item`]),
|
|
89
|
-
children: child
|
|
90
|
-
}
|
|
91
|
-
);
|
|
66
|
+
children: /* @__PURE__ */ jsx(SliderComponent, { ...computedSettings, children: React__default.Children.map(filteredChildren, (child) => {
|
|
67
|
+
return /* @__PURE__ */ jsx("div", { onClick, className: clsx(styles[`${rootClassName}__item`]), children: child });
|
|
92
68
|
}) })
|
|
93
69
|
}
|
|
94
70
|
);
|
|
@@ -209,6 +209,33 @@ const PRIVATE_LINKS = {
|
|
|
209
209
|
}
|
|
210
210
|
]
|
|
211
211
|
},
|
|
212
|
+
{
|
|
213
|
+
name: "Trygghet",
|
|
214
|
+
link: "/trygghet/",
|
|
215
|
+
appKey: APP_KEYS["open-pages"],
|
|
216
|
+
links: [
|
|
217
|
+
{
|
|
218
|
+
name: "Tjenester",
|
|
219
|
+
link: "/trygghet/tjenester/",
|
|
220
|
+
appKey: APP_KEYS["open-pages"]
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
name: "Svindel",
|
|
224
|
+
link: "/trygghet/svindel/",
|
|
225
|
+
appKey: APP_KEYS["open-pages"]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
name: "Aktuelt",
|
|
229
|
+
link: "/trygghet/aktuelt/",
|
|
230
|
+
appKey: APP_KEYS["open-pages"]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
name: "Hjelp Trygghet",
|
|
234
|
+
link: "/trygghet/hjelp/",
|
|
235
|
+
appKey: APP_KEYS["open-pages"]
|
|
236
|
+
}
|
|
237
|
+
]
|
|
238
|
+
},
|
|
212
239
|
{
|
|
213
240
|
name: "Hjelp",
|
|
214
241
|
link: "/hjelp/",
|
|
@@ -229,6 +256,11 @@ const PRIVATE_LINKS = {
|
|
|
229
256
|
link: "/internett/hjelp/",
|
|
230
257
|
appKey: APP_KEYS["open-pages"]
|
|
231
258
|
},
|
|
259
|
+
{
|
|
260
|
+
name: "Hjelp Trygghet",
|
|
261
|
+
link: "/trygghet/hjelp/",
|
|
262
|
+
appKey: APP_KEYS["open-pages"]
|
|
263
|
+
},
|
|
232
264
|
{
|
|
233
265
|
name: "Faktura",
|
|
234
266
|
link: "/hjelp/faktura/",
|
|
@@ -285,12 +317,12 @@ const BUSINESS_LINKS = {
|
|
|
285
317
|
{
|
|
286
318
|
name: "Nettbutikk",
|
|
287
319
|
link: "/bedrift/mobilabonnement/",
|
|
288
|
-
appKey: APP_KEYS["
|
|
320
|
+
appKey: APP_KEYS["open-pages"],
|
|
289
321
|
links: [
|
|
290
322
|
{
|
|
291
323
|
name: "Mobilabonnement",
|
|
292
324
|
link: "/bedrift/mobilabonnement/",
|
|
293
|
-
appKey: APP_KEYS["
|
|
325
|
+
appKey: APP_KEYS["open-pages"]
|
|
294
326
|
},
|
|
295
327
|
{
|
|
296
328
|
name: "Mobiltelefoner",
|
|
@@ -231,6 +231,27 @@ export declare const PRIVATE_LINKS: {
|
|
|
231
231
|
readonly link: "/internett/hjelp/";
|
|
232
232
|
readonly appKey: "open-pages";
|
|
233
233
|
}];
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "Trygghet";
|
|
236
|
+
readonly link: "/trygghet/";
|
|
237
|
+
readonly appKey: "open-pages";
|
|
238
|
+
readonly links: [{
|
|
239
|
+
readonly name: "Tjenester";
|
|
240
|
+
readonly link: "/trygghet/tjenester/";
|
|
241
|
+
readonly appKey: "open-pages";
|
|
242
|
+
}, {
|
|
243
|
+
readonly name: "Svindel";
|
|
244
|
+
readonly link: "/trygghet/svindel/";
|
|
245
|
+
readonly appKey: "open-pages";
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "Aktuelt";
|
|
248
|
+
readonly link: "/trygghet/aktuelt/";
|
|
249
|
+
readonly appKey: "open-pages";
|
|
250
|
+
}, {
|
|
251
|
+
readonly name: "Hjelp Trygghet";
|
|
252
|
+
readonly link: "/trygghet/hjelp/";
|
|
253
|
+
readonly appKey: "open-pages";
|
|
254
|
+
}];
|
|
234
255
|
}, {
|
|
235
256
|
readonly name: "Hjelp";
|
|
236
257
|
readonly link: "/hjelp/";
|
|
@@ -247,6 +268,10 @@ export declare const PRIVATE_LINKS: {
|
|
|
247
268
|
readonly name: "Hjelp Internett";
|
|
248
269
|
readonly link: "/internett/hjelp/";
|
|
249
270
|
readonly appKey: "open-pages";
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "Hjelp Trygghet";
|
|
273
|
+
readonly link: "/trygghet/hjelp/";
|
|
274
|
+
readonly appKey: "open-pages";
|
|
250
275
|
}, {
|
|
251
276
|
readonly name: "Faktura";
|
|
252
277
|
readonly link: "/hjelp/faktura/";
|
|
@@ -289,11 +314,11 @@ export declare const BUSINESS_LINKS: {
|
|
|
289
314
|
}, {
|
|
290
315
|
readonly name: "Nettbutikk";
|
|
291
316
|
readonly link: "/bedrift/mobilabonnement/";
|
|
292
|
-
readonly appKey: "
|
|
317
|
+
readonly appKey: "open-pages";
|
|
293
318
|
readonly links: [{
|
|
294
319
|
readonly name: "Mobilabonnement";
|
|
295
320
|
readonly link: "/bedrift/mobilabonnement/";
|
|
296
|
-
readonly appKey: "
|
|
321
|
+
readonly appKey: "open-pages";
|
|
297
322
|
}, {
|
|
298
323
|
readonly name: "Mobiltelefoner";
|
|
299
324
|
readonly link: "/bedrift/mobiltelefoner/";
|
|
@@ -440,6 +465,27 @@ export declare const LINKS: [{
|
|
|
440
465
|
readonly link: "/internett/hjelp/";
|
|
441
466
|
readonly appKey: "open-pages";
|
|
442
467
|
}];
|
|
468
|
+
}, {
|
|
469
|
+
readonly name: "Trygghet";
|
|
470
|
+
readonly link: "/trygghet/";
|
|
471
|
+
readonly appKey: "open-pages";
|
|
472
|
+
readonly links: [{
|
|
473
|
+
readonly name: "Tjenester";
|
|
474
|
+
readonly link: "/trygghet/tjenester/";
|
|
475
|
+
readonly appKey: "open-pages";
|
|
476
|
+
}, {
|
|
477
|
+
readonly name: "Svindel";
|
|
478
|
+
readonly link: "/trygghet/svindel/";
|
|
479
|
+
readonly appKey: "open-pages";
|
|
480
|
+
}, {
|
|
481
|
+
readonly name: "Aktuelt";
|
|
482
|
+
readonly link: "/trygghet/aktuelt/";
|
|
483
|
+
readonly appKey: "open-pages";
|
|
484
|
+
}, {
|
|
485
|
+
readonly name: "Hjelp Trygghet";
|
|
486
|
+
readonly link: "/trygghet/hjelp/";
|
|
487
|
+
readonly appKey: "open-pages";
|
|
488
|
+
}];
|
|
443
489
|
}, {
|
|
444
490
|
readonly name: "Hjelp";
|
|
445
491
|
readonly link: "/hjelp/";
|
|
@@ -456,6 +502,10 @@ export declare const LINKS: [{
|
|
|
456
502
|
readonly name: "Hjelp Internett";
|
|
457
503
|
readonly link: "/internett/hjelp/";
|
|
458
504
|
readonly appKey: "open-pages";
|
|
505
|
+
}, {
|
|
506
|
+
readonly name: "Hjelp Trygghet";
|
|
507
|
+
readonly link: "/trygghet/hjelp/";
|
|
508
|
+
readonly appKey: "open-pages";
|
|
459
509
|
}, {
|
|
460
510
|
readonly name: "Faktura";
|
|
461
511
|
readonly link: "/hjelp/faktura/";
|
|
@@ -497,11 +547,11 @@ export declare const LINKS: [{
|
|
|
497
547
|
}, {
|
|
498
548
|
readonly name: "Nettbutikk";
|
|
499
549
|
readonly link: "/bedrift/mobilabonnement/";
|
|
500
|
-
readonly appKey: "
|
|
550
|
+
readonly appKey: "open-pages";
|
|
501
551
|
readonly links: [{
|
|
502
552
|
readonly name: "Mobilabonnement";
|
|
503
553
|
readonly link: "/bedrift/mobilabonnement/";
|
|
504
|
-
readonly appKey: "
|
|
554
|
+
readonly appKey: "open-pages";
|
|
505
555
|
}, {
|
|
506
556
|
readonly name: "Mobiltelefoner";
|
|
507
557
|
readonly link: "/bedrift/mobiltelefoner/";
|
|
@@ -207,6 +207,33 @@ const PRIVATE_LINKS = {
|
|
|
207
207
|
}
|
|
208
208
|
]
|
|
209
209
|
},
|
|
210
|
+
{
|
|
211
|
+
name: "Trygghet",
|
|
212
|
+
link: "/trygghet/",
|
|
213
|
+
appKey: APP_KEYS["open-pages"],
|
|
214
|
+
links: [
|
|
215
|
+
{
|
|
216
|
+
name: "Tjenester",
|
|
217
|
+
link: "/trygghet/tjenester/",
|
|
218
|
+
appKey: APP_KEYS["open-pages"]
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
name: "Svindel",
|
|
222
|
+
link: "/trygghet/svindel/",
|
|
223
|
+
appKey: APP_KEYS["open-pages"]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: "Aktuelt",
|
|
227
|
+
link: "/trygghet/aktuelt/",
|
|
228
|
+
appKey: APP_KEYS["open-pages"]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
name: "Hjelp Trygghet",
|
|
232
|
+
link: "/trygghet/hjelp/",
|
|
233
|
+
appKey: APP_KEYS["open-pages"]
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
},
|
|
210
237
|
{
|
|
211
238
|
name: "Hjelp",
|
|
212
239
|
link: "/hjelp/",
|
|
@@ -227,6 +254,11 @@ const PRIVATE_LINKS = {
|
|
|
227
254
|
link: "/internett/hjelp/",
|
|
228
255
|
appKey: APP_KEYS["open-pages"]
|
|
229
256
|
},
|
|
257
|
+
{
|
|
258
|
+
name: "Hjelp Trygghet",
|
|
259
|
+
link: "/trygghet/hjelp/",
|
|
260
|
+
appKey: APP_KEYS["open-pages"]
|
|
261
|
+
},
|
|
230
262
|
{
|
|
231
263
|
name: "Faktura",
|
|
232
264
|
link: "/hjelp/faktura/",
|
|
@@ -283,12 +315,12 @@ const BUSINESS_LINKS = {
|
|
|
283
315
|
{
|
|
284
316
|
name: "Nettbutikk",
|
|
285
317
|
link: "/bedrift/mobilabonnement/",
|
|
286
|
-
appKey: APP_KEYS["
|
|
318
|
+
appKey: APP_KEYS["open-pages"],
|
|
287
319
|
links: [
|
|
288
320
|
{
|
|
289
321
|
name: "Mobilabonnement",
|
|
290
322
|
link: "/bedrift/mobilabonnement/",
|
|
291
|
-
appKey: APP_KEYS["
|
|
323
|
+
appKey: APP_KEYS["open-pages"]
|
|
292
324
|
},
|
|
293
325
|
{
|
|
294
326
|
name: "Mobiltelefoner",
|
package/dist/style.css
CHANGED
|
@@ -2506,32 +2506,32 @@
|
|
|
2506
2506
|
}
|
|
2507
2507
|
}@layer heading, flex, grid, button, card;
|
|
2508
2508
|
@layer card {
|
|
2509
|
-
._teddy-
|
|
2509
|
+
._teddy-card_obors_3 {
|
|
2510
2510
|
border-radius: var(--teddy-border-radius-md);
|
|
2511
2511
|
padding: var(--teddy-spacing-250);
|
|
2512
2512
|
position: relative;
|
|
2513
2513
|
}
|
|
2514
2514
|
@media (prefers-reduced-motion: no-preference) {
|
|
2515
|
-
._teddy-
|
|
2515
|
+
._teddy-card_obors_3 {
|
|
2516
2516
|
transition: background-color var(--teddy-motion-duration-300) ease;
|
|
2517
2517
|
}
|
|
2518
2518
|
}
|
|
2519
|
-
._teddy-
|
|
2519
|
+
._teddy-card__slot_obors_13 {
|
|
2520
2520
|
transform: translateY(-50%);
|
|
2521
2521
|
}
|
|
2522
|
-
._teddy-card__slot--
|
|
2522
|
+
._teddy-card__slot--bottom_obors_16 {
|
|
2523
2523
|
transform: translateY(50%);
|
|
2524
2524
|
}
|
|
2525
|
-
._teddy-card__slot--
|
|
2525
|
+
._teddy-card__slot--center_obors_19 {
|
|
2526
2526
|
transform: translate(-50%, -50%);
|
|
2527
2527
|
}
|
|
2528
|
-
._teddy-card__slot--
|
|
2528
|
+
._teddy-card__slot--bottom_obors_16._teddy-card__slot--center_obors_19 {
|
|
2529
2529
|
transform: translate(-50%, 50%);
|
|
2530
2530
|
}
|
|
2531
|
-
._teddy-card__slot--no-
|
|
2531
|
+
._teddy-card__slot--no-translate_obors_25 {
|
|
2532
2532
|
transform: initial;
|
|
2533
2533
|
}
|
|
2534
|
-
._teddy-
|
|
2534
|
+
._teddy-card_obors_3::before {
|
|
2535
2535
|
content: "";
|
|
2536
2536
|
display: block;
|
|
2537
2537
|
position: absolute;
|
|
@@ -2542,221 +2542,223 @@
|
|
|
2542
2542
|
box-shadow: var(--teddy-shadow-md);
|
|
2543
2543
|
}
|
|
2544
2544
|
@media (prefers-reduced-motion: no-preference) {
|
|
2545
|
-
._teddy-
|
|
2545
|
+
._teddy-card_obors_3::before {
|
|
2546
2546
|
transition: var(--teddy-motion-duration-300) ease;
|
|
2547
2547
|
transition-property: opacity, box-shadow;
|
|
2548
2548
|
}
|
|
2549
2549
|
}
|
|
2550
|
-
._teddy-card--
|
|
2550
|
+
._teddy-card--shadow_obors_44::before {
|
|
2551
2551
|
opacity: 1;
|
|
2552
2552
|
box-shadow: var(--teddy-shadow-sm-2);
|
|
2553
2553
|
}
|
|
2554
|
-
._teddy-
|
|
2554
|
+
._teddy-card_obors_3:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2555
2555
|
cursor: pointer;
|
|
2556
2556
|
}
|
|
2557
|
-
._teddy-
|
|
2557
|
+
._teddy-card_obors_3:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)):hover:not(:has(button:hover), :has(a:hover)):has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48))::before {
|
|
2558
2558
|
opacity: 1;
|
|
2559
2559
|
box-shadow: var(--teddy-shadow-md);
|
|
2560
2560
|
}
|
|
2561
|
-
._teddy-card--
|
|
2561
|
+
._teddy-card--border_obors_55 {
|
|
2562
2562
|
border: var(--teddy-border-width-xs) solid transparent;
|
|
2563
2563
|
}
|
|
2564
|
-
._teddy-
|
|
2564
|
+
._teddy-card_obors_3 ._teddy-card__action-wrapper_obors_58 {
|
|
2565
2565
|
margin-bottom: var(--teddy-spacing-200);
|
|
2566
2566
|
}
|
|
2567
|
-
._teddy-card--
|
|
2567
|
+
._teddy-card--layout_obors_61 ._teddy-card__illustration_obors_61 {
|
|
2568
2568
|
grid-area: illustration;
|
|
2569
2569
|
}
|
|
2570
|
-
._teddy-card--
|
|
2570
|
+
._teddy-card--layout_obors_61 ._teddy-card__carousel_obors_64 {
|
|
2571
2571
|
grid-area: carousel;
|
|
2572
2572
|
}
|
|
2573
|
-
._teddy-card--
|
|
2573
|
+
._teddy-card--layout_obors_61 ._teddy-card__content_obors_67 {
|
|
2574
2574
|
grid-area: content;
|
|
2575
2575
|
}
|
|
2576
|
-
._teddy-card--
|
|
2576
|
+
._teddy-card--layout_obors_61 ._teddy-card__heading_obors_70 {
|
|
2577
2577
|
grid-area: heading;
|
|
2578
2578
|
}
|
|
2579
|
-
._teddy-card--
|
|
2579
|
+
._teddy-card--layout_obors_61 ._teddy-card__action-wrapper_obors_58 {
|
|
2580
2580
|
grid-area: action;
|
|
2581
2581
|
}
|
|
2582
|
-
._teddy-card--
|
|
2582
|
+
._teddy-card--layout_obors_61 ._teddy-card__footer_obors_76 {
|
|
2583
2583
|
grid-area: footer;
|
|
2584
2584
|
}
|
|
2585
|
-
._teddy-card--
|
|
2585
|
+
._teddy-card--layout_obors_61 ._teddy-card__overline_obors_79 {
|
|
2586
2586
|
grid-area: overline;
|
|
2587
2587
|
}
|
|
2588
|
-
._teddy-card--
|
|
2588
|
+
._teddy-card--layout_obors_61 ._teddy-card__description_obors_82 {
|
|
2589
2589
|
grid-area: description;
|
|
2590
2590
|
}
|
|
2591
|
-
._teddy-card--
|
|
2591
|
+
._teddy-card--layout_obors_61 ._teddy-card__color-dots_obors_85 {
|
|
2592
2592
|
grid-area: colors;
|
|
2593
2593
|
}
|
|
2594
|
-
._teddy-card--
|
|
2594
|
+
._teddy-card--layout_obors_61 ._teddy-card__availability_obors_88 {
|
|
2595
2595
|
grid-area: availability;
|
|
2596
2596
|
}
|
|
2597
|
-
._teddy-card--
|
|
2597
|
+
._teddy-card--layout_obors_61 ._teddy-card__price_obors_91 {
|
|
2598
2598
|
grid-area: price;
|
|
2599
2599
|
}
|
|
2600
|
-
._teddy-card--
|
|
2600
|
+
._teddy-card--default_obors_94 {
|
|
2601
2601
|
display: flex;
|
|
2602
2602
|
flex-direction: column;
|
|
2603
2603
|
gap: var(--teddy-spacing-200);
|
|
2604
2604
|
}
|
|
2605
|
-
._teddy-card--navigation-
|
|
2605
|
+
._teddy-card--navigation-vertical_obors_99 {
|
|
2606
2606
|
grid-template-rows: auto auto 1fr auto;
|
|
2607
2607
|
justify-items: start;
|
|
2608
2608
|
align-items: baseline;
|
|
2609
2609
|
grid-template-areas: "illustration" "heading" "content" "action";
|
|
2610
2610
|
}
|
|
2611
|
-
._teddy-card--navigation-
|
|
2611
|
+
._teddy-card--navigation-vertical_obors_99 ._teddy-card__illustration_obors_61 {
|
|
2612
2612
|
margin-bottom: var(--teddy-spacing-200);
|
|
2613
2613
|
}
|
|
2614
|
-
._teddy-card--navigation-
|
|
2614
|
+
._teddy-card--navigation-vertical_obors_99 ._teddy-card__content_obors_67 {
|
|
2615
2615
|
margin-bottom: var(--teddy-spacing-200);
|
|
2616
2616
|
}
|
|
2617
|
-
._teddy-card--navigation-
|
|
2617
|
+
._teddy-card--navigation-vertical_obors_99 ._teddy-card__heading_obors_70 {
|
|
2618
2618
|
margin-bottom: var(--teddy-spacing-100);
|
|
2619
2619
|
}
|
|
2620
|
-
._teddy-card--navigation-
|
|
2620
|
+
._teddy-card--navigation-vertical_obors_99 ._teddy-card__action_obors_48 {
|
|
2621
2621
|
margin-top: auto;
|
|
2622
2622
|
justify-self: end;
|
|
2623
2623
|
}
|
|
2624
|
-
._teddy-card--navigation-horizontal-
|
|
2624
|
+
._teddy-card--navigation-horizontal-small_obors_118 {
|
|
2625
2625
|
grid-template-columns: auto 1fr auto;
|
|
2626
2626
|
grid-template-rows: auto 1fr;
|
|
2627
2627
|
grid-template-areas: "illustration heading action" "illustration content action";
|
|
2628
2628
|
column-gap: var(--teddy-spacing-200);
|
|
2629
2629
|
}
|
|
2630
|
-
._teddy-card--navigation-horizontal-
|
|
2630
|
+
._teddy-card--navigation-horizontal-small_obors_118 ._teddy-card__heading_obors_70 {
|
|
2631
2631
|
margin-bottom: var(--teddy-spacing-100);
|
|
2632
2632
|
}
|
|
2633
|
-
._teddy-card--navigation-horizontal-small-
|
|
2633
|
+
._teddy-card--navigation-horizontal-small-centered_obors_127 {
|
|
2634
|
+
max-width: 26rem;
|
|
2634
2635
|
grid-template-columns: auto 1fr auto;
|
|
2635
2636
|
grid-template-rows: 1fr auto;
|
|
2636
2637
|
grid-template-areas: "illustration heading action" "illustration content action";
|
|
2637
2638
|
align-items: center;
|
|
2638
2639
|
column-gap: var(--teddy-spacing-200);
|
|
2639
2640
|
}
|
|
2640
|
-
._teddy-card--navigation-horizontal-small-
|
|
2641
|
+
._teddy-card--navigation-horizontal-small-centered_obors_127 ._teddy-card__content_obors_67 {
|
|
2641
2642
|
margin-top: var(--teddy-spacing-200);
|
|
2642
2643
|
}
|
|
2643
|
-
._teddy-card--navigation-horizontal-small-
|
|
2644
|
+
._teddy-card--navigation-horizontal-small-centered_obors_127 ._teddy-card__action-wrapper_obors_58 {
|
|
2644
2645
|
margin: 0;
|
|
2645
2646
|
}
|
|
2646
|
-
._teddy-card--navigation-horizontal-small-
|
|
2647
|
+
._teddy-card--navigation-horizontal-small-centered_obors_127 ._teddy-card__illustration_obors_61 {
|
|
2648
|
+
object-fit: contain;
|
|
2647
2649
|
max-height: 80px;
|
|
2648
2650
|
max-width: 100px;
|
|
2649
2651
|
}
|
|
2650
|
-
._teddy-card--navigation-horizontal-
|
|
2652
|
+
._teddy-card--navigation-horizontal-large_obors_146 {
|
|
2651
2653
|
grid-template-columns: 1fr auto;
|
|
2652
2654
|
grid-template-rows: auto auto 1fr;
|
|
2653
2655
|
grid-template-areas: "illustration action" "heading action" "content action";
|
|
2654
2656
|
column-gap: var(--teddy-spacing-200);
|
|
2655
2657
|
}
|
|
2656
|
-
._teddy-card--navigation-horizontal-
|
|
2658
|
+
._teddy-card--navigation-horizontal-large_obors_146 ._teddy-card__heading_obors_70 {
|
|
2657
2659
|
margin-bottom: var(--teddy-spacing-100);
|
|
2658
2660
|
}
|
|
2659
|
-
._teddy-card--navigation-horizontal-
|
|
2661
|
+
._teddy-card--navigation-horizontal-large_obors_146 ._teddy-card__action_obors_48 {
|
|
2660
2662
|
margin-top: auto;
|
|
2661
2663
|
}
|
|
2662
|
-
._teddy-card--rich-
|
|
2664
|
+
._teddy-card--rich-card_obors_158 {
|
|
2663
2665
|
justify-items: start;
|
|
2664
2666
|
align-items: baseline;
|
|
2665
2667
|
grid-template-rows: auto auto 1fr auto;
|
|
2666
2668
|
grid-template-areas: "illustration" "heading" "content" "action";
|
|
2667
2669
|
}
|
|
2668
|
-
._teddy-card--rich-
|
|
2670
|
+
._teddy-card--rich-card_obors_158 ._teddy-card__illustration_obors_61 {
|
|
2669
2671
|
margin-bottom: var(--teddy-spacing-200);
|
|
2670
2672
|
}
|
|
2671
|
-
._teddy-card--rich-
|
|
2673
|
+
._teddy-card--rich-card_obors_158 ._teddy-card__content_obors_67 {
|
|
2672
2674
|
margin-bottom: var(--teddy-spacing-200);
|
|
2673
2675
|
}
|
|
2674
|
-
._teddy-card--rich-
|
|
2676
|
+
._teddy-card--rich-card_obors_158 ._teddy-card__heading_obors_70 {
|
|
2675
2677
|
margin-bottom: var(--teddy-spacing-100);
|
|
2676
2678
|
}
|
|
2677
|
-
._teddy-card--rich-
|
|
2679
|
+
._teddy-card--rich-card_obors_158 ._teddy-card__action_obors_48 {
|
|
2678
2680
|
margin-top: auto;
|
|
2679
2681
|
}
|
|
2680
|
-
._teddy-
|
|
2682
|
+
._teddy-card__line_obors_176 {
|
|
2681
2683
|
border: 0;
|
|
2682
2684
|
border-top: var(--teddy-border-width-xs) solid var(--teddy-color-border-weak);
|
|
2683
2685
|
}
|
|
2684
|
-
._teddy-card--purple-
|
|
2686
|
+
._teddy-card--purple-light_obors_180 {
|
|
2685
2687
|
background-color: var(--teddy-color-background-interactive-primary-negative);
|
|
2686
2688
|
color: var(--teddy-color-text-default);
|
|
2687
2689
|
border-color: var(--teddy-color-background-interactive-primary-negative);
|
|
2688
2690
|
}
|
|
2689
|
-
._teddy-card--purple-
|
|
2691
|
+
._teddy-card--purple-light_obors_180:hover:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2690
2692
|
background-color: var(--teddy-color-background-interactive-primary-negative-hover);
|
|
2691
2693
|
}
|
|
2692
|
-
._teddy-card--purple-
|
|
2694
|
+
._teddy-card--purple-light_obors_180:active:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2693
2695
|
background-color: var(--teddy-color-background-interactive-primary-negative-active);
|
|
2694
2696
|
}
|
|
2695
|
-
._teddy-card--purple-
|
|
2697
|
+
._teddy-card--purple-light_obors_180:has(._teddy-card__action--disabled_obors_48) {
|
|
2696
2698
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2697
2699
|
}
|
|
2698
|
-
._teddy-card--purple-
|
|
2700
|
+
._teddy-card--purple-dark_obors_194 {
|
|
2699
2701
|
background-color: var(--teddy-color-brand-deep-purple);
|
|
2700
2702
|
color: var(--teddy-color-text-default-negative);
|
|
2701
2703
|
border-color: var(--teddy-color-brand-deep-purple);
|
|
2702
2704
|
}
|
|
2703
|
-
._teddy-card--purple-
|
|
2705
|
+
._teddy-card--purple-dark_obors_194:hover:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2704
2706
|
background-color: var(--teddy-color-background-interactive-transparent-negative-hover);
|
|
2705
2707
|
}
|
|
2706
|
-
._teddy-card--purple-
|
|
2708
|
+
._teddy-card--purple-dark_obors_194:active:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2707
2709
|
background-color: var(--teddy-color-background-interactive-transparent-negative-active);
|
|
2708
2710
|
}
|
|
2709
|
-
._teddy-card--purple-
|
|
2711
|
+
._teddy-card--purple-dark_obors_194:has(._teddy-card__action--disabled_obors_48) {
|
|
2710
2712
|
color: var(--teddy-color-text-default);
|
|
2711
2713
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2712
2714
|
}
|
|
2713
|
-
._teddy-card--purple-
|
|
2715
|
+
._teddy-card--purple-dark_obors_194:has(._teddy-card__action--disabled_obors_48) ._teddy-card__action_obors_48 {
|
|
2714
2716
|
color: var(--teddy-color-text-weak);
|
|
2715
2717
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2716
2718
|
}
|
|
2717
|
-
._teddy-card--
|
|
2719
|
+
._teddy-card--white_obors_213 {
|
|
2718
2720
|
background-color: var(--teddy-color-brand-white);
|
|
2719
2721
|
color: var(--teddy-color-text-default);
|
|
2720
2722
|
border-color: var(--teddy-color-border-interactive-subtle);
|
|
2721
2723
|
}
|
|
2722
|
-
._teddy-card--
|
|
2724
|
+
._teddy-card--white_obors_213:hover:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2723
2725
|
background-color: var(--teddy-color-background-interactive-transparent-hover);
|
|
2724
2726
|
}
|
|
2725
|
-
._teddy-card--
|
|
2727
|
+
._teddy-card--white_obors_213:active:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2726
2728
|
background-color: var(--teddy-color-background-interactive-transparent-active);
|
|
2727
2729
|
}
|
|
2728
|
-
._teddy-card--
|
|
2730
|
+
._teddy-card--white_obors_213:has(._teddy-card__action--disabled_obors_48) {
|
|
2729
2731
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2730
2732
|
}
|
|
2731
|
-
._teddy-card--
|
|
2733
|
+
._teddy-card--gray_obors_227 {
|
|
2732
2734
|
background-color: var(--teddy-color-background-secondary);
|
|
2733
2735
|
color: var(--teddy-color-text-default);
|
|
2734
2736
|
border-color: var(--teddy-color-border-interactive-subtle);
|
|
2735
2737
|
}
|
|
2736
|
-
._teddy-card--
|
|
2738
|
+
._teddy-card--gray_obors_227:hover:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2737
2739
|
background-color: var(--teddy-color-gray-100);
|
|
2738
2740
|
}
|
|
2739
|
-
._teddy-card--
|
|
2741
|
+
._teddy-card--gray_obors_227:active:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2740
2742
|
background-color: var(--teddy-color-gray-200);
|
|
2741
2743
|
}
|
|
2742
|
-
._teddy-card--
|
|
2744
|
+
._teddy-card--gray_obors_227:has(._teddy-card__action--disabled_obors_48) {
|
|
2743
2745
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2744
2746
|
}
|
|
2745
|
-
._teddy-card--
|
|
2747
|
+
._teddy-card--beige_obors_241 {
|
|
2746
2748
|
background-color: var(--teddy-color-beige-100);
|
|
2747
2749
|
color: var(--teddy-color-text-default);
|
|
2748
2750
|
border-color: var(--teddy-color-beige-300);
|
|
2749
2751
|
}
|
|
2750
|
-
._teddy-card--
|
|
2752
|
+
._teddy-card--beige_obors_241:hover:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2751
2753
|
background-color: var(--teddy-color-beige-200);
|
|
2752
2754
|
}
|
|
2753
|
-
._teddy-card--
|
|
2755
|
+
._teddy-card--beige_obors_241:active:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2754
2756
|
background-color: var(--teddy-color-beige-300);
|
|
2755
2757
|
}
|
|
2756
|
-
._teddy-card--
|
|
2758
|
+
._teddy-card--beige_obors_241:has(._teddy-card__action--disabled_obors_48) {
|
|
2757
2759
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2758
2760
|
}
|
|
2759
|
-
._teddy-card--
|
|
2761
|
+
._teddy-card--product_obors_255 {
|
|
2760
2762
|
grid-template-columns: minmax(0, 100%);
|
|
2761
2763
|
grid-template-rows: auto auto auto auto auto auto auto 1fr auto auto;
|
|
2762
2764
|
grid-template-areas: "illustration" "carousel" "overline" "heading" "colors" "description" "content" "price" "action" "availability";
|
|
@@ -2767,119 +2769,119 @@
|
|
|
2767
2769
|
padding-bottom: var(--teddy-spacing-100);
|
|
2768
2770
|
width: 100%;
|
|
2769
2771
|
}
|
|
2770
|
-
._teddy-card--
|
|
2772
|
+
._teddy-card--product_obors_255:hover:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2771
2773
|
background-color: var(--teddy-color-brand-white);
|
|
2772
2774
|
outline: var(--teddy-border-width-sm) solid var(--teddy-color-border-interactive-primary);
|
|
2773
2775
|
outline-offset: calc(var(--teddy-border-width-sm) * -1);
|
|
2774
2776
|
}
|
|
2775
|
-
._teddy-card--
|
|
2777
|
+
._teddy-card--product_obors_255:active:has(._teddy-card__action_obors_48:not(._teddy-card__action--disabled_obors_48)) {
|
|
2776
2778
|
background-color: var(--teddy-color-background-interactive-transparent-active);
|
|
2777
2779
|
}
|
|
2778
|
-
._teddy-card--
|
|
2780
|
+
._teddy-card--product_obors_255:has(._teddy-card__action--disabled_obors_48) {
|
|
2779
2781
|
background-color: var(--teddy-color-background-interactive-disabled);
|
|
2780
2782
|
}
|
|
2781
|
-
._teddy-card--
|
|
2783
|
+
._teddy-card--product_obors_255 ._teddy-card__illustration_obors_61 {
|
|
2782
2784
|
height: 180px;
|
|
2783
2785
|
display: grid;
|
|
2784
2786
|
place-items: center;
|
|
2785
2787
|
place-self: center;
|
|
2786
2788
|
margin-bottom: var(--teddy-spacing-400);
|
|
2787
2789
|
}
|
|
2788
|
-
._teddy-card--
|
|
2790
|
+
._teddy-card--product_obors_255 ._teddy-card__illustration_obors_61 img {
|
|
2789
2791
|
max-width: 200px;
|
|
2790
2792
|
max-height: 180px;
|
|
2791
2793
|
object-fit: contain;
|
|
2792
2794
|
}
|
|
2793
|
-
._teddy-card--
|
|
2795
|
+
._teddy-card--product_obors_255 ._teddy-card__carousel_obors_64 .slick-dots li {
|
|
2794
2796
|
min-width: 12px;
|
|
2795
2797
|
width: initial !important;
|
|
2796
2798
|
margin: 0 0.25rem !important;
|
|
2797
2799
|
}
|
|
2798
|
-
._teddy-card--
|
|
2800
|
+
._teddy-card--product_obors_255 ._teddy-card__carousel_obors_64 .slick-dots .slick-active {
|
|
2799
2801
|
min-width: 24px;
|
|
2800
2802
|
width: initial !important;
|
|
2801
2803
|
}
|
|
2802
|
-
._teddy-card--
|
|
2804
|
+
._teddy-card--product_obors_255 ._teddy-card__overline_obors_79 {
|
|
2803
2805
|
margin-bottom: var(--teddy-spacing-50);
|
|
2804
2806
|
}
|
|
2805
|
-
._teddy-card--
|
|
2807
|
+
._teddy-card--product_obors_255 ._teddy-card__heading_obors_70 {
|
|
2806
2808
|
margin-bottom: var(--teddy-spacing-200);
|
|
2807
2809
|
}
|
|
2808
|
-
._teddy-card--
|
|
2810
|
+
._teddy-card--product_obors_255 ._teddy-card__description_obors_82 {
|
|
2809
2811
|
margin-bottom: var(--teddy-spacing-200);
|
|
2810
2812
|
}
|
|
2811
|
-
._teddy-card--
|
|
2813
|
+
._teddy-card--product_obors_255 ._teddy-card__action_obors_48 {
|
|
2812
2814
|
margin-top: auto;
|
|
2813
2815
|
margin-left: auto;
|
|
2814
2816
|
justify-self: end;
|
|
2815
2817
|
}
|
|
2816
|
-
._teddy-card--
|
|
2818
|
+
._teddy-card--product_obors_255 ._teddy-card__price_obors_91 {
|
|
2817
2819
|
display: flex;
|
|
2818
2820
|
}
|
|
2819
|
-
._teddy-card--
|
|
2821
|
+
._teddy-card--product_obors_255 ._teddy-card__price--big_obors_315 {
|
|
2820
2822
|
font-size: var(--teddy-typography-scale-200);
|
|
2821
2823
|
}
|
|
2822
|
-
._teddy-
|
|
2824
|
+
._teddy-card_obors_3:has(._teddy-card__image--as-background_obors_318) {
|
|
2823
2825
|
background-color: transparent;
|
|
2824
2826
|
}
|
|
2825
|
-
._teddy-
|
|
2827
|
+
._teddy-card__heading_obors_70 {
|
|
2826
2828
|
color: inherit;
|
|
2827
2829
|
}
|
|
2828
|
-
._teddy-card--background-
|
|
2830
|
+
._teddy-card--background-image_obors_324 {
|
|
2829
2831
|
background-repeat: no-repeat;
|
|
2830
2832
|
background-size: cover;
|
|
2831
2833
|
background-position: center;
|
|
2832
2834
|
}
|
|
2833
|
-
._teddy-card__illustration--
|
|
2835
|
+
._teddy-card__illustration--rounded_obors_329 {
|
|
2834
2836
|
border-radius: inherit;
|
|
2835
2837
|
overflow: hidden;
|
|
2836
2838
|
}
|
|
2837
|
-
._teddy-
|
|
2839
|
+
._teddy-card__inset_obors_333 {
|
|
2838
2840
|
overflow: hidden;
|
|
2839
2841
|
}
|
|
2840
|
-
._teddy-card__inset--
|
|
2842
|
+
._teddy-card__inset--top_obors_336 {
|
|
2841
2843
|
margin-top: calc(var(--teddy-spacing-250) * -1);
|
|
2842
2844
|
}
|
|
2843
|
-
._teddy-card__inset--
|
|
2845
|
+
._teddy-card__inset--top_obors_336._teddy-card__inset--left_obors_339 {
|
|
2844
2846
|
border-top-left-radius: inherit;
|
|
2845
2847
|
}
|
|
2846
|
-
._teddy-card__inset--
|
|
2848
|
+
._teddy-card__inset--top_obors_336._teddy-card__inset--right_obors_342 {
|
|
2847
2849
|
border-top-right-radius: inherit;
|
|
2848
2850
|
}
|
|
2849
|
-
._teddy-card__inset--
|
|
2851
|
+
._teddy-card__inset--bottom_obors_345 {
|
|
2850
2852
|
margin-bottom: calc(var(--teddy-spacing-250) * -1);
|
|
2851
2853
|
}
|
|
2852
|
-
._teddy-card__inset--
|
|
2854
|
+
._teddy-card__inset--bottom_obors_345._teddy-card__inset--left_obors_339 {
|
|
2853
2855
|
border-bottom-left-radius: inherit;
|
|
2854
2856
|
}
|
|
2855
|
-
._teddy-card__inset--
|
|
2857
|
+
._teddy-card__inset--bottom_obors_345._teddy-card__inset--right_obors_342 {
|
|
2856
2858
|
border-bottom-right-radius: inherit;
|
|
2857
2859
|
}
|
|
2858
|
-
._teddy-card__inset--
|
|
2860
|
+
._teddy-card__inset--left_obors_339 {
|
|
2859
2861
|
margin-left: calc(var(--teddy-spacing-250) * -1);
|
|
2860
2862
|
}
|
|
2861
|
-
._teddy-card__inset--
|
|
2863
|
+
._teddy-card__inset--right_obors_342 {
|
|
2862
2864
|
margin-right: calc(var(--teddy-spacing-250) * -1);
|
|
2863
2865
|
}
|
|
2864
|
-
._teddy-card__availability--
|
|
2866
|
+
._teddy-card__availability--badge_obors_360 {
|
|
2865
2867
|
margin-right: var(--teddy-spacing-150);
|
|
2866
2868
|
}
|
|
2867
|
-
._teddy-card__availability--
|
|
2869
|
+
._teddy-card__availability--success_obors_363 {
|
|
2868
2870
|
color: var(--teddy-color-text-status-success-strong);
|
|
2869
2871
|
}
|
|
2870
|
-
._teddy-card__availability--
|
|
2872
|
+
._teddy-card__availability--warning_obors_366 {
|
|
2871
2873
|
color: var(--teddy-color-text-status-warning-strong);
|
|
2872
2874
|
}
|
|
2873
|
-
._teddy-card__availability--
|
|
2875
|
+
._teddy-card__availability--error_obors_369 {
|
|
2874
2876
|
color: var(--teddy-color-text-status-error-strong);
|
|
2875
2877
|
}
|
|
2876
|
-
._teddy-card__availability--
|
|
2878
|
+
._teddy-card__availability--special_obors_372 {
|
|
2877
2879
|
color: var(--teddy-color-text-status-special);
|
|
2878
2880
|
}
|
|
2879
|
-
._teddy-card__availability--
|
|
2881
|
+
._teddy-card__availability--neutral_obors_375 {
|
|
2880
2882
|
color: var(--teddy-color-text-status-neutral);
|
|
2881
2883
|
}
|
|
2882
|
-
._teddy-card__availability--
|
|
2884
|
+
._teddy-card__availability--information_obors_378 {
|
|
2883
2885
|
color: var(--teddy-color-text-status-info-strong);
|
|
2884
2886
|
}
|
|
2885
2887
|
}._teddy-badge_wlyo5_1 {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const breakpointToNumber: (breakpoint: string) => number;
|