Compare commits

..

No commits in common. "f8e76ba5ec95f2d3044b34374ba8e6d768387fa1" and "570c7f5512ed1a7d5ecf370551e9631dc6850faa" have entirely different histories.

9 changed files with 338 additions and 4884 deletions

View File

@ -1,3 +0,0 @@
{
"presets": ["@babel/preset-env"]
}

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
node_modules
dist
.parcel-cache
test
.test

View File

@ -60,19 +60,14 @@ Tested in JS and React. Errors in work in React applications are revealed.
- Fixed bugs.
- Changed structure.
### 01.03.2023 - update 0.2.6
### 00.03.2023 - update 0.2.6
- Added new theme creation mode.
### 01.03.2023 - update 0.2.7
### 00.03.2023 - update 0.2.7
- Switch to new webpack project builder.
##### 04.03.2023 - fix 0.2.71
##### 00.03.2023 - fix 0.2.71
- Select import fixed.
### 06.03.2023 - update 0.3.0
- Completely redesigned assembly to webpack and completed the transition to a new platform.
- Assembly bugs fixed

View File

@ -1,6 +1,6 @@
# CG-SELECT
## version ~ 0.3.0
## version ~ 0.2.71
<a href="https://github.com/apuc/cg-select/blob/main/READMERU.md">ЧИТАТЬ НА РУССКОМ</a>
@ -97,5 +97,3 @@ All documentation on CG-SELECT is located in the folder of the same name. The do
16.12.2022 - release version 0.1.0!
20.01.2023 - upgrade to version 0.2.1
06.03.2023 - upgrade to version 0.3.0

View File

@ -1,6 +1,6 @@
# CG-SELECT
## Версия ~ 0.3.0
## Версия ~ 0.2.71
<a href="https://github.com/apuc/cg-select/blob/main/README.md">English README</a>
@ -96,5 +96,3 @@ const dropdown = new CGSelect({
16.12.2022 - release version 0.1.0!
20.01.2023 - upgrade to version 0.2.1
06.03.2023 - upgrade to version 0.3.0

View File

@ -62,7 +62,7 @@
</a>
<a href="#version--0231" id="version--0231" style="color: inherit; text-decoration: none">
<h2>version ~ 0.3.0</h2>
<h2>version ~ 0.2.6</h2>
</a>
<p>
This component allows you to create a custom select. It offers more flexible

5158
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "cg-select",
"version": "0.3.0",
"version": "0.2.71",
"source": "index.js",
"main": "dist/index.js",
"description": "Feature rich Select control for React/JS with multiselect, autocomplete and styling",
@ -23,25 +23,22 @@
"url": "https://github.com/apuc/cg-select/issues"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.21.4",
"@babel/preset-typescript": "^7.21.4",
"@types/prettier": "^2.7.2",
"babel-loader": "^9.1.2",
"css-loader": "^6.7.3",
"html-webpack-plugin": "^5.5.0",
"jsdoc": "^4.0.0",
"prettier": "^2.7.1",
"sass": "^1.60.0",
"sass-loader": "^13.2.2",
"style-loader": "^3.3.2",
"ts-loader": "^9.4.2",
"typedoc": "^0.23.28",
"typescript": "^5.0.2",
"webpack": "^5.77.0",
"webpack": "^5.77.0"
},
"dependencies": {
"@types/prettier": "^2.7.2",
"css-loader": "^6.7.3",
"html-webpack-plugin": "^5.5.0",
"style-loader": "^3.3.2",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.2"
"webpack-dev-server": "^4.13.1"
},
"keywords": [
"select",

View File

@ -5,14 +5,12 @@ module.exports = {
entry: './index.js',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'main.js',
filename: 'index.js',
clean: true,
library: 'CGSelect',
libraryTarget: 'umd',
},
// devServer: {
// open: true,
// port: 5500,
// port: 5000,
// },
module: {
rules: [
@ -25,17 +23,6 @@ module.exports = {
test: /\.s[ac]ss$/i,
use: ['style-loader', 'css-loader', 'sass-loader'],
},
{
test: /\.(?:js|mjs|cjs)$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
presets: [['@babel/preset-env', { targets: 'defaults' }]],
plugins: ['@babel/plugin-proposal-class-properties'],
},
},
},
],
},
resolve: {