@gitlab/ui 85.4.1 → 85.6.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/components/base/banner/banner.js +1 -2
  3. package/dist/index.css +2 -2
  4. package/dist/index.css.map +1 -1
  5. package/dist/tokens/build/js/tokens.dark.js +4 -1
  6. package/dist/tokens/build/js/tokens.js +4 -1
  7. package/dist/tokens/css/tokens.css +3 -0
  8. package/dist/tokens/css/tokens.dark.css +3 -0
  9. package/dist/tokens/js/tokens.dark.js +3 -0
  10. package/dist/tokens/js/tokens.js +3 -0
  11. package/dist/tokens/json/tokens.dark.json +82 -0
  12. package/dist/tokens/json/tokens.json +82 -0
  13. package/dist/tokens/scss/_tokens.dark.scss +3 -0
  14. package/dist/tokens/scss/_tokens.scss +3 -0
  15. package/dist/tokens/scss/_tokens_custom_properties.scss +3 -0
  16. package/package.json +1 -1
  17. package/src/components/base/banner/banner.scss +8 -2
  18. package/src/components/base/banner/banner.vue +1 -2
  19. package/src/components/base/popover/popover.scss +15 -3
  20. package/src/components/base/tooltip/tooltip.scss +6 -0
  21. package/src/tokens/build/css/tokens.css +3 -0
  22. package/src/tokens/build/css/tokens.dark.css +3 -0
  23. package/src/tokens/build/js/tokens.dark.js +3 -0
  24. package/src/tokens/build/js/tokens.js +3 -0
  25. package/src/tokens/build/json/tokens.dark.json +82 -0
  26. package/src/tokens/build/json/tokens.json +82 -0
  27. package/src/tokens/build/scss/_tokens.dark.scss +3 -0
  28. package/src/tokens/build/scss/_tokens.scss +3 -0
  29. package/src/tokens/build/scss/_tokens_custom_properties.scss +3 -0
  30. package/src/tokens/contextual/banner.tokens.json +28 -0
  31. package/src/tokens/contextual/popover.tokens.json +14 -0
@@ -421,7 +421,10 @@ export const T_WHITE_A_02 = 'rgba(255, 255, 255, 0.02)';
421
421
  export const T_WHITE_A_04 = 'rgba(255, 255, 255, 0.04)';
422
422
  export const T_WHITE_A_06 = 'rgba(255, 255, 255, 0.06)';
423
423
  export const T_WHITE_A_08 = 'rgba(255, 255, 255, 0.08)';
424
+ export const GL_BANNER_INTRO_BORDER_COLOR = '#63a6e9'; // Used to compliment the info banner.
425
+ export const GL_BANNER_PROMO_BACKGROUND_COLOR = '#fbfafd'; // Used as background for the default banner type.
424
426
  export const GL_BREADCRUMB_SEPARATOR_COLOR = '#bfbfc3'; // Used for the breadcrumb level separator.
427
+ export const GL_POPOVER_BACKGROUND_COLOR = '#fff'; // Used for the background color of popover.
425
428
  export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for form control (input, radio button, checkbox, textarea) default background.
426
429
  export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
427
430
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#1f75cb'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
@@ -8943,6 +8943,62 @@
8943
8943
  ]
8944
8944
  }
8945
8945
  },
8946
+ "banner": {
8947
+ "intro": {
8948
+ "border": {
8949
+ "color": {
8950
+ "value": "#1068bf",
8951
+ "$type": "color",
8952
+ "comment": "Used to compliment the info banner.",
8953
+ "filePath": "src/tokens/contextual/banner.tokens.json",
8954
+ "isSource": true,
8955
+ "original": {
8956
+ "value": {
8957
+ "default": "{color.blue.300}",
8958
+ "dark": "{color.blue.600}"
8959
+ },
8960
+ "$type": "color",
8961
+ "comment": "Used to compliment the info banner."
8962
+ },
8963
+ "name": "BANNER_INTRO_BORDER_COLOR",
8964
+ "attributes": {},
8965
+ "path": [
8966
+ "banner",
8967
+ "intro",
8968
+ "border",
8969
+ "color"
8970
+ ]
8971
+ }
8972
+ }
8973
+ },
8974
+ "promo": {
8975
+ "background": {
8976
+ "color": {
8977
+ "value": "#333238",
8978
+ "$type": "color",
8979
+ "comment": "Used as background for the default banner type.",
8980
+ "filePath": "src/tokens/contextual/banner.tokens.json",
8981
+ "isSource": true,
8982
+ "original": {
8983
+ "value": {
8984
+ "default": "{color.neutral.10}",
8985
+ "dark": "{color.neutral.900}"
8986
+ },
8987
+ "$type": "color",
8988
+ "comment": "Used as background for the default banner type."
8989
+ },
8990
+ "name": "BANNER_PROMO_BACKGROUND_COLOR",
8991
+ "attributes": {},
8992
+ "path": [
8993
+ "banner",
8994
+ "promo",
8995
+ "background",
8996
+ "color"
8997
+ ]
8998
+ }
8999
+ }
9000
+ }
9001
+ },
8946
9002
  "breadcrumb": {
8947
9003
  "separator": {
8948
9004
  "color": {
@@ -8969,6 +9025,32 @@
8969
9025
  }
8970
9026
  }
8971
9027
  },
