@telia/teddy 0.0.15 → 0.0.17

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.
Files changed (117) hide show
  1. package/dist/components/accordion/accordion.d.ts +2 -1
  2. package/dist/components/accordion/accordion.js +90 -24
  3. package/dist/components/accordion/index.js +2 -2
  4. package/dist/components/badge/badge.js +40 -24
  5. package/dist/components/badge/index.js +2 -2
  6. package/dist/components/box/box.js +14 -10
  7. package/dist/components/box/index.js +2 -2
  8. package/dist/components/button/button.js +60 -52
  9. package/dist/components/button/index.js +2 -2
  10. package/dist/components/card/card.d.ts +35 -3
  11. package/dist/components/card/card.js +209 -25
  12. package/dist/components/card/index.js +2 -2
  13. package/dist/components/field-error-text/field-error-text.js +21 -19
  14. package/dist/components/field-error-text/index.js +2 -2
  15. package/dist/components/flex/flex.js +15 -12
  16. package/dist/components/flex/index.js +2 -2
  17. package/dist/components/grid/grid.js +15 -12
  18. package/dist/components/grid/index.js +2 -2
  19. package/dist/components/heading/heading.js +22 -19
  20. package/dist/components/heading/index.js +2 -2
  21. package/dist/components/helper-text/helper-text.js +14 -13
  22. package/dist/components/helper-text/index.js +2 -2
  23. package/dist/components/icon/icon.js +16 -14
  24. package/dist/components/icon/index.js +4 -4
  25. package/dist/components/index.js +51 -46
  26. package/dist/components/input/index.js +3 -3
  27. package/dist/components/input/input.js +79 -66
  28. package/dist/components/label/index.js +2 -2
  29. package/dist/components/label/label.js +17 -23
  30. package/dist/components/link/index.js +2 -2
  31. package/dist/components/link/link.js +20 -19
  32. package/dist/components/modal/index.js +2 -2
  33. package/dist/components/modal/modal.js +173 -14
  34. package/dist/components/navigation-menu/index.js +2 -2
  35. package/dist/components/navigation-menu/navigation-menu.js +391 -8
  36. package/dist/components/notification/index.js +2 -2
  37. package/dist/components/notification/notification.d.ts +8 -7
  38. package/dist/components/notification/notification.js +96 -24
  39. package/dist/components/radio-group/index.js +2 -2
  40. package/dist/components/radio-group/radio-group.js +91 -8
  41. package/dist/components/spinner/index.js +2 -2
  42. package/dist/components/spinner/spinner.js +36 -29
  43. package/dist/components/text/index.js +2 -2
  44. package/dist/components/text/text.js +18 -17
  45. package/dist/components/text-field/index.js +2 -2
  46. package/dist/components/text-field/text-field.js +110 -90
  47. package/dist/components/text-spacing/index.js +2 -2
  48. package/dist/components/text-spacing/text-spacing.js +14 -12
  49. package/dist/components/toggle/index.js +2 -2
  50. package/dist/components/toggle/toggle.d.ts +1 -1
  51. package/dist/components/toggle/toggle.js +84 -23
  52. package/dist/components/visually-hidden/index.js +2 -2
  53. package/dist/components/visually-hidden/visually-hidden.js +17 -15
  54. package/dist/icons/category.js +2 -2
  55. package/dist/icons/name.js +2 -2
  56. package/dist/main.js +359 -61
  57. package/dist/style.css +3406 -0
  58. package/dist/tokens/border/variables.js +18 -10
  59. package/dist/tokens/breakpoint/variables.js +8 -5
  60. package/dist/tokens/color/variables.js +452 -227
  61. package/dist/tokens/index.d.ts +7 -7
  62. package/dist/tokens/index.js +308 -14
  63. package/dist/tokens/motion/variables.js +22 -12
  64. package/dist/tokens/shadow/variables.js +8 -5
  65. package/dist/tokens/spacing/variables.js +46 -24
  66. package/dist/tokens/typography/variables.js +48 -25
  67. package/dist/utils/action.js +10 -7
  68. package/dist/utils/composeEventHandlers.js +7 -5
  69. package/dist/utils/composeRefs.js +13 -9
  70. package/dist/utils/layout/align.js +5 -4
  71. package/dist/utils/layout/flex.js +25 -18
  72. package/dist/utils/layout/gap.js +7 -6
  73. package/dist/utils/layout/grid.js +31 -24
  74. package/dist/utils/layout/height.js +12 -11
  75. package/dist/utils/layout/index.d.ts +1863 -0
  76. package/dist/utils/layout/index.js +77 -59
  77. package/dist/utils/layout/inset.js +10 -9
  78. package/dist/utils/layout/justify.js +6 -5
  79. package/dist/utils/layout/margin.js +10 -9
  80. package/dist/utils/layout/padding.js +10 -9
  81. package/dist/utils/layout/position.js +6 -5
  82. package/dist/utils/layout/util.js +7 -6
  83. package/dist/utils/layout/width.js +8 -7
  84. package/package.json +22 -14
  85. package/dist/assets/badge.css +0 -1
  86. package/dist/assets/button.css +0 -1
  87. package/dist/assets/field-error-text.css +0 -1
  88. package/dist/assets/flex.css +0 -1
  89. package/dist/assets/grid.css +0 -1
  90. package/dist/assets/heading.css +0 -1
  91. package/dist/assets/helper-text.css +0 -1
  92. package/dist/assets/icon.css +0 -1
  93. package/dist/assets/input.css +0 -1
  94. package/dist/assets/label.css +0 -1
  95. package/dist/assets/link.css +0 -1
  96. package/dist/assets/main.css +0 -1
  97. package/dist/assets/navigation-menu.css +0 -1
  98. package/dist/assets/radio-group.css +0 -1
  99. package/dist/assets/spinner.css +0 -1
  100. package/dist/assets/text-field.css +0 -1
  101. package/dist/assets/text-spacing.css +0 -1
  102. package/dist/assets/text.css +0 -1
  103. package/dist/assets/visually-hidden.css +0 -1
  104. package/dist/badge-Cnug5TzH.js +0 -1855
  105. package/dist/clsx-DB4S2d7J.js +0 -22
  106. package/dist/index-DM5e-Whg.js +0 -43
  107. package/dist/index-DpfSJps6.js +0 -75
  108. package/dist/index-FPIZOCcD.js +0 -305
  109. package/dist/navigation-menu-DKuyW8zE.js +0 -1036
  110. package/dist/radio-group-B--zT3OL.js +0 -440
  111. package/dist/variables-BKiPmtHY.js +0 -458
  112. package/dist/variables-BkY5b0io.js +0 -14
  113. package/dist/variables-Bq0YUbLS.js +0 -14
  114. package/dist/variables-CDK515QX.js +0 -52
  115. package/dist/variables-CMRTN8qo.js +0 -28
  116. package/dist/variables-Dmoh9YtD.js +0 -54
  117. package/dist/variables-IczXZ5CN.js +0 -24
