@gitlab/ui 123.0.0 → 123.2.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/dist/components/base/popover/popover.js +18 -3
- package/dist/components/dashboards/dashboard_panel/dashboard_panel.js +2 -2
- package/dist/components/experimental/experiment_badge/experiment_badge.js +1 -1
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +53 -2
- package/dist/tokens/build/js/tokens.js +53 -2
- package/dist/tokens/css/tokens.css +4 -1
- package/dist/tokens/css/tokens.dark.css +4 -1
- package/dist/tokens/docs/tokens-tailwind-docs.dark.json +201 -0
- package/dist/tokens/docs/tokens-tailwind-docs.json +201 -0
- package/dist/tokens/figma/constants.tokens.json +85 -0
- package/dist/tokens/js/tokens.dark.js +63 -1
- package/dist/tokens/js/tokens.js +63 -1
- package/dist/tokens/json/tokens.dark.json +234 -38
- package/dist/tokens/json/tokens.json +234 -38
- package/dist/tokens/scss/_tokens.dark.scss +4 -1
- package/dist/tokens/scss/_tokens.scss +4 -1
- package/dist/tokens/scss/_tokens_custom_properties.scss +4 -1
- package/dist/tokens/tailwind/tokens.cjs +2 -0
- package/package.json +3 -3
- package/src/components/base/popover/popover.vue +21 -3
- package/src/components/dashboards/dashboard_panel/dashboard_panel.vue +2 -2
- package/src/components/experimental/experiment_badge/experiment_badge.vue +1 -1
- package/src/tokens/build/css/tokens.css +4 -1
- package/src/tokens/build/css/tokens.dark.css +4 -1
- package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +201 -0
- package/src/tokens/build/docs/tokens-tailwind-docs.json +201 -0
- package/src/tokens/build/figma/constants.tokens.json +85 -0
- package/src/tokens/build/js/tokens.dark.js +63 -1
- package/src/tokens/build/js/tokens.js +63 -1
- package/src/tokens/build/json/tokens.dark.json +234 -38
- package/src/tokens/build/json/tokens.json +234 -38
- package/src/tokens/build/scss/_tokens.dark.scss +4 -1
- package/src/tokens/build/scss/_tokens.scss +4 -1
- package/src/tokens/build/scss/_tokens_custom_properties.scss +4 -1
- package/src/tokens/build/tailwind/tokens.cjs +6 -0
- package/src/tokens/constant/shadow.tokens.json +87 -0
- package/tailwind.defaults.js +3 -5
|
@@ -17,9 +17,9 @@ export default {
|
|
|
17
17
|
inheritAttrs: false,
|
|
18
18
|
props: {
|
|
19
19
|
cssClasses: {
|
|
20
|
-
type: Array,
|
|
20
|
+
type: [Array, String, Object],
|
|
21
21
|
required: false,
|
|
22
|
-
default:
|
|
22
|
+
default: '',
|
|
23
23
|
},
|
|
24
24
|
/**
|
|
25
25
|
* Space-separated triggers for the popover.
|
|
@@ -61,7 +61,7 @@ export default {
|
|
|
61
61
|
'gl-popover',
|
|
62
62
|
this.hasTitle && 'has-title',
|
|
63
63
|
this.showCloseButton && 'has-close-button',
|
|
64
|
-
...this.cssClasses,
|
|
64
|
+
...this.normalizedCssClasses(this.cssClasses),
|
|
65
65
|
]
|
|
66
66
|
.filter(Boolean)
|
|
67
67
|
.join(' ');
|
|
@@ -71,6 +71,24 @@ export default {
|
|
|
71
71
|
},
|
|
72
72
|
},
|
|
73
73
|
methods: {
|
|
74
|
+
/**
|
|
75
|
+
* `cssClasses can be a string, an array, or an object. This method normalizes it to an array
|
|
76
|
+
*/
|
|
77
|
+
normalizedCssClasses(cssClasses) {
|
|
78
|
+
if (Array.isArray(cssClasses)) {
|
|
79
|
+
return cssClasses;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (typeof cssClasses === 'string') {
|
|
83
|
+
return cssClasses.trim() ? cssClasses.trim().split(/\s+/) : [];
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
if (cssClasses && typeof cssClasses === 'object') {
|
|
87
|
+
return Object.keys(cssClasses).filter((key) => cssClasses[key]);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
return [];
|
|
91
|
+
},
|
|
74
92
|
close(e) {
|
|
75
93
|
this.$refs[popoverRefName].doClose();
|
|
76
94
|
/**
|
|
@@ -90,9 +90,9 @@ export default {
|
|
|
90
90
|
* CSS classes to apply to the title popover (gets passed to the `css-classes` prop of the `GlPopover` component).
|
|
91
91
|
*/
|
|
92
92
|
titlePopoverClasses: {
|
|
93
|
-
type: Array,
|
|
93
|
+
type: [Array, String, Object],
|
|
94
94
|
required: false,
|
|
95
|
-
default:
|
|
95
|
+
default: '',
|
|
96
96
|
},
|
|
97
97
|
/**
|
|
98
98
|
* Set to `true` to show the loading state.
|
|
@@ -573,6 +573,7 @@
|
|
|
573
573
|
--gl-border-color-subtle: var(--gl-color-neutral-50); /** Used for a subtle border in combination with the default background. */
|
|
574
574
|
--gl-border-color-strong: var(--gl-color-neutral-200); /** Used for a distinct border that emphasizes an edge or boundaries. */
|
|
575
575
|
--gl-border-color-transparent: var(--gl-color-alpha-0); /** Used when a border needs to be present, but not visibly perceived. */
|
|
576
|
+
--gl-shadow-color-default: var(--gl-color-alpha-dark-16); /** Used for the default shadow color. */
|
|
576
577
|
--gl-alert-neutral-border-top-color: var(--gl-color-alpha-0); /** Used for the border center color of a neutral alert. */
|
|
577
578
|
--gl-alert-neutral-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of a neutral alert. */
|
|
578
579
|
--gl-alert-info-border-top-color: var(--gl-color-alpha-0); /** Used for the border color of an info alert. */
|
|
@@ -895,7 +896,6 @@
|
|
|
895
896
|
--gl-highlight-target-background-color: var(--gl-color-blue-50); /** Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action. */
|
|
896
897
|
--gl-highlight-target-border-color: var(--gl-color-blue-200); /** Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states. */
|
|
897
898
|
--gl-icon-color-info: var(--gl-color-blue-700); /** Used for an icon associated with information or help. */
|
|
898
|
-
--gl-shadow-color-default: var(--gl-color-alpha-dark-16); /** Used for the default shadow color. */
|
|
899
899
|
--gl-status-neutral-background-color: var(--gl-color-neutral-100); /** Used for the background of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state. */
|
|
900
900
|
--gl-status-neutral-text-color: var(--gl-color-neutral-700); /** Used for the text of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state. */
|
|
901
901
|
--gl-status-neutral-icon-color: var(--gl-color-neutral-500); /** Used for the icon of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state. */
|
|
@@ -925,6 +925,9 @@
|
|
|
925
925
|
--gl-text-color-disabled: var(--gl-color-neutral-400); /** Used for disabled text. */
|
|
926
926
|
--gl-border-radius-default: var(--gl-border-radius-md);
|
|
927
927
|
--gl-border-color-section: var(--gl-border-color-default); /** Used for the border color that surrounds content or elements when they appear as a closed container or closed section of the page. */
|
|
928
|
+
--gl-shadow-sm: 0 0 2px var(--gl-shadow-color-default), 0 1px 4px var(--gl-shadow-color-default); /** Used for surfaces that need to indicate users can manually interact with them. For example, cards in issue board. */
|
|
929
|
+
--gl-shadow-md: 0 0 1px var(--gl-shadow-color-default), 0 0 2px var(--gl-shadow-color-default), 0 2px 8px var(--gl-shadow-color-default); /** Used for surfaces that need boundary definition and appear on hover. For example, popovers. */
|
|
930
|
+
--gl-shadow-lg: 0 0 2px var(--gl-shadow-color-default), 0 0 2px var(--gl-shadow-color-default), 0 4px 12px var(--gl-shadow-color-default); /** Used for large surfaces that present additional context to the user. */
|
|
928
931
|
--gl-alert-neutral-title-color: var(--gl-text-color-heading); /** Used for the title color of a neutral alert. */
|
|
929
932
|
--gl-alert-neutral-background-color: var(--gl-feedback-neutral-background-color); /** Used for the background color of a neutral alert. */
|
|
930
933
|
--gl-alert-info-title-color: var(--gl-text-color-heading); /** Used for the title color of an info alert. */
|
|
@@ -573,6 +573,7 @@
|
|
|
573
573
|
--gl-border-color-subtle: var(--gl-color-neutral-800); /** Used for a subtle border in combination with the default background. */
|
|
574
574
|
--gl-border-color-strong: var(--gl-color-neutral-600); /** Used for a distinct border that emphasizes an edge or boundaries. */
|
|
575
575
|
--gl-border-color-transparent: var(--gl-color-alpha-0); /** Used when a border needs to be present, but not visibly perceived. */
|
|
576
|
+
--gl-shadow-color-default: var(--gl-color-alpha-dark-40); /** Used for the default shadow color. */
|
|
576
577
|
--gl-alert-neutral-border-top-color: var(--gl-color-neutral-400); /** Used for the border center color of a neutral alert. */
|
|
577
578
|
--gl-alert-neutral-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of a neutral alert. */
|
|
578
579
|
--gl-alert-info-border-top-color: var(--gl-color-blue-400); /** Used for the border color of an info alert. */
|
|
@@ -895,7 +896,6 @@
|
|
|
895
896
|
--gl-highlight-target-background-color: var(--gl-color-blue-950); /** Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action. */
|
|
896
897
|
--gl-highlight-target-border-color: var(--gl-color-blue-700); /** Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states. */
|
|
897
898
|
--gl-icon-color-info: var(--gl-color-blue-200); /** Used for an icon associated with information or help. */
|
|
898
|
-
--gl-shadow-color-default: var(--gl-color-alpha-dark-40); /** Used for the default shadow color. */
|
|
899
899
|
--gl-status-neutral-background-color: var(--gl-color-neutral-800); /** Used for the background of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state. */
|
|
900
900
|
--gl-status-neutral-text-color: var(--gl-color-neutral-200); /** Used for the text of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state. */
|
|
901
901
|
--gl-status-neutral-icon-color: var(--gl-color-neutral-300); /** Used for the icon of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state. */
|
|
@@ -925,6 +925,9 @@
|
|
|
925
925
|
--gl-text-color-disabled: var(--gl-color-neutral-400); /** Used for disabled text. */
|
|
926
926
|
--gl-border-radius-default: var(--gl-border-radius-md);
|
|
927
927
|
--gl-border-color-section: var(--gl-background-color-default); /** Used for the border color that surrounds content or elements when they appear as a closed container or closed section of the page. */
|
|
928
|
+
--gl-shadow-sm: 0 0 2px var(--gl-shadow-color-default), 0 1px 4px var(--gl-shadow-color-default); /** Used for surfaces that need to indicate users can manually interact with them. For example, cards in issue board. */
|
|
929
|
+
--gl-shadow-md: 0 0 1px var(--gl-shadow-color-default), 0 0 2px var(--gl-shadow-color-default), 0 2px 8px var(--gl-shadow-color-default); /** Used for surfaces that need boundary definition and appear on hover. For example, popovers. */
|
|
930
|
+
--gl-shadow-lg: 0 0 2px var(--gl-shadow-color-default), 0 0 2px var(--gl-shadow-color-default), 0 4px 12px var(--gl-shadow-color-default); /** Used for large surfaces that present additional context to the user. */
|
|
928
931
|
--gl-alert-neutral-title-color: var(--gl-text-color-heading); /** Used for the title color of a neutral alert. */
|
|
929
932
|
--gl-alert-neutral-background-color: var(--gl-feedback-neutral-background-color); /** Used for the background color of a neutral alert. */
|
|
930
933
|
--gl-alert-info-title-color: var(--gl-color-blue-300); /** Used for the title color of an info alert. */
|
|
@@ -44512,5 +44512,206 @@
|
|
|
44512
44512
|
],
|
|
44513
44513
|
"cssWithValue": "var(--gl-zindex-9999, 9999)"
|
|
44514
44514
|
}
|
|
44515
|
+
},
|
|
44516
|
+
"boxShadow": {
|
|
44517
|
+
"sm": {
|
|
44518
|
+
"key": "{shadow.sm}",
|
|
44519
|
+
"$value": [
|
|
44520
|
+
{
|
|
44521
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
44522
|
+
"offsetX": 0,
|
|
44523
|
+
"offsetY": 0,
|
|
44524
|
+
"blur": "2px",
|
|
44525
|
+
"spread": 0
|
|
44526
|
+
},
|
|
44527
|
+
{
|
|
44528
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
44529
|
+
"offsetX": 0,
|
|
44530
|
+
"offsetY": "1px",
|
|
44531
|
+
"blur": "4px",
|
|
44532
|
+
"spread": 0
|
|
44533
|
+
}
|
|
44534
|
+
],
|
|
44535
|
+
"$type": "shadow",
|
|
44536
|
+
"$description": "Used for surfaces that need to indicate users can manually interact with them. For example, cards in issue board.",
|
|
44537
|
+
"$extensions": {
|
|
44538
|
+
"com.figma.scope": []
|
|
44539
|
+
},
|
|
44540
|
+
"filePath": "src/tokens/constant/shadow.tokens.json",
|
|
44541
|
+
"isSource": true,
|
|
44542
|
+
"original": {
|
|
44543
|
+
"$value": [
|
|
44544
|
+
{
|
|
44545
|
+
"color": "{shadow.color.default}",
|
|
44546
|
+
"offsetX": 0,
|
|
44547
|
+
"offsetY": 0,
|
|
44548
|
+
"blur": "2px",
|
|
44549
|
+
"spread": 0
|
|
44550
|
+
},
|
|
44551
|
+
{
|
|
44552
|
+
"color": "{shadow.color.default}",
|
|
44553
|
+
"offsetX": 0,
|
|
44554
|
+
"offsetY": "1px",
|
|
44555
|
+
"blur": "4px",
|
|
44556
|
+
"spread": 0
|
|
44557
|
+
}
|
|
44558
|
+
],
|
|
44559
|
+
"$type": "shadow",
|
|
44560
|
+
"$description": "Used for surfaces that need to indicate users can manually interact with them. For example, cards in issue board.",
|
|
44561
|
+
"$extensions": {
|
|
44562
|
+
"com.figma.scope": []
|
|
44563
|
+
},
|
|
44564
|
+
"key": "{shadow.sm}"
|
|
44565
|
+
},
|
|
44566
|
+
"name": "SHADOW_SM",
|
|
44567
|
+
"attributes": {},
|
|
44568
|
+
"path": [
|
|
44569
|
+
"shadow",
|
|
44570
|
+
"sm"
|
|
44571
|
+
],
|
|
44572
|
+
"cssWithValue": "var(--gl-shadow-sm)"
|
|
44573
|
+
},
|
|
44574
|
+
"md": {
|
|
44575
|
+
"key": "{shadow.md}",
|
|
44576
|
+
"$value": [
|
|
44577
|
+
{
|
|
44578
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
44579
|
+
"offsetX": 0,
|
|
44580
|
+
"offsetY": 0,
|
|
44581
|
+
"blur": "1px",
|
|
44582
|
+
"spread": 0
|
|
44583
|
+
},
|
|
44584
|
+
{
|
|
44585
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
44586
|
+
"offsetX": 0,
|
|
44587
|
+
"offsetY": 0,
|
|
44588
|
+
"blur": "2px",
|
|
44589
|
+
"spread": 0
|
|
44590
|
+
},
|
|
44591
|
+
{
|
|
44592
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
44593
|
+
"offsetX": 0,
|
|
44594
|
+
"offsetY": "2px",
|
|
44595
|
+
"blur": "8px",
|
|
44596
|
+
"spread": 0
|
|
44597
|
+
}
|
|
44598
|
+
],
|
|
44599
|
+
"$type": "shadow",
|
|
44600
|
+
"$description": "Used for surfaces that need boundary definition and appear on hover. For example, popovers.",
|
|
44601
|
+
"$extensions": {
|
|
44602
|
+
"com.figma.scope": []
|
|
44603
|
+
},
|
|
44604
|
+
"filePath": "src/tokens/constant/shadow.tokens.json",
|
|
44605
|
+
"isSource": true,
|
|
44606
|
+
"original": {
|
|
44607
|
+
"$value": [
|
|
44608
|
+
{
|
|
44609
|
+
"color": "{shadow.color.default}",
|
|
44610
|
+
"offsetX": 0,
|
|
44611
|
+
"offsetY": 0,
|
|
44612
|
+
"blur": "1px",
|
|
44613
|
+
"spread": 0
|
|
44614
|
+
},
|
|
44615
|
+
{
|
|
44616
|
+
"color": "{shadow.color.default}",
|
|
44617
|
+
"offsetX": 0,
|
|
44618
|
+
"offsetY": 0,
|
|
44619
|
+
"blur": "2px",
|
|
44620
|
+
"spread": 0
|
|
44621
|
+
},
|
|
44622
|
+
{
|
|
44623
|
+
"color": "{shadow.color.default}",
|
|
44624
|
+
"offsetX": 0,
|
|
44625
|
+
"offsetY": "2px",
|
|
44626
|
+
"blur": "8px",
|
|
44627
|
+
"spread": 0
|
|
44628
|
+
}
|
|
44629
|
+
],
|
|
44630
|
+
"$type": "shadow",
|
|
44631
|
+
"$description": "Used for surfaces that need boundary definition and appear on hover. For example, popovers.",
|
|
44632
|
+
"$extensions": {
|
|
44633
|
+
"com.figma.scope": []
|
|
44634
|
+
},
|
|
44635
|
+
"key": "{shadow.md}"
|
|
44636
|
+
},
|
|
44637
|
+
"name": "SHADOW_MD",
|
|
44638
|
+
"attributes": {},
|
|
44639
|
+
"path": [
|
|
44640
|
+
"shadow",
|
|
44641
|
+
"md"
|
|
44642
|
+
],
|
|
44643
|
+
"cssWithValue": "var(--gl-shadow-md)"
|
|
44644
|
+
},
|
|
44645
|
+
"lg": {
|
|
44646
|
+
"key": "{shadow.lg}",
|
|
44647
|
+
"$value": [
|
|
44648
|
+
{
|
|
44649
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
44650
|
+
"offsetX": 0,
|
|
44651
|
+
"offsetY": 0,
|
|
44652
|
+
"blur": "2px",
|
|
44653
|
+
"spread": 0
|
|
44654
|
+
},
|
|
44655
|
+
{
|
|
44656
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
44657
|
+
"offsetX": 0,
|
|
44658
|
+
"offsetY": 0,
|
|
44659
|
+
"blur": "2px",
|
|
44660
|
+
"spread": 0
|
|
44661
|
+
},
|
|
44662
|
+
{
|
|
44663
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
44664
|
+
"offsetX": 0,
|
|
44665
|
+
"offsetY": "4px",
|
|
44666
|
+
"blur": "12px",
|
|
44667
|
+
"spread": 0
|
|
44668
|
+
}
|
|
44669
|
+
],
|
|
44670
|
+
"$type": "shadow",
|
|
44671
|
+
"$description": "Used for large surfaces that present additional context to the user.",
|
|
44672
|
+
"$extensions": {
|
|
44673
|
+
"com.figma.scope": []
|
|
44674
|
+
},
|
|
44675
|
+
"filePath": "src/tokens/constant/shadow.tokens.json",
|
|
44676
|
+
"isSource": true,
|
|
44677
|
+
"original": {
|
|
44678
|
+
"$value": [
|
|
44679
|
+
{
|
|
44680
|
+
"color": "{shadow.color.default}",
|
|
44681
|
+
"offsetX": 0,
|
|
44682
|
+
"offsetY": 0,
|
|
44683
|
+
"blur": "2px",
|
|
44684
|
+
"spread": 0
|
|
44685
|
+
},
|
|
44686
|
+
{
|
|
44687
|
+
"color": "{shadow.color.default}",
|
|
44688
|
+
"offsetX": 0,
|
|
44689
|
+
"offsetY": 0,
|
|
44690
|
+
"blur": "2px",
|
|
44691
|
+
"spread": 0
|
|
44692
|
+
},
|
|
44693
|
+
{
|
|
44694
|
+
"color": "{shadow.color.default}",
|
|
44695
|
+
"offsetX": 0,
|
|
44696
|
+
"offsetY": "4px",
|
|
44697
|
+
"blur": "12px",
|
|
44698
|
+
"spread": 0
|
|
44699
|
+
}
|
|
44700
|
+
],
|
|
44701
|
+
"$type": "shadow",
|
|
44702
|
+
"$description": "Used for large surfaces that present additional context to the user.",
|
|
44703
|
+
"$extensions": {
|
|
44704
|
+
"com.figma.scope": []
|
|
44705
|
+
},
|
|
44706
|
+
"key": "{shadow.lg}"
|
|
44707
|
+
},
|
|
44708
|
+
"name": "SHADOW_LG",
|
|
44709
|
+
"attributes": {},
|
|
44710
|
+
"path": [
|
|
44711
|
+
"shadow",
|
|
44712
|
+
"lg"
|
|
44713
|
+
],
|
|
44714
|
+
"cssWithValue": "var(--gl-shadow-lg)"
|
|
44715
|
+
}
|
|
44515
44716
|
}
|
|
44516
44717
|
}
|
|
@@ -44512,5 +44512,206 @@
|
|
|
44512
44512
|
],
|
|
44513
44513
|
"cssWithValue": "var(--gl-zindex-9999, 9999)"
|
|
44514
44514
|
}
|
|
44515
|
+
},
|
|
44516
|
+
"boxShadow": {
|
|
44517
|
+
"sm": {
|
|
44518
|
+
"key": "{shadow.sm}",
|
|
44519
|
+
"$value": [
|
|
44520
|
+
{
|
|
44521
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
44522
|
+
"offsetX": 0,
|
|
44523
|
+
"offsetY": 0,
|
|
44524
|
+
"blur": "2px",
|
|
44525
|
+
"spread": 0
|
|
44526
|
+
},
|
|
44527
|
+
{
|
|
44528
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
44529
|
+
"offsetX": 0,
|
|
44530
|
+
"offsetY": "1px",
|
|
44531
|
+
"blur": "4px",
|
|
44532
|
+
"spread": 0
|
|
44533
|
+
}
|
|
44534
|
+
],
|
|
44535
|
+
"$type": "shadow",
|
|
44536
|
+
"$description": "Used for surfaces that need to indicate users can manually interact with them. For example, cards in issue board.",
|
|
44537
|
+
"$extensions": {
|
|
44538
|
+
"com.figma.scope": []
|
|
44539
|
+
},
|
|
44540
|
+
"filePath": "src/tokens/constant/shadow.tokens.json",
|
|
44541
|
+
"isSource": true,
|
|
44542
|
+
"original": {
|
|
44543
|
+
"$value": [
|
|
44544
|
+
{
|
|
44545
|
+
"color": "{shadow.color.default}",
|
|
44546
|
+
"offsetX": 0,
|
|
44547
|
+
"offsetY": 0,
|
|
44548
|
+
"blur": "2px",
|
|
44549
|
+
"spread": 0
|
|
44550
|
+
},
|
|
44551
|
+
{
|
|
44552
|
+
"color": "{shadow.color.default}",
|
|
44553
|
+
"offsetX": 0,
|
|
44554
|
+
"offsetY": "1px",
|
|
44555
|
+
"blur": "4px",
|
|
44556
|
+
"spread": 0
|
|
44557
|
+
}
|
|
44558
|
+
],
|
|
44559
|
+
"$type": "shadow",
|
|
44560
|
+
"$description": "Used for surfaces that need to indicate users can manually interact with them. For example, cards in issue board.",
|
|
44561
|
+
"$extensions": {
|
|
44562
|
+
"com.figma.scope": []
|
|
44563
|
+
},
|
|
44564
|
+
"key": "{shadow.sm}"
|
|
44565
|
+
},
|
|
44566
|
+
"name": "SHADOW_SM",
|
|
44567
|
+
"attributes": {},
|
|
44568
|
+
"path": [
|
|
44569
|
+
"shadow",
|
|
44570
|
+
"sm"
|
|
44571
|
+
],
|
|
44572
|
+
"cssWithValue": "var(--gl-shadow-sm)"
|
|
44573
|
+
},
|
|
44574
|
+
"md": {
|
|
44575
|
+
"key": "{shadow.md}",
|
|
44576
|
+
"$value": [
|
|
44577
|
+
{
|
|
44578
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
44579
|
+
"offsetX": 0,
|
|
44580
|
+
"offsetY": 0,
|
|
44581
|
+
"blur": "1px",
|
|
44582
|
+
"spread": 0
|
|
44583
|
+
},
|
|
44584
|
+
{
|
|
44585
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
44586
|
+
"offsetX": 0,
|
|
44587
|
+
"offsetY": 0,
|
|
44588
|
+
"blur": "2px",
|
|
44589
|
+
"spread": 0
|
|
44590
|
+
},
|
|
44591
|
+
{
|
|
44592
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
44593
|
+
"offsetX": 0,
|
|
44594
|
+
"offsetY": "2px",
|
|
44595
|
+
"blur": "8px",
|
|
44596
|
+
"spread": 0
|
|
44597
|
+
}
|
|
44598
|
+
],
|
|
44599
|
+
"$type": "shadow",
|
|
44600
|
+
"$description": "Used for surfaces that need boundary definition and appear on hover. For example, popovers.",
|
|
44601
|
+
"$extensions": {
|
|
44602
|
+
"com.figma.scope": []
|
|
44603
|
+
},
|
|
44604
|
+
"filePath": "src/tokens/constant/shadow.tokens.json",
|
|
44605
|
+
"isSource": true,
|
|
44606
|
+
"original": {
|
|
44607
|
+
"$value": [
|
|
44608
|
+
{
|
|
44609
|
+
"color": "{shadow.color.default}",
|
|
44610
|
+
"offsetX": 0,
|
|
44611
|
+
"offsetY": 0,
|
|
44612
|
+
"blur": "1px",
|
|
44613
|
+
"spread": 0
|
|
44614
|
+
},
|
|
44615
|
+
{
|
|
44616
|
+
"color": "{shadow.color.default}",
|
|
44617
|
+
"offsetX": 0,
|
|
44618
|
+
"offsetY": 0,
|
|
44619
|
+
"blur": "2px",
|
|
44620
|
+
"spread": 0
|
|
44621
|
+
},
|
|
44622
|
+
{
|
|
44623
|
+
"color": "{shadow.color.default}",
|
|
44624
|
+
"offsetX": 0,
|
|
44625
|
+
"offsetY": "2px",
|
|
44626
|
+
"blur": "8px",
|
|
44627
|
+
"spread": 0
|
|
44628
|
+
}
|
|
44629
|
+
],
|
|
44630
|
+
"$type": "shadow",
|
|
44631
|
+
"$description": "Used for surfaces that need boundary definition and appear on hover. For example, popovers.",
|
|
44632
|
+
"$extensions": {
|
|
44633
|
+
"com.figma.scope": []
|
|
44634
|
+
},
|
|
44635
|
+
"key": "{shadow.md}"
|
|
44636
|
+
},
|
|
44637
|
+
"name": "SHADOW_MD",
|
|
44638
|
+
"attributes": {},
|
|
44639
|
+
"path": [
|
|
44640
|
+
"shadow",
|
|
44641
|
+
"md"
|
|
44642
|
+
],
|
|
44643
|
+
"cssWithValue": "var(--gl-shadow-md)"
|
|
44644
|
+
},
|
|
44645
|
+
"lg": {
|
|
44646
|
+
"key": "{shadow.lg}",
|
|
44647
|
+
"$value": [
|
|
44648
|
+
{
|
|
44649
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
44650
|
+
"offsetX": 0,
|
|
44651
|
+
"offsetY": 0,
|
|
44652
|
+
"blur": "2px",
|
|
44653
|
+
"spread": 0
|
|
44654
|
+
},
|
|
44655
|
+
{
|
|
44656
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
44657
|
+
"offsetX": 0,
|
|
44658
|
+
"offsetY": 0,
|
|
44659
|
+
"blur": "2px",
|
|
44660
|
+
"spread": 0
|
|
44661
|
+
},
|
|
44662
|
+
{
|
|
44663
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
44664
|
+
"offsetX": 0,
|
|
44665
|
+
"offsetY": "4px",
|
|
44666
|
+
"blur": "12px",
|
|
44667
|
+
"spread": 0
|
|
44668
|
+
}
|
|
44669
|
+
],
|
|
44670
|
+
"$type": "shadow",
|
|
44671
|
+
"$description": "Used for large surfaces that present additional context to the user.",
|
|
44672
|
+
"$extensions": {
|
|
44673
|
+
"com.figma.scope": []
|
|
44674
|
+
},
|
|
44675
|
+
"filePath": "src/tokens/constant/shadow.tokens.json",
|
|
44676
|
+
"isSource": true,
|
|
44677
|
+
"original": {
|
|
44678
|
+
"$value": [
|
|
44679
|
+
{
|
|
44680
|
+
"color": "{shadow.color.default}",
|
|
44681
|
+
"offsetX": 0,
|
|
44682
|
+
"offsetY": 0,
|
|
44683
|
+
"blur": "2px",
|
|
44684
|
+
"spread": 0
|
|
44685
|
+
},
|
|
44686
|
+
{
|
|
44687
|
+
"color": "{shadow.color.default}",
|
|
44688
|
+
"offsetX": 0,
|
|
44689
|
+
"offsetY": 0,
|
|
44690
|
+
"blur": "2px",
|
|
44691
|
+
"spread": 0
|
|
44692
|
+
},
|
|
44693
|
+
{
|
|
44694
|
+
"color": "{shadow.color.default}",
|
|
44695
|
+
"offsetX": 0,
|
|
44696
|
+
"offsetY": "4px",
|
|
44697
|
+
"blur": "12px",
|
|
44698
|
+
"spread": 0
|
|
44699
|
+
}
|
|
44700
|
+
],
|
|
44701
|
+
"$type": "shadow",
|
|
44702
|
+
"$description": "Used for large surfaces that present additional context to the user.",
|
|
44703
|
+
"$extensions": {
|
|
44704
|
+
"com.figma.scope": []
|
|
44705
|
+
},
|
|
44706
|
+
"key": "{shadow.lg}"
|
|
44707
|
+
},
|
|
44708
|
+
"name": "SHADOW_LG",
|
|
44709
|
+
"attributes": {},
|
|
44710
|
+
"path": [
|
|
44711
|
+
"shadow",
|
|
44712
|
+
"lg"
|
|
44713
|
+
],
|
|
44714
|
+
"cssWithValue": "var(--gl-shadow-lg)"
|
|
44715
|
+
}
|
|
44515
44716
|
}
|
|
44516
44717
|
}
|
|
@@ -1876,6 +1876,91 @@
|
|
|
1876
1876
|
}
|
|
1877
1877
|
}
|
|
1878
1878
|
},
|
|
1879
|
+
"shadow": {
|
|
1880
|
+
"sm": {
|
|
1881
|
+
"$value": [
|
|
1882
|
+
{
|
|
1883
|
+
"color": "{shadow.color.default}",
|
|
1884
|
+
"offsetX": 0,
|
|
1885
|
+
"offsetY": 0,
|
|
1886
|
+
"blur": "2px",
|
|
1887
|
+
"spread": 0
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
"color": "{shadow.color.default}",
|
|
1891
|
+
"offsetX": 0,
|
|
1892
|
+
"offsetY": "1px",
|
|
1893
|
+
"blur": "4px",
|
|
1894
|
+
"spread": 0
|
|
1895
|
+
}
|
|
1896
|
+
],
|
|
1897
|
+
"$type": "shadow",
|
|
1898
|
+
"$description": "Used for surfaces that need to indicate users can manually interact with them. For example, cards in issue board.",
|
|
1899
|
+
"$extensions": {
|
|
1900
|
+
"com.figma.scope": []
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
"md": {
|
|
1904
|
+
"$value": [
|
|
1905
|
+
{
|
|
1906
|
+
"color": "{shadow.color.default}",
|
|
1907
|
+
"offsetX": 0,
|
|
1908
|
+
"offsetY": 0,
|
|
1909
|
+
"blur": "1px",
|
|
1910
|
+
"spread": 0
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
"color": "{shadow.color.default}",
|
|
1914
|
+
"offsetX": 0,
|
|
1915
|
+
"offsetY": 0,
|
|
1916
|
+
"blur": "2px",
|
|
1917
|
+
"spread": 0
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
"color": "{shadow.color.default}",
|
|
1921
|
+
"offsetX": 0,
|
|
1922
|
+
"offsetY": "2px",
|
|
1923
|
+
"blur": "8px",
|
|
1924
|
+
"spread": 0
|
|
1925
|
+
}
|
|
1926
|
+
],
|
|
1927
|
+
"$type": "shadow",
|
|
1928
|
+
"$description": "Used for surfaces that need boundary definition and appear on hover. For example, popovers.",
|
|
1929
|
+
"$extensions": {
|
|
1930
|
+
"com.figma.scope": []
|
|
1931
|
+
}
|
|
1932
|
+
},
|
|
1933
|
+
"lg": {
|
|
1934
|
+
"$value": [
|
|
1935
|
+
{
|
|
1936
|
+
"color": "{shadow.color.default}",
|
|
1937
|
+
"offsetX": 0,
|
|
1938
|
+
"offsetY": 0,
|
|
1939
|
+
"blur": "2px",
|
|
1940
|
+
"spread": 0
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"color": "{shadow.color.default}",
|
|
1944
|
+
"offsetX": 0,
|
|
1945
|
+
"offsetY": 0,
|
|
1946
|
+
"blur": "2px",
|
|
1947
|
+
"spread": 0
|
|
1948
|
+
},
|
|
1949
|
+
{
|
|
1950
|
+
"color": "{shadow.color.default}",
|
|
1951
|
+
"offsetX": 0,
|
|
1952
|
+
"offsetY": "4px",
|
|
1953
|
+
"blur": "12px",
|
|
1954
|
+
"spread": 0
|
|
1955
|
+
}
|
|
1956
|
+
],
|
|
1957
|
+
"$type": "shadow",
|
|
1958
|
+
"$description": "Used for large surfaces that present additional context to the user.",
|
|
1959
|
+
"$extensions": {
|
|
1960
|
+
"com.figma.scope": []
|
|
1961
|
+
}
|
|
1962
|
+
}
|
|
1963
|
+
},
|
|
1879
1964
|
"spacing-scale": {
|
|
1880
1965
|
"0": {
|
|
1881
1966
|
"$value": "0",
|