@patternfly/react-styles 5.2.0-prerelease.2 → 5.2.0-prerelease.4
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -0
- package/css/components/Accordion/accordion.css +10 -1
- package/css/components/Accordion/accordion.d.ts +1 -0
- package/css/components/Accordion/accordion.js +1 -0
- package/css/components/Accordion/accordion.mjs +1 -0
- package/css/components/Switch/switch.css +1 -1
- package/css/docs/demos/Toolbar/examples/Toolbar.css +10 -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/CHANGELOG.md
CHANGED
@@ -3,6 +3,14 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# 5.2.0-prerelease.4 (2023-11-03)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @patternfly/react-styles
|
9
|
+
|
10
|
+
# 5.2.0-prerelease.3 (2023-10-26)
|
11
|
+
|
12
|
+
**Note:** Version bump only for package @patternfly/react-styles
|
13
|
+
|
6
14
|
# 5.2.0-prerelease.2 (2023-10-10)
|
7
15
|
|
8
16
|
**Note:** Version bump only for package @patternfly/react-styles
|
@@ -26,6 +26,10 @@
|
|
26
26
|
--pf-v5-c-accordion__toggle--after--Width: var(--pf-v5-global--BorderWidth--lg);
|
27
27
|
--pf-v5-c-accordion__toggle--m-expanded--after--BackgroundColor: var(--pf-v5-global--primary-color--100);
|
28
28
|
--pf-v5-c-accordion__toggle--BackgroundColor: transparent;
|
29
|
+
--pf-v5-c-accordion__toggle--JustifyContent: space-between;
|
30
|
+
--pf-v5-c-accordion__toggle--ColumnGap: 0;
|
31
|
+
--pf-v5-c-accordion--m-toggle-start__toggle--JustifyContent: start;
|
32
|
+
--pf-v5-c-accordion--m-toggle-start__toggle--ColumnGap: var(--pf-v5-global--spacer--md);
|
29
33
|
--pf-v5-c-accordion__toggle-text--MaxWidth: calc(100% - var(--pf-v5-global--spacer--lg));
|
30
34
|
--pf-v5-c-accordion__toggle--hover__toggle-text--Color: var(--pf-v5-global--link--Color);
|
31
35
|
--pf-v5-c-accordion__toggle--active__toggle-text--Color: var(--pf-v5-global--link--Color);
|
@@ -79,6 +83,10 @@
|
|
79
83
|
color: var(--pf-v5-global--Color--100);
|
80
84
|
background-color: var(--pf-v5-c-accordion--BackgroundColor);
|
81
85
|
}
|
86
|
+
.pf-v5-c-accordion.pf-m-toggle-start {
|
87
|
+
--pf-v5-c-accordion__toggle--JustifyContent: var(--pf-v5-c-accordion--m-toggle-start__toggle--JustifyContent);
|
88
|
+
--pf-v5-c-accordion__toggle--ColumnGap: var(--pf-v5-c-accordion--m-toggle-start__toggle--ColumnGap);
|
89
|
+
}
|
82
90
|
.pf-v5-c-accordion.pf-m-display-lg {
|
83
91
|
--pf-v5-c-accordion__toggle--PaddingTop: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingTop);
|
84
92
|
--pf-v5-c-accordion__toggle--PaddingRight: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingRight);
|
@@ -138,8 +146,9 @@
|
|
138
146
|
.pf-v5-c-accordion__toggle {
|
139
147
|
position: relative;
|
140
148
|
display: flex;
|
149
|
+
column-gap: var(--pf-v5-c-accordion__toggle--ColumnGap);
|
141
150
|
align-items: center;
|
142
|
-
justify-content:
|
151
|
+
justify-content: var(--pf-v5-c-accordion__toggle--JustifyContent);
|
143
152
|
width: 100%;
|
144
153
|
padding-block-start: var(--pf-v5-c-accordion__toggle--PaddingTop);
|
145
154
|
padding-block-end: var(--pf-v5-c-accordion__toggle--PaddingBottom);
|
@@ -8,6 +8,7 @@ declare const _default: {
|
|
8
8
|
"accordionToggleText": "pf-v5-c-accordion__toggle-text",
|
9
9
|
"dirRtl": "pf-v5-m-dir-rtl",
|
10
10
|
"modifiers": {
|
11
|
+
"toggleStart": "pf-m-toggle-start",
|
11
12
|
"displayLg": "pf-m-display-lg",
|
12
13
|
"bordered": "pf-m-bordered",
|
13
14
|
"expanded": "pf-m-expanded",
|
@@ -10,6 +10,7 @@ exports.default = {
|
|
10
10
|
"accordionToggleText": "pf-v5-c-accordion__toggle-text",
|
11
11
|
"dirRtl": "pf-v5-m-dir-rtl",
|
12
12
|
"modifiers": {
|
13
|
+
"toggleStart": "pf-m-toggle-start",
|
13
14
|
"displayLg": "pf-m-display-lg",
|
14
15
|
"bordered": "pf-m-bordered",
|
15
16
|
"expanded": "pf-m-expanded",
|
@@ -56,7 +56,7 @@
|
|
56
56
|
cursor: pointer;
|
57
57
|
opacity: 0;
|
58
58
|
}
|
59
|
-
.pf-v5-c-switch__input:focus ~ .pf-v5-c-switch__toggle {
|
59
|
+
.pf-v5-c-switch__input:focus-visible ~ .pf-v5-c-switch__toggle {
|
60
60
|
outline: var(--pf-v5-c-switch__input--focus__toggle--OutlineWidth) solid var(--pf-v5-c-switch__input--focus__toggle--OutlineColor);
|
61
61
|
outline-offset: var(--pf-v5-c-switch__input--focus__toggle--OutlineOffset);
|
62
62
|
}
|
@@ -13,3 +13,13 @@
|
|
13
13
|
#ws-html-demos-c-toolbar-toolbar-attribute-value-search-filter-on-mobile {
|
14
14
|
min-height: 175px;
|
15
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": "5.2.0-prerelease.
|
3
|
+
"version": "5.2.0-prerelease.4",
|
4
4
|
"main": "dist/js/index.js",
|
5
5
|
"module": "dist/esm/index.js",
|
6
6
|
"types": "dist/esm/index.d.ts",
|
@@ -18,7 +18,7 @@
|
|
18
18
|
"clean": "rimraf dist css"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
|
-
"@patternfly/patternfly": "5.2.0-prerelease.
|
21
|
+
"@patternfly/patternfly": "5.2.0-prerelease.4",
|
22
22
|
"camel-case": "^3.0.0",
|
23
23
|
"css": "^2.2.3",
|
24
24
|
"fs-extra": "^11.1.1",
|
@@ -28,5 +28,5 @@
|
|
28
28
|
"typescript": "^4.7.4"
|
29
29
|
},
|
30
30
|
"license": "MIT",
|
31
|
-
"gitHead": "
|
31
|
+
"gitHead": "559e6fd8de77794fc7d1dd9fde66a09441d37fb3"
|
32
32
|
}
|