blue-react 8.1.7 → 8.3.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.
Files changed (75) hide show
  1. package/LICENSE +164 -164
  2. package/README.md +59 -59
  3. package/dist/components/ActionMenu.js +2 -2
  4. package/dist/components/ActionMenuSwitch.js +2 -2
  5. package/dist/components/Body.js +2 -2
  6. package/dist/components/BodyRounded.js +2 -2
  7. package/dist/components/Caret.js +2 -2
  8. package/dist/components/DocumentView.js +2 -2
  9. package/dist/components/Grid.js +287 -287
  10. package/dist/components/Header.js +2 -2
  11. package/dist/components/HeaderTitle.js +3 -3
  12. package/dist/components/Intro.js +2 -2
  13. package/dist/components/Layout.js +19 -19
  14. package/dist/components/MenuItem.js +11 -20
  15. package/dist/components/Modal.js +11 -7
  16. package/dist/components/ModalProvider.js +18 -9
  17. package/dist/components/Outside.js +6 -6
  18. package/dist/components/Page.js +2 -2
  19. package/dist/components/Search.js +2 -2
  20. package/dist/components/SidebarMenu.js +2 -2
  21. package/dist/components/Switch.js +2 -2
  22. package/dist/style.css +8701 -4960
  23. package/dist/style.css.map +1 -0
  24. package/dist/style.min.css +10 -12
  25. package/dist/style.scss +28 -28
  26. package/dist/styles/_action-menu.scss +81 -81
  27. package/dist/styles/_bootstrap-mixins_overwritten.scss +106 -106
  28. package/dist/styles/_bootstrap-optimizations.scss +13 -13
  29. package/dist/styles/_bootstrap-variables.scss +15 -15
  30. package/dist/styles/_bootstrap.scss +56 -56
  31. package/dist/styles/_caret.scss +50 -50
  32. package/dist/styles/_document-view.scss +6 -6
  33. package/dist/styles/_general.scss +177 -177
  34. package/dist/styles/_grid.scss +381 -381
  35. package/dist/styles/_hover.scss +42 -42
  36. package/dist/styles/_keyframes.scss +73 -73
  37. package/dist/styles/_mixins.scss +6 -6
  38. package/dist/styles/_router.scss +18 -18
  39. package/dist/styles/_search.scss +61 -61
  40. package/dist/styles/_status.scss +149 -149
  41. package/dist/styles/_switch.scss +21 -21
  42. package/dist/styles/_tooltips.scss +189 -189
  43. package/dist/styles/_variables.scss +97 -97
  44. package/dist/styles/mixins/_action-menu.scss +68 -68
  45. package/dist/styles/mixins/_custom-property.scss +10 -10
  46. package/dist/styles/mixins/_misc.scss +33 -33
  47. package/dist/styles/mixins/_scroll-shadow.scss +9 -9
  48. package/dist/styles/mixins/_sidebar.scss +156 -156
  49. package/dist/styles/mixins/_switch.scss +85 -85
  50. package/dist/types/components/ActionMenu.d.ts +22 -22
  51. package/dist/types/components/ActionMenuSwitch.d.ts +11 -11
  52. package/dist/types/components/Body.d.ts +21 -21
  53. package/dist/types/components/BodyRounded.d.ts +10 -10
  54. package/dist/types/components/Caret.d.ts +16 -16
  55. package/dist/types/components/DocumentView.d.ts +23 -23
  56. package/dist/types/components/Grid.d.ts +110 -110
  57. package/dist/types/components/Header.d.ts +8 -8
  58. package/dist/types/components/HeaderTitle.d.ts +29 -29
  59. package/dist/types/components/Intro.d.ts +23 -23
  60. package/dist/types/components/Layout.d.ts +120 -120
  61. package/dist/types/components/MenuItem.d.ts +69 -69
  62. package/dist/types/components/Modal.d.ts +25 -24
  63. package/dist/types/components/ModalProvider.d.ts +11 -11
  64. package/dist/types/components/Outside.d.ts +14 -14
  65. package/dist/types/components/Page.d.ts +12 -12
  66. package/dist/types/components/Search.d.ts +30 -30
  67. package/dist/types/components/SidebarMenu.d.ts +32 -32
  68. package/dist/types/components/Status.d.ts +12 -12
  69. package/dist/types/components/StatusProvider.d.ts +15 -15
  70. package/dist/types/components/Switch.d.ts +21 -21
  71. package/dist/types/components/Utilities.d.ts +17 -17
  72. package/dist/types/components/shared.d.ts +15 -15
  73. package/index.d.ts +65 -65
  74. package/index.js +27 -27
  75. package/package.json +88 -88
