@gitlab/ui 112.1.2 → 112.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/components/base/accordion/accordion.js +1 -1
  3. package/dist/components/base/accordion/accordion_item.js +1 -1
  4. package/dist/components/base/alert/alert.js +1 -1
  5. package/dist/components/base/animated_icon/animated_chevron_down_up_icon.js +1 -1
  6. package/dist/components/base/animated_icon/animated_chevron_lg_down_up_icon.js +1 -1
  7. package/dist/components/base/animated_icon/animated_chevron_lg_right_down_icon.js +1 -1
  8. package/dist/components/base/animated_icon/animated_chevron_right_down_icon.js +1 -1
  9. package/dist/components/base/animated_icon/animated_duo_chat_icon.js +1 -1
  10. package/dist/components/base/animated_icon/animated_loader_icon.js +1 -1
  11. package/dist/components/base/animated_icon/animated_notifications_icon.js +1 -1
  12. package/dist/components/base/animated_icon/animated_sidebar_icon.js +1 -1
  13. package/dist/components/base/animated_icon/animated_smile_icon.js +1 -1
  14. package/dist/components/base/animated_icon/animated_sort_icon.js +1 -1
  15. package/dist/components/base/animated_icon/animated_star_icon.js +1 -1
  16. package/dist/components/base/animated_icon/animated_todo_icon.js +1 -1
  17. package/dist/components/base/animated_icon/animated_upload_icon.js +1 -1
  18. package/dist/components/base/animated_icon/base_animated_icon.js +1 -1
  19. package/dist/components/base/avatar/avatar.js +1 -1
  20. package/dist/components/base/avatar_labeled/avatar_labeled.js +1 -1
  21. package/dist/components/base/avatar_link/avatar_link.js +1 -1
  22. package/dist/components/base/avatars_inline/avatars_inline.js +1 -1
  23. package/dist/components/base/badge/badge.js +1 -1
  24. package/dist/components/base/banner/banner.js +1 -1
  25. package/dist/components/base/breadcrumb/breadcrumb.js +1 -1
  26. package/dist/components/base/breadcrumb/breadcrumb_item.js +1 -1
  27. package/dist/components/base/broadcast_message/broadcast_message.js +1 -1
  28. package/dist/components/base/button/button.js +1 -1
  29. package/dist/components/base/button_group/button_group.js +1 -1
  30. package/dist/components/base/card/card.js +1 -1
  31. package/dist/components/base/collapse/collapse.js +1 -1
  32. package/dist/components/base/datepicker/datepicker.js +1 -1
  33. package/dist/components/base/daterange_picker/daterange_picker.js +1 -1
  34. package/dist/components/base/drawer/drawer.js +1 -1
  35. package/dist/components/base/dropdown/dropdown.js +1 -1
  36. package/dist/components/base/dropdown/dropdown_divider.js +1 -1
  37. package/dist/components/base/dropdown/dropdown_form.js +1 -1
  38. package/dist/components/base/dropdown/dropdown_item.js +1 -1
  39. package/dist/components/base/dropdown/dropdown_section_header.js +1 -1
  40. package/dist/components/base/dropdown/dropdown_text.js +1 -1
  41. package/dist/components/base/filtered_search/filtered_search.js +1 -1
  42. package/dist/components/base/filtered_search/filtered_search_suggestion.js +1 -1
  43. package/dist/components/base/filtered_search/filtered_search_suggestion_list.js +1 -1
  44. package/dist/components/base/filtered_search/filtered_search_term.js +1 -1
  45. package/dist/components/base/filtered_search/filtered_search_token.js +1 -1
  46. package/dist/components/base/filtered_search/filtered_search_token_segment.js +1 -1
  47. package/dist/components/base/form/form.js +1 -1
  48. package/dist/components/base/form/form_character_count/form_character_count.js +1 -1
  49. package/dist/components/base/form/form_checkbox/form_checkbox.js +1 -1
  50. package/dist/components/base/form/form_checkbox/form_checkbox_group.js +1 -1
  51. package/dist/components/base/form/form_checkbox_tree/checkbox_tree_node.js +1 -1
  52. package/dist/components/base/form/form_checkbox_tree/form_checkbox_tree.js +1 -1
  53. package/dist/components/base/form/form_combobox/form_combobox.js +1 -1
  54. package/dist/components/base/form/form_date/form_date.js +1 -1
  55. package/dist/components/base/form/form_fields/form_field_validator.js +1 -1
  56. package/dist/components/base/form/form_fields/form_fields.js +1 -1
  57. package/dist/components/base/form/form_group/form_group.js +1 -1
  58. package/dist/components/base/form/form_input/form_input.js +1 -1
  59. package/dist/components/base/form/form_input_group/form_input_group.js +1 -1
  60. package/dist/components/base/form/form_radio/form_radio.js +1 -1
  61. package/dist/components/base/form/form_radio_group/form_radio_group.js +1 -1
  62. package/dist/components/base/form/form_select/form_select.js +1 -1
  63. package/dist/components/base/form/form_textarea/form_textarea.js +1 -1
  64. package/dist/components/base/form/input_group_text/input_group_text.js +1 -1
  65. package/dist/components/base/icon/icon.js +1 -1
  66. package/dist/components/base/infinite_scroll/infinite_scroll.js +1 -1
  67. package/dist/components/base/keyset_pagination/keyset_pagination.js +1 -1
  68. package/dist/components/base/label/label.js +1 -1
  69. package/dist/components/base/link/link.js +1 -1
  70. package/dist/components/base/loading_icon/loading_icon.js +1 -1
  71. package/dist/components/base/markdown/markdown.js +1 -1
  72. package/dist/components/base/modal/modal.js +1 -1
  73. package/dist/components/base/nav/nav.js +1 -1
  74. package/dist/components/base/nav/nav_item.js +1 -1
  75. package/dist/components/base/new_dropdowns/base_dropdown/base_dropdown.js +1 -1
  76. package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown.js +1 -1
  77. package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown_group.js +1 -1
  78. package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown_item.js +1 -1
  79. package/dist/components/base/new_dropdowns/listbox/listbox.js +1 -1
  80. package/dist/components/base/new_dropdowns/listbox/listbox_group.js +1 -1
  81. package/dist/components/base/new_dropdowns/listbox/listbox_item.js +1 -1
  82. package/dist/components/base/new_dropdowns/listbox/listbox_search_input.js +1 -1
  83. package/dist/components/base/pagination/pagination.js +1 -1
  84. package/dist/components/base/path/path.js +1 -1
  85. package/dist/components/base/popover/popover.js +1 -1
  86. package/dist/components/base/progress_bar/progress_bar.js +1 -1
  87. package/dist/components/base/search_box_by_click/search_box_by_click.js +1 -1
  88. package/dist/components/base/search_box_by_type/search_box_by_type.js +1 -1
  89. package/dist/components/base/segmented_control/segmented_control.js +1 -1
  90. package/dist/components/base/skeleton_loader/skeleton_loader.js +1 -1
  91. package/dist/components/base/sorting/sorting.js +1 -1
  92. package/dist/components/base/table/table.js +1 -1
  93. package/dist/components/base/table_lite/table_lite.js +1 -1
  94. package/dist/components/base/tabs/tab/tab.js +1 -1
  95. package/dist/components/base/tabs/tabs/scrollable_tabs.js +1 -1
  96. package/dist/components/base/tabs/tabs/tabs.js +1 -1
  97. package/dist/components/base/toggle/toggle.js +1 -1
  98. package/dist/components/base/token/token.js +1 -1
  99. package/dist/components/base/token_selector/token_container.js +1 -1
  100. package/dist/components/base/token_selector/token_selector.js +1 -1
  101. package/dist/components/base/token_selector/token_selector_dropdown.js +1 -1
  102. package/dist/components/base/tooltip/tooltip.js +1 -1
  103. package/dist/components/charts/area/area.js +1 -1
  104. package/dist/components/charts/bar/bar.js +1 -1
  105. package/dist/components/charts/chart/chart.js +1 -1
  106. package/dist/components/charts/column/column.js +1 -1
  107. package/dist/components/charts/discrete_scatter/discrete_scatter.js +1 -1
  108. package/dist/components/charts/gauge/gauge.js +1 -1
  109. package/dist/components/charts/heatmap/heatmap.js +1 -1
  110. package/dist/components/charts/legend/legend.js +1 -1
  111. package/dist/components/charts/line/line.js +1 -1
  112. package/dist/components/charts/series_label/series_label.js +1 -1
  113. package/dist/components/charts/shared/tooltip/tooltip.js +1 -1
  114. package/dist/components/charts/shared/tooltip/tooltip_default_format/tooltip_default_format.js +1 -1
  115. package/dist/components/charts/single_stat/single_stat.js +1 -1
  116. package/dist/components/charts/sparkline/sparkline.js +1 -1
  117. package/dist/components/charts/stacked_column/stacked_column.js +1 -1
  118. package/dist/components/dashboards/dashboard_panel/dashboard_panel.js +1 -1
  119. package/dist/components/experimental/experiment_badge/experiment_badge.js +1 -1
  120. package/dist/components/regions/dashboard_skeleton/dashboard_skeleton.js +1 -1
  121. package/dist/components/regions/empty_state/empty_state.js +1 -1
  122. package/dist/components/shared_components/clear_icon_button/clear_icon_button.js +1 -1
  123. package/dist/components/shared_components/close_button/close_button.js +1 -1
  124. package/dist/components/utilities/animated_number/animated_number.js +1 -1
  125. package/dist/components/utilities/friendly_wrap/friendly_wrap.js +1 -1
  126. package/dist/components/utilities/intersection_observer/intersection_observer.js +1 -1
  127. package/dist/components/utilities/intersperse/intersperse.js +1 -1
  128. package/dist/components/utilities/sprintf/sprintf.js +1 -1
  129. package/dist/components/utilities/truncate/truncate.js +1 -1
  130. package/dist/components/utilities/truncate_text/truncate_text.js +1 -1
  131. package/dist/index.css +1 -1
  132. package/dist/index.css.map +1 -1
  133. package/dist/tokens/build/js/tokens.dark.js +2 -2
  134. package/dist/tokens/build/js/tokens.js +2 -2
  135. package/dist/tokens/css/tokens.css +2 -2
  136. package/dist/tokens/css/tokens.dark.css +2 -2
  137. package/dist/tokens/js/tokens.dark.js +2 -2
  138. package/dist/tokens/js/tokens.js +2 -2
  139. package/dist/tokens/json/tokens.dark.json +32 -82
  140. package/dist/tokens/json/tokens.json +32 -82
  141. package/dist/tokens/scss/_tokens.dark.scss +2 -2
  142. package/dist/tokens/scss/_tokens.scss +2 -2
  143. package/dist/tokens/tokens_story.js +1 -1
  144. package/dist/tokens/tokens_table.js +1 -1
  145. package/dist/utils/charts/constants.js +6 -4
  146. package/dist/vendor/bootstrap-vue/src/components/nav/index.js +0 -1
  147. package/dist/vendor/bootstrap-vue/src/constants/components.js +1 -2
  148. package/package.json +1 -1
  149. package/src/scss/bootstrap_vue.scss +0 -2
  150. package/src/tokens/build/css/tokens.css +2 -2
  151. package/src/tokens/build/css/tokens.dark.css +2 -2
  152. package/src/tokens/build/figma/constants.tokens.json +20 -50
  153. package/src/tokens/build/js/tokens.dark.js +2 -2
  154. package/src/tokens/build/js/tokens.js +2 -2
  155. package/src/tokens/build/json/tokens.dark.json +32 -82
  156. package/src/tokens/build/json/tokens.json +32 -82
  157. package/src/tokens/build/scss/_tokens.dark.scss +2 -2
  158. package/src/tokens/build/scss/_tokens.scss +2 -2
  159. package/src/tokens/constant/line_height.tokens.json +20 -50
  160. package/src/utils/charts/constants.js +6 -4
  161. package/src/vendor/bootstrap-vue/src/components/index.scss +0 -1
  162. package/src/vendor/bootstrap-vue/src/components/nav/README.md +1 -98
  163. package/src/vendor/bootstrap-vue/src/components/nav/index.js +1 -2
  164. package/src/vendor/bootstrap-vue/src/components/nav/package.json +0 -117
  165. package/src/vendor/bootstrap-vue/src/constants/components.js +0 -1
  166. package/translations.js +4 -0
  167. package/dist/vendor/bootstrap-vue/src/components/nav/nav-item-dropdown.js +0 -108
  168. package/src/vendor/bootstrap-vue/src/components/nav/_nav-item-dropdown.scss +0 -1
  169. package/src/vendor/bootstrap-vue/src/components/nav/index.scss +0 -1
  170. package/src/vendor/bootstrap-vue/src/components/nav/nav-item-dropdown.js +0 -123
  171. package/src/vendor/bootstrap-vue/src/components/nav/nav-item-dropdown.spec.js +0 -268
