@primer/primitives 7.9.0 → 7.10.0-rc.24b9498
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/CHANGELOG.md +6 -0
- package/build.js +30 -26
- package/dist/js/colors/dark.d.ts +5 -0
- package/dist/js/colors/dark.js +6 -1
- package/dist/js/colors/dark_colorblind.d.ts +5 -0
- package/dist/js/colors/dark_colorblind.js +6 -1
- package/dist/js/colors/dark_dimmed.d.ts +5 -0
- package/dist/js/colors/dark_dimmed.js +6 -1
- package/dist/js/colors/dark_high_contrast.d.ts +5 -0
- package/dist/js/colors/dark_high_contrast.js +6 -1
- package/dist/js/colors/dark_tritanopia.d.ts +5 -0
- package/dist/js/colors/dark_tritanopia.js +6 -1
- package/dist/js/colors/index.d.ts +45 -0
- package/dist/js/colors/light.d.ts +5 -0
- package/dist/js/colors/light.js +5 -0
- package/dist/js/colors/light_colorblind.d.ts +5 -0
- package/dist/js/colors/light_colorblind.js +5 -0
- package/dist/js/colors/light_high_contrast.d.ts +5 -0
- package/dist/js/colors/light_high_contrast.js +5 -0
- package/dist/js/colors/light_tritanopia.d.ts +5 -0
- package/dist/js/colors/light_tritanopia.js +5 -0
- package/dist/js/index.d.ts +45 -0
- package/dist/json/colors/dark.json +6 -1
- package/dist/json/colors/dark_colorblind.json +6 -1
- package/dist/json/colors/dark_dimmed.json +6 -1
- package/dist/json/colors/dark_high_contrast.json +6 -1
- package/dist/json/colors/dark_tritanopia.json +6 -1
- package/dist/json/colors/light.json +5 -0
- package/dist/json/colors/light_colorblind.json +5 -0
- package/dist/json/colors/light_high_contrast.json +5 -0
- package/dist/json/colors/light_tritanopia.json +5 -0
- package/dist/scss/colors/_dark.scss +2 -1
- package/dist/scss/colors/_dark_colorblind.scss +2 -1
- package/dist/scss/colors/_dark_dimmed.scss +2 -1
- package/dist/scss/colors/_dark_high_contrast.scss +2 -1
- package/dist/scss/colors/_dark_tritanopia.scss +2 -1
- package/dist/scss/colors/_light.scss +1 -0
- package/dist/scss/colors/_light_colorblind.scss +1 -0
- package/dist/scss/colors/_light_high_contrast.scss +1 -0
- package/dist/scss/colors/_light_tritanopia.scss +1 -0
- package/dist/ts/colors/dark.ts +6 -1
- package/dist/ts/colors/dark_colorblind.ts +6 -1
- package/dist/ts/colors/dark_dimmed.ts +6 -1
- package/dist/ts/colors/dark_high_contrast.ts +6 -1
- package/dist/ts/colors/dark_tritanopia.ts +6 -1
- package/dist/ts/colors/light.ts +5 -0
- package/dist/ts/colors/light_colorblind.ts +5 -0
- package/dist/ts/colors/light_high_contrast.ts +5 -0
- package/dist/ts/colors/light_tritanopia.ts +5 -0
- package/package.json +4 -2
- package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
- package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @primer/primitives
|
|
2
2
|
|
|
3
|
+
## 7.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#354](https://github.com/primer/primitives/pull/354) [`3b28659`](https://github.com/primer/primitives/commit/3b286594aed3d4de97866d354f050f7e59945e95) Thanks [@mperrotti](https://github.com/mperrotti)! - Introduces TreeView.Item component color primitives
|
|
8
|
+
|
|
3
9
|
## 7.9.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/build.js
CHANGED
|
@@ -3,6 +3,18 @@ const StyleDictionary = require('style-dictionary')
|
|
|
3
3
|
|
|
4
4
|
const {fileHeader, formattedVariables} = StyleDictionary.formatHelpers
|
|
5
5
|
|
|
6
|
+
//-----
|
|
7
|
+
// functions to be extracted
|
|
8
|
+
// TODO: extract to a separate files
|
|
9
|
+
|
|
10
|
+
const pathToKebabCase = token => token.path.join('-')
|
|
11
|
+
|
|
12
|
+
const pathToDotNotation = token => token.path.join('.')
|
|
13
|
+
|
|
14
|
+
const capitalize = string => string[0].toUpperCase() + string.slice(1)
|
|
15
|
+
|
|
16
|
+
const pathToPascalCase = token => token.path.map(tokenPathItems => capitalize(tokenPathItems)).join('')
|
|
17
|
+
|
|
6
18
|
// REGISTER THE CUSTOM TRANFORMS
|
|
7
19
|
|
|
8
20
|
/**
|
|
@@ -12,9 +24,7 @@ const {fileHeader, formattedVariables} = StyleDictionary.formatHelpers
|
|
|
12
24
|
StyleDictionary.registerTransform({
|
|
13
25
|
name: 'name/css',
|
|
14
26
|
type: 'name',
|
|
15
|
-
transformer:
|
|
16
|
-
return token.path.join('-')
|
|
17
|
-
}
|
|
27
|
+
transformer: pathToKebabCase
|
|
18
28
|
})
|
|
19
29
|
|
|
20
30
|
/**
|
|
@@ -24,9 +34,7 @@ StyleDictionary.registerTransform({
|
|
|
24
34
|
StyleDictionary.registerTransform({
|
|
25
35
|
name: 'name/js',
|
|
26
36
|
type: 'name',
|
|
27
|
-
transformer:
|
|
28
|
-
return token.path.join('.')
|
|
29
|
-
}
|
|
37
|
+
transformer: pathToDotNotation
|
|
30
38
|
})
|
|
31
39
|
|
|
32
40
|
/**
|
|
@@ -36,19 +44,11 @@ StyleDictionary.registerTransform({
|
|
|
36
44
|
StyleDictionary.registerTransform({
|
|
37
45
|
name: 'name/js/es6',
|
|
38
46
|
type: 'name',
|
|
39
|
-
transformer:
|
|
40
|
-
const tokenPath = token.path.join(' ')
|
|
41
|
-
const tokenPathItems = tokenPath.split(' ')
|
|
42
|
-
for (var i = 0; i < tokenPathItems.length; i++) {
|
|
43
|
-
tokenPathItems[i] = tokenPathItems[i].charAt(0).toUpperCase() + tokenPathItems[i].slice(1)
|
|
44
|
-
}
|
|
45
|
-
const tokenName = tokenPathItems.join('')
|
|
46
|
-
return tokenName
|
|
47
|
-
}
|
|
47
|
+
transformer: pathToPascalCase
|
|
48
48
|
})
|
|
49
49
|
|
|
50
50
|
// find values with px unit
|
|
51
|
-
function isPx(value) {
|
|
51
|
+
function isPx (value) {
|
|
52
52
|
return /[\d\.]+px$/.test(value)
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -143,7 +143,7 @@ StyleDictionary.registerTransformGroup({
|
|
|
143
143
|
// wrap mobile tokens in media query
|
|
144
144
|
StyleDictionary.registerFormat({
|
|
145
145
|
name: 'css/touch-target-mobile',
|
|
146
|
-
formatter: function({dictionary, file, options}) {
|
|
146
|
+
formatter: function ({dictionary, file, options}) {
|
|
147
147
|
const {outputReferences} = options
|
|
148
148
|
return (
|
|
149
149
|
fileHeader({file}) +
|
|
@@ -157,7 +157,7 @@ StyleDictionary.registerFormat({
|
|
|
157
157
|
// wrap desktop tokens in media query
|
|
158
158
|
StyleDictionary.registerFormat({
|
|
159
159
|
name: 'css/touch-target-desktop',
|
|
160
|
-
formatter: function({dictionary, file, options}) {
|
|
160
|
+
formatter: function ({dictionary, file, options}) {
|
|
161
161
|
const {outputReferences} = options
|
|
162
162
|
return (
|
|
163
163
|
fileHeader({file}) +
|
|
@@ -170,7 +170,7 @@ StyleDictionary.registerFormat({
|
|
|
170
170
|
|
|
171
171
|
StyleDictionary.registerFormat({
|
|
172
172
|
name: 'custom/format/custom-media',
|
|
173
|
-
formatter({dictionary}) {
|
|
173
|
+
formatter ({dictionary}) {
|
|
174
174
|
return dictionary.allProperties
|
|
175
175
|
.map(prop => {
|
|
176
176
|
const {value, path, name} = prop
|
|
@@ -185,7 +185,7 @@ StyleDictionary.registerFormat({
|
|
|
185
185
|
// format docs
|
|
186
186
|
StyleDictionary.registerFormat({
|
|
187
187
|
name: 'json/docs',
|
|
188
|
-
formatter: function({dictionary}) {
|
|
188
|
+
formatter: function ({dictionary}) {
|
|
189
189
|
const groupedTokens = groupBy(dictionary.allProperties, 'filePath')
|
|
190
190
|
|
|
191
191
|
return JSON.stringify(groupedTokens, null, 2)
|
|
@@ -197,7 +197,7 @@ StyleDictionary.registerFormat({
|
|
|
197
197
|
*/
|
|
198
198
|
StyleDictionary.registerFormat({
|
|
199
199
|
name: 'javascript/module-v2',
|
|
200
|
-
formatter: function({dictionary, file}) {
|
|
200
|
+
formatter: function ({dictionary, file}) {
|
|
201
201
|
const recursiveleyFlattenDictionary = obj => {
|
|
202
202
|
const tree = {}
|
|
203
203
|
if (typeof obj !== 'object' || Array.isArray(obj)) {
|
|
@@ -230,7 +230,7 @@ StyleDictionary.registerFormat({
|
|
|
230
230
|
*/
|
|
231
231
|
StyleDictionary.registerFormat({
|
|
232
232
|
name: 'typescript/module-declarations-v2',
|
|
233
|
-
formatter: function({dictionary, options, file}) {
|
|
233
|
+
formatter: function ({dictionary, options, file}) {
|
|
234
234
|
const {moduleName = `tokens`} = options
|
|
235
235
|
|
|
236
236
|
const getType = value => {
|
|
@@ -287,7 +287,7 @@ StyleDictionary.registerFormat({
|
|
|
287
287
|
* @param {Function} The iteratee to transform keys.
|
|
288
288
|
* @returns {Object} Returns the composed aggregate object.
|
|
289
289
|
*/
|
|
290
|
-
function groupBy(collection, iteratee = x => x) {
|
|
290
|
+
function groupBy (collection, iteratee = x => x) {
|
|
291
291
|
const current = typeof iteratee === 'function' ? iteratee : ({[iteratee]: prop}) => prop
|
|
292
292
|
|
|
293
293
|
const array = Array.isArray(collection) ? collection : Object.values(collection)
|
|
@@ -322,7 +322,7 @@ function groupBy(collection, iteratee = x => x) {
|
|
|
322
322
|
* platforms: {...}
|
|
323
323
|
* })
|
|
324
324
|
*/
|
|
325
|
-
function buildPrimitives(
|
|
325
|
+
function buildPrimitives (
|
|
326
326
|
{source, outputPath = 'tokens-v2-private', include, platforms, namespace = 'primer'},
|
|
327
327
|
_StyleDictionary = StyleDictionary
|
|
328
328
|
) {
|
|
@@ -454,7 +454,7 @@ function buildPrimitives(
|
|
|
454
454
|
* from an npm script. Internal use only. Use `build` for self-serve.
|
|
455
455
|
* @private
|
|
456
456
|
*/
|
|
457
|
-
function _init() {
|
|
457
|
+
function _init () {
|
|
458
458
|
const outputPath = 'tokens-v2-private'
|
|
459
459
|
//build all tokens
|
|
460
460
|
buildPrimitives({
|
|
@@ -540,5 +540,9 @@ function _init() {
|
|
|
540
540
|
module.exports = {
|
|
541
541
|
buildPrimitives,
|
|
542
542
|
_init,
|
|
543
|
-
StyleDictionary
|
|
543
|
+
StyleDictionary,
|
|
544
|
+
pathToKebabCase,
|
|
545
|
+
pathToDotNotation,
|
|
546
|
+
capitalize,
|
|
547
|
+
pathToPascalCase
|
|
544
548
|
}
|
package/dist/js/colors/dark.d.ts
CHANGED
package/dist/js/colors/dark.js
CHANGED
|
@@ -109,7 +109,7 @@ exports.default = {
|
|
|
109
109
|
"inputPlaceholderText": "#6e7681",
|
|
110
110
|
"inputFocusText": "#c9d1d9",
|
|
111
111
|
"inputBg": "#161b22",
|
|
112
|
-
"inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
|
|
112
|
+
"inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
|
|
113
113
|
"donutError": "#f85149",
|
|
114
114
|
"donutPending": "#d29922",
|
|
115
115
|
"donutSuccess": "#2ea043",
|
|
@@ -377,6 +377,11 @@ exports.default = {
|
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
|
+
"treeViewItem": {
|
|
381
|
+
"chevron": {
|
|
382
|
+
"hoverBg": "rgba(177,186,196,0.12)"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
380
385
|
"fg": {
|
|
381
386
|
"default": "#c9d1d9",
|
|
382
387
|
"muted": "#8b949e",
|
|
@@ -109,7 +109,7 @@ exports.default = {
|
|
|
109
109
|
"inputPlaceholderText": "#6e7681",
|
|
110
110
|
"inputFocusText": "#c9d1d9",
|
|
111
111
|
"inputBg": "#161b22",
|
|
112
|
-
"inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
|
|
112
|
+
"inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
|
|
113
113
|
"donutError": "#d47616",
|
|
114
114
|
"donutPending": "#d29922",
|
|
115
115
|
"donutSuccess": "#388bfd",
|
|
@@ -377,6 +377,11 @@ exports.default = {
|
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
|
+
"treeViewItem": {
|
|
381
|
+
"chevron": {
|
|
382
|
+
"hoverBg": "rgba(177,186,196,0.12)"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
380
385
|
"fg": {
|
|
381
386
|
"default": "#c9d1d9",
|
|
382
387
|
"muted": "#8b949e",
|
|
@@ -109,7 +109,7 @@ exports.default = {
|
|
|
109
109
|
"inputPlaceholderText": "#636e7b",
|
|
110
110
|
"inputFocusText": "#adbac7",
|
|
111
111
|
"inputBg": "#2d333b",
|
|
112
|
-
"inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
|
|
112
|
+
"inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
|
|
113
113
|
"donutError": "#e5534b",
|
|
114
114
|
"donutPending": "#c69026",
|
|
115
115
|
"donutSuccess": "#46954a",
|
|
@@ -377,6 +377,11 @@ exports.default = {
|
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
|
+
"treeViewItem": {
|
|
381
|
+
"chevron": {
|
|
382
|
+
"hoverBg": "rgba(144,157,171,0.12)"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
380
385
|
"fg": {
|
|
381
386
|
"default": "#adbac7",
|
|
382
387
|
"muted": "#768390",
|
|
@@ -109,7 +109,7 @@ exports.default = {
|
|
|
109
109
|
"inputPlaceholderText": "#9ea7b3",
|
|
110
110
|
"inputFocusText": "#f0f3f6",
|
|
111
111
|
"inputBg": "#272b33",
|
|
112
|
-
"inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
|
|
112
|
+
"inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
|
|
113
113
|
"donutError": "#ff6a69",
|
|
114
114
|
"donutPending": "#f0b72f",
|
|
115
115
|
"donutSuccess": "#09b43a",
|
|
@@ -377,6 +377,11 @@ exports.default = {
|
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
|
+
"treeViewItem": {
|
|
381
|
+
"chevron": {
|
|
382
|
+
"hoverBg": "#525964"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
380
385
|
"fg": {
|
|
381
386
|
"default": "#f0f3f6",
|
|
382
387
|
"muted": "#f0f3f6",
|
|
@@ -109,7 +109,7 @@ exports.default = {
|
|
|
109
109
|
"inputPlaceholderText": "#6e7681",
|
|
110
110
|
"inputFocusText": "#c9d1d9",
|
|
111
111
|
"inputBg": "#161b22",
|
|
112
|
-
"inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
|
|
112
|
+
"inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
|
|
113
113
|
"donutError": "#f85149",
|
|
114
114
|
"donutPending": "#d29922",
|
|
115
115
|
"donutSuccess": "#388bfd",
|
|
@@ -377,6 +377,11 @@ exports.default = {
|
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
|
+
"treeViewItem": {
|
|
381
|
+
"chevron": {
|
|
382
|
+
"hoverBg": "rgba(177,186,196,0.12)"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
380
385
|
"fg": {
|
|
381
386
|
"default": "#c9d1d9",
|
|
382
387
|
"muted": "#8b949e",
|
|
@@ -376,6 +376,11 @@ declare const _default: {
|
|
|
376
376
|
};
|
|
377
377
|
};
|
|
378
378
|
};
|
|
379
|
+
treeViewItem: {
|
|
380
|
+
chevron: {
|
|
381
|
+
hoverBg: string;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
379
384
|
fg: {
|
|
380
385
|
default: string;
|
|
381
386
|
muted: string;
|
|
@@ -868,6 +873,11 @@ declare const _default: {
|
|
|
868
873
|
};
|
|
869
874
|
};
|
|
870
875
|
};
|
|
876
|
+
treeViewItem: {
|
|
877
|
+
chevron: {
|
|
878
|
+
hoverBg: string;
|
|
879
|
+
};
|
|
880
|
+
};
|
|
871
881
|
fg: {
|
|
872
882
|
default: string;
|
|
873
883
|
muted: string;
|
|
@@ -1360,6 +1370,11 @@ declare const _default: {
|
|
|
1360
1370
|
};
|
|
1361
1371
|
};
|
|
1362
1372
|
};
|
|
1373
|
+
treeViewItem: {
|
|
1374
|
+
chevron: {
|
|
1375
|
+
hoverBg: string;
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1363
1378
|
fg: {
|
|
1364
1379
|
default: string;
|
|
1365
1380
|
muted: string;
|
|
@@ -1852,6 +1867,11 @@ declare const _default: {
|
|
|
1852
1867
|
};
|
|
1853
1868
|
};
|
|
1854
1869
|
};
|
|
1870
|
+
treeViewItem: {
|
|
1871
|
+
chevron: {
|
|
1872
|
+
hoverBg: string;
|
|
1873
|
+
};
|
|
1874
|
+
};
|
|
1855
1875
|
fg: {
|
|
1856
1876
|
default: string;
|
|
1857
1877
|
muted: string;
|
|
@@ -2344,6 +2364,11 @@ declare const _default: {
|
|
|
2344
2364
|
};
|
|
2345
2365
|
};
|
|
2346
2366
|
};
|
|
2367
|
+
treeViewItem: {
|
|
2368
|
+
chevron: {
|
|
2369
|
+
hoverBg: string;
|
|
2370
|
+
};
|
|
2371
|
+
};
|
|
2347
2372
|
fg: {
|
|
2348
2373
|
default: string;
|
|
2349
2374
|
muted: string;
|
|
@@ -2836,6 +2861,11 @@ declare const _default: {
|
|
|
2836
2861
|
};
|
|
2837
2862
|
};
|
|
2838
2863
|
};
|
|
2864
|
+
treeViewItem: {
|
|
2865
|
+
chevron: {
|
|
2866
|
+
hoverBg: string;
|
|
2867
|
+
};
|
|
2868
|
+
};
|
|
2839
2869
|
fg: {
|
|
2840
2870
|
default: string;
|
|
2841
2871
|
muted: string;
|
|
@@ -3328,6 +3358,11 @@ declare const _default: {
|
|
|
3328
3358
|
};
|
|
3329
3359
|
};
|
|
3330
3360
|
};
|
|
3361
|
+
treeViewItem: {
|
|
3362
|
+
chevron: {
|
|
3363
|
+
hoverBg: string;
|
|
3364
|
+
};
|
|
3365
|
+
};
|
|
3331
3366
|
fg: {
|
|
3332
3367
|
default: string;
|
|
3333
3368
|
muted: string;
|
|
@@ -3820,6 +3855,11 @@ declare const _default: {
|
|
|
3820
3855
|
};
|
|
3821
3856
|
};
|
|
3822
3857
|
};
|
|
3858
|
+
treeViewItem: {
|
|
3859
|
+
chevron: {
|
|
3860
|
+
hoverBg: string;
|
|
3861
|
+
};
|
|
3862
|
+
};
|
|
3823
3863
|
fg: {
|
|
3824
3864
|
default: string;
|
|
3825
3865
|
muted: string;
|
|
@@ -4312,6 +4352,11 @@ declare const _default: {
|
|
|
4312
4352
|
};
|
|
4313
4353
|
};
|
|
4314
4354
|
};
|
|
4355
|
+
treeViewItem: {
|
|
4356
|
+
chevron: {
|
|
4357
|
+
hoverBg: string;
|
|
4358
|
+
};
|
|
4359
|
+
};
|
|
4315
4360
|
fg: {
|
|
4316
4361
|
default: string;
|
|
4317
4362
|
muted: string;
|
package/dist/js/colors/light.js
CHANGED
package/dist/js/index.d.ts
CHANGED
|
@@ -377,6 +377,11 @@ declare const _default: {
|
|
|
377
377
|
};
|
|
378
378
|
};
|
|
379
379
|
};
|
|
380
|
+
treeViewItem: {
|
|
381
|
+
chevron: {
|
|
382
|
+
hoverBg: string;
|
|
383
|
+
};
|
|
384
|
+
};
|
|
380
385
|
fg: {
|
|
381
386
|
default: string;
|
|
382
387
|
muted: string;
|
|
@@ -869,6 +874,11 @@ declare const _default: {
|
|
|
869
874
|
};
|
|
870
875
|
};
|
|
871
876
|
};
|
|
877
|
+
treeViewItem: {
|
|
878
|
+
chevron: {
|
|
879
|
+
hoverBg: string;
|
|
880
|
+
};
|
|
881
|
+
};
|
|
872
882
|
fg: {
|
|
873
883
|
default: string;
|
|
874
884
|
muted: string;
|
|
@@ -1361,6 +1371,11 @@ declare const _default: {
|
|
|
1361
1371
|
};
|
|
1362
1372
|
};
|
|
1363
1373
|
};
|
|
1374
|
+
treeViewItem: {
|
|
1375
|
+
chevron: {
|
|
1376
|
+
hoverBg: string;
|
|
1377
|
+
};
|
|
1378
|
+
};
|
|
1364
1379
|
fg: {
|
|
1365
1380
|
default: string;
|
|
1366
1381
|
muted: string;
|
|
@@ -1853,6 +1868,11 @@ declare const _default: {
|
|
|
1853
1868
|
};
|
|
1854
1869
|
};
|
|
1855
1870
|
};
|
|
1871
|
+
treeViewItem: {
|
|
1872
|
+
chevron: {
|
|
1873
|
+
hoverBg: string;
|
|
1874
|
+
};
|
|
1875
|
+
};
|
|
1856
1876
|
fg: {
|
|
1857
1877
|
default: string;
|
|
1858
1878
|
muted: string;
|
|
@@ -2345,6 +2365,11 @@ declare const _default: {
|
|
|
2345
2365
|
};
|
|
2346
2366
|
};
|
|
2347
2367
|
};
|
|
2368
|
+
treeViewItem: {
|
|
2369
|
+
chevron: {
|
|
2370
|
+
hoverBg: string;
|
|
2371
|
+
};
|
|
2372
|
+
};
|
|
2348
2373
|
fg: {
|
|
2349
2374
|
default: string;
|
|
2350
2375
|
muted: string;
|
|
@@ -2837,6 +2862,11 @@ declare const _default: {
|
|
|
2837
2862
|
};
|
|
2838
2863
|
};
|
|
2839
2864
|
};
|
|
2865
|
+
treeViewItem: {
|
|
2866
|
+
chevron: {
|
|
2867
|
+
hoverBg: string;
|
|
2868
|
+
};
|
|
2869
|
+
};
|
|
2840
2870
|
fg: {
|
|
2841
2871
|
default: string;
|
|
2842
2872
|
muted: string;
|
|
@@ -3329,6 +3359,11 @@ declare const _default: {
|
|
|
3329
3359
|
};
|
|
3330
3360
|
};
|
|
3331
3361
|
};
|
|
3362
|
+
treeViewItem: {
|
|
3363
|
+
chevron: {
|
|
3364
|
+
hoverBg: string;
|
|
3365
|
+
};
|
|
3366
|
+
};
|
|
3332
3367
|
fg: {
|
|
3333
3368
|
default: string;
|
|
3334
3369
|
muted: string;
|
|
@@ -3821,6 +3856,11 @@ declare const _default: {
|
|
|
3821
3856
|
};
|
|
3822
3857
|
};
|
|
3823
3858
|
};
|
|
3859
|
+
treeViewItem: {
|
|
3860
|
+
chevron: {
|
|
3861
|
+
hoverBg: string;
|
|
3862
|
+
};
|
|
3863
|
+
};
|
|
3824
3864
|
fg: {
|
|
3825
3865
|
default: string;
|
|
3826
3866
|
muted: string;
|
|
@@ -4313,6 +4353,11 @@ declare const _default: {
|
|
|
4313
4353
|
};
|
|
4314
4354
|
};
|
|
4315
4355
|
};
|
|
4356
|
+
treeViewItem: {
|
|
4357
|
+
chevron: {
|
|
4358
|
+
hoverBg: string;
|
|
4359
|
+
};
|
|
4360
|
+
};
|
|
4316
4361
|
fg: {
|
|
4317
4362
|
default: string;
|
|
4318
4363
|
muted: string;
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"inputPlaceholderText": "#6e7681",
|
|
108
108
|
"inputFocusText": "#c9d1d9",
|
|
109
109
|
"inputBg": "#161b22",
|
|
110
|
-
"inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
|
|
110
|
+
"inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
|
|
111
111
|
"donutError": "#f85149",
|
|
112
112
|
"donutPending": "#d29922",
|
|
113
113
|
"donutSuccess": "#2ea043",
|
|
@@ -375,6 +375,11 @@
|
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
},
|
|
378
|
+
"treeViewItem": {
|
|
379
|
+
"chevron": {
|
|
380
|
+
"hoverBg": "rgba(177,186,196,0.12)"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
378
383
|
"fg": {
|
|
379
384
|
"default": "#c9d1d9",
|
|
380
385
|
"muted": "#8b949e",
|