@patternfly/react-styles 5.2.0-prerelease.3 → 5.2.0-prerelease.5

Sign up to get free protection for your applications and to get access to all the features.
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.5 (2023-11-10)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-styles
9
+
10
+ # 5.2.0-prerelease.4 (2023-11-03)
11
+
12
+ **Note:** Version bump only for package @patternfly/react-styles
13
+
6
14
  # 5.2.0-prerelease.3 (2023-10-26)
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: space-between;
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",
@@ -8,6 +8,7 @@ export 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",
@@ -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
+ };
@@ -1,2 +1,7 @@
1
1
  import './Toolbar.css';
2
- export default {};
2
+ export 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
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-styles",
3
- "version": "5.2.0-prerelease.3",
3
+ "version": "5.2.0-prerelease.5",
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.3",
21
+ "@patternfly/patternfly": "5.2.0-prerelease.5",
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": "eb921ccf06a5b0ebe7ddcebd162f2e295260d8d4"
31
+ "gitHead": "75442bfa390c914f392c7daf4149e042d03c7e12"
32
32
  }