@itcase/lint 1.1.75 → 1.1.78

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 (61) hide show
  1. package/dist/eslint/customPlugins/dataTestIdPlugin/constants.d.ts +33 -0
  2. package/dist/eslint/customPlugins/dataTestIdPlugin/example.d.ts +1 -0
  3. package/dist/eslint/customPlugins/dataTestIdPlugin/extra.d.ts +12 -0
  4. package/dist/eslint/customPlugins/dataTestIdPlugin/plugin.d.ts +40 -0
  5. package/dist/eslint/customPlugins/dataTestIdPlugin/rule.d.ts +5 -0
  6. package/dist/eslint/customPlugins/dataTestIdPlugin/rule.test.d.ts +1 -0
  7. package/dist/eslint/customPlugins/dataTestIdPlugin/ruleVisitors.d.ts +3 -0
  8. package/dist/eslint/customPlugins/dataTestIdPlugin/utils.d.ts +18 -0
  9. package/dist/eslint/index.d.ts +2 -0
  10. package/dist/eslint/mobx/index.d.ts +16 -0
  11. package/dist/eslint/mobx.js +20 -0
  12. package/dist/eslint/perfectionist/index.d.ts +11 -0
  13. package/dist/eslint/perfectionist/sort/customGroup.d.ts +105 -0
  14. package/dist/eslint/perfectionist/sort/props.d.ts +2 -0
  15. package/dist/eslint/perfectionist/sortClasses.d.ts +10 -0
  16. package/dist/eslint/perfectionist/sortEnums.d.ts +5 -0
  17. package/dist/eslint/perfectionist/sortExports.d.ts +15 -0
  18. package/dist/eslint/perfectionist/sortInterfaces.d.ts +10 -0
  19. package/dist/eslint/perfectionist/sortIntersectionTypes.d.ts +5 -0
  20. package/dist/eslint/perfectionist/sortJSXProps.d.ts +10 -0
  21. package/dist/eslint/perfectionist/sortMaps.d.ts +5 -0
  22. package/dist/eslint/perfectionist/sortNamedExports.d.ts +16 -0
  23. package/dist/eslint/perfectionist/sortObjectTypes.d.ts +10 -0
  24. package/dist/eslint/perfectionist/sortObjects.d.ts +23 -0
  25. package/dist/eslint/perfectionist/sortUnionTypes.d.ts +6 -0
  26. package/dist/eslint/perfectionist.js +30 -0
  27. package/dist/eslint/react-native.js +22 -0
  28. package/dist/eslint/storybook/index.d.ts +408 -0
  29. package/dist/eslint/storybook.js +10 -0
  30. package/dist/eslint/utils.d.ts +3 -0
  31. package/dist/eslint.js +342 -0
  32. package/dist/prettier/index.d.ts +15 -0
  33. package/dist/prettier/react-native/index.d.ts +9 -0
  34. package/dist/prettier/react-native.js +68 -0
  35. package/dist/prettier.js +34 -0
  36. package/dist/sortUnionTypes_rTLrktP3.js +619 -0
  37. package/dist/stylelint/index.d.ts +85 -0
  38. package/dist/stylelint.js +249 -0
  39. package/package.json +40 -14
  40. package/eslint/index.js +0 -108
  41. package/eslint/mobx/index.js +0 -18
  42. package/eslint/perfectionist/index.js +0 -11
  43. package/eslint/perfectionist/sort/customGroup.js +0 -118
  44. package/eslint/perfectionist/sort/props.js +0 -355
  45. package/eslint/perfectionist/sortClasses.js +0 -28
  46. package/eslint/perfectionist/sortEnums.js +0 -3
  47. package/eslint/perfectionist/sortExports.js +0 -17
  48. package/eslint/perfectionist/sortInterfaces.js +0 -38
  49. package/eslint/perfectionist/sortIntersectionTypes.js +0 -3
  50. package/eslint/perfectionist/sortJSXProps.js +0 -30
  51. package/eslint/perfectionist/sortMaps.js +0 -3
  52. package/eslint/perfectionist/sortNamedExports.js +0 -18
  53. package/eslint/perfectionist/sortObjectTypes.js +0 -32
  54. package/eslint/perfectionist/sortObjects.js +0 -44
  55. package/eslint/perfectionist/sortUnionTypes.js +0 -22
  56. package/eslint/react-native/index.js +0 -20
  57. package/eslint/storybook/index.js +0 -8
  58. package/eslint/utils.js +0 -25
  59. package/prettier/index.js +0 -32
  60. package/prettier/react-native/index.js +0 -66
  61. package/stylelint/index.js +0 -248
