@namba_one/ui-kit-2 1.0.35 → 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 +16 -0
- package/dist/index.es.js +889 -848
- 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
|
@@ -1338,6 +1338,14 @@ export declare type TheImageProps = {
|
|
|
1338
1338
|
isLayoutFill?: boolean;
|
|
1339
1339
|
};
|
|
1340
1340
|
|
|
1341
|
+
export declare type ThemePickerProps = {
|
|
1342
|
+
value: Maybe<string | number>;
|
|
1343
|
+
list: {
|
|
1344
|
+
id: string | number;
|
|
1345
|
+
color: string;
|
|
1346
|
+
}[];
|
|
1347
|
+
};
|
|
1348
|
+
|
|
1341
1349
|
export declare const TheText: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1342
1350
|
|
|
1343
1351
|
export declare type TheTextProps = {
|
|
@@ -1501,6 +1509,14 @@ export declare const TransitionSlideDown: __VLS_WithTemplateSlots_16<typeof __VL
|
|
|
1501
1509
|
|
|
1502
1510
|
export declare const TransitionSlideRight: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
1503
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
|
+
|
|
1504
1520
|
export declare const useDropdownAnimation: () => {
|
|
1505
1521
|
beforeEnter: (el: HTMLElement) => void;
|
|
1506
1522
|
enter: (el: HTMLElement, done: () => void) => void;
|