9028
+ "popover": {
9029
+ "background": {
9030
+ "color": {
9031
+ "value": "#333238",
9032
+ "$type": "color",
9033
+ "comment": "Used for the background color of popover.",
9034
+ "filePath": "src/tokens/contextual/popover.tokens.json",
9035
+ "isSource": true,
9036
+ "original": {
9037
+ "value": {
9038
+ "default": "{color.neutral.0}",
9039
+ "dark": "{color.neutral.900}"
9040
+ },
9041
+ "$type": "color",
9042
+ "comment": "Used for the background color of popover."
9043
+ },
9044
+ "name": "POPOVER_BACKGROUND_COLOR",
9045
+ "attributes": {},
9046
+ "path": [
9047
+ "popover",
9048
+ "background",
9049
+ "color"
9050
+ ]
9051
+ }
9052
+ }
9053
+ },
8972
9054
  "control": {
8973
9055
  "background": {
8974
9056
  "color": {
@@ -8943,6 +8943,62 @@
8943
8943
  ]
8944
8944
  }
8945
8945
  },
8946
+ "banner": {
8947
+ "intro": {
8948
+ "border": {
8949
+ "color": {
8950
+ "value": "#63a6e9",
8951
+ "$type": "color",
8952
+ "comment": "Used to compliment the info banner.",
8953
+ "filePath": "src/tokens/contextual/banner.tokens.json",
8954
+ "isSource": true,
8955
+ "original": {
8956
+ "value": {
8957
+ "default": "{color.blue.300}",
8958
+ "dark": "{color.blue.600}"
8959
+ },
8960
+ "$type": "color",
8961
+ "comment": "Used to compliment the info banner."
8962
+ },
8963
+ "name": "BANNER_INTRO_BORDER_COLOR",
8964
+ "attributes": {},
8965
+ "path": [
8966
+ "banner",
8967
+ "intro",
8968
+ "border",
8969
+ "color"
8970
+ ]
8971
+ }
8972
+ }
8973
+ },
8974
+ "promo": {
8975
+ "background": {
8976
+ "color": {
8977
+ "value": "#fbfafd",
8978
+ "$type": "color",
8979
+ "comment": "Used as background for the default banner type.",
8980
+ "filePath": "src/tokens/contextual/banner.tokens.json",
8981
+ "isSource": true,
8982
+ "original": {
8983
+ "value": {
8984
+ "default": "{color.neutral.10}",
8985
+ "dark": "{color.neutral.900}"
8986
+ },
8987
+ "$type": "color",
8988
+ "comment": "Used as background for the default banner type."
8989
+ },
8990
+ "name": "BANNER_PROMO_BACKGROUND_COLOR",
8991
+ "attributes": {},
8992
+ "path": [
8993
+ "banner",
8994
+ "promo",
8995
+ "background",
8996
+ "color"
8997
+ ]
8998
+ }
8999
+ }
9000
+ }
9001
+ },
8946
9002
  "breadcrumb": {
8947
9003
  "separator": {
8948
9004
  "color": {
@@ -8969,6 +9025,32 @@
8969
9025
  }
8970
9026
  }
8971
9027
  },
