@gitlab/ui 80.13.1 → 80.14.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 +15 -0
- package/dist/components/experimental/experiment_badge/experiment_badge.js +6 -6
- package/dist/tokens/build/js/tokens.dark.js +5 -1
- package/dist/tokens/build/js/tokens.js +5 -1
- package/dist/tokens/css/tokens.css +4 -0
- package/dist/tokens/css/tokens.dark.css +4 -0
- package/dist/tokens/js/tokens.dark.js +4 -0
- package/dist/tokens/js/tokens.js +4 -0
- package/dist/tokens/json/tokens.dark.json +92 -0
- package/dist/tokens/json/tokens.json +92 -0
- package/dist/tokens/scss/_tokens.dark.scss +4 -0
- package/dist/tokens/scss/_tokens.scss +4 -0
- package/dist/tokens/scss/_tokens_custom_properties.scss +4 -0
- package/dist/tokens/tailwind/tokens.cjs +16 -0
- package/package.json +16 -12
- package/src/components/experimental/experiment_badge/experiment_badge.vue +12 -11
- package/src/tokens/background.tokens.json +38 -0
- package/src/tokens/build/css/tokens.css +4 -0
- package/src/tokens/build/css/tokens.dark.css +4 -0
- package/src/tokens/build/js/tokens.dark.js +4 -0
- package/src/tokens/build/js/tokens.js +4 -0
- package/src/tokens/build/json/tokens.dark.json +92 -0
- package/src/tokens/build/json/tokens.json +92 -0
- package/src/tokens/build/scss/_tokens.dark.scss +4 -0
- package/src/tokens/build/scss/_tokens.scss +4 -0
- package/src/tokens/build/scss/_tokens_custom_properties.scss +4 -0
- package/src/tokens/build/tailwind/tokens.cjs +16 -0
- package/tailwind.defaults.js +2 -1
- package/src/components/base/accordion/accordion.spec.js +0 -58
- package/src/components/base/accordion/accordion.stories.js +0 -59
- package/src/components/base/accordion/accordion_item.spec.js +0 -131
- package/src/components/base/accordion/accordion_item.stories.js +0 -57
- package/src/components/base/alert/alert.spec.js +0 -229
- package/src/components/base/alert/alert.stories.js +0 -166
- package/src/components/base/avatar/avatar.spec.js +0 -91
- package/src/components/base/avatar/avatar.stories.js +0 -160
- package/src/components/base/avatar_labeled/avatar_labeled.spec.js +0 -109
- package/src/components/base/avatar_labeled/avatar_labeled.stories.js +0 -187
- package/src/components/base/avatar_link/avatar_link.stories.js +0 -86
- package/src/components/base/avatars_inline/avatars_inline.spec.js +0 -124
- package/src/components/base/avatars_inline/avatars_inline.stories.js +0 -83
- package/src/components/base/badge/badge.spec.js +0 -83
- package/src/components/base/badge/badge.stories.js +0 -184
- package/src/components/base/banner/banner.spec.js +0 -112
- package/src/components/base/banner/banner.stories.js +0 -103
- package/src/components/base/breadcrumb/breadcrumb.spec.js +0 -240
- package/src/components/base/breadcrumb/breadcrumb.stories.js +0 -100
- package/src/components/base/breadcrumb/breadcrumb_item.spec.js +0 -45
- package/src/components/base/broadcast_message/broadcast_message.spec.js +0 -32
- package/src/components/base/broadcast_message/broadcast_message.stories.js +0 -112
- package/src/components/base/button/button.spec.js +0 -225
- package/src/components/base/button/button.stories.js +0 -529
- package/src/components/base/button_group/button_group.stories.js +0 -132
- package/src/components/base/card/card.spec.js +0 -139
- package/src/components/base/card/card.stories.js +0 -48
- package/src/components/base/carousel/carousel.spec.js +0 -24
- package/src/components/base/carousel/carousel.stories.js +0 -51
- package/src/components/base/collapse/collapse.spec.js +0 -24
- package/src/components/base/collapse/collapse.stories.js +0 -42
- package/src/components/base/datepicker/datepicker.spec.js +0 -431
- package/src/components/base/datepicker/datepicker.stories.js +0 -149
- package/src/components/base/daterange_picker/daterange_picker.spec.js +0 -307
- package/src/components/base/daterange_picker/daterange_picker.stories.js +0 -145
- package/src/components/base/drawer/drawer.spec.js +0 -136
- package/src/components/base/drawer/drawer.stories.js +0 -272
- package/src/components/base/dropdown/dropdown.spec.js +0 -457
- package/src/components/base/dropdown/dropdown.stories.js +0 -574
- package/src/components/base/dropdown/dropdown_form.spec.js +0 -9
- package/src/components/base/dropdown/dropdown_item.spec.js +0 -67
- package/src/components/base/dropdown/dropdown_item.stories.js +0 -113
- package/src/components/base/filtered_search/__snapshots__/filtered_search_term.spec.js.snap +0 -31
- package/src/components/base/filtered_search/filtered_search.spec.js +0 -908
- package/src/components/base/filtered_search/filtered_search.stories.js +0 -678
- package/src/components/base/filtered_search/filtered_search_suggestion.spec.js +0 -67
- package/src/components/base/filtered_search/filtered_search_suggestion.stories.js +0 -33
- package/src/components/base/filtered_search/filtered_search_suggestion_list.spec.js +0 -337
- package/src/components/base/filtered_search/filtered_search_suggestion_list.stories.js +0 -53
- package/src/components/base/filtered_search/filtered_search_term.spec.js +0 -212
- package/src/components/base/filtered_search/filtered_search_term.stories.js +0 -60
- package/src/components/base/filtered_search/filtered_search_token.spec.js +0 -461
- package/src/components/base/filtered_search/filtered_search_token.stories.js +0 -199
- package/src/components/base/filtered_search/filtered_search_token_segment.spec.js +0 -393
- package/src/components/base/filtered_search/filtered_search_token_segment.stories.js +0 -110
- package/src/components/base/filtered_search/filtered_search_utils.spec.js +0 -82
- package/src/components/base/form/form.stories.js +0 -101
- package/src/components/base/form/form_checkbox/form_checkbox.stories.js +0 -55
- package/src/components/base/form/form_checkbox_tree/form_checkbox_tree.spec.js +0 -265
- package/src/components/base/form/form_checkbox_tree/form_checkbox_tree.stories.js +0 -134
- package/src/components/base/form/form_combobox/form_combobox.spec.js +0 -301
- package/src/components/base/form/form_combobox/form_combobox.stories.js +0 -116
- package/src/components/base/form/form_date/form_date.spec.js +0 -85
- package/src/components/base/form/form_date/form_date.stories.js +0 -108
- package/src/components/base/form/form_fields/form_field_validator.spec.js +0 -51
- package/src/components/base/form/form_fields/form_fields.spec.js +0 -531
- package/src/components/base/form/form_fields/form_fields.stories.js +0 -150
- package/src/components/base/form/form_fields/mappers.spec.js +0 -17
- package/src/components/base/form/form_fields/validators.spec.js +0 -56
- package/src/components/base/form/form_group/form_group.spec.js +0 -110
- package/src/components/base/form/form_group/form_group.stories.js +0 -123
- package/src/components/base/form/form_input/form_input.spec.js +0 -130
- package/src/components/base/form/form_input/form_input.stories.js +0 -128
- package/src/components/base/form/form_input_group/form_input_group.spec.js +0 -121
- package/src/components/base/form/form_input_group/form_input_group.stories.js +0 -86
- package/src/components/base/form/form_radio/form_radio.spec.js +0 -116
- package/src/components/base/form/form_radio/form_radio.stories.js +0 -70
- package/src/components/base/form/form_radio_group/form_radio_group.spec.js +0 -86
- package/src/components/base/form/form_radio_group/form_radio_group.stories.js +0 -79
- package/src/components/base/form/form_select/form_select.spec.js +0 -69
- package/src/components/base/form/form_select/form_select.stories.js +0 -156
- package/src/components/base/form/form_text/form_text.stories.js +0 -27
- package/src/components/base/form/form_textarea/form_textarea.spec.js +0 -242
- package/src/components/base/form/form_textarea/form_textarea.stories.js +0 -68
- package/src/components/base/form/input_group_text/input_group_text.spec.js +0 -9
- package/src/components/base/form/input_group_text/input_group_text.stories.js +0 -30
- package/src/components/base/icon/__snapshots__/icon.spec.js.snap +0 -14
- package/src/components/base/icon/icon.spec.js +0 -92
- package/src/components/base/icon/icon.stories.js +0 -56
- package/src/components/base/infinite_scroll/infinite_scroll.spec.js +0 -182
- package/src/components/base/infinite_scroll/infinite_scroll.stories.js +0 -94
- package/src/components/base/keyset_pagination/keyset_pagination.spec.js +0 -313
- package/src/components/base/keyset_pagination/keyset_pagination.stories.js +0 -66
- package/src/components/base/label/label.spec.js +0 -257
- package/src/components/base/label/label.stories.js +0 -76
- package/src/components/base/link/link.spec.js +0 -88
- package/src/components/base/link/link.stories.js +0 -64
- package/src/components/base/loading_icon/loading_icon.spec.js +0 -109
- package/src/components/base/loading_icon/loading_icon.stories.js +0 -60
- package/src/components/base/markdown/markdown.spec.js +0 -24
- package/src/components/base/markdown/markdown.stories.js +0 -33
- package/src/components/base/modal/modal.spec.js +0 -265
- package/src/components/base/modal/modal.stories.js +0 -197
- package/src/components/base/nav/nav.spec.js +0 -19
- package/src/components/base/nav/nav.stories.js +0 -57
- package/src/components/base/nav/nav_item.spec.js +0 -16
- package/src/components/base/nav/nav_item_dropdown.spec.js +0 -58
- package/src/components/base/navbar/navbar.spec.js +0 -21
- package/src/components/base/navbar/navbar.stories.js +0 -28
- package/src/components/base/new_dropdowns/base_dropdown/base_dropdown.spec.js +0 -566
- package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.spec.js +0 -452
- package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.stories.js +0 -345
- package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown_group.spec.js +0 -84
- package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown_item.spec.js +0 -200
- package/src/components/base/new_dropdowns/disclosure/utils.spec.js +0 -74
- package/src/components/base/new_dropdowns/listbox/listbox.spec.js +0 -950
- package/src/components/base/new_dropdowns/listbox/listbox.stories.js +0 -840
- package/src/components/base/new_dropdowns/listbox/listbox_group.spec.js +0 -61
- package/src/components/base/new_dropdowns/listbox/listbox_item.spec.js +0 -129
- package/src/components/base/new_dropdowns/listbox/listbox_search_input.spec.js +0 -62
- package/src/components/base/new_dropdowns/listbox/utils.spec.js +0 -58
- package/src/components/base/paginated_list/__snapshots__/paginated_list.spec.js.snap +0 -922
- package/src/components/base/paginated_list/paginated_list.spec.js +0 -212
- package/src/components/base/paginated_list/paginated_list.stories.js +0 -207
- package/src/components/base/pagination/pagination.spec.js +0 -401
- package/src/components/base/pagination/pagination.stories.js +0 -129
- package/src/components/base/path/__snapshots__/path.spec.js.snap +0 -586
- package/src/components/base/path/path.spec.js +0 -237
- package/src/components/base/path/path.stories.js +0 -84
- package/src/components/base/popover/popover.spec.js +0 -104
- package/src/components/base/popover/popover.stories.js +0 -109
- package/src/components/base/progress_bar/progress_bar.stories.js +0 -34
- package/src/components/base/search_box_by_click/search_box_by_click.spec.js +0 -209
- package/src/components/base/search_box_by_click/search_box_by_click.stories.js +0 -100
- package/src/components/base/search_box_by_type/search_box_by_type.spec.js +0 -164
- package/src/components/base/search_box_by_type/search_box_by_type.stories.js +0 -63
- package/src/components/base/segmented_control/segmented_control.spec.js +0 -135
- package/src/components/base/segmented_control/segmented_control.stories.js +0 -59
- package/src/components/base/skeleton_loader/skeleton_loader.spec.js +0 -151
- package/src/components/base/skeleton_loader/skeleton_loader.stories.js +0 -86
- package/src/components/base/sorting/sorting.spec.js +0 -170
- package/src/components/base/sorting/sorting.stories.js +0 -98
- package/src/components/base/table/table.spec.js +0 -192
- package/src/components/base/table/table.stories.js +0 -186
- package/src/components/base/table_lite/table_lite.spec.js +0 -40
- package/src/components/base/table_lite/table_lite.stories.js +0 -74
- package/src/components/base/tabs/tab/tab.spec.js +0 -34
- package/src/components/base/tabs/tabs/scrollable_tabs.spec.js +0 -260
- package/src/components/base/tabs/tabs/tabs.spec.js +0 -366
- package/src/components/base/tabs/tabs/tabs.stories.js +0 -209
- package/src/components/base/toast/toast.spec.js +0 -72
- package/src/components/base/toast/toast.stories.js +0 -88
- package/src/components/base/toggle/toggle.spec.js +0 -168
- package/src/components/base/toggle/toggle.stories.js +0 -106
- package/src/components/base/token/token.spec.js +0 -48
- package/src/components/base/token/token.stories.js +0 -58
- package/src/components/base/token_selector/helpers.spec.js +0 -40
- package/src/components/base/token_selector/token_container.spec.js +0 -306
- package/src/components/base/token_selector/token_selector.spec.js +0 -653
- package/src/components/base/token_selector/token_selector.stories.js +0 -114
- package/src/components/base/token_selector/token_selector_dropdown.spec.js +0 -347
- package/src/components/base/tooltip/tooltip.spec.js +0 -27
- package/src/components/base/tooltip/tooltip.stories.js +0 -70
- package/src/components/charts/area/area.spec.js +0 -286
- package/src/components/charts/area/area.stories.js +0 -208
- package/src/components/charts/bar/__snapshots__/bar.spec.js.snap +0 -82
- package/src/components/charts/bar/bar.spec.js +0 -92
- package/src/components/charts/bar/bar.stories.js +0 -72
- package/src/components/charts/chart/chart.spec.js +0 -167
- package/src/components/charts/chart/chart.stories.js +0 -111
- package/src/components/charts/column/__snapshots__/column_chart.spec.js.snap +0 -323
- package/src/components/charts/column/column.stories.js +0 -111
- package/src/components/charts/column/column_chart.spec.js +0 -223
- package/src/components/charts/discrete_scatter/discrete_scatter.spec.js +0 -173
- package/src/components/charts/discrete_scatter/discrete_scatter.stories.js +0 -64
- package/src/components/charts/gauge/gauge.spec.js +0 -280
- package/src/components/charts/gauge/gauge.stories.js +0 -97
- package/src/components/charts/heatmap/heatmap.spec.js +0 -103
- package/src/components/charts/heatmap/heatmap.stories.js +0 -78
- package/src/components/charts/legend/legend.spec.js +0 -274
- package/src/components/charts/legend/legend.stories.js +0 -174
- package/src/components/charts/line/line.spec.js +0 -278
- package/src/components/charts/line/line.stories.js +0 -238
- package/src/components/charts/series_label/series_label.stories.js +0 -78
- package/src/components/charts/single_stat/single_stat.spec.js +0 -217
- package/src/components/charts/single_stat/single_stat.stories.js +0 -103
- package/src/components/charts/sparkline/sparkline.spec.js +0 -220
- package/src/components/charts/sparkline/sparkline.stories.js +0 -85
- package/src/components/charts/stacked_column/__snapshots__/stacked_column.spec.js.snap +0 -905
- package/src/components/charts/stacked_column/stacked_column.spec.js +0 -194
- package/src/components/charts/stacked_column/stacked_column.stories.js +0 -130
- package/src/components/charts/tooltip/tooltip.spec.js +0 -282
- package/src/components/charts/tooltip/tooltip.stories.js +0 -90
- package/src/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.spec.js +0 -46
- package/src/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.stories.js +0 -62
- package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.spec.js +0 -70
- package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.stories.js +0 -31
- package/src/components/experimental/duo/chat/components/duo_chat_message/copy_code_element.spec.js +0 -64
- package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.spec.js +0 -534
- package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.stories.js +0 -55
- package/src/components/experimental/duo/chat/components/duo_chat_message/utils.spec.js +0 -24
- package/src/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.spec.js +0 -93
- package/src/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.stories.js +0 -32
- package/src/components/experimental/duo/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.spec.js +0 -35
- package/src/components/experimental/duo/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.stories.js +0 -36
- package/src/components/experimental/duo/chat/duo_chat.spec.js +0 -828
- package/src/components/experimental/duo/chat/duo_chat.stories.js +0 -240
- package/src/components/experimental/duo/chat/markdown_renderer.spec.js +0 -55
- package/src/components/experimental/duo/user_feedback/user_feedback.spec.js +0 -100
- package/src/components/experimental/duo/user_feedback/user_feedback.stories.js +0 -107
- package/src/components/experimental/duo/user_feedback/user_feedback_modal.spec.js +0 -134
- package/src/components/experimental/experiment_badge/experiment_badge.spec.js +0 -77
- package/src/components/experimental/experiment_badge/experiment_badge.stories.js +0 -58
- package/src/components/regions/dashboard_skeleton/dashboard_skeleton.stories.js +0 -29
- package/src/components/regions/empty_state/empty_state.spec.js +0 -293
- package/src/components/regions/empty_state/empty_state.stories.js +0 -160
- package/src/components/shared_components/charts/tooltip_default_format.spec.js +0 -69
- package/src/components/shared_components/clear_icon_button/__snapshots__/clear_icon_button.spec.js.snap +0 -15
- package/src/components/shared_components/clear_icon_button/clear_icon_button.spec.js +0 -23
- package/src/components/shared_components/close_button/__snapshots__/close_button.spec.js.snap +0 -12
- package/src/components/shared_components/close_button/close_button.spec.js +0 -22
- package/src/components/utilities/animated_number/animated_number.spec.js +0 -133
- package/src/components/utilities/animated_number/animated_number.stories.js +0 -63
- package/src/components/utilities/friendly_wrap/friendly_wrap.spec.js +0 -123
- package/src/components/utilities/friendly_wrap/friendly_wrap.stories.js +0 -56
- package/src/components/utilities/intersection_observer/intersection_observer.spec.js +0 -116
- package/src/components/utilities/intersection_observer/intersection_observer.stories.js +0 -162
- package/src/components/utilities/intersperse/intersperse.spec.js +0 -115
- package/src/components/utilities/intersperse/intersperse.stories.js +0 -53
- package/src/components/utilities/sprintf/sprintf.spec.js +0 -337
- package/src/components/utilities/sprintf/sprintf.stories.js +0 -104
- package/src/components/utilities/truncate/truncate.spec.js +0 -125
- package/src/components/utilities/truncate/truncate.stories.js +0 -50
- package/src/components/utilities/truncate_text/truncate_text.spec.js +0 -150
- package/src/components/utilities/truncate_text/truncate_text.stories.js +0 -45
- package/src/directives/hover_load/hover_load.spec.js +0 -64
- package/src/directives/hover_load/hover_load.stories.js +0 -51
- package/src/directives/outside/outside.spec.js +0 -338
- package/src/directives/outside/outside.stories.js +0 -35
- package/src/directives/resize_observer/resize_observer.spec.js +0 -125
- package/src/directives/resize_observer/resize_observer.stories.js +0 -76
- package/src/directives/safe_html/safe_html.spec.js +0 -149
- package/src/directives/safe_html/safe_html.stories.js +0 -60
- package/src/directives/safe_link/safe_link.spec.js +0 -135
- package/src/directives/safe_link/safe_link.stories.js +0 -39
- package/src/internal/color_contrast/color_contrast.spec.js +0 -34
- package/src/internal/color_contrast/color_contrast.stories.js +0 -41
- package/src/scss/functions.spec.scss +0 -54
- package/src/scss/mixins.spec.scss +0 -93
- package/src/scss/run_scss_tests.spec.js +0 -26
- package/src/scss/typescale/typescale.stories.js +0 -61
- package/src/tokens/color.constant.tokens.stories.js +0 -19
- package/src/tokens/color.dark.tokens.stories.js +0 -26
- package/src/tokens/color.data_viz.dark.tokens.stories.js +0 -19
- package/src/tokens/color.data_viz.tokens.stories.js +0 -19
- package/src/tokens/color.theme.dark.tokens.stories.js +0 -21
- package/src/tokens/color.theme.tokens.stories.js +0 -21
- package/src/tokens/color.tokens.stories.js +0 -26
- package/src/tokens/color.transparency.tokens.stories.js +0 -14
- package/src/tokens/text.dark.tokens.stories.js +0 -18
- package/src/tokens/text.tokens.stories.js +0 -17
- package/src/tokens/tokens.stories.js +0 -16
- package/src/utils/breakpoints.spec.js +0 -26
- package/src/utils/charts/config.spec.js +0 -478
- package/src/utils/charts/utils.spec.js +0 -106
- package/src/utils/datetime_utility.spec.js +0 -98
- package/src/utils/is_slot_empty.spec.js +0 -73
- package/src/utils/number_utils.spec.js +0 -110
- package/src/utils/stories_utils.spec.js +0 -18
- package/src/utils/string_utils.spec.js +0 -56
- package/src/utils/utils.spec.js +0 -156
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [80.14.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.13.2...v80.14.0) (2024-05-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **DesignTokens:** add background design tokens ([c98ff85](https://gitlab.com/gitlab-org/gitlab-ui/commit/c98ff85d8f022677677757412bc3c0f322bc85e6))
|
|
7
|
+
* **Tailwind:** add background design tokens to tailwind classes ([c78d656](https://gitlab.com/gitlab-org/gitlab-ui/commit/c78d656fbc565fa238f24b2dd57c74d82eb830cd))
|
|
8
|
+
|
|
9
|
+
## [80.13.2](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.13.1...v80.13.2) (2024-05-24)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **GlExperimentBadge:** Update language of experiment badges ([82a3335](https://gitlab.com/gitlab-org/gitlab-ui/commit/82a33353c122ac6f269856f4c7f1efe0b8b58f50))
|
|
15
|
+
|
|
1
16
|
## [80.13.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.13.0...v80.13.1) (2024-05-24)
|
|
2
17
|
|
|
3
18
|
|
|
@@ -9,15 +9,15 @@ import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
|
9
9
|
const i18n = {
|
|
10
10
|
experiment: {
|
|
11
11
|
BADGE: 'Experiment',
|
|
12
|
-
POPOVER_TITLE: "What's an
|
|
13
|
-
POPOVER_CONTENT:
|
|
14
|
-
POPOVER_BULLETS: ['
|
|
12
|
+
POPOVER_TITLE: "What's an experiment?",
|
|
13
|
+
POPOVER_CONTENT: 'An %{linkStart}experiment%{linkEnd} is not yet production-ready, but is released for initial testing and feedback during development.\nExperiments: %{bullets}',
|
|
14
|
+
POPOVER_BULLETS: ['Might be unstable or cause data loss.', 'Are not supported and might not be documented.', 'Could be changed or removed at any time.', 'Are subject to the GitLab Testing Agreement.']
|
|
15
15
|
},
|
|
16
16
|
beta: {
|
|
17
17
|
BADGE: 'Beta',
|
|
18
|
-
POPOVER_TITLE: "What's a
|
|
19
|
-
POPOVER_CONTENT: "A %{linkStart}
|
|
20
|
-
POPOVER_BULLETS: ['
|
|
18
|
+
POPOVER_TITLE: "What's a beta?",
|
|
19
|
+
POPOVER_CONTENT: "A %{linkStart}beta%{linkEnd} feature is not yet production-ready, but is ready for testing and unlikely to change significantly before it's released.\nBeta features: %{bullets}",
|
|
20
|
+
POPOVER_BULLETS: ['Have a low risk of data loss, but might still be unstable.', 'Are supported on a commercially-reasonable effort basis.', 'Have a near complete user experience.', 'Are subject to the GitLab Testing Agreement.']
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
var script = {
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
const GL_BACKGROUND_COLOR_DEFAULT = '#1f1e24'; // Used for the default background color.
|
|
7
|
+
const GL_BACKGROUND_COLOR_SUBTLE = '#333238'; // Used to slightly differentiate the background from the default.
|
|
8
|
+
const GL_BACKGROUND_COLOR_STRONG = '#434248'; // Used to make the background easily stand out from the default.
|
|
9
|
+
const GL_BACKGROUND_COLOR_DISABLED = '#333238'; // Used to identify a disabled section.
|
|
6
10
|
const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
7
11
|
const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
8
12
|
const GL_COLOR_BLUE_200 = '#9dc7f1';
|
|
@@ -314,4 +318,4 @@ const GL_TEXT_COLOR_DANGER = '#f57f6c'; // Used for text indicating a problem, c
|
|
|
314
318
|
const GL_TEXT_COLOR_SUCCESS = '#52b87a'; // Used for text indicating success or validity.
|
|
315
319
|
const GL_TEXT_COLOR_DISABLED = '#89888d'; // Used for disabled text.
|
|
316
320
|
|
|
317
|
-
export { BLACK, BLUE_100, BLUE_200, BLUE_300, BLUE_400, BLUE_50, BLUE_500, BLUE_600, BLUE_700, BLUE_800, BLUE_900, BLUE_950, BRAND_CHARCOAL, BRAND_GRAY_01, BRAND_GRAY_02, BRAND_GRAY_03, BRAND_GRAY_04, BRAND_GRAY_05, BRAND_ORANGE_01, BRAND_ORANGE_02, BRAND_ORANGE_03, BRAND_PURPLE_01, BRAND_PURPLE_02, DATA_VIZ_AQUA_100, DATA_VIZ_AQUA_200, DATA_VIZ_AQUA_300, DATA_VIZ_AQUA_400, DATA_VIZ_AQUA_50, DATA_VIZ_AQUA_500, DATA_VIZ_AQUA_600, DATA_VIZ_AQUA_700, DATA_VIZ_AQUA_800, DATA_VIZ_AQUA_900, DATA_VIZ_AQUA_950, DATA_VIZ_BLUE_100, DATA_VIZ_BLUE_200, DATA_VIZ_BLUE_300, DATA_VIZ_BLUE_400, DATA_VIZ_BLUE_50, DATA_VIZ_BLUE_500, DATA_VIZ_BLUE_600, DATA_VIZ_BLUE_700, DATA_VIZ_BLUE_800, DATA_VIZ_BLUE_900, DATA_VIZ_BLUE_950, DATA_VIZ_GREEN_100, DATA_VIZ_GREEN_200, DATA_VIZ_GREEN_300, DATA_VIZ_GREEN_400, DATA_VIZ_GREEN_50, DATA_VIZ_GREEN_500, DATA_VIZ_GREEN_600, DATA_VIZ_GREEN_700, DATA_VIZ_GREEN_800, DATA_VIZ_GREEN_900, DATA_VIZ_GREEN_950, DATA_VIZ_MAGENTA_100, DATA_VIZ_MAGENTA_200, DATA_VIZ_MAGENTA_300, DATA_VIZ_MAGENTA_400, DATA_VIZ_MAGENTA_50, DATA_VIZ_MAGENTA_500, DATA_VIZ_MAGENTA_600, DATA_VIZ_MAGENTA_700, DATA_VIZ_MAGENTA_800, DATA_VIZ_MAGENTA_900, DATA_VIZ_MAGENTA_950, DATA_VIZ_ORANGE_100, DATA_VIZ_ORANGE_200, DATA_VIZ_ORANGE_300, DATA_VIZ_ORANGE_400, DATA_VIZ_ORANGE_50, DATA_VIZ_ORANGE_500, DATA_VIZ_ORANGE_600, DATA_VIZ_ORANGE_700, DATA_VIZ_ORANGE_800, DATA_VIZ_ORANGE_900, DATA_VIZ_ORANGE_950, GL_COLOR_BLUE_100, GL_COLOR_BLUE_200, GL_COLOR_BLUE_300, GL_COLOR_BLUE_400, GL_COLOR_BLUE_50, GL_COLOR_BLUE_500, GL_COLOR_BLUE_600, GL_COLOR_BLUE_700, GL_COLOR_BLUE_800, GL_COLOR_BLUE_900, GL_COLOR_BLUE_950, GL_COLOR_GREEN_100, GL_COLOR_GREEN_200, GL_COLOR_GREEN_300, GL_COLOR_GREEN_400, GL_COLOR_GREEN_50, GL_COLOR_GREEN_500, GL_COLOR_GREEN_600, GL_COLOR_GREEN_700, GL_COLOR_GREEN_800, GL_COLOR_GREEN_900, GL_COLOR_GREEN_950, GL_COLOR_NEUTRAL_0, GL_COLOR_NEUTRAL_10, GL_COLOR_NEUTRAL_100, GL_COLOR_NEUTRAL_1000, GL_COLOR_NEUTRAL_200, GL_COLOR_NEUTRAL_300, GL_COLOR_NEUTRAL_400, GL_COLOR_NEUTRAL_50, GL_COLOR_NEUTRAL_500, GL_COLOR_NEUTRAL_600, GL_COLOR_NEUTRAL_700, GL_COLOR_NEUTRAL_800, GL_COLOR_NEUTRAL_900, GL_COLOR_NEUTRAL_950, GL_COLOR_ORANGE_100, GL_COLOR_ORANGE_200, GL_COLOR_ORANGE_300, GL_COLOR_ORANGE_400, GL_COLOR_ORANGE_50, GL_COLOR_ORANGE_500, GL_COLOR_ORANGE_600, GL_COLOR_ORANGE_700, GL_COLOR_ORANGE_800, GL_COLOR_ORANGE_900, GL_COLOR_ORANGE_950, GL_COLOR_PURPLE_100, GL_COLOR_PURPLE_200, GL_COLOR_PURPLE_300, GL_COLOR_PURPLE_400, GL_COLOR_PURPLE_50, GL_COLOR_PURPLE_500, GL_COLOR_PURPLE_600, GL_COLOR_PURPLE_700, GL_COLOR_PURPLE_800, GL_COLOR_PURPLE_900, GL_COLOR_PURPLE_950, GL_COLOR_RED_100, GL_COLOR_RED_200, GL_COLOR_RED_300, GL_COLOR_RED_400, GL_COLOR_RED_50, GL_COLOR_RED_500, GL_COLOR_RED_600, GL_COLOR_RED_700, GL_COLOR_RED_800, GL_COLOR_RED_900, GL_COLOR_RED_950, GL_LINE_HEIGHT_12, GL_LINE_HEIGHT_16, GL_LINE_HEIGHT_20, GL_LINE_HEIGHT_24, GL_LINE_HEIGHT_28, GL_LINE_HEIGHT_32, GL_LINE_HEIGHT_36, GL_LINE_HEIGHT_42, GL_LINE_HEIGHT_44, GL_LINE_HEIGHT_52, GL_TEXT_COLOR_DANGER, GL_TEXT_COLOR_DEFAULT, GL_TEXT_COLOR_DISABLED, GL_TEXT_COLOR_HEADING, GL_TEXT_COLOR_LINK, GL_TEXT_COLOR_STRONG, GL_TEXT_COLOR_SUBTLE, GL_TEXT_COLOR_SUCCESS, GL_TEXT_PRIMARY, GL_TEXT_SECONDARY, GL_TEXT_TERTIARY, GRAY_10, GRAY_100, GRAY_200, GRAY_300, GRAY_400, GRAY_50, GRAY_500, GRAY_600, GRAY_700, GRAY_800, GRAY_900, GRAY_950, GREEN_100, GREEN_200, GREEN_300, GREEN_400, GREEN_50, GREEN_500, GREEN_600, GREEN_700, GREEN_800, GREEN_900, GREEN_950, ORANGE_100, ORANGE_200, ORANGE_300, ORANGE_400, ORANGE_50, ORANGE_500, ORANGE_600, ORANGE_700, ORANGE_800, ORANGE_900, ORANGE_950, PURPLE_100, PURPLE_200, PURPLE_300, PURPLE_400, PURPLE_50, PURPLE_500, PURPLE_600, PURPLE_700, PURPLE_800, PURPLE_900, PURPLE_950, RED_100, RED_200, RED_300, RED_400, RED_50, RED_500, RED_600, RED_700, RED_800, RED_900, RED_950, THEME_BLUE_10, THEME_BLUE_100, THEME_BLUE_200, THEME_BLUE_300, THEME_BLUE_400, THEME_BLUE_50, THEME_BLUE_500, THEME_BLUE_600, THEME_BLUE_700, THEME_BLUE_800, THEME_BLUE_900, THEME_BLUE_950, THEME_GREEN_10, THEME_GREEN_100, THEME_GREEN_200, THEME_GREEN_300, THEME_GREEN_400, THEME_GREEN_50, THEME_GREEN_500, THEME_GREEN_600, THEME_GREEN_700, THEME_GREEN_800, THEME_GREEN_900, THEME_GREEN_950, THEME_INDIGO_10, THEME_INDIGO_100, THEME_INDIGO_200, THEME_INDIGO_300, THEME_INDIGO_400, THEME_INDIGO_50, THEME_INDIGO_500, THEME_INDIGO_600, THEME_INDIGO_700, THEME_INDIGO_800, THEME_INDIGO_900, THEME_INDIGO_950, THEME_LIGHT_BLUE_10, THEME_LIGHT_BLUE_100, THEME_LIGHT_BLUE_200, THEME_LIGHT_BLUE_300, THEME_LIGHT_BLUE_400, THEME_LIGHT_BLUE_50, THEME_LIGHT_BLUE_500, THEME_LIGHT_BLUE_600, THEME_LIGHT_BLUE_700, THEME_LIGHT_BLUE_800, THEME_LIGHT_BLUE_900, THEME_LIGHT_BLUE_950, THEME_LIGHT_RED_10, THEME_LIGHT_RED_100, THEME_LIGHT_RED_200, THEME_LIGHT_RED_300, THEME_LIGHT_RED_400, THEME_LIGHT_RED_50, THEME_LIGHT_RED_500, THEME_LIGHT_RED_600, THEME_LIGHT_RED_700, THEME_LIGHT_RED_800, THEME_LIGHT_RED_900, THEME_LIGHT_RED_950, THEME_RED_10, THEME_RED_100, THEME_RED_200, THEME_RED_300, THEME_RED_400, THEME_RED_50, THEME_RED_500, THEME_RED_600, THEME_RED_700, THEME_RED_800, THEME_RED_900, THEME_RED_950, T_GRAY_A_02, T_GRAY_A_04, T_GRAY_A_06, T_GRAY_A_08, T_GRAY_A_16, T_GRAY_A_24, T_WHITE_A_02, T_WHITE_A_04, T_WHITE_A_06, T_WHITE_A_08, T_WHITE_A_16, T_WHITE_A_24, T_WHITE_A_36, WHITE };
|
|
321
|
+
export { BLACK, BLUE_100, BLUE_200, BLUE_300, BLUE_400, BLUE_50, BLUE_500, BLUE_600, BLUE_700, BLUE_800, BLUE_900, BLUE_950, BRAND_CHARCOAL, BRAND_GRAY_01, BRAND_GRAY_02, BRAND_GRAY_03, BRAND_GRAY_04, BRAND_GRAY_05, BRAND_ORANGE_01, BRAND_ORANGE_02, BRAND_ORANGE_03, BRAND_PURPLE_01, BRAND_PURPLE_02, DATA_VIZ_AQUA_100, DATA_VIZ_AQUA_200, DATA_VIZ_AQUA_300, DATA_VIZ_AQUA_400, DATA_VIZ_AQUA_50, DATA_VIZ_AQUA_500, DATA_VIZ_AQUA_600, DATA_VIZ_AQUA_700, DATA_VIZ_AQUA_800, DATA_VIZ_AQUA_900, DATA_VIZ_AQUA_950, DATA_VIZ_BLUE_100, DATA_VIZ_BLUE_200, DATA_VIZ_BLUE_300, DATA_VIZ_BLUE_400, DATA_VIZ_BLUE_50, DATA_VIZ_BLUE_500, DATA_VIZ_BLUE_600, DATA_VIZ_BLUE_700, DATA_VIZ_BLUE_800, DATA_VIZ_BLUE_900, DATA_VIZ_BLUE_950, DATA_VIZ_GREEN_100, DATA_VIZ_GREEN_200, DATA_VIZ_GREEN_300, DATA_VIZ_GREEN_400, DATA_VIZ_GREEN_50, DATA_VIZ_GREEN_500, DATA_VIZ_GREEN_600, DATA_VIZ_GREEN_700, DATA_VIZ_GREEN_800, DATA_VIZ_GREEN_900, DATA_VIZ_GREEN_950, DATA_VIZ_MAGENTA_100, DATA_VIZ_MAGENTA_200, DATA_VIZ_MAGENTA_300, DATA_VIZ_MAGENTA_400, DATA_VIZ_MAGENTA_50, DATA_VIZ_MAGENTA_500, DATA_VIZ_MAGENTA_600, DATA_VIZ_MAGENTA_700, DATA_VIZ_MAGENTA_800, DATA_VIZ_MAGENTA_900, DATA_VIZ_MAGENTA_950, DATA_VIZ_ORANGE_100, DATA_VIZ_ORANGE_200, DATA_VIZ_ORANGE_300, DATA_VIZ_ORANGE_400, DATA_VIZ_ORANGE_50, DATA_VIZ_ORANGE_500, DATA_VIZ_ORANGE_600, DATA_VIZ_ORANGE_700, DATA_VIZ_ORANGE_800, DATA_VIZ_ORANGE_900, DATA_VIZ_ORANGE_950, GL_BACKGROUND_COLOR_DEFAULT, GL_BACKGROUND_COLOR_DISABLED, GL_BACKGROUND_COLOR_STRONG, GL_BACKGROUND_COLOR_SUBTLE, GL_COLOR_BLUE_100, GL_COLOR_BLUE_200, GL_COLOR_BLUE_300, GL_COLOR_BLUE_400, GL_COLOR_BLUE_50, GL_COLOR_BLUE_500, GL_COLOR_BLUE_600, GL_COLOR_BLUE_700, GL_COLOR_BLUE_800, GL_COLOR_BLUE_900, GL_COLOR_BLUE_950, GL_COLOR_GREEN_100, GL_COLOR_GREEN_200, GL_COLOR_GREEN_300, GL_COLOR_GREEN_400, GL_COLOR_GREEN_50, GL_COLOR_GREEN_500, GL_COLOR_GREEN_600, GL_COLOR_GREEN_700, GL_COLOR_GREEN_800, GL_COLOR_GREEN_900, GL_COLOR_GREEN_950, GL_COLOR_NEUTRAL_0, GL_COLOR_NEUTRAL_10, GL_COLOR_NEUTRAL_100, GL_COLOR_NEUTRAL_1000, GL_COLOR_NEUTRAL_200, GL_COLOR_NEUTRAL_300, GL_COLOR_NEUTRAL_400, GL_COLOR_NEUTRAL_50, GL_COLOR_NEUTRAL_500, GL_COLOR_NEUTRAL_600, GL_COLOR_NEUTRAL_700, GL_COLOR_NEUTRAL_800, GL_COLOR_NEUTRAL_900, GL_COLOR_NEUTRAL_950, GL_COLOR_ORANGE_100, GL_COLOR_ORANGE_200, GL_COLOR_ORANGE_300, GL_COLOR_ORANGE_400, GL_COLOR_ORANGE_50, GL_COLOR_ORANGE_500, GL_COLOR_ORANGE_600, GL_COLOR_ORANGE_700, GL_COLOR_ORANGE_800, GL_COLOR_ORANGE_900, GL_COLOR_ORANGE_950, GL_COLOR_PURPLE_100, GL_COLOR_PURPLE_200, GL_COLOR_PURPLE_300, GL_COLOR_PURPLE_400, GL_COLOR_PURPLE_50, GL_COLOR_PURPLE_500, GL_COLOR_PURPLE_600, GL_COLOR_PURPLE_700, GL_COLOR_PURPLE_800, GL_COLOR_PURPLE_900, GL_COLOR_PURPLE_950, GL_COLOR_RED_100, GL_COLOR_RED_200, GL_COLOR_RED_300, GL_COLOR_RED_400, GL_COLOR_RED_50, GL_COLOR_RED_500, GL_COLOR_RED_600, GL_COLOR_RED_700, GL_COLOR_RED_800, GL_COLOR_RED_900, GL_COLOR_RED_950, GL_LINE_HEIGHT_12, GL_LINE_HEIGHT_16, GL_LINE_HEIGHT_20, GL_LINE_HEIGHT_24, GL_LINE_HEIGHT_28, GL_LINE_HEIGHT_32, GL_LINE_HEIGHT_36, GL_LINE_HEIGHT_42, GL_LINE_HEIGHT_44, GL_LINE_HEIGHT_52, GL_TEXT_COLOR_DANGER, GL_TEXT_COLOR_DEFAULT, GL_TEXT_COLOR_DISABLED, GL_TEXT_COLOR_HEADING, GL_TEXT_COLOR_LINK, GL_TEXT_COLOR_STRONG, GL_TEXT_COLOR_SUBTLE, GL_TEXT_COLOR_SUCCESS, GL_TEXT_PRIMARY, GL_TEXT_SECONDARY, GL_TEXT_TERTIARY, GRAY_10, GRAY_100, GRAY_200, GRAY_300, GRAY_400, GRAY_50, GRAY_500, GRAY_600, GRAY_700, GRAY_800, GRAY_900, GRAY_950, GREEN_100, GREEN_200, GREEN_300, GREEN_400, GREEN_50, GREEN_500, GREEN_600, GREEN_700, GREEN_800, GREEN_900, GREEN_950, ORANGE_100, ORANGE_200, ORANGE_300, ORANGE_400, ORANGE_50, ORANGE_500, ORANGE_600, ORANGE_700, ORANGE_800, ORANGE_900, ORANGE_950, PURPLE_100, PURPLE_200, PURPLE_300, PURPLE_400, PURPLE_50, PURPLE_500, PURPLE_600, PURPLE_700, PURPLE_800, PURPLE_900, PURPLE_950, RED_100, RED_200, RED_300, RED_400, RED_50, RED_500, RED_600, RED_700, RED_800, RED_900, RED_950, THEME_BLUE_10, THEME_BLUE_100, THEME_BLUE_200, THEME_BLUE_300, THEME_BLUE_400, THEME_BLUE_50, THEME_BLUE_500, THEME_BLUE_600, THEME_BLUE_700, THEME_BLUE_800, THEME_BLUE_900, THEME_BLUE_950, THEME_GREEN_10, THEME_GREEN_100, THEME_GREEN_200, THEME_GREEN_300, THEME_GREEN_400, THEME_GREEN_50, THEME_GREEN_500, THEME_GREEN_600, THEME_GREEN_700, THEME_GREEN_800, THEME_GREEN_900, THEME_GREEN_950, THEME_INDIGO_10, THEME_INDIGO_100, THEME_INDIGO_200, THEME_INDIGO_300, THEME_INDIGO_400, THEME_INDIGO_50, THEME_INDIGO_500, THEME_INDIGO_600, THEME_INDIGO_700, THEME_INDIGO_800, THEME_INDIGO_900, THEME_INDIGO_950, THEME_LIGHT_BLUE_10, THEME_LIGHT_BLUE_100, THEME_LIGHT_BLUE_200, THEME_LIGHT_BLUE_300, THEME_LIGHT_BLUE_400, THEME_LIGHT_BLUE_50, THEME_LIGHT_BLUE_500, THEME_LIGHT_BLUE_600, THEME_LIGHT_BLUE_700, THEME_LIGHT_BLUE_800, THEME_LIGHT_BLUE_900, THEME_LIGHT_BLUE_950, THEME_LIGHT_RED_10, THEME_LIGHT_RED_100, THEME_LIGHT_RED_200, THEME_LIGHT_RED_300, THEME_LIGHT_RED_400, THEME_LIGHT_RED_50, THEME_LIGHT_RED_500, THEME_LIGHT_RED_600, THEME_LIGHT_RED_700, THEME_LIGHT_RED_800, THEME_LIGHT_RED_900, THEME_LIGHT_RED_950, THEME_RED_10, THEME_RED_100, THEME_RED_200, THEME_RED_300, THEME_RED_400, THEME_RED_50, THEME_RED_500, THEME_RED_600, THEME_RED_700, THEME_RED_800, THEME_RED_900, THEME_RED_950, T_GRAY_A_02, T_GRAY_A_04, T_GRAY_A_06, T_GRAY_A_08, T_GRAY_A_16, T_GRAY_A_24, T_WHITE_A_02, T_WHITE_A_04, T_WHITE_A_06, T_WHITE_A_08, T_WHITE_A_16, T_WHITE_A_24, T_WHITE_A_36, WHITE };
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
const GL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for the default background color.
|
|
7
|
+
const GL_BACKGROUND_COLOR_SUBTLE = '#fbfafd'; // Used to slightly differentiate the background from the default.
|
|
8
|
+
const GL_BACKGROUND_COLOR_STRONG = '#ececef'; // Used to make the background easily stand out from the default.
|
|
9
|
+
const GL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used to identify a disabled section.
|
|
6
10
|
const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
7
11
|
const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
8
12
|
const GL_COLOR_BLUE_200 = '#9dc7f1';
|
|
@@ -314,4 +318,4 @@ const GL_TEXT_COLOR_DANGER = '#c91c00'; // Used for text indicating a problem, c
|
|
|
314
318
|
const GL_TEXT_COLOR_SUCCESS = '#217645'; // Used for text indicating success or validity.
|
|
315
319
|
const GL_TEXT_COLOR_DISABLED = '#89888d'; // Used for disabled text.
|
|
316
320
|
|
|
317
|
-
export { BLACK, BLUE_100, BLUE_200, BLUE_300, BLUE_400, BLUE_50, BLUE_500, BLUE_600, BLUE_700, BLUE_800, BLUE_900, BLUE_950, BRAND_CHARCOAL, BRAND_GRAY_01, BRAND_GRAY_02, BRAND_GRAY_03, BRAND_GRAY_04, BRAND_GRAY_05, BRAND_ORANGE_01, BRAND_ORANGE_02, BRAND_ORANGE_03, BRAND_PURPLE_01, BRAND_PURPLE_02, DATA_VIZ_AQUA_100, DATA_VIZ_AQUA_200, DATA_VIZ_AQUA_300, DATA_VIZ_AQUA_400, DATA_VIZ_AQUA_50, DATA_VIZ_AQUA_500, DATA_VIZ_AQUA_600, DATA_VIZ_AQUA_700, DATA_VIZ_AQUA_800, DATA_VIZ_AQUA_900, DATA_VIZ_AQUA_950, DATA_VIZ_BLUE_100, DATA_VIZ_BLUE_200, DATA_VIZ_BLUE_300, DATA_VIZ_BLUE_400, DATA_VIZ_BLUE_50, DATA_VIZ_BLUE_500, DATA_VIZ_BLUE_600, DATA_VIZ_BLUE_700, DATA_VIZ_BLUE_800, DATA_VIZ_BLUE_900, DATA_VIZ_BLUE_950, DATA_VIZ_GREEN_100, DATA_VIZ_GREEN_200, DATA_VIZ_GREEN_300, DATA_VIZ_GREEN_400, DATA_VIZ_GREEN_50, DATA_VIZ_GREEN_500, DATA_VIZ_GREEN_600, DATA_VIZ_GREEN_700, DATA_VIZ_GREEN_800, DATA_VIZ_GREEN_900, DATA_VIZ_GREEN_950, DATA_VIZ_MAGENTA_100, DATA_VIZ_MAGENTA_200, DATA_VIZ_MAGENTA_300, DATA_VIZ_MAGENTA_400, DATA_VIZ_MAGENTA_50, DATA_VIZ_MAGENTA_500, DATA_VIZ_MAGENTA_600, DATA_VIZ_MAGENTA_700, DATA_VIZ_MAGENTA_800, DATA_VIZ_MAGENTA_900, DATA_VIZ_MAGENTA_950, DATA_VIZ_ORANGE_100, DATA_VIZ_ORANGE_200, DATA_VIZ_ORANGE_300, DATA_VIZ_ORANGE_400, DATA_VIZ_ORANGE_50, DATA_VIZ_ORANGE_500, DATA_VIZ_ORANGE_600, DATA_VIZ_ORANGE_700, DATA_VIZ_ORANGE_800, DATA_VIZ_ORANGE_900, DATA_VIZ_ORANGE_950, GL_COLOR_BLUE_100, GL_COLOR_BLUE_200, GL_COLOR_BLUE_300, GL_COLOR_BLUE_400, GL_COLOR_BLUE_50, GL_COLOR_BLUE_500, GL_COLOR_BLUE_600, GL_COLOR_BLUE_700, GL_COLOR_BLUE_800, GL_COLOR_BLUE_900, GL_COLOR_BLUE_950, GL_COLOR_GREEN_100, GL_COLOR_GREEN_200, GL_COLOR_GREEN_300, GL_COLOR_GREEN_400, GL_COLOR_GREEN_50, GL_COLOR_GREEN_500, GL_COLOR_GREEN_600, GL_COLOR_GREEN_700, GL_COLOR_GREEN_800, GL_COLOR_GREEN_900, GL_COLOR_GREEN_950, GL_COLOR_NEUTRAL_0, GL_COLOR_NEUTRAL_10, GL_COLOR_NEUTRAL_100, GL_COLOR_NEUTRAL_1000, GL_COLOR_NEUTRAL_200, GL_COLOR_NEUTRAL_300, GL_COLOR_NEUTRAL_400, GL_COLOR_NEUTRAL_50, GL_COLOR_NEUTRAL_500, GL_COLOR_NEUTRAL_600, GL_COLOR_NEUTRAL_700, GL_COLOR_NEUTRAL_800, GL_COLOR_NEUTRAL_900, GL_COLOR_NEUTRAL_950, GL_COLOR_ORANGE_100, GL_COLOR_ORANGE_200, GL_COLOR_ORANGE_300, GL_COLOR_ORANGE_400, GL_COLOR_ORANGE_50, GL_COLOR_ORANGE_500, GL_COLOR_ORANGE_600, GL_COLOR_ORANGE_700, GL_COLOR_ORANGE_800, GL_COLOR_ORANGE_900, GL_COLOR_ORANGE_950, GL_COLOR_PURPLE_100, GL_COLOR_PURPLE_200, GL_COLOR_PURPLE_300, GL_COLOR_PURPLE_400, GL_COLOR_PURPLE_50, GL_COLOR_PURPLE_500, GL_COLOR_PURPLE_600, GL_COLOR_PURPLE_700, GL_COLOR_PURPLE_800, GL_COLOR_PURPLE_900, GL_COLOR_PURPLE_950, GL_COLOR_RED_100, GL_COLOR_RED_200, GL_COLOR_RED_300, GL_COLOR_RED_400, GL_COLOR_RED_50, GL_COLOR_RED_500, GL_COLOR_RED_600, GL_COLOR_RED_700, GL_COLOR_RED_800, GL_COLOR_RED_900, GL_COLOR_RED_950, GL_LINE_HEIGHT_12, GL_LINE_HEIGHT_16, GL_LINE_HEIGHT_20, GL_LINE_HEIGHT_24, GL_LINE_HEIGHT_28, GL_LINE_HEIGHT_32, GL_LINE_HEIGHT_36, GL_LINE_HEIGHT_42, GL_LINE_HEIGHT_44, GL_LINE_HEIGHT_52, GL_TEXT_COLOR_DANGER, GL_TEXT_COLOR_DEFAULT, GL_TEXT_COLOR_DISABLED, GL_TEXT_COLOR_HEADING, GL_TEXT_COLOR_LINK, GL_TEXT_COLOR_STRONG, GL_TEXT_COLOR_SUBTLE, GL_TEXT_COLOR_SUCCESS, GL_TEXT_PRIMARY, GL_TEXT_SECONDARY, GL_TEXT_TERTIARY, GRAY_10, GRAY_100, GRAY_200, GRAY_300, GRAY_400, GRAY_50, GRAY_500, GRAY_600, GRAY_700, GRAY_800, GRAY_900, GRAY_950, GREEN_100, GREEN_200, GREEN_300, GREEN_400, GREEN_50, GREEN_500, GREEN_600, GREEN_700, GREEN_800, GREEN_900, GREEN_950, ORANGE_100, ORANGE_200, ORANGE_300, ORANGE_400, ORANGE_50, ORANGE_500, ORANGE_600, ORANGE_700, ORANGE_800, ORANGE_900, ORANGE_950, PURPLE_100, PURPLE_200, PURPLE_300, PURPLE_400, PURPLE_50, PURPLE_500, PURPLE_600, PURPLE_700, PURPLE_800, PURPLE_900, PURPLE_950, RED_100, RED_200, RED_300, RED_400, RED_50, RED_500, RED_600, RED_700, RED_800, RED_900, RED_950, THEME_BLUE_10, THEME_BLUE_100, THEME_BLUE_200, THEME_BLUE_300, THEME_BLUE_400, THEME_BLUE_50, THEME_BLUE_500, THEME_BLUE_600, THEME_BLUE_700, THEME_BLUE_800, THEME_BLUE_900, THEME_BLUE_950, THEME_GREEN_10, THEME_GREEN_100, THEME_GREEN_200, THEME_GREEN_300, THEME_GREEN_400, THEME_GREEN_50, THEME_GREEN_500, THEME_GREEN_600, THEME_GREEN_700, THEME_GREEN_800, THEME_GREEN_900, THEME_GREEN_950, THEME_INDIGO_10, THEME_INDIGO_100, THEME_INDIGO_200, THEME_INDIGO_300, THEME_INDIGO_400, THEME_INDIGO_50, THEME_INDIGO_500, THEME_INDIGO_600, THEME_INDIGO_700, THEME_INDIGO_800, THEME_INDIGO_900, THEME_INDIGO_950, THEME_LIGHT_BLUE_10, THEME_LIGHT_BLUE_100, THEME_LIGHT_BLUE_200, THEME_LIGHT_BLUE_300, THEME_LIGHT_BLUE_400, THEME_LIGHT_BLUE_50, THEME_LIGHT_BLUE_500, THEME_LIGHT_BLUE_600, THEME_LIGHT_BLUE_700, THEME_LIGHT_BLUE_800, THEME_LIGHT_BLUE_900, THEME_LIGHT_BLUE_950, THEME_LIGHT_RED_10, THEME_LIGHT_RED_100, THEME_LIGHT_RED_200, THEME_LIGHT_RED_300, THEME_LIGHT_RED_400, THEME_LIGHT_RED_50, THEME_LIGHT_RED_500, THEME_LIGHT_RED_600, THEME_LIGHT_RED_700, THEME_LIGHT_RED_800, THEME_LIGHT_RED_900, THEME_LIGHT_RED_950, THEME_RED_10, THEME_RED_100, THEME_RED_200, THEME_RED_300, THEME_RED_400, THEME_RED_50, THEME_RED_500, THEME_RED_600, THEME_RED_700, THEME_RED_800, THEME_RED_900, THEME_RED_950, T_GRAY_A_02, T_GRAY_A_04, T_GRAY_A_06, T_GRAY_A_08, T_GRAY_A_16, T_GRAY_A_24, T_WHITE_A_02, T_WHITE_A_04, T_WHITE_A_06, T_WHITE_A_08, T_WHITE_A_16, T_WHITE_A_24, T_WHITE_A_36, WHITE };
|
|
321
|
+
export { BLACK, BLUE_100, BLUE_200, BLUE_300, BLUE_400, BLUE_50, BLUE_500, BLUE_600, BLUE_700, BLUE_800, BLUE_900, BLUE_950, BRAND_CHARCOAL, BRAND_GRAY_01, BRAND_GRAY_02, BRAND_GRAY_03, BRAND_GRAY_04, BRAND_GRAY_05, BRAND_ORANGE_01, BRAND_ORANGE_02, BRAND_ORANGE_03, BRAND_PURPLE_01, BRAND_PURPLE_02, DATA_VIZ_AQUA_100, DATA_VIZ_AQUA_200, DATA_VIZ_AQUA_300, DATA_VIZ_AQUA_400, DATA_VIZ_AQUA_50, DATA_VIZ_AQUA_500, DATA_VIZ_AQUA_600, DATA_VIZ_AQUA_700, DATA_VIZ_AQUA_800, DATA_VIZ_AQUA_900, DATA_VIZ_AQUA_950, DATA_VIZ_BLUE_100, DATA_VIZ_BLUE_200, DATA_VIZ_BLUE_300, DATA_VIZ_BLUE_400, DATA_VIZ_BLUE_50, DATA_VIZ_BLUE_500, DATA_VIZ_BLUE_600, DATA_VIZ_BLUE_700, DATA_VIZ_BLUE_800, DATA_VIZ_BLUE_900, DATA_VIZ_BLUE_950, DATA_VIZ_GREEN_100, DATA_VIZ_GREEN_200, DATA_VIZ_GREEN_300, DATA_VIZ_GREEN_400, DATA_VIZ_GREEN_50, DATA_VIZ_GREEN_500, DATA_VIZ_GREEN_600, DATA_VIZ_GREEN_700, DATA_VIZ_GREEN_800, DATA_VIZ_GREEN_900, DATA_VIZ_GREEN_950, DATA_VIZ_MAGENTA_100, DATA_VIZ_MAGENTA_200, DATA_VIZ_MAGENTA_300, DATA_VIZ_MAGENTA_400, DATA_VIZ_MAGENTA_50, DATA_VIZ_MAGENTA_500, DATA_VIZ_MAGENTA_600, DATA_VIZ_MAGENTA_700, DATA_VIZ_MAGENTA_800, DATA_VIZ_MAGENTA_900, DATA_VIZ_MAGENTA_950, DATA_VIZ_ORANGE_100, DATA_VIZ_ORANGE_200, DATA_VIZ_ORANGE_300, DATA_VIZ_ORANGE_400, DATA_VIZ_ORANGE_50, DATA_VIZ_ORANGE_500, DATA_VIZ_ORANGE_600, DATA_VIZ_ORANGE_700, DATA_VIZ_ORANGE_800, DATA_VIZ_ORANGE_900, DATA_VIZ_ORANGE_950, GL_BACKGROUND_COLOR_DEFAULT, GL_BACKGROUND_COLOR_DISABLED, GL_BACKGROUND_COLOR_STRONG, GL_BACKGROUND_COLOR_SUBTLE, GL_COLOR_BLUE_100, GL_COLOR_BLUE_200, GL_COLOR_BLUE_300, GL_COLOR_BLUE_400, GL_COLOR_BLUE_50, GL_COLOR_BLUE_500, GL_COLOR_BLUE_600, GL_COLOR_BLUE_700, GL_COLOR_BLUE_800, GL_COLOR_BLUE_900, GL_COLOR_BLUE_950, GL_COLOR_GREEN_100, GL_COLOR_GREEN_200, GL_COLOR_GREEN_300, GL_COLOR_GREEN_400, GL_COLOR_GREEN_50, GL_COLOR_GREEN_500, GL_COLOR_GREEN_600, GL_COLOR_GREEN_700, GL_COLOR_GREEN_800, GL_COLOR_GREEN_900, GL_COLOR_GREEN_950, GL_COLOR_NEUTRAL_0, GL_COLOR_NEUTRAL_10, GL_COLOR_NEUTRAL_100, GL_COLOR_NEUTRAL_1000, GL_COLOR_NEUTRAL_200, GL_COLOR_NEUTRAL_300, GL_COLOR_NEUTRAL_400, GL_COLOR_NEUTRAL_50, GL_COLOR_NEUTRAL_500, GL_COLOR_NEUTRAL_600, GL_COLOR_NEUTRAL_700, GL_COLOR_NEUTRAL_800, GL_COLOR_NEUTRAL_900, GL_COLOR_NEUTRAL_950, GL_COLOR_ORANGE_100, GL_COLOR_ORANGE_200, GL_COLOR_ORANGE_300, GL_COLOR_ORANGE_400, GL_COLOR_ORANGE_50, GL_COLOR_ORANGE_500, GL_COLOR_ORANGE_600, GL_COLOR_ORANGE_700, GL_COLOR_ORANGE_800, GL_COLOR_ORANGE_900, GL_COLOR_ORANGE_950, GL_COLOR_PURPLE_100, GL_COLOR_PURPLE_200, GL_COLOR_PURPLE_300, GL_COLOR_PURPLE_400, GL_COLOR_PURPLE_50, GL_COLOR_PURPLE_500, GL_COLOR_PURPLE_600, GL_COLOR_PURPLE_700, GL_COLOR_PURPLE_800, GL_COLOR_PURPLE_900, GL_COLOR_PURPLE_950, GL_COLOR_RED_100, GL_COLOR_RED_200, GL_COLOR_RED_300, GL_COLOR_RED_400, GL_COLOR_RED_50, GL_COLOR_RED_500, GL_COLOR_RED_600, GL_COLOR_RED_700, GL_COLOR_RED_800, GL_COLOR_RED_900, GL_COLOR_RED_950, GL_LINE_HEIGHT_12, GL_LINE_HEIGHT_16, GL_LINE_HEIGHT_20, GL_LINE_HEIGHT_24, GL_LINE_HEIGHT_28, GL_LINE_HEIGHT_32, GL_LINE_HEIGHT_36, GL_LINE_HEIGHT_42, GL_LINE_HEIGHT_44, GL_LINE_HEIGHT_52, GL_TEXT_COLOR_DANGER, GL_TEXT_COLOR_DEFAULT, GL_TEXT_COLOR_DISABLED, GL_TEXT_COLOR_HEADING, GL_TEXT_COLOR_LINK, GL_TEXT_COLOR_STRONG, GL_TEXT_COLOR_SUBTLE, GL_TEXT_COLOR_SUCCESS, GL_TEXT_PRIMARY, GL_TEXT_SECONDARY, GL_TEXT_TERTIARY, GRAY_10, GRAY_100, GRAY_200, GRAY_300, GRAY_400, GRAY_50, GRAY_500, GRAY_600, GRAY_700, GRAY_800, GRAY_900, GRAY_950, GREEN_100, GREEN_200, GREEN_300, GREEN_400, GREEN_50, GREEN_500, GREEN_600, GREEN_700, GREEN_800, GREEN_900, GREEN_950, ORANGE_100, ORANGE_200, ORANGE_300, ORANGE_400, ORANGE_50, ORANGE_500, ORANGE_600, ORANGE_700, ORANGE_800, ORANGE_900, ORANGE_950, PURPLE_100, PURPLE_200, PURPLE_300, PURPLE_400, PURPLE_50, PURPLE_500, PURPLE_600, PURPLE_700, PURPLE_800, PURPLE_900, PURPLE_950, RED_100, RED_200, RED_300, RED_400, RED_50, RED_500, RED_600, RED_700, RED_800, RED_900, RED_950, THEME_BLUE_10, THEME_BLUE_100, THEME_BLUE_200, THEME_BLUE_300, THEME_BLUE_400, THEME_BLUE_50, THEME_BLUE_500, THEME_BLUE_600, THEME_BLUE_700, THEME_BLUE_800, THEME_BLUE_900, THEME_BLUE_950, THEME_GREEN_10, THEME_GREEN_100, THEME_GREEN_200, THEME_GREEN_300, THEME_GREEN_400, THEME_GREEN_50, THEME_GREEN_500, THEME_GREEN_600, THEME_GREEN_700, THEME_GREEN_800, THEME_GREEN_900, THEME_GREEN_950, THEME_INDIGO_10, THEME_INDIGO_100, THEME_INDIGO_200, THEME_INDIGO_300, THEME_INDIGO_400, THEME_INDIGO_50, THEME_INDIGO_500, THEME_INDIGO_600, THEME_INDIGO_700, THEME_INDIGO_800, THEME_INDIGO_900, THEME_INDIGO_950, THEME_LIGHT_BLUE_10, THEME_LIGHT_BLUE_100, THEME_LIGHT_BLUE_200, THEME_LIGHT_BLUE_300, THEME_LIGHT_BLUE_400, THEME_LIGHT_BLUE_50, THEME_LIGHT_BLUE_500, THEME_LIGHT_BLUE_600, THEME_LIGHT_BLUE_700, THEME_LIGHT_BLUE_800, THEME_LIGHT_BLUE_900, THEME_LIGHT_BLUE_950, THEME_LIGHT_RED_10, THEME_LIGHT_RED_100, THEME_LIGHT_RED_200, THEME_LIGHT_RED_300, THEME_LIGHT_RED_400, THEME_LIGHT_RED_50, THEME_LIGHT_RED_500, THEME_LIGHT_RED_600, THEME_LIGHT_RED_700, THEME_LIGHT_RED_800, THEME_LIGHT_RED_900, THEME_LIGHT_RED_950, THEME_RED_10, THEME_RED_100, THEME_RED_200, THEME_RED_300, THEME_RED_400, THEME_RED_50, THEME_RED_500, THEME_RED_600, THEME_RED_700, THEME_RED_800, THEME_RED_900, THEME_RED_950, T_GRAY_A_02, T_GRAY_A_04, T_GRAY_A_06, T_GRAY_A_08, T_GRAY_A_16, T_GRAY_A_24, T_WHITE_A_02, T_WHITE_A_04, T_WHITE_A_06, T_WHITE_A_08, T_WHITE_A_16, T_WHITE_A_24, T_WHITE_A_36, WHITE };
|
|
@@ -314,4 +314,8 @@
|
|
|
314
314
|
--gl-text-color-strong: var(--gl-color-neutral-950); /* Used for text with the highest contrast. */
|
|
315
315
|
--gl-text-color-subtle: var(--gl-color-neutral-600); /* Used for supplemental text that doesn't need to be as prominent as other text. */
|
|
316
316
|
--gl-text-color-default: var(--gl-color-neutral-800); /* Used for the default text color. */
|
|
317
|
+
--gl-background-color-disabled: var(--gl-color-neutral-10); /* Used to identify a disabled section. */
|
|
318
|
+
--gl-background-color-strong: var(--gl-color-neutral-50); /* Used to make the background easily stand out from the default. */
|
|
319
|
+
--gl-background-color-subtle: var(--gl-color-neutral-10); /* Used to slightly differentiate the background from the default. */
|
|
320
|
+
--gl-background-color-default: var(--gl-color-neutral-0); /* Used for the default background color. */
|
|
317
321
|
}
|
|
@@ -314,4 +314,8 @@
|
|
|
314
314
|
--gl-text-color-strong: var(--gl-color-neutral-0); /* Used for text with the highest contrast. */
|
|
315
315
|
--gl-text-color-subtle: var(--gl-color-neutral-200); /* Used for supplemental text that doesn't need to be as prominent as other text. */
|
|
316
316
|
--gl-text-color-default: var(--gl-color-neutral-50); /* Used for the default text color. */
|
|
317
|
+
--gl-background-color-disabled: var(--gl-color-neutral-900); /* Used to identify a disabled section. */
|
|
318
|
+
--gl-background-color-strong: var(--gl-color-neutral-800); /* Used to make the background easily stand out from the default. */
|
|
319
|
+
--gl-background-color-subtle: var(--gl-color-neutral-900); /* Used to slightly differentiate the background from the default. */
|
|
320
|
+
--gl-background-color-default: var(--gl-color-neutral-950); /* Used for the default background color. */
|
|
317
321
|
}
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
export const GL_BACKGROUND_COLOR_DEFAULT = '#1f1e24'; // Used for the default background color.
|
|
7
|
+
export const GL_BACKGROUND_COLOR_SUBTLE = '#333238'; // Used to slightly differentiate the background from the default.
|
|
8
|
+
export const GL_BACKGROUND_COLOR_STRONG = '#434248'; // Used to make the background easily stand out from the default.
|
|
9
|
+
export const GL_BACKGROUND_COLOR_DISABLED = '#333238'; // Used to identify a disabled section.
|
|
6
10
|
export const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
7
11
|
export const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
8
12
|
export const GL_COLOR_BLUE_200 = '#9dc7f1';
|
package/dist/tokens/js/tokens.js
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
export const GL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for the default background color.
|
|
7
|
+
export const GL_BACKGROUND_COLOR_SUBTLE = '#fbfafd'; // Used to slightly differentiate the background from the default.
|
|
8
|
+
export const GL_BACKGROUND_COLOR_STRONG = '#ececef'; // Used to make the background easily stand out from the default.
|
|
9
|
+
export const GL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used to identify a disabled section.
|
|
6
10
|
export const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
7
11
|
export const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
8
12
|
export const GL_COLOR_BLUE_200 = '#9dc7f1';
|
|
@@ -1,4 +1,96 @@
|
|
|
1
1
|
{
|
|
2
|
+
"background": {
|
|
3
|
+
"color": {
|
|
4
|
+
"default": {
|
|
5
|
+
"value": "#1f1e24",
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"comment": "Used for the default background color.",
|
|
8
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
9
|
+
"isSource": true,
|
|
10
|
+
"original": {
|
|
11
|
+
"value": {
|
|
12
|
+
"default": "{color.neutral.0}",
|
|
13
|
+
"dark": "{color.neutral.950}"
|
|
14
|
+
},
|
|
15
|
+
"$type": "color",
|
|
16
|
+
"comment": "Used for the default background color."
|
|
17
|
+
},
|
|
18
|
+
"name": "BACKGROUND_COLOR_DEFAULT",
|
|
19
|
+
"attributes": {},
|
|
20
|
+
"path": [
|
|
21
|
+
"background",
|
|
22
|
+
"color",
|
|
23
|
+
"default"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"subtle": {
|
|
27
|
+
"value": "#333238",
|
|
28
|
+
"$type": "color",
|
|
29
|
+
"comment": "Used to slightly differentiate the background from the default.",
|
|
30
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
31
|
+
"isSource": true,
|
|
32
|
+
"original": {
|
|
33
|
+
"value": {
|
|
34
|
+
"default": "{color.neutral.10}",
|
|
35
|
+
"dark": "{color.neutral.900}"
|
|
36
|
+
},
|
|
37
|
+
"$type": "color",
|
|
38
|
+
"comment": "Used to slightly differentiate the background from the default."
|
|
39
|
+
},
|
|
40
|
+
"name": "BACKGROUND_COLOR_SUBTLE",
|
|
41
|
+
"attributes": {},
|
|
42
|
+
"path": [
|
|
43
|
+
"background",
|
|
44
|
+
"color",
|
|
45
|
+
"subtle"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"strong": {
|
|
49
|
+
"value": "#434248",
|
|
50
|
+
"$type": "color",
|
|
51
|
+
"comment": "Used to make the background easily stand out from the default.",
|
|
52
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
53
|
+
"isSource": true,
|
|
54
|
+
"original": {
|
|
55
|
+
"value": {
|
|
56
|
+
"default": "{color.neutral.50}",
|
|
57
|
+
"dark": "{color.neutral.800}"
|
|
58
|
+
},
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"comment": "Used to make the background easily stand out from the default."
|
|
61
|
+
},
|
|
62
|
+
"name": "BACKGROUND_COLOR_STRONG",
|
|
63
|
+
"attributes": {},
|
|
64
|
+
"path": [
|
|
65
|
+
"background",
|
|
66
|
+
"color",
|
|
67
|
+
"strong"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"disabled": {
|
|
71
|
+
"value": "#333238",
|
|
72
|
+
"$type": "color",
|
|
73
|
+
"comment": "Used to identify a disabled section.",
|
|
74
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
75
|
+
"isSource": true,
|
|
76
|
+
"original": {
|
|
77
|
+
"value": {
|
|
78
|
+
"default": "{color.neutral.10}",
|
|
79
|
+
"dark": "{color.neutral.900}"
|
|
80
|
+
},
|
|
81
|
+
"$type": "color",
|
|
82
|
+
"comment": "Used to identify a disabled section."
|
|
83
|
+
},
|
|
84
|
+
"name": "BACKGROUND_COLOR_DISABLED",
|
|
85
|
+
"attributes": {},
|
|
86
|
+
"path": [
|
|
87
|
+
"background",
|
|
88
|
+
"color",
|
|
89
|
+
"disabled"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
2
94
|
"color": {
|
|
3
95
|
"blue": {
|
|
4
96
|
"50": {
|
|
@@ -1,4 +1,96 @@
|
|
|
1
1
|
{
|
|
2
|
+
"background": {
|
|
3
|
+
"color": {
|
|
4
|
+
"default": {
|
|
5
|
+
"value": "#fff",
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"comment": "Used for the default background color.",
|
|
8
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
9
|
+
"isSource": true,
|
|
10
|
+
"original": {
|
|
11
|
+
"value": {
|
|
12
|
+
"default": "{color.neutral.0}",
|
|
13
|
+
"dark": "{color.neutral.950}"
|
|
14
|
+
},
|
|
15
|
+
"$type": "color",
|
|
16
|
+
"comment": "Used for the default background color."
|
|
17
|
+
},
|
|
18
|
+
"name": "BACKGROUND_COLOR_DEFAULT",
|
|
19
|
+
"attributes": {},
|
|
20
|
+
"path": [
|
|
21
|
+
"background",
|
|
22
|
+
"color",
|
|
23
|
+
"default"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"subtle": {
|
|
27
|
+
"value": "#fbfafd",
|
|
28
|
+
"$type": "color",
|
|
29
|
+
"comment": "Used to slightly differentiate the background from the default.",
|
|
30
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
31
|
+
"isSource": true,
|
|
32
|
+
"original": {
|
|
33
|
+
"value": {
|
|
34
|
+
"default": "{color.neutral.10}",
|
|
35
|
+
"dark": "{color.neutral.900}"
|
|
36
|
+
},
|
|
37
|
+
"$type": "color",
|
|
38
|
+
"comment": "Used to slightly differentiate the background from the default."
|
|
39
|
+
},
|
|
40
|
+
"name": "BACKGROUND_COLOR_SUBTLE",
|
|
41
|
+
"attributes": {},
|
|
42
|
+
"path": [
|
|
43
|
+
"background",
|
|
44
|
+
"color",
|
|
45
|
+
"subtle"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"strong": {
|
|
49
|
+
"value": "#ececef",
|
|
50
|
+
"$type": "color",
|
|
51
|
+
"comment": "Used to make the background easily stand out from the default.",
|
|
52
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
53
|
+
"isSource": true,
|
|
54
|
+
"original": {
|
|
55
|
+
"value": {
|
|
56
|
+
"default": "{color.neutral.50}",
|
|
57
|
+
"dark": "{color.neutral.800}"
|
|
58
|
+
},
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"comment": "Used to make the background easily stand out from the default."
|
|
61
|
+
},
|
|
62
|
+
"name": "BACKGROUND_COLOR_STRONG",
|
|
63
|
+
"attributes": {},
|
|
64
|
+
"path": [
|
|
65
|
+
"background",
|
|
66
|
+
"color",
|
|
67
|
+
"strong"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"disabled": {
|
|
71
|
+
"value": "#fbfafd",
|
|
72
|
+
"$type": "color",
|
|
73
|
+
"comment": "Used to identify a disabled section.",
|
|
74
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
75
|
+
"isSource": true,
|
|
76
|
+
"original": {
|
|
77
|
+
"value": {
|
|
78
|
+
"default": "{color.neutral.10}",
|
|
79
|
+
"dark": "{color.neutral.900}"
|
|
80
|
+
},
|
|
81
|
+
"$type": "color",
|
|
82
|
+
"comment": "Used to identify a disabled section."
|
|
83
|
+
},
|
|
84
|
+
"name": "BACKGROUND_COLOR_DISABLED",
|
|
85
|
+
"attributes": {},
|
|
86
|
+
"path": [
|
|
87
|
+
"background",
|
|
88
|
+
"color",
|
|
89
|
+
"disabled"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
2
94
|
"color": {
|
|
3
95
|
"blue": {
|
|
4
96
|
"50": {
|
|
@@ -312,3 +312,7 @@ $gl-text-color-heading: $gl-color-neutral-0 !default; // Used for headings level
|
|
|
312
312
|
$gl-text-color-strong: $gl-color-neutral-0 !default; // Used for text with the highest contrast.
|
|
313
313
|
$gl-text-color-subtle: $gl-color-neutral-200 !default; // Used for supplemental text that doesn't need to be as prominent as other text.
|
|
314
314
|
$gl-text-color-default: $gl-color-neutral-50 !default; // Used for the default text color.
|
|
315
|
+
$gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disabled section.
|
|
316
|
+
$gl-background-color-strong: $gl-color-neutral-800; // Used to make the background easily stand out from the default.
|
|
317
|
+
$gl-background-color-subtle: $gl-color-neutral-900; // Used to slightly differentiate the background from the default.
|
|
318
|
+
$gl-background-color-default: $gl-color-neutral-950; // Used for the default background color.
|
|
@@ -312,3 +312,7 @@ $gl-text-color-heading: $gl-color-neutral-950 !default; // Used for headings lev
|
|
|
312
312
|
$gl-text-color-strong: $gl-color-neutral-950 !default; // Used for text with the highest contrast.
|
|
313
313
|
$gl-text-color-subtle: $gl-color-neutral-600 !default; // Used for supplemental text that doesn't need to be as prominent as other text.
|
|
314
314
|
$gl-text-color-default: $gl-color-neutral-800 !default; // Used for the default text color.
|
|
315
|
+
$gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disabled section.
|
|
316
|
+
$gl-background-color-strong: $gl-color-neutral-50; // Used to make the background easily stand out from the default.
|
|
317
|
+
$gl-background-color-subtle: $gl-color-neutral-10; // Used to slightly differentiate the background from the default.
|
|
318
|
+
$gl-background-color-default: $gl-color-neutral-0; // Used for the default background color.
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
$gl-background-color-default: var(--gl-background-color-default);
|
|
7
|
+
$gl-background-color-subtle: var(--gl-background-color-subtle);
|
|
8
|
+
$gl-background-color-strong: var(--gl-background-color-strong);
|
|
9
|
+
$gl-background-color-disabled: var(--gl-background-color-disabled);
|
|
6
10
|
$gl-color-blue-50: var(--gl-color-blue-50);
|
|
7
11
|
$gl-color-blue-100: var(--gl-color-blue-100);
|
|
8
12
|
$gl-color-blue-200: var(--gl-color-blue-200);
|
|
@@ -214,6 +214,16 @@ const textColors = {
|
|
|
214
214
|
disabled:
|
|
215
215
|
'var(--gl-text-color-disabled, var(--gl-color-neutral-400, #89888d))',
|
|
216
216
|
};
|
|
217
|
+
const backgroundColors = {
|
|
218
|
+
default:
|
|
219
|
+
'var(--gl-background-color-default, var(--gl-color-neutral-0, #fff))',
|
|
220
|
+
subtle:
|
|
221
|
+
'var(--gl-background-color-subtle, var(--gl-color-neutral-10, #fbfafd))',
|
|
222
|
+
strong:
|
|
223
|
+
'var(--gl-background-color-strong, var(--gl-color-neutral-50, #ececef))',
|
|
224
|
+
disabled:
|
|
225
|
+
'var(--gl-background-color-disabled, var(--gl-color-neutral-10, #fbfafd))',
|
|
226
|
+
};
|
|
217
227
|
|
|
218
228
|
const colors = {
|
|
219
229
|
transparent: 'transparent',
|
|
@@ -224,6 +234,11 @@ const colors = {
|
|
|
224
234
|
...dataVizColors,
|
|
225
235
|
};
|
|
226
236
|
|
|
237
|
+
const backgroundColor = {
|
|
238
|
+
...colors,
|
|
239
|
+
...backgroundColors,
|
|
240
|
+
};
|
|
241
|
+
|
|
227
242
|
const textColor = {
|
|
228
243
|
...colors,
|
|
229
244
|
...textColors,
|
|
@@ -234,5 +249,6 @@ const textColor = {
|
|
|
234
249
|
|
|
235
250
|
module.exports = {
|
|
236
251
|
colors,
|
|
252
|
+
backgroundColor,
|
|
237
253
|
textColor,
|
|
238
254
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "80.
|
|
3
|
+
"version": "80.14.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,7 +18,10 @@
|
|
|
18
18
|
"src",
|
|
19
19
|
"dist",
|
|
20
20
|
"translations.json",
|
|
21
|
-
"tailwind.defaults.js"
|
|
21
|
+
"tailwind.defaults.js",
|
|
22
|
+
"!*.stories.js",
|
|
23
|
+
"!*.snap",
|
|
24
|
+
"!*.spec.{js,scss}"
|
|
22
25
|
],
|
|
23
26
|
"scripts": {
|
|
24
27
|
"build": "NODE_ENV=production rollup -c",
|
|
@@ -31,16 +34,18 @@
|
|
|
31
34
|
"clean": "rm -r dist storybook src/scss/utilities.scss",
|
|
32
35
|
"cy:a11y": "cypress run --browser chrome --env grepTags=@a11y",
|
|
33
36
|
"cy:edge": "cypress run --browser edge --env grepTags=-@a11y+-@storybook",
|
|
34
|
-
"cy:run": "cypress run --browser firefox --env grepTags=-@a11y",
|
|
37
|
+
"cy:run": "cypress run --browser firefox --env grepTags=-@a11y+-@storybook",
|
|
35
38
|
"start": "yarn storybook",
|
|
36
|
-
"storybook": "yarn storybook
|
|
37
|
-
"storybook-vue3": "yarn storybook
|
|
38
|
-
"storybook
|
|
39
|
-
"storybook
|
|
39
|
+
"storybook": "yarn storybook:prepare && storybook dev --ci --host ${STORYBOOK_HOST:-localhost} --port 9001 -c .storybook",
|
|
40
|
+
"storybook-vue3": "yarn storybook:prepare && VUE_VERSION=3 storybook dev --ci --host ${STORYBOOK_HOST:-localhost} --port 9001 -c .storybook",
|
|
41
|
+
"storybook:prepare": "run-s copy-fonts build-tokens generate-utilities",
|
|
42
|
+
"storybook:build:prod": "yarn storybook:prepare && storybook build -c .storybook -o storybook",
|
|
43
|
+
"storybook:build:test": "yarn storybook:prepare && IS_VISUAL_TEST=true NODE_ENV=test storybook build --test -c .storybook -o storybook",
|
|
44
|
+
"storybook:run": "npx http-server -bgs -p 9001 ./storybook",
|
|
40
45
|
"pretest:unit": "yarn build-tokens",
|
|
41
46
|
"test": "run-s test:unit test:visual",
|
|
42
47
|
"test:integration": "yarn run test:integration:server 'yarn cy:run && yarn cy:edge && yarn cy:a11y'",
|
|
43
|
-
"test:integration:server": "NODE_ENV=test
|
|
48
|
+
"test:integration:server": "NODE_ENV=test start-test storybook:run http-get://${STORYBOOK_HOST:-localhost}:9001/iframe.html",
|
|
44
49
|
"test:unit": "NODE_ENV=test jest",
|
|
45
50
|
"test:unit:watch": "yarn test:unit --watch",
|
|
46
51
|
"test:unit:debug": "NODE_ENV=test node --inspect node_modules/.bin/jest --testPathIgnorePatterns storyshot.spec.js --watch --runInBand",
|
|
@@ -48,11 +53,10 @@
|
|
|
48
53
|
"test:unit-vue3:watch": "VUE_VERSION=3 yarn test:unit --watch",
|
|
49
54
|
"test:unit-vue3:debug": "VUE_VERSION=3 NODE_ENV=test node --inspect node_modules/.bin/jest --testPathIgnorePatterns storyshot.spec.js --watch --runInBand",
|
|
50
55
|
"test:visual": "./bin/run-visual-tests.sh 'test-storybook --browsers firefox --verbose --url http://localhost:9001'",
|
|
51
|
-
"test:visual:minimal": "node ./bin/run_minimal_visual_tests.js",
|
|
52
56
|
"test:visual:update": "./bin/run-visual-tests.sh 'test-storybook -u --browsers firefox --verbose --url http://localhost:9001'",
|
|
53
|
-
"test:visual:internal": "NODE_ENV=test IS_VISUAL_TEST=true start-test http-get://${STORYBOOK_HOST:-localhost}:9001/iframe.html",
|
|
54
|
-
"prettier": "prettier --check '**/*.{js,vue}'",
|
|
55
|
-
"prettier:fix": "prettier --write '**/*.{js,vue}'",
|
|
57
|
+
"test:visual:internal": "NODE_ENV=test IS_VISUAL_TEST=true start-test storybook:run http-get://${STORYBOOK_HOST:-localhost}:9001/iframe.html",
|
|
58
|
+
"prettier": "prettier --check '**/*.{js,ts,vue}'",
|
|
59
|
+
"prettier:fix": "prettier --write '**/*.{js,ts,vue}'",
|
|
56
60
|
"eslint": "eslint --max-warnings 0 --ext .js,.vue .",
|
|
57
61
|
"preeslint": "yarn generate-utilities",
|
|
58
62
|
"eslint:fix": "yarn eslint --fix",
|
|
@@ -9,25 +9,26 @@ import { badgeTypes, badgeTypeValidator } from './constants';
|
|
|
9
9
|
export const i18n = {
|
|
10
10
|
experiment: {
|
|
11
11
|
BADGE: 'Experiment',
|
|
12
|
-
POPOVER_TITLE: "What's an
|
|
12
|
+
POPOVER_TITLE: "What's an experiment?",
|
|
13
13
|
POPOVER_CONTENT:
|
|
14
|
-
|
|
14
|
+
'An %{linkStart}experiment%{linkEnd} is not yet production-ready, but is released for initial testing and feedback during development.\nExperiments: %{bullets}',
|
|
15
15
|
POPOVER_BULLETS: [
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'
|
|
16
|
+
'Might be unstable or cause data loss.',
|
|
17
|
+
'Are not supported and might not be documented.',
|
|
18
|
+
'Could be changed or removed at any time.',
|
|
19
|
+
'Are subject to the GitLab Testing Agreement.',
|
|
19
20
|
],
|
|
20
21
|
},
|
|
21
22
|
beta: {
|
|
22
23
|
BADGE: 'Beta',
|
|
23
|
-
POPOVER_TITLE: "What's a
|
|
24
|
+
POPOVER_TITLE: "What's a beta?",
|
|
24
25
|
POPOVER_CONTENT:
|
|
25
|
-
"A %{linkStart}
|
|
26
|
+
"A %{linkStart}beta%{linkEnd} feature is not yet production-ready, but is ready for testing and unlikely to change significantly before it's released.\nBeta features: %{bullets}",
|
|
26
27
|
POPOVER_BULLETS: [
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
28
|
+
'Have a low risk of data loss, but might still be unstable.',
|
|
29
|
+
'Are supported on a commercially-reasonable effort basis.',
|
|
30
|
+
'Have a near complete user experience.',
|
|
31
|
+
'Are subject to the GitLab Testing Agreement.',
|
|
31
32
|
],
|
|
32
33
|
},
|
|
33
34
|
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"background": {
|
|
3
|
+
"color": {
|
|
4
|
+
"default": {
|
|
5
|
+
"$value": {
|
|
6
|
+
"default": "{color.neutral.0}",
|
|
7
|
+
"dark": "{color.neutral.950}"
|
|
8
|
+
},
|
|
9
|
+
"$type": "color",
|
|
10
|
+
"$description": "Used for the default background color."
|
|
11
|
+
},
|
|
12
|
+
"subtle": {
|
|
13
|
+
"$value": {
|
|
14
|
+
"default": "{color.neutral.10}",
|
|
15
|
+
"dark": "{color.neutral.900}"
|
|
16
|
+
},
|
|
17
|
+
"$type": "color",
|
|
18
|
+
"$description": "Used to slightly differentiate the background from the default."
|
|
19
|
+
},
|
|
20
|
+
"strong": {
|
|
21
|
+
"$value": {
|
|
22
|
+
"default": "{color.neutral.50}",
|
|
23
|
+
"dark": "{color.neutral.800}"
|
|
24
|
+
},
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$description": "Used to make the background easily stand out from the default."
|
|
27
|
+
},
|
|
28
|
+
"disabled": {
|
|
29
|
+
"$value": {
|
|
30
|
+
"default": "{color.neutral.10}",
|
|
31
|
+
"dark": "{color.neutral.900}"
|
|
32
|
+
},
|
|
33
|
+
"$type": "color",
|
|
34
|
+
"$description": "Used to identify a disabled section."
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -314,4 +314,8 @@
|
|
|
314
314
|
--gl-text-color-strong: var(--gl-color-neutral-950); /* Used for text with the highest contrast. */
|
|
315
315
|
--gl-text-color-subtle: var(--gl-color-neutral-600); /* Used for supplemental text that doesn't need to be as prominent as other text. */
|
|
316
316
|
--gl-text-color-default: var(--gl-color-neutral-800); /* Used for the default text color. */
|
|
317
|
+
--gl-background-color-disabled: var(--gl-color-neutral-10); /* Used to identify a disabled section. */
|
|
318
|
+
--gl-background-color-strong: var(--gl-color-neutral-50); /* Used to make the background easily stand out from the default. */
|
|
319
|
+
--gl-background-color-subtle: var(--gl-color-neutral-10); /* Used to slightly differentiate the background from the default. */
|
|
320
|
+
--gl-background-color-default: var(--gl-color-neutral-0); /* Used for the default background color. */
|
|
317
321
|
}
|
|
@@ -314,4 +314,8 @@
|
|
|
314
314
|
--gl-text-color-strong: var(--gl-color-neutral-0); /* Used for text with the highest contrast. */
|
|
315
315
|
--gl-text-color-subtle: var(--gl-color-neutral-200); /* Used for supplemental text that doesn't need to be as prominent as other text. */
|
|
316
316
|
--gl-text-color-default: var(--gl-color-neutral-50); /* Used for the default text color. */
|
|
317
|
+
--gl-background-color-disabled: var(--gl-color-neutral-900); /* Used to identify a disabled section. */
|
|
318
|
+
--gl-background-color-strong: var(--gl-color-neutral-800); /* Used to make the background easily stand out from the default. */
|
|
319
|
+
--gl-background-color-subtle: var(--gl-color-neutral-900); /* Used to slightly differentiate the background from the default. */
|
|
320
|
+
--gl-background-color-default: var(--gl-color-neutral-950); /* Used for the default background color. */
|
|
317
321
|
}
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
export const GL_BACKGROUND_COLOR_DEFAULT = '#1f1e24'; // Used for the default background color.
|
|
7
|
+
export const GL_BACKGROUND_COLOR_SUBTLE = '#333238'; // Used to slightly differentiate the background from the default.
|
|
8
|
+
export const GL_BACKGROUND_COLOR_STRONG = '#434248'; // Used to make the background easily stand out from the default.
|
|
9
|
+
export const GL_BACKGROUND_COLOR_DISABLED = '#333238'; // Used to identify a disabled section.
|
|
6
10
|
export const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
7
11
|
export const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
8
12
|
export const GL_COLOR_BLUE_200 = '#9dc7f1';
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
export const GL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for the default background color.
|
|
7
|
+
export const GL_BACKGROUND_COLOR_SUBTLE = '#fbfafd'; // Used to slightly differentiate the background from the default.
|
|
8
|
+
export const GL_BACKGROUND_COLOR_STRONG = '#ececef'; // Used to make the background easily stand out from the default.
|
|
9
|
+
export const GL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used to identify a disabled section.
|
|
6
10
|
export const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
7
11
|
export const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
8
12
|
export const GL_COLOR_BLUE_200 = '#9dc7f1';
|