@nextelco/common-ui 1.7.107 → 1.7.109
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/bundle.js +1 -1
- package/dist/types/components/atoms/Button/variants/MainButton.d.ts +2 -1
- package/dist/types/exports/atoms.d.ts +0 -1
- package/dist/types/exports/molecules.d.ts +0 -1
- package/package.json +68 -68
- package/dist/types/components/atoms/Button/Button.d.ts +0 -18
- package/dist/types/components/atoms/Button/variants/NavButton.d.ts +0 -9
- package/dist/types/components/molecules/FormItem/FormItem.d.ts +0 -12
@@ -6,8 +6,9 @@ import './MainButton.scss';
|
|
6
6
|
type Props = PropsWithChildren<{
|
7
7
|
icon: IconProp;
|
8
8
|
title: string;
|
9
|
+
description?: string;
|
9
10
|
theme: MainButtonTheme;
|
10
11
|
onClick: () => void;
|
11
12
|
}>;
|
12
|
-
declare const MainButton: ({ icon, title, theme, onClick }: Props) => React.JSX.Element;
|
13
|
+
declare const MainButton: ({ icon, title, description, theme, onClick }: Props) => React.JSX.Element;
|
13
14
|
export default MainButton;
|
@@ -15,7 +15,6 @@ export { default as Select } from '../components/atoms/Select/Select';
|
|
15
15
|
export { default as ActionButton } from '../components/atoms/Button/variants/ActionButton';
|
16
16
|
export { default as FilterButton } from '../components/atoms/Button/variants/FilterButton';
|
17
17
|
export { default as IconButton } from '../components/atoms/Button/variants/IconButton';
|
18
|
-
export { default as NavButton } from '../components/atoms/Button/variants/NavButton';
|
19
18
|
export { default as TabButton } from '../components/atoms/Button/variants/TabButton';
|
20
19
|
export { default as MainButton } from '../components/atoms/Button/variants/MainButton';
|
21
20
|
export { default as Stack } from '../components/atoms/Stack/Stack';
|
@@ -1,4 +1,3 @@
|
|
1
1
|
export { default as Modal } from '../components/molecules/Modal/Modal';
|
2
|
-
export { default as FormItem } from '../components/molecules/FormItem/FormItem';
|
3
2
|
export { default as Sidebar } from '../components/molecules/Sidebar/Sidebar';
|
4
3
|
export { default as MultiTagPicker, Option } from '../components/molecules/MultiTagPicker/MultiTagPicker';
|
package/package.json
CHANGED
@@ -1,68 +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": "^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
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@nextelco/common-ui",
|
3
|
+
"version": "1.7.109",
|
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
|
+
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
4
|
-
import './Button.scss';
|
5
|
-
type Props = PropsWithChildren<{
|
6
|
-
iconTop?: IconProp;
|
7
|
-
iconPrev?: IconProp;
|
8
|
-
iconNext?: IconProp;
|
9
|
-
title?: string;
|
10
|
-
srcimage?: string;
|
11
|
-
size: 'cui-circ-sm' | 'cui-lg' | 'cui-md' | 'cui-sm' | 'cui-ext_lg' | 'cui-md_form' | 'cui-ext_long' | 'cui-md_lg';
|
12
|
-
selected?: boolean;
|
13
|
-
mode?: 'cui-add' | 'cui-base_actions' | 'cui-base_actions_gray' | 'cui-filters_btn' | 'cui-create' | 'cui-add_partner' | 'cui-delete' | 'cui-logout' | 'cui-save_project' | 'cui-delete_project' | 'cui-download_file' | 'cui-delete_file' | 'cui-choose_file' | 'cui-exec_validator' | 'cui-download_excel' | 'cui-project_valid' | 'cui-project_invalid' | 'cui-generate_BoM_sin' | 'cui-save' | 'cui-cancel' | 'cui-history_options' | 'cui-login' | 'cui-login_microsoft' | 'cui-options_home_screen' | 'cui-project_and_operator_options' | 'cui-add_logo';
|
14
|
-
variant: 'cui-navigate' | 'cui-tabs' | 'cui-actions' | 'cui-filters' | 'cui-user_actions';
|
15
|
-
onClick: () => void;
|
16
|
-
}>;
|
17
|
-
declare const Button: ({ children, iconTop, iconPrev, iconNext, size, onClick, selected, variant, mode, }: Props) => React.JSX.Element;
|
18
|
-
export default Button;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
import './NavButton.scss';
|
4
|
-
type Props = PropsWithChildren<{
|
5
|
-
onClick: () => void;
|
6
|
-
navigate: 'NEXT' | 'PREVIOUS';
|
7
|
-
}>;
|
8
|
-
declare const NavButton: ({ onClick, navigate }: Props) => React.JSX.Element;
|
9
|
-
export default NavButton;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './FormItem.scss';
|
3
|
-
type Props = {
|
4
|
-
label: string;
|
5
|
-
type: 'cui-added' | 'cui-adding';
|
6
|
-
placeholder?: string;
|
7
|
-
disabled?: boolean;
|
8
|
-
readOnly?: boolean;
|
9
|
-
mode: 'cui-add' | 'cui-delete';
|
10
|
-
};
|
11
|
-
declare const FormItem: ({ placeholder, disabled, readOnly, mode }: Props) => React.JSX.Element;
|
12
|
-
export default FormItem;
|