@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.
- package/dist/components/accordion/accordion.d.ts +2 -1
- package/dist/components/accordion/accordion.js +90 -24
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/badge/badge.js +40 -24
- package/dist/components/badge/index.js +2 -2
- package/dist/components/box/box.js +14 -10
- package/dist/components/box/index.js +2 -2
- package/dist/components/button/button.js +60 -52
- package/dist/components/button/index.js +2 -2
- package/dist/components/card/card.d.ts +32 -10
- package/dist/components/card/card.js +202 -25
- package/dist/components/card/index.js +2 -2
- package/dist/components/field-error-text/field-error-text.js +21 -19
- package/dist/components/field-error-text/index.js +2 -2
- package/dist/components/flex/flex.js +15 -12
- package/dist/components/flex/index.js +2 -2
- package/dist/components/grid/grid.js +15 -12
- package/dist/components/grid/index.js +2 -2
- package/dist/components/heading/heading.js +22 -19
- package/dist/components/heading/index.js +2 -2
- package/dist/components/helper-text/helper-text.js +14 -13
- package/dist/components/helper-text/index.js +2 -2
- package/dist/components/icon/icon.js +16 -14
- package/dist/components/icon/index.js +4 -4
- package/dist/components/index.js +51 -46
- package/dist/components/input/index.js +3 -3
- package/dist/components/input/input.js +79 -66
- package/dist/components/label/index.js +2 -2
- package/dist/components/label/label.js +17 -23
- package/dist/components/link/index.js +2 -2
- package/dist/components/link/link.js +20 -19
- package/dist/components/modal/index.js +2 -2
- package/dist/components/modal/modal.js +173 -14
- package/dist/components/navigation-menu/index.js +2 -2
- package/dist/components/navigation-menu/navigation-menu.js +391 -8
- package/dist/components/notification/index.js +2 -2
- package/dist/components/notification/notification.d.ts +39 -7
- package/dist/components/notification/notification.js +96 -24
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radio-group/radio-group.js +91 -8
- package/dist/components/spinner/index.js +2 -2
- package/dist/components/spinner/spinner.js +36 -29
- package/dist/components/text/index.js +2 -2
- package/dist/components/text/text.js +18 -17
- package/dist/components/text-field/index.js +2 -2
- package/dist/components/text-field/text-field.js +110 -90
- package/dist/components/text-spacing/index.js +2 -2
- package/dist/components/text-spacing/text-spacing.js +14 -12
- package/dist/components/toggle/index.js +2 -2
- package/dist/components/toggle/toggle.d.ts +1 -1
- package/dist/components/toggle/toggle.js +84 -23
- package/dist/components/visually-hidden/index.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +17 -15
- package/dist/icons/category.js +2 -2
- package/dist/icons/name.js +2 -2
- package/dist/main.js +359 -61
- package/dist/style.css +3402 -0
- package/dist/tokens/border/variables.js +18 -10
- package/dist/tokens/breakpoint/variables.js +8 -5
- package/dist/tokens/color/variables.js +452 -227
- package/dist/tokens/index.d.ts +7 -7
- package/dist/tokens/index.js +308 -14
- package/dist/tokens/motion/variables.js +22 -12
- package/dist/tokens/shadow/variables.js +8 -5
- package/dist/tokens/spacing/variables.js +46 -24
- package/dist/tokens/typography/variables.js +48 -25
- package/dist/utils/action.js +10 -7
- package/dist/utils/composeEventHandlers.js +7 -5
- package/dist/utils/composeRefs.js +13 -9
- package/dist/utils/layout/align.js +5 -4
- package/dist/utils/layout/flex.js +25 -18
- package/dist/utils/layout/gap.js +7 -6
- package/dist/utils/layout/grid.js +31 -24
- package/dist/utils/layout/height.js +12 -11
- package/dist/utils/layout/index.js +76 -59
- package/dist/utils/layout/inset.js +10 -9
- package/dist/utils/layout/justify.js +6 -5
- package/dist/utils/layout/margin.js +10 -9
- package/dist/utils/layout/padding.js +10 -9
- package/dist/utils/layout/position.js +6 -5
- package/dist/utils/layout/util.js +7 -6
- package/dist/utils/layout/width.js +8 -7
- package/package.json +21 -14
- package/dist/assets/badge.css +0 -1
- package/dist/assets/button.css +0 -1
- package/dist/assets/field-error-text.css +0 -1
- package/dist/assets/flex.css +0 -1
- package/dist/assets/grid.css +0 -1
- package/dist/assets/heading.css +0 -1
- package/dist/assets/helper-text.css +0 -1
- package/dist/assets/icon.css +0 -1
- package/dist/assets/input.css +0 -1
- package/dist/assets/label.css +0 -1
- package/dist/assets/link.css +0 -1
- package/dist/assets/main.css +0 -1
- package/dist/assets/navigation-menu.css +0 -1
- package/dist/assets/radio-group.css +0 -1
- package/dist/assets/spinner.css +0 -1
- package/dist/assets/text-field.css +0 -1
- package/dist/assets/text-spacing.css +0 -1
- package/dist/assets/text.css +0 -1
- package/dist/assets/visually-hidden.css +0 -1
- package/dist/badge-C6I_qxYL.js +0 -1853
- package/dist/clsx-DB4S2d7J.js +0 -22
- package/dist/index-DM5e-Whg.js +0 -43
- package/dist/index-DpfSJps6.js +0 -75
- package/dist/index-FPIZOCcD.js +0 -305
- package/dist/navigation-menu-DKuyW8zE.js +0 -1036
- package/dist/radio-group-B--zT3OL.js +0 -440
- package/dist/variables-BKiPmtHY.js +0 -458
- package/dist/variables-BkY5b0io.js +0 -14
- package/dist/variables-Bq0YUbLS.js +0 -14
- package/dist/variables-CDK515QX.js +0 -52
- package/dist/variables-CMRTN8qo.js +0 -28
- package/dist/variables-Dmoh9YtD.js +0 -54
- package/dist/variables-IczXZ5CN.js +0 -24
package/dist/tokens/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export *
|
|
2
|
-
export *
|
|
3
|
-
export *
|
|
4
|
-
export *
|
|
5
|
-
export *
|
|
6
|
-
export *
|
|
7
|
-
export *
|
|
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';
|
package/dist/tokens/index.js
CHANGED
|
@@ -1,16 +1,310 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
teddyShadowLg,
|
|
7
|
+
teddyShadowMd,
|
|
8
|
+
teddyShadowNone,
|
|
9
|
+
teddyShadowSm
|
|
7
10
|
};
|
|
@@ -1,26 +1,48 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
};
|
package/dist/utils/action.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
const
|
|
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
|
-
}
|
|
8
|
+
};
|
|
9
|
+
const variants = Object.values(VARIANT);
|
|
10
|
+
const SIZE = {
|
|
9
11
|
SM: "sm",
|
|
10
12
|
MD: "md",
|
|
11
13
|
LG: "lg"
|
|
12
|
-
}
|
|
14
|
+
};
|
|
15
|
+
const sizes = Object.values(SIZE);
|
|
13
16
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
SIZE,
|
|
18
|
+
VARIANT,
|
|
19
|
+
sizes,
|
|
20
|
+
variants
|
|
18
21
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
function
|
|
2
|
-
return function(
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
10
|
+
composeEventHandlers
|
|
9
11
|
};
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
typeof
|
|
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
|
|
6
|
-
return (
|
|
9
|
+
function composeRefs(...refs) {
|
|
10
|
+
return (node) => refs.forEach((ref) => setRef(ref, node));
|
|
7
11
|
}
|
|
8
|
-
function
|
|
9
|
-
return
|
|
12
|
+
function useComposedRefs(...refs) {
|
|
13
|
+
return React__default.useCallback(composeRefs(...refs), refs);
|
|
10
14
|
}
|
|
11
15
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
composeRefs,
|
|
17
|
+
useComposedRefs
|
|
14
18
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
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
|
-
]
|
|
22
|
+
];
|
|
23
|
+
const align = [
|
|
23
24
|
{
|
|
24
25
|
key: "align",
|
|
25
26
|
className: "teddy-ai",
|
|
26
|
-
values:
|
|
27
|
+
values: alignValues
|
|
27
28
|
}
|
|
28
29
|
];
|
|
29
30
|
export {
|
|
30
|
-
|
|
31
|
+
align
|
|
31
32
|
};
|