@telefonica/mistica 14.16.1 → 14.17.1
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/button.css-mistica.js +19 -16
- package/dist/button.css.d.ts +1 -0
- package/dist/button.d.ts +6 -1
- package/dist/button.js +161 -115
- package/dist/card.js +41 -41
- package/dist/list.css-mistica.js +20 -11
- package/dist/list.css.d.ts +3 -0
- package/dist/list.d.ts +1 -0
- package/dist/list.js +121 -108
- package/dist/package-version.js +1 -1
- package/dist/skins/blau.js +11 -10
- package/dist/skins/defaults.js +1 -0
- package/dist/skins/movistar-legacy.js +11 -10
- package/dist/skins/movistar.js +11 -10
- package/dist/skins/o2.js +11 -10
- package/dist/skins/telefonica.js +11 -10
- package/dist/skins/types/index.d.ts +1 -0
- package/dist/skins/vivo-new.js +11 -10
- package/dist/skins/vivo.js +11 -10
- package/dist/spinner.css-mistica.js +4 -4
- package/dist/tabs.js +13 -13
- package/dist-es/button.css-mistica.js +3 -3
- package/dist-es/button.js +201 -155
- package/dist-es/card.js +66 -66
- package/dist-es/list.css-mistica.js +2 -2
- package/dist-es/list.js +159 -146
- package/dist-es/package-version.js +1 -1
- package/dist-es/skins/blau.js +11 -10
- package/dist-es/skins/defaults.js +1 -0
- package/dist-es/skins/movistar-legacy.js +11 -10
- package/dist-es/skins/movistar.js +11 -10
- package/dist-es/skins/o2.js +11 -10
- package/dist-es/skins/telefonica.js +11 -10
- package/dist-es/skins/vivo-new.js +11 -10
- package/dist-es/skins/vivo.js +11 -10
- package/dist-es/spinner.css-mistica.js +2 -2
- package/dist-es/style.css +1 -1
- package/dist-es/tabs.js +18 -18
- package/package.json +1 -1
package/dist-es/list.js
CHANGED
|
@@ -77,25 +77,25 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
77
77
|
}
|
|
78
78
|
return target;
|
|
79
79
|
}
|
|
80
|
-
import { jsx as t, jsxs as
|
|
81
|
-
import * as
|
|
80
|
+
import { jsx as t, jsxs as R } from "react/jsx-runtime";
|
|
81
|
+
import * as C from "react";
|
|
82
82
|
import o from "classnames";
|
|
83
83
|
import { BaseTouchable as L } from "./touchable.js";
|
|
84
|
-
import { Text1 as
|
|
85
|
-
import
|
|
86
|
-
import
|
|
87
|
-
import
|
|
88
|
-
import { useAriaId as
|
|
84
|
+
import { Text1 as p, Text3 as ee, Text2 as j } from "./text.js";
|
|
85
|
+
import m from "./box.js";
|
|
86
|
+
import P from "./stack.js";
|
|
87
|
+
import z from "./badge.js";
|
|
88
|
+
import { useAriaId as te } from "./hooks.js";
|
|
89
89
|
import { useIsInverseVariant as Z } from "./theme-variant-context.js";
|
|
90
|
-
import
|
|
90
|
+
import ne from "./icons/icon-chevron.js";
|
|
91
91
|
import re from "./switch-component.js";
|
|
92
92
|
import G, { useRadioContext as ie } from "./radio-button.js";
|
|
93
93
|
import ae from "./checkbox.js";
|
|
94
94
|
import { Boxed as oe } from "./boxed.js";
|
|
95
95
|
import ce from "./divider.js";
|
|
96
96
|
import { getPrefixedDataAttributes as de } from "./utils/dom.js";
|
|
97
|
-
import { rowContent as
|
|
98
|
-
import { vars as
|
|
97
|
+
import { rowContent as N, hoverBackground as w, pointer as A, dualActionContainer as H, dualActionLeft as J, dualActionDivider as K, dualActionRight as se, content as le, center as D, disabled as k, asset as he, rowBody as me, right as ue, rightRestrictedWidth as fe, detail as ge, detailRight as Q, badge as ve } from "./list.css-mistica.js";
|
|
98
|
+
import { vars as y } from "./skins/skin-contract.css-mistica.js";
|
|
99
99
|
const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
100
100
|
centerY: r
|
|
101
101
|
}) : r ? /* @__PURE__ */ t("div", {
|
|
@@ -105,76 +105,80 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
105
105
|
height: "100%"
|
|
106
106
|
},
|
|
107
107
|
children: e
|
|
108
|
-
}) : e,
|
|
109
|
-
let { withChevron: e , headline: r , title: i , titleLinesMax: a , subtitle:
|
|
110
|
-
const
|
|
108
|
+
}) : e, be = (param)=>{
|
|
109
|
+
let { withChevron: e , headline: r , title: i , titleLinesMax: a , subtitle: s , subtitleLinesMax: b , description: l , descriptionLinesMax: B , detail: c , asset: T , type: f = "basic" , badge: I , right: S , extra: V , labelId: h , disabled: g } = param;
|
|
110
|
+
const u = Z(), n = [
|
|
111
111
|
r,
|
|
112
112
|
i,
|
|
113
|
-
d,
|
|
114
113
|
s,
|
|
114
|
+
l,
|
|
115
115
|
V
|
|
116
|
-
].filter(Boolean).length === 1,
|
|
116
|
+
].filter(Boolean).length === 1, E = ()=>I ? /* @__PURE__ */ t(m, {
|
|
117
117
|
paddingLeft: 16,
|
|
118
118
|
children: /* @__PURE__ */ t("div", {
|
|
119
|
-
className: o(
|
|
120
|
-
[
|
|
119
|
+
className: o(D, ve, {
|
|
120
|
+
[k]: g
|
|
121
121
|
}),
|
|
122
|
-
children: I === !0 ? /* @__PURE__ */ t(
|
|
122
|
+
children: I === !0 ? /* @__PURE__ */ t(z, {}) : /* @__PURE__ */ t(z, {
|
|
123
123
|
value: I
|
|
124
124
|
})
|
|
125
125
|
})
|
|
126
126
|
}) : null;
|
|
127
|
-
return /* @__PURE__ */
|
|
127
|
+
return /* @__PURE__ */ R(m, {
|
|
128
128
|
paddingY: 16,
|
|
129
|
-
className:
|
|
129
|
+
className: le,
|
|
130
130
|
children: [
|
|
131
|
-
|
|
131
|
+
T && /* @__PURE__ */ t(m, {
|
|
132
132
|
paddingRight: 16,
|
|
133
133
|
className: o({
|
|
134
|
-
[
|
|
135
|
-
[
|
|
134
|
+
[D]: n,
|
|
135
|
+
[k]: g
|
|
136
136
|
}),
|
|
137
137
|
children: /* @__PURE__ */ t("div", {
|
|
138
138
|
className: he,
|
|
139
|
-
children:
|
|
139
|
+
children: T
|
|
140
140
|
})
|
|
141
141
|
}),
|
|
142
142
|
/* @__PURE__ */ t("div", {
|
|
143
143
|
className: o(me, {
|
|
144
|
-
[
|
|
144
|
+
[k]: g
|
|
145
145
|
}),
|
|
146
146
|
style: {
|
|
147
147
|
justifyContent: n ? "center" : "flex-start"
|
|
148
148
|
},
|
|
149
|
-
children: /* @__PURE__ */
|
|
149
|
+
children: /* @__PURE__ */ R(P, {
|
|
150
150
|
space: 4,
|
|
151
151
|
children: [
|
|
152
|
-
r && /* @__PURE__ */ t(
|
|
152
|
+
r && /* @__PURE__ */ t(p, {
|
|
153
153
|
regular: !0,
|
|
154
|
-
color:
|
|
154
|
+
color: y.colors.textPrimary,
|
|
155
|
+
hyphens: "auto",
|
|
155
156
|
children: r
|
|
156
157
|
}),
|
|
157
|
-
/* @__PURE__ */
|
|
158
|
+
/* @__PURE__ */ R(P, {
|
|
158
159
|
space: 2,
|
|
159
160
|
children: [
|
|
160
|
-
/* @__PURE__ */ t(
|
|
161
|
+
/* @__PURE__ */ t(ee, {
|
|
161
162
|
regular: !0,
|
|
162
|
-
color:
|
|
163
|
+
color: y.colors.textPrimary,
|
|
163
164
|
truncate: a,
|
|
164
165
|
id: h,
|
|
166
|
+
hyphens: "auto",
|
|
165
167
|
children: i
|
|
166
168
|
}),
|
|
167
|
-
|
|
169
|
+
s && /* @__PURE__ */ t(j, {
|
|
168
170
|
regular: !0,
|
|
169
|
-
color:
|
|
170
|
-
truncate:
|
|
171
|
-
|
|
171
|
+
color: y.colors.textSecondary,
|
|
172
|
+
truncate: b,
|
|
173
|
+
hyphens: "auto",
|
|
174
|
+
children: s
|
|
172
175
|
}),
|
|
173
|
-
|
|
176
|
+
l && /* @__PURE__ */ t(j, {
|
|
174
177
|
regular: !0,
|
|
175
|
-
color:
|
|
176
|
-
truncate:
|
|
177
|
-
|
|
178
|
+
color: y.colors.textSecondary,
|
|
179
|
+
truncate: B,
|
|
180
|
+
hyphens: "auto",
|
|
181
|
+
children: l
|
|
178
182
|
}),
|
|
179
183
|
V
|
|
180
184
|
]
|
|
@@ -182,36 +186,44 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
182
186
|
]
|
|
183
187
|
})
|
|
184
188
|
}),
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
[
|
|
189
|
+
E(),
|
|
190
|
+
/* @__PURE__ */ R("div", {
|
|
191
|
+
className: o({
|
|
192
|
+
[ue]: !!c || f !== "basic",
|
|
193
|
+
[fe]: !!c
|
|
190
194
|
}),
|
|
191
|
-
children: /* @__PURE__ */ t(z, {
|
|
192
|
-
color: m ? g.colors.inverse : g.colors.neutralMedium,
|
|
193
|
-
direction: "right"
|
|
194
|
-
})
|
|
195
|
-
}),
|
|
196
|
-
B === "control" && /* @__PURE__ */ t("div", {
|
|
197
|
-
className: Q,
|
|
198
|
-
children: U(T, n)
|
|
199
|
-
}),
|
|
200
|
-
B === "custom" && /* @__PURE__ */ C(p, {
|
|
201
195
|
children: [
|
|
202
|
-
/* @__PURE__ */ t("div", {
|
|
203
|
-
className: o(
|
|
204
|
-
[
|
|
196
|
+
c && /* @__PURE__ */ t("div", {
|
|
197
|
+
className: o(D, ge, {
|
|
198
|
+
[k]: g
|
|
205
199
|
}),
|
|
206
|
-
children:
|
|
200
|
+
children: /* @__PURE__ */ t(j, {
|
|
201
|
+
regular: !0,
|
|
202
|
+
color: y.colors.textSecondary,
|
|
203
|
+
hyphens: "auto",
|
|
204
|
+
children: c
|
|
205
|
+
})
|
|
206
|
+
}),
|
|
207
|
+
f === "control" && /* @__PURE__ */ t("div", {
|
|
208
|
+
className: o({
|
|
209
|
+
[Q]: !!c
|
|
210
|
+
}),
|
|
211
|
+
children: U(S, n)
|
|
207
212
|
}),
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
[
|
|
213
|
+
f === "custom" && /* @__PURE__ */ t("div", {
|
|
214
|
+
className: o({
|
|
215
|
+
[Q]: !!c,
|
|
216
|
+
[k]: g
|
|
212
217
|
}),
|
|
213
|
-
children:
|
|
214
|
-
|
|
218
|
+
children: U(S, n)
|
|
219
|
+
}),
|
|
220
|
+
(f === "chevron" || f === "custom" && e) && /* @__PURE__ */ t(m, {
|
|
221
|
+
paddingLeft: c || f === "custom" ? 4 : 0,
|
|
222
|
+
className: o(D, {
|
|
223
|
+
[k]: g
|
|
224
|
+
}),
|
|
225
|
+
children: /* @__PURE__ */ t(ne, {
|
|
226
|
+
color: u ? y.colors.inverse : y.colors.neutralMedium,
|
|
215
227
|
direction: "right"
|
|
216
228
|
})
|
|
217
229
|
})
|
|
@@ -219,64 +231,65 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
219
231
|
})
|
|
220
232
|
]
|
|
221
233
|
});
|
|
222
|
-
},
|
|
234
|
+
}, xe = (param)=>{
|
|
223
235
|
let { value: e , defaultValue: r , onChange: i } = param;
|
|
224
|
-
const a = e !== void 0, [
|
|
225
|
-
a ||
|
|
236
|
+
const a = e !== void 0, [s, b] = C.useState(!!r), l = ()=>{
|
|
237
|
+
a || b(!s), i && i(a ? !e : !s);
|
|
226
238
|
};
|
|
227
239
|
return a ? [
|
|
228
240
|
!!e,
|
|
229
|
-
|
|
241
|
+
l
|
|
230
242
|
] : [
|
|
231
|
-
|
|
232
|
-
|
|
243
|
+
s,
|
|
244
|
+
l
|
|
233
245
|
];
|
|
234
|
-
},
|
|
235
|
-
const i =
|
|
236
|
-
let { type:
|
|
237
|
-
return t(
|
|
238
|
-
asset:
|
|
239
|
-
headline:
|
|
240
|
-
title:
|
|
241
|
-
subtitle:
|
|
242
|
-
description:
|
|
246
|
+
}, we = (e)=>e.switch !== void 0, ye = (e)=>e.checkbox !== void 0, Re = (e)=>e.radioValue !== void 0, _ = /*#__PURE__*/ C.forwardRef((e, r)=>{
|
|
247
|
+
const i = te(), a = Z(), { asset: s , headline: b , title: l , titleLinesMax: B , subtitle: c , subtitleLinesMax: T , description: f , descriptionLinesMax: I , detail: S , badge: V , role: h , extra: g , dataAttributes: u } = e, O = ie(), n = e.disabled || e.radioValue !== void 0 && O.disabled, [E, F] = xe(e.switch || e.checkbox || {}), x = (param)=>/* @__PURE__ */ {
|
|
248
|
+
let { type: d , right: v , labelId: X } = param;
|
|
249
|
+
return t(be, {
|
|
250
|
+
asset: s,
|
|
251
|
+
headline: b,
|
|
252
|
+
title: l,
|
|
253
|
+
subtitle: c,
|
|
254
|
+
description: f,
|
|
243
255
|
badge: V,
|
|
244
|
-
titleLinesMax:
|
|
245
|
-
subtitleLinesMax:
|
|
246
|
-
descriptionLinesMax:
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
256
|
+
titleLinesMax: B,
|
|
257
|
+
subtitleLinesMax: T,
|
|
258
|
+
descriptionLinesMax: I,
|
|
259
|
+
detail: S,
|
|
260
|
+
type: d,
|
|
261
|
+
right: v,
|
|
262
|
+
extra: g,
|
|
263
|
+
labelId: X,
|
|
251
264
|
disabled: n,
|
|
252
265
|
withChevron: !!e.onPress || !!e.href || !!e.to
|
|
253
266
|
});
|
|
254
|
-
}, M = (
|
|
255
|
-
let
|
|
256
|
-
return
|
|
267
|
+
}, M = (d)=>{
|
|
268
|
+
let v = "chevron";
|
|
269
|
+
return d.right === null && (v = "basic"), d.right && (v = "custom"), /* @__PURE__ */ t(m, {
|
|
257
270
|
paddingX: 16,
|
|
258
271
|
ref: r,
|
|
259
272
|
children: x({
|
|
260
|
-
type:
|
|
261
|
-
right:
|
|
273
|
+
type: v,
|
|
274
|
+
right: d.right
|
|
262
275
|
})
|
|
263
276
|
});
|
|
264
277
|
};
|
|
265
|
-
if (e.onPress && !
|
|
278
|
+
if (e.onPress && !we(e) && !ye(e) && !Re(e)) return /* @__PURE__ */ t(L, {
|
|
266
279
|
ref: r,
|
|
267
|
-
className: o(
|
|
280
|
+
className: o(N, {
|
|
268
281
|
[w]: !(n || a),
|
|
269
282
|
[A]: !n
|
|
270
283
|
}),
|
|
271
284
|
trackingEvent: e.trackingEvent,
|
|
272
285
|
onPress: e.onPress,
|
|
273
286
|
role: h,
|
|
274
|
-
dataAttributes:
|
|
287
|
+
dataAttributes: u,
|
|
275
288
|
disabled: n,
|
|
276
289
|
children: M(e)
|
|
277
290
|
});
|
|
278
291
|
if (e.to) return /* @__PURE__ */ t(L, {
|
|
279
|
-
className: o(
|
|
292
|
+
className: o(N, {
|
|
280
293
|
[w]: !(n || a),
|
|
281
294
|
[A]: !n
|
|
282
295
|
}),
|
|
@@ -284,12 +297,12 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
284
297
|
to: e.to,
|
|
285
298
|
fullPageOnWebView: e.fullPageOnWebView,
|
|
286
299
|
role: h,
|
|
287
|
-
dataAttributes:
|
|
300
|
+
dataAttributes: u,
|
|
288
301
|
disabled: n,
|
|
289
302
|
children: M(e)
|
|
290
303
|
});
|
|
291
304
|
if (e.href) return /* @__PURE__ */ t(L, {
|
|
292
|
-
className: o(
|
|
305
|
+
className: o(N, {
|
|
293
306
|
[w]: !(n || a),
|
|
294
307
|
[A]: !n
|
|
295
308
|
}),
|
|
@@ -297,19 +310,19 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
297
310
|
href: e.href,
|
|
298
311
|
newTab: e.newTab,
|
|
299
312
|
role: h,
|
|
300
|
-
dataAttributes:
|
|
313
|
+
dataAttributes: u,
|
|
301
314
|
disabled: n,
|
|
302
315
|
children: M(e)
|
|
303
316
|
});
|
|
304
|
-
const
|
|
305
|
-
var
|
|
317
|
+
const Y = (d)=>{
|
|
318
|
+
var X, q;
|
|
306
319
|
var _ref, _ref1;
|
|
307
|
-
const
|
|
308
|
-
return e.onPress ? /* @__PURE__ */
|
|
320
|
+
const v = (_ref1 = (_ref = (X = e.switch) == null ? void 0 : X.name) !== null && _ref !== void 0 ? _ref : (q = e.checkbox) == null ? void 0 : q.name) !== null && _ref1 !== void 0 ? _ref1 : i;
|
|
321
|
+
return e.onPress ? /* @__PURE__ */ R("div", {
|
|
309
322
|
className: H,
|
|
310
323
|
children: [
|
|
311
324
|
/* @__PURE__ */ t(L, {
|
|
312
|
-
dataAttributes:
|
|
325
|
+
dataAttributes: u,
|
|
313
326
|
disabled: n,
|
|
314
327
|
onPress: e.onPress,
|
|
315
328
|
role: h,
|
|
@@ -324,43 +337,43 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
324
337
|
/* @__PURE__ */ t("div", {
|
|
325
338
|
className: K
|
|
326
339
|
}),
|
|
327
|
-
/* @__PURE__ */ t(
|
|
340
|
+
/* @__PURE__ */ t(d, {
|
|
328
341
|
disabled: n,
|
|
329
|
-
name:
|
|
330
|
-
checked:
|
|
342
|
+
name: v,
|
|
343
|
+
checked: E,
|
|
331
344
|
"aria-labelledby": i,
|
|
332
|
-
onChange:
|
|
345
|
+
onChange: F,
|
|
333
346
|
render: (param)=>/* @__PURE__ */ {
|
|
334
|
-
let { controlElement:
|
|
347
|
+
let { controlElement: W } = param;
|
|
335
348
|
return t("div", {
|
|
336
|
-
className:
|
|
337
|
-
children:
|
|
349
|
+
className: se,
|
|
350
|
+
children: W
|
|
338
351
|
});
|
|
339
352
|
}
|
|
340
353
|
})
|
|
341
354
|
]
|
|
342
355
|
}) : /* @__PURE__ */ t("div", {
|
|
343
|
-
className: o(
|
|
356
|
+
className: o(N, {
|
|
344
357
|
[w]: !(n || a),
|
|
345
358
|
[A]: !n
|
|
346
359
|
}),
|
|
347
|
-
children: /* @__PURE__ */ t(
|
|
360
|
+
children: /* @__PURE__ */ t(d, {
|
|
348
361
|
disabled: n,
|
|
349
|
-
dataAttributes:
|
|
350
|
-
name:
|
|
351
|
-
checked:
|
|
352
|
-
onChange:
|
|
362
|
+
dataAttributes: u,
|
|
363
|
+
name: v,
|
|
364
|
+
checked: E,
|
|
365
|
+
onChange: F,
|
|
353
366
|
render: (param)=>/* @__PURE__ */ {
|
|
354
|
-
let { controlElement:
|
|
355
|
-
return t(
|
|
367
|
+
let { controlElement: W , labelId: $ } = param;
|
|
368
|
+
return t(m, {
|
|
356
369
|
paddingX: 16,
|
|
357
370
|
role: h,
|
|
358
371
|
children: x({
|
|
359
372
|
labelId: $,
|
|
360
373
|
type: "control",
|
|
361
|
-
right: ()=>/* @__PURE__ */ t(
|
|
374
|
+
right: ()=>/* @__PURE__ */ t(P, {
|
|
362
375
|
space: "around",
|
|
363
|
-
children:
|
|
376
|
+
children: W
|
|
364
377
|
})
|
|
365
378
|
})
|
|
366
379
|
});
|
|
@@ -368,7 +381,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
368
381
|
})
|
|
369
382
|
});
|
|
370
383
|
};
|
|
371
|
-
return e.switch ?
|
|
384
|
+
return e.switch ? Y(re) : e.checkbox ? Y(ae) : e.radioValue ? e.onPress ? /* @__PURE__ */ R("div", {
|
|
372
385
|
className: H,
|
|
373
386
|
children: [
|
|
374
387
|
/* @__PURE__ */ t(L, {
|
|
@@ -387,50 +400,50 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
387
400
|
className: K
|
|
388
401
|
}),
|
|
389
402
|
/* @__PURE__ */ t(G, {
|
|
390
|
-
dataAttributes:
|
|
403
|
+
dataAttributes: u,
|
|
391
404
|
value: e.radioValue,
|
|
392
405
|
"aria-labelledby": i,
|
|
393
406
|
render: (param)=>/* @__PURE__ */ {
|
|
394
|
-
let { controlElement:
|
|
395
|
-
return t(
|
|
407
|
+
let { controlElement: d } = param;
|
|
408
|
+
return t(P, {
|
|
396
409
|
space: "around",
|
|
397
|
-
children: /* @__PURE__ */ t(
|
|
410
|
+
children: /* @__PURE__ */ t(m, {
|
|
398
411
|
paddingX: 16,
|
|
399
|
-
children:
|
|
412
|
+
children: d
|
|
400
413
|
})
|
|
401
414
|
});
|
|
402
415
|
}
|
|
403
416
|
})
|
|
404
417
|
]
|
|
405
418
|
}) : /* @__PURE__ */ t("div", {
|
|
406
|
-
className: o(
|
|
419
|
+
className: o(N, {
|
|
407
420
|
[w]: !(n || a),
|
|
408
421
|
[A]: !n
|
|
409
422
|
}),
|
|
410
423
|
role: h,
|
|
411
424
|
ref: r,
|
|
412
425
|
children: /* @__PURE__ */ t(G, {
|
|
413
|
-
dataAttributes:
|
|
426
|
+
dataAttributes: u,
|
|
414
427
|
value: e.radioValue,
|
|
415
428
|
"aria-labelledby": i,
|
|
416
429
|
render: (param)=>/* @__PURE__ */ {
|
|
417
|
-
let { controlElement:
|
|
418
|
-
return t(
|
|
430
|
+
let { controlElement: d } = param;
|
|
431
|
+
return t(m, {
|
|
419
432
|
paddingX: 16,
|
|
420
433
|
children: x({
|
|
421
434
|
labelId: i,
|
|
422
435
|
type: "control",
|
|
423
|
-
right: ()=>/* @__PURE__ */ t(
|
|
436
|
+
right: ()=>/* @__PURE__ */ t(P, {
|
|
424
437
|
space: "around",
|
|
425
|
-
children:
|
|
438
|
+
children: d
|
|
426
439
|
})
|
|
427
440
|
})
|
|
428
441
|
});
|
|
429
442
|
}
|
|
430
443
|
})
|
|
431
|
-
}) : /* @__PURE__ */ t(
|
|
444
|
+
}) : /* @__PURE__ */ t(m, {
|
|
432
445
|
paddingX: 16,
|
|
433
|
-
className:
|
|
446
|
+
className: N,
|
|
434
447
|
role: h,
|
|
435
448
|
children: e.right ? x({
|
|
436
449
|
type: "custom",
|
|
@@ -439,7 +452,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
439
452
|
type: "basic"
|
|
440
453
|
})
|
|
441
454
|
});
|
|
442
|
-
}),
|
|
455
|
+
}), Fe = /*#__PURE__*/ C.forwardRef((_param, i)=>/* @__PURE__ */ {
|
|
443
456
|
var { dataAttributes: e } = _param, r = _object_without_properties(_param, [
|
|
444
457
|
"dataAttributes"
|
|
445
458
|
]);
|
|
@@ -449,24 +462,24 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
449
462
|
"component-name": "Row"
|
|
450
463
|
}, e)
|
|
451
464
|
}));
|
|
452
|
-
}),
|
|
453
|
-
let { children: e , ariaLabelledby: r , role: i , dataAttributes: a , noLastDivider:
|
|
454
|
-
const
|
|
465
|
+
}), Ye = (param)=>{
|
|
466
|
+
let { children: e , ariaLabelledby: r , role: i , dataAttributes: a , noLastDivider: s } = param;
|
|
467
|
+
const b = C.Children.count(e) - 1, l = !s;
|
|
455
468
|
return /* @__PURE__ */ t("div", _object_spread_props(_object_spread({
|
|
456
469
|
role: i,
|
|
457
470
|
"aria-labelledby": r
|
|
458
471
|
}, de(a, "RowList")), {
|
|
459
|
-
children:
|
|
472
|
+
children: C.Children.toArray(e).filter(Boolean).map((B, c)=>/* @__PURE__ */ R(C.Fragment, {
|
|
460
473
|
children: [
|
|
461
|
-
|
|
462
|
-
(
|
|
474
|
+
B,
|
|
475
|
+
(c < b || l) && /* @__PURE__ */ t(m, {
|
|
463
476
|
paddingX: 16,
|
|
464
477
|
children: /* @__PURE__ */ t(ce, {})
|
|
465
478
|
})
|
|
466
479
|
]
|
|
467
|
-
},
|
|
480
|
+
}, c))
|
|
468
481
|
}));
|
|
469
|
-
},
|
|
482
|
+
}, qe = /*#__PURE__*/ C.forwardRef((_param, i)=>/* @__PURE__ */ {
|
|
470
483
|
var { dataAttributes: e } = _param, r = _object_without_properties(_param, [
|
|
471
484
|
"dataAttributes"
|
|
472
485
|
]);
|
|
@@ -478,9 +491,9 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
478
491
|
}, e),
|
|
479
492
|
children: /* @__PURE__ */ t(_, _object_spread({}, r))
|
|
480
493
|
});
|
|
481
|
-
}),
|
|
494
|
+
}), ze = (param)=>/* @__PURE__ */ {
|
|
482
495
|
let { children: e , ariaLabelledby: r , role: i , dataAttributes: a } = param;
|
|
483
|
-
return t(
|
|
496
|
+
return t(P, {
|
|
484
497
|
space: 16,
|
|
485
498
|
role: i,
|
|
486
499
|
"aria-labelledby": r,
|
|
@@ -490,4 +503,4 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
490
503
|
children: e
|
|
491
504
|
});
|
|
492
505
|
};
|
|
493
|
-
export {
|
|
506
|
+
export { qe as BoxedRow, ze as BoxedRowList, Fe as Row, Ye as RowList };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const o = "14.
|
|
1
|
+
const o = "14.17.1";
|
|
2
2
|
export { o as PACKAGE_VERSION };
|
package/dist-es/skins/blau.js
CHANGED
|
@@ -273,6 +273,17 @@ const e = {
|
|
|
273
273
|
button: {
|
|
274
274
|
weight: "medium"
|
|
275
275
|
},
|
|
276
|
+
tabsLabel: {
|
|
277
|
+
weight: "medium",
|
|
278
|
+
size: {
|
|
279
|
+
mobile: 16,
|
|
280
|
+
desktop: 18
|
|
281
|
+
},
|
|
282
|
+
lineHeight: {
|
|
283
|
+
mobile: 24,
|
|
284
|
+
desktop: 24
|
|
285
|
+
}
|
|
286
|
+
},
|
|
276
287
|
link: {
|
|
277
288
|
weight: "medium"
|
|
278
289
|
},
|
|
@@ -299,16 +310,6 @@ const e = {
|
|
|
299
310
|
},
|
|
300
311
|
text10: {
|
|
301
312
|
weight: "light"
|
|
302
|
-
},
|
|
303
|
-
tabsLabel: {
|
|
304
|
-
size: {
|
|
305
|
-
mobile: 16,
|
|
306
|
-
desktop: 18
|
|
307
|
-
},
|
|
308
|
-
lineHeight: {
|
|
309
|
-
mobile: 24,
|
|
310
|
-
desktop: 24
|
|
311
|
-
}
|
|
312
313
|
}
|
|
313
314
|
}
|
|
314
315
|
});
|
|
@@ -277,6 +277,17 @@ const e = {
|
|
|
277
277
|
button: {
|
|
278
278
|
weight: "medium"
|
|
279
279
|
},
|
|
280
|
+
tabsLabel: {
|
|
281
|
+
weight: "medium",
|
|
282
|
+
size: {
|
|
283
|
+
mobile: 16,
|
|
284
|
+
desktop: 18
|
|
285
|
+
},
|
|
286
|
+
lineHeight: {
|
|
287
|
+
mobile: 24,
|
|
288
|
+
desktop: 24
|
|
289
|
+
}
|
|
290
|
+
},
|
|
280
291
|
link: {
|
|
281
292
|
weight: "medium"
|
|
282
293
|
},
|
|
@@ -303,16 +314,6 @@ const e = {
|
|
|
303
314
|
},
|
|
304
315
|
text10: {
|
|
305
316
|
weight: "bold"
|
|
306
|
-
},
|
|
307
|
-
tabsLabel: {
|
|
308
|
-
size: {
|
|
309
|
-
mobile: 16,
|
|
310
|
-
desktop: 18
|
|
311
|
-
},
|
|
312
|
-
lineHeight: {
|
|
313
|
-
mobile: 24,
|
|
314
|
-
desktop: 24
|
|
315
|
-
}
|
|
316
317
|
}
|
|
317
318
|
}
|
|
318
319
|
};
|
|
@@ -277,6 +277,17 @@ const e = {
|
|
|
277
277
|
button: {
|
|
278
278
|
weight: "medium"
|
|
279
279
|
},
|
|
280
|
+
tabsLabel: {
|
|
281
|
+
weight: "medium",
|
|
282
|
+
size: {
|
|
283
|
+
mobile: 16,
|
|
284
|
+
desktop: 18
|
|
285
|
+
},
|
|
286
|
+
lineHeight: {
|
|
287
|
+
mobile: 24,
|
|
288
|
+
desktop: 24
|
|
289
|
+
}
|
|
290
|
+
},
|
|
280
291
|
link: {
|
|
281
292
|
weight: "medium"
|
|
282
293
|
},
|
|
@@ -303,16 +314,6 @@ const e = {
|
|
|
303
314
|
},
|
|
304
315
|
text10: {
|
|
305
316
|
weight: "bold"
|
|
306
|
-
},
|
|
307
|
-
tabsLabel: {
|
|
308
|
-
size: {
|
|
309
|
-
mobile: 16,
|
|
310
|
-
desktop: 18
|
|
311
|
-
},
|
|
312
|
-
lineHeight: {
|
|
313
|
-
mobile: 24,
|
|
314
|
-
desktop: 24
|
|
315
|
-
}
|
|
316
317
|
}
|
|
317
318
|
}
|
|
318
319
|
});
|