@namba_one/ui-kit-2 1.2.18 → 1.2.20
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 +10 -7
- package/dist/index.es.js +7288 -7059
- package/dist/index.umd.js +28 -28
- package/dist/namba-one-uikit.css +1 -1
- 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 = {
|
|
@@ -5218,6 +5224,7 @@ export declare type TabMenuProps = {
|
|
|
5218
5224
|
isActive?: boolean;
|
|
5219
5225
|
isCollapsed?: boolean;
|
|
5220
5226
|
weight?: TheTextProps['weight'];
|
|
5227
|
+
count?: number | string;
|
|
5221
5228
|
};
|
|
5222
5229
|
|
|
5223
5230
|
export declare const Tabs: DefineComponent<__VLS_PublicProps_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -5537,11 +5544,7 @@ export declare const TransitionSlideDown: __VLS_WithTemplateSlots_17<typeof __VL
|
|
|
5537
5544
|
|
|
5538
5545
|
export declare const TransitionSlideRight: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
5539
5546
|
|
|
5540
|
-
export declare function useColorTheme():
|
|
5541
|
-
theme: Ref<ColorTheme>;
|
|
5542
|
-
setTheme: (mode: ColorThemeMode) => Promise<void>;
|
|
5543
|
-
toggle: () => Promise<void>;
|
|
5544
|
-
};
|
|
5547
|
+
export declare function useColorTheme(): ColorThemeInject;
|
|
5545
5548
|
|
|
5546
5549
|
export declare function useColorThemeProvider(): void;
|
|
5547
5550
|
|