@namba_one/ui-kit-2 1.2.18 → 1.2.19
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 +9 -7
- package/dist/index.es.js +8188 -7999
- package/dist/index.umd.js +28 -28
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2984,6 +2984,14 @@ declare const colors: readonly ["text-common-base-primary-default", "text-common
|
|
|
2984
2984
|
|
|
2985
2985
|
export declare type ColorTheme = 'light' | 'dark';
|
|
2986
2986
|
|
|
2987
|
+
declare type ColorThemeInject = {
|
|
2988
|
+
mode: Ref<ColorThemeMode>;
|
|
2989
|
+
theme: Ref<ColorTheme>;
|
|
2990
|
+
toggle: () => void;
|
|
2991
|
+
setMode: (theme: ColorThemeMode) => Promise<void>;
|
|
2992
|
+
setTheme: (theme: ColorTheme) => Promise<void>;
|
|
2993
|
+
};
|
|
2994
|
+
|
|
2987
2995
|
export declare type ColorThemeMode = ColorTheme | 'system';
|
|
2988
2996
|
|
|
2989
2997
|
export declare const ColorThemeProvider: __VLS_WithTemplateSlots_55<typeof __VLS_component_55, __VLS_TemplateResult_55["slots"]>;
|
|
@@ -4932,8 +4940,6 @@ export declare type SelectProps = Pick<SelectBaseProps, 'label' | 'description'
|
|
|
4932
4940
|
}[];
|
|
4933
4941
|
};
|
|
4934
4942
|
|
|
4935
|
-
export declare function setSystemTheme(): void;
|
|
4936
|
-
|
|
4937
4943
|
export declare const SidebarFormLayout: __VLS_WithTemplateSlots_48<typeof __VLS_component_48, __VLS_TemplateResult_48["slots"]>;
|
|
4938
4944
|
|
|
4939
4945
|
export declare type SidebarFormLayoutEmits = {
|
|
@@ -5537,11 +5543,7 @@ export declare const TransitionSlideDown: __VLS_WithTemplateSlots_17<typeof __VL
|
|
|
5537
5543
|
|
|
5538
5544
|
export declare const TransitionSlideRight: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
5539
5545
|
|
|
5540
|
-
export declare function useColorTheme():
|
|
5541
|
-
theme: Ref<ColorTheme>;
|
|
5542
|
-
setTheme: (mode: ColorThemeMode) => Promise<void>;
|
|
5543
|
-
toggle: () => Promise<void>;
|
|
5544
|
-
};
|
|
5546
|
+
export declare function useColorTheme(): ColorThemeInject;
|
|
5545
5547
|
|
|
5546
5548
|
export declare function useColorThemeProvider(): void;
|
|
5547
5549
|
|