package/package.json CHANGED
@@ -1,88 +1,88 @@
1
- {
2
- "name": "blue-react",
3
- "version": "8.1.7",
4
- "description": "Blue React Components",
5
- "license": "LGPL-3.0-or-later",
6
- "main": "index.js",
7
- "types": "index.d.ts",
8
- "homepage": "https://bruegmann.github.io/blue-react/v8",
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/bruegmann/blue-react.git"
12
- },
13
- "bugs": {
14
- "url": "https://github.com/bruegmann/blue-react/issues"
15
- },
16
- "scripts": {
17
- "start": "react-scripts start",
18
- "build-docs": "react-scripts build && npm run docgen",
19
- "build-types": "tsc --declaration --emitDeclarationOnly --declarationDir ./dist/types --noEmit false",
20
- "build": "babel ./src/components --out-dir ./dist/components --extensions \".tsx,.js,.ts\"",
21
- "build-css": "node ./setVersionToStyleScss.js && node-sass ./dist/style.scss ./dist/style.css && npx postcss ./dist/style.css --use autoprefixer -r && npx postcss ./dist/style.css --use postcss-minify -o ./dist/style.min.css",
22
- "build-release": "npm run build-types && npm run build && npm run build-css && npm run docgen",
23
- "docgen": "react-docgen ./src/components/ -o ./src/docs/data/docs.json --exclude Utilities.js --extension tsx && node followUpDocs",
24
- "test": "react-scripts test",
25
- "eject": "react-scripts eject",
26
- "predeploy": "npm run build-docs",
27
- "deploy": "gh-pages --dist build --dest v8",
28
- "prepublishOnly": "npm i && npm run build-release",
29
- "release": "npm publish --tag next && npm run deploy",
30
- "prettier": "npx prettier --write ."
31
- },
32
- "dependencies": {
33
- "@popperjs/core": "^2.10.2",
34
- "bootstrap": "^5.1.3",
35
- "clsx": "^1.1.1"
36
- },
37
- "peerDependencies": {
38
- "react": "^16.0.0 || ^17.0.0 || ^18.0.0"
39
- },
40
- "devDependencies": {
41
- "@babel/cli": "^7.10.4",
42
- "@babel/preset-env": "^7.10.4",
43
- "@babel/preset-react": "^7.10.4",
44
- "@babel/preset-typescript": "^7.9.0",
45
- "@testing-library/jest-dom": "^4.2.4",
46
- "@testing-library/react": "^9.5.0",
47
- "@testing-library/user-event": "^7.2.1",
48
- "@types/bootstrap": "^5.0.17",
49
- "@types/jest": "^24.9.1",
50
- "@types/node": "^12.12.47",
51
- "@types/react": "^17.0.3",
52
- "@types/react-dom": "^17.0.3",
53
- "@types/react-router-dom": "^5.1.5",
54
- "@types/react-syntax-highlighter": "^13.5.0",
55
- "autoprefixer": "^10.3.6",
56
- "gh-pages": "^3.1.0",
57
- "lint-staged": "^11.1.2",
58
- "node-sass": "^4.14.1",
59
- "postcss-cli": "^9.0.1",
60
- "postcss-minify": "^1.1.0",
61
- "prettier": "2.4.1",
62
- "react": "^17.0.2",
63
- "react-bootstrap-icons": "^1.5.0",
64
- "react-docgen": "^5.4.0",
65
- "react-dom": "^17.0.2",
66
- "react-markdown-github": "^3.3.1",
67
- "react-router-dom": "^5.2.0",
68
- "react-scripts": "^4.0.3",
69
- "react-syntax-highlighter": "^15.4.3",
70
- "reactstrap": "^9.0.0-0",
71
- "typescript": "^4.3.5"
72
- },
73
- "eslintConfig": {
74
- "extends": "react-app"
75
- },
76
- "browserslist": {
77
- "production": [
78
- ">0.2%",
79
- "not dead",
80
- "not op_mini all"
81
- ],
82
- "development": [
83
- "last 1 chrome version",
84
- "last 1 firefox version",
85
- "last 1 safari version"
86
- ]
87
- }
88
- }
1
+ {
2
+ "name": "blue-react",
3
+ "version": "8.3.1",
4
+ "description": "Blue React Components",
5
+ "license": "LGPL-3.0-or-later",
6
+ "main": "index.js",
7
+ "types": "index.d.ts",
8
+ "homepage": "https://bruegmann.github.io/blue-react/v8",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/bruegmann/blue-react.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/bruegmann/blue-react/issues"
15
+ },
16
+ "scripts": {
17
+ "start": "react-scripts start",
18
+ "build-docs": "react-scripts build && npm run docgen",
19
+ "build-types": "tsc --declaration --emitDeclarationOnly --declarationDir ./dist/types --noEmit false",
20
+ "build": "babel ./src/components --out-dir ./dist/components --extensions \".tsx,.js,.ts\"",
21
+ "build-css": "node ./setVersionToStyleScss.js && sass ./dist/style.scss ./dist/style.css && npx postcss ./dist/style.css --use autoprefixer -r && npx postcss ./dist/style.css --use postcss-minify -o ./dist/style.min.css",
22
+ "build-release": "npm run build-types && npm run build && npm run build-css && npm run docgen",
23
+ "docgen": "react-docgen ./src/components/ -o ./src/docs/data/docs.json --exclude Utilities.js --extension tsx && node followUpDocs",
24
+ "test": "react-scripts test",
25
+ "eject": "react-scripts eject",
26
+ "predeploy": "npm run build-docs",
27
+ "deploy": "gh-pages --dist build --dest v8",
28
+ "prepublishOnly": "npm i && npm run build-release",
29
+ "release": "npm publish --tag next && npm run deploy",
30
+ "prettier": "npx prettier --write ."
31
+ },
32
+ "dependencies": {
33
+ "@popperjs/core": "^2.10.2",
34
+ "bootstrap": "^5.1.3",
35
+ "clsx": "^1.1.1"
36
+ },
37
+ "peerDependencies": {
38
+ "react": "^16.0.0 || ^17.0.0 || ^18.0.0"
39
+ },
40
+ "devDependencies": {
41
+ "@babel/cli": "^7.10.4",
42
+ "@babel/preset-env": "^7.10.4",
43
+ "@babel/preset-react": "^7.10.4",
44
+ "@babel/preset-typescript": "^7.9.0",
45
+ "@testing-library/jest-dom": "^4.2.4",
46
+ "@testing-library/react": "^9.5.0",
47
+ "@testing-library/user-event": "^7.2.1",
48
+ "@types/bootstrap": "^5.0.17",
49
+ "@types/jest": "^24.9.1",
50
+ "@types/node": "^12.12.47",
51
+ "@types/react": "^17.0.3",
52
+ "@types/react-dom": "^17.0.3",
53
+ "@types/react-router-dom": "^5.1.5",
54
+ "@types/react-syntax-highlighter": "^13.5.0",
55
+ "autoprefixer": "^10.3.6",
56
+ "gh-pages": "^3.1.0",
57
+ "lint-staged": "^11.1.2",
58
+ "postcss-cli": "^9.0.1",
59
+ "postcss-minify": "^1.1.0",
60
+ "prettier": "2.4.1",
61
+ "react": "^17.0.2",
62
+ "react-bootstrap-icons": "^1.5.0",
63
+ "react-docgen": "^5.4.0",
64
+ "react-dom": "^17.0.2",
65
+ "react-markdown-github": "^3.3.1",
66
+ "react-router-dom": "^5.2.0",
67
+ "react-scripts": "^4.0.3",
68
+ "react-syntax-highlighter": "^15.4.3",
69
+ "reactstrap": "^9.0.0-0",
70
+ "sass": "^1.51.0",
71
+ "typescript": "^4.3.5"
72
+ },
73
+ "eslintConfig": {
74
+ "extends": "react-app"
75
+ },
76
+ "browserslist": {
77
+ "production": [
78
+ ">0.2%",
79
+ "not dead",
80
+ "not op_mini all"
81
+ ],
82
+ "development": [
83
+ "last 1 chrome version",
84
+ "last 1 firefox version",
85
+ "last 1 safari version"
86
+ ]
87
+ }
88
+ }