@patternfly/react-styles 5.1.1-prerelease.6 → 5.1.1-prerelease.7
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/css/components/Button/button.css +3 -0
- package/css/components/Button/button.d.ts +1 -0
- package/css/components/Button/button.js +1 -0
- package/css/components/Button/button.mjs +1 -0
- package/css/components/Card/card.css +1 -1
- package/css/components/Popover/popover.css +43 -62
- package/css/components/Popover/popover.d.ts +0 -13
- package/css/components/Popover/popover.js +0 -13
- package/css/components/Popover/popover.mjs +0 -13
- package/css/components/Tooltip/tooltip.css +44 -63
- package/css/components/Tooltip/tooltip.d.ts +1 -19
- package/css/components/Tooltip/tooltip.js +1 -19
- package/css/components/Tooltip/tooltip.mjs +1 -19
- package/css/docs/components/Menu/examples/Menu.css +8 -0
- package/css/docs/components/Menu/examples/Menu.d.ts +4 -1
- package/css/docs/components/Menu/examples/Menu.js +4 -1
- package/css/docs/components/Menu/examples/Menu.mjs +4 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
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.1.1-prerelease.7 (2023-09-21)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @patternfly/react-styles
|
9
|
+
|
6
10
|
## 5.1.1-prerelease.6 (2023-09-18)
|
7
11
|
|
8
12
|
**Note:** Version bump only for package @patternfly/react-styles
|
@@ -432,6 +432,9 @@
|
|
432
432
|
color: var(--pf-v5-c-button--m-plain--Color);
|
433
433
|
background-color: var(--pf-v5-c-button--m-plain--BackgroundColor);
|
434
434
|
}
|
435
|
+
.pf-v5-c-button.pf-m-plain.pf-m-no-padding {
|
436
|
+
padding: 0;
|
437
|
+
}
|
435
438
|
.pf-v5-c-button.pf-m-plain:hover {
|
436
439
|
--pf-v5-c-button--m-plain--Color: var(--pf-v5-c-button--m-plain--hover--Color);
|
437
440
|
--pf-v5-c-button--m-plain--BackgroundColor: var(--pf-v5-c-button--m-plain--hover--BackgroundColor);
|
@@ -36,7 +36,7 @@
|
|
36
36
|
--pf-v5-c-card--m-selectable--m-disabled--BoxShadow: var(--pf-v5-global--BoxShadow--sm);
|
37
37
|
--pf-v5-c-card--m-selectable--m-clickable--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
38
38
|
--pf-v5-c-card--m-selectable--m-clickable--hover--BoxShadow: var(--pf-v5-global--BoxShadow--sm);
|
39
|
-
--pf-v5-c-card--m-selectable--m-clickable--m-selected--BorderColor:
|
39
|
+
--pf-v5-c-card--m-selectable--m-clickable--m-selected--BorderColor: transparent;
|
40
40
|
--pf-v5-c-card--m-selectable--m-clickable--m-selected--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
41
41
|
--pf-v5-c-card--m-selectable--m-clickable--m-current--BackgroundColor: var(--pf-v5-global--palette--black-150);
|
42
42
|
--pf-v5-c-card--m-selectable--m-clickable--m-current--BorderColor: var(--pf-v5-global--active-color--100);
|
@@ -63,85 +63,59 @@
|
|
63
63
|
}
|
64
64
|
.pf-v5-c-popover:is(.pf-m-top,
|
65
65
|
.pf-m-top-left,
|
66
|
-
.pf-m-top-right
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
transform: translateX(var(--pf-v5-c-popover__arrow--m-top--TranslateX)) translateY(var(--pf-v5-c-popover__arrow--m-top--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-top--Rotate));
|
66
|
+
.pf-m-top-right) {
|
67
|
+
--pf-v5-c-popover__arrow--Bottom: var(--pf-v5-c-popover--m-top--Bottom, 0);
|
68
|
+
--pf-v5-c-popover__arrow--Left: var(--pf-v5-c-popover--m-top--Left, 50%);
|
69
|
+
--pf-v5-c-popover__arrow--TranslateX: var(--pf-v5-c-popover__arrow--m-top--TranslateX);
|
70
|
+
--pf-v5-c-popover__arrow--TranslateY: var(--pf-v5-c-popover__arrow--m-top--TranslateY);
|
71
|
+
--pf-v5-c-popover__arrow--Rotate: var(--pf-v5-c-popover__arrow--m-top--Rotate);
|
73
72
|
}
|
74
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-popover:is(.pf-m-top, .pf-m-top-left, .pf-m-top-right, .pf-m-block-start, .pf-m-block-start-inline-start, .pf-m-block-start-inline-end) .pf-v5-c-popover__arrow {
|
75
|
-
transform: translateX(calc(var(--pf-v5-c-popover__arrow--m-top--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-popover__arrow--m-top--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-top--Rotate));
|
76
|
-
}
|
77
|
-
|
78
73
|
.pf-v5-c-popover:is(.pf-m-bottom,
|
79
74
|
.pf-m-bottom-left,
|
80
|
-
.pf-m-bottom-right
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
transform: translateX(var(--pf-v5-c-popover__arrow--m-bottom--TranslateX)) translateY(var(--pf-v5-c-popover__arrow--m-bottom--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-bottom--Rotate));
|
87
|
-
}
|
88
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-popover:is(.pf-m-bottom, .pf-m-bottom-left, .pf-m-bottom-right, .pf-m-block-end, .pf-m-block-end-inline-start, .pf-m-block-end-inline-end) .pf-v5-c-popover__arrow {
|
89
|
-
transform: translateX(calc(var(--pf-v5-c-popover__arrow--m-bottom--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-popover__arrow--m-bottom--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-bottom--Rotate));
|
75
|
+
.pf-m-bottom-right) {
|
76
|
+
--pf-v5-c-popover__arrow--Top: var(--pf-v5-c-popover--m-bottom--Top, 0);
|
77
|
+
--pf-v5-c-popover__arrow--Left: var(--pf-v5-c-popover--m-bottom--Left, 50%);
|
78
|
+
--pf-v5-c-popover__arrow--TranslateX: var(--pf-v5-c-popover__arrow--m-bottom--TranslateX);
|
79
|
+
--pf-v5-c-popover__arrow--TranslateY: var(--pf-v5-c-popover__arrow--m-bottom--TranslateY);
|
80
|
+
--pf-v5-c-popover__arrow--Rotate: var(--pf-v5-c-popover__arrow--m-bottom--Rotate);
|
90
81
|
}
|
91
|
-
|
92
82
|
.pf-v5-c-popover:is(.pf-m-left,
|
93
83
|
.pf-m-left-top,
|
94
|
-
.pf-m-left-bottom
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
transform: translateX(var(--pf-v5-c-popover__arrow--m-left--TranslateX)) translateY(var(--pf-v5-c-popover__arrow--m-left--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-left--Rotate));
|
101
|
-
}
|
102
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-popover:is(.pf-m-left, .pf-m-left-top, .pf-m-left-bottom, .pf-m-inline-start, .pf-m-inline-start-block-start, .pf-m-inline-start-block-end) .pf-v5-c-popover__arrow {
|
103
|
-
transform: translateX(calc(var(--pf-v5-c-popover__arrow--m-left--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-popover__arrow--m-left--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-left--Rotate));
|
84
|
+
.pf-m-left-bottom) {
|
85
|
+
--pf-v5-c-popover__arrow--Top: var(--pf-v5-c-popover--m-left--Top, 50%);
|
86
|
+
--pf-v5-c-popover__arrow--Right: var(--pf-v5-c-popover--m-left--Right, 0);
|
87
|
+
--pf-v5-c-popover__arrow--TranslateX: var(--pf-v5-c-popover__arrow--m-left--TranslateX);
|
88
|
+
--pf-v5-c-popover__arrow--TranslateY: var(--pf-v5-c-popover__arrow--m-left--TranslateY);
|
89
|
+
--pf-v5-c-popover__arrow--Rotate: var(--pf-v5-c-popover__arrow--m-left--Rotate);
|
104
90
|
}
|
105
|
-
|
106
91
|
.pf-v5-c-popover:is(.pf-m-right,
|
107
92
|
.pf-m-right-top,
|
108
|
-
.pf-m-right-bottom
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
transform: translateX(var(--pf-v5-c-popover__arrow--m-right--TranslateX)) translateY(var(--pf-v5-c-popover__arrow--m-right--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-right--Rotate));
|
115
|
-
}
|
116
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-popover:is(.pf-m-right, .pf-m-right-top, .pf-m-right-bottom, .pf-m-inline-end, .pf-m-inline-end-block-start, .pf-m-inline-end-block-end) .pf-v5-c-popover__arrow {
|
117
|
-
transform: translateX(calc(var(--pf-v5-c-popover__arrow--m-right--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-popover__arrow--m-right--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-right--Rotate));
|
93
|
+
.pf-m-right-bottom) {
|
94
|
+
--pf-v5-c-popover__arrow--Top: var(--pf-v5-c-popover--m-right--Top, 50%);
|
95
|
+
--pf-v5-c-popover__arrow--Left: var(--pf-v5-c-popover--m-right--Left, 0);
|
96
|
+
--pf-v5-c-popover__arrow--TranslateX: var(--pf-v5-c-popover__arrow--m-right--TranslateX);
|
97
|
+
--pf-v5-c-popover__arrow--TranslateY: var(--pf-v5-c-popover__arrow--m-right--TranslateY);
|
98
|
+
--pf-v5-c-popover__arrow--Rotate: var(--pf-v5-c-popover__arrow--m-right--Rotate);
|
118
99
|
}
|
119
|
-
|
120
100
|
.pf-v5-c-popover:is(.pf-m-left-top,
|
121
|
-
.pf-m-right-top
|
122
|
-
|
123
|
-
|
124
|
-
inset-block-start: var(--pf-v5-c-popover__arrow--Height);
|
101
|
+
.pf-m-right-top) {
|
102
|
+
--pf-v5-c-popover__arrow--Top: 0;
|
103
|
+
--pf-v5-c-popover__arrow--TranslateY: var(--pf-v5-c-popover__arrow--m-top--TranslateY);
|
125
104
|
}
|
126
105
|
.pf-v5-c-popover:is(.pf-m-left-bottom,
|
127
|
-
.pf-m-right-bottom
|
128
|
-
|
129
|
-
|
130
|
-
inset-block-start: auto;
|
131
|
-
inset-block-end: 0;
|
106
|
+
.pf-m-right-bottom) {
|
107
|
+
--pf-v5-c-popover__arrow--Top: auto;
|
108
|
+
--pf-v5-c-popover__arrow--Bottom: 0;
|
132
109
|
}
|
133
110
|
.pf-v5-c-popover:is(.pf-m-top-left,
|
134
|
-
.pf-m-bottom-left
|
135
|
-
|
136
|
-
|
137
|
-
inset-inline-start: var(--pf-v5-c-popover__arrow--Width);
|
111
|
+
.pf-m-bottom-left) {
|
112
|
+
--pf-v5-c-popover__arrow--Left: 0;
|
113
|
+
--pf-v5-c-popover__arrow--TranslateX: var(--pf-v5-c-popover__arrow--m-left--TranslateX);
|
138
114
|
}
|
139
115
|
.pf-v5-c-popover:is(.pf-m-top-right,
|
140
|
-
.pf-m-bottom-right
|
141
|
-
|
142
|
-
|
143
|
-
inset-inline-start: auto;
|
144
|
-
inset-inline-end: 0;
|
116
|
+
.pf-m-bottom-right) {
|
117
|
+
--pf-v5-c-popover__arrow--Right: 0;
|
118
|
+
--pf-v5-c-popover__arrow--Left: auto;
|
145
119
|
}
|
146
120
|
.pf-v5-c-popover.pf-m-danger {
|
147
121
|
--pf-v5-c-popover__title-icon--Color: var(--pf-v5-c-popover--m-danger__title-icon--Color);
|
@@ -184,11 +158,18 @@
|
|
184
158
|
|
185
159
|
.pf-v5-c-popover__arrow {
|
186
160
|
position: absolute;
|
161
|
+
/* stylelint-disable liberty/use-logical-spec */
|
162
|
+
top: var(--pf-v5-c-popover__arrow--Top, auto);
|
163
|
+
right: var(--pf-v5-c-popover__arrow--Right, auto);
|
164
|
+
bottom: var(--pf-v5-c-popover__arrow--Bottom, auto);
|
165
|
+
left: var(--pf-v5-c-popover__arrow--Left, auto);
|
166
|
+
/* stylelint-enable */
|
187
167
|
width: var(--pf-v5-c-popover__arrow--Width);
|
188
168
|
height: var(--pf-v5-c-popover__arrow--Height);
|
189
169
|
pointer-events: none;
|
190
170
|
background-color: var(--pf-v5-c-popover__arrow--BackgroundColor);
|
191
171
|
box-shadow: var(--pf-v5-c-popover__arrow--BoxShadow);
|
172
|
+
transform: translateX(var(--pf-v5-c-popover__arrow--TranslateX, 0)) translateY(var(--pf-v5-c-popover__arrow--TranslateY, 0)) rotate(var(--pf-v5-c-popover__arrow--Rotate, 0));
|
192
173
|
}
|
193
174
|
|
194
175
|
.pf-v5-c-popover__header {
|
@@ -1,33 +1,20 @@
|
|
1
1
|
import './popover.css';
|
2
2
|
declare const _default: {
|
3
|
-
"dirRtl": "pf-v5-m-dir-rtl",
|
4
3
|
"modifiers": {
|
5
4
|
"noPadding": "pf-m-no-padding",
|
6
5
|
"widthAuto": "pf-m-width-auto",
|
7
6
|
"top": "pf-m-top",
|
8
7
|
"topLeft": "pf-m-top-left",
|
9
8
|
"topRight": "pf-m-top-right",
|
10
|
-
"blockStart": "pf-m-block-start",
|
11
|
-
"blockStartInlineStart": "pf-m-block-start-inline-start",
|
12
|
-
"blockStartInlineEnd": "pf-m-block-start-inline-end",
|
13
9
|
"bottom": "pf-m-bottom",
|
14
10
|
"bottomLeft": "pf-m-bottom-left",
|
15
11
|
"bottomRight": "pf-m-bottom-right",
|
16
|
-
"blockEnd": "pf-m-block-end",
|
17
|
-
"blockEndInlineStart": "pf-m-block-end-inline-start",
|
18
|
-
"blockEndInlineEnd": "pf-m-block-end-inline-end",
|
19
12
|
"left": "pf-m-left",
|
20
13
|
"leftTop": "pf-m-left-top",
|
21
14
|
"leftBottom": "pf-m-left-bottom",
|
22
|
-
"inlineStart": "pf-m-inline-start",
|
23
|
-
"inlineStartBlockStart": "pf-m-inline-start-block-start",
|
24
|
-
"inlineStartBlockEnd": "pf-m-inline-start-block-end",
|
25
15
|
"right": "pf-m-right",
|
26
16
|
"rightTop": "pf-m-right-top",
|
27
17
|
"rightBottom": "pf-m-right-bottom",
|
28
|
-
"inlineEnd": "pf-m-inline-end",
|
29
|
-
"inlineEndBlockStart": "pf-m-inline-end-block-start",
|
30
|
-
"inlineEndBlockEnd": "pf-m-inline-end-block-end",
|
31
18
|
"danger": "pf-m-danger",
|
32
19
|
"warning": "pf-m-warning",
|
33
20
|
"success": "pf-m-success",
|
@@ -2,34 +2,21 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./popover.css');
|
4
4
|
exports.default = {
|
5
|
-
"dirRtl": "pf-v5-m-dir-rtl",
|
6
5
|
"modifiers": {
|
7
6
|
"noPadding": "pf-m-no-padding",
|
8
7
|
"widthAuto": "pf-m-width-auto",
|
9
8
|
"top": "pf-m-top",
|
10
9
|
"topLeft": "pf-m-top-left",
|
11
10
|
"topRight": "pf-m-top-right",
|
12
|
-
"blockStart": "pf-m-block-start",
|
13
|
-
"blockStartInlineStart": "pf-m-block-start-inline-start",
|
14
|
-
"blockStartInlineEnd": "pf-m-block-start-inline-end",
|
15
11
|
"bottom": "pf-m-bottom",
|
16
12
|
"bottomLeft": "pf-m-bottom-left",
|
17
13
|
"bottomRight": "pf-m-bottom-right",
|
18
|
-
"blockEnd": "pf-m-block-end",
|
19
|
-
"blockEndInlineStart": "pf-m-block-end-inline-start",
|
20
|
-
"blockEndInlineEnd": "pf-m-block-end-inline-end",
|
21
14
|
"left": "pf-m-left",
|
22
15
|
"leftTop": "pf-m-left-top",
|
23
16
|
"leftBottom": "pf-m-left-bottom",
|
24
|
-
"inlineStart": "pf-m-inline-start",
|
25
|
-
"inlineStartBlockStart": "pf-m-inline-start-block-start",
|
26
|
-
"inlineStartBlockEnd": "pf-m-inline-start-block-end",
|
27
17
|
"right": "pf-m-right",
|
28
18
|
"rightTop": "pf-m-right-top",
|
29
19
|
"rightBottom": "pf-m-right-bottom",
|
30
|
-
"inlineEnd": "pf-m-inline-end",
|
31
|
-
"inlineEndBlockStart": "pf-m-inline-end-block-start",
|
32
|
-
"inlineEndBlockEnd": "pf-m-inline-end-block-end",
|
33
20
|
"danger": "pf-m-danger",
|
34
21
|
"warning": "pf-m-warning",
|
35
22
|
"success": "pf-m-success",
|
@@ -1,33 +1,20 @@
|
|
1
1
|
import './popover.css';
|
2
2
|
export default {
|
3
|
-
"dirRtl": "pf-v5-m-dir-rtl",
|
4
3
|
"modifiers": {
|
5
4
|
"noPadding": "pf-m-no-padding",
|
6
5
|
"widthAuto": "pf-m-width-auto",
|
7
6
|
"top": "pf-m-top",
|
8
7
|
"topLeft": "pf-m-top-left",
|
9
8
|
"topRight": "pf-m-top-right",
|
10
|
-
"blockStart": "pf-m-block-start",
|
11
|
-
"blockStartInlineStart": "pf-m-block-start-inline-start",
|
12
|
-
"blockStartInlineEnd": "pf-m-block-start-inline-end",
|
13
9
|
"bottom": "pf-m-bottom",
|
14
10
|
"bottomLeft": "pf-m-bottom-left",
|
15
11
|
"bottomRight": "pf-m-bottom-right",
|
16
|
-
"blockEnd": "pf-m-block-end",
|
17
|
-
"blockEndInlineStart": "pf-m-block-end-inline-start",
|
18
|
-
"blockEndInlineEnd": "pf-m-block-end-inline-end",
|
19
12
|
"left": "pf-m-left",
|
20
13
|
"leftTop": "pf-m-left-top",
|
21
14
|
"leftBottom": "pf-m-left-bottom",
|
22
|
-
"inlineStart": "pf-m-inline-start",
|
23
|
-
"inlineStartBlockStart": "pf-m-inline-start-block-start",
|
24
|
-
"inlineStartBlockEnd": "pf-m-inline-start-block-end",
|
25
15
|
"right": "pf-m-right",
|
26
16
|
"rightTop": "pf-m-right-top",
|
27
17
|
"rightBottom": "pf-m-right-bottom",
|
28
|
-
"inlineEnd": "pf-m-inline-end",
|
29
|
-
"inlineEndBlockStart": "pf-m-inline-end-block-start",
|
30
|
-
"inlineEndBlockEnd": "pf-m-inline-end-block-end",
|
31
18
|
"danger": "pf-m-danger",
|
32
19
|
"warning": "pf-m-warning",
|
33
20
|
"success": "pf-m-success",
|
@@ -30,85 +30,59 @@
|
|
30
30
|
}
|
31
31
|
.pf-v5-c-tooltip:is(.pf-m-top,
|
32
32
|
.pf-m-top-left,
|
33
|
-
.pf-m-top-right
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
transform: translateX(var(--pf-v5-c-tooltip__arrow--m-top--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-top--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-top--Rotate));
|
33
|
+
.pf-m-top-right) {
|
34
|
+
--pf-v5-c-tooltip__arrow--Bottom: var(--pf-v5-c-tooltip--m-top--Bottom, 0);
|
35
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-top--Left, 50%);
|
36
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-top--TranslateX);
|
37
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-top--TranslateY);
|
38
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-top--Rotate);
|
40
39
|
}
|
41
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tooltip:is(.pf-m-top, .pf-m-top-left, .pf-m-top-right, .pf-m-block-start, .pf-m-block-start-inline-start, .pf-m-block-start-inline-end) .pf-v5-c-tooltip__arrow {
|
42
|
-
transform: translateX(calc(var(--pf-v5-c-tooltip__arrow--m-top--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-tooltip__arrow--m-top--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-top--Rotate));
|
43
|
-
}
|
44
|
-
|
45
40
|
.pf-v5-c-tooltip:is(.pf-m-bottom,
|
46
41
|
.pf-m-bottom-left,
|
47
|
-
.pf-m-bottom-right
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
transform: translateX(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate));
|
54
|
-
}
|
55
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tooltip:is(.pf-m-bottom, .pf-m-bottom-left, .pf-m-bottom-right, .pf-m-block-end, .pf-m-block-end-inline-start, .pf-m-block-end-inline-end) .pf-v5-c-tooltip__arrow {
|
56
|
-
transform: translateX(calc(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate));
|
42
|
+
.pf-m-bottom-right) {
|
43
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-bottom--Top, 0);
|
44
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-bottom--Left, 50%);
|
45
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX);
|
46
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY);
|
47
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate);
|
57
48
|
}
|
58
|
-
|
59
49
|
.pf-v5-c-tooltip:is(.pf-m-left,
|
60
50
|
.pf-m-left-top,
|
61
|
-
.pf-m-left-bottom
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
transform: translateX(var(--pf-v5-c-tooltip__arrow--m-left--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-left--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-left--Rotate));
|
68
|
-
}
|
69
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tooltip:is(.pf-m-left, .pf-m-left-top, .pf-m-left-bottom, .pf-m-inline-start, .pf-m-inline-start-block-start, .pf-m-inline-start-block-end) .pf-v5-c-tooltip__arrow {
|
70
|
-
transform: translateX(calc(var(--pf-v5-c-tooltip__arrow--m-left--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-tooltip__arrow--m-left--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-left--Rotate));
|
51
|
+
.pf-m-left-bottom) {
|
52
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-left--Top, 50%);
|
53
|
+
--pf-v5-c-tooltip__arrow--Right: var(--pf-v5-c-tooltip--m-left--Right, 0);
|
54
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-left--TranslateX);
|
55
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-left--TranslateY);
|
56
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-left--Rotate);
|
71
57
|
}
|
72
|
-
|
73
58
|
.pf-v5-c-tooltip:is(.pf-m-right,
|
74
59
|
.pf-m-right-top,
|
75
|
-
.pf-m-right-bottom
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
transform: translateX(var(--pf-v5-c-tooltip__arrow--m-right--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-right--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-right--Rotate));
|
82
|
-
}
|
83
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tooltip:is(.pf-m-right, .pf-m-right-top, .pf-m-right-bottom, .pf-m-inline-end, .pf-m-inline-end-block-start, .pf-m-inline-end-block-end) .pf-v5-c-tooltip__arrow {
|
84
|
-
transform: translateX(calc(var(--pf-v5-c-tooltip__arrow--m-right--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-tooltip__arrow--m-right--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-right--Rotate));
|
60
|
+
.pf-m-right-bottom) {
|
61
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-right--Top, 50%);
|
62
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-right--Left, 0);
|
63
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-right--TranslateX);
|
64
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-right--TranslateY);
|
65
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-right--Rotate);
|
85
66
|
}
|
86
|
-
|
87
67
|
.pf-v5-c-tooltip:is(.pf-m-left-top,
|
88
|
-
.pf-m-right-top
|
89
|
-
|
90
|
-
|
91
|
-
inset-block-start: var(--pf-v5-c-tooltip__arrow--Height);
|
68
|
+
.pf-m-right-top) {
|
69
|
+
--pf-v5-c-tooltip__arrow--Top: 0;
|
70
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-top--TranslateY);
|
92
71
|
}
|
93
72
|
.pf-v5-c-tooltip:is(.pf-m-left-bottom,
|
94
|
-
.pf-m-right-bottom
|
95
|
-
|
96
|
-
|
97
|
-
inset-block-start: auto;
|
98
|
-
inset-block-end: 0;
|
73
|
+
.pf-m-right-bottom) {
|
74
|
+
--pf-v5-c-tooltip__arrow--Top: auto;
|
75
|
+
--pf-v5-c-tooltip__arrow--Bottom: 0;
|
99
76
|
}
|
100
77
|
.pf-v5-c-tooltip:is(.pf-m-top-left,
|
101
|
-
.pf-m-bottom-left
|
102
|
-
|
103
|
-
|
104
|
-
inset-inline-start: var(--pf-v5-c-tooltip__arrow--Width);
|
78
|
+
.pf-m-bottom-left) {
|
79
|
+
--pf-v5-c-tooltip__arrow--Left: 0;
|
80
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-left--TranslateX);
|
105
81
|
}
|
106
82
|
.pf-v5-c-tooltip:is(.pf-m-top-right,
|
107
|
-
.pf-m-bottom-right
|
108
|
-
|
109
|
-
|
110
|
-
inset-inline-start: auto;
|
111
|
-
inset-inline-end: 0;
|
83
|
+
.pf-m-bottom-right) {
|
84
|
+
--pf-v5-c-tooltip__arrow--Right: 0;
|
85
|
+
--pf-v5-c-tooltip__arrow--Left: auto;
|
112
86
|
}
|
113
87
|
|
114
88
|
.pf-v5-c-tooltip__content {
|
@@ -123,17 +97,24 @@
|
|
123
97
|
word-break: break-word;
|
124
98
|
background-color: var(--pf-v5-c-tooltip__content--BackgroundColor);
|
125
99
|
}
|
126
|
-
.pf-v5-c-tooltip__content
|
100
|
+
.pf-v5-c-tooltip__content.pf-m-text-align-left {
|
127
101
|
text-align: start;
|
128
102
|
}
|
129
103
|
|
130
104
|
.pf-v5-c-tooltip__arrow {
|
131
105
|
position: absolute;
|
106
|
+
/* stylelint-disable liberty/use-logical-spec */
|
107
|
+
top: var(--pf-v5-c-tooltip__arrow--Top, auto);
|
108
|
+
right: var(--pf-v5-c-tooltip__arrow--Right, auto);
|
109
|
+
bottom: var(--pf-v5-c-tooltip__arrow--Bottom, auto);
|
110
|
+
left: var(--pf-v5-c-tooltip__arrow--Left, auto);
|
111
|
+
/* stylelint-enable */
|
132
112
|
width: var(--pf-v5-c-tooltip__arrow--Width);
|
133
113
|
height: var(--pf-v5-c-tooltip__arrow--Height);
|
134
114
|
pointer-events: none;
|
135
115
|
background-color: var(--pf-v5-c-tooltip__arrow--BackgroundColor);
|
136
116
|
box-shadow: var(--pf-v5-c-tooltip__arrow--BoxShadow);
|
117
|
+
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));
|
137
118
|
}
|
138
119
|
|
139
120
|
:where(.pf-v5-theme-dark) .pf-v5-c-tooltip {
|
@@ -1,37 +1,19 @@
|
|
1
1
|
import './tooltip.css';
|
2
2
|
declare const _default: {
|
3
|
-
"dirRtl": "pf-v5-m-dir-rtl",
|
4
3
|
"modifiers": {
|
5
4
|
"top": "pf-m-top",
|
6
5
|
"topLeft": "pf-m-top-left",
|
7
6
|
"topRight": "pf-m-top-right",
|
8
|
-
"blockStart": "pf-m-block-start",
|
9
|
-
"blockStartInlineStart": "pf-m-block-start-inline-start",
|
10
|
-
"blockStartInlineEnd": "pf-m-block-start-inline-end",
|
11
7
|
"bottom": "pf-m-bottom",
|
12
8
|
"bottomLeft": "pf-m-bottom-left",
|
13
9
|
"bottomRight": "pf-m-bottom-right",
|
14
|
-
"blockEnd": "pf-m-block-end",
|
15
|
-
"blockEndInlineStart": "pf-m-block-end-inline-start",
|
16
|
-
"blockEndInlineEnd": "pf-m-block-end-inline-end",
|
17
10
|
"left": "pf-m-left",
|
18
11
|
"leftTop": "pf-m-left-top",
|
19
12
|
"leftBottom": "pf-m-left-bottom",
|
20
|
-
"inlineStart": "pf-m-inline-start",
|
21
|
-
"inlineStartBlockStart": "pf-m-inline-start-block-start",
|
22
|
-
"inlineStartBlockEnd": "pf-m-inline-start-block-end",
|
23
13
|
"right": "pf-m-right",
|
24
14
|
"rightTop": "pf-m-right-top",
|
25
15
|
"rightBottom": "pf-m-right-bottom",
|
26
|
-
"
|
27
|
-
"inlineEndBlockStart": "pf-m-inline-end-block-start",
|
28
|
-
"inlineEndBlockEnd": "pf-m-inline-end-block-end",
|
29
|
-
"blockStartBlockStart": "pf-m-block-start-block-start",
|
30
|
-
"blockEndBlockStart": "pf-m-block-end-block-start",
|
31
|
-
"blockStartBlockEnd": "pf-m-block-start-block-end",
|
32
|
-
"blockEndBlockEnd": "pf-m-block-end-block-end",
|
33
|
-
"textAlignLeft": "pf-m-text-align-left",
|
34
|
-
"textAlignStart": "pf-m-text-align-start"
|
16
|
+
"textAlignLeft": "pf-m-text-align-left"
|
35
17
|
},
|
36
18
|
"themeDark": "pf-v5-theme-dark",
|
37
19
|
"tooltip": "pf-v5-c-tooltip",
|
@@ -2,38 +2,20 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./tooltip.css');
|
4
4
|
exports.default = {
|
5
|
-
"dirRtl": "pf-v5-m-dir-rtl",
|
6
5
|
"modifiers": {
|
7
6
|
"top": "pf-m-top",
|
8
7
|
"topLeft": "pf-m-top-left",
|
9
8
|
"topRight": "pf-m-top-right",
|
10
|
-
"blockStart": "pf-m-block-start",
|
11
|
-
"blockStartInlineStart": "pf-m-block-start-inline-start",
|
12
|
-
"blockStartInlineEnd": "pf-m-block-start-inline-end",
|
13
9
|
"bottom": "pf-m-bottom",
|
14
10
|
"bottomLeft": "pf-m-bottom-left",
|
15
11
|
"bottomRight": "pf-m-bottom-right",
|
16
|
-
"blockEnd": "pf-m-block-end",
|
17
|
-
"blockEndInlineStart": "pf-m-block-end-inline-start",
|
18
|
-
"blockEndInlineEnd": "pf-m-block-end-inline-end",
|
19
12
|
"left": "pf-m-left",
|
20
13
|
"leftTop": "pf-m-left-top",
|
21
14
|
"leftBottom": "pf-m-left-bottom",
|
22
|
-
"inlineStart": "pf-m-inline-start",
|
23
|
-
"inlineStartBlockStart": "pf-m-inline-start-block-start",
|
24
|
-
"inlineStartBlockEnd": "pf-m-inline-start-block-end",
|
25
15
|
"right": "pf-m-right",
|
26
16
|
"rightTop": "pf-m-right-top",
|
27
17
|
"rightBottom": "pf-m-right-bottom",
|
28
|
-
"
|
29
|
-
"inlineEndBlockStart": "pf-m-inline-end-block-start",
|
30
|
-
"inlineEndBlockEnd": "pf-m-inline-end-block-end",
|
31
|
-
"blockStartBlockStart": "pf-m-block-start-block-start",
|
32
|
-
"blockEndBlockStart": "pf-m-block-end-block-start",
|
33
|
-
"blockStartBlockEnd": "pf-m-block-start-block-end",
|
34
|
-
"blockEndBlockEnd": "pf-m-block-end-block-end",
|
35
|
-
"textAlignLeft": "pf-m-text-align-left",
|
36
|
-
"textAlignStart": "pf-m-text-align-start"
|
18
|
+
"textAlignLeft": "pf-m-text-align-left"
|
37
19
|
},
|
38
20
|
"themeDark": "pf-v5-theme-dark",
|
39
21
|
"tooltip": "pf-v5-c-tooltip",
|
@@ -1,37 +1,19 @@
|
|
1
1
|
import './tooltip.css';
|
2
2
|
export default {
|
3
|
-
"dirRtl": "pf-v5-m-dir-rtl",
|
4
3
|
"modifiers": {
|
5
4
|
"top": "pf-m-top",
|
6
5
|
"topLeft": "pf-m-top-left",
|
7
6
|
"topRight": "pf-m-top-right",
|
8
|
-
"blockStart": "pf-m-block-start",
|
9
|
-
"blockStartInlineStart": "pf-m-block-start-inline-start",
|
10
|
-
"blockStartInlineEnd": "pf-m-block-start-inline-end",
|
11
7
|
"bottom": "pf-m-bottom",
|
12
8
|
"bottomLeft": "pf-m-bottom-left",
|
13
9
|
"bottomRight": "pf-m-bottom-right",
|
14
|
-
"blockEnd": "pf-m-block-end",
|
15
|
-
"blockEndInlineStart": "pf-m-block-end-inline-start",
|
16
|
-
"blockEndInlineEnd": "pf-m-block-end-inline-end",
|
17
10
|
"left": "pf-m-left",
|
18
11
|
"leftTop": "pf-m-left-top",
|
19
12
|
"leftBottom": "pf-m-left-bottom",
|
20
|
-
"inlineStart": "pf-m-inline-start",
|
21
|
-
"inlineStartBlockStart": "pf-m-inline-start-block-start",
|
22
|
-
"inlineStartBlockEnd": "pf-m-inline-start-block-end",
|
23
13
|
"right": "pf-m-right",
|
24
14
|
"rightTop": "pf-m-right-top",
|
25
15
|
"rightBottom": "pf-m-right-bottom",
|
26
|
-
"
|
27
|
-
"inlineEndBlockStart": "pf-m-inline-end-block-start",
|
28
|
-
"inlineEndBlockEnd": "pf-m-inline-end-block-end",
|
29
|
-
"blockStartBlockStart": "pf-m-block-start-block-start",
|
30
|
-
"blockEndBlockStart": "pf-m-block-end-block-start",
|
31
|
-
"blockStartBlockEnd": "pf-m-block-start-block-end",
|
32
|
-
"blockEndBlockEnd": "pf-m-block-end-block-end",
|
33
|
-
"textAlignLeft": "pf-m-text-align-left",
|
34
|
-
"textAlignStart": "pf-m-text-align-start"
|
16
|
+
"textAlignLeft": "pf-m-text-align-left"
|
35
17
|
},
|
36
18
|
"themeDark": "pf-v5-theme-dark",
|
37
19
|
"tooltip": "pf-v5-c-tooltip",
|
@@ -16,3 +16,11 @@
|
|
16
16
|
align-items: flex-end;
|
17
17
|
justify-content: flex-end;
|
18
18
|
}
|
19
|
+
|
20
|
+
:is([id="ws-core-c-menu-drilldown-with-breadcrumbs---level-3"], [id="ws-core-c-menu-drilldown-with-breadcrumbs---level-4"]) {
|
21
|
+
position: relative;
|
22
|
+
}
|
23
|
+
|
24
|
+
:is([id="ws-core-c-menu-drilldown-with-breadcrumbs---level-3"], [id="ws-core-c-menu-drilldown-with-breadcrumbs---level-4"]) .pf-v5-c-breadcrumb__dropdown .pf-v5-c-menu {
|
25
|
+
position: absolute;
|
26
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@patternfly/react-styles",
|
3
|
-
"version": "5.1.1-prerelease.
|
3
|
+
"version": "5.1.1-prerelease.7",
|
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.1.0-prerelease.
|
21
|
+
"@patternfly/patternfly": "5.1.0-prerelease.32",
|
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": "262e474df57437fead3a7c4e995a96c68eb8f9ef"
|
32
32
|
}
|