@primer/primitives 7.9.0 → 7.10.0-rc.3d7410a
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 +10 -0
- package/build.js +50 -16
- 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/scss/tokens/base/size/size.scss +21 -0
- package/tokens-v2-private/scss/tokens/base/typography/typography.scss +8 -0
- package/tokens-v2-private/scss/tokens/functional/size/border.scss +14 -0
- package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +10 -0
- package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +7 -0
- package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +7 -0
- package/tokens-v2-private/scss/tokens/functional/size/size.scss +51 -0
- package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +10 -0
- package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +44 -0
- 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,15 @@
|
|
|
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
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#351](https://github.com/primer/primitives/pull/351) [`d8d2480`](https://github.com/primer/primitives/commit/d8d2480c1ec971dca7dd9b1026cf445663f1ae03) Thanks [@langermank](https://github.com/langermank)! - Add SCSS vars for PCSS utilities & dotcom
|
|
12
|
+
|
|
3
13
|
## 7.9.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/build.js
CHANGED
|
@@ -3,8 +3,30 @@ 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
|
|
|
20
|
+
/**
|
|
21
|
+
* transform: scss variable names
|
|
22
|
+
* example: `$namespace-item-variant-property-modifier`
|
|
23
|
+
*/
|
|
24
|
+
StyleDictionary.registerTransform({
|
|
25
|
+
name: 'name/scss',
|
|
26
|
+
type: 'name',
|
|
27
|
+
transformer: pathToKebabCase
|
|
28
|
+
})
|
|
29
|
+
|
|
8
30
|
/**
|
|
9
31
|
* transform: css variable names
|
|
10
32
|
* example: `--namespace-item-variant-property-modifier`
|
|
@@ -12,9 +34,7 @@ const {fileHeader, formattedVariables} = StyleDictionary.formatHelpers
|
|
|
12
34
|
StyleDictionary.registerTransform({
|
|
13
35
|
name: 'name/css',
|
|
14
36
|
type: 'name',
|
|
15
|
-
transformer:
|
|
16
|
-
return token.path.join('-')
|
|
17
|
-
}
|
|
37
|
+
transformer: pathToKebabCase
|
|
18
38
|
})
|
|
19
39
|
|
|
20
40
|
/**
|
|
@@ -24,9 +44,7 @@ StyleDictionary.registerTransform({
|
|
|
24
44
|
StyleDictionary.registerTransform({
|
|
25
45
|
name: 'name/js',
|
|
26
46
|
type: 'name',
|
|
27
|
-
transformer:
|
|
28
|
-
return token.path.join('.')
|
|
29
|
-
}
|
|
47
|
+
transformer: pathToDotNotation
|
|
30
48
|
})
|
|
31
49
|
|
|
32
50
|
/**
|
|
@@ -36,15 +54,7 @@ StyleDictionary.registerTransform({
|
|
|
36
54
|
StyleDictionary.registerTransform({
|
|
37
55
|
name: 'name/js/es6',
|
|
38
56
|
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
|
-
}
|
|
57
|
+
transformer: pathToPascalCase
|
|
48
58
|
})
|
|
49
59
|
|
|
50
60
|
// find values with px unit
|
|
@@ -138,6 +148,11 @@ StyleDictionary.registerTransformGroup({
|
|
|
138
148
|
transforms: ['name/css', 'pxToRem', 'typography/shorthand']
|
|
139
149
|
})
|
|
140
150
|
|
|
151
|
+
StyleDictionary.registerTransformGroup({
|
|
152
|
+
name: 'scss',
|
|
153
|
+
transforms: ['name/scss', 'pxToRem', 'typography/shorthand']
|
|
154
|
+
})
|
|
155
|
+
|
|
141
156
|
// REGISTER A CUSTOM FORMAT
|
|
142
157
|
|
|
143
158
|
// wrap mobile tokens in media query
|
|
@@ -380,6 +395,21 @@ function buildPrimitives(
|
|
|
380
395
|
}
|
|
381
396
|
]
|
|
382
397
|
},
|
|
398
|
+
scss: {
|
|
399
|
+
buildPath: `${outputPath}/scss/`,
|
|
400
|
+
transformGroup: 'scss',
|
|
401
|
+
// map the array of token file paths to style dictionary output files
|
|
402
|
+
files: files.map(filePath => {
|
|
403
|
+
return {
|
|
404
|
+
format: `scss/variables`,
|
|
405
|
+
destination: filePath.replace(`.json`, `.scss`),
|
|
406
|
+
filter: token => token.filePath === filePath,
|
|
407
|
+
options: {
|
|
408
|
+
outputReferences: true
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
})
|
|
412
|
+
},
|
|
383
413
|
js: {
|
|
384
414
|
buildPath: `${outputPath}/js/`,
|
|
385
415
|
transforms: ['name/js/es6', 'pxToRem'],
|
|
@@ -540,5 +570,9 @@ function _init() {
|
|
|
540
570
|
module.exports = {
|
|
541
571
|
buildPrimitives,
|
|
542
572
|
_init,
|
|
543
|
-
StyleDictionary
|
|
573
|
+
StyleDictionary,
|
|
574
|
+
pathToKebabCase,
|
|
575
|
+
pathToDotNotation,
|
|
576
|
+
capitalize,
|
|
577
|
+
pathToPascalCase
|
|
544
578
|
}
|
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",
|
|
@@ -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": "#d47616",
|
|
112
112
|
"donutPending": "#d29922",
|
|
113
113
|
"donutSuccess": "#388bfd",
|
|
@@ -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",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"inputPlaceholderText": "#636e7b",
|
|
108
108
|
"inputFocusText": "#adbac7",
|
|
109
109
|
"inputBg": "#2d333b",
|
|
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": "#e5534b",
|
|
112
112
|
"donutPending": "#c69026",
|
|
113
113
|
"donutSuccess": "#46954a",
|
|
@@ -375,6 +375,11 @@
|
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
},
|
|
378
|
+
"treeViewItem": {
|
|
379
|
+
"chevron": {
|
|
380
|
+
"hoverBg": "rgba(144,157,171,0.12)"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
378
383
|
"fg": {
|
|
379
384
|
"default": "#adbac7",
|
|
380
385
|
"muted": "#768390",
|