@sebgroup/green-core 1.61.0 → 1.62.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/README.md +1 -1
- package/chunks/{chunk.5L6LO6VX.js → chunk.23CV5ZVX.js} +1 -1
- package/chunks/{chunk.PBUUPCPL.js → chunk.2HRS24DL.js} +1 -1
- package/chunks/{chunk.SGFAP56K.js → chunk.33C4K67P.js} +1 -1
- package/chunks/{chunk.IS6GBDKU.js → chunk.5GGONGQJ.js} +1 -1
- package/chunks/{chunk.P2BOEVHE.js → chunk.5KE6BA6W.js} +2 -2
- package/chunks/{chunk.KTCN5HJV.js → chunk.62GGLEJC.js} +1 -1
- package/chunks/{chunk.27SYD4ZG.js → chunk.6XEAE7T2.js} +2 -2
- package/chunks/{chunk.S4DOMLSN.js → chunk.ADUUHJPG.js} +2 -2
- package/chunks/{chunk.HJBA7FLT.js → chunk.AMLIYQDY.js} +119 -118
- package/chunks/{chunk.M6S3B5GI.js → chunk.B6XZXYOU.js} +1 -1
- package/chunks/{chunk.B7X4UWIN.js → chunk.DEX5KV5V.js} +1 -1
- package/chunks/{chunk.KEPXMMGX.js → chunk.EPD6KSQZ.js} +1 -1
- package/chunks/{chunk.U44LH2CF.js → chunk.GOUYG42B.js} +149 -680
- package/chunks/{chunk.KMMI2BYQ.js → chunk.GPJ5MI3W.js} +1 -1
- package/chunks/{chunk.YRHYEHLO.js → chunk.I7GG3Q33.js} +1 -1
- package/chunks/{chunk.77RJTA43.js → chunk.IAXS24PX.js} +5 -1
- package/chunks/{chunk.QN5HFZCH.js → chunk.IGDBUU5K.js} +1 -1
- package/chunks/{chunk.NCZAYYNU.js → chunk.LI5LIVRH.js} +1 -1
- package/chunks/{chunk.RTE75ZOU.js → chunk.LQ4K7EOR.js} +118 -173
- package/chunks/{chunk.A2VYZXDP.js → chunk.M76HAN5Y.js} +57 -141
- package/chunks/chunk.MLXMQIEV.js +1 -1
- package/chunks/{chunk.UWI652VF.js → chunk.NCKHK5PG.js} +9 -7
- package/chunks/{chunk.BWVUFYGS.js → chunk.NRNM3BUT.js} +3 -1
- package/chunks/{chunk.OSIUU4NF.js → chunk.P754QIXB.js} +110 -197
- package/chunks/{chunk.WXBRUX3Q.js → chunk.QP3MOA3X.js} +8 -4
- package/chunks/{chunk.C3ZGNKY3.js → chunk.QYPIOUAZ.js} +2 -2
- package/chunks/{chunk.DBFF5KCR.js → chunk.RD5FN7GV.js} +1 -1
- package/chunks/{chunk.HOH7FXB5.js → chunk.S6M5XLHO.js} +2 -2
- package/chunks/{chunk.W6E54X7P.js → chunk.URGSIQTY.js} +1 -1
- package/chunks/{chunk.BYYROY6X.js → chunk.V2ZK6TAZ.js} +6 -6
- package/chunks/{chunk.Z3MHP5MN.js → chunk.V56VPSWH.js} +8 -1
- package/chunks/{chunk.H26SOC3M.js → chunk.VAZZUDR7.js} +2 -2
- package/chunks/{chunk.Z334YLO4.js → chunk.VN6UVCYW.js} +1 -1
- package/chunks/chunk.VZTV63IQ.js +0 -0
- package/chunks/{chunk.QIE6QJ5O.js → chunk.WFUIEWFH.js} +2 -2
- package/chunks/{chunk.RL2KSWKV.js → chunk.WLLP7PGV.js} +1 -1
- package/chunks/{chunk.YAPDYZK6.js → chunk.XLX3E2IF.js} +1 -1
- package/chunks/{chunk.3HGZ5B5Q.js → chunk.XMAA7CU5.js} +1 -1
- package/chunks/{chunk.FCB5VT3N.js → chunk.Y4CTMGFE.js} +3 -3
- package/chunks/{chunk.WV7BXKV6.js → chunk.YBNYFV2B.js} +2 -2
- package/chunks/{chunk.ZTRXED5A.js → chunk.YQOODS7V.js} +1 -1
- package/chunks/chunk.YZXHLCSN.js +301 -0
- package/chunks/{chunk.BHWBJIPJ.js → chunk.ZGC7DBIY.js} +4 -3
- package/chunks/{chunk.43JUKB53.js → chunk.ZRKILGXZ.js} +1 -7
- package/chunks/{chunk.MSDETVDW.js → chunk.ZTGI6G25.js} +1 -1
- 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 +4 -0
- package/components/form/form-control.js +1 -1
- package/components/form/index.js +6 -6
- package/components/form/summary/index.js +6 -6
- package/components/form/summary/summary.js +6 -6
- 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 +48 -45
- package/components/input/index.js +15 -13
- package/components/input/input.d.ts +13 -12
- package/components/input/input.js +15 -13
- 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.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 +2 -2
- package/components/text/text.js +2 -2
- package/components/textarea/index.js +15 -13
- package/components/textarea/textarea.d.ts +13 -17
- package/components/textarea/textarea.js +15 -13
- 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 +48 -45
- 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/transitional-styles.js +3 -1
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tokens
|
|
3
|
+
} from "./chunk.V2ZK6TAZ.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,101 @@ 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.trail-slot-occupied {
|
|
778
|
+
padding: calc(var(--gds-space-xs) - 1px) var(--gds-space-m);
|
|
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 slot[name=action]::slotted(*) {
|
|
781
|
+
margin: -3px 0 -3px -3px;
|
|
1167
782
|
}
|
|
1168
|
-
|
|
1169
|
-
|
|
783
|
+
.field:focus-within {
|
|
784
|
+
outline-color: currentColor;
|
|
1170
785
|
}
|
|
1171
|
-
|
|
1172
|
-
border-color:
|
|
786
|
+
.field.invalid {
|
|
787
|
+
border-color: var(--gds-color-l3-border-negative);
|
|
788
|
+
color: var(--gds-color-l3-content-negative);
|
|
789
|
+
border-bottom-width: 2px;
|
|
1173
790
|
}
|
|
1174
|
-
|
|
1175
|
-
|
|
791
|
+
.field.disabled {
|
|
792
|
+
background: var(--gds-color-l3-background-disabled);
|
|
793
|
+
color: var(--gds-color-l3-content-disabled);
|
|
794
|
+
border-color: transparent;
|
|
795
|
+
pointer-events: none;
|
|
1176
796
|
}
|
|
1177
|
-
|
|
1178
|
-
|
|
797
|
+
.main-slot-wrap {
|
|
798
|
+
display: flex;
|
|
799
|
+
flex: 1;
|
|
1179
800
|
}
|
|
1180
|
-
|
|
1181
|
-
|
|
801
|
+
slot:not([name])::slotted(*) {
|
|
802
|
+
color: currentColor;
|
|
1182
803
|
}
|
|
1183
|
-
|
|
1184
|
-
display: flex;
|
|
804
|
+
slot[name=lead]::slotted([gds-element^=gds-icon-]) {
|
|
1185
805
|
align-items: center;
|
|
1186
806
|
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%;
|
|
807
|
+
display: flex;
|
|
808
|
+
min-width: var(--gds-space-l);
|
|
1200
809
|
}
|
|
1201
810
|
}`;
|
|
1202
811
|
|
|
812
|
+
// libs/core/src/primitives/field-base/field-base.trans.styles.ts
|
|
813
|
+
function register5() {
|
|
814
|
+
TransitionalStyles.instance.register("gds-field-base", field_base_trans_styles_default.toString());
|
|
815
|
+
}
|
|
816
|
+
|
|
1203
817
|
// libs/core/src/components/dropdown/dropdown.trans.styles.ts
|
|
1204
|
-
function
|
|
818
|
+
function register7() {
|
|
1205
819
|
register();
|
|
1206
820
|
register2();
|
|
821
|
+
register6();
|
|
1207
822
|
register5();
|
|
1208
|
-
TransitionalStyles.instance.register("gds-dropdown", dropdown_trans_styles_default.toString());
|
|
1209
823
|
}
|
|
1210
|
-
var
|
|
824
|
+
var dropdown_trans_styles_default = register7;
|
|
1211
825
|
|
|
1212
826
|
// libs/core/src/components/datepicker/datepicker.trans.styles.scss?inline
|
|
1213
827
|
var datepicker_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
@@ -1228,211 +842,43 @@ var datepicker_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
|
1228
842
|
* Use \`add-focus\` instead
|
|
1229
843
|
*/
|
|
1230
844
|
/** 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
845
|
@layer base, reset, transitional-styles;
|
|
1233
846
|
@layer transitional-styles {
|
|
1234
847
|
: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
848
|
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;
|
|
849
|
+
flex-direction: column;
|
|
850
|
+
width: 100%;
|
|
851
|
+
contain: layout;
|
|
852
|
+
isolation: isolate;
|
|
853
|
+
gap: var(--gds-space-xs);
|
|
1309
854
|
}
|
|
1310
|
-
|
|
855
|
+
[role=spinbutton] {
|
|
1311
856
|
display: inline-block;
|
|
1312
857
|
}
|
|
1313
|
-
|
|
858
|
+
[role=spinbutton]:focus {
|
|
1314
859
|
background: color-mix(in srgb, var(--gds-sys-color-blue) 50%, transparent);
|
|
1315
860
|
outline: none;
|
|
1316
861
|
}
|
|
1317
|
-
|
|
862
|
+
[role=spinbutton]::-moz-selection {
|
|
1318
863
|
background: transparent;
|
|
1319
864
|
}
|
|
1320
|
-
|
|
865
|
+
[role=spinbutton]::selection {
|
|
1321
866
|
background: transparent;
|
|
1322
867
|
}
|
|
1323
|
-
.field button {
|
|
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 {
|
|
1360
|
-
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
|
-
}
|
|
1426
868
|
}`;
|
|
1427
869
|
|
|
1428
870
|
// libs/core/src/components/datepicker/datepicker.trans.styles.ts
|
|
1429
|
-
function
|
|
1430
|
-
|
|
1431
|
-
|
|
871
|
+
function register8() {
|
|
872
|
+
const tokensAndStyles = datepicker_trans_styles_default.toString() + tokens.reduce((acc, token) => acc + token.cssText, "");
|
|
873
|
+
TransitionalStyles.instance.register(
|
|
874
|
+
"gds-datepicker",
|
|
875
|
+
tokensAndStyles.toString()
|
|
876
|
+
);
|
|
877
|
+
register7();
|
|
1432
878
|
register2();
|
|
1433
879
|
register4();
|
|
1434
880
|
}
|
|
1435
|
-
var datepicker_trans_styles_default2 =
|
|
881
|
+
var datepicker_trans_styles_default2 = register8;
|
|
1436
882
|
|
|
1437
883
|
// libs/core/src/components/filter-chips/filter-chip/filter-chip.trans.styles.scss?inline
|
|
1438
884
|
var filter_chip_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
@@ -1449,11 +895,11 @@ var filter_chip_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
|
1449
895
|
}`;
|
|
1450
896
|
|
|
1451
897
|
// libs/core/src/components/filter-chips/filter-chip/filter-chip.trans.styles.ts
|
|
1452
|
-
function
|
|
898
|
+
function register9() {
|
|
1453
899
|
TransitionalStyles.instance.register("gds-filter-chip", filter_chip_trans_styles_default.toString());
|
|
1454
|
-
|
|
900
|
+
register6();
|
|
1455
901
|
}
|
|
1456
|
-
var filter_chip_trans_styles_default2 =
|
|
902
|
+
var filter_chip_trans_styles_default2 = register9;
|
|
1457
903
|
|
|
1458
904
|
// libs/core/src/components/filter-chips/filter-chips.trans.styles.scss?inline
|
|
1459
905
|
var filter_chips_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
@@ -1464,11 +910,11 @@ var filter_chips_trans_styles_default = `@layer base, reset, transitional-styles
|
|
|
1464
910
|
}`;
|
|
1465
911
|
|
|
1466
912
|
// libs/core/src/components/filter-chips/filter-chips.trans.styles.ts
|
|
1467
|
-
function
|
|
913
|
+
function register10() {
|
|
1468
914
|
TransitionalStyles.instance.register("gds-filter-chips", filter_chips_trans_styles_default.toString());
|
|
1469
|
-
|
|
915
|
+
register9();
|
|
1470
916
|
}
|
|
1471
|
-
var filter_chips_trans_styles_default2 =
|
|
917
|
+
var filter_chips_trans_styles_default2 = register10;
|
|
1472
918
|
|
|
1473
919
|
// libs/core/src/components/grouped-list/grouped-list.trans.styles.scss?inline
|
|
1474
920
|
var grouped_list_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
@@ -1497,10 +943,17 @@ var grouped_list_trans_styles_default = `@layer base, reset, transitional-styles
|
|
|
1497
943
|
}`;
|
|
1498
944
|
|
|
1499
945
|
// libs/core/src/components/grouped-list/grouped-list.trans.styles.ts
|
|
1500
|
-
function
|
|
946
|
+
function register11() {
|
|
1501
947
|
TransitionalStyles.instance.register("gds-grouped-list", grouped_list_trans_styles_default.toString());
|
|
1502
948
|
}
|
|
1503
|
-
var grouped_list_trans_styles_default2 =
|
|
949
|
+
var grouped_list_trans_styles_default2 = register11;
|
|
950
|
+
|
|
951
|
+
// libs/core/src/components/input/input.trans.styles.ts
|
|
952
|
+
function register12() {
|
|
953
|
+
register6();
|
|
954
|
+
register5();
|
|
955
|
+
}
|
|
956
|
+
var input_trans_styles_default = register12;
|
|
1504
957
|
|
|
1505
958
|
// libs/core/src/components/segmented-control/segment/segment.trans.styles.scss?inline
|
|
1506
959
|
var segment_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
@@ -1589,10 +1042,10 @@ var segment_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
|
1589
1042
|
}`;
|
|
1590
1043
|
|
|
1591
1044
|
// libs/core/src/components/segmented-control/segment/segment.trans.styles.ts
|
|
1592
|
-
function
|
|
1045
|
+
function register13() {
|
|
1593
1046
|
TransitionalStyles.instance.register("gds-segmented", segment_trans_styles_default.toString());
|
|
1594
1047
|
}
|
|
1595
|
-
var segment_trans_styles_default2 =
|
|
1048
|
+
var segment_trans_styles_default2 = register13;
|
|
1596
1049
|
|
|
1597
1050
|
// libs/core/src/components/segmented-control/segmented-control.trans.styles.css?inline
|
|
1598
1051
|
var segmented_control_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
@@ -1702,14 +1155,14 @@ var segmented_control_trans_styles_default = `@layer base, reset, transitional-s
|
|
|
1702
1155
|
`;
|
|
1703
1156
|
|
|
1704
1157
|
// libs/core/src/components/segmented-control/segmented-control.trans.styles.ts
|
|
1705
|
-
function
|
|
1158
|
+
function register14() {
|
|
1706
1159
|
TransitionalStyles.instance.register(
|
|
1707
1160
|
"gds-segmented-control",
|
|
1708
1161
|
segmented_control_trans_styles_default.toString()
|
|
1709
1162
|
);
|
|
1710
|
-
|
|
1163
|
+
register13();
|
|
1711
1164
|
}
|
|
1712
|
-
var segmented_control_trans_styles_default2 =
|
|
1165
|
+
var segmented_control_trans_styles_default2 = register14;
|
|
1713
1166
|
|
|
1714
1167
|
// libs/core/src/components/theme/chlorophyll-tokens.scss?inline
|
|
1715
1168
|
var chlorophyll_tokens_default = `/**
|
|
@@ -2296,24 +1749,25 @@ Values for light mode are used by default.
|
|
|
2296
1749
|
}`;
|
|
2297
1750
|
|
|
2298
1751
|
// libs/core/src/components/theme/theme.trans.styles.ts
|
|
2299
|
-
function
|
|
1752
|
+
function register15() {
|
|
2300
1753
|
TransitionalStyles.instance.register(
|
|
2301
1754
|
"gds-theme",
|
|
2302
1755
|
chlorophyll_tokens_default.toString()
|
|
2303
1756
|
);
|
|
2304
1757
|
}
|
|
2305
|
-
var theme_trans_styles_default =
|
|
1758
|
+
var theme_trans_styles_default = register15;
|
|
2306
1759
|
|
|
2307
1760
|
// libs/core/src/utils/transitional-styles/transitional-styles.ts
|
|
2308
1761
|
var registerTransitionalStyles = () => {
|
|
2309
|
-
|
|
2310
|
-
register6();
|
|
2311
|
-
register3();
|
|
1762
|
+
register15();
|
|
2312
1763
|
register7();
|
|
1764
|
+
register3();
|
|
1765
|
+
register8();
|
|
1766
|
+
register11();
|
|
1767
|
+
register14();
|
|
2313
1768
|
register10();
|
|
1769
|
+
register6();
|
|
2314
1770
|
register12();
|
|
2315
|
-
register9();
|
|
2316
|
-
register5();
|
|
2317
1771
|
};
|
|
2318
1772
|
var _styles, _elements, _useLegacyStylesheets;
|
|
2319
1773
|
var _TransitionalStyles = class _TransitionalStyles {
|
|
@@ -2591,18 +2045,6 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
2591
2045
|
:host(:not([variant=ghost])) .button:disabled::placeholder, :host(:not([variant=ghost])) .button.disabled::placeholder, :host(:not([variant=ghost])) .button[aria-disabled=true]::placeholder {
|
|
2592
2046
|
color: var(--text-disabled-color);
|
|
2593
2047
|
}
|
|
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
2048
|
:host([rank*=secondary]) .button {
|
|
2607
2049
|
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
2608
2050
|
background: transparent;
|
|
@@ -2847,17 +2289,42 @@ i.sg-icon.sg-icon-ellipsis::before {
|
|
|
2847
2289
|
color: var(--text-disabled-color);
|
|
2848
2290
|
}
|
|
2849
2291
|
}
|
|
2850
|
-
@layer _overrides {
|
|
2292
|
+
@layer _overrides {
|
|
2293
|
+
:host .button.icon {
|
|
2294
|
+
padding: 0.75rem;
|
|
2295
|
+
background: transparent;
|
|
2296
|
+
border-width: 0px;
|
|
2297
|
+
color: currentColor;
|
|
2298
|
+
}
|
|
2299
|
+
:host .button.icon:hover {
|
|
2300
|
+
color: currentColor;
|
|
2301
|
+
background: var(--grey-500);
|
|
2302
|
+
}
|
|
2303
|
+
:host .button.icon slot {
|
|
2304
|
+
display: contents;
|
|
2305
|
+
}
|
|
2306
|
+
.button.icon.xs {
|
|
2307
|
+
min-height: 1.5rem;
|
|
2308
|
+
line-height: 0.75rem;
|
|
2309
|
+
padding: 0.25rem;
|
|
2310
|
+
}
|
|
2311
|
+
.button.icon.small {
|
|
2312
|
+
padding: 0.5rem;
|
|
2313
|
+
}
|
|
2314
|
+
.button.icon.large {
|
|
2315
|
+
padding: 1rem;
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2851
2318
|
}`;
|
|
2852
2319
|
|
|
2853
2320
|
// libs/core/src/components/button/button.trans.styles.ts
|
|
2854
|
-
function
|
|
2321
|
+
function register6() {
|
|
2855
2322
|
TransitionalStyles.instance.register("gds-button", button_trans_styles_default.toString());
|
|
2856
2323
|
}
|
|
2857
|
-
var button_trans_styles_default2 =
|
|
2324
|
+
var button_trans_styles_default2 = register6;
|
|
2858
2325
|
|
|
2859
2326
|
export {
|
|
2860
|
-
|
|
2327
|
+
register6 as register,
|
|
2861
2328
|
button_trans_styles_default2 as button_trans_styles_default,
|
|
2862
2329
|
register2,
|
|
2863
2330
|
popover_trans_styles_default2 as popover_trans_styles_default,
|
|
@@ -2865,21 +2332,23 @@ export {
|
|
|
2865
2332
|
context_menu_trans_styles_default2 as context_menu_trans_styles_default,
|
|
2866
2333
|
register4,
|
|
2867
2334
|
calendar_trans_styles_default2 as calendar_trans_styles_default,
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2335
|
+
register7 as register5,
|
|
2336
|
+
dropdown_trans_styles_default,
|
|
2337
|
+
register8 as register6,
|
|
2871
2338
|
datepicker_trans_styles_default2 as datepicker_trans_styles_default,
|
|
2872
|
-
|
|
2339
|
+
register9 as register7,
|
|
2873
2340
|
filter_chip_trans_styles_default2 as filter_chip_trans_styles_default,
|
|
2874
|
-
|
|
2341
|
+
register10 as register8,
|
|
2875
2342
|
filter_chips_trans_styles_default2 as filter_chips_trans_styles_default,
|
|
2876
|
-
|
|
2343
|
+
register11 as register9,
|
|
2877
2344
|
grouped_list_trans_styles_default2 as grouped_list_trans_styles_default,
|
|
2878
|
-
|
|
2345
|
+
register12 as register10,
|
|
2346
|
+
input_trans_styles_default,
|
|
2347
|
+
register13 as register11,
|
|
2879
2348
|
segment_trans_styles_default2 as segment_trans_styles_default,
|
|
2880
|
-
|
|
2349
|
+
register14 as register12,
|
|
2881
2350
|
segmented_control_trans_styles_default2 as segmented_control_trans_styles_default,
|
|
2882
|
-
|
|
2351
|
+
register15 as register13,
|
|
2883
2352
|
theme_trans_styles_default,
|
|
2884
2353
|
registerTransitionalStyles,
|
|
2885
2354
|
TransitionalStyles
|