tide-design-system 2.0.31 → 2.0.32
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 +235 -231
- package/package.json +1 -1
- package/src/components/TideInputSelect.vue +27 -15
- package/src/stories/TideInputSelect.stories.ts +28 -17
- package/src/types/FacetRange.ts +5 -5
- package/src/types/Field.ts +1 -1
- package/src/types/Form.ts +1 -1
- package/src/types/Select.ts +3 -3
|
@@ -1483,24 +1483,24 @@ export declare type RealmConfig = {
|
|
|
1483
1483
|
};
|
|
1484
1484
|
|
|
1485
1485
|
export declare interface SelectField extends GenericInput, StringValue {
|
|
1486
|
-
optgroups?: SelectOptionGroup[];
|
|
1486
|
+
optgroups?: (SelectOption | SelectOptionGroup)[];
|
|
1487
1487
|
options?: SelectOption[];
|
|
1488
1488
|
}
|
|
1489
1489
|
|
|
1490
1490
|
export declare type SelectInput = GenericInput_2 & StringValue_2 & {
|
|
1491
1491
|
options?: SelectOption[] | readonly SelectOption[];
|
|
1492
1492
|
placeholder?: string;
|
|
1493
|
-
optgroups?: SelectOptionGroup[];
|
|
1493
|
+
optgroups?: (SelectOption | SelectOptionGroup)[];
|
|
1494
1494
|
};
|
|
1495
1495
|
|
|
1496
1496
|
export declare type SelectOption = {
|
|
1497
|
-
label: string
|
|
1498
|
-
value
|
|
1497
|
+
label: string;
|
|
1498
|
+
value?: string;
|
|
1499
1499
|
};
|
|
1500
1500
|
|
|
1501
1501
|
export declare type SelectOptionGroup = {
|
|
1502
1502
|
label: string;
|
|
1503
|
-
options
|
|
1503
|
+
options: SelectOption[];
|
|
1504
1504
|
};
|
|
1505
1505
|
|
|
1506
1506
|
export declare const SIZE: {
|
|
@@ -1930,10 +1930,10 @@ inputId: undefined;
|
|
|
1930
1930
|
label: undefined;
|
|
1931
1931
|
required: boolean;
|
|
1932
1932
|
supportingText: undefined;
|
|
1933
|
-
value:
|
|
1933
|
+
value: undefined;
|
|
1934
1934
|
}>, {
|
|
1935
1935
|
error: Ref<ValidationError_2>;
|
|
1936
|
-
value: Ref<string>;
|
|
1936
|
+
value: Ref<string | undefined>;
|
|
1937
1937
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToOption_20<Props_20>, {
|
|
1938
1938
|
disabled: boolean;
|
|
1939
1939
|
error: boolean;
|
|
@@ -1941,7 +1941,7 @@ inputId: undefined;
|
|
|
1941
1941
|
label: undefined;
|
|
1942
1942
|
required: boolean;
|
|
1943
1943
|
supportingText: undefined;
|
|
1944
|
-
value:
|
|
1944
|
+
value: undefined;
|
|
1945
1945
|
}>>>, {
|
|
1946
1946
|
label: string;
|
|
1947
1947
|
error: ValidationError_2;
|