@salutejs/plasma-new-hope 0.339.1-canary.2312.18923951101.0 → 0.340.0-canary.2307.19112606223.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/ChipGroup /ChipGroup.config.js +214 -0
- package/emotion/cjs/examples/components/Combobox/Combobox.js +0 -15
- package/emotion/es/examples/components/ChipGroup /ChipGroup.config.js +204 -0
- package/package.json +4 -4
- package/styled-components/cjs/examples/components/ChipGroup /ChipGroup.config.js +214 -0
- package/styled-components/cjs/examples/components/Combobox/Combobox.js +0 -15
- package/styled-components/es/examples/components/ChipGroup /ChipGroup.config.js +204 -0
- 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 -35
- package/emotion/es/examples/components/ChipGroup/ChipGroup.config.js +0 -25
- package/styled-components/cjs/examples/components/ChipGroup/ChipGroup.config.js +0 -141
- package/styled-components/es/examples/components/ChipGroup/ChipGroup.config.js +0 -131
- 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
|
@@ -1,131 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChipGroup.d.ts","sourceRoot":"","sources":["../../../../src/examples/components/ChipGroup/ChipGroup.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|