@nextelco/common-ui 1.7.106 → 1.7.108
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.
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { PropsWithChildren } from 'react';
|
3
|
+
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
4
|
+
import { MainButtonTheme } from '../../../../types/themes/ButtonThemes';
|
5
|
+
import './MainButton.scss';
|
6
|
+
type Props = PropsWithChildren<{
|
7
|
+
icon: IconProp;
|
8
|
+
title: string;
|
9
|
+
theme: MainButtonTheme;
|
10
|
+
onClick: () => void;
|
11
|
+
}>;
|
12
|
+
declare const MainButton: ({ icon, title, theme, onClick }: Props) => React.JSX.Element;
|
13
|
+
export default MainButton;
|
@@ -17,4 +17,5 @@ export { default as FilterButton } from '../components/atoms/Button/variants/Fil
|
|
17
17
|
export { default as IconButton } from '../components/atoms/Button/variants/IconButton';
|
18
18
|
export { default as NavButton } from '../components/atoms/Button/variants/NavButton';
|
19
19
|
export { default as TabButton } from '../components/atoms/Button/variants/TabButton';
|
20
|
+
export { default as MainButton } from '../components/atoms/Button/variants/MainButton';
|
20
21
|
export { default as Stack } from '../components/atoms/Stack/Stack';
|
@@ -2,6 +2,6 @@ export { LoggedUser } from '../types/LoggedUser';
|
|
2
2
|
export { Menu, Submenu } from '../types/SidebarMenu';
|
3
3
|
export { Fetcher } from '../types/Fetcher';
|
4
4
|
export { IconTextTheme } from '../types/themes/IconTextThemes';
|
5
|
-
export { ActionButtonTheme, IconButtonTheme, } from '../types/themes/ButtonThemes';
|
5
|
+
export { ActionButtonTheme, IconButtonTheme, MainButtonTheme, } from '../types/themes/ButtonThemes';
|
6
6
|
export { AcronymTheme } from '../types/themes/AcronymThemes';
|
7
7
|
export { CustomSwitchTheme } from '../types/themes/CustomSwitchThemes';
|
package/package.json
CHANGED
@@ -1,69 +1,68 @@
|
|
1
|
-
{
|
2
|
-
"name": "@nextelco/common-ui",
|
3
|
-
"version": "1.7.
|
4
|
-
"description": "",
|
5
|
-
"main": "dist/bundle.js",
|
6
|
-
"types": "dist/types/index.d.ts",
|
7
|
-
"files": [
|
8
|
-
"dist"
|
9
|
-
],
|
10
|
-
"scripts": {
|
11
|
-
"build": "webpack --mode production",
|
12
|
-
"storybook": "storybook dev -p 6006",
|
13
|
-
"build-storybook": "storybook build",
|
14
|
-
"pub": "git add . && git commit -m \"update\" && git push && npm version patch && npm run build && npm publish",
|
15
|
-
"pubOnly": "npm run build && npm publish"
|
16
|
-
},
|
17
|
-
"keywords": [],
|
18
|
-
"author": "",
|
19
|
-
"license": "ISC",
|
20
|
-
"peerDependencies": {
|
21
|
-
"react": "^18.3.1",
|
22
|
-
"react-dom": "^18.3.1"
|
23
|
-
},
|
24
|
-
"devDependencies": {
|
25
|
-
"@chromatic-com/storybook": "^
|
26
|
-
"@storybook/addon-
|
27
|
-
"@storybook/addon-
|
28
|
-
"@storybook/addon-
|
29
|
-
"@storybook/addon-
|
30
|
-
"@storybook/addon-
|
31
|
-
"@storybook/addon-webpack5-compiler-
|
32
|
-
"@storybook/
|
33
|
-
"@
|
34
|
-
"@
|
35
|
-
"@
|
36
|
-
"@
|
37
|
-
"@types/
|
38
|
-
"
|
39
|
-
"
|
40
|
-
"
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
48
|
-
|
49
|
-
|
50
|
-
"
|
51
|
-
"
|
52
|
-
|
53
|
-
|
54
|
-
"@fortawesome/fontawesome
|
55
|
-
"
|
56
|
-
"
|
57
|
-
"
|
58
|
-
"
|
59
|
-
"
|
60
|
-
"
|
61
|
-
"
|
62
|
-
"
|
63
|
-
"
|
64
|
-
|
65
|
-
|
66
|
-
"
|
67
|
-
|
68
|
-
|
69
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@nextelco/common-ui",
|
3
|
+
"version": "1.7.108",
|
4
|
+
"description": "",
|
5
|
+
"main": "dist/bundle.js",
|
6
|
+
"types": "dist/types/index.d.ts",
|
7
|
+
"files": [
|
8
|
+
"dist"
|
9
|
+
],
|
10
|
+
"scripts": {
|
11
|
+
"build": "webpack --mode production",
|
12
|
+
"storybook": "storybook dev -p 6006",
|
13
|
+
"build-storybook": "storybook build",
|
14
|
+
"pub": "git add . && git commit -m \"update\" && git push && npm version patch && npm run build && npm publish",
|
15
|
+
"pubOnly": "npm run build && npm publish"
|
16
|
+
},
|
17
|
+
"keywords": [],
|
18
|
+
"author": "",
|
19
|
+
"license": "ISC",
|
20
|
+
"peerDependencies": {
|
21
|
+
"react": "^18.3.1",
|
22
|
+
"react-dom": "^18.3.1"
|
23
|
+
},
|
24
|
+
"devDependencies": {
|
25
|
+
"@chromatic-com/storybook": "^4.0.0",
|
26
|
+
"@storybook/addon-docs": "^9.0.0",
|
27
|
+
"@storybook/addon-interactions": "^8.6.14",
|
28
|
+
"@storybook/addon-links": "^9.0.0",
|
29
|
+
"@storybook/addon-onboarding": "^9.0.0",
|
30
|
+
"@storybook/addon-webpack5-compiler-babel": "^3.0.6",
|
31
|
+
"@storybook/addon-webpack5-compiler-swc": "^3.0.0",
|
32
|
+
"@storybook/react-webpack5": "^9.0.0",
|
33
|
+
"@types/js-cookie": "^3.0.6",
|
34
|
+
"@types/react": "^19.0.8",
|
35
|
+
"@types/react-dom": "^19.0.3",
|
36
|
+
"@types/socket.io-client": "^3.0.0",
|
37
|
+
"@types/storybook__react": "^5.2.1",
|
38
|
+
"css-loader": "^7.1.2",
|
39
|
+
"msw": "^2.7.3",
|
40
|
+
"sass": "^1.84.0",
|
41
|
+
"sass-loader": "^16.0.4",
|
42
|
+
"storybook": "^9.0.0",
|
43
|
+
"style-loader": "^4.0.0",
|
44
|
+
"ts-loader": "^9.5.2",
|
45
|
+
"typescript": "^5.7.3",
|
46
|
+
"webpack": "^5.97.1",
|
47
|
+
"webpack-cli": "^6.0.1"
|
48
|
+
},
|
49
|
+
"dependencies": {
|
50
|
+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
51
|
+
"@fortawesome/free-brands-svg-icons": "^6.7.2",
|
52
|
+
"@fortawesome/free-regular-svg-icons": "^6.7.2",
|
53
|
+
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
54
|
+
"@fortawesome/react-fontawesome": "^0.2.2",
|
55
|
+
"axios": "^1.8.1",
|
56
|
+
"js-cookie": "^3.0.5",
|
57
|
+
"keycloak-js": "^25.0.0",
|
58
|
+
"react-infinite-scroll-component": "^6.1.0",
|
59
|
+
"react-remove-scroll": "^2.6.3",
|
60
|
+
"react-switch": "^7.1.0",
|
61
|
+
"react-tooltip": "^5.28.0",
|
62
|
+
"socket.io-client": "^4.8.1",
|
63
|
+
"tough-cookie": "^5.1.2"
|
64
|
+
},
|
65
|
+
"overrides": {
|
66
|
+
"storybook": "$storybook"
|
67
|
+
}
|
68
|
+
}
|