@salutejs/plasma-new-hope 0.337.0-canary.2262.18127312179.0 → 0.337.0-canary.2262.18129440241.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/emotion/cjs/examples/components/Chip/Chip.js +29 -5
- package/emotion/cjs/examples/components/Chip/Chip.transparent.config.js +45 -0
- package/emotion/es/examples/components/Chip/Chip.js +15 -2
- package/emotion/es/examples/components/Chip/Chip.transparent.config.js +35 -0
- package/emotion/es/examples/components/Combobox/Combobox.js +7 -0
- package/package.json +2 -2
- package/styled-components/cjs/examples/components/Chip/Chip.js +29 -5
- package/styled-components/cjs/examples/components/Chip/Chip.transparent.config.js +225 -0
- package/styled-components/es/examples/components/Chip/Chip.js +15 -2
- package/styled-components/es/examples/components/Chip/Chip.transparent.config.js +215 -0
- package/styled-components/es/examples/components/Combobox/Combobox.js +0 -7
- package/types/components/Chip/Chip.types.d.ts +1 -0
- package/types/components/Chip/Chip.types.d.ts.map +1 -1
- package/types/examples/components/Chip/Chip.d.ts +55 -1
- package/types/examples/components/Chip/Chip.d.ts.map +1 -1
- package/types/examples/components/Chip/Chip.transparent.config.d.ts +34 -0
- package/types/examples/components/Chip/Chip.transparent.config.d.ts.map +1 -0
|
@@ -2,14 +2,38 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get Chip () {
|
|
8
13
|
return Chip;
|
|
14
|
+
},
|
|
15
|
+
get ChipDefault () {
|
|
16
|
+
return ChipDefault;
|
|
17
|
+
},
|
|
18
|
+
get ChipTransparent () {
|
|
19
|
+
return ChipTransparent;
|
|
9
20
|
}
|
|
10
21
|
});
|
|
22
|
+
var _createConditionalComponent = require("../../../utils/createConditionalComponent");
|
|
11
23
|
var _Chip = require("../../../components/Chip");
|
|
12
24
|
var _engines = require("../../../engines");
|
|
13
25
|
var _Chipconfig = require("./Chip.config");
|
|
14
|
-
var
|
|
15
|
-
var
|
|
26
|
+
var _Chiptransparentconfig = require("./Chip.transparent.config");
|
|
27
|
+
var mergedConfigDefault = (0, _engines.mergeConfig)(_Chip.chipConfig, _Chipconfig.config);
|
|
28
|
+
var ChipDefault = (0, _engines.component)(mergedConfigDefault);
|
|
29
|
+
var mergedConfigTransparent = (0, _engines.mergeConfig)(_Chip.chipConfig, _Chiptransparentconfig.config);
|
|
30
|
+
var ChipTransparent = (0, _engines.component)(mergedConfigTransparent);
|
|
31
|
+
var Chip = (0, _createConditionalComponent.createConditionalComponent)(ChipDefault, [
|
|
32
|
+
{
|
|
33
|
+
conditions: {
|
|
34
|
+
prop: 'appearance',
|
|
35
|
+
value: 'transparent'
|
|
36
|
+
},
|
|
37
|
+
component: ChipTransparent
|
|
38
|
+
}
|
|
39
|
+
]);
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "config", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return config;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _styledcomponents = require("styled-components");
|
|
12
|
+
var _Chip = require("../../../components/Chip");
|
|
13
|
+
var config = {
|
|
14
|
+
defaults: {
|
|
15
|
+
view: 'default',
|
|
16
|
+
focused: 'true',
|
|
17
|
+
size: 'm'
|
|
18
|
+
},
|
|
19
|
+
variations: {
|
|
20
|
+
view: {
|
|
21
|
+
default: (0, _styledcomponents.css)([
|
|
22
|
+
"",
|
|
23
|
+
":var(--text-primary);",
|
|
24
|
+
":var(--surface-transparent-secondary);",
|
|
25
|
+
":var(--text-primary-hover);",
|
|
26
|
+
":var(--surface-transparent-secondary-hover);",
|
|
27
|
+
":var(--text-primary-active);",
|
|
28
|
+
":var(--surface-transparent-secondary-active);",
|
|
29
|
+
":var(--surface-transparent-secondary);",
|
|
30
|
+
":var(--text-primary);",
|
|
31
|
+
":var(--surface-transparent-secondary);",
|
|
32
|
+
":var(--text-primary);"
|
|
33
|
+
], _Chip.chipTokens.color, _Chip.chipTokens.background, _Chip.chipTokens.colorHover, _Chip.chipTokens.backgroundHover, _Chip.chipTokens.colorActive, _Chip.chipTokens.backgroundActive, _Chip.chipTokens.backgroundReadOnly, _Chip.chipTokens.colorReadOnly, _Chip.chipTokens.backgroundReadOnlyHover, _Chip.chipTokens.colorReadOnlyHover),
|
|
34
|
+
secondary: (0, _styledcomponents.css)([
|
|
35
|
+
"",
|
|
36
|
+
":var(--text-primary);",
|
|
37
|
+
":var(--surface-transparent-secondary);",
|
|
38
|
+
":var(--text-primary-hover);",
|
|
39
|
+
":var(--surface-transparent-secondary-hover);",
|
|
40
|
+
":var(--text-primary-active);",
|
|
41
|
+
":var(--surface-transparent-secondary-active);",
|
|
42
|
+
":var(--surface-transparent-secondary);",
|
|
43
|
+
":var(--text-primary);",
|
|
44
|
+
":var(--surface-transparent-secondary);",
|
|
45
|
+
":var(--text-primary);"
|
|
46
|
+
], _Chip.chipTokens.color, _Chip.chipTokens.background, _Chip.chipTokens.colorHover, _Chip.chipTokens.backgroundHover, _Chip.chipTokens.colorActive, _Chip.chipTokens.backgroundActive, _Chip.chipTokens.backgroundReadOnly, _Chip.chipTokens.colorReadOnly, _Chip.chipTokens.backgroundReadOnlyHover, _Chip.chipTokens.colorReadOnlyHover),
|
|
47
|
+
accent: (0, _styledcomponents.css)([
|
|
48
|
+
"",
|
|
49
|
+
":var(--text-accent);",
|
|
50
|
+
":var(--surface-transparent-accent);",
|
|
51
|
+
":var(--text-accent);",
|
|
52
|
+
":var(--surface-transparent-accent-hover);",
|
|
53
|
+
":var(--text-accent);",
|
|
54
|
+
":var(--surface-transparent-accent-active);",
|
|
55
|
+
":var(--surface-transparent-accent);",
|
|
56
|
+
":var(--text-accent);",
|
|
57
|
+
":var(--surface-transparent-accent);",
|
|
58
|
+
":var(--text-accent);"
|
|
59
|
+
], _Chip.chipTokens.color, _Chip.chipTokens.background, _Chip.chipTokens.colorHover, _Chip.chipTokens.backgroundHover, _Chip.chipTokens.colorActive, _Chip.chipTokens.backgroundActive, _Chip.chipTokens.backgroundReadOnly, _Chip.chipTokens.colorReadOnly, _Chip.chipTokens.backgroundReadOnlyHover, _Chip.chipTokens.colorReadOnlyHover),
|
|
60
|
+
positive: (0, _styledcomponents.css)([
|
|
61
|
+
"",
|
|
62
|
+
":var(--text-positive);",
|
|
63
|
+
":var(--surface-transparent-positive);",
|
|
64
|
+
":var(--text-positive);",
|
|
65
|
+
":var(--surface-transparent-positive-hover);",
|
|
66
|
+
":var(--text-positive);",
|
|
67
|
+
":var(--surface-transparent-positive-active);",
|
|
68
|
+
":var(--surface-transparent-positive);",
|
|
69
|
+
":var(--text-positive);",
|
|
70
|
+
":var(--surface-transparent-positive);",
|
|
71
|
+
":var(--text-positive);"
|
|
72
|
+
], _Chip.chipTokens.color, _Chip.chipTokens.background, _Chip.chipTokens.colorHover, _Chip.chipTokens.backgroundHover, _Chip.chipTokens.colorActive, _Chip.chipTokens.backgroundActive, _Chip.chipTokens.backgroundReadOnly, _Chip.chipTokens.colorReadOnly, _Chip.chipTokens.backgroundReadOnlyHover, _Chip.chipTokens.colorReadOnlyHover),
|
|
73
|
+
warning: (0, _styledcomponents.css)([
|
|
74
|
+
"",
|
|
75
|
+
":var(--text-warning);",
|
|
76
|
+
":var(--surface-transparent-warning);",
|
|
77
|
+
":var(--text-warning);",
|
|
78
|
+
":var(--surface-transparent-warning-hover);",
|
|
79
|
+
":var(--text-warning);",
|
|
80
|
+
":var(--surface-transparent-warning-active);",
|
|
81
|
+
":var(--surface-transparent-warning);",
|
|
82
|
+
":var(--text-warning);",
|
|
83
|
+
":var(--surface-transparent-warning);",
|
|
84
|
+
":var(--text-warning);"
|
|
85
|
+
], _Chip.chipTokens.color, _Chip.chipTokens.background, _Chip.chipTokens.colorHover, _Chip.chipTokens.backgroundHover, _Chip.chipTokens.colorActive, _Chip.chipTokens.backgroundActive, _Chip.chipTokens.backgroundReadOnly, _Chip.chipTokens.colorReadOnly, _Chip.chipTokens.backgroundReadOnlyHover, _Chip.chipTokens.colorReadOnlyHover),
|
|
86
|
+
negative: (0, _styledcomponents.css)([
|
|
87
|
+
"",
|
|
88
|
+
":var(--text-negative);",
|
|
89
|
+
":var(--surface-transparent-negative);",
|
|
90
|
+
":var(--text-negative);",
|
|
91
|
+
":var(--surface-transparent-negative-hover);",
|
|
92
|
+
":var(--text-negative);",
|
|
93
|
+
":var(--surface-transparent-negative-active);",
|
|
94
|
+
":var(--surface-transparent-negative);",
|
|
95
|
+
":var(--text-negative);",
|
|
96
|
+
":var(--surface-transparent-negative);",
|
|
97
|
+
":var(--text-negative);"
|
|
98
|
+
], _Chip.chipTokens.color, _Chip.chipTokens.background, _Chip.chipTokens.colorHover, _Chip.chipTokens.backgroundHover, _Chip.chipTokens.colorActive, _Chip.chipTokens.backgroundActive, _Chip.chipTokens.backgroundReadOnly, _Chip.chipTokens.colorReadOnly, _Chip.chipTokens.backgroundReadOnlyHover, _Chip.chipTokens.colorReadOnlyHover)
|
|
99
|
+
},
|
|
100
|
+
size: {
|
|
101
|
+
l: (0, _styledcomponents.css)([
|
|
102
|
+
"",
|
|
103
|
+
":0.75rem;",
|
|
104
|
+
":1.5rem;",
|
|
105
|
+
":auto;",
|
|
106
|
+
":3rem;",
|
|
107
|
+
":0 1rem;",
|
|
108
|
+
":var(--plasma-typo-body-l-font-family);",
|
|
109
|
+
":var(--plasma-typo-body-l-font-size);",
|
|
110
|
+
":var(--plasma-typo-body-l-font-style);",
|
|
111
|
+
":var(--plasma-typo-body-l-font-weight);",
|
|
112
|
+
":var(--plasma-typo-body-l-letter-spacing);",
|
|
113
|
+
":var(--plasma-typo-body-l-line-height);",
|
|
114
|
+
":-0.125rem;",
|
|
115
|
+
":0.5rem;",
|
|
116
|
+
":0.5rem;",
|
|
117
|
+
":-0.125rem;",
|
|
118
|
+
":0.625rem;",
|
|
119
|
+
":-0.25rem;",
|
|
120
|
+
":1.5rem;"
|
|
121
|
+
], _Chip.chipTokens.borderRadius, _Chip.chipTokens.pilledBorderRadius, _Chip.chipTokens.width, _Chip.chipTokens.height, _Chip.chipTokens.padding, _Chip.chipTokens.fontFamily, _Chip.chipTokens.fontSize, _Chip.chipTokens.fontStyle, _Chip.chipTokens.fontWeight, _Chip.chipTokens.letterSpacing, _Chip.chipTokens.lineHeight, _Chip.chipTokens.leftContentMarginLeft, _Chip.chipTokens.leftContentMarginRight, _Chip.chipTokens.rightContentMarginLeft, _Chip.chipTokens.rightContentMarginRight, _Chip.chipTokens.clearContentMarginLeft, _Chip.chipTokens.clearContentMarginRight, _Chip.chipTokens.closeIconSize),
|
|
122
|
+
m: (0, _styledcomponents.css)([
|
|
123
|
+
"",
|
|
124
|
+
":0.625rem;",
|
|
125
|
+
":1.25rem;",
|
|
126
|
+
":auto;",
|
|
127
|
+
":2.5rem;",
|
|
128
|
+
":0 0.875rem;",
|
|
129
|
+
":var(--plasma-typo-body-m-font-family);",
|
|
130
|
+
":var(--plasma-typo-body-m-font-size);",
|
|
131
|
+
":var(--plasma-typo-body-m-font-style);",
|
|
132
|
+
":var(--plasma-typo-body-m-font-weight);",
|
|
133
|
+
":var(--plasma-typo-body-m-letter-spacing);",
|
|
134
|
+
":var(--plasma-typo-body-m-line-height);",
|
|
135
|
+
":-0.125rem;",
|
|
136
|
+
":0.375rem;",
|
|
137
|
+
":0.375rem;",
|
|
138
|
+
":-0.125rem;",
|
|
139
|
+
":0.5rem;",
|
|
140
|
+
":-0.25rem;",
|
|
141
|
+
":1rem;"
|
|
142
|
+
], _Chip.chipTokens.borderRadius, _Chip.chipTokens.pilledBorderRadius, _Chip.chipTokens.width, _Chip.chipTokens.height, _Chip.chipTokens.padding, _Chip.chipTokens.fontFamily, _Chip.chipTokens.fontSize, _Chip.chipTokens.fontStyle, _Chip.chipTokens.fontWeight, _Chip.chipTokens.letterSpacing, _Chip.chipTokens.lineHeight, _Chip.chipTokens.leftContentMarginLeft, _Chip.chipTokens.leftContentMarginRight, _Chip.chipTokens.rightContentMarginLeft, _Chip.chipTokens.rightContentMarginRight, _Chip.chipTokens.clearContentMarginLeft, _Chip.chipTokens.clearContentMarginRight, _Chip.chipTokens.closeIconSize),
|
|
143
|
+
s: (0, _styledcomponents.css)([
|
|
144
|
+
"",
|
|
145
|
+
":0.5rem;",
|
|
146
|
+
":1rem;",
|
|
147
|
+
":auto;",
|
|
148
|
+
":2rem;",
|
|
149
|
+
":0 0.875rem;",
|
|
150
|
+
":var(--plasma-typo-body-s-font-family);",
|
|
151
|
+
":var(--plasma-typo-body-s-font-size);",
|
|
152
|
+
":var(--plasma-typo-body-s-font-style);",
|
|
153
|
+
":var(--plasma-typo-body-s-font-weight);",
|
|
154
|
+
":var(--plasma-typo-body-s-letter-spacing);",
|
|
155
|
+
":var(--plasma-typo-body-s-line-height);",
|
|
156
|
+
":-0.125rem;",
|
|
157
|
+
":0.25rem;",
|
|
158
|
+
":0.25rem;",
|
|
159
|
+
":-0.125rem;",
|
|
160
|
+
":0.375rem;",
|
|
161
|
+
":-0.25rem;",
|
|
162
|
+
":1rem;"
|
|
163
|
+
], _Chip.chipTokens.borderRadius, _Chip.chipTokens.pilledBorderRadius, _Chip.chipTokens.width, _Chip.chipTokens.height, _Chip.chipTokens.padding, _Chip.chipTokens.fontFamily, _Chip.chipTokens.fontSize, _Chip.chipTokens.fontStyle, _Chip.chipTokens.fontWeight, _Chip.chipTokens.letterSpacing, _Chip.chipTokens.lineHeight, _Chip.chipTokens.leftContentMarginLeft, _Chip.chipTokens.leftContentMarginRight, _Chip.chipTokens.rightContentMarginLeft, _Chip.chipTokens.rightContentMarginRight, _Chip.chipTokens.clearContentMarginLeft, _Chip.chipTokens.clearContentMarginRight, _Chip.chipTokens.closeIconSize),
|
|
164
|
+
xs: (0, _styledcomponents.css)([
|
|
165
|
+
"",
|
|
166
|
+
":0.375rem;",
|
|
167
|
+
":0.75rem;",
|
|
168
|
+
":auto;",
|
|
169
|
+
":1.5rem;",
|
|
170
|
+
":0 0.625rem;",
|
|
171
|
+
":var(--plasma-typo-body-xs-font-family);",
|
|
172
|
+
":var(--plasma-typo-body-xs-font-size);",
|
|
173
|
+
":var(--plasma-typo-body-xs-font-style);",
|
|
174
|
+
":var(--plasma-typo-body-xs-font-weight);",
|
|
175
|
+
":var(--plasma-typo-body-xs-letter-spacing);",
|
|
176
|
+
":var(--plasma-typo-body-xs-line-height);",
|
|
177
|
+
":-0.125rem;",
|
|
178
|
+
":0.25rem;",
|
|
179
|
+
":0.25rem;",
|
|
180
|
+
":-0.125rem;",
|
|
181
|
+
":0.25rem;",
|
|
182
|
+
":-0.25rem;",
|
|
183
|
+
":0.75rem;"
|
|
184
|
+
], _Chip.chipTokens.borderRadius, _Chip.chipTokens.pilledBorderRadius, _Chip.chipTokens.width, _Chip.chipTokens.height, _Chip.chipTokens.padding, _Chip.chipTokens.fontFamily, _Chip.chipTokens.fontSize, _Chip.chipTokens.fontStyle, _Chip.chipTokens.fontWeight, _Chip.chipTokens.letterSpacing, _Chip.chipTokens.lineHeight, _Chip.chipTokens.leftContentMarginLeft, _Chip.chipTokens.leftContentMarginRight, _Chip.chipTokens.rightContentMarginLeft, _Chip.chipTokens.rightContentMarginRight, _Chip.chipTokens.clearContentMarginLeft, _Chip.chipTokens.clearContentMarginRight, _Chip.chipTokens.closeIconSize),
|
|
185
|
+
xxs: (0, _styledcomponents.css)([
|
|
186
|
+
"",
|
|
187
|
+
":0.375rem;",
|
|
188
|
+
":0.625rem;",
|
|
189
|
+
":auto;",
|
|
190
|
+
":1.25rem;",
|
|
191
|
+
":0 0.5rem;",
|
|
192
|
+
":var(--plasma-typo-body-xxs-font-family);",
|
|
193
|
+
":var(--plasma-typo-body-xxs-font-size);",
|
|
194
|
+
":var(--plasma-typo-body-xxs-font-style);",
|
|
195
|
+
":var(--plasma-typo-body-xxs-font-weight);",
|
|
196
|
+
":var(--plasma-typo-body-xxs-letter-spacing);",
|
|
197
|
+
":var(--plasma-typo-body-xxs-line-height);",
|
|
198
|
+
":-0.125rem;",
|
|
199
|
+
":0.125rem;",
|
|
200
|
+
":0.125rem;",
|
|
201
|
+
":-0.125rem;",
|
|
202
|
+
":0.25rem;",
|
|
203
|
+
":-0.25rem;",
|
|
204
|
+
":0.75rem;"
|
|
205
|
+
], _Chip.chipTokens.borderRadius, _Chip.chipTokens.pilledBorderRadius, _Chip.chipTokens.width, _Chip.chipTokens.height, _Chip.chipTokens.padding, _Chip.chipTokens.fontFamily, _Chip.chipTokens.fontSize, _Chip.chipTokens.fontStyle, _Chip.chipTokens.fontWeight, _Chip.chipTokens.letterSpacing, _Chip.chipTokens.lineHeight, _Chip.chipTokens.leftContentMarginLeft, _Chip.chipTokens.leftContentMarginRight, _Chip.chipTokens.rightContentMarginLeft, _Chip.chipTokens.rightContentMarginRight, _Chip.chipTokens.clearContentMarginLeft, _Chip.chipTokens.clearContentMarginRight, _Chip.chipTokens.closeIconSize)
|
|
206
|
+
},
|
|
207
|
+
disabled: {
|
|
208
|
+
true: (0, _styledcomponents.css)([
|
|
209
|
+
"",
|
|
210
|
+
":0.4;"
|
|
211
|
+
], _Chip.chipTokens.disabledOpacity)
|
|
212
|
+
},
|
|
213
|
+
focused: {
|
|
214
|
+
true: (0, _styledcomponents.css)([
|
|
215
|
+
"",
|
|
216
|
+
":var(--surface-accent);"
|
|
217
|
+
], _Chip.chipTokens.focusColor)
|
|
218
|
+
},
|
|
219
|
+
pilled: {
|
|
220
|
+
true: (0, _styledcomponents.css)([
|
|
221
|
+
""
|
|
222
|
+
])
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
};
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
+
import { createConditionalComponent } from "../../../utils/createConditionalComponent";
|
|
1
2
|
import { chipConfig } from "../../../components/Chip";
|
|
2
3
|
import { component, mergeConfig } from "../../../engines";
|
|
3
4
|
import { config } from "./Chip.config";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
import { config as clearConfig } from "./Chip.transparent.config";
|
|
6
|
+
var mergedConfigDefault = mergeConfig(chipConfig, config);
|
|
7
|
+
export var ChipDefault = component(mergedConfigDefault);
|
|
8
|
+
var mergedConfigTransparent = mergeConfig(chipConfig, clearConfig);
|
|
9
|
+
export var ChipTransparent = component(mergedConfigTransparent);
|
|
10
|
+
export var Chip = createConditionalComponent(ChipDefault, [
|
|
11
|
+
{
|
|
12
|
+
conditions: {
|
|
13
|
+
prop: 'appearance',
|
|
14
|
+
value: 'transparent'
|
|
15
|
+
},
|
|
16
|
+
component: ChipTransparent
|
|
17
|
+
}
|
|
18
|
+
]);
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { css } from "styled-components";
|
|
2
|
+
import { chipTokens } from "../../../components/Chip";
|
|
3
|
+
export var config = {
|
|
4
|
+
defaults: {
|
|
5
|
+
view: 'default',
|
|
6
|
+
focused: 'true',
|
|
7
|
+
size: 'm'
|
|
8
|
+
},
|
|
9
|
+
variations: {
|
|
10
|
+
view: {
|
|
11
|
+
default: css([
|
|
12
|
+
"",
|
|
13
|
+
":var(--text-primary);",
|
|
14
|
+
":var(--surface-transparent-secondary);",
|
|
15
|
+
":var(--text-primary-hover);",
|
|
16
|
+
":var(--surface-transparent-secondary-hover);",
|
|
17
|
+
":var(--text-primary-active);",
|
|
18
|
+
":var(--surface-transparent-secondary-active);",
|
|
19
|
+
":var(--surface-transparent-secondary);",
|
|
20
|
+
":var(--text-primary);",
|
|
21
|
+
":var(--surface-transparent-secondary);",
|
|
22
|
+
":var(--text-primary);"
|
|
23
|
+
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
|
|
24
|
+
secondary: css([
|
|
25
|
+
"",
|
|
26
|
+
":var(--text-primary);",
|
|
27
|
+
":var(--surface-transparent-secondary);",
|
|
28
|
+
":var(--text-primary-hover);",
|
|
29
|
+
":var(--surface-transparent-secondary-hover);",
|
|
30
|
+
":var(--text-primary-active);",
|
|
31
|
+
":var(--surface-transparent-secondary-active);",
|
|
32
|
+
":var(--surface-transparent-secondary);",
|
|
33
|
+
":var(--text-primary);",
|
|
34
|
+
":var(--surface-transparent-secondary);",
|
|
35
|
+
":var(--text-primary);"
|
|
36
|
+
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
|
|
37
|
+
accent: css([
|
|
38
|
+
"",
|
|
39
|
+
":var(--text-accent);",
|
|
40
|
+
":var(--surface-transparent-accent);",
|
|
41
|
+
":var(--text-accent);",
|
|
42
|
+
":var(--surface-transparent-accent-hover);",
|
|
43
|
+
":var(--text-accent);",
|
|
44
|
+
":var(--surface-transparent-accent-active);",
|
|
45
|
+
":var(--surface-transparent-accent);",
|
|
46
|
+
":var(--text-accent);",
|
|
47
|
+
":var(--surface-transparent-accent);",
|
|
48
|
+
":var(--text-accent);"
|
|
49
|
+
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
|
|
50
|
+
positive: css([
|
|
51
|
+
"",
|
|
52
|
+
":var(--text-positive);",
|
|
53
|
+
":var(--surface-transparent-positive);",
|
|
54
|
+
":var(--text-positive);",
|
|
55
|
+
":var(--surface-transparent-positive-hover);",
|
|
56
|
+
":var(--text-positive);",
|
|
57
|
+
":var(--surface-transparent-positive-active);",
|
|
58
|
+
":var(--surface-transparent-positive);",
|
|
59
|
+
":var(--text-positive);",
|
|
60
|
+
":var(--surface-transparent-positive);",
|
|
61
|
+
":var(--text-positive);"
|
|
62
|
+
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
|
|
63
|
+
warning: css([
|
|
64
|
+
"",
|
|
65
|
+
":var(--text-warning);",
|
|
66
|
+
":var(--surface-transparent-warning);",
|
|
67
|
+
":var(--text-warning);",
|
|
68
|
+
":var(--surface-transparent-warning-hover);",
|
|
69
|
+
":var(--text-warning);",
|
|
70
|
+
":var(--surface-transparent-warning-active);",
|
|
71
|
+
":var(--surface-transparent-warning);",
|
|
72
|
+
":var(--text-warning);",
|
|
73
|
+
":var(--surface-transparent-warning);",
|
|
74
|
+
":var(--text-warning);"
|
|
75
|
+
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
|
|
76
|
+
negative: css([
|
|
77
|
+
"",
|
|
78
|
+
":var(--text-negative);",
|
|
79
|
+
":var(--surface-transparent-negative);",
|
|
80
|
+
":var(--text-negative);",
|
|
81
|
+
":var(--surface-transparent-negative-hover);",
|
|
82
|
+
":var(--text-negative);",
|
|
83
|
+
":var(--surface-transparent-negative-active);",
|
|
84
|
+
":var(--surface-transparent-negative);",
|
|
85
|
+
":var(--text-negative);",
|
|
86
|
+
":var(--surface-transparent-negative);",
|
|
87
|
+
":var(--text-negative);"
|
|
88
|
+
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover)
|
|
89
|
+
},
|
|
90
|
+
size: {
|
|
91
|
+
l: css([
|
|
92
|
+
"",
|
|
93
|
+
":0.75rem;",
|
|
94
|
+
":1.5rem;",
|
|
95
|
+
":auto;",
|
|
96
|
+
":3rem;",
|
|
97
|
+
":0 1rem;",
|
|
98
|
+
":var(--plasma-typo-body-l-font-family);",
|
|
99
|
+
":var(--plasma-typo-body-l-font-size);",
|
|
100
|
+
":var(--plasma-typo-body-l-font-style);",
|
|
101
|
+
":var(--plasma-typo-body-l-font-weight);",
|
|
102
|
+
":var(--plasma-typo-body-l-letter-spacing);",
|
|
103
|
+
":var(--plasma-typo-body-l-line-height);",
|
|
104
|
+
":-0.125rem;",
|
|
105
|
+
":0.5rem;",
|
|
106
|
+
":0.5rem;",
|
|
107
|
+
":-0.125rem;",
|
|
108
|
+
":0.625rem;",
|
|
109
|
+
":-0.25rem;",
|
|
110
|
+
":1.5rem;"
|
|
111
|
+
], chipTokens.borderRadius, chipTokens.pilledBorderRadius, chipTokens.width, chipTokens.height, chipTokens.padding, chipTokens.fontFamily, chipTokens.fontSize, chipTokens.fontStyle, chipTokens.fontWeight, chipTokens.letterSpacing, chipTokens.lineHeight, chipTokens.leftContentMarginLeft, chipTokens.leftContentMarginRight, chipTokens.rightContentMarginLeft, chipTokens.rightContentMarginRight, chipTokens.clearContentMarginLeft, chipTokens.clearContentMarginRight, chipTokens.closeIconSize),
|
|
112
|
+
m: css([
|
|
113
|
+
"",
|
|
114
|
+
":0.625rem;",
|
|
115
|
+
":1.25rem;",
|
|
116
|
+
":auto;",
|
|
117
|
+
":2.5rem;",
|
|
118
|
+
":0 0.875rem;",
|
|
119
|
+
":var(--plasma-typo-body-m-font-family);",
|
|
120
|
+
":var(--plasma-typo-body-m-font-size);",
|
|
121
|
+
":var(--plasma-typo-body-m-font-style);",
|
|
122
|
+
":var(--plasma-typo-body-m-font-weight);",
|
|
123
|
+
":var(--plasma-typo-body-m-letter-spacing);",
|
|
124
|
+
":var(--plasma-typo-body-m-line-height);",
|
|
125
|
+
":-0.125rem;",
|
|
126
|
+
":0.375rem;",
|
|
127
|
+
":0.375rem;",
|
|
128
|
+
":-0.125rem;",
|
|
129
|
+
":0.5rem;",
|
|
130
|
+
":-0.25rem;",
|
|
131
|
+
":1rem;"
|
|
132
|
+
], chipTokens.borderRadius, chipTokens.pilledBorderRadius, chipTokens.width, chipTokens.height, chipTokens.padding, chipTokens.fontFamily, chipTokens.fontSize, chipTokens.fontStyle, chipTokens.fontWeight, chipTokens.letterSpacing, chipTokens.lineHeight, chipTokens.leftContentMarginLeft, chipTokens.leftContentMarginRight, chipTokens.rightContentMarginLeft, chipTokens.rightContentMarginRight, chipTokens.clearContentMarginLeft, chipTokens.clearContentMarginRight, chipTokens.closeIconSize),
|
|
133
|
+
s: css([
|
|
134
|
+
"",
|
|
135
|
+
":0.5rem;",
|
|
136
|
+
":1rem;",
|
|
137
|
+
":auto;",
|
|
138
|
+
":2rem;",
|
|
139
|
+
":0 0.875rem;",
|
|
140
|
+
":var(--plasma-typo-body-s-font-family);",
|
|
141
|
+
":var(--plasma-typo-body-s-font-size);",
|
|
142
|
+
":var(--plasma-typo-body-s-font-style);",
|
|
143
|
+
":var(--plasma-typo-body-s-font-weight);",
|
|
144
|
+
":var(--plasma-typo-body-s-letter-spacing);",
|
|
145
|
+
":var(--plasma-typo-body-s-line-height);",
|
|
146
|
+
":-0.125rem;",
|
|
147
|
+
":0.25rem;",
|
|
148
|
+
":0.25rem;",
|
|
149
|
+
":-0.125rem;",
|
|
150
|
+
":0.375rem;",
|
|
151
|
+
":-0.25rem;",
|
|
152
|
+
":1rem;"
|
|
153
|
+
], chipTokens.borderRadius, chipTokens.pilledBorderRadius, chipTokens.width, chipTokens.height, chipTokens.padding, chipTokens.fontFamily, chipTokens.fontSize, chipTokens.fontStyle, chipTokens.fontWeight, chipTokens.letterSpacing, chipTokens.lineHeight, chipTokens.leftContentMarginLeft, chipTokens.leftContentMarginRight, chipTokens.rightContentMarginLeft, chipTokens.rightContentMarginRight, chipTokens.clearContentMarginLeft, chipTokens.clearContentMarginRight, chipTokens.closeIconSize),
|
|
154
|
+
xs: css([
|
|
155
|
+
"",
|
|
156
|
+
":0.375rem;",
|
|
157
|
+
":0.75rem;",
|
|
158
|
+
":auto;",
|
|
159
|
+
":1.5rem;",
|
|
160
|
+
":0 0.625rem;",
|
|
161
|
+
":var(--plasma-typo-body-xs-font-family);",
|
|
162
|
+
":var(--plasma-typo-body-xs-font-size);",
|
|
163
|
+
":var(--plasma-typo-body-xs-font-style);",
|
|
164
|
+
":var(--plasma-typo-body-xs-font-weight);",
|
|
165
|
+
":var(--plasma-typo-body-xs-letter-spacing);",
|
|
166
|
+
":var(--plasma-typo-body-xs-line-height);",
|
|
167
|
+
":-0.125rem;",
|
|
168
|
+
":0.25rem;",
|
|
169
|
+
":0.25rem;",
|
|
170
|
+
":-0.125rem;",
|
|
171
|
+
":0.25rem;",
|
|
172
|
+
":-0.25rem;",
|
|
173
|
+
":0.75rem;"
|
|
174
|
+
], chipTokens.borderRadius, chipTokens.pilledBorderRadius, chipTokens.width, chipTokens.height, chipTokens.padding, chipTokens.fontFamily, chipTokens.fontSize, chipTokens.fontStyle, chipTokens.fontWeight, chipTokens.letterSpacing, chipTokens.lineHeight, chipTokens.leftContentMarginLeft, chipTokens.leftContentMarginRight, chipTokens.rightContentMarginLeft, chipTokens.rightContentMarginRight, chipTokens.clearContentMarginLeft, chipTokens.clearContentMarginRight, chipTokens.closeIconSize),
|
|
175
|
+
xxs: css([
|
|
176
|
+
"",
|
|
177
|
+
":0.375rem;",
|
|
178
|
+
":0.625rem;",
|
|
179
|
+
":auto;",
|
|
180
|
+
":1.25rem;",
|
|
181
|
+
":0 0.5rem;",
|
|
182
|
+
":var(--plasma-typo-body-xxs-font-family);",
|
|
183
|
+
":var(--plasma-typo-body-xxs-font-size);",
|
|
184
|
+
":var(--plasma-typo-body-xxs-font-style);",
|
|
185
|
+
":var(--plasma-typo-body-xxs-font-weight);",
|
|
186
|
+
":var(--plasma-typo-body-xxs-letter-spacing);",
|
|
187
|
+
":var(--plasma-typo-body-xxs-line-height);",
|
|
188
|
+
":-0.125rem;",
|
|
189
|
+
":0.125rem;",
|
|
190
|
+
":0.125rem;",
|
|
191
|
+
":-0.125rem;",
|
|
192
|
+
":0.25rem;",
|
|
193
|
+
":-0.25rem;",
|
|
194
|
+
":0.75rem;"
|
|
195
|
+
], chipTokens.borderRadius, chipTokens.pilledBorderRadius, chipTokens.width, chipTokens.height, chipTokens.padding, chipTokens.fontFamily, chipTokens.fontSize, chipTokens.fontStyle, chipTokens.fontWeight, chipTokens.letterSpacing, chipTokens.lineHeight, chipTokens.leftContentMarginLeft, chipTokens.leftContentMarginRight, chipTokens.rightContentMarginLeft, chipTokens.rightContentMarginRight, chipTokens.clearContentMarginLeft, chipTokens.clearContentMarginRight, chipTokens.closeIconSize)
|
|
196
|
+
},
|
|
197
|
+
disabled: {
|
|
198
|
+
true: css([
|
|
199
|
+
"",
|
|
200
|
+
":0.4;"
|
|
201
|
+
], chipTokens.disabledOpacity)
|
|
202
|
+
},
|
|
203
|
+
focused: {
|
|
204
|
+
true: css([
|
|
205
|
+
"",
|
|
206
|
+
":var(--surface-accent);"
|
|
207
|
+
], chipTokens.focusColor)
|
|
208
|
+
},
|
|
209
|
+
pilled: {
|
|
210
|
+
true: css([
|
|
211
|
+
""
|
|
212
|
+
])
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
};
|
|
@@ -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 };
|
|
@@ -57,6 +57,7 @@ type CustomChipProps = {
|
|
|
57
57
|
* Коллбек при нажатии на крестик
|
|
58
58
|
*/
|
|
59
59
|
onClickClose?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
60
|
+
appearance?: string;
|
|
60
61
|
} & PropsWithChildren;
|
|
61
62
|
export interface ChipProps extends ButtonHTMLAttributes<HTMLButtonElement>, CustomChipProps {
|
|
62
63
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.types.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE5F,KAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"Chip.types.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE5F,KAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,iBAAiB,CAAC;AAEtB,MAAM,WAAW,SAAU,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,eAAe;CAAG"}
|
|
@@ -1,4 +1,58 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
export declare const ChipDefault: import("react").FunctionComponent<import("../../../engines/types").PropsType<{
|
|
3
|
+
view: {
|
|
4
|
+
default: import("@linaria/core").LinariaClassName;
|
|
5
|
+
secondary: import("@linaria/core").LinariaClassName;
|
|
6
|
+
accent: import("@linaria/core").LinariaClassName;
|
|
7
|
+
positive: import("@linaria/core").LinariaClassName;
|
|
8
|
+
warning: import("@linaria/core").LinariaClassName;
|
|
9
|
+
negative: import("@linaria/core").LinariaClassName;
|
|
10
|
+
};
|
|
11
|
+
size: {
|
|
12
|
+
l: import("@linaria/core").LinariaClassName;
|
|
13
|
+
m: import("@linaria/core").LinariaClassName;
|
|
14
|
+
s: import("@linaria/core").LinariaClassName;
|
|
15
|
+
xs: import("@linaria/core").LinariaClassName;
|
|
16
|
+
xxs: import("@linaria/core").LinariaClassName;
|
|
17
|
+
};
|
|
18
|
+
disabled: {
|
|
19
|
+
true: import("@linaria/core").LinariaClassName;
|
|
20
|
+
};
|
|
21
|
+
focused: {
|
|
22
|
+
true: import("@linaria/core").LinariaClassName;
|
|
23
|
+
};
|
|
24
|
+
pilled: {
|
|
25
|
+
true: import("@linaria/core").LinariaClassName;
|
|
26
|
+
};
|
|
27
|
+
}> & import("../../../components/Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
28
|
+
export declare const ChipTransparent: import("react").FunctionComponent<import("../../../engines/types").PropsType<{
|
|
29
|
+
view: {
|
|
30
|
+
default: import("@linaria/core").LinariaClassName;
|
|
31
|
+
secondary: import("@linaria/core").LinariaClassName;
|
|
32
|
+
accent: import("@linaria/core").LinariaClassName;
|
|
33
|
+
positive: import("@linaria/core").LinariaClassName;
|
|
34
|
+
warning: import("@linaria/core").LinariaClassName;
|
|
35
|
+
negative: import("@linaria/core").LinariaClassName;
|
|
36
|
+
};
|
|
37
|
+
size: {
|
|
38
|
+
l: import("@linaria/core").LinariaClassName;
|
|
39
|
+
m: import("@linaria/core").LinariaClassName;
|
|
40
|
+
s: import("@linaria/core").LinariaClassName;
|
|
41
|
+
xs: import("@linaria/core").LinariaClassName;
|
|
42
|
+
xxs: import("@linaria/core").LinariaClassName;
|
|
43
|
+
};
|
|
44
|
+
disabled: {
|
|
45
|
+
true: import("@linaria/core").LinariaClassName;
|
|
46
|
+
};
|
|
47
|
+
focused: {
|
|
48
|
+
true: import("@linaria/core").LinariaClassName;
|
|
49
|
+
};
|
|
50
|
+
pilled: {
|
|
51
|
+
true: import("@linaria/core").LinariaClassName;
|
|
52
|
+
};
|
|
53
|
+
}> & import("../../../components/Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
54
|
+
export type ChipProps = ComponentProps<typeof ChipDefault>;
|
|
55
|
+
export declare const Chip: import("react").FC<import("../../../engines/types").PropsType<{
|
|
2
56
|
view: {
|
|
3
57
|
default: import("@linaria/core").LinariaClassName;
|
|
4
58
|
secondary: import("@linaria/core").LinariaClassName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../src/examples/components/Chip/Chip.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../src/examples/components/Chip/Chip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AASvC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;qGAAiC,CAAC;AAG1D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;qGAAqC,CAAC;AAElE,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAE3D,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;qGAKf,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const config: {
|
|
2
|
+
defaults: {
|
|
3
|
+
view: string;
|
|
4
|
+
focused: string;
|
|
5
|
+
size: string;
|
|
6
|
+
};
|
|
7
|
+
variations: {
|
|
8
|
+
view: {
|
|
9
|
+
default: import("@linaria/core").LinariaClassName;
|
|
10
|
+
secondary: import("@linaria/core").LinariaClassName;
|
|
11
|
+
accent: import("@linaria/core").LinariaClassName;
|
|
12
|
+
positive: import("@linaria/core").LinariaClassName;
|
|
13
|
+
warning: import("@linaria/core").LinariaClassName;
|
|
14
|
+
negative: import("@linaria/core").LinariaClassName;
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
l: import("@linaria/core").LinariaClassName;
|
|
18
|
+
m: import("@linaria/core").LinariaClassName;
|
|
19
|
+
s: import("@linaria/core").LinariaClassName;
|
|
20
|
+
xs: import("@linaria/core").LinariaClassName;
|
|
21
|
+
xxs: import("@linaria/core").LinariaClassName;
|
|
22
|
+
};
|
|
23
|
+
disabled: {
|
|
24
|
+
true: import("@linaria/core").LinariaClassName;
|
|
25
|
+
};
|
|
26
|
+
focused: {
|
|
27
|
+
true: import("@linaria/core").LinariaClassName;
|
|
28
|
+
};
|
|
29
|
+
pilled: {
|
|
30
|
+
true: import("@linaria/core").LinariaClassName;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=Chip.transparent.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chip.transparent.config.d.ts","sourceRoot":"","sources":["../../../../src/examples/components/Chip/Chip.transparent.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+MlB,CAAC"}
|