@iress-oss/ids-components 6.0.0-alpha.11 → 6.0.0-alpha.12
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/dist/{Button-tcXF8Gpw.js → Button-ZGbOkyOo.js} +170 -81
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Badge/Badge.styles.js +1 -2
- package/dist/components/Button/Button.d.ts +2 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/CloseButton/CloseButton.js +6 -6
- package/dist/components/Button/index.js +1 -1
- package/dist/components/Checkbox/Checkbox.styles.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.styles.js +5 -2
- package/dist/components/CheckboxMark/CheckboxMark.styles.js +1 -1
- package/dist/components/Filter/Filter.js +1 -1
- package/dist/components/Filter/components/FilterResetButton.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/Input.styles.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Progress/Progress.js +1 -1
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +1 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.js +1 -1
- package/dist/components/SkipLink/SkipLink.js +1 -1
- package/dist/components/Slideout/components/SlideoutInner.js +1 -1
- package/dist/components/Slideout/hooks/usePushElement.js +1 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Toaster/components/Toast/Toast.js +1 -1
- package/dist/{index-DrLngwHq.js → index-gmMGso0u.js} +4 -4
- package/dist/main.js +1 -1
- package/dist/patterns/Loading/components/ValidateLoading.js +1 -1
- package/dist/patterns/Shadow/Shadow.js +139 -44
- package/dist/style.css +1 -1
- package/dist/styled-system/recipes/button.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as N, Fragment as j, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as M, useId as R, useRef as E, useMemo as l, useCallback as W, useImperativeHandle as A } from "react";
|
|
3
3
|
import { IressSpinner as K } from "./components/Spinner/Spinner.js";
|
|
4
4
|
import "./components/Spinner/Spinner.styles.js";
|
|
5
|
-
import { GlobalCSSClass as
|
|
5
|
+
import { GlobalCSSClass as d } from "./enums.js";
|
|
6
6
|
import "./components/ButtonGroup/ButtonGroup.js";
|
|
7
7
|
import "./components/ButtonGroup/ButtonGroup.styles.js";
|
|
8
8
|
import { useButtonGroupItem as O } from "./components/ButtonGroup/hooks/useButtonGroupItem.js";
|
|
@@ -15,7 +15,7 @@ import "./components/Popover/Popover.styles.js";
|
|
|
15
15
|
import "./components/Popover/InputPopover/InputPopover.js";
|
|
16
16
|
import { usePopover as X } from "./components/Popover/hooks/usePopover.js";
|
|
17
17
|
import "./components/Popover/hooks/useFloatingPopover.js";
|
|
18
|
-
const
|
|
18
|
+
const H = {}, Y = [
|
|
19
19
|
{
|
|
20
20
|
mode: "primary",
|
|
21
21
|
status: "danger",
|
|
@@ -24,11 +24,13 @@ const h = {}, Y = [
|
|
|
24
24
|
color: "colour.system.danger.onFill",
|
|
25
25
|
_before: {
|
|
26
26
|
content: "''",
|
|
27
|
-
bg: "colour.system.danger.fill"
|
|
27
|
+
bg: "colour.system.danger.fill",
|
|
28
|
+
borderColor: "colour.system.danger.fill"
|
|
28
29
|
},
|
|
29
30
|
_after: {
|
|
30
31
|
content: "''",
|
|
31
|
-
bg: "colour.system.danger.fillHover"
|
|
32
|
+
bg: "colour.system.danger.fillHover",
|
|
33
|
+
borderColor: "colour.system.danger.fillHover"
|
|
32
34
|
},
|
|
33
35
|
_active: {
|
|
34
36
|
_after: {
|
|
@@ -49,11 +51,13 @@ const h = {}, Y = [
|
|
|
49
51
|
color: "colour.system.danger.text",
|
|
50
52
|
_before: {
|
|
51
53
|
content: "''",
|
|
52
|
-
bg: "colour.system.danger.surface"
|
|
54
|
+
bg: "colour.system.danger.surface",
|
|
55
|
+
borderColor: "[color-mix(in srgb, {colors.colour.system.danger.surface}, black 5%)]"
|
|
53
56
|
},
|
|
54
57
|
_after: {
|
|
55
58
|
content: "''",
|
|
56
|
-
bg: "colour.system.danger.surfaceHover"
|
|
59
|
+
bg: "colour.system.danger.surfaceHover",
|
|
60
|
+
borderColor: "[color-mix(in srgb, {colors.colour.system.danger.surfaceHover}, black 5%)]"
|
|
57
61
|
},
|
|
58
62
|
_active: {
|
|
59
63
|
_after: {
|
|
@@ -72,9 +76,12 @@ const h = {}, Y = [
|
|
|
72
76
|
css: {
|
|
73
77
|
root: {
|
|
74
78
|
color: "colour.system.danger.text",
|
|
79
|
+
_before: {
|
|
80
|
+
borderColor: "colour.system.danger.fill"
|
|
81
|
+
},
|
|
75
82
|
_after: {
|
|
76
|
-
|
|
77
|
-
|
|
83
|
+
bg: "colour.system.danger.surfaceHover",
|
|
84
|
+
borderColor: "colour.system.danger.fill"
|
|
78
85
|
},
|
|
79
86
|
_active: {
|
|
80
87
|
_after: {
|
|
@@ -87,6 +94,22 @@ const h = {}, Y = [
|
|
|
87
94
|
}
|
|
88
95
|
}
|
|
89
96
|
},
|
|
97
|
+
{
|
|
98
|
+
mode: "muted",
|
|
99
|
+
status: "danger",
|
|
100
|
+
css: {
|
|
101
|
+
root: {
|
|
102
|
+
color: "colour.system.danger.text",
|
|
103
|
+
_after: {
|
|
104
|
+
bg: "colour.system.danger.surfaceHover",
|
|
105
|
+
borderColor: "colour.system.danger.surfaceHover"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
spinner: {
|
|
109
|
+
color: "colour.system.danger.text"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
90
113
|
{
|
|
91
114
|
mode: "primary",
|
|
92
115
|
status: "success",
|
|
@@ -94,12 +117,12 @@ const h = {}, Y = [
|
|
|
94
117
|
root: {
|
|
95
118
|
color: "colour.system.success.onFill",
|
|
96
119
|
_before: {
|
|
97
|
-
|
|
98
|
-
|
|
120
|
+
bg: "colour.system.success.fill",
|
|
121
|
+
borderColor: "colour.system.success.fill"
|
|
99
122
|
},
|
|
100
123
|
_after: {
|
|
101
|
-
|
|
102
|
-
|
|
124
|
+
bg: "colour.system.success.fillHover",
|
|
125
|
+
borderColor: "colour.system.success.fill"
|
|
103
126
|
},
|
|
104
127
|
_active: {
|
|
105
128
|
_after: {
|
|
@@ -119,12 +142,12 @@ const h = {}, Y = [
|
|
|
119
142
|
root: {
|
|
120
143
|
color: "colour.system.success.text",
|
|
121
144
|
_before: {
|
|
122
|
-
|
|
123
|
-
|
|
145
|
+
bg: "colour.system.success.surface",
|
|
146
|
+
borderColor: "[color-mix(in srgb, {colors.colour.system.success.surface}, black 5%)]"
|
|
124
147
|
},
|
|
125
148
|
_after: {
|
|
126
|
-
|
|
127
|
-
|
|
149
|
+
bg: "colour.system.success.surfaceHover",
|
|
150
|
+
borderColor: "[color-mix(in srgb, {colors.colour.system.success.surfaceHover}, black 5%)]"
|
|
128
151
|
},
|
|
129
152
|
_active: {
|
|
130
153
|
_after: {
|
|
@@ -143,9 +166,12 @@ const h = {}, Y = [
|
|
|
143
166
|
css: {
|
|
144
167
|
root: {
|
|
145
168
|
color: "colour.system.success.text",
|
|
169
|
+
_before: {
|
|
170
|
+
borderColor: "colour.system.success.fill"
|
|
171
|
+
},
|
|
146
172
|
_after: {
|
|
147
|
-
|
|
148
|
-
|
|
173
|
+
bg: "colour.system.success.surfaceHover",
|
|
174
|
+
borderColor: "colour.system.success.fill"
|
|
149
175
|
},
|
|
150
176
|
_active: {
|
|
151
177
|
_after: {
|
|
@@ -158,12 +184,31 @@ const h = {}, Y = [
|
|
|
158
184
|
}
|
|
159
185
|
}
|
|
160
186
|
},
|
|
187
|
+
{
|
|
188
|
+
mode: "muted",
|
|
189
|
+
status: "success",
|
|
190
|
+
css: {
|
|
191
|
+
root: {
|
|
192
|
+
color: "colour.system.success.text",
|
|
193
|
+
_after: {
|
|
194
|
+
bg: "colour.system.success.surfaceHover",
|
|
195
|
+
borderColor: "colour.system.success.surfaceHover"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
spinner: {
|
|
199
|
+
color: "colour.system.success.text"
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
},
|
|
161
203
|
{
|
|
162
204
|
mode: "primary",
|
|
163
205
|
loading: !0,
|
|
164
206
|
css: {
|
|
165
207
|
root: {
|
|
166
|
-
|
|
208
|
+
color: "colour.neutral.60"
|
|
209
|
+
},
|
|
210
|
+
spinner: {
|
|
211
|
+
color: "colour.neutral.60"
|
|
167
212
|
}
|
|
168
213
|
}
|
|
169
214
|
},
|
|
@@ -172,7 +217,38 @@ const h = {}, Y = [
|
|
|
172
217
|
loading: !0,
|
|
173
218
|
css: {
|
|
174
219
|
root: {
|
|
175
|
-
|
|
220
|
+
borderColor: "colour.neutral.60",
|
|
221
|
+
color: "colour.neutral.60"
|
|
222
|
+
},
|
|
223
|
+
spinner: {
|
|
224
|
+
color: "colour.neutral.60"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
mode: "tertiary",
|
|
230
|
+
loading: !0,
|
|
231
|
+
css: {
|
|
232
|
+
root: {
|
|
233
|
+
borderColor: "colour.neutral.60",
|
|
234
|
+
color: "colour.neutral.60"
|
|
235
|
+
},
|
|
236
|
+
spinner: {
|
|
237
|
+
color: "colour.neutral.60"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
mode: "muted",
|
|
243
|
+
loading: !0,
|
|
244
|
+
css: {
|
|
245
|
+
root: {
|
|
246
|
+
bg: "transparent",
|
|
247
|
+
borderColor: "transparent",
|
|
248
|
+
color: "colour.neutral.60"
|
|
249
|
+
},
|
|
250
|
+
spinner: {
|
|
251
|
+
color: "colour.neutral.60"
|
|
176
252
|
}
|
|
177
253
|
}
|
|
178
254
|
},
|
|
@@ -187,6 +263,18 @@ const h = {}, Y = [
|
|
|
187
263
|
}
|
|
188
264
|
}
|
|
189
265
|
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
mode: [
|
|
269
|
+
"primary",
|
|
270
|
+
"muted"
|
|
271
|
+
],
|
|
272
|
+
active: !0,
|
|
273
|
+
css: {
|
|
274
|
+
root: {
|
|
275
|
+
color: "colour.primary.text"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
190
278
|
}
|
|
191
279
|
], Z = [
|
|
192
280
|
[
|
|
@@ -205,7 +293,7 @@ const h = {}, Y = [
|
|
|
205
293
|
"spinner",
|
|
206
294
|
"button__spinner"
|
|
207
295
|
]
|
|
208
|
-
], $ = /* @__PURE__ */ Z.map(([o,
|
|
296
|
+
], $ = /* @__PURE__ */ Z.map(([o, t]) => [o, U(t, H, z(Y, o))]), oo = L((o = {}) => Object.fromEntries($.map(([t, s]) => [t, s.recipeFn(o)]))), C = [
|
|
209
297
|
"active",
|
|
210
298
|
"fluid",
|
|
211
299
|
"inButtonGroup",
|
|
@@ -213,12 +301,12 @@ const h = {}, Y = [
|
|
|
213
301
|
"mode",
|
|
214
302
|
"noWrap",
|
|
215
303
|
"status"
|
|
216
|
-
], ro = (o) => ({ ...
|
|
304
|
+
], ro = (o) => ({ ...H, ...T(o) }), so = /* @__PURE__ */ Object.assign(oo, {
|
|
217
305
|
__recipe__: !1,
|
|
218
306
|
__name__: "button",
|
|
219
307
|
raw: (o) => o,
|
|
220
308
|
classNameMap: {},
|
|
221
|
-
variantKeys:
|
|
309
|
+
variantKeys: C,
|
|
222
310
|
variantMap: {
|
|
223
311
|
active: [
|
|
224
312
|
"true"
|
|
@@ -241,7 +329,8 @@ const h = {}, Y = [
|
|
|
241
329
|
mode: [
|
|
242
330
|
"primary",
|
|
243
331
|
"secondary",
|
|
244
|
-
"tertiary"
|
|
332
|
+
"tertiary",
|
|
333
|
+
"muted"
|
|
245
334
|
],
|
|
246
335
|
noWrap: [
|
|
247
336
|
"true"
|
|
@@ -252,104 +341,104 @@ const h = {}, Y = [
|
|
|
252
341
|
]
|
|
253
342
|
},
|
|
254
343
|
splitVariantProps(o) {
|
|
255
|
-
return q(o,
|
|
344
|
+
return q(o, C);
|
|
256
345
|
},
|
|
257
346
|
getVariantProps: ro
|
|
258
|
-
}),
|
|
347
|
+
}), eo = ({
|
|
259
348
|
active: o,
|
|
260
|
-
append:
|
|
261
|
-
children:
|
|
262
|
-
className:
|
|
263
|
-
element:
|
|
264
|
-
fluid:
|
|
349
|
+
append: t,
|
|
350
|
+
children: s,
|
|
351
|
+
className: f,
|
|
352
|
+
element: u,
|
|
353
|
+
fluid: b,
|
|
265
354
|
loading: r = !1,
|
|
266
|
-
mode:
|
|
267
|
-
prepend:
|
|
268
|
-
noWrap:
|
|
355
|
+
mode: y = "secondary",
|
|
356
|
+
prepend: m,
|
|
357
|
+
noWrap: S = !1,
|
|
269
358
|
onClick: x,
|
|
270
|
-
status:
|
|
271
|
-
value:
|
|
359
|
+
status: h,
|
|
360
|
+
value: F,
|
|
272
361
|
...g
|
|
273
|
-
},
|
|
274
|
-
const i =
|
|
362
|
+
}, I) => {
|
|
363
|
+
const i = R(), B = F ?? (typeof s == "string" || typeof s == "number" || typeof s == "boolean" ? s : void 0), w = X(), p = E(null), c = O({ value: B }), G = l(() => c ? c.active ? "primary" : "tertiary" : y, [c, y]), e = so({
|
|
275
364
|
active: (
|
|
276
365
|
// eslint-disable-next-line react-hooks/refs -- ref needed for forwarding
|
|
277
|
-
o ??
|
|
366
|
+
o ?? w?.isActiveActivator(p.current)
|
|
278
367
|
),
|
|
279
|
-
fluid:
|
|
280
|
-
inButtonGroup: !!
|
|
368
|
+
fluid: b === !0 ? "true" : b,
|
|
369
|
+
inButtonGroup: !!c,
|
|
281
370
|
mode: G,
|
|
282
371
|
loading: !!r,
|
|
283
|
-
noWrap:
|
|
284
|
-
status:
|
|
285
|
-
}), [_,
|
|
372
|
+
noWrap: S,
|
|
373
|
+
status: h
|
|
374
|
+
}), [_, n] = l(
|
|
286
375
|
() => D(g),
|
|
287
376
|
[g]
|
|
288
|
-
), v =
|
|
289
|
-
(
|
|
290
|
-
r || (x?.(
|
|
377
|
+
), v = W(
|
|
378
|
+
(V) => {
|
|
379
|
+
r || (x?.(V), c?.toggle());
|
|
291
380
|
},
|
|
292
|
-
[
|
|
293
|
-
), P =
|
|
381
|
+
[c, r, x]
|
|
382
|
+
), P = l(
|
|
294
383
|
() => ({
|
|
295
|
-
children: /* @__PURE__ */ j
|
|
296
|
-
|
|
384
|
+
children: /* @__PURE__ */ N(j, { children: [
|
|
385
|
+
m && !r && /* @__PURE__ */ a("span", { className: e.prepend, children: m }),
|
|
297
386
|
!!r && /* @__PURE__ */ a(
|
|
298
387
|
K,
|
|
299
388
|
{
|
|
300
|
-
className:
|
|
389
|
+
className: e.spinner,
|
|
301
390
|
fixedWidth: !0,
|
|
302
391
|
id: i,
|
|
303
392
|
screenreaderText: r === !0 ? "Loading" : r
|
|
304
393
|
}
|
|
305
394
|
),
|
|
306
|
-
|
|
307
|
-
|
|
395
|
+
s,
|
|
396
|
+
t && /* @__PURE__ */ a("span", { className: e.append, children: t })
|
|
308
397
|
] }),
|
|
309
398
|
className: Q(
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
399
|
+
f,
|
|
400
|
+
d.FormElement,
|
|
401
|
+
d.FormElementInner,
|
|
402
|
+
e.root,
|
|
314
403
|
J(_),
|
|
315
|
-
|
|
404
|
+
d.Button
|
|
316
405
|
),
|
|
317
406
|
onClick: v
|
|
318
407
|
}),
|
|
319
408
|
[
|
|
320
|
-
e,
|
|
321
409
|
t,
|
|
322
|
-
|
|
410
|
+
s,
|
|
411
|
+
f,
|
|
323
412
|
v,
|
|
324
413
|
r,
|
|
325
|
-
|
|
414
|
+
m,
|
|
326
415
|
i,
|
|
327
416
|
_,
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
417
|
+
e.append,
|
|
418
|
+
e.prepend,
|
|
419
|
+
e.root,
|
|
420
|
+
e.spinner
|
|
332
421
|
]
|
|
333
422
|
);
|
|
334
|
-
A(
|
|
335
|
-
const
|
|
336
|
-
() =>
|
|
337
|
-
[
|
|
423
|
+
A(I, () => p.current);
|
|
424
|
+
const k = l(
|
|
425
|
+
() => u ?? (n.href ? "a" : "button"),
|
|
426
|
+
[u, n.href]
|
|
338
427
|
);
|
|
339
428
|
return /* @__PURE__ */ a(
|
|
340
|
-
|
|
429
|
+
k,
|
|
341
430
|
{
|
|
342
431
|
"aria-describedby": r ? i : void 0,
|
|
343
|
-
type:
|
|
432
|
+
type: u || !n.href ? "button" : void 0,
|
|
344
433
|
...P,
|
|
345
|
-
...
|
|
346
|
-
...
|
|
347
|
-
ref:
|
|
434
|
+
...c?.props,
|
|
435
|
+
...n,
|
|
436
|
+
ref: p
|
|
348
437
|
}
|
|
349
438
|
);
|
|
350
|
-
},
|
|
351
|
-
|
|
439
|
+
}, to = M(eo);
|
|
440
|
+
to.displayName = "IressButton";
|
|
352
441
|
export {
|
|
353
|
-
|
|
354
|
-
|
|
442
|
+
to as I,
|
|
443
|
+
so as b
|
|
355
444
|
};
|
|
@@ -7,7 +7,7 @@ import { propagateTestid as N } from "../../helpers/utility/propagateTestid.js";
|
|
|
7
7
|
import { alert as w } from "./Alert.styles.js";
|
|
8
8
|
import { c as h } from "../../cx-DN21T1EH.js";
|
|
9
9
|
import { GlobalCSSClass as B } from "../../enums.js";
|
|
10
|
-
import { I as E } from "../../Button-
|
|
10
|
+
import { I as E } from "../../Button-ZGbOkyOo.js";
|
|
11
11
|
import { IressCloseButton as V } from "../Button/CloseButton/CloseButton.js";
|
|
12
12
|
import "../Inline/Inline.styles.js";
|
|
13
13
|
import { IressInline as $ } from "../Inline/Inline.js";
|
|
@@ -58,13 +58,14 @@ export interface InternalButtonProps<C extends ElementType | undefined = undefin
|
|
|
58
58
|
* - Primary: Used for the main action on a page. Usually only used once per screen.
|
|
59
59
|
* - Secondary: Used for secondary actions on a page, often an action on multiple `IressPanel`s. Can used multiple times per screen.
|
|
60
60
|
* - Tertiary: Used for tertiary actions on a page, often the secondary action on multiple `IressPanel`s. Can used multiple times per screen.
|
|
61
|
+
* - Muted: Used for less prominent actions, often used in toolbars or inline with headings. They are mainly used with icons only.
|
|
61
62
|
*
|
|
62
63
|
* **Migrating to version 6**
|
|
63
64
|
* - `link` mode has been removed. If it is an action, use the `tertiary` mode. If it is a link inside a paragraph, use the new `IressLink` component instead.
|
|
64
65
|
* - `danger` has been removed. Please use the `status` prop instead.
|
|
65
66
|
* - `positive` and `success` have been removed. Please use the `status` prop instead.
|
|
66
67
|
*/
|
|
67
|
-
mode?: 'primary' | 'secondary' | 'tertiary';
|
|
68
|
+
mode?: 'primary' | 'secondary' | 'tertiary' | 'muted';
|
|
68
69
|
/**
|
|
69
70
|
* Emitted when the menu item is clicked.
|
|
70
71
|
*/
|
|
@@ -9,7 +9,7 @@ import "../ButtonGroup/hooks/useButtonGroupItem.js";
|
|
|
9
9
|
import "../../is-valid-prop-DweT-eOL.js";
|
|
10
10
|
import "../../css-DNdLYQld.js";
|
|
11
11
|
import "../../cx-DN21T1EH.js";
|
|
12
|
-
import { I as g } from "../../Button-
|
|
12
|
+
import { I as g } from "../../Button-ZGbOkyOo.js";
|
|
13
13
|
import "../Popover/Popover.js";
|
|
14
14
|
import "../Popover/Popover.styles.js";
|
|
15
15
|
import "../Popover/InputPopover/InputPopover.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { I as e } from "../../../Button-
|
|
2
|
+
import { I as e } from "../../../Button-ZGbOkyOo.js";
|
|
3
3
|
import { IressIcon as a } from "../../Icon/Icon.js";
|
|
4
4
|
import "../../Icon/Icon.styles.js";
|
|
5
5
|
import { forwardRef as i } from "react";
|
|
@@ -7,17 +7,17 @@ import { c as l } from "../../../cx-DN21T1EH.js";
|
|
|
7
7
|
import { GlobalCSSClass as n } from "../../../enums.js";
|
|
8
8
|
const p = i(
|
|
9
9
|
({
|
|
10
|
-
className:
|
|
11
|
-
screenreaderText:
|
|
10
|
+
className: s,
|
|
11
|
+
screenreaderText: r = "Close button",
|
|
12
12
|
...t
|
|
13
13
|
}, m) => /* @__PURE__ */ o(
|
|
14
14
|
e,
|
|
15
15
|
{
|
|
16
16
|
...t,
|
|
17
|
-
className: l(
|
|
18
|
-
mode: "
|
|
17
|
+
className: l(s, n.CloseButton),
|
|
18
|
+
mode: "muted",
|
|
19
19
|
ref: m,
|
|
20
|
-
children: /* @__PURE__ */ o(a, { name: "times", screenreaderText:
|
|
20
|
+
children: /* @__PURE__ */ o(a, { name: "times", screenreaderText: r })
|
|
21
21
|
}
|
|
22
22
|
)
|
|
23
23
|
);
|
|
@@ -24,7 +24,7 @@ export declare const checkbox: import('../../styled-system/types').SlotRecipeRun
|
|
|
24
24
|
borderStyle: "solid";
|
|
25
25
|
borderWidth: "1px";
|
|
26
26
|
_hover: {
|
|
27
|
-
backgroundColor: "colour.
|
|
27
|
+
backgroundColor: "colour.neutral.20";
|
|
28
28
|
};
|
|
29
29
|
_groupFocusWithin: {
|
|
30
30
|
layerStyle: "elevation.focus";
|
|
@@ -67,7 +67,7 @@ const o = r({
|
|
|
67
67
|
borderStyle: "solid",
|
|
68
68
|
borderWidth: "1px",
|
|
69
69
|
_hover: {
|
|
70
|
-
backgroundColor: "colour.
|
|
70
|
+
backgroundColor: "colour.neutral.20"
|
|
71
71
|
},
|
|
72
72
|
_groupFocusWithin: {
|
|
73
73
|
layerStyle: "elevation.focus"
|
|
@@ -106,7 +106,10 @@ const o = r({
|
|
|
106
106
|
checked: !0,
|
|
107
107
|
css: {
|
|
108
108
|
label: {
|
|
109
|
-
topLeftTriangle: !0
|
|
109
|
+
topLeftTriangle: !0,
|
|
110
|
+
_before: {
|
|
111
|
+
borderTopLeftRadius: "none"
|
|
112
|
+
}
|
|
110
113
|
},
|
|
111
114
|
mark: {
|
|
112
115
|
checkmark: !0
|
|
@@ -11,7 +11,7 @@ const e = r({
|
|
|
11
11
|
borderWidth: "1px",
|
|
12
12
|
borderStyle: "solid",
|
|
13
13
|
borderColor: "colour.neutral.70",
|
|
14
|
-
borderRadius: "radius.system.
|
|
14
|
+
borderRadius: "radius.system.form",
|
|
15
15
|
bg: "colour.neutral.10",
|
|
16
16
|
transitionProperty: "[all]",
|
|
17
17
|
transitionDuration: "0.2s",
|
|
@@ -7,7 +7,7 @@ import { IressPopover as ae } from "../Popover/Popover.js";
|
|
|
7
7
|
import "../Popover/Popover.styles.js";
|
|
8
8
|
import "../Popover/InputPopover/InputPopover.js";
|
|
9
9
|
import "../Popover/hooks/useFloatingPopover.js";
|
|
10
|
-
import { I as ne } from "../../Button-
|
|
10
|
+
import { I as ne } from "../../Button-ZGbOkyOo.js";
|
|
11
11
|
import "../Button/CloseButton/CloseButton.js";
|
|
12
12
|
import { useRichSelectState as le } from "../RichSelect/hooks/useRichSelectState.js";
|
|
13
13
|
import "../../Autocomplete-DUsna_OY.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { I as i } from "../../../Button-
|
|
2
|
+
import { I as i } from "../../../Button-ZGbOkyOo.js";
|
|
3
3
|
import "../../Button/CloseButton/CloseButton.js";
|
|
4
4
|
import { filter as p } from "../Filter.styles.js";
|
|
5
5
|
import { usePopoverItem as f } from "../../Popover/hooks/usePopoverItem.js";
|
|
@@ -13,7 +13,7 @@ import { input as Q } from "./Input.styles.js";
|
|
|
13
13
|
import { s as W } from "../../factory-CsinCTPr.js";
|
|
14
14
|
import { s as X } from "../../is-valid-prop-DweT-eOL.js";
|
|
15
15
|
import { useNoDefaultValueInForms as Y } from "../../patterns/Form/hooks/useNoDefaultValueInForms.js";
|
|
16
|
-
import "../../Button-
|
|
16
|
+
import "../../Button-ZGbOkyOo.js";
|
|
17
17
|
import { IressCloseButton as Z } from "../Button/CloseButton/CloseButton.js";
|
|
18
18
|
const _ = ({ rows: a, ...f }, S) => {
|
|
19
19
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as v } from "react/jsx-runtime";
|
|
2
2
|
import { useState as Z, useEffect as w, useMemo as oo } from "react";
|
|
3
|
-
import "../../Button-
|
|
3
|
+
import "../../Button-ZGbOkyOo.js";
|
|
4
4
|
import { IressCloseButton as eo } from "../Button/CloseButton/CloseButton.js";
|
|
5
5
|
import { u as to, b as so, c as ro, d as no, e as ao, F as io, f as lo, g as co } from "../../floating-ui.react-BlU6Nz_4.js";
|
|
6
6
|
import { idsLogger as mo } from "../../helpers/utility/idsLogger.js";
|
|
@@ -6,7 +6,7 @@ import { progress as S } from "./Progress.styles.js";
|
|
|
6
6
|
import { s as n } from "../../factory-CsinCTPr.js";
|
|
7
7
|
import { s as b } from "../../is-valid-prop-DweT-eOL.js";
|
|
8
8
|
import { GlobalCSSClass as x } from "../../enums.js";
|
|
9
|
-
import { t as C } from "../../index-
|
|
9
|
+
import { t as C } from "../../index-gmMGso0u.js";
|
|
10
10
|
const N = ({
|
|
11
11
|
borderRadius: e,
|
|
12
12
|
className: p,
|
|
@@ -8,7 +8,7 @@ import "../../Menu/MenuDivider/MenuDivider.js";
|
|
|
8
8
|
import "../../Menu/MenuItem/MenuItem.js";
|
|
9
9
|
import { IressMenuHeading as g } from "../../Menu/MenuText/MenuText.js";
|
|
10
10
|
import { GlobalCSSClass as a } from "../../../enums.js";
|
|
11
|
-
import { I as y } from "../../../Button-
|
|
11
|
+
import { I as y } from "../../../Button-ZGbOkyOo.js";
|
|
12
12
|
import "../../Button/CloseButton/CloseButton.js";
|
|
13
13
|
import "../../Popover/Popover.js";
|
|
14
14
|
import "../../Popover/Popover.styles.js";
|
|
@@ -21,7 +21,7 @@ import "../../Popover/Popover.styles.js";
|
|
|
21
21
|
import "../../Popover/InputPopover/InputPopover.js";
|
|
22
22
|
import { usePopover as V } from "../../Popover/hooks/usePopover.js";
|
|
23
23
|
import "../../Popover/hooks/useFloatingPopover.js";
|
|
24
|
-
import { I as G } from "../../../Button-
|
|
24
|
+
import { I as G } from "../../../Button-ZGbOkyOo.js";
|
|
25
25
|
import "../../Button/CloseButton/CloseButton.js";
|
|
26
26
|
import { IressIcon as R } from "../../Icon/Icon.js";
|
|
27
27
|
import "../../Icon/Icon.styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as t } from "react";
|
|
3
|
-
import { I as m } from "../../Button-
|
|
3
|
+
import { I as m } from "../../Button-ZGbOkyOo.js";
|
|
4
4
|
import "../Button/CloseButton/CloseButton.js";
|
|
5
5
|
import { c as k } from "../../cx-DN21T1EH.js";
|
|
6
6
|
import { skipLink as n } from "./SkipLink.styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as c, jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { propagateTestid as o } from "../../../helpers/utility/propagateTestid.js";
|
|
3
|
-
import "../../../Button-
|
|
3
|
+
import "../../../Button-ZGbOkyOo.js";
|
|
4
4
|
import { IressCloseButton as j } from "../../Button/CloseButton/CloseButton.js";
|
|
5
5
|
import { slideout as v } from "../Slideout.styles.js";
|
|
6
6
|
import { s as f } from "../../../factory-CsinCTPr.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRef as m, useEffect as y } from "react";
|
|
2
2
|
import { GlobalCSSClass as e } from "../../../enums.js";
|
|
3
|
-
import { t as p } from "../../../index-
|
|
3
|
+
import { t as p } from "../../../index-gmMGso0u.js";
|
|
4
4
|
import { useBreakpoint as S } from "../../../hooks/useBreakpoint.js";
|
|
5
5
|
function h({
|
|
6
6
|
element: r,
|