@@ -0,0 +1,249 @@
1
+ var index = {
2
+ extends: ['stylelint-config-standard', 'stylelint-prettier/recommended'],
3
+ ignoreFiles: [
4
+ '**/__*.css',
5
+ '**/import.css',
6
+ '**/vendor/**/*.css',
7
+ '**/vendor/*.css',
8
+ '__*.css',
9
+ '**/*.ts',
10
+ '**/*.tsx',
11
+ '**/*.js',
12
+ '**/*.mjs',
13
+ 'ios/**/*',
14
+ 'android/**/*',
15
+ ],
16
+ plugins: [
17
+ 'stylelint-prettier',
18
+ 'stylelint-order',
19
+ 'stylelint-no-unsupported-browser-features',
20
+ ],
21
+ rules: {
22
+ 'max-nesting-depth': 20,
23
+ 'alpha-value-notation': [
24
+ 'number',
25
+ {
26
+ exceptProperties: ['opacity'],
27
+ },
28
+ ],
29
+ 'at-rule-empty-line-before': [
30
+ 'always',
31
+ {
32
+ except: ['inside-block'],
33
+ ignore: [
34
+ 'after-comment',
35
+ 'first-nested',
36
+ 'blockless-after-same-name-blockless',
37
+ 'blockless-after-blockless',
38
+ ],
39
+ },
40
+ ],
41
+ 'at-rule-no-unknown': [
42
+ true,
43
+ {
44
+ ignoreAtRules: [
45
+ 'import-glob',
46
+ 'for',
47
+ 'each',
48
+ 'mixin',
49
+ 'extend',
50
+ 'define-mixin',
51
+ ],
52
+ },
53
+ ],
54
+ 'block-no-empty': null,
55
+ 'color-function-notation': 'legacy',
56
+ 'comment-empty-line-before': [
57
+ 'always',
58
+ {
59
+ except: ['first-nested'],
60
+ ignore: ['after-comment'],
61
+ },
62
+ ],
63
+ 'custom-property-empty-line-before': null,
64
+ 'custom-property-pattern': '[a-z].*',
65
+ 'declaration-empty-line-before': 'never',
66
+ 'declaration-property-value-no-unknown': [
67
+ true,
68
+ {
69
+ ignoreProperties: {
70
+ top: '/.+/',
71
+ right: '/.+/',
72
+ bottom: '/.+/',
73
+ left: '/.+/',
74
+ border: '/.+/',
75
+ margin: '/.+/',
76
+ padding: '/.+/',
77
+ gap: '/.+/',
78
+ '/-gap$/': '/.+/',
79
+ '/^border-/': '/.+/',
80
+ '/^margin-/': '/.+/',
81
+ '/^padding-/': '/.+/',
82
+ },
83
+ },
84
+ ],
85
+ 'function-no-unknown': [true, { ignoreFunctions: ['$', 'fluid'] }],
86
+ 'function-url-quotes': 'always',
87
+ 'hue-degree-notation': 'number',
88
+ 'import-notation': 'string',
89
+ 'keyframes-name-pattern': [
90
+ '^([a-z]+)([A-Z]?[a-z]+)+$',
91
+ { message: 'Expected keyframe name to be camelCase' },
92
+ ],
93
+ 'no-descending-specificity': null,
94
+ 'order/order': [
95
+ [
96
+ 'declarations',
97
+ {
98
+ type: 'at-rule',
99
+ name: 'extend',
100
+ },
101
+ {
102
+ type: 'at-rule',
103
+ name: 'mixin',
104
+ },
105
+ {
106
+ type: 'at-rule',
107
+ name: 'media',
108
+ },
109
+ {
110
+ type: 'rule',
111
+ selector: '^&::(before|after)',
112
+ },
113
+ {
114
+ type: 'rule',
115
+ selector: '^&:\\w',
116
+ },
117
+ {
118
+ type: 'rule',
119
+ selector: '^&_',
120
+ },
121
+ {
122
+ type: 'rule',
123
+ selector: '^.',
124
+ },
125
+ ],
126
+ {
127
+ unspecified: 'bottom',
128
+ },
129
+ ],
130
+ 'order/properties-order': [
131
+ [
132
+ 'width',
133
+ 'height',
134
+ 'min-width',
135
+ 'min-height',
136
+ 'max-width',
137
+ 'max-height',
138
+ 'aspect-ratio',
139
+ 'font',
140
+ 'font-size',
141
+ 'font-range',
142
+ 'font-weight',
143
+ 'color',
144
+ 'text-shadow',
145
+ 'text-decoration',
146
+ 'text-transform',
147
+ 'text-align',
148
+ 'text-rendering',
149
+ 'white-space',
150
+ 'line-height',
151
+ 'line-height-range',
152
+ 'letter-spacing',
153
+ 'background',
154
+ 'background-position',
155
+ 'background-repeat',
156
+ 'background-size',
157
+ 'padding',
158
+ 'margin',
159
+ 'border',
160
+ 'border-width',
161
+ 'border-color',
162
+ 'border-style',
163
+ 'border-radius',
164
+ 'border-left',
165
+ 'border-top',
166
+ 'border-right',
167
+ 'border-bottom',
168
+ 'float',
169
+ 'clear',
170
+ 'position',
171
+ 'overflow',
172
+ 'content',
173
+ 'display',
174
+ 'flex',
175
+ 'flex-direction',
176
+ 'flex-wrap',
177
+ 'flex-flow',
178
+ 'order',
179
+ 'justify-content',
180
+ 'align-items',
181
+ 'align-self',
182
+ 'align-content',
183
+ 'flex-grow',
184
+ 'flex-shrink',
185
+ 'flex-basis',
186
+ 'visibility',
187
+ 'box-sizing',
188
+ 'box-shadow',
189
+ 'left',
190
+ 'top',
191
+ 'right',
192
+ 'bottom',
193
+ 'vertical-align',
194
+ 'z-index',
195
+ 'transform',
196
+ 'transition',
197
+ 'animation',
198
+ 'animation-delay',
199
+ 'animation-direction',
200
+ 'animation-duration',
201
+ 'animation-fill-mode',
202
+ 'animation-iteration-count',
203
+ 'animation-name',
204
+ 'animation-play-state',
205
+ 'animation-timing-function',
206
+ 'opacity',
207
+ 'cursor',
208
+ ],
209
+ ],
210
+ 'plugin/no-unsupported-browser-features': [
211
+ true,
212
+ {
213
+ ignore: ['css-nesting', 'prefers-color-scheme'],
214
+ severity: 'warning',
215
+ },
216
+ ],
217
+ 'prettier/prettier': true,
218
+ 'property-disallowed-list': ['/^margin-/', '/^padding-/'],
219
+ 'property-no-unknown': [
220
+ true,
221
+ {
222
+ ignoreProperties: [
223
+ 'letter-spacing-range',
224
+ 'aspect-ratio',
225
+ 'font-range',
226
+ 'line-height-range',
227
+ ],
228
+ },
229
+ ],
230
+ 'rule-empty-line-before': [
231
+ 'always',
232
+ {
233
+ except: ['first-nested', 'inside-block-and-after-rule'],
234
+ ignore: ['inside-block'],
235
+ },
236
+ ],
237
+ 'selector-class-pattern': '^[a-z]([-]?[a-z0-9]+)*(__[a-z0-9]([-]?[a-z0-9]+)*)?(--[a-z0-9]([-]?[a-z0-9]+)*)?$',
238
+ 'selector-nested-pattern': '&_*',
239
+ 'selector-type-no-unknown': [
240
+ true,
241
+ {
242
+ ignoreTypes: ['/^/'],
243
+ },
244
+ ],
245
+ 'shorthand-property-no-redundant-values': null,
246
+ },
247
+ };
248
+
249
+ export { index as default };
package/package.json CHANGED
@@ -1,14 +1,20 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.1.75",
3
+ "version": "1.1.78",
4
4
  "author": "ITCase",
