@namba_one/ui-kit-2 1.0.261 → 1.0.274

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.
Binary file
Binary file
Binary file
package/dist/index.d.ts CHANGED
@@ -7,6 +7,7 @@ import { ComponentOptionsBase } from 'vue';
7
7
  import { ComponentOptionsMixin } from 'vue';
8
8
  import { ComponentProvideOptions } from 'vue';
9
9
  import { ComponentPublicInstance } from 'vue';
10
+ import { ComputedRef } from 'vue';
10
11
  import { DebuggerEvent } from 'vue';
11
12
  import { DefineComponent } from 'vue';
12
13
  import { ExtractPropTypes } from 'vue';
@@ -133,8 +134,8 @@ $data: {};
133
134
  $props: {
134
135
  readonly tag?: tags_2[number] | undefined;
135
136
  readonly href?: string | undefined;
136
- readonly isDisabled?: boolean | undefined;
137
137
  readonly isLoading?: boolean | undefined;
138
+ readonly isDisabled?: boolean | undefined;
138
139
  readonly view?: views_3[number] | undefined;
139
140
  readonly size?: sizes_2[number] | undefined;
140
141
  readonly isWide?: boolean | undefined;
@@ -1212,8 +1213,8 @@ declare function __VLS_template_30(): {
1212
1213
  $props: {
1213
1214
  readonly tag?: tags_2[number] | undefined;
1214
1215
  readonly href?: string | undefined;
1215
- readonly isDisabled?: boolean | undefined;
1216
1216
  readonly isLoading?: boolean | undefined;
1217
+ readonly isDisabled?: boolean | undefined;
1217
1218
  readonly view?: views_3[number] | undefined;
1218
1219
  readonly size?: sizes_2[number] | undefined;
1219
1220
  readonly isWide?: boolean | undefined;
@@ -2316,7 +2317,7 @@ export declare type ButtonIconSkeletonProps = {
2316
2317
  isRound?: boolean;
2317
2318
  };
2318
2319
 
2319
- export declare type ButtonProps = Omit<ButtonBaseProps, 'view' | 'size'> & {
2320
+ export declare type ButtonProps = ButtonBaseProps & {
2320
2321
  view?: (typeof views_3)[number];
2321
2322
  size?: (typeof sizes_2)[number];
2322
2323
  isWide?: boolean;
@@ -3243,7 +3244,7 @@ export declare type IconBaseProps = {
3243
3244
 
3244
3245
  export declare type IconName = (typeof iconNames)[number];
3245
3246
 
3246
- export declare const iconNames: readonly ["filed-nambaLogo", "filled-cross", "filled-rpLogo", "filled-sort-default", "filled-sort-down", "filled-sort-up", "filled-success", "filled-warning", "outline-1c-file", "outline-agreement", "outline-airplane", "outline-alert", "outline-api", "outline-arrow-down", "outline-arrow-left", "outline-arrow-right", "outline-arrow-up-down", "outline-arrow-up-line", "outline-arrow-up", "outline-balance-scale", "outline-bank", "outline-beach", "outline-bookmark", "outline-box", "outline-briefcase", "outline-browser", "outline-brush", "outline-building", "outline-bulb", "outline-calendar", "outline-call", "outline-carousel", "outline-cash", "outline-chart-bar-line", "outline-check", "outline-checkmark-badge", "outline-chevron-down-huge", "outline-chevron-down", "outline-chevron-left", "outline-chevron-right", "outline-chevron-up", "outline-code", "outline-coins-stacks", "outline-computer", "outline-connect", "outline-copy", "outline-coupon-percent", "outline-coupon", "outline-credit-card-pos", "outline-credit-card", "outline-cross", "outline-csv-list", "outline-currency_bold", "outline-currency_medium", "outline-currency_regular", "outline-currency_semibold", "outline-cursor-add", "outline-customer-service", "outline-delete", "outline-delivery-tracking", "outline-delivery-truck", "outline-distribute-horizontal-center", "outline-download", "outline-drag-drop-vertical", "outline-edit", "outline-euro", "outline-export", "outline-eye-close", "outline-eye-open", "outline-file", "outline-files", "outline-filter-horizontal", "outline-filter-vertical", "outline-flash", "outline-h2", "outline-help-circle", "outline-image", "outline-link-square", "outline-link", "outline-list", "outline-lock-password", "outline-logout", "outline-magic-wand", "outline-mail-at-sign", "outline-megaphone", "outline-menu-dots", "outline-messenger", "outline-money-bag", "outline-money-safe", "outline-moon", "outline-more-horizontal", "outline-more-vertical", "outline-mortarboard", "outline-move", "outline-paint-board", "outline-percent", "outline-phone-check", "outline-placeholder", "outline-plus", "outline-promo", "outline-qr", "outline-rocket", "outline-search", "outline-settings", "outline-share", "outline-shop-1", "outline-shop", "outline-sidebar-hide", "outline-sidebar-show", "outline-snow", "outline-sort-by-down", "outline-sort-by-up", "outline-star", "outline-store-add", "outline-store-remove", "outline-success", "outline-sun", "outline-table", "outline-tag", "outline-text-bold", "outline-text", "outline-time-quarter-pass", "outline-time", "outline-traffic-jam", "outline-transaction-history", "outline-trash", "outline-two-users", "outline-unavailable", "outline-unlink", "outline-upload", "outline-user", "outline-wallet-stack", "outline-wallet", "outline-warning", "outline-xls-file", "static-nambaLogo", "static-rpLogo", "static-telegram", "static-whats-app"];
3247
+ export declare const iconNames: readonly ["filed-nambaLogo", "filled-cross", "filled-rpLogo", "filled-sort-default", "filled-sort-down", "filled-sort-up", "filled-success", "filled-warning", "outline-1c-file", "outline-agreement", "outline-airplane", "outline-alert", "outline-api", "outline-arrow-down", "outline-arrow-left", "outline-arrow-right", "outline-arrow-up-down", "outline-arrow-up-line", "outline-arrow-up", "outline-balance-scale", "outline-bank", "outline-beach", "outline-bookmark", "outline-box", "outline-briefcase", "outline-browser", "outline-brush", "outline-building", "outline-bulb", "outline-calendar", "outline-call", "outline-carousel", "outline-cash", "outline-chart-bar-line", "outline-check", "outline-checkmark-badge", "outline-chevron-down-huge", "outline-chevron-down", "outline-chevron-left", "outline-chevron-right", "outline-chevron-up", "outline-code", "outline-coins-stacks", "outline-computer", "outline-connect", "outline-copy", "outline-coupon-percent", "outline-coupon", "outline-credit-card-pos", "outline-credit-card", "outline-cross", "outline-csv-list", "outline-currency_bold", "outline-currency_medium", "outline-currency_regular", "outline-currency_semibold", "outline-cursor-add", "outline-customer-service", "outline-delete", "outline-delivery-tracking", "outline-delivery-truck", "outline-distribute-horizontal-center", "outline-download", "outline-drag-drop-vertical", "outline-edit", "outline-euro", "outline-export", "outline-eye-close", "outline-eye-open", "outline-file", "outline-files", "outline-filter-horizontal", "outline-filter-vertical", "outline-flash", "outline-h2", "outline-help-circle", "outline-image", "outline-link-square", "outline-link", "outline-list", "outline-lock-password", "outline-logout", "outline-magic-wand", "outline-mail-at-sign", "outline-megaphone", "outline-menu-dots", "outline-messenger", "outline-money-bag", "outline-money-safe", "outline-moon", "outline-more-horizontal", "outline-more-vertical", "outline-mortarboard", "outline-move", "outline-paint-board", "outline-percent", "outline-phone-check", "outline-placeholder", "outline-plus", "outline-promo", "outline-qr", "outline-rocket", "outline-sad-dizzy", "outline-search", "outline-settings", "outline-share", "outline-shop-1", "outline-shop", "outline-sidebar-hide", "outline-sidebar-show", "outline-snow", "outline-sort-by-down", "outline-sort-by-up", "outline-star", "outline-store-add", "outline-store-remove", "outline-success", "outline-sun", "outline-table", "outline-tag", "outline-text-bold", "outline-text", "outline-time-quarter-pass", "outline-time", "outline-traffic-jam", "outline-transaction-history", "outline-trash", "outline-two-users", "outline-unavailable", "outline-unlink", "outline-upload", "outline-user", "outline-wallet-stack", "outline-wallet", "outline-warning", "outline-xls-file", "static-nambaLogo", "static-rpLogo", "static-telegram", "static-whats-app"];
3247
3248
 
3248
3249
  export declare const IconView: DefineComponent<IconViewProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconViewProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
3249
3250
 
@@ -4045,7 +4046,7 @@ export declare const Price: DefineComponent<PriceProps, {}, {}, {}, {}, Componen
4045
4046
  export declare type PriceProps = {
4046
4047
  value: number | string;
4047
4048
  size: TheTextProps['size'];
4048
- weight: TheTextProps['weight'];
4049
+ weight?: TheTextProps['weight'];
4049
4050
  color: Color;
4050
4051
  isShowPlusSign?: boolean;
4051
4052
  isCrossOut?: boolean;
@@ -4240,6 +4241,21 @@ export declare type SelectProps = Pick<SelectBaseProps, 'label' | 'description'
4240
4241
  }[];
4241
4242
  };
4242
4243
 
4244
+ export declare const SidebarStepList: DefineComponent<SidebarStepListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
4245
+ setStep: (value: number) => any;
4246
+ }, string, PublicProps, Readonly<SidebarStepListProps> & Readonly<{
4247
+ onSetStep?: ((value: number) => any) | undefined;
4248
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
4249
+
4250
+ export declare type SidebarStepListEmits = {
4251
+ (e: 'setStep', value: number): void;
4252
+ };
4253
+
4254
+ export declare type SidebarStepListProps = {
4255
+ steps: StepItem_2[];
4256
+ step: StepItem_2;
4257
+ };
4258
+
4243
4259
  declare const sizes: readonly ["title120", "title1", "title2", "title3", "headline", "body", "subhead", "caption"];
4244
4260
 
4245
4261
  declare const sizes_10: readonly ["28", "36", "40", "56", "120", 28, 36, 40, 56, 120];
@@ -4304,6 +4320,12 @@ export declare type StatusSelectSkeletonProps = {
4304
4320
 
4305
4321
  export declare const StepItem: DefineComponent<StepItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<StepItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
4306
4322
 
4323
+ declare type StepItem_2 = {
4324
+ key: string;
4325
+ label: string;
4326
+ isAvailable: boolean;
4327
+ };
4328
+
4307
4329
  export declare type StepItemProps = {
4308
4330
  count: number;
4309
4331
  text: string;
@@ -4771,6 +4793,25 @@ export declare type UserRowProps = {
4771
4793
 
4772
4794
  export declare const UserRowSkeleton: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
4773
4795
 
4796
+ export declare const useSidebarStepper: (rawSteps: StepItem_2[]) => {
4797
+ steps: Ref< {
4798
+ key: string;
4799
+ label: string;
4800
+ isAvailable: boolean;
4801
+ }[], StepItem_2[] | {
4802
+ key: string;
4803
+ label: string;
4804
+ isAvailable: boolean;
4805
+ }[]>;
4806
+ step: ComputedRef< {
4807
+ key: string;
4808
+ label: string;
4809
+ isAvailable: boolean;
4810
+ }>;
4811
+ nextStep: () => void;
4812
+ setStep: (index: number) => void;
4813
+ };
4814
+
4774
4815
  export declare const useToaster: () => ToasterContext;
4775
4816
 
4776
4817
  declare type Value = ColorInput | undefined;