@salutejs/plasma-new-hope 0.339.0 → 0.339.1-canary.2312.18923951101.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.
Files changed (22) hide show
  1. package/emotion/cjs/examples/components/ChipGroup/ChipGroup.config.js +35 -0
  2. package/emotion/cjs/examples/components/Combobox/Combobox.js +15 -0
  3. package/emotion/es/examples/components/ChipGroup/ChipGroup.config.js +25 -0
  4. package/package.json +2 -2
  5. package/styled-components/cjs/examples/components/ChipGroup/ChipGroup.config.js +141 -0
  6. package/styled-components/cjs/examples/components/Combobox/Combobox.js +15 -0
  7. package/styled-components/es/examples/components/ChipGroup/ChipGroup.config.js +131 -0
  8. package/styled-components/es/examples/components/Combobox/Combobox.js +0 -7
  9. package/types/examples/components/ChipGroup/ChipGroup.config.d.ts.map +1 -0
  10. package/types/examples/components/ChipGroup/ChipGroup.d.ts.map +1 -0
  11. package/emotion/cjs/examples/components/ChipGroup /ChipGroup.config.js +0 -214
  12. package/emotion/es/examples/components/ChipGroup /ChipGroup.config.js +0 -204
  13. package/styled-components/cjs/examples/components/ChipGroup /ChipGroup.config.js +0 -214
  14. package/styled-components/es/examples/components/ChipGroup /ChipGroup.config.js +0 -204
  15. package/types/examples/components/ChipGroup /ChipGroup.config.d.ts.map +0 -1
  16. package/types/examples/components/ChipGroup /ChipGroup.d.ts.map +0 -1
  17. /package/emotion/cjs/examples/components/{ChipGroup → ChipGroup}/ChipGroup.js +0 -0
  18. /package/emotion/es/examples/components/{ChipGroup → ChipGroup}/ChipGroup.js +0 -0
  19. /package/styled-components/cjs/examples/components/{ChipGroup → ChipGroup}/ChipGroup.js +0 -0
  20. /package/styled-components/es/examples/components/{ChipGroup → ChipGroup}/ChipGroup.js +0 -0
  21. /package/types/examples/components/{ChipGroup → ChipGroup}/ChipGroup.config.d.ts +0 -0
  22. /package/types/examples/components/{ChipGroup → ChipGroup}/ChipGroup.d.ts +0 -0
