@nextelco/common-ui 1.5.86 → 1.5.92

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.
@@ -10,8 +10,7 @@ type Props = PropsWithChildren<{
10
10
  clickable: boolean;
11
11
  fontColor: string;
12
12
  backgroundColor: string;
13
- fixedSize: boolean;
14
13
  onClick: () => void;
15
14
  }>;
16
- declare const Card2: ({ icon, title, subtitle, thumbnail, isVideo, clickable, fontColor, backgroundColor, fixedSize, onClick }: Props) => React.JSX.Element;
15
+ declare const Card2: ({ icon, title, subtitle, thumbnail, isVideo, clickable, fontColor, backgroundColor, onClick }: Props) => React.JSX.Element;
17
16
  export default Card2;
@@ -11,8 +11,7 @@ type Props = PropsWithChildren<{
11
11
  buttonIcon: IconProp;
12
12
  buttonFontColor: string;
13
13
  buttonBackgroundColor: string;
14
- fixedSize: boolean;
15
14
  onClick: () => void;
16
15
  }>;
17
- declare const Card3: ({ image, title, subtitle, fontColor, backgroundColor, buttonIcon, buttonFontColor, buttonBackgroundColor, fixedSize, onClick, }: Props) => React.JSX.Element;
16
+ declare const Card3: ({ image, title, subtitle, fontColor, backgroundColor, buttonIcon, buttonFontColor, buttonBackgroundColor, onClick }: Props) => React.JSX.Element;
18
17
  export default Card3;
@@ -11,8 +11,7 @@ type Props = PropsWithChildren<{
11
11
  clickable: boolean;
12
12
  fontColor: string;
13
13
  backgroundColor: string;
14
- fixedSize: boolean;
15
14
  onClick: () => void;
16
15
  }>;
17
- declare const Card4: ({ icon, iconColor, title, thumbnail, isVideo, clickable, fontColor, backgroundColor, fixedSize, onClick }: Props) => React.JSX.Element;
16
+ declare const Card4: ({ icon, iconColor, title, thumbnail, isVideo, clickable, fontColor, backgroundColor, onClick }: Props) => React.JSX.Element;
18
17
  export default Card4;
@@ -12,5 +12,5 @@ type Props = PropsWithChildren<{
12
12
  fixedSize: boolean;
13
13
  onClick: () => void;
14
14
  }>;
15
- declare const Card5: ({ image, title, subtitle, undertitle, icon, fontColor, backgroundColor, fixedSize, onClick }: Props) => React.JSX.Element;
15
+ declare const Card5: ({ image, title, subtitle, undertitle, icon, fontColor, backgroundColor, onClick }: Props) => React.JSX.Element;
16
16
  export default Card5;
@@ -14,8 +14,7 @@ type Props = PropsWithChildren<{
14
14
  fontColor: string;
15
15
  backgroundColor: string;
16
16
  image: string;
17
- fixedSize: boolean;
18
17
  onClick: () => void;
19
18
  }>;
20
- declare const Card6: ({ title, subtitle, content, content2, buttonContent, buttonIcon, buttonFontColor, buttonBackgroundColor, fontColor, backgroundColor, image, fixedSize, onClick }: Props) => React.JSX.Element;
19
+ declare const Card6: ({ title, subtitle, content, content2, buttonContent, buttonIcon, buttonFontColor, buttonBackgroundColor, fontColor, backgroundColor, image, onClick }: Props) => React.JSX.Element;
21
20
  export default Card6;
@@ -5,6 +5,7 @@ interface SelectOption {
5
5
  label: string;
6
6
  }
7
7
  interface SelectProps {
8
+ placeholder: string;
8
9
  options: SelectOption[];
9
10
  value: string;
10
11
  onChange: (value: string) => void;
@@ -9,5 +9,6 @@ export declare const Disabled: Story;
9
9
  export declare const SmallContainer: Story;
10
10
  export declare const LargeContainer: Story;
11
11
  export declare const NoOptions: Story;
12
- export declare const LongLabels: Story;
12
+ export declare const LongPlaceholder: Story;
13
13
  export declare const Responsive: Story;
14
+ export declare const WithSelectedValue: Story;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ interface LazyLoadListProps {
3
+ items: any[];
4
+ setItems: (items: any[]) => void;
5
+ page: number;
6
+ limit: number;
7
+ setPage: (page: number) => void;
8
+ hasMore: boolean;
9
+ setHasMore: (hasMore: boolean) => void;
10
+ filters: {
11
+ [key: string]: string;
12
+ };
13
+ }
14
+ declare const LazyLoadList: React.FC<LazyLoadListProps>;
15
+ export default LazyLoadList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextelco/common-ui",
3
- "version": "1.5.86",
3
+ "version": "1.5.92",
4
4
  "description": "",
5
5
  "main": "dist/bundle.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -39,6 +39,7 @@
39
39
  "@types/react-dom": "^19.0.3",
40
40
  "@types/storybook__react": "^5.2.1",
41
41
  "css-loader": "^7.1.2",
42
+ "msw": "^2.7.3",
42
43
  "sass": "^1.84.0",
43
44
  "sass-loader": "^16.0.4",
44
45
  "storybook": "^8.5.3",
@@ -57,7 +58,9 @@
57
58
  "axios": "^1.8.1",
58
59
  "js-cookie": "^3.0.5",
59
60
  "keycloak-js": "^25.0.6",
61
+ "react-infinite-scroll-component": "^6.1.0",
60
62
  "react-switch": "^7.1.0",
61
- "react-tooltip": "^5.28.0"
63
+ "react-tooltip": "^5.28.0",
64
+ "tough-cookie": "^5.1.2"
62
65
  }
63
66
  }