5
- "description": "Code style linter configuration presets",
5
+ "description": "Code style linter configuration presets ",
6
6
  "engines": {
7
7
  "node": ">=20.12.0"
8
8
  },
9
9
  "scripts": {
10
+ "build": "npm run build-js",
11
+ "build-js": "rm -rf dist && rollup -c",
12
+ "dev-js": "rollup -c -w",
10
13
  "prepare": "husky",
11
- "semantic-release": "semantic-release"
14
+ "prepack": "NODE_ENV=production npm run build",
15
+ "pre-commit": "npm run typecheck",
16
+ "semantic-release": "semantic-release",
17
+ "typecheck": "tsc --noEmit"
12
18
  },
13
19
  "type": "module",
14
20
  "license": "MIT",
@@ -18,17 +24,19 @@
18
24
  "url": "https://github.com/ITCase/itcase-lint.git"
19
25
  },
20
26
  "files": [
21
- "eslint",
22
- "eslint/mobx",
23
- "eslint/perfectionist",
24
- "eslint/react-native",
25
- "eslint/storybook",
26
- "prettier",
27
- "prettier/react-native",
28
- "README.md",
29
- "storybook",
30
- "stylelint"
27
+ "dist",
28
+ "README.md"
31
29
  ],
30
+ "exports": {
31
+ "./eslint": "./dist/eslint.js",
32
+ "./eslint/mobx": "./dist/eslint/mobx.js",
33
+ "./eslint/perfectionist": "./dist/eslint/perfectionist.js",
34
+ "./eslint/react-native": "./dist/eslint/react-native.js",
35
+ "./eslint/storybook": "./dist/eslint/storybook.js",
36
+ "./prettier": "./dist/prettier.js",
37
+ "./prettier/react-native": "./dist/prettier/react-native.js",
38
+ "./stylelint": "./dist/stylelint.js"
39
+ },
32
40
  "publishConfig": {
33
41
  "access": "public",
34
42
  "registry": "https://registry.npmjs.org/"
@@ -70,10 +78,28 @@
70
78
  },