9028
+ "popover": {
9029
+ "background": {
9030
+ "color": {
9031
+ "value": "#fff",
9032
+ "$type": "color",
9033
+ "comment": "Used for the background color of popover.",
9034
+ "filePath": "src/tokens/contextual/popover.tokens.json",
9035
+ "isSource": true,
9036
+ "original": {
9037
+ "value": {
9038
+ "default": "{color.neutral.0}",
9039
+ "dark": "{color.neutral.900}"
9040
+ },
9041
+ "$type": "color",
9042
+ "comment": "Used for the background color of popover."
9043
+ },
9044
+ "name": "POPOVER_BACKGROUND_COLOR",
9045
+ "attributes": {},
9046
+ "path": [
9047
+ "popover",
9048
+ "background",
9049
+ "color"
9050
+ ]
9051
+ }
9052
+ }
9053
+ },
8972
9054
  "control": {
8973
9055
  "background": {
8974
9056
  "color": {
@@ -514,7 +514,10 @@ $gl-control-background-color-selected-hover: $gl-color-blue-200; // Used for che
514
514
  $gl-control-background-color-selected-default: $gl-color-blue-400; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
515
515
  $gl-control-background-color-disabled: $gl-color-neutral-950; // Used for disabled form control (checkbox, input, radio button, textarea) background.
516
516
  $gl-control-background-color-default: $gl-color-neutral-900; // Used for form control (input, radio button, checkbox, textarea) default background.
517
+ $gl-popover-background-color: $gl-color-neutral-900; // Used for the background color of popover.
517
518
  $gl-breadcrumb-separator-color: $gl-color-neutral-700; // Used for the breadcrumb level separator.
519
+ $gl-banner-promo-background-color: $gl-color-neutral-900; // Used as background for the default banner type.
520
+ $gl-banner-intro-border-color: $gl-color-blue-600; // Used to compliment the info banner.
518
521
  $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
519
522
  $gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
520
523
  $gl-border-color-subtle: $gl-color-neutral-900; // Used for a border that has a little more definition, or is used in combination with a subtle background.
@@ -514,7 +514,10 @@ $gl-control-background-color-selected-hover: $gl-color-blue-700; // Used for che
514
514
  $gl-control-background-color-selected-default: $gl-color-blue-500; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
515
515
  $gl-control-background-color-disabled: $gl-color-neutral-10; // Used for disabled form control (checkbox, input, radio button, textarea) background.
516
516
  $gl-control-background-color-default: $gl-color-neutral-0; // Used for form control (input, radio button, checkbox, textarea) default background.
517
+ $gl-popover-background-color: $gl-color-neutral-0; // Used for the background color of popover.
517
518
  $gl-breadcrumb-separator-color: $gl-color-neutral-200; // Used for the breadcrumb level separator.
519
+ $gl-banner-promo-background-color: $gl-color-neutral-10; // Used as background for the default banner type.
520
+ $gl-banner-intro-border-color: $gl-color-blue-300; // Used to compliment the info banner.
518
521
  $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
519
522
  $gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
520
523
  $gl-border-color-subtle: $gl-color-neutral-50; // Used for a border that has a little more definition, or is used in combination with a subtle background.
@@ -421,7 +421,10 @@ $t-white-a-02: var(--t-white-a-02);
421
421
  $t-white-a-04: var(--t-white-a-04);
422
422
  $t-white-a-06: var(--t-white-a-06);
423
423
  $t-white-a-08: var(--t-white-a-08);
424
+ $gl-banner-intro-border-color: var(--gl-banner-intro-border-color);
425
+ $gl-banner-promo-background-color: var(--gl-banner-promo-background-color);
424
426
  $gl-breadcrumb-separator-color: var(--gl-breadcrumb-separator-color);
427
+ $gl-popover-background-color: var(--gl-popover-background-color);
425
428
  $gl-control-background-color-default: var(--gl-control-background-color-default);
426
429
  $gl-control-background-color-disabled: var(--gl-control-background-color-disabled);
427
430
  $gl-control-background-color-selected-default: var(--gl-control-background-color-selected-default);
@@ -0,0 +1,28 @@
1
+ {
2
+ "banner": {
3
+ "intro": {
4
+ "border": {
5
+ "color": {
6
+ "$value": {
7
+ "default": "{color.blue.300}",
8
+ "dark": "{color.blue.600}"
9
+ },
10
+ "$type": "color",
11
+ "$description": "Used to compliment the info banner."
12
+ }
13
+ }
14
+ },
15
+ "promo": {
16
+ "background": {
17
+ "color": {
18
+ "$value": {
19
+ "default": "{color.neutral.10}",
20
+ "dark": "{color.neutral.900}"
21
+ },
22
+ "$type": "color",
23
+ "$description": "Used as background for the default banner type."
24
+ }
25
+ }
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "popover": {
3
+ "background": {
4
+ "color": {
5
+ "$value": {
6
+ "default": "{color.neutral.0}",
7
+ "dark": "{color.neutral.900}"
8
+ },
9
+ "$type": "color",
10
+ "$description": "Used for the background color of popover."
11
+ }
12
+ }
13
+ }
14
+ }