@eslint-react/shared 1.40.4-next.5 → 1.40.4-next.6
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/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -35,7 +35,7 @@ declare const CustomComponentPropSchema: valibot.ObjectSchema<{
|
|
|
35
35
|
*/
|
|
36
36
|
readonly name: valibot.StringSchema<undefined>;
|
|
37
37
|
/**
|
|
38
|
-
* The name of the prop in the
|
|
38
|
+
* The name of the prop in the host component.
|
|
39
39
|
* @example
|
|
40
40
|
* "href"
|
|
41
41
|
*/
|
|
@@ -68,13 +68,13 @@ declare const CustomComponentSchema: valibot.ObjectSchema<{
|
|
|
68
68
|
*/
|
|
69
69
|
readonly name: valibot.StringSchema<undefined>;
|
|
70
70
|
/**
|
|
71
|
-
* The name of the
|
|
71
|
+
* The name of the host component that the user-defined component represents.
|
|
72
72
|
* @example
|
|
73
73
|
* "a"
|
|
74
74
|
*/
|
|
75
75
|
readonly as: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
76
76
|
/**
|
|
77
|
-
* Attributes mapping between the user-defined component and the
|
|
77
|
+
* Attributes mapping between the user-defined component and the host component.
|
|
78
78
|
* @example
|
|
79
79
|
* `Link` component has a `to` attribute that represents the `href` attribute in the built-in `a` element with a default value of `"/"`.
|
|
80
80
|
*/
|
|
@@ -86,7 +86,7 @@ declare const CustomComponentSchema: valibot.ObjectSchema<{
|
|
|
86
86
|
*/
|
|
87
87
|
readonly name: valibot.StringSchema<undefined>;
|
|
88
88
|
/**
|
|
89
|
-
* The name of the prop in the
|
|
89
|
+
* The name of the prop in the host component.
|
|
90
90
|
* @example
|
|
91
91
|
* "href"
|
|
92
92
|
*/
|
|
@@ -220,13 +220,13 @@ declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
|
|
|
220
220
|
*/
|
|
221
221
|
readonly name: valibot.StringSchema<undefined>;
|
|
222
222
|
/**
|
|
223
|
-
* The name of the
|
|
223
|
+
* The name of the host component that the user-defined component represents.
|
|
224
224
|
* @example
|
|
225
225
|
* "a"
|
|
226
226
|
*/
|
|
227
227
|
readonly as: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
228
228
|
/**
|
|
229
|
-
* Attributes mapping between the user-defined component and the
|
|
229
|
+
* Attributes mapping between the user-defined component and the host component.
|
|
230
230
|
* @example
|
|
231
231
|
* `Link` component has a `to` attribute that represents the `href` attribute in the built-in `a` element with a default value of `"/"`.
|
|
232
232
|
*/
|
|
@@ -238,7 +238,7 @@ declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
|
|
|
238
238
|
*/
|
|
239
239
|
readonly name: valibot.StringSchema<undefined>;
|
|
240
240
|
/**
|
|
241
|
-
* The name of the prop in the
|
|
241
|
+
* The name of the prop in the host component.
|
|
242
242
|
* @example
|
|
243
243
|
* "href"
|
|
244
244
|
*/
|
|
@@ -353,13 +353,13 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
353
353
|
*/
|
|
354
354
|
readonly name: valibot.StringSchema<undefined>;
|
|
355
355
|
/**
|
|
356
|
-
* The name of the
|
|
356
|
+
* The name of the host component that the user-defined component represents.
|
|
357
357
|
* @example
|
|
358
358
|
* "a"
|
|
359
359
|
*/
|
|
360
360
|
readonly as: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
361
361
|
/**
|
|
362
|
-
* Attributes mapping between the user-defined component and the
|
|
362
|
+
* Attributes mapping between the user-defined component and the host component.
|
|
363
363
|
* @example
|
|
364
364
|
* `Link` component has a `to` attribute that represents the `href` attribute in the built-in `a` element with a default value of `"/"`.
|
|
365
365
|
*/
|
|
@@ -371,7 +371,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
371
371
|
*/
|
|
372
372
|
readonly name: valibot.StringSchema<undefined>;
|
|
373
373
|
/**
|
|
374
|
-
* The name of the prop in the
|
|
374
|
+
* The name of the prop in the host component.
|
|
375
375
|
* @example
|
|
376
376
|
* "href"
|
|
377
377
|
*/
|
|
@@ -483,13 +483,13 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
483
483
|
*/
|
|
484
484
|
readonly name: valibot.StringSchema<undefined>;
|
|
485
485
|
/**
|
|
486
|
-
* The name of the
|
|
486
|
+
* The name of the host component that the user-defined component represents.
|
|
487
487
|
* @example
|
|
488
488
|
* "a"
|
|
489
489
|
*/
|
|
490
490
|
readonly as: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
491
491
|
/**
|
|
492
|
-
* Attributes mapping between the user-defined component and the
|
|
492
|
+
* Attributes mapping between the user-defined component and the host component.
|
|
493
493
|
* @example
|
|
494
494
|
* `Link` component has a `to` attribute that represents the `href` attribute in the built-in `a` element with a default value of `"/"`.
|
|
495
495
|
*/
|
|
@@ -501,7 +501,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
501
501
|
*/
|
|
502
502
|
readonly name: valibot.StringSchema<undefined>;
|
|
503
503
|
/**
|
|
504
|
-
* The name of the prop in the
|
|
504
|
+
* The name of the prop in the host component.
|
|
505
505
|
* @example
|
|
506
506
|
* "href"
|
|
507
507
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ declare const CustomComponentPropSchema: valibot.ObjectSchema<{
|
|
|
35
35
|
*/
|
|
36
36
|
readonly name: valibot.StringSchema<undefined>;
|
|
37
37
|
/**
|
|
38
|
-
* The name of the prop in the
|
|
38
|
+
* The name of the prop in the host component.
|
|
39
39
|
* @example
|
|
40
40
|
* "href"
|
|
41
41
|
*/
|
|
@@ -68,13 +68,13 @@ declare const CustomComponentSchema: valibot.ObjectSchema<{
|
|
|
68
68
|
*/
|
|
69
69
|
readonly name: valibot.StringSchema<undefined>;
|
|
70
70
|
/**
|
|
71
|
-
* The name of the
|
|
71
|
+
* The name of the host component that the user-defined component represents.
|
|
72
72
|
* @example
|
|
73
73
|
* "a"
|
|
74
74
|
*/
|
|
75
75
|
readonly as: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
76
76
|
/**
|
|
77
|
-
* Attributes mapping between the user-defined component and the
|
|
77
|
+
* Attributes mapping between the user-defined component and the host component.
|
|
78
78
|
* @example
|
|
79
79
|
* `Link` component has a `to` attribute that represents the `href` attribute in the built-in `a` element with a default value of `"/"`.
|
|
80
80
|
*/
|
|
@@ -86,7 +86,7 @@ declare const CustomComponentSchema: valibot.ObjectSchema<{
|
|
|
86
86
|
*/
|
|
87
87
|
readonly name: valibot.StringSchema<undefined>;
|
|
88
88
|
/**
|
|
89
|
-
* The name of the prop in the
|
|
89
|
+
* The name of the prop in the host component.
|
|
90
90
|
* @example
|
|
91
91
|
* "href"
|
|
92
92
|
*/
|
|
@@ -220,13 +220,13 @@ declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
|
|
|
220
220
|
*/
|
|
221
221
|
readonly name: valibot.StringSchema<undefined>;
|
|
222
222
|
/**
|
|
223
|
-
* The name of the
|
|
223
|
+
* The name of the host component that the user-defined component represents.
|
|
224
224
|
* @example
|
|
225
225
|
* "a"
|
|
226
226
|
*/
|
|
227
227
|
readonly as: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
228
228
|
/**
|
|
229
|
-
* Attributes mapping between the user-defined component and the
|
|
229
|
+
* Attributes mapping between the user-defined component and the host component.
|
|
230
230
|
* @example
|
|
231
231
|
* `Link` component has a `to` attribute that represents the `href` attribute in the built-in `a` element with a default value of `"/"`.
|
|
232
232
|
*/
|
|
@@ -238,7 +238,7 @@ declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
|
|
|
238
238
|
*/
|
|
239
239
|
readonly name: valibot.StringSchema<undefined>;
|
|
240
240
|
/**
|
|
241
|
-
* The name of the prop in the
|
|
241
|
+
* The name of the prop in the host component.
|
|
242
242
|
* @example
|
|
243
243
|
* "href"
|
|
244
244
|
*/
|
|
@@ -353,13 +353,13 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
353
353
|
*/
|
|
354
354
|
readonly name: valibot.StringSchema<undefined>;
|
|
355
355
|
/**
|
|
356
|
-
* The name of the
|
|
356
|
+
* The name of the host component that the user-defined component represents.
|
|
357
357
|
* @example
|
|
358
358
|
* "a"
|
|
359
359
|
*/
|
|
360
360
|
readonly as: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
361
361
|
/**
|
|
362
|
-
* Attributes mapping between the user-defined component and the
|
|
362
|
+
* Attributes mapping between the user-defined component and the host component.
|
|
363
363
|
* @example
|
|
364
364
|
* `Link` component has a `to` attribute that represents the `href` attribute in the built-in `a` element with a default value of `"/"`.
|
|
365
365
|
*/
|
|
@@ -371,7 +371,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
371
371
|
*/
|
|
372
372
|
readonly name: valibot.StringSchema<undefined>;
|
|
373
373
|
/**
|
|
374
|
-
* The name of the prop in the
|
|
374
|
+
* The name of the prop in the host component.
|
|
375
375
|
* @example
|
|
376
376
|
* "href"
|
|
377
377
|
*/
|
|
@@ -483,13 +483,13 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
483
483
|
*/
|
|
484
484
|
readonly name: valibot.StringSchema<undefined>;
|
|
485
485
|
/**
|
|
486
|
-
* The name of the
|
|
486
|
+
* The name of the host component that the user-defined component represents.
|
|
487
487
|
* @example
|
|
488
488
|
* "a"
|
|
489
489
|
*/
|
|
490
490
|
readonly as: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
491
491
|
/**
|
|
492
|
-
* Attributes mapping between the user-defined component and the
|
|
492
|
+
* Attributes mapping between the user-defined component and the host component.
|
|
493
493
|
* @example
|
|
494
494
|
* `Link` component has a `to` attribute that represents the `href` attribute in the built-in `a` element with a default value of `"/"`.
|
|
495
495
|
*/
|
|
@@ -501,7 +501,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
501
501
|
*/
|
|
502
502
|
readonly name: valibot.StringSchema<undefined>;
|
|
503
503
|
/**
|
|
504
|
-
* The name of the prop in the
|
|
504
|
+
* The name of the prop in the host component.
|
|
505
505
|
* @example
|
|
506
506
|
* "href"
|
|
507
507
|
*/
|
package/dist/index.js
CHANGED
|
@@ -44,7 +44,7 @@ var CustomComponentPropSchema = valibot.object({
|
|
|
44
44
|
*/
|
|
45
45
|
name: valibot.string(),
|
|
46
46
|
/**
|
|
47
|
-
* The name of the prop in the
|
|
47
|
+
* The name of the prop in the host component.
|
|
48
48
|
* @example
|
|
49
49
|
* "href"
|
|
50
50
|
*/
|
|
@@ -71,13 +71,13 @@ var CustomComponentSchema = valibot.object({
|
|
|
71
71
|
*/
|
|
72
72
|
name: valibot.string(),
|
|
73
73
|
/**
|
|
74
|
-
* The name of the
|
|
74
|
+
* The name of the host component that the user-defined component represents.
|
|
75
75
|
* @example
|
|
76
76
|
* "a"
|
|
77
77
|
*/
|
|
78
78
|
as: valibot.optional(valibot.string()),
|
|
79
79
|
/**
|
|
80
|
-
* Attributes mapping between the user-defined component and the
|
|
80
|
+
* Attributes mapping between the user-defined component and the host component.
|
|
81
81
|
* @example
|
|
82
82
|
* `Link` component has a `to` attribute that represents the `href` attribute in the built-in `a` element with a default value of `"/"`.
|
|
83
83
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -36,7 +36,7 @@ var CustomComponentPropSchema = object({
|
|
|
36
36
|
*/
|
|
37
37
|
name: string(),
|
|
38
38
|
/**
|
|
39
|
-
* The name of the prop in the
|
|
39
|
+
* The name of the prop in the host component.
|
|
40
40
|
* @example
|
|
41
41
|
* "href"
|
|
42
42
|
*/
|
|
@@ -63,13 +63,13 @@ var CustomComponentSchema = object({
|
|
|
63
63
|
*/
|
|
64
64
|
name: string(),
|
|
65
65
|
/**
|
|
66
|
-
* The name of the
|
|
66
|
+
* The name of the host component that the user-defined component represents.
|
|
67
67
|
* @example
|
|
68
68
|
* "a"
|
|
69
69
|
*/
|
|
70
70
|
as: optional(string()),
|
|
71
71
|
/**
|
|
72
|
-
* Attributes mapping between the user-defined component and the
|
|
72
|
+
* Attributes mapping between the user-defined component and the host component.
|
|
73
73
|
* @example
|
|
74
74
|
* `Link` component has a `to` attribute that represents the `href` attribute in the built-in `a` element with a default value of `"/"`.
|
|
75
75
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "1.40.4-next.
|
|
3
|
+
"version": "1.40.4-next.6",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"picomatch": "^4.0.2",
|
|
40
40
|
"ts-pattern": "^5.7.0",
|
|
41
41
|
"valibot": "^1.0.0",
|
|
42
|
-
"@eslint-react/eff": "1.40.4-next.
|
|
43
|
-
"@eslint-react/kit": "1.40.4-next.
|
|
42
|
+
"@eslint-react/eff": "1.40.4-next.6",
|
|
43
|
+
"@eslint-react/kit": "1.40.4-next.6"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@tsconfig/node22": "^22.0.1",
|