@milaboratories/uikit 2.2.3 → 2.2.4
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/CHANGELOG.md +6 -0
- package/dist/pl-uikit.js +2990 -2849
- package/dist/pl-uikit.umd.cjs +6 -6
- package/dist/src/components/PlBtnSplit/PlBtnSplit.vue.d.ts +42 -0
- package/dist/src/components/PlBtnSplit/__tests__/PlBtnSplit.spec.d.ts +1 -0
- package/dist/src/components/PlBtnSplit/index.d.ts +3 -0
- package/dist/src/components/PlDropdownRef/PlDropdownRef.vue.d.ts +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/assets/base.scss +1 -1
- package/src/assets/dropdown-list-item.scss +5 -4
- package/src/assets/typography.scss +9 -9
- package/src/components/PlBtnSplit/PlBtnSplit.vue +201 -0
- package/src/components/PlBtnSplit/__tests__/PlBtnSplit.spec.ts +179 -0
- package/src/components/PlBtnSplit/index.ts +4 -0
- package/src/components/PlBtnSplit/pl-btn-split.scss +93 -0
- package/src/index.ts +1 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import './pl-btn-split.scss';
|
|
2
|
+
import type { ListOption } from '../../types';
|
|
3
|
+
declare const _default: <M = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
+
readonly onClick?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onClick"> & ({
|
|
7
|
+
modelValue: M;
|
|
8
|
+
} & {
|
|
9
|
+
/**
|
|
10
|
+
* List of available options for the dropdown menu
|
|
11
|
+
*/
|
|
12
|
+
options?: Readonly<ListOption<M>[]>;
|
|
13
|
+
/**
|
|
14
|
+
* If `true`, the dropdown component is disabled and cannot be interacted with.
|
|
15
|
+
*/
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* If `true,` the button is disabled, cannot be interacted with, and shows a special 'loading' icon.
|
|
19
|
+
*/
|
|
20
|
+
loading?: boolean;
|
|
21
|
+
})> & import("vue").PublicProps;
|
|
22
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
23
|
+
data: {
|
|
24
|
+
open: boolean;
|
|
25
|
+
optionsHeight: number;
|
|
26
|
+
activeIndex: number;
|
|
27
|
+
};
|
|
28
|
+
}>): void;
|
|
29
|
+
attrs: any;
|
|
30
|
+
slots: {};
|
|
31
|
+
emit: ((event: "click", ...args: any[]) => void) & {
|
|
32
|
+
'update:modelValue': [modelValue: M];
|
|
33
|
+
};
|
|
34
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}> & {
|
|
37
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
38
|
+
};
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_PrettifyLocal<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -108,10 +108,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
108
108
|
error: string;
|
|
109
109
|
options: Readonly<RefOption[]>;
|
|
110
110
|
label: string;
|
|
111
|
+
required: boolean;
|
|
111
112
|
disabled: boolean;
|
|
112
113
|
helper: string;
|
|
113
114
|
clearable: boolean;
|
|
114
|
-
required: boolean;
|
|
115
115
|
placeholder: string;
|
|
116
116
|
loadingOptionsHelper: string;
|
|
117
117
|
optionSize: "small" | "medium";
|
package/dist/src/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './layout/PlGrid';
|
|
|
13
13
|
* Components
|
|
14
14
|
*/
|
|
15
15
|
export * from './components/PlAlert';
|
|
16
|
+
export * from './components/PlBtnSplit';
|
|
16
17
|
export * from './components/PlBtnPrimary';
|
|
17
18
|
export * from './components/PlBtnAccent';
|
|
18
19
|
export * from './components/PlBtnDanger';
|