@sebgroup/green-core 1.19.0 → 1.20.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/chunks/{chunk.DFYMYEGD.js → chunk.2X23R32H.js} +0 -1
- package/chunks/{chunk.WD3OOHSN.js → chunk.4QOFEG6G.js} +162 -67
- package/chunks/{chunk.TQNYJ3ZV.js → chunk.4ZTSWZUY.js} +5 -6
- package/chunks/{chunk.H3RHSZBE.js → chunk.5EPIZQO6.js} +2 -2
- package/chunks/{chunk.7ET5U6M4.js → chunk.73TOOYEY.js} +1 -1
- package/chunks/{chunk.EVCXHZZV.js → chunk.BJOJYTQV.js} +5 -5
- package/chunks/{chunk.HQQWYXGV.js → chunk.BLKXWE5L.js} +6 -18
- package/chunks/chunk.C3ECHGX7.js +31 -0
- package/chunks/{chunk.2V3RCC4W.js → chunk.DEHXA7DC.js} +47 -14
- package/chunks/{chunk.PUECQM7D.js → chunk.DFTJBJPB.js} +9 -1
- package/chunks/{chunk.MSPF6KFQ.js → chunk.ESPHZ2PE.js} +1 -1
- package/chunks/chunk.FQUH54AY.js +86 -0
- package/chunks/{chunk.XJBBISJT.js → chunk.GJ4HS4M4.js} +3 -3
- package/chunks/{chunk.WJ5KHFD2.js → chunk.HHH2BCUH.js} +3 -4
- package/chunks/{chunk.6DIOCJEK.js → chunk.IKRRGS7G.js} +7 -6
- package/chunks/chunk.JG4R6KQ7.js +201 -0
- package/chunks/{chunk.6NM7ENKA.js → chunk.KBYQYDL3.js} +4 -1
- package/chunks/{chunk.E557RFML.js → chunk.L3N6R3LF.js} +3 -3
- package/chunks/{chunk.3WOE3WRP.js → chunk.LZXR7Q7Q.js} +2 -2
- package/chunks/{chunk.JRQ6R42T.js → chunk.METO6ZWZ.js} +2 -3
- package/chunks/chunk.MURVRI5G.js +0 -0
- package/chunks/{chunk.OBMJAQII.js → chunk.MZSK66DN.js} +4 -1
- package/chunks/{chunk.SPH3C7EL.js → chunk.NI33W56L.js} +2 -2
- package/chunks/{chunk.WDBWUEJJ.js → chunk.ONYXQSF3.js} +2 -2
- package/chunks/{chunk.X2SAPDS5.js → chunk.QYF6IICO.js} +4 -4
- package/chunks/chunk.TJA7LL3V.js +0 -0
- package/chunks/chunk.V7ZQ5N3U.js +0 -0
- package/chunks/chunk.VHN4JEZC.js +28 -0
- package/chunks/chunk.VOYMQ322.js +1 -1
- package/chunks/{chunk.F2QPH4SQ.js → chunk.VXAUXCMI.js} +31 -5
- package/chunks/{chunk.W25MKPJZ.js → chunk.WJ4TTJIK.js} +9 -19
- package/chunks/{chunk.BXQSEF47.js → chunk.Z43CP7DK.js} +2 -2
- package/chunks/{chunk.ATDR2LQS.js → chunk.ZQ4D5K7J.js} +12 -5
- package/components/button/button.d.ts +5 -2
- package/components/button/button.js +7 -8
- package/components/button/button.trans.styles.js +1 -1
- package/components/button/index.js +8 -8
- package/components/context-menu/context-menu.d.ts +1 -1
- package/components/context-menu/context-menu.js +9 -10
- package/components/context-menu/context-menu.trans.styles.js +1 -1
- package/components/context-menu/index.js +12 -13
- package/components/datepicker/datepicker.js +13 -13
- package/components/datepicker/datepicker.trans.styles.js +1 -1
- package/components/datepicker/index.js +13 -13
- package/components/dropdown/dropdown.d.ts +0 -1
- package/components/dropdown/dropdown.js +9 -10
- package/components/dropdown/dropdown.trans.styles.js +1 -1
- package/components/dropdown/index.js +10 -11
- package/components/filter-chips/filter-chip/filter-chip.d.ts +20 -0
- package/components/filter-chips/filter-chip/filter-chip.js +23 -0
- package/components/filter-chips/filter-chip/filter-chip.styles.d.ts +1 -0
- package/components/filter-chips/filter-chip/filter-chip.trans.styles.d.ts +2 -0
- package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +11 -0
- package/components/filter-chips/filter-chip/index.d.ts +1 -0
- package/components/filter-chips/filter-chip/index.js +24 -0
- package/components/filter-chips/filter-chips.d.ts +44 -0
- package/components/filter-chips/filter-chips.js +27 -0
- package/components/filter-chips/filter-chips.styles.d.ts +1 -0
- package/components/filter-chips/filter-chips.trans.styles.d.ts +2 -0
- package/components/filter-chips/filter-chips.trans.styles.js +11 -0
- package/components/filter-chips/index.d.ts +2 -0
- package/components/filter-chips/index.js +31 -0
- package/components/form-control.d.ts +3 -0
- package/components/form-control.js +2 -2
- package/components/grid/grid.d.ts +6 -6
- package/components/grid/grid.js +3 -3
- package/components/grid/index.js +3 -3
- package/components/grouped-list/grouped-list.js +6 -7
- package/components/grouped-list/grouped-list.trans.styles.js +1 -1
- package/components/grouped-list/index.js +6 -7
- package/components/grouped-list/list-item.js +2 -2
- package/components/icon/icon.js +2 -2
- package/components/icon/index.js +3 -2
- package/components/index.d.ts +1 -0
- package/components/index.js +52 -39
- package/components/radio/radio-group.js +70 -5
- package/components/segmented-control/index.js +8 -6
- package/components/segmented-control/segment/index.js +4 -5
- package/components/segmented-control/segment/segment.js +4 -5
- package/components/segmented-control/segment/segment.trans.styles.js +1 -1
- package/components/segmented-control/segmented-control.d.ts +1 -1
- package/components/segmented-control/segmented-control.js +8 -6
- package/components/segmented-control/segmented-control.trans.styles.js +1 -1
- package/components/theme/index.js +3 -4
- package/components/theme/theme.js +3 -4
- package/components/theme/theme.trans.styles.js +2 -2
- package/gds-element.d.ts +8 -1
- package/index.js +52 -39
- package/mixins/focusable.d.ts +1 -1
- package/package.json +3 -4
- package/primitives/calendar/calendar.d.ts +26 -0
- package/primitives/calendar/calendar.js +3 -4
- package/primitives/calendar/functions.d.ts +1 -1
- package/primitives/calendar/index.js +3 -4
- package/primitives/listbox/index.js +5 -6
- package/primitives/listbox/listbox.d.ts +0 -1
- package/primitives/listbox/listbox.js +5 -6
- package/primitives/listbox/option.d.ts +0 -1
- package/primitives/listbox/option.js +3 -4
- package/primitives/menu/index.js +5 -6
- package/primitives/menu/menu-heading.js +3 -4
- package/primitives/menu/menu-item.js +3 -4
- package/primitives/menu/menu.js +5 -6
- package/primitives/popover/index.js +3 -4
- package/primitives/popover/popover.js +3 -4
- package/primitives/ripple/index.js +2 -2
- package/primitives/ripple/ripple.js +2 -2
- package/transitional-styles.js +1 -2
- package/utils/decorators/observe-light-dom.d.ts +1 -1
- package/utils/decorators/resize-observer.d.ts +15 -0
- package/utils/decorators/watch-media-query.d.ts +1 -1
- package/utils/decorators/watch.d.ts +1 -1
- package/utils/directives/forward-attributes.d.ts +17 -0
- package/utils/helpers/attribute-converters.d.ts +14 -0
- package/utils/helpers/custom-element-scoping.d.ts +1 -3
- package/utils/localization/localization.d.ts +1 -1
- package/chunks/chunk.TN6ZYAH3.js +0 -74
- package/components/badge/badge.d.ts +0 -43
- package/components/badge/badge.js +0 -245
- package/components/checkbox/checkbox.d.ts +0 -12
- package/components/checkbox/checkbox.js +0 -219
- package/components/input/input.d.ts +0 -69
- package/components/input/input.js +0 -683
- package/components/radio/radio.d.ts +0 -14
- package/components/radio/radio.js +0 -240
- package/components/switch/switch.d.ts +0 -12
- package/components/switch/switch.js +0 -164
- package/components/tooltip/tooltip.d.ts +0 -14
- package/components/tooltip/tooltip.js +0 -252
- /package/chunks/{chunk.HS7ICQNA.js → chunk.4ZADZSWE.js} +0 -0
- /package/chunks/{chunk.RSZ4ZUN3.js → chunk.JGTSJ4J6.js} +0 -0
|
@@ -274,8 +274,7 @@ var dropdown_trans_styles_default = `/**
|
|
|
274
274
|
:host(:invalid) button + .form-info::before {
|
|
275
275
|
background: transparent;
|
|
276
276
|
border-radius: 0 0 4px 4px;
|
|
277
|
-
|
|
278
|
-
clip-path: inset(4px 0 0 0);
|
|
277
|
+
clip-path: inset(4px 0 0 0);
|
|
279
278
|
content: "";
|
|
280
279
|
display: block;
|
|
281
280
|
height: 4px;
|
|
@@ -286,8 +285,7 @@ var dropdown_trans_styles_default = `/**
|
|
|
286
285
|
}
|
|
287
286
|
:host(:invalid) button + .form-info::before {
|
|
288
287
|
background: var(--intent-danger-background);
|
|
289
|
-
|
|
290
|
-
clip-path: inset(1px 0 0 0);
|
|
288
|
+
clip-path: inset(1px 0 0 0);
|
|
291
289
|
}
|
|
292
290
|
::slotted([slot=trigger]) {
|
|
293
291
|
overflow: hidden;
|
|
@@ -415,7 +413,7 @@ var dropdown_trans_styles_default = `/**
|
|
|
415
413
|
--color: rgb(255, 255, 255);
|
|
416
414
|
border-color: #199be3;
|
|
417
415
|
}
|
|
418
|
-
button[aria-selected], button:active, button.active, button.active:hover, button:active:hover {
|
|
416
|
+
button[aria-selected=true], button:active, button.active, button.active:hover, button:active:hover {
|
|
419
417
|
background-color: rgb(0, 122, 199);
|
|
420
418
|
color: rgb(255, 255, 255);
|
|
421
419
|
--background: rgb(0, 122, 199);
|
|
@@ -963,7 +961,7 @@ button:where(:not(.primary,
|
|
|
963
961
|
[aria-haspopup=listbox],
|
|
964
962
|
[aria-haspopup=menu],
|
|
965
963
|
[role=switch],
|
|
966
|
-
.gds-filter-chip))[aria-selected], button:where(:not(.primary,
|
|
964
|
+
.gds-filter-chip))[aria-selected=true], button:where(:not(.primary,
|
|
967
965
|
.tertiary,
|
|
968
966
|
.ghost,
|
|
969
967
|
.danger,
|
|
@@ -1004,22 +1002,22 @@ button:where(:not(.primary,
|
|
|
1004
1002
|
[aria-haspopup=menu],
|
|
1005
1003
|
[role=switch],
|
|
1006
1004
|
.gds-filter-chip)):active:hover,
|
|
1007
|
-
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-selected],
|
|
1005
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-selected=true],
|
|
1008
1006
|
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):active,
|
|
1009
1007
|
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active,
|
|
1010
1008
|
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active:hover,
|
|
1011
1009
|
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):active:hover,
|
|
1012
|
-
button.secondary[aria-selected],
|
|
1010
|
+
button.secondary[aria-selected=true],
|
|
1013
1011
|
button.secondary:active,
|
|
1014
1012
|
button.secondary.active,
|
|
1015
1013
|
button.secondary.active:hover,
|
|
1016
1014
|
button.secondary:active:hover,
|
|
1017
|
-
a.button.secondary[aria-selected],
|
|
1015
|
+
a.button.secondary[aria-selected=true],
|
|
1018
1016
|
a.button.secondary:active,
|
|
1019
1017
|
a.button.secondary.active,
|
|
1020
1018
|
a.button.secondary.active:hover,
|
|
1021
1019
|
a.button.secondary:active:hover,
|
|
1022
|
-
input:is([type=button], [type=reset])[aria-selected],
|
|
1020
|
+
input:is([type=button], [type=reset])[aria-selected=true],
|
|
1023
1021
|
input:is([type=button], [type=reset]):active,
|
|
1024
1022
|
input:is([type=button], [type=reset]).active,
|
|
1025
1023
|
input:is([type=button], [type=reset]).active:hover,
|
|
@@ -1032,7 +1030,7 @@ button[type=button]:where(:not(.primary,
|
|
|
1032
1030
|
.link,
|
|
1033
1031
|
.icon,
|
|
1034
1032
|
[aria-haspopup=listbox],
|
|
1035
|
-
[aria-haspopup=menu]))[aria-selected],
|
|
1033
|
+
[aria-haspopup=menu]))[aria-selected=true],
|
|
1036
1034
|
button[type=button]:where(:not(.primary,
|
|
1037
1035
|
.tertiary,
|
|
1038
1036
|
.ghost,
|
|
@@ -1069,7 +1067,7 @@ button[type=button]:where(:not(.primary,
|
|
|
1069
1067
|
.icon,
|
|
1070
1068
|
[aria-haspopup=listbox],
|
|
1071
1069
|
[aria-haspopup=menu])):active:hover,
|
|
1072
|
-
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-selected],
|
|
1070
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-selected=true],
|
|
1073
1071
|
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):active,
|
|
1074
1072
|
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active,
|
|
1075
1073
|
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active:hover,
|
|
@@ -1390,7 +1388,7 @@ button:where(:not(.primary,
|
|
|
1390
1388
|
[aria-haspopup=listbox],
|
|
1391
1389
|
[aria-haspopup=menu],
|
|
1392
1390
|
[role=switch],
|
|
1393
|
-
.gds-filter-chip))[aria-selected], button:where(:not(.primary,
|
|
1391
|
+
.gds-filter-chip))[aria-selected=true], button:where(:not(.primary,
|
|
1394
1392
|
.secondary,
|
|
1395
1393
|
.ghost,
|
|
1396
1394
|
.danger,
|
|
@@ -1431,17 +1429,17 @@ button:where(:not(.primary,
|
|
|
1431
1429
|
[aria-haspopup=menu],
|
|
1432
1430
|
[role=switch],
|
|
1433
1431
|
.gds-filter-chip)):active:hover,
|
|
1434
|
-
a.button:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-selected],
|
|
1432
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-selected=true],
|
|
1435
1433
|
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):active,
|
|
1436
1434
|
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)).active,
|
|
1437
1435
|
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)).active:hover,
|
|
1438
1436
|
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):active:hover,
|
|
1439
|
-
button.tertiary[aria-selected],
|
|
1437
|
+
button.tertiary[aria-selected=true],
|
|
1440
1438
|
button.tertiary:active,
|
|
1441
1439
|
button.tertiary.active,
|
|
1442
1440
|
button.tertiary.active:hover,
|
|
1443
1441
|
button.tertiary:active:hover,
|
|
1444
|
-
a.button.tertiary[aria-selected],
|
|
1442
|
+
a.button.tertiary[aria-selected=true],
|
|
1445
1443
|
a.button.tertiary:active,
|
|
1446
1444
|
a.button.tertiary.active,
|
|
1447
1445
|
a.button.tertiary.active:hover,
|
|
@@ -1605,8 +1603,8 @@ a.button.primary:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
|
1605
1603
|
--color: rgb(255, 255, 255);
|
|
1606
1604
|
border-color: #199be3;
|
|
1607
1605
|
}
|
|
1608
|
-
button.primary[aria-selected], button.primary:active, button.primary.active, button.primary.active:hover, button.primary:active:hover,
|
|
1609
|
-
input[type=submit][aria-selected],
|
|
1606
|
+
button.primary[aria-selected=true], button.primary:active, button.primary.active, button.primary.active:hover, button.primary:active:hover,
|
|
1607
|
+
input[type=submit][aria-selected=true],
|
|
1610
1608
|
input[type=submit]:active,
|
|
1611
1609
|
input[type=submit].active,
|
|
1612
1610
|
input[type=submit].active:hover,
|
|
@@ -1616,7 +1614,7 @@ button[type=submit]:not(.secondary,
|
|
|
1616
1614
|
.danger,
|
|
1617
1615
|
.close,
|
|
1618
1616
|
.link,
|
|
1619
|
-
.gds-filter-chip)[aria-selected],
|
|
1617
|
+
.gds-filter-chip)[aria-selected=true],
|
|
1620
1618
|
button[type=submit]:not(.secondary,
|
|
1621
1619
|
.ghost,
|
|
1622
1620
|
.danger,
|
|
@@ -1641,12 +1639,12 @@ button[type=submit]:not(.secondary,
|
|
|
1641
1639
|
.close,
|
|
1642
1640
|
.link,
|
|
1643
1641
|
.gds-filter-chip):active:hover,
|
|
1644
|
-
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link)[aria-selected],
|
|
1642
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link)[aria-selected=true],
|
|
1645
1643
|
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link):active,
|
|
1646
1644
|
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link).active,
|
|
1647
1645
|
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link).active:hover,
|
|
1648
1646
|
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link):active:hover,
|
|
1649
|
-
a.button.primary[aria-selected],
|
|
1647
|
+
a.button.primary[aria-selected=true],
|
|
1650
1648
|
a.button.primary:active,
|
|
1651
1649
|
a.button.primary.active,
|
|
1652
1650
|
a.button.primary.active:hover,
|
|
@@ -1770,8 +1768,8 @@ button.ghost:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
|
1770
1768
|
--color: rgb(255, 255, 255);
|
|
1771
1769
|
border-color: rgb(51, 51, 51);
|
|
1772
1770
|
}
|
|
1773
|
-
button.ghost[aria-selected], button.ghost:active, button.ghost.active, button.ghost.active:hover, button.ghost:active:hover,
|
|
1774
|
-
.button.ghost[aria-selected],
|
|
1771
|
+
button.ghost[aria-selected=true], button.ghost:active, button.ghost.active, button.ghost.active:hover, button.ghost:active:hover,
|
|
1772
|
+
.button.ghost[aria-selected=true],
|
|
1775
1773
|
.button.ghost:active,
|
|
1776
1774
|
.button.ghost.active,
|
|
1777
1775
|
.button.ghost.active:hover,
|
|
@@ -1891,18 +1889,18 @@ input[type=submit].danger:not(.secondary, .ghost, .close, .link):not(:disabled,
|
|
|
1891
1889
|
--color: rgb(255, 255, 255);
|
|
1892
1890
|
border-color: rgb(216, 26, 26);
|
|
1893
1891
|
}
|
|
1894
|
-
button.primary.danger[aria-selected], button.primary.danger:active, button.primary.danger.active, button.primary.danger.active:hover, button.primary.danger:active:hover,
|
|
1895
|
-
.button.primary.danger[aria-selected],
|
|
1892
|
+
button.primary.danger[aria-selected=true], button.primary.danger:active, button.primary.danger.active, button.primary.danger.active:hover, button.primary.danger:active:hover,
|
|
1893
|
+
.button.primary.danger[aria-selected=true],
|
|
1896
1894
|
.button.primary.danger:active,
|
|
1897
1895
|
.button.primary.danger.active,
|
|
1898
1896
|
.button.primary.danger.active:hover,
|
|
1899
1897
|
.button.primary.danger:active:hover,
|
|
1900
|
-
button[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-selected],
|
|
1898
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-selected=true],
|
|
1901
1899
|
button[type=submit].danger:not(.secondary, .ghost, .close, .link):active,
|
|
1902
1900
|
button[type=submit].danger:not(.secondary, .ghost, .close, .link).active,
|
|
1903
1901
|
button[type=submit].danger:not(.secondary, .ghost, .close, .link).active:hover,
|
|
1904
1902
|
button[type=submit].danger:not(.secondary, .ghost, .close, .link):active:hover,
|
|
1905
|
-
input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-selected],
|
|
1903
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-selected=true],
|
|
1906
1904
|
input[type=submit].danger:not(.secondary, .ghost, .close, .link):active,
|
|
1907
1905
|
input[type=submit].danger:not(.secondary, .ghost, .close, .link).active,
|
|
1908
1906
|
input[type=submit].danger:not(.secondary, .ghost, .close, .link).active:hover,
|
|
@@ -2038,7 +2036,7 @@ button.danger:where(:not(.primary,
|
|
|
2038
2036
|
.link,
|
|
2039
2037
|
[aria-haspopup=listbox],
|
|
2040
2038
|
[aria-haspopup=menu],
|
|
2041
|
-
[role=switch]))[aria-selected], button.danger:where(:not(.primary,
|
|
2039
|
+
[role=switch]))[aria-selected=true], button.danger:where(:not(.primary,
|
|
2042
2040
|
.tertiary,
|
|
2043
2041
|
.ghost,
|
|
2044
2042
|
.close,
|
|
@@ -2071,22 +2069,22 @@ button.danger:where(:not(.primary,
|
|
|
2071
2069
|
[aria-haspopup=listbox],
|
|
2072
2070
|
[aria-haspopup=menu],
|
|
2073
2071
|
[role=switch])):active:hover,
|
|
2074
|
-
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link))[aria-selected],
|
|
2072
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link))[aria-selected=true],
|
|
2075
2073
|
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)):active,
|
|
2076
2074
|
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)).active,
|
|
2077
2075
|
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)).active:hover,
|
|
2078
2076
|
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)):active:hover,
|
|
2079
|
-
button.secondary.danger[aria-selected],
|
|
2077
|
+
button.secondary.danger[aria-selected=true],
|
|
2080
2078
|
button.secondary.danger:active,
|
|
2081
2079
|
button.secondary.danger.active,
|
|
2082
2080
|
button.secondary.danger.active:hover,
|
|
2083
2081
|
button.secondary.danger:active:hover,
|
|
2084
|
-
a.button.secondary.danger[aria-selected],
|
|
2082
|
+
a.button.secondary.danger[aria-selected=true],
|
|
2085
2083
|
a.button.secondary.danger:active,
|
|
2086
2084
|
a.button.secondary.danger.active,
|
|
2087
2085
|
a.button.secondary.danger.active:hover,
|
|
2088
2086
|
a.button.secondary.danger:active:hover,
|
|
2089
|
-
input.danger:is([type=button], [type=reset])[aria-selected],
|
|
2087
|
+
input.danger:is([type=button], [type=reset])[aria-selected=true],
|
|
2090
2088
|
input.danger:is([type=button], [type=reset]):active,
|
|
2091
2089
|
input.danger:is([type=button], [type=reset]).active,
|
|
2092
2090
|
input.danger:is([type=button], [type=reset]).active:hover,
|
|
@@ -2098,7 +2096,7 @@ button[type=button].danger:where(:not(.primary,
|
|
|
2098
2096
|
.close,
|
|
2099
2097
|
.link,
|
|
2100
2098
|
.gds-filter-chip [aria-haspopup=listbox],
|
|
2101
|
-
[aria-haspopup=menu]))[aria-selected],
|
|
2099
|
+
[aria-haspopup=menu]))[aria-selected=true],
|
|
2102
2100
|
button[type=button].danger:where(:not(.primary,
|
|
2103
2101
|
.tertiary,
|
|
2104
2102
|
.ghost,
|
|
@@ -2131,7 +2129,7 @@ button[type=button].danger:where(:not(.primary,
|
|
|
2131
2129
|
.link,
|
|
2132
2130
|
.gds-filter-chip [aria-haspopup=listbox],
|
|
2133
2131
|
[aria-haspopup=menu])):active:hover,
|
|
2134
|
-
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-selected],
|
|
2132
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-selected=true],
|
|
2135
2133
|
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):active,
|
|
2136
2134
|
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active,
|
|
2137
2135
|
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active:hover,
|
|
@@ -2325,7 +2323,7 @@ button.danger:where(:not(.primary,
|
|
|
2325
2323
|
.link,
|
|
2326
2324
|
[aria-haspopup=listbox],
|
|
2327
2325
|
[aria-haspopup=menu],
|
|
2328
|
-
[role=switch]))[aria-selected], button.danger:where(:not(.primary,
|
|
2326
|
+
[role=switch]))[aria-selected=true], button.danger:where(:not(.primary,
|
|
2329
2327
|
.secondary,
|
|
2330
2328
|
.ghost,
|
|
2331
2329
|
.close,
|
|
@@ -2358,17 +2356,17 @@ button.danger:where(:not(.primary,
|
|
|
2358
2356
|
[aria-haspopup=listbox],
|
|
2359
2357
|
[aria-haspopup=menu],
|
|
2360
2358
|
[role=switch])):active:hover,
|
|
2361
|
-
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-selected],
|
|
2359
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-selected=true],
|
|
2362
2360
|
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)):active,
|
|
2363
2361
|
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)).active,
|
|
2364
2362
|
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)).active:hover,
|
|
2365
2363
|
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)):active:hover,
|
|
2366
|
-
button.tertiary.danger[aria-selected],
|
|
2364
|
+
button.tertiary.danger[aria-selected=true],
|
|
2367
2365
|
button.tertiary.danger:active,
|
|
2368
2366
|
button.tertiary.danger.active,
|
|
2369
2367
|
button.tertiary.danger.active:hover,
|
|
2370
2368
|
button.tertiary.danger:active:hover,
|
|
2371
|
-
a.button.tertiary.danger[aria-selected],
|
|
2369
|
+
a.button.tertiary.danger[aria-selected=true],
|
|
2372
2370
|
a.button.tertiary.danger:active,
|
|
2373
2371
|
a.button.tertiary.danger.active,
|
|
2374
2372
|
a.button.tertiary.danger.active:hover,
|
|
@@ -3080,8 +3078,7 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
3080
3078
|
:host(:invalid) .field + .form-info::before {
|
|
3081
3079
|
background: transparent;
|
|
3082
3080
|
border-radius: 0 0 4px 4px;
|
|
3083
|
-
|
|
3084
|
-
clip-path: inset(4px 0 0 0);
|
|
3081
|
+
clip-path: inset(4px 0 0 0);
|
|
3085
3082
|
content: "";
|
|
3086
3083
|
display: block;
|
|
3087
3084
|
height: 4px;
|
|
@@ -3092,8 +3089,7 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
3092
3089
|
}
|
|
3093
3090
|
:host(:invalid) .field + .form-info::before {
|
|
3094
3091
|
background: var(--intent-danger-background);
|
|
3095
|
-
|
|
3096
|
-
clip-path: inset(1px 0 0 0);
|
|
3092
|
+
clip-path: inset(1px 0 0 0);
|
|
3097
3093
|
}
|
|
3098
3094
|
.header {
|
|
3099
3095
|
padding-top: 0.5rem;
|
|
@@ -3351,6 +3347,19 @@ var calendar_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
|
3351
3347
|
:host table tbody tr td.disabled.sg-date-holiday {
|
|
3352
3348
|
color: hsla(var(--sg-hsl-red-2), 0.25);
|
|
3353
3349
|
}
|
|
3350
|
+
:host table tbody tr td.custom-date {
|
|
3351
|
+
position: relative;
|
|
3352
|
+
}
|
|
3353
|
+
:host table tbody .indicator_dot {
|
|
3354
|
+
display: block;
|
|
3355
|
+
width: 0.375rem;
|
|
3356
|
+
height: 0.375rem;
|
|
3357
|
+
border-radius: 50%;
|
|
3358
|
+
margin: auto;
|
|
3359
|
+
position: absolute;
|
|
3360
|
+
inset-block-end: 0.125rem;
|
|
3361
|
+
inset-inline: 0;
|
|
3362
|
+
}
|
|
3354
3363
|
table {
|
|
3355
3364
|
flex-grow: 1;
|
|
3356
3365
|
width: 100%;
|
|
@@ -3581,6 +3590,42 @@ function register9() {
|
|
|
3581
3590
|
}
|
|
3582
3591
|
var segmented_control_trans_styles_default2 = register9;
|
|
3583
3592
|
|
|
3593
|
+
// libs/core/src/components/filter-chips/filter-chips.trans.styles.scss
|
|
3594
|
+
var filter_chips_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
3595
|
+
@layer transitional-styles {
|
|
3596
|
+
@layer _base, _overrides;
|
|
3597
|
+
@layer _base {}
|
|
3598
|
+
@layer _overrides {}
|
|
3599
|
+
}`;
|
|
3600
|
+
|
|
3601
|
+
// libs/core/src/components/filter-chips/filter-chip/filter-chip.trans.styles.scss
|
|
3602
|
+
var filter_chip_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
3603
|
+
@layer transitional-styles {
|
|
3604
|
+
@layer _base, _overrides;
|
|
3605
|
+
@layer _base {
|
|
3606
|
+
.btn-p {
|
|
3607
|
+
padding: 0 0.75rem;
|
|
3608
|
+
}
|
|
3609
|
+
.icon {
|
|
3610
|
+
width: 1rem;
|
|
3611
|
+
}
|
|
3612
|
+
}
|
|
3613
|
+
}`;
|
|
3614
|
+
|
|
3615
|
+
// libs/core/src/components/filter-chips/filter-chip/filter-chip.trans.styles.ts
|
|
3616
|
+
function register11() {
|
|
3617
|
+
TransitionalStyles.instance.register("gds-filter-chip", filter_chip_trans_styles_default.toString());
|
|
3618
|
+
register10();
|
|
3619
|
+
}
|
|
3620
|
+
var filter_chip_trans_styles_default2 = register11;
|
|
3621
|
+
|
|
3622
|
+
// libs/core/src/components/filter-chips/filter-chips.trans.styles.ts
|
|
3623
|
+
function register12() {
|
|
3624
|
+
TransitionalStyles.instance.register("gds-filter-chips", filter_chips_trans_styles_default.toString());
|
|
3625
|
+
register11();
|
|
3626
|
+
}
|
|
3627
|
+
var filter_chips_trans_styles_default2 = register12;
|
|
3628
|
+
|
|
3584
3629
|
// libs/core/src/components/theme/chlorophyll-tokens.scss
|
|
3585
3630
|
var chlorophyll_tokens_default = `/**
|
|
3586
3631
|
* Calculate the luminance for a color.
|
|
@@ -4162,23 +4207,24 @@ Values for light mode are used by default.
|
|
|
4162
4207
|
}`;
|
|
4163
4208
|
|
|
4164
4209
|
// libs/core/src/components/theme/theme.trans.styles.ts
|
|
4165
|
-
function
|
|
4210
|
+
function register13() {
|
|
4166
4211
|
TransitionalStyles.instance.register(
|
|
4167
4212
|
"gds-theme",
|
|
4168
4213
|
chlorophyll_tokens_default.toString()
|
|
4169
4214
|
);
|
|
4170
4215
|
}
|
|
4171
|
-
var theme_trans_styles_default =
|
|
4216
|
+
var theme_trans_styles_default = register13;
|
|
4172
4217
|
|
|
4173
4218
|
// libs/core/src/utils/transitional-styles/transitional-styles.ts
|
|
4174
4219
|
var registerTransitionalStyles = () => {
|
|
4175
|
-
|
|
4220
|
+
register13();
|
|
4176
4221
|
register3();
|
|
4177
4222
|
register4();
|
|
4178
4223
|
register6();
|
|
4179
4224
|
register7();
|
|
4180
4225
|
register9();
|
|
4181
|
-
|
|
4226
|
+
register12();
|
|
4227
|
+
register10();
|
|
4182
4228
|
};
|
|
4183
4229
|
var _styles, _elements, _useLegacyStylesheets;
|
|
4184
4230
|
var _TransitionalStyles = class _TransitionalStyles {
|
|
@@ -4335,13 +4381,10 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
4335
4381
|
align-items: center;
|
|
4336
4382
|
display: inline-flex;
|
|
4337
4383
|
justify-content: center;
|
|
4338
|
-
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
4339
|
-
background: rgb(0, 122, 199);
|
|
4340
|
-
border-color: rgb(0, 122, 199);
|
|
4341
|
-
color: #fff;
|
|
4342
|
-
--color: #fff;
|
|
4343
4384
|
font-size: inherit;
|
|
4344
4385
|
overflow: hidden;
|
|
4386
|
+
display: flex;
|
|
4387
|
+
gap: 0.5rem;
|
|
4345
4388
|
}
|
|
4346
4389
|
button:focus:not(:focus-visible) {
|
|
4347
4390
|
box-shadow: none;
|
|
@@ -4374,37 +4417,44 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
4374
4417
|
font-size: 1.5rem;
|
|
4375
4418
|
line-height: 2rem;
|
|
4376
4419
|
}
|
|
4377
|
-
|
|
4420
|
+
:host(:not([variant=ghost])) button {
|
|
4421
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
4422
|
+
background: rgb(0, 122, 199);
|
|
4423
|
+
border-color: rgb(0, 122, 199);
|
|
4424
|
+
color: #fff;
|
|
4425
|
+
--color: #fff;
|
|
4426
|
+
}
|
|
4427
|
+
:host(:not([variant=ghost])) button:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
4378
4428
|
background-color: #199be3;
|
|
4379
4429
|
color: rgb(255, 255, 255);
|
|
4380
4430
|
--background: #199be3;
|
|
4381
4431
|
--color: rgb(255, 255, 255);
|
|
4382
4432
|
border-color: #199be3;
|
|
4383
4433
|
}
|
|
4384
|
-
button[aria-selected], button:active, button.active, button.active:hover, button:active:hover {
|
|
4434
|
+
:host(:not([variant=ghost])) button[aria-selected=true], :host(:not([variant=ghost])) button:active, :host(:not([variant=ghost])) button.active, :host(:not([variant=ghost])) button.active:hover, :host(:not([variant=ghost])) button:active:hover {
|
|
4385
4435
|
background-color: rgb(0, 122, 199);
|
|
4386
4436
|
color: rgb(255, 255, 255);
|
|
4387
4437
|
--background: rgb(0, 122, 199);
|
|
4388
4438
|
--color: rgb(255, 255, 255);
|
|
4389
4439
|
border-color: rgb(0, 122, 199);
|
|
4390
4440
|
}
|
|
4391
|
-
button:focus-visible {
|
|
4441
|
+
:host(:not([variant=ghost])) button:focus-visible {
|
|
4392
4442
|
background-color: #199be3;
|
|
4393
4443
|
color: rgb(255, 255, 255);
|
|
4394
4444
|
--background: #199be3;
|
|
4395
4445
|
--color: rgb(255, 255, 255);
|
|
4396
4446
|
border-color: #199be3 !important;
|
|
4397
4447
|
}
|
|
4398
|
-
button:disabled, button.disabled, button[aria-disabled=true] {
|
|
4448
|
+
:host(:not([variant=ghost])) button:disabled, :host(:not([variant=ghost])) button.disabled, :host(:not([variant=ghost])) button[aria-disabled=true] {
|
|
4399
4449
|
background: var(--form-control-primary-bg-disabled) !important;
|
|
4400
4450
|
color: var(--text-primary-disabled-color) !important;
|
|
4401
4451
|
border-color: var(--border-primary-disabled-color) !important;
|
|
4402
4452
|
cursor: not-allowed;
|
|
4403
4453
|
}
|
|
4404
|
-
button:disabled::-moz-placeholder, button.disabled::-moz-placeholder, button[aria-disabled=true]::-moz-placeholder {
|
|
4454
|
+
:host(:not([variant=ghost])) button:disabled::-moz-placeholder, :host(:not([variant=ghost])) button.disabled::-moz-placeholder, :host(:not([variant=ghost])) button[aria-disabled=true]::-moz-placeholder {
|
|
4405
4455
|
color: var(--text-disabled-color);
|
|
4406
4456
|
}
|
|
4407
|
-
button:disabled::placeholder, button.disabled::placeholder, button[aria-disabled=true]::placeholder {
|
|
4457
|
+
:host(:not([variant=ghost])) button:disabled::placeholder, :host(:not([variant=ghost])) button.disabled::placeholder, :host(:not([variant=ghost])) button[aria-disabled=true]::placeholder {
|
|
4408
4458
|
color: var(--text-disabled-color);
|
|
4409
4459
|
}
|
|
4410
4460
|
button.icon {
|
|
@@ -4440,7 +4490,7 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
4440
4490
|
--color: rgb(255, 255, 255);
|
|
4441
4491
|
border-color: #199be3;
|
|
4442
4492
|
}
|
|
4443
|
-
:host([rank*=secondary]) button[aria-selected], :host([rank*=secondary]) button:active, :host([rank*=secondary]) button.active, :host([rank*=secondary]) button.active:hover, :host([rank*=secondary]) button:active:hover {
|
|
4493
|
+
:host([rank*=secondary]) button[aria-selected=true], :host([rank*=secondary]) button:active, :host([rank*=secondary]) button.active, :host([rank*=secondary]) button.active:hover, :host([rank*=secondary]) button:active:hover {
|
|
4444
4494
|
background-color: rgb(0, 122, 199);
|
|
4445
4495
|
color: rgb(255, 255, 255);
|
|
4446
4496
|
--background: rgb(0, 122, 199);
|
|
@@ -4483,7 +4533,7 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
4483
4533
|
--color: rgb(255, 255, 255);
|
|
4484
4534
|
border-color: #199be3;
|
|
4485
4535
|
}
|
|
4486
|
-
:host([rank*=tertiary]) button[aria-selected], :host([rank*=tertiary]) button:active, :host([rank*=tertiary]) button.active, :host([rank*=tertiary]) button.active:hover, :host([rank*=tertiary]) button:active:hover {
|
|
4536
|
+
:host([rank*=tertiary]) button[aria-selected=true], :host([rank*=tertiary]) button:active, :host([rank*=tertiary]) button.active, :host([rank*=tertiary]) button.active:hover, :host([rank*=tertiary]) button:active:hover {
|
|
4487
4537
|
background-color: rgb(0, 122, 199);
|
|
4488
4538
|
color: rgb(255, 255, 255);
|
|
4489
4539
|
--background: rgb(0, 122, 199);
|
|
@@ -4519,8 +4569,8 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
4519
4569
|
--color: rgb(255, 255, 255);
|
|
4520
4570
|
border-color: rgb(216, 26, 26);
|
|
4521
4571
|
}
|
|
4522
|
-
:host([variant=negative]:not([rank=secondary], [rank=tertiary])) button[aria-selected], :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button.active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button.active:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:active:hover,
|
|
4523
|
-
:host([variant=negative][rank=primary]) button[aria-selected],
|
|
4572
|
+
:host([variant=negative]:not([rank=secondary], [rank=tertiary])) button[aria-selected=true], :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button.active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button.active:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:active:hover,
|
|
4573
|
+
:host([variant=negative][rank=primary]) button[aria-selected=true],
|
|
4524
4574
|
:host([variant=negative][rank=primary]) button:active,
|
|
4525
4575
|
:host([variant=negative][rank=primary]) button.active,
|
|
4526
4576
|
:host([variant=negative][rank=primary]) button.active:hover,
|
|
@@ -4584,8 +4634,8 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
4584
4634
|
--color: rgb(255, 255, 255);
|
|
4585
4635
|
border-color: rgb(216, 26, 26);
|
|
4586
4636
|
}
|
|
4587
|
-
:host([variant=negative][rank=secondary]) button[aria-selected], :host([variant=negative][rank=secondary]) button:active, :host([variant=negative][rank=secondary]) button.active, :host([variant=negative][rank=secondary]) button.active:hover, :host([variant=negative][rank=secondary]) button:active:hover,
|
|
4588
|
-
:host([variant=negative][rank=tertiary]) button[aria-selected],
|
|
4637
|
+
:host([variant=negative][rank=secondary]) button[aria-selected=true], :host([variant=negative][rank=secondary]) button:active, :host([variant=negative][rank=secondary]) button.active, :host([variant=negative][rank=secondary]) button.active:hover, :host([variant=negative][rank=secondary]) button:active:hover,
|
|
4638
|
+
:host([variant=negative][rank=tertiary]) button[aria-selected=true],
|
|
4589
4639
|
:host([variant=negative][rank=tertiary]) button:active,
|
|
4590
4640
|
:host([variant=negative][rank=tertiary]) button.active,
|
|
4591
4641
|
:host([variant=negative][rank=tertiary]) button.active:hover,
|
|
@@ -4618,18 +4668,59 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
4618
4668
|
:host([variant=negative][rank=secondary]) button {
|
|
4619
4669
|
border-color: rgb(187, 0, 12);
|
|
4620
4670
|
}
|
|
4671
|
+
:host([variant=ghost]) button {
|
|
4672
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
4673
|
+
border-color: rgb(51, 51, 51);
|
|
4674
|
+
color: rgb(51, 51, 51);
|
|
4675
|
+
--color: rgb(51, 51, 51);
|
|
4676
|
+
}
|
|
4677
|
+
:host([variant=ghost]) button:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
4678
|
+
background-color: rgb(51, 51, 51);
|
|
4679
|
+
color: rgb(255, 255, 255);
|
|
4680
|
+
--background: rgb(51, 51, 51);
|
|
4681
|
+
--color: rgb(255, 255, 255);
|
|
4682
|
+
border-color: rgb(51, 51, 51);
|
|
4683
|
+
}
|
|
4684
|
+
:host([variant=ghost]) button[aria-selected=true], :host([variant=ghost]) button:active, :host([variant=ghost]) button.active, :host([variant=ghost]) button.active:hover, :host([variant=ghost]) button:active:hover {
|
|
4685
|
+
background-color: rgb(51, 51, 51);
|
|
4686
|
+
color: rgb(255, 255, 255);
|
|
4687
|
+
--background: rgb(51, 51, 51);
|
|
4688
|
+
--color: rgb(255, 255, 255);
|
|
4689
|
+
border-color: rgb(51, 51, 51);
|
|
4690
|
+
}
|
|
4691
|
+
:host([variant=ghost]) button[aria-selected]:hover, :host([variant=ghost]) button.active:hover, :host([variant=ghost]) button:active:hover {
|
|
4692
|
+
opacity: 0.9;
|
|
4693
|
+
}
|
|
4694
|
+
:host([variant=ghost]) button:focus-visible {
|
|
4695
|
+
background-color: rgb(51, 51, 51);
|
|
4696
|
+
color: rgb(255, 255, 255);
|
|
4697
|
+
--background: rgb(51, 51, 51);
|
|
4698
|
+
--color: rgb(255, 255, 255);
|
|
4699
|
+
border-color: rgb(51, 51, 51) !important;
|
|
4700
|
+
}
|
|
4701
|
+
:host([variant=ghost]) button:disabled, :host([variant=ghost]) button.disabled, :host([variant=ghost]) button[aria-disabled=true] {
|
|
4702
|
+
color: var(--text-disabled-color) !important;
|
|
4703
|
+
border-color: var(--border-disabled-color) !important;
|
|
4704
|
+
cursor: not-allowed;
|
|
4705
|
+
}
|
|
4706
|
+
:host([variant=ghost]) button:disabled::-moz-placeholder, :host([variant=ghost]) button.disabled::-moz-placeholder, :host([variant=ghost]) button[aria-disabled=true]::-moz-placeholder {
|
|
4707
|
+
color: var(--text-disabled-color);
|
|
4708
|
+
}
|
|
4709
|
+
:host([variant=ghost]) button:disabled::placeholder, :host([variant=ghost]) button.disabled::placeholder, :host([variant=ghost]) button[aria-disabled=true]::placeholder {
|
|
4710
|
+
color: var(--text-disabled-color);
|
|
4711
|
+
}
|
|
4621
4712
|
}
|
|
4622
4713
|
@layer _overrides {}
|
|
4623
4714
|
}`;
|
|
4624
4715
|
|
|
4625
4716
|
// libs/core/src/components/button/button.trans.styles.ts
|
|
4626
|
-
function
|
|
4717
|
+
function register10() {
|
|
4627
4718
|
TransitionalStyles.instance.register("gds-button", button_trans_styles_default.toString());
|
|
4628
4719
|
}
|
|
4629
|
-
var button_trans_styles_default2 =
|
|
4720
|
+
var button_trans_styles_default2 = register10;
|
|
4630
4721
|
|
|
4631
4722
|
export {
|
|
4632
|
-
|
|
4723
|
+
register10 as register,
|
|
4633
4724
|
button_trans_styles_default2 as button_trans_styles_default,
|
|
4634
4725
|
register3 as register2,
|
|
4635
4726
|
dropdown_trans_styles_default2 as dropdown_trans_styles_default,
|
|
@@ -4643,7 +4734,11 @@ export {
|
|
|
4643
4734
|
segment_trans_styles_default2 as segment_trans_styles_default,
|
|
4644
4735
|
register9 as register7,
|
|
4645
4736
|
segmented_control_trans_styles_default2 as segmented_control_trans_styles_default,
|
|
4646
|
-
|
|
4737
|
+
register11 as register8,
|
|
4738
|
+
filter_chip_trans_styles_default2 as filter_chip_trans_styles_default,
|
|
4739
|
+
register12 as register9,
|
|
4740
|
+
filter_chips_trans_styles_default2 as filter_chips_trans_styles_default,
|
|
4741
|
+
register13 as register10,
|
|
4647
4742
|
theme_trans_styles_default,
|
|
4648
4743
|
registerTransitionalStyles,
|
|
4649
4744
|
TransitionalStyles
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsFormControlElement
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.MZSK66DN.js";
|
|
4
|
+
import {
|
|
5
|
+
constrainSlots
|
|
6
|
+
} from "./chunk.KBYQYDL3.js";
|
|
4
7
|
import {
|
|
5
8
|
TransitionalStyles
|
|
6
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.4QOFEG6G.js";
|
|
7
10
|
import {
|
|
8
11
|
observeLightDOM
|
|
9
12
|
} from "./chunk.WM7HBMMV.js";
|
|
10
|
-
import {
|
|
11
|
-
constrainSlots
|
|
12
|
-
} from "./chunk.6NM7ENKA.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.2WO4NHJ2.js";
|
|
@@ -33,7 +33,6 @@ import { when } from "lit/directives/when.js";
|
|
|
33
33
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
34
34
|
import { classMap } from "lit/directives/class-map.js";
|
|
35
35
|
import { msg, str, updateWhenLocaleChanges } from "@lit/localize";
|
|
36
|
-
import "reflect-metadata";
|
|
37
36
|
|
|
38
37
|
// libs/core/src/components/dropdown/dropdown.styles.ts
|
|
39
38
|
import { css } from "lit";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
constrainSlots
|
|
3
|
+
} from "./chunk.KBYQYDL3.js";
|
|
1
4
|
import {
|
|
2
5
|
TransitionalStyles
|
|
3
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.4QOFEG6G.js";
|
|
4
7
|
import {
|
|
5
8
|
GdsElement
|
|
6
|
-
} from "./chunk.
|
|
7
|
-
import {
|
|
8
|
-
constrainSlots
|
|
9
|
-
} from "./chunk.6NM7ENKA.js";
|
|
9
|
+
} from "./chunk.ZQ4D5K7J.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
dateArrayConverter,
|
|
3
|
+
dateConverter
|
|
4
|
+
} from "./chunk.C3ECHGX7.js";
|
|
1
5
|
import {
|
|
2
6
|
GdsFormControlElement
|
|
3
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.MZSK66DN.js";
|
|
4
8
|
import {
|
|
5
9
|
TransitionalStyles
|
|
6
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.4QOFEG6G.js";
|
|
7
11
|
import {
|
|
8
12
|
watch
|
|
9
13
|
} from "./chunk.2WO4NHJ2.js";
|
|
@@ -42,22 +46,6 @@ var styles = css`
|
|
|
42
46
|
`;
|
|
43
47
|
|
|
44
48
|
// libs/core/src/components/datepicker/datepicker.ts
|
|
45
|
-
var dateConverter = {
|
|
46
|
-
fromAttribute(value) {
|
|
47
|
-
return new Date(value);
|
|
48
|
-
},
|
|
49
|
-
toAttribute(value) {
|
|
50
|
-
return value.toISOString();
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
var dateArrayConverter = {
|
|
54
|
-
fromAttribute(value) {
|
|
55
|
-
return value.split(",").map((d) => new Date(d.trim()));
|
|
56
|
-
},
|
|
57
|
-
toAttribute(value) {
|
|
58
|
-
return JSON.stringify(value.map((d) => d.toISOString()));
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
49
|
var _valueOnOpen, _renderBackToValidRangeButton, renderBackToValidRangeButton_fn, _focusDate, focusDate_fn, _getSpinnerLabel, getSpinnerLabel_fn, _getMinSpinnerValue, getMinSpinnerValue_fn, _getMaxSpinnerValue, getMaxSpinnerValue_fn, _dispatchChangeEvent, dispatchChangeEvent_fn, _dispatchInputEvent, dispatchInputEvent_fn, _handleFieldFocusOut, _handleSpinnerFocus, _handleClipboardCopy, _handleClipboardPaste, _handleFieldClick, _handleCalendarChange, _handleMonthChange, _handleYearChange, _handleIncrementFocusedMonth, _handleDecrementFocusedMonth, _handleCalendarFocusChange, _handlePopoverStateChange, _handleSpinnerKeydown, _parseDateFormat, parseDateFormat_fn, _handleSpinnerChange, _spinnerState, _years, years_get, _isValueOutsideRange, isValueOutsideRange_get;
|
|
62
50
|
var GdsDatepicker = class extends GdsFormControlElement {
|
|
63
51
|
constructor() {
|