@sebgroup/green-core 1.60.1 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/chunks/{chunk.2RPIXTTF.js → chunk.3M24Q4NP.js} +148 -682
- package/chunks/{chunk.3YTTW5RI.js → chunk.3W52UD6H.js} +1 -1
- package/chunks/{chunk.MIOFI52O.js → chunk.42MDAP6X.js} +1 -1
- package/chunks/chunk.4RMUKKUH.js +382 -0
- package/chunks/{chunk.3HJXEV5P.js → chunk.5CEHJDND.js} +1 -1
- package/chunks/chunk.5HUS6CAH.js +0 -0
- package/chunks/{chunk.RMKD7K5Q.js → chunk.5UYAQERP.js} +1 -1
- package/chunks/{chunk.QHIYGBWM.js → chunk.6AF3XRTH.js} +1 -1
- package/chunks/{chunk.IGE2PH6T.js → chunk.6AQRJC23.js} +68 -144
- package/chunks/{chunk.JLZ2K3ZW.js → chunk.73JEK27O.js} +2 -2
- package/chunks/{chunk.V4QLU4WW.js → chunk.7LYVHSEG.js} +134 -103
- package/chunks/{chunk.7HVXPWQU.js → chunk.7NLM5ITX.js} +1 -1
- package/chunks/{chunk.STX4NWC2.js → chunk.7QPOP3BL.js} +2 -2
- package/chunks/{chunk.2QH66UQK.js → chunk.APDVCDJD.js} +2 -2
- package/chunks/{chunk.VRRDZBIH.js → chunk.D75WOAXB.js} +1 -1
- package/chunks/{chunk.4ZHTAQDZ.js → chunk.DJH7QFAN.js} +3 -3
- package/chunks/{chunk.WMYX5PV4.js → chunk.DNBRIHSH.js} +20 -8
- package/chunks/{chunk.E5WWCN6L.js → chunk.EB3VGCXK.js} +1 -1
- package/chunks/{chunk.SHITJ27X.js → chunk.EKZSYRZR.js} +1 -1
- package/chunks/{chunk.HALKUGTF.js → chunk.F527BHGP.js} +2 -2
- package/chunks/{chunk.QYSGJ5CP.js → chunk.GYV7S25D.js} +6 -13
- package/chunks/{chunk.RXOV7ZV4.js → chunk.HPSQUKF2.js} +5 -1
- package/chunks/{chunk.5CPWW5KU.js → chunk.I757A54S.js} +8 -4
- package/chunks/{chunk.3NKIMO26.js → chunk.JVDRTWPP.js} +1 -1
- package/chunks/{chunk.UDVIBJU2.js → chunk.MH5UGJXC.js} +1 -1
- package/chunks/chunk.MLXMQIEV.js +1 -1
- package/chunks/{chunk.EQK24GA7.js → chunk.MT7XFVN3.js} +1 -1
- package/chunks/{chunk.UWI652VF.js → chunk.NCKHK5PG.js} +9 -7
- package/chunks/{chunk.6YX75PNT.js → chunk.NHKCTJYM.js} +1 -1
- package/chunks/{chunk.UIVK7CMU.js → chunk.NLD74Y2D.js} +127 -200
- package/chunks/{chunk.BWVUFYGS.js → chunk.NRNM3BUT.js} +3 -1
- package/chunks/{chunk.QKJCCX2Y.js → chunk.NWFUJWE6.js} +128 -177
- package/chunks/{chunk.C3TU53VJ.js → chunk.NYSKXC32.js} +25 -3
- package/chunks/{chunk.55XSUTOR.js → chunk.PJJSVZOK.js} +12 -12
- package/chunks/chunk.PNB5RPI3.js +301 -0
- package/chunks/{chunk.OGD6Z42O.js → chunk.PPMF6234.js} +1 -1
- package/chunks/{chunk.VV4IKVAK.js → chunk.QLHOYAX6.js} +76 -57
- package/chunks/{chunk.AER44Y4F.js → chunk.QWWOLT5V.js} +1 -1
- package/chunks/{chunk.OY54R5D4.js → chunk.RGTKMLGE.js} +1 -1
- package/chunks/{chunk.MRBX5PXE.js → chunk.UBTUHHC7.js} +6 -8
- package/chunks/{chunk.ZG76HOCS.js → chunk.UKR6SWJ2.js} +2 -2
- package/chunks/{chunk.JYQY43ZR.js → chunk.V56VPSWH.js} +15 -1
- package/chunks/chunk.VZTV63IQ.js +0 -0
- package/chunks/{chunk.Y666F4RC.js → chunk.WWSNXINM.js} +2 -2
- package/chunks/{chunk.BRHKDNFD.js → chunk.XMAA7CU5.js} +1 -1
- package/chunks/{chunk.S4YT6LUT.js → chunk.ZFGPNYTO.js} +1 -1
- package/chunks/{chunk.TVJYFYLU.js → chunk.ZRKILGXZ.js} +28 -12
- package/components/badge/badge.js +5 -5
- package/components/badge/index.js +5 -5
- package/components/button/button.js +6 -6
- package/components/button/button.trans.styles.js +3 -1
- package/components/button/index.js +6 -6
- package/components/calendar/calendar.js +4 -4
- package/components/calendar/calendar.trans.styles.js +3 -1
- package/components/calendar/index.js +4 -4
- package/components/card/card.js +3 -3
- package/components/card/index.js +3 -3
- package/components/container/container.js +2 -2
- package/components/container/index.js +2 -2
- package/components/context-menu/context-menu.js +8 -6
- package/components/context-menu/context-menu.trans.styles.js +3 -1
- package/components/context-menu/index.js +9 -7
- package/components/datepicker/datepicker.d.ts +16 -13
- package/components/datepicker/datepicker.js +32 -14
- package/components/datepicker/datepicker.trans.styles.js +3 -1
- package/components/datepicker/index.js +32 -14
- package/components/dialog/dialog.js +9 -9
- package/components/dialog/index.js +9 -9
- package/components/divider/divider.js +2 -2
- package/components/divider/index.js +2 -2
- package/components/dropdown/dropdown.d.ts +22 -10
- package/components/dropdown/dropdown.js +28 -11
- package/components/dropdown/dropdown.trans.styles.js +3 -1
- package/components/dropdown/index.js +29 -12
- package/components/fab/fab.js +7 -7
- package/components/fab/index.js +7 -7
- package/components/filter-chips/filter-chip/filter-chip.js +7 -7
- package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +3 -1
- package/components/filter-chips/filter-chip/index.js +7 -7
- package/components/filter-chips/filter-chips.js +8 -8
- package/components/filter-chips/filter-chips.trans.styles.js +3 -1
- package/components/filter-chips/index.js +8 -8
- package/components/flex/flex.js +3 -3
- package/components/flex/index.js +3 -3
- package/components/form/form-control.d.ts +12 -0
- package/components/form/form-control.js +1 -1
- package/components/form/index.js +9 -8
- package/components/form/summary/index.js +9 -8
- package/components/form/summary/summary.d.ts +1 -1
- package/components/form/summary/summary.js +9 -8
- package/components/grid/grid.js +3 -3
- package/components/grid/index.js +3 -3
- package/components/grouped-list/grouped-list.js +4 -2
- package/components/grouped-list/grouped-list.trans.styles.js +3 -1
- package/components/grouped-list/index.js +4 -2
- package/components/icon/icons/index.js +9 -9
- package/components/img/img.js +2 -2
- package/components/img/index.js +2 -2
- package/components/index.js +53 -49
- package/components/input/index.js +16 -14
- package/components/input/input.d.ts +13 -12
- package/components/input/input.js +16 -14
- package/components/input/input.trans.styles.d.ts +2 -0
- package/components/input/input.trans.styles.js +13 -0
- package/components/link/index.js +3 -3
- package/components/link/link.js +3 -3
- package/components/mask/index.js +4 -4
- package/components/mask/mask.js +4 -4
- package/components/menu-button/index.js +3 -3
- package/components/menu-button/menu-button.js +3 -3
- package/components/popover/index.js +4 -2
- package/components/popover/popover.js +4 -2
- package/components/popover/popover.trans.styles.js +3 -1
- package/components/rich-text/index.js +3 -3
- package/components/rich-text/rich-text.d.ts +15 -1
- package/components/rich-text/rich-text.js +3 -3
- package/components/segmented-control/index.js +5 -5
- package/components/segmented-control/segment/index.js +4 -4
- package/components/segmented-control/segment/segment.js +4 -4
- package/components/segmented-control/segment/segment.trans.styles.js +4 -2
- package/components/segmented-control/segmented-control.js +5 -5
- package/components/segmented-control/segmented-control.trans.styles.js +4 -2
- package/components/signal/index.js +2 -2
- package/components/signal/signal.js +2 -2
- package/components/spacer/index.js +2 -2
- package/components/spacer/spacer.js +2 -2
- package/components/text/index.js +3 -2
- package/components/text/text.js +2 -2
- package/components/textarea/index.js +16 -14
- package/components/textarea/textarea.d.ts +14 -17
- package/components/textarea/textarea.js +16 -14
- package/components/theme/index.js +4 -4
- package/components/theme/theme.js +4 -4
- package/components/theme/theme.trans.styles.js +4 -2
- package/components/video/index.js +2 -2
- package/components/video/video.js +2 -2
- package/index.js +53 -49
- package/package.json +1 -1
- package/primitives/field-base/field-base.d.ts +41 -0
- package/primitives/field-base/field-base.js +15 -0
- package/primitives/field-base/field-base.styles.d.ts +1 -0
- package/primitives/field-base/field-base.trans.styles.d.ts +2 -0
- package/primitives/field-base/index.d.ts +1 -0
- package/primitives/field-base/index.js +16 -0
- package/primitives/form-control-footer/form-control-footer.js +6 -6
- package/primitives/form-control-footer/index.js +6 -6
- package/primitives/form-control-header/form-control-header.js +9 -9
- package/primitives/form-control-header/index.js +9 -9
- package/primitives/listbox/index.js +6 -6
- package/primitives/listbox/listbox.js +6 -6
- package/primitives/listbox/option.js +5 -5
- package/primitives/menu/index.js +6 -4
- package/primitives/menu/menu-heading.js +4 -2
- package/primitives/menu/menu-item.js +5 -3
- package/primitives/menu/menu.js +6 -4
- package/primitives/ripple/index.js +3 -3
- package/primitives/ripple/ripple.js +3 -3
- package/tokens.style.d.ts +3 -3
- package/transitional-styles.js +3 -1
- package/chunks/chunk.LOIMPU3C.js +0 -797
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tokens
|
|
3
|
+
} from "./chunk.4RMUKKUH.js";
|
|
1
4
|
import {
|
|
2
5
|
VER_SUFFIX
|
|
3
6
|
} from "./chunk.MLXMQIEV.js";
|
|
@@ -144,7 +147,7 @@ var option_trans_styles_default = `/**
|
|
|
144
147
|
outline-color: #000;
|
|
145
148
|
outline-offset: -0.25rem;
|
|
146
149
|
}
|
|
147
|
-
:host([aria-hidden=true])
|
|
150
|
+
:host([aria-hidden=true]) {
|
|
148
151
|
display: none;
|
|
149
152
|
}
|
|
150
153
|
:host([highlighted]) div {
|
|
@@ -217,6 +220,9 @@ var popover_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
|
217
220
|
transform: translate3d(0, 0, 0);
|
|
218
221
|
visibility: visible;
|
|
219
222
|
}
|
|
223
|
+
:host > div:not([hidden]) {
|
|
224
|
+
display: contents;
|
|
225
|
+
}
|
|
220
226
|
header {
|
|
221
227
|
display: flex;
|
|
222
228
|
}
|
|
@@ -702,8 +708,10 @@ function register4() {
|
|
|
702
708
|
}
|
|
703
709
|
var calendar_trans_styles_default2 = register4;
|
|
704
710
|
|
|
705
|
-
// libs/core/src/
|
|
706
|
-
var
|
|
711
|
+
// libs/core/src/primitives/field-base/field-base.trans.styles.scss?inline
|
|
712
|
+
var field_base_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
713
|
+
/* stylelint-enable max-nesting-depth */
|
|
714
|
+
/**
|
|
707
715
|
* Calculate the luminance for a color.
|
|
708
716
|
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
709
717
|
*/
|
|
@@ -711,8 +719,6 @@ var dropdown_trans_styles_default = `/**
|
|
|
711
719
|
* Calculate the contrast ratio between two colors.
|
|
712
720
|
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
713
721
|
*/
|
|
714
|
-
/* stylelint-disable max-nesting-depth */
|
|
715
|
-
/* stylelint-enable max-nesting-depth */
|
|
716
722
|
/* stylelint-disable */
|
|
717
723
|
/* stylelint-enable */
|
|
718
724
|
/* stylelint-disable */
|
|
@@ -721,493 +727,98 @@ var dropdown_trans_styles_default = `/**
|
|
|
721
727
|
* Use \`add-focus\` instead
|
|
722
728
|
*/
|
|
723
729
|
/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */
|
|
724
|
-
/* rules for groups of checkboxes and radio buttons*/
|
|
725
730
|
@layer base, reset, transitional-styles;
|
|
726
731
|
@layer transitional-styles {
|
|
727
|
-
|
|
728
|
-
input[type=date],
|
|
729
|
-
input[type=datetime],
|
|
730
|
-
input[type=datetime-local],
|
|
731
|
-
input[type=email],
|
|
732
|
-
input[type=month],
|
|
733
|
-
input[type=number],
|
|
734
|
-
input[type=password],
|
|
735
|
-
input[type=search],
|
|
736
|
-
input[type=tel],
|
|
737
|
-
input[type=text],
|
|
738
|
-
input[type=time],
|
|
739
|
-
input[type=url],
|
|
740
|
-
input[type=week] {
|
|
741
|
-
padding-left: 1rem;
|
|
742
|
-
padding-right: 1rem;
|
|
743
|
-
padding-bottom: 0.75rem;
|
|
744
|
-
padding-top: 0.75rem;
|
|
732
|
+
.field {
|
|
745
733
|
border-radius: var(--sg-border-radius);
|
|
746
734
|
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
747
735
|
--border-color: var(--sg-border-color);
|
|
736
|
+
align-items: stretch;
|
|
737
|
+
gap: var(--gds-space-xs);
|
|
748
738
|
background-color: var(--sg-form-control-bg);
|
|
739
|
+
box-sizing: border-box;
|
|
749
740
|
color: var(--sg-text-primary);
|
|
750
|
-
|
|
751
|
-
display: flex;
|
|
752
|
-
align-items: center;
|
|
753
|
-
justify-content: center;
|
|
754
|
-
}
|
|
755
|
-
input:not([type]):focus:not(:focus-visible),
|
|
756
|
-
input[type=date]:focus:not(:focus-visible),
|
|
757
|
-
input[type=datetime]:focus:not(:focus-visible),
|
|
758
|
-
input[type=datetime-local]:focus:not(:focus-visible),
|
|
759
|
-
input[type=email]:focus:not(:focus-visible),
|
|
760
|
-
input[type=month]:focus:not(:focus-visible),
|
|
761
|
-
input[type=number]:focus:not(:focus-visible),
|
|
762
|
-
input[type=password]:focus:not(:focus-visible),
|
|
763
|
-
input[type=search]:focus:not(:focus-visible),
|
|
764
|
-
input[type=tel]:focus:not(:focus-visible),
|
|
765
|
-
input[type=text]:focus:not(:focus-visible),
|
|
766
|
-
input[type=time]:focus:not(:focus-visible),
|
|
767
|
-
input[type=url]:focus:not(:focus-visible),
|
|
768
|
-
input[type=week]:focus:not(:focus-visible) {
|
|
769
|
-
box-shadow: none;
|
|
770
|
-
outline: 0;
|
|
771
|
-
}
|
|
772
|
-
input:not([type]):focus, input:not([type]):focus-visible,
|
|
773
|
-
input[type=date]:focus,
|
|
774
|
-
input[type=date]:focus-visible,
|
|
775
|
-
input[type=datetime]:focus,
|
|
776
|
-
input[type=datetime]:focus-visible,
|
|
777
|
-
input[type=datetime-local]:focus,
|
|
778
|
-
input[type=datetime-local]:focus-visible,
|
|
779
|
-
input[type=email]:focus,
|
|
780
|
-
input[type=email]:focus-visible,
|
|
781
|
-
input[type=month]:focus,
|
|
782
|
-
input[type=month]:focus-visible,
|
|
783
|
-
input[type=number]:focus,
|
|
784
|
-
input[type=number]:focus-visible,
|
|
785
|
-
input[type=password]:focus,
|
|
786
|
-
input[type=password]:focus-visible,
|
|
787
|
-
input[type=search]:focus,
|
|
788
|
-
input[type=search]:focus-visible,
|
|
789
|
-
input[type=tel]:focus,
|
|
790
|
-
input[type=tel]:focus-visible,
|
|
791
|
-
input[type=text]:focus,
|
|
792
|
-
input[type=text]:focus-visible,
|
|
793
|
-
input[type=time]:focus,
|
|
794
|
-
input[type=time]:focus-visible,
|
|
795
|
-
input[type=url]:focus,
|
|
796
|
-
input[type=url]:focus-visible,
|
|
797
|
-
input[type=week]:focus,
|
|
798
|
-
input[type=week]:focus-visible {
|
|
799
|
-
outline-color: var(--gds-sys-color-focus-outline);
|
|
800
|
-
outline-style: solid;
|
|
801
|
-
outline-width: 0.125rem;
|
|
802
|
-
outline-offset: 0.125rem;
|
|
803
|
-
}
|
|
804
|
-
input:not([type]).small,
|
|
805
|
-
input[type=date].small,
|
|
806
|
-
input[type=datetime].small,
|
|
807
|
-
input[type=datetime-local].small,
|
|
808
|
-
input[type=email].small,
|
|
809
|
-
input[type=month].small,
|
|
810
|
-
input[type=number].small,
|
|
811
|
-
input[type=password].small,
|
|
812
|
-
input[type=search].small,
|
|
813
|
-
input[type=tel].small,
|
|
814
|
-
input[type=text].small,
|
|
815
|
-
input[type=time].small,
|
|
816
|
-
input[type=url].small,
|
|
817
|
-
input[type=week].small {
|
|
818
|
-
min-height: 2rem;
|
|
819
|
-
padding: 0.25rem 0.75rem;
|
|
820
|
-
line-height: 1rem;
|
|
821
|
-
}
|
|
822
|
-
@media screen and (-ms-high-contrast: active) {
|
|
823
|
-
input:not([type]),
|
|
824
|
-
input[type=date],
|
|
825
|
-
input[type=datetime],
|
|
826
|
-
input[type=datetime-local],
|
|
827
|
-
input[type=email],
|
|
828
|
-
input[type=month],
|
|
829
|
-
input[type=number],
|
|
830
|
-
input[type=password],
|
|
831
|
-
input[type=search],
|
|
832
|
-
input[type=tel],
|
|
833
|
-
input[type=text],
|
|
834
|
-
input[type=time],
|
|
835
|
-
input[type=url],
|
|
836
|
-
input[type=week] {
|
|
837
|
-
border: 2px solid currentcolor;
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
input:not([type]):disabled, input:not([type]).disabled, input:not([type])[aria-disabled=true],
|
|
841
|
-
input[type=date]:disabled,
|
|
842
|
-
input[type=date].disabled,
|
|
843
|
-
input[type=date][aria-disabled=true],
|
|
844
|
-
input[type=datetime]:disabled,
|
|
845
|
-
input[type=datetime].disabled,
|
|
846
|
-
input[type=datetime][aria-disabled=true],
|
|
847
|
-
input[type=datetime-local]:disabled,
|
|
848
|
-
input[type=datetime-local].disabled,
|
|
849
|
-
input[type=datetime-local][aria-disabled=true],
|
|
850
|
-
input[type=email]:disabled,
|
|
851
|
-
input[type=email].disabled,
|
|
852
|
-
input[type=email][aria-disabled=true],
|
|
853
|
-
input[type=month]:disabled,
|
|
854
|
-
input[type=month].disabled,
|
|
855
|
-
input[type=month][aria-disabled=true],
|
|
856
|
-
input[type=number]:disabled,
|
|
857
|
-
input[type=number].disabled,
|
|
858
|
-
input[type=number][aria-disabled=true],
|
|
859
|
-
input[type=password]:disabled,
|
|
860
|
-
input[type=password].disabled,
|
|
861
|
-
input[type=password][aria-disabled=true],
|
|
862
|
-
input[type=search]:disabled,
|
|
863
|
-
input[type=search].disabled,
|
|
864
|
-
input[type=search][aria-disabled=true],
|
|
865
|
-
input[type=tel]:disabled,
|
|
866
|
-
input[type=tel].disabled,
|
|
867
|
-
input[type=tel][aria-disabled=true],
|
|
868
|
-
input[type=text]:disabled,
|
|
869
|
-
input[type=text].disabled,
|
|
870
|
-
input[type=text][aria-disabled=true],
|
|
871
|
-
input[type=time]:disabled,
|
|
872
|
-
input[type=time].disabled,
|
|
873
|
-
input[type=time][aria-disabled=true],
|
|
874
|
-
input[type=url]:disabled,
|
|
875
|
-
input[type=url].disabled,
|
|
876
|
-
input[type=url][aria-disabled=true],
|
|
877
|
-
input[type=week]:disabled,
|
|
878
|
-
input[type=week].disabled,
|
|
879
|
-
input[type=week][aria-disabled=true] {
|
|
880
|
-
background: var(--sg-form-control-bg-disabled) !important;
|
|
881
|
-
color: var(--text-disabled-color) !important;
|
|
882
|
-
border-color: var(--border-disabled-color) !important;
|
|
883
|
-
cursor: not-allowed;
|
|
884
|
-
}
|
|
885
|
-
input:not([type]):disabled::-moz-placeholder, input:not([type]).disabled::-moz-placeholder, input:not([type])[aria-disabled=true]::-moz-placeholder, input[type=date]:disabled::-moz-placeholder, input[type=date].disabled::-moz-placeholder, input[type=date][aria-disabled=true]::-moz-placeholder, input[type=datetime]:disabled::-moz-placeholder, input[type=datetime].disabled::-moz-placeholder, input[type=datetime][aria-disabled=true]::-moz-placeholder, input[type=datetime-local]:disabled::-moz-placeholder, input[type=datetime-local].disabled::-moz-placeholder, input[type=datetime-local][aria-disabled=true]::-moz-placeholder, input[type=email]:disabled::-moz-placeholder, input[type=email].disabled::-moz-placeholder, input[type=email][aria-disabled=true]::-moz-placeholder, input[type=month]:disabled::-moz-placeholder, input[type=month].disabled::-moz-placeholder, input[type=month][aria-disabled=true]::-moz-placeholder, input[type=number]:disabled::-moz-placeholder, input[type=number].disabled::-moz-placeholder, input[type=number][aria-disabled=true]::-moz-placeholder, input[type=password]:disabled::-moz-placeholder, input[type=password].disabled::-moz-placeholder, input[type=password][aria-disabled=true]::-moz-placeholder, input[type=search]:disabled::-moz-placeholder, input[type=search].disabled::-moz-placeholder, input[type=search][aria-disabled=true]::-moz-placeholder, input[type=tel]:disabled::-moz-placeholder, input[type=tel].disabled::-moz-placeholder, input[type=tel][aria-disabled=true]::-moz-placeholder, input[type=text]:disabled::-moz-placeholder, input[type=text].disabled::-moz-placeholder, input[type=text][aria-disabled=true]::-moz-placeholder, input[type=time]:disabled::-moz-placeholder, input[type=time].disabled::-moz-placeholder, input[type=time][aria-disabled=true]::-moz-placeholder, input[type=url]:disabled::-moz-placeholder, input[type=url].disabled::-moz-placeholder, input[type=url][aria-disabled=true]::-moz-placeholder, input[type=week]:disabled::-moz-placeholder, input[type=week].disabled::-moz-placeholder, input[type=week][aria-disabled=true]::-moz-placeholder {
|
|
886
|
-
color: var(--text-disabled-color);
|
|
887
|
-
}
|
|
888
|
-
input:not([type]):disabled::placeholder, input:not([type]).disabled::placeholder, input:not([type])[aria-disabled=true]::placeholder,
|
|
889
|
-
input[type=date]:disabled::placeholder,
|
|
890
|
-
input[type=date].disabled::placeholder,
|
|
891
|
-
input[type=date][aria-disabled=true]::placeholder,
|
|
892
|
-
input[type=datetime]:disabled::placeholder,
|
|
893
|
-
input[type=datetime].disabled::placeholder,
|
|
894
|
-
input[type=datetime][aria-disabled=true]::placeholder,
|
|
895
|
-
input[type=datetime-local]:disabled::placeholder,
|
|
896
|
-
input[type=datetime-local].disabled::placeholder,
|
|
897
|
-
input[type=datetime-local][aria-disabled=true]::placeholder,
|
|
898
|
-
input[type=email]:disabled::placeholder,
|
|
899
|
-
input[type=email].disabled::placeholder,
|
|
900
|
-
input[type=email][aria-disabled=true]::placeholder,
|
|
901
|
-
input[type=month]:disabled::placeholder,
|
|
902
|
-
input[type=month].disabled::placeholder,
|
|
903
|
-
input[type=month][aria-disabled=true]::placeholder,
|
|
904
|
-
input[type=number]:disabled::placeholder,
|
|
905
|
-
input[type=number].disabled::placeholder,
|
|
906
|
-
input[type=number][aria-disabled=true]::placeholder,
|
|
907
|
-
input[type=password]:disabled::placeholder,
|
|
908
|
-
input[type=password].disabled::placeholder,
|
|
909
|
-
input[type=password][aria-disabled=true]::placeholder,
|
|
910
|
-
input[type=search]:disabled::placeholder,
|
|
911
|
-
input[type=search].disabled::placeholder,
|
|
912
|
-
input[type=search][aria-disabled=true]::placeholder,
|
|
913
|
-
input[type=tel]:disabled::placeholder,
|
|
914
|
-
input[type=tel].disabled::placeholder,
|
|
915
|
-
input[type=tel][aria-disabled=true]::placeholder,
|
|
916
|
-
input[type=text]:disabled::placeholder,
|
|
917
|
-
input[type=text].disabled::placeholder,
|
|
918
|
-
input[type=text][aria-disabled=true]::placeholder,
|
|
919
|
-
input[type=time]:disabled::placeholder,
|
|
920
|
-
input[type=time].disabled::placeholder,
|
|
921
|
-
input[type=time][aria-disabled=true]::placeholder,
|
|
922
|
-
input[type=url]:disabled::placeholder,
|
|
923
|
-
input[type=url].disabled::placeholder,
|
|
924
|
-
input[type=url][aria-disabled=true]::placeholder,
|
|
925
|
-
input[type=week]:disabled::placeholder,
|
|
926
|
-
input[type=week].disabled::placeholder,
|
|
927
|
-
input[type=week][aria-disabled=true]::placeholder {
|
|
928
|
-
color: var(--text-disabled-color);
|
|
929
|
-
}
|
|
930
|
-
input:not([type]):hover,
|
|
931
|
-
input[type=date]:hover,
|
|
932
|
-
input[type=datetime]:hover,
|
|
933
|
-
input[type=datetime-local]:hover,
|
|
934
|
-
input[type=email]:hover,
|
|
935
|
-
input[type=month]:hover,
|
|
936
|
-
input[type=number]:hover,
|
|
937
|
-
input[type=password]:hover,
|
|
938
|
-
input[type=search]:hover,
|
|
939
|
-
input[type=tel]:hover,
|
|
940
|
-
input[type=text]:hover,
|
|
941
|
-
input[type=time]:hover,
|
|
942
|
-
input[type=url]:hover,
|
|
943
|
-
input[type=week]:hover {
|
|
944
|
-
background-color: var(--gds-ref-pallet-base100);
|
|
945
|
-
}
|
|
946
|
-
input[type=number] {
|
|
947
|
-
-moz-appearance: textfield;
|
|
948
|
-
}
|
|
949
|
-
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
|
|
950
|
-
-webkit-appearance: none;
|
|
951
|
-
margin: 0;
|
|
952
|
-
}
|
|
953
|
-
:host {
|
|
954
|
-
display: block;
|
|
955
|
-
font-family: inherit;
|
|
956
|
-
}
|
|
957
|
-
:host(:invalid) [gds-element=gds-popover] + .form-info {
|
|
958
|
-
position: relative;
|
|
959
|
-
transition: all 200ms ease-in-out, outline-offset 0s, outline-width 0s;
|
|
960
|
-
color: var(--intent-danger-background);
|
|
961
|
-
opacity: 1;
|
|
962
|
-
}
|
|
963
|
-
:host(:invalid) [gds-element=gds-popover] + .form-info::before {
|
|
964
|
-
background: transparent;
|
|
965
|
-
border-radius: 0 0 4px 4px;
|
|
966
|
-
clip-path: inset(4px 0 0 0);
|
|
967
|
-
content: "";
|
|
968
|
-
display: block;
|
|
969
|
-
height: 4px;
|
|
970
|
-
position: absolute;
|
|
971
|
-
transform: translate3d(0, -12px, 0);
|
|
972
|
-
transition: 300ms ease-in-out;
|
|
973
|
-
width: 100%;
|
|
974
|
-
}
|
|
975
|
-
:host(:invalid) [gds-element=gds-popover] + .form-info::before {
|
|
976
|
-
background: var(--intent-danger-background);
|
|
977
|
-
clip-path: inset(1px 0 0 0);
|
|
978
|
-
}
|
|
979
|
-
::slotted([slot=trigger]) {
|
|
980
|
-
overflow: hidden;
|
|
981
|
-
}
|
|
982
|
-
slot[name=trigger] > span {
|
|
983
|
-
display: block;
|
|
984
|
-
overflow: hidden;
|
|
985
|
-
text-overflow: ellipsis;
|
|
986
|
-
text-wrap: nowrap;
|
|
987
|
-
white-space: nowrap;
|
|
988
|
-
}
|
|
989
|
-
.form-info {
|
|
990
|
-
color: var(--text-primary-color);
|
|
991
|
-
display: block;
|
|
992
|
-
font-size: 0.875rem;
|
|
993
|
-
line-height: 1.25rem;
|
|
994
|
-
width: 100%;
|
|
995
|
-
}
|
|
996
|
-
input[type=text] {
|
|
997
|
-
border-bottom-left-radius: 0;
|
|
998
|
-
border-bottom-right-radius: 0;
|
|
999
|
-
font-size: 1rem;
|
|
1000
|
-
line-height: 1;
|
|
1001
|
-
margin: -1px;
|
|
1002
|
-
min-height: auto;
|
|
1003
|
-
padding: 0.75rem;
|
|
1004
|
-
}
|
|
1005
|
-
input[type=text]:focus {
|
|
1006
|
-
outline-offset: -0.25rem;
|
|
1007
|
-
}
|
|
1008
|
-
button {
|
|
1009
|
-
background-color: transparent;
|
|
1010
|
-
border: 0;
|
|
1011
|
-
cursor: pointer;
|
|
1012
|
-
font-family: inherit;
|
|
1013
|
-
padding: 0;
|
|
1014
|
-
padding-left: 1rem;
|
|
1015
|
-
padding-right: 1rem;
|
|
1016
|
-
padding-bottom: 0.75rem;
|
|
1017
|
-
padding-top: 0.75rem;
|
|
1018
|
-
border-radius: var(--sg-border-radius);
|
|
1019
|
-
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
1020
|
-
font-weight: 500;
|
|
1021
|
-
min-height: 2.75rem;
|
|
1022
|
-
align-items: center;
|
|
1023
|
-
display: inline-flex;
|
|
1024
|
-
justify-content: center;
|
|
1025
|
-
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
1026
|
-
background: transparent;
|
|
1027
|
-
border-color: rgb(0, 122, 199);
|
|
1028
|
-
color: rgb(0, 122, 199);
|
|
1029
|
-
--color: rgb(0, 122, 199);
|
|
1030
|
-
background-color: transparent;
|
|
1031
|
-
border: 0;
|
|
1032
|
-
cursor: pointer;
|
|
1033
|
-
font-family: inherit;
|
|
1034
|
-
padding: 0;
|
|
1035
|
-
padding-left: 1rem;
|
|
1036
|
-
padding-right: 1rem;
|
|
1037
|
-
padding-bottom: 0.75rem;
|
|
1038
|
-
padding-top: 0.75rem;
|
|
1039
|
-
border-radius: var(--sg-border-radius);
|
|
1040
|
-
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
1041
|
-
--border-color: var(--grey-800);
|
|
1042
|
-
--sg-border-color: var(--grey-800);
|
|
1043
|
-
background: var(--sg-form-control-bg);
|
|
1044
|
-
color: var(--text-primary-color);
|
|
1045
|
-
min-height: 2.75rem;
|
|
741
|
+
cursor: text;
|
|
1046
742
|
display: flex;
|
|
1047
|
-
flex-wrap: nowrap;
|
|
1048
743
|
justify-content: space-between;
|
|
1049
744
|
align-items: center;
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
align-items: center;
|
|
1053
|
-
justify-content: space-between;
|
|
1054
|
-
box-sizing: border-box;
|
|
1055
|
-
font-size: inherit;
|
|
1056
|
-
font-weight: normal;
|
|
1057
|
-
line-height: 1.125;
|
|
1058
|
-
gap: 1ch;
|
|
1059
|
-
width: 100%;
|
|
1060
|
-
margin-bottom: 0.5rem;
|
|
1061
|
-
margin-top: 0.5rem;
|
|
745
|
+
padding: calc(var(--gds-space-xs) - 1px) var(--gds-space-xs) calc(var(--gds-space-xs) - 1px) var(--gds-space-m);
|
|
746
|
+
min-block-size: 44px;
|
|
1062
747
|
}
|
|
1063
|
-
|
|
748
|
+
.field:focus:not(:focus-visible) {
|
|
1064
749
|
box-shadow: none;
|
|
1065
750
|
outline: 0;
|
|
1066
751
|
}
|
|
1067
|
-
|
|
752
|
+
.field:focus, .field:focus-within {
|
|
1068
753
|
outline-color: var(--gds-sys-color-focus-outline);
|
|
1069
754
|
outline-style: solid;
|
|
1070
755
|
outline-width: 0.125rem;
|
|
1071
756
|
outline-offset: 0.125rem;
|
|
1072
757
|
}
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
min-width: 100%;
|
|
1076
|
-
}
|
|
1077
|
-
}
|
|
1078
|
-
@media screen and (-ms-high-contrast: active) {
|
|
1079
|
-
button {
|
|
1080
|
-
border: 2px solid currentcolor;
|
|
1081
|
-
}
|
|
758
|
+
.field:hover {
|
|
759
|
+
background-color: var(--grey-200);
|
|
1082
760
|
}
|
|
1083
|
-
|
|
761
|
+
.field.small {
|
|
762
|
+
font-size: 0.875rem;
|
|
1084
763
|
min-height: 2rem;
|
|
1085
|
-
padding: 0.4375rem 0.75rem;
|
|
1086
|
-
line-height: 1rem;
|
|
1087
|
-
}
|
|
1088
|
-
button.large {
|
|
1089
|
-
min-height: 4rem;
|
|
1090
|
-
padding: 1rem 1.5rem;
|
|
1091
|
-
font-size: 1.5rem;
|
|
1092
|
-
line-height: 2rem;
|
|
1093
|
-
}
|
|
1094
|
-
button:focus:not(:focus-visible) {
|
|
1095
|
-
box-shadow: none;
|
|
1096
|
-
outline: 0;
|
|
1097
764
|
}
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
765
|
+
.field.multiline {
|
|
766
|
+
align-items: flex-start;
|
|
767
|
+
padding: calc(var(--gds-space-s) - 1px) var(--gds-space-s) calc(var(--gds-space-s) - 1px) var(--gds-space-m);
|
|
768
|
+
height: -moz-max-content;
|
|
769
|
+
height: max-content;
|
|
1103
770
|
}
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
color: rgb(255, 255, 255);
|
|
1107
|
-
--background: rgb(25.4035777564, 154.8940067842, 227.221994169);
|
|
1108
|
-
--color: rgb(255, 255, 255);
|
|
1109
|
-
border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);
|
|
1110
|
-
}
|
|
1111
|
-
button[aria-selected=true], button:active, button.active, button.active:hover, button:active:hover {
|
|
1112
|
-
background-color: rgb(0, 122, 199);
|
|
1113
|
-
color: rgb(255, 255, 255);
|
|
1114
|
-
--background: rgb(0, 122, 199);
|
|
1115
|
-
--color: rgb(255, 255, 255);
|
|
1116
|
-
border-color: rgb(0, 122, 199);
|
|
1117
|
-
}
|
|
1118
|
-
button:disabled, button.disabled, button[aria-disabled=true] {
|
|
1119
|
-
background: var(--sg-form-control-bg-disabled) !important;
|
|
1120
|
-
color: var(--text-disabled-color) !important;
|
|
1121
|
-
border-color: var(--border-disabled-color) !important;
|
|
1122
|
-
cursor: not-allowed;
|
|
1123
|
-
}
|
|
1124
|
-
button:disabled::-moz-placeholder, button.disabled::-moz-placeholder, button[aria-disabled=true]::-moz-placeholder {
|
|
1125
|
-
color: var(--text-disabled-color);
|
|
1126
|
-
}
|
|
1127
|
-
button:disabled::placeholder, button.disabled::placeholder, button[aria-disabled=true]::placeholder {
|
|
1128
|
-
color: var(--text-disabled-color);
|
|
1129
|
-
}
|
|
1130
|
-
button:focus, button:focus {
|
|
1131
|
-
outline-color: var(--gds-sys-color-focus-outline);
|
|
1132
|
-
outline-style: solid;
|
|
1133
|
-
outline-width: 0.125rem;
|
|
1134
|
-
outline-offset: 0.125rem;
|
|
771
|
+
.field.action-slot-occupied:not(.trail-slot-occupied) {
|
|
772
|
+
padding-right: var(--gds-space-xs);
|
|
1135
773
|
}
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
min-width: 100%;
|
|
1139
|
-
}
|
|
774
|
+
.field.lead-slot-occupied {
|
|
775
|
+
padding-left: var(--gds-space-xs);
|
|
1140
776
|
}
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
--color: var(--grey-1000);
|
|
1144
|
-
background-color: var(--grey-400);
|
|
1145
|
-
color: var(--grey-1000);
|
|
1146
|
-
border-color: var(--grey-1000);
|
|
777
|
+
.field slot[name=action]::slotted(*) {
|
|
778
|
+
margin: -3px 0 -3px -3px;
|
|
1147
779
|
}
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
overflow: hidden;
|
|
1151
|
-
text-overflow: ellipsis;
|
|
1152
|
-
}
|
|
1153
|
-
button::after {
|
|
1154
|
-
margin-left: 0.5rem;
|
|
1155
|
-
margin-right: 0.5rem;
|
|
1156
|
-
border-bottom: solid 2px var(--text-primary-color);
|
|
1157
|
-
border-left: solid 2px var(--text-primary-color);
|
|
1158
|
-
content: "";
|
|
1159
|
-
display: block;
|
|
1160
|
-
height: 0.5rem;
|
|
1161
|
-
width: 0.5rem;
|
|
1162
|
-
position: relative;
|
|
1163
|
-
top: -0.15rem;
|
|
1164
|
-
transform: translate(75%, 0) rotate3d(0, 0, 1, -45deg) scale3d(1, 1, -1);
|
|
1165
|
-
transition: transform 300ms ease-in;
|
|
1166
|
-
flex-shrink: 0;
|
|
780
|
+
.field:focus-within {
|
|
781
|
+
outline-color: currentColor;
|
|
1167
782
|
}
|
|
1168
|
-
|
|
1169
|
-
|
|
783
|
+
.field.invalid {
|
|
784
|
+
border-color: var(--gds-color-l3-border-negative);
|
|
785
|
+
color: var(--gds-color-l3-content-negative);
|
|
786
|
+
border-bottom-width: 3px;
|
|
1170
787
|
}
|
|
1171
|
-
|
|
1172
|
-
|
|
788
|
+
.field.disabled {
|
|
789
|
+
background: var(--gds-color-l3-background-disabled);
|
|
790
|
+
color: var(--gds-color-l3-content-disabled);
|
|
791
|
+
border-color: transparent;
|
|
792
|
+
pointer-events: none;
|
|
1173
793
|
}
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
button:hover {
|
|
1178
|
-
background: var(--grey-400);
|
|
794
|
+
.main-slot-wrap {
|
|
795
|
+
display: flex;
|
|
796
|
+
flex: 1;
|
|
1179
797
|
}
|
|
1180
|
-
|
|
1181
|
-
|
|
798
|
+
slot:not([name])::slotted(*) {
|
|
799
|
+
color: currentColor;
|
|
1182
800
|
}
|
|
1183
|
-
|
|
1184
|
-
display: flex;
|
|
801
|
+
slot[name=lead]::slotted([gds-element^=gds-icon-]) {
|
|
1185
802
|
align-items: center;
|
|
1186
803
|
justify-content: center;
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
max-width: 24px;
|
|
1190
|
-
}
|
|
1191
|
-
button[aria-expanded=true] ::part(icon) {
|
|
1192
|
-
transform: scaleY(-1);
|
|
1193
|
-
}
|
|
1194
|
-
label {
|
|
1195
|
-
display: block;
|
|
1196
|
-
font-weight: 500;
|
|
1197
|
-
line-height: 1.25rem;
|
|
1198
|
-
margin-bottom: 0.5rem;
|
|
1199
|
-
width: 100%;
|
|
804
|
+
display: flex;
|
|
805
|
+
min-width: var(--gds-space-l);
|
|
1200
806
|
}
|
|
1201
807
|
}`;
|
|
1202
808
|
|
|
809
|
+
// libs/core/src/primitives/field-base/field-base.trans.styles.ts
|
|
810
|
+
function register5() {
|
|
811
|
+
TransitionalStyles.instance.register("gds-field-base", field_base_trans_styles_default.toString());
|
|
812
|
+
}
|
|
813
|
+
|
|
1203
814
|
// libs/core/src/components/dropdown/dropdown.trans.styles.ts
|
|
1204
|
-
function
|
|
815
|
+
function register7() {
|
|
1205
816
|
register();
|
|
1206
817
|
register2();
|
|
818
|
+
register6();
|
|
1207
819
|
register5();
|
|
1208
|
-
TransitionalStyles.instance.register("gds-dropdown", dropdown_trans_styles_default.toString());
|
|
1209
820
|
}
|
|
1210
|
-
var
|
|
821
|
+
var dropdown_trans_styles_default = register7;
|
|
1211
822
|
|
|
1212
823
|
// libs/core/src/components/datepicker/datepicker.trans.styles.scss?inline
|
|
1213
824
|
var datepicker_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
@@ -1228,211 +839,43 @@ var datepicker_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
|
1228
839
|
* Use \`add-focus\` instead
|
|
1229
840
|
*/
|
|
1230
841
|
/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */
|
|
1231
|
-
/* rules for groups of checkboxes and radio buttons*/
|
|
1232
842
|
@layer base, reset, transitional-styles;
|
|
1233
843
|
@layer transitional-styles {
|
|
1234
844
|
:host {
|
|
1235
|
-
display: block;
|
|
1236
|
-
}
|
|
1237
|
-
label {
|
|
1238
|
-
display: block;
|
|
1239
|
-
font-weight: 500;
|
|
1240
|
-
margin-bottom: 0.5rem;
|
|
1241
|
-
line-height: 1.25rem;
|
|
1242
|
-
}
|
|
1243
|
-
label + .field {
|
|
1244
|
-
margin-top: 0.5rem;
|
|
1245
|
-
}
|
|
1246
|
-
.form-info {
|
|
1247
|
-
color: var(--text-primary-color);
|
|
1248
|
-
display: block;
|
|
1249
|
-
font-size: 0.875rem;
|
|
1250
|
-
line-height: 1.25rem;
|
|
1251
|
-
width: 100%;
|
|
1252
|
-
}
|
|
1253
|
-
.field {
|
|
1254
|
-
border-radius: var(--sg-border-radius);
|
|
1255
|
-
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
1256
|
-
--border-color: var(--sg-border-color);
|
|
1257
|
-
align-items: stretch;
|
|
1258
|
-
background-color: var(--sg-form-control-bg);
|
|
1259
|
-
box-sizing: border-box;
|
|
1260
|
-
color: var(--sg-text-primary);
|
|
1261
|
-
cursor: text;
|
|
1262
845
|
display: flex;
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
background-color: var(--grey-200);
|
|
1269
|
-
}
|
|
1270
|
-
.field .input {
|
|
1271
|
-
padding-left: 1rem;
|
|
1272
|
-
padding-right: 1rem;
|
|
1273
|
-
border-radius: var(--sg-border-radius);
|
|
1274
|
-
align-items: center;
|
|
1275
|
-
display: flex;
|
|
1276
|
-
flex-grow: 1;
|
|
1277
|
-
}
|
|
1278
|
-
.field .input:focus:not(:focus-visible) {
|
|
1279
|
-
box-shadow: none;
|
|
1280
|
-
outline: 0;
|
|
1281
|
-
}
|
|
1282
|
-
.field .input:focus, .field .input:focus-within {
|
|
1283
|
-
outline-color: var(--gds-sys-color-focus-outline);
|
|
1284
|
-
outline-style: solid;
|
|
1285
|
-
outline-width: 0.125rem;
|
|
1286
|
-
outline-offset: 0.125rem;
|
|
1287
|
-
}
|
|
1288
|
-
.field .input::-moz-selection, .field .input span::-moz-selection {
|
|
1289
|
-
background: transparent;
|
|
1290
|
-
}
|
|
1291
|
-
.field .input::selection,
|
|
1292
|
-
.field .input span::selection {
|
|
1293
|
-
background: transparent;
|
|
1294
|
-
}
|
|
1295
|
-
.field ::part(_button) {
|
|
1296
|
-
outline-offset: -4px;
|
|
1297
|
-
background-color: transparent;
|
|
1298
|
-
color: #000;
|
|
1299
|
-
border: none;
|
|
1300
|
-
}
|
|
1301
|
-
.field ::part(_button):hover {
|
|
1302
|
-
border-color: var(--grey-400);
|
|
1303
|
-
}
|
|
1304
|
-
.field .input.is-placeholder {
|
|
1305
|
-
opacity: 0;
|
|
1306
|
-
}
|
|
1307
|
-
.field .input.is-placeholder:hover, .field .input.is-placeholder:focus, .field .input.is-placeholder:has(:focus) {
|
|
1308
|
-
opacity: 0.7;
|
|
846
|
+
flex-direction: column;
|
|
847
|
+
width: 100%;
|
|
848
|
+
contain: layout;
|
|
849
|
+
isolation: isolate;
|
|
850
|
+
gap: var(--gds-space-xs);
|
|
1309
851
|
}
|
|
1310
|
-
|
|
852
|
+
[role=spinbutton] {
|
|
1311
853
|
display: inline-block;
|
|
1312
854
|
}
|
|
1313
|
-
|
|
855
|
+
[role=spinbutton]:focus {
|
|
1314
856
|
background: color-mix(in srgb, var(--gds-sys-color-blue) 50%, transparent);
|
|
1315
857
|
outline: none;
|
|
1316
858
|
}
|
|
1317
|
-
|
|
1318
|
-
background: transparent;
|
|
1319
|
-
}
|
|
1320
|
-
.field [role=spinbutton]::selection {
|
|
859
|
+
[role=spinbutton]::-moz-selection {
|
|
1321
860
|
background: transparent;
|
|
1322
861
|
}
|
|
1323
|
-
|
|
1324
|
-
border-radius: var(--sg-border-radius);
|
|
1325
|
-
-webkit-appearance: none;
|
|
1326
|
-
-moz-appearance: none;
|
|
1327
|
-
appearance: none;
|
|
1328
|
-
background: transparent;
|
|
1329
|
-
border: 0;
|
|
1330
|
-
box-sizing: border-box;
|
|
1331
|
-
color: var(--text-primary-color);
|
|
1332
|
-
cursor: pointer;
|
|
1333
|
-
width: 2.75rem;
|
|
1334
|
-
font-size: 1rem;
|
|
1335
|
-
}
|
|
1336
|
-
.field button:focus:not(:focus-visible) {
|
|
1337
|
-
box-shadow: none;
|
|
1338
|
-
outline: 0;
|
|
1339
|
-
}
|
|
1340
|
-
.field button:focus, .field button:focus-visible {
|
|
1341
|
-
outline-color: var(--gds-sys-color-focus-outline);
|
|
1342
|
-
outline-style: solid;
|
|
1343
|
-
outline-width: 0.125rem;
|
|
1344
|
-
outline-offset: 0.125rem;
|
|
1345
|
-
}
|
|
1346
|
-
.field button:hover {
|
|
1347
|
-
background: var(--grey-500);
|
|
1348
|
-
}
|
|
1349
|
-
.field.small {
|
|
1350
|
-
font-size: 0.875rem;
|
|
1351
|
-
min-height: 2rem;
|
|
1352
|
-
}
|
|
1353
|
-
:host(:invalid) .field + .form-info {
|
|
1354
|
-
position: relative;
|
|
1355
|
-
transition: all 200ms ease-in-out, outline-offset 0s, outline-width 0s;
|
|
1356
|
-
color: var(--intent-danger-background);
|
|
1357
|
-
opacity: 1;
|
|
1358
|
-
}
|
|
1359
|
-
:host(:invalid) .field + .form-info::before {
|
|
862
|
+
[role=spinbutton]::selection {
|
|
1360
863
|
background: transparent;
|
|
1361
|
-
border-radius: 0 0 4px 4px;
|
|
1362
|
-
clip-path: inset(4px 0 0 0);
|
|
1363
|
-
content: "";
|
|
1364
|
-
display: block;
|
|
1365
|
-
height: 4px;
|
|
1366
|
-
position: absolute;
|
|
1367
|
-
transform: translate3d(0, -12px, 0);
|
|
1368
|
-
transition: 300ms ease-in-out;
|
|
1369
|
-
width: 100%;
|
|
1370
|
-
}
|
|
1371
|
-
:host(:invalid) .field + .form-info::before {
|
|
1372
|
-
background: var(--intent-danger-background);
|
|
1373
|
-
clip-path: inset(1px 0 0 0);
|
|
1374
|
-
}
|
|
1375
|
-
.header {
|
|
1376
|
-
padding-top: 0.5rem;
|
|
1377
|
-
display: flex;
|
|
1378
|
-
justify-content: space-between;
|
|
1379
|
-
padding-inline: 5px;
|
|
1380
|
-
}
|
|
1381
|
-
@media (max-width: 35.98em) {
|
|
1382
|
-
.header {
|
|
1383
|
-
padding-top: 0;
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1386
|
-
.header > * {
|
|
1387
|
-
margin-left: 0.25rem;
|
|
1388
|
-
margin-right: 0.25rem;
|
|
1389
|
-
min-width: auto;
|
|
1390
|
-
}
|
|
1391
|
-
.header > *.link {
|
|
1392
|
-
flex: 1 1;
|
|
1393
|
-
}
|
|
1394
|
-
.header ::part(_button) {
|
|
1395
|
-
border-radius: var(--sg-border-radius);
|
|
1396
|
-
background-color: transparent;
|
|
1397
|
-
border: 0;
|
|
1398
|
-
color: var(--text-primary-color);
|
|
1399
|
-
cursor: pointer;
|
|
1400
|
-
font-size: 1rem;
|
|
1401
|
-
padding: 0.5rem 0.75rem;
|
|
1402
|
-
}
|
|
1403
|
-
.header ::part(_button):focus:not(:focus-visible) {
|
|
1404
|
-
box-shadow: none;
|
|
1405
|
-
outline: 0;
|
|
1406
|
-
}
|
|
1407
|
-
.header ::part(_button):focus, .header ::part(_button):focus-visible {
|
|
1408
|
-
outline-color: var(--gds-sys-color-focus-outline);
|
|
1409
|
-
outline-style: solid;
|
|
1410
|
-
outline-width: 0.125rem;
|
|
1411
|
-
outline-offset: 0.125rem;
|
|
1412
|
-
}
|
|
1413
|
-
.header ::part(_button):hover {
|
|
1414
|
-
background: var(--grey-500);
|
|
1415
|
-
}
|
|
1416
|
-
.footer {
|
|
1417
|
-
padding-left: 0.5rem;
|
|
1418
|
-
padding-right: 0.5rem;
|
|
1419
|
-
padding-bottom: 0.5rem;
|
|
1420
|
-
padding-top: 0.5rem;
|
|
1421
|
-
border-top: solid var(--sg-border-width) var(--sg-border-color);
|
|
1422
|
-
border-color: #ddd;
|
|
1423
|
-
display: flex;
|
|
1424
|
-
justify-content: space-between;
|
|
1425
864
|
}
|
|
1426
865
|
}`;
|
|
1427
866
|
|
|
1428
867
|
// libs/core/src/components/datepicker/datepicker.trans.styles.ts
|
|
1429
|
-
function
|
|
1430
|
-
|
|
1431
|
-
|
|
868
|
+
function register8() {
|
|
869
|
+
const tokensAndStyles = datepicker_trans_styles_default.toString() + tokens.reduce((acc, token) => acc + token.cssText, "");
|
|
870
|
+
TransitionalStyles.instance.register(
|
|
871
|
+
"gds-datepicker",
|
|
872
|
+
tokensAndStyles.toString()
|
|
873
|
+
);
|
|
874
|
+
register7();
|
|
1432
875
|
register2();
|
|
1433
876
|
register4();
|
|
1434
877
|
}
|
|
1435
|
-
var datepicker_trans_styles_default2 =
|
|
878
|
+
var datepicker_trans_styles_default2 = register8;
|
|
1436
879
|
|
|
1437
880
|
// libs/core/src/components/filter-chips/filter-chip/filter-chip.trans.styles.scss?inline
|
|
1438
881
|
var filter_chip_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
@@ -1449,11 +892,11 @@ var filter_chip_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
|
1449
892
|
}`;
|
|
1450
893
|
|
|
1451
894
|
// libs/core/src/components/filter-chips/filter-chip/filter-chip.trans.styles.ts
|
|
1452
|
-
function
|
|
895
|
+
function register9() {
|
|
1453
896
|
TransitionalStyles.instance.register("gds-filter-chip", filter_chip_trans_styles_default.toString());
|
|
1454
|
-
|
|
897
|
+
register6();
|
|
1455
898
|
}
|
|
1456
|
-
var filter_chip_trans_styles_default2 =
|
|
899
|
+
var filter_chip_trans_styles_default2 = register9;
|
|
1457
900
|
|
|
1458
901
|
// libs/core/src/components/filter-chips/filter-chips.trans.styles.scss?inline
|
|
1459
902
|
var filter_chips_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
@@ -1464,11 +907,11 @@ var filter_chips_trans_styles_default = `@layer base, reset, transitional-styles
|
|
|
1464
907
|
}`;
|
|
1465
908
|
|
|
1466
909
|
// libs/core/src/components/filter-chips/filter-chips.trans.styles.ts
|
|
1467
|
-
function
|
|
910
|
+
function register10() {
|
|
1468
911
|
TransitionalStyles.instance.register("gds-filter-chips", filter_chips_trans_styles_default.toString());
|
|
1469
|
-
|
|
912
|
+
register9();
|
|
1470
913
|
}
|
|
1471
|
-
var filter_chips_trans_styles_default2 =
|
|
914
|
+
var filter_chips_trans_styles_default2 = register10;
|
|
1472
915
|
|
|
1473
916
|
// libs/core/src/components/grouped-list/grouped-list.trans.styles.scss?inline
|
|
1474
917
|
var grouped_list_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
@@ -1497,10 +940,17 @@ var grouped_list_trans_styles_default = `@layer base, reset, transitional-styles
|
|
|
1497
940
|
}`;
|
|
1498
941
|
|
|
1499
942
|
// libs/core/src/components/grouped-list/grouped-list.trans.styles.ts
|
|
1500
|
-
function
|
|
943
|
+
function register11() {
|
|
1501
944
|
TransitionalStyles.instance.register("gds-grouped-list", grouped_list_trans_styles_default.toString());
|
|
1502
945
|
}
|
|
1503
|
-
var grouped_list_trans_styles_default2 =
|
|
946
|
+
var grouped_list_trans_styles_default2 = register11;
|
|
947
|
+
|
|
948
|
+
// libs/core/src/components/input/input.trans.styles.ts
|
|
949
|
+
function register12() {
|
|
950
|
+
register6();
|
|
951
|
+
register5();
|
|
952
|
+
}
|
|
953
|
+
var input_trans_styles_default = register12;
|
|
1504
954
|
|
|
1505
955
|
// libs/core/src/components/segmented-control/segment/segment.trans.styles.scss?inline
|
|
1506
956
|
var segment_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
@@ -1541,7 +991,7 @@ var segment_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
|
1541
991
|
appearance: none;
|
|
1542
992
|
background: transparent;
|
|
1543
993
|
border-width: 0;
|
|
1544
|
-
color: var(--
|
|
994
|
+
color: var(--text-primary-color);
|
|
1545
995
|
cursor: pointer;
|
|
1546
996
|
flex-grow: 1;
|
|
1547
997
|
flex-shrink: 0;
|
|
@@ -1589,10 +1039,10 @@ var segment_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
|
1589
1039
|
}`;
|
|
1590
1040
|
|
|
1591
1041
|
// libs/core/src/components/segmented-control/segment/segment.trans.styles.ts
|
|
1592
|
-
function
|
|
1042
|
+
function register13() {
|
|
1593
1043
|
TransitionalStyles.instance.register("gds-segmented", segment_trans_styles_default.toString());
|
|
1594
1044
|
}
|
|
1595
|
-
var segment_trans_styles_default2 =
|
|
1045
|
+
var segment_trans_styles_default2 = register13;
|
|
1596
1046
|
|
|
1597
1047
|
// libs/core/src/components/segmented-control/segmented-control.trans.styles.css?inline
|
|
1598
1048
|
var segmented_control_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
@@ -1702,14 +1152,14 @@ var segmented_control_trans_styles_default = `@layer base, reset, transitional-s
|
|
|
1702
1152
|
`;
|
|
1703
1153
|
|
|
1704
1154
|
// libs/core/src/components/segmented-control/segmented-control.trans.styles.ts
|
|
1705
|
-
function
|
|
1155
|
+
function register14() {
|
|
1706
1156
|
TransitionalStyles.instance.register(
|
|
1707
1157
|
"gds-segmented-control",
|
|
1708
1158
|
segmented_control_trans_styles_default.toString()
|
|
1709
1159
|
);
|
|
1710
|
-
|
|
1160
|
+
register13();
|
|
1711
1161
|
}
|
|
1712
|
-
var segmented_control_trans_styles_default2 =
|
|
1162
|
+
var segmented_control_trans_styles_default2 = register14;
|
|
1713
1163
|
|
|
1714
1164
|
// libs/core/src/components/theme/chlorophyll-tokens.scss?inline
|
|
1715
1165
|
var chlorophyll_tokens_default = `/**
|
|
@@ -2296,24 +1746,25 @@ Values for light mode are used by default.
|
|
|
2296
1746
|
}`;
|
|
2297
1747
|
|
|
2298
1748
|
// libs/core/src/components/theme/theme.trans.styles.ts
|
|
2299
|
-
function
|
|
1749
|
+
function register15() {
|
|
2300
1750
|
TransitionalStyles.instance.register(
|
|
2301
1751
|
"gds-theme",
|
|
2302
1752
|
chlorophyll_tokens_default.toString()
|
|
2303
1753
|
);
|
|
2304
1754
|
}
|
|
2305
|
-
var theme_trans_styles_default =
|
|
1755
|
+
var theme_trans_styles_default = register15;
|
|
2306
1756
|
|
|
2307
1757
|
// libs/core/src/utils/transitional-styles/transitional-styles.ts
|
|
2308
1758
|
var registerTransitionalStyles = () => {
|
|
2309
|
-
|
|
2310
|
-
register6();
|
|
2311
|
-
register3();
|
|
1759
|
+
register15();
|
|
2312
1760
|
register7();
|
|
1761
|
+
register3();
|
|
1762
|
+
register8();
|
|
1763
|
+
register11();
|
|
1764
|
+
register14();
|
|
2313
1765
|
register10();
|
|
1766
|
+
register6();
|
|
2314
1767
|
register12();
|
|
2315
|
-
register9();
|
|
2316
|
-
register5();
|
|
2317
1768
|
};
|
|
2318
1769
|
var _styles, _elements, _useLegacyStylesheets;
|
|
2319
1770
|
var _TransitionalStyles = class _TransitionalStyles {
|
|
@@ -2591,18 +2042,6 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
2591
2042
|
:host(:not([variant=ghost])) .button:disabled::placeholder, :host(:not([variant=ghost])) .button.disabled::placeholder, :host(:not([variant=ghost])) .button[aria-disabled=true]::placeholder {
|
|
2592
2043
|
color: var(--text-disabled-color);
|
|
2593
2044
|
}
|
|
2594
|
-
.button.icon {
|
|
2595
|
-
padding: 0.75rem;
|
|
2596
|
-
}
|
|
2597
|
-
.button.icon slot {
|
|
2598
|
-
display: contents;
|
|
2599
|
-
}
|
|
2600
|
-
.button.icon.small {
|
|
2601
|
-
padding: 0.5rem;
|
|
2602
|
-
}
|
|
2603
|
-
.button.icon.large {
|
|
2604
|
-
padding: 1.25rem;
|
|
2605
|
-
}
|
|
2606
2045
|
:host([rank*=secondary]) .button {
|
|
2607
2046
|
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
2608
2047
|
background: transparent;
|
|
@@ -2847,17 +2286,42 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
2847
2286
|
color: var(--text-disabled-color);
|
|
2848
2287
|
}
|
|
2849
2288
|
}
|
|
2850
|
-
@layer _overrides {
|
|
2289
|
+
@layer _overrides {
|
|
2290
|
+
:host .button.icon {
|
|
2291
|
+
padding: 0.75rem;
|
|
2292
|
+
background: transparent;
|
|
2293
|
+
border-width: 0px;
|
|
2294
|
+
color: currentColor;
|
|
2295
|
+
}
|
|
2296
|
+
:host .button.icon:hover {
|
|
2297
|
+
color: currentColor;
|
|
2298
|
+
background: var(--grey-500);
|
|
2299
|
+
}
|
|
2300
|
+
:host .button.icon slot {
|
|
2301
|
+
display: contents;
|
|
2302
|
+
}
|
|
2303
|
+
.button.icon.xs {
|
|
2304
|
+
min-height: 1.5rem;
|
|
2305
|
+
line-height: 0.75rem;
|
|
2306
|
+
padding: 0.25rem;
|
|
2307
|
+
}
|
|
2308
|
+
.button.icon.small {
|
|
2309
|
+
padding: 0.5rem;
|
|
2310
|
+
}
|
|
2311
|
+
.button.icon.large {
|
|
2312
|
+
padding: 1rem;
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2851
2315
|
}`;
|
|
2852
2316
|
|
|
2853
2317
|
// libs/core/src/components/button/button.trans.styles.ts
|
|
2854
|
-
function
|
|
2318
|
+
function register6() {
|
|
2855
2319
|
TransitionalStyles.instance.register("gds-button", button_trans_styles_default.toString());
|
|
2856
2320
|
}
|
|
2857
|
-
var button_trans_styles_default2 =
|
|
2321
|
+
var button_trans_styles_default2 = register6;
|
|
2858
2322
|
|
|
2859
2323
|
export {
|
|
2860
|
-
|
|
2324
|
+
register6 as register,
|
|
2861
2325
|
button_trans_styles_default2 as button_trans_styles_default,
|
|
2862
2326
|
register2,
|
|
2863
2327
|
popover_trans_styles_default2 as popover_trans_styles_default,
|
|
@@ -2865,21 +2329,23 @@ export {
|
|
|
2865
2329
|
context_menu_trans_styles_default2 as context_menu_trans_styles_default,
|
|
2866
2330
|
register4,
|
|
2867
2331
|
calendar_trans_styles_default2 as calendar_trans_styles_default,
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2332
|
+
register7 as register5,
|
|
2333
|
+
dropdown_trans_styles_default,
|
|
2334
|
+
register8 as register6,
|
|
2871
2335
|
datepicker_trans_styles_default2 as datepicker_trans_styles_default,
|
|
2872
|
-
|
|
2336
|
+
register9 as register7,
|
|
2873
2337
|
filter_chip_trans_styles_default2 as filter_chip_trans_styles_default,
|
|
2874
|
-
|
|
2338
|
+
register10 as register8,
|
|
2875
2339
|
filter_chips_trans_styles_default2 as filter_chips_trans_styles_default,
|
|
2876
|
-
|
|
2340
|
+
register11 as register9,
|
|
2877
2341
|
grouped_list_trans_styles_default2 as grouped_list_trans_styles_default,
|
|
2878
|
-
|
|
2342
|
+
register12 as register10,
|
|
2343
|
+
input_trans_styles_default,
|
|
2344
|
+
register13 as register11,
|
|
2879
2345
|
segment_trans_styles_default2 as segment_trans_styles_default,
|
|
2880
|
-
|
|
2346
|
+
register14 as register12,
|
|
2881
2347
|
segmented_control_trans_styles_default2 as segmented_control_trans_styles_default,
|
|
2882
|
-
|
|
2348
|
+
register15 as register13,
|
|
2883
2349
|
theme_trans_styles_default,
|
|
2884
2350
|
registerTransitionalStyles,
|
|
2885
2351
|
TransitionalStyles
|