tide-design-system 2.0.29 → 2.0.30
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/style.css +1 -1
- package/dist/tide-design-system.cjs +2 -2
- package/dist/tide-design-system.esm.d.ts +8 -8
- package/dist/tide-design-system.esm.js +357 -342
- package/index.ts +2 -2
- package/package.json +1 -1
- package/src/components/TideInputSelect.vue +17 -0
- package/src/stories/TideInputSelect.stories.ts +50 -2
- package/src/types/Field.ts +3 -2
- package/src/types/Form.ts +2 -2
- package/src/types/Select.ts +1 -2
|
@@ -1451,19 +1451,14 @@ export declare type RealmConfig = {
|
|
|
1451
1451
|
};
|
|
1452
1452
|
|
|
1453
1453
|
export declare interface SelectField extends GenericInput, StringValue {
|
|
1454
|
-
|
|
1454
|
+
optgroups?: SelectOptionGroup[];
|
|
1455
|
+
options?: SelectOption[];
|
|
1455
1456
|
}
|
|
1456
1457
|
|
|
1457
1458
|
export declare type SelectInput = GenericInput_2 & StringValue_2 & {
|
|
1458
1459
|
options?: SelectOption[] | readonly SelectOption[];
|
|
1459
1460
|
placeholder?: string;
|
|
1460
|
-
optgroups?:
|
|
1461
|
-
};
|
|
1462
|
-
|
|
1463
|
-
export declare type SelectOptGroup = {
|
|
1464
|
-
label: string;
|
|
1465
|
-
options?: SelectOption[];
|
|
1466
|
-
value?: any;
|
|
1461
|
+
optgroups?: SelectOptionGroup[];
|
|
1467
1462
|
};
|
|
1468
1463
|
|
|
1469
1464
|
export declare type SelectOption = {
|
|
@@ -1471,6 +1466,11 @@ export declare type SelectOption = {
|
|
|
1471
1466
|
value: any;
|
|
1472
1467
|
};
|
|
1473
1468
|
|
|
1469
|
+
export declare type SelectOptionGroup = {
|
|
1470
|
+
label: string;
|
|
1471
|
+
options?: SelectOption[];
|
|
1472
|
+
};
|
|
1473
|
+
|
|
1474
1474
|
export declare const SIZE: {
|
|
1475
1475
|
readonly LARGE: "large";
|
|
1476
1476
|
readonly SMALL: "small";
|