@agorapulse/ui-theme 22.0.2-beta.1 → 22.0.5-beta.1
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/agorapulse-ui-theme-22.0.5-beta.1.tgz +0 -0
- package/assets/desktop_variables.css +624 -460
- package/assets/mobile_variables.css +624 -460
- package/assets/style/_button-mixins.scss +33 -92
- package/assets/style/_input.scss +4 -0
- package/assets/style/_link.scss +31 -35
- package/assets/style/_select.scss +67 -44
- package/assets/style/_table.scss +52 -20
- package/assets/style/_tooltip.scss +6 -7
- package/assets/style/components-custom-style/_input.scss +22 -28
- package/assets/style/components-custom-style/_ng-select.scss +15 -7
- package/assets/style/css-ui/_action-dropdown.scss +39 -27
- package/assets/style/css-ui/_badge.scss +2 -5
- package/assets/style/css-ui/_button.scss +141 -96
- package/assets/style/css-ui/_checkbox.scss +6 -11
- package/assets/style/css-ui/_counter.scss +7 -15
- package/assets/style/css-ui/_icon-button.scss +24 -68
- package/assets/style/css-ui/_infobox.scss +25 -68
- package/assets/style/css-ui/_input.scss +31 -38
- package/assets/style/css-ui/_label.scss +10 -8
- package/assets/style/css-ui/_link.scss +31 -36
- package/assets/style/css-ui/_list-panel.scss +33 -15
- package/assets/style/css-ui/_radio-card.scss +37 -31
- package/assets/style/css-ui/_radio.scss +17 -27
- package/assets/style/css-ui/_select.scss +53 -50
- package/assets/style/css-ui/_selection-dropdown.scss +25 -35
- package/assets/style/css-ui/_snackbar.scss +2 -2
- package/assets/style/css-ui/_split-button.scss +4 -14
- package/assets/style/css-ui/_status.scss +26 -29
- package/assets/style/css-ui/_table.scss +52 -20
- package/assets/style/css-ui/_tabs.scss +15 -31
- package/assets/style/css-ui/_tag.scss +25 -65
- package/assets/style/css-ui/_textarea.scss +25 -30
- package/assets/style/css-ui/_toggle.scss +12 -11
- package/assets/style/css-ui/_tooltip.scss +10 -7
- package/assets/style/css-ui/index.css +525 -638
- package/assets/style/css-ui/index.css.map +1 -1
- package/package.json +1 -1
- package/src/build.js +1 -3
- package/src/desktop_config.js +1 -2
- package/src/mobile_config.js +1 -2
- package/src/tokens/components/button.json +225 -11
- package/src/tokens/components/icon-button.json +11 -1
- package/src/tokens/components/input.json +64 -145
- package/src/tokens/components/link.json +132 -0
- package/src/tokens/components/select.json +14 -14
- package/src/tokens/components/status.json +129 -0
- package/src/tokens/reference/v3.json +242 -0
- package/src/tokens/system/color-border.json +50 -43
- package/src/tokens/system/color-data.json +58 -0
- package/src/tokens/system/color-icon.json +62 -45
- package/src/tokens/system/color-link.json +15 -9
- package/src/tokens/system/color-surface.json +87 -77
- package/src/tokens/system/color-text.json +63 -52
- package/src/tokens/system/height.json +12 -3
- package/src/tokens/system/motion.json +10 -0
- package/src/tokens/system/radius.json +18 -2
- package/src/tokens/system/spacing.json +13 -13
- package/agorapulse-ui-theme-22.0.2-beta.1.tgz +0 -0
- package/src/formats.js +0 -36
- package/src/tokens/components/action-dropdown.json +0 -93
- package/src/tokens/components/close-button.json +0 -22
- package/src/tokens/components/infobox.json +0 -156
- package/src/tokens/components/radio.json +0 -11
package/src/formats.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
const StyleDictionary = require('style-dictionary');
|
|
2
|
-
|
|
3
|
-
const { createPropertyFormatter, fileHeader } = StyleDictionary.formatHelpers;
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Byte-for-byte the built-in `css/variables` format, minus the reference-based reordering.
|
|
7
|
-
*
|
|
8
|
-
* The built-in format runs `sortByReference` whenever `outputReferences` is enabled, because
|
|
9
|
-
* imperative languages (Sass, Less) require a variable to be declared before it is used. CSS
|
|
10
|
-
* custom properties are resolved at computed-value time, so declaration order inside `:root`
|
|
11
|
-
* is irrelevant — while reordering turns every regeneration into a whole-file rewrite and
|
|
12
|
-
* makes token diffs unreviewable.
|
|
13
|
-
*
|
|
14
|
-
* Keeping the natural token order means adding or changing a token produces a diff limited to
|
|
15
|
-
* the lines that actually changed.
|
|
16
|
-
*/
|
|
17
|
-
StyleDictionary.registerFormat({
|
|
18
|
-
name: 'css/variables-source-order',
|
|
19
|
-
formatter({ dictionary, options = {}, file }) {
|
|
20
|
-
const selector = options.selector ? options.selector : ':root';
|
|
21
|
-
const { outputReferences } = options;
|
|
22
|
-
const formatProperty = createPropertyFormatter({ outputReferences, dictionary, format: 'css' });
|
|
23
|
-
|
|
24
|
-
return (
|
|
25
|
-
fileHeader({ file }) +
|
|
26
|
-
`${selector} {\n` +
|
|
27
|
-
dictionary.allTokens
|
|
28
|
-
.map(formatProperty)
|
|
29
|
-
.filter((line) => !!line)
|
|
30
|
-
.join('\n') +
|
|
31
|
-
'\n}\n'
|
|
32
|
-
);
|
|
33
|
-
},
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
module.exports = StyleDictionary;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"comp": {
|
|
3
|
-
"actionDropdown": {
|
|
4
|
-
"background": {
|
|
5
|
-
"color": {
|
|
6
|
-
"value": "{ref.color.white}"
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
"boxShadow": {
|
|
10
|
-
"value": "0px 4px 25px -2px rgba(52, 69, 99, 0.15), 0px 4px 6px -2px rgba(52, 69, 99, 0.15)"
|
|
11
|
-
},
|
|
12
|
-
"border": {
|
|
13
|
-
"radius": {
|
|
14
|
-
"value": "{sys.border.radius.sm}"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"padding": {
|
|
18
|
-
"value": "{ref.spacing.xxs} 0"
|
|
19
|
-
},
|
|
20
|
-
"item": {
|
|
21
|
-
"padding": {
|
|
22
|
-
"value": "{ref.spacing.xxs} {ref.spacing.sm}"
|
|
23
|
-
},
|
|
24
|
-
"text": {
|
|
25
|
-
"size": {
|
|
26
|
-
"value": "{sys.text.style.body.size}"
|
|
27
|
-
},
|
|
28
|
-
"lineHeight": {
|
|
29
|
-
"value": "{sys.text.style.body.line-height}"
|
|
30
|
-
},
|
|
31
|
-
"color": {
|
|
32
|
-
"value": "{ref.color.grey.100}"
|
|
33
|
-
},
|
|
34
|
-
"colorRedMode": {
|
|
35
|
-
"value": "{ref.color.red.150}"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"background": {
|
|
39
|
-
"color": {
|
|
40
|
-
"value": "{ref.color.white}"
|
|
41
|
-
},
|
|
42
|
-
"colorHover": {
|
|
43
|
-
"value": "{ref.color.electricBlue.10}"
|
|
44
|
-
},
|
|
45
|
-
"colorFocused": {
|
|
46
|
-
"value": "{ref.color.electricBlue.20}"
|
|
47
|
-
},
|
|
48
|
-
"colorRedModeHover": {
|
|
49
|
-
"value": "{ref.color.red.10}"
|
|
50
|
-
},
|
|
51
|
-
"colorRedModeFocused": {
|
|
52
|
-
"value": "{ref.color.red.20}"
|
|
53
|
-
},
|
|
54
|
-
"colorFeatureLockHover": {
|
|
55
|
-
"value": "{ref.color.purple.10}"
|
|
56
|
-
},
|
|
57
|
-
"colorFeatureLockFocused": {
|
|
58
|
-
"value": "{ref.color.purple.20}"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"icon": {
|
|
62
|
-
"spacing": {
|
|
63
|
-
"value": "{ref.spacing.xxs}"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"label": {
|
|
67
|
-
"spacing": {
|
|
68
|
-
"value": "{ref.spacing.xxs}"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"description": {
|
|
72
|
-
"color": {
|
|
73
|
-
"value": "{ref.color.grey.80}"
|
|
74
|
-
},
|
|
75
|
-
"size": {
|
|
76
|
-
"value": "{sys.text.style.caption.size}"
|
|
77
|
-
},
|
|
78
|
-
"lineHeight": {
|
|
79
|
-
"value": "{sys.text.style.body.line-height}"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"divider": {
|
|
84
|
-
"color": {
|
|
85
|
-
"value": "{ref.color.grey.10}"
|
|
86
|
-
},
|
|
87
|
-
"margin": {
|
|
88
|
-
"value": "{ref.spacing.xxs} 0"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"comp": {
|
|
3
|
-
"closeButton": {
|
|
4
|
-
"size": {
|
|
5
|
-
"value": "20px"
|
|
6
|
-
},
|
|
7
|
-
"padding": {
|
|
8
|
-
"value": "{sys.icon-button.padding}"
|
|
9
|
-
},
|
|
10
|
-
"hover": {
|
|
11
|
-
"background": {
|
|
12
|
-
"value": "#3445631A"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"active": {
|
|
16
|
-
"background": {
|
|
17
|
-
"value": "#34456333"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"comp": {
|
|
3
|
-
"infobox": {
|
|
4
|
-
"border": {
|
|
5
|
-
"width": {
|
|
6
|
-
"value": "{ref.spacing.xxxs}"
|
|
7
|
-
},
|
|
8
|
-
"radius": {
|
|
9
|
-
"value": "{ref.borderRadius.sm}"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"text": {
|
|
13
|
-
"title": {
|
|
14
|
-
"size": {
|
|
15
|
-
"value": "{sys.text.style.h3.size}"
|
|
16
|
-
},
|
|
17
|
-
"font-family": {
|
|
18
|
-
"value": "{sys.text.style.h3.font-family}"
|
|
19
|
-
},
|
|
20
|
-
"weight": {
|
|
21
|
-
"value": "{sys.text.style.h3.weight}"
|
|
22
|
-
},
|
|
23
|
-
"lineHeight": {
|
|
24
|
-
"value": "{sys.text.style.h3.line-height}"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"content": {
|
|
28
|
-
"size": {
|
|
29
|
-
"value": "{sys.text.style.body.size}"
|
|
30
|
-
},
|
|
31
|
-
"font-family": {
|
|
32
|
-
"value": "{sys.text.style.body.font-family}"
|
|
33
|
-
},
|
|
34
|
-
"weight": {
|
|
35
|
-
"value": "{sys.text.style.body.weight}"
|
|
36
|
-
},
|
|
37
|
-
"lineHeight": {
|
|
38
|
-
"value": "{sys.text.style.body.line-height}"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"padding": {
|
|
43
|
-
"right": {
|
|
44
|
-
"value": "{ref.spacing.xs}"
|
|
45
|
-
},
|
|
46
|
-
"left": {
|
|
47
|
-
"value": "{ref.spacing.sm}"
|
|
48
|
-
},
|
|
49
|
-
"bottom": {
|
|
50
|
-
"value": "{ref.spacing.xs}"
|
|
51
|
-
},
|
|
52
|
-
"top": {
|
|
53
|
-
"value": "{ref.spacing.xs}"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"button": {
|
|
57
|
-
"margin": {
|
|
58
|
-
"right": {
|
|
59
|
-
"value": "{ref.spacing.xxs}"
|
|
60
|
-
},
|
|
61
|
-
"left": {
|
|
62
|
-
"value": "{ref.spacing.xxs}"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"gap": {
|
|
67
|
-
"value": "{ref.spacing.xs}"
|
|
68
|
-
},
|
|
69
|
-
"error": {
|
|
70
|
-
"background": {
|
|
71
|
-
"color": {
|
|
72
|
-
"value": "{ref.color.red.20}"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"borderLeft": {
|
|
76
|
-
"color": {
|
|
77
|
-
"value": "{ref.color.red.150}"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"icon": {
|
|
81
|
-
"color": {
|
|
82
|
-
"value": "{ref.color.red.150}"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"warning": {
|
|
87
|
-
"background": {
|
|
88
|
-
"color": {
|
|
89
|
-
"value": "{ref.color.tag-orange.20}"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"borderLeft": {
|
|
93
|
-
"color": {
|
|
94
|
-
"value": "{ref.color.tag-orange.150}"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"icon": {
|
|
98
|
-
"color": {
|
|
99
|
-
"value": "{ref.color.tag-orange.150}"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"info": {
|
|
104
|
-
"background": {
|
|
105
|
-
"color": {
|
|
106
|
-
"value": "{ref.color.electricBlue.20}"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"borderLeft": {
|
|
110
|
-
"color": {
|
|
111
|
-
"value": "{ref.color.electricBlue.150}"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"icon": {
|
|
115
|
-
"color": {
|
|
116
|
-
"value": "{ref.color.electricBlue.150}"
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
"success": {
|
|
121
|
-
"background": {
|
|
122
|
-
"color": {
|
|
123
|
-
"value": "{ref.color.green.20}"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
"borderLeft": {
|
|
127
|
-
"color": {
|
|
128
|
-
"value": "{ref.color.green.150}"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"icon": {
|
|
132
|
-
"color": {
|
|
133
|
-
"value": "{ref.color.green.150}"
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"featureLock": {
|
|
138
|
-
"background": {
|
|
139
|
-
"color": {
|
|
140
|
-
"value": "{ref.color.purple.20}"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"borderLeft": {
|
|
144
|
-
"color": {
|
|
145
|
-
"value": "{ref.color.purple.150}"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
"icon": {
|
|
149
|
-
"color": {
|
|
150
|
-
"value": "{ref.color.purple.150}"
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|