@webx-ui/core 0.22.0 → 0.23.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/components/FormItem/FormItem.d.ts +1 -0
- package/dist/components/FormItem/types.d.ts +9 -0
- package/dist/composables/useHoverPointer.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1795 -1775
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ declare const __VLS_component: import('vue').DefineComponent<FormItemProps, {
|
|
|
23
23
|
labelWidth: string;
|
|
24
24
|
help: string;
|
|
25
25
|
reserveErrorSpace: boolean;
|
|
26
|
+
wide: boolean;
|
|
26
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
29
|
export default _default;
|
|
@@ -21,4 +21,13 @@ export interface FormItemProps {
|
|
|
21
21
|
labelWidth?: string;
|
|
22
22
|
/** Renders the error slot area even when empty, so rows do not jump. */
|
|
23
23
|
reserveErrorSpace?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Lets the control take the whole width instead of stopping at the readable one.
|
|
26
|
+
*
|
|
27
|
+
* A field is read and typed into, so it stops at `--wx-field-max-width` however wide the
|
|
28
|
+
* screen is: an input stretched across a 2000px monitor is a line the eye cannot follow
|
|
29
|
+
* back to its label. What is not a field in that sense — an editor, a table, a list of
|
|
30
|
+
* blocks — says so with this.
|
|
31
|
+
*/
|
|
32
|
+
wide?: boolean;
|
|
24
33
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export type { ControlSize, ControlStatus, ValidationErrors } from './composables
|
|
|
4
4
|
export { useControlAttrs, type ControlAttrs } from './composables/useControlAttrs';
|
|
5
5
|
export { provideLocales, useLocales, useLocalized, localeLabel, localizedValue, localesKey, type LocaleOption, type LocalesContext, type LocalizedValue, type LocalizedFieldProps, } from './composables/useLocalized';
|
|
6
6
|
export { useElementWidth } from './composables/useElementWidth';
|
|
7
|
+
export { useHoverPointer } from './composables/useHoverPointer';
|
|
7
8
|
export { useToast, toast, toastQueue, dismissToast, removeToast, clearToasts, type ToastApi, type ToastHandle, type ToastOptions, type ToastRecord, type ToastType, type ToastAction, } from './composables/useToast';
|
|
8
9
|
export { openModal, createModal, useModal, connectModals, modalKey, type ModalHandle, type ModalOptions, type ModalPromise, } from './composables/useModal';
|
|
9
10
|
export { confirm, type ConfirmOptions } from './composables/confirm';
|