@namba_one/ui-kit-2 1.0.21 → 1.0.23

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
@@ -368,7 +368,12 @@ declare const allAcceptTypes: readonly string[];
368
368
  export declare const Badge: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
369
369
 
370
370
  export declare type BadgeProps = {
371
- view: (typeof views)[number];
371
+ view?: (typeof views)[number];
372
+ isRounded?: boolean;
373
+ };
374
+
375
+ declare type BadgeSkeletonProps = {
376
+ isRounded?: boolean;
372
377
  };
373
378
 
374
379
  export declare const BannerOffer: DefineComponent<BannerOfferProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BannerOfferProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -389,8 +394,6 @@ export declare type ButtonBaseEmits = {
389
394
  export declare type ButtonBaseProps = {
390
395
  tag?: (typeof tags_2)[number];
391
396
  href?: string;
392
- view: (typeof views_2)[number];
393
- size: (typeof sizes_2)[number];
394
397
  isLoading?: boolean;
395
398
  isDisabled?: boolean;
396
399
  };
@@ -405,12 +408,16 @@ onClick?: ((e: Event) => any) | undefined;
405
408
 
406
409
  export declare type ButtonIconEmits = ButtonBaseEmits;
407
410
 
408
- export declare type ButtonIconProps = ButtonBaseProps & {
411
+ export declare type ButtonIconProps = Omit<ButtonBaseProps, 'view' | 'size'> & {
412
+ view?: (typeof views_3)[number];
413
+ size?: (typeof sizes_3)[number];
409
414
  icon: IconName;
410
415
  isRound?: boolean;
411
416
  };
412
417
 
413
- export declare type ButtonProps = ButtonBaseProps & {
418
+ export declare type ButtonProps = Omit<ButtonBaseProps, 'view' | 'size'> & {
419
+ view?: (typeof views_2)[number];
420
+ size?: (typeof sizes_2)[number];
414
421
  isWide?: boolean;
415
422
  iconLeft?: IconName;
416
423
  iconRight?: IconName;
@@ -585,7 +592,7 @@ export declare const IconView: DefineComponent<IconViewProps, {}, {}, {}, {}, Co
585
592
 
586
593
  export declare type IconViewProps = {
587
594
  icon: IconName;
588
- size: (typeof sizes_3)[number];
595
+ size: (typeof sizes_4)[number];
589
596
  };
590
597
 
591
598
  export declare const ImageRow: DefineComponent<ImageRowProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ImageRowProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -633,7 +640,9 @@ export declare type LinkEmits = {
633
640
  export declare type LinkProps = {
634
641
  tag?: (typeof tags_3)[number];
635
642
  href?: string;
636
- view?: (typeof views_3)[number];
643
+ view?: (typeof views_4)[number];
644
+ size?: (typeof sizes_5)[number];
645
+ weight?: (typeof weights_2)[number];
637
646
  iconLeft?: IconName;
638
647
  iconRight?: IconName;
639
648
  };
@@ -795,7 +804,7 @@ export declare type ModalConfirmationEmits = {
795
804
  };
796
805
 
797
806
  export declare type ModalConfirmationProps = {
798
- view: (typeof views_4)[number];
807
+ view: (typeof views_5)[number];
799
808
  title: string;
800
809
  description: string;
801
810
  buttonText: string;
@@ -864,15 +873,19 @@ export declare type SelectProps = Pick<SelectBaseProps, 'label' | 'description'
864
873
 
865
874
  declare const sizes: readonly ["title1", "title2", "title3", "headline", "body", "subhead", "caption"];
866
875
 
867
- declare const sizes_2: readonly ["58", "50", "44", "34", "28"];
876
+ declare const sizes_2: readonly ["58", "50", "44", "40", "34", "28"];
877
+
878
+ declare const sizes_3: readonly ["58", "50", "44", "44_s", "34", "28"];
879
+
880
+ declare const sizes_4: readonly [58, 50, 44, 34, 28];
868
881
 
869
- declare const sizes_3: readonly [58, 50, 44, 34, 28];
882
+ declare const sizes_5: readonly ["subhead", "caption"];
870
883
 
871
- declare const sizes_4: readonly ["default", "28_caption", "36_subhead", "subhead", "body"];
884
+ declare const sizes_6: readonly ["default", "28_caption", "36_subhead", "subhead", "body"];
872
885
 
873
- declare const sizes_5: readonly ["title1", "title2", "title3", "headline", "body", "subhead", "caption"];
886
+ declare const sizes_7: readonly ["title1", "title2", "title3", "headline", "body", "subhead", "caption"];
874
887
 
875
- export declare const SkeletonBadge: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
888
+ export declare const SkeletonBadge: DefineComponent<BadgeSkeletonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeSkeletonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
876
889
 
877
890
  export declare const SkeletonWrapper: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
878
891
 
@@ -904,6 +917,14 @@ export declare type StatusSelectProps = {
904
917
  isLoading?: boolean;
905
918
  };
906
919
 
920
+ export declare const StatusSelectSkeleton: DefineComponent<StatusSelectSkeletonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<StatusSelectSkeletonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
921
+ skeleton: HTMLButtonElement;
922
+ }, HTMLButtonElement>;
923
+
924
+ export declare type StatusSelectSkeletonProps = {
925
+ widthRange: [number, number];
926
+ };
927
+
907
928
  export declare const Tabs: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
908
929
  "update:value": (value: Maybe<string | number> | undefined) => any;
909
930
  }, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
@@ -913,8 +934,8 @@ export declare const Tabs: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {},
913
934
  export declare type TabsProps = {
914
935
  value?: Maybe<number | string>;
915
936
  label?: string;
916
- view: (typeof views_5)[number];
917
- size: (typeof sizes_4)[number];
937
+ view: (typeof views_6)[number];
938
+ size: (typeof sizes_6)[number];
918
939
  isDisabled?: boolean;
919
940
  data: {
920
941
  id: number | string;
@@ -960,8 +981,8 @@ skeleton: HTMLDivElement;
960
981
  }, HTMLDivElement>;
961
982
 
962
983
  export declare type TheTextSkeletonProps = {
963
- size?: (typeof sizes_5)[number];
964
- view?: (typeof views_6)[number];
984
+ size?: (typeof sizes_7)[number];
985
+ view?: (typeof views_7)[number];
965
986
  widthRange?: [number, number];
966
987
  };
967
988
 
@@ -1141,18 +1162,22 @@ declare type Value = ColorInput | undefined;
1141
1162
 
1142
1163
  declare type View = 'secondary' | 'success' | 'brand' | 'critical';
1143
1164
 
1144
- declare const views: readonly ["brand", "secondary", "success", "critical"];
1165
+ declare const views: readonly ["brand", "secondary", "success", "critical", "base"];
1145
1166
 
1146
- declare const views_2: readonly ["secondary", "critical", "primary", "surface", "surface-shadow", "account-surface", "primary-flat", "base", "base-primary", "brand-flat"];
1167
+ declare const views_2: readonly ["critical_primary", "critical", "base_primary", "base", "base_Flat", "brand_flat", "productSurface", "surface_shadow", "surface"];
1147
1168
 
1148
- declare const views_3: readonly ["base", "secondary"];
1169
+ declare const views_3: readonly ["secondary", "critical", "primary", "surface", "base", "product_surface", "primary_flat", "base_shadow", "surface_shadow"];
1149
1170
 
1150
- declare const views_4: readonly ["base", "critical"];
1171
+ declare const views_4: readonly ["base", "secondary", "brand"];
1151
1172
 
1152
- declare const views_5: readonly ["default", "flat", "flat-secondary"];
1173
+ declare const views_5: readonly ["base", "critical"];
1153
1174
 
1154
- declare const views_6: readonly ["secondary", "base"];
1175
+ declare const views_6: readonly ["default", "flat", "flat-secondary"];
1176
+
1177
+ declare const views_7: readonly ["secondary", "base"];
1155
1178
 
1156
1179
  declare const weights: readonly ["regular", "medium", "semibold", "bold"];
1157
1180
 
1181
+ declare const weights_2: TheTextProps['weight'][];
1182
+
1158
1183
  export { }