@jetbrains/ring-ui 6.0.2 → 6.0.3

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.
@@ -41,7 +41,7 @@
41
41
  margin-bottom: 12px;
42
42
  object-fit: contain;
43
43
 
44
- @media (max-height: 400px) {
44
+ @media (height <= 400px) {
45
45
  width: calc(var(--ring-unit) * 4);
46
46
  height: calc(var(--ring-unit) * 4);
47
47
  }
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  &[disabled] {
79
- pointer-events: none;
79
+ cursor: auto;
80
80
 
81
81
  background-color: var(--ring-disabled-background-color);
82
82
  box-shadow: button-shadow var(--ring-border-disabled-color);
@@ -92,7 +92,8 @@
92
92
  color: var(--ring-disabled-color);
93
93
  }
94
94
 
95
- &[disabled] .icon {
95
+ /* stylelint-disable-next-line selector-max-specificity */
96
+ &[disabled] .icon.icon {
96
97
  color: var(--ring-icon-disabled-color);
97
98
  }
98
99
 
@@ -103,8 +103,9 @@
103
103
  }
104
104
 
105
105
  /* stylelint-disable-next-line selector-max-specificity */
106
- .buttonGroup .button.button:hover,
107
- .buttonGroup .button.button:active {
106
+ .buttonGroup .button.button:hover:not(:disabled),
107
+ /* stylelint-disable-next-line selector-max-specificity */
108
+ .buttonGroup .button.button:active:not(:disabled) {
108
109
  border-radius: var(--ring-border-radius);
109
110
  box-shadow: button-shadow var(--ring-border-hover-color);
110
111
  }
@@ -215,7 +216,8 @@
215
216
  z-index: var(--ring-button-group-active-z-index);
216
217
  }
217
218
 
218
- &:hover {
219
+ /* stylelint-disable-next-line selector-max-specificity */
220
+ &:hover:not(:disabled) {
219
221
  z-index: var(--ring-button-group-hover-z-index);
220
222
  }
221
223
 
@@ -91,8 +91,8 @@
91
91
  --ring-warning-background-color: rgb(var(--ring-warning-background-components)); /* #5e4d33 */
92
92
  --ring-added-background-components: 51, 76, 53;
93
93
  --ring-added-background-color: rgb(var(--ring-added-background-components)); /* #334c35 */
94
- --ring-disabled-background-components: 38, 40, 43;
95
- --ring-disabled-background-color: rgb(var(--ring-disabled-background-components)); /* #26282B */
94
+ --ring-disabled-background-components: 45, 47, 50;
95
+ --ring-disabled-background-color: rgb(var(--ring-disabled-background-components)); /* #2D2F32 */
96
96
  --ring-disabled-selected-background-components: 44, 47, 51;
97
97
  --ring-disabled-selected-background-color: rgb(var(--ring-disabled-selected-background-components)); /* #2C2F33 */
98
98
  --ring-button-danger-active-components: 38, 8, 10;
@@ -13,7 +13,7 @@
13
13
  text-decoration-thickness: 1px;
14
14
  text-underline-offset: 3px;
15
15
 
16
- @media (min-resolution: 2dppx) {
16
+ @media (resolution >= 2dppx) {
17
17
  text-decoration-thickness: 0.5px;
18
18
  }
19
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "6.0.2",
3
+ "version": "6.0.3",
4
4
  "description": "JetBrains UI library",
5
5
  "author": "JetBrains",
6
6
  "license": "Apache-2.0",
@@ -78,50 +78,51 @@
78
78
  "devDependencies": {
79
79
  "@babel/cli": "^7.23.4",
80
80
  "@babel/eslint-parser": "^7.23.3",
81
- "@csstools/stylelint-no-at-nest-rule": "^1.0.0",
81
+ "@csstools/stylelint-no-at-nest-rule": "^2.0.0",
82
+ "@csstools/css-parser-algorithms": "^2.5.0",
82
83
  "@jetbrains/eslint-config": "^5.4.1",
83
- "@jetbrains/stylelint-config": "^4.0.1",
84
+ "@jetbrains/stylelint-config": "^4.0.2",
84
85
  "@primer/octicons": "^19.8.0",
85
86
  "@rollup/plugin-babel": "^6.0.4",
86
- "@rollup/plugin-json": "^6.0.1",
87
+ "@rollup/plugin-json": "^6.1.0",
87
88
  "@rollup/plugin-node-resolve": "^15.2.3",
88
89
  "@rollup/plugin-replace": "^5.0.5",
89
- "@storybook/addon-a11y": "7.6.4",
90
- "@storybook/addon-docs": "7.6.4",
91
- "@storybook/addon-essentials": "7.6.6",
90
+ "@storybook/addon-a11y": "7.6.8",
91
+ "@storybook/addon-docs": "7.6.7",
92
+ "@storybook/addon-essentials": "7.6.7",
92
93
  "@storybook/addon-storyshots": "7.6.3",
93
- "@storybook/addon-storyshots-puppeteer": "7.6.5",
94
- "@storybook/addon-storysource": "7.6.5",
95
- "@storybook/addons": "7.6.5",
94
+ "@storybook/addon-storyshots-puppeteer": "7.6.8",
95
+ "@storybook/addon-storysource": "7.6.8",
96
+ "@storybook/addons": "7.6.7",
96
97
  "@storybook/preview-api": "7.6.3",
97
98
  "@storybook/react": "7.6.3",
98
- "@storybook/react-webpack5": "7.6.5",
99
- "@storybook/source-loader": "7.6.5",
100
- "@storybook/theming": "7.6.5",
99
+ "@storybook/react-webpack5": "7.6.7",
100
+ "@storybook/source-loader": "7.6.8",
101
+ "@storybook/theming": "7.6.8",
101
102
  "@testing-library/react": "^14.1.2",
102
- "@testing-library/user-event": "^14.5.1",
103
+ "@testing-library/user-event": "^14.5.2",
103
104
  "@types/chai": "^4.3.11",
104
105
  "@types/chai-as-promised": "^7.1.8",
105
106
  "@types/chai-dom": "0.0.10",
106
107
  "@types/chai-enzyme": "^0.6.13",
107
108
  "@types/enzyme": "^3.10.18",
108
- "@types/markdown-it": "^13.0.2",
109
- "@types/react": "^18.2.43",
110
- "@types/react-dom": "^18.2.17",
111
- "@types/sinon": "^17.0.2",
109
+ "@types/markdown-it": "^13.0.7",
110
+ "@types/react": "^18.2.48",
111
+ "@types/react-dom": "^18.2.18",
112
+ "@types/sinon": "^17.0.3",
112
113
  "@types/sinon-chai": "^3.2.12",
113
- "@typescript-eslint/eslint-plugin": "^6.14.0",
114
- "@typescript-eslint/parser": "^6.15.0",
114
+ "@typescript-eslint/eslint-plugin": "^6.18.1",
115
+ "@typescript-eslint/parser": "^6.18.1",
115
116
  "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
116
- "acorn": "^8.11.2",
117
+ "acorn": "^8.11.3",
117
118
  "babel-plugin-require-context-hook": "^1.0.0",
118
- "caniuse-lite": "^1.0.30001570",
119
- "chai": "^4.3.10",
119
+ "caniuse-lite": "^1.0.30001576",
120
+ "chai": "^5.0.0",
120
121
  "chai-as-promised": "^7.1.1",
121
122
  "chai-dom": "^1.10.0",
122
123
  "chai-enzyme": "1.0.0-beta.1",
123
124
  "cheerio": "^1.0.0-rc.12",
124
- "core-js": "^3.34.0",
125
+ "core-js": "^3.35.0",
125
126
  "cpy-cli": "^3.1.1",
126
127
  "enzyme": "^3.11.0",
127
128
  "eslint": "^8.56.0",
@@ -133,7 +134,7 @@
133
134
  "eslint-plugin-storybook": "^0.6.15",
134
135
  "events": "^3.3.0",
135
136
  "glob": "^10.3.10",
136
- "html-webpack-plugin": "^5.5.4",
137
+ "html-webpack-plugin": "^5.6.0",
137
138
  "husky": "^8.0.3",
138
139
  "identity-obj-proxy": "^3.0.0",
139
140
  "imports-loader": "^4.0.1",
@@ -146,12 +147,12 @@
146
147
  "karma-sourcemap-loader": "^0.4.0",
147
148
  "karma-teamcity-reporter": "^2.0.0",
148
149
  "karma-webpack": "^5.0.0",
149
- "lint-staged": "^14.0.1",
150
+ "lint-staged": "^15.2.0",
150
151
  "markdown-it": "^14.0.0",
151
152
  "merge-options": "^3.0.4",
152
153
  "mocha": "^10.2.0",
153
154
  "pinst": "^3.0.0",
154
- "prettier": "^3.1.1",
155
+ "prettier": "^3.2.2",
155
156
  "puppeteer": "^21.2.1",
156
157
  "raw-loader": "^4.0.2",
157
158
  "react": "^18.2.0",
@@ -159,18 +160,18 @@
159
160
  "react-test-renderer": "^18.2.0",
160
161
  "regenerator-runtime": "^0.14.1",
161
162
  "rimraf": "^5.0.5",
162
- "rollup": "^3.29.4",
163
+ "rollup": "^4.9.5",
163
164
  "rollup-plugin-clear": "^2.0.7",
164
165
  "rollup-plugin-styles": "^4.0.0",
165
166
  "sinon": "^17.0.1",
166
167
  "sinon-chai": "^3.7.0",
167
168
  "storage-mock": "^2.1.0",
168
- "storybook": "^7.6.5",
169
+ "storybook": "^7.6.8",
169
170
  "storybook-addon-themes": "^6.1.0",
170
- "stylelint": "^15.11.0",
171
+ "stylelint": "^16.1.0",
171
172
  "svg-inline-loader": "^0.8.2",
172
173
  "teamcity-service-messages": "^0.1.14",
173
- "terser-webpack-plugin": "^5.3.9",
174
+ "terser-webpack-plugin": "^5.3.10",
174
175
  "typescript": "~5.3.3",
175
176
  "wallaby-webpack": "^3.9.16",
176
177
  "webpack": "^5.89.0",
@@ -197,11 +198,11 @@
197
198
  }
198
199
  },
199
200
  "dependencies": {
200
- "@babel/core": "^7.23.6",
201
+ "@babel/core": "^7.23.7",
201
202
  "@babel/preset-typescript": "^7.23.3",
202
203
  "@jetbrains/babel-preset-jetbrains": "^2.3.2",
203
204
  "@jetbrains/icons": "^3.22.0",
204
- "@jetbrains/logos": "^2.2.23",
205
+ "@jetbrains/logos": "^2.2.24",
205
206
  "@jetbrains/postcss-require-hover": "^0.1.2",
206
207
  "@types/combokeys": "^2.4.9",
207
208
  "@types/deep-equal": "^1.0.4",
@@ -214,9 +215,9 @@
214
215
  "babel-plugin-transform-define": "^2.1.4",
215
216
  "browserslist": "^4.22.2",
216
217
  "change-case": "^4.1.1",
217
- "classnames": "^2.3.2",
218
+ "classnames": "^2.5.1",
218
219
  "combokeys": "^3.0.1",
219
- "css-loader": "^6.8.1",
220
+ "css-loader": "^6.9.0",
220
221
  "csstype": "^3.1.3",
221
222
  "date-fns": "^2.30.0",
222
223
  "deep-equal": "^2.2.3",
@@ -229,11 +230,11 @@
229
230
  "highlight.js": "^10.7.2",
230
231
  "just-debounce-it": "^3.2.0",
231
232
  "memoize-one": "^6.0.0",
232
- "postcss": "^8.4.32",
233
+ "postcss": "^8.4.33",
233
234
  "postcss-calc": "^9.0.1",
234
235
  "postcss-flexbugs-fixes": "^5.0.2",
235
236
  "postcss-font-family-system-ui": "^5.0.0",
236
- "postcss-loader": "^7.3.3",
237
+ "postcss-loader": "^7.3.4",
237
238
  "postcss-modules-values-replace": "^4.1.0",
238
239
  "postcss-preset-env": "^9.3.0",
239
240
  "prop-types": "^15.8.1",
@@ -244,7 +245,7 @@
244
245
  "simply-uuid": "^1.0.1",
245
246
  "sniffr": "^1.3.1",
246
247
  "style-inject": "^0.3.0",
247
- "style-loader": "~3.3.3",
248
+ "style-loader": "~3.3.4",
248
249
  "url-loader": "^4.1.1",
249
250
  "util-deprecate": "^1.0.2"
250
251
  },