@telia/teddy 0.0.67 → 0.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/accordion-content.cjs +1 -1
- package/dist/components/accordion/accordion-content.js +1 -1
- package/dist/components/accordion/accordion-root.cjs +13 -13
- package/dist/components/accordion/accordion-root.js +13 -13
- package/dist/components/card/card-carousel.cjs +36 -0
- package/dist/components/card/card-carousel.d.ts +15 -0
- package/dist/components/card/card-carousel.js +36 -0
- package/dist/components/card/card.cjs +48 -47
- package/dist/components/card/card.js +48 -47
- package/dist/components/card/index.cjs +4 -1
- package/dist/components/card/index.d.ts +3 -0
- package/dist/components/card/index.js +4 -1
- package/dist/components/carousel/carousel-root.cjs +99 -0
- package/dist/components/carousel/carousel-root.d.ts +15 -0
- package/dist/components/carousel/carousel-root.js +99 -0
- package/dist/components/carousel/index.cjs +4 -0
- package/dist/components/carousel/index.d.ts +2 -0
- package/dist/components/carousel/index.js +4 -0
- package/dist/components/color-dot/color-dot-root.cjs +10 -8
- package/dist/components/color-dot/color-dot-root.d.ts +2 -0
- package/dist/components/color-dot/color-dot-root.js +10 -8
- package/dist/components/color-dot/index.d.ts +1 -0
- package/dist/components/index.cjs +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/modal/modal.cjs +1 -0
- package/dist/components/modal/modal.js +1 -0
- package/dist/components/navigation-menu/navigation-menu.cjs +1 -0
- package/dist/components/navigation-menu/navigation-menu.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-content.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-content.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-body.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-body.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-title.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-title.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-item.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item.js +1 -0
- package/dist/main.cjs +2 -0
- package/dist/main.js +2 -0
- package/dist/style.css +816 -152
- package/dist/utils/useIsClientSide.cjs +16 -0
- package/dist/utils/useIsClientSide.d.ts +1 -0
- package/dist/utils/useIsClientSide.js +16 -0
- package/package.json +5 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default, { useState, useCallback } from "react";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import Slider from "react-slick";
|
|
5
|
+
import "../../assets/sprite.269ba410-teddy.svg";
|
|
6
|
+
import { Icon } from "../icon/icon.js";
|
|
7
|
+
import { teddyColorTextInteractivePrimary } from "../../tokens/color/variables.js";
|
|
8
|
+
const styles = {
|
|
9
|
+
"teddy-carousel": "_teddy-carousel_8mouq_2",
|
|
10
|
+
"teddy-carousel__arrow": "_teddy-carousel__arrow_8mouq_8",
|
|
11
|
+
"teddy-carousel__item": "_teddy-carousel__item_8mouq_17",
|
|
12
|
+
"teddy-carousel--sm": "_teddy-carousel--sm_8mouq_81"
|
|
13
|
+
};
|
|
14
|
+
const rootClassName = "teddy-carousel";
|
|
15
|
+
const CustomArrow = ({
|
|
16
|
+
className,
|
|
17
|
+
icon,
|
|
18
|
+
onClick = () => void 0,
|
|
19
|
+
handleClick = () => void 0,
|
|
20
|
+
ariaLabel
|
|
21
|
+
}) => /* @__PURE__ */ jsx(
|
|
22
|
+
"button",
|
|
23
|
+
{
|
|
24
|
+
type: "button",
|
|
25
|
+
"aria-label": ariaLabel,
|
|
26
|
+
className: clsx([styles[`${rootClassName}__arrow`], className]),
|
|
27
|
+
onClick: (event) => {
|
|
28
|
+
event.stopPropagation();
|
|
29
|
+
onClick();
|
|
30
|
+
handleClick();
|
|
31
|
+
},
|
|
32
|
+
children: /* @__PURE__ */ jsx(Icon, { name: icon, color: teddyColorTextInteractivePrimary, size: "md" })
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
const Carousel = ({
|
|
36
|
+
children,
|
|
37
|
+
className = "",
|
|
38
|
+
onClickNext,
|
|
39
|
+
onClickPrev,
|
|
40
|
+
navigationIcon,
|
|
41
|
+
settings,
|
|
42
|
+
size = "lg"
|
|
43
|
+
}) => {
|
|
44
|
+
const computedSettings = {
|
|
45
|
+
responsive: [],
|
|
46
|
+
centerMode: false,
|
|
47
|
+
slidesPerRow: 1,
|
|
48
|
+
nextArrow: /* @__PURE__ */ jsx(CustomArrow, { icon: navigationIcon ?? "arrow-right", handleClick: onClickNext, ariaLabel: "Neste" }),
|
|
49
|
+
prevArrow: /* @__PURE__ */ jsx(CustomArrow, { icon: navigationIcon ?? "arrow-left", handleClick: onClickPrev, ariaLabel: "Forrige" }),
|
|
50
|
+
slidesToScroll: 1,
|
|
51
|
+
speed: 500,
|
|
52
|
+
dots: true,
|
|
53
|
+
lazyLoad: "ondemand",
|
|
54
|
+
...settings
|
|
55
|
+
};
|
|
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
|
+
const filteredChildren = React__default.Children.toArray(children).filter((child) => !!child);
|
|
71
|
+
const SliderComponent = Slider.default ? Slider.default : Slider;
|
|
72
|
+
return /* @__PURE__ */ jsx(
|
|
73
|
+
"section",
|
|
74
|
+
{
|
|
75
|
+
className: clsx(styles[`${rootClassName}`], {
|
|
76
|
+
[styles[`${rootClassName}--${size}`]]: size,
|
|
77
|
+
[className]: className
|
|
78
|
+
}),
|
|
79
|
+
children: /* @__PURE__ */ jsx(SliderComponent, { ...computedSettings, onSwipe: handleSwiped, children: React__default.Children.map(filteredChildren, (child) => {
|
|
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
|
+
);
|
|
92
|
+
}) })
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
};
|
|
96
|
+
Carousel.displayName = "Carousel";
|
|
97
|
+
export {
|
|
98
|
+
Carousel
|
|
99
|
+
};
|
|
@@ -4,21 +4,23 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const clsx = require("clsx");
|
|
6
6
|
const styles = {
|
|
7
|
-
"teddy-color-dot": "_teddy-color-
|
|
8
|
-
"teddy-color-dot--xs": "_teddy-color-dot--
|
|
9
|
-
"teddy-color-dot--sm": "_teddy-color-dot--
|
|
10
|
-
"teddy-color-dot--md": "_teddy-color-dot--
|
|
11
|
-
"teddy-color-dot--lg": "_teddy-color-dot--
|
|
12
|
-
"teddy-color-dot--bordered": "_teddy-color-dot--
|
|
7
|
+
"teddy-color-dot": "_teddy-color-dot_d66ui_1",
|
|
8
|
+
"teddy-color-dot--xs": "_teddy-color-dot--xs_d66ui_7",
|
|
9
|
+
"teddy-color-dot--sm": "_teddy-color-dot--sm_d66ui_10",
|
|
10
|
+
"teddy-color-dot--md": "_teddy-color-dot--md_d66ui_13",
|
|
11
|
+
"teddy-color-dot--lg": "_teddy-color-dot--lg_d66ui_16",
|
|
12
|
+
"teddy-color-dot--bordered": "_teddy-color-dot--bordered_d66ui_19",
|
|
13
|
+
"teddy-color-dot--wide": "_teddy-color-dot--wide_d66ui_26"
|
|
13
14
|
};
|
|
14
15
|
const rootClassName = "teddy-color-dot";
|
|
15
16
|
const Root = React.forwardRef(
|
|
16
|
-
({ className, size, as: Comp = "div", bordered, color, ...props }, forwardRef) => {
|
|
17
|
+
({ className, size, as: Comp = "div", bordered, wide, color, ...props }, forwardRef) => {
|
|
17
18
|
const classes = clsx(
|
|
18
19
|
[styles[`${rootClassName}`]],
|
|
19
20
|
{
|
|
20
21
|
[styles[`${rootClassName}--${size}`]]: size,
|
|
21
|
-
[styles[`${rootClassName}--bordered`]]: bordered
|
|
22
|
+
[styles[`${rootClassName}--bordered`]]: bordered,
|
|
23
|
+
[styles[`${rootClassName}--wide`]]: wide
|
|
22
24
|
},
|
|
23
25
|
className
|
|
24
26
|
);
|
|
@@ -10,11 +10,13 @@ export type RootProps = Omit<SpanProps | DivProps, 'children'> & {
|
|
|
10
10
|
color: string;
|
|
11
11
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
12
12
|
bordered?: boolean;
|
|
13
|
+
wide?: boolean;
|
|
13
14
|
};
|
|
14
15
|
/** */
|
|
15
16
|
export declare const Root: React.ForwardRefExoticComponent<Omit<SpanProps | DivProps, "children"> & {
|
|
16
17
|
color: string;
|
|
17
18
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
18
19
|
bordered?: boolean | undefined;
|
|
20
|
+
wide?: boolean | undefined;
|
|
19
21
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
20
22
|
export {};
|
|
@@ -2,21 +2,23 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
const styles = {
|
|
5
|
-
"teddy-color-dot": "_teddy-color-
|
|
6
|
-
"teddy-color-dot--xs": "_teddy-color-dot--
|
|
7
|
-
"teddy-color-dot--sm": "_teddy-color-dot--
|
|
8
|
-
"teddy-color-dot--md": "_teddy-color-dot--
|
|
9
|
-
"teddy-color-dot--lg": "_teddy-color-dot--
|
|
10
|
-
"teddy-color-dot--bordered": "_teddy-color-dot--
|
|
5
|
+
"teddy-color-dot": "_teddy-color-dot_d66ui_1",
|
|
6
|
+
"teddy-color-dot--xs": "_teddy-color-dot--xs_d66ui_7",
|
|
7
|
+
"teddy-color-dot--sm": "_teddy-color-dot--sm_d66ui_10",
|
|
8
|
+
"teddy-color-dot--md": "_teddy-color-dot--md_d66ui_13",
|
|
9
|
+
"teddy-color-dot--lg": "_teddy-color-dot--lg_d66ui_16",
|
|
10
|
+
"teddy-color-dot--bordered": "_teddy-color-dot--bordered_d66ui_19",
|
|
11
|
+
"teddy-color-dot--wide": "_teddy-color-dot--wide_d66ui_26"
|
|
11
12
|
};
|
|
12
13
|
const rootClassName = "teddy-color-dot";
|
|
13
14
|
const Root = React__default.forwardRef(
|
|
14
|
-
({ className, size, as: Comp = "div", bordered, color, ...props }, forwardRef) => {
|
|
15
|
+
({ className, size, as: Comp = "div", bordered, wide, color, ...props }, forwardRef) => {
|
|
15
16
|
const classes = clsx(
|
|
16
17
|
[styles[`${rootClassName}`]],
|
|
17
18
|
{
|
|
18
19
|
[styles[`${rootClassName}--${size}`]]: size,
|
|
19
|
-
[styles[`${rootClassName}--bordered`]]: bordered
|
|
20
|
+
[styles[`${rootClassName}--bordered`]]: bordered,
|
|
21
|
+
[styles[`${rootClassName}--wide`]]: wide
|
|
20
22
|
},
|
|
21
23
|
className
|
|
22
24
|
);
|
|
@@ -8,5 +8,6 @@ export declare const ColorDot: import('react').ForwardRefExoticComponent<Omit<({
|
|
|
8
8
|
color: string;
|
|
9
9
|
size: "xs" | "sm" | "md" | "lg";
|
|
10
10
|
bordered?: boolean | undefined;
|
|
11
|
+
wide?: boolean | undefined;
|
|
11
12
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
13
|
export type ColorDotProps = RootProps;
|
|
@@ -45,6 +45,7 @@ const components_heading_heading = require("./heading/heading.cjs");
|
|
|
45
45
|
const components_visuallyHidden_visuallyHidden = require("./visually-hidden/visually-hidden.cjs");
|
|
46
46
|
const components_textSpacing_textSpacing = require("./text-spacing/text-spacing.cjs");
|
|
47
47
|
const components_container_container = require("./container/container.cjs");
|
|
48
|
+
const components_carousel_carouselRoot = require("./carousel/carousel-root.cjs");
|
|
48
49
|
const sonner = require("sonner");
|
|
49
50
|
const components_input_inputGroup = require("./input/input-group.cjs");
|
|
50
51
|
exports.Checkbox = components_checkbox_index.Checkbox;
|
|
@@ -96,6 +97,7 @@ exports.Heading = components_heading_heading.Heading;
|
|
|
96
97
|
exports.VisuallyHidden = components_visuallyHidden_visuallyHidden.VisuallyHidden;
|
|
97
98
|
exports.TextSpacing = components_textSpacing_textSpacing.TextSpacing;
|
|
98
99
|
exports.Container = components_container_container.Container;
|
|
100
|
+
exports.Carousel = components_carousel_carouselRoot.Carousel;
|
|
99
101
|
Object.defineProperty(exports, "toast", {
|
|
100
102
|
enumerable: true,
|
|
101
103
|
get: () => sonner.toast
|
package/dist/components/index.js
CHANGED
|
@@ -43,6 +43,7 @@ import { Heading } from "./heading/heading.js";
|
|
|
43
43
|
import { VisuallyHidden } from "./visually-hidden/visually-hidden.js";
|
|
44
44
|
import { TextSpacing } from "./text-spacing/text-spacing.js";
|
|
45
45
|
import { Container } from "./container/container.js";
|
|
46
|
+
import { Carousel } from "./carousel/carousel-root.js";
|
|
46
47
|
import { toast } from "sonner";
|
|
47
48
|
import { I } from "./input/input-group.js";
|
|
48
49
|
export {
|
|
@@ -54,6 +55,7 @@ export {
|
|
|
54
55
|
Breadcrumbs,
|
|
55
56
|
Button,
|
|
56
57
|
Card,
|
|
58
|
+
Carousel,
|
|
57
59
|
Checkbox,
|
|
58
60
|
CheckboxGroup,
|
|
59
61
|
Chip,
|
|
@@ -48,6 +48,7 @@ require("../heading/heading.cjs");
|
|
|
48
48
|
require("../visually-hidden/visually-hidden.cjs");
|
|
49
49
|
require("../text-spacing/text-spacing.cjs");
|
|
50
50
|
require("../container/container.cjs");
|
|
51
|
+
require("../carousel/carousel-root.cjs");
|
|
51
52
|
require("@radix-ui/react-slot");
|
|
52
53
|
require("../../utils/composeRefs.cjs");
|
|
53
54
|
exports.Modal = components_radioCardGroup_radioCardGroupItemTitle.Modal;
|
|
@@ -46,6 +46,7 @@ import "../heading/heading.js";
|
|
|
46
46
|
import "../visually-hidden/visually-hidden.js";
|
|
47
47
|
import "../text-spacing/text-spacing.js";
|
|
48
48
|
import "../container/container.js";
|
|
49
|
+
import "../carousel/carousel-root.js";
|
|
49
50
|
import "@radix-ui/react-slot";
|
|
50
51
|
import "../../utils/composeRefs.js";
|
|
51
52
|
export {
|
|
@@ -53,6 +53,7 @@ require("../text-field/index.cjs");
|
|
|
53
53
|
require("../heading/heading.cjs");
|
|
54
54
|
require("../text-spacing/text-spacing.cjs");
|
|
55
55
|
require("../container/container.cjs");
|
|
56
|
+
require("../carousel/carousel-root.cjs");
|
|
56
57
|
exports.NavigationMenu = components_radioCardGroup_radioCardGroupItemTitle.NavigationMenu;
|
|
57
58
|
exports.Separator = components_radioCardGroup_radioCardGroupItemTitle.Separator;
|
|
58
59
|
exports.rootClassName = components_radioCardGroup_radioCardGroupItemTitle.rootClassName;
|
|
@@ -47,4 +47,5 @@ require("../heading/heading.cjs");
|
|
|
47
47
|
require("../visually-hidden/visually-hidden.cjs");
|
|
48
48
|
require("../text-spacing/text-spacing.cjs");
|
|
49
49
|
require("../container/container.cjs");
|
|
50
|
+
require("../carousel/carousel-root.cjs");
|
|
50
51
|
exports.Content = components_radioCardGroup_radioCardGroupItemTitle.Content;
|
|
@@ -48,4 +48,5 @@ require("../heading/heading.cjs");
|
|
|
48
48
|
require("../visually-hidden/visually-hidden.cjs");
|
|
49
49
|
require("../text-spacing/text-spacing.cjs");
|
|
50
50
|
require("../container/container.cjs");
|
|
51
|
+
require("../carousel/carousel-root.cjs");
|
|
51
52
|
exports.Body = components_radioCardGroup_radioCardGroupItemTitle.Body;
|
|
@@ -57,6 +57,7 @@ const components_textField_index = require("../text-field/index.cjs");
|
|
|
57
57
|
const components_heading_heading = require("../heading/heading.cjs");
|
|
58
58
|
const components_textSpacing_textSpacing = require("../text-spacing/text-spacing.cjs");
|
|
59
59
|
require("../container/container.cjs");
|
|
60
|
+
require("../carousel/carousel-root.cjs");
|
|
60
61
|
const components_radioCardGroup_radioCardGroupIndicator = require("./radio-card-group-indicator.cjs");
|
|
61
62
|
const RadioGroupPrimitive = require("@radix-ui/react-radio-group");
|
|
62
63
|
const utils_useSize = require("../../utils/useSize.cjs");
|
|
@@ -55,6 +55,7 @@ import { TextField } from "../text-field/index.js";
|
|
|
55
55
|
import { Heading } from "../heading/heading.js";
|
|
56
56
|
import { TextSpacing } from "../text-spacing/text-spacing.js";
|
|
57
57
|
import "../container/container.js";
|
|
58
|
+
import "../carousel/carousel-root.js";
|
|
58
59
|
import { Indicator as Indicator$1 } from "./radio-card-group-indicator.js";
|
|
59
60
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
60
61
|
import { useSize } from "../../utils/useSize.js";
|
|
@@ -48,6 +48,7 @@ require("../heading/heading.cjs");
|
|
|
48
48
|
require("../visually-hidden/visually-hidden.cjs");
|
|
49
49
|
require("../text-spacing/text-spacing.cjs");
|
|
50
50
|
require("../container/container.cjs");
|
|
51
|
+
require("../carousel/carousel-root.cjs");
|
|
51
52
|
require("../../utils/composeRefs.cjs");
|
|
52
53
|
exports.Item = components_radioCardGroup_radioCardGroupItemTitle.Item;
|
|
53
54
|
exports.ItemContext = components_radioCardGroup_radioCardGroupItemTitle.ItemContext;
|
|
@@ -46,6 +46,7 @@ import "../heading/heading.js";
|
|
|
46
46
|
import "../visually-hidden/visually-hidden.js";
|
|
47
47
|
import "../text-spacing/text-spacing.js";
|
|
48
48
|
import "../container/container.js";
|
|
49
|
+
import "../carousel/carousel-root.js";
|
|
49
50
|
import "../../utils/composeRefs.js";
|
|
50
51
|
export {
|
|
51
52
|
a as Item,
|
package/dist/main.cjs
CHANGED
|
@@ -45,6 +45,7 @@ const components_heading_heading = require("./components/heading/heading.cjs");
|
|
|
45
45
|
const components_visuallyHidden_visuallyHidden = require("./components/visually-hidden/visually-hidden.cjs");
|
|
46
46
|
const components_textSpacing_textSpacing = require("./components/text-spacing/text-spacing.cjs");
|
|
47
47
|
const components_container_container = require("./components/container/container.cjs");
|
|
48
|
+
const components_carousel_carouselRoot = require("./components/carousel/carousel-root.cjs");
|
|
48
49
|
const tokens_border_variables = require("./tokens/border/variables.cjs");
|
|
49
50
|
const tokens_breakpoint_variables = require("./tokens/breakpoint/variables.cjs");
|
|
50
51
|
const tokens_color_variables = require("./tokens/color/variables.cjs");
|
|
@@ -103,6 +104,7 @@ exports.Heading = components_heading_heading.Heading;
|
|
|
103
104
|
exports.VisuallyHidden = components_visuallyHidden_visuallyHidden.VisuallyHidden;
|
|
104
105
|
exports.TextSpacing = components_textSpacing_textSpacing.TextSpacing;
|
|
105
106
|
exports.Container = components_container_container.Container;
|
|
107
|
+
exports.Carousel = components_carousel_carouselRoot.Carousel;
|
|
106
108
|
exports.teddyBorderRadiusFull = tokens_border_variables.teddyBorderRadiusFull;
|
|
107
109
|
exports.teddyBorderRadiusLg = tokens_border_variables.teddyBorderRadiusLg;
|
|
108
110
|
exports.teddyBorderRadiusMd = tokens_border_variables.teddyBorderRadiusMd;
|
package/dist/main.js
CHANGED
|
@@ -43,6 +43,7 @@ import { Heading } from "./components/heading/heading.js";
|
|
|
43
43
|
import { VisuallyHidden } from "./components/visually-hidden/visually-hidden.js";
|
|
44
44
|
import { TextSpacing } from "./components/text-spacing/text-spacing.js";
|
|
45
45
|
import { Container } from "./components/container/container.js";
|
|
46
|
+
import { Carousel } from "./components/carousel/carousel-root.js";
|
|
46
47
|
import { teddyBorderRadiusFull, teddyBorderRadiusLg, teddyBorderRadiusMd, teddyBorderRadiusSm, teddyBorderRadiusXs, teddyBorderWidthLg, teddyBorderWidthMd, teddyBorderWidthSm, teddyBorderWidthXs } from "./tokens/border/variables.js";
|
|
47
48
|
import { teddyBreakpointLg, teddyBreakpointMd, teddyBreakpointSm, teddyBreakpointXl } from "./tokens/breakpoint/variables.js";
|
|
48
49
|
import { teddyColorBackgroundInteractiveDestructive, teddyColorBackgroundInteractiveDestructiveActive, teddyColorBackgroundInteractiveDestructiveHover, teddyColorBackgroundInteractiveDisabled, teddyColorBackgroundInteractiveDisabledNegative, teddyColorBackgroundInteractiveExpressive, teddyColorBackgroundInteractiveExpressiveActive, teddyColorBackgroundInteractiveExpressiveHover, teddyColorBackgroundInteractiveExpressiveNegative, teddyColorBackgroundInteractiveExpressiveNegativeActive, teddyColorBackgroundInteractiveExpressiveNegativeHover, teddyColorBackgroundInteractiveInactive, teddyColorBackgroundInteractiveInactiveNegative, teddyColorBackgroundInteractivePrimary, teddyColorBackgroundInteractivePrimaryActive, teddyColorBackgroundInteractivePrimaryHover, teddyColorBackgroundInteractivePrimaryNegative, teddyColorBackgroundInteractivePrimaryNegativeActive, teddyColorBackgroundInteractivePrimaryNegativeHover, teddyColorBackgroundInteractiveReadOnly, teddyColorBackgroundInteractiveTransparent, teddyColorBackgroundInteractiveTransparentActive, teddyColorBackgroundInteractiveTransparentHover, teddyColorBackgroundInteractiveTransparentNegativeActive, teddyColorBackgroundInteractiveTransparentNegativeHover, teddyColorBackgroundPrimary, teddyColorBackgroundSecondary, teddyColorBackgroundStatusAttention, teddyColorBackgroundStatusError, teddyColorBackgroundStatusErrorStrong, teddyColorBackgroundStatusInfo, teddyColorBackgroundStatusInfoStrong, teddyColorBackgroundStatusNeutral, teddyColorBackgroundStatusSpecial, teddyColorBackgroundStatusSuccess, teddyColorBackgroundStatusSuccessStrong, teddyColorBackgroundStatusWarning, teddyColorBackgroundStatusWarningStrong, teddyColorBackgroundToneOnTonePrimary, teddyColorBackgroundToneOnToneQuaternary, teddyColorBackgroundToneOnToneSecondary, teddyColorBackgroundToneOnToneTertiary, teddyColorBeige100, teddyColorBeige200, teddyColorBeige300, teddyColorBeige400, teddyColorBeige50, teddyColorBeige500, teddyColorBeige600, teddyColorBeige700, teddyColorBeige800, teddyColorBeige900, teddyColorBeige950, teddyColorBlue100, teddyColorBlue200, teddyColorBlue300, teddyColorBlue400, teddyColorBlue50, teddyColorBlue500, teddyColorBlue600, teddyColorBlue700, teddyColorBlue800, teddyColorBlue900, teddyColorBlue950, teddyColorBorderInteractiveFocus, teddyColorBorderInteractivePrimary, teddyColorBorderInteractivePrimaryActive, teddyColorBorderInteractivePrimaryHover, teddyColorBorderInteractivePrimaryNegative, teddyColorBorderInteractivePrimaryNegativeActive, teddyColorBorderInteractivePrimaryNegativeHover, teddyColorBorderInteractiveSelected, teddyColorBorderInteractiveSubtle, teddyColorBorderInteractiveSubtleHover, teddyColorBorderMedium, teddyColorBorderMediumNegative, teddyColorBorderStatusError, teddyColorBorderStatusInfo, teddyColorBorderStatusSuccess, teddyColorBorderStatusWarning, teddyColorBorderStrong, teddyColorBorderStrongNegative, teddyColorBorderWeak, teddyColorBorderWeakNegative, teddyColorBrandBeige, teddyColorBrandCorePurple, teddyColorBrandDeepBeige, teddyColorBrandDeepPurple, teddyColorBrandLightBeige, teddyColorBrandLightPurple, teddyColorBrandOffBlack, teddyColorBrandWhite, teddyColorFunctionalBlack, teddyColorFunctionalTransparent, teddyColorFunctionalWhite, teddyColorGray100, teddyColorGray150, teddyColorGray200, teddyColorGray300, teddyColorGray400, teddyColorGray50, teddyColorGray500, teddyColorGray600, teddyColorGray700, teddyColorGray800, teddyColorGray850, teddyColorGray900, teddyColorGray950, teddyColorGreen100, teddyColorGreen200, teddyColorGreen300, teddyColorGreen400, teddyColorGreen50, teddyColorGreen500, teddyColorGreen600, teddyColorGreen700, teddyColorGreen800, teddyColorGreen900, teddyColorGreen950, teddyColorOrange100, teddyColorOrange200, teddyColorOrange300, teddyColorOrange400, teddyColorOrange50, teddyColorOrange500, teddyColorOrange600, teddyColorOrange700, teddyColorOrange800, teddyColorOrange900, teddyColorOrange950, teddyColorOverlayDefault, teddyColorPurple100, teddyColorPurple200, teddyColorPurple300, teddyColorPurple400, teddyColorPurple50, teddyColorPurple500, teddyColorPurple550, teddyColorPurple600, teddyColorPurple700, teddyColorPurple800, teddyColorPurple900, teddyColorPurple950, teddyColorRed100, teddyColorRed200, teddyColorRed300, teddyColorRed400, teddyColorRed50, teddyColorRed500, teddyColorRed600, teddyColorRed700, teddyColorRed800, teddyColorRed900, teddyColorRed950, teddyColorTeal100, teddyColorTeal200, teddyColorTeal300, teddyColorTeal400, teddyColorTeal50, teddyColorTeal500, teddyColorTeal600, teddyColorTeal700, teddyColorTeal800, teddyColorTeal900, teddyColorTeal950, teddyColorTextDefault, teddyColorTextDefaultNegative, teddyColorTextInteractiveOnDestructive, teddyColorTextInteractiveOnExpressive, teddyColorTextInteractiveOnExpressiveNegative, teddyColorTextInteractiveOnExpressiveNegativeActive, teddyColorTextInteractiveOnExpressiveNegativeHover, teddyColorTextInteractiveOnPrimary, teddyColorTextInteractiveOnPrimaryNegative, teddyColorTextInteractivePrimary, teddyColorTextInteractivePrimaryActive, teddyColorTextInteractivePrimaryHover, teddyColorTextInteractivePrimaryNegative, teddyColorTextInteractivePrimaryNegativeActive, teddyColorTextInteractivePrimaryNegativeHover, teddyColorTextInteractiveSelected, teddyColorTextMedium, teddyColorTextMediumNegative, teddyColorTextStatusAttention, teddyColorTextStatusDiscount, teddyColorTextStatusErrorMedium, teddyColorTextStatusErrorStrong, teddyColorTextStatusInfoMedium, teddyColorTextStatusInfoStrong, teddyColorTextStatusNeutral, teddyColorTextStatusSpecial, teddyColorTextStatusSuccessMedium, teddyColorTextStatusSuccessStrong, teddyColorTextStatusWarningMedium, teddyColorTextStatusWarningStrong, teddyColorTextToneOnTonePrimary, teddyColorTextToneOnToneSecondary, teddyColorTextToneOnToneTertiary, teddyColorTextWeak, teddyColorTextWeakNegative, teddyColorTransparentBlack100, teddyColorTransparentBlack150, teddyColorTransparentBlack200, teddyColorTransparentBlack300, teddyColorTransparentBlack400, teddyColorTransparentBlack50, teddyColorTransparentBlack500, teddyColorTransparentBlack600, teddyColorTransparentBlack700, teddyColorTransparentBlack800, teddyColorTransparentBlack850, teddyColorTransparentBlack900, teddyColorTransparentBlack950, teddyColorTransparentWhite100, teddyColorTransparentWhite150, teddyColorTransparentWhite200, teddyColorTransparentWhite300, teddyColorTransparentWhite400, teddyColorTransparentWhite50, teddyColorTransparentWhite500, teddyColorTransparentWhite600, teddyColorTransparentWhite700, teddyColorTransparentWhite800, teddyColorTransparentWhite850, teddyColorTransparentWhite900, teddyColorTransparentWhite950 } from "./tokens/color/variables.js";
|
|
@@ -61,6 +62,7 @@ export {
|
|
|
61
62
|
Breadcrumbs,
|
|
62
63
|
Button,
|
|
63
64
|
Card,
|
|
65
|
+
Carousel,
|
|
64
66
|
Checkbox,
|
|
65
67
|
CheckboxGroup,
|
|
66
68
|
Chip,
|