@telia/teddy 0.0.14 → 0.0.16

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 (116) 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 +32 -10
  11. package/dist/components/card/card.js +202 -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 +39 -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 +3402 -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.js +76 -59
  76. package/dist/utils/layout/inset.js +10 -9
  77. package/dist/utils/layout/justify.js +6 -5
  78. package/dist/utils/layout/margin.js +10 -9
  79. package/dist/utils/layout/padding.js +10 -9
  80. package/dist/utils/layout/position.js +6 -5
  81. package/dist/utils/layout/util.js +7 -6
  82. package/dist/utils/layout/width.js +8 -7
  83. package/package.json +21 -14
  84. package/dist/assets/badge.css +0 -1
  85. package/dist/assets/button.css +0 -1
  86. package/dist/assets/field-error-text.css +0 -1
  87. package/dist/assets/flex.css +0 -1
  88. package/dist/assets/grid.css +0 -1
  89. package/dist/assets/heading.css +0 -1
  90. package/dist/assets/helper-text.css +0 -1
  91. package/dist/assets/icon.css +0 -1
  92. package/dist/assets/input.css +0 -1
  93. package/dist/assets/label.css +0 -1
  94. package/dist/assets/link.css +0 -1
  95. package/dist/assets/main.css +0 -1
  96. package/dist/assets/navigation-menu.css +0 -1
  97. package/dist/assets/radio-group.css +0 -1
  98. package/dist/assets/spinner.css +0 -1
  99. package/dist/assets/text-field.css +0 -1
  100. package/dist/assets/text-spacing.css +0 -1
  101. package/dist/assets/text.css +0 -1
  102. package/dist/assets/visually-hidden.css +0 -1
  103. package/dist/badge-C6I_qxYL.js +0 -1853
  104. package/dist/clsx-DB4S2d7J.js +0 -22
  105. package/dist/index-DM5e-Whg.js +0 -43
  106. package/dist/index-DpfSJps6.js +0 -75
  107. package/dist/index-FPIZOCcD.js +0 -305
  108. package/dist/navigation-menu-DKuyW8zE.js +0 -1036
  109. package/dist/radio-group-B--zT3OL.js +0 -440
  110. package/dist/variables-BKiPmtHY.js +0 -458
  111. package/dist/variables-BkY5b0io.js +0 -14
  112. package/dist/variables-Bq0YUbLS.js +0 -14
  113. package/dist/variables-CDK515QX.js +0 -52
  114. package/dist/variables-CMRTN8qo.js +0 -28
  115. package/dist/variables-Dmoh9YtD.js +0 -54
  116. package/dist/variables-IczXZ5CN.js +0 -24
