@iress-oss/ids-components 6.0.0-alpha.6 → 6.0.0-alpha.8
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/{Autocomplete-C5ubHBTi.js → Autocomplete-BQ_YPb5A.js} +1 -1
- package/dist/{Button-mmhMLwp9.js → Button-B4nt3P1v.js} +13 -22
- package/dist/{Provider-BPeo5YfI.js → Provider-CDIbqQK0.js} +2 -2
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +2 -2
- package/dist/components/Autocomplete/index.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/CloseButton/CloseButton.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/Checkbox/Checkbox.styles.js +5 -2
- package/dist/components/CheckboxMark/CheckboxMark.styles.js +3 -3
- package/dist/components/Filter/Filter.js +2 -2
- package/dist/components/Filter/components/FilterResetButton.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/Input.styles.js +2 -3
- package/dist/components/Label/LabelBase/LabelBase.js +28 -23
- package/dist/components/Modal/Modal.js +39 -38
- package/dist/components/Modal/Modal.styles.js +23 -0
- package/dist/components/Provider/Provider.js +2 -2
- package/dist/components/Provider/index.js +1 -1
- package/dist/components/Radio/Radio.js +41 -41
- package/dist/components/Radio/Radio.styles.js +7 -2
- package/dist/components/RichSelect/RichSelect.js +2 -2
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +1 -1
- package/dist/components/RichSelect/SelectLabel/SelectLabel.styles.js +2 -4
- package/dist/components/RichSelect/SelectTags/SelectTags.js +1 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.styles.js +3 -5
- package/dist/components/RichSelect/index.js +1 -1
- package/dist/components/Select/Select.styles.js +4 -1
- package/dist/components/SkipLink/SkipLink.js +1 -1
- package/dist/components/Slideout/components/SlideoutInner.js +1 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Toaster/components/Toast/Toast.js +1 -1
- package/dist/components/Toggle/Toggle.styles.js +4 -3
- package/dist/constants.js +1 -1
- package/dist/enums.js +3 -3
- package/dist/main.js +3 -3
- package/dist/patterns/Loading/components/ValidateLoading.js +1 -1
- package/dist/patterns/Shadow/Shadow.js +64 -64
- package/dist/src/components/Modal/Modal.d.ts +8 -1
- package/dist/src/components/Modal/Modal.styles.d.ts +23 -0
- package/dist/src/components/Radio/Radio.styles.d.ts +1 -1
- package/dist/src/enums.d.ts +2 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as b, useRef as _, useState as y, useEffect as g, useImperativeHandle as h } from "react";
|
|
3
3
|
import { createPortal as f } from "react-dom";
|
|
4
|
-
import { i as w, I as k } from "../../Provider-
|
|
4
|
+
import { i as w, I as k } from "../../Provider-CDIbqQK0.js";
|
|
5
5
|
const z = `@layer reset, base, tokens, recipes, utilities;
|
|
6
6
|
|
|
7
7
|
@layer reset{
|
|
@@ -869,6 +869,7 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
869
869
|
.button__root:is(:focus-visible, [data-focus-visible]) {
|
|
870
870
|
outline: 2px solid transparent;
|
|
871
871
|
outline-offset: 2px;
|
|
872
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
872
873
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
873
874
|
}
|
|
874
875
|
|
|
@@ -1027,12 +1028,6 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
1027
1028
|
transition: none;
|
|
1028
1029
|
}
|
|
1029
1030
|
|
|
1030
|
-
.button__root--inButtonGroup_true::after {
|
|
1031
|
-
border-radius: var(--radii-radius\\.system\\.button);
|
|
1032
|
-
transform: translateZ(-1px) scale(1);
|
|
1033
|
-
transform-origin: center;
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
1031
|
.button__root--loading_true {
|
|
1037
1032
|
cursor: not-allowed;
|
|
1038
1033
|
filter: saturate(0.25);
|
|
@@ -1443,6 +1438,7 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
1443
1438
|
}
|
|
1444
1439
|
|
|
1445
1440
|
.layerStyle_elevation\\.focus {
|
|
1441
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1446
1442
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1447
1443
|
}
|
|
1448
1444
|
|
|
@@ -1551,38 +1547,52 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
1551
1547
|
}
|
|
1552
1548
|
|
|
1553
1549
|
.group:focus-within .groupFocusWithin\\:layerStyle_elevation\\.focus {
|
|
1550
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1554
1551
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1555
1552
|
}
|
|
1556
1553
|
|
|
1557
1554
|
.focusWithin\\:layerStyle_elevation\\.focus:focus-within {
|
|
1555
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1558
1556
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1559
1557
|
}
|
|
1560
1558
|
|
|
1561
1559
|
.\\[\\&\\:focus-within\\]\\:layerStyle_elevation\\.focus:focus-within {
|
|
1560
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1562
1561
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1563
1562
|
}
|
|
1564
1563
|
|
|
1565
1564
|
.focus\\:layerStyle_elevation\\.focus:is(:focus, [data-focus]) {
|
|
1565
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1566
1566
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
1569
|
.\\[\\&\\:has\\(input\\:focus\\,_textarea\\:focus\\)\\]\\:layerStyle_elevation\\.focus:has(input:focus, textarea:focus) {
|
|
1570
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1570
1571
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1571
1572
|
}
|
|
1572
1573
|
|
|
1573
1574
|
.focusVisible\\:layerStyle_elevation\\.focus:is(:focus-visible, [data-focus-visible]) {
|
|
1575
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1576
|
+
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
.\\[\\&\\:has\\(select\\:focus\\)\\]\\:layerStyle_elevation\\.focus:has(select:focus) {
|
|
1580
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1574
1581
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1575
1582
|
}
|
|
1576
1583
|
|
|
1577
1584
|
.focusVisibleWebkitSliderThumb\\:layerStyle_elevation\\.focus:focus-visible::-webkit-slider-thumb {
|
|
1585
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1578
1586
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1579
1587
|
}
|
|
1580
1588
|
|
|
1581
1589
|
.focusVisibleMozRangeThumb\\:layerStyle_elevation\\.focus:focus-visible::-moz-range-thumb {
|
|
1590
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1582
1591
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1583
1592
|
}
|
|
1584
1593
|
|
|
1585
1594
|
.\\[\\&\\:has\\(\\[role\\=\\"switch\\"\\]\\:focus-visible\\)\\]\\:layerStyle_elevation\\.focus:has([role="switch"]:focus-visible) {
|
|
1595
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1586
1596
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1587
1597
|
}
|
|
1588
1598
|
|
|
@@ -1592,18 +1602,22 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
1592
1602
|
}
|
|
1593
1603
|
|
|
1594
1604
|
.\\[\\&\\:focus\\]\\:layerStyle_elevation\\.focus:focus {
|
|
1605
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1595
1606
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1596
1607
|
}
|
|
1597
1608
|
|
|
1598
1609
|
.active\\:layerStyle_elevation\\.focus:is(:active, [data-active]) {
|
|
1610
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1599
1611
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1600
1612
|
}
|
|
1601
1613
|
|
|
1602
1614
|
.focusVisible\\:before\\:layerStyle_elevation\\.focus:is(:focus-visible, [data-focus-visible])::before {
|
|
1615
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1603
1616
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1604
1617
|
}
|
|
1605
1618
|
|
|
1606
1619
|
.focus\\:\\[\\&_\\+_label\\]\\:after\\:layerStyle_elevation\\.focus:is(:focus, [data-focus]) + label::after {
|
|
1620
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1607
1621
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1608
1622
|
}
|
|
1609
1623
|
|
|
@@ -1621,6 +1635,7 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
1621
1635
|
box-shadow: var(--iress-elevation-overflow-shadow, inset 7px 0px 5px #091E4215);
|
|
1622
1636
|
}
|
|
1623
1637
|
.xs\\:layerStyle_elevation\\.focus {
|
|
1638
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1624
1639
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1625
1640
|
}
|
|
1626
1641
|
.xs\\:layerStyle_elevation\\.focusCompact {
|
|
@@ -1739,6 +1754,7 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
1739
1754
|
box-shadow: var(--iress-elevation-overflow-shadow, inset 7px 0px 5px #091E4215);
|
|
1740
1755
|
}
|
|
1741
1756
|
.sm\\:layerStyle_elevation\\.focus {
|
|
1757
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1742
1758
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1743
1759
|
}
|
|
1744
1760
|
.sm\\:layerStyle_elevation\\.focusCompact {
|
|
@@ -1857,6 +1873,7 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
1857
1873
|
box-shadow: var(--iress-elevation-overflow-shadow, inset 7px 0px 5px #091E4215);
|
|
1858
1874
|
}
|
|
1859
1875
|
.md\\:layerStyle_elevation\\.focus {
|
|
1876
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1860
1877
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1861
1878
|
}
|
|
1862
1879
|
.md\\:layerStyle_elevation\\.focusCompact {
|
|
@@ -1975,6 +1992,7 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
1975
1992
|
box-shadow: var(--iress-elevation-overflow-shadow, inset 7px 0px 5px #091E4215);
|
|
1976
1993
|
}
|
|
1977
1994
|
.lg\\:layerStyle_elevation\\.focus {
|
|
1995
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
1978
1996
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
1979
1997
|
}
|
|
1980
1998
|
.lg\\:layerStyle_elevation\\.focusCompact {
|
|
@@ -2093,6 +2111,7 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
2093
2111
|
box-shadow: var(--iress-elevation-overflow-shadow, inset 7px 0px 5px #091E4215);
|
|
2094
2112
|
}
|
|
2095
2113
|
.xl\\:layerStyle_elevation\\.focus {
|
|
2114
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
2096
2115
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
2097
2116
|
}
|
|
2098
2117
|
.xl\\:layerStyle_elevation\\.focusCompact {
|
|
@@ -2211,6 +2230,7 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
2211
2230
|
box-shadow: var(--iress-elevation-overflow-shadow, inset 7px 0px 5px #091E4215);
|
|
2212
2231
|
}
|
|
2213
2232
|
.xxl\\:layerStyle_elevation\\.focus {
|
|
2233
|
+
border-color: var(--iress-elevation-focus-border-color, #0066FF) !important;
|
|
2214
2234
|
box-shadow: var(--iress-elevation-focus-shadow, 0px 0px 0px 1.5px var(--iress-colour-neutral-10, #FFFFFF), 0px 0px 0px 3.5px #0066FF);
|
|
2215
2235
|
}
|
|
2216
2236
|
.xxl\\:layerStyle_elevation\\.focusCompact {
|
|
@@ -2412,6 +2432,10 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
2412
2432
|
padding: var(--spacing-spacing\\.3);
|
|
2413
2433
|
}
|
|
2414
2434
|
|
|
2435
|
+
.font_inherit {
|
|
2436
|
+
font: inherit;
|
|
2437
|
+
}
|
|
2438
|
+
|
|
2415
2439
|
.bg_\\[currentColor\\] {
|
|
2416
2440
|
background: currentColor;
|
|
2417
2441
|
}
|
|
@@ -3847,10 +3871,6 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
3847
3871
|
position: relative;
|
|
3848
3872
|
}
|
|
3849
3873
|
|
|
3850
|
-
.bx-sh_none {
|
|
3851
|
-
box-shadow: none;
|
|
3852
|
-
}
|
|
3853
|
-
|
|
3854
3874
|
.d_contents {
|
|
3855
3875
|
display: contents;
|
|
3856
3876
|
}
|
|
@@ -4370,6 +4390,10 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
4370
4390
|
opacity: 0.5;
|
|
4371
4391
|
}
|
|
4372
4392
|
|
|
4393
|
+
.bx-sh_none {
|
|
4394
|
+
box-shadow: none;
|
|
4395
|
+
}
|
|
4396
|
+
|
|
4373
4397
|
.rg_spacing\\.1 {
|
|
4374
4398
|
row-gap: var(--spacing-spacing\\.1);
|
|
4375
4399
|
}
|
|
@@ -4594,8 +4618,8 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
4594
4618
|
background-color: var(--colors-transparent);
|
|
4595
4619
|
}
|
|
4596
4620
|
|
|
4597
|
-
.
|
|
4598
|
-
margin-inline-start: var(--spacing-spacing\\.1);
|
|
4621
|
+
.ms_\\[calc\\(\\{spacing\\.spacing\\.1\\}_\\*_0\\.5\\)\\] {
|
|
4622
|
+
margin-inline-start: calc(var(--spacing-spacing\\.1) * 0.5);
|
|
4599
4623
|
}
|
|
4600
4624
|
|
|
4601
4625
|
.me_spacing\\.1 {
|
|
@@ -4606,6 +4630,10 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
4606
4630
|
line-height: 1.5rem;
|
|
4607
4631
|
}
|
|
4608
4632
|
|
|
4633
|
+
.ms_spacing\\.1 {
|
|
4634
|
+
margin-inline-start: var(--spacing-spacing\\.1);
|
|
4635
|
+
}
|
|
4636
|
+
|
|
4609
4637
|
.mbe_spacing\\.1 {
|
|
4610
4638
|
margin-block-end: var(--spacing-spacing\\.1);
|
|
4611
4639
|
}
|
|
@@ -5354,16 +5382,16 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
5354
5382
|
padding-top: var(--spacing-spacing\\.3);
|
|
5355
5383
|
}
|
|
5356
5384
|
|
|
5357
|
-
.w_\\[
|
|
5358
|
-
width:
|
|
5385
|
+
.w_\\[1\\.4em\\] {
|
|
5386
|
+
width: 1.4em;
|
|
5359
5387
|
}
|
|
5360
5388
|
|
|
5361
|
-
.min-w_\\[
|
|
5362
|
-
min-width:
|
|
5389
|
+
.min-w_\\[1\\.4em\\] {
|
|
5390
|
+
min-width: 1.4em;
|
|
5363
5391
|
}
|
|
5364
5392
|
|
|
5365
|
-
.h_\\[
|
|
5366
|
-
height:
|
|
5393
|
+
.h_\\[1\\.4em\\] {
|
|
5394
|
+
height: 1.4em;
|
|
5367
5395
|
}
|
|
5368
5396
|
|
|
5369
5397
|
.w_\\[calc\\(1\\.25_\\*_\\{sizes\\.typography\\.base\\}\\)\\] {
|
|
@@ -5538,6 +5566,14 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
5538
5566
|
max-height: calc(100vh - (var(--spacing-spacing\\.7) * 2));
|
|
5539
5567
|
}
|
|
5540
5568
|
|
|
5569
|
+
.w_overlay\\.sm {
|
|
5570
|
+
width: var(--sizes-overlay\\.sm);
|
|
5571
|
+
}
|
|
5572
|
+
|
|
5573
|
+
.w_overlay\\.lg {
|
|
5574
|
+
width: var(--sizes-overlay\\.lg);
|
|
5575
|
+
}
|
|
5576
|
+
|
|
5541
5577
|
.top_spacing\\.2 {
|
|
5542
5578
|
top: var(--spacing-spacing\\.2);
|
|
5543
5579
|
}
|
|
@@ -5590,14 +5626,6 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
5590
5626
|
width: 1px;
|
|
5591
5627
|
}
|
|
5592
5628
|
|
|
5593
|
-
.w_\\[calc\\(1\\.3_\\*_1rem\\)\\] {
|
|
5594
|
-
width: calc(1.3 * 1rem);
|
|
5595
|
-
}
|
|
5596
|
-
|
|
5597
|
-
.h_\\[calc\\(1\\.3_\\*_1rem\\)\\] {
|
|
5598
|
-
height: calc(1.3 * 1rem);
|
|
5599
|
-
}
|
|
5600
|
-
|
|
5601
5629
|
.min-h_input\\.height {
|
|
5602
5630
|
min-height: var(--sizes-input\\.height);
|
|
5603
5631
|
}
|
|
@@ -5686,10 +5714,6 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
5686
5714
|
margin-top: var(--spacing-spacing\\.2);
|
|
5687
5715
|
}
|
|
5688
5716
|
|
|
5689
|
-
.w_overlay\\.sm {
|
|
5690
|
-
width: var(--sizes-overlay\\.sm);
|
|
5691
|
-
}
|
|
5692
|
-
|
|
5693
5717
|
.min-w_slider\\.thumb {
|
|
5694
5718
|
min-width: var(--sizes-slider\\.thumb);
|
|
5695
5719
|
}
|
|
@@ -6842,10 +6866,6 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
6842
6866
|
width: var(--sizes-container\\.xxl);
|
|
6843
6867
|
}
|
|
6844
6868
|
|
|
6845
|
-
.w_overlay\\.lg {
|
|
6846
|
-
width: var(--sizes-overlay\\.lg);
|
|
6847
|
-
}
|
|
6848
|
-
|
|
6849
6869
|
.w_chevron\\.select {
|
|
6850
6870
|
width: var(--sizes-chevron\\.select);
|
|
6851
6871
|
}
|
|
@@ -7869,19 +7889,11 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
7869
7889
|
min-height: calc(var(--sizes-input\\.height) - var(--spacing-xs) * 2.5);
|
|
7870
7890
|
}
|
|
7871
7891
|
|
|
7872
|
-
.focusWithin\\:bd-c_colour\\.primary\\.fill:focus-within {
|
|
7873
|
-
border-color: var(--colors-colour\\.primary\\.fill);
|
|
7874
|
-
}
|
|
7875
|
-
|
|
7876
7892
|
.focusWithin\\:ring_\\[none\\]:focus-within {
|
|
7877
7893
|
outline: 2px solid transparent;
|
|
7878
7894
|
outline-offset: 2px;
|
|
7879
7895
|
}
|
|
7880
7896
|
|
|
7881
|
-
.\\[\\&\\:focus-within\\]\\:bd-c_colour\\.primary\\.fill:focus-within {
|
|
7882
|
-
border-color: var(--colors-colour\\.primary\\.fill);
|
|
7883
|
-
}
|
|
7884
|
-
|
|
7885
7897
|
.\\[\\&\\:focus-within\\]\\:ring_\\[none\\]:focus-within {
|
|
7886
7898
|
outline: 2px solid transparent;
|
|
7887
7899
|
outline-offset: 2px;
|
|
@@ -7913,14 +7925,6 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
7913
7925
|
outline-offset: 2px;
|
|
7914
7926
|
}
|
|
7915
7927
|
|
|
7916
|
-
.\\[\\&\\:has\\(input\\:focus\\,_textarea\\:focus\\)\\]\\:bd-c_colour\\.primary\\.fill:has(input:focus, textarea:focus) {
|
|
7917
|
-
border-color: var(--colors-colour\\.primary\\.fill);
|
|
7918
|
-
}
|
|
7919
|
-
|
|
7920
|
-
.\\[\\&\\:focus\\]\\:bd-c_colour\\.primary\\.fill:focus {
|
|
7921
|
-
border-color: var(--colors-colour\\.primary\\.fill);
|
|
7922
|
-
}
|
|
7923
|
-
|
|
7924
7928
|
.\\[\\&\\:focus\\]\\:ring_\\[none\\]:focus {
|
|
7925
7929
|
outline: 2px solid transparent;
|
|
7926
7930
|
outline-offset: 2px;
|
|
@@ -8066,10 +8070,6 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
8066
8070
|
color: var(--colors-colour\\.neutral\\.80);
|
|
8067
8071
|
}
|
|
8068
8072
|
|
|
8069
|
-
.active\\:bd-c_colour\\.primary\\.fill:is(:active, [data-active]) {
|
|
8070
|
-
border-color: var(--colors-colour\\.primary\\.fill);
|
|
8071
|
-
}
|
|
8072
|
-
|
|
8073
8073
|
.active\\:ring_\\[none\\]:is(:active, [data-active]) {
|
|
8074
8074
|
outline: 2px solid transparent;
|
|
8075
8075
|
outline-offset: 2px;
|
|
@@ -21631,8 +21631,8 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
21631
21631
|
if (i.current.shadowRoot)
|
|
21632
21632
|
m(i.current.shadowRoot);
|
|
21633
21633
|
else {
|
|
21634
|
-
const n = i.current.attachShadow({ mode: "open" }),
|
|
21635
|
-
|
|
21634
|
+
const n = i.current.attachShadow({ mode: "open" }), r = document.createElement("style"), s = document.querySelector("meta[name='csp-nonce']")?.getAttribute("content");
|
|
21635
|
+
s && r.setAttribute("nonce", s), r.textContent = z, n.appendChild(r);
|
|
21636
21636
|
const c = document.createElement("div");
|
|
21637
21637
|
n.appendChild(c), l.current = c, m(n);
|
|
21638
21638
|
}
|
|
@@ -21640,8 +21640,8 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
21640
21640
|
e.forEach((n) => {
|
|
21641
21641
|
if (document.head.querySelector(`link[href="${n}"]`))
|
|
21642
21642
|
return;
|
|
21643
|
-
const
|
|
21644
|
-
|
|
21643
|
+
const r = document.createElement("link");
|
|
21644
|
+
r.href = n, r.rel = "stylesheet", document.head.appendChild(r);
|
|
21645
21645
|
});
|
|
21646
21646
|
}, [e]), g(() => {
|
|
21647
21647
|
if (o || !a) return;
|
|
@@ -21651,15 +21651,15 @@ const z = `@layer reset, base, tokens, recipes, utilities;
|
|
|
21651
21651
|
a && t.forEach((n) => {
|
|
21652
21652
|
if (a.querySelector(`link[href="${n}"]`))
|
|
21653
21653
|
return;
|
|
21654
|
-
const
|
|
21655
|
-
|
|
21654
|
+
const r = document.createElement("link");
|
|
21655
|
+
r.href = n, r.rel = "stylesheet", a.appendChild(r);
|
|
21656
21656
|
});
|
|
21657
21657
|
}, [a, t]), g(() => {
|
|
21658
|
-
a && Object.entries(p).forEach(([n,
|
|
21658
|
+
a && Object.entries(p).forEach(([n, r]) => {
|
|
21659
21659
|
if (a.querySelector(`style[id="${n}"]`))
|
|
21660
21660
|
return;
|
|
21661
|
-
const
|
|
21662
|
-
c &&
|
|
21661
|
+
const s = document.createElement("style"), c = document.querySelector("meta[name='csp-nonce']")?.getAttribute("content");
|
|
21662
|
+
c && s.setAttribute("nonce", c), s.setAttribute("id", n), s.textContent = r, a.appendChild(s);
|
|
21663
21663
|
});
|
|
21664
21664
|
}, [a, p]), h(
|
|
21665
21665
|
u,
|
|
@@ -64,6 +64,13 @@ export interface IressModalProps extends IressStyledProps {
|
|
|
64
64
|
* When set to `true` the modal will be visible. Use for controlled modals.
|
|
65
65
|
*/
|
|
66
66
|
show?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Size of the modal
|
|
69
|
+
* - `sm`: Small modals communicate the outcome of an irreversible action. They should be concise and straightforward, containing a single action and, in some cases, a single input field.
|
|
70
|
+
* - `md`: Medium modals provide optional supporting information to help users understand the context of a word or screen. They may contain a single action and, in some cases, a larger input such as a textarea.
|
|
71
|
+
* - `lg`: Large modals are used for more complex tasks that require multiple steps or a lot of information as well as media such as video and PDF documents. They can contain multiple actions, inputs, and supporting information.
|
|
72
|
+
*/
|
|
73
|
+
size?: 'sm' | 'md' | 'lg';
|
|
67
74
|
/**
|
|
68
75
|
* When set to `true`, the modal will act like a static element when open.
|
|
69
76
|
* This means it will not lock scroll or focus within the modal.
|
|
@@ -71,4 +78,4 @@ export interface IressModalProps extends IressStyledProps {
|
|
|
71
78
|
*/
|
|
72
79
|
static?: boolean;
|
|
73
80
|
}
|
|
74
|
-
export declare const IressModal: ({ children, className, closeText, container, "data-testid": dataTestid, defaultShow, disableBackdropClick, fixedFooter, footer, heading: headingProp, noCloseButton, onEntered, onExited, onShowChange, onStatus, onTransitionEnd, show, static: isStatic, style, ...restProps }: IressModalProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
81
|
+
export declare const IressModal: ({ children, className, closeText, container, "data-testid": dataTestid, defaultShow, disableBackdropClick, fixedFooter, footer, heading: headingProp, noCloseButton, onEntered, onExited, onShowChange, onStatus, onTransitionEnd, show, size, static: isStatic, style, ...restProps }: IressModalProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -32,6 +32,29 @@ export declare const modal: import('../../styled-system/types').SlotRecipeRuntim
|
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* Size of the modal
|
|
37
|
+
* - `sm`: Small modals communicate the outcome of an irreversible action. They should be concise and straightforward, containing a single action and, in some cases, a single input field.
|
|
38
|
+
* - `md`: Medium modals provide optional supporting information to help users understand the context of a word or screen. They may contain a single action and, in some cases, a larger input such as a textarea.
|
|
39
|
+
* - `lg`: Large modals are used for more complex tasks that require multiple steps or a lot of information as well as media such as video and PDF documents. They can contain multiple actions, inputs, and supporting information.
|
|
40
|
+
*/
|
|
41
|
+
size: {
|
|
42
|
+
sm: {
|
|
43
|
+
modal: {
|
|
44
|
+
width: "overlay.sm";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
md: {
|
|
48
|
+
modal: {
|
|
49
|
+
width: "overlay.md";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
lg: {
|
|
53
|
+
modal: {
|
|
54
|
+
width: "overlay.lg";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
35
58
|
/**
|
|
36
59
|
* The state of the modal.
|
|
37
60
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const radio: import('../../styled-system/types').SlotRecipeRuntimeFn<"input" | "label" | "root" | "checkboxMark" | "radioMark" | "checkedRadioMark", {
|
|
1
|
+
export declare const radio: import('../../styled-system/types').SlotRecipeRuntimeFn<"input" | "label" | "root" | "checkboxMark" | "labelContent" | "radioMark" | "checkedRadioMark", {
|
|
2
2
|
hiddenControl: {
|
|
3
3
|
true: {
|
|
4
4
|
label: {
|
package/dist/src/enums.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export declare enum GlobalCSSClass {
|
|
|
28
28
|
Input = "ids-input",
|
|
29
29
|
InputCurrency = "ids-input--currency",
|
|
30
30
|
InputPopover = "ids-popover--input",
|
|
31
|
+
Label = "ids-label",
|
|
31
32
|
Link = "ids-link",
|
|
32
33
|
Menu = "ids-menu",
|
|
33
34
|
MenuHeading = "ids-text--menu-heading",
|
|
@@ -77,7 +78,7 @@ export declare enum GlobalCSSClass {
|
|
|
77
78
|
Tooltip = "ids-tooltip",
|
|
78
79
|
ValidationLink = "ids-validation-message--link",
|
|
79
80
|
ValidationMessage = "ids-validation-message",
|
|
80
|
-
ValidationSummary = "ids-validation-
|
|
81
|
+
ValidationSummary = "ids-validation-summary"
|
|
81
82
|
}
|
|
82
83
|
/** @deprecated Breakpoint enum is now deprecated and will be removed in a future version. Please use the Breakpoints type instead. **/
|
|
83
84
|
export declare enum Breakpoint {
|