71
79
  "devDependencies": {
72
80
  "@commitlint/cli": "^20.3.1",
73
- "@itcase/config": "^1.6.14",
81
+ "@commitlint/config-conventional": "^20.3.1",
82
+ "@itcase/config": "^1.6.19",
83
+ "@types/node": "^25.0.6",
84
+ "@types/react": "^19.2.8",
85
+ "@types/react-dom": "^19.2.3",
86
+ "@rollup/plugin-alias": "^6.0.0",
87
+ "@rollup/plugin-babel": "^6.1.0",
88
+ "@rollup/plugin-image": "^3.0.3",
89
+ "@rollup/plugin-json": "^6.1.0",
90
+ "@rollup/plugin-node-resolve": "^16.0.3",
91
+ "@rollup/plugin-terser": "^0.4.4",
92
+ "@rollup/plugin-typescript": "^12.3.0",
93
+ "rollup": "4.55.1",
94
+ "rollup-plugin-copy": "^3.5.0",
95
+ "rollup-plugin-dts": "^6.3.0",
96
+ "rollup-plugin-peer-deps-external": "^2.2.4",
97
+ "rollup-preserve-directives": "^1.1.3",
98
+ "@typescript-eslint/rule-tester": "^8.52.0",
74
99
  "husky": "^9.1.7",
75
100
  "lint-staged": "^16.2.7",
76
101
  "semantic-release": "^25.0.2",
102
+ "tsx": "^4.21.0",
77
103
  "typescript": "^5.9.3"
78
104
  }