@@ -1,7 +1,7 @@
1
- export * as border from './border/variables';
2
- export * as breakpoint from './breakpoint/variables';
3
- export * as color from './color/variables';
4
- export * as motion from './motion/variables';
5
- export * as shadow from './shadow/variables';
6
- export * as spacing from './spacing/variables';
7
- export * as typography from './typography/variables';
1
+ export * from './border/variables';
2
+ export * from './breakpoint/variables';
3
+ export * from './color/variables';
4
+ export * from './motion/variables';
5
+ export * from './shadow/variables';
6
+ export * from './spacing/variables';
7
+ export * from './typography/variables';
@@ -1,16 +1,310 @@
1
- import { v as a } from "../variables-IczXZ5CN.js";
2
- import { v as t } from "../variables-BkY5b0io.js";
3
- import { v as s } from "../variables-BKiPmtHY.js";
4
- import { v as f } from "../variables-CMRTN8qo.js";
5
- import { v as x } from "../variables-Bq0YUbLS.js";
6
- import { v as n } from "../variables-CDK515QX.js";
7
- import { v as c } from "../variables-Dmoh9YtD.js";
1
+ import { teddyBorderRadiusFull, teddyBorderRadiusLg, teddyBorderRadiusMd, teddyBorderRadiusSm, teddyBorderRadiusXs, teddyBorderWidthLg, teddyBorderWidthMd, teddyBorderWidthSm, teddyBorderWidthXs } from "./border/variables.js";
2
+ import { teddyBreakpointLg, teddyBreakpointMd, teddyBreakpointSm, teddyBreakpointXl } from "./breakpoint/variables.js";
3
+ 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 "./color/variables.js";
4
+ import { teddyMotionDuration100, teddyMotionDuration150, teddyMotionDuration1500, teddyMotionDuration200, teddyMotionDuration2000, teddyMotionDuration300, teddyMotionDuration400, teddyMotionDuration500, teddyMotionEasingEaseIn, teddyMotionEasingEaseInOut, teddyMotionEasingEaseOut } from "./motion/variables.js";
5
+ import { teddyShadowLg, teddyShadowMd, teddyShadowNone, teddyShadowSm } from "./shadow/variables.js";
6
+ 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 "./spacing/variables.js";
7
+ 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 "./typography/variables.js";
8
8
  export {
9
- a as border,
10
- t as breakpoint,
11
- s as color,
12
- f as motion,
13
- x as shadow,
14
- n as spacing,
15
- c as typography
9
+ teddyBorderRadiusFull,
10
+ teddyBorderRadiusLg,
11
+ teddyBorderRadiusMd,
12
+ teddyBorderRadiusSm,
13
+ teddyBorderRadiusXs,
14
+ teddyBorderWidthLg,
15
+ teddyBorderWidthMd,
16
+ teddyBorderWidthSm,
17
+ teddyBorderWidthXs,
18
+ teddyBreakpointLg,
19
+ teddyBreakpointMd,
20
+ teddyBreakpointSm,
21
+ teddyBreakpointXl,
22
+ teddyColorBackgroundInteractiveDestructive,
23
+ teddyColorBackgroundInteractiveDestructiveActive,
24
+ teddyColorBackgroundInteractiveDestructiveHover,
25
+ teddyColorBackgroundInteractiveDisabled,
26
+ teddyColorBackgroundInteractiveDisabledNegative,
27
+ teddyColorBackgroundInteractiveExpressive,
28
+ teddyColorBackgroundInteractiveExpressiveActive,
29
+ teddyColorBackgroundInteractiveExpressiveHover,
30
+ teddyColorBackgroundInteractiveExpressiveNegative,
31
+ teddyColorBackgroundInteractiveExpressiveNegativeActive,
32
+ teddyColorBackgroundInteractiveExpressiveNegativeHover,
33
+ teddyColorBackgroundInteractiveInactive,
34
+ teddyColorBackgroundInteractiveInactiveNegative,
35
+ teddyColorBackgroundInteractivePrimary,
36
+ teddyColorBackgroundInteractivePrimaryActive,
37
+ teddyColorBackgroundInteractivePrimaryHover,
38
+ teddyColorBackgroundInteractivePrimaryNegative,
39
+ teddyColorBackgroundInteractivePrimaryNegativeActive,
40
+ teddyColorBackgroundInteractivePrimaryNegativeHover,
41
+ teddyColorBackgroundInteractiveReadOnly,
42
+ teddyColorBackgroundInteractiveTransparent,
43
+ teddyColorBackgroundInteractiveTransparentActive,
44
+ teddyColorBackgroundInteractiveTransparentHover,
45
+ teddyColorBackgroundInteractiveTransparentNegativeActive,
46
+ teddyColorBackgroundInteractiveTransparentNegativeHover,
47
+ teddyColorBackgroundPrimary,
48
+ teddyColorBackgroundSecondary,
49
+ teddyColorBackgroundStatusAttention,
50
+ teddyColorBackgroundStatusError,
51
+ teddyColorBackgroundStatusErrorStrong,
52
+ teddyColorBackgroundStatusInfo,
53
+ teddyColorBackgroundStatusInfoStrong,
54
+ teddyColorBackgroundStatusNeutral,
55
+ teddyColorBackgroundStatusSpecial,
56
+ teddyColorBackgroundStatusSuccess,
57
+ teddyColorBackgroundStatusSuccessStrong,
58
+ teddyColorBackgroundStatusWarning,
59
+ teddyColorBackgroundStatusWarningStrong,
60
+ teddyColorBackgroundToneOnTonePrimary,
61
+ teddyColorBackgroundToneOnToneQuaternary,
62
+ teddyColorBackgroundToneOnToneSecondary,
63
+ teddyColorBackgroundToneOnToneTertiary,
64
+ teddyColorBeige100,
65
+ teddyColorBeige200,
66
+ teddyColorBeige300,
67
+ teddyColorBeige400,
68
+ teddyColorBeige50,
69
+ teddyColorBeige500,
70
+ teddyColorBeige600,
71
+ teddyColorBeige700,
72
+ teddyColorBeige800,
73
+ teddyColorBeige900,
74
+ teddyColorBeige950,
75
+ teddyColorBlue100,
76
+ teddyColorBlue200,
77
+ teddyColorBlue300,
78
+ teddyColorBlue400,
79
+ teddyColorBlue50,
80
+ teddyColorBlue500,
81
+ teddyColorBlue600,
82
+ teddyColorBlue700,
83
+ teddyColorBlue800,
84
+ teddyColorBlue900,
85
+ teddyColorBlue950,
86
+ teddyColorBorderInteractiveFocus,
87
+ teddyColorBorderInteractivePrimary,
88
+ teddyColorBorderInteractivePrimaryActive,
89
+ teddyColorBorderInteractivePrimaryHover,
90
+ teddyColorBorderInteractivePrimaryNegative,
91
+ teddyColorBorderInteractivePrimaryNegativeActive,
92
+ teddyColorBorderInteractivePrimaryNegativeHover,
93
+ teddyColorBorderInteractiveSelected,
94
+ teddyColorBorderInteractiveSubtle,
95
+ teddyColorBorderInteractiveSubtleHover,
96
+ teddyColorBorderMedium,
97
+ teddyColorBorderMediumNegative,
98
+ teddyColorBorderStatusError,
99
+ teddyColorBorderStatusInfo,
100
+ teddyColorBorderStatusSuccess,
101
+ teddyColorBorderStatusWarning,
102
+ teddyColorBorderStrong,
103
+ teddyColorBorderStrongNegative,
104
+ teddyColorBorderWeak,
105
+ teddyColorBorderWeakNegative,
106
+ teddyColorBrandBeige,
107
+ teddyColorBrandCorePurple,
108
+ teddyColorBrandDeepBeige,
109
+ teddyColorBrandDeepPurple,
110
+ teddyColorBrandLightBeige,
111
+ teddyColorBrandLightPurple,
112
+ teddyColorBrandOffBlack,
113
+ teddyColorBrandWhite,
114
+ teddyColorFunctionalBlack,
115
+ teddyColorFunctionalTransparent,
116
+ teddyColorFunctionalWhite,
117
+ teddyColorGray100,
118
+ teddyColorGray150,
119
+ teddyColorGray200,
120
+ teddyColorGray300,
121
+ teddyColorGray400,
122
+ teddyColorGray50,
123
+ teddyColorGray500,
124
+ teddyColorGray600,
125
+ teddyColorGray700,
126
+ teddyColorGray800,
127
+ teddyColorGray850,
128
+ teddyColorGray900,
129
+ teddyColorGray950,
130
+ teddyColorGreen100,
131
+ teddyColorGreen200,
132
+ teddyColorGreen300,
133
+ teddyColorGreen400,
134
+ teddyColorGreen50,
135
+ teddyColorGreen500,
136
+ teddyColorGreen600,
137
+ teddyColorGreen700,
138
+ teddyColorGreen800,
139
+ teddyColorGreen900,
140
+ teddyColorGreen950,
141
+ teddyColorOrange100,
142
+ teddyColorOrange200,
143
+ teddyColorOrange300,
144
+ teddyColorOrange400,
145
+ teddyColorOrange50,
146
+ teddyColorOrange500,
147
+ teddyColorOrange600,
148
+ teddyColorOrange700,
149
+ teddyColorOrange800,
150
+ teddyColorOrange900,
151
+ teddyColorOrange950,
152
+ teddyColorOverlayDefault,
153
+ teddyColorPurple100,
154
+ teddyColorPurple200,
155
+ teddyColorPurple300,
156
+ teddyColorPurple400,
157
+ teddyColorPurple50,
158
+ teddyColorPurple500,
159
+ teddyColorPurple550,
160
+ teddyColorPurple600,
161
+ teddyColorPurple700,
162
+ teddyColorPurple800,
163
+ teddyColorPurple900,
164
+ teddyColorPurple950,
165
+ teddyColorRed100,
166
+ teddyColorRed200,
167
+ teddyColorRed300,
168
+ teddyColorRed400,
169
+ teddyColorRed50,
170
+ teddyColorRed500,
171
+ teddyColorRed600,
172
+ teddyColorRed700,
173
+ teddyColorRed800,
174
+ teddyColorRed900,
175
+ teddyColorRed950,
176
+ teddyColorTeal100,
177
+ teddyColorTeal200,
178
+ teddyColorTeal300,
179
+ teddyColorTeal400,
180
+ teddyColorTeal50,
181
+ teddyColorTeal500,
182
+ teddyColorTeal600,
183
+ teddyColorTeal700,
184
+ teddyColorTeal800,
185
+ teddyColorTeal900,
186
+ teddyColorTeal950,
187
+ teddyColorTextDefault,
188
+ teddyColorTextDefaultNegative,
189
+ teddyColorTextInteractiveOnDestructive,
190
+ teddyColorTextInteractiveOnExpressive,
191
+ teddyColorTextInteractiveOnExpressiveNegative,
192
+ teddyColorTextInteractiveOnExpressiveNegativeActive,
193
+ teddyColorTextInteractiveOnExpressiveNegativeHover,
194
+ teddyColorTextInteractiveOnPrimary,
195
+ teddyColorTextInteractiveOnPrimaryNegative,
196
+ teddyColorTextInteractivePrimary,
197
+ teddyColorTextInteractivePrimaryActive,
198
+ teddyColorTextInteractivePrimaryHover,
199
+ teddyColorTextInteractivePrimaryNegative,
200
+ teddyColorTextInteractivePrimaryNegativeActive,
201
+ teddyColorTextInteractivePrimaryNegativeHover,
202
+ teddyColorTextInteractiveSelected,
203
+ teddyColorTextMedium,
204
+ teddyColorTextMediumNegative,
205
+ teddyColorTextStatusAttention,
206
+ teddyColorTextStatusDiscount,
207
+ teddyColorTextStatusErrorMedium,
208
+ teddyColorTextStatusErrorStrong,
209
+ teddyColorTextStatusInfoMedium,
210
+ teddyColorTextStatusInfoStrong,
211
+ teddyColorTextStatusNeutral,
212
+ teddyColorTextStatusSpecial,
213
+ teddyColorTextStatusSuccessMedium,
214
+ teddyColorTextStatusSuccessStrong,
215
+ teddyColorTextStatusWarningMedium,
216
+ teddyColorTextStatusWarningStrong,
217
+ teddyColorTextToneOnTonePrimary,
218
+ teddyColorTextToneOnToneSecondary,
219
+ teddyColorTextToneOnToneTertiary,
220
+ teddyColorTextWeak,
221
+ teddyColorTextWeakNegative,
222
+ teddyColorTransparentBlack100,
223
+ teddyColorTransparentBlack150,
224
+ teddyColorTransparentBlack200,
225
+ teddyColorTransparentBlack300,
226
+ teddyColorTransparentBlack400,
227
+ teddyColorTransparentBlack50,
228
+ teddyColorTransparentBlack500,
229
+ teddyColorTransparentBlack600,
230
+ teddyColorTransparentBlack700,
231
+ teddyColorTransparentBlack800,
232
+ teddyColorTransparentBlack850,
233
+ teddyColorTransparentBlack900,
234
+ teddyColorTransparentBlack950,
235
+ teddyColorTransparentWhite100,
236
+ teddyColorTransparentWhite150,
237
+ teddyColorTransparentWhite200,
238
+ teddyColorTransparentWhite300,
239
+ teddyColorTransparentWhite400,
240
+ teddyColorTransparentWhite50,
241
+ teddyColorTransparentWhite500,
242
+ teddyColorTransparentWhite600,
243
+ teddyColorTransparentWhite700,
244
+ teddyColorTransparentWhite800,
245
+ teddyColorTransparentWhite850,
246
+ teddyColorTransparentWhite900,
247
+ teddyColorTransparentWhite950,
248
+ teddyMotionDuration100,
249
+ teddyMotionDuration150,
250
+ teddyMotionDuration1500,
251
+ teddyMotionDuration200,
252
+ teddyMotionDuration2000,
253
+ teddyMotionDuration300,
254
+ teddyMotionDuration400,
255
+ teddyMotionDuration500,
256
+ teddyMotionEasingEaseIn,
257
+ teddyMotionEasingEaseInOut,
258
+ teddyMotionEasingEaseOut,
259
+ teddyShadowLg,
260
+ teddyShadowMd,
261
+ teddyShadowNone,
262
+ teddyShadowSm,
263
+ teddySpacing0,
264
+ teddySpacing10,
265
+ teddySpacing100,
266
+ teddySpacing1000,
267
+ teddySpacing1200,
268
+ teddySpacing150,
269
+ teddySpacing1600,
270
+ teddySpacing200,
271
+ teddySpacing25,
272
+ teddySpacing250,
273
+ teddySpacing300,
274
+ teddySpacing400,
275
+ teddySpacing50,
276
+ teddySpacing600,
277
+ teddySpacing800,
278
+ teddySpacingGutterLg,
279
+ teddySpacingGutterMd,
280
+ teddySpacingGutterSm,
281
+ teddySpacingGutterXl,
282
+ teddySpacingPagePaddingLg,
283
+ teddySpacingPagePaddingMd,
284
+ teddySpacingPagePaddingSm,
285
+ teddySpacingPagePaddingXl,
286
+ teddyTypographyFamilyDefault,
287
+ teddyTypographyFamilyDisplay,
288
+ teddyTypographyLineHeightDefault,
289
+ teddyTypographyLineHeightLoose,
290
+ teddyTypographyLineHeightLooser,
291
+ teddyTypographyLineHeightTight,
292
+ teddyTypographyScale100,
293
+ teddyTypographyScale1000,
294
+ teddyTypographyScale1100,
295
+ teddyTypographyScale150,
296
+ teddyTypographyScale200,
297
+ teddyTypographyScale400,
298
+ teddyTypographyScale50,
299
+ teddyTypographyScale500,
300
+ teddyTypographyScale600,
301
+ teddyTypographyScale650,
302
+ teddyTypographyScale700,
303
+ teddyTypographyScale75,
304
+ teddyTypographyScale800,
305
+ teddyTypographyScale850,
306
+ teddyTypographyScale900,
307
+ teddyTypographyWeightBold,
308
+ teddyTypographyWeightMedium,
309
+ teddyTypographyWeightNormal
16
310
  };
