@gitlab/ui 85.9.0 → 85.11.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/base/datepicker/datepicker.js +1 -1
- package/dist/components/base/popover/popover.js +1 -1
- package/dist/components/base/search_box_by_click/search_box_by_click.js +1 -1
- package/dist/components/base/table/table.js +1 -1
- package/dist/components/base/token_selector/token_selector.js +1 -1
- package/dist/components/charts/single_stat/single_stat.js +1 -1
- package/dist/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.js +1 -1
- package/dist/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.js +1 -1
- package/dist/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.js +3 -3
- package/dist/components/experimental/duo/chat/duo_chat.js +2 -2
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +36 -1
- package/dist/tokens/build/js/tokens.js +36 -1
- package/dist/tokens/css/tokens.css +35 -0
- package/dist/tokens/css/tokens.dark.css +35 -0
- package/dist/tokens/js/tokens.dark.js +35 -0
- package/dist/tokens/js/tokens.js +35 -0
- package/dist/tokens/json/tokens.dark.json +875 -0
- package/dist/tokens/json/tokens.json +875 -0
- package/dist/tokens/scss/_tokens.dark.scss +35 -0
- package/dist/tokens/scss/_tokens.scss +35 -0
- package/dist/tokens/scss/_tokens_custom_properties.scss +35 -0
- package/dist/tokens/tailwind/tokens.cjs +2 -0
- package/package.json +5 -4
- package/src/components/base/datepicker/datepicker.vue +1 -1
- package/src/components/base/form/form_fields/validators.js +1 -1
- package/src/components/base/modal/modal.scss +6 -4
- package/src/components/base/popover/popover.vue +1 -1
- package/src/components/base/search_box_by_click/search_box_by_click.vue +1 -1
- package/src/components/base/skeleton_loader/skeleton_loader.scss +2 -2
- package/src/components/base/table/table.vue +1 -1
- package/src/components/base/token_selector/token_selector.vue +1 -1
- package/src/components/charts/single_stat/single_stat.vue +1 -1
- package/src/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.vue +1 -1
- package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.vue +1 -1
- package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.vue +3 -3
- package/src/components/experimental/duo/chat/duo_chat.vue +8 -8
- package/src/tokens/action.tokens.json +277 -0
- package/src/tokens/background.tokens.json +8 -0
- package/src/tokens/build/css/tokens.css +35 -0
- package/src/tokens/build/css/tokens.dark.css +35 -0
- package/src/tokens/build/js/tokens.dark.js +35 -0
- package/src/tokens/build/js/tokens.js +35 -0
- package/src/tokens/build/json/tokens.dark.json +875 -0
- package/src/tokens/build/json/tokens.json +875 -0
- package/src/tokens/build/scss/_tokens.dark.scss +35 -0
- package/src/tokens/build/scss/_tokens.scss +35 -0
- package/src/tokens/build/scss/_tokens_custom_properties.scss +35 -0
- package/src/tokens/build/tailwind/tokens.cjs +2 -0
- package/src/tokens/contextual/skeleton-loader.tokens.json +24 -0
|
@@ -514,6 +514,8 @@ $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-skeleton-loader-shimmer-color: $gl-color-neutral-700; // Used for the animated shimmer effect in a skeleton loader.
|
|
518
|
+
$gl-skeleton-loader-background-color: $gl-color-neutral-800; // Used for the skeleton loader background color.
|
|
517
519
|
$gl-popover-background-color: $gl-color-neutral-900; // Used for the background color of popover.
|
|
518
520
|
$gl-breadcrumb-separator-color: $gl-color-neutral-700; // Used for the breadcrumb level separator.
|
|
519
521
|
$gl-banner-promo-background-color: $gl-color-neutral-900; // Used as background for the default banner type.
|
|
@@ -530,10 +532,43 @@ $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to
|
|
|
530
532
|
$gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
531
533
|
$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.
|
|
532
534
|
$gl-border-color-default: $gl-color-neutral-800; // Used for the default border color.
|
|
535
|
+
$gl-background-color-overlay: rgba(0,0,0,0.64); // Used for an overlay that covers other content.
|
|
533
536
|
$gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disabled section.
|
|
534
537
|
$gl-background-color-strong: $gl-color-neutral-800; // Used to make the background easily stand out from the default.
|
|
535
538
|
$gl-background-color-subtle: $gl-color-neutral-900; // Used to slightly differentiate the background from the default.
|
|
536
539
|
$gl-background-color-default: $gl-color-neutral-950; // Used for the default background color.
|
|
540
|
+
$gl-action-confirm-icon-color-strong: $gl-color-neutral-900; // Used for the icon on a solid, strong confirm (positive) action background.
|
|
541
|
+
$gl-action-confirm-icon-color-active: $gl-color-blue-50; // Used for the icon of a confirm (positive) action in the active state.
|
|
542
|
+
$gl-action-confirm-icon-color-focus: $gl-color-blue-200; // Used for the icon of a confirm (positive) action in the focus state.
|
|
543
|
+
$gl-action-confirm-icon-color-hover: $gl-color-blue-200; // Used for the icon of a confirm (positive) action in the hover state.
|
|
544
|
+
$gl-action-confirm-icon-color-default: $gl-color-blue-400; // Used for the icon of a confirm (positive) action in the default state.
|
|
545
|
+
$gl-action-confirm-text-color-strong: $gl-color-neutral-900; // Used for the text on a solid, strong confirm (positive) action background.
|
|
546
|
+
$gl-action-confirm-text-color-active: $gl-color-blue-50; // Used for the text of a confirm (positive) action in the active state.
|
|
547
|
+
$gl-action-confirm-text-color-focus: $gl-color-blue-200; // Used for the text of a confirm (positive) action in the focus state.
|
|
548
|
+
$gl-action-confirm-text-color-hover: $gl-color-blue-200; // Used for the text of a confirm (positive) action in the hover state.
|
|
549
|
+
$gl-action-confirm-text-color-default: $gl-color-blue-400; // Used for the text of a confirm (positive) action in the default state.
|
|
550
|
+
$gl-action-confirm-border-color-strong-selected: $gl-color-blue-300; // Used for the border of a solid, strong confirm (positive) action when in a selected or current state.
|
|
551
|
+
$gl-action-confirm-border-color-strong-active: $gl-color-blue-50; // Used for the border of a solid, strong confirm (positive) action in the active state.
|
|
552
|
+
$gl-action-confirm-border-color-strong-focus: $gl-color-blue-100; // Used for the border of a solid, strong confirm (positive) action in the focus state.
|
|
553
|
+
$gl-action-confirm-border-color-strong-hover: $gl-color-blue-100; // Used for the border of a solid, strong confirm (positive) action in the hover state.
|
|
554
|
+
$gl-action-confirm-border-color-strong-default: $gl-color-blue-300; // Used for the border of a solid, strong confirm (positive) action in the default state.
|
|
555
|
+
$gl-action-confirm-border-color-active: $gl-color-blue-50; // Used for the border of an outlined confirm (positive) action in the active state.
|
|
556
|
+
$gl-action-confirm-border-color-focus: $gl-color-blue-200; // Used for the border of an outlined confirm (positive) action in the focus state.
|
|
557
|
+
$gl-action-confirm-border-color-hover: $gl-color-blue-200; // Used for the border of an outlined confirm (positive) action in the hover state.
|
|
558
|
+
$gl-action-confirm-border-color-default: $gl-color-blue-400; // Used for the border of an outlined confirm (positive) action in the default state.
|
|
559
|
+
$gl-action-confirm-background-color-strong-selected: $gl-color-blue-400; // Used for the background of a solid, strong confirm (positive) action when in a selected or current state.
|
|
560
|
+
$gl-action-confirm-background-color-strong-active: $gl-color-blue-200; // Used for the background of a solid, strong confirm (positive) action in the active state.
|
|
561
|
+
$gl-action-confirm-background-color-strong-focus: $gl-color-blue-300; // Used for the background of a solid, strong confirm (positive) action in the focus state.
|
|
562
|
+
$gl-action-confirm-background-color-strong-hover: $gl-color-blue-300; // Used for the background of a solid, strong confirm (positive) action in the hover state.
|
|
563
|
+
$gl-action-confirm-background-color-strong-default: $gl-color-blue-400; // Used for the background of a solid, strong confirm (positive) action in the default state.
|
|
564
|
+
$gl-action-confirm-background-color-subtle-active: $gl-color-blue-800; // Used for the background of a borderless, subtle confirm (positive) action in the active state.
|
|
565
|
+
$gl-action-confirm-background-color-subtle-focus: $gl-color-blue-900; // Used for the background of a borderless, subtle confirm (positive) action in the focus state.
|
|
566
|
+
$gl-action-confirm-background-color-subtle-hover: $gl-color-blue-900; // Used for the background of a borderless, subtle confirm (positive) action in the hover state.
|
|
567
|
+
$gl-action-confirm-background-color-subtle-default: $gl-color-alpha-0; // Used for the background of a borderless, subtle confirm (positive) action in the default state.
|
|
568
|
+
$gl-action-confirm-background-color-active: $gl-color-blue-800; // Used for the background of an outlined confirm (positive) action in the active state.
|
|
569
|
+
$gl-action-confirm-background-color-focus: $gl-color-blue-900; // Used for the background of an outlined confirm (positive) action in the focus state.
|
|
570
|
+
$gl-action-confirm-background-color-hover: $gl-color-blue-900; // Used for the background of an outlined confirm (positive) action in the hover state.
|
|
571
|
+
$gl-action-confirm-background-color-default: $gl-color-neutral-900; // Used for the background of an outlined confirm (positive) action in the default state.
|
|
537
572
|
$gl-action-neutral-icon-color-strong: $gl-color-neutral-900; // Used for the icon on a solid, strong neutral action background.
|
|
538
573
|
$gl-action-neutral-icon-color-active: $gl-color-neutral-50; // Used for the icon of outlined and borderless neutral actions in the active state.
|
|
539
574
|
$gl-action-neutral-icon-color-focus: $gl-color-neutral-200; // Used for the icon of outlined and borderless neutral actions in the focus state.
|
|
@@ -514,6 +514,8 @@ $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-skeleton-loader-shimmer-color: $gl-color-neutral-50; // Used for the animated shimmer effect in a skeleton loader.
|
|
518
|
+
$gl-skeleton-loader-background-color: $gl-color-neutral-100; // Used for the skeleton loader background color.
|
|
517
519
|
$gl-popover-background-color: $gl-color-neutral-0; // Used for the background color of popover.
|
|
518
520
|
$gl-breadcrumb-separator-color: $gl-color-neutral-200; // Used for the breadcrumb level separator.
|
|
519
521
|
$gl-banner-promo-background-color: $gl-color-neutral-10; // Used as background for the default banner type.
|
|
@@ -530,10 +532,43 @@ $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to
|
|
|
530
532
|
$gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
531
533
|
$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.
|
|
532
534
|
$gl-border-color-default: $gl-color-neutral-100; // Used for the default border color.
|
|
535
|
+
$gl-background-color-overlay: $gl-color-alpha-dark-24; // Used for an overlay that covers other content.
|
|
533
536
|
$gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disabled section.
|
|
534
537
|
$gl-background-color-strong: $gl-color-neutral-50; // Used to make the background easily stand out from the default.
|
|
535
538
|
$gl-background-color-subtle: $gl-color-neutral-10; // Used to slightly differentiate the background from the default.
|
|
536
539
|
$gl-background-color-default: $gl-color-neutral-0; // Used for the default background color.
|
|
540
|
+
$gl-action-confirm-icon-color-strong: $gl-color-neutral-0; // Used for the icon on a solid, strong confirm (positive) action background.
|
|
541
|
+
$gl-action-confirm-icon-color-active: $gl-color-blue-900; // Used for the icon of a confirm (positive) action in the active state.
|
|
542
|
+
$gl-action-confirm-icon-color-focus: $gl-color-blue-700; // Used for the icon of a confirm (positive) action in the focus state.
|
|
543
|
+
$gl-action-confirm-icon-color-hover: $gl-color-blue-700; // Used for the icon of a confirm (positive) action in the hover state.
|
|
544
|
+
$gl-action-confirm-icon-color-default: $gl-color-blue-500; // Used for the icon of a confirm (positive) action in the default state.
|
|
545
|
+
$gl-action-confirm-text-color-strong: $gl-color-neutral-0; // Used for the text on a solid, strong confirm (positive) action background.
|
|
546
|
+
$gl-action-confirm-text-color-active: $gl-color-blue-900; // Used for the text of a confirm (positive) action in the active state.
|
|
547
|
+
$gl-action-confirm-text-color-focus: $gl-color-blue-700; // Used for the text of a confirm (positive) action in the focus state.
|
|
548
|
+
$gl-action-confirm-text-color-hover: $gl-color-blue-700; // Used for the text of a confirm (positive) action in the hover state.
|
|
549
|
+
$gl-action-confirm-text-color-default: $gl-color-blue-500; // Used for the text of a confirm (positive) action in the default state.
|
|
550
|
+
$gl-action-confirm-border-color-strong-selected: $gl-color-blue-600; // Used for the border of a solid, strong confirm (positive) action when in a selected or current state.
|
|
551
|
+
$gl-action-confirm-border-color-strong-active: $gl-color-blue-900; // Used for the border of a solid, strong confirm (positive) action in the active state.
|
|
552
|
+
$gl-action-confirm-border-color-strong-focus: $gl-color-blue-800; // Used for the border of a solid, strong confirm (positive) action in the focus state.
|
|
553
|
+
$gl-action-confirm-border-color-strong-hover: $gl-color-blue-800; // Used for the border of a solid, strong confirm (positive) action in the hover state.
|
|
554
|
+
$gl-action-confirm-border-color-strong-default: $gl-color-blue-600; // Used for the border of a solid, strong confirm (positive) action in the default state.
|
|
555
|
+
$gl-action-confirm-border-color-active: $gl-color-blue-900; // Used for the border of an outlined confirm (positive) action in the active state.
|
|
556
|
+
$gl-action-confirm-border-color-focus: $gl-color-blue-700; // Used for the border of an outlined confirm (positive) action in the focus state.
|
|
557
|
+
$gl-action-confirm-border-color-hover: $gl-color-blue-700; // Used for the border of an outlined confirm (positive) action in the hover state.
|
|
558
|
+
$gl-action-confirm-border-color-default: $gl-color-blue-500; // Used for the border of an outlined confirm (positive) action in the default state.
|
|
559
|
+
$gl-action-confirm-background-color-strong-selected: $gl-color-blue-500; // Used for the background of a solid, strong confirm (positive) action when in a selected or current state.
|
|
560
|
+
$gl-action-confirm-background-color-strong-active: $gl-color-blue-700; // Used for the background of a solid, strong confirm (positive) action in the active state.
|
|
561
|
+
$gl-action-confirm-background-color-strong-focus: $gl-color-blue-600; // Used for the background of a solid, strong confirm (positive) action in the focus state.
|
|
562
|
+
$gl-action-confirm-background-color-strong-hover: $gl-color-blue-600; // Used for the background of a solid, strong confirm (positive) action in the hover state.
|
|
563
|
+
$gl-action-confirm-background-color-strong-default: $gl-color-blue-500; // Used for the background of a solid, strong confirm (positive) action in the default state.
|
|
564
|
+
$gl-action-confirm-background-color-subtle-active: $gl-color-blue-100; // Used for the background of a borderless, subtle confirm (positive) action in the active state.
|
|
565
|
+
$gl-action-confirm-background-color-subtle-focus: $gl-color-blue-50; // Used for the background of a borderless, subtle confirm (positive) action in the focus state.
|
|
566
|
+
$gl-action-confirm-background-color-subtle-hover: $gl-color-blue-50; // Used for the background of a borderless, subtle confirm (positive) action in the hover state.
|
|
567
|
+
$gl-action-confirm-background-color-subtle-default: $gl-color-alpha-0; // Used for the background of a borderless, subtle confirm (positive) action in the default state.
|
|
568
|
+
$gl-action-confirm-background-color-active: $gl-color-blue-100; // Used for the background of an outlined confirm (positive) action in the active state.
|
|
569
|
+
$gl-action-confirm-background-color-focus: $gl-color-blue-50; // Used for the background of an outlined confirm (positive) action in the focus state.
|
|
570
|
+
$gl-action-confirm-background-color-hover: $gl-color-blue-50; // Used for the background of an outlined confirm (positive) action in the hover state.
|
|
571
|
+
$gl-action-confirm-background-color-default: $gl-color-neutral-0; // Used for the background of an outlined confirm (positive) action in the default state.
|
|
537
572
|
$gl-action-neutral-icon-color-strong: $gl-color-neutral-0; // Used for the icon on a solid, strong neutral action background.
|
|
538
573
|
$gl-action-neutral-icon-color-active: $gl-color-neutral-900; // Used for the icon of outlined and borderless neutral actions in the active state.
|
|
539
574
|
$gl-action-neutral-icon-color-focus: $gl-color-neutral-700; // Used for the icon of outlined and borderless neutral actions in the focus state.
|
|
@@ -38,10 +38,43 @@ $gl-action-neutral-icon-color-hover: var(--gl-action-neutral-icon-color-hover);
|
|
|
38
38
|
$gl-action-neutral-icon-color-focus: var(--gl-action-neutral-icon-color-focus);
|
|
39
39
|
$gl-action-neutral-icon-color-active: var(--gl-action-neutral-icon-color-active);
|
|
40
40
|
$gl-action-neutral-icon-color-strong: var(--gl-action-neutral-icon-color-strong);
|
|
41
|
+
$gl-action-confirm-background-color-default: var(--gl-action-confirm-background-color-default);
|
|
42
|
+
$gl-action-confirm-background-color-hover: var(--gl-action-confirm-background-color-hover);
|
|
43
|
+
$gl-action-confirm-background-color-focus: var(--gl-action-confirm-background-color-focus);
|
|
44
|
+
$gl-action-confirm-background-color-active: var(--gl-action-confirm-background-color-active);
|
|
45
|
+
$gl-action-confirm-background-color-subtle-default: var(--gl-action-confirm-background-color-subtle-default);
|
|
46
|
+
$gl-action-confirm-background-color-subtle-hover: var(--gl-action-confirm-background-color-subtle-hover);
|
|
47
|
+
$gl-action-confirm-background-color-subtle-focus: var(--gl-action-confirm-background-color-subtle-focus);
|
|
48
|
+
$gl-action-confirm-background-color-subtle-active: var(--gl-action-confirm-background-color-subtle-active);
|
|
49
|
+
$gl-action-confirm-background-color-strong-default: var(--gl-action-confirm-background-color-strong-default);
|
|
50
|
+
$gl-action-confirm-background-color-strong-hover: var(--gl-action-confirm-background-color-strong-hover);
|
|
51
|
+
$gl-action-confirm-background-color-strong-focus: var(--gl-action-confirm-background-color-strong-focus);
|
|
52
|
+
$gl-action-confirm-background-color-strong-active: var(--gl-action-confirm-background-color-strong-active);
|
|
53
|
+
$gl-action-confirm-background-color-strong-selected: var(--gl-action-confirm-background-color-strong-selected);
|
|
54
|
+
$gl-action-confirm-border-color-default: var(--gl-action-confirm-border-color-default);
|
|
55
|
+
$gl-action-confirm-border-color-hover: var(--gl-action-confirm-border-color-hover);
|
|
56
|
+
$gl-action-confirm-border-color-focus: var(--gl-action-confirm-border-color-focus);
|
|
57
|
+
$gl-action-confirm-border-color-active: var(--gl-action-confirm-border-color-active);
|
|
58
|
+
$gl-action-confirm-border-color-strong-default: var(--gl-action-confirm-border-color-strong-default);
|
|
59
|
+
$gl-action-confirm-border-color-strong-hover: var(--gl-action-confirm-border-color-strong-hover);
|
|
60
|
+
$gl-action-confirm-border-color-strong-focus: var(--gl-action-confirm-border-color-strong-focus);
|
|
61
|
+
$gl-action-confirm-border-color-strong-active: var(--gl-action-confirm-border-color-strong-active);
|
|
62
|
+
$gl-action-confirm-border-color-strong-selected: var(--gl-action-confirm-border-color-strong-selected);
|
|
63
|
+
$gl-action-confirm-text-color-default: var(--gl-action-confirm-text-color-default);
|
|
64
|
+
$gl-action-confirm-text-color-hover: var(--gl-action-confirm-text-color-hover);
|
|
65
|
+
$gl-action-confirm-text-color-focus: var(--gl-action-confirm-text-color-focus);
|
|
66
|
+
$gl-action-confirm-text-color-active: var(--gl-action-confirm-text-color-active);
|
|
67
|
+
$gl-action-confirm-text-color-strong: var(--gl-action-confirm-text-color-strong);
|
|
68
|
+
$gl-action-confirm-icon-color-default: var(--gl-action-confirm-icon-color-default);
|
|
69
|
+
$gl-action-confirm-icon-color-hover: var(--gl-action-confirm-icon-color-hover);
|
|
70
|
+
$gl-action-confirm-icon-color-focus: var(--gl-action-confirm-icon-color-focus);
|
|
71
|
+
$gl-action-confirm-icon-color-active: var(--gl-action-confirm-icon-color-active);
|
|
72
|
+
$gl-action-confirm-icon-color-strong: var(--gl-action-confirm-icon-color-strong);
|
|
41
73
|
$gl-background-color-default: var(--gl-background-color-default);
|
|
42
74
|
$gl-background-color-subtle: var(--gl-background-color-subtle);
|
|
43
75
|
$gl-background-color-strong: var(--gl-background-color-strong);
|
|
44
76
|
$gl-background-color-disabled: var(--gl-background-color-disabled);
|
|
77
|
+
$gl-background-color-overlay: var(--gl-background-color-overlay);
|
|
45
78
|
$gl-border-color-default: var(--gl-border-color-default);
|
|
46
79
|
$gl-border-color-subtle: var(--gl-border-color-subtle);
|
|
47
80
|
$gl-border-color-strong: var(--gl-border-color-strong);
|
|
@@ -433,6 +466,8 @@ $gl-banner-intro-border-color: var(--gl-banner-intro-border-color);
|
|
|
433
466
|
$gl-banner-promo-background-color: var(--gl-banner-promo-background-color);
|
|
434
467
|
$gl-breadcrumb-separator-color: var(--gl-breadcrumb-separator-color);
|
|
435
468
|
$gl-popover-background-color: var(--gl-popover-background-color);
|
|
469
|
+
$gl-skeleton-loader-background-color: var(--gl-skeleton-loader-background-color);
|
|
470
|
+
$gl-skeleton-loader-shimmer-color: var(--gl-skeleton-loader-shimmer-color);
|
|
436
471
|
$gl-control-background-color-default: var(--gl-control-background-color-default);
|
|
437
472
|
$gl-control-background-color-disabled: var(--gl-control-background-color-disabled);
|
|
438
473
|
$gl-control-background-color-selected-default: var(--gl-control-background-color-selected-default);
|
|
@@ -223,6 +223,8 @@ const backgroundColors = {
|
|
|
223
223
|
'var(--gl-background-color-strong, var(--gl-color-neutral-50, #ececef))',
|
|
224
224
|
disabled:
|
|
225
225
|
'var(--gl-background-color-disabled, var(--gl-color-neutral-10, #fbfafd))',
|
|
226
|
+
overlay:
|
|
227
|
+
'var(--gl-background-color-overlay, var(--gl-color-alpha-dark-24, rgba(31, 30, 36, 0.24)))',
|
|
226
228
|
};
|
|
227
229
|
const borderColors = {
|
|
228
230
|
default:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "85.
|
|
3
|
+
"version": "85.11.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -173,7 +173,8 @@
|
|
|
173
173
|
"postcss": "8.4.28",
|
|
174
174
|
"postcss-loader": "^7.0.2",
|
|
175
175
|
"postcss-scss": "4.0.4",
|
|
176
|
-
"prettier": "
|
|
176
|
+
"prettier": "3.3.2",
|
|
177
|
+
"prettier-plugin-tailwindcss": "^0.6.5",
|
|
177
178
|
"react": "^18.2.0",
|
|
178
179
|
"react-dom": "^18.2.0",
|
|
179
180
|
"rollup": "^2.53.1",
|
|
@@ -191,8 +192,8 @@
|
|
|
191
192
|
"storybook-dark-mode": "4.0.2",
|
|
192
193
|
"style-dictionary": "^3.8.0",
|
|
193
194
|
"stylelint": "15.10.2",
|
|
194
|
-
"tailwind-config-viewer": "
|
|
195
|
-
"tailwindcss": "3.4.
|
|
195
|
+
"tailwind-config-viewer": "2.0.4",
|
|
196
|
+
"tailwindcss": "3.4.4",
|
|
196
197
|
"vue": "2.7.16",
|
|
197
198
|
"vue-loader": "^15.8.3",
|
|
198
199
|
"vue-loader-vue3": "npm:vue-loader@17",
|
|
@@ -370,7 +370,7 @@ export default {
|
|
|
370
370
|
<template>
|
|
371
371
|
<div :class="datepickerClasses">
|
|
372
372
|
<div v-if="showDefaultField" class="gl-display-flex gl-align-items-start gl-gap-3">
|
|
373
|
-
<div class="gl-
|
|
373
|
+
<div class="gl-display-flex gl-flex-grow-1 gl-relative">
|
|
374
374
|
<!--
|
|
375
375
|
@slot (optional) Input to display and bind the datepicker to. Defaults to `<gl-form-input />`
|
|
376
376
|
@binding {string} formattedDate
|
|
@@ -14,7 +14,7 @@ const EMOJI_REGEX = emojiRegex();
|
|
|
14
14
|
// // Bad
|
|
15
15
|
// export const projectPathIsUnique = ...
|
|
16
16
|
// ```
|
|
17
|
-
export const factory = (failMessage, isValid) => (val) => !isValid(val) ? failMessage : '';
|
|
17
|
+
export const factory = (failMessage, isValid) => (val) => (!isValid(val) ? failMessage : '');
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Validator function to check if a string is present and non-empty.
|
|
@@ -39,6 +39,8 @@ body.modal-open {
|
|
|
39
39
|
@include gl-rounded-base;
|
|
40
40
|
@include gl-border-0;
|
|
41
41
|
box-shadow: $modal-box-shadow;
|
|
42
|
+
background-color: var(--gl-background-color-default);
|
|
43
|
+
color: var(--gl-text-color-default);
|
|
42
44
|
|
|
43
45
|
> :first-child {
|
|
44
46
|
@include gl-rounded-top-left-base;
|
|
@@ -52,19 +54,18 @@ body.modal-open {
|
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
.modal-header {
|
|
55
|
-
@include gl-bg-white;
|
|
56
57
|
@include gl-pb-3;
|
|
57
58
|
@include gl-border-none;
|
|
58
59
|
|
|
59
60
|
.modal-title {
|
|
60
61
|
@include gl-heading-scale-500;
|
|
62
|
+
color: var(--gl-text-color-heading);
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
65
|
|
|
64
66
|
.modal-body {
|
|
65
67
|
min-height: $modal-body-height;
|
|
66
68
|
line-height: $modal-body-line-height;
|
|
67
|
-
@include gl-bg-white;
|
|
68
69
|
position: relative;
|
|
69
70
|
@include gl-p-5;
|
|
70
71
|
@include gl-py-3;
|
|
@@ -112,8 +113,9 @@ body.modal-open {
|
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
115
|
|
|
115
|
-
.modal-backdrop {
|
|
116
|
-
|
|
116
|
+
~ .modal-backdrop {
|
|
117
|
+
background-color: var(--gl-background-color-overlay);
|
|
118
|
+
opacity: 1;
|
|
117
119
|
}
|
|
118
120
|
|
|
119
121
|
@include media-breakpoint-up(sm) {
|
|
@@ -100,7 +100,7 @@ export default {
|
|
|
100
100
|
</slot>
|
|
101
101
|
<div v-if="showCloseButton" class="gl-mt-n2 gl-mr-n3 gl-ml-3 gl-h-0">
|
|
102
102
|
<close-button
|
|
103
|
-
:class="{ 'gl-
|
|
103
|
+
:class="{ 'gl-mt-2 gl-float-right': !hasTitle }"
|
|
104
104
|
data-testid="close-button"
|
|
105
105
|
@click="close"
|
|
106
106
|
/>
|
|
@@ -238,7 +238,7 @@ export default {
|
|
|
238
238
|
</template>
|
|
239
239
|
</gl-disclosure-dropdown-item>
|
|
240
240
|
</template>
|
|
241
|
-
<div v-else class="gl-font-sm gl-
|
|
241
|
+
<div v-else class="gl-font-sm gl-py-2 gl-px-4 gl-text-secondary">
|
|
242
242
|
{{ noRecentSearchesText }}
|
|
243
243
|
</div>
|
|
244
244
|
|
|
@@ -112,7 +112,7 @@ export default {
|
|
|
112
112
|
<slot :name="headSlotName" v-bind="scope"
|
|
113
113
|
><span>{{ scope.label }}</span></slot
|
|
114
114
|
><template v-if="isSortable(scope)">
|
|
115
|
-
<div class="gl-ml-2 gl-w-5 gl-
|
|
115
|
+
<div class="gl-ml-2 gl-w-5 gl-display-flex gl-justify-content-center gl-text-gray-900">
|
|
116
116
|
<span
|
|
117
117
|
name="sort-icon"
|
|
118
118
|
data-testid="sort-icon"
|
|
@@ -415,7 +415,7 @@ export default {
|
|
|
415
415
|
<input
|
|
416
416
|
ref="textInput"
|
|
417
417
|
type="text"
|
|
418
|
-
class="gl-token-selector-input gl-bg-none gl-font-regular gl-font-base gl-line-height-normal gl-px-1 gl-h-auto gl-
|
|
418
|
+
class="gl-token-selector-input gl-bg-none gl-font-regular gl-font-base gl-line-height-normal gl-px-1 gl-h-auto gl-border-none gl-outline-none gl-flex-grow-1 gl-w-40p gl-text-gray-900"
|
|
419
419
|
:value="inputText"
|
|
420
420
|
:autocomplete="autocomplete"
|
|
421
421
|
:aria-labelledby="ariaLabelledby"
|
|
@@ -121,7 +121,7 @@ export default {
|
|
|
121
121
|
v-bind="$attrs"
|
|
122
122
|
v-on="$listeners"
|
|
123
123
|
>
|
|
124
|
-
<div class="gl-display-flex gl-align-items-center gl-text-gray-700
|
|
124
|
+
<div class="gl-display-flex gl-align-items-center gl-mb-2 gl-text-gray-700">
|
|
125
125
|
<gl-icon
|
|
126
126
|
v-if="showTitleIcon"
|
|
127
127
|
:name="titleIcon"
|
|
@@ -54,7 +54,7 @@ export default {
|
|
|
54
54
|
<div class="gl-display-flex gl-flex-direction-column gl-justify-content-end">
|
|
55
55
|
<div
|
|
56
56
|
v-if="showDelimiter"
|
|
57
|
-
class="gl-my-5 gl-display-flex gl-align-items-center gl-text-gray-500
|
|
57
|
+
class="gl-my-5 gl-display-flex gl-align-items-center gl-gap-4 gl-text-gray-500"
|
|
58
58
|
data-testid="conversation-delimiter"
|
|
59
59
|
>
|
|
60
60
|
<hr class="gl-flex-grow-1" />
|
|
@@ -76,7 +76,7 @@ export default {
|
|
|
76
76
|
<transition-group
|
|
77
77
|
ref="transition"
|
|
78
78
|
name="text"
|
|
79
|
-
class="transition gl-display-inline-block gl-
|
|
79
|
+
class="transition gl-display-inline-block gl-vertical-align-bottom gl-relative"
|
|
80
80
|
@after-leave="computeTransitionWidth"
|
|
81
81
|
>
|
|
82
82
|
<span
|
package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.vue
CHANGED
|
@@ -187,8 +187,8 @@ export default {
|
|
|
187
187
|
<div
|
|
188
188
|
class="gl-p-4 gl-mb-4 gl-rounded-lg gl-line-height-20 gl-word-break-word duo-chat-message"
|
|
189
189
|
:class="{
|
|
190
|
-
'gl-ml-auto gl-bg-blue-100 gl-
|
|
191
|
-
'gl-rounded-bottom-left-none gl-
|
|
190
|
+
'gl-ml-auto gl-bg-blue-100 gl-rounded-bottom-right-none gl-text-blue-900': isUserMessage,
|
|
191
|
+
'gl-rounded-bottom-left-none gl-border-1 gl-border-solid gl-border-gray-50 gl-text-gray-900':
|
|
192
192
|
isAssistantMessage,
|
|
193
193
|
'gl-bg-white': isAssistantMessage && !error,
|
|
194
194
|
'gl-bg-red-50 gl-border-none!': error,
|
|
@@ -199,7 +199,7 @@ export default {
|
|
|
199
199
|
:aria-label="$options.i18n.MESSAGE_ERROR"
|
|
200
200
|
name="status_warning_borderless"
|
|
201
201
|
:size="16"
|
|
202
|
-
class="gl-
|
|
202
|
+
class="gl-border gl-border-red-500 gl-rounded-full gl-mr-3 gl-flex-shrink-0 error-icon gl-text-red-600"
|
|
203
203
|
data-testid="error"
|
|
204
204
|
/>
|
|
205
205
|
<div ref="content-wrapper" :class="{ 'has-error': error }">
|
|
@@ -409,7 +409,7 @@ export default {
|
|
|
409
409
|
<aside
|
|
410
410
|
v-if="!isHidden"
|
|
411
411
|
id="chat-component"
|
|
412
|
-
class="markdown-code-block duo-chat-drawer gl-max-h-full gl-
|
|
412
|
+
class="markdown-code-block duo-chat-drawer gl-max-h-full gl-shadow-none gl-border-l gl-border-t duo-chat gl-bottom-0"
|
|
413
413
|
role="complementary"
|
|
414
414
|
data-testid="chat-component"
|
|
415
415
|
>
|
|
@@ -444,7 +444,7 @@ export default {
|
|
|
444
444
|
:dismissible="false"
|
|
445
445
|
variant="tip"
|
|
446
446
|
:show-icon="false"
|
|
447
|
-
class="gl-text-center gl-border-t gl-p-4 gl-
|
|
447
|
+
class="gl-text-center gl-border-t gl-p-4 gl-bg-gray-50 legal-warning gl-max-w-full gl-text-gray-700"
|
|
448
448
|
role="alert"
|
|
449
449
|
data-testid="chat-legal-warning"
|
|
450
450
|
>{{ $options.i18n.CHAT_LEGAL_GENERATED_BY_AI }}</gl-alert
|
|
@@ -523,7 +523,7 @@ export default {
|
|
|
523
523
|
<gl-card
|
|
524
524
|
v-if="shouldShowSlashCommands"
|
|
525
525
|
ref="commands"
|
|
526
|
-
class="slash-commands
|
|
526
|
+
class="slash-commands gl-translate-y-n100 gl-list-style-none gl-pl-0 gl-w-full gl-shadow-md !gl-absolute"
|
|
527
527
|
body-class="gl-p-2!"
|
|
528
528
|
>
|
|
529
529
|
<gl-dropdown-item
|
|
@@ -535,7 +535,7 @@ export default {
|
|
|
535
535
|
>
|
|
536
536
|
<span class="gl-display-flex gl-justify-content-space-between">
|
|
537
537
|
<span class="gl-display-block">{{ command.name }}</span>
|
|
538
|
-
<small class="gl-
|
|
538
|
+
<small class="gl-font-style-italic gl-text-right gl-pl-3 gl-text-gray-500">{{
|
|
539
539
|
command.description
|
|
540
540
|
}}</small>
|
|
541
541
|
</span>
|
|
@@ -546,7 +546,7 @@ export default {
|
|
|
546
546
|
ref="prompt"
|
|
547
547
|
v-model="prompt"
|
|
548
548
|
data-testid="chat-prompt-input"
|
|
549
|
-
class="gl-
|
|
549
|
+
class="gl-h-full! gl-py-4! gl-bg-transparent! gl-rounded-top-right-none gl-rounded-bottom-right-none gl-shadow-none! gl-absolute"
|
|
550
550
|
:class="{ 'gl-text-truncate': !prompt }"
|
|
551
551
|
:placeholder="inputPlaceholder"
|
|
552
552
|
autofocus
|
|
@@ -561,7 +561,7 @@ export default {
|
|
|
561
561
|
icon="paper-airplane"
|
|
562
562
|
category="primary"
|
|
563
563
|
variant="confirm"
|
|
564
|
-
class="!gl-absolute gl-bottom-2 gl-right-2
|
|
564
|
+
class="gl-rounded-base! !gl-absolute gl-bottom-2 gl-right-2"
|
|
565
565
|
type="submit"
|
|
566
566
|
data-testid="chat-prompt-submit-button"
|
|
567
567
|
:aria-label="$options.i18n.CHAT_SUBMIT_LABEL"
|
|
@@ -571,7 +571,7 @@ export default {
|
|
|
571
571
|
icon="stop"
|
|
572
572
|
category="primary"
|
|
573
573
|
variant="default"
|
|
574
|
-
class="!gl-absolute gl-bottom-2 gl-right-2
|
|
574
|
+
class="gl-rounded-base! !gl-absolute gl-bottom-2 gl-right-2"
|
|
575
575
|
data-testid="chat-prompt-cancel-button"
|
|
576
576
|
:aria-label="$options.i18n.CHAT_CANCEL_LABEL"
|
|
577
577
|
@click="cancelPrompt"
|
|
@@ -579,7 +579,7 @@ export default {
|
|
|
579
579
|
</template>
|
|
580
580
|
</gl-form-input-group>
|
|
581
581
|
<gl-form-text
|
|
582
|
-
class="gl-
|
|
582
|
+
class="gl-line-height-20 gl-mt-3 gl-text-gray-400"
|
|
583
583
|
data-testid="chat-legal-disclaimer"
|
|
584
584
|
>{{ $options.i18n.CHAT_LEGAL_DISCLAIMER }}</gl-form-text
|
|
585
585
|
>
|