@patternfly/react-styles 6.0.0-alpha.1 → 6.0.0-alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +48 -0
- package/README.md +1 -1
- package/css/assets/images/PF-Backdrop.svg +1 -0
- package/css/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/css/assets/images/PF-IconLogo.svg +17 -0
- package/css/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/css/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/css/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/css/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/css/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/css/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/css/assets/images/pf_logo_white.hbs +35 -0
- package/css/assets/images/pf_logo_white.svg +38 -0
- package/css/components/AboutModalBox/about-modal-box.css +59 -98
- package/css/components/AboutModalBox/about-modal-box.d.ts +1 -2
- package/css/components/AboutModalBox/about-modal-box.js +1 -2
- package/css/components/AboutModalBox/about-modal-box.mjs +1 -2
- package/css/components/Accordion/accordion.css +85 -177
- package/css/components/Accordion/accordion.d.ts +3 -2
- package/css/components/Accordion/accordion.js +3 -2
- package/css/components/Accordion/accordion.mjs +3 -2
- package/css/components/Alert/alert-group.css +20 -16
- package/css/components/Alert/alert.css +57 -84
- package/css/components/Alert/alert.d.ts +1 -2
- package/css/components/Alert/alert.js +1 -2
- package/css/components/Alert/alert.mjs +1 -2
- package/css/components/BackToTop/back-to-top.css +17 -15
- package/css/components/Badge/badge.css +23 -15
- package/css/components/Badge/badge.d.ts +2 -2
- package/css/components/Badge/badge.js +2 -2
- package/css/components/Badge/badge.mjs +2 -2
- package/css/components/Banner/banner.css +86 -64
- package/css/components/Banner/banner.d.ts +11 -4
- package/css/components/Banner/banner.js +11 -4
- package/css/components/Banner/banner.mjs +11 -4
- package/css/components/Button/button.css +142 -179
- package/css/components/Button/button.d.ts +1 -2
- package/css/components/Button/button.js +1 -2
- package/css/components/Button/button.mjs +1 -2
- package/css/components/Check/check.css +10 -8
- package/css/components/Content/content.css +67 -67
- package/css/components/Drawer/drawer.css +0 -1
- package/css/components/Dropdown/dropdown.css +1 -3
- package/css/components/Dropdown/dropdown.d.ts +0 -1
- package/css/components/Dropdown/dropdown.js +0 -1
- package/css/components/Dropdown/dropdown.mjs +0 -1
- package/css/components/ExpandableSection/expandable-section.css +64 -55
- package/css/components/ExpandableSection/expandable-section.d.ts +1 -3
- package/css/components/ExpandableSection/expandable-section.js +1 -3
- package/css/components/ExpandableSection/expandable-section.mjs +1 -3
- package/css/components/Hint/hint.css +28 -21
- package/css/components/Hint/hint.d.ts +1 -2
- package/css/components/Hint/hint.js +1 -2
- package/css/components/Hint/hint.mjs +1 -2
- package/css/components/List/list.css +16 -16
- package/css/components/Login/login.css +70 -97
- package/css/components/Login/login.d.ts +0 -2
- package/css/components/Login/login.js +0 -2
- package/css/components/Login/login.mjs +0 -2
- package/css/components/Masthead/masthead.css +49 -103
- package/css/components/Masthead/masthead.d.ts +1 -6
- package/css/components/Masthead/masthead.js +1 -6
- package/css/components/Masthead/masthead.mjs +1 -6
- package/css/components/Menu/menu.css +3 -0
- package/css/components/Menu/menu.d.ts +1 -0
- package/css/components/Menu/menu.js +1 -0
- package/css/components/Menu/menu.mjs +1 -0
- package/css/components/MenuToggle/menu-toggle.css +57 -80
- package/css/components/ModalBox/modal-box.css +59 -52
- package/css/components/ModalBox/modal-box.d.ts +1 -2
- package/css/components/ModalBox/modal-box.js +1 -2
- package/css/components/ModalBox/modal-box.mjs +1 -2
- package/css/components/Nav/nav.css +42 -40
- package/css/components/NotificationBadge/notification-badge.css +56 -81
- package/css/components/NotificationBadge/notification-badge.d.ts +1 -5
- package/css/components/NotificationBadge/notification-badge.js +1 -5
- package/css/components/NotificationBadge/notification-badge.mjs +1 -5
- package/css/components/Page/page.css +112 -209
- package/css/components/Page/page.d.ts +5 -12
- package/css/components/Page/page.js +5 -12
- package/css/components/Page/page.mjs +5 -12
- package/css/components/Popover/popover.css +42 -51
- package/css/components/Popover/popover.d.ts +1 -2
- package/css/components/Popover/popover.js +1 -2
- package/css/components/Popover/popover.mjs +1 -2
- package/css/components/Radio/radio.css +13 -10
- package/css/components/SkipToContent/skip-to-content.css +6 -3
- package/css/components/Switch/switch.css +1 -1
- package/css/components/Table/table-grid.css +8 -8
- package/css/components/Table/table.css +85 -90
- package/css/components/Table/table.d.ts +2 -0
- package/css/components/Table/table.js +2 -0
- package/css/components/Table/table.mjs +2 -0
- package/css/components/Title/title.css +70 -19
- package/css/components/Title/title.d.ts +7 -1
- package/css/components/Title/title.js +7 -1
- package/css/components/Title/title.mjs +7 -1
- package/css/components/Toolbar/toolbar.css +13 -3
- package/css/components/Toolbar/toolbar.d.ts +1 -0
- package/css/components/Toolbar/toolbar.js +1 -0
- package/css/components/Toolbar/toolbar.mjs +1 -0
- package/css/components/Tooltip/tooltip.css +16 -16
- package/css/components/Tooltip/tooltip.d.ts +0 -1
- package/css/components/Tooltip/tooltip.js +0 -1
- package/css/components/Tooltip/tooltip.mjs +0 -1
- package/css/docs/components/Brand/examples/Brand.css +12 -0
- package/css/docs/components/Brand/examples/Brand.d.ts +10 -0
- package/css/docs/components/Brand/examples/Brand.js +11 -0
- package/css/docs/components/Brand/examples/Brand.mjs +9 -0
- package/css/docs/components/Nav/examples/Navigation.css +2 -1
- package/css/docs/components/Page/examples/Page.css +0 -8
- package/css/docs/components/Page/examples/Page.d.ts +0 -7
- package/css/docs/components/Page/examples/Page.js +0 -7
- package/css/docs/components/Page/examples/Page.mjs +0 -7
- package/css/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/css/docs/demos/Toolbar/examples/Toolbar.d.ts +6 -1
- package/css/docs/demos/Toolbar/examples/Toolbar.js +6 -1
- package/css/docs/demos/Toolbar/examples/Toolbar.mjs +6 -1
- package/package.json +3 -3
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.d.ts +0 -5
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.js +0 -6
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.mjs +0 -4
@@ -1,17 +1,18 @@
|
|
1
|
-
|
1
|
+
:root {
|
2
2
|
--pf-v5-c-tooltip--MaxWidth: 18.75rem;
|
3
|
-
--pf-v5-c-tooltip--BoxShadow: var(--pf-
|
4
|
-
--pf-v5-c-tooltip__content--PaddingTop: var(--pf-
|
5
|
-
--pf-v5-c-tooltip__content--PaddingRight: var(--pf-
|
6
|
-
--pf-v5-c-tooltip__content--PaddingBottom: var(--pf-
|
7
|
-
--pf-v5-c-tooltip__content--PaddingLeft: var(--pf-
|
8
|
-
--pf-v5-c-tooltip__content--Color: var(--pf-
|
9
|
-
--pf-v5-c-tooltip__content--BackgroundColor: var(--pf-
|
10
|
-
--pf-v5-c-tooltip__content--FontSize: var(--pf-
|
3
|
+
--pf-v5-c-tooltip--BoxShadow: var(--pf-t--global--box-shadow--md);
|
4
|
+
--pf-v5-c-tooltip__content--PaddingTop: var(--pf-t--global--spacer--sm);
|
5
|
+
--pf-v5-c-tooltip__content--PaddingRight: var(--pf-t--global--spacer--md);
|
6
|
+
--pf-v5-c-tooltip__content--PaddingBottom: var(--pf-t--global--spacer--sm);
|
7
|
+
--pf-v5-c-tooltip__content--PaddingLeft: var(--pf-t--global--spacer--md);
|
8
|
+
--pf-v5-c-tooltip__content--Color: var(--pf-t--global--text--color--inverse);
|
9
|
+
--pf-v5-c-tooltip__content--BackgroundColor: var(--pf-t--global--background--color--inverse--default);
|
10
|
+
--pf-v5-c-tooltip__content--FontSize: var(--pf-t--global--font--size--body--sm);
|
11
|
+
--pf-v5-c-tooltip__content--BorderRadius: var(--pf-t--global--border--radius--small);
|
11
12
|
--pf-v5-c-tooltip__arrow--Width: 0.9375rem;
|
12
13
|
--pf-v5-c-tooltip__arrow--Height: 0.9375rem;
|
13
|
-
--pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-
|
14
|
-
--pf-v5-c-tooltip__arrow--BoxShadow: var(--pf-
|
14
|
+
--pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-t--global--background--color--inverse--default);
|
15
|
+
--pf-v5-c-tooltip__arrow--BoxShadow: var(--pf-t--global--box-shadow--md);
|
15
16
|
--pf-v5-c-tooltip__arrow--m-top--TranslateX: -50%;
|
16
17
|
--pf-v5-c-tooltip__arrow--m-top--TranslateY: 50%;
|
17
18
|
--pf-v5-c-tooltip__arrow--m-top--Rotate: 45deg;
|
@@ -24,6 +25,9 @@
|
|
24
25
|
--pf-v5-c-tooltip__arrow--m-left--TranslateX: 50%;
|
25
26
|
--pf-v5-c-tooltip__arrow--m-left--TranslateY: -50%;
|
26
27
|
--pf-v5-c-tooltip__arrow--m-left--Rotate: 45deg;
|
28
|
+
}
|
29
|
+
|
30
|
+
.pf-v5-c-tooltip {
|
27
31
|
position: relative;
|
28
32
|
max-width: var(--pf-v5-c-tooltip--MaxWidth);
|
29
33
|
box-shadow: var(--pf-v5-c-tooltip--BoxShadow);
|
@@ -96,6 +100,7 @@
|
|
96
100
|
text-align: center;
|
97
101
|
word-break: break-word;
|
98
102
|
background-color: var(--pf-v5-c-tooltip__content--BackgroundColor);
|
103
|
+
border-radius: var(--pf-v5-c-tooltip__content--BorderRadius);
|
99
104
|
}
|
100
105
|
.pf-v5-c-tooltip__content.pf-m-text-align-left {
|
101
106
|
text-align: start;
|
@@ -115,9 +120,4 @@
|
|
115
120
|
background-color: var(--pf-v5-c-tooltip__arrow--BackgroundColor);
|
116
121
|
box-shadow: var(--pf-v5-c-tooltip__arrow--BoxShadow);
|
117
122
|
transform: translateX(var(--pf-v5-c-tooltip__arrow--TranslateX, 0)) translateY(var(--pf-v5-c-tooltip__arrow--TranslateY, 0)) rotate(var(--pf-v5-c-tooltip__arrow--Rotate, 0));
|
118
|
-
}
|
119
|
-
|
120
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-tooltip {
|
121
|
-
--pf-v5-c-tooltip__content--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
122
|
-
--pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
123
123
|
}
|
@@ -15,7 +15,6 @@ declare const _default: {
|
|
15
15
|
"rightBottom": "pf-m-right-bottom",
|
16
16
|
"textAlignLeft": "pf-m-text-align-left"
|
17
17
|
},
|
18
|
-
"themeDark": "pf-v5-theme-dark",
|
19
18
|
"tooltip": "pf-v5-c-tooltip",
|
20
19
|
"tooltipArrow": "pf-v5-c-tooltip__arrow",
|
21
20
|
"tooltipContent": "pf-v5-c-tooltip__content"
|
@@ -17,7 +17,6 @@ exports.default = {
|
|
17
17
|
"rightBottom": "pf-m-right-bottom",
|
18
18
|
"textAlignLeft": "pf-m-text-align-left"
|
19
19
|
},
|
20
|
-
"themeDark": "pf-v5-theme-dark",
|
21
20
|
"tooltip": "pf-v5-c-tooltip",
|
22
21
|
"tooltipArrow": "pf-v5-c-tooltip__arrow",
|
23
22
|
"tooltipContent": "pf-v5-c-tooltip__content"
|
@@ -15,7 +15,6 @@ export default {
|
|
15
15
|
"rightBottom": "pf-m-right-bottom",
|
16
16
|
"textAlignLeft": "pf-m-text-align-left"
|
17
17
|
},
|
18
|
-
"themeDark": "pf-v5-theme-dark",
|
19
18
|
"tooltip": "pf-v5-c-tooltip",
|
20
19
|
"tooltipArrow": "pf-v5-c-tooltip__arrow",
|
21
20
|
"tooltipContent": "pf-v5-c-tooltip__content"
|
@@ -1,11 +1,3 @@
|
|
1
|
-
.ws-core-c-page :is(.pf-v5-c-page__sidebar, .pf-v5-c-page__main-subnav) {
|
2
|
-
color: var(--pf-v5-global--Color--light-100);
|
3
|
-
}
|
4
|
-
|
5
|
-
.ws-core-c-page .pf-v5-c-page__main-section.pf-m-dark-200 {
|
6
|
-
color: var(--pf-v5-global--Color--dark-100);
|
7
|
-
}
|
8
|
-
|
9
1
|
#ws-core-c-page-with-or-without-fill .ws-preview-html,
|
10
2
|
#ws-core-c-page-multiple-sidebar-body-elements-padding-and-fill .ws-preview-html {
|
11
3
|
height: 500px;
|
@@ -1,12 +1,5 @@
|
|
1
1
|
import './Page.css';
|
2
2
|
declare const _default: {
|
3
|
-
"modifiers": {
|
4
|
-
"dark_200": "pf-m-dark-200"
|
5
|
-
},
|
6
|
-
"pageMainSection": "pf-v5-c-page__main-section",
|
7
|
-
"pageMainSubnav": "pf-v5-c-page__main-subnav",
|
8
|
-
"pageSidebar": "pf-v5-c-page__sidebar",
|
9
|
-
"wsCoreCPage": "ws-core-c-page",
|
10
3
|
"wsPreviewHtml": "ws-preview-html"
|
11
4
|
};
|
12
5
|
export default _default;
|
@@ -2,12 +2,5 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./Page.css');
|
4
4
|
exports.default = {
|
5
|
-
"modifiers": {
|
6
|
-
"dark_200": "pf-m-dark-200"
|
7
|
-
},
|
8
|
-
"pageMainSection": "pf-v5-c-page__main-section",
|
9
|
-
"pageMainSubnav": "pf-v5-c-page__main-subnav",
|
10
|
-
"pageSidebar": "pf-v5-c-page__sidebar",
|
11
|
-
"wsCoreCPage": "ws-core-c-page",
|
12
5
|
"wsPreviewHtml": "ws-preview-html"
|
13
6
|
};
|
@@ -1,11 +1,4 @@
|
|
1
1
|
import './Page.css';
|
2
2
|
export default {
|
3
|
-
"modifiers": {
|
4
|
-
"dark_200": "pf-m-dark-200"
|
5
|
-
},
|
6
|
-
"pageMainSection": "pf-v5-c-page__main-section",
|
7
|
-
"pageMainSubnav": "pf-v5-c-page__main-subnav",
|
8
|
-
"pageSidebar": "pf-v5-c-page__sidebar",
|
9
|
-
"wsCoreCPage": "ws-core-c-page",
|
10
3
|
"wsPreviewHtml": "ws-preview-html"
|
11
4
|
};
|
@@ -5,6 +5,21 @@
|
|
5
5
|
min-height: 420px;
|
6
6
|
}
|
7
7
|
|
8
|
+
#ws-html-demos-c-toolbar-toolbar-attribute-value-single-select-filter-on-desktop,
|
9
|
+
#ws-html-demos-c-toolbar-toolbar-attribute-value-checkbox-select-filter-on-desktop {
|
10
|
+
min-height: 320px;
|
11
|
+
}
|
12
|
+
|
8
13
|
#ws-html-demos-c-toolbar-toolbar-attribute-value-search-filter-on-mobile {
|
9
14
|
min-height: 175px;
|
10
15
|
}
|
16
|
+
|
17
|
+
.pf-v5-c-menu-toggle + .pf-v5-c-panel {
|
18
|
+
position: absolute;
|
19
|
+
top: calc(100% + 2px);
|
20
|
+
z-index: var(--pf-v5-global--ZIndex--sm);
|
21
|
+
}
|
22
|
+
|
23
|
+
.ws-html-demos-c-toolbar .pf-v5-c-toolbar__item {
|
24
|
+
position: relative;
|
25
|
+
}
|
@@ -1,3 +1,8 @@
|
|
1
1
|
import './Toolbar.css';
|
2
|
-
declare const _default: {
|
2
|
+
declare const _default: {
|
3
|
+
"menuToggle": "pf-v5-c-menu-toggle",
|
4
|
+
"panel": "pf-v5-c-panel",
|
5
|
+
"toolbarItem": "pf-v5-c-toolbar__item",
|
6
|
+
"wsHtmlDemosCToolbar": "ws-html-demos-c-toolbar"
|
7
|
+
};
|
3
8
|
export default _default;
|
@@ -1,4 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./Toolbar.css');
|
4
|
-
exports.default = {
|
4
|
+
exports.default = {
|
5
|
+
"menuToggle": "pf-v5-c-menu-toggle",
|
6
|
+
"panel": "pf-v5-c-panel",
|
7
|
+
"toolbarItem": "pf-v5-c-toolbar__item",
|
8
|
+
"wsHtmlDemosCToolbar": "ws-html-demos-c-toolbar"
|
9
|
+
};
|
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.3",
|
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": "
|
22
|
+
"@patternfly/patternfly": "6.0.0-alpha.28",
|
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": "da36134a3effa82a166c47f5b1c2689869a0f52a"
|
33
33
|
}
|