benivo-ui-library 1.9.52 → 1.9.53
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/LICENSE +21 -0
- package/lib/README.md +38 -0
- package/lib/package.json +133 -0
- package/package.json +5 -2
- /package/{arrowButton.less → lib/arrowButton.less} +0 -0
- /package/{asideSummaryCard.less → lib/asideSummaryCard.less} +0 -0
- /package/{asideSummaryCardSection.less → lib/asideSummaryCardSection.less} +0 -0
- /package/{assignmentSelectBox.less → lib/assignmentSelectBox.less} +0 -0
- /package/{autoComplete.less → lib/autoComplete.less} +0 -0
- /package/{benivo-ui-lib.less → lib/benivo-ui-lib.less} +0 -0
- /package/{benivoLogo.less → lib/benivoLogo.less} +0 -0
- /package/{button.less → lib/button.less} +0 -0
- /package/{buttonOld.less → lib/buttonOld.less} +0 -0
- /package/{checkbox.less → lib/checkbox.less} +0 -0
- /package/{copyInput.less → lib/copyInput.less} +0 -0
- /package/{countryFlag.less → lib/countryFlag.less} +0 -0
- /package/{data-table.less → lib/data-table.less} +0 -0
- /package/{datePicker.less → lib/datePicker.less} +0 -0
- /package/{drawer.less → lib/drawer.less} +0 -0
- /package/{dropdownButton.less → lib/dropdownButton.less} +0 -0
- /package/{expander.less → lib/expander.less} +0 -0
- /package/{fantasyButton.less → lib/fantasyButton.less} +0 -0
- /package/{forms.less → lib/forms.less} +0 -0
- /package/{frame.less → lib/frame.less} +0 -0
- /package/{freshDeskChat.less → lib/freshDeskChat.less} +0 -0
- /package/{googleTranslate.less → lib/googleTranslate.less} +0 -0
- /package/{image.less → lib/image.less} +0 -0
- /package/{index.js → lib/index.js} +0 -0
- /package/{index.js.LICENSE.txt → lib/index.js.LICENSE.txt} +0 -0
- /package/{infoMessageBanner.less → lib/infoMessageBanner.less} +0 -0
- /package/{input.less → lib/input.less} +0 -0
- /package/{loader.less → lib/loader.less} +0 -0
- /package/{main.less → lib/main.less} +0 -0
- /package/{mixins.less → lib/mixins.less} +0 -0
- /package/{navigation.less → lib/navigation.less} +0 -0
- /package/{notifications.less → lib/notifications.less} +0 -0
- /package/{pop-up.less → lib/pop-up.less} +0 -0
- /package/{radiobutton.less → lib/radiobutton.less} +0 -0
- /package/{select.less → lib/select.less} +0 -0
- /package/{sidebarMenu.less → lib/sidebarMenu.less} +0 -0
- /package/{spacing.less → lib/spacing.less} +0 -0
- /package/{spinner.less → lib/spinner.less} +0 -0
- /package/{splashScreen.less → lib/splashScreen.less} +0 -0
- /package/{status.less → lib/status.less} +0 -0
- /package/{swiper-a11y.less → lib/swiper-a11y.less} +0 -0
- /package/{swiper-effect-cube.less → lib/swiper-effect-cube.less} +0 -0
- /package/{swiper-effect-fade.less → lib/swiper-effect-fade.less} +0 -0
- /package/{swiper-effect-flip.less → lib/swiper-effect-flip.less} +0 -0
- /package/{swiper-lazy.less → lib/swiper-lazy.less} +0 -0
- /package/{swiper-navigation.less → lib/swiper-navigation.less} +0 -0
- /package/{swiper-pagination.less → lib/swiper-pagination.less} +0 -0
- /package/{swiper-scrollbar.less → lib/swiper-scrollbar.less} +0 -0
- /package/{swiper-thumb.less → lib/swiper-thumb.less} +0 -0
- /package/{swiper-zoom.less → lib/swiper-zoom.less} +0 -0
- /package/{swiper.less → lib/swiper.less} +0 -0
- /package/{tabGroup.less → lib/tabGroup.less} +0 -0
- /package/{table-sort.less → lib/table-sort.less} +0 -0
- /package/{tabs.less → lib/tabs.less} +0 -0
- /package/{tagsSelect.less → lib/tagsSelect.less} +0 -0
- /package/{textarea.less → lib/textarea.less} +0 -0
- /package/{tooltip.less → lib/tooltip.less} +0 -0
- /package/{typography-helper.less → lib/typography-helper.less} +0 -0
- /package/{typography.less → lib/typography.less} +0 -0
- /package/{variables.less → lib/variables.less} +0 -0
- /package/{withPortal.less → lib/withPortal.less} +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Benivo
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/lib/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# benivo-ui-library
|
|
2
|
+
|
|
3
|
+
[](https://travis-ci.org/joemccann/dillinger)
|
|
4
|
+
|
|
5
|
+
`benivo-ui-library` is a collection of react hooks and components for faster development.
|
|
6
|
+
|
|
7
|
+
# Installation
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
$npm install benivo-ui-library --save
|
|
11
|
+
```
|
|
12
|
+
# Basic usage
|
|
13
|
+
|
|
14
|
+
```js
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import { Input, Select, Checkbox, Button } from 'benivo-ui-library';
|
|
17
|
+
import { useInput, useSelect, useCheckbox } from 'benivo-ui-library';
|
|
18
|
+
import { withTransition } from 'benivo-ui-library';
|
|
19
|
+
|
|
20
|
+
function MyApp() {
|
|
21
|
+
const email = useInput('initialvalue@gmail.com');
|
|
22
|
+
const agree = useCheckbox(false);
|
|
23
|
+
const event= useSelect('all');
|
|
24
|
+
const eventOptions=['all', 'news', 'promotional'];
|
|
25
|
+
const handleSubmit=()=>{
|
|
26
|
+
//some smart code here
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
return (
|
|
30
|
+
<form>
|
|
31
|
+
<Input label="Email" {...email.bind} />
|
|
32
|
+
<Select label="Events" options={eventOptions} {...event.bind}/>
|
|
33
|
+
<Checkbox label="I agree" {...agree.bind} />
|
|
34
|
+
<Button onClick={handleSubmit}>Subscribe</Button>
|
|
35
|
+
</form>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
```
|
package/lib/package.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "benivo-ui-library",
|
|
3
|
+
"version": "1.9.53",
|
|
4
|
+
"description": "Benivo UI library",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"readme": "README.md",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"react",
|
|
10
|
+
"react-ui-lib",
|
|
11
|
+
"components",
|
|
12
|
+
"hooks"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"test": "jest",
|
|
16
|
+
"coverage": "jest --coverage",
|
|
17
|
+
"prestart": "npm test",
|
|
18
|
+
"build": "rimraf lib && webpack --mode production --config webpack.config.js",
|
|
19
|
+
"new-node-build": "set NODE_OPTIONS=--openssl-legacy-provider && rimraf lib && webpack --mode production --config webpack.config.js",
|
|
20
|
+
"start": "webpack-dev-server --open --hot --mode development --config webpack.config.dev.js",
|
|
21
|
+
"debug": "webpack-dev-server --open --hot --mode development --config webpack.config.dev.js",
|
|
22
|
+
"storybook": "storybook dev -p 6006",
|
|
23
|
+
"build:storybook": "storybook build"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"prop-types": "^15.7.2",
|
|
27
|
+
"react": "^18.3.1",
|
|
28
|
+
"react-dom": "^18.3.1"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@babel/cli": "^7.28.6",
|
|
32
|
+
"@babel/core": "^7.28.6",
|
|
33
|
+
"@babel/node": "^7.28.6",
|
|
34
|
+
"@babel/plugin-transform-class-properties": "^7.28.6",
|
|
35
|
+
"@babel/plugin-transform-modules-commonjs": "^7.28.6",
|
|
36
|
+
"@babel/plugin-transform-optional-chaining": "^7.28.6",
|
|
37
|
+
"@babel/plugin-transform-runtime": "^7.28.5",
|
|
38
|
+
"@babel/plugin-transform-shorthand-properties": "^7.27.1",
|
|
39
|
+
"@babel/polyfill": "^7.12.1",
|
|
40
|
+
"@babel/preset-env": "^7.28.6",
|
|
41
|
+
"@babel/preset-react": "^7.28.5",
|
|
42
|
+
"@babel/runtime": "^7.28.6",
|
|
43
|
+
"@chromatic-com/storybook": "^3.2.7",
|
|
44
|
+
"@storybook/addon-essentials": "^8.6.17",
|
|
45
|
+
"@storybook/addon-interactions": "^8.6.17",
|
|
46
|
+
"@storybook/addon-links": "^8.6.17",
|
|
47
|
+
"@storybook/addon-onboarding": "^8.6.17",
|
|
48
|
+
"@storybook/addon-styling-webpack": "^1.0.0",
|
|
49
|
+
"@storybook/addon-webpack5-compiler-swc": "^3.0.0",
|
|
50
|
+
"@storybook/blocks": "^8.6.17",
|
|
51
|
+
"@storybook/preset-react-webpack": "8.6.17",
|
|
52
|
+
"@storybook/react": "^8.6.17",
|
|
53
|
+
"@storybook/react-webpack5": "^8.6.17",
|
|
54
|
+
"@storybook/test": "^8.6.17",
|
|
55
|
+
"@testing-library/dom": "^10.4.1",
|
|
56
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
57
|
+
"@testing-library/react": "^16.3.2",
|
|
58
|
+
"@testing-library/user-event": "^14.6.1",
|
|
59
|
+
"babel-jest": "^30.2.0",
|
|
60
|
+
"babel-loader": "^10.0.0",
|
|
61
|
+
"babel-plugin-react-require": "^4.0.3",
|
|
62
|
+
"body-parser": "^2.2.2",
|
|
63
|
+
"copy-webpack-plugin": "^11.0.0",
|
|
64
|
+
"css-loader": "^7.1.2",
|
|
65
|
+
"css-minimizer-webpack-plugin": "^4.1.0",
|
|
66
|
+
"file-loader": "^6.2.0",
|
|
67
|
+
"html-webpack-plugin": "^5.6.0",
|
|
68
|
+
"jest": "^30.2.0",
|
|
69
|
+
"jest-canvas-mock": "^2.5.2",
|
|
70
|
+
"jest-cli": "^30.2.0",
|
|
71
|
+
"jest-environment-jsdom": "^30.2.0",
|
|
72
|
+
"less": "^4.5.1",
|
|
73
|
+
"less-loader": "^12.3.0",
|
|
74
|
+
"mini-css-extract-plugin": "^2.6.1",
|
|
75
|
+
"path": "^0.12.7",
|
|
76
|
+
"prop-types": "^15.7.2",
|
|
77
|
+
"react": "^18.3.1",
|
|
78
|
+
"react-datepicker": "^4.8.0",
|
|
79
|
+
"react-dom": "^18.3.1",
|
|
80
|
+
"storybook": "^8.6.17",
|
|
81
|
+
"style-loader": "^3.3.3",
|
|
82
|
+
"terser-webpack-plugin": "^5.3.6",
|
|
83
|
+
"url-loader": "^4.1.1",
|
|
84
|
+
"webpack": "^5.104.1",
|
|
85
|
+
"webpack-bundle-analyzer": "^5.2.0",
|
|
86
|
+
"webpack-cli": "^6.0.1",
|
|
87
|
+
"webpack-dev-middleware": "^7.4.5",
|
|
88
|
+
"webpack-dev-server": "^5.2.3",
|
|
89
|
+
"webpack-hot-middleware": "^2.26.1",
|
|
90
|
+
"webpack-md5-hash": "0.0.6",
|
|
91
|
+
"webpack-node-externals": "^3.0.0"
|
|
92
|
+
},
|
|
93
|
+
"dependencies": {
|
|
94
|
+
"dompurify": "^3.3.1",
|
|
95
|
+
"lodash": "^4.17.23",
|
|
96
|
+
"moment": "^2.29.4",
|
|
97
|
+
"primereact": "^10.9.1",
|
|
98
|
+
"react-device-detect": "^2.2.3",
|
|
99
|
+
"react-loading-skeleton": "^3.1.0",
|
|
100
|
+
"react-notifications-component": "^4.0.1",
|
|
101
|
+
"react-places-autocomplete": "^7.2.1",
|
|
102
|
+
"react-router-dom": "^5.3.4",
|
|
103
|
+
"react-select": "^5.5.0",
|
|
104
|
+
"rimraf": "^6.0.1",
|
|
105
|
+
"swiper": "^12.1.2"
|
|
106
|
+
},
|
|
107
|
+
"overrides": {
|
|
108
|
+
"babel-loader": {
|
|
109
|
+
"loader-utils": "^2.0.4"
|
|
110
|
+
},
|
|
111
|
+
"eslint-loader": {
|
|
112
|
+
"loader-utils": "^2.0.4"
|
|
113
|
+
},
|
|
114
|
+
"file-loader": {
|
|
115
|
+
"loader-utils": "^2.0.4",
|
|
116
|
+
"ajv": "^8.18.0"
|
|
117
|
+
},
|
|
118
|
+
"mini-css-extract-plugin": {
|
|
119
|
+
"loader-utils": "^2.0.4"
|
|
120
|
+
},
|
|
121
|
+
"url-loader": {
|
|
122
|
+
"loader-utils": "^2.0.4",
|
|
123
|
+
"ajv": "^8.18.0"
|
|
124
|
+
},
|
|
125
|
+
"source-map-resolve": {
|
|
126
|
+
"decode-uri-component": "^0.2.1"
|
|
127
|
+
},
|
|
128
|
+
"minimatch": "^10.2.1",
|
|
129
|
+
"glob": "^11.0.0",
|
|
130
|
+
"qs": "^6.14.2",
|
|
131
|
+
"tar": "^7.5.8"
|
|
132
|
+
}
|
|
133
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "benivo-ui-library",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.53",
|
|
4
4
|
"description": "Benivo UI library",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -129,5 +129,8 @@
|
|
|
129
129
|
"glob": "^11.0.0",
|
|
130
130
|
"qs": "^6.14.2",
|
|
131
131
|
"tar": "^7.5.8"
|
|
132
|
-
}
|
|
132
|
+
},
|
|
133
|
+
"files": [
|
|
134
|
+
"lib"
|
|
135
|
+
]
|
|
133
136
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|