@@ -1,14 +1,24 @@
1
- import { t as a, a as n, f as d, b as i, g as s, c as e, d as y, e as M, h as r, j as u, i as D } from "../../variables-CMRTN8qo.js";
1
+ const teddyMotionDuration100 = "100ms";
2
+ const teddyMotionDuration150 = "150ms";
3
+ const teddyMotionDuration200 = "200ms";
4
+ const teddyMotionDuration300 = "300ms";
5
+ const teddyMotionDuration400 = "400ms";
6
+ const teddyMotionDuration500 = "500ms";
7
+ const teddyMotionDuration1500 = "1500ms";
8
+ const teddyMotionDuration2000 = "2000ms";
9
+ const teddyMotionEasingEaseIn = "cubic-bezier(0.35, 0.07, 0.88, 0.43)";
10
+ const teddyMotionEasingEaseOut = "cubic-bezier(0.33, 0.9, 0.75, 0.95)";
11
+ const teddyMotionEasingEaseInOut = "cubic-bezier(0.45, 0, 0.52, 0.98)";
2
12
  export {
3
- a as teddyMotionDuration100,
4
- n as teddyMotionDuration150,
5
- d as teddyMotionDuration1500,
6
- i as teddyMotionDuration200,
7
- s as teddyMotionDuration2000,
8
- e as teddyMotionDuration300,
9
- y as teddyMotionDuration400,
10
- M as teddyMotionDuration500,
11
- r as teddyMotionEasingEaseIn,
12
- u as teddyMotionEasingEaseInOut,
13
- D as teddyMotionEasingEaseOut
13
+ teddyMotionDuration100,
14
+ teddyMotionDuration150,
15
+ teddyMotionDuration1500,
16
+ teddyMotionDuration200,
17
+ teddyMotionDuration2000,
18
+ teddyMotionDuration300,
19
+ teddyMotionDuration400,
20
+ teddyMotionDuration500,
21
+ teddyMotionEasingEaseIn,
22
+ teddyMotionEasingEaseInOut,
23
+ teddyMotionEasingEaseOut
14
24
  };
