@gitlab/ui 134.2.0 → 134.3.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.
- package/dist/components/base/nav_item/nav_item.js +122 -0
- package/dist/components/base/new_dropdowns/listbox/listbox.js +1 -1
- package/dist/components/index.js +1 -0
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/tailwind.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +20 -1
- package/dist/tokens/build/js/tokens.js +20 -1
- package/package.json +8 -8
- package/src/components/base/nav_item/nav_item.scss +90 -0
- package/src/components/base/nav_item/nav_item.vue +156 -0
- package/src/components/base/new_dropdowns/listbox/listbox.vue +2 -2
- package/src/components/index.js +1 -0
- package/src/scss/components.scss +1 -0
- package/src/tokens/build/css/tokens.css +19 -0
- package/src/tokens/build/css/tokens.dark.css +19 -0
- package/src/tokens/build/figma/mode.dark.json +190 -0
- package/src/tokens/build/figma/mode.json +190 -0
- package/src/tokens/build/js/tokens.dark.js +19 -0
- package/src/tokens/build/js/tokens.js +19 -0
- package/src/tokens/build/json/tokens.dark.json +658 -0
- package/src/tokens/build/json/tokens.json +658 -0
- package/src/tokens/build/scss/_tokens.dark.scss +19 -0
- package/src/tokens/build/scss/_tokens.scss +19 -0
- package/src/tokens/build/scss/_tokens_custom_properties.scss +19 -0
- package/src/tokens/contextual/nav.tokens.json +218 -0
|
@@ -4715,6 +4715,196 @@
|
|
|
4715
4715
|
]
|
|
4716
4716
|
}
|
|
4717
4717
|
},
|
|
4718
|
+
"🔒/nav-item-border-radius": {
|
|
4719
|
+
"$value": "{action-border-radius}",
|
|
4720
|
+
"$type": "dimension",
|
|
4721
|
+
"$description": "Used for the border radius of a navigation item",
|
|
4722
|
+
"$extensions": {
|
|
4723
|
+
"com.figma.scopes": [
|
|
4724
|
+
"CORNER_RADIUS"
|
|
4725
|
+
]
|
|
4726
|
+
}
|
|
4727
|
+
},
|
|
4728
|
+
"🔒/nav-item-font-size": {
|
|
4729
|
+
"$value": "{font-size-300}",
|
|
4730
|
+
"$type": "dimension",
|
|
4731
|
+
"$description": "Used for the font size of a navigation item",
|
|
4732
|
+
"$extensions": {
|
|
4733
|
+
"com.figma.scopes": [
|
|
4734
|
+
"FONT_SIZE"
|
|
4735
|
+
]
|
|
4736
|
+
}
|
|
4737
|
+
},
|
|
4738
|
+
"🔒/nav-item-font-weight": {
|
|
4739
|
+
"$value": 425,
|
|
4740
|
+
"$type": "fontWeight",
|
|
4741
|
+
"$description": "Used for the font weight of a navigation item",
|
|
4742
|
+
"$extensions": {
|
|
4743
|
+
"com.figma.scopes": [
|
|
4744
|
+
"FONT_WEIGHT"
|
|
4745
|
+
]
|
|
4746
|
+
}
|
|
4747
|
+
},
|
|
4748
|
+
"🔒/nav-item-foreground-color-default": {
|
|
4749
|
+
"$value": "{action-neutral-foreground-color-default}",
|
|
4750
|
+
"$type": "color",
|
|
4751
|
+
"$description": "Used for the foreground of a default navigation item in the default state.",
|
|
4752
|
+
"$extensions": {
|
|
4753
|
+
"com.figma.scopes": [
|
|
4754
|
+
"TEXT_FILL"
|
|
4755
|
+
]
|
|
4756
|
+
}
|
|
4757
|
+
},
|
|
4758
|
+
"🔒/nav-item-foreground-color-hover": {
|
|
4759
|
+
"$value": "{action-neutral-foreground-color-hover}",
|
|
4760
|
+
"$type": "color",
|
|
4761
|
+
"$description": "Used for the foreground of a default navigation item in the hover state.",
|
|
4762
|
+
"$extensions": {
|
|
4763
|
+
"com.figma.scopes": [
|
|
4764
|
+
"TEXT_FILL"
|
|
4765
|
+
]
|
|
4766
|
+
}
|
|
4767
|
+
},
|
|
4768
|
+
"🔒/nav-item-foreground-color-focus": {
|
|
4769
|
+
"$value": "{action-neutral-foreground-color-focus}",
|
|
4770
|
+
"$type": "color",
|
|
4771
|
+
"$description": "Used for the foreground of a default navigation item in the focus state.",
|
|
4772
|
+
"$extensions": {
|
|
4773
|
+
"com.figma.scopes": [
|
|
4774
|
+
"TEXT_FILL"
|
|
4775
|
+
]
|
|
4776
|
+
}
|
|
4777
|
+
},
|
|
4778
|
+
"🔒/nav-item-foreground-color-active": {
|
|
4779
|
+
"$value": "{action-neutral-foreground-color-active}",
|
|
4780
|
+
"$type": "color",
|
|
4781
|
+
"$description": "Used for the foreground of a default navigation item in the active state.",
|
|
4782
|
+
"$extensions": {
|
|
4783
|
+
"com.figma.scopes": [
|
|
4784
|
+
"TEXT_FILL"
|
|
4785
|
+
]
|
|
4786
|
+
}
|
|
4787
|
+
},
|
|
4788
|
+
"🔒/nav-item-background-color-default": {
|
|
4789
|
+
"$value": "{action-neutral-background-color-default}",
|
|
4790
|
+
"$type": "color",
|
|
4791
|
+
"$description": "Used for the background of a default navigation item in the default state.",
|
|
4792
|
+
"$extensions": {
|
|
4793
|
+
"com.figma.scopes": [
|
|
4794
|
+
"SHAPE_FILL"
|
|
4795
|
+
]
|
|
4796
|
+
}
|
|
4797
|
+
},
|
|
4798
|
+
"🔒/nav-item-background-color-hover": {
|
|
4799
|
+
"$value": "{action-neutral-background-color-hover}",
|
|
4800
|
+
"$type": "color",
|
|
4801
|
+
"$description": "Used for the background of a default navigation item in the hover state.",
|
|
4802
|
+
"$extensions": {
|
|
4803
|
+
"com.figma.scopes": [
|
|
4804
|
+
"SHAPE_FILL"
|
|
4805
|
+
]
|
|
4806
|
+
}
|
|
4807
|
+
},
|
|
4808
|
+
"🔒/nav-item-background-color-focus": {
|
|
4809
|
+
"$value": "{action-neutral-background-color-focus}",
|
|
4810
|
+
"$type": "color",
|
|
4811
|
+
"$description": "Used for the background of a default navigation item in the focus state.",
|
|
4812
|
+
"$extensions": {
|
|
4813
|
+
"com.figma.scopes": [
|
|
4814
|
+
"SHAPE_FILL"
|
|
4815
|
+
]
|
|
4816
|
+
}
|
|
4817
|
+
},
|
|
4818
|
+
"🔒/nav-item-background-color-active": {
|
|
4819
|
+
"$value": "{action-neutral-background-color-active}",
|
|
4820
|
+
"$type": "color",
|
|
4821
|
+
"$description": "Used for the background of a default navigation item in the active state.",
|
|
4822
|
+
"$extensions": {
|
|
4823
|
+
"com.figma.scopes": [
|
|
4824
|
+
"SHAPE_FILL"
|
|
4825
|
+
]
|
|
4826
|
+
}
|
|
4827
|
+
},
|
|
4828
|
+
"🔒/nav-item-selected-foreground-color-default": {
|
|
4829
|
+
"$value": "{action-selected-foreground-color-default}",
|
|
4830
|
+
"$type": "color",
|
|
4831
|
+
"$description": "Used for the foreground of a selected navigation item in the default state.",
|
|
4832
|
+
"$extensions": {
|
|
4833
|
+
"com.figma.scopes": [
|
|
4834
|
+
"TEXT_FILL"
|
|
4835
|
+
]
|
|
4836
|
+
}
|
|
4837
|
+
},
|
|
4838
|
+
"🔒/nav-item-selected-foreground-color-hover": {
|
|
4839
|
+
"$value": "{action-selected-foreground-color-hover}",
|
|
4840
|
+
"$type": "color",
|
|
4841
|
+
"$description": "Used for the foreground of a selected navigation item in the hover state.",
|
|
4842
|
+
"$extensions": {
|
|
4843
|
+
"com.figma.scopes": [
|
|
4844
|
+
"TEXT_FILL"
|
|
4845
|
+
]
|
|
4846
|
+
}
|
|
4847
|
+
},
|
|
4848
|
+
"🔒/nav-item-selected-foreground-color-focus": {
|
|
4849
|
+
"$value": "{action-selected-foreground-color-focus}",
|
|
4850
|
+
"$type": "color",
|
|
4851
|
+
"$description": "Used for the foreground of a selected navigation item in the focus state.",
|
|
4852
|
+
"$extensions": {
|
|
4853
|
+
"com.figma.scopes": [
|
|
4854
|
+
"TEXT_FILL"
|
|
4855
|
+
]
|
|
4856
|
+
}
|
|
4857
|
+
},
|
|
4858
|
+
"🔒/nav-item-selected-foreground-color-active": {
|
|
4859
|
+
"$value": "{action-selected-foreground-color-active}",
|
|
4860
|
+
"$type": "color",
|
|
4861
|
+
"$description": "Used for the foreground of a selected navigation item in the active state.",
|
|
4862
|
+
"$extensions": {
|
|
4863
|
+
"com.figma.scopes": [
|
|
4864
|
+
"TEXT_FILL"
|
|
4865
|
+
]
|
|
4866
|
+
}
|
|
4867
|
+
},
|
|
4868
|
+
"🔒/nav-item-selected-background-color-default": {
|
|
4869
|
+
"$value": "{action-selected-background-color-default}",
|
|
4870
|
+
"$type": "color",
|
|
4871
|
+
"$description": "Used for the background of a selected navigation item in the default state.",
|
|
4872
|
+
"$extensions": {
|
|
4873
|
+
"com.figma.scopes": [
|
|
4874
|
+
"SHAPE_FILL"
|
|
4875
|
+
]
|
|
4876
|
+
}
|
|
4877
|
+
},
|
|
4878
|
+
"🔒/nav-item-selected-background-color-hover": {
|
|
4879
|
+
"$value": "{action-selected-background-color-hover}",
|
|
4880
|
+
"$type": "color",
|
|
4881
|
+
"$description": "Used for the background of a selected navigation item in the hover state.",
|
|
4882
|
+
"$extensions": {
|
|
4883
|
+
"com.figma.scopes": [
|
|
4884
|
+
"SHAPE_FILL"
|
|
4885
|
+
]
|
|
4886
|
+
}
|
|
4887
|
+
},
|
|
4888
|
+
"🔒/nav-item-selected-background-color-focus": {
|
|
4889
|
+
"$value": "{action-selected-background-color-focus}",
|
|
4890
|
+
"$type": "color",
|
|
4891
|
+
"$description": "Used for the background of a selected navigation item in the focus state.",
|
|
4892
|
+
"$extensions": {
|
|
4893
|
+
"com.figma.scopes": [
|
|
4894
|
+
"SHAPE_FILL"
|
|
4895
|
+
]
|
|
4896
|
+
}
|
|
4897
|
+
},
|
|
4898
|
+
"🔒/nav-item-selected-background-color-active": {
|
|
4899
|
+
"$value": "{action-selected-background-color-active}",
|
|
4900
|
+
"$type": "color",
|
|
4901
|
+
"$description": "Used for the background of a selected navigation item in the active state.",
|
|
4902
|
+
"$extensions": {
|
|
4903
|
+
"com.figma.scopes": [
|
|
4904
|
+
"SHAPE_FILL"
|
|
4905
|
+
]
|
|
4906
|
+
}
|
|
4907
|
+
},
|
|
4718
4908
|
"🔒/progress-bar-indicator-color-default": {
|
|
4719
4909
|
"$value": "{status-info-icon-color}",
|
|
4720
4910
|
"$type": "color",
|
|
@@ -763,6 +763,25 @@ export const GL_LINK_MENTION_TEXT_COLOR_CURRENT = '#f5d9a8';
|
|
|
763
763
|
export const GL_LINK_MENTION_BACKGROUND_COLOR_DEFAULT = '#284779';
|
|
764
764
|
export const GL_LINK_MENTION_BACKGROUND_COLOR_CURRENT = '#693c14';
|
|
765
765
|
export const GL_MODAL_BORDER_RADIUS = '1rem';
|
|
766
|
+
export const GL_NAV_ITEM_BORDER_RADIUS = '0.5rem';
|
|
767
|
+
export const GL_NAV_ITEM_FONT_SIZE = '0.875rem';
|
|
768
|
+
export const GL_NAV_ITEM_FONT_WEIGHT = 425;
|
|
769
|
+
export const GL_NAV_ITEM_FOREGROUND_COLOR_DEFAULT = '#ececef';
|
|
770
|
+
export const GL_NAV_ITEM_FOREGROUND_COLOR_HOVER = '#ececef';
|
|
771
|
+
export const GL_NAV_ITEM_FOREGROUND_COLOR_FOCUS = '#ececef';
|
|
772
|
+
export const GL_NAV_ITEM_FOREGROUND_COLOR_ACTIVE = '#ececef';
|
|
773
|
+
export const GL_NAV_ITEM_BACKGROUND_COLOR_DEFAULT = 'rgba(137, 136, 141, 0)';
|
|
774
|
+
export const GL_NAV_ITEM_BACKGROUND_COLOR_HOVER = 'rgba(137, 136, 141, 0.4)';
|
|
775
|
+
export const GL_NAV_ITEM_BACKGROUND_COLOR_FOCUS = 'rgba(137, 136, 141, 0.4)';
|
|
776
|
+
export const GL_NAV_ITEM_BACKGROUND_COLOR_ACTIVE = 'rgba(137, 136, 141, 0.16)';
|
|
777
|
+
export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_DEFAULT = '#18171d';
|
|
778
|
+
export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_HOVER = '#18171d';
|
|
779
|
+
export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_FOCUS = '#18171d';
|
|
780
|
+
export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_ACTIVE = '#18171d';
|
|
781
|
+
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_DEFAULT = '#63a6e9';
|
|
782
|
+
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_HOVER = '#9dc7f1';
|
|
783
|
+
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_FOCUS = '#9dc7f1';
|
|
784
|
+
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_ACTIVE = '#cbe2f9';
|
|
766
785
|
export const GL_PROGRESS_BAR_INDICATOR_COLOR_DEFAULT = '#63a6e9';
|
|
767
786
|
export const GL_PROGRESS_BAR_INDICATOR_COLOR_SUCCESS = '#52b87a';
|
|
768
787
|
export const GL_PROGRESS_BAR_INDICATOR_COLOR_WARNING = '#d99530';
|
|
@@ -763,6 +763,25 @@ export const GL_LINK_MENTION_TEXT_COLOR_CURRENT = '#693c14';
|
|
|
763
763
|
export const GL_LINK_MENTION_BACKGROUND_COLOR_DEFAULT = '#cbe2f9';
|
|
764
764
|
export const GL_LINK_MENTION_BACKGROUND_COLOR_CURRENT = '#f5d9a8';
|
|
765
765
|
export const GL_MODAL_BORDER_RADIUS = '1rem';
|
|
766
|
+
export const GL_NAV_ITEM_BORDER_RADIUS = '0.5rem';
|
|
767
|
+
export const GL_NAV_ITEM_FONT_SIZE = '0.875rem';
|
|
768
|
+
export const GL_NAV_ITEM_FONT_WEIGHT = 425;
|
|
769
|
+
export const GL_NAV_ITEM_FOREGROUND_COLOR_DEFAULT = '#28272d';
|
|
770
|
+
export const GL_NAV_ITEM_FOREGROUND_COLOR_HOVER = '#28272d';
|
|
771
|
+
export const GL_NAV_ITEM_FOREGROUND_COLOR_FOCUS = '#28272d';
|
|
772
|
+
export const GL_NAV_ITEM_FOREGROUND_COLOR_ACTIVE = '#28272d';
|
|
773
|
+
export const GL_NAV_ITEM_BACKGROUND_COLOR_DEFAULT = 'rgba(164, 163, 168, 0)';
|
|
774
|
+
export const GL_NAV_ITEM_BACKGROUND_COLOR_HOVER = 'rgba(164, 163, 168, 0.16)';
|
|
775
|
+
export const GL_NAV_ITEM_BACKGROUND_COLOR_FOCUS = 'rgba(164, 163, 168, 0.16)';
|
|
776
|
+
export const GL_NAV_ITEM_BACKGROUND_COLOR_ACTIVE = 'rgba(83, 81, 88, 0.24)';
|
|
777
|
+
export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_DEFAULT = '#fff';
|
|
778
|
+
export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_HOVER = '#fff';
|
|
779
|
+
export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_FOCUS = '#fff';
|
|
780
|
+
export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_ACTIVE = '#fff';
|
|
781
|
+
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_DEFAULT = '#1f75cb';
|
|
782
|
+
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_HOVER = '#2f5ca0';
|
|
783
|
+
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_FOCUS = '#2f5ca0';
|
|
784
|
+
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_ACTIVE = '#284779';
|
|
766
785
|
export const GL_PROGRESS_BAR_INDICATOR_COLOR_DEFAULT = '#1f75cb';
|
|
767
786
|
export const GL_PROGRESS_BAR_INDICATOR_COLOR_SUCCESS = '#108548';
|
|
768
787
|
export const GL_PROGRESS_BAR_INDICATOR_COLOR_WARNING = '#ab6100';
|