79
105
  }
package/eslint/index.js DELETED
@@ -1,108 +0,0 @@
1
- import { fixupPluginRules } from '@eslint/compat'
2
- import eslintJs from '@eslint/js'
3
- import eslintMarkdown from '@eslint/markdown'
4
- import eslintHtml from 'eslint-plugin-html'
5
- import eslintJson from 'eslint-plugin-json'
6
- import eslintPerfectionist from 'eslint-plugin-perfectionist'
7
- import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
8
- import eslintReact from 'eslint-plugin-react'
9
- import eslintReactHooks from 'eslint-plugin-react-hooks'
10
- //import eslintStorybook from 'eslint-plugin-storybook'
11
- import globals from 'globals'
12
- import eslintTypeScript from 'typescript-eslint'
13
-
14
- import {
15
- sortEnums,
16
- sortExports,
17
- sortInterfaces,
18
- sortIntersectionTypes,
19
- sortJSXProps,
20
- sortMaps,
21
- sortNamedExports,
22
- sortObjects,
23
- sortObjectTypes,
24
- sortUnionTypes,
25
- } from './perfectionist/index.js'
26
-
27
- const eslintConfig = [
28
- eslintJs.configs.recommended,
29
- ...eslintTypeScript.configs.recommended,
30
- //...eslintStorybook.configs['flat/recommended'],
31
- eslintPluginPrettierRecommended,
32
-
33
- {
34
- languageOptions: {
35
- globals: {
36
- ...globals.browser,
37
- ...globals.node,
38
- },
39
- },
40
- },
41
-
42
- {
43
- plugins: {
44
- react: eslintReact,
45
- 'react-hooks': fixupPluginRules(eslintReactHooks),
46
- html: eslintHtml,
47
- perfectionist: eslintPerfectionist,
48
- },
49
- },
50
-
51
- {
52
- ignores: ['dist', 'node_modules', 'eslint.config.mjs'],
53
- },
54
-
55
- {
56
- files: ['**/*.json'],
57
- ...eslintJson.configs['recommended'],
58
- },
59
- {
60
- files: ['**/*.md', '**/*.mdx'],
61
- ...eslintMarkdown.configs.recommended,
62
- },
63
- {
64
- files: ['**/*.{js,jsx,mjs,cjs,ts,tsx}'],
65
- rules: {
66
- // react-hooks configs recommended rules
67
- ...eslintReactHooks.configs.recommended.rules,
68
-
69
- 'react/jsx-fragments': ['error', 'element'],
70
-
71
- // @typescript-eslint
72
- '@typescript-eslint/ban-ts-comment': 'off',
73
- '@typescript-eslint/no-explicit-any': 'off',
74
- // Sometimes you need an empty one, for example when extends
75
- '@typescript-eslint/no-empty-object-type': 'off',
76
- '@typescript-eslint/no-unused-expressions': 'off',
77
-
78
- // react
79
- // TODO: make rule "react/prop-types" as error only for JS(x) files
80
- 'react/prop-types': 'off',
81
- 'react/react-in-jsx-scope': 'off',
82
-
83
- // react-hooks
84
- 'react-hooks/exhaustive-deps': 'warn',
85
- 'react-hooks/rules-of-hooks': 'error',
86
-
87
- // disables the requirement to format ternary operators in multiline form
88
- 'multiline-ternary': 'off',
89
- // shorthand for methods and properties of objects
90
- 'object-shorthand': ['warn', 'consistent'],
91
-
92
- // Perfectionist
93
- 'perfectionist/sort-classes': 'off',
94
- 'perfectionist/sort-enums': sortEnums,
95
- 'perfectionist/sort-interfaces': sortInterfaces,
96
- 'perfectionist/sort-intersection-types': sortIntersectionTypes,
97
- 'perfectionist/sort-jsx-props': sortJSXProps,
98
- 'perfectionist/sort-maps': sortMaps,
99
- 'perfectionist/sort-named-exports': sortNamedExports,
100
- 'perfectionist/sort-exports': sortExports,
101
- 'perfectionist/sort-objects': sortObjects,
102
- 'perfectionist/sort-object-types': sortObjectTypes,
103
- 'perfectionist/sort-union-types': sortUnionTypes,
104
- },
105
- },
106
- ]
107
-
108
- export default eslintConfig
@@ -1,18 +0,0 @@
1
- import eslintMobx from 'eslint-plugin-mobx'
2
-
3
- export default [
4
- {
5
- plugins: {
6
- mobx: eslintMobx,
7
- },
8
- },
9
- {
10
- rules: {
11
- 'mobx/exhaustive-make-observable': 'warn',
12
- 'mobx/missing-make-observable': 'error',
13
- 'mobx/missing-observer': 'off',
14
- 'mobx/no-anonymous-observer': 'warn',
15
- 'mobx/unconditional-make-observable': 'error',
16
- },
17
- },
18
- ]
@@ -1,11 +0,0 @@
1
- export { sortClasses } from './sortClasses.js'
2
- export { sortEnums } from './sortEnums.js'
3
- export { sortExports } from './sortExports.js'
4
- export { sortNamedExports } from './sortNamedExports.js'
5
- export { sortInterfaces } from './sortInterfaces.js'
6
- export { sortIntersectionTypes } from './sortIntersectionTypes.js'
7
- export { sortJSXProps } from './sortJSXProps.js'
8
- export { sortMaps } from './sortMaps.js'
9
- export { sortObjects } from './sortObjects.js'
10
- export { sortObjectTypes } from './sortObjectTypes.js'
11
- export { sortUnionTypes } from './sortUnionTypes.js'
@@ -1,118 +0,0 @@
1
- const customGroups = {
2
- id: '^id$',
3
- title: '^title.*',
4
- subtitle: '^subtitle.*',
5
- label: '^label.*',
6
- desc: '^desc.*',
7
- description: '^description.*',
8
- status: '^status.*',
9
- fill: '^fill.*',
10
- fillHover: '^fillHover.*',
11
- fillActive: '^fillActive.*',
12
- fillActiveHover: '^fillActiveHover.*',
13
- fillDisabled: '^fillDisabled.*',
14
- textColor: '^TextColor.*',
15
- textColorHover: '^TextColorHover.*',
16
- textColorActive: '^TextColorActive.*',
17
- textColorActiveHover: '^TextColorActiveHover.*',
18
- textColorDisabled: '^TextColorDisabled.*',
19
- border: '^border.*',
20
- borderColor: '^BorderColor.*',
21
- borderColorHover: '^BorderColorHover.*',
22
- borderColorActive: '^BorderColorActive.*',
23
- borderColorActiveHover: '^BorderColorActive.*',
24
- borderColorDisabled: '^BorderColorDisabled.*',
25
- shadow: '^shadow.*',
26
- template: '^template.*',
27
- path: '^path.*',
28
- font: '^font.*',
29
- text: '^text.*',
30
-
31
- DefaultMock: 'DefaultMock$',
32
- LoadingMock: 'LoadingMock$',
33
- ErrorMock: 'ErrorMock$',
34
- ErrorNetworkMock: 'ErrorNetwork$',
35
- ErrorRequestMock: 'ErrorRequestMock$',
36
- SuccessMock: 'SuccessMock$',
37
-
38
- hasPrimaryAppearance: '^.*Primary.*\b',
39
- hasSecondaryAppearance: '^.*Secondary.*\b',
40
- hasTertiaryAppearance: '^.*Tertiary.*\b',
41
- hasQuaternaryAppearance: '^.*Quaternary.*\b',
42
- hasMutedPrimaryAppearance: '^.*MutedPrimary.*\b',
43
- hasMutedSecondaryAppearance: '^.*MutedSecondary.*\b',
44
- hasMutedTertiaryAppearance: '^.*MutedTertiary.*\b',
45
- hasMutedQuaternaryAppearance: '^.*MutedQuaternary.*\b',
46
-
47
- hasAccent: '^.(?!is|on).*(A|a)ccent.*\b',
48
- hasPrimary: '^.(?!is|on).*(P|p)rimary.*\b',
49
- hasSecondary: '^(?!is|on).*(S|s)econdary.*\b',
50
- hasTertiary: '^(?!is|on).*(T|t)ertiary.*\b',
51
- hasQuaternary: '^(?!is|on).*(Q|q)uaternary.*\b',
52
- hasSurface: '^(?!is|on).*(S|s)urface.*\b',
53
- hasError: '^(?!is|on).*(E|e)rror.*\b',
54
- hasWarning: '^(?!is|on).*(W|w)arning.*\b',
55
-
56
- hasDefault: '^.(?!is|on).*(D|d)efault.*\b',
57
- hasRequire: '^(?!is|on).*(R|r)equire.*\b',
58
- hasSuccess: '^(?!is|on)(?!on).*(S|s)uccess.*\b',
59
- hasDanger: '^(?!is|on).*(D|d)anger.*\b',
60
- hasInfo: '^(?!is|on).*(I|i)nfo.*\b',
61
- hasDisabled: '^(?!is|on).*(D|d)isabled.*\b',
62
-
63
- hasAccentMuted: '^.*AccentMuted.*\b',
64
- hasPrimaryMuted: '^.*PrimaryMuted.*\b',
65
- hasSecondaryMuted: '^.*SecondaryMuted.*\b',
66
- hasTertiaryMuted: '^.*TertiaryMuted.*\b',
67
- hasQuaternaryMuted: '^.*QuaternaryMuted.*\b',
68
- hasSurfaceMuted: '^.*SurfaceMuted.*\b',
69
- hasErrorMuted: '^(?!on).*\bErrorMuted.*\b',
70
- hasWarningMuted: '^.*WarningMuted.*\b',
71
- hasSuccessMuted: '^(?!on).*\bSuccessMuted.*\b',
72
- hasDangerMuted: '^.*DangerMuted.*\b',
73
- hasInfoMuted: '^.*InfoMuted.*\b',
74
- hasDisabledMuted: '^.*DisabledMuted.*\b',
75
-
76
- hasValidation: '^.(?!is|on).*(V|v)alidation.*\b',
77
- hasFilled: '^.(?!is|on).*(F|f)illed.*\b',
78
- hasLoading: '^.(?!is|on).*(L|l)oading.*\b',
79
- hasServerError: '^.(?!is|on).*(S|s)erverError.*\b',
80
- hasServerErrorData: '^.(?!is|on).*(S|s)erverErrorData.*\b',
81
- hasInitialValues: '^.(?!is|on).*(I|i)nitialValues.*\b',
82
-
83
- hasHighest: '^highest.*',
84
- hasHigh: '^high.*',
85
- hasMedium: '^medium.*',
86
- hasLow: '^low.*',
87
- hasLowest: 'lowest.*',
88
-
89
- min: '^min.*',
90
- max: '^max.*',
91
-
92
- findIn: '^findIn.*',
93
- findBy: '^findBy.*',
94
-
95
- flex: '^flex.*',
96
- justify: '^justify.*',
97
- align: '^align.*',
98
- initial: '^initial.*',
99
- background: '^background.*',
100
- direction: '^direction.*',
101
-
102
- isMobile: '^isMobile.*',
103
- isTablet: '^isTablet.*',
104
- isDesktop: '^isDesktop.*',
105
-
106
- message: '^message.*',
107
- close: '^close.*',
108
- open: '^open.*',
109
- hasIs: '^is.*',
110
- hasSet: '^set.*',
111
- hasGet: '^get.*',
112
- on: '^on.*',
113
- onClick: '^onClick.*',
114
- onSuccess: '^onSuccess.*',
115
- onError: '^onError.*',
116
- }
117
-
118
- export { customGroups }