@mirohq/design-system-base-form 0.1.0-forms.2 → 0.1.0
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/types.d.ts +6 -6
- package/package.json +6 -6
package/dist/types.d.ts
CHANGED
|
@@ -561,24 +561,24 @@ declare const useFormFieldContext: <T extends FormElements>() => FormFieldContex
|
|
|
561
561
|
|
|
562
562
|
interface FormElementProps {
|
|
563
563
|
/**
|
|
564
|
-
* Prevents the user from interacting with the
|
|
564
|
+
* Prevents the user from interacting with the element.
|
|
565
565
|
*/
|
|
566
566
|
disabled?: boolean;
|
|
567
567
|
/**
|
|
568
|
-
* Prevents the user from interacting with the
|
|
569
|
-
* But still allows the
|
|
568
|
+
* Prevents the user from interacting with the element.
|
|
569
|
+
* But still allows the element to be focused.
|
|
570
570
|
*/
|
|
571
571
|
'aria-disabled'?: Booleanish;
|
|
572
572
|
/**
|
|
573
|
-
* Prevents the user from modifying the
|
|
573
|
+
* Prevents the user from modifying the element.
|
|
574
574
|
*/
|
|
575
575
|
readOnly?: boolean;
|
|
576
576
|
/**
|
|
577
|
-
* Indicates whether the
|
|
577
|
+
* Indicates whether the element's value is valid.
|
|
578
578
|
*/
|
|
579
579
|
valid?: boolean;
|
|
580
580
|
/**
|
|
581
|
-
* Indicates whether the
|
|
581
|
+
* Indicates whether the element is required.
|
|
582
582
|
*/
|
|
583
583
|
required?: boolean;
|
|
584
584
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-base-form",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"react": "^16.14 || ^17 || ^18"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@mirohq/design-system-base-input": "^0.0.3
|
|
30
|
-
"@mirohq/design-system-primitive": "^1.1.2-forms.1",
|
|
29
|
+
"@mirohq/design-system-base-input": "^0.0.3",
|
|
31
30
|
"@mirohq/design-system-types": "^0.6.2",
|
|
32
|
-
"@mirohq/design-system-
|
|
33
|
-
"@mirohq/design-system-
|
|
34
|
-
"@mirohq/design-system-
|
|
31
|
+
"@mirohq/design-system-stitches": "^2.6.0",
|
|
32
|
+
"@mirohq/design-system-primitive": "^1.1.2",
|
|
33
|
+
"@mirohq/design-system-use-id": "^0.1.1",
|
|
34
|
+
"@mirohq/design-system-utils": "^0.15.0"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "rollup -c ../../../../rollup.config.js",
|