@cherepanov.pavel/shareable-config 2.0.17 → 2.0.18

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.
@@ -1,6 +1,4 @@
1
- import {
2
- propertyGroups,
3
- } from "./property-groups.js";
1
+ import propertyGroups from "stylelint-config-recess-order/groups";
4
2
 
5
3
  export default {
6
4
  plugins: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cherepanov.pavel/shareable-config",
3
3
  "description": "setup for new repositories",
4
- "version": "2.0.17",
4
+ "version": "2.0.18",
5
5
  "type": "module",
6
6
  "devEngines": {
7
7
  "packageManager": {
@@ -72,6 +72,7 @@
72
72
  "postcss-html": "^2.0.0",
73
73
  "stylelint": "^17.14.1",
74
74
  "stylelint-config-html": "^2.0.0",
75
+ "stylelint-config-recess-order": "^7.8.0",
75
76
  "stylelint-config-standard": "^40.0.0",
76
77
  "stylelint-config-standard-vue": "^2.0.0",
77
78
  "stylelint-order": "^8.1.1",
@@ -1,409 +0,0 @@
1
- /**
2
- * @typedef {Object} Group
3
- * @property {Array<string>} properties
4
- */
5
-
6
- /** @type {Group[]} */
7
- export const propertyGroups = [
8
- {
9
- /**
10
- * Compose rules from other selectors in CSS Modules.
11
- * @see https://github.com/css-modules/css-modules#composition
12
- */
13
- properties: [
14
- "composes",
15
- ],
16
- },
17
- {
18
- // Must be first (unless using the above).
19
- properties: [
20
- "all",
21
- "content",
22
- ],
23
- },
24
- {
25
- // Position.
26
- properties: [
27
- "position",
28
- "inset",
29
- "inset-block",
30
- "inset-block-start",
31
- "inset-block-end",
32
- "inset-inline",
33
- "inset-inline-start",
34
- "inset-inline-end",
35
- "top",
36
- "right",
37
- "bottom",
38
- "left",
39
- "z-index",
40
- ],
41
- },
42
- {
43
- // Display mode.
44
- properties: [
45
- "box-sizing",
46
- "display",
47
- ],
48
- },
49
- {
50
- // Flexible boxes.
51
- properties: [
52
- "flex",
53
- "flex-basis",
54
- "flex-direction",
55
- "flex-flow",
56
- "flex-grow",
57
- "flex-shrink",
58
- "flex-wrap",
59
- "grid",
60
- "grid-area",
61
- "grid-template",
62
- "grid-template-areas",
63
- "grid-template-rows",
64
- "grid-template-columns",
65
- "grid-row",
66
- "grid-row-start",
67
- "grid-row-end",
68
- "grid-column",
69
- "grid-column-start",
70
- "grid-column-end",
71
- "grid-auto-rows",
72
- "grid-auto-columns",
73
- "grid-auto-flow",
74
- "grid-gap",
75
- "grid-row-gap",
76
- "grid-column-gap",
77
- "gap",
78
- "row-gap",
79
- "column-gap",
80
- "place-content",
81
- "place-items",
82
- "place-self",
83
- "align-content",
84
- "align-items",
85
- "align-self",
86
- "justify-content",
87
- "justify-items",
88
- "justify-self",
89
- "order",
90
- ],
91
- },
92
- {
93
- // Box model.
94
- properties: [
95
- "float",
96
- "inline-size",
97
- "min-inline-size",
98
- "max-inline-size",
99
- "width",
100
- "min-width",
101
- "max-width",
102
- "inline-size",
103
- "min-inline-size",
104
- "max-inline-size",
105
- "height",
106
- "min-height",
107
- "max-height",
108
- "aspect-ratio",
109
- "padding",
110
- "padding-block",
111
- "padding-block-start",
112
- "padding-block-end",
113
- "padding-inline",
114
- "padding-inline-start",
115
- "padding-inline-end",
116
- "padding-top",
117
- "padding-right",
118
- "padding-bottom",
119
- "padding-left",
120
- "margin",
121
- "margin-block",
122
- "margin-block-start",
123
- "margin-block-end",
124
- "margin-inline",
125
- "margin-inline-start",
126
- "margin-inline-end",
127
- "margin-top",
128
- "margin-right",
129
- "margin-bottom",
130
- "margin-left",
131
- "overflow",
132
- "overflow-block",
133
- "overflow-inline",
134
- "overflow-x",
135
- "overflow-y",
136
- "-webkit-overflow-scrolling",
137
- "-ms-overflow-x",
138
- "-ms-overflow-y",
139
- "-ms-overflow-style",
140
- "overscroll-behavior",
141
- "overscroll-behavior-inline",
142
- "overscroll-behavior-block",
143
- "overscroll-behavior-x",
144
- "overscroll-behavior-y",
145
- "clip",
146
- "clip-path",
147
- "clear",
148
- ],
149
- },
150
- {
151
- // Typography.
152
- properties: [
153
- "font",
154
- "font-family",
155
- "font-size",
156
- "font-variation-settings",
157
- "font-style",
158
- "font-weight",
159
- "font-feature-settings",
160
- "font-optical-sizing",
161
- "font-kerning",
162
- "font-variant",
163
- "font-variant-ligatures",
164
- "font-variant-caps",
165
- "font-variant-alternates",
166
- "font-variant-numeric",
167
- "font-variant-east-asian",
168
- "font-variant-position",
169
- "font-size-adjust",
170
- "font-stretch",
171
- "font-effect",
172
- "font-emphasize",
173
- "font-emphasize-position",
174
- "font-emphasize-style",
175
- "-webkit-font-smoothing",
176
- "-moz-osx-font-smoothing",
177
- "font-smooth",
178
- "hyphens",
179
- "line-height",
180
- "color",
181
- "text-align",
182
- "text-align-last",
183
- "text-emphasis",
184
- "text-emphasis-color",
185
- "text-emphasis-style",
186
- "text-emphasis-position",
187
- "text-decoration",
188
- "text-decoration-line",
189
- "text-decoration-thickness",
190
- "text-decoration-style",
191
- "text-decoration-color",
192
- "text-underline-position",
193
- "text-underline-offset",
194
- "text-indent",
195
- "text-justify",
196
- "text-outline",
197
- "-ms-text-overflow",
198
- "text-overflow",
199
- "text-overflow-ellipsis",
200
- "text-overflow-mode",
201
- "text-shadow",
202
- "text-transform",
203
- "text-wrap",
204
- "-webkit-text-size-adjust",
205
- "-ms-text-size-adjust",
206
- "letter-spacing",
207
- "word-break",
208
- "word-spacing",
209
- "word-wrap", // Legacy name for `overflow-wrap`
210
- "overflow-wrap",
211
- "tab-size",
212
- "white-space",
213
- "vertical-align",
214
-
215
- "list-style",
216
- "list-style-position",
217
- "list-style-type",
218
- "list-style-image",
219
-
220
- "src",
221
- "font-display",
222
- "unicode-range",
223
- "size-adjust",
224
- "ascent-override",
225
- "descent-override",
226
- "line-gap-override",
227
- ],
228
- },
229
- {
230
- // Accessibility & Interactions.
231
- properties: [
232
- "appearance",
233
- "accent-color",
234
- "color-scheme",
235
- "pointer-events",
236
- "-ms-touch-action",
237
- "touch-action",
238
- "cursor",
239
- "caret-color",
240
- "visibility",
241
- "zoom",
242
- "table-layout",
243
- "empty-cells",
244
- "caption-side",
245
- "border-spacing",
246
- "border-collapse",
247
- "quotes",
248
- "counter-reset",
249
- "counter-set",
250
- "counter-increment",
251
- "resize",
252
- "user-select",
253
- "nav-index",
254
- "nav-up",
255
- "nav-right",
256
- "nav-down",
257
- "nav-left",
258
- ],
259
- },
260
- {
261
- // Background & Borders.
262
- properties: [
263
- "background",
264
- "background-color",
265
- "background-image",
266
- "-ms-filter:\\'progid:DXImageTransform.Microsoft.gradient",
267
- "filter:progid:DXImageTransform.Microsoft.gradient",
268
- "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader",
269
- "filter",
270
- "background-repeat",
271
- "background-attachment",
272
- "background-position",
273
- "background-position-x",
274
- "background-position-y",
275
- "background-clip",
276
- "background-origin",
277
- "background-size",
278
- "background-blend-mode",
279
- "isolation",
280
- "backdrop-filter",
281
- "border",
282
- "border-color",
283
- "border-style",
284
- "border-width",
285
- "border-block",
286
- "border-block-start",
287
- "border-block-start-color",
288
- "border-block-start-style",
289
- "border-block-start-width",
290
- "border-block-end",
291
- "border-block-end-color",
292
- "border-block-end-style",
293
- "border-block-end-width",
294
- "border-inline",
295
- "border-inline-start",
296
- "border-inline-start-color",
297
- "border-inline-start-style",
298
- "border-inline-start-width",
299
- "border-inline-end",
300
- "border-inline-end-color",
301
- "border-inline-end-style",
302
- "border-inline-end-width",
303
- "border-top",
304
- "border-top-color",
305
- "border-top-style",
306
- "border-top-width",
307
- "border-right",
308
- "border-right-color",
309
- "border-right-style",
310
- "border-right-width",
311
- "border-bottom",
312
- "border-bottom-color",
313
- "border-bottom-style",
314
- "border-bottom-width",
315
- "border-left",
316
- "border-left-color",
317
- "border-left-style",
318
- "border-left-width",
319
- "border-radius",
320
- "border-start-start-radius",
321
- "border-start-end-radius",
322
- "border-end-start-radius",
323
- "border-end-end-radius",
324
- "border-top-left-radius",
325
- "border-top-right-radius",
326
- "border-bottom-right-radius",
327
- "border-bottom-left-radius",
328
- "border-image",
329
- "border-image-source",
330
- "border-image-slice",
331
- "border-image-width",
332
- "border-image-outset",
333
- "border-image-repeat",
334
- "outline",
335
- "outline-width",
336
- "outline-style",
337
- "outline-color",
338
- "outline-offset",
339
- "box-shadow",
340
- "mix-blend-mode",
341
- "filter:progid:DXImageTransform.Microsoft.Alpha(Opacity",
342
- "-ms-filter:\\'progid:DXImageTransform.Microsoft.Alpha",
343
- "opacity",
344
- "-ms-interpolation-mode",
345
- ],
346
- },
347
- {
348
- // SVG Presentation Attributes.
349
- properties: [
350
- "alignment-baseline",
351
- "baseline-shift",
352
- "dominant-baseline",
353
- "text-anchor",
354
- "word-spacing",
355
- "writing-mode",
356
-
357
- "fill",
358
- "fill-opacity",
359
- "fill-rule",
360
- "stroke",
361
- "stroke-dasharray",
362
- "stroke-dashoffset",
363
- "stroke-linecap",
364
- "stroke-linejoin",
365
- "stroke-miterlimit",
366
- "stroke-opacity",
367
- "stroke-width",
368
-
369
- "color-interpolation",
370
- "color-interpolation-filters",
371
- "color-profile",
372
- "color-rendering",
373
- "flood-color",
374
- "flood-opacity",
375
- "image-rendering",
376
- "lighting-color",
377
- "marker-start",
378
- "marker-mid",
379
- "marker-end",
380
- "mask",
381
- "shape-rendering",
382
- "stop-color",
383
- "stop-opacity",
384
- ],
385
- },
386
- {
387
- // Transitions & Animation.
388
- properties: [
389
- "transition",
390
- "transition-delay",
391
- "transition-timing-function",
392
- "transition-duration",
393
- "transition-property",
394
- "transform",
395
- "transform-origin",
396
- "rotate",
397
- "scale",
398
- "translate",
399
- "animation",
400
- "animation-name",
401
- "animation-duration",
402
- "animation-play-state",
403
- "animation-timing-function",
404
- "animation-delay",
405
- "animation-iteration-count",
406
- "animation-direction",
407
- ],
408
- },
409
- ];