@telefonica/mistica 15.9.0 → 15.11.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/boxed.css-mistica.js +35 -2
- package/dist/boxed.css.d.ts +29 -0
- package/dist/boxed.d.ts +6 -4
- package/dist/boxed.js +30 -24
- package/dist/button-group.css-mistica.js +14 -5
- package/dist/button-group.css.d.ts +3 -0
- package/dist/button-group.d.ts +2 -1
- package/dist/button-group.js +29 -16
- package/dist/button-layout.css-mistica.js +7 -7
- package/dist/button-layout.css.d.ts +1 -1
- package/dist/button-layout.js +9 -9
- package/dist/button.d.ts +4 -24
- package/dist/button.js +6 -4
- package/dist/card.d.ts +8 -1
- package/dist/card.js +567 -501
- package/dist/carousel.css-mistica.js +19 -16
- package/dist/carousel.css.d.ts +1 -0
- package/dist/carousel.js +41 -39
- package/dist/chip.js +37 -44
- package/dist/circle.d.ts +11 -4
- package/dist/circle.js +10 -11
- package/dist/community/advanced-data-card.css-mistica.js +24 -21
- package/dist/community/advanced-data-card.css.d.ts +1 -0
- package/dist/community/advanced-data-card.d.ts +1 -0
- package/dist/community/advanced-data-card.js +20 -17
- package/dist/counter.js +26 -22
- package/dist/cover-hero-media.d.ts +12 -0
- package/dist/cover-hero-media.js +44 -0
- package/dist/cover-hero.css-mistica.js +56 -0
- package/dist/cover-hero.css.d.ts +14 -0
- package/dist/cover-hero.css.ts.vanilla.css-mistica.js +11 -0
- package/dist/cover-hero.d.ts +38 -0
- package/dist/cover-hero.js +296 -0
- package/dist/empty-state.js +6 -6
- package/dist/grid-layout.css-mistica.js +11 -8
- package/dist/grid-layout.css.d.ts +1 -0
- package/dist/grid-layout.d.ts +12 -22
- package/dist/grid-layout.js +63 -49
- package/dist/header.js +18 -18
- package/dist/highlighted-card.d.ts +1 -0
- package/dist/highlighted-card.js +22 -18
- package/dist/icon-button.d.ts +7 -6
- package/dist/image.js +69 -48
- package/dist/index.d.ts +4 -1
- package/dist/index.js +15 -0
- package/dist/list.d.ts +1 -0
- package/dist/navigation-bar.d.ts +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/package-version.js +1 -1
- package/dist/select.js +16 -12
- package/dist/skins/movistar.d.ts +13 -0
- package/dist/skins/movistar.js +112 -99
- package/dist/spinner.js +19 -18
- package/dist/table.css-mistica.js +58 -0
- package/dist/table.css.d.ts +13 -0
- package/dist/table.css.ts.vanilla.css-mistica.js +11 -0
- package/dist/table.d.ts +39 -0
- package/dist/table.js +269 -0
- package/dist/text.d.ts +1 -1
- package/dist/theme.d.ts +20 -0
- package/dist/theme.js +80 -20
- package/dist/timer.css-mistica.js +39 -0
- package/dist/timer.css.d.ts +8 -0
- package/dist/timer.css.ts.vanilla.css-mistica.js +11 -0
- package/dist/timer.d.ts +27 -0
- package/dist/timer.js +370 -0
- package/dist/tooltip.js +13 -13
- package/dist/touchable.d.ts +2 -0
- package/dist/touchable.js +35 -31
- package/dist/utils/helpers.js +32 -32
- package/dist-es/boxed.css-mistica.js +29 -2
- package/dist-es/boxed.js +37 -31
- package/dist-es/button-group.css-mistica.js +2 -2
- package/dist-es/button-group.js +37 -24
- package/dist-es/button-layout.css-mistica.js +2 -2
- package/dist-es/button-layout.js +16 -16
- package/dist-es/button.js +24 -22
- package/dist-es/card.js +681 -618
- package/dist-es/carousel.css-mistica.js +7 -7
- package/dist-es/carousel.js +75 -73
- package/dist-es/chip.js +57 -64
- package/dist-es/circle.js +15 -16
- package/dist-es/community/advanced-data-card.css-mistica.js +4 -4
- package/dist-es/community/advanced-data-card.js +59 -56
- package/dist-es/counter.js +62 -58
- package/dist-es/cover-hero-media.js +30 -0
- package/dist-es/cover-hero.css-mistica.js +9 -0
- package/dist-es/cover-hero.css.ts.vanilla.css-mistica.js +2 -0
- package/dist-es/cover-hero.js +241 -0
- package/dist-es/empty-state.js +13 -13
- package/dist-es/grid-layout.css-mistica.js +3 -3
- package/dist-es/grid-layout.js +80 -66
- package/dist-es/header.js +37 -37
- package/dist-es/highlighted-card.js +35 -31
- package/dist-es/image.js +88 -67
- package/dist-es/index.js +1817 -1814
- package/dist-es/navigation-bar.js +1 -1
- package/dist-es/package-version.js +1 -1
- package/dist-es/select.js +23 -18
- package/dist-es/skins/movistar.js +112 -99
- package/dist-es/spinner.js +38 -37
- package/dist-es/style.css +1 -1
- package/dist-es/table.css-mistica.js +14 -0
- package/dist-es/table.css.ts.vanilla.css-mistica.js +2 -0
- package/dist-es/table.js +214 -0
- package/dist-es/theme.js +77 -17
- package/dist-es/timer.css-mistica.js +4 -0
- package/dist-es/timer.css.ts.vanilla.css-mistica.js +2 -0
- package/dist-es/timer.js +307 -0
- package/dist-es/tooltip.js +16 -16
- package/dist-es/touchable.js +47 -43
- package/dist-es/utils/helpers.js +31 -31
- package/package.json +1 -1
package/dist/header.js
CHANGED
|
@@ -14,13 +14,13 @@ _export(exports, {
|
|
|
14
14
|
return E;
|
|
15
15
|
},
|
|
16
16
|
HeaderLayout: function() {
|
|
17
|
-
return
|
|
17
|
+
return oo;
|
|
18
18
|
},
|
|
19
19
|
MainSectionHeader: function() {
|
|
20
20
|
return Y;
|
|
21
21
|
},
|
|
22
22
|
MainSectionHeaderLayout: function() {
|
|
23
|
-
return
|
|
23
|
+
return ro;
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
const _jsxruntime = require("react/jsx-runtime");
|
|
@@ -121,7 +121,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
121
121
|
return target;
|
|
122
122
|
}
|
|
123
123
|
const E = (param)=>{
|
|
124
|
-
let { pretitle:
|
|
124
|
+
let { pretitle: r, title: e, titleAs: t = "h2", description: l, dataAttributes: p, small: h = !1, preamount: m, amount: a, button: n, subtitle: s, isErrorAmount: B, secondaryButton: x } = param;
|
|
125
125
|
const H = (0, _themevariantcontext.useIsInverseVariant)(), g = (u, T)=>{
|
|
126
126
|
if (typeof u == "string") return /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, _object_spread_props(_object_spread({
|
|
127
127
|
regular: !0
|
|
@@ -144,12 +144,12 @@ const E = (param)=>{
|
|
|
144
144
|
},
|
|
145
145
|
dataAttributes: p,
|
|
146
146
|
children: [
|
|
147
|
-
(e ||
|
|
147
|
+
(e || r || l) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
148
148
|
paddingRight: 16,
|
|
149
149
|
children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
|
|
150
150
|
space: 8,
|
|
151
151
|
children: [
|
|
152
|
-
|
|
152
|
+
r && g(r, {
|
|
153
153
|
color: _skincontractcssmistica.vars.colors.textPrimary
|
|
154
154
|
}),
|
|
155
155
|
e && (h ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_title.Title2, {
|
|
@@ -196,7 +196,7 @@ const E = (param)=>{
|
|
|
196
196
|
]
|
|
197
197
|
});
|
|
198
198
|
}, Y = (param)=>{
|
|
199
|
-
let { title:
|
|
199
|
+
let { title: r, titleAs: e = "h1", description: t, button: l } = param;
|
|
200
200
|
return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
|
|
201
201
|
space: 32,
|
|
202
202
|
children: [
|
|
@@ -206,9 +206,9 @@ const E = (param)=>{
|
|
|
206
206
|
desktop: 16
|
|
207
207
|
},
|
|
208
208
|
children: [
|
|
209
|
-
|
|
209
|
+
r && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text7, {
|
|
210
210
|
as: e,
|
|
211
|
-
children:
|
|
211
|
+
children: r
|
|
212
212
|
}),
|
|
213
213
|
t && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text6, {
|
|
214
214
|
children: t
|
|
@@ -218,9 +218,9 @@ const E = (param)=>{
|
|
|
218
218
|
l
|
|
219
219
|
]
|
|
220
220
|
});
|
|
221
|
-
},
|
|
222
|
-
let { isInverse:
|
|
223
|
-
const n = m &&
|
|
221
|
+
}, oo = (param)=>{
|
|
222
|
+
let { isInverse: r = !0, breadcrumbs: e, header: t, extra: l, sideBySideExtraOnDesktop: p = !1, dataAttributes: h, bleed: m = !1, noPaddingY: a = !1 } = param;
|
|
223
|
+
const n = m && r && l, s = /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
|
|
224
224
|
children: [
|
|
225
225
|
e && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
226
226
|
className: _headercssmistica.breadcrumbs,
|
|
@@ -229,14 +229,14 @@ const E = (param)=>{
|
|
|
229
229
|
t
|
|
230
230
|
]
|
|
231
231
|
});
|
|
232
|
-
return (0, _overscrollcolorcontext.useSetOverscrollColor)(
|
|
232
|
+
return (0, _overscrollcolorcontext.useSetOverscrollColor)(r ? {
|
|
233
233
|
topColor: _skincontractcssmistica.vars.colors.backgroundBrandTop
|
|
234
234
|
} : {}), /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", _object_spread_props(_object_spread({}, (0, _dom.getPrefixedDataAttributes)(_object_spread({
|
|
235
235
|
"component-name": "HeaderLayout"
|
|
236
236
|
}, h))), {
|
|
237
237
|
children: [
|
|
238
238
|
/* @__PURE__ */ (0, _jsxruntime.jsx)(_responsivelayout.default, {
|
|
239
|
-
isInverse:
|
|
239
|
+
isInverse: r,
|
|
240
240
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
241
241
|
paddingTop: a ? 0 : {
|
|
242
242
|
mobile: t ? 32 : 0,
|
|
@@ -273,17 +273,17 @@ const E = (param)=>{
|
|
|
273
273
|
}),
|
|
274
274
|
n && /* @__PURE__ */ (0, _jsxruntime.jsx)(_responsivelayout.default, {
|
|
275
275
|
className: p ? _headercssmistica.hideOnDesktop : "",
|
|
276
|
-
backgroundColor: `linear-gradient(to bottom, ${_skincontractcssmistica.vars.colors.
|
|
276
|
+
backgroundColor: `linear-gradient(to bottom, ${_skincontractcssmistica.vars.colors.backgroundBrandBottom} 40px, ${_skincontractcssmistica.vars.colors.background} 0%)`,
|
|
277
277
|
children: l
|
|
278
278
|
})
|
|
279
279
|
]
|
|
280
280
|
}));
|
|
281
|
-
},
|
|
282
|
-
let { isInverse:
|
|
283
|
-
return (0, _overscrollcolorcontext.useSetOverscrollColor)(
|
|
281
|
+
}, ro = (param)=>{
|
|
282
|
+
let { isInverse: r = !0, children: e, dataAttributes: t } = param;
|
|
283
|
+
return (0, _overscrollcolorcontext.useSetOverscrollColor)(r ? {
|
|
284
284
|
topColor: _skincontractcssmistica.vars.colors.backgroundBrandTop
|
|
285
285
|
} : {}), /* @__PURE__ */ (0, _jsxruntime.jsx)(_responsivelayout.default, {
|
|
286
|
-
isInverse:
|
|
286
|
+
isInverse: r,
|
|
287
287
|
dataAttributes: _object_spread({
|
|
288
288
|
"component-name": "MainSectionHeaderLayout"
|
|
289
289
|
}, t),
|
|
@@ -16,6 +16,7 @@ type CommonProps = TextProps & {
|
|
|
16
16
|
descriptionLinesMax?: number;
|
|
17
17
|
imageUrl?: string;
|
|
18
18
|
imageFit?: 'fit' | 'fill' | 'fill-center';
|
|
19
|
+
imageAlt?: string;
|
|
19
20
|
onClose?: () => void;
|
|
20
21
|
trackingEvent?: TrackingEvent | ReadonlyArray<TrackingEvent>;
|
|
21
22
|
isInverse?: boolean;
|
package/dist/highlighted-card.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "default", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function() {
|
|
9
|
-
return
|
|
9
|
+
return Q;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
const _jsxruntime = require("react/jsx-runtime");
|
|
@@ -145,32 +145,33 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
145
145
|
}
|
|
146
146
|
return target;
|
|
147
147
|
}
|
|
148
|
-
const
|
|
148
|
+
const D = /*#__PURE__*/ _react.forwardRef((n, e)=>{
|
|
149
149
|
var _n_isInverse;
|
|
150
|
-
const { title: s, description: r, imageUrl: a, imageFit: o, titleAs:
|
|
150
|
+
const { title: s, description: r, imageUrl: a, imageFit: o, imageAlt: m, titleAs: b = "h3", width: d, dataAttributes: f, titleLinesMax: v, descriptionLinesMax: x } = n, t = _object_without_properties(n, [
|
|
151
151
|
"title",
|
|
152
152
|
"description",
|
|
153
153
|
"imageUrl",
|
|
154
154
|
"imageFit",
|
|
155
|
+
"imageAlt",
|
|
155
156
|
"titleAs",
|
|
156
157
|
"width",
|
|
157
158
|
"dataAttributes",
|
|
158
159
|
"titleLinesMax",
|
|
159
160
|
"descriptionLinesMax"
|
|
160
|
-
]),
|
|
161
|
+
]), p = (0, _themevariantcontext.useIsInverseVariant)(), I = (_n_isInverse = n.isInverse) !== null && _n_isInverse !== void 0 ? _n_isInverse : p, h = (0, _maybedismissable.useIsDismissable)(), { textPresets: w } = (0, _hooks.useTheme)(), c = /* @__PURE__ */ (0, _jsxruntime.jsxs)(_boxed.Boxed, {
|
|
161
162
|
ref: e,
|
|
162
|
-
isInverse:
|
|
163
|
+
isInverse: I,
|
|
163
164
|
className: _highlightedcardcssmistica.container,
|
|
164
165
|
dataAttributes: _object_spread({
|
|
165
166
|
"component-name": "HighlightedCard"
|
|
166
|
-
},
|
|
167
|
-
width:
|
|
167
|
+
}, f),
|
|
168
|
+
width: d ? `${d}px` : "100%",
|
|
168
169
|
minHeight: "100%",
|
|
169
170
|
children: [
|
|
170
171
|
/* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
|
|
171
|
-
role:
|
|
172
|
+
role: h ? void 0 : "region",
|
|
172
173
|
className: _highlightedcardcssmistica.textContainerVariant[a ? "withImage" : "withoutImage"],
|
|
173
|
-
"aria-label":
|
|
174
|
+
"aria-label": h ? void 0 : t["aria-label"],
|
|
174
175
|
children: [
|
|
175
176
|
/* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
|
|
176
177
|
space: 8,
|
|
@@ -180,16 +181,16 @@ const A = /*#__PURE__*/ _react.forwardRef((n, e)=>{
|
|
|
180
181
|
mobileLineHeight: "24px",
|
|
181
182
|
desktopSize: 20,
|
|
182
183
|
desktopLineHeight: "28px",
|
|
183
|
-
truncate:
|
|
184
|
-
weight:
|
|
185
|
-
as:
|
|
184
|
+
truncate: v,
|
|
185
|
+
weight: w.cardTitle.weight,
|
|
186
|
+
as: b,
|
|
186
187
|
hyphens: "auto",
|
|
187
188
|
children: s
|
|
188
189
|
}),
|
|
189
190
|
!!r && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
|
|
190
191
|
regular: !0,
|
|
191
192
|
color: _skincontractcssmistica.vars.colors.textSecondary,
|
|
192
|
-
truncate:
|
|
193
|
+
truncate: x,
|
|
193
194
|
as: "p",
|
|
194
195
|
hyphens: "auto",
|
|
195
196
|
children: r
|
|
@@ -209,7 +210,10 @@ const A = /*#__PURE__*/ _react.forwardRef((n, e)=>{
|
|
|
209
210
|
})
|
|
210
211
|
]
|
|
211
212
|
}),
|
|
212
|
-
a && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
213
|
+
a && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({}, m ? {
|
|
214
|
+
role: "img",
|
|
215
|
+
"aria-label": m
|
|
216
|
+
} : {}), {
|
|
213
217
|
className: _highlightedcardcssmistica.imageContent,
|
|
214
218
|
style: {
|
|
215
219
|
backgroundImage: `url(${a})`,
|
|
@@ -217,14 +221,14 @@ const A = /*#__PURE__*/ _react.forwardRef((n, e)=>{
|
|
|
217
221
|
backgroundSize: o === "fit" ? "contain" : "cover",
|
|
218
222
|
backgroundPosition: o === "fit" ? "bottom right" : `center ${o === "fill-center" ? "center" : "right"}`
|
|
219
223
|
}
|
|
220
|
-
})
|
|
224
|
+
}))
|
|
221
225
|
]
|
|
222
226
|
});
|
|
223
227
|
return t.button ? c : t.onPress || t.to || t.href ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, _object_spread_props(_object_spread({}, t), {
|
|
224
228
|
className: _highlightedcardcssmistica.touchableContainer,
|
|
225
229
|
children: c
|
|
226
230
|
})) : c;
|
|
227
|
-
}),
|
|
231
|
+
}), O = /*#__PURE__*/ _react.forwardRef((_param, s)=>{
|
|
228
232
|
var { "aria-label": n } = _param, e = _object_without_properties(_param, [
|
|
229
233
|
"aria-label"
|
|
230
234
|
]);
|
|
@@ -236,9 +240,9 @@ const A = /*#__PURE__*/ _react.forwardRef((n, e)=>{
|
|
|
236
240
|
width: e.width,
|
|
237
241
|
isOverMedia: !!e.imageUrl,
|
|
238
242
|
isInverse: o,
|
|
239
|
-
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(
|
|
243
|
+
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(D, _object_spread_props(_object_spread({}, e), {
|
|
240
244
|
"aria-label": r,
|
|
241
245
|
ref: s
|
|
242
246
|
}))
|
|
243
247
|
});
|
|
244
|
-
}),
|
|
248
|
+
}), Q = O;
|
package/dist/icon-button.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ interface HrefProps {
|
|
|
8
8
|
}
|
|
9
9
|
interface ToProps {
|
|
10
10
|
to: string;
|
|
11
|
+
newTab?: boolean;
|
|
11
12
|
fullPageOnWebView?: boolean;
|
|
12
13
|
replace?: boolean;
|
|
13
14
|
}
|
|
@@ -134,7 +135,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
134
135
|
'aria-live'?: "polite" | "off" | "assertive" | undefined;
|
|
135
136
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
136
137
|
dataAttributes?: DataAttributes | undefined;
|
|
137
|
-
newTab?: undefined;
|
|
138
|
+
newTab?: boolean | undefined;
|
|
138
139
|
'aria-label'?: string | undefined;
|
|
139
140
|
to: string;
|
|
140
141
|
fullPageOnWebView?: boolean | undefined;
|
|
@@ -421,6 +422,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
421
422
|
iconSize?: undefined;
|
|
422
423
|
} | {
|
|
423
424
|
to: string | import("history").Location;
|
|
425
|
+
newTab?: boolean | undefined;
|
|
424
426
|
fullPageOnWebView?: boolean | undefined;
|
|
425
427
|
replace?: boolean | undefined;
|
|
426
428
|
onNavigate?: (() => void | Promise<void>) | undefined;
|
|
@@ -441,7 +443,6 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
441
443
|
"aria-labelledby"?: undefined;
|
|
442
444
|
href?: undefined;
|
|
443
445
|
onPress?: undefined;
|
|
444
|
-
newTab?: undefined;
|
|
445
446
|
loadOnTop?: undefined;
|
|
446
447
|
isOverMedia?: boolean | undefined;
|
|
447
448
|
hasOverlay?: boolean | undefined;
|
|
@@ -454,6 +455,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
454
455
|
iconSize?: undefined;
|
|
455
456
|
} | {
|
|
456
457
|
to: string | import("history").Location;
|
|
458
|
+
newTab?: boolean | undefined;
|
|
457
459
|
fullPageOnWebView?: boolean | undefined;
|
|
458
460
|
replace?: boolean | undefined;
|
|
459
461
|
onNavigate?: (() => void | Promise<void>) | undefined;
|
|
@@ -474,7 +476,6 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
474
476
|
'aria-label'?: undefined;
|
|
475
477
|
href?: undefined;
|
|
476
478
|
onPress?: undefined;
|
|
477
|
-
newTab?: undefined;
|
|
478
479
|
loadOnTop?: undefined;
|
|
479
480
|
isOverMedia?: boolean | undefined;
|
|
480
481
|
hasOverlay?: boolean | undefined;
|
|
@@ -529,7 +530,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
529
530
|
'aria-live'?: "polite" | "off" | "assertive" | undefined;
|
|
530
531
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
531
532
|
dataAttributes?: DataAttributes | undefined;
|
|
532
|
-
newTab?: undefined;
|
|
533
|
+
newTab?: boolean | undefined;
|
|
533
534
|
'aria-label'?: string | undefined;
|
|
534
535
|
to: string;
|
|
535
536
|
fullPageOnWebView?: boolean | undefined;
|
|
@@ -798,6 +799,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
798
799
|
iconSize?: undefined;
|
|
799
800
|
} | {
|
|
800
801
|
to: string | import("history").Location;
|
|
802
|
+
newTab?: boolean | undefined;
|
|
801
803
|
fullPageOnWebView?: boolean | undefined;
|
|
802
804
|
replace?: boolean | undefined;
|
|
803
805
|
onNavigate?: (() => void | Promise<void>) | undefined;
|
|
@@ -818,7 +820,6 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
818
820
|
"aria-labelledby"?: undefined;
|
|
819
821
|
href?: undefined;
|
|
820
822
|
onPress?: undefined;
|
|
821
|
-
newTab?: undefined;
|
|
822
823
|
loadOnTop?: undefined;
|
|
823
824
|
backgroundColor?: undefined;
|
|
824
825
|
size?: undefined;
|
|
@@ -829,6 +830,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
829
830
|
iconSize?: undefined;
|
|
830
831
|
} | {
|
|
831
832
|
to: string | import("history").Location;
|
|
833
|
+
newTab?: boolean | undefined;
|
|
832
834
|
fullPageOnWebView?: boolean | undefined;
|
|
833
835
|
replace?: boolean | undefined;
|
|
834
836
|
onNavigate?: (() => void | Promise<void>) | undefined;
|
|
@@ -849,7 +851,6 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
849
851
|
'aria-label'?: undefined;
|
|
850
852
|
href?: undefined;
|
|
851
853
|
onPress?: undefined;
|
|
852
|
-
newTab?: undefined;
|
|
853
854
|
loadOnTop?: undefined;
|
|
854
855
|
backgroundColor?: undefined;
|
|
855
856
|
size?: undefined;
|
package/dist/image.js
CHANGED
|
@@ -11,16 +11,16 @@ function _export(target, all) {
|
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
13
|
ImageContent: function() {
|
|
14
|
-
return
|
|
14
|
+
return t1;
|
|
15
15
|
},
|
|
16
16
|
ImageError: function() {
|
|
17
|
-
return
|
|
17
|
+
return e1;
|
|
18
18
|
},
|
|
19
19
|
RATIO: function() {
|
|
20
|
-
return
|
|
20
|
+
return A;
|
|
21
21
|
},
|
|
22
22
|
default: function() {
|
|
23
|
-
return
|
|
23
|
+
return L1;
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
const _jsxruntime = require("react/jsx-runtime");
|
|
@@ -177,9 +177,9 @@ const Y = (param)=>{
|
|
|
177
177
|
strokeWidth: "2"
|
|
178
178
|
})
|
|
179
179
|
});
|
|
180
|
-
},
|
|
181
|
-
let { borderRadius: e, withIcon:
|
|
182
|
-
const
|
|
180
|
+
}, e1 = /*#__PURE__*/ _react.forwardRef((param, s)=>{
|
|
181
|
+
let { borderRadius: e, withIcon: C = !0, border: d, className: m } = param;
|
|
182
|
+
const a = (0, _themevariantcontext.useIsInverseVariant)(), { skinName: n } = (0, _hooks.useTheme)();
|
|
183
183
|
return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
184
184
|
style: {
|
|
185
185
|
height: "100%",
|
|
@@ -187,19 +187,41 @@ const Y = (param)=>{
|
|
|
187
187
|
display: "flex",
|
|
188
188
|
alignItems: "center",
|
|
189
189
|
justifyContent: "center",
|
|
190
|
-
backgroundColor:
|
|
190
|
+
backgroundColor: a ? _skincontractcssmistica.vars.colors.backgroundSkeletonInverse : _skincontractcssmistica.vars.colors.backgroundSkeleton,
|
|
191
191
|
boxSizing: "border-box",
|
|
192
192
|
border: d ? `1px solid ${_skincontractcssmistica.vars.colors.borderLow}` : "none",
|
|
193
193
|
borderRadius: e
|
|
194
194
|
},
|
|
195
|
-
ref:
|
|
196
|
-
className:
|
|
197
|
-
children:
|
|
195
|
+
ref: s,
|
|
196
|
+
className: m,
|
|
197
|
+
children: C ? n === _constants.VIVO_SKIN ? /* @__PURE__ */ (0, _jsxruntime.jsx)(Y, {
|
|
198
198
|
style: {
|
|
199
199
|
width: "10%",
|
|
200
200
|
minWidth: 24,
|
|
201
201
|
maxWidth: 48
|
|
202
202
|
}
|
|
203
|
+
}) : n === _constants.VIVO_NEW_SKIN ? /* @__PURE__ */ (0, _jsxruntime.jsxs)("svg", {
|
|
204
|
+
viewBox: "0 0 24 24",
|
|
205
|
+
role: "presentation",
|
|
206
|
+
style: {
|
|
207
|
+
width: "10%",
|
|
208
|
+
minWidth: 24,
|
|
209
|
+
maxWidth: 48
|
|
210
|
+
},
|
|
211
|
+
children: [
|
|
212
|
+
/* @__PURE__ */ (0, _jsxruntime.jsx)("path", {
|
|
213
|
+
d: "M5.60044 14.585C5.49637 14.585 5.3983 14.5458 5.32396 14.4744L4.73612 13.9003C4.72555 13.8898 4.71068 13.8837 4.69552 13.8837C4.68037 13.8837 4.66579 13.8895 4.65493 13.9L4.06852 14.4698C3.99418 14.5411 3.89611 14.5806 3.79203 14.5806C3.68796 14.5806 3.59018 14.5411 3.5167 14.4698C3.36545 14.3226 3.36517 14.0833 3.5167 13.9361L4.10454 13.365C4.12656 13.3435 4.12656 13.3087 4.10454 13.2872L3.5167 12.7161C3.36517 12.5689 3.36517 12.3296 3.5167 12.1824C3.59047 12.1111 3.68796 12.0716 3.79203 12.0716C3.89611 12.0716 3.99389 12.1111 4.06737 12.1824L4.65407 12.7525C4.66493 12.763 4.67951 12.7687 4.69467 12.7687C4.70982 12.7687 4.7244 12.763 4.73527 12.7525L5.32511 12.1794C5.39859 12.108 5.49637 12.0686 5.60044 12.0686C5.70451 12.0686 5.80229 12.108 5.87577 12.1794C6.02731 12.3266 6.02731 12.5659 5.87577 12.7131L5.28479 13.2872C5.26278 13.3087 5.26278 13.3435 5.28479 13.365L5.87577 13.9391C6.02674 14.0858 6.02674 14.3256 5.87606 14.4739C5.80258 14.5456 5.70451 14.585 5.60044 14.585Z",
|
|
214
|
+
fill: a ? _skincontractcssmistica.vars.colors.inverse : _skincontractcssmistica.vars.colors.neutralMedium
|
|
215
|
+
}),
|
|
216
|
+
/* @__PURE__ */ (0, _jsxruntime.jsx)("path", {
|
|
217
|
+
d: "M13.0142 10.7496C12.953 10.7471 12.8819 10.7471 12.8132 10.7521H12.7598C12.2257 10.7571 10.2337 10.9373 10.2337 13.3694C10.2337 15.8061 12.2431 15.9965 12.7775 16.004H12.8638C12.8913 16.004 12.9193 16.0034 12.9465 16.0026C12.9725 16.0021 12.9979 16.0015 13.0214 16.0015C13.5326 15.9916 15.5677 15.8039 15.5677 13.3818C15.5683 10.9646 13.5357 10.762 13.0142 10.7496ZM13.0042 14.9461L12.8644 14.9485H12.7958C11.3282 14.9262 11.3282 13.7525 11.3282 13.3669C11.3282 12.9837 11.3282 11.8147 12.7729 11.8026H12.8161C12.8747 11.8026 12.9356 11.8026 12.9891 11.8051C14.4773 11.8395 14.4773 13.0011 14.4773 13.3818C14.477 13.7631 14.4761 14.9191 13.0042 14.9461Z",
|
|
218
|
+
fill: a ? _skincontractcssmistica.vars.colors.inverse : _skincontractcssmistica.vars.colors.neutralMedium
|
|
219
|
+
}),
|
|
220
|
+
/* @__PURE__ */ (0, _jsxruntime.jsx)("path", {
|
|
221
|
+
d: "M21.9997 17.2968H21.9971V9.45494C21.9971 8.78512 21.7301 8.39233 21.5062 8.17981C21.1062 7.80217 20.6039 7.76579 20.4609 7.75559L20.454 7.75506C20.4397 7.75398 20.4298 7.75324 20.4249 7.75228L15.6707 7.74732L14.9331 6.52152C14.7398 6.20012 14.3813 6 13.9996 6H12.0179C11.6033 6 11.2319 6.22493 11.0487 6.58575L10.4611 7.74732C8.26329 7.74732 6.43945 7.7498 5.96626 7.75228C5.21574 7.75476 4.79373 8.04391 4.56986 8.28372C4.10439 8.79036 4.16043 9.43537 4.16529 9.45274L4.16872 10.7C3.54515 10.7764 3.04937 10.9895 2.69141 11.3373C2.23395 11.7819 2.00208 12.4443 2.00208 13.3063C2.00208 14.1677 2.23395 14.8298 2.69141 15.2741C3.05252 15.6247 3.55372 15.8383 4.18502 15.913L4.18845 17.3119C4.23162 18.723 5.25176 18.9975 5.67148 18.9975L20.4275 19C21.005 19 21.3584 18.7627 21.552 18.5626C22.038 18.0628 22.0048 17.3412 21.9997 17.2968ZM2.78205 13.306C2.78205 12.6444 2.93301 12.1758 3.24408 11.8737C3.55516 11.5713 4.03692 11.4242 4.71739 11.4242H4.72254C5.39786 11.4242 5.87763 11.57 6.1887 11.8704C6.50263 12.1734 6.65474 12.6431 6.65417 13.3063C6.65417 13.9673 6.50292 14.4353 6.19184 14.7374C5.88077 15.0395 5.39844 15.1864 4.71768 15.1864C4.03749 15.1864 3.55544 15.0395 3.24465 14.7374C2.93301 14.435 2.78205 13.967 2.78205 13.306ZM20.7534 17.8428C20.7102 17.8872 20.6287 17.9468 20.4277 17.9514L5.65633 17.949L5.65394 17.9485L5.65244 17.9483L5.64947 17.9479C5.59908 17.9415 5.29865 17.9037 5.27978 17.3015L5.27607 15.9089C5.8782 15.8328 6.36168 15.628 6.71678 15.2959C7.19311 14.8504 7.43471 14.1809 7.43471 13.3057C7.43471 12.4305 7.19311 11.7607 6.71678 11.315C6.35796 10.9793 5.86848 10.7734 5.25805 10.6992L5.25434 9.40064C5.25176 9.39816 5.23918 9.15091 5.38414 8.99296C5.49107 8.87443 5.6895 8.81489 5.97169 8.81269C6.4703 8.80773 8.45667 8.80773 10.8019 8.80773C11.0103 8.80773 11.2016 8.69168 11.2931 8.51113L12.0182 7.05793L13.987 7.05297L14.885 8.54311C14.9817 8.70381 15.1624 8.80497 15.3582 8.80497L20.4355 8.80745C20.438 8.80745 20.6187 8.81737 20.7408 8.93342C20.8503 9.03486 20.9035 9.21017 20.9035 9.45494L20.9061 17.3312C20.9109 17.388 20.8984 17.6921 20.7534 17.8428Z",
|
|
222
|
+
fill: a ? _skincontractcssmistica.vars.colors.inverse : _skincontractcssmistica.vars.colors.neutralMedium
|
|
223
|
+
})
|
|
224
|
+
]
|
|
203
225
|
}) : /* @__PURE__ */ (0, _jsxruntime.jsx)("svg", {
|
|
204
226
|
viewBox: "0 0 24 24",
|
|
205
227
|
role: "presentation",
|
|
@@ -209,18 +231,18 @@ const Y = (param)=>{
|
|
|
209
231
|
maxWidth: 48
|
|
210
232
|
},
|
|
211
233
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("path", {
|
|
212
|
-
fill:
|
|
234
|
+
fill: a ? _skincontractcssmistica.vars.colors.inverse : _skincontractcssmistica.vars.colors.neutralMedium,
|
|
213
235
|
d: "M20.25 4.622c.832 0 1.591.664 1.591 1.393v11.98c0 .728-.76 1.392-1.591 1.392H3.746c-.863 0-1.591-.639-1.591-1.392V6.015c0-.754.728-1.393 1.59-1.393H20.25zm0 13.558c.193 0 .367-.146.39-.207l-.003-11.956a.555.555 0 00-.384-.182H3.746c-.21 0-.364.132-.387.19v11.973c.014.044.171.182.387.182H20.25zM6.152 9.068c0 .554.451 1.005 1.003 1.005a1.006 1.006 0 000-2.01c-.552 0-1.003.45-1.003 1.005zm1.003 2.215a2.216 2.216 0 010-4.43c1.218 0 2.207.993 2.207 2.215a2.213 2.213 0 01-2.207 2.215zm12.42 1.337l-3.18-2.44a.605.605 0 00-.742.005l-3.636 2.9-.879-.83a.6.6 0 00-.798-.025l-5.168 4.317a.607.607 0 00.386 1.07.59.59 0 00.384-.14l4.759-3.975 3.308 3.123c.241.23.625.221.852-.025a.605.605 0 00-.026-.854l-1.932-1.824 3.131-2.496 2.807 2.154a.603.603 0 00.846-.112.609.609 0 00-.112-.848z"
|
|
214
236
|
})
|
|
215
237
|
}) : void 0
|
|
216
238
|
});
|
|
217
|
-
}),
|
|
239
|
+
}), A = {
|
|
218
240
|
"1:1": 1,
|
|
219
241
|
"16:9": 16 / 9,
|
|
220
242
|
"7:10": 7 / 10,
|
|
221
243
|
"4:3": 4 / 3
|
|
222
|
-
},
|
|
223
|
-
var { aspectRatio: e =
|
|
244
|
+
}, H = "1:1", t1 = /*#__PURE__*/ _react.forwardRef((_param, x)=>{
|
|
245
|
+
var { aspectRatio: e = H, alt: C = "", dataAttributes: d, noBorderRadius: m, src: s, srcSet: a, onError: n, onLoad: l, loadingFallback: M = !0, errorFallback: S = !0 } = _param, i = _object_without_properties(_param, [
|
|
224
246
|
"aspectRatio",
|
|
225
247
|
"alt",
|
|
226
248
|
"dataAttributes",
|
|
@@ -233,49 +255,49 @@ const Y = (param)=>{
|
|
|
233
255
|
"errorFallback"
|
|
234
256
|
]);
|
|
235
257
|
var y;
|
|
236
|
-
const
|
|
237
|
-
|
|
238
|
-
|
|
258
|
+
const h = (0, _hooks.useAriaId)(), c = _react.useRef(), u = i.circular ? _imagecssmistica.circularBorderRadius : m ? _imagecssmistica.noBorderRadius : _imagecssmistica.defaultBorderRadius, [I, f] = _react.useState(!s), [B, g] = _react.useState(!1), L = i.width && i.height ? void 0 : i.circular ? 1 : typeof e == "number" ? e : A[e], b = M && !!(L !== 0 || i.width && i.height), N = S && !!(L !== 0 || i.width && i.height), v = _react.useCallback(()=>{
|
|
259
|
+
f(!1), c.current && (c.current.style.opacity = "1"), setTimeout(()=>{
|
|
260
|
+
g(!0);
|
|
239
261
|
}, _imagecssmistica.FADE_IN_DURATION_MS), l == null || l();
|
|
240
262
|
}, [
|
|
241
263
|
l
|
|
242
264
|
]);
|
|
243
265
|
_react.useEffect(()=>{
|
|
244
|
-
|
|
266
|
+
f(!s), g(!1);
|
|
245
267
|
}, [
|
|
246
|
-
|
|
268
|
+
s
|
|
247
269
|
]), _react.useEffect(()=>{
|
|
248
270
|
var R;
|
|
249
|
-
(R =
|
|
271
|
+
(R = c.current) != null && R.complete && v();
|
|
250
272
|
}, [
|
|
251
|
-
|
|
273
|
+
v
|
|
252
274
|
]);
|
|
253
|
-
const
|
|
275
|
+
const E = (0, _environment.isServerSide)() || !((y = document.getElementById(h)) != null && y.complete), W = /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
|
|
254
276
|
children: [
|
|
255
277
|
/* @__PURE__ */ (0, _jsxruntime.jsx)("img", {
|
|
256
278
|
suppressHydrationWarning: !0,
|
|
257
|
-
id:
|
|
279
|
+
id: h,
|
|
258
280
|
style: {
|
|
259
|
-
opacity:
|
|
281
|
+
opacity: E && b ? 0 : 1
|
|
260
282
|
},
|
|
261
|
-
ref: (0, _common.combineRefs)(
|
|
262
|
-
src:
|
|
263
|
-
srcSet:
|
|
264
|
-
className: (0, _classnames.default)(
|
|
283
|
+
ref: (0, _common.combineRefs)(c, x),
|
|
284
|
+
src: s,
|
|
285
|
+
srcSet: a,
|
|
286
|
+
className: (0, _classnames.default)(u, _imagecssmistica.image, {
|
|
265
287
|
[_imagecssmistica.imageWithBorder]: i.border
|
|
266
288
|
}, (0, _sprinklescssmistica.sprinkles)({
|
|
267
|
-
position:
|
|
289
|
+
position: L !== 0 ? "absolute" : "static"
|
|
268
290
|
})),
|
|
269
|
-
alt:
|
|
291
|
+
alt: C,
|
|
270
292
|
onError: ()=>{
|
|
271
|
-
|
|
293
|
+
f(!0), g(!0), n == null || n();
|
|
272
294
|
},
|
|
273
|
-
onLoad:
|
|
295
|
+
onLoad: v,
|
|
274
296
|
decoding: "async"
|
|
275
297
|
}),
|
|
276
|
-
|
|
298
|
+
b && /* @__PURE__ */ (0, _jsxruntime.jsx)("script", {
|
|
277
299
|
dangerouslySetInnerHTML: {
|
|
278
|
-
__html: `document.getElementById("${
|
|
300
|
+
__html: `document.getElementById("${h}").addEventListener('load', (e) => e.target.style.opacity = "1")`
|
|
279
301
|
}
|
|
280
302
|
})
|
|
281
303
|
]
|
|
@@ -283,14 +305,14 @@ const Y = (param)=>{
|
|
|
283
305
|
var _i_height, _i_width;
|
|
284
306
|
return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
|
|
285
307
|
children: [
|
|
286
|
-
|
|
308
|
+
b && !B && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
287
309
|
style: {
|
|
288
310
|
position: "absolute",
|
|
289
311
|
width: "100%",
|
|
290
312
|
height: "100%",
|
|
291
313
|
overflow: "hidden"
|
|
292
314
|
},
|
|
293
|
-
className:
|
|
315
|
+
className: u,
|
|
294
316
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_skeletons.SkeletonAnimation, {
|
|
295
317
|
height: (_i_height = i.height) !== null && _i_height !== void 0 ? _i_height : "100%",
|
|
296
318
|
width: (_i_width = i.width) !== null && _i_width !== void 0 ? _i_width : "100%",
|
|
@@ -301,24 +323,23 @@ const Y = (param)=>{
|
|
|
301
323
|
})
|
|
302
324
|
})
|
|
303
325
|
}),
|
|
304
|
-
|
|
326
|
+
I && N && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
305
327
|
style: {
|
|
306
328
|
position: "absolute",
|
|
307
329
|
width: "100%",
|
|
308
|
-
height: "100%"
|
|
309
|
-
zIndex: 1
|
|
330
|
+
height: "100%"
|
|
310
331
|
},
|
|
311
|
-
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(
|
|
332
|
+
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(e1, {
|
|
312
333
|
border: i.border,
|
|
313
|
-
className:
|
|
334
|
+
className: u
|
|
314
335
|
})
|
|
315
336
|
}),
|
|
316
|
-
!
|
|
337
|
+
!I && W
|
|
317
338
|
]
|
|
318
339
|
});
|
|
319
|
-
}),
|
|
340
|
+
}), i1 = /*#__PURE__*/ _react.forwardRef((e, C)=>{
|
|
320
341
|
var _e_aspectRatio;
|
|
321
|
-
const d = e.width && e.height ? void 0 : e.circular ? 1 : typeof e.aspectRatio == "number" ? e.aspectRatio :
|
|
342
|
+
const d = e.width && e.height ? void 0 : e.circular ? 1 : typeof e.aspectRatio == "number" ? e.aspectRatio : A[(_e_aspectRatio = e.aspectRatio) !== null && _e_aspectRatio !== void 0 ? _e_aspectRatio : H];
|
|
322
343
|
return /* @__PURE__ */ (0, _jsxruntime.jsx)(_aspectratiosupport.AspectRatioContainer, {
|
|
323
344
|
style: {
|
|
324
345
|
position: "relative"
|
|
@@ -328,8 +349,8 @@ const Y = (param)=>{
|
|
|
328
349
|
height: e.height,
|
|
329
350
|
dataAttributes: (0, _dom.getPrefixedDataAttributes)(e.dataAttributes, "Image"),
|
|
330
351
|
forceNonCssAspectRatio: e.forceNonCssAspectRatio,
|
|
331
|
-
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(
|
|
332
|
-
ref:
|
|
352
|
+
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(t1, _object_spread_props(_object_spread({}, e), {
|
|
353
|
+
ref: C
|
|
333
354
|
}))
|
|
334
355
|
});
|
|
335
|
-
}),
|
|
356
|
+
}), L1 = i1;
|
package/dist/index.d.ts
CHANGED
|
@@ -56,8 +56,11 @@ export { default as HighlightedCard } from './highlighted-card';
|
|
|
56
56
|
export { default as Stepper } from './stepper';
|
|
57
57
|
export { ProgressBar, ProgressBarStepped } from './progress-bar';
|
|
58
58
|
export { VerticalMosaic, HorizontalMosaic } from './mosaic';
|
|
59
|
+
export { Timer, TextTimer } from './timer';
|
|
59
60
|
export { MediaCard, DataCard, SnapCard, DisplayDataCard, DisplayMediaCard, PosterCard, NakedCard, SmallNakedCard, CardActionSpinner, CardActionIconButton, } from './card';
|
|
60
61
|
export { default as Hero } from './hero';
|
|
62
|
+
export { default as CoverHero } from './cover-hero';
|
|
63
|
+
export { Table } from './table';
|
|
61
64
|
export { default as Divider } from './divider';
|
|
62
65
|
export { Menu, MenuItem, MenuSection } from './menu';
|
|
63
66
|
export { default as EmptyState } from './empty-state';
|
|
@@ -135,7 +138,7 @@ export { palette as telefonicaPalette } from './skins/telefonica';
|
|
|
135
138
|
export { palette as blauPalette } from './skins/blau';
|
|
136
139
|
export { palette as tuPalette } from './skins/tu';
|
|
137
140
|
export type { Locale } from './utils/locale';
|
|
138
|
-
export type { TrackingEvent, IconProps } from './utils/types';
|
|
141
|
+
export type { TrackingEvent, IconProps, DataAttributes } from './utils/types';
|
|
139
142
|
export type { RegionCode } from './utils/region-code';
|
|
140
143
|
export { default as CommunityExampleComponent } from './community/example-component';
|
|
141
144
|
export { default as CommunityAdvancedDataCard } from './community/advanced-data-card';
|
package/dist/index.js
CHANGED
|
@@ -132,6 +132,9 @@ _export(exports, {
|
|
|
132
132
|
Counter: function() {
|
|
133
133
|
return _counter.default;
|
|
134
134
|
},
|
|
135
|
+
CoverHero: function() {
|
|
136
|
+
return _coverhero.default;
|
|
137
|
+
},
|
|
135
138
|
CreditCardExpirationField: function() {
|
|
136
139
|
return _creditcardexpirationfield.default;
|
|
137
140
|
},
|
|
@@ -5598,6 +5601,9 @@ _export(exports, {
|
|
|
5598
5601
|
TU_SKIN: function() {
|
|
5599
5602
|
return _constants.TU_SKIN;
|
|
5600
5603
|
},
|
|
5604
|
+
Table: function() {
|
|
5605
|
+
return _table.Table;
|
|
5606
|
+
},
|
|
5601
5607
|
Tabs: function() {
|
|
5602
5608
|
return _tabs.default;
|
|
5603
5609
|
},
|
|
@@ -5649,6 +5655,9 @@ _export(exports, {
|
|
|
5649
5655
|
TextLink: function() {
|
|
5650
5656
|
return _textlink.default;
|
|
5651
5657
|
},
|
|
5658
|
+
TextTimer: function() {
|
|
5659
|
+
return _timer.TextTimer;
|
|
5660
|
+
},
|
|
5652
5661
|
ThemeContext: function() {
|
|
5653
5662
|
return _themecontext.default;
|
|
5654
5663
|
},
|
|
@@ -5658,6 +5667,9 @@ _export(exports, {
|
|
|
5658
5667
|
ThemeVariant: function() {
|
|
5659
5668
|
return _themevariantcontext.ThemeVariant;
|
|
5660
5669
|
},
|
|
5670
|
+
Timer: function() {
|
|
5671
|
+
return _timer.Timer;
|
|
5672
|
+
},
|
|
5661
5673
|
Title1: function() {
|
|
5662
5674
|
return _title.Title1;
|
|
5663
5675
|
},
|
|
@@ -5891,8 +5903,11 @@ const _highlightedcard = /*#__PURE__*/ _interop_require_default(require("./highl
|
|
|
5891
5903
|
const _stepper = /*#__PURE__*/ _interop_require_default(require("./stepper.js"));
|
|
5892
5904
|
const _progressbar = require("./progress-bar.js");
|
|
5893
5905
|
const _mosaic = require("./mosaic.js");
|
|
5906
|
+
const _timer = require("./timer.js");
|
|
5894
5907
|
const _card = require("./card.js");
|
|
5895
5908
|
const _hero = /*#__PURE__*/ _interop_require_default(require("./hero.js"));
|
|
5909
|
+
const _coverhero = /*#__PURE__*/ _interop_require_default(require("./cover-hero.js"));
|
|
5910
|
+
const _table = require("./table.js");
|
|
5896
5911
|
const _divider = /*#__PURE__*/ _interop_require_default(require("./divider.js"));
|
|
5897
5912
|
const _menu = require("./menu.js");
|
|
5898
5913
|
const _emptystate = /*#__PURE__*/ _interop_require_default(require("./empty-state.js"));
|
package/dist/list.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ interface HrefRowContentProps extends CommonProps {
|
|
|
73
73
|
interface ToRowContentProps extends CommonProps {
|
|
74
74
|
trackingEvent?: TrackingEvent | ReadonlyArray<TrackingEvent>;
|
|
75
75
|
to: string | undefined;
|
|
76
|
+
newTab?: boolean;
|
|
76
77
|
fullPageOnWebView?: boolean;
|
|
77
78
|
replace?: boolean;
|
|
78
79
|
onNavigate?: () => void | Promise<void>;
|
package/dist/navigation-bar.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ type MainNavigationBarSection = {
|
|
|
17
17
|
title: string;
|
|
18
18
|
};
|
|
19
19
|
type MainNavigationBarPropsBase = {
|
|
20
|
-
sections
|
|
20
|
+
sections?: ReadonlyArray<MainNavigationBarSection>;
|
|
21
21
|
selectedIndex?: number;
|
|
22
22
|
right?: React.ReactElement;
|
|
23
23
|
logo?: React.ReactElement;
|