blue-react 9.0.0 → 9.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/README.md +5 -15
- package/dist/components/Utilities.js +2 -2
- package/dist/neu.css +156 -0
- package/dist/neu.min.css +2 -0
- package/dist/neu.scss +20 -6
- package/dist/style.css +6 -6
- package/dist/style.min.css +3 -3
- package/dist/style.scss +1 -1
- package/dist/styles/_hover.scss +6 -4
- package/dist/types/components/Utilities.d.ts +2 -2
- package/package.json +2 -1
package/dist/style.scss
CHANGED
package/dist/styles/_hover.scss
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
@media (hover: hover) {
|
|
9
9
|
.blue-d-hover {
|
|
10
|
-
&:not(:hover):not(:focus):not(:active):not(.active) {
|
|
10
|
+
&:not(:hover):not(:focus):not(:active):not(.active):not(:focus-within) {
|
|
11
11
|
.blue-d-hover-content-active {
|
|
12
12
|
display: none;
|
|
13
13
|
}
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
&:hover,
|
|
17
17
|
&:focus,
|
|
18
18
|
&:active,
|
|
19
|
-
&.active
|
|
19
|
+
&.active,
|
|
20
|
+
&:focus-within {
|
|
20
21
|
.blue-d-hover-content-default {
|
|
21
22
|
display: none;
|
|
22
23
|
}
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
.blue-opacity-hover {
|
|
27
|
-
&:not(:hover):not(:focus):not(:active):not(.active) {
|
|
28
|
+
&:not(:hover):not(:focus):not(:active):not(.active):not(:focus-within) {
|
|
28
29
|
.blue-opacity-hover-content-active {
|
|
29
30
|
opacity: 0;
|
|
30
31
|
}
|
|
@@ -33,7 +34,8 @@
|
|
|
33
34
|
&:hover,
|
|
34
35
|
&:focus,
|
|
35
36
|
&:active,
|
|
36
|
-
&.active
|
|
37
|
+
&.active,
|
|
38
|
+
&:focus-within {
|
|
37
39
|
.blue-opacity-hover-content-default {
|
|
38
40
|
opacity: 0;
|
|
39
41
|
}
|
|
@@ -13,12 +13,12 @@ export declare function hideSuccess(): void;
|
|
|
13
13
|
export declare function toggleActions(): void;
|
|
14
14
|
/**
|
|
15
15
|
* Resets alert messages that was set with `setAlertMessage`.
|
|
16
|
-
* When using React, you should use `StatusProvider` instead: https://bruegmann.github.io/blue-react/
|
|
16
|
+
* When using React, you should use `StatusProvider` instead: https://bruegmann.github.io/blue-react/v9/component/StatusProvider
|
|
17
17
|
* @param alertClassName Leave empty to reset messages of any status type
|
|
18
18
|
*/
|
|
19
19
|
export declare function resetAlertMessage(alertClassName?: StatusType): void;
|
|
20
20
|
/**
|
|
21
|
-
* When using React, you should use `StatusProvider` instead: https://bruegmann.github.io/blue-react/
|
|
21
|
+
* When using React, you should use `StatusProvider` instead: https://bruegmann.github.io/blue-react/v9/component/StatusProvider
|
|
22
22
|
*/
|
|
23
23
|
export declare function setAlertMessage(message: string, alertClassName?: StatusType, close?: boolean, detailText?: string): void;
|
|
24
24
|
export declare const guid: () => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blue-react",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.1",
|
|
4
4
|
"description": "Blue React Components",
|
|
5
5
|
"license": "LGPL-3.0-or-later",
|
|
6
6
|
"main": "index.js",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"build-types": "tsc --declaration --emitDeclarationOnly --declarationDir ./dist/types --noEmit false",
|
|
20
20
|
"build": "babel ./src/components --out-dir ./dist/components --extensions \".tsx,.js,.ts\"",
|
|
21
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-neu-css": "node-sass ./dist/neu.scss ./dist/neu.css && npx postcss ./dist/neu.css --use autoprefixer -r && npx postcss ./dist/neu.css --use postcss-minify -o ./dist/neu.min.css",
|
|
22
23
|
"build-release": "npm run build-types && npm run build && npm run build-css && npm run docgen",
|
|
23
24
|
"docgen": "react-docgen ./src/components/ -o ./src/docs/data/docs.json --exclude Utilities.js --extension tsx && node followUpDocs && npm run license-report",
|
|
24
25
|
"test": "react-scripts test",
|