@@ -0,0 +1,141 @@
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 _ChipGroup = require("../../../components/ChipGroup");
13
+ var config = {
14
+ defaults: {
15
+ view: 'default',
16
+ size: 'm'
17
+ },
18
+ variations: {
19
+ view: {
20
+ default: (0, _styledcomponents.css)([
21
+ "",
22
+ ":var(--inverse-text-primary);",
23
+ ":var(--surface-solid-default);",
24
+ ":var(--inverse-text-primary);",
25
+ ":var(--surface-solid-default-hover);",
26
+ ":var(--inverse-text-primary);",
27
+ ":var(--surface-solid-default-active);"
28
+ ], _ChipGroup.chipGroupTokens.chipColor, _ChipGroup.chipGroupTokens.chipBackground, _ChipGroup.chipGroupTokens.chipColorHover, _ChipGroup.chipGroupTokens.chipBackgroundHover, _ChipGroup.chipGroupTokens.chipColorActive, _ChipGroup.chipGroupTokens.chipBackgroundActive),
29
+ secondary: (0, _styledcomponents.css)([
30
+ "",
31
+ ":var(--text-primary);",
32
+ ":var(--surface-transparent-secondary);",
33
+ ":var(--text-primary);",
34
+ ":var(--surface-transparent-secondary-hover);",
35
+ ":var(--text-primary);",
36
+ ":var(--surface-transparent-secondary-active);"
37
+ ], _ChipGroup.chipGroupTokens.chipColor, _ChipGroup.chipGroupTokens.chipBackground, _ChipGroup.chipGroupTokens.chipColorHover, _ChipGroup.chipGroupTokens.chipBackgroundHover, _ChipGroup.chipGroupTokens.chipColorActive, _ChipGroup.chipGroupTokens.chipBackgroundActive),
38
+ accent: (0, _styledcomponents.css)([
39
+ "",
40
+ ":var(--on-dark-text-primary);",
41
+ ":var(--surface-accent);",
42
+ ":var(--on-dark-text-primary);",
43
+ ":var(--surface-accent-hover);",
44
+ ":var(--on-dark-text-primary);",
45
+ ":var(--surface-accent-active);"
46
+ ], _ChipGroup.chipGroupTokens.chipColor, _ChipGroup.chipGroupTokens.chipBackground, _ChipGroup.chipGroupTokens.chipColorHover, _ChipGroup.chipGroupTokens.chipBackgroundHover, _ChipGroup.chipGroupTokens.chipColorActive, _ChipGroup.chipGroupTokens.chipBackgroundActive)
47
+ },
48
+ size: {
49
+ l: (0, _styledcomponents.css)([
50
+ "",
51
+ ":0.75rem;",
52
+ ":auto;",
53
+ ":3rem;",
54
+ ":0 1rem;",
55
+ ":var(--plasma-typo-body-l-font-family);",
56
+ ":var(--plasma-typo-body-l-font-size);",
57
+ ":var(--plasma-typo-body-l-font-style);",
58
+ ":var(--plasma-typo-body-l-font-weight);",
59
+ ":var(--plasma-typo-body-l-letter-spacing);",
60
+ ":var(--plasma-typo-body-l-line-height);",
61
+ ":-0.125rem;",
62
+ ":0.5rem;",
63
+ ":0.5rem;",
64
+ ":-0.125rem;",
65
+ ":0.625rem;",
66
+ ":-0.25rem;",
67
+ ":1.5rem;"
68
+ ], _ChipGroup.chipGroupTokens.chipBorderRadius, _ChipGroup.chipGroupTokens.chipWidth, _ChipGroup.chipGroupTokens.chipHeight, _ChipGroup.chipGroupTokens.chipPadding, _ChipGroup.chipGroupTokens.chipFontFamily, _ChipGroup.chipGroupTokens.chipFontSize, _ChipGroup.chipGroupTokens.chipFontStyle, _ChipGroup.chipGroupTokens.chipFontWeight, _ChipGroup.chipGroupTokens.chipLetterSpacing, _ChipGroup.chipGroupTokens.chipLineHeight, _ChipGroup.chipGroupTokens.chipLeftContentMarginLeft, _ChipGroup.chipGroupTokens.chipLeftContentMarginRight, _ChipGroup.chipGroupTokens.chipRightContentMarginLeft, _ChipGroup.chipGroupTokens.chipRightContentMarginRight, _ChipGroup.chipGroupTokens.chipClearContentMarginLeft, _ChipGroup.chipGroupTokens.chipClearContentMarginRight, _ChipGroup.chipGroupTokens.chipCloseIconSize),
69
+ m: (0, _styledcomponents.css)([
70
+ "",
71
+ ":0.625rem;",
72
+ ":auto;",
73
+ ":2.5rem;",
74
+ ":0 0.875rem;",
75
+ ":var(--plasma-typo-body-m-font-family);",
76
+ ":var(--plasma-typo-body-m-font-size);",
77
+ ":var(--plasma-typo-body-m-font-style);",
78
+ ":var(--plasma-typo-body-m-font-weight);",
79
+ ":var(--plasma-typo-body-m-letter-spacing);",
80
+ ":var(--plasma-typo-body-m-line-height);",
81
+ ":-0.125rem;",
82
+ ":0.375rem;",
83
+ ":0.375rem;",
84
+ ":-0.125rem;",
85
+ ":0.5rem;",
86
+ ":-0.25rem;",
87
+ ":1rem;"
88
+ ], _ChipGroup.chipGroupTokens.chipBorderRadius, _ChipGroup.chipGroupTokens.chipWidth, _ChipGroup.chipGroupTokens.chipHeight, _ChipGroup.chipGroupTokens.chipPadding, _ChipGroup.chipGroupTokens.chipFontFamily, _ChipGroup.chipGroupTokens.chipFontSize, _ChipGroup.chipGroupTokens.chipFontStyle, _ChipGroup.chipGroupTokens.chipFontWeight, _ChipGroup.chipGroupTokens.chipLetterSpacing, _ChipGroup.chipGroupTokens.chipLineHeight, _ChipGroup.chipGroupTokens.chipLeftContentMarginLeft, _ChipGroup.chipGroupTokens.chipLeftContentMarginRight, _ChipGroup.chipGroupTokens.chipRightContentMarginLeft, _ChipGroup.chipGroupTokens.chipRightContentMarginRight, _ChipGroup.chipGroupTokens.chipClearContentMarginLeft, _ChipGroup.chipGroupTokens.chipClearContentMarginRight, _ChipGroup.chipGroupTokens.chipCloseIconSize),
89
+ s: (0, _styledcomponents.css)([
90
+ "",
91
+ ":0.5rem;",
92
+ ":auto;",
93
+ ":2rem;",
94
+ ":0 0.875rem;",
95
+ ":var(--plasma-typo-body-s-font-family);",
96
+ ":var(--plasma-typo-body-s-font-size);",
97
+ ":var(--plasma-typo-body-s-font-style);",
98
+ ":var(--plasma-typo-body-s-font-weight);",
99
+ ":var(--plasma-typo-body-s-letter-spacing);",
100
+ ":var(--plasma-typo-body-s-line-height);",
101
+ ":-0.125rem;",
102
+ ":0.25rem;",
103
+ ":0.25rem;",
104
+ ":-0.125rem;",
105
+ ":0.375rem;",
106
+ ":-0.25rem;",
107
+ ":1rem;"
108
+ ], _ChipGroup.chipGroupTokens.chipBorderRadius, _ChipGroup.chipGroupTokens.chipWidth, _ChipGroup.chipGroupTokens.chipHeight, _ChipGroup.chipGroupTokens.chipPadding, _ChipGroup.chipGroupTokens.chipFontFamily, _ChipGroup.chipGroupTokens.chipFontSize, _ChipGroup.chipGroupTokens.chipFontStyle, _ChipGroup.chipGroupTokens.chipFontWeight, _ChipGroup.chipGroupTokens.chipLetterSpacing, _ChipGroup.chipGroupTokens.chipLineHeight, _ChipGroup.chipGroupTokens.chipLeftContentMarginLeft, _ChipGroup.chipGroupTokens.chipLeftContentMarginRight, _ChipGroup.chipGroupTokens.chipRightContentMarginLeft, _ChipGroup.chipGroupTokens.chipRightContentMarginRight, _ChipGroup.chipGroupTokens.chipClearContentMarginLeft, _ChipGroup.chipGroupTokens.chipClearContentMarginRight, _ChipGroup.chipGroupTokens.chipCloseIconSize),
109
+ xs: (0, _styledcomponents.css)([
110
+ "",
111
+ ":0.375rem;",
112
+ ":auto;",
113
+ ":1.5rem;",
114
+ ":0 0.625rem;",
115
+ ":var(--plasma-typo-body-xs-font-family);",
116
+ ":var(--plasma-typo-body-xs-font-size);",
117
+ ":var(--plasma-typo-body-xs-font-style);",
118
+ ":var(--plasma-typo-body-xs-font-weight);",
119
+ ":var(--plasma-typo-body-xs-letter-spacing);",
120
+ ":var(--plasma-typo-body-xs-line-height);",
121
+ ":-0.125rem;",
122
+ ":0.25rem;",
123
+ ":0.25rem;",
124
+ ":-0.125rem;",
125
+ ":0.25rem;",
126
+ ":-0.25rem;",
127
+ ":1rem;"
128
+ ], _ChipGroup.chipGroupTokens.chipBorderRadius, _ChipGroup.chipGroupTokens.chipWidth, _ChipGroup.chipGroupTokens.chipHeight, _ChipGroup.chipGroupTokens.chipPadding, _ChipGroup.chipGroupTokens.chipFontFamily, _ChipGroup.chipGroupTokens.chipFontSize, _ChipGroup.chipGroupTokens.chipFontStyle, _ChipGroup.chipGroupTokens.chipFontWeight, _ChipGroup.chipGroupTokens.chipLetterSpacing, _ChipGroup.chipGroupTokens.chipLineHeight, _ChipGroup.chipGroupTokens.chipLeftContentMarginLeft, _ChipGroup.chipGroupTokens.chipLeftContentMarginRight, _ChipGroup.chipGroupTokens.chipRightContentMarginLeft, _ChipGroup.chipGroupTokens.chipRightContentMarginRight, _ChipGroup.chipGroupTokens.chipClearContentMarginLeft, _ChipGroup.chipGroupTokens.chipClearContentMarginRight, _ChipGroup.chipGroupTokens.chipCloseIconSize)
129
+ },
130
+ gap: {
131
+ dense: (0, _styledcomponents.css)([
132
+ "",
133
+ ":0.125rem;"
134
+ ], _ChipGroup.chipGroupTokens.chipGroupItemsGap),
135
+ wide: (0, _styledcomponents.css)([
136
+ "",
137
+ ":0.5rem;"
138
+ ], _ChipGroup.chipGroupTokens.chipGroupItemsGap)
139
+ }
140
+ }
141
+ };
@@ -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;
@@ -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
+ };
@@ -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 };
@@ -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"}
@@ -1,214 +0,0 @@
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 _core = require("@linaria/core");
12
- var _ChipGroup = require("../../../components/ChipGroup");
13
- function _tagged_template_literal(strings, raw) {
14
- if (!raw) {
15
- raw = strings.slice(0);
16
- }
17
- return Object.freeze(Object.defineProperties(strings, {
18
- raw: {
19
- value: Object.freeze(raw)
20
- }
21
- }));
22
- }
23
- function _templateObject() {
24
- var data = _tagged_template_literal([
25
- "\n ",
26
- ": var(--inverse-text-primary);\n ",
27
- ": var(--surface-solid-default);\n ",
28
- ": var(--inverse-text-primary);\n ",
29
- ": var(--surface-solid-default-hover);\n ",
30
- ": var(--inverse-text-primary);\n ",
31
- ": var(--surface-solid-default-active);\n "
32
- ]);
33
- _templateObject = function _templateObject() {
34
- return data;
35
- };
36
- return data;
37
- }
38
- function _templateObject1() {
39
- var data = _tagged_template_literal([
40
- "\n ",
41
- ": var(--text-primary);\n ",
42
- ": var(--surface-transparent-secondary);\n ",
43
- ": var(--text-primary);\n ",
44
- ": var(--surface-transparent-secondary-hover);\n ",
45
- ": var(--text-primary);\n ",
46
- ": var(--surface-transparent-secondary-active);\n "
47
- ]);
48
- _templateObject1 = function _templateObject() {
49
- return data;
50
- };
51
- return data;
52
- }
53
- function _templateObject2() {
54
- var data = _tagged_template_literal([
55
- "\n ",
56
- ": var(--on-dark-text-primary);\n ",
57
- ": var(--surface-accent);\n ",
58
- ": var(--on-dark-text-primary);\n ",
59
- ": var(--surface-accent-hover);\n ",
60
- ": var(--on-dark-text-primary);\n ",
61
- ": var(--surface-accent-active);\n "
62
- ]);
63
- _templateObject2 = function _templateObject() {
64
- return data;
65
- };
66
- return data;
67
- }
68
- function _templateObject3() {
69
- var data = _tagged_template_literal([
70
- "\n ",
71
- ": 0.75rem;\n ",
72
- ": auto;\n ",
73
- ": 3rem;\n ",
74
- ": 0 1rem;\n\n ",
75
- ": var(--plasma-typo-body-l-font-family);\n ",
76
- ": var(--plasma-typo-body-l-font-size);\n ",
77
- ": var(--plasma-typo-body-l-font-style);\n ",
78
- ": var(--plasma-typo-body-l-font-weight);\n ",
79
- ": var(--plasma-typo-body-l-letter-spacing);\n ",
80
- ": var(--plasma-typo-body-l-line-height);\n\n ",
81
- ": -0.125rem;\n ",
82
- ": 0.5rem;\n ",
83
- ": 0.5rem;\n ",
84
- ": -0.125rem;\n ",
85
- ": 0.625rem;\n ",
86
- ": -0.25rem;\n ",
87
- ": 1.5rem;\n "
88
- ]);
89
- _templateObject3 = function _templateObject() {
90
- return data;
91
- };
92
- return data;
93
- }
94
- function _templateObject4() {
95
- var data = _tagged_template_literal([
96
- "\n ",
97
- ": 0.625rem;\n ",
98
- ": auto;\n ",
99
- ": 2.5rem;\n ",
100
- ": 0 0.875rem;\n\n ",
101
- ": var(--plasma-typo-body-m-font-family);\n ",
102
- ": var(--plasma-typo-body-m-font-size);\n ",
103
- ": var(--plasma-typo-body-m-font-style);\n ",
104
- ": var(--plasma-typo-body-m-font-weight);\n ",
105
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
106
- ": var(--plasma-typo-body-m-line-height);\n\n ",
107
- ": -0.125rem;\n ",
108
- ": 0.375rem;\n ",
109
- ": 0.375rem;\n ",
110
- ": -0.125rem;\n ",
111
- ": 0.5rem;\n ",
112
- ": -0.25rem;\n ",
113
- ": 1rem;\n "
114
- ]);
115
- _templateObject4 = function _templateObject() {
116
- return data;
117
- };
118
- return data;
119
- }
120
- function _templateObject5() {
121
- var data = _tagged_template_literal([
122
- "\n ",
123
- ": 0.5rem;\n ",
124
- ": auto;\n ",
125
- ": 2rem;\n ",
126
- ": 0 0.875rem;\n\n ",
127
- ": var(--plasma-typo-body-s-font-family);\n ",
128
- ": var(--plasma-typo-body-s-font-size);\n ",
129
- ": var(--plasma-typo-body-s-font-style);\n ",
130
- ": var(--plasma-typo-body-s-font-weight);\n ",
131
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
132
- ": var(--plasma-typo-body-s-line-height);\n\n ",
133
- ": -0.125rem;\n ",
134
- ": 0.25rem;\n ",
135
- ": 0.25rem;\n ",
136
- ": -0.125rem;\n ",
137
- ": 0.375rem;\n ",
138
- ": -0.25rem;\n ",
139
- ": 1rem;\n "
140
- ]);
141
- _templateObject5 = function _templateObject() {
142
- return data;
143
- };
144
- return data;
145
- }
146
- function _templateObject6() {
147
- var data = _tagged_template_literal([
148
- "\n ",
149
- ": 0.375rem;\n ",
150
- ": auto;\n ",
151
- ": 1.5rem;\n ",
152
- ": 0 0.625rem;\n\n ",
153
- ": var(--plasma-typo-body-xs-font-family);\n ",
154
- ": var(--plasma-typo-body-xs-font-size);\n ",
155
- ": var(--plasma-typo-body-xs-font-style);\n ",
156
- ": var(--plasma-typo-body-xs-font-weight);\n ",
157
- ": var(--plasma-typo-body-xs-letter-spacing);\n ",
158
- ": var(--plasma-typo-body-xs-line-height);\n\n ",
159
- ": -0.125rem;\n ",
160
- ": 0.25rem;\n ",
161
- ": 0.25rem;\n ",
162
- ": -0.125rem;\n ",
163
- ": 0.25rem;\n ",
164
- ": -0.25rem;\n ",
165
- ": 1rem;\n "
166
- ]);
167
- _templateObject6 = function _templateObject() {
168
- return data;
169
- };
170
- return data;
171
- }
172
- function _templateObject7() {
173
- var data = _tagged_template_literal([
174
- "\n ",
175
- ": 0.125rem;\n "
176
- ]);
177
- _templateObject7 = function _templateObject() {
178
- return data;
179
- };
180
- return data;
181
- }
182
- function _templateObject8() {
183
- var data = _tagged_template_literal([
184
- "\n ",
185
- ": 0.5rem;\n "
186
- ]);
187
- _templateObject8 = function _templateObject() {
188
- return data;
189
- };
190
- return data;
191
- }
192
- var config = {
193
- defaults: {
194
- view: 'default',
195
- size: 'm'
196
- },
197
- variations: {
198
- view: {
199
- default: (0, _core.css)(_templateObject(), _ChipGroup.chipGroupTokens.chipColor, _ChipGroup.chipGroupTokens.chipBackground, _ChipGroup.chipGroupTokens.chipColorHover, _ChipGroup.chipGroupTokens.chipBackgroundHover, _ChipGroup.chipGroupTokens.chipColorActive, _ChipGroup.chipGroupTokens.chipBackgroundActive),
200
- secondary: (0, _core.css)(_templateObject1(), _ChipGroup.chipGroupTokens.chipColor, _ChipGroup.chipGroupTokens.chipBackground, _ChipGroup.chipGroupTokens.chipColorHover, _ChipGroup.chipGroupTokens.chipBackgroundHover, _ChipGroup.chipGroupTokens.chipColorActive, _ChipGroup.chipGroupTokens.chipBackgroundActive),
201
- accent: (0, _core.css)(_templateObject2(), _ChipGroup.chipGroupTokens.chipColor, _ChipGroup.chipGroupTokens.chipBackground, _ChipGroup.chipGroupTokens.chipColorHover, _ChipGroup.chipGroupTokens.chipBackgroundHover, _ChipGroup.chipGroupTokens.chipColorActive, _ChipGroup.chipGroupTokens.chipBackgroundActive)
202
- },
203
- size: {
204
- l: (0, _core.css)(_templateObject3(), _ChipGroup.chipGroupTokens.chipBorderRadius, _ChipGroup.chipGroupTokens.chipWidth, _ChipGroup.chipGroupTokens.chipHeight, _ChipGroup.chipGroupTokens.chipPadding, _ChipGroup.chipGroupTokens.chipFontFamily, _ChipGroup.chipGroupTokens.chipFontSize, _ChipGroup.chipGroupTokens.chipFontStyle, _ChipGroup.chipGroupTokens.chipFontWeight, _ChipGroup.chipGroupTokens.chipLetterSpacing, _ChipGroup.chipGroupTokens.chipLineHeight, _ChipGroup.chipGroupTokens.chipLeftContentMarginLeft, _ChipGroup.chipGroupTokens.chipLeftContentMarginRight, _ChipGroup.chipGroupTokens.chipRightContentMarginLeft, _ChipGroup.chipGroupTokens.chipRightContentMarginRight, _ChipGroup.chipGroupTokens.chipClearContentMarginLeft, _ChipGroup.chipGroupTokens.chipClearContentMarginRight, _ChipGroup.chipGroupTokens.chipCloseIconSize),
205
- m: (0, _core.css)(_templateObject4(), _ChipGroup.chipGroupTokens.chipBorderRadius, _ChipGroup.chipGroupTokens.chipWidth, _ChipGroup.chipGroupTokens.chipHeight, _ChipGroup.chipGroupTokens.chipPadding, _ChipGroup.chipGroupTokens.chipFontFamily, _ChipGroup.chipGroupTokens.chipFontSize, _ChipGroup.chipGroupTokens.chipFontStyle, _ChipGroup.chipGroupTokens.chipFontWeight, _ChipGroup.chipGroupTokens.chipLetterSpacing, _ChipGroup.chipGroupTokens.chipLineHeight, _ChipGroup.chipGroupTokens.chipLeftContentMarginLeft, _ChipGroup.chipGroupTokens.chipLeftContentMarginRight, _ChipGroup.chipGroupTokens.chipRightContentMarginLeft, _ChipGroup.chipGroupTokens.chipRightContentMarginRight, _ChipGroup.chipGroupTokens.chipClearContentMarginLeft, _ChipGroup.chipGroupTokens.chipClearContentMarginRight, _ChipGroup.chipGroupTokens.chipCloseIconSize),
206
- s: (0, _core.css)(_templateObject5(), _ChipGroup.chipGroupTokens.chipBorderRadius, _ChipGroup.chipGroupTokens.chipWidth, _ChipGroup.chipGroupTokens.chipHeight, _ChipGroup.chipGroupTokens.chipPadding, _ChipGroup.chipGroupTokens.chipFontFamily, _ChipGroup.chipGroupTokens.chipFontSize, _ChipGroup.chipGroupTokens.chipFontStyle, _ChipGroup.chipGroupTokens.chipFontWeight, _ChipGroup.chipGroupTokens.chipLetterSpacing, _ChipGroup.chipGroupTokens.chipLineHeight, _ChipGroup.chipGroupTokens.chipLeftContentMarginLeft, _ChipGroup.chipGroupTokens.chipLeftContentMarginRight, _ChipGroup.chipGroupTokens.chipRightContentMarginLeft, _ChipGroup.chipGroupTokens.chipRightContentMarginRight, _ChipGroup.chipGroupTokens.chipClearContentMarginLeft, _ChipGroup.chipGroupTokens.chipClearContentMarginRight, _ChipGroup.chipGroupTokens.chipCloseIconSize),
207
- xs: (0, _core.css)(_templateObject6(), _ChipGroup.chipGroupTokens.chipBorderRadius, _ChipGroup.chipGroupTokens.chipWidth, _ChipGroup.chipGroupTokens.chipHeight, _ChipGroup.chipGroupTokens.chipPadding, _ChipGroup.chipGroupTokens.chipFontFamily, _ChipGroup.chipGroupTokens.chipFontSize, _ChipGroup.chipGroupTokens.chipFontStyle, _ChipGroup.chipGroupTokens.chipFontWeight, _ChipGroup.chipGroupTokens.chipLetterSpacing, _ChipGroup.chipGroupTokens.chipLineHeight, _ChipGroup.chipGroupTokens.chipLeftContentMarginLeft, _ChipGroup.chipGroupTokens.chipLeftContentMarginRight, _ChipGroup.chipGroupTokens.chipRightContentMarginLeft, _ChipGroup.chipGroupTokens.chipRightContentMarginRight, _ChipGroup.chipGroupTokens.chipClearContentMarginLeft, _ChipGroup.chipGroupTokens.chipClearContentMarginRight, _ChipGroup.chipGroupTokens.chipCloseIconSize)
208
- },
209
- gap: {
210
- dense: (0, _core.css)(_templateObject7(), _ChipGroup.chipGroupTokens.chipGroupItemsGap),
211
- wide: (0, _core.css)(_templateObject8(), _ChipGroup.chipGroupTokens.chipGroupItemsGap)
212
- }
213
- }
214
- };