@bitrise/bitkit 9.5.0 → 9.5.3-alpha-src.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/package.json +4 -1
- package/src/tsconfig.tsbuildinfo +1 -0
- package/src/variables.css +141 -1
- package/.browserslistrc +0 -2
- package/.editorconfig +0 -4
- package/.eslint-tsconfig.json +0 -7
- package/.eslintrc.js +0 -28
- package/.husky/commit-msg +0 -4
- package/.nvmrc +0 -1
- package/.storybook/main.js +0 -35
- package/.storybook/manager.js +0 -6
- package/.storybook/preview.tsx +0 -20
- package/.storybook/theme.js +0 -7
- package/.stylelintignore +0 -2
- package/.stylelintrc +0 -287
- package/.svgrrc.js +0 -52
- package/.tool-versions +0 -1
- package/@types/@bitrise/bitkit.ts +0 -1
- package/@types/react-docgen.ts +0 -119
- package/CHANGELOG.md +0 -987
- package/CONTRIBUTING.md +0 -79
- package/FAQ.md +0 -19
- package/bitrise.yml +0 -66
- package/commitlint.config.js +0 -10
- package/jest.setup.js +0 -36
- package/netlify.toml +0 -42
- package/postcss.config.js +0 -16
- package/release.config.js +0 -32
- package/renovate.json +0 -6
- package/scripts/build-docs-watch.ts +0 -7
- package/scripts/build-docs.ts +0 -59
- package/site/assets/fonts/TT_Norms_Pro_Bold.woff +0 -0
- package/site/assets/fonts/TT_Norms_Pro_Normal.woff +0 -0
- package/site/assets/icons/favicon-32x32.png +0 -0
- package/site/assets/images/app_icon.jpg +0 -0
- package/site/assets/images/status-checks.png +0 -0
- package/site/components/CodeBlock/CodeBlock.css +0 -87
- package/site/components/CodeBlock/CodeBlock.tsx +0 -35
- package/site/components/Documentation/ComponentDocumentationPage.tsx +0 -150
- package/site/components/Documentation/Components/SectionAddonBeam.tsx +0 -47
- package/site/components/Documentation/Components/SectionAddonBeamSandbox.tsx +0 -32
- package/site/components/Documentation/Components/SectionAddonFooter.tsx +0 -22
- package/site/components/Documentation/Components/SectionAppear.tsx +0 -59
- package/site/components/Documentation/Components/SectionAvatar.tsx +0 -50
- package/site/components/Documentation/Components/SectionBadge.tsx +0 -38
- package/site/components/Documentation/Components/SectionBase.tsx +0 -17
- package/site/components/Documentation/Components/SectionButtons.tsx +0 -361
- package/site/components/Documentation/Components/SectionCards.tsx +0 -276
- package/site/components/Documentation/Components/SectionCheckbox.tsx +0 -38
- package/site/components/Documentation/Components/SectionDatePicker.tsx +0 -82
- package/site/components/Documentation/Components/SectionDivider.tsx +0 -31
- package/site/components/Documentation/Components/SectionDot.tsx +0 -27
- package/site/components/Documentation/Components/SectionDropdowns.tsx +0 -388
- package/site/components/Documentation/Components/SectionExpand.tsx +0 -143
- package/site/components/Documentation/Components/SectionFlex.tsx +0 -33
- package/site/components/Documentation/Components/SectionFormElements.tsx +0 -187
- package/site/components/Documentation/Components/SectionGrid.tsx +0 -125
- package/site/components/Documentation/Components/SectionHamburger.tsx +0 -34
- package/site/components/Documentation/Components/SectionIcons.tsx +0 -30
- package/site/components/Documentation/Components/SectionInputs.tsx +0 -89
- package/site/components/Documentation/Components/SectionList.tsx +0 -26
- package/site/components/Documentation/Components/SectionModals.tsx +0 -224
- package/site/components/Documentation/Components/SectionNotification.tsx +0 -38
- package/site/components/Documentation/Components/SectionPlacement.tsx +0 -167
- package/site/components/Documentation/Components/SectionProgress.tsx +0 -149
- package/site/components/Documentation/Components/SectionRadioButton.tsx +0 -38
- package/site/components/Documentation/Components/SectionRibbon.tsx +0 -33
- package/site/components/Documentation/Components/SectionRibbonSandbox.tsx +0 -17
- package/site/components/Documentation/Components/SectionSidebar.tsx +0 -125
- package/site/components/Documentation/Components/SectionSkeleton.tsx +0 -99
- package/site/components/Documentation/Components/SectionStatus.tsx +0 -53
- package/site/components/Documentation/Components/SectionStatusSandbox404.tsx +0 -42
- package/site/components/Documentation/Components/SectionStatusSandbox500.tsx +0 -13
- package/site/components/Documentation/Components/SectionTable.tsx +0 -83
- package/site/components/Documentation/Components/SectionTabs.tsx +0 -25
- package/site/components/Documentation/Components/SectionText.tsx +0 -34
- package/site/components/Documentation/Components/SectionTextarea.tsx +0 -43
- package/site/components/Documentation/Components/SectionToggle.tsx +0 -50
- package/site/components/Documentation/Components/SectionTooltips.tsx +0 -50
- package/site/components/Documentation/Documentation.tsx +0 -302
- package/site/components/Documentation/Materials/SectionColors.css +0 -33
- package/site/components/Documentation/Materials/SectionColors.tsx +0 -197
- package/site/components/Documentation/Materials/SectionIcons.tsx +0 -106
- package/site/components/Documentation/Materials/SectionTypography.tsx +0 -143
- package/site/components/Page/Page.tsx +0 -8
- package/site/components/Page/PageTitle.tsx +0 -8
- package/site/components/PropsTable/PropsTable.tsx +0 -35
- package/site/components/PropsTable/PropsTableCellUnion.tsx +0 -29
- package/site/components/PropsTable/PropsTableRow.tsx +0 -55
- package/site/components/Root/Root.tsx +0 -89
- package/site/components/Root/index.tsx +0 -4
- package/site/components/Sandbox/Sandbox.tsx +0 -19
- package/site/components/Sandbox/SandboxFrame.css +0 -20
- package/site/components/Sandbox/SandboxFrame.tsx +0 -77
- package/site/components/Section/Section.tsx +0 -8
- package/site/components/Section/SectionSubTitle.tsx +0 -8
- package/site/components/Section/SectionTitle.tsx +0 -8
- package/site/components/SideMenu/SideMenu.css +0 -39
- package/site/components/SideMenu/SideMenu.tsx +0 -53
- package/site/components/SideMenu/SideMenuItem.tsx +0 -34
- package/site/components/Window/Window.tsx +0 -62
- package/site/index.css +0 -11
- package/site/index.html +0 -16
- package/site/index.tsx +0 -16
- package/superstatic.json +0 -13
- package/tsconfig.json +0 -25
package/src/variables.css
CHANGED
|
@@ -10,6 +10,145 @@
|
|
|
10
10
|
--size--x12: 3rem;
|
|
11
11
|
--size--x16: 4rem;
|
|
12
12
|
|
|
13
|
+
--color-white: #FFFFFF;
|
|
14
|
+
--color-black: #222222;
|
|
15
|
+
|
|
16
|
+
--color-gray--1: #F8F8F8;
|
|
17
|
+
--color-gray--2: #ECECEC;
|
|
18
|
+
--color-gray--3: #DDDDDD;
|
|
19
|
+
--color-gray--4: #CCCCCC;
|
|
20
|
+
--color-gray--5: #ACACAC;
|
|
21
|
+
--color-gray--6: #777777;
|
|
22
|
+
--color-gray--7: #616161;
|
|
23
|
+
--color-gray--8: #444444;
|
|
24
|
+
|
|
25
|
+
--color-aqua--1: #E6FAF9;
|
|
26
|
+
--color-aqua--2: #86E9E2;
|
|
27
|
+
--color-aqua--3: #0DD3C5;
|
|
28
|
+
--color-aqua--4: #0EC7BA;
|
|
29
|
+
--color-aqua--5: #00968C;
|
|
30
|
+
|
|
31
|
+
--color-grape--1: #F8F0FF;
|
|
32
|
+
--color-grape--2: #B88ADB;
|
|
33
|
+
--color-grape--3: #760FC3;
|
|
34
|
+
--color-grape--4: #492F5C;
|
|
35
|
+
--color-grape--5: #351D48;
|
|
36
|
+
|
|
37
|
+
--color-eggplant: #683D87;
|
|
38
|
+
|
|
39
|
+
--color-red--1: #FFE8EE;
|
|
40
|
+
--color-red--2: #FF8FAB;
|
|
41
|
+
--color-red--3: #FF2158;
|
|
42
|
+
--color-red--4: #EE003B;
|
|
43
|
+
--color-red--5: #C02048;
|
|
44
|
+
|
|
45
|
+
--color-orange--1: #FFECE5;
|
|
46
|
+
--color-orange--2: #FFA17F;
|
|
47
|
+
--color-orange--3: #FF4400;
|
|
48
|
+
--color-orange--4: #E73E00;
|
|
49
|
+
--color-orange--5: #D33D07;
|
|
50
|
+
|
|
51
|
+
--color-yellow--1: #FFF9E5;
|
|
52
|
+
--color-yellow--2: #FFE27F;
|
|
53
|
+
--color-yellow--3: #FFC500;
|
|
54
|
+
--color-yellow--4: #ECB600;
|
|
55
|
+
--color-yellow--5: #795E00;
|
|
56
|
+
|
|
57
|
+
--color-green--1: #E7F9F3;
|
|
58
|
+
--color-green--2: #87E1C3;
|
|
59
|
+
--color-green--3: #0FC389;
|
|
60
|
+
--color-green--4: #0FB37D;
|
|
61
|
+
--color-green--5: #117D59;
|
|
62
|
+
|
|
63
|
+
--color-blue--1: #E6F2FA;
|
|
64
|
+
--color-blue--2: #86C1E6;
|
|
65
|
+
--color-blue--3: #0D83CD;
|
|
66
|
+
--color-blue--4: #0C70AE;
|
|
67
|
+
--color-blue--5: #095C90;
|
|
68
|
+
|
|
69
|
+
--color-darkblue--1: #E6ECF7;
|
|
70
|
+
--color-darkblue--2: #82A4D7;
|
|
71
|
+
--color-darkblue--3: #054AB0;
|
|
72
|
+
--color-darkblue--4: #043E94;
|
|
73
|
+
--color-darkblue--5: #033175;
|
|
74
|
+
|
|
75
|
+
--color-violet--1: #F4E7F9;
|
|
76
|
+
--color-violet--2: #CB8ADF;
|
|
77
|
+
--color-violet--3: #990FC3;
|
|
78
|
+
--color-violet--4: #8512A8;
|
|
79
|
+
--color-violet--5: #741492;
|
|
80
|
+
|
|
81
|
+
--rgb-white: 255, 255, 255;
|
|
82
|
+
--rgb-black: 34, 34, 34;
|
|
83
|
+
|
|
84
|
+
--rgb-gray--1: 248, 248, 248;
|
|
85
|
+
--rgb-gray--2: 236, 236, 236;
|
|
86
|
+
--rgb-gray--3: 221, 221, 221;
|
|
87
|
+
--rgb-gray--4: 204, 204, 204;
|
|
88
|
+
--rgb-gray--5: 172, 172, 172;
|
|
89
|
+
--rgb-gray--6: 119, 119, 119;
|
|
90
|
+
--rgb-gray--7: 97, 97, 97;
|
|
91
|
+
--rgb-gray--8: 68, 68, 68;
|
|
92
|
+
|
|
93
|
+
--rgb-aqua--1: 230, 250, 249;
|
|
94
|
+
--rgb-aqua--2: 134, 233, 226;
|
|
95
|
+
--rgb-aqua--3: 13, 211, 197;
|
|
96
|
+
--rgb-aqua--4: 14, 199, 186;
|
|
97
|
+
--rgb-aqua--5: 0, 150, 140;
|
|
98
|
+
|
|
99
|
+
--rgb-grape--1: 248, 240, 255;
|
|
100
|
+
--rgb-grape--2: 184, 138, 219;
|
|
101
|
+
--rgb-grape--3: 118, 15, 195;
|
|
102
|
+
--rgb-grape--4: 73, 47, 92;
|
|
103
|
+
--rgb-grape--5: 53, 29, 72;
|
|
104
|
+
|
|
105
|
+
--rgb-eggplant: 104, 61, 135;
|
|
106
|
+
|
|
107
|
+
--rgb-red--1: 255, 232, 238;
|
|
108
|
+
--rgb-red--2: 255, 143, 171;
|
|
109
|
+
--rgb-red--3: 255, 33, 88;
|
|
110
|
+
--rgb-red--4: 238, 0, 59;
|
|
111
|
+
--rgb-red--5: 192, 32, 72;
|
|
112
|
+
|
|
113
|
+
--rgb-orange--1: 255, 236, 229;
|
|
114
|
+
--rgb-orange--2: 255, 161, 127;
|
|
115
|
+
--rgb-orange--3: 255, 68, 0;
|
|
116
|
+
--rgb-orange--4: 231, 62, 0;
|
|
117
|
+
--rgb-orange--5: 211, 61, 7;
|
|
118
|
+
|
|
119
|
+
--rgb-yellow--1: 255, 249, 229;
|
|
120
|
+
--rgb-yellow--2: 255, 226, 127;
|
|
121
|
+
--rgb-yellow--3: 255, 197, 0;
|
|
122
|
+
--rgb-yellow--4: 236, 182, 0;
|
|
123
|
+
--rgb-yellow--5: 121, 94, 0;
|
|
124
|
+
|
|
125
|
+
--rgb-green--1: 231, 249, 243;
|
|
126
|
+
--rgb-green--2: 135, 225, 195;
|
|
127
|
+
--rgb-green--3: 15, 195, 137;
|
|
128
|
+
--rgb-green--4: 15, 179, 125;
|
|
129
|
+
--rgb-green--5: 17, 125, 89;
|
|
130
|
+
|
|
131
|
+
--rgb-blue--1: 230, 242, 250;
|
|
132
|
+
--rgb-blue--2: 134, 193, 230;
|
|
133
|
+
--rgb-blue--3: 13, 131, 205;
|
|
134
|
+
--rgb-blue--4: 12, 112, 174;
|
|
135
|
+
--rgb-blue--5: 9, 92, 144;
|
|
136
|
+
|
|
137
|
+
--rgb-darkblue--1: 230, 236, 247;
|
|
138
|
+
--rgb-darkblue--2: 130, 164, 215;
|
|
139
|
+
--rgb-darkblue--3: 5, 74, 176;
|
|
140
|
+
--rgb-darkblue--4: 4, 62, 148;
|
|
141
|
+
--rgb-darkblue--5: 3, 49, 117;
|
|
142
|
+
|
|
143
|
+
--rgb-violet--1: 244, 231, 249;
|
|
144
|
+
--rgb-violet--2: 203, 138, 223;
|
|
145
|
+
--rgb-violet--3: 153, 15, 195;
|
|
146
|
+
--rgb-violet--4: 133, 18, 168;
|
|
147
|
+
--rgb-violet--5: 116, 20, 146;
|
|
148
|
+
|
|
149
|
+
--color-overlay--black: rgba(34, 34, 34, 0.8);
|
|
150
|
+
--color-overlay--grape: rgba(53, 29, 72, 0.8);
|
|
151
|
+
/*
|
|
13
152
|
--color-white: var(--colors-neutral-100);
|
|
14
153
|
--color-black: var(--colors-neutral-10);
|
|
15
154
|
|
|
@@ -91,7 +230,8 @@
|
|
|
91
230
|
--rgb-blue--2: 134, 193, 230;
|
|
92
231
|
|
|
93
232
|
--color-overlay--black: rgba(34, 34, 34, 0.8);
|
|
94
|
-
|
|
233
|
+
*/
|
|
234
|
+
|
|
95
235
|
--font-family: 'TT Norms Pro', sans-serif;
|
|
96
236
|
--font-family-monospace: 'Source Code Pro', monospace;
|
|
97
237
|
|
package/.browserslistrc
DELETED
package/.editorconfig
DELETED
package/.eslint-tsconfig.json
DELETED
package/.eslintrc.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
parserOptions: {
|
|
3
|
-
project: ['./tsconfig.json', './.eslint-tsconfig.json'],
|
|
4
|
-
tsconfigRootDir: __dirname,
|
|
5
|
-
},
|
|
6
|
-
settings: {
|
|
7
|
-
'import/internal-regex': '^@/',
|
|
8
|
-
},
|
|
9
|
-
extends: ['plugin:@bitrise/config', 'plugin:storybook/recommended'],
|
|
10
|
-
rules: {
|
|
11
|
-
/** * Import related rules ** */
|
|
12
|
-
'import/no-extraneous-dependencies': [
|
|
13
|
-
'error',
|
|
14
|
-
{
|
|
15
|
-
devDependencies: [
|
|
16
|
-
'**/*.stories.tsx',
|
|
17
|
-
'**/*.test.tsx',
|
|
18
|
-
'jest.setup.js',
|
|
19
|
-
'scripts/*.ts',
|
|
20
|
-
'site/**/*.*',
|
|
21
|
-
'postcss.config.js',
|
|
22
|
-
],
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
'react-hooks/exhaustive-deps': 'off',
|
|
26
|
-
'react/react-in-jsx-scope': 'off',
|
|
27
|
-
},
|
|
28
|
-
};
|
package/.husky/commit-msg
DELETED
package/.nvmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
v16.14.2
|
package/.storybook/main.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
core: {
|
|
5
|
-
builder: 'webpack5',
|
|
6
|
-
},
|
|
7
|
-
stories: [
|
|
8
|
-
"../src/**/*.stories.mdx",
|
|
9
|
-
"../src/**/*.stories.@(js|jsx|ts|tsx)"
|
|
10
|
-
],
|
|
11
|
-
addons: [
|
|
12
|
-
"@storybook/addon-links",
|
|
13
|
-
"@storybook/addon-essentials",
|
|
14
|
-
"@storybook/addon-interactions"
|
|
15
|
-
],
|
|
16
|
-
framework: "@storybook/react",
|
|
17
|
-
features: { emotionAlias: false },
|
|
18
|
-
refs: {
|
|
19
|
-
'@chakra-ui/react': { disable: true }
|
|
20
|
-
},
|
|
21
|
-
webpackFinal: async (config) => {
|
|
22
|
-
config.module.rules.push({
|
|
23
|
-
test: /\.mjs$/,
|
|
24
|
-
include: /node_modules/,
|
|
25
|
-
type: 'javascript/auto',
|
|
26
|
-
});
|
|
27
|
-
config.resolve.plugins = [
|
|
28
|
-
...(config.resolve.plugins || []),
|
|
29
|
-
new TsconfigPathsPlugin({
|
|
30
|
-
extensions: config.resolve.extensions,
|
|
31
|
-
}),
|
|
32
|
-
];
|
|
33
|
-
return config;
|
|
34
|
-
},
|
|
35
|
-
};
|
package/.storybook/manager.js
DELETED
package/.storybook/preview.tsx
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import Provider from '../src/Components/Provider/Provider';
|
|
2
|
-
import '../site/index.css'
|
|
3
|
-
|
|
4
|
-
export const decorators = [
|
|
5
|
-
(Story) => (
|
|
6
|
-
<Provider>
|
|
7
|
-
<Story />
|
|
8
|
-
</Provider>
|
|
9
|
-
),
|
|
10
|
-
];
|
|
11
|
-
|
|
12
|
-
export const parameters = {
|
|
13
|
-
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
14
|
-
controls: {
|
|
15
|
-
matchers: {
|
|
16
|
-
color: /(background|color)$/i,
|
|
17
|
-
date: /Date$/,
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
};
|
package/.storybook/theme.js
DELETED
package/.stylelintignore
DELETED
package/.stylelintrc
DELETED
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"plugins": [
|
|
3
|
-
"stylelint-order"
|
|
4
|
-
],
|
|
5
|
-
"rules": {
|
|
6
|
-
"at-rule-name-case": "lower",
|
|
7
|
-
"at-rule-name-space-after": "always",
|
|
8
|
-
"at-rule-no-vendor-prefix": true,
|
|
9
|
-
"at-rule-semicolon-newline-after": "always",
|
|
10
|
-
"block-closing-brace-empty-line-before": "never",
|
|
11
|
-
"block-closing-brace-newline-after": "always",
|
|
12
|
-
"block-closing-brace-newline-before": "always-multi-line",
|
|
13
|
-
"block-closing-brace-space-before": "always-single-line",
|
|
14
|
-
"block-no-empty": true,
|
|
15
|
-
"block-opening-brace-newline-after": "always-multi-line",
|
|
16
|
-
"block-opening-brace-space-after": "always-single-line",
|
|
17
|
-
"color-hex-case": "upper",
|
|
18
|
-
"color-hex-length": "long",
|
|
19
|
-
"color-named": "never",
|
|
20
|
-
"color-no-invalid-hex": true,
|
|
21
|
-
"comment-empty-line-before": ["always", {
|
|
22
|
-
"except": [ "first-nested" ],
|
|
23
|
-
"ignore": [ "after-comment", "stylelint-commands" ]
|
|
24
|
-
}],
|
|
25
|
-
"comment-no-empty": true,
|
|
26
|
-
"comment-whitespace-inside": "always",
|
|
27
|
-
"declaration-bang-space-after": "never",
|
|
28
|
-
"declaration-bang-space-before": "always",
|
|
29
|
-
"declaration-block-no-duplicate-properties": [true, {
|
|
30
|
-
"ignore": "consecutive-duplicates-with-different-values"
|
|
31
|
-
}],
|
|
32
|
-
"declaration-block-no-shorthand-property-overrides": true,
|
|
33
|
-
"declaration-block-semicolon-newline-after": "always-multi-line",
|
|
34
|
-
"declaration-block-semicolon-space-before": "never",
|
|
35
|
-
"declaration-block-single-line-max-declarations": 2,
|
|
36
|
-
"declaration-block-trailing-semicolon": "always",
|
|
37
|
-
"declaration-colon-newline-after": "always-multi-line",
|
|
38
|
-
"declaration-colon-space-after": "always-single-line",
|
|
39
|
-
"declaration-colon-space-before": "never",
|
|
40
|
-
"declaration-empty-line-before": "never",
|
|
41
|
-
"declaration-no-important": true,
|
|
42
|
-
"font-weight-notation": "numeric",
|
|
43
|
-
"function-calc-no-unspaced-operator": true,
|
|
44
|
-
"function-comma-space-after": "always-single-line",
|
|
45
|
-
"function-comma-space-before": "never",
|
|
46
|
-
"function-linear-gradient-no-nonstandard-direction": true,
|
|
47
|
-
"function-name-case": "lower",
|
|
48
|
-
"function-parentheses-space-inside": "never-single-line",
|
|
49
|
-
"function-url-scheme-allowed-list": ["data", "/^http/"],
|
|
50
|
-
"function-url-quotes": "always",
|
|
51
|
-
"function-whitespace-after": "always",
|
|
52
|
-
"indentation": 2,
|
|
53
|
-
"length-zero-no-unit": true,
|
|
54
|
-
"max-empty-lines": 1,
|
|
55
|
-
"max-line-length": 110,
|
|
56
|
-
"media-feature-colon-space-after": "always",
|
|
57
|
-
"media-feature-colon-space-before": "never",
|
|
58
|
-
"media-feature-name-case": "lower",
|
|
59
|
-
"media-feature-name-no-unknown": true,
|
|
60
|
-
"media-feature-name-no-vendor-prefix": true,
|
|
61
|
-
"media-feature-parentheses-space-inside": "never",
|
|
62
|
-
"media-feature-range-operator-space-after": "always",
|
|
63
|
-
"media-feature-range-operator-space-before": "always",
|
|
64
|
-
"media-query-list-comma-space-after": "always",
|
|
65
|
-
"media-query-list-comma-space-before": "never",
|
|
66
|
-
"no-descending-specificity": true,
|
|
67
|
-
"no-duplicate-selectors": true,
|
|
68
|
-
"no-empty-source": true,
|
|
69
|
-
"no-eol-whitespace": true,
|
|
70
|
-
"no-extra-semicolons": true,
|
|
71
|
-
"no-invalid-double-slash-comments": true,
|
|
72
|
-
"no-missing-end-of-source-newline": true,
|
|
73
|
-
"number-leading-zero": "always",
|
|
74
|
-
"number-no-trailing-zeros": true,
|
|
75
|
-
"order/properties-order": [[
|
|
76
|
-
"content",
|
|
77
|
-
|
|
78
|
-
"display",
|
|
79
|
-
"position",
|
|
80
|
-
"top",
|
|
81
|
-
"right",
|
|
82
|
-
"bottom",
|
|
83
|
-
"left",
|
|
84
|
-
|
|
85
|
-
"flex",
|
|
86
|
-
"flex-basis",
|
|
87
|
-
"flex-direction",
|
|
88
|
-
"flex-flow",
|
|
89
|
-
"flex-grow",
|
|
90
|
-
"flex-shrink",
|
|
91
|
-
"flex-wrap",
|
|
92
|
-
"align-content",
|
|
93
|
-
"align-items",
|
|
94
|
-
"align-self",
|
|
95
|
-
"justify-content",
|
|
96
|
-
"order",
|
|
97
|
-
|
|
98
|
-
"width",
|
|
99
|
-
"min-width",
|
|
100
|
-
"max-width",
|
|
101
|
-
|
|
102
|
-
"height",
|
|
103
|
-
"min-height",
|
|
104
|
-
"max-height",
|
|
105
|
-
|
|
106
|
-
"margin",
|
|
107
|
-
"margin-top",
|
|
108
|
-
"margin-right",
|
|
109
|
-
"margin-bottom",
|
|
110
|
-
"margin-left",
|
|
111
|
-
|
|
112
|
-
"padding",
|
|
113
|
-
"padding-top",
|
|
114
|
-
"padding-right",
|
|
115
|
-
"padding-bottom",
|
|
116
|
-
"padding-left",
|
|
117
|
-
|
|
118
|
-
"float",
|
|
119
|
-
"clear",
|
|
120
|
-
|
|
121
|
-
"columns",
|
|
122
|
-
"column-gap",
|
|
123
|
-
"column-fill",
|
|
124
|
-
"column-rule",
|
|
125
|
-
"column-span",
|
|
126
|
-
"column-count",
|
|
127
|
-
"column-width",
|
|
128
|
-
|
|
129
|
-
"transform",
|
|
130
|
-
"transform-box",
|
|
131
|
-
"transform-origin",
|
|
132
|
-
"transform-style",
|
|
133
|
-
|
|
134
|
-
"opacity",
|
|
135
|
-
|
|
136
|
-
"outline",
|
|
137
|
-
"outline-color",
|
|
138
|
-
"outline-offset",
|
|
139
|
-
"outline-style",
|
|
140
|
-
"outline-width",
|
|
141
|
-
|
|
142
|
-
"border",
|
|
143
|
-
"border-top",
|
|
144
|
-
"border-right",
|
|
145
|
-
"border-bottom",
|
|
146
|
-
"border-left",
|
|
147
|
-
"border-width",
|
|
148
|
-
"border-top-width",
|
|
149
|
-
"border-right-width",
|
|
150
|
-
"border-bottom-width",
|
|
151
|
-
"border-left-width",
|
|
152
|
-
"border-collapse",
|
|
153
|
-
"border-spacing",
|
|
154
|
-
|
|
155
|
-
"border-style",
|
|
156
|
-
"border-top-style",
|
|
157
|
-
"border-right-style",
|
|
158
|
-
"border-bottom-style",
|
|
159
|
-
"border-left-style",
|
|
160
|
-
|
|
161
|
-
"border-radius",
|
|
162
|
-
"border-top-left-radius",
|
|
163
|
-
"border-top-right-radius",
|
|
164
|
-
"border-bottom-left-radius",
|
|
165
|
-
"border-bottom-right-radius",
|
|
166
|
-
|
|
167
|
-
"border-color",
|
|
168
|
-
"border-top-color",
|
|
169
|
-
"border-right-color",
|
|
170
|
-
"border-bottom-color",
|
|
171
|
-
"border-left-color",
|
|
172
|
-
|
|
173
|
-
"box-shadow",
|
|
174
|
-
|
|
175
|
-
"background",
|
|
176
|
-
"background-attachment",
|
|
177
|
-
"background-clip",
|
|
178
|
-
"background-color",
|
|
179
|
-
"background-image",
|
|
180
|
-
"background-repeat",
|
|
181
|
-
"background-position",
|
|
182
|
-
"background-size",
|
|
183
|
-
|
|
184
|
-
"color",
|
|
185
|
-
"fill",
|
|
186
|
-
"fill-opacity",
|
|
187
|
-
"stroke",
|
|
188
|
-
"stroke-dasharray",
|
|
189
|
-
"stroke-dashoffset",
|
|
190
|
-
"stroke-linecap",
|
|
191
|
-
"stroke-linejoin",
|
|
192
|
-
"stroke-width",
|
|
193
|
-
|
|
194
|
-
"font",
|
|
195
|
-
"font-family",
|
|
196
|
-
"font-size",
|
|
197
|
-
"font-smoothing",
|
|
198
|
-
"font-style",
|
|
199
|
-
"font-variant",
|
|
200
|
-
"font-variant-ligatures",
|
|
201
|
-
"font-weight",
|
|
202
|
-
|
|
203
|
-
"letter-spacing",
|
|
204
|
-
"list-style",
|
|
205
|
-
|
|
206
|
-
"text-align",
|
|
207
|
-
"text-decoration",
|
|
208
|
-
"text-indent",
|
|
209
|
-
"text-overflow",
|
|
210
|
-
"text-rendering",
|
|
211
|
-
"text-shadow",
|
|
212
|
-
"text-transform",
|
|
213
|
-
"text-wrap",
|
|
214
|
-
|
|
215
|
-
"line-height",
|
|
216
|
-
"white-space",
|
|
217
|
-
"word-spacing",
|
|
218
|
-
"cursor",
|
|
219
|
-
|
|
220
|
-
"visibility",
|
|
221
|
-
"vertical-align",
|
|
222
|
-
"overflow",
|
|
223
|
-
"overflow-x",
|
|
224
|
-
"overflow-y",
|
|
225
|
-
"z-index",
|
|
226
|
-
"resize",
|
|
227
|
-
|
|
228
|
-
"transition",
|
|
229
|
-
"transition-property",
|
|
230
|
-
"transition-delay",
|
|
231
|
-
"transition-duration",
|
|
232
|
-
"transition-timing-function",
|
|
233
|
-
|
|
234
|
-
"animation",
|
|
235
|
-
"animation-name",
|
|
236
|
-
"animation-delay",
|
|
237
|
-
"animation-direction",
|
|
238
|
-
"animation-duration",
|
|
239
|
-
"animation-fill-mode",
|
|
240
|
-
"animation-iteration-count",
|
|
241
|
-
"animation-play-state",
|
|
242
|
-
"animation-timing-function"
|
|
243
|
-
], { "unspecified": "bottom" }],
|
|
244
|
-
"property-case": "lower",
|
|
245
|
-
"property-no-unknown": true,
|
|
246
|
-
"property-no-vendor-prefix": true,
|
|
247
|
-
"rule-empty-line-before": ["always-multi-line", {
|
|
248
|
-
"except": ["first-nested"],
|
|
249
|
-
"ignore": ["after-comment", "inside-block"]
|
|
250
|
-
}],
|
|
251
|
-
"selector-attribute-brackets-space-inside": "never",
|
|
252
|
-
"selector-attribute-operator-space-after": "never",
|
|
253
|
-
"selector-attribute-operator-space-before": "never",
|
|
254
|
-
"selector-attribute-quotes": "always",
|
|
255
|
-
"selector-combinator-space-after": "always",
|
|
256
|
-
"selector-combinator-space-before": "always",
|
|
257
|
-
"selector-descendant-combinator-no-non-space": true,
|
|
258
|
-
"selector-list-comma-newline-after": "always",
|
|
259
|
-
"selector-list-comma-space-before": "never",
|
|
260
|
-
"selector-max-empty-lines": 0,
|
|
261
|
-
"selector-max-id": 0,
|
|
262
|
-
"selector-max-type": [0, {
|
|
263
|
-
"ignore": ["compounded"],
|
|
264
|
-
"ignoreTypes": ["html", "body"]
|
|
265
|
-
}],
|
|
266
|
-
"selector-max-universal": 0,
|
|
267
|
-
"selector-no-vendor-prefix": true,
|
|
268
|
-
"selector-pseudo-class-case": "lower",
|
|
269
|
-
"selector-pseudo-class-no-unknown": true,
|
|
270
|
-
"selector-pseudo-class-parentheses-space-inside": "never",
|
|
271
|
-
"selector-pseudo-element-case": "lower",
|
|
272
|
-
"selector-pseudo-element-colon-notation": "double",
|
|
273
|
-
"selector-pseudo-element-no-unknown": true,
|
|
274
|
-
"selector-type-case": "lower",
|
|
275
|
-
"selector-type-no-unknown": true,
|
|
276
|
-
"shorthand-property-no-redundant-values": true,
|
|
277
|
-
"string-no-newline": true,
|
|
278
|
-
"string-quotes": "single",
|
|
279
|
-
"unit-disallowed-list": ["em", "px"],
|
|
280
|
-
"unit-case": "lower",
|
|
281
|
-
"unit-no-unknown": true,
|
|
282
|
-
"value-list-comma-space-after": "always-single-line",
|
|
283
|
-
"value-list-comma-space-before": "never",
|
|
284
|
-
"value-list-max-empty-lines": 0,
|
|
285
|
-
"value-no-vendor-prefix": true
|
|
286
|
-
}
|
|
287
|
-
}
|
package/.svgrrc.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
outDir: 'src/Icon/tsx',
|
|
5
|
-
typescript: true,
|
|
6
|
-
expandProps: 'start',
|
|
7
|
-
replaceAttrValues: {
|
|
8
|
-
'#492F5C': 'currentColor',
|
|
9
|
-
'#351D48': 'currentColor'
|
|
10
|
-
},
|
|
11
|
-
svgoConfig: {
|
|
12
|
-
plugins: [
|
|
13
|
-
'preset-default',
|
|
14
|
-
'removeXMLNS',
|
|
15
|
-
'removeDimensions',
|
|
16
|
-
'prefixIds'
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
indexTemplate: (files) => {
|
|
20
|
-
const list = files.map((file) =>
|
|
21
|
-
path
|
|
22
|
-
.basename(file, path.extname(file))
|
|
23
|
-
.replace(/^Icons/, '')
|
|
24
|
-
.replace(/\.tsx/, ''));
|
|
25
|
-
|
|
26
|
-
const imports = list
|
|
27
|
-
.map((name) => `import ${name} from './Icons${name}';`)
|
|
28
|
-
.join('\n');
|
|
29
|
-
|
|
30
|
-
const types = `export type TypeIconName =\n${list
|
|
31
|
-
.map((name) => ` '${name}'`)
|
|
32
|
-
.join(' |\n')};`;
|
|
33
|
-
|
|
34
|
-
const array = `export const IconList: TypeIconName[] = [\n${list
|
|
35
|
-
.map((name) => ` '${name}',`)
|
|
36
|
-
.join('\n')}
|
|
37
|
-
];`;
|
|
38
|
-
|
|
39
|
-
const map = `export const IconMap: { [key in TypeIconName]: React.FC<React.SVGProps<SVGSVGElement>> } = {\n${list
|
|
40
|
-
.map((name) => ` ${name},`)
|
|
41
|
-
.join('\n')}
|
|
42
|
-
};`;
|
|
43
|
-
|
|
44
|
-
return `${imports}\n\n${types}\n\n${array}\n\n${map}\n`;
|
|
45
|
-
},
|
|
46
|
-
template: ({ componentName, jsx }, { tpl }) => tpl`
|
|
47
|
-
// THIS IS AN AUTOGERENATED FILE. DO NOT EDIT IT. CHECK README ON HOW TO MANAGE ICONS INSTEAD.
|
|
48
|
-
import * as React from 'react';
|
|
49
|
-
const ${componentName} = (props: React.SVGProps<SVGSVGElement>) => ${jsx}
|
|
50
|
-
export default ${componentName}
|
|
51
|
-
`,
|
|
52
|
-
}
|
package/.tool-versions
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nodejs 16.14.2
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../../src';
|