@contentstudio/ui 0.2.1 → 0.2.2
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 +56 -0
- package/dist/index.js +3032 -2748
- package/dist/index.umd.cjs +172 -172
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ import { default as Popover } from './Popover.vue';
|
|
|
34
34
|
import { default as Progress } from './Progress.vue';
|
|
35
35
|
import { default as Radio } from './Radio.vue';
|
|
36
36
|
import { Ref } from 'vue';
|
|
37
|
+
import { default as SearchInput } from './SearchInput.vue';
|
|
37
38
|
import { default as SegmentedControl } from './SegmentedControl.vue';
|
|
38
39
|
import { default as SplitButton } from './SplitButton.vue';
|
|
39
40
|
import { default as Switch } from './Switch.vue';
|
|
@@ -1208,6 +1209,61 @@ export declare type RadioVariant = 'filled' | 'outlined';
|
|
|
1208
1209
|
|
|
1209
1210
|
declare type Radius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
1210
1211
|
|
|
1212
|
+
export declare type SearchDisplayMode = 'icon-only' | 'icon-placeholder' | 'full-width';
|
|
1213
|
+
|
|
1214
|
+
export { SearchInput }
|
|
1215
|
+
|
|
1216
|
+
export declare interface SearchInputProps {
|
|
1217
|
+
/** Component ID */
|
|
1218
|
+
id?: string;
|
|
1219
|
+
/** Model value for v-model binding */
|
|
1220
|
+
modelValue?: string;
|
|
1221
|
+
/** Placeholder text */
|
|
1222
|
+
placeholder?: string;
|
|
1223
|
+
/** Label text */
|
|
1224
|
+
label?: string;
|
|
1225
|
+
/** Description text */
|
|
1226
|
+
description?: string;
|
|
1227
|
+
/** Error message */
|
|
1228
|
+
error?: string;
|
|
1229
|
+
/** Whether the component has an error */
|
|
1230
|
+
hasError?: boolean;
|
|
1231
|
+
/** Whether the component is disabled */
|
|
1232
|
+
disabled?: boolean;
|
|
1233
|
+
/** Whether the component is readonly */
|
|
1234
|
+
readonly?: boolean;
|
|
1235
|
+
/** Whether the component is required */
|
|
1236
|
+
required?: boolean;
|
|
1237
|
+
/** Whether to show an asterisk for required field */
|
|
1238
|
+
withAsterisk?: boolean;
|
|
1239
|
+
/** Whether to show both error and description */
|
|
1240
|
+
showBothErrorAndDescription?: boolean;
|
|
1241
|
+
/** Additional input props */
|
|
1242
|
+
inputProps?: Record<string, any>;
|
|
1243
|
+
/** Component size */
|
|
1244
|
+
size?: ComponentSize;
|
|
1245
|
+
/** Component variant */
|
|
1246
|
+
variant?: 'default' | 'filled' | 'unstyled';
|
|
1247
|
+
/** Border radius */
|
|
1248
|
+
radius?: ComponentRadius;
|
|
1249
|
+
/** Custom class for the component */
|
|
1250
|
+
class?: string;
|
|
1251
|
+
/** Initial display mode */
|
|
1252
|
+
displayMode?: SearchDisplayMode;
|
|
1253
|
+
/** Default width when not expanded */
|
|
1254
|
+
defaultWidth?: string;
|
|
1255
|
+
/** Expanded width when focused */
|
|
1256
|
+
expandedWidth?: string;
|
|
1257
|
+
/** Whether to show clear button when input has value */
|
|
1258
|
+
withClearButton?: boolean;
|
|
1259
|
+
/** Whether to expand on focus */
|
|
1260
|
+
expandOnFocus?: boolean;
|
|
1261
|
+
/** Whether to restore to default width on blur */
|
|
1262
|
+
collapseOnBlur?: boolean;
|
|
1263
|
+
/** Custom icon component */
|
|
1264
|
+
icon?: string;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1211
1267
|
declare type SectionProps = Record<string, any>;
|
|
1212
1268
|
|
|
1213
1269
|
export { SegmentedControl }
|