@namba_one/ui-kit-2 1.0.35 → 1.0.37
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 +28 -0
- package/dist/index.es.js +777 -735
- 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
|
@@ -192,6 +192,8 @@ declare type __VLS_Props_10 = StatusSelectProps;
|
|
|
192
192
|
|
|
193
193
|
declare type __VLS_Props_11 = DropdownElementProps;
|
|
194
194
|
|
|
195
|
+
declare type __VLS_Props_12 = ThemePickerProps;
|
|
196
|
+
|
|
195
197
|
declare type __VLS_Props_2 = CardContentListProps;
|
|
196
198
|
|
|
197
199
|
declare type __VLS_Props_3 = DropzoneProps;
|
|
@@ -226,6 +228,10 @@ declare type __VLS_PublicProps_12 = {
|
|
|
226
228
|
'isShowDropdown': boolean;
|
|
227
229
|
} & __VLS_Props_11;
|
|
228
230
|
|
|
231
|
+
declare type __VLS_PublicProps_13 = {
|
|
232
|
+
'value': ThemePickerProps['value'];
|
|
233
|
+
} & __VLS_Props_12;
|
|
234
|
+
|
|
229
235
|
declare type __VLS_PublicProps_2 = {
|
|
230
236
|
'list': CardContentListProps['list'];
|
|
231
237
|
} & __VLS_Props_2;
|
|
@@ -1338,6 +1344,20 @@ export declare type TheImageProps = {
|
|
|
1338
1344
|
isLayoutFill?: boolean;
|
|
1339
1345
|
};
|
|
1340
1346
|
|
|
1347
|
+
export declare const ThemePicker: DefineComponent<__VLS_PublicProps_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1348
|
+
"update:value": (value: Maybe<string | number>) => any;
|
|
1349
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_13> & Readonly<{
|
|
1350
|
+
"onUpdate:value"?: ((value: Maybe<string | number>) => any) | undefined;
|
|
1351
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
1352
|
+
|
|
1353
|
+
export declare type ThemePickerProps = {
|
|
1354
|
+
value: Maybe<string | number>;
|
|
1355
|
+
list: {
|
|
1356
|
+
id: string | number;
|
|
1357
|
+
color: string;
|
|
1358
|
+
}[];
|
|
1359
|
+
};
|
|
1360
|
+
|
|
1341
1361
|
export declare const TheText: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1342
1362
|
|
|
1343
1363
|
export declare type TheTextProps = {
|
|
@@ -1501,6 +1521,14 @@ export declare const TransitionSlideDown: __VLS_WithTemplateSlots_16<typeof __VL
|
|
|
1501
1521
|
|
|
1502
1522
|
export declare const TransitionSlideRight: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
1503
1523
|
|
|
1524
|
+
export declare function useDropdown(): {
|
|
1525
|
+
isShowDropdown: Readonly<Ref<boolean, boolean>>;
|
|
1526
|
+
setIsShowDropdown: (newState: boolean) => void;
|
|
1527
|
+
toggleIsShowDropdown: () => void;
|
|
1528
|
+
triggerElementRef: Ref<Maybe<HTMLElement | ComponentPublicInstance>, Maybe<HTMLElement | ComponentPublicInstance>>;
|
|
1529
|
+
parentElementRef: Ref<Maybe<HTMLElement | ComponentPublicInstance>, Maybe<HTMLElement | ComponentPublicInstance>>;
|
|
1530
|
+
};
|
|
1531
|
+
|
|
1504
1532
|
export declare const useDropdownAnimation: () => {
|
|
1505
1533
|
beforeEnter: (el: HTMLElement) => void;
|
|
1506
1534
|
enter: (el: HTMLElement, done: () => void) => void;
|