@@ -1,26 +1,87 @@
1
- import "react/jsx-runtime";
2
- import "react";
3
- import "../../clsx-DB4S2d7J.js";
4
- import { T as w } from "../../badge-Cnug5TzH.js";
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import React__default from "react";
3
+ import clsx from "clsx";
4
+ import * as SwitchPrimitive from "@radix-ui/react-switch";
5
5
  import "../../assets/4bbd022cee9b0f06.svg";
6
- import "../icon/icon.js";
7
- import "../../radio-group-B--zT3OL.js";
8
- import "../box/box.js";
9
- import "../flex/flex.js";
10
- import "../grid/grid.js";
11
- import "../../navigation-menu-DKuyW8zE.js";
12
- import "../link/link.js";
13
- import "../button/button.js";
14
- import "../field-error-text/field-error-text.js";
15
- import "../helper-text/helper-text.js";
16
- import "../input/input.js";
17
- import "../label/label.js";
18
- import "../spinner/spinner.js";
19
- import "../text/text.js";
20
- import "../text-field/text-field.js";
21
- import "../heading/heading.js";
22
- import "../visually-hidden/visually-hidden.js";
23
- import "../text-spacing/text-spacing.js";
6
+ import { Icon } from "../icon/icon.js";
7
+ import { Label } from "../label/label.js";
8
+ const styles = {
9
+ "teddy-toggle": "_teddy-toggle_1rp8d_3",
10
+ "teddy-toggle__input": "_teddy-toggle__input_1rp8d_10",
11
+ "teddy-toggle__thumb": "_teddy-toggle__thumb_1rp8d_78",
12
+ "teddy-toggle__indicator": "_teddy-toggle__indicator_1rp8d_104"
13
+ };
14
+ const rootClassName = "teddy-toggle";
15
+ const ToggleContext = React__default.createContext(void 0);
16
+ const ToggleRoot = React__default.forwardRef(
17
+ ({ className, id, children, ...props }, forwardRef) => {
18
+ const classes = clsx([styles[`${rootClassName}`]], className);
19
+ const fallbackId = React__default.useId();
20
+ const [isDisabled, setIsDisabled] = React__default.useState(false);
21
+ const [isRequired, setIsRequired] = React__default.useState(false);
22
+ return /* @__PURE__ */ jsx("div", { ...props, ref: forwardRef, className: classes, children: /* @__PURE__ */ jsx(ToggleContext.Provider, { value: { id: id ?? fallbackId, isDisabled, setIsDisabled, isRequired, setIsRequired }, children }) });
23
+ }
24
+ );
25
+ ToggleRoot.displayName = "Toggle";
26
+ const ToggleLabel = React__default.forwardRef(
27
+ ({ className, ...props }, forwardRef) => {
28
+ const classes = clsx([styles[`${rootClassName}__label`]], className);
29
+ const context = React__default.useContext(ToggleContext);
30
+ return /* @__PURE__ */ jsx(
31
+ Label,
32
+ {
33
+ ...props,
34
+ htmlFor: context == null ? void 0 : context.id,
35
+ isRequired: context == null ? void 0 : context.isRequired,
36
+ disabled: context == null ? void 0 : context.isDisabled,
37
+ ref: forwardRef,
38
+ className: classes
39
+ }
40
+ );
41
+ }
42
+ );
43
+ ToggleLabel.displayName = "Toggle.Label";
44
+ const ToggleInput = React__default.forwardRef(
45
+ ({ className, children, ...props }, forwardRef) => {
46
+ const classes = clsx([styles[`${rootClassName}__input`]], className);
47
+ const context = React__default.useContext(ToggleContext);
48
+ React__default.useEffect(() => {
49
+ if (!context)
50
+ return;
51
+ context.setIsDisabled(props.disabled === true);
52
+ }, [context, props.disabled]);
53
+ React__default.useEffect(() => {
54
+ if (!context)
55
+ return;
56
+ context.setIsRequired(props.required === true);
57
+ }, [context, props.required]);
58
+ return /* @__PURE__ */ jsx(SwitchPrimitive.Root, { ...props, id: context == null ? void 0 : context.id, ref: forwardRef, className: classes, children: children || /* @__PURE__ */ jsxs(Fragment, { children: [
59
+ /* @__PURE__ */ jsx(ToggleThumb, {}),
60
+ /* @__PURE__ */ jsx(ToggleIndicator, {})
61
+ ] }) });
62
+ }
63
+ );
64
+ ToggleInput.displayName = "Toggle.Input";
65
+ const ToggleThumb = React__default.forwardRef(
66
+ ({ className, ...props }, forwardRef) => {
67
+ const classes = clsx([styles[`${rootClassName}__thumb`]], className);
68
+ return /* @__PURE__ */ jsx(SwitchPrimitive.Thumb, { ...props, ref: forwardRef, className: classes });
69
+ }
70
+ );
71
+ ToggleThumb.displayName = "Toggle.Thumb";
72
+ const ToggleIndicator = React__default.forwardRef(
73
+ ({ className, ...props }, forwardRef) => {
74
+ const classes = clsx([styles[`${rootClassName}__indicator`]], className);
75
+ return /* @__PURE__ */ jsx(Icon, { name: "checkmark-bold", size: "xxs", ...props, ref: forwardRef, className: classes });
76
+ }
77
+ );
78
+ ToggleThumb.displayName = "Toggle.Indicator";
79
+ const Toggle = Object.assign(ToggleRoot, {
80
+ Label: ToggleLabel,
81
+ Input: ToggleInput,
82
+ Thumb: ToggleThumb,
83
+ Indicator: ToggleIndicator
84
+ });
24
85
  export {
25
- w as Toggle
86
+ Toggle
26
87
  };
