@telefonica/mistica 16.36.1 → 16.37.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/blau.css +96 -24
- package/css/esimflag.css +93 -21
- package/css/mistica-common.css +9 -4
- package/css/mistica.css +1 -1
- package/css/movistar.css +101 -29
- package/css/o2-new.css +99 -28
- package/css/o2.css +93 -21
- package/css/telefonica.css +96 -24
- package/css/tu.css +96 -24
- package/css/vivo-new.css +96 -24
- package/css/vivo.css +96 -24
- package/dist/accordion.css-mistica.js +10 -10
- package/dist/align.css-mistica.js +1 -1
- package/dist/avatar.css-mistica.js +3 -3
- package/dist/badge.css-mistica.js +2 -2
- package/dist/box.css-mistica.js +13 -13
- package/dist/box.js +5 -5
- package/dist/boxed.css-mistica.js +25 -25
- package/dist/boxed.d.ts +2 -1
- package/dist/boxed.js +10 -9
- package/dist/button-group.css-mistica.js +4 -4
- package/dist/button-group.js +2 -2
- package/dist/button-layout.css-mistica.js +18 -18
- package/dist/button.css-mistica.js +35 -35
- package/dist/callout.css-mistica.js +5 -5
- package/dist/card-cover.d.ts +126 -0
- package/dist/card-cover.js +185 -0
- package/dist/card-data.d.ts +63 -0
- package/dist/card-data.js +171 -0
- package/dist/card-internal.css-mistica.js +78 -0
- package/dist/card-internal.css.d.ts +17 -0
- package/dist/card-internal.d.ts +166 -0
- package/dist/card-internal.js +1063 -0
- package/dist/card-media.d.ts +78 -0
- package/dist/card-media.js +163 -0
- package/dist/card-naked.d.ts +11 -0
- package/dist/card-naked.js +154 -0
- package/dist/carousel.css-mistica.js +25 -25
- package/dist/checkbox.css-mistica.js +9 -9
- package/dist/checkbox.js +2 -2
- package/dist/chip.css-mistica.js +15 -15
- package/dist/circle.css-mistica.js +1 -1
- package/dist/community/advanced-data-card.css-mistica.js +24 -24
- package/dist/community/advanced-data-card.d.ts +1 -1
- package/dist/community/advanced-data-card.js +7 -7
- package/dist/community/blocks.css-mistica.js +3 -3
- package/dist/community/example-component.css-mistica.js +1 -1
- package/dist/counter.css-mistica.js +9 -9
- package/dist/counter.js +8 -8
- package/dist/cover-hero-media.js +9 -9
- package/dist/cover-hero.css-mistica.js +15 -15
- package/dist/credit-card-number-field.css-mistica.js +3 -3
- package/dist/date-field.css-mistica.js +1 -1
- package/dist/date-time-picker.css-mistica.js +1 -1
- package/dist/dialog.css-mistica.js +12 -12
- package/dist/dialog.js +14 -14
- package/dist/divider.css-mistica.js +2 -2
- package/dist/double-field.css-mistica.js +4 -4
- package/dist/drawer.css-mistica.js +2 -2
- package/dist/empty-state-card.css-mistica.js +1 -1
- package/dist/empty-state.css-mistica.js +8 -8
- package/dist/fade-in.css-mistica.js +1 -1
- package/dist/feedback.css-mistica.js +4 -4
- package/dist/fixed-footer-layout.css-mistica.js +10 -10
- package/dist/fixed-footer-layout.js +5 -5
- package/dist/form.css-mistica.js +1 -1
- package/dist/form.js +5 -5
- package/dist/grid-layout.css-mistica.js +5 -5
- package/dist/grid.css-mistica.js +124 -124
- package/dist/header.css-mistica.js +3 -3
- package/dist/hero.css-mistica.js +6 -6
- package/dist/hooks.d.ts +4 -0
- package/dist/hooks.js +94 -83
- package/dist/horizontal-scroll.css-mistica.js +3 -3
- package/dist/horizontal-scroll.js +2 -2
- package/dist/icon-button.css-mistica.js +47 -47
- package/dist/icon-button.js +3 -3
- package/dist/icons/icon-chevron.css-mistica.js +2 -2
- package/dist/icons/icon-error.css-mistica.js +1 -1
- package/dist/image.css-mistica.js +5 -5
- package/dist/image.d.ts +2 -0
- package/dist/image.js +24 -20
- package/dist/index.d.ts +18 -3
- package/dist/index.js +28 -13
- package/dist/inline.css-mistica.js +13 -13
- package/dist/list.css-mistica.js +30 -15
- package/dist/list.css.d.ts +5 -0
- package/dist/list.d.ts +16 -1
- package/dist/list.js +158 -99
- package/dist/loading-bar.css-mistica.js +1 -1
- package/dist/loading-bar.js +2 -2
- package/dist/loading-screen.css-mistica.js +10 -10
- package/dist/loading-screen.js +3 -3
- package/dist/logo.css-mistica.js +6 -6
- package/dist/menu.css-mistica.js +14 -14
- package/dist/menu.js +7 -7
- package/dist/mosaic.css-mistica.js +2 -2
- package/dist/navigation-bar.css-mistica.js +32 -32
- package/dist/navigation-breadcrumbs.css-mistica.js +3 -3
- package/dist/package-version.js +1 -1
- package/dist/pin-field.css-mistica.js +9 -9
- package/dist/pin-field.js +2 -2
- package/dist/popover.css-mistica.js +1 -1
- package/dist/progress-bar.css-mistica.js +5 -5
- package/dist/progress-bar.js +2 -2
- package/dist/radio-button.css-mistica.js +18 -18
- package/dist/radio-button.js +5 -5
- package/dist/rating.css-mistica.js +4 -4
- package/dist/rating.js +8 -8
- package/dist/responsive-layout.css-mistica.js +9 -9
- package/dist/responsive-layout.js +6 -6
- package/dist/screen-reader-only.css-mistica.js +1 -1
- package/dist/select.css-mistica.js +18 -18
- package/dist/select.js +9 -9
- package/dist/sheet-action-row.css-mistica.js +1 -1
- package/dist/sheet-common.css-mistica.js +12 -12
- package/dist/sheet-info.css-mistica.js +2 -2
- package/dist/skeletons.css-mistica.js +6 -6
- package/dist/skins/blau.js +50 -14
- package/dist/skins/esimflag.js +49 -13
- package/dist/skins/movistar.js +54 -18
- package/dist/skins/o2-new.js +49 -13
- package/dist/skins/o2.js +49 -13
- package/dist/skins/skin-contract.css-mistica.js +390 -354
- package/dist/skins/skin-contract.css.d.ts +48 -12
- package/dist/skins/telefonica.js +50 -14
- package/dist/skins/tu.js +50 -14
- package/dist/skins/types/colors.d.ts +24 -6
- package/dist/skins/vivo-new.js +50 -14
- package/dist/skins/vivo.js +50 -14
- package/dist/skip-link.css-mistica.js +2 -2
- package/dist/slider.css-mistica.js +13 -13
- package/dist/slider.js +9 -9
- package/dist/snackbar.css-mistica.js +7 -7
- package/dist/spinner.css-mistica.js +1 -1
- package/dist/stack.css-mistica.js +7 -7
- package/dist/stacking-group.css-mistica.js +1 -1
- package/dist/stepper.css-mistica.js +8 -8
- package/dist/stepper.js +3 -3
- package/dist/switch-component.css-mistica.js +37 -37
- package/dist/table.css-mistica.js +8 -8
- package/dist/table.d.ts +1 -1
- package/dist/table.js +8 -8
- package/dist/tabs.css-mistica.js +17 -17
- package/dist/tag.css-mistica.js +1 -1
- package/dist/tag.js +10 -10
- package/dist/text-field-base.css-mistica.js +10 -10
- package/dist/text-field-base.js +8 -8
- package/dist/text-field-components.css-mistica.js +18 -18
- package/dist/text-field-components.js +2 -2
- package/dist/text-link.css-mistica.js +5 -5
- package/dist/text.css-mistica.js +9 -9
- package/dist/text.js +7 -7
- package/dist/theme-context.css-mistica.js +434 -398
- package/dist/theme-context.css.d.ts +48 -12
- package/dist/timeline.css-mistica.js +12 -12
- package/dist/timer.css-mistica.js +8 -8
- package/dist/tooltip.css-mistica.js +7 -7
- package/dist/touchable.css-mistica.js +1 -1
- package/dist/utils/aspect-ratio-support.css-mistica.js +5 -5
- package/dist/utils/aspect-ratio-support.d.ts +5 -0
- package/dist/utils/aspect-ratio-support.js +26 -15
- package/dist/utils/color.d.ts +11 -0
- package/dist/utils/color.js +27 -6
- package/dist/utils/headings.d.ts +3 -0
- package/dist/video.css-mistica.js +2 -2
- package/dist/video.js +2 -2
- package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +3 -3
- package/dist-es/accordion.css-mistica.js +7 -7
- package/dist-es/align.css-mistica.js +1 -1
- package/dist-es/avatar.css-mistica.js +2 -2
- package/dist-es/badge.css-mistica.js +2 -2
- package/dist-es/box.css-mistica.js +13 -13
- package/dist-es/box.js +9 -9
- package/dist-es/boxed.css-mistica.js +24 -24
- package/dist-es/boxed.js +20 -19
- package/dist-es/button-group.css-mistica.js +2 -2
- package/dist-es/button-group.js +4 -4
- package/dist-es/button-layout.css-mistica.js +15 -15
- package/dist-es/button.css-mistica.js +22 -22
- package/dist-es/callout.css-mistica.js +5 -5
- package/dist-es/callout.js +5 -5
- package/dist-es/card-cover.js +125 -0
- package/dist-es/card-data.js +110 -0
- package/dist-es/card-internal.css-mistica.js +22 -0
- package/dist-es/card-internal.js +992 -0
- package/dist-es/card-media.js +105 -0
- package/dist-es/card-naked.js +96 -0
- package/dist-es/carousel.css-mistica.js +9 -9
- package/dist-es/checkbox.css-mistica.js +8 -8
- package/dist-es/checkbox.js +6 -6
- package/dist-es/chip.css-mistica.js +13 -13
- package/dist-es/circle.css-mistica.js +1 -1
- package/dist-es/community/advanced-data-card.css-mistica.js +7 -7
- package/dist-es/community/advanced-data-card.js +29 -29
- package/dist-es/community/blocks.css-mistica.js +2 -2
- package/dist-es/community/example-component.css-mistica.js +1 -1
- package/dist-es/counter.css-mistica.js +2 -2
- package/dist-es/counter.js +8 -8
- package/dist-es/cover-hero-media.js +9 -9
- package/dist-es/cover-hero.css-mistica.js +4 -4
- package/dist-es/credit-card-number-field.css-mistica.js +3 -3
- package/dist-es/date-field.css-mistica.js +1 -1
- package/dist-es/date-time-picker.css-mistica.js +1 -1
- package/dist-es/dialog.css-mistica.js +5 -5
- package/dist-es/dialog.js +31 -31
- package/dist-es/divider.css-mistica.js +2 -2
- package/dist-es/double-field.css-mistica.js +4 -4
- package/dist-es/drawer.css-mistica.js +2 -2
- package/dist-es/empty-state-card.css-mistica.js +1 -1
- package/dist-es/empty-state.css-mistica.js +6 -6
- package/dist-es/empty-state.js +7 -7
- package/dist-es/fade-in.css-mistica.js +1 -1
- package/dist-es/feedback.css-mistica.js +2 -2
- package/dist-es/fixed-footer-layout.css-mistica.js +5 -5
- package/dist-es/fixed-footer-layout.js +5 -5
- package/dist-es/form.css-mistica.js +1 -1
- package/dist-es/form.js +5 -5
- package/dist-es/grid-layout.css-mistica.js +4 -4
- package/dist-es/grid.css-mistica.js +124 -124
- package/dist-es/grid.js +2 -2
- package/dist-es/header.css-mistica.js +2 -2
- package/dist-es/hero.css-mistica.js +3 -3
- package/dist-es/hooks.js +86 -78
- package/dist-es/horizontal-scroll.css-mistica.js +2 -2
- package/dist-es/horizontal-scroll.js +2 -2
- package/dist-es/icon-button.css-mistica.js +45 -45
- package/dist-es/icon-button.js +3 -3
- package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
- package/dist-es/icons/icon-error.css-mistica.js +1 -1
- package/dist-es/image.css-mistica.js +4 -4
- package/dist-es/image.js +42 -38
- package/dist-es/index.js +1887 -1884
- package/dist-es/inline.css-mistica.js +11 -11
- package/dist-es/list.css-mistica.js +2 -2
- package/dist-es/list.js +226 -174
- package/dist-es/loading-bar.css-mistica.js +1 -1
- package/dist-es/loading-bar.js +6 -6
- package/dist-es/loading-screen.css-mistica.js +5 -5
- package/dist-es/loading-screen.js +8 -8
- package/dist-es/logo.css-mistica.js +6 -6
- package/dist-es/menu.css-mistica.js +13 -13
- package/dist-es/menu.js +7 -7
- package/dist-es/mosaic.css-mistica.js +2 -2
- package/dist-es/navigation-bar.css-mistica.js +17 -17
- package/dist-es/navigation-breadcrumbs.css-mistica.js +2 -2
- package/dist-es/package-version.js +1 -1
- package/dist-es/pin-field.css-mistica.js +2 -2
- package/dist-es/pin-field.js +8 -8
- package/dist-es/popover.css-mistica.js +1 -1
- package/dist-es/progress-bar.css-mistica.js +5 -5
- package/dist-es/progress-bar.js +10 -10
- package/dist-es/radio-button.css-mistica.js +16 -16
- package/dist-es/radio-button.js +5 -5
- package/dist-es/rating.css-mistica.js +3 -3
- package/dist-es/rating.js +12 -12
- package/dist-es/responsive-layout.css-mistica.js +6 -6
- package/dist-es/responsive-layout.js +15 -15
- package/dist-es/screen-reader-only.css-mistica.js +1 -1
- package/dist-es/select.css-mistica.js +17 -17
- package/dist-es/select.js +15 -15
- package/dist-es/sheet-action-row.css-mistica.js +1 -1
- package/dist-es/sheet-common.css-mistica.js +2 -2
- package/dist-es/sheet-info.css-mistica.js +2 -2
- package/dist-es/skeletons.css-mistica.js +5 -5
- package/dist-es/skins/blau.js +50 -14
- package/dist-es/skins/esimflag.js +49 -13
- package/dist-es/skins/movistar.js +54 -18
- package/dist-es/skins/o2-new.js +49 -13
- package/dist-es/skins/o2.js +49 -13
- package/dist-es/skins/skin-contract.css-mistica.js +390 -354
- package/dist-es/skins/telefonica.js +50 -14
- package/dist-es/skins/tu.js +52 -16
- package/dist-es/skins/vivo-new.js +52 -16
- package/dist-es/skins/vivo.js +52 -16
- package/dist-es/skip-link.css-mistica.js +2 -2
- package/dist-es/slider.css-mistica.js +11 -11
- package/dist-es/slider.js +9 -9
- package/dist-es/snackbar.css-mistica.js +5 -5
- package/dist-es/spinner.css-mistica.js +1 -1
- package/dist-es/stack.css-mistica.js +6 -6
- package/dist-es/stacking-group.css-mistica.js +1 -1
- package/dist-es/stepper.css-mistica.js +3 -3
- package/dist-es/stepper.js +3 -3
- package/dist-es/style.css +1 -1
- package/dist-es/switch-component.css-mistica.js +29 -29
- package/dist-es/table.css-mistica.js +8 -8
- package/dist-es/table.js +12 -12
- package/dist-es/tabs.css-mistica.js +14 -14
- package/dist-es/tag.css-mistica.js +1 -1
- package/dist-es/tag.js +17 -17
- package/dist-es/text-field-base.css-mistica.js +2 -2
- package/dist-es/text-field-base.js +16 -16
- package/dist-es/text-field-components.css-mistica.js +5 -5
- package/dist-es/text-field-components.js +4 -4
- package/dist-es/text-link.css-mistica.js +5 -5
- package/dist-es/text.css-mistica.js +8 -8
- package/dist-es/text.js +6 -6
- package/dist-es/theme-context.css-mistica.js +432 -396
- package/dist-es/timeline.css-mistica.js +11 -11
- package/dist-es/timeline.js +4 -4
- package/dist-es/timer.css-mistica.js +7 -7
- package/dist-es/tooltip.css-mistica.js +2 -2
- package/dist-es/touchable.css-mistica.js +1 -1
- package/dist-es/utils/aspect-ratio-support.css-mistica.js +4 -4
- package/dist-es/utils/aspect-ratio-support.js +31 -23
- package/dist-es/utils/color.js +23 -5
- package/dist-es/video.css-mistica.js +2 -2
- package/dist-es/video.js +5 -5
- package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +2 -2
- package/package.json +1 -1
- package/dist/card.css-mistica.js +0 -106
- package/dist/card.css.d.ts +0 -33
- package/dist/card.d.ts +0 -299
- package/dist/card.js +0 -1694
- package/dist/highlighted-card.css-mistica.js +0 -30
- package/dist/highlighted-card.css.d.ts +0 -7
- package/dist/highlighted-card.css.ts.vanilla.css-mistica.js +0 -11
- package/dist/highlighted-card.d.ts +0 -34
- package/dist/highlighted-card.js +0 -253
- package/dist/maybe-dismissable.css-mistica.js +0 -21
- package/dist/maybe-dismissable.css.ts.vanilla.css-mistica.js +0 -11
- package/dist/maybe-dismissable.js +0 -108
- package/dist-es/card.css-mistica.js +0 -8
- package/dist-es/card.js +0 -1599
- package/dist-es/highlighted-card.css-mistica.js +0 -7
- package/dist-es/highlighted-card.css.ts.vanilla.css-mistica.js +0 -2
- package/dist-es/highlighted-card.js +0 -198
- package/dist-es/maybe-dismissable.css-mistica.js +0 -4
- package/dist-es/maybe-dismissable.css.ts.vanilla.css-mistica.js +0 -2
- package/dist-es/maybe-dismissable.js +0 -45
- /package/dist/{card.css.ts.vanilla.css-mistica.js → card-internal.css.ts.vanilla.css-mistica.js} +0 -0
- /package/dist-es/{card.css.ts.vanilla.css-mistica.js → card-internal.css.ts.vanilla.css-mistica.js} +0 -0
package/dist-es/rating.js
CHANGED
|
@@ -78,7 +78,7 @@ import fo from "./generated/mistica-icons/icon-face-happy-regular.js";
|
|
|
78
78
|
import go from "./generated/mistica-icons/icon-face-super-happy-filled.js";
|
|
79
79
|
import bo from "./generated/mistica-icons/icon-face-super-happy-regular.js";
|
|
80
80
|
import { useTheme as ho } from "./hooks.js";
|
|
81
|
-
import { ratingVeryBadLabel as Ao, ratingBadLabel as Fo, ratingRegularLabel as Ro, ratingGoodLabel as
|
|
81
|
+
import { ratingVeryBadLabel as Ao, ratingBadLabel as Fo, ratingRegularLabel as Ro, ratingGoodLabel as So, ratingVeryGoodLabel as Lo, ratingQuantitativeLabel as No } from "./text-tokens.js";
|
|
82
82
|
const To = 32, _o = 16, yo = 5, Eo = {
|
|
83
83
|
ActiveIcon: q,
|
|
84
84
|
InactiveIcon: D,
|
|
@@ -125,23 +125,23 @@ const To = 32, _o = 16, yo = 5, Eo = {
|
|
|
125
125
|
R
|
|
126
126
|
];
|
|
127
127
|
}, H = (param)=>{
|
|
128
|
-
let { icons: i = V, count: e = yo, icon: I = Eo, size: a = To, type: n = "quantitative", dataAttributes: p, onChangeValue: A, defaultValue: F, value: R, disabled: l, role:
|
|
128
|
+
let { icons: i = V, count: e = yo, icon: I = Eo, size: a = To, type: n = "quantitative", dataAttributes: p, onChangeValue: A, defaultValue: F, value: R, disabled: l, role: S, valueLabels: O, withHalfValue: Q, "aria-label": f, "aria-labelledby": L } = param;
|
|
129
129
|
const { texts: v, t: u } = ho(), $ = [
|
|
130
130
|
v.ratingVeryBadLabel || u(Ao),
|
|
131
131
|
v.ratingBadLabel || u(Fo),
|
|
132
132
|
v.ratingRegularLabel || u(Ro),
|
|
133
|
-
v.ratingGoodLabel || u(
|
|
134
|
-
v.ratingVeryGoodLabel || u(
|
|
133
|
+
v.ratingGoodLabel || u(So),
|
|
134
|
+
v.ratingVeryGoodLabel || u(Lo)
|
|
135
135
|
], B = Array.from({
|
|
136
136
|
length: e
|
|
137
|
-
}, (o, t)=>(v.ratingQuantitativeLabel || u(
|
|
137
|
+
}, (o, t)=>(v.ratingQuantitativeLabel || u(No)).replace("1$s", String(t + 1)).replace("2$s", String(e))), m = n === "qualitative" ? i : Array.from({
|
|
138
138
|
length: e
|
|
139
|
-
}, ()=>I), g = O !== null && O !== void 0 ? O : n === "qualitative" && no(m, V) ? $ : B, b =
|
|
139
|
+
}, ()=>I), g = O !== null && O !== void 0 ? O : n === "qualitative" && no(m, V) ? $ : B, b = S === "radiogroup", _ = b ? 16 : a <= 16 ? 2 : a <= 24 ? 4 : 8, y = P(), [N, E] = T.useState(void 0), C = eo(), [s, M] = Go({
|
|
140
140
|
value: R,
|
|
141
141
|
defaultValue: F,
|
|
142
142
|
iconsCount: m.length,
|
|
143
143
|
onChangeValue: A
|
|
144
|
-
}), j = (o)=>
|
|
144
|
+
}), j = (o)=>N !== void 0 && !l ? n === "qualitative" && o === N || n === "quantitative" && o <= N ? "active" : "inactive" : n === "qualitative" ? o === s ? "active" : "inactive" : b ? o <= s ? "active" : "inactive" : Q ? o - 0.75 <= s && s < o - 0.25 ? "half" : o - 0.25 <= s ? "active" : "inactive" : o - 0.5 < s ? "active" : "inactive", w = (o, t)=>{
|
|
145
145
|
const d = y === "inverse" ? c.colors.inverse : m[t].color, h = y === "inverse" ? c.colors.inverse : b ? c.colors.control : m[0].color;
|
|
146
146
|
switch(j(t + 1)){
|
|
147
147
|
case "active":
|
|
@@ -207,17 +207,17 @@ const To = 32, _o = 16, yo = 5, Eo = {
|
|
|
207
207
|
}
|
|
208
208
|
}, t) : d;
|
|
209
209
|
};
|
|
210
|
-
return
|
|
210
|
+
return S === "img" ? /* @__PURE__ */ r(U, {
|
|
211
211
|
space: _,
|
|
212
212
|
dataAttributes: p,
|
|
213
|
-
role:
|
|
214
|
-
"aria-label": f !== null && f !== void 0 ? f :
|
|
215
|
-
"aria-labelledby": f ? void 0 :
|
|
213
|
+
role: S,
|
|
214
|
+
"aria-label": f !== null && f !== void 0 ? f : L ? void 0 : `${s} de ${e}`,
|
|
215
|
+
"aria-labelledby": f ? void 0 : L,
|
|
216
216
|
children: m.map(G)
|
|
217
217
|
}) : /* @__PURE__ */ r(io, {
|
|
218
218
|
name: "info-rating",
|
|
219
219
|
"aria-label": f,
|
|
220
|
-
"aria-labelledby": f ? void 0 :
|
|
220
|
+
"aria-labelledby": f ? void 0 : L,
|
|
221
221
|
disabled: l,
|
|
222
222
|
onChange: (o)=>{
|
|
223
223
|
M(g.findIndex((t)=>t === o) + 1);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./sprinkles.css.ts.vanilla.css-mistica.js";
|
|
2
2
|
import "./responsive-layout.css.ts.vanilla.css-mistica.js";
|
|
3
|
-
var
|
|
4
|
-
inverse: "
|
|
5
|
-
media: "
|
|
6
|
-
alternative: "
|
|
7
|
-
}, a = "
|
|
8
|
-
export {
|
|
3
|
+
var e = 16, o = 32, _ = {
|
|
4
|
+
inverse: "v16_37_1y2v1nf53",
|
|
5
|
+
media: "v16_37_1y2v1nf9k",
|
|
6
|
+
alternative: "v16_37_1y2v1nf58"
|
|
7
|
+
}, a = "v16_37_17lofg77", n = "v16_37_17lofg78", t = "v16_37_17lofg7a", i = "v16_37_17lofg7g v16_37_1y2v1nfkf", f = "v16_37_17lofg79", l = "v16_37_17lofg73", g = "v16_37_17lofg72", s = "v16_37_17lofg75", p = "v16_37_17lofg74", M = "v16_37_17lofg7e", k = "v16_37_17lofg76";
|
|
8
|
+
export { e as MOBILE_SIDE_MARGIN, o as TABLET_SIDE_MARGIN, _ as backgroundVariant, a as desktopContainer, n as forcedMarginDesktopContainer, t as forcedMarginMobileContainer, i as fullWidth, f as mobileContainer, l as resetContainerDesktop, g as resetContainerMobile, s as resetDesktop, p as resetMobile, M as responsiveLayout, k as responsiveLayoutContainer };
|
|
@@ -79,27 +79,27 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
79
79
|
return target;
|
|
80
80
|
}
|
|
81
81
|
import { jsx as t } from "react/jsx-runtime";
|
|
82
|
-
import
|
|
82
|
+
import o from "classnames";
|
|
83
83
|
import { getPrefixedDataAttributes as f } from "./utils/dom.js";
|
|
84
|
-
import { backgroundVariant as v, desktopContainer as p, forcedMarginDesktopContainer as y, mobileContainer as h, forcedMarginMobileContainer as C, responsiveLayoutContainer as L, fullWidth as b, responsiveLayout as
|
|
84
|
+
import { backgroundVariant as v, desktopContainer as p, forcedMarginDesktopContainer as y, mobileContainer as h, forcedMarginMobileContainer as C, responsiveLayoutContainer as L, fullWidth as b, responsiveLayout as R, resetContainerMobile as V, resetContainerDesktop as g, resetMobile as M, resetDesktop as N } from "./responsive-layout.css-mistica.js";
|
|
85
85
|
import { useThemeVariant as x, ThemeVariant as D } from "./theme-variant-context.js";
|
|
86
86
|
const k = (param)=>{
|
|
87
|
-
let { children: a, isInverse: e = !1, variant: r, backgroundColor:
|
|
88
|
-
const u = x(),
|
|
87
|
+
let { children: a, isInverse: e = !1, variant: r, backgroundColor: s, className: d, fullWidth: i, dataAttributes: m, shouldExpandWhenNested: l = !1, innerDivClassName: c } = param;
|
|
88
|
+
const u = x(), n = r || e && "inverse" || void 0;
|
|
89
89
|
return /* @__PURE__ */ t(D, {
|
|
90
|
-
variant:
|
|
90
|
+
variant: n !== null && n !== void 0 ? n : u,
|
|
91
91
|
children: /* @__PURE__ */ t("div", _object_spread_props(_object_spread({
|
|
92
|
-
className:
|
|
92
|
+
className: o(d, n && n !== "default" && v[n], ...i ? [] : [
|
|
93
93
|
l ? p : y,
|
|
94
94
|
l === !0 ? h : C,
|
|
95
95
|
L
|
|
96
96
|
]),
|
|
97
|
-
style:
|
|
98
|
-
background:
|
|
97
|
+
style: s ? {
|
|
98
|
+
background: s
|
|
99
99
|
} : void 0
|
|
100
100
|
}, f(m)), {
|
|
101
101
|
children: /* @__PURE__ */ t("div", {
|
|
102
|
-
className:
|
|
102
|
+
className: o(i ? b : R, c),
|
|
103
103
|
children: a
|
|
104
104
|
})
|
|
105
105
|
}))
|
|
@@ -115,14 +115,14 @@ const k = (param)=>{
|
|
|
115
115
|
}, q = (param)=>{
|
|
116
116
|
let { children: a, skipMobile: e = !1, skipDesktop: r = !1 } = param;
|
|
117
117
|
return /* @__PURE__ */ t("div", {
|
|
118
|
-
className:
|
|
119
|
-
[
|
|
120
|
-
[
|
|
118
|
+
className: o({
|
|
119
|
+
[V]: !e,
|
|
120
|
+
[g]: !r
|
|
121
121
|
}),
|
|
122
122
|
children: /* @__PURE__ */ t("div", {
|
|
123
|
-
className:
|
|
124
|
-
[
|
|
125
|
-
[
|
|
123
|
+
className: o({
|
|
124
|
+
[M]: !e,
|
|
125
|
+
[N]: !r
|
|
126
126
|
}),
|
|
127
127
|
children: a
|
|
128
128
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./sprinkles.css.ts.vanilla.css-mistica.js";
|
|
2
2
|
import "./screen-reader-only.css.ts.vanilla.css-mistica.js";
|
|
3
|
-
var n = "
|
|
3
|
+
var n = "v16_37_gwdgwo1 v16_37_1y2v1nf9l v16_37_1y2v1nfau v16_37_1y2v1nfc3 v16_37_1y2v1nfdc v16_37_1y2v1nfjn v16_37_1y2v1nfmu v16_37_1y2v1nfma";
|
|
4
4
|
export { n as screenReaderOnly };
|
|
@@ -2,23 +2,23 @@ import "./sprinkles.css.ts.vanilla.css-mistica.js";
|
|
|
2
2
|
import "./icon-button.css.ts.vanilla.css-mistica.js";
|
|
3
3
|
import "./text-field-base.css.ts.vanilla.css-mistica.js";
|
|
4
4
|
import "./select.css.ts.vanilla.css-mistica.js";
|
|
5
|
-
var
|
|
6
|
-
show: "
|
|
7
|
-
hide: "
|
|
8
|
-
}, t = "
|
|
9
|
-
default: "
|
|
10
|
-
fullWidth: "
|
|
11
|
-
},
|
|
12
|
-
default: "
|
|
13
|
-
disabled: "
|
|
5
|
+
var i = "v16_37_1sqpivvo v16_37_1y2v1nfjn", y = "v16_37_1sqpivvp", a = "v16_37_1sqpivvr v16_37_1y2v1nfci v16_37_1y2v1nfdr v16_37_1y2v1nf9u v16_37_1y2v1nfb3 v16_37_1y2v1nf2n v16_37_1y2v1nfjs v16_37_1y2v1nfk7 v16_37_1y2v1nfmt", s = "v16_37_1y2v1nf58", r = {
|
|
6
|
+
show: "v16_37_1sqpivv7",
|
|
7
|
+
hide: "v16_37_1sqpivv8"
|
|
8
|
+
}, t = "v16_37_1sqpivv6 v16_37_1y2v1nf9l v16_37_1y2v1nfau v16_37_1y2v1nfc3 v16_37_1y2v1nfdc v16_37_1y2v1nfjo v16_37_1y2v1nfmj v16_37_1y2v1nf4u", p = {
|
|
9
|
+
default: "v16_37_1sqpivvd v16_37_1sqpivvc v16_37_1y2v1nfjm v16_37_1y2v1nfmt",
|
|
10
|
+
fullWidth: "v16_37_1sqpivve v16_37_1sqpivvc v16_37_1y2v1nfjm v16_37_1y2v1nfmt"
|
|
11
|
+
}, m = {
|
|
12
|
+
default: "v16_37_1sqpivvl v16_37_1sqpivvk v16_37_1y2v1nfjn v16_37_1y2v1nfmu v16_37_1y2v1nfm7 v16_37_1y2v1nf2n",
|
|
13
|
+
disabled: "v16_37_1sqpivvm v16_37_1sqpivvk v16_37_1y2v1nfjn v16_37_1y2v1nfmu v16_37_1y2v1nfm7 v16_37_1y2v1nf2n"
|
|
14
14
|
}, e = {
|
|
15
|
-
default: "
|
|
16
|
-
disabled: "
|
|
15
|
+
default: "v16_37_1sqpivvh v16_37_1sqpivvg v16_37_1y2v1nf9l v16_37_1y2v1nfau v16_37_1y2v1nfma v16_37_1y2v1nfmu v16_37_1y2v1nf2n v16_37_1y2v1nf9k v16_37_1y2v1nfkf v16_37_1y2v1nfmj",
|
|
16
|
+
disabled: "v16_37_1sqpivvi v16_37_1sqpivvg v16_37_1y2v1nf9l v16_37_1y2v1nfau v16_37_1y2v1nfma v16_37_1y2v1nfmu v16_37_1y2v1nf2n v16_37_1y2v1nf9k v16_37_1y2v1nfkf v16_37_1y2v1nfmj"
|
|
17
17
|
}, q = {
|
|
18
|
-
top: "var(--
|
|
19
|
-
left: "var(--
|
|
20
|
-
transformOrigin: "var(--
|
|
21
|
-
minWidth: "var(--
|
|
22
|
-
maxHeight: "var(--
|
|
18
|
+
top: "var(--v16_37_1sqpivv0)",
|
|
19
|
+
left: "var(--v16_37_1sqpivv1)",
|
|
20
|
+
transformOrigin: "var(--v16_37_1sqpivv2)",
|
|
21
|
+
minWidth: "var(--v16_37_1sqpivv3)",
|
|
22
|
+
maxHeight: "var(--v16_37_1sqpivv4)"
|
|
23
23
|
};
|
|
24
|
-
export {
|
|
24
|
+
export { i as arrowDown, y as iconContainer, a as menuItem, s as menuItemSelected, r as optionsAnimationsVariants, t as optionsContainer, p as selectContainerVariants, m as selectTextVariants, e as selectVariants, q as vars };
|
package/dist-es/select.js
CHANGED
|
@@ -64,7 +64,7 @@ import je from "./overlay.js";
|
|
|
64
64
|
import { isAndroid as Ke, isIos as Ue } from "./utils/platform.js";
|
|
65
65
|
import { cancelEvent as m } from "./utils/dom.js";
|
|
66
66
|
import { Text3 as Xe } from "./text.js";
|
|
67
|
-
import { selectVariants as Je, arrowDown as Qe, iconContainer as ce, selectContainerVariants as Ye, selectTextVariants as et, vars as
|
|
67
|
+
import { selectVariants as Je, arrowDown as Qe, iconContainer as ce, selectContainerVariants as Ye, selectTextVariants as et, vars as N, optionsContainer as tt, optionsAnimationsVariants as ae, menuItem as nt, menuItemSelected as rt } from "./select.css-mistica.js";
|
|
68
68
|
import { inputWithLabel as le, inputWithoutLabel as ue } from "./text-field-base.css-mistica.js";
|
|
69
69
|
import { Portal as ot } from "./portal.js";
|
|
70
70
|
import { pxToRem as st, applyCssVars as it } from "./utils/css.js";
|
|
@@ -73,8 +73,8 @@ import { vars as de } from "./skins/skin-contract.css-mistica.js";
|
|
|
73
73
|
const at = (param)=>{
|
|
74
74
|
let { id: fe, label: u, helperText: pe, value: me, defaultValue: he, onChangeValue: C, name: i, fullWidth: M, options: d, optional: P, showOptionalLabel: Se, disabled: ve, error: ge, onBlur: D, autoFocus: z = !1, native: Te, dataAttributes: j } = param;
|
|
75
75
|
var re;
|
|
76
|
-
const h = n.useRef(null), f = n.useRef(null), S = n.useRef(null), v = n.useRef(null), R = n.useRef(/* @__PURE__ */ new Map()), [Ie, we] = n.useState(!0), [g, Ee] = n.useState(he), [H, K] = n.useState(!1), [U, X] = n.useState(!1), [J, O] = n.useState(!1), [a, F] = n.useState({}), [T, W] = n.useState(), G = n.useRef(null), xe = n.useId(), L = fe || xe, { rawValues: Oe, setRawValue: Z, setValue: $, formStatus: ye, formErrors: Q, setFormError:
|
|
77
|
-
C == null || C(e),
|
|
76
|
+
const h = n.useRef(null), f = n.useRef(null), S = n.useRef(null), v = n.useRef(null), R = n.useRef(/* @__PURE__ */ new Map()), [Ie, we] = n.useState(!0), [g, Ee] = n.useState(he), [H, K] = n.useState(!1), [U, X] = n.useState(!1), [J, O] = n.useState(!1), [a, F] = n.useState({}), [T, W] = n.useState(), G = n.useRef(null), xe = n.useId(), L = fe || xe, { rawValues: Oe, setRawValue: Z, setValue: $, formStatus: ye, formErrors: Q, setFormError: be, register: B } = He(), { platformOverrides: Y } = Fe(), Ne = Te || process.env.NODE_ENV === "test" && !process.env.SSR_TEST || Ke(Y) || Ue(Y), I = ve || ye === "sending", A = ge || !!Q[i], ee = Q[i] || pe, l = me !== null && me !== void 0 ? me : Oe[i], te = (e)=>{
|
|
77
|
+
C == null || C(e), be({
|
|
78
78
|
name: i,
|
|
79
79
|
error: ""
|
|
80
80
|
}), Z({
|
|
@@ -87,9 +87,9 @@ const at = (param)=>{
|
|
|
87
87
|
}, w = (e)=>{
|
|
88
88
|
if (e) {
|
|
89
89
|
if (S != null && S.current) {
|
|
90
|
-
const s = S.current.getBoundingClientRect(), p = s.top, x = s.width, y = s.left, Ce = s.height,
|
|
91
|
-
if (
|
|
92
|
-
const Me = window.innerHeight -
|
|
90
|
+
const s = S.current.getBoundingClientRect(), p = s.top, x = s.width, y = s.left, Ce = s.height, b = p + Ce, V = Math.min(d.length, 8) * 48 + 16;
|
|
91
|
+
if (b + V + 12 > window.innerHeight) {
|
|
92
|
+
const Me = window.innerHeight - b;
|
|
93
93
|
if (p > Me) {
|
|
94
94
|
const Pe = p - V;
|
|
95
95
|
F({
|
|
@@ -101,14 +101,14 @@ const at = (param)=>{
|
|
|
101
101
|
});
|
|
102
102
|
} else F({
|
|
103
103
|
minWidth: x,
|
|
104
|
-
top:
|
|
104
|
+
top: b,
|
|
105
105
|
left: y,
|
|
106
|
-
maxHeight: window.innerHeight -
|
|
106
|
+
maxHeight: window.innerHeight - b - 12,
|
|
107
107
|
transformOrigin: "center top"
|
|
108
108
|
});
|
|
109
109
|
} else F({
|
|
110
110
|
minWidth: x,
|
|
111
|
-
top:
|
|
111
|
+
top: b,
|
|
112
112
|
left: y,
|
|
113
113
|
maxHeight: V,
|
|
114
114
|
transformOrigin: "center top"
|
|
@@ -228,7 +228,7 @@ const at = (param)=>{
|
|
|
228
228
|
var _a_transformOrigin;
|
|
229
229
|
return /* @__PURE__ */ r(ct, {
|
|
230
230
|
variant: "default",
|
|
231
|
-
children:
|
|
231
|
+
children: Ne || Ie ? /* @__PURE__ */ _($e, {
|
|
232
232
|
disabled: I,
|
|
233
233
|
helperText: /* @__PURE__ */ r(Be, {
|
|
234
234
|
error: A,
|
|
@@ -372,11 +372,11 @@ const at = (param)=>{
|
|
|
372
372
|
children: /* @__PURE__ */ r(ot, {
|
|
373
373
|
children: /* @__PURE__ */ r("ul", {
|
|
374
374
|
style: it({
|
|
375
|
-
[
|
|
376
|
-
[
|
|
377
|
-
[
|
|
378
|
-
[
|
|
379
|
-
[
|
|
375
|
+
[N.top]: a.top ? `${a.top}px` : "",
|
|
376
|
+
[N.left]: a.left ? `${a.left}px` : "",
|
|
377
|
+
[N.maxHeight]: a.maxHeight ? `${a.maxHeight}px` : "",
|
|
378
|
+
[N.minWidth]: a.minWidth ? `${a.minWidth}px` : "",
|
|
379
|
+
[N.transformOrigin]: (_a_transformOrigin = a.transformOrigin) !== null && _a_transformOrigin !== void 0 ? _a_transformOrigin : ""
|
|
380
380
|
}),
|
|
381
381
|
onPointerDown: m,
|
|
382
382
|
className: k(tt, U ? ae.show : ae.hide),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./sprinkles.css.ts.vanilla.css-mistica.js";
|
|
2
2
|
import "./sheet-action-row.css.ts.vanilla.css-mistica.js";
|
|
3
|
-
var n = "
|
|
3
|
+
var n = "v16_37_4k81wx1 v16_37_1y2v1nfa0 v16_37_1y2v1nfb9 v16_37_1y2v1nfci v16_37_1y2v1nfdr v16_37_1y2v1nfjs v16_37_1y2v1nfm5 v16_37_1y2v1nfk7";
|
|
4
4
|
export { n as sheetActionRow };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./sprinkles.css.ts.vanilla.css-mistica.js";
|
|
2
2
|
import "./sheet-common.css.ts.vanilla.css-mistica.js";
|
|
3
|
-
var n = "
|
|
4
|
-
export { n as Sheet, f as SheetContainer, y as SheetContent, e as bodyContent,
|
|
3
|
+
var n = "v16_37_pidemf6 v16_37_1y2v1nf4t", f = "v16_37_pidemf4 v16_37_1y2v1nfjo v16_37_1y2v1nfnf v16_37_1y2v1nfnu v16_37_1y2v1nfo9", y = "v16_37_pidemf9 v16_37_1y2v1nfa9 v16_37_1y2v1nfjs v16_37_1y2v1nfjy", e = "v16_37_pidemfu", a = "v16_37_1y2v1nfmz v16_37_1y2v1nfke v16_37_1y2v1nfjs v16_37_1y2v1nfjy", r = "v16_37_pidemfp", t = "v16_37_pidemf7", o = "v16_37_1y2v1nf6f v16_37_1y2v1nfkf v16_37_1y2v1nfkw v16_37_1y2v1nfmd", i = "v16_37_pidemfe v16_37_1y2v1nfjr", d = "v16_37_1y2v1nfko v16_37_1y2v1nfkz", m = "v16_37_pidemfj v16_37_1y2v1nfa6 v16_37_1y2v1nfbf v16_37_1y2v1nfco v16_37_1y2v1nfdx v16_37_1y2v1nfjn v16_37_1y2v1nfn0 v16_37_1y2v1nfnu", p = "v16_37_pidemfo v16_37_1y2v1nfjo v16_37_1y2v1nf55 v16_37_1y2v1nfn0 v16_37_1y2v1nfnf v16_37_1y2v1nfnu v16_37_1y2v1nfo9", j = "v16_37_pidemfc v16_37_1y2v1nf9u v16_37_1y2v1nfb3 v16_37_1y2v1nfjn v16_37_1y2v1nfn0 v16_37_1y2v1nfl9 v16_37_1y2v1nfkf v16_37_1y2v1nfjs v16_37_1y2v1nfk1", l = "v16_37_pidemft v16_37_1y2v1nfjq v16_37_1y2v1nfo9 v16_37_1y2v1nf4t", s = "v16_37_pidemfr v16_37_1y2v1nfjq v16_37_1y2v1nfn0 v16_37_1y2v1nf4t", h = 400;
|
|
4
|
+
export { n as Sheet, f as SheetContainer, y as SheetContent, e as bodyContent, a as children, r as closingOverlay, t as closingSheet, o as handleBar, i as handleContainer, d as handleTouchable, m as modalCloseButton, p as overlay, j as sheetTopDraggingArea, l as stickyButtons, s as stickyTitle, h as transitionDuration };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "./sprinkles.css.ts.vanilla.css-mistica.js";
|
|
2
|
-
var
|
|
3
|
-
export {
|
|
2
|
+
var _ = "v16_37_1y2v1nfjs v16_37_1y2v1nfk7 v16_37_1y2v1nfl4", n = "v16_37_1y2v1nfkw v16_37_1y2v1nfjs", f = "v16_37_1y2v1nfa0 v16_37_1y2v1nfb9 v16_37_1y2v1nfjs v16_37_1y2v1nfk7 v16_37_1y2v1nfm5";
|
|
3
|
+
export { _ as infoItemIcon, n as infoItemIconContainer, f as itemContainer };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./sprinkles.css.ts.vanilla.css-mistica.js";
|
|
2
2
|
import "./skeletons.css.ts.vanilla.css-mistica.js";
|
|
3
|
-
var n = "
|
|
4
|
-
default: "
|
|
5
|
-
inverse: "
|
|
6
|
-
}, a = "
|
|
7
|
-
export { n as animation, r as background, a as circle,
|
|
3
|
+
var n = "v16_37_zopolw6 v16_37_1y2v1nfju", r = {
|
|
4
|
+
default: "v16_37_1y2v1nf56",
|
|
5
|
+
inverse: "v16_37_1y2v1nf57"
|
|
6
|
+
}, a = "v16_37_1y2v1nfka v16_37_1y2v1nfkc", f = "v16_37_zopolwa v16_37_1y2v1nfkb", o = "v16_37_1y2v1nfjs v16_37_1y2v1nfk7 v16_37_1y2v1nfk1";
|
|
7
|
+
export { n as animation, r as background, a as circle, f as line, o as row };
|
package/dist-es/skins/blau.js
CHANGED
|
@@ -75,34 +75,51 @@ const e = {
|
|
|
75
75
|
buttonDangerBackground: e.blauRed,
|
|
76
76
|
buttonDangerBackgroundPressed: e.blauRed70,
|
|
77
77
|
buttonDangerBackgroundHover: e.blauRed70,
|
|
78
|
-
buttonLinkDangerBackgroundPressed: e.blauRed10,
|
|
79
78
|
buttonLinkDangerBackgroundInverse: e.white,
|
|
79
|
+
buttonLinkDangerBackgroundMedia: e.white,
|
|
80
|
+
buttonLinkDangerBackgroundPressed: e.blauRed10,
|
|
80
81
|
buttonLinkDangerBackgroundInversePressed: e.blauRed10,
|
|
82
|
+
buttonLinkDangerBackgroundMediaPressed: e.blauRed10,
|
|
81
83
|
buttonLinkBackgroundPressed: e.blauPurple10,
|
|
82
84
|
buttonLinkBackgroundInversePressed: r(e.white, 0.15),
|
|
85
|
+
buttonLinkBackgroundMediaPressed: r(e.white, 0.15),
|
|
83
86
|
buttonPrimaryBackground: e.blauBlueSecondary,
|
|
84
87
|
buttonPrimaryBackgroundInverse: e.white,
|
|
85
|
-
|
|
88
|
+
buttonPrimaryBackgroundMedia: e.white,
|
|
86
89
|
buttonPrimaryBackgroundHover: e.blauBlueSecondary60,
|
|
90
|
+
buttonPrimaryBackgroundInverseHover: e.blauBluePrimary20,
|
|
91
|
+
buttonPrimaryBackgroundMediaHover: e.blauBluePrimary20,
|
|
92
|
+
buttonPrimaryBackgroundPressed: e.blauBlueSecondary60,
|
|
87
93
|
buttonPrimaryBackgroundInversePressed: e.blauBluePrimary30,
|
|
94
|
+
buttonPrimaryBackgroundMediaPressed: e.blauBluePrimary30,
|
|
88
95
|
buttonSecondaryBorder: e.blauBlueSecondary,
|
|
89
|
-
buttonSecondaryBorderPressed: e.blauBlueSecondary60,
|
|
90
96
|
buttonSecondaryBorderInverse: e.white,
|
|
91
|
-
|
|
92
|
-
|
|
97
|
+
buttonSecondaryBorderMedia: e.white,
|
|
98
|
+
buttonSecondaryBorderPressed: e.blauBlueSecondary60,
|
|
93
99
|
buttonSecondaryBorderInversePressed: e.white,
|
|
100
|
+
buttonSecondaryBorderMediaPressed: e.white,
|
|
101
|
+
buttonSecondaryBackgroundHover: e.blauBlueSecondary10,
|
|
94
102
|
buttonSecondaryBackgroundInverseHover: r(e.white, 0.2),
|
|
103
|
+
buttonSecondaryBackgroundMediaHover: r(e.white, 0.2),
|
|
104
|
+
buttonSecondaryBackgroundPressed: e.blauBlueSecondary10,
|
|
95
105
|
buttonSecondaryBackgroundInversePressed: r(e.white, 0.2),
|
|
106
|
+
buttonSecondaryBackgroundMediaPressed: r(e.white, 0.2),
|
|
96
107
|
textButtonPrimary: e.white,
|
|
97
108
|
textButtonPrimaryInverse: e.blauBlueSecondary,
|
|
109
|
+
textButtonPrimaryMedia: e.blauBlueSecondary,
|
|
98
110
|
textButtonPrimaryInversePressed: e.blauBlueSecondary60,
|
|
111
|
+
textButtonPrimaryMediaPressed: e.blauBlueSecondary60,
|
|
99
112
|
textButtonSecondary: e.blauBlueSecondary,
|
|
100
|
-
textButtonSecondaryPressed: e.blauBlueSecondary60,
|
|
101
113
|
textButtonSecondaryInverse: e.white,
|
|
114
|
+
textButtonSecondaryMedia: e.white,
|
|
115
|
+
textButtonSecondaryPressed: e.blauBlueSecondary60,
|
|
102
116
|
textButtonSecondaryInversePressed: e.white,
|
|
117
|
+
textButtonSecondaryMediaPressed: e.white,
|
|
103
118
|
textLink: e.blauPurple,
|
|
104
119
|
textLinkInverse: e.white,
|
|
120
|
+
textLinkMedia: e.white,
|
|
105
121
|
textLinkDanger: e.blauRed,
|
|
122
|
+
textLinkDangerMedia: e.blauRed,
|
|
106
123
|
textLinkSnackbar: e.blauPurple30,
|
|
107
124
|
textActivated: e.blauBlueSecondary,
|
|
108
125
|
textBrand: e.blauBlueSecondary,
|
|
@@ -194,7 +211,8 @@ const e = {
|
|
|
194
211
|
tagBackgroundSuccessInverse: e.blauGreen10,
|
|
195
212
|
tagBackgroundWarningInverse: e.blauYellow10,
|
|
196
213
|
tagBackgroundErrorInverse: e.blauRed10,
|
|
197
|
-
cardContentOverlay: `linear-gradient(180deg, ${r(e.grey6, 0)} 0%, ${r(e.grey6, 0.4)} 30%, ${r(e.grey6, 0.7)} 100%)
|
|
214
|
+
cardContentOverlay: `linear-gradient(180deg, ${r(e.grey6, 0)} 0%, ${r(e.grey6, 0.4)} 30%, ${r(e.grey6, 0.7)} 100%)`,
|
|
215
|
+
cardFooterOverlay: r(e.grey6, 0.7)
|
|
198
216
|
},
|
|
199
217
|
darkModeColors: {
|
|
200
218
|
background: e.darkModeBlack,
|
|
@@ -229,34 +247,51 @@ const e = {
|
|
|
229
247
|
buttonDangerBackground: e.blauRed,
|
|
230
248
|
buttonDangerBackgroundPressed: e.blauRed70,
|
|
231
249
|
buttonDangerBackgroundHover: e.blauRed70,
|
|
232
|
-
buttonLinkDangerBackgroundPressed: r(e.blauRed, 0.3),
|
|
233
250
|
buttonLinkDangerBackgroundInverse: r(e.white, 0),
|
|
251
|
+
buttonLinkDangerBackgroundMedia: e.white,
|
|
252
|
+
buttonLinkDangerBackgroundPressed: r(e.blauRed, 0.3),
|
|
234
253
|
buttonLinkDangerBackgroundInversePressed: r(e.blauPurple, 0.3),
|
|
254
|
+
buttonLinkDangerBackgroundMediaPressed: e.blauRed10,
|
|
235
255
|
buttonLinkBackgroundPressed: r(e.blauPurple, 0.3),
|
|
236
256
|
buttonLinkBackgroundInversePressed: r(e.blauPurple, 0.3),
|
|
257
|
+
buttonLinkBackgroundMediaPressed: r(e.white, 0.15),
|
|
237
258
|
buttonPrimaryBackground: e.blauBlueSecondary,
|
|
238
259
|
buttonPrimaryBackgroundInverse: e.blauBlueSecondary,
|
|
239
|
-
|
|
260
|
+
buttonPrimaryBackgroundMedia: e.white,
|
|
240
261
|
buttonPrimaryBackgroundHover: e.blauBlueSecondary60,
|
|
262
|
+
buttonPrimaryBackgroundInverseHover: e.blauBlueSecondary60,
|
|
263
|
+
buttonPrimaryBackgroundMediaHover: e.blauBluePrimary20,
|
|
264
|
+
buttonPrimaryBackgroundPressed: e.blauBlueSecondary60,
|
|
241
265
|
buttonPrimaryBackgroundInversePressed: e.blauBlueSecondary60,
|
|
266
|
+
buttonPrimaryBackgroundMediaPressed: e.blauBluePrimary30,
|
|
242
267
|
buttonSecondaryBorder: e.white,
|
|
243
|
-
buttonSecondaryBorderPressed: e.white,
|
|
244
|
-
buttonSecondaryBackgroundHover: r(e.white, 0.15),
|
|
245
|
-
buttonSecondaryBackgroundPressed: r(e.white, 0.15),
|
|
246
268
|
buttonSecondaryBorderInverse: e.white,
|
|
269
|
+
buttonSecondaryBorderMedia: e.white,
|
|
270
|
+
buttonSecondaryBorderPressed: e.white,
|
|
247
271
|
buttonSecondaryBorderInversePressed: e.white,
|
|
272
|
+
buttonSecondaryBorderMediaPressed: e.white,
|
|
273
|
+
buttonSecondaryBackgroundHover: r(e.white, 0.15),
|
|
248
274
|
buttonSecondaryBackgroundInverseHover: r(e.white, 0.15),
|
|
275
|
+
buttonSecondaryBackgroundMediaHover: r(e.white, 0.2),
|
|
276
|
+
buttonSecondaryBackgroundPressed: r(e.white, 0.15),
|
|
249
277
|
buttonSecondaryBackgroundInversePressed: r(e.white, 0.15),
|
|
278
|
+
buttonSecondaryBackgroundMediaPressed: r(e.white, 0.2),
|
|
250
279
|
textButtonPrimary: e.grey2,
|
|
251
280
|
textButtonPrimaryInverse: e.grey2,
|
|
281
|
+
textButtonPrimaryMedia: e.blauBlueSecondary,
|
|
252
282
|
textButtonPrimaryInversePressed: e.grey2,
|
|
283
|
+
textButtonPrimaryMediaPressed: e.blauBlueSecondary60,
|
|
253
284
|
textButtonSecondary: e.grey2,
|
|
254
|
-
textButtonSecondaryPressed: e.grey2,
|
|
255
285
|
textButtonSecondaryInverse: e.grey2,
|
|
286
|
+
textButtonSecondaryMedia: e.white,
|
|
287
|
+
textButtonSecondaryPressed: e.grey2,
|
|
256
288
|
textButtonSecondaryInversePressed: e.grey2,
|
|
289
|
+
textButtonSecondaryMediaPressed: e.white,
|
|
257
290
|
textLink: e.blauPurple30,
|
|
258
291
|
textLinkInverse: e.blauPurple30,
|
|
292
|
+
textLinkMedia: e.white,
|
|
259
293
|
textLinkDanger: e.blauRed40,
|
|
294
|
+
textLinkDangerMedia: e.blauRed,
|
|
260
295
|
textLinkSnackbar: e.blauPurple30,
|
|
261
296
|
textActivated: e.blauBluePrimary,
|
|
262
297
|
textBrand: e.blauBluePrimary,
|
|
@@ -348,7 +383,8 @@ const e = {
|
|
|
348
383
|
tagBackgroundSuccessInverse: e.darkModeGrey6,
|
|
349
384
|
tagBackgroundWarningInverse: e.darkModeGrey6,
|
|
350
385
|
tagBackgroundErrorInverse: e.darkModeGrey6,
|
|
351
|
-
cardContentOverlay: `linear-gradient(180deg, ${r(e.grey6, 0)} 0%, ${r(e.grey6, 0.4)} 30%, ${r(e.grey6, 0.7)} 100%)
|
|
386
|
+
cardContentOverlay: `linear-gradient(180deg, ${r(e.grey6, 0)} 0%, ${r(e.grey6, 0.4)} 30%, ${r(e.grey6, 0.7)} 100%)`,
|
|
387
|
+
cardFooterOverlay: r(e.grey6, 0.7)
|
|
352
388
|
},
|
|
353
389
|
borderRadii: {
|
|
354
390
|
avatar: "50%",
|
|
@@ -77,34 +77,51 @@ const e = {
|
|
|
77
77
|
buttonDangerBackground: e.tomato55,
|
|
78
78
|
buttonDangerBackgroundPressed: e.tomato65,
|
|
79
79
|
buttonDangerBackgroundHover: e.tomato60,
|
|
80
|
-
buttonLinkDangerBackgroundPressed: e.tomato10,
|
|
81
80
|
buttonLinkDangerBackgroundInverse: e.white,
|
|
81
|
+
buttonLinkDangerBackgroundMedia: e.white,
|
|
82
|
+
buttonLinkDangerBackgroundPressed: e.tomato10,
|
|
82
83
|
buttonLinkDangerBackgroundInversePressed: e.tomato10,
|
|
84
|
+
buttonLinkDangerBackgroundMediaPressed: e.tomato10,
|
|
83
85
|
buttonLinkBackgroundPressed: r(e.purple55, 0.08),
|
|
84
86
|
buttonLinkBackgroundInversePressed: r(e.white, 0.08),
|
|
87
|
+
buttonLinkBackgroundMediaPressed: r(e.white, 0.08),
|
|
85
88
|
buttonPrimaryBackground: e.blue,
|
|
86
89
|
buttonPrimaryBackgroundInverse: e.white,
|
|
87
|
-
|
|
90
|
+
buttonPrimaryBackgroundMedia: e.white,
|
|
88
91
|
buttonPrimaryBackgroundHover: e.blue55,
|
|
92
|
+
buttonPrimaryBackgroundInverseHover: e.blue15,
|
|
93
|
+
buttonPrimaryBackgroundMediaHover: e.blue15,
|
|
94
|
+
buttonPrimaryBackgroundPressed: e.blue65,
|
|
89
95
|
buttonPrimaryBackgroundInversePressed: e.blue15,
|
|
96
|
+
buttonPrimaryBackgroundMediaPressed: e.blue15,
|
|
90
97
|
buttonSecondaryBorder: e.blue,
|
|
91
|
-
buttonSecondaryBorderPressed: e.blue55,
|
|
92
|
-
buttonSecondaryBackgroundHover: e.blue10,
|
|
93
|
-
buttonSecondaryBackgroundPressed: e.blue15,
|
|
94
98
|
buttonSecondaryBorderInverse: e.white,
|
|
99
|
+
buttonSecondaryBorderMedia: e.white,
|
|
100
|
+
buttonSecondaryBorderPressed: e.blue55,
|
|
95
101
|
buttonSecondaryBorderInversePressed: e.white,
|
|
102
|
+
buttonSecondaryBorderMediaPressed: e.white,
|
|
103
|
+
buttonSecondaryBackgroundHover: e.blue10,
|
|
96
104
|
buttonSecondaryBackgroundInverseHover: r(e.white, 0.15),
|
|
105
|
+
buttonSecondaryBackgroundMediaHover: r(e.white, 0.15),
|
|
106
|
+
buttonSecondaryBackgroundPressed: e.blue15,
|
|
97
107
|
buttonSecondaryBackgroundInversePressed: r(e.white, 0.15),
|
|
108
|
+
buttonSecondaryBackgroundMediaPressed: r(e.white, 0.15),
|
|
98
109
|
textButtonPrimary: e.white,
|
|
99
110
|
textButtonPrimaryInverse: e.blue,
|
|
111
|
+
textButtonPrimaryMedia: e.blue,
|
|
100
112
|
textButtonPrimaryInversePressed: e.blue55,
|
|
113
|
+
textButtonPrimaryMediaPressed: e.blue55,
|
|
101
114
|
textButtonSecondary: e.blue,
|
|
102
|
-
textButtonSecondaryPressed: e.blue55,
|
|
103
115
|
textButtonSecondaryInverse: e.white,
|
|
116
|
+
textButtonSecondaryMedia: e.white,
|
|
117
|
+
textButtonSecondaryPressed: e.blue55,
|
|
104
118
|
textButtonSecondaryInversePressed: e.white,
|
|
119
|
+
textButtonSecondaryMediaPressed: e.white,
|
|
105
120
|
textLink: e.purple,
|
|
106
121
|
textLinkInverse: e.white,
|
|
122
|
+
textLinkMedia: e.white,
|
|
107
123
|
textLinkDanger: e.tomato55,
|
|
124
|
+
textLinkDangerMedia: e.tomato55,
|
|
108
125
|
textLinkSnackbar: e.blue30,
|
|
109
126
|
textActivated: e.blue,
|
|
110
127
|
textBrand: e.blue,
|
|
@@ -198,7 +215,8 @@ const e = {
|
|
|
198
215
|
tagBackgroundSuccessInverse: e.grass10,
|
|
199
216
|
tagBackgroundWarningInverse: e.peach10,
|
|
200
217
|
tagBackgroundErrorInverse: e.tomato10,
|
|
201
|
-
cardContentOverlay: `linear-gradient(180deg, ${r(e.black, 0)} 0%, ${r(e.black, 0.4)} 30%, ${r(e.black, 0.7)} 100%)
|
|
218
|
+
cardContentOverlay: `linear-gradient(180deg, ${r(e.black, 0)} 0%, ${r(e.black, 0.4)} 30%, ${r(e.black, 0.7)} 100%)`,
|
|
219
|
+
cardFooterOverlay: r(e.black, 0.7)
|
|
202
220
|
},
|
|
203
221
|
darkModeColors: {
|
|
204
222
|
background: e.darkModeBlack,
|
|
@@ -231,34 +249,51 @@ const e = {
|
|
|
231
249
|
buttonDangerBackground: e.tomato,
|
|
232
250
|
buttonDangerBackgroundPressed: e.tomato55,
|
|
233
251
|
buttonDangerBackgroundHover: e.tomato55,
|
|
234
|
-
buttonLinkDangerBackgroundPressed: r(e.white, 0.08),
|
|
235
252
|
buttonLinkDangerBackgroundInverse: r(e.white, 0),
|
|
253
|
+
buttonLinkDangerBackgroundMedia: e.white,
|
|
254
|
+
buttonLinkDangerBackgroundPressed: r(e.white, 0.08),
|
|
236
255
|
buttonLinkDangerBackgroundInversePressed: r(e.white, 0.08),
|
|
256
|
+
buttonLinkDangerBackgroundMediaPressed: e.tomato10,
|
|
237
257
|
buttonLinkBackgroundPressed: r(e.white, 0.08),
|
|
238
258
|
buttonLinkBackgroundInversePressed: r(e.white, 0.08),
|
|
259
|
+
buttonLinkBackgroundMediaPressed: r(e.white, 0.08),
|
|
239
260
|
buttonPrimaryBackground: e.blue,
|
|
240
261
|
buttonPrimaryBackgroundInverse: e.blue,
|
|
241
|
-
|
|
262
|
+
buttonPrimaryBackgroundMedia: e.white,
|
|
242
263
|
buttonPrimaryBackgroundHover: e.blue55,
|
|
264
|
+
buttonPrimaryBackgroundInverseHover: e.blue55,
|
|
265
|
+
buttonPrimaryBackgroundMediaHover: e.blue15,
|
|
266
|
+
buttonPrimaryBackgroundPressed: e.blue55,
|
|
243
267
|
buttonPrimaryBackgroundInversePressed: e.blue55,
|
|
244
|
-
|
|
268
|
+
buttonPrimaryBackgroundMediaPressed: e.blue15,
|
|
245
269
|
buttonSecondaryBorder: e.white,
|
|
246
|
-
buttonSecondaryBorderPressed: e.white,
|
|
247
270
|
buttonSecondaryBorderInverse: e.white,
|
|
271
|
+
buttonSecondaryBorderMedia: e.white,
|
|
272
|
+
buttonSecondaryBorderPressed: e.white,
|
|
248
273
|
buttonSecondaryBorderInversePressed: e.white,
|
|
274
|
+
buttonSecondaryBorderMediaPressed: e.white,
|
|
249
275
|
buttonSecondaryBackgroundHover: r(e.white, 0.15),
|
|
250
276
|
buttonSecondaryBackgroundInverseHover: r(e.white, 0.15),
|
|
277
|
+
buttonSecondaryBackgroundMediaHover: r(e.white, 0.15),
|
|
278
|
+
buttonSecondaryBackgroundPressed: r(e.white, 0.15),
|
|
251
279
|
buttonSecondaryBackgroundInversePressed: r(e.white, 0.15),
|
|
280
|
+
buttonSecondaryBackgroundMediaPressed: r(e.white, 0.15),
|
|
252
281
|
textButtonPrimary: e.white,
|
|
253
282
|
textButtonPrimaryInverse: e.white,
|
|
283
|
+
textButtonPrimaryMedia: e.blue,
|
|
254
284
|
textButtonPrimaryInversePressed: e.white,
|
|
285
|
+
textButtonPrimaryMediaPressed: e.blue55,
|
|
255
286
|
textButtonSecondary: e.grey2,
|
|
256
|
-
textButtonSecondaryPressed: e.grey2,
|
|
257
287
|
textButtonSecondaryInverse: e.grey2,
|
|
288
|
+
textButtonSecondaryMedia: e.white,
|
|
289
|
+
textButtonSecondaryPressed: e.grey2,
|
|
258
290
|
textButtonSecondaryInversePressed: e.grey2,
|
|
291
|
+
textButtonSecondaryMediaPressed: e.white,
|
|
259
292
|
textLink: e.purple30,
|
|
260
293
|
textLinkInverse: e.purple30,
|
|
294
|
+
textLinkMedia: e.white,
|
|
261
295
|
textLinkDanger: e.chili,
|
|
296
|
+
textLinkDangerMedia: e.tomato55,
|
|
262
297
|
textLinkSnackbar: e.blue30,
|
|
263
298
|
textActivated: e.blue30,
|
|
264
299
|
textBrand: e.blue30,
|
|
@@ -352,7 +387,8 @@ const e = {
|
|
|
352
387
|
tagBackgroundSuccessInverse: e.darkModeGrey6,
|
|
353
388
|
tagBackgroundWarningInverse: e.darkModeGrey6,
|
|
354
389
|
tagBackgroundErrorInverse: e.darkModeGrey6,
|
|
355
|
-
cardContentOverlay: `linear-gradient(180deg, ${r(e.black, 0)} 0%, ${r(e.black, 0.4)} 30%, ${r(e.black, 0.7)} 100%)
|
|
390
|
+
cardContentOverlay: `linear-gradient(180deg, ${r(e.black, 0)} 0%, ${r(e.black, 0.4)} 30%, ${r(e.black, 0.7)} 100%)`,
|
|
391
|
+
cardFooterOverlay: r(e.black, 0.7)
|
|
356
392
|
},
|
|
357
393
|
borderRadii: {
|
|
358
394
|
avatar: "50%",
|