@namba_one/ui-kit-2 1.0.20 → 1.0.22

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;
@@ -475,7 +482,7 @@ export declare type ChipProps = {
475
482
 
476
483
  declare function close_2(): void;
477
484
 
478
- declare type Color = typeof colors[number];
485
+ export declare type Color = typeof colors[number];
479
486
 
480
487
  declare type ColorInput = string | null;
481
488
 
@@ -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"];
868
877
 
869
- declare const sizes_3: readonly [58, 50, 44, 34, 28];
878
+ declare const sizes_3: readonly ["58", "50", "44", "44_s", "34", "28"];
870
879
 
871
- declare const sizes_4: readonly ["default", "28_caption", "36_subhead", "subhead", "body"];
880
+ declare const sizes_4: readonly [58, 50, 44, 34, 28];
872
881
 
873
- declare const sizes_5: readonly ["title1", "title2", "title3", "headline", "body", "subhead", "caption"];
882
+ declare const sizes_5: readonly ["subhead", "caption"];
874
883
 
875
- export declare const SkeletonBadge: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
884
+ declare const sizes_6: readonly ["default", "28_caption", "36_subhead", "subhead", "body"];
885
+
886
+ declare const sizes_7: readonly ["title1", "title2", "title3", "headline", "body", "subhead", "caption"];
887
+
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
 
@@ -913,8 +926,8 @@ export declare const Tabs: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {},
913
926
  export declare type TabsProps = {
914
927
  value?: Maybe<number | string>;
915
928
  label?: string;
916
- view: (typeof views_5)[number];
917
- size: (typeof sizes_4)[number];
929
+ view: (typeof views_6)[number];
930
+ size: (typeof sizes_6)[number];
918
931
  isDisabled?: boolean;
919
932
  data: {
920
933
  id: number | string;
@@ -960,8 +973,8 @@ skeleton: HTMLDivElement;
960
973
  }, HTMLDivElement>;
961
974
 
962
975
  export declare type TheTextSkeletonProps = {
963
- size?: (typeof sizes_5)[number];
964
- view?: (typeof views_6)[number];
976
+ size?: (typeof sizes_7)[number];
977
+ view?: (typeof views_7)[number];
965
978
  widthRange?: [number, number];
966
979
  };
967
980
 
@@ -1141,18 +1154,22 @@ declare type Value = ColorInput | undefined;
1141
1154
 
1142
1155
  declare type View = 'secondary' | 'success' | 'brand' | 'critical';
1143
1156
 
1144
- declare const views: readonly ["brand", "secondary", "success", "critical"];
1157
+ declare const views: readonly ["brand", "secondary", "success", "critical", "base"];
1158
+
1159
+ declare const views_2: readonly ["critical_primary", "critical", "base_primary", "base", "base_Flat", "brand_flat", "productSurface", "surface_shadow", "surface"];
1145
1160
 
1146
- declare const views_2: readonly ["secondary", "critical", "primary", "surface", "surface-shadow", "account-surface", "primary-flat", "base", "base-primary", "brand-flat"];
1161
+ declare const views_3: readonly ["secondary", "critical", "primary", "surface", "base", "product_surface", "primary_flat", "base_shadow", "surface_shadow"];
1147
1162
 
1148
- declare const views_3: readonly ["base", "secondary"];
1163
+ declare const views_4: readonly ["base", "secondary", "brand"];
1149
1164
 
1150
- declare const views_4: readonly ["base", "critical"];
1165
+ declare const views_5: readonly ["base", "critical"];
1151
1166
 
1152
- declare const views_5: readonly ["default", "flat", "flat-secondary"];
1167
+ declare const views_6: readonly ["default", "flat", "flat-secondary"];
1153
1168
 
1154
- declare const views_6: readonly ["secondary", "base"];
1169
+ declare const views_7: readonly ["secondary", "base"];
1155
1170
 
1156
1171
  declare const weights: readonly ["regular", "medium", "semibold", "bold"];
1157
1172
 
1173
+ declare const weights_2: TheTextProps['weight'][];
1174
+
1158
1175
  export { }