@@ -1,4 +1,4 @@
1
- import { VisuallyHidden as i } from "./visually-hidden.js";
1
+ import { VisuallyHidden } from "./visually-hidden.js";
2
2
  export {
3
- i as VisuallyHidden
3
+ VisuallyHidden
4
4
  };
@@ -1,24 +1,26 @@
1
- import '../../assets/visually-hidden.css';
2
- import { jsx as r } from "react/jsx-runtime";
3
- import { c as n } from "../../clsx-DB4S2d7J.js";
4
- import y from "react";
5
- import { $ as u } from "../../index-DpfSJps6.js";
6
- const e = {
1
+ import { jsx } from "react/jsx-runtime";
2
+ import clsx from "clsx";
3
+ import React__default from "react";
4
+ import { Slot } from "@radix-ui/react-slot";
5
+ const styles = {
7
6
  "teddy-visually-hidden": "_teddy-visually-hidden_15nus_1",
8
7
  "teddy-visually-hidden--focusable": "_teddy-visually-hidden--focusable_15nus_15"
9
- }, d = "teddy-visually-hidden", f = y.forwardRef(
10
- ({ className: a, visibleOnFocus: s, asChild: l, ...o }, t) => {
11
- const c = l ? u : "span", i = n(
8
+ };
9
+ const rootClassName = "teddy-visually-hidden";
10
+ const VisuallyHidden = React__default.forwardRef(
11
+ ({ className, visibleOnFocus, asChild, ...props }, forwardRef) => {
12
+ const Comp = asChild ? Slot : "span";
13
+ const classes = clsx(
12
14
  {
13
- [e[`${d}`]]: !s,
14
- [e[`${d}--focusable`]]: s
15
+ [styles[`${rootClassName}`]]: !visibleOnFocus,
16
+ [styles[`${rootClassName}--focusable`]]: visibleOnFocus
15
17
  },
16
- a
18
+ className
17
19
  );
18
- return /* @__PURE__ */ r(c, { ...o, ref: t, className: i });
20
+ return /* @__PURE__ */ jsx(Comp, { ...props, ref: forwardRef, className: classes });
19
21
  }
20
22
  );
21
- f.displayName = "VisuallyHidden";
23
+ VisuallyHidden.displayName = "VisuallyHidden";
22
24
  export {
23
- f as VisuallyHidden
25
+ VisuallyHidden
24
26
  };
@@ -1,4 +1,4 @@
1
- const e = [
1
+ const iconCategories = [
2
2
  { category: "action", name: "alarm-off" },
3
3
  { category: "action", name: "alarm-on" },
4
4
  { category: "action", name: "attachment" },
@@ -330,5 +330,5 @@ const e = [
330
330
  { category: "utility", name: "table-view" }
331
331
  ];
332
332
  export {
333
- e as iconCategories
333
+ iconCategories
334
334
  };
@@ -1,4 +1,4 @@
1
- const e = [
1
+ const iconNames = [
2
2
  "alarm-off",
3
3
  "alarm-on",
4
4
  "attachment",
@@ -330,5 +330,5 @@ const e = [
330
330
  "table-view"
331
331
  ];
332
332
  export {
333
- e as iconNames
333
+ iconNames
334
334
  };
package/dist/main.js CHANGED
@@ -1,63 +1,361 @@
1
- import './assets/main.css';
2
- import { A as e, B as t, C as p, M as x, N as a, T as f } from "./badge-Cnug5TzH.js";
3
- import { R as i } from "./radio-group-B--zT3OL.js";
4
- import { Box as n } from "./components/box/box.js";
5
- import { Flex as l } from "./components/flex/flex.js";
6
- import { Grid as g } from "./components/grid/grid.js";
7
- import { N as v } from "./navigation-menu-DKuyW8zE.js";
8
- import { Link as B } from "./components/link/link.js";
9
- import { Button as N } from "./components/button/button.js";
10
- import { FieldErrorText as y } from "./components/field-error-text/field-error-text.js";
11
- import { HelperText as G } from "./components/helper-text/helper-text.js";
12
- import { default as M } from "./assets/4bbd022cee9b0f06.svg";
13
- import { Icon as k } from "./components/icon/icon.js";
14
- import { Input as C, InputGroup as L } from "./components/input/input.js";
15
- import { Label as S } from "./components/label/label.js";
16
- import { Spinner as E } from "./components/spinner/spinner.js";
17
- import { Text as j } from "./components/text/text.js";
18
- import { TextField as z } from "./components/text-field/text-field.js";
19
- import { Heading as J } from "./components/heading/heading.js";
20
- import { VisuallyHidden as O } from "./components/visually-hidden/visually-hidden.js";
21
- import { TextSpacing as Q } from "./components/text-spacing/text-spacing.js";
22
- import { v as W } from "./variables-IczXZ5CN.js";
23
- import { v as Y } from "./variables-BkY5b0io.js";
24
- import { v as _ } from "./variables-BKiPmtHY.js";
25
- import { v as oo } from "./variables-CMRTN8qo.js";
26
- import { v as eo } from "./variables-Bq0YUbLS.js";
27
- import { v as po } from "./variables-CDK515QX.js";
28
- import { v as ao } from "./variables-Dmoh9YtD.js";
1
+ import { Modal } from "./components/modal/modal.js";
2
+ import { Notification } from "./components/notification/notification.js";
3
+ import { RadioGroup } from "./components/radio-group/radio-group.js";
4
+ import { Box } from "./components/box/box.js";
5
+ import { Flex } from "./components/flex/flex.js";
6
+ import { Card } from "./components/card/card.js";
7
+ import { Grid } from "./components/grid/grid.js";
8
+ import { NavigationMenu } from "./components/navigation-menu/navigation-menu.js";
9
+ import { Toggle } from "./components/toggle/toggle.js";
10
+ import { Accordion } from "./components/accordion/accordion.js";
11
+ import { Link } from "./components/link/link.js";
12
+ import { Badge } from "./components/badge/badge.js";
13
+ import { Button } from "./components/button/button.js";
14
+ import { FieldErrorText } from "./components/field-error-text/field-error-text.js";
15
+ import { HelperText } from "./components/helper-text/helper-text.js";
16
+ import { default as default2 } from "./assets/4bbd022cee9b0f06.svg";
17
+ import { Icon } from "./components/icon/icon.js";
18
+ import { Input, InputGroup } from "./components/input/input.js";
19
+ import { Label } from "./components/label/label.js";
20
+ import { Spinner } from "./components/spinner/spinner.js";
21
+ import { Text } from "./components/text/text.js";
22
+ import { TextField } from "./components/text-field/text-field.js";
23
+ import { Heading } from "./components/heading/heading.js";
24
+ import { VisuallyHidden } from "./components/visually-hidden/visually-hidden.js";
25
+ import { TextSpacing } from "./components/text-spacing/text-spacing.js";
26
+ import { teddyBorderRadiusFull, teddyBorderRadiusLg, teddyBorderRadiusMd, teddyBorderRadiusSm, teddyBorderRadiusXs, teddyBorderWidthLg, teddyBorderWidthMd, teddyBorderWidthSm, teddyBorderWidthXs } from "./tokens/border/variables.js";
27
+ import { teddyBreakpointLg, teddyBreakpointMd, teddyBreakpointSm, teddyBreakpointXl } from "./tokens/breakpoint/variables.js";
28
+ 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";
29
+ import { teddyMotionDuration100, teddyMotionDuration150, teddyMotionDuration1500, teddyMotionDuration200, teddyMotionDuration2000, teddyMotionDuration300, teddyMotionDuration400, teddyMotionDuration500, teddyMotionEasingEaseIn, teddyMotionEasingEaseInOut, teddyMotionEasingEaseOut } from "./tokens/motion/variables.js";
30
+ import { teddyShadowLg, teddyShadowMd, teddyShadowNone, teddyShadowSm } from "./tokens/shadow/variables.js";
31
+ import { teddySpacing0, teddySpacing10, teddySpacing100, teddySpacing1000, teddySpacing1200, teddySpacing150, teddySpacing1600, teddySpacing200, teddySpacing25, teddySpacing250, teddySpacing300, teddySpacing400, teddySpacing50, teddySpacing600, teddySpacing800, teddySpacingGutterLg, teddySpacingGutterMd, teddySpacingGutterSm, teddySpacingGutterXl, teddySpacingPagePaddingLg, teddySpacingPagePaddingMd, teddySpacingPagePaddingSm, teddySpacingPagePaddingXl } from "./tokens/spacing/variables.js";
32
+ import { teddyTypographyFamilyDefault, teddyTypographyFamilyDisplay, teddyTypographyLineHeightDefault, teddyTypographyLineHeightLoose, teddyTypographyLineHeightLooser, teddyTypographyLineHeightTight, teddyTypographyScale100, teddyTypographyScale1000, teddyTypographyScale1100, teddyTypographyScale150, teddyTypographyScale200, teddyTypographyScale400, teddyTypographyScale50, teddyTypographyScale500, teddyTypographyScale600, teddyTypographyScale650, teddyTypographyScale700, teddyTypographyScale75, teddyTypographyScale800, teddyTypographyScale850, teddyTypographyScale900, teddyTypographyWeightBold, teddyTypographyWeightMedium, teddyTypographyWeightNormal } from "./tokens/typography/variables.js";
29
33
  export {
30
- e as Accordion,
31
- t as Badge,
32
- n as Box,
33
- N as Button,
34
- p as Card,
35
- y as FieldErrorText,
36
- l as Flex,
37
- g as Grid,
38
- J as Heading,
39
- G as HelperText,
40
- k as Icon,
41
- C as Input,
42
- L as InputGroup,
43
- S as Label,
44
- B as Link,
45
- x as Modal,
46
- v as NavigationMenu,
47
- a as Notification,
48
- i as RadioGroup,
49
- E as Spinner,
50
- j as Text,
51
- z as TextField,
52
- Q as TextSpacing,
53
- f as Toggle,
54
- O as VisuallyHidden,
55
- W as border,
56
- Y as breakpoint,
57
- _ as color,
58
- M as iconsHref,
59
- oo as motion,
60
- eo as shadow,
61
- po as spacing,
62
- ao as typography
34
+ Accordion,
35
+ Badge,
36
+ Box,
37
+ Button,
38
+ Card,
39
+ FieldErrorText,
40
+ Flex,
41
+ Grid,
42
+ Heading,
43
+ HelperText,
44
+ Icon,
45
+ Input,
46
+ InputGroup,
47
+ Label,
48
+ Link,
49
+ Modal,
50
+ NavigationMenu,
51
+ Notification,
52
+ RadioGroup,
53
+ Spinner,
54
+ Text,
55
+ TextField,
56
+ TextSpacing,
57
+ Toggle,
58
+ VisuallyHidden,
59
+ default2 as iconsHref,
60
+ teddyBorderRadiusFull,
61
+ teddyBorderRadiusLg,
62
+ teddyBorderRadiusMd,
63
+ teddyBorderRadiusSm,
64
+ teddyBorderRadiusXs,
65
+ teddyBorderWidthLg,
66
+ teddyBorderWidthMd,
67
+ teddyBorderWidthSm,
68
+ teddyBorderWidthXs,
69
+ teddyBreakpointLg,
70
+ teddyBreakpointMd,
71
+ teddyBreakpointSm,
72
+ teddyBreakpointXl,
73
+ teddyColorBackgroundInteractiveDestructive,
74
+ teddyColorBackgroundInteractiveDestructiveActive,
75
+ teddyColorBackgroundInteractiveDestructiveHover,
76
+ teddyColorBackgroundInteractiveDisabled,
77
+ teddyColorBackgroundInteractiveDisabledNegative,
78
+ teddyColorBackgroundInteractiveExpressive,
79
+ teddyColorBackgroundInteractiveExpressiveActive,
80
+ teddyColorBackgroundInteractiveExpressiveHover,
81
+ teddyColorBackgroundInteractiveExpressiveNegative,
82
+ teddyColorBackgroundInteractiveExpressiveNegativeActive,
83
+ teddyColorBackgroundInteractiveExpressiveNegativeHover,
84
+ teddyColorBackgroundInteractiveInactive,
85
+ teddyColorBackgroundInteractiveInactiveNegative,
86
+ teddyColorBackgroundInteractivePrimary,
87
+ teddyColorBackgroundInteractivePrimaryActive,
88
+ teddyColorBackgroundInteractivePrimaryHover,
89
+ teddyColorBackgroundInteractivePrimaryNegative,
90
+ teddyColorBackgroundInteractivePrimaryNegativeActive,
91
+ teddyColorBackgroundInteractivePrimaryNegativeHover,
92
+ teddyColorBackgroundInteractiveReadOnly,
93
+ teddyColorBackgroundInteractiveTransparent,
94
+ teddyColorBackgroundInteractiveTransparentActive,
95
+ teddyColorBackgroundInteractiveTransparentHover,
96
+ teddyColorBackgroundInteractiveTransparentNegativeActive,
97
+ teddyColorBackgroundInteractiveTransparentNegativeHover,
98
+ teddyColorBackgroundPrimary,
99
+ teddyColorBackgroundSecondary,
100
+ teddyColorBackgroundStatusAttention,
101
+ teddyColorBackgroundStatusError,
102
+ teddyColorBackgroundStatusErrorStrong,
103
+ teddyColorBackgroundStatusInfo,
104
+ teddyColorBackgroundStatusInfoStrong,
105
+ teddyColorBackgroundStatusNeutral,
106
+ teddyColorBackgroundStatusSpecial,
107
+ teddyColorBackgroundStatusSuccess,
108
+ teddyColorBackgroundStatusSuccessStrong,
109
+ teddyColorBackgroundStatusWarning,
110
+ teddyColorBackgroundStatusWarningStrong,
111
+ teddyColorBackgroundToneOnTonePrimary,
112
+ teddyColorBackgroundToneOnToneQuaternary,
113
+ teddyColorBackgroundToneOnToneSecondary,
114
+ teddyColorBackgroundToneOnToneTertiary,
115
+ teddyColorBeige100,
116
+ teddyColorBeige200,
117
+ teddyColorBeige300,
118
+ teddyColorBeige400,
119
+ teddyColorBeige50,
120
+ teddyColorBeige500,
121
+ teddyColorBeige600,
122
+ teddyColorBeige700,
123
+ teddyColorBeige800,
124
+ teddyColorBeige900,
125
+ teddyColorBeige950,
126
+ teddyColorBlue100,
127
+ teddyColorBlue200,
128
+ teddyColorBlue300,
129
+ teddyColorBlue400,
130
+ teddyColorBlue50,
131
+ teddyColorBlue500,
132
+ teddyColorBlue600,
133
+ teddyColorBlue700,
134
+ teddyColorBlue800,
135
+ teddyColorBlue900,
136
+ teddyColorBlue950,
137
+ teddyColorBorderInteractiveFocus,
138
+ teddyColorBorderInteractivePrimary,
139
+ teddyColorBorderInteractivePrimaryActive,
140
+ teddyColorBorderInteractivePrimaryHover,
141
+ teddyColorBorderInteractivePrimaryNegative,
142
+ teddyColorBorderInteractivePrimaryNegativeActive,
143
+ teddyColorBorderInteractivePrimaryNegativeHover,
144
+ teddyColorBorderInteractiveSelected,
145
+ teddyColorBorderInteractiveSubtle,
146
+ teddyColorBorderInteractiveSubtleHover,
147
+ teddyColorBorderMedium,
148
+ teddyColorBorderMediumNegative,
149
+ teddyColorBorderStatusError,
150
+ teddyColorBorderStatusInfo,
151
+ teddyColorBorderStatusSuccess,
152
+ teddyColorBorderStatusWarning,
153
+ teddyColorBorderStrong,
154
+ teddyColorBorderStrongNegative,
155
+ teddyColorBorderWeak,
156
+ teddyColorBorderWeakNegative,
157
+ teddyColorBrandBeige,
158
+ teddyColorBrandCorePurple,
159
+ teddyColorBrandDeepBeige,
160
+ teddyColorBrandDeepPurple,
161
+ teddyColorBrandLightBeige,
162
+ teddyColorBrandLightPurple,
163
+ teddyColorBrandOffBlack,
164
+ teddyColorBrandWhite,
165
+ teddyColorFunctionalBlack,
166
+ teddyColorFunctionalTransparent,
167
+ teddyColorFunctionalWhite,
168
+ teddyColorGray100,
169
+ teddyColorGray150,
170
+ teddyColorGray200,
171
+ teddyColorGray300,
172
+ teddyColorGray400,
173
+ teddyColorGray50,
174
+ teddyColorGray500,
175
+ teddyColorGray600,
176
+ teddyColorGray700,
177
+ teddyColorGray800,
178
+ teddyColorGray850,
179
+ teddyColorGray900,
180
+ teddyColorGray950,
181
+ teddyColorGreen100,
182
+ teddyColorGreen200,
183
+ teddyColorGreen300,
184
+ teddyColorGreen400,
185
+ teddyColorGreen50,
186
+ teddyColorGreen500,
187
+ teddyColorGreen600,
188
+ teddyColorGreen700,
189
+ teddyColorGreen800,
190
+ teddyColorGreen900,
191
+ teddyColorGreen950,
192
+ teddyColorOrange100,
193
+ teddyColorOrange200,
194
+ teddyColorOrange300,
195
+ teddyColorOrange400,
196
+ teddyColorOrange50,
197
+ teddyColorOrange500,
198
+ teddyColorOrange600,
199
+ teddyColorOrange700,
200
+ teddyColorOrange800,
201
+ teddyColorOrange900,
202
+ teddyColorOrange950,
203
+ teddyColorOverlayDefault,
204
+ teddyColorPurple100,
205
+ teddyColorPurple200,
206
+ teddyColorPurple300,
207
+ teddyColorPurple400,
208
+ teddyColorPurple50,
209
+ teddyColorPurple500,
210
+ teddyColorPurple550,
211
+ teddyColorPurple600,
212
+ teddyColorPurple700,
213
+ teddyColorPurple800,
214
+ teddyColorPurple900,
215
+ teddyColorPurple950,
216
+ teddyColorRed100,
217
+ teddyColorRed200,
218
+ teddyColorRed300,
219
+ teddyColorRed400,
220
+ teddyColorRed50,
221
+ teddyColorRed500,
222
+ teddyColorRed600,
223
+ teddyColorRed700,
224
+ teddyColorRed800,
225
+ teddyColorRed900,
226
+ teddyColorRed950,
227
+ teddyColorTeal100,
228
+ teddyColorTeal200,
229
+ teddyColorTeal300,
230
+ teddyColorTeal400,
231
+ teddyColorTeal50,
232
+ teddyColorTeal500,
233
+ teddyColorTeal600,
234
+ teddyColorTeal700,
235
+ teddyColorTeal800,
236
+ teddyColorTeal900,
237
+ teddyColorTeal950,
238
+ teddyColorTextDefault,
239
+ teddyColorTextDefaultNegative,
240
+ teddyColorTextInteractiveOnDestructive,
241
+ teddyColorTextInteractiveOnExpressive,
242
+ teddyColorTextInteractiveOnExpressiveNegative,
243
+ teddyColorTextInteractiveOnExpressiveNegativeActive,
244
+ teddyColorTextInteractiveOnExpressiveNegativeHover,
245
+ teddyColorTextInteractiveOnPrimary,
246
+ teddyColorTextInteractiveOnPrimaryNegative,
247
+ teddyColorTextInteractivePrimary,
248
+ teddyColorTextInteractivePrimaryActive,
249
+ teddyColorTextInteractivePrimaryHover,
250
+ teddyColorTextInteractivePrimaryNegative,
251
+ teddyColorTextInteractivePrimaryNegativeActive,
252
+ teddyColorTextInteractivePrimaryNegativeHover,
253
+ teddyColorTextInteractiveSelected,
254
+ teddyColorTextMedium,
255
+ teddyColorTextMediumNegative,
256
+ teddyColorTextStatusAttention,
257
+ teddyColorTextStatusDiscount,
258
+ teddyColorTextStatusErrorMedium,
259
+ teddyColorTextStatusErrorStrong,
260
+ teddyColorTextStatusInfoMedium,
261
+ teddyColorTextStatusInfoStrong,
262
+ teddyColorTextStatusNeutral,
263
+ teddyColorTextStatusSpecial,
264
+ teddyColorTextStatusSuccessMedium,
265
+ teddyColorTextStatusSuccessStrong,
266
+ teddyColorTextStatusWarningMedium,
267
+ teddyColorTextStatusWarningStrong,
268
+ teddyColorTextToneOnTonePrimary,
269
+ teddyColorTextToneOnToneSecondary,
270
+ teddyColorTextToneOnToneTertiary,
271
+ teddyColorTextWeak,
272
+ teddyColorTextWeakNegative,
273
+ teddyColorTransparentBlack100,
274
+ teddyColorTransparentBlack150,
275
+ teddyColorTransparentBlack200,
276
+ teddyColorTransparentBlack300,
277
+ teddyColorTransparentBlack400,
278
+ teddyColorTransparentBlack50,
279
+ teddyColorTransparentBlack500,
280
+ teddyColorTransparentBlack600,
281
+ teddyColorTransparentBlack700,
282
+ teddyColorTransparentBlack800,
283
+ teddyColorTransparentBlack850,
284
+ teddyColorTransparentBlack900,
285
+ teddyColorTransparentBlack950,
286
+ teddyColorTransparentWhite100,
287
+ teddyColorTransparentWhite150,
288
+ teddyColorTransparentWhite200,
289
+ teddyColorTransparentWhite300,
290
+ teddyColorTransparentWhite400,
291
+ teddyColorTransparentWhite50,
292
+ teddyColorTransparentWhite500,
293
+ teddyColorTransparentWhite600,
294
+ teddyColorTransparentWhite700,
295
+ teddyColorTransparentWhite800,
296
+ teddyColorTransparentWhite850,
297
+ teddyColorTransparentWhite900,
298
+ teddyColorTransparentWhite950,
299
+ teddyMotionDuration100,
300
+ teddyMotionDuration150,
301
+ teddyMotionDuration1500,
302
+ teddyMotionDuration200,
303
+ teddyMotionDuration2000,
304
+ teddyMotionDuration300,
305
+ teddyMotionDuration400,
306
+ teddyMotionDuration500,
307
+ teddyMotionEasingEaseIn,
308
+ teddyMotionEasingEaseInOut,
309
+ teddyMotionEasingEaseOut,
310
+ teddyShadowLg,
311
+ teddyShadowMd,
312
+ teddyShadowNone,
313
+ teddyShadowSm,
314
+ teddySpacing0,
315
+ teddySpacing10,
316
+ teddySpacing100,
317
+ teddySpacing1000,
318
+ teddySpacing1200,
319
+ teddySpacing150,
320
+ teddySpacing1600,
321
+ teddySpacing200,
322
+ teddySpacing25,
323
+ teddySpacing250,
324
+ teddySpacing300,
325
+ teddySpacing400,
326
+ teddySpacing50,
327
+ teddySpacing600,
328
+ teddySpacing800,
329
+ teddySpacingGutterLg,
330
+ teddySpacingGutterMd,
331
+ teddySpacingGutterSm,
332
+ teddySpacingGutterXl,
333
+ teddySpacingPagePaddingLg,
334
+ teddySpacingPagePaddingMd,
335
+ teddySpacingPagePaddingSm,
336
+ teddySpacingPagePaddingXl,
337
+ teddyTypographyFamilyDefault,
338
+ teddyTypographyFamilyDisplay,
339
+ teddyTypographyLineHeightDefault,
340
+ teddyTypographyLineHeightLoose,
341
+ teddyTypographyLineHeightLooser,
342
+ teddyTypographyLineHeightTight,
343
+ teddyTypographyScale100,
344
+ teddyTypographyScale1000,
345
+ teddyTypographyScale1100,
346
+ teddyTypographyScale150,
347
+ teddyTypographyScale200,
348
+ teddyTypographyScale400,
349
+ teddyTypographyScale50,
350
+ teddyTypographyScale500,
351
+ teddyTypographyScale600,
352
+ teddyTypographyScale650,
353
+ teddyTypographyScale700,
354
+ teddyTypographyScale75,
355
+ teddyTypographyScale800,
356
+ teddyTypographyScale850,
357
+ teddyTypographyScale900,
358
+ teddyTypographyWeightBold,
359
+ teddyTypographyWeightMedium,
360
+ teddyTypographyWeightNormal
63
361
  };