@plesk/ui-library 3.40.6 → 3.40.7

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 (36) hide show
  1. package/cjs/components/Badge/Badge.js +2 -2
  2. package/cjs/components/SegmentedControl/SegmentedControl.js +12 -10
  3. package/cjs/components/Subnav/Subnav.js +1 -1
  4. package/cjs/components/Toolbar/RegistryContext.js +90 -31
  5. package/cjs/components/Toolbar/Toolbar.js +5 -80
  6. package/cjs/components/Toolbar/ToolbarGroup.js +6 -159
  7. package/cjs/components/Toolbar/ToolbarItem.js +15 -59
  8. package/cjs/index.js +1 -1
  9. package/dist/plesk-ui-library-rtl.css +1 -1
  10. package/dist/plesk-ui-library-rtl.css.map +1 -1
  11. package/dist/plesk-ui-library.css +1 -1
  12. package/dist/plesk-ui-library.css.map +1 -1
  13. package/dist/plesk-ui-library.js +48 -379
  14. package/dist/plesk-ui-library.js.map +1 -1
  15. package/dist/plesk-ui-library.min.js +6 -6
  16. package/dist/plesk-ui-library.min.js.map +1 -1
  17. package/esm/components/Badge/Badge.js +2 -2
  18. package/esm/components/SegmentedControl/SegmentedControl.js +12 -10
  19. package/esm/components/Subnav/Subnav.js +1 -1
  20. package/esm/components/Toolbar/RegistryContext.js +87 -30
  21. package/esm/components/Toolbar/Toolbar.js +7 -82
  22. package/esm/components/Toolbar/ToolbarGroup.js +7 -160
  23. package/esm/components/Toolbar/ToolbarItem.js +15 -59
  24. package/esm/index.js +1 -1
  25. package/package.json +20 -22
  26. package/styleguide/build/bundle.52d1d9a1.js +2 -0
  27. package/styleguide/index.html +2 -2
  28. package/types/src/components/Toolbar/RegistryContext.d.ts +22 -13
  29. package/types/src/components/Toolbar/Toolbar.d.ts +8 -8
  30. package/types/src/components/Toolbar/ToolbarGroup.d.ts +6 -16
  31. package/types/src/components/Toolbar/ToolbarItem.d.ts +1 -1
  32. package/cjs/components/Toolbar/RegistryContextBeta.js +0 -112
  33. package/esm/components/Toolbar/RegistryContextBeta.js +0 -103
  34. package/styleguide/build/bundle.9eeb2c9d.js +0 -2
  35. package/types/src/components/Toolbar/RegistryContextBeta.d.ts +0 -25
  36. /package/styleguide/build/{bundle.9eeb2c9d.js.LICENSE.txt → bundle.52d1d9a1.js.LICENSE.txt} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plesk/ui-library",
3
- "version": "3.40.6",
3
+ "version": "3.40.7",
4
4
  "description": "Plesk UI Library",
5
5
  "main": "index.js",
6
6
  "module": "esm/index.js",
@@ -28,7 +28,7 @@
28
28
  "format:check": "prettier --check src",
29
29
  "format": "prettier --write src",
30
30
  "styleguide": "styleguidist server --config ./configs/styleguide.config.js",
31
- "styleguide:build": "styleguidist build --config ./configs/styleguide.config.js",
31
+ "styleguide:build": "rimraf ./styleguide && styleguidist build --config ./configs/styleguide.config.js",
32
32
  "prepublishOnly": "yarn install && yarn test && yarn build && yarn styleguide:build",
33
33
  "storybook": "webpack serve --config ./configs/storybook.config.js --allowed-hosts all",
34
34
  "postinstall": "node ./scripts/postinstall.js"
@@ -43,7 +43,7 @@
43
43
  "/index.js"
44
44
  ],
