@wavelengthusaf/components 2.0.0 → 2.0.1
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/package.json +20 -46
- package/LICENSE +0 -21
- package/README.md +0 -49
- package/apps/package/package.json +0 -69
- /package/{apps/package/dist → dist}/CustomHooks/useClickOutside.d.ts +0 -0
- /package/{apps/package/dist → dist}/CustomHooks/useClickOutside.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/CSFD/GreenEllipse.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/CSFD/GreenEllipse.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/CSFD/ManyPlanes.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/CSFD/ManyPlanes.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/PageComponents/NotAvailablePage.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/PageComponents/NotAvailablePage.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/PageComponents/WavelengthSideBar.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/PageComponents/WavelengthSideBar.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/PageComponents/WavelengthSpinningLogo.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/PageComponents/WavelengthSpinningLogo.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/PageComponents/WavelengthSpinningLogoComponent.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/PageComponents/WavelengthSpinningLogoComponent.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/buttons/WavelengthButton/WavelengthButton.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/buttons/WavelengthButton/WavelengthButton.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/buttons/WavelengthDropdownButton/WavelengthAutocomplete.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/buttons/WavelengthDropdownButton/WavelengthAutocomplete.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/buttons/WavelengthDropdownButton/WavelengthDropdownButton.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/buttons/WavelengthDropdownButton/WavelengthDropdownButton.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/buttons/WavelengthFileDownloader.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/buttons/WavelengthFileDownloader.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/containers/WavelengthBox/WavelengthBox.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/containers/WavelengthBox/WavelengthBox.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/containers/WavelengthContentPlaceholder/WavelengthContentPlaceholder.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/containers/WavelengthContentPlaceholder/WavelengthContentPlaceholder.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/example/WavelengthExampleComponent.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/example/WavelengthExampleComponent.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/footers/WavelengthFooter/WavelengthFooter.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/footers/WavelengthFooter/WavelengthFooter.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/headers/WavelengthTitleBar/WavelengthBannerHeader.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/headers/WavelengthTitleBar/WavelengthBannerHeader.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/headers/WavelengthTitleBar/WavelengthTitleBar.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/headers/WavelengthTitleBar/WavelengthTitleBar.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/logos/applogo/AppLogo.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/logos/applogo/AppLogo.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/modals/WavelengthConfirmationModal.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/modals/WavelengthConfirmationModal.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/modals/WavelengthContentModal.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/modals/WavelengthContentModal.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/modals/WavelengthDropdown.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/modals/WavelengthDropdown.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/modals/WavelengthPopUpMenu.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/modals/WavelengthPopUpMenu.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/search/SearchTextField.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/search/SearchTextField.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/search/WavelengthSearch.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/search/WavelengthSearch.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/snackbars/TestSnackbar.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/snackbars/TestSnackbar.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/snackbars/WavelengthSnackbar.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/snackbars/WavelengthSnackbar.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/components/snackbars/WavelengthStandardSnackbar.d.ts +0 -0
- /package/{apps/package/dist → dist}/components/snackbars/WavelengthStandardSnackbar.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/functions/math.d.ts +0 -0
- /package/{apps/package/dist → dist}/functions/math.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/functions/string.d.ts +0 -0
- /package/{apps/package/dist → dist}/functions/string.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/index.d.ts +0 -0
- /package/{apps/package/dist → dist}/index.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/index.js +0 -0
- /package/{apps/package/dist → dist}/index.js.map +0 -0
- /package/{apps/package/dist → dist}/themes/Palette.d.ts +0 -0
- /package/{apps/package/dist → dist}/themes/Palette.d.ts.map +0 -0
- /package/{apps/package/dist → dist}/themes/WavelengthAppTheme.d.ts +0 -0
- /package/{apps/package/dist → dist}/themes/WavelengthAppTheme.d.ts.map +0 -0
package/package.json
CHANGED
|
@@ -2,34 +2,28 @@
|
|
|
2
2
|
"name": "@wavelengthusaf/components",
|
|
3
3
|
"author": "563 EWS - Wavelength",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "2.0.
|
|
5
|
+
"version": "2.0.1",
|
|
6
6
|
"description": "Common component library used by Wavelength developers",
|
|
7
|
-
"main": "
|
|
8
|
-
"module": "
|
|
9
|
-
"types": "
|
|
7
|
+
"main": "/dist/index.js",
|
|
8
|
+
"module": "/dist/index.js",
|
|
9
|
+
"types": "/dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/esm/index.js",
|
|
14
|
+
"require": "./dist/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
10
17
|
"type": "module",
|
|
11
|
-
"workspaces": [
|
|
12
|
-
"/apps/package",
|
|
13
|
-
"/apps/testbed"
|
|
14
|
-
],
|
|
15
18
|
"files": [
|
|
16
|
-
"
|
|
17
|
-
"package.json",
|
|
18
|
-
"README.md"
|
|
19
|
+
"dist/**/*"
|
|
19
20
|
],
|
|
20
21
|
"scripts": {
|
|
21
|
-
"dev": "cd apps/testbed && npm run dev",
|
|
22
22
|
"compile": "tsc",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"test:cypress": "cd apps/testbed && cypress run --browser electron --component",
|
|
28
|
-
"watch": "cd apps/package && npm run watch",
|
|
29
|
-
"build": "npm run clean && npm run build:package && npm run build:testbed",
|
|
30
|
-
"build:package": "cd apps/package && npm run build",
|
|
31
|
-
"build:testbed": "cd apps/testbed && npm run build",
|
|
32
|
-
"publish": "npm publish"
|
|
23
|
+
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
24
|
+
"test": "jest --runInBand --coverage",
|
|
25
|
+
"build": "tsup && tsc --jsx react-jsx --project ./tsconfig.json",
|
|
26
|
+
"watch": "tsup --watch && tsc --jsx react-jsx --project ./tsconfig.json"
|
|
33
27
|
},
|
|
34
28
|
"repository": {
|
|
35
29
|
"type": "git",
|
|
@@ -44,38 +38,22 @@
|
|
|
44
38
|
},
|
|
45
39
|
"devDependencies": {
|
|
46
40
|
"@babel/preset-typescript": "^7.25.7",
|
|
47
|
-
"@cypress/code-coverage": "^3.12.45",
|
|
48
41
|
"@testing-library/react": "^16.0.0",
|
|
49
|
-
"@types/cypress": "^1.1.6",
|
|
50
42
|
"@types/jest": "^29.5.14",
|
|
51
|
-
"@types/
|
|
52
|
-
"@types/react": "^18.3.10",
|
|
53
|
-
"@types/react-copy-to-clipboard": "^5.0.7",
|
|
54
|
-
"@types/react-dom": "^18.3.0",
|
|
55
|
-
"@types/react-syntax-highlighter": "^15.5.13",
|
|
43
|
+
"@types/react-dom": "^18.2.18",
|
|
56
44
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
57
45
|
"@typescript-eslint/parser": "^7.18.0",
|
|
58
|
-
"@vitejs/plugin-react": "^4.3.3",
|
|
59
46
|
"babel-plugin-prismjs": "^2.1.0",
|
|
60
47
|
"css-loader": "^7.1.2",
|
|
61
|
-
"
|
|
62
|
-
"cypress-real-events": "^1.13.0",
|
|
63
|
-
"eslint": "^8.57.1",
|
|
48
|
+
"eslint": "^8.56.0",
|
|
64
49
|
"eslint-config-love": "^64.0.0",
|
|
65
50
|
"eslint-config-prettier": "^9.1.0",
|
|
66
|
-
"eslint-plugin-prettier": "^5.2.1",
|
|
67
51
|
"eslint-plugin-react": "^7.33.2",
|
|
68
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
69
|
-
"eslint-plugin-react-refresh": "^0.4.6",
|
|
70
|
-
"file-loader": "^6.2.0",
|
|
71
|
-
"globals": "^15.11.0",
|
|
72
52
|
"jest": "^29.7.0",
|
|
73
53
|
"jest-environment-jsdom": "^29.7.0",
|
|
74
|
-
"
|
|
75
|
-
"ts-jest": "^29.2.5",
|
|
54
|
+
"ts-jest": "^29.1.2",
|
|
76
55
|
"ts-node": "^10.9.2",
|
|
77
|
-
"tsup": "^8.0.1"
|
|
78
|
-
"vite": "^5.4.9"
|
|
56
|
+
"tsup": "^8.0.1"
|
|
79
57
|
},
|
|
80
58
|
"dependencies": {
|
|
81
59
|
"@emotion/react": "^11.11.3",
|
|
@@ -84,11 +62,7 @@
|
|
|
84
62
|
"@mui/material": "^5.15.7",
|
|
85
63
|
"@wavelengthusaf/components": "^1.3.1",
|
|
86
64
|
"react": "^18.2.0",
|
|
87
|
-
"react-confetti-explosion": "^2.1.2",
|
|
88
|
-
"react-copy-to-clipboard": "^5.1.0",
|
|
89
|
-
"react-dom": "^18.2.0",
|
|
90
65
|
"react-router-dom": "^6.26.2",
|
|
91
|
-
"react-syntax-highlighter": "^15.5.0",
|
|
92
66
|
"styled-components": "^6.1.12",
|
|
93
67
|
"typescript": "^5.5.2"
|
|
94
68
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 Keenan Ray
|
|
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/README.md
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# common-components (npm package)
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
This module was created to share common components across Wavelength product teams. All components stored in this library are unclassified.
|
|
6
|
-
|
|
7
|
-
## Getting started
|
|
8
|
-
|
|
9
|
-
You can install this package the same way that you install everything else
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
npm install @wavelengthusaf/components
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Release Notes
|
|
16
|
-
|
|
17
|
-
## 1.3.1
|
|
18
|
-
|
|
19
|
-
-Updated WavelengthBox Component, and Wavelength Button Component. Created new Dropdown Component called Wavelength Dropdown.
|
|
20
|
-
|
|
21
|
-
## 1.3.0
|
|
22
|
-
|
|
23
|
-
- Updated Footer and Snackbar component, added a basic File Download component.
|
|
24
|
-
|
|
25
|
-
### 1.0.2 - 1.0.3
|
|
26
|
-
|
|
27
|
-
- Updated dependencies
|
|
28
|
-
|
|
29
|
-
### 1.0.1
|
|
30
|
-
|
|
31
|
-
- Updated readme and added first ts component
|
|
32
|
-
|
|
33
|
-
### 1.0.0
|
|
34
|
-
|
|
35
|
-
- Created npm package
|
|
36
|
-
|
|
37
|
-
# common components (testbed website)
|
|
38
|
-
|
|
39
|
-
## Overview
|
|
40
|
-
|
|
41
|
-
This project provides an overview of the common components library. It is meant to give developers a way to see the components as they work on them.
|
|
42
|
-
|
|
43
|
-
## Instructions
|
|
44
|
-
|
|
45
|
-
1. Make sure that you have built and linked the common-components library in a separate VS Code Window
|
|
46
|
-
2. Run `npm link @wavelengthusaf/components` to install the components library
|
|
47
|
-
3. Open your node_modules and verify that @wavelengthusaf exists (and that there is stuff in it)
|
|
48
|
-
4. Run `npm run dev`
|
|
49
|
-
5. Navigate to the generated localhost url on your Chrome/Firefox browser.
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@wavelengthusaf/components",
|
|
3
|
-
"author": "563 EWS - Wavelength",
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"version": "2.0.0",
|
|
6
|
-
"description": "Common component library used by Wavelength developers",
|
|
7
|
-
"main": "/dist/index.js",
|
|
8
|
-
"module": "/dist/index.js",
|
|
9
|
-
"types": "/dist/index.d.ts",
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
|
-
"import": "./dist/esm/index.js",
|
|
14
|
-
"require": "./dist/index.js"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"type": "module",
|
|
18
|
-
"files": [
|
|
19
|
-
"dist/**/*"
|
|
20
|
-
],
|
|
21
|
-
"scripts": {
|
|
22
|
-
"compile": "tsc",
|
|
23
|
-
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
24
|
-
"test": "jest --runInBand --coverage",
|
|
25
|
-
"build": "tsup && tsc --jsx react-jsx --project ./tsconfig.json",
|
|
26
|
-
"watch": "tsup --watch && tsc --jsx react-jsx --project ./tsconfig.json"
|
|
27
|
-
},
|
|
28
|
-
"repository": {
|
|
29
|
-
"type": "git",
|
|
30
|
-
"url": "https://gitlab.wavelengthusaf.com/wavelength1/common-components"
|
|
31
|
-
},
|
|
32
|
-
"keywords": [
|
|
33
|
-
"usaf",
|
|
34
|
-
"components"
|
|
35
|
-
],
|
|
36
|
-
"directories": {
|
|
37
|
-
"test": "jest"
|
|
38
|
-
},
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"@babel/preset-typescript": "^7.25.7",
|
|
41
|
-
"@testing-library/react": "^16.0.0",
|
|
42
|
-
"@types/jest": "^29.5.14",
|
|
43
|
-
"@types/react-dom": "^18.2.18",
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
45
|
-
"@typescript-eslint/parser": "^7.18.0",
|
|
46
|
-
"babel-plugin-prismjs": "^2.1.0",
|
|
47
|
-
"css-loader": "^7.1.2",
|
|
48
|
-
"eslint": "^8.56.0",
|
|
49
|
-
"eslint-config-love": "^64.0.0",
|
|
50
|
-
"eslint-config-prettier": "^9.1.0",
|
|
51
|
-
"eslint-plugin-react": "^7.33.2",
|
|
52
|
-
"jest": "^29.7.0",
|
|
53
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
54
|
-
"ts-jest": "^29.1.2",
|
|
55
|
-
"ts-node": "^10.9.2",
|
|
56
|
-
"tsup": "^8.0.1"
|
|
57
|
-
},
|
|
58
|
-
"dependencies": {
|
|
59
|
-
"@emotion/react": "^11.11.3",
|
|
60
|
-
"@emotion/styled": "^11.11.0",
|
|
61
|
-
"@mui/icons-material": "^5.16.5",
|
|
62
|
-
"@mui/material": "^5.15.7",
|
|
63
|
-
"@wavelengthusaf/components": "^1.3.1",
|
|
64
|
-
"react": "^18.2.0",
|
|
65
|
-
"react-router-dom": "^6.26.2",
|
|
66
|
-
"styled-components": "^6.1.12",
|
|
67
|
-
"typescript": "^5.5.2"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
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
|
/package/{apps/package/dist → dist}/components/PageComponents/WavelengthSpinningLogo.d.ts.map
RENAMED
|
File without changes
|
/package/{apps/package/dist → dist}/components/PageComponents/WavelengthSpinningLogoComponent.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/{apps/package/dist → dist}/components/buttons/WavelengthButton/WavelengthButton.d.ts
RENAMED
|
File without changes
|
/package/{apps/package/dist → dist}/components/buttons/WavelengthButton/WavelengthButton.d.ts.map
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{apps/package/dist → dist}/components/containers/WavelengthBox/WavelengthBox.d.ts.map
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{apps/package/dist → dist}/components/footers/WavelengthFooter/WavelengthFooter.d.ts
RENAMED
|
File without changes
|
/package/{apps/package/dist → dist}/components/footers/WavelengthFooter/WavelengthFooter.d.ts.map
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{apps/package/dist → dist}/components/headers/WavelengthTitleBar/WavelengthTitleBar.d.ts
RENAMED
|
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
|
/package/{apps/package/dist → dist}/components/snackbars/WavelengthStandardSnackbar.d.ts.map
RENAMED
|
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
|