@namba_one/ui-kit-2 1.0.108 → 1.0.110

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
@@ -90,7 +90,9 @@ apply: (value: string[] | null) => any;
90
90
  onApply?: ((value: string[] | null) => any) | undefined;
91
91
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
92
92
 
93
- declare const __VLS_component_24: DefineComponent<__VLS_PublicProps_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
93
+ declare const __VLS_component_24: DefineComponent<PopoverProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PopoverProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
94
+
95
+ declare const __VLS_component_25: DefineComponent<__VLS_PublicProps_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
94
96
  "update:values": (value: FilterValue[]) => any;
95
97
  }, string, PublicProps, Readonly<__VLS_PublicProps_13> & Readonly<{
96
98
  "onUpdate:values"?: ((value: FilterValue[]) => any) | undefined;
@@ -488,6 +490,15 @@ declare function __VLS_template_23(): {
488
490
  };
489
491
 
490
492
  declare function __VLS_template_24(): {
493
+ attrs: Partial<{}>;
494
+ slots: {
495
+ default?(_: {}): any;
496
+ };
497
+ refs: {};
498
+ rootEl: HTMLElement;
499
+ };
500
+
501
+ declare function __VLS_template_25(): {
491
502
  attrs: Partial<{}>;
492
503
  slots: {
493
504
  before?(_: {}): any;
@@ -671,6 +682,8 @@ declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
671
682
 
672
683
  declare type __VLS_TemplateResult_24 = ReturnType<typeof __VLS_template_24>;
673
684
 
685
+ declare type __VLS_TemplateResult_25 = ReturnType<typeof __VLS_template_25>;
686
+
674
687
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
675
688
 
676
689
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
@@ -787,6 +800,12 @@ declare type __VLS_WithTemplateSlots_24<T, S> = T & {
787
800
  };
788
801
  };
789
802
 
803
+ declare type __VLS_WithTemplateSlots_25<T, S> = T & {
804
+ new (): {
805
+ $slots: S;
806
+ };
807
+ };
808
+
790
809
  declare type __VLS_WithTemplateSlots_3<T, S> = T & {
791
810
  new (): {
792
811
  $slots: S;
@@ -1016,6 +1035,7 @@ $: ComponentInternalInstance;
1016
1035
  $data: {};
1017
1036
  $props: {
1018
1037
  readonly count?: (number | string) | undefined;
1038
+ readonly view?: views_4[number] | undefined;
1019
1039
  readonly onClick?: (() => any) | undefined;
1020
1040
  readonly onDelete?: (() => any) | undefined;
1021
1041
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1030,6 +1050,7 @@ $: ComponentInternalInstance;
1030
1050
  $data: {};
1031
1051
  $props: {
1032
1052
  readonly count?: (number | string) | undefined;
1053
+ readonly view?: views_4[number] | undefined;
1033
1054
  readonly onClick?: (() => any) | undefined;
1034
1055
  readonly onDelete?: (() => any) | undefined;
1035
1056
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1232,6 +1253,7 @@ export declare type ChipEmits = {
1232
1253
 
1233
1254
  export declare type ChipProps = {
1234
1255
  count?: number | string;
1256
+ view?: (typeof views_4)[number];
1235
1257
  };
1236
1258
 
1237
1259
  declare function close_2(): void;
@@ -1282,6 +1304,7 @@ $: ComponentInternalInstance;
1282
1304
  $data: {};
1283
1305
  $props: {
1284
1306
  readonly count?: (number | string) | undefined;
1307
+ readonly view?: views_4[number] | undefined;
1285
1308
  readonly onClick?: (() => any) | undefined;
1286
1309
  readonly onDelete?: (() => any) | undefined;
1287
1310
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1296,6 +1319,7 @@ $: ComponentInternalInstance;
1296
1319
  $data: {};
1297
1320
  $props: {
1298
1321
  readonly count?: (number | string) | undefined;
1322
+ readonly view?: views_4[number] | undefined;
1299
1323
  readonly onClick?: (() => any) | undefined;
1300
1324
  readonly onDelete?: (() => any) | undefined;
1301
1325
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1600,6 +1624,7 @@ export declare const Divider: DefineComponent<DividerProps, {}, {}, {}, {}, Comp
1600
1624
 
1601
1625
  export declare type DividerProps = {
1602
1626
  size: 's' | 'm';
1627
+ opacity?: number | string;
1603
1628
  };
1604
1629
 
1605
1630
  export declare const Dropdown: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
@@ -1674,7 +1699,7 @@ declare type EmptyResponseProps = ResponseBaseProps & {
1674
1699
 
1675
1700
  export declare type Filter = CheckboxGroupFilter_2 | DatepickerFilter_2;
1676
1701
 
1677
- export declare const FilterHub: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1702
+ export declare const FilterHub: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
1678
1703
 
1679
1704
  export declare type FilterHubProps = {
1680
1705
  list: Filter[];
@@ -1717,7 +1742,7 @@ export declare const IconView: DefineComponent<IconViewProps, {}, {}, {}, {}, Co
1717
1742
 
1718
1743
  export declare type IconViewProps = {
1719
1744
  icon: IconName;
1720
- view?: (typeof views_4)[number];
1745
+ view?: (typeof views_5)[number];
1721
1746
  size: (typeof sizes_4)[number];
1722
1747
  isRounded?: boolean;
1723
1748
  };
@@ -1780,7 +1805,7 @@ export declare type LinkEmits = {
1780
1805
  export declare type LinkProps = {
1781
1806
  tag?: (typeof tags_3)[number];
1782
1807
  href?: string;
1783
- view?: (typeof views_5)[number];
1808
+ view?: (typeof views_6)[number];
1784
1809
  size?: (typeof sizes_5)[number];
1785
1810
  weight?: (typeof weights_2)[number];
1786
1811
  iconLeft?: IconName;
@@ -1874,7 +1899,7 @@ export declare type MenuBarItemProps = {
1874
1899
  onClick: () => void;
1875
1900
  text: string;
1876
1901
  icon?: Maybe<IconName>;
1877
- view?: (typeof views_8)[number];
1902
+ view?: (typeof views_9)[number];
1878
1903
  badgeText?: string;
1879
1904
  };
1880
1905
 
@@ -1960,7 +1985,7 @@ export declare type ModalConfirmationEmits = {
1960
1985
  };
1961
1986
 
1962
1987
  export declare type ModalConfirmationProps = {
1963
- view: (typeof views_6)[number];
1988
+ view: (typeof views_7)[number];
1964
1989
  title: string;
1965
1990
  description: string;
1966
1991
  buttonText: string;
@@ -1978,6 +2003,12 @@ declare function onDropFilter(value: FilterValue): void;
1978
2003
 
1979
2004
  declare function open_2(): void;
1980
2005
 
2006
+ export declare const Popover: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
2007
+
2008
+ export declare type PopoverProps = {
2009
+ borderRadius?: string | number;
2010
+ };
2011
+
1981
2012
  export declare const Price: DefineComponent<PriceProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PriceProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1982
2013
 
1983
2014
  export declare type PriceProps = {
@@ -2147,7 +2178,7 @@ export declare const Tabs: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {},
2147
2178
  export declare type TabsProps = {
2148
2179
  value?: Maybe<number | string>;
2149
2180
  label?: string;
2150
- view: (typeof views_7)[number];
2181
+ view: (typeof views_8)[number];
2151
2182
  size: (typeof sizes_7)[number];
2152
2183
  isDisabled?: boolean;
2153
2184
  data: {
@@ -2446,15 +2477,17 @@ declare const views_2: readonly ["critical-primary", "critical", "base-primary",
2446
2477
 
2447
2478
  declare const views_3: readonly ["secondary", "critical", "primary", "surface", "base", "product-surface", "primary-flat", "base-shadow", "surface-shadow"];
2448
2479
 
2449
- declare const views_4: readonly ["base", "critical"];
2480
+ declare const views_4: readonly ["base-primary", "base-secondary"];
2481
+
2482
+ declare const views_5: readonly ["base", "critical"];
2450
2483
 
2451
- declare const views_5: readonly ["base", "secondary", "brand"];
2484
+ declare const views_6: readonly ["base", "secondary", "brand"];
2452
2485
 
2453
- declare const views_6: readonly ["base", "critical"];
2486
+ declare const views_7: readonly ["base", "critical"];
2454
2487
 
2455
- declare const views_7: readonly ["default", "flat", "flat-secondary"];
2488
+ declare const views_8: readonly ["default", "flat", "flat-secondary"];
2456
2489
 
2457
- declare const views_8: readonly ["base", "critical"];
2490
+ declare const views_9: readonly ["base", "critical"];
2458
2491
 
2459
2492
  declare const weights: readonly ["regular", "medium", "semibold", "bold"];
2460
2493