@@ -3907,19 +3907,14 @@
3907
3907
  "12": {
3908
3908
  "$value": "0.75rem",
3909
3909
  "$type": "dimension",
3910
- "attributes": {
3911
- "category": "size"
3912
- },
3913
3910
  "filePath": "src/tokens/constant/line_height.tokens.json",
3914
3911
  "isSource": true,
3915
3912
  "original": {
3916
- "$value": "12px",
3917
- "$type": "dimension",
3918
- "attributes": {
3919
- "category": "size"
3920
- }
3913
+ "$value": "0.75rem",
3914
+ "$type": "dimension"
3921
3915
  },
3922
3916
  "name": "LINE_HEIGHT_12",
3917
+ "attributes": {},
3923
3918
  "path": [
3924
3919
  "line-height",
3925
3920
  "12"
@@ -3928,19 +3923,14 @@
3928
3923
  "16": {
3929
3924
  "$value": "1rem",
3930
3925
  "$type": "dimension",
3931
- "attributes": {
3932
- "category": "size"
3933
- },
3934
3926
  "filePath": "src/tokens/constant/line_height.tokens.json",
3935
3927
  "isSource": true,
3936
3928
  "original": {
3937
- "$value": "16px",
3938
- "$type": "dimension",
3939
- "attributes": {
3940
- "category": "size"
3941
- }
3929
+ "$value": "1rem",
3930
+ "$type": "dimension"
3942
3931
  },
3943
3932
  "name": "LINE_HEIGHT_16",
3933
+ "attributes": {},
3944
3934
  "path": [
3945
3935
  "line-height",
3946
3936
  "16"
@@ -3949,19 +3939,14 @@
3949
3939
  "20": {
3950
3940
  "$value": "1.25rem",
3951
3941
  "$type": "dimension",
3952
- "attributes": {
3953
- "category": "size"
3954
- },
3955
3942
  "filePath": "src/tokens/constant/line_height.tokens.json",
3956
3943
  "isSource": true,
3957
3944
  "original": {
3958
- "$value": "20px",
3959
- "$type": "dimension",
3960
- "attributes": {
3961
- "category": "size"
3962
- }
3945
+ "$value": "1.25rem",
3946
+ "$type": "dimension"
3963
3947
  },
3964
3948
  "name": "LINE_HEIGHT_20",
3949
+ "attributes": {},
3965
3950
  "path": [
3966
3951
  "line-height",
3967
3952
  "20"
@@ -3970,19 +3955,14 @@
3970
3955
  "24": {
3971
3956
  "$value": "1.5rem",
3972
3957
  "$type": "dimension",
3973
- "attributes": {
3974
- "category": "size"
3975
- },
3976
3958
  "filePath": "src/tokens/constant/line_height.tokens.json",
3977
3959
  "isSource": true,
3978
3960
  "original": {
3979
- "$value": "24px",
3980
- "$type": "dimension",
3981
- "attributes": {
3982
- "category": "size"
3983
- }
3961
+ "$value": "1.5rem",
3962
+ "$type": "dimension"
3984
3963
  },
3985
3964
  "name": "LINE_HEIGHT_24",
3965
+ "attributes": {},
3986
3966
  "path": [
3987
3967
  "line-height",
3988
3968
  "24"
@@ -3991,19 +3971,14 @@
3991
3971
  "28": {
3992
3972
  "$value": "1.75rem",
3993
3973
  "$type": "dimension",
3994
- "attributes": {
3995
- "category": "size"
3996
- },
3997
3974
  "filePath": "src/tokens/constant/line_height.tokens.json",
3998
3975
  "isSource": true,
3999
3976
  "original": {
4000
- "$value": "28px",
4001
- "$type": "dimension",
4002
- "attributes": {
4003
- "category": "size"
4004
- }
3977
+ "$value": "1.75rem",
3978
+ "$type": "dimension"
4005
3979
  },
4006
3980
  "name": "LINE_HEIGHT_28",
3981
+ "attributes": {},
4007
3982
  "path": [
4008
3983
  "line-height",
4009
3984
  "28"
@@ -4012,19 +3987,14 @@
4012
3987
  "32": {
4013
3988
  "$value": "2rem",
4014
3989
  "$type": "dimension",
4015
- "attributes": {
4016
- "category": "size"
4017
- },
4018
3990
  "filePath": "src/tokens/constant/line_height.tokens.json",
4019
3991
  "isSource": true,
4020
3992
  "original": {
4021
- "$value": "32px",
4022
- "$type": "dimension",
4023
- "attributes": {
4024
- "category": "size"
4025
- }
3993
+ "$value": "2rem",
3994
+ "$type": "dimension"
4026
3995
  },
4027
3996
  "name": "LINE_HEIGHT_32",
3997
+ "attributes": {},
4028
3998
  "path": [
4029
3999
  "line-height",
4030
4000
  "32"
@@ -4033,19 +4003,14 @@
4033
4003
  "36": {
4034
4004
  "$value": "2.25rem",
4035
4005
  "$type": "dimension",
4036
- "attributes": {
4037
- "category": "size"
4038
- },
4039
4006
  "filePath": "src/tokens/constant/line_height.tokens.json",
4040
4007
  "isSource": true,
4041
4008
  "original": {
4042
- "$value": "36px",
4043
- "$type": "dimension",
4044
- "attributes": {
4045
- "category": "size"
4046
- }
4009
+ "$value": "2.25rem",
4010
+ "$type": "dimension"
4047
4011
  },
4048
4012
  "name": "LINE_HEIGHT_36",
4013
+ "attributes": {},
4049
4014
  "path": [
4050
4015
  "line-height",
4051
4016
  "36"
@@ -4054,19 +4019,14 @@
4054
4019
  "42": {
4055
4020
  "$value": "2.625rem",
4056
4021
  "$type": "dimension",
4057
- "attributes": {
4058
- "category": "size"
4059
- },
4060
4022
  "filePath": "src/tokens/constant/line_height.tokens.json",
4061
4023
  "isSource": true,
4062
4024
  "original": {
4063
- "$value": "42px",
4064
- "$type": "dimension",
4065
- "attributes": {
4066
- "category": "size"
4067
- }
4025
+ "$value": "2.625rem",
4026
+ "$type": "dimension"
4068
4027
  },
4069
4028
  "name": "LINE_HEIGHT_42",
4029
+ "attributes": {},
4070
4030
  "path": [
4071
4031
  "line-height",
4072
4032
  "42"
@@ -4075,19 +4035,14 @@
4075
4035
  "44": {
4076
4036
  "$value": "2.75rem",
4077
4037
  "$type": "dimension",
4078
- "attributes": {
4079
- "category": "size"
4080
- },
4081
4038
  "filePath": "src/tokens/constant/line_height.tokens.json",
4082
4039
  "isSource": true,
4083
4040
  "original": {
4084
- "$value": "44px",
4085
- "$type": "dimension",
4086
- "attributes": {
4087
- "category": "size"
4088
- }
4041
+ "$value": "2.75rem",
4042
+ "$type": "dimension"
4089
4043
  },
4090
4044
  "name": "LINE_HEIGHT_44",
4045
+ "attributes": {},
4091
4046
  "path": [
4092
4047
  "line-height",
4093
4048
  "44"
@@ -4096,19 +4051,14 @@
4096
4051
  "52": {
4097
4052
  "$value": "3.25rem",
4098
4053
  "$type": "dimension",
4099
- "attributes": {
4100
- "category": "size"
4101
- },
4102
4054
  "filePath": "src/tokens/constant/line_height.tokens.json",
4103
4055
  "isSource": true,
4104
4056
  "original": {
4105
- "$value": "52px",
4106
- "$type": "dimension",
4107
- "attributes": {
4108
- "category": "size"
4109
- }
4057
+ "$value": "3.25rem",
4058
+ "$type": "dimension"
4110
4059
  },
4111
4060
  "name": "LINE_HEIGHT_52",
4061
+ "attributes": {},
4112
4062
  "path": [
4113
4063
  "line-height",
4114
4064
  "52"
@@ -12420,7 +12370,7 @@
12420
12370
  },
12421
12371
  "width": {
12422
12372
  "default": {
12423
- "$value": "0.125rem",
12373
+ "$value": "2",
12424
12374
  "$type": "dimension",
12425
12375
  "$description": "Default stroke width to define shape and provide essential detail.",
12426
12376
  "filePath": "src/tokens/contextual/illustration.tokens.json",
@@ -12808,7 +12758,7 @@
12808
12758
  },
12809
12759
  "width": {
12810
12760
  "default": {
12811
- "$value": "0.125rem",
12761
+ "$value": "2",
12812
12762
  "$type": "dimension",
12813
12763
  "$description": "Default stroke width to define shape and provide essential detail in isometric illustration.",
12814
12764
  "filePath": "src/tokens/contextual/illustration.tokens.json",
@@ -245,7 +245,7 @@ $gl-avatar-fallback-background-color-orange: #e9be743d; // Orange background for
245
245
  $gl-avatar-fallback-background-color-neutral: #bfbfc33d; // Neutral background for avatar fallback with no particular meaning.
246
246
  $gl-chart-threshold-area-color: rgba(221,43,14,0.1); // Used in charts to delineate a threshold area in a chart.
247
247
  $gl-illustration-stroke-color-default: #e3e3e8; // Default stroke color to define shape and provide essential detail.
248
- $gl-illustration-stroke-width-default: 0.09375rem; // Default stroke width to define shape and provide essential detail.
248
+ $gl-illustration-stroke-width-default: 1.5; // Default stroke width to define shape and provide essential detail.
249
249
  $gl-illustration-fill-color-default: #423f4f; // Default fill color for an element where specific meaning or emphasis is not required.
250
250
  $gl-illustration-status-fill-color-neutral: #6f6796; // Used as a fill to convey a concept which is neither positive or negative.
251
251
  $gl-illustration-status-fill-color-success: #3b8581; // Used as a fill to convey a success or active concept, has a positive connotation.
@@ -260,7 +260,7 @@ $gl-illustration-accent-fill-color-orange: #aa563a; // Used to add orange to a s
260
260
  $gl-illustration-accent-fill-color-teal: #3b8581; // Used to add teal to a secondary element and supporting surface.
261
261
  $gl-illustration-base-fill-color: #32303c; // Used for the consistent background shape present across all illustrations. Provides a unified foundation that visually grounds each illustration while maintaining system cohesion.
262
262
  $gl-illustration-isometric-stroke-color-default: #e3e3e8; // Default stroke color to define shape and provide essential detail in isometric illustration.
263
- $gl-illustration-isometric-stroke-width-default: 0.09375rem; // Default stroke width to define shape and provide essential detail in isometric illustration.
263
+ $gl-illustration-isometric-stroke-width-default: 1.5; // Default stroke width to define shape and provide essential detail in isometric illustration.
264
264
  $gl-illustration-isometric-glyph-top-fill-color: #5a566c; // Used for the top face of isometric text and number elements.
265
265
  $gl-illustration-isometric-glyph-front-fill-color: #423f4f; // Used for the front face of isometric text and number elements.
266
266
  $gl-illustration-isometric-glyph-side-fill-color: #373441; // Used for the side face of isometric text and number elements.
@@ -245,7 +245,7 @@ $gl-avatar-fallback-background-color-orange: #e9be743d; // Orange background for
245
245
  $gl-avatar-fallback-background-color-neutral: #bfbfc33d; // Neutral background for avatar fallback with no particular meaning.
246
246
  $gl-chart-threshold-area-color: rgba(221,43,14,0.1); // Used in charts to delineate a threshold area in a chart.
247
247
  $gl-illustration-stroke-color-default: #171321; // Default stroke color to define shape and provide essential detail.
248
- $gl-illustration-stroke-width-default: 0.125rem; // Default stroke width to define shape and provide essential detail.
248
+ $gl-illustration-stroke-width-default: 2; // Default stroke width to define shape and provide essential detail.
249
249
  $gl-illustration-fill-color-default: #fff; // Default fill color for an element where specific meaning or emphasis is not required.
250
250
  $gl-illustration-status-fill-color-neutral: #aea5d6; // Used as a fill to convey a concept which is neither positive or negative.
251
251
  $gl-illustration-status-fill-color-success: #6fdac9; // Used as a fill to convey a success or active concept, has a positive connotation.
@@ -260,7 +260,7 @@ $gl-illustration-accent-fill-color-orange: #ff9d73; // Used to add orange to a s
260
260
  $gl-illustration-accent-fill-color-teal: #6fdac9; // Used to add teal to a secondary element and supporting surface.
261
261
  $gl-illustration-base-fill-color: #e7e4f2; // Used for the consistent background shape present across all illustrations. Provides a unified foundation that visually grounds each illustration while maintaining system cohesion.
262
262
  $gl-illustration-isometric-stroke-color-default: #171321; // Default stroke color to define shape and provide essential detail in isometric illustration.
263
- $gl-illustration-isometric-stroke-width-default: 0.125rem; // Default stroke width to define shape and provide essential detail in isometric illustration.
263
+ $gl-illustration-isometric-stroke-width-default: 2; // Default stroke width to define shape and provide essential detail in isometric illustration.
264
264
  $gl-illustration-isometric-glyph-top-fill-color: #c5f4ec; // Used for the top face of isometric text and number elements.
265
265
  $gl-illustration-isometric-glyph-front-fill-color: #fff; // Used for the front face of isometric text and number elements.
266
266
  $gl-illustration-isometric-glyph-side-fill-color: #6fdac9; // Used for the side face of isometric text and number elements.
@@ -1,74 +1,44 @@
1
1
  {
2
2
  "line-height": {
3
3
  "12": {
4
- "$value": "12px",
5
- "$type": "dimension",
6
- "attributes": {
7
- "category": "size"
8
- }
4
+ "$value": "0.75rem",
5
+ "$type": "dimension"
9
6
  },
10
7
  "16": {
11
- "$value": "16px",
12
- "$type": "dimension",
13
- "attributes": {
14
- "category": "size"
15
- }
8
+ "$value": "1rem",
9
+ "$type": "dimension"
16
10
  },
17
11
  "20": {
18
- "$value": "20px",
19
- "$type": "dimension",
20
- "attributes": {
21
- "category": "size"
22
- }
12
+ "$value": "1.25rem",
13
+ "$type": "dimension"
23
14
  },
24
15
  "24": {
25
- "$value": "24px",
26
- "$type": "dimension",
27
- "attributes": {
28
- "category": "size"
29
- }
16
+ "$value": "1.5rem",
17
+ "$type": "dimension"
30
18
  },
31
19
  "28": {
32
- "$value": "28px",
33
- "$type": "dimension",
34
- "attributes": {
35
- "category": "size"
36
- }
20
+ "$value": "1.75rem",
21
+ "$type": "dimension"
37
22
  },
38
23
  "32": {
39
- "$value": "32px",
40
- "$type": "dimension",
41
- "attributes": {
42
- "category": "size"
43
- }
24
+ "$value": "2rem",
25
+ "$type": "dimension"
44
26
  },
45
27
  "36": {
46
- "$value": "36px",
47
- "$type": "dimension",
48
- "attributes": {
49
- "category": "size"
50
- }
28
+ "$value": "2.25rem",
29
+ "$type": "dimension"
51
30
  },
52
31
  "42": {
53
- "$value": "42px",
54
- "$type": "dimension",
55
- "attributes": {
56
- "category": "size"
57
- }
32
+ "$value": "2.625rem",
33
+ "$type": "dimension"
58
34
  },
59
35
  "44": {
60
- "$value": "44px",
61
- "$type": "dimension",
62
- "attributes": {
63
- "category": "size"
64
- }
36
+ "$value": "2.75rem",
37
+ "$type": "dimension"
65
38
  },
66
39
  "52": {
67
- "$value": "52px",
68
- "$type": "dimension",
69
- "attributes": {
70
- "category": "size"
71
- }
40
+ "$value": "3.25rem",
41
+ "$type": "dimension"
72
42
  }
73
43
  }
74
44
  }
@@ -1,3 +1,5 @@
1
+ import { translate } from '../i18n';
2
+
1
3
  /**
2
4
  * As of %12.10 all annotations are added as a decorations
3
5
  * by piggybacking a scatter series. The series should
@@ -39,10 +41,10 @@ export const LEGEND_LAYOUT_TABLE = 'table';
39
41
  /**
40
42
  * Default values for the chart legend field labels
41
43
  */
42
- export const LEGEND_AVERAGE_TEXT = 'Avg';
43
- export const LEGEND_CURRENT_TEXT = 'Current';
44
- export const LEGEND_MIN_TEXT = 'Min';
45
- export const LEGEND_MAX_TEXT = 'Max';
44
+ export const LEGEND_AVERAGE_TEXT = () => translate('GlChartLegend.average', 'Avg');
45
+ export const LEGEND_CURRENT_TEXT = () => translate('GlChartLegend.current', 'Current');
46
+ export const LEGEND_MIN_TEXT = () => translate('GlChartLegend.min', 'Min');
47
+ export const LEGEND_MAX_TEXT = () => translate('GlChartLegend.max', 'Max');
46
48
 
47
49
  /**
48
50
  * These arrow symbols are used as markPoints under the annotations lines
@@ -4,7 +4,6 @@
4
4
  @import "form-radio/index";
5
5
  @import "input-group/index";
6
6
  @import "modal/index";
7
- @import "nav/index";
8
7
  @import "popover/index";
9
8
  @import "table/index";
10
9
  @import "toast/index";
@@ -26,7 +26,6 @@ nav.
26
26
  `<b-nav>` supports the following child components:
27
27
 
28
28
  - `<b-nav-item>` for actionable links (or router-links)
29
- - `<b-nav-item-dropdown>` for dropdowns
30
29
  - `<b-nav-text>` for plain text content
31
30
  - `<b-nav-form>` for inline forms
32
31
 
@@ -144,86 +143,6 @@ and `right`.
144
143
  <!-- b-nav-alignment.vue -->
145
144
  ```
146
145
 
147
- ## Dropdown support
148
-
149
- Use `<b-nav-item-dropdown>` to place dropdown items within your nav.
150
-
151
- ```html
152
- <div>
153
- <b-nav pills>
154
- <b-nav-item active>Active</b-nav-item>
155
- <b-nav-item>Link</b-nav-item>
156
- <b-nav-item-dropdown
157
- id="my-nav-dropdown"
158
- text="Dropdown"
159
- toggle-class="nav-link-custom"
160
- right
161
- >
162
- <b-dropdown-item>One</b-dropdown-item>
163
- <b-dropdown-item>Two</b-dropdown-item>
164
- <b-dropdown-divider></b-dropdown-divider>
165
- <b-dropdown-item>Three</b-dropdown-item>
166
- </b-nav-item-dropdown>
167
- </b-nav>
168
- </div>
169
-
170
- <!-- b-nav-item-dropdown.vue -->
171
- ```
172
-
173
- Sometimes you want to add your own class names to the generated dropdown toggle button, that by
174
- default have the classes `nav-link` and `dropdown-toggle`. Use the `toggle-class` prop to add them
175
- (like above) which will render HTML similar to:
176
-
177
- ```html
178
- <li id="my-nav-dropdown" class="nav-item b-nav-dropdown dropdown">
179
- <a
180
- role="button"
181
- href="#my-nav-dropdown"
182
- id="my-nav-dropdown__BV_button_"
183
- aria-haspopup="true"
184
- aria-expanded="false"
185
- class="nav-link dropdown-toggle nav-link-custom"
186
- ></a>
187
- ...
188
- </li>
189
- ```
190
-
191
- Refer to [`<b-dropdown>`](/docs/components/dropdown) for a list of supported sub-components.
192
-
193
- ### Optionally scoped default slot
194
-
195
- The dropdown default slot is optionally scoped with the following scope available:
196
-
197
- | Property or Method | Description |
198
- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------- |
199
- | `hide()` | Can be used to close the dropdown menu. Accepts an optional boolean argument, which if `true` returns focus to the toggle button |
200
-
201
- ### Lazy dropdown
202
-
203
- By default, `<b-nav-item-dropdown>` renders the menu contents in the DOM even when the menu is not
204
- shown. When there are a large number of dropdowns rendered on the same page, performance could be
205
- impacted due to larger overall memory utilization. You can instruct `<b-nav-item-dropdown>` to
206
- render the menu contents only when it is shown by setting the `lazy` prop to true.
207
-
208
- ### Dropdown placement
209
-
210
- Use the dropdown props `right`, `dropup`, `dropright`, `dropleft`, `no-flip`, and `offset` to
211
- control the positioning of `<b-nav-item-dropdown>`.
212
-
213
- Refer to the [`<b-dropdown>` positioning section](/docs/components/dropdown#positioning) for details
214
- on the effects and usage of these props.
215
-
216
- ### Dropdown implementation note
217
-
218
- Note that the toggle button is actually rendered as a link `<a>` tag with `role="button"` for
219
- styling purposes, and typically has the `href` set to `#` unless an ID is provided via the `id`
220
- prop.
221
-
222
- The toggle will prevent scroll-top-top behaviour (via JavaScript) when clicking the toggle link. In
223
- some cases when using SSR, and the user clicks the toggle button _before_ Vue has had a chance to
224
- hydrate the component, the page will scroll to top. In these cases, simply providing a unique ID via
225
- the `id` prop will prevent the unwanted scroll-to-top behaviour.
226
-
227
146
  ## Nav text content
228
147
 
229
148
  Use the `<b-nav-text>` child component to place plain text content into the nav:
@@ -425,10 +344,6 @@ most logical parent container of `<b-nav>`, or wrap a `<nav>` element around `<b
425
344
  add the role to the `<b-nav>` itself, as this would prevent it from being announced as an actual
426
345
  list by assistive technologies.
427
346
 
428
- When using a `<b-nav-item-dropdown>` in your `<b-nav>`, be sure to assign a unique `id` prop value
429
- to the `<b-nav-item-dropdown>` so that the appropriate `aria-*` attributes can be automatically
430
- generated.
431
-
432
347
  ### Tabbed interface accessibility
433
348
 
434
349
  Note that navigation bars, even if visually styled as tabs, should **not** be given
@@ -438,21 +353,9 @@ described in the [WAI ARIA Authoring Practices](https://www.w3.org/TR/wai-aria-p
438
353
  See [`<gl-tabs>`](?path=/docs/base-tabs--docs) for dynamic tabbed interfaces that are compliant with
439
354
  WAI ARIA.
440
355
 
441
- Tabbed interfaces should avoid using dropdown menus, as this causes both usability and accessibility
442
- issues:
443
-
444
- - From a usability perspective, the fact that the currently displayed tab’s trigger element is not
445
- immediately visible (as it’s inside the closed dropdown menu) can cause confusion.
446
- - From an accessibility point of view, there is currently no sensible way to map this sort of
447
- construct to a standard WAI ARIA pattern, meaning that it cannot be easily made understandable to
448
- users of assistive technologies.
449
-
450
356
  ## See also
451
357
 
452
- - [tabs](?path=/docs/base-tabs--docs) to create tabbable panes of local content, even via dropdown
453
- menus.
454
- - [`<b-dropdown>`](/docs/components/dropdown) for sub-components that you can place inside
455
- `<b-nav-item-dropdown>`
358
+ - [tabs](?path=/docs/base-tabs--docs) to create tabbable panes of local content.
456
359
  - [Router Link Support reference](?path=/docs/base-link--docs#router-link-support) for information
457
360
  about router-link specific props available on `<b-nav-item>`
458
361
 
@@ -1,5 +1,4 @@
1
1
  import { BNav } from './nav'
2
2
  import { BNavItem } from './nav-item'
3
- import { BNavItemDropdown } from './nav-item-dropdown'
4
3
 
5
- export { BNav, BNavItem, BNavItemDropdown }
4
+ export { BNav, BNavItem }
@@ -67,123 +67,6 @@
67
67
  "description": "Content to place in the nav item"
68
68
  }
69
69
  ]
70
- },
71
- {
72
- "component": "BNavItemDropdown",
73
- "aliases": [
74
- "BNavItemDd",
75
- "BNavDropdown",
76
- "BNavDd"
77
- ],
78
- "props": [
79
- {
80
- "prop": "boundary",
81
- "version": "2.4.0",
82
- "description": "The boundary constraint of the menu: 'scrollParent', 'window', 'viewport', or a reference to an HTMLElement."
83
- },
84
- {
85
- "prop": "dropleft",
86
- "description": "When set, positions the menu to the left of the button"
87
- },
88
- {
89
- "prop": "dropright",
90
- "description": "When set, positions the menu to the right of the button"
91
- },
92
- {
93
- "prop": "dropup",
94
- "description": "When set, positions the menu on the top of the button"
95
- },
96
- {
97
- "prop": "html",
98
- "description": "HTML string to place in the toggle element (link)",
99
- "xss": true
100
- },
101
- {
102
- "prop": "lazy",
103
- "description": "When set, will only mount the menu content into the DOM when the menu is open"
104
- },
105
- {
106
- "prop": "menuClass",
107
- "description": "CSS class (or classes) to add to the menu container"
108
- },
109
- {
110
- "prop": "noCaret",
111
- "description": "Hide the caret indicator on the toggle element (link)"
112
- },
113
- {
114
- "prop": "noFlip",
115
- "description": "Prevent the menu from auto flipping positions"
116
- },
117
- {
118
- "prop": "popperOpts",
119
- "description": "Additional configuration to pass to Popper.js"
120
- },
121
- {
122
- "prop": "right",
123
- "description": "Align the right edge of the menu with the right of the button"
124
- },
125
- {
126
- "prop": "text",
127
- "description": "Text to place in the toggle element (link)"
128
- },
129
- {
130
- "prop": "toggleClass",
131
- "description": "CSS class (or classes) to add to the toggle element (link)"
132
- }
133
- ],
134
- "events": [
135
- {
136
- "event": "hidden",
137
- "description": "Emitted when dropdown is hidden"
138
- },
139
- {
140
- "event": "hide",
141
- "description": "Emitted just before dropdown is hidden. Cancelable",
142
- "args": [
143
- {
144
- "arg": "bvEvent",
145
- "type": "BvEvent",
146
- "description": "BvEvent object. Call bvEvent.preventDefault() to cancel hide"
147
- }
148
- ]
149
- },
150
- {
151
- "event": "show",
152
- "description": "Emitted just before dropdown is shown. Cancelable",
153
- "args": [
154
- {
155
- "arg": "bvEvent",
156
- "type": "BvEvent",
157
- "description": "BvEvent object. Call bvEvent.preventDefault() to cancel show"
158
- }
159
- ]
160
- },
161
- {
162
- "event": "shown",
163
- "description": "Emitted when dropdown is shown"
164
- },
165
- {
166
- "event": "toggle",
167
- "description": "Emitted when toggle button is clicked"
168
- }
169
- ],
170
- "slots": [
171
- {
172
- "name": "button-content",
173
- "description": "Can be used to implement custom text with icons and more styling"
174
- },
175
- {
176
- "name": "default",
177
- "description": "Optionally scoped default slot for dropdown menu content",
178
- "scope": [
179
- {
180
- "prop": "hide",
181
- "type": "Function",
182
- "description": "Can be used to close the dropdown menu. Accepts an optional boolean argument, which if true returns focus to the toggle button"
183
- }
184
- ]
185
- }
186
- ]
187
70
  }
188
71
  ]
189
72
  }