@salutejs/plasma-new-hope 0.340.0-canary.2314.19044603417.0 → 0.340.0-canary.2314.19163733637.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/cjs/components/Tabs/tokens.js +1 -0
- package/cjs/components/Tabs/tokens.js.map +1 -1
- package/emotion/cjs/components/Tabs/tokens.js +1 -0
- package/emotion/cjs/examples/components/ChipGroup/ChipGroup.config.js +35 -0
- package/emotion/cjs/examples/components/Combobox/Combobox.config.js +15 -15
- package/emotion/cjs/examples/components/Combobox/Combobox.js +15 -0
- package/emotion/cjs/examples/components/Select/Select.config.js +24 -24
- package/emotion/cjs/examples/components/Tabs/horizontal/HorizontalTabItem.config.js +16 -16
- package/emotion/cjs/examples/components/Tabs/vertical/VerticalTabItem.config.js +7 -7
- package/emotion/es/components/Tabs/tokens.js +1 -0
- package/emotion/es/examples/components/ChipGroup/ChipGroup.config.js +25 -0
- package/emotion/es/examples/components/Combobox/Combobox.config.js +15 -15
- package/emotion/es/examples/components/Combobox/Combobox.js +0 -7
- package/emotion/es/examples/components/Select/Select.config.js +24 -24
- package/emotion/es/examples/components/Tabs/horizontal/HorizontalTabItem.config.js +16 -16
- package/emotion/es/examples/components/Tabs/vertical/VerticalTabItem.config.js +7 -7
- package/es/components/Tabs/tokens.js +1 -0
- package/es/components/Tabs/tokens.js.map +1 -1
- package/package.json +3 -3
- package/styled-components/cjs/components/Tabs/tokens.js +1 -0
- package/styled-components/cjs/examples/components/ChipGroup/ChipGroup.config.js +141 -0
- package/styled-components/cjs/examples/components/Combobox/Combobox.config.js +8 -8
- package/styled-components/cjs/examples/components/Combobox/Combobox.js +15 -0
- package/styled-components/cjs/examples/components/Select/Select.config.js +7 -7
- package/styled-components/cjs/examples/components/Tabs/horizontal/HorizontalTabItem.config.js +4 -4
- package/styled-components/cjs/examples/components/Tabs/vertical/VerticalTabItem.config.js +4 -4
- package/styled-components/es/components/Tabs/tokens.js +1 -0
- package/styled-components/es/examples/components/ChipGroup/ChipGroup.config.js +131 -0
- package/styled-components/es/examples/components/Combobox/Combobox.config.js +8 -8
- package/styled-components/es/examples/components/Combobox/Combobox.js +0 -7
- package/styled-components/es/examples/components/Select/Select.config.js +7 -7
- package/styled-components/es/examples/components/Tabs/horizontal/HorizontalTabItem.config.js +4 -4
- package/styled-components/es/examples/components/Tabs/vertical/VerticalTabItem.config.js +4 -4
- package/types/components/Tabs/tokens.d.ts +1 -0
- package/types/components/Tabs/tokens.d.ts.map +1 -1
- package/types/examples/components/ChipGroup/ChipGroup.config.d.ts.map +1 -0
- package/types/examples/components/ChipGroup/ChipGroup.d.ts.map +1 -0
- package/emotion/cjs/examples/components/ChipGroup /ChipGroup.config.js +0 -214
- package/emotion/es/examples/components/ChipGroup /ChipGroup.config.js +0 -204
- package/styled-components/cjs/examples/components/ChipGroup /ChipGroup.config.js +0 -214
- package/styled-components/es/examples/components/ChipGroup /ChipGroup.config.js +0 -204
- package/types/examples/components/ChipGroup /ChipGroup.config.d.ts.map +0 -1
- package/types/examples/components/ChipGroup /ChipGroup.d.ts.map +0 -1
- /package/emotion/cjs/examples/components/{ChipGroup → ChipGroup}/ChipGroup.js +0 -0
- /package/emotion/es/examples/components/{ChipGroup → ChipGroup}/ChipGroup.js +0 -0
- /package/styled-components/cjs/examples/components/{ChipGroup → ChipGroup}/ChipGroup.js +0 -0
- /package/styled-components/es/examples/components/{ChipGroup → ChipGroup}/ChipGroup.js +0 -0
- /package/types/examples/components/{ChipGroup → ChipGroup}/ChipGroup.config.d.ts +0 -0
- /package/types/examples/components/{ChipGroup → ChipGroup}/ChipGroup.d.ts +0 -0
|
@@ -270,8 +270,8 @@ var config = {
|
|
|
270
270
|
":0.125rem;",
|
|
271
271
|
":0.875rem;",
|
|
272
272
|
":1.5rem;",
|
|
273
|
-
":1rem
|
|
274
|
-
":0.75rem
|
|
273
|
+
":1rem 0.875rem;",
|
|
274
|
+
":0.75rem 0.875rem;",
|
|
275
275
|
":0.75rem;",
|
|
276
276
|
":0 0.5rem 0 0;",
|
|
277
277
|
":1.5rem;",
|
|
@@ -375,8 +375,8 @@ var config = {
|
|
|
375
375
|
":0.125rem;",
|
|
376
376
|
":0.75rem;",
|
|
377
377
|
":1.5rem;",
|
|
378
|
-
":0.75rem 0.
|
|
379
|
-
":0.5rem 0.
|
|
378
|
+
":0.75rem 0.75rem;",
|
|
379
|
+
":0.5rem 0.75rem;",
|
|
380
380
|
":0.625rem;",
|
|
381
381
|
":0 0.375rem 0 0;",
|
|
382
382
|
":1.5rem;",
|
|
@@ -480,8 +480,8 @@ var config = {
|
|
|
480
480
|
":0.125rem;",
|
|
481
481
|
":0.625rem;",
|
|
482
482
|
":1.5rem;",
|
|
483
|
-
":0.5rem 0.
|
|
484
|
-
":0.25rem 0.
|
|
483
|
+
":0.5rem 0.625rem;",
|
|
484
|
+
":0.25rem 0.625rem;",
|
|
485
485
|
":0.5rem;",
|
|
486
486
|
":1.5rem;",
|
|
487
487
|
":1rem;",
|
|
@@ -585,8 +585,8 @@ var config = {
|
|
|
585
585
|
":0.125rem;",
|
|
586
586
|
":0.5rem;",
|
|
587
587
|
":1rem;",
|
|
588
|
-
":0.5rem;",
|
|
589
|
-
":0.25rem 0.
|
|
588
|
+
":0.5rem 0.375rem;",
|
|
589
|
+
":0.25rem 0.375rem;",
|
|
590
590
|
":0.375rem;",
|
|
591
591
|
":1rem;",
|
|
592
592
|
":1rem;",
|
|
@@ -1 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "Combobox", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return Combobox;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _engines = require("../../../engines");
|
|
12
|
+
var _ = require("../../..");
|
|
13
|
+
var _Comboboxconfig = require("./Combobox.config");
|
|
14
|
+
var mergedConfig = (0, _engines.mergeConfig)(_.comboboxNewConfig, _Comboboxconfig.config);
|
|
15
|
+
var ComboboxComponent = (0, _engines.component)(mergedConfig);
|
|
16
|
+
var Combobox = ComboboxComponent;
|
|
@@ -383,8 +383,8 @@ var config = {
|
|
|
383
383
|
":0.125rem;",
|
|
384
384
|
":0.875rem;",
|
|
385
385
|
":1.5rem;",
|
|
386
|
-
":1rem
|
|
387
|
-
":0.75rem
|
|
386
|
+
":1rem 0.875rem;",
|
|
387
|
+
":0.75rem 0.875rem;",
|
|
388
388
|
":0.75rem;",
|
|
389
389
|
":0 0.5rem 0 0;",
|
|
390
390
|
":1.5rem;",
|
|
@@ -490,8 +490,8 @@ var config = {
|
|
|
490
490
|
":0.125rem;",
|
|
491
491
|
":0.75rem;",
|
|
492
492
|
":1.5rem;",
|
|
493
|
-
":0.75rem 0.
|
|
494
|
-
":0.5rem 0.
|
|
493
|
+
":0.75rem 0.75rem;",
|
|
494
|
+
":0.5rem 0.75rem;",
|
|
495
495
|
":0.625rem;",
|
|
496
496
|
":0 0.375rem 0 0;",
|
|
497
497
|
":1.5rem;",
|
|
@@ -597,7 +597,7 @@ var config = {
|
|
|
597
597
|
":0.125rem;",
|
|
598
598
|
":0.625rem;",
|
|
599
599
|
":1.5rem;",
|
|
600
|
-
":0.5rem 0.
|
|
600
|
+
":0.5rem 0.625rem;",
|
|
601
601
|
":0.25rem 0.75rem;",
|
|
602
602
|
":0.5rem;",
|
|
603
603
|
":1.5rem;",
|
|
@@ -704,8 +704,8 @@ var config = {
|
|
|
704
704
|
":0.125rem;",
|
|
705
705
|
":0.5rem;",
|
|
706
706
|
":1rem;",
|
|
707
|
-
":0.5rem;",
|
|
708
|
-
":0.25rem 0.
|
|
707
|
+
":0.5rem 0.375rem;",
|
|
708
|
+
":0.25rem 0.375rem;",
|
|
709
709
|
":0.375rem;",
|
|
710
710
|
":1rem;",
|
|
711
711
|
":1rem;",
|
package/styled-components/cjs/examples/components/Tabs/horizontal/HorizontalTabItem.config.js
CHANGED
|
@@ -126,7 +126,7 @@ var config = {
|
|
|
126
126
|
":var(--plasma-typo-body-xs-font-family);",
|
|
127
127
|
":var(--plasma-typo-body-xs-font-size);",
|
|
128
128
|
":var(--plasma-typo-body-xs-font-style);",
|
|
129
|
-
":var(--plasma-typo-body-xs-font-weight);",
|
|
129
|
+
":var(--plasma-typo-body-xs-bold-font-weight);",
|
|
130
130
|
":var(--plasma-typo-body-xs-letter-spacing);",
|
|
131
131
|
":var(--plasma-typo-body-xs-line-height);",
|
|
132
132
|
":0;"
|
|
@@ -144,7 +144,7 @@ var config = {
|
|
|
144
144
|
":var(--plasma-typo-body-s-font-family);",
|
|
145
145
|
":var(--plasma-typo-body-s-font-size);",
|
|
146
146
|
":var(--plasma-typo-body-s-font-style);",
|
|
147
|
-
":var(--plasma-typo-body-s-font-weight);",
|
|
147
|
+
":var(--plasma-typo-body-s-bold-font-weight);",
|
|
148
148
|
":var(--plasma-typo-body-s-letter-spacing);",
|
|
149
149
|
":var(--plasma-typo-body-s-line-height);",
|
|
150
150
|
":0.125rem;"
|
|
@@ -162,7 +162,7 @@ var config = {
|
|
|
162
162
|
":var(--plasma-typo-body-m-font-family);",
|
|
163
163
|
":var(--plasma-typo-body-m-font-size);",
|
|
164
164
|
":var(--plasma-typo-body-m-font-style);",
|
|
165
|
-
":var(--plasma-typo-body-m-font-weight);",
|
|
165
|
+
":var(--plasma-typo-body-m-bold-font-weight);",
|
|
166
166
|
":var(--plasma-typo-body-m-letter-spacing);",
|
|
167
167
|
":var(--plasma-typo-body-m-line-height);",
|
|
168
168
|
":0.25rem;"
|
|
@@ -180,7 +180,7 @@ var config = {
|
|
|
180
180
|
":var(--plasma-typo-body-l-font-family);",
|
|
181
181
|
":var(--plasma-typo-body-l-font-size);",
|
|
182
182
|
":var(--plasma-typo-body-l-font-style);",
|
|
183
|
-
":var(--plasma-typo-body-l-font-weight);",
|
|
183
|
+
":var(--plasma-typo-body-l-bold-font-weight);",
|
|
184
184
|
":var(--plasma-typo-body-l-letter-spacing);",
|
|
185
185
|
":var(--plasma-typo-body-l-line-height);",
|
|
186
186
|
":0.125rem;"
|
|
@@ -59,7 +59,7 @@ var config = {
|
|
|
59
59
|
":var(--plasma-typo-body-xs-font-family);",
|
|
60
60
|
":var(--plasma-typo-body-xs-font-size);",
|
|
61
61
|
":var(--plasma-typo-body-xs-font-style);",
|
|
62
|
-
":var(--plasma-typo-body-xs-font-weight);",
|
|
62
|
+
":var(--plasma-typo-body-xs-bold-font-weight);",
|
|
63
63
|
":var(--plasma-typo-body-xs-letter-spacing);",
|
|
64
64
|
":var(--plasma-typo-body-xs-line-height);",
|
|
65
65
|
":0;"
|
|
@@ -78,7 +78,7 @@ var config = {
|
|
|
78
78
|
":var(--plasma-typo-body-s-font-family);",
|
|
79
79
|
":var(--plasma-typo-body-s-font-size);",
|
|
80
80
|
":var(--plasma-typo-body-s-font-style);",
|
|
81
|
-
":var(--plasma-typo-body-s-font-weight);",
|
|
81
|
+
":var(--plasma-typo-body-s-bold-font-weight);",
|
|
82
82
|
":var(--plasma-typo-body-s-letter-spacing);",
|
|
83
83
|
":var(--plasma-typo-body-s-line-height);",
|
|
84
84
|
":0.25rem;"
|
|
@@ -97,7 +97,7 @@ var config = {
|
|
|
97
97
|
":var(--plasma-typo-body-m-font-family);",
|
|
98
98
|
":var(--plasma-typo-body-m-font-size);",
|
|
99
99
|
":var(--plasma-typo-body-m-font-style);",
|
|
100
|
-
":var(--plasma-typo-body-m-font-weight);",
|
|
100
|
+
":var(--plasma-typo-body-m-bold-font-weight);",
|
|
101
101
|
":var(--plasma-typo-body-m-letter-spacing);",
|
|
102
102
|
":var(--plasma-typo-body-m-line-height);",
|
|
103
103
|
":0.125rem;"
|
|
@@ -116,7 +116,7 @@ var config = {
|
|
|
116
116
|
":var(--plasma-typo-body-l-font-family);",
|
|
117
117
|
":var(--plasma-typo-body-l-font-size);",
|
|
118
118
|
":var(--plasma-typo-body-l-font-style);",
|
|
119
|
-
":var(--plasma-typo-body-l-font-weight);",
|
|
119
|
+
":var(--plasma-typo-body-l-bold-font-weight);",
|
|
120
120
|
":var(--plasma-typo-body-l-letter-spacing);",
|
|
121
121
|
":var(--plasma-typo-body-l-line-height);",
|
|
122
122
|
":0.125rem;"
|
|
@@ -80,6 +80,7 @@ export var tokens = {
|
|
|
80
80
|
fontSize: '--plasma-tab-item-font-size',
|
|
81
81
|
fontStyle: '--plasma-tab-item-font-style',
|
|
82
82
|
fontWeight: '--plasma-tab-item-font-weight',
|
|
83
|
+
fontWeightSelected: '--plasma-tab-item-font-weight-selected',
|
|
83
84
|
letterSpacing: '--plasma-tab-item-letter-spacing',
|
|
84
85
|
lineHeight: '--plasma-tab-item-lineheight',
|
|
85
86
|
valueFontFamily: '--plasma-tab-item-value-font-family',
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { css } from "styled-components";
|
|
2
|
+
import { chipGroupTokens as tokens } from "../../../components/ChipGroup";
|
|
3
|
+
export var config = {
|
|
4
|
+
defaults: {
|
|
5
|
+
view: 'default',
|
|
6
|
+
size: 'm'
|
|
7
|
+
},
|
|
8
|
+
variations: {
|
|
9
|
+
view: {
|
|
10
|
+
default: css([
|
|
11
|
+
"",
|
|
12
|
+
":var(--inverse-text-primary);",
|
|
13
|
+
":var(--surface-solid-default);",
|
|
14
|
+
":var(--inverse-text-primary);",
|
|
15
|
+
":var(--surface-solid-default-hover);",
|
|
16
|
+
":var(--inverse-text-primary);",
|
|
17
|
+
":var(--surface-solid-default-active);"
|
|
18
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive),
|
|
19
|
+
secondary: css([
|
|
20
|
+
"",
|
|
21
|
+
":var(--text-primary);",
|
|
22
|
+
":var(--surface-transparent-secondary);",
|
|
23
|
+
":var(--text-primary);",
|
|
24
|
+
":var(--surface-transparent-secondary-hover);",
|
|
25
|
+
":var(--text-primary);",
|
|
26
|
+
":var(--surface-transparent-secondary-active);"
|
|
27
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive),
|
|
28
|
+
accent: css([
|
|
29
|
+
"",
|
|
30
|
+
":var(--on-dark-text-primary);",
|
|
31
|
+
":var(--surface-accent);",
|
|
32
|
+
":var(--on-dark-text-primary);",
|
|
33
|
+
":var(--surface-accent-hover);",
|
|
34
|
+
":var(--on-dark-text-primary);",
|
|
35
|
+
":var(--surface-accent-active);"
|
|
36
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive)
|
|
37
|
+
},
|
|
38
|
+
size: {
|
|
39
|
+
l: css([
|
|
40
|
+
"",
|
|
41
|
+
":0.75rem;",
|
|
42
|
+
":auto;",
|
|
43
|
+
":3rem;",
|
|
44
|
+
":0 1rem;",
|
|
45
|
+
":var(--plasma-typo-body-l-font-family);",
|
|
46
|
+
":var(--plasma-typo-body-l-font-size);",
|
|
47
|
+
":var(--plasma-typo-body-l-font-style);",
|
|
48
|
+
":var(--plasma-typo-body-l-font-weight);",
|
|
49
|
+
":var(--plasma-typo-body-l-letter-spacing);",
|
|
50
|
+
":var(--plasma-typo-body-l-line-height);",
|
|
51
|
+
":-0.125rem;",
|
|
52
|
+
":0.5rem;",
|
|
53
|
+
":0.5rem;",
|
|
54
|
+
":-0.125rem;",
|
|
55
|
+
":0.625rem;",
|
|
56
|
+
":-0.25rem;",
|
|
57
|
+
":1.5rem;"
|
|
58
|
+
], tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPadding, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight, tokens.chipLeftContentMarginLeft, tokens.chipLeftContentMarginRight, tokens.chipRightContentMarginLeft, tokens.chipRightContentMarginRight, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize),
|
|
59
|
+
m: css([
|
|
60
|
+
"",
|
|
61
|
+
":0.625rem;",
|
|
62
|
+
":auto;",
|
|
63
|
+
":2.5rem;",
|
|
64
|
+
":0 0.875rem;",
|
|
65
|
+
":var(--plasma-typo-body-m-font-family);",
|
|
66
|
+
":var(--plasma-typo-body-m-font-size);",
|
|
67
|
+
":var(--plasma-typo-body-m-font-style);",
|
|
68
|
+
":var(--plasma-typo-body-m-font-weight);",
|
|
69
|
+
":var(--plasma-typo-body-m-letter-spacing);",
|
|
70
|
+
":var(--plasma-typo-body-m-line-height);",
|
|
71
|
+
":-0.125rem;",
|
|
72
|
+
":0.375rem;",
|
|
73
|
+
":0.375rem;",
|
|
74
|
+
":-0.125rem;",
|
|
75
|
+
":0.5rem;",
|
|
76
|
+
":-0.25rem;",
|
|
77
|
+
":1rem;"
|
|
78
|
+
], tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPadding, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight, tokens.chipLeftContentMarginLeft, tokens.chipLeftContentMarginRight, tokens.chipRightContentMarginLeft, tokens.chipRightContentMarginRight, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize),
|
|
79
|
+
s: css([
|
|
80
|
+
"",
|
|
81
|
+
":0.5rem;",
|
|
82
|
+
":auto;",
|
|
83
|
+
":2rem;",
|
|
84
|
+
":0 0.875rem;",
|
|
85
|
+
":var(--plasma-typo-body-s-font-family);",
|
|
86
|
+
":var(--plasma-typo-body-s-font-size);",
|
|
87
|
+
":var(--plasma-typo-body-s-font-style);",
|
|
88
|
+
":var(--plasma-typo-body-s-font-weight);",
|
|
89
|
+
":var(--plasma-typo-body-s-letter-spacing);",
|
|
90
|
+
":var(--plasma-typo-body-s-line-height);",
|
|
91
|
+
":-0.125rem;",
|
|
92
|
+
":0.25rem;",
|
|
93
|
+
":0.25rem;",
|
|
94
|
+
":-0.125rem;",
|
|
95
|
+
":0.375rem;",
|
|
96
|
+
":-0.25rem;",
|
|
97
|
+
":1rem;"
|
|
98
|
+
], tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPadding, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight, tokens.chipLeftContentMarginLeft, tokens.chipLeftContentMarginRight, tokens.chipRightContentMarginLeft, tokens.chipRightContentMarginRight, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize),
|
|
99
|
+
xs: css([
|
|
100
|
+
"",
|
|
101
|
+
":0.375rem;",
|
|
102
|
+
":auto;",
|
|
103
|
+
":1.5rem;",
|
|
104
|
+
":0 0.625rem;",
|
|
105
|
+
":var(--plasma-typo-body-xs-font-family);",
|
|
106
|
+
":var(--plasma-typo-body-xs-font-size);",
|
|
107
|
+
":var(--plasma-typo-body-xs-font-style);",
|
|
108
|
+
":var(--plasma-typo-body-xs-font-weight);",
|
|
109
|
+
":var(--plasma-typo-body-xs-letter-spacing);",
|
|
110
|
+
":var(--plasma-typo-body-xs-line-height);",
|
|
111
|
+
":-0.125rem;",
|
|
112
|
+
":0.25rem;",
|
|
113
|
+
":0.25rem;",
|
|
114
|
+
":-0.125rem;",
|
|
115
|
+
":0.25rem;",
|
|
116
|
+
":-0.25rem;",
|
|
117
|
+
":1rem;"
|
|
118
|
+
], tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPadding, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight, tokens.chipLeftContentMarginLeft, tokens.chipLeftContentMarginRight, tokens.chipRightContentMarginLeft, tokens.chipRightContentMarginRight, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize)
|
|
119
|
+
},
|
|
120
|
+
gap: {
|
|
121
|
+
dense: css([
|
|
122
|
+
"",
|
|
123
|
+
":0.125rem;"
|
|
124
|
+
], tokens.chipGroupItemsGap),
|
|
125
|
+
wide: css([
|
|
126
|
+
"",
|
|
127
|
+
":0.5rem;"
|
|
128
|
+
], tokens.chipGroupItemsGap)
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
};
|
|
@@ -260,8 +260,8 @@ export var config = {
|
|
|
260
260
|
":0.125rem;",
|
|
261
261
|
":0.875rem;",
|
|
262
262
|
":1.5rem;",
|
|
263
|
-
":1rem
|
|
264
|
-
":0.75rem
|
|
263
|
+
":1rem 0.875rem;",
|
|
264
|
+
":0.75rem 0.875rem;",
|
|
265
265
|
":0.75rem;",
|
|
266
266
|
":0 0.5rem 0 0;",
|
|
267
267
|
":1.5rem;",
|
|
@@ -365,8 +365,8 @@ export var config = {
|
|
|
365
365
|
":0.125rem;",
|
|
366
366
|
":0.75rem;",
|
|
367
367
|
":1.5rem;",
|
|
368
|
-
":0.75rem 0.
|
|
369
|
-
":0.5rem 0.
|
|
368
|
+
":0.75rem 0.75rem;",
|
|
369
|
+
":0.5rem 0.75rem;",
|
|
370
370
|
":0.625rem;",
|
|
371
371
|
":0 0.375rem 0 0;",
|
|
372
372
|
":1.5rem;",
|
|
@@ -470,8 +470,8 @@ export var config = {
|
|
|
470
470
|
":0.125rem;",
|
|
471
471
|
":0.625rem;",
|
|
472
472
|
":1.5rem;",
|
|
473
|
-
":0.5rem 0.
|
|
474
|
-
":0.25rem 0.
|
|
473
|
+
":0.5rem 0.625rem;",
|
|
474
|
+
":0.25rem 0.625rem;",
|
|
475
475
|
":0.5rem;",
|
|
476
476
|
":1.5rem;",
|
|
477
477
|
":1rem;",
|
|
@@ -575,8 +575,8 @@ export var config = {
|
|
|
575
575
|
":0.125rem;",
|
|
576
576
|
":0.5rem;",
|
|
577
577
|
":1rem;",
|
|
578
|
-
":0.5rem;",
|
|
579
|
-
":0.25rem 0.
|
|
578
|
+
":0.5rem 0.375rem;",
|
|
579
|
+
":0.25rem 0.375rem;",
|
|
580
580
|
":0.375rem;",
|
|
581
581
|
":1rem;",
|
|
582
582
|
":1rem;",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { component, mergeConfig } from "../../../engines";
|
|
2
|
-
import { comboboxNewConfig } from "../../..";
|
|
3
|
-
import { config } from "./Combobox.config";
|
|
4
|
-
var mergedConfig = mergeConfig(comboboxNewConfig, config);
|
|
5
|
-
var ComboboxComponent = component(mergedConfig);
|
|
6
|
-
var Combobox = ComboboxComponent;
|
|
7
|
-
export { Combobox };
|
|
@@ -373,8 +373,8 @@ export var config = {
|
|
|
373
373
|
":0.125rem;",
|
|
374
374
|
":0.875rem;",
|
|
375
375
|
":1.5rem;",
|
|
376
|
-
":1rem
|
|
377
|
-
":0.75rem
|
|
376
|
+
":1rem 0.875rem;",
|
|
377
|
+
":0.75rem 0.875rem;",
|
|
378
378
|
":0.75rem;",
|
|
379
379
|
":0 0.5rem 0 0;",
|
|
380
380
|
":1.5rem;",
|
|
@@ -480,8 +480,8 @@ export var config = {
|
|
|
480
480
|
":0.125rem;",
|
|
481
481
|
":0.75rem;",
|
|
482
482
|
":1.5rem;",
|
|
483
|
-
":0.75rem 0.
|
|
484
|
-
":0.5rem 0.
|
|
483
|
+
":0.75rem 0.75rem;",
|
|
484
|
+
":0.5rem 0.75rem;",
|
|
485
485
|
":0.625rem;",
|
|
486
486
|
":0 0.375rem 0 0;",
|
|
487
487
|
":1.5rem;",
|
|
@@ -587,7 +587,7 @@ export var config = {
|
|
|
587
587
|
":0.125rem;",
|
|
588
588
|
":0.625rem;",
|
|
589
589
|
":1.5rem;",
|
|
590
|
-
":0.5rem 0.
|
|
590
|
+
":0.5rem 0.625rem;",
|
|
591
591
|
":0.25rem 0.75rem;",
|
|
592
592
|
":0.5rem;",
|
|
593
593
|
":1.5rem;",
|
|
@@ -694,8 +694,8 @@ export var config = {
|
|
|
694
694
|
":0.125rem;",
|
|
695
695
|
":0.5rem;",
|
|
696
696
|
":1rem;",
|
|
697
|
-
":0.5rem;",
|
|
698
|
-
":0.25rem 0.
|
|
697
|
+
":0.5rem 0.375rem;",
|
|
698
|
+
":0.25rem 0.375rem;",
|
|
699
699
|
":0.375rem;",
|
|
700
700
|
":1rem;",
|
|
701
701
|
":1rem;",
|
package/styled-components/es/examples/components/Tabs/horizontal/HorizontalTabItem.config.js
CHANGED
|
@@ -116,7 +116,7 @@ export var config = {
|
|
|
116
116
|
":var(--plasma-typo-body-xs-font-family);",
|
|
117
117
|
":var(--plasma-typo-body-xs-font-size);",
|
|
118
118
|
":var(--plasma-typo-body-xs-font-style);",
|
|
119
|
-
":var(--plasma-typo-body-xs-font-weight);",
|
|
119
|
+
":var(--plasma-typo-body-xs-bold-font-weight);",
|
|
120
120
|
":var(--plasma-typo-body-xs-letter-spacing);",
|
|
121
121
|
":var(--plasma-typo-body-xs-line-height);",
|
|
122
122
|
":0;"
|
|
@@ -134,7 +134,7 @@ export var config = {
|
|
|
134
134
|
":var(--plasma-typo-body-s-font-family);",
|
|
135
135
|
":var(--plasma-typo-body-s-font-size);",
|
|
136
136
|
":var(--plasma-typo-body-s-font-style);",
|
|
137
|
-
":var(--plasma-typo-body-s-font-weight);",
|
|
137
|
+
":var(--plasma-typo-body-s-bold-font-weight);",
|
|
138
138
|
":var(--plasma-typo-body-s-letter-spacing);",
|
|
139
139
|
":var(--plasma-typo-body-s-line-height);",
|
|
140
140
|
":0.125rem;"
|
|
@@ -152,7 +152,7 @@ export var config = {
|
|
|
152
152
|
":var(--plasma-typo-body-m-font-family);",
|
|
153
153
|
":var(--plasma-typo-body-m-font-size);",
|
|
154
154
|
":var(--plasma-typo-body-m-font-style);",
|
|
155
|
-
":var(--plasma-typo-body-m-font-weight);",
|
|
155
|
+
":var(--plasma-typo-body-m-bold-font-weight);",
|
|
156
156
|
":var(--plasma-typo-body-m-letter-spacing);",
|
|
157
157
|
":var(--plasma-typo-body-m-line-height);",
|
|
158
158
|
":0.25rem;"
|
|
@@ -170,7 +170,7 @@ export var config = {
|
|
|
170
170
|
":var(--plasma-typo-body-l-font-family);",
|
|
171
171
|
":var(--plasma-typo-body-l-font-size);",
|
|
172
172
|
":var(--plasma-typo-body-l-font-style);",
|
|
173
|
-
":var(--plasma-typo-body-l-font-weight);",
|
|
173
|
+
":var(--plasma-typo-body-l-bold-font-weight);",
|
|
174
174
|
":var(--plasma-typo-body-l-letter-spacing);",
|
|
175
175
|
":var(--plasma-typo-body-l-line-height);",
|
|
176
176
|
":0.125rem;"
|
|
@@ -49,7 +49,7 @@ export var config = {
|
|
|
49
49
|
":var(--plasma-typo-body-xs-font-family);",
|
|
50
50
|
":var(--plasma-typo-body-xs-font-size);",
|
|
51
51
|
":var(--plasma-typo-body-xs-font-style);",
|
|
52
|
-
":var(--plasma-typo-body-xs-font-weight);",
|
|
52
|
+
":var(--plasma-typo-body-xs-bold-font-weight);",
|
|
53
53
|
":var(--plasma-typo-body-xs-letter-spacing);",
|
|
54
54
|
":var(--plasma-typo-body-xs-line-height);",
|
|
55
55
|
":0;"
|
|
@@ -68,7 +68,7 @@ export var config = {
|
|
|
68
68
|
":var(--plasma-typo-body-s-font-family);",
|
|
69
69
|
":var(--plasma-typo-body-s-font-size);",
|
|
70
70
|
":var(--plasma-typo-body-s-font-style);",
|
|
71
|
-
":var(--plasma-typo-body-s-font-weight);",
|
|
71
|
+
":var(--plasma-typo-body-s-bold-font-weight);",
|
|
72
72
|
":var(--plasma-typo-body-s-letter-spacing);",
|
|
73
73
|
":var(--plasma-typo-body-s-line-height);",
|
|
74
74
|
":0.25rem;"
|
|
@@ -87,7 +87,7 @@ export var config = {
|
|
|
87
87
|
":var(--plasma-typo-body-m-font-family);",
|
|
88
88
|
":var(--plasma-typo-body-m-font-size);",
|
|
89
89
|
":var(--plasma-typo-body-m-font-style);",
|
|
90
|
-
":var(--plasma-typo-body-m-font-weight);",
|
|
90
|
+
":var(--plasma-typo-body-m-bold-font-weight);",
|
|
91
91
|
":var(--plasma-typo-body-m-letter-spacing);",
|
|
92
92
|
":var(--plasma-typo-body-m-line-height);",
|
|
93
93
|
":0.125rem;"
|
|
@@ -106,7 +106,7 @@ export var config = {
|
|
|
106
106
|
":var(--plasma-typo-body-l-font-family);",
|
|
107
107
|
":var(--plasma-typo-body-l-font-size);",
|
|
108
108
|
":var(--plasma-typo-body-l-font-style);",
|
|
109
|
-
":var(--plasma-typo-body-l-font-weight);",
|
|
109
|
+
":var(--plasma-typo-body-l-bold-font-weight);",
|
|
110
110
|
":var(--plasma-typo-body-l-letter-spacing);",
|
|
111
111
|
":var(--plasma-typo-body-l-line-height);",
|
|
112
112
|
":0.125rem;"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;CAkBnB,CAAC;AAEF,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;CAkBnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsFlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipGroup.config.d.ts","sourceRoot":"","sources":["../../../../src/examples/components/ChipGroup/ChipGroup.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CA+HlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipGroup.d.ts","sourceRoot":"","sources":["../../../../src/examples/components/ChipGroup/ChipGroup.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
|