@namba_one/ui-kit-2 1.0.34 → 1.0.36
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 +64 -0
- package/dist/index.es.js +1124 -1073
- package/dist/index.umd.js +8 -8
- package/dist/namba-one-uikit.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -65,6 +65,14 @@ declare const __VLS_component_16: DefineComponent< {}, {}, {}, {}, {}, Compon
|
|
|
65
65
|
|
|
66
66
|
declare const __VLS_component_17: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
67
67
|
|
|
68
|
+
declare const __VLS_component_18: DefineComponent<__VLS_PublicProps_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
69
|
+
"update:isShowDropdown": (value: boolean) => any;
|
|
70
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_12> & Readonly<{
|
|
71
|
+
"onUpdate:isShowDropdown"?: ((value: boolean) => any) | undefined;
|
|
72
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
73
|
+
fixedElementRef: HTMLDivElement;
|
|
74
|
+
}, any>;
|
|
75
|
+
|
|
68
76
|
declare const __VLS_component_2: DefineComponent<TheTextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheTextProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
69
77
|
|
|
70
78
|
declare const __VLS_component_3: DefineComponent<BadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -182,6 +190,8 @@ declare type __VLS_Props = CardContentProps;
|
|
|
182
190
|
|
|
183
191
|
declare type __VLS_Props_10 = StatusSelectProps;
|
|
184
192
|
|
|
193
|
+
declare type __VLS_Props_11 = DropdownElementProps;
|
|
194
|
+
|
|
185
195
|
declare type __VLS_Props_2 = CardContentListProps;
|
|
186
196
|
|
|
187
197
|
declare type __VLS_Props_3 = DropzoneProps;
|
|
@@ -212,6 +222,10 @@ declare type __VLS_PublicProps_11 = {
|
|
|
212
222
|
'value': StatusSelectProps['value'];
|
|
213
223
|
} & __VLS_Props_10;
|
|
214
224
|
|
|
225
|
+
declare type __VLS_PublicProps_12 = {
|
|
226
|
+
'isShowDropdown': boolean;
|
|
227
|
+
} & __VLS_Props_11;
|
|
228
|
+
|
|
215
229
|
declare type __VLS_PublicProps_2 = {
|
|
216
230
|
'list': CardContentListProps['list'];
|
|
217
231
|
} & __VLS_Props_2;
|
|
@@ -331,6 +345,22 @@ declare function __VLS_template_17(): {
|
|
|
331
345
|
rootEl: any;
|
|
332
346
|
};
|
|
333
347
|
|
|
348
|
+
declare function __VLS_template_18(): {
|
|
349
|
+
attrs: Partial<{}>;
|
|
350
|
+
slots: {
|
|
351
|
+
default?(_: {
|
|
352
|
+
align: {
|
|
353
|
+
horizontal: "left" | "right" | "center" | undefined;
|
|
354
|
+
vertical: "top" | "bottom" | "center" | undefined;
|
|
355
|
+
};
|
|
356
|
+
}): any;
|
|
357
|
+
};
|
|
358
|
+
refs: {
|
|
359
|
+
fixedElementRef: HTMLDivElement;
|
|
360
|
+
};
|
|
361
|
+
rootEl: any;
|
|
362
|
+
};
|
|
363
|
+
|
|
334
364
|
declare function __VLS_template_2(): {
|
|
335
365
|
attrs: Partial<{}>;
|
|
336
366
|
slots: {
|
|
@@ -511,6 +541,8 @@ declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
|
|
|
511
541
|
|
|
512
542
|
declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
|
|
513
543
|
|
|
544
|
+
declare type __VLS_TemplateResult_18 = ReturnType<typeof __VLS_template_18>;
|
|
545
|
+
|
|
514
546
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
515
547
|
|
|
516
548
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -581,6 +613,12 @@ declare type __VLS_WithTemplateSlots_17<T, S> = T & {
|
|
|
581
613
|
};
|
|
582
614
|
};
|
|
583
615
|
|
|
616
|
+
declare type __VLS_WithTemplateSlots_18<T, S> = T & {
|
|
617
|
+
new (): {
|
|
618
|
+
$slots: S;
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
|
|
584
622
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
585
623
|
new (): {
|
|
586
624
|
$slots: S;
|
|
@@ -806,6 +844,16 @@ export declare type DividerProps = {
|
|
|
806
844
|
|
|
807
845
|
export declare const Dropdown: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
808
846
|
|
|
847
|
+
export declare const DropdownElement: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
848
|
+
|
|
849
|
+
export declare type DropdownElementProps = {
|
|
850
|
+
isShowDropdown: boolean;
|
|
851
|
+
verticalOffset?: number | string;
|
|
852
|
+
horizontalOffset?: number | string;
|
|
853
|
+
horizontalAlign?: 'left' | 'right' | 'center';
|
|
854
|
+
verticalAlign?: 'top' | 'bottom' | 'center';
|
|
855
|
+
};
|
|
856
|
+
|
|
809
857
|
export declare type DropdownProps = {
|
|
810
858
|
title: string;
|
|
811
859
|
isActive?: boolean;
|
|
@@ -1290,6 +1338,14 @@ export declare type TheImageProps = {
|
|
|
1290
1338
|
isLayoutFill?: boolean;
|
|
1291
1339
|
};
|
|
1292
1340
|
|
|
1341
|
+
export declare type ThemePickerProps = {
|
|
1342
|
+
value: Maybe<string | number>;
|
|
1343
|
+
list: {
|
|
1344
|
+
id: string | number;
|
|
1345
|
+
color: string;
|
|
1346
|
+
}[];
|
|
1347
|
+
};
|
|
1348
|
+
|
|
1293
1349
|
export declare const TheText: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1294
1350
|
|
|
1295
1351
|
export declare type TheTextProps = {
|
|
@@ -1453,6 +1509,14 @@ export declare const TransitionSlideDown: __VLS_WithTemplateSlots_16<typeof __VL
|
|
|
1453
1509
|
|
|
1454
1510
|
export declare const TransitionSlideRight: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
1455
1511
|
|
|
1512
|
+
export declare function useDropdown(): {
|
|
1513
|
+
isShowDropdown: Readonly<Ref<boolean, boolean>>;
|
|
1514
|
+
setIsShowDropdown: (newState: boolean) => void;
|
|
1515
|
+
toggleIsShowDropdown: () => void;
|
|
1516
|
+
triggerElementRef: Ref<Maybe<HTMLElement | ComponentPublicInstance>, Maybe<HTMLElement | ComponentPublicInstance>>;
|
|
1517
|
+
parentElementRef: Ref<Maybe<HTMLElement | ComponentPublicInstance>, Maybe<HTMLElement | ComponentPublicInstance>>;
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1456
1520
|
export declare const useDropdownAnimation: () => {
|
|
1457
1521
|
beforeEnter: (el: HTMLElement) => void;
|
|
1458
1522
|
enter: (el: HTMLElement, done: () => void) => void;
|