@gitlab/ui 94.6.0 → 94.7.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/CHANGELOG.md +19 -0
- package/dist/components/base/breadcrumb/breadcrumb.js +2 -1
- package/dist/components/base/dropdown/dropdown.js +1 -1
- package/dist/components/base/dropdown/dropdown_item.js +1 -1
- package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown_group.js +3 -3
- package/dist/components/base/new_dropdowns/listbox/listbox.js +4 -4
- package/dist/components/base/new_dropdowns/listbox/listbox_group.js +1 -1
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/tailwind.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +20 -1
- package/dist/tokens/build/js/tokens.js +20 -1
- package/dist/tokens/css/tokens.css +19 -0
- package/dist/tokens/css/tokens.dark.css +19 -0
- package/dist/tokens/js/tokens.dark.js +19 -0
- package/dist/tokens/js/tokens.js +19 -0
- package/dist/tokens/json/tokens.dark.json +457 -0
- package/dist/tokens/json/tokens.json +457 -0
- package/dist/tokens/scss/_tokens.dark.scss +19 -0
- package/dist/tokens/scss/_tokens.scss +19 -0
- package/dist/tokens/scss/_tokens_custom_properties.scss +19 -0
- package/dist/tokens/tailwind/tokens.cjs +2 -0
- package/dist/vendor/bootstrap-vue/src/constants/components.js +1 -4
- package/dist/vendor/bootstrap-vue/src/constants/regex.js +1 -6
- package/dist/vendor/bootstrap-vue/src/index.js +0 -4
- package/dist/vendor/bootstrap-vue/src/utils/string.js +2 -8
- package/package.json +1 -1
- package/src/components/base/breadcrumb/breadcrumb.vue +2 -1
- package/src/components/base/dropdown/dropdown.scss +6 -9
- package/src/components/base/dropdown/dropdown.vue +1 -1
- package/src/components/base/dropdown/dropdown_divider.scss +1 -1
- package/src/components/base/dropdown/dropdown_item.scss +8 -12
- package/src/components/base/dropdown/dropdown_item.vue +1 -1
- package/src/components/base/dropdown/dropdown_section_header.scss +1 -1
- package/src/components/base/filtered_search/filtered_search_suggestion.scss +2 -2
- package/src/components/base/filtered_search/filtered_search_suggestion_list.scss +2 -1
- package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.scss +1 -1
- package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown_group.vue +3 -3
- package/src/components/base/new_dropdowns/dropdown.scss +5 -5
- package/src/components/base/new_dropdowns/dropdown_item.scss +29 -12
- package/src/components/base/new_dropdowns/listbox/listbox.scss +2 -2
- package/src/components/base/new_dropdowns/listbox/listbox.vue +5 -5
- package/src/components/base/new_dropdowns/listbox/listbox_group.vue +1 -1
- package/src/tokens/build/css/tokens.css +19 -0
- package/src/tokens/build/css/tokens.dark.css +19 -0
- package/src/tokens/build/js/tokens.dark.js +19 -0
- package/src/tokens/build/js/tokens.js +19 -0
- package/src/tokens/build/json/tokens.dark.json +457 -0
- package/src/tokens/build/json/tokens.json +457 -0
- package/src/tokens/build/scss/_tokens.dark.scss +19 -0
- package/src/tokens/build/scss/_tokens.scss +19 -0
- package/src/tokens/build/scss/_tokens_custom_properties.scss +19 -0
- package/src/tokens/build/tailwind/tokens.cjs +2 -0
- package/src/tokens/contextual/dropdown.tokens.json +148 -0
- package/src/vendor/bootstrap-vue/nuxt/index.js +1 -13
- package/src/vendor/bootstrap-vue/nuxt/plugin.template.js +0 -6
- package/src/vendor/bootstrap-vue/package.json +1 -4
- package/src/vendor/bootstrap-vue/src/_variables.scss +0 -14
- package/src/vendor/bootstrap-vue/src/components/breadcrumb/README.md +0 -1
- package/src/vendor/bootstrap-vue/src/components/input-group/README.md +1 -1
- package/src/vendor/bootstrap-vue/src/components/navbar/README.md +1 -2
- package/src/vendor/bootstrap-vue/src/constants/components.js +0 -3
- package/src/vendor/bootstrap-vue/src/constants/regex.js +0 -5
- package/src/vendor/bootstrap-vue/src/index.d.ts +0 -3
- package/src/vendor/bootstrap-vue/src/index.js +0 -9
- package/src/vendor/bootstrap-vue/src/index.scss +0 -3
- package/src/vendor/bootstrap-vue/src/utils/string.js +1 -8
- package/src/vendor/bootstrap-vue/src/utils/string.spec.js +1 -11
- package/dist/vendor/bootstrap-vue/src/browser-icons.js +0 -8
- package/dist/vendor/bootstrap-vue/src/icons/helpers/icon-base.js +0 -139
- package/dist/vendor/bootstrap-vue/src/icons/helpers/make-icon.js +0 -56
- package/dist/vendor/bootstrap-vue/src/icons/icon.js +0 -56
- package/dist/vendor/bootstrap-vue/src/icons/icons.js +0 -1377
- package/dist/vendor/bootstrap-vue/src/icons/iconstack.js +0 -31
- package/dist/vendor/bootstrap-vue/src/icons/index.js +0 -4
- package/dist/vendor/bootstrap-vue/src/icons/plugin.js +0 -1410
- package/dist/vendor/bootstrap-vue/src/icons-only.js +0 -10
- package/src/vendor/bootstrap-vue/src/browser-icons.js +0 -9
- package/src/vendor/bootstrap-vue/src/icons/README.md +0 -874
- package/src/vendor/bootstrap-vue/src/icons/_icons.scss +0 -156
- package/src/vendor/bootstrap-vue/src/icons/helpers/icon-base.js +0 -134
- package/src/vendor/bootstrap-vue/src/icons/helpers/make-icon.js +0 -48
- package/src/vendor/bootstrap-vue/src/icons/icon.js +0 -54
- package/src/vendor/bootstrap-vue/src/icons/icons.d.ts +0 -2757
- package/src/vendor/bootstrap-vue/src/icons/icons.js +0 -8241
- package/src/vendor/bootstrap-vue/src/icons/icons.spec.js +0 -522
- package/src/vendor/bootstrap-vue/src/icons/iconstack.js +0 -31
- package/src/vendor/bootstrap-vue/src/icons/iconstack.spec.js +0 -161
- package/src/vendor/bootstrap-vue/src/icons/index.d.ts +0 -18
- package/src/vendor/bootstrap-vue/src/icons/index.js +0 -16
- package/src/vendor/bootstrap-vue/src/icons/index.scss +0 -1
- package/src/vendor/bootstrap-vue/src/icons/package.json +0 -72782
- package/src/vendor/bootstrap-vue/src/icons/plugin.js +0 -4159
- package/src/vendor/bootstrap-vue/src/icons-only.js +0 -33
- package/src/vendor/bootstrap-vue/src/icons.scss +0 -8
|
@@ -13742,6 +13742,463 @@
|
|
|
13742
13742
|
}
|
|
13743
13743
|
}
|
|
13744
13744
|
},
|
|
13745
|
+
"dropdown": {
|
|
13746
|
+
"background": {
|
|
13747
|
+
"color": {
|
|
13748
|
+
"value": "#fff",
|
|
13749
|
+
"$type": "color",
|
|
13750
|
+
"comment": "Used for the background of a dropdown.",
|
|
13751
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
13752
|
+
"isSource": true,
|
|
13753
|
+
"original": {
|
|
13754
|
+
"value": "{background.color.overlap}",
|
|
13755
|
+
"$type": "color",
|
|
13756
|
+
"comment": "Used for the background of a dropdown."
|
|
13757
|
+
},
|
|
13758
|
+
"name": "DROPDOWN_BACKGROUND_COLOR",
|
|
13759
|
+
"attributes": {},
|
|
13760
|
+
"path": [
|
|
13761
|
+
"dropdown",
|
|
13762
|
+
"background",
|
|
13763
|
+
"color"
|
|
13764
|
+
]
|
|
13765
|
+
}
|
|
13766
|
+
},
|
|
13767
|
+
"border": {
|
|
13768
|
+
"color": {
|
|
13769
|
+
"value": "#bfbfc3",
|
|
13770
|
+
"$type": "color",
|
|
13771
|
+
"comment": "Used for the border of a dropdown.",
|
|
13772
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
13773
|
+
"isSource": true,
|
|
13774
|
+
"original": {
|
|
13775
|
+
"value": {
|
|
13776
|
+
"default": "{color.neutral.200}",
|
|
13777
|
+
"dark": "{color.neutral.700}"
|
|
13778
|
+
},
|
|
13779
|
+
"$type": "color",
|
|
13780
|
+
"comment": "Used for the border of a dropdown."
|
|
13781
|
+
},
|
|
13782
|
+
"name": "DROPDOWN_BORDER_COLOR",
|
|
13783
|
+
"attributes": {},
|
|
13784
|
+
"path": [
|
|
13785
|
+
"dropdown",
|
|
13786
|
+
"border",
|
|
13787
|
+
"color"
|
|
13788
|
+
]
|
|
13789
|
+
}
|
|
13790
|
+
},
|
|
13791
|
+
"option": {
|
|
13792
|
+
"text": {
|
|
13793
|
+
"color": {
|
|
13794
|
+
"default": {
|
|
13795
|
+
"value": "#28272d",
|
|
13796
|
+
"$type": "color",
|
|
13797
|
+
"comment": "Used for the text of a dropdown option in the default state.",
|
|
13798
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
13799
|
+
"isSource": true,
|
|
13800
|
+
"original": {
|
|
13801
|
+
"value": "{action.neutral.foreground.color.default}",
|
|
13802
|
+
"$type": "color",
|
|
13803
|
+
"comment": "Used for the text of a dropdown option in the default state."
|
|
13804
|
+
},
|
|
13805
|
+
"name": "DROPDOWN_OPTION_TEXT_COLOR_DEFAULT",
|
|
13806
|
+
"attributes": {},
|
|
13807
|
+
"path": [
|
|
13808
|
+
"dropdown",
|
|
13809
|
+
"option",
|
|
13810
|
+
"text",
|
|
13811
|
+
"color",
|
|
13812
|
+
"default"
|
|
13813
|
+
]
|
|
13814
|
+
},
|
|
13815
|
+
"hover": {
|
|
13816
|
+
"value": "#28272d",
|
|
13817
|
+
"$type": "color",
|
|
13818
|
+
"comment": "Used for the text of a dropdown option in the hover state.",
|
|
13819
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
13820
|
+
"isSource": true,
|
|
13821
|
+
"original": {
|
|
13822
|
+
"value": "{action.neutral.foreground.color.hover}",
|
|
13823
|
+
"$type": "color",
|
|
13824
|
+
"comment": "Used for the text of a dropdown option in the hover state."
|
|
13825
|
+
},
|
|
13826
|
+
"name": "DROPDOWN_OPTION_TEXT_COLOR_HOVER",
|
|
13827
|
+
"attributes": {},
|
|
13828
|
+
"path": [
|
|
13829
|
+
"dropdown",
|
|
13830
|
+
"option",
|
|
13831
|
+
"text",
|
|
13832
|
+
"color",
|
|
13833
|
+
"hover"
|
|
13834
|
+
]
|
|
13835
|
+
},
|
|
13836
|
+
"focus": {
|
|
13837
|
+
"value": "#28272d",
|
|
13838
|
+
"$type": "color",
|
|
13839
|
+
"comment": "Used for the text of a dropdown option in the focus state.",
|
|
13840
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
13841
|
+
"isSource": true,
|
|
13842
|
+
"original": {
|
|
13843
|
+
"value": "{action.neutral.foreground.color.focus}",
|
|
13844
|
+
"$type": "color",
|
|
13845
|
+
"comment": "Used for the text of a dropdown option in the focus state."
|
|
13846
|
+
},
|
|
13847
|
+
"name": "DROPDOWN_OPTION_TEXT_COLOR_FOCUS",
|
|
13848
|
+
"attributes": {},
|
|
13849
|
+
"path": [
|
|
13850
|
+
"dropdown",
|
|
13851
|
+
"option",
|
|
13852
|
+
"text",
|
|
13853
|
+
"color",
|
|
13854
|
+
"focus"
|
|
13855
|
+
]
|
|
13856
|
+
},
|
|
13857
|
+
"active": {
|
|
13858
|
+
"value": "#28272d",
|
|
13859
|
+
"$type": "color",
|
|
13860
|
+
"comment": "Used for the text of a dropdown option in the active state.",
|
|
13861
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
13862
|
+
"isSource": true,
|
|
13863
|
+
"original": {
|
|
13864
|
+
"value": "{action.neutral.foreground.color.active}",
|
|
13865
|
+
"$type": "color",
|
|
13866
|
+
"comment": "Used for the text of a dropdown option in the active state."
|
|
13867
|
+
},
|
|
13868
|
+
"name": "DROPDOWN_OPTION_TEXT_COLOR_ACTIVE",
|
|
13869
|
+
"attributes": {},
|
|
13870
|
+
"path": [
|
|
13871
|
+
"dropdown",
|
|
13872
|
+
"option",
|
|
13873
|
+
"text",
|
|
13874
|
+
"color",
|
|
13875
|
+
"active"
|
|
13876
|
+
]
|
|
13877
|
+
},
|
|
13878
|
+
"disabled": {
|
|
13879
|
+
"value": "#89888d",
|
|
13880
|
+
"$type": "color",
|
|
13881
|
+
"comment": "Used for the text of a dropdown option in the disabled state.",
|
|
13882
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
13883
|
+
"isSource": true,
|
|
13884
|
+
"original": {
|
|
13885
|
+
"value": "{action.disabled.foreground.color}",
|
|
13886
|
+
"$type": "color",
|
|
13887
|
+
"comment": "Used for the text of a dropdown option in the disabled state."
|
|
13888
|
+
},
|
|
13889
|
+
"name": "DROPDOWN_OPTION_TEXT_COLOR_DISABLED",
|
|
13890
|
+
"attributes": {},
|
|
13891
|
+
"path": [
|
|
13892
|
+
"dropdown",
|
|
13893
|
+
"option",
|
|
13894
|
+
"text",
|
|
13895
|
+
"color",
|
|
13896
|
+
"disabled"
|
|
13897
|
+
]
|
|
13898
|
+
}
|
|
13899
|
+
}
|
|
13900
|
+
},
|
|
13901
|
+
"indicator": {
|
|
13902
|
+
"color": {
|
|
13903
|
+
"selected": {
|
|
13904
|
+
"default": {
|
|
13905
|
+
"value": "#1f75cb",
|
|
13906
|
+
"$type": "color",
|
|
13907
|
+
"comment": "Used for the dropdown selected option indicator in the default state.",
|
|
13908
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
13909
|
+
"isSource": true,
|
|
13910
|
+
"original": {
|
|
13911
|
+
"value": {
|
|
13912
|
+
"default": "{control.background.color.selected.default}",
|
|
13913
|
+
"dark": "{color.neutral.0}"
|
|
13914
|
+
},
|
|
13915
|
+
"$type": "color",
|
|
13916
|
+
"comment": "Used for the dropdown selected option indicator in the default state."
|
|
13917
|
+
},
|
|
13918
|
+
"name": "DROPDOWN_OPTION_INDICATOR_COLOR_SELECTED_DEFAULT",
|
|
13919
|
+
"attributes": {},
|
|
13920
|
+
"path": [
|
|
13921
|
+
"dropdown",
|
|
13922
|
+
"option",
|
|
13923
|
+
"indicator",
|
|
13924
|
+
"color",
|
|
13925
|
+
"selected",
|
|
13926
|
+
"default"
|
|
13927
|
+
]
|
|
13928
|
+
},
|
|
13929
|
+
"hover": {
|
|
13930
|
+
"value": "#0b5cad",
|
|
13931
|
+
"$type": "color",
|
|
13932
|
+
"comment": "Used for the dropdown selected option indicator in the hover state.",
|
|
13933
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
13934
|
+
"isSource": true,
|
|
13935
|
+
"original": {
|
|
13936
|
+
"value": {
|
|
13937
|
+
"default": "{control.background.color.selected.hover}",
|
|
13938
|
+
"dark": "{color.neutral.0}"
|
|
13939
|
+
},
|
|
13940
|
+
"$type": "color",
|
|
13941
|
+
"comment": "Used for the dropdown selected option indicator in the hover state."
|
|
13942
|
+
},
|
|
13943
|
+
"name": "DROPDOWN_OPTION_INDICATOR_COLOR_SELECTED_HOVER",
|
|
13944
|
+
"attributes": {},
|
|
13945
|
+
"path": [
|
|
13946
|
+
"dropdown",
|
|
13947
|
+
"option",
|
|
13948
|
+
"indicator",
|
|
13949
|
+
"color",
|
|
13950
|
+
"selected",
|
|
13951
|
+
"hover"
|
|
13952
|
+
]
|
|
13953
|
+
},
|
|
13954
|
+
"focus": {
|
|
13955
|
+
"value": "#0b5cad",
|
|
13956
|
+
"$type": "color",
|
|
13957
|
+
"comment": "Used for the dropdown selected option indicator in the focus state.",
|
|
13958
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
13959
|
+
"isSource": true,
|
|
13960
|
+
"original": {
|
|
13961
|
+
"value": {
|
|
13962
|
+
"default": "{control.background.color.selected.focus}",
|
|
13963
|
+
"dark": "{color.neutral.0}"
|
|
13964
|
+
},
|
|
13965
|
+
"$type": "color",
|
|
13966
|
+
"comment": "Used for the dropdown selected option indicator in the focus state."
|
|
13967
|
+
},
|
|
13968
|
+
"name": "DROPDOWN_OPTION_INDICATOR_COLOR_SELECTED_FOCUS",
|
|
13969
|
+
"attributes": {},
|
|
13970
|
+
"path": [
|
|
13971
|
+
"dropdown",
|
|
13972
|
+
"option",
|
|
13973
|
+
"indicator",
|
|
13974
|
+
"color",
|
|
13975
|
+
"selected",
|
|
13976
|
+
"focus"
|
|
13977
|
+
]
|
|
13978
|
+
},
|
|
13979
|
+
"active": {
|
|
13980
|
+
"value": "#0b5cad",
|
|
13981
|
+
"$type": "color",
|
|
13982
|
+
"comment": "Used for the dropdown selected option indicator in the active state.",
|
|
13983
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
13984
|
+
"isSource": true,
|
|
13985
|
+
"original": {
|
|
13986
|
+
"value": {
|
|
13987
|
+
"default": "{color.blue.700}",
|
|
13988
|
+
"dark": "{color.neutral.100}"
|
|
13989
|
+
},
|
|
13990
|
+
"$type": "color",
|
|
13991
|
+
"comment": "Used for the dropdown selected option indicator in the active state."
|
|
13992
|
+
},
|
|
13993
|
+
"name": "DROPDOWN_OPTION_INDICATOR_COLOR_SELECTED_ACTIVE",
|
|
13994
|
+
"attributes": {},
|
|
13995
|
+
"path": [
|
|
13996
|
+
"dropdown",
|
|
13997
|
+
"option",
|
|
13998
|
+
"indicator",
|
|
13999
|
+
"color",
|
|
14000
|
+
"selected",
|
|
14001
|
+
"active"
|
|
14002
|
+
]
|
|
14003
|
+
}
|
|
14004
|
+
}
|
|
14005
|
+
}
|
|
14006
|
+
},
|
|
14007
|
+
"background": {
|
|
14008
|
+
"color": {
|
|
14009
|
+
"unselected": {
|
|
14010
|
+
"default": {
|
|
14011
|
+
"value": "rgba(164, 163, 168, 0.0)",
|
|
14012
|
+
"$type": "color",
|
|
14013
|
+
"comment": "Used for the background of an unselected dropdown option in the default state.",
|
|
14014
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
14015
|
+
"isSource": true,
|
|
14016
|
+
"original": {
|
|
14017
|
+
"value": "{action.neutral.background.color.default}",
|
|
14018
|
+
"$type": "color",
|
|
14019
|
+
"comment": "Used for the background of an unselected dropdown option in the default state."
|
|
14020
|
+
},
|
|
14021
|
+
"name": "DROPDOWN_OPTION_BACKGROUND_COLOR_UNSELECTED_DEFAULT",
|
|
14022
|
+
"attributes": {},
|
|
14023
|
+
"path": [
|
|
14024
|
+
"dropdown",
|
|
14025
|
+
"option",
|
|
14026
|
+
"background",
|
|
14027
|
+
"color",
|
|
14028
|
+
"unselected",
|
|
14029
|
+
"default"
|
|
14030
|
+
]
|
|
14031
|
+
},
|
|
14032
|
+
"hover": {
|
|
14033
|
+
"value": "rgba(164, 163, 168, 0.16)",
|
|
14034
|
+
"$type": "color",
|
|
14035
|
+
"comment": "Used for the background of an unselected dropdown option in the hover state.",
|
|
14036
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
14037
|
+
"isSource": true,
|
|
14038
|
+
"original": {
|
|
14039
|
+
"value": "{action.neutral.background.color.hover}",
|
|
14040
|
+
"$type": "color",
|
|
14041
|
+
"comment": "Used for the background of an unselected dropdown option in the hover state."
|
|
14042
|
+
},
|
|
14043
|
+
"name": "DROPDOWN_OPTION_BACKGROUND_COLOR_UNSELECTED_HOVER",
|
|
14044
|
+
"attributes": {},
|
|
14045
|
+
"path": [
|
|
14046
|
+
"dropdown",
|
|
14047
|
+
"option",
|
|
14048
|
+
"background",
|
|
14049
|
+
"color",
|
|
14050
|
+
"unselected",
|
|
14051
|
+
"hover"
|
|
14052
|
+
]
|
|
14053
|
+
},
|
|
14054
|
+
"focus": {
|
|
14055
|
+
"value": "rgba(164, 163, 168, 0.16)",
|
|
14056
|
+
"$type": "color",
|
|
14057
|
+
"comment": "Used for the background of an unselected dropdown option in the focus state.",
|
|
14058
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
14059
|
+
"isSource": true,
|
|
14060
|
+
"original": {
|
|
14061
|
+
"value": "{action.neutral.background.color.focus}",
|
|
14062
|
+
"$type": "color",
|
|
14063
|
+
"comment": "Used for the background of an unselected dropdown option in the focus state."
|
|
14064
|
+
},
|
|
14065
|
+
"name": "DROPDOWN_OPTION_BACKGROUND_COLOR_UNSELECTED_FOCUS",
|
|
14066
|
+
"attributes": {},
|
|
14067
|
+
"path": [
|
|
14068
|
+
"dropdown",
|
|
14069
|
+
"option",
|
|
14070
|
+
"background",
|
|
14071
|
+
"color",
|
|
14072
|
+
"unselected",
|
|
14073
|
+
"focus"
|
|
14074
|
+
]
|
|
14075
|
+
},
|
|
14076
|
+
"active": {
|
|
14077
|
+
"value": "rgba(83, 81, 88, 0.24)",
|
|
14078
|
+
"$type": "color",
|
|
14079
|
+
"comment": "Used for the background of an unselected dropdown option in the active state.",
|
|
14080
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
14081
|
+
"isSource": true,
|
|
14082
|
+
"original": {
|
|
14083
|
+
"value": "{action.neutral.background.color.active}",
|
|
14084
|
+
"$type": "color",
|
|
14085
|
+
"comment": "Used for the background of an unselected dropdown option in the active state."
|
|
14086
|
+
},
|
|
14087
|
+
"name": "DROPDOWN_OPTION_BACKGROUND_COLOR_UNSELECTED_ACTIVE",
|
|
14088
|
+
"attributes": {},
|
|
14089
|
+
"path": [
|
|
14090
|
+
"dropdown",
|
|
14091
|
+
"option",
|
|
14092
|
+
"background",
|
|
14093
|
+
"color",
|
|
14094
|
+
"unselected",
|
|
14095
|
+
"active"
|
|
14096
|
+
]
|
|
14097
|
+
}
|
|
14098
|
+
},
|
|
14099
|
+
"selected": {
|
|
14100
|
+
"default": {
|
|
14101
|
+
"value": "#ececef",
|
|
14102
|
+
"$type": "color",
|
|
14103
|
+
"comment": "Used for the background of a selected dropdown option in the default state.",
|
|
14104
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
14105
|
+
"isSource": true,
|
|
14106
|
+
"original": {
|
|
14107
|
+
"value": {
|
|
14108
|
+
"default": "{color.neutral.50}",
|
|
14109
|
+
"dark": "{color.neutral.800}"
|
|
14110
|
+
},
|
|
14111
|
+
"$type": "color",
|
|
14112
|
+
"comment": "Used for the background of a selected dropdown option in the default state."
|
|
14113
|
+
},
|
|
14114
|
+
"name": "DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_DEFAULT",
|
|
14115
|
+
"attributes": {},
|
|
14116
|
+
"path": [
|
|
14117
|
+
"dropdown",
|
|
14118
|
+
"option",
|
|
14119
|
+
"background",
|
|
14120
|
+
"color",
|
|
14121
|
+
"selected",
|
|
14122
|
+
"default"
|
|
14123
|
+
]
|
|
14124
|
+
},
|
|
14125
|
+
"hover": {
|
|
14126
|
+
"value": "#dcdcde",
|
|
14127
|
+
"$type": "color",
|
|
14128
|
+
"comment": "Used for the background of a selected dropdown option in the hover state.",
|
|
14129
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
14130
|
+
"isSource": true,
|
|
14131
|
+
"original": {
|
|
14132
|
+
"value": {
|
|
14133
|
+
"default": "{color.neutral.100}",
|
|
14134
|
+
"dark": "{color.neutral.700}"
|
|
14135
|
+
},
|
|
14136
|
+
"$type": "color",
|
|
14137
|
+
"comment": "Used for the background of a selected dropdown option in the hover state."
|
|
14138
|
+
},
|
|
14139
|
+
"name": "DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_HOVER",
|
|
14140
|
+
"attributes": {},
|
|
14141
|
+
"path": [
|
|
14142
|
+
"dropdown",
|
|
14143
|
+
"option",
|
|
14144
|
+
"background",
|
|
14145
|
+
"color",
|
|
14146
|
+
"selected",
|
|
14147
|
+
"hover"
|
|
14148
|
+
]
|
|
14149
|
+
},
|
|
14150
|
+
"focus": {
|
|
14151
|
+
"value": "#dcdcde",
|
|
14152
|
+
"$type": "color",
|
|
14153
|
+
"comment": "Used for the background of a selected dropdown option in the focus state.",
|
|
14154
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
14155
|
+
"isSource": true,
|
|
14156
|
+
"original": {
|
|
14157
|
+
"value": "{dropdown.option.background.color.selected.hover}",
|
|
14158
|
+
"$type": "color",
|
|
14159
|
+
"comment": "Used for the background of a selected dropdown option in the focus state."
|
|
14160
|
+
},
|
|
14161
|
+
"name": "DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_FOCUS",
|
|
14162
|
+
"attributes": {},
|
|
14163
|
+
"path": [
|
|
14164
|
+
"dropdown",
|
|
14165
|
+
"option",
|
|
14166
|
+
"background",
|
|
14167
|
+
"color",
|
|
14168
|
+
"selected",
|
|
14169
|
+
"focus"
|
|
14170
|
+
]
|
|
14171
|
+
},
|
|
14172
|
+
"active": {
|
|
14173
|
+
"value": "#bfbfc3",
|
|
14174
|
+
"$type": "color",
|
|
14175
|
+
"comment": "Used for the background of a selected dropdown option in the active state.",
|
|
14176
|
+
"filePath": "src/tokens/contextual/dropdown.tokens.json",
|
|
14177
|
+
"isSource": true,
|
|
14178
|
+
"original": {
|
|
14179
|
+
"value": {
|
|
14180
|
+
"default": "{color.neutral.200}",
|
|
14181
|
+
"dark": "{color.neutral.900}"
|
|
14182
|
+
},
|
|
14183
|
+
"$type": "color",
|
|
14184
|
+
"comment": "Used for the background of a selected dropdown option in the active state."
|
|
14185
|
+
},
|
|
14186
|
+
"name": "DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_ACTIVE",
|
|
14187
|
+
"attributes": {},
|
|
14188
|
+
"path": [
|
|
14189
|
+
"dropdown",
|
|
14190
|
+
"option",
|
|
14191
|
+
"background",
|
|
14192
|
+
"color",
|
|
14193
|
+
"selected",
|
|
14194
|
+
"active"
|
|
14195
|
+
]
|
|
14196
|
+
}
|
|
14197
|
+
}
|
|
14198
|
+
}
|
|
14199
|
+
}
|
|
14200
|
+
}
|
|
14201
|
+
},
|
|
13745
14202
|
"filtered-search": {
|
|
13746
14203
|
"token": {
|
|
13747
14204
|
"type": {
|
|
@@ -525,6 +525,14 @@ $gl-filtered-search-token-data-background-color-hover: $gl-color-neutral-700; //
|
|
|
525
525
|
$gl-filtered-search-token-data-background-color-default: $gl-color-neutral-800; // Used for the filtered search data background color in the default state.
|
|
526
526
|
$gl-filtered-search-token-type-background-color-hover: $gl-color-neutral-800; // Used for the filtered search type token background color in the hover state.
|
|
527
527
|
$gl-filtered-search-token-type-background-color-default: $gl-color-neutral-900; // Used for the filtered search type token background color in the default state.
|
|
528
|
+
$gl-dropdown-option-background-color-selected-active: $gl-color-neutral-900; // Used for the background of a selected dropdown option in the active state.
|
|
529
|
+
$gl-dropdown-option-background-color-selected-hover: $gl-color-neutral-700; // Used for the background of a selected dropdown option in the hover state.
|
|
530
|
+
$gl-dropdown-option-background-color-selected-default: $gl-color-neutral-800; // Used for the background of a selected dropdown option in the default state.
|
|
531
|
+
$gl-dropdown-option-background-color-unselected-active: $gl-action-neutral-background-color-active; // Used for the background of an unselected dropdown option in the active state.
|
|
532
|
+
$gl-dropdown-option-background-color-unselected-hover: $gl-action-neutral-background-color-hover; // Used for the background of an unselected dropdown option in the hover state.
|
|
533
|
+
$gl-dropdown-option-background-color-unselected-default: $gl-action-neutral-background-color-default; // Used for the background of an unselected dropdown option in the default state.
|
|
534
|
+
$gl-dropdown-option-indicator-color-selected-active: $gl-color-neutral-100; // Used for the dropdown selected option indicator in the active state.
|
|
535
|
+
$gl-dropdown-border-color: $gl-color-neutral-700; // Used for the border of a dropdown.
|
|
528
536
|
$gl-datepicker-background-color: $gl-color-neutral-900; // Used for the background color of datepicker.
|
|
529
537
|
$gl-button-disabled-border-color: $gl-color-neutral-800; // Used for the border of a disabled button.
|
|
530
538
|
$gl-button-disabled-background-color: $gl-color-neutral-950; // Used for the background of a disabled button.
|
|
@@ -771,6 +779,14 @@ $gl-control-text-color-error: $gl-text-color-danger; // Used for the helper text
|
|
|
771
779
|
$gl-token-foreground-color: $gl-text-color-default; // Used for the token foreground color.
|
|
772
780
|
$gl-table-sorting-icon-color: $gl-text-color-heading; // Used for the color of the sorting icons in the column headers.
|
|
773
781
|
$gl-table-row-background-color-hover: $gl-background-color-subtle; // Used for the background of a table row in hover state.
|
|
782
|
+
$gl-dropdown-option-background-color-selected-focus: $gl-dropdown-option-background-color-selected-hover; // Used for the background of a selected dropdown option in the focus state.
|
|
783
|
+
$gl-dropdown-option-background-color-unselected-focus: $gl-action-neutral-background-color-focus; // Used for the background of an unselected dropdown option in the focus state.
|
|
784
|
+
$gl-dropdown-option-indicator-color-selected-focus: $gl-color-neutral-0; // Used for the dropdown selected option indicator in the focus state.
|
|
785
|
+
$gl-dropdown-option-indicator-color-selected-hover: $gl-color-neutral-0; // Used for the dropdown selected option indicator in the hover state.
|
|
786
|
+
$gl-dropdown-option-indicator-color-selected-default: $gl-color-neutral-0; // Used for the dropdown selected option indicator in the default state.
|
|
787
|
+
$gl-dropdown-option-text-color-disabled: $gl-action-disabled-foreground-color; // Used for the text of a dropdown option in the disabled state.
|
|
788
|
+
$gl-dropdown-option-text-color-default: $gl-action-neutral-foreground-color-default; // Used for the text of a dropdown option in the default state.
|
|
789
|
+
$gl-dropdown-background-color: $gl-background-color-overlap; // Used for the background of a dropdown.
|
|
774
790
|
$gl-datepicker-date-text-color-selected: $gl-control-indicator-color-selected; // Used for the datepicker date text color state indicators.
|
|
775
791
|
$gl-button-selected-border-color-focus: $gl-button-selected-border-color-hover; // Used for the border of a selected button in the focus state.
|
|
776
792
|
$gl-button-selected-background-color-active: $gl-button-default-primary-background-color-active; // Used for the background of a selected button in the active state.
|
|
@@ -870,6 +886,9 @@ $gl-action-selected-border-color-hover: $gl-action-selected-background-color-hov
|
|
|
870
886
|
$gl-action-selected-border-color-default: $gl-action-selected-background-color-default; // Used for the border of a selected action in the default state.
|
|
871
887
|
$gl-action-selected-background-color-focus: $gl-action-selected-background-color-hover; // Used for the background of a selected action in the focus state.
|
|
872
888
|
$gl-action-selected-foreground-color-hover: $gl-action-selected-foreground-color-default; // Used for the foreground of a selected action in the hover state.
|
|
889
|
+
$gl-dropdown-option-text-color-active: $gl-action-neutral-foreground-color-active; // Used for the text of a dropdown option in the active state.
|
|
890
|
+
$gl-dropdown-option-text-color-focus: $gl-action-neutral-foreground-color-focus; // Used for the text of a dropdown option in the focus state.
|
|
891
|
+
$gl-dropdown-option-text-color-hover: $gl-action-neutral-foreground-color-hover; // Used for the text of a dropdown option in the hover state.
|
|
873
892
|
$gl-button-selected-background-color-focus: $gl-button-default-primary-background-color-focus; // Used for the background of a selected button in the focus state.
|
|
874
893
|
$gl-button-selected-foreground-color-active: $gl-button-default-primary-foreground-color-active; // Used for the foreground of a selected button in the active state.
|
|
875
894
|
$gl-button-selected-foreground-color-focus: $gl-button-default-primary-foreground-color-focus; // Used for the foreground of a selected button in the focus state.
|
|
@@ -525,6 +525,14 @@ $gl-filtered-search-token-data-background-color-hover: $gl-color-neutral-200; //
|
|
|
525
525
|
$gl-filtered-search-token-data-background-color-default: $gl-color-neutral-100; // Used for the filtered search data background color in the default state.
|
|
526
526
|
$gl-filtered-search-token-type-background-color-hover: $gl-color-neutral-100; // Used for the filtered search type token background color in the hover state.
|
|
527
527
|
$gl-filtered-search-token-type-background-color-default: $gl-color-neutral-50; // Used for the filtered search type token background color in the default state.
|
|
528
|
+
$gl-dropdown-option-background-color-selected-active: $gl-color-neutral-200; // Used for the background of a selected dropdown option in the active state.
|
|
529
|
+
$gl-dropdown-option-background-color-selected-hover: $gl-color-neutral-100; // Used for the background of a selected dropdown option in the hover state.
|
|
530
|
+
$gl-dropdown-option-background-color-selected-default: $gl-color-neutral-50; // Used for the background of a selected dropdown option in the default state.
|
|
531
|
+
$gl-dropdown-option-background-color-unselected-active: $gl-action-neutral-background-color-active; // Used for the background of an unselected dropdown option in the active state.
|
|
532
|
+
$gl-dropdown-option-background-color-unselected-hover: $gl-action-neutral-background-color-hover; // Used for the background of an unselected dropdown option in the hover state.
|
|
533
|
+
$gl-dropdown-option-background-color-unselected-default: $gl-action-neutral-background-color-default; // Used for the background of an unselected dropdown option in the default state.
|
|
534
|
+
$gl-dropdown-option-indicator-color-selected-active: $gl-color-blue-700; // Used for the dropdown selected option indicator in the active state.
|
|
535
|
+
$gl-dropdown-border-color: $gl-color-neutral-200; // Used for the border of a dropdown.
|
|
528
536
|
$gl-datepicker-background-color: $gl-color-neutral-0; // Used for the background color of datepicker.
|
|
529
537
|
$gl-button-disabled-border-color: $gl-color-neutral-100; // Used for the border of a disabled button.
|
|
530
538
|
$gl-button-disabled-background-color: $gl-color-neutral-10; // Used for the background of a disabled button.
|
|
@@ -771,6 +779,14 @@ $gl-control-text-color-error: $gl-text-color-danger; // Used for the helper text
|
|
|
771
779
|
$gl-token-foreground-color: $gl-text-color-default; // Used for the token foreground color.
|
|
772
780
|
$gl-table-sorting-icon-color: $gl-text-color-heading; // Used for the color of the sorting icons in the column headers.
|
|
773
781
|
$gl-table-row-background-color-hover: $gl-background-color-subtle; // Used for the background of a table row in hover state.
|
|
782
|
+
$gl-dropdown-option-background-color-selected-focus: $gl-dropdown-option-background-color-selected-hover; // Used for the background of a selected dropdown option in the focus state.
|
|
783
|
+
$gl-dropdown-option-background-color-unselected-focus: $gl-action-neutral-background-color-focus; // Used for the background of an unselected dropdown option in the focus state.
|
|
784
|
+
$gl-dropdown-option-indicator-color-selected-focus: $gl-control-background-color-selected-focus; // Used for the dropdown selected option indicator in the focus state.
|
|
785
|
+
$gl-dropdown-option-indicator-color-selected-hover: $gl-control-background-color-selected-hover; // Used for the dropdown selected option indicator in the hover state.
|
|
786
|
+
$gl-dropdown-option-indicator-color-selected-default: $gl-control-background-color-selected-default; // Used for the dropdown selected option indicator in the default state.
|
|
787
|
+
$gl-dropdown-option-text-color-disabled: $gl-action-disabled-foreground-color; // Used for the text of a dropdown option in the disabled state.
|
|
788
|
+
$gl-dropdown-option-text-color-default: $gl-action-neutral-foreground-color-default; // Used for the text of a dropdown option in the default state.
|
|
789
|
+
$gl-dropdown-background-color: $gl-background-color-overlap; // Used for the background of a dropdown.
|
|
774
790
|
$gl-datepicker-date-text-color-selected: $gl-control-indicator-color-selected; // Used for the datepicker date text color state indicators.
|
|
775
791
|
$gl-button-selected-border-color-focus: $gl-button-selected-border-color-hover; // Used for the border of a selected button in the focus state.
|
|
776
792
|
$gl-button-selected-background-color-active: $gl-button-default-primary-background-color-active; // Used for the background of a selected button in the active state.
|
|
@@ -870,6 +886,9 @@ $gl-action-selected-border-color-hover: $gl-action-selected-background-color-hov
|
|
|
870
886
|
$gl-action-selected-border-color-default: $gl-action-selected-background-color-default; // Used for the border of a selected action in the default state.
|
|
871
887
|
$gl-action-selected-background-color-focus: $gl-action-selected-background-color-hover; // Used for the background of a selected action in the focus state.
|
|
872
888
|
$gl-action-selected-foreground-color-hover: $gl-action-selected-foreground-color-default; // Used for the foreground of a selected action in the hover state.
|
|
889
|
+
$gl-dropdown-option-text-color-active: $gl-action-neutral-foreground-color-active; // Used for the text of a dropdown option in the active state.
|
|
890
|
+
$gl-dropdown-option-text-color-focus: $gl-action-neutral-foreground-color-focus; // Used for the text of a dropdown option in the focus state.
|
|
891
|
+
$gl-dropdown-option-text-color-hover: $gl-action-neutral-foreground-color-hover; // Used for the text of a dropdown option in the hover state.
|
|
873
892
|
$gl-button-selected-background-color-focus: $gl-button-default-primary-background-color-focus; // Used for the background of a selected button in the focus state.
|
|
874
893
|
$gl-button-selected-foreground-color-active: $gl-button-default-primary-foreground-color-active; // Used for the foreground of a selected button in the active state.
|
|
875
894
|
$gl-button-selected-foreground-color-focus: $gl-button-default-primary-foreground-color-focus; // Used for the foreground of a selected button in the focus state.
|
|
@@ -627,6 +627,25 @@ $gl-button-disabled-background-color: var(--gl-button-disabled-background-color)
|
|
|
627
627
|
$gl-button-disabled-border-color: var(--gl-button-disabled-border-color);
|
|
628
628
|
$gl-datepicker-background-color: var(--gl-datepicker-background-color);
|
|
629
629
|
$gl-datepicker-date-text-color-selected: var(--gl-datepicker-date-text-color-selected);
|
|
630
|
+
$gl-dropdown-background-color: var(--gl-dropdown-background-color);
|
|
631
|
+
$gl-dropdown-border-color: var(--gl-dropdown-border-color);
|
|
632
|
+
$gl-dropdown-option-text-color-default: var(--gl-dropdown-option-text-color-default);
|
|
633
|
+
$gl-dropdown-option-text-color-hover: var(--gl-dropdown-option-text-color-hover);
|
|
634
|
+
$gl-dropdown-option-text-color-focus: var(--gl-dropdown-option-text-color-focus);
|
|
635
|
+
$gl-dropdown-option-text-color-active: var(--gl-dropdown-option-text-color-active);
|
|
636
|
+
$gl-dropdown-option-text-color-disabled: var(--gl-dropdown-option-text-color-disabled);
|
|
637
|
+
$gl-dropdown-option-indicator-color-selected-default: var(--gl-dropdown-option-indicator-color-selected-default);
|
|
638
|
+
$gl-dropdown-option-indicator-color-selected-hover: var(--gl-dropdown-option-indicator-color-selected-hover);
|
|
639
|
+
$gl-dropdown-option-indicator-color-selected-focus: var(--gl-dropdown-option-indicator-color-selected-focus);
|
|
640
|
+
$gl-dropdown-option-indicator-color-selected-active: var(--gl-dropdown-option-indicator-color-selected-active);
|
|
641
|
+
$gl-dropdown-option-background-color-unselected-default: var(--gl-dropdown-option-background-color-unselected-default);
|
|
642
|
+
$gl-dropdown-option-background-color-unselected-hover: var(--gl-dropdown-option-background-color-unselected-hover);
|
|
643
|
+
$gl-dropdown-option-background-color-unselected-focus: var(--gl-dropdown-option-background-color-unselected-focus);
|
|
644
|
+
$gl-dropdown-option-background-color-unselected-active: var(--gl-dropdown-option-background-color-unselected-active);
|
|
645
|
+
$gl-dropdown-option-background-color-selected-default: var(--gl-dropdown-option-background-color-selected-default);
|
|
646
|
+
$gl-dropdown-option-background-color-selected-hover: var(--gl-dropdown-option-background-color-selected-hover);
|
|
647
|
+
$gl-dropdown-option-background-color-selected-focus: var(--gl-dropdown-option-background-color-selected-focus);
|
|
648
|
+
$gl-dropdown-option-background-color-selected-active: var(--gl-dropdown-option-background-color-selected-active);
|
|
630
649
|
$gl-filtered-search-token-type-background-color-default: var(--gl-filtered-search-token-type-background-color-default);
|
|
631
650
|
$gl-filtered-search-token-type-background-color-hover: var(--gl-filtered-search-token-type-background-color-hover);
|
|
632
651
|
$gl-filtered-search-token-data-background-color-default: var(--gl-filtered-search-token-data-background-color-default);
|
|
@@ -303,11 +303,13 @@ const colors = {
|
|
|
303
303
|
const backgroundColor = {
|
|
304
304
|
...colors,
|
|
305
305
|
...backgroundColors,
|
|
306
|
+
dropdown: 'var(--gl-dropdown-background-color, var(--gl-background-color-overlap, #fff))',
|
|
306
307
|
};
|
|
307
308
|
|
|
308
309
|
const borderColor = {
|
|
309
310
|
...colors,
|
|
310
311
|
...borderColors,
|
|
312
|
+
dropdown: 'var(--gl-dropdown-border-color, var(--gl-color-neutral-200, #bfbfc3))',
|
|
311
313
|
};
|
|
312
314
|
|
|
313
315
|
const fill = {
|