carbon-react 144.9.2 → 144.9.4
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.
|
@@ -241,7 +241,7 @@ const StyledMenuItemWrapper = styled.a.attrs({
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
` : `
|
|
244
|
-
${hasSubmenu || maxWidth ? `
|
|
244
|
+
${hasSubmenu || maxWidth && !inFullscreenView ? `
|
|
245
245
|
a,
|
|
246
246
|
${StyledLink} a,
|
|
247
247
|
button,
|
|
@@ -435,7 +435,10 @@ const StyledMenuItemWrapper = styled.a.attrs({
|
|
|
435
435
|
|
|
436
436
|
${asPassiveItem && css`
|
|
437
437
|
cursor: default;
|
|
438
|
-
|
|
438
|
+
|
|
439
|
+
a {
|
|
440
|
+
padding: 0 16px;
|
|
441
|
+
}
|
|
439
442
|
|
|
440
443
|
:hover {
|
|
441
444
|
background: transparent;
|
|
@@ -250,7 +250,7 @@ const StyledMenuItemWrapper = _styledComponents.default.a.attrs({
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
` : `
|
|
253
|
-
${hasSubmenu || maxWidth ? `
|
|
253
|
+
${hasSubmenu || maxWidth && !inFullscreenView ? `
|
|
254
254
|
a,
|
|
255
255
|
${_link.StyledLink} a,
|
|
256
256
|
button,
|
|
@@ -444,7 +444,10 @@ const StyledMenuItemWrapper = _styledComponents.default.a.attrs({
|
|
|
444
444
|
|
|
445
445
|
${asPassiveItem && (0, _styledComponents.css)`
|
|
446
446
|
cursor: default;
|
|
447
|
-
|
|
447
|
+
|
|
448
|
+
a {
|
|
449
|
+
padding: 0 16px;
|
|
450
|
+
}
|
|
448
451
|
|
|
449
452
|
:hover {
|
|
450
453
|
background: transparent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carbon-react",
|
|
3
|
-
"version": "144.9.
|
|
3
|
+
"version": "144.9.4",
|
|
4
4
|
"description": "A library of reusable React components for easily building user interfaces.",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"scripts/check_rfcs/index.js"
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
|
-
"start": "node ./scripts/check_node_version.mjs &&
|
|
13
|
-
"start:debug-theme": "
|
|
12
|
+
"start": "node ./scripts/check_node_version.mjs && storybook dev -p 9001 -c .storybook",
|
|
13
|
+
"start:debug-theme": "node ./scripts/debug-storybook.js",
|
|
14
14
|
"test": "jest --config=./jest.config.ts",
|
|
15
15
|
"test-update": "jest --config=./jest.config.ts --updateSnapshot",
|
|
16
16
|
"format": "prettier --write './{src,playwright}/**/*.{js,jsx,ts,tsx}'",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"prepublishOnly": "npm run precompile",
|
|
22
22
|
"postinstall": "node ./scripts/check_rfcs/index.js",
|
|
23
23
|
"watch": "npm run clean-lib && npm run copy-files -- --watch & npm run babel -- --watch",
|
|
24
|
-
"build-storybook": "
|
|
25
|
-
"start-storybook": "
|
|
24
|
+
"build-storybook": "node ./scripts/build-storybook.js",
|
|
25
|
+
"start-storybook": "node ./scripts/start-storybook.js",
|
|
26
26
|
"start:static": "npx http-server -p 9001 ./storybook-static",
|
|
27
27
|
"clean-lib": "rimraf ./lib && rimraf ./esm",
|
|
28
28
|
"commit": "git-cz",
|
|
@@ -122,11 +122,11 @@
|
|
|
122
122
|
"concurrently": "^8.2.2",
|
|
123
123
|
"conventional-changelog-conventionalcommits": "^4.6.3",
|
|
124
124
|
"core-js": "^3.33.3",
|
|
125
|
-
"cross-env": "^5.2.1",
|
|
126
125
|
"css-loader": "^6.8.1",
|
|
127
126
|
"cz-conventional-changelog": "^3.3.0",
|
|
128
127
|
"date-fns-tz": "^1.3.8",
|
|
129
128
|
"dayjs": "^1.11.10",
|
|
129
|
+
"dotenv": "^16.4.5",
|
|
130
130
|
"draft-js": "^0.11.7",
|
|
131
131
|
"eslint": "^8.55.0",
|
|
132
132
|
"eslint-config-airbnb": "^19.0.0",
|
|
@@ -189,15 +189,14 @@
|
|
|
189
189
|
"classnames": "~2.3.2",
|
|
190
190
|
"crypto-js": "^4.2.0",
|
|
191
191
|
"date-fns": "^2.30.0",
|
|
192
|
-
"dotenv": "^10.0.0",
|
|
193
192
|
"immutable": "~3.8.2",
|
|
194
193
|
"invariant": "^2.2.4",
|
|
195
194
|
"lodash": "^4.17.21",
|
|
196
195
|
"polished": "^4.2.2",
|
|
197
196
|
"prop-types": "^15.8.1",
|
|
198
197
|
"react-day-picker": "~7.4.10",
|
|
199
|
-
"react-dnd": "^
|
|
200
|
-
"react-dnd-html5-backend": "^
|
|
198
|
+
"react-dnd": "^16.0.1",
|
|
199
|
+
"react-dnd-html5-backend": "^16.0.1",
|
|
201
200
|
"react-is": "^17.0.2",
|
|
202
201
|
"react-transition-group": "^4.4.5",
|
|
203
202
|
"styled-system": "^5.1.5"
|