@@ -1,7 +1,10 @@
1
- import { c as o, b as e, t, a as S } from "../../variables-Bq0YUbLS.js";
1
+ const teddyShadowNone = "0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)";
2
+ const teddyShadowSm = "0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)";
3
+ const teddyShadowMd = "0rem 0.25rem 0.75rem 0rem rgba(0, 0, 0, 0.1)";
4
+ const teddyShadowLg = "0rem 0.75rem 1.5rem 0rem rgba(0, 0, 0, 0.1)";
2
5
  export {
3
- o as teddyShadowLg,
4
- e as teddyShadowMd,
5
- t as teddyShadowNone,
6
- S as teddyShadowSm
6
+ teddyShadowLg,
7
+ teddyShadowMd,
8
+ teddyShadowNone,
9
+ teddyShadowSm
7
10
  };
@@ -1,26 +1,48 @@
1
- import { t as g, a as e, d as t, l as i, m as n, e as p, n as S, f as c, b as s, g as y, h as P, i as r, c as u, j as m, k as G, q as l, p as o, o as f, r as x, w as L, u as M, s as X, x as b } from "../../variables-CDK515QX.js";
1
+ const teddySpacing0 = "0rem";
2
+ const teddySpacing10 = "0.0625rem";
3
+ const teddySpacing25 = "0.125rem";
4
+ const teddySpacing50 = "0.25rem";
5
+ const teddySpacing100 = "0.5rem";
6
+ const teddySpacing150 = "0.75rem";
7
+ const teddySpacing200 = "1rem";
8
+ const teddySpacing250 = "1.25rem";
9
+ const teddySpacing300 = "1.5rem";
10
+ const teddySpacing400 = "2rem";
11
+ const teddySpacing600 = "3rem";
12
+ const teddySpacing800 = "4rem";
13
+ const teddySpacing1000 = "5rem";
14
+ const teddySpacing1200 = "6rem";
15
+ const teddySpacing1600 = "8rem";
16
+ const teddySpacingGutterSm = "1rem";
17
+ const teddySpacingGutterMd = "1.5rem";
18
+ const teddySpacingGutterLg = "1.5rem";
19
+ const teddySpacingGutterXl = "1.5rem";
20
+ const teddySpacingPagePaddingSm = "1rem";
21
+ const teddySpacingPagePaddingMd = "1.5rem";
22
+ const teddySpacingPagePaddingLg = "3rem";
23
+ const teddySpacingPagePaddingXl = "3rem";
2
24
  export {
3
- g as teddySpacing0,
4
- e as teddySpacing10,
5
- t as teddySpacing100,
6
- i as teddySpacing1000,
7
- n as teddySpacing1200,
8
- p as teddySpacing150,
9
- S as teddySpacing1600,
10
- c as teddySpacing200,
11
- s as teddySpacing25,
12
- y as teddySpacing250,
13
- P as teddySpacing300,
14
- r as teddySpacing400,
15
- u as teddySpacing50,
16
- m as teddySpacing600,
17
- G as teddySpacing800,
18
- l as teddySpacingGutterLg,
19
- o as teddySpacingGutterMd,
20
- f as teddySpacingGutterSm,
21
- x as teddySpacingGutterXl,
22
- L as teddySpacingPagePaddingLg,
23
- M as teddySpacingPagePaddingMd,
24
- X as teddySpacingPagePaddingSm,
25
- b as teddySpacingPagePaddingXl
25
+ teddySpacing0,
26
+ teddySpacing10,
27
+ teddySpacing100,
28
+ teddySpacing1000,
29
+ teddySpacing1200,
30
+ teddySpacing150,
31
+ teddySpacing1600,
32
+ teddySpacing200,
33
+ teddySpacing25,
34
+ teddySpacing250,
35
+ teddySpacing300,
36
+ teddySpacing400,
37
+ teddySpacing50,
38
+ teddySpacing600,
39
+ teddySpacing800,
40
+ teddySpacingGutterLg,
41
+ teddySpacingGutterMd,
42
+ teddySpacingGutterSm,
43
+ teddySpacingGutterXl,
44
+ teddySpacingPagePaddingLg,
45
+ teddySpacingPagePaddingMd,
46
+ teddySpacingPagePaddingSm,
47
+ teddySpacingPagePaddingXl
26
48
  };
