@namba_one/ui-kit-2 1.0.291 → 1.0.293
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 +34 -0
- package/dist/index.es.js +7456 -7179
- package/dist/index.umd.js +26 -26
- package/dist/namba-one-uikit.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -738,6 +738,8 @@ default?(_: {}): any;
|
|
|
738
738
|
|
|
739
739
|
declare const __VLS_component_51: DefineComponent<ResponseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ResponseProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
740
740
|
|
|
741
|
+
declare const __VLS_component_52: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
742
|
+
|
|
741
743
|
declare const __VLS_component_6: DefineComponent<ChipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
742
744
|
click: () => any;
|
|
743
745
|
delete: () => any;
|
|
@@ -2005,6 +2007,15 @@ declare function __VLS_template_51(): {
|
|
|
2005
2007
|
rootEl: HTMLElement;
|
|
2006
2008
|
};
|
|
2007
2009
|
|
|
2010
|
+
declare function __VLS_template_52(): {
|
|
2011
|
+
attrs: Partial<{}>;
|
|
2012
|
+
slots: {
|
|
2013
|
+
default?(_: {}): any;
|
|
2014
|
+
};
|
|
2015
|
+
refs: {};
|
|
2016
|
+
rootEl: any;
|
|
2017
|
+
};
|
|
2018
|
+
|
|
2008
2019
|
declare function __VLS_template_6(): {
|
|
2009
2020
|
attrs: Partial<{}>;
|
|
2010
2021
|
slots: {
|
|
@@ -2137,6 +2148,8 @@ declare type __VLS_TemplateResult_50 = ReturnType<typeof __VLS_template_50>;
|
|
|
2137
2148
|
|
|
2138
2149
|
declare type __VLS_TemplateResult_51 = ReturnType<typeof __VLS_template_51>;
|
|
2139
2150
|
|
|
2151
|
+
declare type __VLS_TemplateResult_52 = ReturnType<typeof __VLS_template_52>;
|
|
2152
|
+
|
|
2140
2153
|
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
2141
2154
|
|
|
2142
2155
|
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
@@ -2427,6 +2440,12 @@ declare type __VLS_WithTemplateSlots_51<T, S> = T & {
|
|
|
2427
2440
|
};
|
|
2428
2441
|
};
|
|
2429
2442
|
|
|
2443
|
+
declare type __VLS_WithTemplateSlots_52<T, S> = T & {
|
|
2444
|
+
new (): {
|
|
2445
|
+
$slots: S;
|
|
2446
|
+
};
|
|
2447
|
+
};
|
|
2448
|
+
|
|
2430
2449
|
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
2431
2450
|
new (): {
|
|
2432
2451
|
$slots: S;
|
|
@@ -2699,6 +2718,8 @@ declare type ColorPickerProps = Pick<SelectBaseProps, 'label' | 'description' |
|
|
|
2699
2718
|
|
|
2700
2719
|
declare const colors: readonly ["text-common-base-primary-default", "text-common-base-secondary-default", "bg-common-base-primary-default", "bg-common-brand-primary-default", "bg-common-brand-secondary-default", "bg-common-base-secondary-default", "text-common-base-inverse-default", "bg-common-critical-primary-default", "bg-common-critical-secondary-default", "bg-common-success-primary-default", "bg-common-success-secondary-default", "text-common-primary-default", "text-common-critical-primary-default", "text-common-success-primary-default", "icon-common-base-primary-default", "icon-common-base-secondary-default", "icon-common-base-tertiary-default", "icon-common-brand-primary-default", "icon-common-critical-primary-default", "icon-common-success-primary-default", "border-common-base-primary", "border-common-brand-primary", "border-common-critical-primary", "border-common-success-primary", "bg-disable-default", "text-disable-default", "icon-disable-primary", "text-button-base-primary", "text-button-base-inverse", "text-button-brand-primary", "text-button-critical-primary", "text-button-success-primary", "bg-button-base-secondary-default", "bg-button-base-primary-default", "bg-button-brand-default", "bg-button-success-default", "bg-button-critical-default", "icon-button-base-primary", "icon-button-base-inverse", "icon-button-brand-primary", "icon-button-critical-primary", "icon-button-success-primary", "bg-input-base-primary-default", "text-input-base-primary", "icon-input-base-primary", "border-input-base-primary", "bg-common-base-tertiary-default", "text-input-base-secondary", "bg-button-base-inverse-default", "bg-common-base-inverse-default", "border-input-accent-critical", "bg-common-opacity-base-300", "bg-common-opacity-base-500", "background-layout-layout-2", "background-layout-layout-1", "text-common-base-base", "icon-common-base-base-500", "background-state-action-base-t-active", "text-common-base-base-500", "icon-common-base-base", "icon-common-base-base-600", "text-common-base-base-600", "border-common-base-base-1000-5", "background-surface-account-account-2", "background-surface-account-account-3", "background-surface-account-account-4", "background-surface-account-account-1", "background-surface-account-account-5", "background-surface-account-account-6", "background-surface-account-account-7", "background-surface-account-account-8", "background-surface-account-account-9", "foreground-surface-account-account-1-primary", "foreground-surface-account-account-2-primary", "foreground-surface-account-account-3-primary", "foreground-surface-account-account-4-primary", "foreground-surface-account-account-5-primary", "foreground-surface-account-account-6-primary", "foreground-surface-account-account-7-primary", "foreground-surface-account-account-8-primary", "foreground-surface-account-account-9-primary", "foreground-surface-account-account-8-secondary", "foreground-surface-account-account-7-secondary", "foreground-surface-account-account-3-secondary", "foreground-surface-account-account-5-secondary", "foreground-surface-account-account-4-secondary", "foreground-surface-account-account-6-secondary", "foreground-surface-account-account-2-secondary", "foreground-surface-account-product-9-secondary", "foreground-surface-account-account-1-secondary", "background-surface-layout-1-surface", "background-surface-popover-base", "foreground-layout-layout-1-primary", "foreground-layout-layout-2-primary", "foreground-layout-layout-2-secondary", "foreground-layout-layout-1-secondary", "background-surface-layout-1-surface-2", "foreground-surface-layout-1-surface-2-primary", "foreground-surface-layout-1-surface-2-critical", "foreground-layout-layout-1-success", "border-layout-layout-1-base", "interactive-base-surface-2", "interactive-text-base-surface-2", "interactive-text-base", "background-interactive-button-product-surface-primary", "foreground-interactive-button-product-surface-primary", "foreground-surface-layout-1-surface-primary", "foreground-surface-popover-base", "border-surface-popover-base", "foreground-surface-popover-base-secondary", "foreground-surface-popover-base-critical", "foreground-surface-layout-1-surface-2-secondary", "background-surface-account-account-1-t-0", "background-surface-account-account-8-t-0", "background-surface-account-account-5-t-0", "background-surface-account-account-7-t-0", "background-surface-account-account-6-t-0", "background-surface-account-account-9-t-0", "background-surface-account-account-3-t-0", "background-surface-account-account-4-t-0", "background-surface-account-account-2-t-0", "background-surface-layout-1-surface-3", "border-layout-layout-1-primary", "background-interactive-input-input-base", "foreground-interactive-input-base-primary", "foreground-interactive-input-base-placeholder", "foreground-interactive-input-base-secondary", "background-element-avatar-base-t", "foreground-layout-layout-1-critical", "border-input-base-primary-2", "border-input-base-primary-3", "border-interactive-input-base", "border-interactive-input-base-critical", "background-surface-account-account-4-contrast", "background-surface-account-account-2-contrast", "background-surface-account-account-1-contrast", "background-surface-account-account-8-contrast", "background-surface-account-account-3-contrast", "background-surface-account-account-7-contrast", "background-surface-account-account-5-contrast", "background-surface-account-account-6-contrast", "background-surface-account-account-9-contrast", "background-interactive-button-base", "foreground-interactive-button-base", "background-interactive-button-surface-primary", "foreground-interactive-button-surface-primary", "background-layout-overlay", "background-surface-modal-base", "background-interactive-button-base-primary", "foreground-interactive-button-base-primary", "background-surface-popover-base-t-0", "background-interactive-scroll-primary-t", "background-surface-layout-1-surface-2-t-0", "illustration-illustration-bg-critical", "background-surface-tooltip-primary", "foreground-element-tooltip-primary", "border-interactive-input-base-focus", "bg-input-base-primary-default-2", "foreground-element-avatar-base-t", "border-element-avatar-base-t", "foreground-interactive-button-base-flat", "bg-common-brand-primary-default-2", "foreground-interactive-input-focus-cursor-brand", "background-interactive-input-input-base-focus", "foreground-interactive-button-brand-flat", "illustration-illustration-bg-base-contrast", "illustration-illustration-border-base", "illustration-illustration-border-primary", "illustration-illustration-background", "illustration-illustration-border-base-contrast-primary", "background-on-primary-overlay", "background-element-badge-base-t", "foreground-element-badge-base-t", "background-surface-layout-1-surface-t-0", "foreground-layout-layout-1-brand", "background-surface-layout-1-succes", "background-surface-layout-1-critical", "background-surface-layout-1-succes-contrast", "background-surface-layout-1-critical-contrast", "foreground-surface-layout-1-critical-contrast-primary", "foreground-surface-layout-1-surface-success-contrast", "border-layout-layout-1-surface", "background-interactive-select-base-2", "foreground-interactive-select-base-2-placeholder", "foreground-interactive-select-base-2-primary", "border-interactive-select-select-base-critical", "border-interactive-select-base-focus", "border-interactive-select-base", "foreground-interactive-select-base-2-critical", "background-element-badge-success", "foreground-element-badge-succes", "background-element-badge-critical", "foreground-element-badge-critical", "background-element-badge-brand", "foreground-element-badge-brand", "border-layout-layout-1", "text-button-base-secondary", "icon-button-base-secondary", "background-interactive-button-critical-primary", "foreground-interactive-button-critical-primary", "bg-button-critical-default-2", "background-interactive-button-critical", "foreground-interactive-button-critical", "background-surface-layout-1-surface-4", "background-surface-layout-1-warning", "foreground-surface-layout-1-surface-2-warning", "background-interactive-button-critical-primary-disabled", "foreground-interactive-button-critical-primary-disabled", "background-interactive-button-base-disabled", "foreground-interactive-button-base-disabled", "background-interactive-button-surface-primary-disabled", "foreground-interactive-button-surface-primary-disabled", "background-interactive-button-product-surface-primary-disabled", "background-interactive-button-base-primary-disabled", "background-interactive-button-critical-disabled", "foreground-interactive-button-product-surface-primary-disabled", "foreground-interactive-button-base-flat-disabled", "foreground-interactive-button-base-primary-disabled", "foreground-interactive-button-brand-flat-disabled", "foreground-interactive-button-critical-disabled", "background-surface-layout-1-primary", "foreground-surface-layout-1-primary-primary", "foreground-interactive-link-brand", "background-interactive-select-select-base", "background-interactive-select-select-base-focus", "foreground-interactive-input-focus-cursor-brand-2", "foreground-interactive-select-base-secondary", "foreground-interactive-input-base-secondary-2", "foreground-interactive-select-base-primary", "foreground-interactive-input-base-primary-2", "foreground-interactive-select-base-placeholder", "foreground-interactive-input-base-placeholder-2", "foreground-element-badge-secondary", "background-element-badge-secondary", "foreground-interactive-link-base", "foreground-interactive-link-secondary", "foreground-layout-layout-1-surface", "background-interactive-button-base-secondary-disabled", "background-interactive-button-base-secondary", "foreground-interactive-button-base-secondary-disabled", "foreground-interactive-button-base-secondary", "background-state-action-critical-t-active", "background-interactive-button-success-primary", "background-interactive-button-success-primary-disabled-2", "foreground-interactive-button-success-primary", "foreground-interactive-button-success-primary-disabled", "background-surface-layout-1-surface-5-t-15", "background-state-action-base-secondary-t-active", "background-state-action-secondary-t-active", "background-surface-modal-base-t-0", "border-layout-layout-1-base-table", "background-layout-layout-1-0", "foreground-layout-layout-1-brand-25"];
|
|
2701
2720
|
|
|
2721
|
+
export declare const ColorThemeProvider: __VLS_WithTemplateSlots_52<typeof __VLS_component_52, __VLS_TemplateResult_52["slots"]>;
|
|
2722
|
+
|
|
2702
2723
|
export declare const Container: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
2703
2724
|
|
|
2704
2725
|
export declare type ContainerProps = {
|
|
@@ -4832,6 +4853,10 @@ export declare type TheImageProps = {
|
|
|
4832
4853
|
hasBlendMode?: boolean;
|
|
4833
4854
|
};
|
|
4834
4855
|
|
|
4856
|
+
export declare const ThemedTheImage: DefineComponent<TheImageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheImageProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
4857
|
+
|
|
4858
|
+
export declare type ThemedTheImageProps = TheImageProps;
|
|
4859
|
+
|
|
4835
4860
|
export declare const ThemePicker: DefineComponent<__VLS_PublicProps_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4836
4861
|
"update:value": (value: Maybe<string | number>) => any;
|
|
4837
4862
|
}, string, PublicProps, Readonly<__VLS_PublicProps_12> & Readonly<{
|
|
@@ -5103,6 +5128,13 @@ export declare const TransitionSlideDown: __VLS_WithTemplateSlots_17<typeof __VL
|
|
|
5103
5128
|
|
|
5104
5129
|
export declare const TransitionSlideRight: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
5105
5130
|
|
|
5131
|
+
export declare function useColorTheme(): {
|
|
5132
|
+
theme: Ref<"light" | "dark">;
|
|
5133
|
+
toggle: () => void;
|
|
5134
|
+
};
|
|
5135
|
+
|
|
5136
|
+
export declare function useColorThemeProvider(): void;
|
|
5137
|
+
|
|
5106
5138
|
export declare function useCopyToBuffer(options?: {
|
|
5107
5139
|
toasterText: string;
|
|
5108
5140
|
}): {
|
|
@@ -5140,6 +5172,8 @@ export declare const useGlobalConfig: () => GlobalConfig;
|
|
|
5140
5172
|
|
|
5141
5173
|
export declare const useGlobalConfigProvide: (config: Partial<GlobalConfig>) => void;
|
|
5142
5174
|
|
|
5175
|
+
export declare function useInitHtmlTheme(): void;
|
|
5176
|
+
|
|
5143
5177
|
export declare const useModal: (refName: string) => {
|
|
5144
5178
|
open: () => void;
|
|
5145
5179
|
close: () => void;
|