@patternfly/react-styles 6.0.0-alpha.6 → 6.0.0-alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +6 -0
- package/css/components/Button/button.css +12 -2
- package/css/components/Nav/nav.css +240 -918
- package/css/components/Nav/nav.d.ts +9 -20
- package/css/components/Nav/nav.js +9 -20
- package/css/components/Nav/nav.mjs +9 -20
- package/css/components/Timestamp/timestamp.css +12 -9
- package/css/docs/components/Nav/examples/Navigation.css +1 -39
- package/css/docs/components/Nav/examples/Navigation.d.ts +0 -2
- package/css/docs/components/Nav/examples/Navigation.js +0 -2
- package/css/docs/components/Nav/examples/Navigation.mjs +0 -2
- package/package.json +3 -3
@@ -1,40 +1,29 @@
|
|
1
1
|
import './nav.css';
|
2
2
|
declare const _default: {
|
3
|
+
"buttonIcon": "pf-v5-c-button__icon",
|
3
4
|
"dirRtl": "pf-v5-m-dir-rtl",
|
4
|
-
"divider": "pf-v5-c-divider",
|
5
|
-
"menu": "pf-v5-c-menu",
|
6
|
-
"menuContent": "pf-v5-c-menu__content",
|
7
|
-
"menuItem": "pf-v5-c-menu__item",
|
8
|
-
"menuItemToggleIcon": "pf-v5-c-menu__item-toggle-icon",
|
9
|
-
"menuListItem": "pf-v5-c-menu__list-item",
|
10
5
|
"modifiers": {
|
11
|
-
"flyout": "pf-m-flyout",
|
12
|
-
"top": "pf-m-top",
|
13
|
-
"left": "pf-m-left",
|
14
|
-
"current": "pf-m-current",
|
15
|
-
"drillUp": "pf-m-drill-up",
|
16
|
-
"horizontal": "pf-m-horizontal",
|
17
|
-
"tertiary": "pf-m-tertiary",
|
18
|
-
"horizontalSubnav": "pf-m-horizontal-subnav",
|
19
|
-
"light": "pf-m-light",
|
20
6
|
"scrollable": "pf-m-scrollable",
|
21
7
|
"overflowHidden": "pf-m-overflow-hidden",
|
22
|
-
"
|
8
|
+
"fullWidth": "pf-m-full-width",
|
9
|
+
"fill": "pf-m-fill",
|
23
10
|
"expanded": "pf-m-expanded",
|
24
|
-
"drilldown": "pf-m-drilldown",
|
25
11
|
"hover": "pf-m-hover",
|
26
|
-
"
|
12
|
+
"current": "pf-m-current",
|
13
|
+
"flyout": "pf-m-flyout",
|
14
|
+
"horizontal": "pf-m-horizontal",
|
15
|
+
"subnav": "pf-m-subnav"
|
27
16
|
},
|
28
17
|
"nav": "pf-v5-c-nav",
|
29
18
|
"navItem": "pf-v5-c-nav__item",
|
30
19
|
"navLink": "pf-v5-c-nav__link",
|
31
20
|
"navList": "pf-v5-c-nav__list",
|
21
|
+
"navNav": "pf-v5-c-nav__nav",
|
32
22
|
"navScrollButton": "pf-v5-c-nav__scroll-button",
|
33
23
|
"navSection": "pf-v5-c-nav__section",
|
34
24
|
"navSectionTitle": "pf-v5-c-nav__section-title",
|
35
25
|
"navSubnav": "pf-v5-c-nav__subnav",
|
36
26
|
"navToggle": "pf-v5-c-nav__toggle",
|
37
|
-
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
38
|
-
"themeDark": "pf-v5-theme-dark"
|
27
|
+
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
39
28
|
};
|
40
29
|
export default _default;
|
@@ -2,40 +2,29 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./nav.css');
|
4
4
|
exports.default = {
|
5
|
+
"buttonIcon": "pf-v5-c-button__icon",
|
5
6
|
"dirRtl": "pf-v5-m-dir-rtl",
|
6
|
-
"divider": "pf-v5-c-divider",
|
7
|
-
"menu": "pf-v5-c-menu",
|
8
|
-
"menuContent": "pf-v5-c-menu__content",
|
9
|
-
"menuItem": "pf-v5-c-menu__item",
|
10
|
-
"menuItemToggleIcon": "pf-v5-c-menu__item-toggle-icon",
|
11
|
-
"menuListItem": "pf-v5-c-menu__list-item",
|
12
7
|
"modifiers": {
|
13
|
-
"flyout": "pf-m-flyout",
|
14
|
-
"top": "pf-m-top",
|
15
|
-
"left": "pf-m-left",
|
16
|
-
"current": "pf-m-current",
|
17
|
-
"drillUp": "pf-m-drill-up",
|
18
|
-
"horizontal": "pf-m-horizontal",
|
19
|
-
"tertiary": "pf-m-tertiary",
|
20
|
-
"horizontalSubnav": "pf-m-horizontal-subnav",
|
21
|
-
"light": "pf-m-light",
|
22
8
|
"scrollable": "pf-m-scrollable",
|
23
9
|
"overflowHidden": "pf-m-overflow-hidden",
|
24
|
-
"
|
10
|
+
"fullWidth": "pf-m-full-width",
|
11
|
+
"fill": "pf-m-fill",
|
25
12
|
"expanded": "pf-m-expanded",
|
26
|
-
"drilldown": "pf-m-drilldown",
|
27
13
|
"hover": "pf-m-hover",
|
28
|
-
"
|
14
|
+
"current": "pf-m-current",
|
15
|
+
"flyout": "pf-m-flyout",
|
16
|
+
"horizontal": "pf-m-horizontal",
|
17
|
+
"subnav": "pf-m-subnav"
|
29
18
|
},
|
30
19
|
"nav": "pf-v5-c-nav",
|
31
20
|
"navItem": "pf-v5-c-nav__item",
|
32
21
|
"navLink": "pf-v5-c-nav__link",
|
33
22
|
"navList": "pf-v5-c-nav__list",
|
23
|
+
"navNav": "pf-v5-c-nav__nav",
|
34
24
|
"navScrollButton": "pf-v5-c-nav__scroll-button",
|
35
25
|
"navSection": "pf-v5-c-nav__section",
|
36
26
|
"navSectionTitle": "pf-v5-c-nav__section-title",
|
37
27
|
"navSubnav": "pf-v5-c-nav__subnav",
|
38
28
|
"navToggle": "pf-v5-c-nav__toggle",
|
39
|
-
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
40
|
-
"themeDark": "pf-v5-theme-dark"
|
29
|
+
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
41
30
|
};
|
@@ -1,39 +1,28 @@
|
|
1
1
|
import './nav.css';
|
2
2
|
export default {
|
3
|
+
"buttonIcon": "pf-v5-c-button__icon",
|
3
4
|
"dirRtl": "pf-v5-m-dir-rtl",
|
4
|
-
"divider": "pf-v5-c-divider",
|
5
|
-
"menu": "pf-v5-c-menu",
|
6
|
-
"menuContent": "pf-v5-c-menu__content",
|
7
|
-
"menuItem": "pf-v5-c-menu__item",
|
8
|
-
"menuItemToggleIcon": "pf-v5-c-menu__item-toggle-icon",
|
9
|
-
"menuListItem": "pf-v5-c-menu__list-item",
|
10
5
|
"modifiers": {
|
11
|
-
"flyout": "pf-m-flyout",
|
12
|
-
"top": "pf-m-top",
|
13
|
-
"left": "pf-m-left",
|
14
|
-
"current": "pf-m-current",
|
15
|
-
"drillUp": "pf-m-drill-up",
|
16
|
-
"horizontal": "pf-m-horizontal",
|
17
|
-
"tertiary": "pf-m-tertiary",
|
18
|
-
"horizontalSubnav": "pf-m-horizontal-subnav",
|
19
|
-
"light": "pf-m-light",
|
20
6
|
"scrollable": "pf-m-scrollable",
|
21
7
|
"overflowHidden": "pf-m-overflow-hidden",
|
22
|
-
"
|
8
|
+
"fullWidth": "pf-m-full-width",
|
9
|
+
"fill": "pf-m-fill",
|
23
10
|
"expanded": "pf-m-expanded",
|
24
|
-
"drilldown": "pf-m-drilldown",
|
25
11
|
"hover": "pf-m-hover",
|
26
|
-
"
|
12
|
+
"current": "pf-m-current",
|
13
|
+
"flyout": "pf-m-flyout",
|
14
|
+
"horizontal": "pf-m-horizontal",
|
15
|
+
"subnav": "pf-m-subnav"
|
27
16
|
},
|
28
17
|
"nav": "pf-v5-c-nav",
|
29
18
|
"navItem": "pf-v5-c-nav__item",
|
30
19
|
"navLink": "pf-v5-c-nav__link",
|
31
20
|
"navList": "pf-v5-c-nav__list",
|
21
|
+
"navNav": "pf-v5-c-nav__nav",
|
32
22
|
"navScrollButton": "pf-v5-c-nav__scroll-button",
|
33
23
|
"navSection": "pf-v5-c-nav__section",
|
34
24
|
"navSectionTitle": "pf-v5-c-nav__section-title",
|
35
25
|
"navSubnav": "pf-v5-c-nav__subnav",
|
36
26
|
"navToggle": "pf-v5-c-nav__toggle",
|
37
|
-
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
38
|
-
"themeDark": "pf-v5-theme-dark"
|
27
|
+
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
39
28
|
};
|
@@ -1,16 +1,19 @@
|
|
1
|
-
.pf-v5-c-timestamp {
|
2
|
-
--pf-v5-c-timestamp--FontSize: var(--pf-
|
3
|
-
--pf-v5-c-timestamp--Color: var(--pf-
|
1
|
+
:root, .pf-v5-c-timestamp {
|
2
|
+
--pf-v5-c-timestamp--FontSize: var(--pf-t--global--font--size--body--sm);
|
3
|
+
--pf-v5-c-timestamp--Color: var(--pf-t--global--text--color--subtle);
|
4
4
|
--pf-v5-c-timestamp--OutlineOffset: 0.1875rem;
|
5
5
|
--pf-v5-c-timestamp--m-help-text--TextDecorationLine: underline;
|
6
6
|
--pf-v5-c-timestamp--m-help-text--TextDecorationStyle: dashed;
|
7
|
-
--pf-v5-c-timestamp--m-help-text--TextDecorationThickness: var(--pf-
|
7
|
+
--pf-v5-c-timestamp--m-help-text--TextDecorationThickness: var(--pf-t--global--border--width--regular);
|
8
8
|
--pf-v5-c-timestamp--m-help-text--TextUnderlineOffset: 0.25rem;
|
9
|
-
--pf-v5-c-timestamp--m-help-text--TextDecorationColor: var(--pf-
|
10
|
-
--pf-v5-c-timestamp--m-help-text--hover--Color: var(--pf-
|
11
|
-
--pf-v5-c-timestamp--m-help-text--focus--Color: var(--pf-
|
12
|
-
--pf-v5-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-
|
13
|
-
--pf-v5-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-
|
9
|
+
--pf-v5-c-timestamp--m-help-text--TextDecorationColor: var(--pf-t--global--border--color--default);
|
10
|
+
--pf-v5-c-timestamp--m-help-text--hover--Color: var(--pf-t--global--text--color--regular);
|
11
|
+
--pf-v5-c-timestamp--m-help-text--focus--Color: var(--pf-t--global--text--color--regular);
|
12
|
+
--pf-v5-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-t--global--text--color--regular);
|
13
|
+
--pf-v5-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-t--global--text--color--regular);
|
14
|
+
}
|
15
|
+
|
16
|
+
.pf-v5-c-timestamp {
|
14
17
|
display: inline-block;
|
15
18
|
font-size: var(--pf-v5-c-timestamp--FontSize);
|
16
19
|
color: var(--pf-v5-c-timestamp--Color);
|
@@ -1,41 +1,3 @@
|
|
1
|
-
#ws-core-c-navigation-default,
|
2
|
-
#ws-core-c-navigation-basic,
|
3
|
-
#ws-core-c-navigation-grouped,
|
4
|
-
#ws-core-c-navigation-grouped-nav,
|
5
|
-
#ws-core-c-navigation-grouped-nav-no-titles,
|
6
|
-
#ws-core-c-navigation-expanded,
|
7
|
-
#ws-core-c-navigation-expanded-with-subnav-titles,
|
8
|
-
#ws-core-c-navigation-mixed,
|
9
|
-
#ws-core-c-navigation-horizontal,
|
10
|
-
#ws-core-c-navigation-horizontal-overflow,
|
11
|
-
#ws-core-c-navigation-horizontal-subnav,
|
12
|
-
#ws-core-c-navigation-horizontal-subnav-overflow,
|
13
|
-
#ws-core-c-navigation-drilldown,
|
14
|
-
#ws-core-c-navigation-nav-with-drilldown-menu .pf-v5-c-nav,
|
15
|
-
#ws-core-c-navigation-level-2-drilldown,
|
16
|
-
#ws-core-c-navigation-level-3-drilldown,
|
17
|
-
#ws-core-c-navigation-nav-with-flyout .pf-v5-c-nav,
|
18
|
-
#ws-core-c-navigation-grouped-nav-no-titles-no-margin-top {
|
19
|
-
padding: 0;
|
20
|
-
}
|
21
|
-
|
22
|
-
#ws-core-c-navigation-horizontal-in-masthead,
|
23
|
-
#ws-core-c-navigation-horizontal-in-masthead-overflow {
|
24
|
-
grid-template-rows: auto;
|
25
|
-
}
|
26
|
-
|
27
|
-
#ws-core-c-navigation-horizontal-in-masthead .pf-v5-c-page__header,
|
28
|
-
#ws-core-c-navigation-horizontal-in-masthead-overflow .pf-v5-c-page__header {
|
29
|
-
min-height: 0;
|
30
|
-
}
|
31
|
-
|
32
|
-
@media screen and (min-width: 1200px) {
|
33
|
-
#ws-core-c-navigation-horizontal-in-masthead .pf-v5-c-page__header,
|
34
|
-
#ws-core-c-navigation-horizontal-in-masthead-overflow .pf-v5-c-page__header {
|
35
|
-
min-height: var(--pf-v5-c-page__header--MinHeight);
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
1
|
#ws-core-c-navigation-horizontal-in-masthead .pf-v5-c-page__header-nav,
|
40
2
|
#ws-core-c-navigation-horizontal-in-masthead-overflow .pf-v5-c-page__header-nav {
|
41
3
|
grid-row: 1;
|
@@ -43,7 +5,7 @@
|
|
43
5
|
|
44
6
|
#ws-core-c-navigation-nav-with-flyout .ws-preview-html,
|
45
7
|
[id^="ws-core-c-navigation-nav-with-drilldown-menu"] .ws-preview-html {
|
46
|
-
width:
|
8
|
+
width: 280px;
|
47
9
|
}
|
48
10
|
|
49
11
|
#ws-core-c-navigation-nav-with-flyout .ws-preview-html {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@patternfly/react-styles",
|
3
|
-
"version": "6.0.0-alpha.
|
3
|
+
"version": "6.0.0-alpha.7",
|
4
4
|
"main": "dist/js/index.js",
|
5
5
|
"module": "dist/esm/index.js",
|
6
6
|
"types": "dist/esm/index.d.ts",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"clean": "rimraf dist css"
|
20
20
|
},
|
21
21
|
"devDependencies": {
|
22
|
-
"@patternfly/patternfly": "6.0.0-alpha.
|
22
|
+
"@patternfly/patternfly": "6.0.0-alpha.51",
|
23
23
|
"camel-case": "^3.0.0",
|
24
24
|
"css": "^2.2.3",
|
25
25
|
"fs-extra": "^11.1.1",
|
@@ -29,5 +29,5 @@
|
|
29
29
|
"typescript": "^4.7.4"
|
30
30
|
},
|
31
31
|
"license": "MIT",
|
32
|
-
"gitHead": "
|
32
|
+
"gitHead": "325ae0434cbad9fe482fd586aafaf3235ca254f7"
|
33
33
|
}
|