@namba_one/ui-kit-2 1.0.272 → 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.
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';
@@ -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;