@@ -1,27 +1,50 @@
1
- import { t as e, a as d, f as p, g as t, h as g, e as h, k as o, x as r, y as s, l as T, m as l, n as i, i as c, o as S, p as m, q as L, r as n, j as f, s as u, u as H, w as D, d as W, c as x, b as F } from "../../variables-Dmoh9YtD.js";
1
+ const teddyTypographyFamilyDefault = "TeliaSans, Helvetica, sans-serif";
2
+ const teddyTypographyFamilyDisplay = "TeliaSansHeading, Helvetica, sans-serif";
3
+ const teddyTypographyWeightNormal = "400";
4
+ const teddyTypographyWeightMedium = "500";
5
+ const teddyTypographyWeightBold = "700";
6
+ const teddyTypographyLineHeightTight = "100%";
7
+ const teddyTypographyLineHeightDefault = "125%";
8
+ const teddyTypographyLineHeightLoose = "150%";
9
+ const teddyTypographyLineHeightLooser = "175%";
10
+ const teddyTypographyScale50 = "0.75rem";
11
+ const teddyTypographyScale75 = "0.875rem";
12
+ const teddyTypographyScale100 = "1rem";
13
+ const teddyTypographyScale150 = "1.125rem";
14
+ const teddyTypographyScale200 = "1.25rem";
15
+ const teddyTypographyScale400 = "1.5rem";
16
+ const teddyTypographyScale500 = "1.75rem";
17
+ const teddyTypographyScale600 = "2rem";
18
+ const teddyTypographyScale650 = "2.25rem";
19
+ const teddyTypographyScale700 = "2.5rem";
20
+ const teddyTypographyScale800 = "3rem";
21
+ const teddyTypographyScale850 = "3.5rem";
22
+ const teddyTypographyScale900 = "4rem";
23
+ const teddyTypographyScale1000 = "5rem";
24
+ const teddyTypographyScale1100 = "6rem";
2
25
  export {
3
- e as teddyTypographyFamilyDefault,
4
- d as teddyTypographyFamilyDisplay,
5
- p as teddyTypographyLineHeightDefault,
6
- t as teddyTypographyLineHeightLoose,
7
- g as teddyTypographyLineHeightLooser,
8
- h as teddyTypographyLineHeightTight,
9
- o as teddyTypographyScale100,
10
- r as teddyTypographyScale1000,
11
- s as teddyTypographyScale1100,
12
- T as teddyTypographyScale150,
13
- l as teddyTypographyScale200,
14
- i as teddyTypographyScale400,
15
- c as teddyTypographyScale50,
16
- S as teddyTypographyScale500,
17
- m as teddyTypographyScale600,
18
- L as teddyTypographyScale650,
19
- n as teddyTypographyScale700,
20
- f as teddyTypographyScale75,
21
- u as teddyTypographyScale800,
22
- H as teddyTypographyScale850,
23
- D as teddyTypographyScale900,
24
- W as teddyTypographyWeightBold,
25
- x as teddyTypographyWeightMedium,
26
- F as teddyTypographyWeightNormal
26
+ teddyTypographyFamilyDefault,
27
+ teddyTypographyFamilyDisplay,
28
+ teddyTypographyLineHeightDefault,
29
+ teddyTypographyLineHeightLoose,
30
+ teddyTypographyLineHeightLooser,
31
+ teddyTypographyLineHeightTight,
32
+ teddyTypographyScale100,
33
+ teddyTypographyScale1000,
34
+ teddyTypographyScale1100,
35
+ teddyTypographyScale150,
36
+ teddyTypographyScale200,
37
+ teddyTypographyScale400,
38
+ teddyTypographyScale50,
39
+ teddyTypographyScale500,
40
+ teddyTypographyScale600,
41
+ teddyTypographyScale650,
42
+ teddyTypographyScale700,
43
+ teddyTypographyScale75,
44
+ teddyTypographyScale800,
45
+ teddyTypographyScale850,
46
+ teddyTypographyScale900,
47
+ teddyTypographyWeightBold,
48
+ teddyTypographyWeightMedium,
49
+ teddyTypographyWeightNormal
27
50
  };
