@telefonica/mistica 15.7.0 → 15.9.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/accordion.d.ts +4 -6
- package/dist/accordion.js +99 -92
- package/dist/community/blocks.js +1 -0
- package/dist/empty-state.js +7 -6
- package/dist/icon-button.d.ts +17 -16
- package/dist/icon-button.js +51 -49
- package/dist/icons/icon-chevron.css-mistica.js +25 -0
- package/dist/icons/icon-chevron.css.d.ts +5 -0
- package/dist/icons/icon-chevron.css.ts.vanilla.css-mistica.js +11 -0
- package/dist/icons/icon-chevron.js +27 -20
- package/dist/image.js +13 -12
- package/dist/list.css-mistica.js +11 -11
- package/dist/list.css.d.ts +1 -3
- package/dist/list.d.ts +8 -16
- package/dist/list.js +275 -383
- package/dist/package-version.js +1 -1
- package/dist/progress-bar.d.ts +2 -0
- package/dist/progress-bar.js +44 -35
- package/dist/stacking-group.js +7 -7
- package/dist/text-field-components.js +4 -4
- package/dist/utils/aspect-ratio-support.js +18 -18
- package/dist-es/accordion.js +131 -121
- package/dist-es/community/blocks.js +1 -0
- package/dist-es/empty-state.js +9 -8
- package/dist-es/icon-button.js +64 -62
- package/dist-es/icons/icon-chevron.css-mistica.js +5 -0
- package/dist-es/icons/icon-chevron.css.ts.vanilla.css-mistica.js +2 -0
- package/dist-es/icons/icon-chevron.js +26 -24
- package/dist-es/image.js +19 -18
- package/dist-es/list.css-mistica.js +2 -2
- package/dist-es/list.js +321 -429
- package/dist-es/package-version.js +1 -1
- package/dist-es/progress-bar.js +54 -45
- package/dist-es/stacking-group.js +14 -14
- package/dist-es/style.css +1 -1
- package/dist-es/text-field-components.js +11 -11
- package/dist-es/utils/aspect-ratio-support.js +22 -22
- package/package.json +1 -1
package/dist/accordion.js
CHANGED
|
@@ -11,19 +11,16 @@ function _export(target, all) {
|
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
13
|
Accordion: function() {
|
|
14
|
-
return
|
|
14
|
+
return le;
|
|
15
15
|
},
|
|
16
16
|
AccordionItem: function() {
|
|
17
|
-
return
|
|
17
|
+
return ae;
|
|
18
18
|
},
|
|
19
19
|
BoxedAccordion: function() {
|
|
20
|
-
return
|
|
20
|
+
return ue;
|
|
21
21
|
},
|
|
22
22
|
BoxedAccordionItem: function() {
|
|
23
|
-
return
|
|
24
|
-
},
|
|
25
|
-
useAccordionContext: function() {
|
|
26
|
-
return F;
|
|
23
|
+
return me;
|
|
27
24
|
}
|
|
28
25
|
});
|
|
29
26
|
const _jsxruntime = require("react/jsx-runtime");
|
|
@@ -43,6 +40,7 @@ const _themevariantcontext = require("./theme-variant-context.js");
|
|
|
43
40
|
const _hooks = require("./hooks.js");
|
|
44
41
|
const _reacttransitiongroup = require("react-transition-group");
|
|
45
42
|
const _platform = require("./utils/platform.js");
|
|
43
|
+
const _sprinklescssmistica = require("./sprinkles.css-mistica.js");
|
|
46
44
|
function _interop_require_default(obj) {
|
|
47
45
|
return obj && obj.__esModule ? obj : {
|
|
48
46
|
default: obj
|
|
@@ -168,61 +166,61 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
168
166
|
}
|
|
169
167
|
return target;
|
|
170
168
|
}
|
|
171
|
-
const
|
|
169
|
+
const C = 400, g = /*#__PURE__*/ _react.createContext({
|
|
172
170
|
index: [],
|
|
173
|
-
|
|
174
|
-
}),
|
|
175
|
-
let { value:
|
|
176
|
-
const
|
|
177
|
-
|
|
178
|
-
] :
|
|
171
|
+
toggle: ()=>{}
|
|
172
|
+
}), H = ()=>_react.useContext(g), b = (param)=>{
|
|
173
|
+
let { value: t, defaultValue: r, onChange: n, singleOpen: i } = param;
|
|
174
|
+
const u = t !== void 0, d = (e)=>e === void 0 ? [] : typeof e == "number" ? [
|
|
175
|
+
e
|
|
176
|
+
] : e, [c, a] = _react.useState(d(r));
|
|
179
177
|
_react.useEffect(()=>{
|
|
180
|
-
if (c.length > 1 &&
|
|
181
|
-
const
|
|
178
|
+
if (c.length > 1 && i) {
|
|
179
|
+
const e = [
|
|
182
180
|
...c
|
|
183
181
|
];
|
|
184
|
-
|
|
182
|
+
e.splice(1), a(e);
|
|
185
183
|
}
|
|
186
184
|
}, [
|
|
187
|
-
|
|
185
|
+
i,
|
|
188
186
|
c
|
|
189
187
|
]);
|
|
190
|
-
const
|
|
191
|
-
if (!
|
|
192
|
-
|
|
188
|
+
const p = (e, l)=>{
|
|
189
|
+
if (!l) return [
|
|
190
|
+
e
|
|
193
191
|
];
|
|
194
|
-
const
|
|
195
|
-
let
|
|
196
|
-
...
|
|
192
|
+
const m = l.indexOf(e);
|
|
193
|
+
let I = [
|
|
194
|
+
...l
|
|
197
195
|
];
|
|
198
|
-
return
|
|
199
|
-
|
|
200
|
-
] :
|
|
201
|
-
},
|
|
202
|
-
if (
|
|
203
|
-
const
|
|
204
|
-
n(
|
|
196
|
+
return m === -1 ? i ? I = [
|
|
197
|
+
e
|
|
198
|
+
] : I.push(e) : I.splice(m, 1), I;
|
|
199
|
+
}, f = (e)=>{
|
|
200
|
+
if (u || a(p(e, c)), n) {
|
|
201
|
+
const l = (u ? d(t) : c).includes(e);
|
|
202
|
+
n(e, !l);
|
|
205
203
|
}
|
|
206
204
|
};
|
|
207
|
-
return
|
|
208
|
-
d(
|
|
209
|
-
|
|
205
|
+
return u ? [
|
|
206
|
+
d(t),
|
|
207
|
+
f
|
|
210
208
|
] : [
|
|
211
209
|
c,
|
|
212
|
-
|
|
210
|
+
f
|
|
213
211
|
];
|
|
214
|
-
},
|
|
215
|
-
const r =
|
|
216
|
-
if (r) return Array.from(r.querySelectorAll("[data-accordion-item]")).filter((n)=>n.closest("[data-accordion]") === r).findIndex((n)=>n ===
|
|
217
|
-
},
|
|
218
|
-
var { content:
|
|
212
|
+
}, U = (t)=>{
|
|
213
|
+
const r = t == null ? void 0 : t.closest("[data-accordion]");
|
|
214
|
+
if (r) return Array.from(r.querySelectorAll("[data-accordion-item]")).filter((n)=>n.closest("[data-accordion]") === r).findIndex((n)=>n === t);
|
|
215
|
+
}, N = /*#__PURE__*/ _react.forwardRef((_param, u)=>{
|
|
216
|
+
var { content: t, dataAttributes: r, trackingEvent: n } = _param, i = _object_without_properties(_param, [
|
|
219
217
|
"content",
|
|
220
218
|
"dataAttributes",
|
|
221
219
|
"trackingEvent"
|
|
222
220
|
]);
|
|
223
|
-
const d = _react.useRef(null), c = _react.useRef(null), { index: a,
|
|
221
|
+
const d = _react.useRef(null), c = _react.useRef(null), { index: a, toggle: p } = H(), f = (0, _themevariantcontext.useIsInverseVariant)(), e = (0, _hooks.useAriaId)(), l = (0, _hooks.useAriaId)(), [m, I] = _react.useState(), x = m !== void 0 && (a == null ? void 0 : a.includes(m));
|
|
224
222
|
return _react.useEffect(()=>{
|
|
225
|
-
|
|
223
|
+
I(U(c.current));
|
|
226
224
|
}, []), /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", _object_spread_props(_object_spread({
|
|
227
225
|
ref: c
|
|
228
226
|
}, (0, _dom.getPrefixedDataAttributes)(_object_spread_props(_object_spread({}, r), {
|
|
@@ -230,27 +228,26 @@ const z = 400, v = /*#__PURE__*/ _react.createContext({
|
|
|
230
228
|
}))), {
|
|
231
229
|
children: [
|
|
232
230
|
/* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, {
|
|
233
|
-
ref:
|
|
234
|
-
className: (0, _classnames.default)(_accordioncssmistica.itemContent,
|
|
231
|
+
ref: u,
|
|
232
|
+
className: (0, _classnames.default)(_accordioncssmistica.itemContent, f ? _accordioncssmistica.touchableBackgroundInverse : _accordioncssmistica.touchableBackground),
|
|
235
233
|
onPress: ()=>{
|
|
236
|
-
|
|
234
|
+
m !== void 0 && p(m);
|
|
237
235
|
},
|
|
238
236
|
trackingEvent: n,
|
|
239
237
|
"aria-expanded": x,
|
|
240
|
-
"aria-controls":
|
|
238
|
+
"aria-controls": l,
|
|
241
239
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
242
240
|
paddingX: 16,
|
|
243
241
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_list.Content, _object_spread_props(_object_spread({
|
|
244
|
-
labelId:
|
|
245
|
-
|
|
246
|
-
}, s), {
|
|
242
|
+
labelId: e
|
|
243
|
+
}, i), {
|
|
247
244
|
right: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
248
245
|
className: _accordioncssmistica.chevronContainer,
|
|
249
246
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconchevron.default, {
|
|
250
247
|
size: 24,
|
|
251
|
-
transitionDuration:
|
|
248
|
+
transitionDuration: C,
|
|
252
249
|
direction: x ? "up" : "down",
|
|
253
|
-
color:
|
|
250
|
+
color: f ? _skincontractcssmistica.vars.colors.inverse : x ? _skincontractcssmistica.vars.colors.neutralHigh : _skincontractcssmistica.vars.colors.neutralMedium
|
|
254
251
|
})
|
|
255
252
|
})
|
|
256
253
|
}))
|
|
@@ -258,7 +255,7 @@ const z = 400, v = /*#__PURE__*/ _react.createContext({
|
|
|
258
255
|
}),
|
|
259
256
|
/* @__PURE__ */ (0, _jsxruntime.jsx)(_reacttransitiongroup.CSSTransition, {
|
|
260
257
|
in: x,
|
|
261
|
-
timeout: (0, _platform.isRunningAcceptanceTest)() ? 0 :
|
|
258
|
+
timeout: (0, _platform.isRunningAcceptanceTest)() ? 0 : C,
|
|
262
259
|
nodeRef: d,
|
|
263
260
|
classNames: _accordioncssmistica.panelTransitionClasses,
|
|
264
261
|
mountOnEnter: !0,
|
|
@@ -269,88 +266,98 @@ const z = 400, v = /*#__PURE__*/ _react.createContext({
|
|
|
269
266
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
270
267
|
className: _accordioncssmistica.panel,
|
|
271
268
|
role: "region",
|
|
272
|
-
"aria-labelledby":
|
|
273
|
-
id:
|
|
269
|
+
"aria-labelledby": e,
|
|
270
|
+
id: l,
|
|
274
271
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
275
272
|
paddingX: 16,
|
|
276
273
|
paddingBottom: 16,
|
|
277
|
-
children:
|
|
274
|
+
children: t
|
|
278
275
|
})
|
|
279
276
|
})
|
|
280
277
|
})
|
|
281
278
|
})
|
|
282
279
|
]
|
|
283
280
|
}));
|
|
284
|
-
}),
|
|
285
|
-
var { dataAttributes:
|
|
286
|
-
"dataAttributes"
|
|
281
|
+
}), ae = /*#__PURE__*/ _react.forwardRef((_param, i)=>{
|
|
282
|
+
var { dataAttributes: t, role: r } = _param, n = _object_without_properties(_param, [
|
|
283
|
+
"dataAttributes",
|
|
284
|
+
"role"
|
|
287
285
|
]);
|
|
288
|
-
return /* @__PURE__ */ (0, _jsxruntime.jsx)(
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
},
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
286
|
+
return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
287
|
+
role: r,
|
|
288
|
+
className: (0, _sprinklescssmistica.sprinkles)({
|
|
289
|
+
width: "100%"
|
|
290
|
+
}),
|
|
291
|
+
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(N, _object_spread_props(_object_spread({}, n), {
|
|
292
|
+
ref: i,
|
|
293
|
+
dataAttributes: _object_spread({
|
|
294
|
+
"component-name": "AccordionItem"
|
|
295
|
+
}, t)
|
|
296
|
+
}))
|
|
297
|
+
});
|
|
298
|
+
}), le = (param)=>{
|
|
299
|
+
let { children: t, dataAttributes: r, index: n, defaultIndex: i, onChange: u, singleOpen: d, role: c } = param;
|
|
300
|
+
const [a, p] = b({
|
|
297
301
|
value: n,
|
|
298
|
-
defaultValue:
|
|
299
|
-
onChange:
|
|
302
|
+
defaultValue: i,
|
|
303
|
+
onChange: u,
|
|
300
304
|
singleOpen: d
|
|
301
|
-
}),
|
|
302
|
-
return /* @__PURE__ */ (0, _jsxruntime.jsx)(
|
|
305
|
+
}), f = _react.Children.toArray(t).filter(Boolean), e = f.length - 1;
|
|
306
|
+
return /* @__PURE__ */ (0, _jsxruntime.jsx)(g.Provider, {
|
|
303
307
|
value: {
|
|
304
|
-
index:
|
|
305
|
-
|
|
308
|
+
index: a,
|
|
309
|
+
toggle: p
|
|
306
310
|
},
|
|
307
|
-
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({
|
|
311
|
+
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({
|
|
312
|
+
role: c
|
|
313
|
+
}, (0, _dom.getPrefixedDataAttributes)(_object_spread_props(_object_spread({}, r), {
|
|
308
314
|
accordion: !0
|
|
309
315
|
}), "Accordion")), {
|
|
310
|
-
children:
|
|
316
|
+
children: f.map((l, m)=>/* @__PURE__ */ (0, _jsxruntime.jsxs)(_react.Fragment, {
|
|
311
317
|
children: [
|
|
312
|
-
|
|
313
|
-
|
|
318
|
+
l,
|
|
319
|
+
m < e && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
314
320
|
paddingX: 16,
|
|
315
321
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_divider.default, {})
|
|
316
322
|
})
|
|
317
323
|
]
|
|
318
|
-
},
|
|
324
|
+
}, m))
|
|
319
325
|
}))
|
|
320
326
|
});
|
|
321
|
-
},
|
|
322
|
-
var { dataAttributes:
|
|
327
|
+
}, me = /*#__PURE__*/ _react.forwardRef((_param, i)=>{
|
|
328
|
+
var { dataAttributes: t, isInverse: r } = _param, n = _object_without_properties(_param, [
|
|
323
329
|
"dataAttributes",
|
|
324
330
|
"isInverse"
|
|
325
331
|
]);
|
|
326
332
|
return /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.Boxed, {
|
|
327
333
|
isInverse: r,
|
|
328
|
-
ref:
|
|
334
|
+
ref: i,
|
|
329
335
|
dataAttributes: _object_spread({
|
|
330
336
|
"component-name": "BoxedAccordionItem"
|
|
331
|
-
},
|
|
332
|
-
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(
|
|
337
|
+
}, t),
|
|
338
|
+
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(N, _object_spread({}, n))
|
|
333
339
|
});
|
|
334
|
-
}),
|
|
335
|
-
let { children:
|
|
336
|
-
const [
|
|
340
|
+
}), ue = (param)=>{
|
|
341
|
+
let { children: t, dataAttributes: r, index: n, defaultIndex: i, onChange: u, singleOpen: d, role: c } = param;
|
|
342
|
+
const [a, p] = b({
|
|
337
343
|
value: n,
|
|
338
|
-
defaultValue:
|
|
339
|
-
onChange:
|
|
344
|
+
defaultValue: i,
|
|
345
|
+
onChange: u,
|
|
340
346
|
singleOpen: d
|
|
341
347
|
});
|
|
342
|
-
return /* @__PURE__ */ (0, _jsxruntime.jsx)(
|
|
348
|
+
return /* @__PURE__ */ (0, _jsxruntime.jsx)(g.Provider, {
|
|
343
349
|
value: {
|
|
344
|
-
index:
|
|
345
|
-
|
|
350
|
+
index: a,
|
|
351
|
+
toggle: p
|
|
346
352
|
},
|
|
347
353
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_stack.default, {
|
|
348
354
|
space: 16,
|
|
355
|
+
role: c,
|
|
349
356
|
dataAttributes: _object_spread({
|
|
350
357
|
"component-name": "BoxedAccordion",
|
|
351
358
|
accordion: !0
|
|
352
359
|
}, r),
|
|
353
|
-
children:
|
|
360
|
+
children: t
|
|
354
361
|
})
|
|
355
362
|
});
|
|
356
363
|
};
|
package/dist/community/blocks.js
CHANGED
package/dist/empty-state.js
CHANGED
|
@@ -80,9 +80,9 @@ function _object_spread_props(target, source) {
|
|
|
80
80
|
}
|
|
81
81
|
return target;
|
|
82
82
|
}
|
|
83
|
-
const
|
|
84
|
-
let { title: c, titleAs: p = "h1", description: d, button: e, buttonLink: f, largeImageUrl: o, imageUrl: i, icon: m, "aria-label": g, dataAttributes:
|
|
85
|
-
const { isDarkMode:
|
|
83
|
+
const G = (param)=>{
|
|
84
|
+
let { title: c, titleAs: p = "h1", description: d, button: e, buttonLink: f, largeImageUrl: o, imageUrl: i, icon: m, "aria-label": g, dataAttributes: h } = param;
|
|
85
|
+
const { isDarkMode: v } = (0, _hooks.useTheme)(), s = (0, _themevariantcontext.useIsInverseVariant)(), u = i ? /* @__PURE__ */ (0, _jsxruntime.jsx)("img", {
|
|
86
86
|
className: _emptystatecssmistica.smallImage,
|
|
87
87
|
alt: "",
|
|
88
88
|
src: i
|
|
@@ -98,11 +98,11 @@ const M = (param)=>{
|
|
|
98
98
|
border: "regular"
|
|
99
99
|
})),
|
|
100
100
|
style: (0, _css.applyCssVars)({
|
|
101
|
-
[_emptystatecssmistica.vars.backgroundColor]: s && !
|
|
101
|
+
[_emptystatecssmistica.vars.backgroundColor]: s && !v ? _skincontractcssmistica.vars.colors.backgroundBrand : _skincontractcssmistica.vars.colors.backgroundContainer
|
|
102
102
|
}),
|
|
103
103
|
"aria-label": g,
|
|
104
104
|
role: "region"
|
|
105
|
-
}, (0, _dom.getPrefixedDataAttributes)(
|
|
105
|
+
}, (0, _dom.getPrefixedDataAttributes)(h, "EmptyState")), {
|
|
106
106
|
children: [
|
|
107
107
|
/* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
108
108
|
style: {
|
|
@@ -144,6 +144,7 @@ const M = (param)=>{
|
|
|
144
144
|
aspectRatio: 16 / 9,
|
|
145
145
|
className: _emptystatecssmistica.largeImageContainer,
|
|
146
146
|
height: "100%",
|
|
147
|
+
width: "100%",
|
|
147
148
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
148
149
|
className: _emptystatecssmistica.largeImage,
|
|
149
150
|
style: {
|
|
@@ -154,4 +155,4 @@ const M = (param)=>{
|
|
|
154
155
|
})
|
|
155
156
|
]
|
|
156
157
|
}));
|
|
157
|
-
}, _ =
|
|
158
|
+
}, _ = G;
|
package/dist/icon-button.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ interface BaseProps {
|
|
|
76
76
|
bleedLeft?: boolean;
|
|
77
77
|
bleedRight?: boolean;
|
|
78
78
|
bleedY?: boolean;
|
|
79
|
+
role?: string;
|
|
79
80
|
}
|
|
80
81
|
interface IconButtonBaseProps {
|
|
81
82
|
Icon: React.FC<IconProps>;
|
|
@@ -230,6 +231,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
230
231
|
bleedLeft?: boolean | undefined;
|
|
231
232
|
bleedRight?: boolean | undefined;
|
|
232
233
|
bleedY?: boolean | undefined;
|
|
234
|
+
role?: string | undefined;
|
|
233
235
|
Icon: React.FC<IconProps>;
|
|
234
236
|
type?: IconButtonType | undefined;
|
|
235
237
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -243,7 +245,6 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
243
245
|
loadOnTop?: undefined;
|
|
244
246
|
onNavigate?: undefined;
|
|
245
247
|
fullPageOnWebView?: undefined;
|
|
246
|
-
role?: string | undefined;
|
|
247
248
|
isOverMedia?: boolean | undefined;
|
|
248
249
|
hasOverlay?: boolean | undefined;
|
|
249
250
|
backgroundColor?: undefined;
|
|
@@ -263,6 +264,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
263
264
|
bleedLeft?: boolean | undefined;
|
|
264
265
|
bleedRight?: boolean | undefined;
|
|
265
266
|
bleedY?: boolean | undefined;
|
|
267
|
+
role?: string | undefined;
|
|
266
268
|
Icon: React.FC<IconProps>;
|
|
267
269
|
type?: IconButtonType | undefined;
|
|
268
270
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -276,7 +278,6 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
276
278
|
loadOnTop?: undefined;
|
|
277
279
|
onNavigate?: undefined;
|
|
278
280
|
fullPageOnWebView?: undefined;
|
|
279
|
-
role?: string | undefined;
|
|
280
281
|
isOverMedia?: boolean | undefined;
|
|
281
282
|
hasOverlay?: boolean | undefined;
|
|
282
283
|
backgroundColor?: undefined;
|
|
@@ -297,6 +298,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
297
298
|
bleedLeft?: boolean | undefined;
|
|
298
299
|
bleedRight?: boolean | undefined;
|
|
299
300
|
bleedY?: boolean | undefined;
|
|
301
|
+
role?: string | undefined;
|
|
300
302
|
Icon: React.FC<IconProps>;
|
|
301
303
|
type?: IconButtonType | undefined;
|
|
302
304
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -309,7 +311,6 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
309
311
|
loadOnTop?: undefined;
|
|
310
312
|
onNavigate?: undefined;
|
|
311
313
|
fullPageOnWebView?: undefined;
|
|
312
|
-
role?: string | undefined;
|
|
313
314
|
isOverMedia?: boolean | undefined;
|
|
314
315
|
hasOverlay?: boolean | undefined;
|
|
315
316
|
backgroundColor?: undefined;
|
|
@@ -330,6 +331,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
330
331
|
bleedLeft?: boolean | undefined;
|
|
331
332
|
bleedRight?: boolean | undefined;
|
|
332
333
|
bleedY?: boolean | undefined;
|
|
334
|
+
role?: string | undefined;
|
|
333
335
|
Icon: React.FC<IconProps>;
|
|
334
336
|
type?: IconButtonType | undefined;
|
|
335
337
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -342,7 +344,6 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
342
344
|
loadOnTop?: undefined;
|
|
343
345
|
onNavigate?: undefined;
|
|
344
346
|
fullPageOnWebView?: undefined;
|
|
345
|
-
role?: string | undefined;
|
|
346
347
|
isOverMedia?: boolean | undefined;
|
|
347
348
|
hasOverlay?: boolean | undefined;
|
|
348
349
|
backgroundColor?: undefined;
|
|
@@ -366,6 +367,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
366
367
|
bleedLeft?: boolean | undefined;
|
|
367
368
|
bleedRight?: boolean | undefined;
|
|
368
369
|
bleedY?: boolean | undefined;
|
|
370
|
+
role?: string | undefined;
|
|
369
371
|
Icon: React.FC<IconProps>;
|
|
370
372
|
type?: IconButtonType | undefined;
|
|
371
373
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -375,7 +377,6 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
375
377
|
to?: undefined;
|
|
376
378
|
onPress?: undefined;
|
|
377
379
|
fullPageOnWebView?: undefined;
|
|
378
|
-
role?: string | undefined;
|
|
379
380
|
isOverMedia?: boolean | undefined;
|
|
380
381
|
hasOverlay?: boolean | undefined;
|
|
381
382
|
backgroundColor?: undefined;
|
|
@@ -399,6 +400,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
399
400
|
bleedLeft?: boolean | undefined;
|
|
400
401
|
bleedRight?: boolean | undefined;
|
|
401
402
|
bleedY?: boolean | undefined;
|
|
403
|
+
role?: string | undefined;
|
|
402
404
|
Icon: React.FC<IconProps>;
|
|
403
405
|
type?: IconButtonType | undefined;
|
|
404
406
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -408,7 +410,6 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
408
410
|
to?: undefined;
|
|
409
411
|
onPress?: undefined;
|
|
410
412
|
fullPageOnWebView?: undefined;
|
|
411
|
-
role?: string | undefined;
|
|
412
413
|
isOverMedia?: boolean | undefined;
|
|
413
414
|
hasOverlay?: boolean | undefined;
|
|
414
415
|
backgroundColor?: undefined;
|
|
@@ -432,6 +433,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
432
433
|
bleedLeft?: boolean | undefined;
|
|
433
434
|
bleedRight?: boolean | undefined;
|
|
434
435
|
bleedY?: boolean | undefined;
|
|
436
|
+
role?: string | undefined;
|
|
435
437
|
Icon: React.FC<IconProps>;
|
|
436
438
|
type?: IconButtonType | undefined;
|
|
437
439
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -441,7 +443,6 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
441
443
|
onPress?: undefined;
|
|
442
444
|
newTab?: undefined;
|
|
443
445
|
loadOnTop?: undefined;
|
|
444
|
-
role?: string | undefined;
|
|
445
446
|
isOverMedia?: boolean | undefined;
|
|
446
447
|
hasOverlay?: boolean | undefined;
|
|
447
448
|
backgroundColor?: undefined;
|
|
@@ -465,6 +466,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
465
466
|
bleedLeft?: boolean | undefined;
|
|
466
467
|
bleedRight?: boolean | undefined;
|
|
467
468
|
bleedY?: boolean | undefined;
|
|
469
|
+
role?: string | undefined;
|
|
468
470
|
Icon: React.FC<IconProps>;
|
|
469
471
|
type?: IconButtonType | undefined;
|
|
470
472
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -474,7 +476,6 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
474
476
|
onPress?: undefined;
|
|
475
477
|
newTab?: undefined;
|
|
476
478
|
loadOnTop?: undefined;
|
|
477
|
-
role?: string | undefined;
|
|
478
479
|
isOverMedia?: boolean | undefined;
|
|
479
480
|
hasOverlay?: boolean | undefined;
|
|
480
481
|
backgroundColor?: undefined;
|
|
@@ -619,6 +620,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
619
620
|
bleedLeft?: boolean | undefined;
|
|
620
621
|
bleedRight?: boolean | undefined;
|
|
621
622
|
bleedY?: boolean | undefined;
|
|
623
|
+
role?: string | undefined;
|
|
622
624
|
Icon: React.FC<IconProps>;
|
|
623
625
|
type?: IconButtonType | undefined;
|
|
624
626
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -632,7 +634,6 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
632
634
|
loadOnTop?: undefined;
|
|
633
635
|
onNavigate?: undefined;
|
|
634
636
|
fullPageOnWebView?: undefined;
|
|
635
|
-
role?: string | undefined;
|
|
636
637
|
backgroundColor?: undefined;
|
|
637
638
|
size?: undefined;
|
|
638
639
|
style?: undefined;
|
|
@@ -650,6 +651,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
650
651
|
bleedLeft?: boolean | undefined;
|
|
651
652
|
bleedRight?: boolean | undefined;
|
|
652
653
|
bleedY?: boolean | undefined;
|
|
654
|
+
role?: string | undefined;
|
|
653
655
|
Icon: React.FC<IconProps>;
|
|
654
656
|
type?: IconButtonType | undefined;
|
|
655
657
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -663,7 +665,6 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
663
665
|
loadOnTop?: undefined;
|
|
664
666
|
onNavigate?: undefined;
|
|
665
667
|
fullPageOnWebView?: undefined;
|
|
666
|
-
role?: string | undefined;
|
|
667
668
|
backgroundColor?: undefined;
|
|
668
669
|
size?: undefined;
|
|
669
670
|
style?: undefined;
|
|
@@ -682,6 +683,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
682
683
|
bleedLeft?: boolean | undefined;
|
|
683
684
|
bleedRight?: boolean | undefined;
|
|
684
685
|
bleedY?: boolean | undefined;
|
|
686
|
+
role?: string | undefined;
|
|
685
687
|
Icon: React.FC<IconProps>;
|
|
686
688
|
type?: IconButtonType | undefined;
|
|
687
689
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -694,7 +696,6 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
694
696
|
loadOnTop?: undefined;
|
|
695
697
|
onNavigate?: undefined;
|
|
696
698
|
fullPageOnWebView?: undefined;
|
|
697
|
-
role?: string | undefined;
|
|
698
699
|
backgroundColor?: undefined;
|
|
699
700
|
size?: undefined;
|
|
700
701
|
style?: undefined;
|
|
@@ -713,6 +714,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
713
714
|
bleedLeft?: boolean | undefined;
|
|
714
715
|
bleedRight?: boolean | undefined;
|
|
715
716
|
bleedY?: boolean | undefined;
|
|
717
|
+
role?: string | undefined;
|
|
716
718
|
Icon: React.FC<IconProps>;
|
|
717
719
|
type?: IconButtonType | undefined;
|
|
718
720
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -725,7 +727,6 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
725
727
|
loadOnTop?: undefined;
|
|
726
728
|
onNavigate?: undefined;
|
|
727
729
|
fullPageOnWebView?: undefined;
|
|
728
|
-
role?: string | undefined;
|
|
729
730
|
backgroundColor?: undefined;
|
|
730
731
|
size?: undefined;
|
|
731
732
|
style?: undefined;
|
|
@@ -747,6 +748,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
747
748
|
bleedLeft?: boolean | undefined;
|
|
748
749
|
bleedRight?: boolean | undefined;
|
|
749
750
|
bleedY?: boolean | undefined;
|
|
751
|
+
role?: string | undefined;
|
|
750
752
|
Icon: React.FC<IconProps>;
|
|
751
753
|
type?: IconButtonType | undefined;
|
|
752
754
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -756,7 +758,6 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
756
758
|
to?: undefined;
|
|
757
759
|
onPress?: undefined;
|
|
758
760
|
fullPageOnWebView?: undefined;
|
|
759
|
-
role?: string | undefined;
|
|
760
761
|
backgroundColor?: undefined;
|
|
761
762
|
size?: undefined;
|
|
762
763
|
style?: undefined;
|
|
@@ -778,6 +779,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
778
779
|
bleedLeft?: boolean | undefined;
|
|
779
780
|
bleedRight?: boolean | undefined;
|
|
780
781
|
bleedY?: boolean | undefined;
|
|
782
|
+
role?: string | undefined;
|
|
781
783
|
Icon: React.FC<IconProps>;
|
|
782
784
|
type?: IconButtonType | undefined;
|
|
783
785
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -787,7 +789,6 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
787
789
|
to?: undefined;
|
|
788
790
|
onPress?: undefined;
|
|
789
791
|
fullPageOnWebView?: undefined;
|
|
790
|
-
role?: string | undefined;
|
|
791
792
|
backgroundColor?: undefined;
|
|
792
793
|
size?: undefined;
|
|
793
794
|
style?: undefined;
|
|
@@ -809,6 +810,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
809
810
|
bleedLeft?: boolean | undefined;
|
|
810
811
|
bleedRight?: boolean | undefined;
|
|
811
812
|
bleedY?: boolean | undefined;
|
|
813
|
+
role?: string | undefined;
|
|
812
814
|
Icon: React.FC<IconProps>;
|
|
813
815
|
type?: IconButtonType | undefined;
|
|
814
816
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -818,7 +820,6 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
818
820
|
onPress?: undefined;
|
|
819
821
|
newTab?: undefined;
|
|
820
822
|
loadOnTop?: undefined;
|
|
821
|
-
role?: string | undefined;
|
|
822
823
|
backgroundColor?: undefined;
|
|
823
824
|
size?: undefined;
|
|
824
825
|
style?: undefined;
|
|
@@ -840,6 +841,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
840
841
|
bleedLeft?: boolean | undefined;
|
|
841
842
|
bleedRight?: boolean | undefined;
|
|
842
843
|
bleedY?: boolean | undefined;
|
|
844
|
+
role?: string | undefined;
|
|
843
845
|
Icon: React.FC<IconProps>;
|
|
844
846
|
type?: IconButtonType | undefined;
|
|
845
847
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
@@ -849,7 +851,6 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
849
851
|
onPress?: undefined;
|
|
850
852
|
newTab?: undefined;
|
|
851
853
|
loadOnTop?: undefined;
|
|
852
|
-
role?: string | undefined;
|
|
853
854
|
backgroundColor?: undefined;
|
|
854
855
|
size?: undefined;
|
|
855
856
|
style?: undefined;
|