@namba_one/ui-kit-2 1.0.15 → 1.0.17
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 -2
- package/dist/index.es.js +3131 -2686
- package/dist/index.umd.js +9 -9
- package/dist/namba-one-uikit.css +1 -1
- package/dist/scss/typography.scss +2 -2
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -109,10 +109,16 @@ declare type __VLS_Props_7 = ColorPickerProps;
|
|
|
109
109
|
|
|
110
110
|
declare type __VLS_Props_8 = TabsProps;
|
|
111
111
|
|
|
112
|
+
declare type __VLS_Props_9 = StatusSelectProps;
|
|
113
|
+
|
|
112
114
|
declare type __VLS_PublicProps = {
|
|
113
115
|
'value': boolean;
|
|
114
116
|
} & __VLS_Props;
|
|
115
117
|
|
|
118
|
+
declare type __VLS_PublicProps_10 = {
|
|
119
|
+
'value': StatusSelectProps['value'];
|
|
120
|
+
} & __VLS_Props_9;
|
|
121
|
+
|
|
116
122
|
declare type __VLS_PublicProps_2 = {
|
|
117
123
|
'list': CardContentListProps['list'];
|
|
118
124
|
} & __VLS_Props_2;
|
|
@@ -483,7 +489,7 @@ inputRef: any;
|
|
|
483
489
|
|
|
484
490
|
declare type ColorPickerProps = Pick<SelectBaseProps, 'label' | 'description' | 'errorText' | 'isError' | 'isDisabled'>;
|
|
485
491
|
|
|
486
|
-
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", "foreground-interactive-button-product-surface", "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", "foreground-interactive-button-surface-
|
|
492
|
+
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-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"];
|
|
487
493
|
|
|
488
494
|
export declare const Currency: {
|
|
489
495
|
readonly KGS: "KGS";
|
|
@@ -806,7 +812,7 @@ declare function open_2(): void;
|
|
|
806
812
|
export declare const Price: DefineComponent<PriceProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PriceProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
807
813
|
|
|
808
814
|
export declare type PriceProps = {
|
|
809
|
-
value: number;
|
|
815
|
+
value: number | string;
|
|
810
816
|
size: TheTextProps['size'];
|
|
811
817
|
weight: TheTextProps['weight'];
|
|
812
818
|
};
|
|
@@ -880,6 +886,24 @@ declare class SpriteServiceImp implements SpriteService {
|
|
|
880
886
|
install(): Promise<void>;
|
|
881
887
|
}
|
|
882
888
|
|
|
889
|
+
export declare const StatusSelect: DefineComponent<__VLS_PublicProps_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
890
|
+
"update:value": (value: string | number) => any;
|
|
891
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_10> & Readonly<{
|
|
892
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
893
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
894
|
+
triggerElementRef: HTMLButtonElement;
|
|
895
|
+
}, HTMLButtonElement>;
|
|
896
|
+
|
|
897
|
+
export declare type StatusSelectProps = {
|
|
898
|
+
value: string | number;
|
|
899
|
+
list: {
|
|
900
|
+
id: string | number;
|
|
901
|
+
text: string;
|
|
902
|
+
view: View;
|
|
903
|
+
}[];
|
|
904
|
+
isLoading?: boolean;
|
|
905
|
+
};
|
|
906
|
+
|
|
883
907
|
export declare const Tabs: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
884
908
|
"update:value": (value: Maybe<string | number> | undefined) => any;
|
|
885
909
|
}, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
|
|
@@ -1115,6 +1139,8 @@ export declare const UserRowSkeleton: DefineComponent< {}, {}, {}, {}, {}, Co
|
|
|
1115
1139
|
|
|
1116
1140
|
declare type Value = ColorInput | undefined;
|
|
1117
1141
|
|
|
1142
|
+
declare type View = 'secondary' | 'success' | 'brand' | 'critical';
|
|
1143
|
+
|
|
1118
1144
|
declare const views: readonly ["brand", "secondary", "success", "critical"];
|
|
1119
1145
|
|
|
1120
1146
|
declare const views_2: readonly ["secondary", "critical", "primary", "surface", "surface-shadow", "account-surface", "primary-flat", "base", "base-primary", "brand-flat"];
|