@@ -1,18 +1,21 @@
1
- const e = {
1
+ const VARIANT = {
2
2
  PRIMARY: "primary",
3
3
  PRIMARY_NEGATIVE: "primary-negative",
4
4
  SECONDARY: "secondary",
5
5
  SECONDARY_NEGATIVE: "secondary-negative",
6
6
  EXPRESSIVE: "expressive",
7
7
  EXPRESSIVE_NEGATIVE: "expressive-negative"
8
- }, E = Object.values(e), s = {
8
+ };
9
+ const variants = Object.values(VARIANT);
10
+ const SIZE = {
9
11
  SM: "sm",
10
12
  MD: "md",
11
13
  LG: "lg"
12
- }, a = Object.values(s);
14
+ };
15
+ const sizes = Object.values(SIZE);
13
16
  export {
14
- s as SIZE,
15
- e as VARIANT,
16
- a as sizes,
17
- E as variants
17
+ SIZE,
18
+ VARIANT,
19
+ sizes,
20
+ variants
18
21
  };
@@ -1,9 +1,11 @@
1
- function h(f, c, { checkForDefaultPrevented: p = !0 } = {}) {
2
- return function(s) {
3
- if (f == null || f(s), p === !1 || !s.defaultPrevented)
4
- return c == null ? void 0 : c(s);
1
+ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
2
+ return function handleEvent(event) {
3
+ originalEventHandler == null ? void 0 : originalEventHandler(event);
4
+ if (checkForDefaultPrevented === false || !event.defaultPrevented) {
5
+ return ourEventHandler == null ? void 0 : ourEventHandler(event);
6
+ }
5
7
  };
6
8
  }
7
9
  export {
8
- h as composeEventHandlers
10
+ composeEventHandlers
9
11
  };
@@ -1,14 +1,18 @@
1
- import e from "react";
2
- function u(o, t) {
3
- typeof o == "function" ? o(t) : o != null && (o.current = t);
1
+ import React__default from "react";
2
+ function setRef(ref, value) {
3
+ if (typeof ref === "function") {
4
+ ref(value);
5
+ } else if (ref !== null && ref !== void 0) {
6
+ ref.current = value;
7
+ }
4
8
  }
5
- function c(...o) {
6
- return (t) => o.forEach((n) => u(n, t));
9
+ function composeRefs(...refs) {
10
+ return (node) => refs.forEach((ref) => setRef(ref, node));
7
11
  }
8
- function i(...o) {
9
- return e.useCallback(c(...o), o);
12
+ function useComposedRefs(...refs) {
13
+ return React__default.useCallback(composeRefs(...refs), refs);
10
14
  }
11
15
  export {
12
- c as composeRefs,
13
- i as useComposedRefs
16
+ composeRefs,
17
+ useComposedRefs
14
18
  };
@@ -1,4 +1,4 @@
1
- const e = [
1
+ const alignValues = [
2
2
  {
3
3
  key: "start",
4
4
  value: "flex-start"
@@ -19,13 +19,14 @@ const e = [
19
19
  key: "stretch",
20
20
  value: "stretch"
21
21
  }
22
- ], a = [
22
+ ];
23
+ const align = [
23
24
  {
24
25
  key: "align",
25
26
  className: "teddy-ai",
26
- values: e
27
+ values: alignValues
27
28
  }
28
29
  ];
29
30
  export {
30
- a as align
31
+ align
31
32
  };