vanilla-jui 1.7.7 → 1.7.9

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.ts CHANGED
@@ -1008,6 +1008,14 @@ interface TocClassNames {
1008
1008
  indicator: string;
1009
1009
  }
1010
1010
  type TocClassNameConfig = Partial<TocClassNames>;
1011
+ interface TocIndicatorConfig {
1012
+ width: string;
1013
+ heightRatio: number;
1014
+ radius: string;
1015
+ left: string;
1016
+ color: string;
1017
+ }
1018
+ type TocIndicatorConfigInput = Partial<TocIndicatorConfig>;
1011
1019
  interface TocItem {
1012
1020
  id: string;
1013
1021
  text: string;
@@ -1030,8 +1038,7 @@ interface TocProps extends Record<string, unknown> {
1030
1038
  offset?: number;
1031
1039
  reactive?: boolean;
1032
1040
  title?: boolean;
1033
- indicatorWidth?: string;
1034
- indicatorHeightRatio?: number;
1041
+ indicator?: TocIndicatorConfigInput;
1035
1042
  className?: TocClassNameConfig;
1036
1043
  onChange?: ((item: TocItem | null, index: number, toc: TocInstance) => void) | null;
1037
1044
  }
@@ -1041,8 +1048,7 @@ interface ResolvedTocProps extends Record<string, unknown> {
1041
1048
  offset: number;
1042
1049
  reactive: boolean;
1043
1050
  title: boolean;
1044
- indicatorWidth: string;
1045
- indicatorHeightRatio: number;
1051
+ indicator: TocIndicatorConfig;
1046
1052
  className: TocClassNames;
1047
1053
  onChange: ((item: TocItem | null, index: number, toc: TocInstance) => void) | null;
1048
1054
  }
@@ -1133,10 +1139,6 @@ type FormItemType = FormControlType;
1133
1139
  type FormControlType = 'checkbox' | 'custom' | 'email' | 'password' | 'radio' | 'select' | 'switch' | 'text' | 'textarea' | (string & {});
1134
1140
  interface FormClassNames {
1135
1141
  form: string;
1136
- vertical: string;
1137
- horizontal: string;
1138
- itemVertical: string;
1139
- itemHorizontal: string;
1140
1142
  item: string;
1141
1143
  label: string;
1142
1144
  required: string;
@@ -1151,8 +1153,6 @@ interface FormClassNames {
1151
1153
  select: string;
1152
1154
  radio: string;
1153
1155
  checkbox: string;
1154
- choiceVertical: string;
1155
- choiceHorizontal: string;
1156
1156
  choiceGroup: string;
1157
1157
  radioLabel: string;
1158
1158
  radioText: string;
@@ -1189,7 +1189,6 @@ interface FormField {
1189
1189
  readonly?: boolean;
1190
1190
  autocomplete?: string;
1191
1191
  multiple?: boolean;
1192
- vertical?: boolean;
1193
1192
  group?: boolean;
1194
1193
  size?: string;
1195
1194
  variant?: string;
@@ -1212,8 +1211,6 @@ interface FormText {
1212
1211
  type FormTextConfig = Partial<FormText>;
1213
1212
  interface FormProps extends Record<string, unknown> {
1214
1213
  id?: string | null;
1215
- vertical?: boolean;
1216
- itemVertical?: boolean;
1217
1214
  size?: string;
1218
1215
  style?: FormStyle;
1219
1216
  fields?: readonly FormItem<FormField>[];
@@ -1227,8 +1224,6 @@ interface FormProps extends Record<string, unknown> {
1227
1224
  }
1228
1225
  interface ResolvedFormProps extends Record<string, unknown> {
1229
1226
  id: string;
1230
- vertical: boolean;
1231
- itemVertical: boolean;
1232
1227
  size: string;
1233
1228
  style: FormStyle;
1234
1229
  fields: FormItem<FormField>[];