@telefonica/mistica 12.11.1 → 12.13.0
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/css/mistica.css +1 -1
- package/dist/avatar.css-mistica.js +2 -2
- package/dist/avatar.d.ts +3 -2
- package/dist/avatar.js +72 -17
- package/dist/avatar.js.flow +2 -1
- package/dist/badge.css-mistica.js +4 -4
- package/dist/badge.d.ts +2 -0
- package/dist/badge.js +49 -8
- package/dist/badge.js.flow +2 -0
- package/dist/boxed.js +5 -5
- package/dist/button-group.css-mistica.js +1 -1
- package/dist/button-group.js +7 -7
- package/dist/button-layout.css-mistica.js +12 -12
- package/dist/button-layout.js +1 -1
- package/dist/button.css-mistica.js +26 -26
- package/dist/button.js +127 -77
- package/dist/callout.css-mistica.js +2 -2
- package/dist/callout.d.ts +2 -1
- package/dist/callout.js +68 -16
- package/dist/callout.js.flow +2 -1
- package/dist/card.css-mistica.js +5 -5
- package/dist/card.js +47 -41
- package/dist/carousel.css-mistica.js +23 -25
- package/dist/carousel.css.d.ts +1 -0
- package/dist/carousel.css.js.flow +4 -0
- package/dist/carousel.d.ts +7 -1
- package/dist/carousel.js +237 -209
- package/dist/carousel.js.flow +9 -1
- package/dist/checkbox.css-mistica.js +6 -6
- package/dist/checkbox.js +1 -1
- package/dist/chip.css-mistica.js +2 -2
- package/dist/chip.d.ts +7 -11
- package/dist/chip.js +65 -22
- package/dist/chip.js.flow +11 -6
- package/dist/circle.css-mistica.js +1 -1
- package/dist/credit-card-number-field.css-mistica.js +3 -3
- package/dist/cvv-field.css-mistica.js +1 -1
- package/dist/date-time-picker.js +2 -2
- package/dist/desktop-container-type-context.js +14 -4
- package/dist/dialog.css-mistica.js +6 -6
- package/dist/dialog.d.ts +2 -10
- package/dist/dialog.js +1 -0
- package/dist/dialog.js.flow +6 -4
- package/dist/double-field.css-mistica.js +5 -4
- package/dist/empty-state-card.css-mistica.js +1 -1
- package/dist/empty-state.css-mistica.js +2 -2
- package/dist/empty-state.js +5 -5
- package/dist/fade-in.d.ts +2 -0
- package/dist/fade-in.js +59 -6
- package/dist/fade-in.js.flow +2 -0
- package/dist/feedback.css-mistica.js +1 -1
- package/dist/feedback.js +130 -115
- package/dist/fixed-footer-layout.css-mistica.js +36 -0
- package/dist/fixed-footer-layout.css.d.ts +9 -0
- package/dist/fixed-footer-layout.css.js.flow +17 -0
- package/dist/fixed-footer-layout.css.ts.vanilla.js +11 -0
- package/dist/fixed-footer-layout.js +35 -84
- package/dist/header.js +99 -129
- package/dist/highlighted-card.css-mistica.js +5 -5
- package/dist/highlighted-card.d.ts +1 -1
- package/dist/highlighted-card.js +20 -15
- package/dist/highlighted-card.js.flow +1 -1
- package/dist/icon-button.css-mistica.js +13 -0
- package/dist/icon-button.css.d.ts +1 -0
- package/dist/icon-button.css.js.flow +3 -0
- package/dist/icon-button.css.ts.vanilla.js +11 -0
- package/dist/icon-button.d.ts +2 -1
- package/dist/icon-button.js +51 -28
- package/dist/icon-button.js.flow +2 -1
- package/dist/icons/icon-error.css-mistica.js +20 -0
- package/dist/icons/icon-error.css.d.ts +2 -0
- package/dist/icons/icon-error.css.js.flow +4 -0
- package/dist/icons/icon-error.css.ts.vanilla.js +11 -0
- package/dist/icons/icon-error.js +22 -33
- package/dist/icons/icon-info.js +16 -28
- package/dist/icons/icon-success-vivo.js +10 -20
- package/dist/icons/icon-success.js +28 -44
- package/dist/image.css-mistica.js +3 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.js +8 -0
- package/dist/index.js.flow +2 -0
- package/dist/list.css-mistica.js +7 -7
- package/dist/list.js +112 -71
- package/dist/loading-bar.css-mistica.js +6 -6
- package/dist/loading-bar.d.ts +2 -0
- package/dist/loading-bar.js +60 -6
- package/dist/loading-bar.js.flow +5 -1
- package/dist/maybe-dismissable.css-mistica.js +24 -0
- package/dist/maybe-dismissable.css.d.ts +3 -0
- package/dist/maybe-dismissable.css.js.flow +5 -0
- package/dist/maybe-dismissable.css.ts.vanilla.js +11 -0
- package/dist/maybe-dismissable.js +16 -51
- package/dist/media-queries.css-mistica.js +37 -5
- package/dist/menu.css-mistica.js +34 -0
- package/dist/menu.css.d.ts +11 -0
- package/dist/menu.css.js.flow +19 -0
- package/dist/menu.css.ts.vanilla.js +11 -0
- package/dist/menu.d.ts +2 -0
- package/dist/menu.js +53 -99
- package/dist/menu.js.flow +2 -0
- package/dist/navigation-bar.css-mistica.js +79 -0
- package/dist/navigation-bar.css.d.ts +17 -0
- package/dist/navigation-bar.css.js.flow +26 -0
- package/dist/navigation-bar.css.ts.vanilla.js +11 -0
- package/dist/navigation-bar.js +206 -334
- package/dist/navigation-breadcrumbs.css-mistica.js +27 -0
- package/dist/navigation-breadcrumbs.css.d.ts +5 -0
- package/dist/navigation-breadcrumbs.css.js.flow +7 -0
- package/dist/navigation-breadcrumbs.css.ts.vanilla.js +11 -0
- package/dist/navigation-breadcrumbs.js +20 -38
- package/dist/overlay.d.ts +2 -0
- package/dist/overlay.js +37 -11
- package/dist/overlay.js.flow +2 -0
- package/dist/package-version.js +1 -1
- package/dist/password-field.css-mistica.js +13 -0
- package/dist/password-field.css.d.ts +1 -0
- package/dist/password-field.css.js.flow +3 -0
- package/dist/password-field.css.ts.vanilla.js +11 -0
- package/dist/password-field.js +39 -55
- package/dist/popover.css-mistica.js +51 -0
- package/dist/popover.css.d.ts +12 -0
- package/dist/popover.css.js.flow +14 -0
- package/dist/popover.css.ts.vanilla.js +11 -0
- package/dist/popover.d.ts +2 -1
- package/dist/popover.js +97 -118
- package/dist/popover.js.flow +2 -1
- package/dist/progress-bar.css-mistica.js +3 -3
- package/dist/progress-bar.d.ts +2 -0
- package/dist/progress-bar.js +60 -7
- package/dist/progress-bar.js.flow +2 -0
- package/dist/radio-button.css-mistica.js +39 -0
- package/dist/radio-button.css.d.ts +6 -0
- package/dist/radio-button.css.js.flow +8 -0
- package/dist/radio-button.css.ts.vanilla.js +11 -0
- package/dist/radio-button.d.ts +1 -0
- package/dist/radio-button.js +81 -125
- package/dist/radio-button.js.flow +1 -0
- package/dist/responsive-layout.css-mistica.js +7 -4
- package/dist/responsive-layout.css.d.ts +1 -0
- package/dist/responsive-layout.css.js.flow +1 -0
- package/dist/responsive-layout.d.ts +2 -0
- package/dist/responsive-layout.js +19 -11
- package/dist/responsive-layout.js.flow +2 -0
- package/dist/screen-reader-only.css-mistica.js +2 -2
- package/dist/select.css-mistica.js +60 -0
- package/dist/select.css.d.ts +16 -0
- package/dist/select.css.js.flow +30 -0
- package/dist/select.css.ts.vanilla.js +11 -0
- package/dist/select.js +150 -272
- package/dist/skeleton-base.js +13 -32
- package/dist/skeletons.css-mistica.js +1 -1
- package/dist/skeletons.js +63 -42
- package/dist/skins/skin-contract.css.js.flow +1 -0
- package/dist/snackbar.css-mistica.js +4 -4
- package/dist/snackbar.d.ts +2 -0
- package/dist/snackbar.js +70 -23
- package/dist/snackbar.js.flow +2 -0
- package/dist/spinner.css-mistica.js +2 -2
- package/dist/spinner.js +14 -11
- package/dist/sprinkles.css-mistica.js +217 -479
- package/dist/sprinkles.css.d.ts +0 -25
- package/dist/stepper.css-mistica.js +7 -7
- package/dist/stepper.d.ts +2 -0
- package/dist/stepper.js +52 -11
- package/dist/stepper.js.flow +2 -0
- package/dist/switch-component.css-mistica.js +54 -0
- package/dist/switch-component.css.d.ts +14 -0
- package/dist/switch-component.css.js.flow +43 -0
- package/dist/switch-component.css.ts.vanilla.js +11 -0
- package/dist/switch-component.js +35 -96
- package/dist/tabs.css-mistica.js +6 -6
- package/dist/tabs.js +16 -15
- package/dist/tag.css-mistica.js +2 -2
- package/dist/tag.js +5 -5
- package/dist/text-field-base.css-mistica.js +63 -0
- package/dist/text-field-base.css.d.ts +17 -0
- package/dist/text-field-base.css.js.flow +19 -0
- package/dist/text-field-base.css.ts.vanilla.js +11 -0
- package/dist/text-field-base.js +120 -314
- package/dist/text-field-components.css-mistica.js +69 -0
- package/dist/text-field-components.css.d.ts +18 -0
- package/dist/text-field-components.css.js.flow +20 -0
- package/dist/text-field-components.css.ts.vanilla.js +11 -0
- package/dist/text-field-components.d.ts +0 -4
- package/dist/text-field-components.js +46 -159
- package/dist/text-field-components.js.flow +0 -4
- package/dist/text-link.css-mistica.js +3 -3
- package/dist/text.js +159 -92
- package/dist/theme-context-provider.js +1 -1
- package/dist/title.js +44 -12
- package/dist/tooltip.css-mistica.js +7 -7
- package/dist/tooltip.d.ts +2 -0
- package/dist/tooltip.js +62 -36
- package/dist/tooltip.js.flow +2 -0
- package/dist/touchable.css-mistica.js +3 -3
- package/dist/touchable.js +10 -10
- package/dist/utils/animation.d.ts +0 -6
- package/dist/utils/animation.js +18 -55
- package/dist/utils/animation.js.flow +0 -8
- package/dist/utils/aspect-ratio-support.css-mistica.js +29 -0
- package/dist/utils/aspect-ratio-support.css.d.ts +6 -0
- package/dist/utils/aspect-ratio-support.css.js.flow +11 -0
- package/dist/utils/aspect-ratio-support.css.ts.vanilla.js +11 -0
- package/dist/utils/aspect-ratio-support.js +37 -56
- package/dist/utils/color.d.ts +1 -1
- package/dist/utils/color.js.flow +1 -1
- package/dist/utils/dom.d.ts +1 -1
- package/dist/utils/dom.js +7 -5
- package/dist/utils/dom.js.flow +2 -1
- package/dist/video.css-mistica.js +2 -2
- package/dist-es/avatar.css-mistica.js +2 -2
- package/dist-es/avatar.js +77 -22
- package/dist-es/badge.css-mistica.js +2 -2
- package/dist-es/badge.js +56 -15
- package/dist-es/boxed.js +5 -5
- package/dist-es/button-group.css-mistica.js +1 -1
- package/dist-es/button-group.js +10 -10
- package/dist-es/button-layout.css-mistica.js +7 -7
- package/dist-es/button-layout.js +4 -4
- package/dist-es/button.css-mistica.js +9 -9
- package/dist-es/button.js +152 -102
- package/dist-es/callout.css-mistica.js +2 -2
- package/dist-es/callout.js +79 -27
- package/dist-es/card.css-mistica.js +2 -2
- package/dist-es/card.js +78 -72
- package/dist-es/carousel.css-mistica.js +8 -7
- package/dist-es/carousel.js +286 -258
- package/dist-es/checkbox.css-mistica.js +5 -5
- package/dist-es/checkbox.js +1 -1
- package/dist-es/chip.css-mistica.js +2 -2
- package/dist-es/chip.js +79 -36
- package/dist-es/circle.css-mistica.js +1 -1
- package/dist-es/credit-card-number-field.css-mistica.js +3 -3
- package/dist-es/cvv-field.css-mistica.js +1 -1
- package/dist-es/date-time-picker.js +1 -1
- package/dist-es/desktop-container-type-context.js +4 -2
- package/dist-es/dialog.css-mistica.js +5 -5
- package/dist-es/dialog.js +1 -0
- package/dist-es/double-field.css-mistica.js +5 -4
- package/dist-es/empty-state-card.css-mistica.js +1 -1
- package/dist-es/empty-state.css-mistica.js +2 -2
- package/dist-es/empty-state.js +18 -18
- package/dist-es/fade-in.js +60 -7
- package/dist-es/feedback.css-mistica.js +1 -1
- package/dist-es/feedback.js +170 -155
- package/dist-es/fixed-footer-layout.css-mistica.js +7 -0
- package/dist-es/fixed-footer-layout.css.ts.vanilla.js +2 -0
- package/dist-es/fixed-footer-layout.js +47 -96
- package/dist-es/header.js +116 -146
- package/dist-es/highlighted-card.css-mistica.js +5 -5
- package/dist-es/highlighted-card.js +44 -39
- package/dist-es/icon-button.css-mistica.js +4 -0
- package/dist-es/icon-button.css.ts.vanilla.js +2 -0
- package/dist-es/icon-button.js +41 -26
- package/dist-es/icons/icon-error.css-mistica.js +3 -0
- package/dist-es/icons/icon-error.css.ts.vanilla.js +2 -0
- package/dist-es/icons/icon-error.js +46 -57
- package/dist-es/icons/icon-info.js +28 -40
- package/dist-es/icons/icon-success-vivo.js +18 -28
- package/dist-es/icons/icon-success.js +45 -56
- package/dist-es/image.css-mistica.js +2 -2
- package/dist-es/index.js +1738 -1736
- package/dist-es/list.css-mistica.js +2 -2
- package/dist-es/list.js +126 -85
- package/dist-es/loading-bar.css-mistica.js +2 -2
- package/dist-es/loading-bar.js +73 -19
- package/dist-es/maybe-dismissable.css-mistica.js +4 -0
- package/dist-es/maybe-dismissable.css.ts.vanilla.js +2 -0
- package/dist-es/maybe-dismissable.js +24 -59
- package/dist-es/media-queries.css-mistica.js +3 -3
- package/dist-es/menu.css-mistica.js +11 -0
- package/dist-es/menu.css.ts.vanilla.js +2 -0
- package/dist-es/menu.js +61 -107
- package/dist-es/navigation-bar.css-mistica.js +17 -0
- package/dist-es/navigation-bar.css.ts.vanilla.js +2 -0
- package/dist-es/navigation-bar.js +253 -381
- package/dist-es/navigation-breadcrumbs.css-mistica.js +4 -0
- package/dist-es/navigation-breadcrumbs.css.ts.vanilla.js +2 -0
- package/dist-es/navigation-breadcrumbs.js +34 -52
- package/dist-es/overlay.js +41 -15
- package/dist-es/package-version.js +1 -1
- package/dist-es/password-field.css-mistica.js +4 -0
- package/dist-es/password-field.css.ts.vanilla.js +2 -0
- package/dist-es/password-field.js +45 -61
- package/dist-es/popover.css-mistica.js +4 -0
- package/dist-es/popover.css.ts.vanilla.js +2 -0
- package/dist-es/popover.js +121 -141
- package/dist-es/progress-bar.css-mistica.js +2 -2
- package/dist-es/progress-bar.js +68 -15
- package/dist-es/radio-button.css-mistica.js +10 -0
- package/dist-es/radio-button.css.ts.vanilla.js +2 -0
- package/dist-es/radio-button.js +99 -143
- package/dist-es/responsive-layout.css-mistica.js +2 -2
- package/dist-es/responsive-layout.js +23 -15
- package/dist-es/screen-reader-only.css-mistica.js +2 -2
- package/dist-es/select.css-mistica.js +22 -0
- package/dist-es/select.css.ts.vanilla.js +2 -0
- package/dist-es/select.js +177 -299
- package/dist-es/skeleton-base.js +17 -36
- package/dist-es/skeletons.css-mistica.js +1 -1
- package/dist-es/skeletons.js +78 -57
- package/dist-es/snackbar.css-mistica.js +2 -2
- package/dist-es/snackbar.js +89 -42
- package/dist-es/spinner.css-mistica.js +2 -2
- package/dist-es/spinner.js +14 -11
- package/dist-es/sprinkles.css-mistica.js +217 -479
- package/dist-es/stepper.css-mistica.js +2 -2
- package/dist-es/stepper.js +68 -27
- package/dist-es/style.css +1 -1
- package/dist-es/switch-component.css-mistica.js +22 -0
- package/dist-es/switch-component.css.ts.vanilla.js +2 -0
- package/dist-es/switch-component.js +51 -112
- package/dist-es/tabs.css-mistica.js +6 -6
- package/dist-es/tabs.js +24 -23
- package/dist-es/tag.css-mistica.js +2 -2
- package/dist-es/tag.js +11 -11
- package/dist-es/text-field-base.css-mistica.js +4 -0
- package/dist-es/text-field-base.css.ts.vanilla.js +2 -0
- package/dist-es/text-field-base.js +134 -328
- package/dist-es/text-field-components.css-mistica.js +4 -0
- package/dist-es/text-field-components.css.ts.vanilla.js +2 -0
- package/dist-es/text-field-components.js +56 -157
- package/dist-es/text-link.css-mistica.js +3 -3
- package/dist-es/text.js +159 -92
- package/dist-es/theme-context-provider.js +1 -1
- package/dist-es/title.js +50 -18
- package/dist-es/tooltip.css-mistica.js +3 -3
- package/dist-es/tooltip.js +90 -64
- package/dist-es/touchable.css-mistica.js +2 -2
- package/dist-es/touchable.js +10 -10
- package/dist-es/utils/animation.js +28 -62
- package/dist-es/utils/aspect-ratio-support.css-mistica.js +6 -0
- package/dist-es/utils/aspect-ratio-support.css.ts.vanilla.js +2 -0
- package/dist-es/utils/aspect-ratio-support.js +34 -58
- package/dist-es/utils/dom.js +7 -5
- package/dist-es/video.css-mistica.js +2 -2
- package/package.json +2 -1
|
@@ -96,190 +96,89 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
96
96
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
97
97
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
98
98
|
}
|
|
99
|
-
import * as
|
|
100
|
-
import
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
transformOrigin: "0 0",
|
|
115
|
-
height: 24,
|
|
116
|
-
display: "flex",
|
|
117
|
-
flexDirection: "row",
|
|
118
|
-
transform: "translateY(18px) scale(1)",
|
|
119
|
-
fontSize: 18,
|
|
120
|
-
lineHeight: "24px",
|
|
121
|
-
color: function(param) {
|
|
122
|
-
var r = param.inputState, t = param.error;
|
|
123
|
-
return t && r !== "default" ? e.colors.error : r === "focused" ? e.colors.controlActivated : e.colors.textSecondary;
|
|
124
|
-
}
|
|
125
|
-
}, _defineProperty(_obj, e.mq.tabletOrSmaller, {
|
|
126
|
-
fontSize: 16,
|
|
127
|
-
transform: "translateY(16px) scale(1)"
|
|
128
|
-
}), _defineProperty(_obj, "width", "calc(100% - ".concat(d * 2, "px)")), _obj),
|
|
129
|
-
labelText: {
|
|
130
|
-
"-webkit-line-clamp": 1,
|
|
131
|
-
lineClamp: 1,
|
|
132
|
-
wordBreak: "break-all",
|
|
133
|
-
display: "box",
|
|
134
|
-
overflow: "hidden",
|
|
135
|
-
boxOrient: "vertical",
|
|
136
|
-
flexShrink: 1
|
|
137
|
-
},
|
|
138
|
-
shrinked: _defineProperty({
|
|
139
|
-
transform: "translateY(8px) scale(".concat(f, ")"),
|
|
140
|
-
height: 20 / f,
|
|
141
|
-
lineHeight: "".concat(20 / f, "px"),
|
|
142
|
-
width: "calc(100% - ".concat(d * 2, "px) / ").concat(f)
|
|
143
|
-
}, e.mq.tabletOrSmaller, {
|
|
144
|
-
transform: "translateY(8px) scale(".concat(p, ")"),
|
|
145
|
-
height: 16 / p,
|
|
146
|
-
lineHeight: "".concat(16 / p, "px"),
|
|
147
|
-
width: "calc(100% - ".concat(d * 2, "px) / ").concat(p)
|
|
148
|
-
})
|
|
149
|
-
};
|
|
150
|
-
}), _ = function(param) {
|
|
151
|
-
var e = param.shrinkLabel, r = param.forId, t = param.inputState, s = param.error, l = param.children, o = param.style, a = param.optional;
|
|
152
|
-
var c = e || t === "focused" || t === "filled", i = w({
|
|
153
|
-
inputState: t,
|
|
154
|
-
error: s
|
|
155
|
-
}), ref = _slicedToArray(h.useState(""), 2), S = ref[0], y = ref[1], ref1 = b(), v = ref1.texts;
|
|
156
|
-
return h.useEffect(function() {
|
|
157
|
-
var T = setTimeout(function() {
|
|
158
|
-
process.env.NODE_ENV !== "test" && y("transform 150ms, width 150ms");
|
|
99
|
+
import * as u from "react";
|
|
100
|
+
import c from "classnames";
|
|
101
|
+
import { useIsInverseVariant as g } from "./theme-variant-context.js";
|
|
102
|
+
import { useTheme as x } from "./hooks.js";
|
|
103
|
+
import { Text1 as h } from "./text.js";
|
|
104
|
+
import { labelContainer as C, shrinked as S, labelText as k, helperContainer as I, helperText as p, leftText as E, rightText as F, fieldContainer as L, fullWidth as W, normalWidth as j, disabled as w, field as A, fieldMulti as O, fieldSingle as P } from "./text-field-components.css-mistica.js";
|
|
105
|
+
import { sprinkles as v } from "./sprinkles.css-mistica.js";
|
|
106
|
+
import { vars as a } from "./skins/skin-contract.css-mistica.js";
|
|
107
|
+
import { jsxs as d, jsx as l } from "./_virtual/jsx-runtime.js";
|
|
108
|
+
var B = function(param) {
|
|
109
|
+
var o = param.shrinkLabel, t = param.forId, r = param.inputState, s = param.error, e = param.children, i = param.style, n = param.optional;
|
|
110
|
+
var m = o || r === "focused" || r === "filled", ref = _slicedToArray(u.useState(""), 2), T = ref[0], b = ref[1], ref1 = x(), N = ref1.texts;
|
|
111
|
+
u.useEffect(function() {
|
|
112
|
+
var y = setTimeout(function() {
|
|
113
|
+
process.env.NODE_ENV !== "test" && b("transform 150ms, width 150ms");
|
|
159
114
|
});
|
|
160
115
|
return function() {
|
|
161
|
-
clearTimeout(
|
|
116
|
+
clearTimeout(y);
|
|
162
117
|
};
|
|
163
|
-
}, [])
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
118
|
+
}, []);
|
|
119
|
+
var f = a.colors.textSecondary;
|
|
120
|
+
return s && r !== "default" ? f = a.colors.error : r === "focused" && (f = a.colors.controlActivated), /* @__PURE__ */ d("label", {
|
|
121
|
+
className: c(C, _defineProperty({}, S, m), v({
|
|
122
|
+
color: f
|
|
123
|
+
})),
|
|
124
|
+
htmlFor: t,
|
|
125
|
+
style: _objectSpreadProps(_objectSpread({}, i), {
|
|
126
|
+
transition: T
|
|
168
127
|
}),
|
|
169
128
|
children: [
|
|
170
|
-
/* @__PURE__ */
|
|
171
|
-
className:
|
|
172
|
-
children:
|
|
129
|
+
/* @__PURE__ */ l("span", {
|
|
130
|
+
className: k,
|
|
131
|
+
children: e
|
|
173
132
|
}),
|
|
174
|
-
|
|
133
|
+
n ? /* @__PURE__ */ d("span", {
|
|
175
134
|
children: [
|
|
176
135
|
"\xa0(",
|
|
177
|
-
|
|
136
|
+
N.formFieldOptionalLabelSuffix,
|
|
178
137
|
")"
|
|
179
138
|
]
|
|
180
139
|
}) : null
|
|
181
140
|
]
|
|
182
141
|
});
|
|
183
|
-
},
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
"& div": {
|
|
189
|
-
margin: 0,
|
|
190
|
-
marginTop: 4,
|
|
191
|
-
flexGrow: 1
|
|
192
|
-
},
|
|
193
|
-
display: "flex"
|
|
194
|
-
},
|
|
195
|
-
leftText: {
|
|
196
|
-
textAlign: "left"
|
|
197
|
-
},
|
|
198
|
-
rightText: {
|
|
199
|
-
textAlign: "right"
|
|
200
|
-
}
|
|
201
|
-
};
|
|
202
|
-
}), B = function(param) {
|
|
203
|
-
var e = param.leftText, r = param.rightText, t = param.error;
|
|
204
|
-
var s = L(), ref = b(), l = ref.colors, o = E(), a = s ? l.textPrimaryInverse : t ? l.error : l.textSecondary, c = s ? l.textPrimaryInverse : l.textSecondary;
|
|
205
|
-
return /* @__PURE__ */ m("div", {
|
|
206
|
-
className: o.helperContainer,
|
|
142
|
+
}, G = function(param) {
|
|
143
|
+
var o = param.leftText, t = param.rightText, r = param.error;
|
|
144
|
+
var s = g(), ref = x(), e = ref.colors, i = s ? e.textPrimaryInverse : r ? e.error : e.textSecondary, n = s ? e.textPrimaryInverse : e.textSecondary;
|
|
145
|
+
return /* @__PURE__ */ d("div", {
|
|
146
|
+
className: I,
|
|
207
147
|
children: [
|
|
208
|
-
|
|
209
|
-
className:
|
|
210
|
-
children: /* @__PURE__ */
|
|
211
|
-
color:
|
|
148
|
+
o && /* @__PURE__ */ l("div", {
|
|
149
|
+
className: c(p, E),
|
|
150
|
+
children: /* @__PURE__ */ l(h, {
|
|
151
|
+
color: i,
|
|
212
152
|
regular: !0,
|
|
213
153
|
as: "p",
|
|
214
|
-
children:
|
|
154
|
+
children: o
|
|
215
155
|
})
|
|
216
156
|
}),
|
|
217
|
-
|
|
218
|
-
className:
|
|
219
|
-
children: /* @__PURE__ */
|
|
220
|
-
color:
|
|
157
|
+
t && /* @__PURE__ */ l("div", {
|
|
158
|
+
className: c(p, F),
|
|
159
|
+
children: /* @__PURE__ */ l(h, {
|
|
160
|
+
color: n,
|
|
221
161
|
regular: !0,
|
|
222
162
|
as: "p",
|
|
223
|
-
children:
|
|
163
|
+
children: t
|
|
224
164
|
})
|
|
225
165
|
})
|
|
226
166
|
]
|
|
227
167
|
});
|
|
228
|
-
},
|
|
229
|
-
var
|
|
230
|
-
return {
|
|
231
|
-
|
|
232
|
-
opacity: function(param) {
|
|
233
|
-
var r = param.disabled;
|
|
234
|
-
return r ? 0.5 : 1;
|
|
235
|
-
},
|
|
236
|
-
display: "flex",
|
|
237
|
-
flexDirection: "column",
|
|
238
|
-
minWidth: 96
|
|
239
|
-
}, _defineProperty(_obj, e.mq.tabletOrSmaller, {
|
|
240
|
-
width: "100%"
|
|
241
|
-
}), _defineProperty(_obj, e.mq.desktopOrBigger, {
|
|
242
|
-
width: function(param) {
|
|
243
|
-
var r = param.fullWidth;
|
|
244
|
-
return r ? "100%" : C;
|
|
245
|
-
}
|
|
246
|
-
}), _obj),
|
|
247
|
-
border: (_obj1 = {
|
|
248
|
-
overflow: "hidden",
|
|
249
|
-
border: "1px solid ".concat(e.colors.border),
|
|
250
|
-
borderRadius: 8,
|
|
251
|
-
height: function(param) {
|
|
252
|
-
var r = param.multiline;
|
|
253
|
-
return r ? 152 : 60;
|
|
254
|
-
}
|
|
255
|
-
}, _defineProperty(_obj1, e.mq.tabletOrSmaller, {
|
|
256
|
-
height: function(param) {
|
|
257
|
-
var r = param.multiline;
|
|
258
|
-
return r ? 152 : 56;
|
|
259
|
-
}
|
|
260
|
-
}), _defineProperty(_obj1, "display", "flex"), _defineProperty(_obj1, "position", "relative"), _defineProperty(_obj1, "backgroundColor", function(param) {
|
|
261
|
-
var r = param.readOnly;
|
|
262
|
-
return r ? e.colors.neutralLow : e.colors.backgroundContainer;
|
|
263
|
-
}), _obj1)
|
|
264
|
-
};
|
|
265
|
-
}), D = function(param) {
|
|
266
|
-
var e = param.multiline, r = param.disabled, t = param.children, s = param.helperText, l = param.className, o = param.fieldRef, a = param.fullWidth, c = param.readOnly;
|
|
267
|
-
var i = O({
|
|
268
|
-
multiline: e,
|
|
269
|
-
fullWidth: a,
|
|
270
|
-
disabled: r,
|
|
271
|
-
readOnly: c
|
|
272
|
-
});
|
|
273
|
-
return /* @__PURE__ */ m("div", {
|
|
274
|
-
className: i.fieldContainer,
|
|
168
|
+
}, J = function(param) {
|
|
169
|
+
var o = param.multiline, t = param.disabled, r = param.children, s = param.helperText, e = param.className, i = param.fieldRef, n = param.fullWidth, m = param.readOnly;
|
|
170
|
+
return /* @__PURE__ */ d("div", {
|
|
171
|
+
className: c(L, n ? W : j, _defineProperty({}, w, t)),
|
|
275
172
|
children: [
|
|
276
|
-
/* @__PURE__ */
|
|
277
|
-
className:
|
|
278
|
-
|
|
279
|
-
|
|
173
|
+
/* @__PURE__ */ l("div", {
|
|
174
|
+
className: c(A, o ? O : P, v({
|
|
175
|
+
background: m ? a.colors.neutralLow : a.colors.backgroundContainer
|
|
176
|
+
}), e),
|
|
177
|
+
ref: i,
|
|
178
|
+
children: r
|
|
280
179
|
}),
|
|
281
180
|
s
|
|
282
181
|
]
|
|
283
182
|
});
|
|
284
183
|
};
|
|
285
|
-
export {
|
|
184
|
+
export { J as FieldContainer, G as HelperText, B as Label };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./sprinkles.css.ts.vanilla.js";
|
|
2
2
|
import "./text-link.css.ts.vanilla.js";
|
|
3
3
|
var v = {
|
|
4
|
-
default: "_1m1n0pr1
|
|
5
|
-
inverseLight: "_1m1n0pr6 _1m1n0pr1
|
|
6
|
-
inverseDark: "_1m1n0pr7 _1m1n0pr1
|
|
4
|
+
default: "_1m1n0pr1 _1y2v1nf76 _1y2v1nf51 _1y2v1nf93 _1y2v1nf1t",
|
|
5
|
+
inverseLight: "_1m1n0pr6 _1m1n0pr1 _1y2v1nf76 _1y2v1nf51 _1y2v1nf93 _1y2v1nf1u",
|
|
6
|
+
inverseDark: "_1m1n0pr7 _1m1n0pr1 _1y2v1nf76 _1y2v1nf51 _1y2v1nf93 _1y2v1nf1t"
|
|
7
7
|
};
|
|
8
8
|
export { v as variants };
|
package/dist-es/text.js
CHANGED
|
@@ -50,16 +50,43 @@ function _objectSpreadProps(target, source) {
|
|
|
50
50
|
}
|
|
51
51
|
return target;
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
function _objectWithoutProperties(source, excluded) {
|
|
54
|
+
if (source == null) return {};
|
|
55
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
56
|
+
var key, i;
|
|
57
|
+
if (Object.getOwnPropertySymbols) {
|
|
58
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
59
|
+
for(i = 0; i < sourceSymbolKeys.length; i++){
|
|
60
|
+
key = sourceSymbolKeys[i];
|
|
61
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
62
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
63
|
+
target[key] = source[key];
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return target;
|
|
67
|
+
}
|
|
68
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
69
|
+
if (source == null) return {};
|
|
70
|
+
var target = {};
|
|
71
|
+
var sourceKeys = Object.keys(source);
|
|
72
|
+
var key, i;
|
|
73
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
74
|
+
key = sourceKeys[i];
|
|
75
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
76
|
+
target[key] = source[key];
|
|
77
|
+
}
|
|
78
|
+
return target;
|
|
79
|
+
}
|
|
80
|
+
import * as R from "react";
|
|
81
|
+
import j from "classnames";
|
|
82
|
+
import { assignInlineVars as L } from "@vanilla-extract/dynamic";
|
|
56
83
|
import { useIsInverseVariant as B } from "./theme-variant-context.js";
|
|
57
|
-
import { pxToRem as
|
|
84
|
+
import { pxToRem as p } from "./utils/css.js";
|
|
58
85
|
import { getPrefixedDataAttributes as E } from "./utils/dom.js";
|
|
59
|
-
import { useTheme as
|
|
60
|
-
import { vars as
|
|
61
|
-
import { text as N, withWordBreak as $, withoutWordBreak as q, truncateToOneLine as F, truncateToMoreThanOneLine as G, vars as
|
|
62
|
-
import { jsx as
|
|
86
|
+
import { useTheme as s } from "./hooks.js";
|
|
87
|
+
import { vars as r } from "./skins/skin-contract.css-mistica.js";
|
|
88
|
+
import { text as N, withWordBreak as $, withoutWordBreak as q, truncateToOneLine as F, truncateToMoreThanOneLine as G, vars as a } from "./text.css-mistica.js";
|
|
89
|
+
import { jsx as o } from "./_virtual/jsx-runtime.js";
|
|
63
90
|
var J = {
|
|
64
91
|
light: 300,
|
|
65
92
|
regular: 400,
|
|
@@ -67,139 +94,179 @@ var J = {
|
|
|
67
94
|
bold: 700
|
|
68
95
|
}, K = function(e) {
|
|
69
96
|
return e === !0 ? 1 : e || "initial";
|
|
70
|
-
},
|
|
71
|
-
var e = param.weight, tmp = param.color, t = tmp === void 0 ?
|
|
72
|
-
var
|
|
97
|
+
}, n = function(param) {
|
|
98
|
+
var e = param.weight, tmp = param.color, t = tmp === void 0 ? r.colors.textPrimary : tmp, i = param.decoration, m = param.truncate, f = param.transform, tmp1 = param.wordBreak, h = tmp1 === void 0 ? !0 : tmp1, z = param.hyphens, tmp2 = param.as, w = tmp2 === void 0 ? "span" : tmp2, g = param.children, c = param.size, tmp3 = param.mobileSize, u = tmp3 === void 0 ? c : tmp3, tmp4 = param.desktopSize, d = tmp4 === void 0 ? c : tmp4, b = param.lineHeight, tmp5 = param.mobileLineHeight, T = tmp5 === void 0 ? b : tmp5, tmp6 = param.desktopLineHeight, S = tmp6 === void 0 ? b : tmp6, H = param.letterSpacing, v = param.textAlign, P = param.id, y = param.role, A = param["aria-level"], I = param.dataAttributes;
|
|
99
|
+
var k;
|
|
73
100
|
var _obj;
|
|
74
|
-
var
|
|
101
|
+
var W = B(), V = K(m), ref = s(), x = ref.colors, C = (_obj = {}, _defineProperty(_obj, r.colors.textPrimary, r.colors.textPrimaryInverse), _defineProperty(_obj, r.colors.textSecondary, r.colors.textSecondaryInverse), _defineProperty(_obj, r.colors.textLink, r.colors.textLinkInverse), _defineProperty(_obj, x.textPrimary, x.textPrimaryInverse), _defineProperty(_obj, x.textSecondary, x.textSecondaryInverse), _defineProperty(_obj, x.textLink, x.textLinkInverse), _obj);
|
|
75
102
|
if (!g && g !== 0) return null;
|
|
76
103
|
var _obj1, _obj2;
|
|
77
|
-
var
|
|
78
|
-
return /*#__PURE__*/
|
|
79
|
-
className:
|
|
104
|
+
var D = j(N, h ? $ : q, (_obj1 = {}, _defineProperty(_obj1, F, m === 1 || m === !0), _defineProperty(_obj1, G, m && m > 1), _obj1)), M = L((_obj2 = {}, _defineProperty(_obj2, a.mobileSize, u ? p(u) : ""), _defineProperty(_obj2, a.mobileLineHeight, T ? p(T) : ""), _defineProperty(_obj2, a.desktopSize, d ? p(d) : ""), _defineProperty(_obj2, a.desktopLineHeight, S ? p(S) : ""), _obj2)), O = m ? L(_defineProperty({}, a.lineClamp, String(V))) : {};
|
|
105
|
+
return /*#__PURE__*/ R.createElement(w, _objectSpreadProps(_objectSpread({
|
|
106
|
+
className: D,
|
|
80
107
|
id: P,
|
|
81
108
|
role: y,
|
|
82
|
-
"aria-level":
|
|
83
|
-
}, E(
|
|
84
|
-
style: _objectSpreadProps(_objectSpread({},
|
|
85
|
-
hyphens:
|
|
86
|
-
letterSpacing:
|
|
109
|
+
"aria-level": A
|
|
110
|
+
}, E(I)), {
|
|
111
|
+
style: _objectSpreadProps(_objectSpread({}, M, O), {
|
|
112
|
+
hyphens: z,
|
|
113
|
+
letterSpacing: H,
|
|
87
114
|
fontWeight: e ? J[e] : "inherit",
|
|
88
|
-
textTransform:
|
|
89
|
-
textDecoration:
|
|
90
|
-
overflowWrap:
|
|
91
|
-
color:
|
|
115
|
+
textTransform: f || "inherit",
|
|
116
|
+
textDecoration: i != null ? i : "inherit",
|
|
117
|
+
overflowWrap: h ? "anywhere" : "inherit",
|
|
118
|
+
color: W && (k = C[t]) != null ? k : t,
|
|
92
119
|
textAlign: v
|
|
93
120
|
})
|
|
94
121
|
}), g);
|
|
95
|
-
},
|
|
122
|
+
}, l = function(e) {
|
|
96
123
|
if (e.light) return "light";
|
|
97
124
|
if (e.regular) return "regular";
|
|
98
125
|
if (e.medium) return "medium";
|
|
99
|
-
},
|
|
100
|
-
var
|
|
101
|
-
|
|
126
|
+
}, oe = function(_param) {
|
|
127
|
+
var e = _param.dataAttributes, t = _objectWithoutProperties(_param, [
|
|
128
|
+
"dataAttributes"
|
|
129
|
+
]);
|
|
130
|
+
var ref = s(), i = ref.textPresets;
|
|
131
|
+
return /* @__PURE__ */ o(n, _objectSpread({
|
|
102
132
|
mobileSize: 32,
|
|
103
133
|
mobileLineHeight: "40px",
|
|
104
134
|
desktopSize: 64,
|
|
105
135
|
desktopLineHeight: "72px",
|
|
106
|
-
weight:
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
},
|
|
111
|
-
|
|
112
|
-
|
|
136
|
+
weight: i.text10.weight,
|
|
137
|
+
dataAttributes: _objectSpread({
|
|
138
|
+
"component-name": "Text10"
|
|
139
|
+
}, e)
|
|
140
|
+
}, t));
|
|
141
|
+
}, ne = function(_param) {
|
|
142
|
+
var e = _param.dataAttributes, t = _objectWithoutProperties(_param, [
|
|
143
|
+
"dataAttributes"
|
|
144
|
+
]);
|
|
145
|
+
var ref = s(), i = ref.textPresets;
|
|
146
|
+
return /* @__PURE__ */ o(n, _objectSpread({
|
|
113
147
|
mobileSize: 32,
|
|
114
148
|
mobileLineHeight: "40px",
|
|
115
149
|
desktopSize: 56,
|
|
116
150
|
desktopLineHeight: "64px",
|
|
117
|
-
weight:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
},
|
|
122
|
-
|
|
123
|
-
|
|
151
|
+
weight: i.text9.weight,
|
|
152
|
+
dataAttributes: _objectSpread({
|
|
153
|
+
"component-name": "Text9"
|
|
154
|
+
}, e)
|
|
155
|
+
}, t));
|
|
156
|
+
}, re = function(_param) {
|
|
157
|
+
var e = _param.dataAttributes, t = _objectWithoutProperties(_param, [
|
|
158
|
+
"dataAttributes"
|
|
159
|
+
]);
|
|
160
|
+
var ref = s(), i = ref.textPresets;
|
|
161
|
+
return /* @__PURE__ */ o(n, _objectSpread({
|
|
124
162
|
mobileSize: 32,
|
|
125
163
|
mobileLineHeight: "40px",
|
|
126
164
|
desktopSize: 48,
|
|
127
165
|
desktopLineHeight: "56px",
|
|
128
|
-
weight:
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
},
|
|
133
|
-
|
|
134
|
-
|
|
166
|
+
weight: i.text8.weight,
|
|
167
|
+
dataAttributes: _objectSpread({
|
|
168
|
+
"component-name": "Text8"
|
|
169
|
+
}, e)
|
|
170
|
+
}, t));
|
|
171
|
+
}, se = function(_param) {
|
|
172
|
+
var e = _param.dataAttributes, t = _objectWithoutProperties(_param, [
|
|
173
|
+
"dataAttributes"
|
|
174
|
+
]);
|
|
175
|
+
var ref = s(), i = ref.textPresets;
|
|
176
|
+
return /* @__PURE__ */ o(n, _objectSpread({
|
|
135
177
|
mobileSize: 28,
|
|
136
178
|
mobileLineHeight: "32px",
|
|
137
179
|
desktopSize: 40,
|
|
138
180
|
desktopLineHeight: "48px",
|
|
139
|
-
weight:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
},
|
|
144
|
-
|
|
145
|
-
|
|
181
|
+
weight: i.text7.weight,
|
|
182
|
+
dataAttributes: _objectSpread({
|
|
183
|
+
"component-name": "Text7"
|
|
184
|
+
}, e)
|
|
185
|
+
}, t));
|
|
186
|
+
}, me = function(_param) {
|
|
187
|
+
var e = _param.dataAttributes, t = _objectWithoutProperties(_param, [
|
|
188
|
+
"dataAttributes"
|
|
189
|
+
]);
|
|
190
|
+
var ref = s(), i = ref.textPresets;
|
|
191
|
+
return /* @__PURE__ */ o(n, _objectSpread({
|
|
146
192
|
mobileSize: 24,
|
|
147
193
|
mobileLineHeight: "32px",
|
|
148
194
|
desktopSize: 32,
|
|
149
195
|
desktopLineHeight: "40px",
|
|
150
|
-
weight:
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
},
|
|
155
|
-
|
|
156
|
-
|
|
196
|
+
weight: i.text6.weight,
|
|
197
|
+
dataAttributes: _objectSpread({
|
|
198
|
+
"component-name": "Text6"
|
|
199
|
+
}, e)
|
|
200
|
+
}, t));
|
|
201
|
+
}, xe = function(_param) {
|
|
202
|
+
var e = _param.dataAttributes, t = _objectWithoutProperties(_param, [
|
|
203
|
+
"dataAttributes"
|
|
204
|
+
]);
|
|
205
|
+
var ref = s(), i = ref.textPresets;
|
|
206
|
+
return /* @__PURE__ */ o(n, _objectSpread({
|
|
157
207
|
mobileSize: 22,
|
|
158
208
|
mobileLineHeight: "24px",
|
|
159
209
|
desktopSize: 28,
|
|
160
210
|
desktopLineHeight: "32px",
|
|
161
|
-
weight:
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
},
|
|
166
|
-
|
|
211
|
+
weight: i.text5.weight,
|
|
212
|
+
dataAttributes: _objectSpread({
|
|
213
|
+
"component-name": "Text5"
|
|
214
|
+
}, e)
|
|
215
|
+
}, t));
|
|
216
|
+
}, ae = function(_param) /* @__PURE__ */ {
|
|
217
|
+
var e = _param.dataAttributes, t = _objectWithoutProperties(_param, [
|
|
218
|
+
"dataAttributes"
|
|
219
|
+
]);
|
|
220
|
+
return o(n, _objectSpread({
|
|
167
221
|
mobileSize: 18,
|
|
168
222
|
mobileLineHeight: "24px",
|
|
169
223
|
desktopSize: 20,
|
|
170
224
|
desktopLineHeight: "28px",
|
|
171
|
-
weight:
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
},
|
|
176
|
-
|
|
225
|
+
weight: l(t),
|
|
226
|
+
dataAttributes: _objectSpread({
|
|
227
|
+
"component-name": "Text4"
|
|
228
|
+
}, e)
|
|
229
|
+
}, t));
|
|
230
|
+
}, pe = function(_param) /* @__PURE__ */ {
|
|
231
|
+
var e = _param.dataAttributes, t = _objectWithoutProperties(_param, [
|
|
232
|
+
"dataAttributes"
|
|
233
|
+
]);
|
|
234
|
+
return o(n, _objectSpread({
|
|
177
235
|
mobileSize: 16,
|
|
178
236
|
desktopSize: 18,
|
|
179
237
|
lineHeight: "24px",
|
|
180
|
-
weight:
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
},
|
|
185
|
-
|
|
238
|
+
weight: l(t),
|
|
239
|
+
dataAttributes: _objectSpread({
|
|
240
|
+
"component-name": "Text3"
|
|
241
|
+
}, e)
|
|
242
|
+
}, t));
|
|
243
|
+
}, le = function(_param) /* @__PURE__ */ {
|
|
244
|
+
var e = _param.dataAttributes, t = _objectWithoutProperties(_param, [
|
|
245
|
+
"dataAttributes"
|
|
246
|
+
]);
|
|
247
|
+
return o(n, _objectSpread({
|
|
186
248
|
mobileSize: 14,
|
|
187
249
|
mobileLineHeight: "20px",
|
|
188
250
|
desktopSize: 16,
|
|
189
251
|
desktopLineHeight: "24px",
|
|
190
|
-
weight:
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
},
|
|
195
|
-
|
|
252
|
+
weight: l(t),
|
|
253
|
+
dataAttributes: _objectSpread({
|
|
254
|
+
"component-name": "Text2"
|
|
255
|
+
}, e)
|
|
256
|
+
}, t));
|
|
257
|
+
}, ge = function(_param) /* @__PURE__ */ {
|
|
258
|
+
var e = _param.dataAttributes, t = _objectWithoutProperties(_param, [
|
|
259
|
+
"dataAttributes"
|
|
260
|
+
]);
|
|
261
|
+
return o(n, _objectSpread({
|
|
196
262
|
mobileSize: 12,
|
|
197
263
|
mobileLineHeight: "16px",
|
|
198
264
|
desktopSize: 14,
|
|
199
265
|
desktopLineHeight: "20px",
|
|
200
|
-
weight:
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
266
|
+
weight: l(t),
|
|
267
|
+
dataAttributes: _objectSpread({
|
|
268
|
+
"component-name": "Text1"
|
|
269
|
+
}, e)
|
|
270
|
+
}, t));
|
|
204
271
|
};
|
|
205
|
-
export {
|
|
272
|
+
export { n as Text, ge as Text1, oe as Text10, le as Text2, pe as Text3, ae as Text4, xe as Text5, me as Text6, se as Text7, re as Text8, ne as Text9, n as default };
|