45
45
  "dependencies": {
46
- "@babel/runtime": "^7.24.8",
46
+ "@babel/runtime": "^7.25.0",
47
47
  "@plesk/react-movable": "^2.7.1",
48
48
  "classnames": "^2.5.1",
49
49
  "codemirror": "5.58.2",
@@ -63,15 +63,15 @@
63
63
  "@babel/plugin-proposal-class-properties": "^7.18.6",
64
64
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
65
65
  "@babel/plugin-transform-runtime": "^7.24.7",
66
- "@babel/preset-env": "^7.24.8",
66
+ "@babel/preset-env": "^7.25.0",
67
67
  "@babel/preset-react": "^7.24.7",
68
68
  "@babel/preset-typescript": "^7.24.7",
69
- "@babel/types": "^7.24.9",
70
- "@csstools/postcss-logical-float-and-clear": "^1.0.1",
69
+ "@babel/types": "^7.25.0",
70
+ "@csstools/postcss-logical-float-and-clear": "^2.0.1",
71
71
  "@plesk/eslint-config": "^3.0.0",
72
72
  "@plesk/stylelint-config": "^2.0.0",
73
73
  "@testing-library/dom": "^9.3.4",
74
- "@testing-library/jest-dom": "^6.4.6",
74
+ "@testing-library/jest-dom": "^6.4.8",
75
75
  "@testing-library/react": "^14.3.1",
76
76
  "@testing-library/user-event": "^14.5.2",
77
77
  "@types/buble": "^0.20.5",
@@ -81,7 +81,7 @@
81
81
  "@types/jest": "^29.5.12",
82
82
  "@types/jest-image-snapshot": "^6.4.0",
83
83
  "@types/marked": "^4.3.2",
84
- "@types/node": "^16.18.101",
84
+ "@types/node": "^22.1.0",
85
85
  "@types/react": "^18.3.3",
86
86
  "@types/react-dom": "^18.3.0",
87
87
  "@types/react-measure": "2.0.9",
@@ -93,34 +93,33 @@
93
93
  "autoprefixer": "^10.4.19",
94
94
  "babel-loader": "^8.3.0",
95
95
  "babel-plugin-transform-require-ignore": "^0.1.1",
96
- "clean-webpack-plugin": "^4.0.0",
97
96
  "cross-env": "^7.0.3",
98
- "css-loader": "^6.11.0",
99
- "css-minimizer-webpack-plugin": "^5.0.1",
97
+ "css-loader": "^7.1.2",
98
+ "css-minimizer-webpack-plugin": "^7.0.0",
100
99
  "eslint": "^8.57.0",
101
100
  "eslint-config-prettier": "^8.10.0",
102
101
  "eslint-plugin-markdown": "^3.0.1",
103
102
  "html-webpack-plugin": "^5.6.0",
104
103
  "jest": "^29.7.0",
105
- "jest-dev-server": "^9.0.2",
104
+ "jest-dev-server": "^10.0.0",
106
105
  "jest-environment-jsdom": "^29.7.0",
107
106
  "jest-image-snapshot": "^6.4.0",
108
107
  "less": "^4.2.0",
109
- "less-loader": "^11.1.4",
108
+ "less-loader": "^12.2.0",
110
109
  "mini-css-extract-plugin": "^2.9.0",
111
- "postcss": "^8.4.39",
110
+ "postcss": "^8.4.40",
112
111
  "postcss-less": "^6.0.0",
113
- "postcss-loader": "^7.3.4",
114
- "postcss-logical": "^6.2.0",
112
+ "postcss-loader": "^8.1.1",
113
+ "postcss-logical": "^7.0.1",
115
114
  "prettier": "^2.8.8",
116
- "puppeteer-core": "21.7.0",
115
+ "puppeteer-core": "22.8.2",
117
116
  "react": "^18.3.1",
118
117
  "react-docgen-typescript": "^2.2.2",
119
118
  "react-dom": "^18.3.1",
120
119
  "react-styleguidist": "^13.1.3",
121
- "rimraf": "^5.0.9",
122
- "rtlcss": "^4.1.1",
123
- "style-loader": "^3.3.4",
120
+ "rimraf": "^6.0.1",
121
+ "rtlcss": "^4.2.0",
122
+ "style-loader": "^4.0.0",
124
123
  "stylelint": "^15.11.0",
125
124
  "stylelint-declaration-block-no-ignored-properties": "^2.8.0",
126
125
  "stylelint-no-unsupported-browser-features": "^6.1.0",
@@ -137,8 +136,7 @@
137
136
  "react-dom": "^18.2.0"
138
137
  },
139
138
  "resolutions": {
140
- "trim": ">=0.0.3",
141
- "postcss": "^8.4.23"
139
+ "trim": ">=0.0.3"
142
140
  },
143
141
  "browserslist": [
144
142
  "defaults",