@speckle/ui-components 2.25.9 → 2.26.1
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/.cursor/rules/component-library.mdc +147 -0
- package/dist/AvatarEditor-00037f6e.cjs +2 -0
- package/dist/{AvatarEditor-504f96fb.cjs.map → AvatarEditor-00037f6e.cjs.map} +1 -1
- package/dist/{AvatarEditor-edb34575.js → AvatarEditor-fc5c4df2.js} +10 -9
- package/dist/{AvatarEditor-edb34575.js.map → AvatarEditor-fc5c4df2.js.map} +1 -1
- package/dist/components/common/PromoAlert.vue.d.ts +17 -0
- package/dist/components/form/Checkbox.vue.d.ts +9 -0
- package/dist/components/form/CodeInput.vue.d.ts +18 -6
- package/dist/components/form/DualRange.vue.d.ts +27 -0
- package/dist/components/form/Range.vue.d.ts +2 -0
- package/dist/components/form/TextInput.vue.d.ts +10 -1
- package/dist/components/form/select/Base.vue.d.ts +7 -7
- package/dist/components/form/select/Multi.vue.d.ts +7 -7
- package/dist/components/layout/Disclosure.vue.d.ts +1 -1
- package/dist/components/user/AvatarEditor.vue.d.ts +2 -2
- package/dist/lib.cjs +1 -1
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.d.ts +3 -1
- package/dist/lib.js +3102 -2827
- package/dist/lib.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -5
- package/dist/AvatarEditor-504f96fb.cjs +0 -2
|
@@ -39,7 +39,7 @@ declare const _default: <SingleItem extends Record<string, unknown> | string | n
|
|
|
39
39
|
labelId: string;
|
|
40
40
|
buttonId: string;
|
|
41
41
|
}> & Omit<{
|
|
42
|
-
readonly disabled:
|
|
42
|
+
readonly disabled: boolean;
|
|
43
43
|
readonly label: string;
|
|
44
44
|
readonly name: string;
|
|
45
45
|
readonly search: boolean;
|
|
@@ -52,14 +52,15 @@ declare const _default: <SingleItem extends Record<string, unknown> | string | n
|
|
|
52
52
|
readonly showOptional: boolean;
|
|
53
53
|
readonly items: SingleItem[];
|
|
54
54
|
readonly searchPlaceholder: string;
|
|
55
|
-
readonly buttonStyle:
|
|
56
|
-
readonly hideCheckmarks:
|
|
57
|
-
readonly allowUnset:
|
|
55
|
+
readonly buttonStyle: "base" | "simple" | "tinted";
|
|
56
|
+
readonly hideCheckmarks: boolean;
|
|
57
|
+
readonly allowUnset: boolean;
|
|
58
58
|
readonly clearable: boolean;
|
|
59
59
|
readonly fixedHeight: boolean;
|
|
60
60
|
readonly fullyControlValue: boolean;
|
|
61
61
|
readonly mountMenuOnBody: boolean;
|
|
62
62
|
readonly size?: Optional<"sm" | "base" | "lg" | "xl">;
|
|
63
|
+
readonly placeholder?: string | undefined;
|
|
63
64
|
readonly modelValue?: ([{
|
|
64
65
|
type: PropType<SingleItem | SingleItem[] | undefined>;
|
|
65
66
|
default: undefined;
|
|
@@ -68,18 +69,17 @@ declare const _default: <SingleItem extends Record<string, unknown> | string | n
|
|
|
68
69
|
default: undefined;
|
|
69
70
|
}) | undefined;
|
|
70
71
|
readonly rules?: RuleExpression<SingleItem | SingleItem[] | undefined>;
|
|
72
|
+
readonly by?: string | undefined;
|
|
71
73
|
readonly help?: Optional<string>;
|
|
72
|
-
readonly placeholder?: string | undefined;
|
|
73
74
|
readonly tooltipText?: string | undefined;
|
|
74
75
|
readonly filterPredicate?: Optional<(item: SingleItem, searchString: string) => boolean>;
|
|
75
76
|
readonly disabledItemPredicate?: Optional<(item: SingleItem) => boolean>;
|
|
76
77
|
readonly getSearchResults?: Optional<(searchString: string) => MaybeAsync<SingleItem[]>>;
|
|
77
|
-
readonly by?: string | undefined;
|
|
78
78
|
readonly labelId?: string | undefined;
|
|
79
79
|
readonly buttonId?: string | undefined;
|
|
80
80
|
readonly disabledItemTooltip?: string | undefined;
|
|
81
81
|
readonly "onUpdate:modelValue"?: ((v: SingleItem | SingleItem[] | undefined) => any) | undefined;
|
|
82
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "disabled" | "search" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "help" | "showLabel" | "useLabelInErrors" | "showOptional" | "tooltipText" | "items" | "filterPredicate" | "disabledItemPredicate" | "getSearchResults" | "searchPlaceholder" | "buttonStyle" | "hideCheckmarks" | "allowUnset" | "clearable" | "fixedHeight" | "fullyControlValue" | "mountMenuOnBody" | "labelId" | "buttonId">, "label" | "name" | "onUpdate:modelValue" | "
|
|
82
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "disabled" | "search" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "help" | "showLabel" | "useLabelInErrors" | "showOptional" | "tooltipText" | "items" | "filterPredicate" | "disabledItemPredicate" | "getSearchResults" | "searchPlaceholder" | "buttonStyle" | "hideCheckmarks" | "allowUnset" | "clearable" | "fixedHeight" | "fullyControlValue" | "mountMenuOnBody" | "labelId" | "buttonId">, "placeholder" | "label" | "name" | "onUpdate:modelValue" | "by" | "disabledItemTooltip" | ("size" | "disabled" | "search" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "help" | "showLabel" | "useLabelInErrors" | "showOptional" | "tooltipText" | "items" | "filterPredicate" | "disabledItemPredicate" | "getSearchResults" | "searchPlaceholder" | "buttonStyle" | "hideCheckmarks" | "allowUnset" | "clearable" | "fixedHeight" | "fullyControlValue" | "mountMenuOnBody" | "labelId" | "buttonId")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
83
83
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
84
84
|
triggerSearch: () => Promise<void>;
|
|
85
85
|
}>): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropAnyComponent } from '../../helpers/common/components';
|
|
2
|
-
type DisclosureColor = 'default' | 'danger' | 'success' | 'warning';
|
|
2
|
+
type DisclosureColor = 'default' | 'danger' | 'success' | 'warning' | 'subtle';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
/**
|
|
5
5
|
* HeadlessUI icon component to use
|
|
@@ -66,7 +66,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
66
66
|
$forceUpdate: () => void;
|
|
67
67
|
$nextTick: typeof import('vue').nextTick;
|
|
68
68
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
69
|
-
} & Readonly<{}> & Omit<Readonly<any>, "reset" | "
|
|
69
|
+
} & Readonly<{}> & Omit<Readonly<any>, "reset" | "rotate" | "move" | "flip" | "zoom" | "getResult" | "setCoordinates" | "refresh"> & import('vue').ShallowUnwrapRef<{
|
|
70
70
|
getResult: () => import('vue-advanced-cropper').CropperResult;
|
|
71
71
|
setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
|
|
72
72
|
refresh: () => void;
|
|
@@ -132,7 +132,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
132
132
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
133
133
|
} & Readonly<{
|
|
134
134
|
[x: string]: any;
|
|
135
|
-
}> & Omit<Readonly<any>, "reset" | "
|
|
135
|
+
}> & Omit<Readonly<any>, "reset" | "rotate" | "move" | "flip" | "zoom" | "getResult" | "setCoordinates" | "refresh"> & import('vue').ShallowUnwrapRef<{
|
|
136
136
|
getResult: () => import('vue-advanced-cropper').CropperResult;
|
|
137
137
|
setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
|
|
138
138
|
refresh: () => void;
|