@patternfly/react-styles 6.0.0-alpha.27 → 6.0.0-alpha.29
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +12 -0
- package/css/assets/images/img_avatar-dark.svg +22 -16
- package/css/assets/images/img_avatar-light.svg +25 -18
- package/css/components/Alert/alert-group.css +55 -4
- package/css/components/Alert/alert-group.d.ts +5 -1
- package/css/components/Alert/alert-group.js +5 -1
- package/css/components/Alert/alert-group.mjs +5 -1
- package/css/components/Alert/alert.css +5 -14
- package/css/components/Button/button.css +11 -7
- package/css/components/Card/card.css +7 -7
- package/css/components/Card/card.d.ts +1 -0
- package/css/components/Card/card.js +1 -0
- package/css/components/Card/card.mjs +1 -0
- package/css/components/ClipboardCopy/clipboard-copy.css +2 -2
- package/css/components/Content/content.css +19 -43
- package/css/components/DataList/data-list.css +2 -2
- package/css/components/Drawer/drawer.css +6 -6
- package/css/components/EmptyState/empty-state.css +3 -3
- package/css/components/Form/form.css +58 -1
- package/css/components/Form/form.d.ts +1 -1
- package/css/components/Form/form.js +1 -1
- package/css/components/Form/form.mjs +1 -1
- package/css/components/Hint/hint.css +1 -7
- package/css/components/Icon/icon.css +4 -4
- package/css/components/InlineEdit/inline-edit.css +2 -2
- package/css/components/JumpLinks/jump-links.css +0 -7
- package/css/components/JumpLinks/jump-links.d.ts +0 -1
- package/css/components/JumpLinks/jump-links.js +0 -1
- package/css/components/JumpLinks/jump-links.mjs +0 -1
- package/css/components/Label/label.css +6 -6
- package/css/components/List/list.css +33 -40
- package/css/components/MenuToggle/menu-toggle.css +6 -34
- package/css/components/MenuToggle/menu-toggle.d.ts +0 -1
- package/css/components/MenuToggle/menu-toggle.js +0 -1
- package/css/components/MenuToggle/menu-toggle.mjs +0 -1
- package/css/components/ModalBox/modal-box.css +2 -0
- package/css/components/NotificationDrawer/notification-drawer.css +6 -7
- package/css/components/NotificationDrawer/notification-drawer.d.ts +1 -0
- package/css/components/NotificationDrawer/notification-drawer.js +1 -0
- package/css/components/NotificationDrawer/notification-drawer.mjs +1 -0
- package/css/components/NumberInput/number-input.css +0 -1
- package/css/components/Page/page.css +7 -1
- package/css/components/Page/page.d.ts +1 -0
- package/css/components/Page/page.js +1 -0
- package/css/components/Page/page.mjs +1 -0
- package/css/components/Popover/popover.css +3 -5
- package/css/components/Switch/switch.css +0 -6
- package/css/components/Switch/switch.d.ts +1 -3
- package/css/components/Switch/switch.js +1 -3
- package/css/components/Switch/switch.mjs +1 -3
- package/css/components/Table/table-grid.css +31 -100
- package/css/components/Table/table-grid.d.ts +2 -1
- package/css/components/Table/table-grid.js +2 -1
- package/css/components/Table/table-grid.mjs +2 -1
- package/css/components/Table/table-tree-view.css +20 -0
- package/css/components/Table/table-tree-view.d.ts +1 -0
- package/css/components/Table/table-tree-view.js +1 -0
- package/css/components/Table/table-tree-view.mjs +1 -0
- package/css/components/Tabs/tabs.css +1 -18
- package/css/components/Tabs/tabs.d.ts +1 -2
- package/css/components/Tabs/tabs.js +1 -2
- package/css/components/Tabs/tabs.mjs +1 -2
- package/css/components/TextInputGroup/text-input-group.css +67 -15
- package/css/components/TextInputGroup/text-input-group.d.ts +4 -0
- package/css/components/TextInputGroup/text-input-group.js +4 -0
- package/css/components/TextInputGroup/text-input-group.mjs +4 -0
- package/css/components/Toolbar/toolbar.css +298 -1323
- package/css/components/Toolbar/toolbar.d.ts +5 -113
- package/css/components/Toolbar/toolbar.js +5 -113
- package/css/components/Toolbar/toolbar.mjs +5 -113
- package/css/components/Truncate/truncate.css +1 -1
- package/css/components/Wizard/wizard.css +24 -9
- package/css/components/Wizard/wizard.d.ts +1 -0
- package/css/components/Wizard/wizard.js +1 -0
- package/css/components/Wizard/wizard.mjs +1 -0
- package/css/components/_index.css +669 -1841
- package/css/components/_index.d.ts +9 -131
- package/css/components/_index.js +9 -131
- package/css/components/_index.mjs +9 -131
- package/css/docs/components/Toolbar/examples/Toolbar.css +10 -4
- package/css/docs/demos/Page/examples/Page.css +11 -0
- package/css/docs/demos/Page/examples/Page.d.ts +9 -0
- package/css/docs/demos/Page/examples/Page.js +10 -0
- package/css/docs/demos/Page/examples/Page.mjs +8 -0
- package/css/docs/demos/Toolbar/examples/Toolbar.css +9 -1
- package/package.json +3 -3
- package/css/components/LogViewer/log-viewer.css +0 -176
- package/css/components/LogViewer/log-viewer.d.ts +0 -25
- package/css/components/LogViewer/log-viewer.js +0 -26
- package/css/components/LogViewer/log-viewer.mjs +0 -24
- package/css/docs/components/AppLauncher/deprecated/application-launcher.css +0 -25
- package/css/docs/components/AppLauncher/deprecated/application-launcher.d.ts +0 -3
- package/css/docs/components/AppLauncher/deprecated/application-launcher.js +0 -4
- package/css/docs/components/AppLauncher/deprecated/application-launcher.mjs +0 -2
- package/css/docs/components/ContextSelector/deprecated/context-selector.css +0 -7
- package/css/docs/components/ContextSelector/deprecated/context-selector.d.ts +0 -3
- package/css/docs/components/ContextSelector/deprecated/context-selector.js +0 -4
- package/css/docs/components/ContextSelector/deprecated/context-selector.mjs +0 -2
- package/css/docs/components/Dropdown/deprecated/Dropdown.css +0 -64
- package/css/docs/components/Dropdown/deprecated/Dropdown.d.ts +0 -6
- package/css/docs/components/Dropdown/deprecated/Dropdown.js +0 -7
- package/css/docs/components/Dropdown/deprecated/Dropdown.mjs +0 -5
- package/css/docs/components/LogViewer/examples/LogViewer.css +0 -24
- package/css/docs/components/LogViewer/examples/LogViewer.d.ts +0 -8
- package/css/docs/components/LogViewer/examples/LogViewer.js +0 -9
- package/css/docs/components/LogViewer/examples/LogViewer.mjs +0 -7
- package/css/docs/components/OptionsMenu/deprecated/options-menu.css +0 -25
- package/css/docs/components/OptionsMenu/deprecated/options-menu.d.ts +0 -3
- package/css/docs/components/OptionsMenu/deprecated/options-menu.js +0 -4
- package/css/docs/components/OptionsMenu/deprecated/options-menu.mjs +0 -2
- package/css/docs/components/Select/deprecated/Select.css +0 -56
- package/css/docs/components/Select/deprecated/Select.d.ts +0 -3
- package/css/docs/components/Select/deprecated/Select.js +0 -4
- package/css/docs/components/Select/deprecated/Select.mjs +0 -2
@@ -78,6 +78,5 @@ export default {
|
|
78
78
|
"tabsScrollButton": "pf-v6-c-tabs__scroll-button",
|
79
79
|
"tabsToggle": "pf-v6-c-tabs__toggle",
|
80
80
|
"tabsToggleButton": "pf-v6-c-tabs__toggle-button",
|
81
|
-
"tabsToggleIcon": "pf-v6-c-tabs__toggle-icon"
|
82
|
-
"tabsToggleText": "pf-v6-c-tabs__toggle-text"
|
81
|
+
"tabsToggleIcon": "pf-v6-c-tabs__toggle-icon"
|
83
82
|
};
|
@@ -1,10 +1,19 @@
|
|
1
1
|
:where(:root, .pf-v6-c-text-input-group) {
|
2
2
|
--pf-v6-c-text-input-group--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
3
3
|
--pf-v6-c-text-input-group--BorderColor: var(--pf-t--global--border--color--default);
|
4
|
+
--pf-v6-c-text-input-group--m-success--BorderColor: var(--pf-t--global--border--color--status--success--default);
|
5
|
+
--pf-v6-c-text-input-group--m-warning--BorderColor: var(--pf-t--global--border--color--status--warning--default);
|
6
|
+
--pf-v6-c-text-input-group--m-error--BorderColor: var(--pf-t--global--border--color--status--danger--default);
|
4
7
|
--pf-v6-c-text-input-group--BorderWidth: var(--pf-t--global--border--width--control--default);
|
8
|
+
--pf-v6-c-text-input-group__LineHeight: var(--pf-t--global--font--line-height--body);
|
9
|
+
--pf-v6-c-text-input-group__FontSize: var(--pf-t--global--font--size--body--default);
|
5
10
|
--pf-v6-c-text-input-group--m-hover--BorderColor: var(--pf-t--global--border--color--hover);
|
11
|
+
--pf-v6-c-text-input-group--m-hover--m-success--BorderColor: var(--pf-t--global--border--color--status--success--hover);
|
12
|
+
--pf-v6-c-text-input-group--m-hover--m-warning--BorderColor: var(--pf-t--global--border--color--status--warning--hover);
|
13
|
+
--pf-v6-c-text-input-group--m-hover--m-error--BorderColor: var(--pf-t--global--border--color--status--danger--hover);
|
6
14
|
--pf-v6-c-text-input-group__main--first-child--not--text-input--MarginInlineStart: var(--pf-t--global--spacer--xs);
|
7
15
|
--pf-v6-c-text-input-group__main--m-icon__text-input--PaddingInlineStart: var(--pf-t--global--spacer--xl);
|
16
|
+
--pf-v6-c-text-input-group--status__text-input--PaddingInlineEnd: var(--pf-t--global--spacer--xl);
|
8
17
|
--pf-v6-c-text-input-group__main--RowGap: var(--pf-t--global--spacer--xs);
|
9
18
|
--pf-v6-c-text-input-group__main--ColumnGap: var(--pf-t--global--spacer--xs);
|
10
19
|
--pf-v6-c-text-input-group__text--BorderRadius--base: var(--pf-t--global--border--radius--small);
|
@@ -25,7 +34,14 @@
|
|
25
34
|
--pf-v6-c-text-input-group__text-input--BackgroundColor: transparent;
|
26
35
|
--pf-v6-c-text-input-group__text-input--OutlineOffset: -6px;
|
27
36
|
--pf-v6-c-text-input-group__icon--InsetInlineStart: var(--pf-t--global--spacer--sm);
|
37
|
+
--pf-v6-c-text-input-group__icon--m-status--InsetInlineEnd: var(--pf-t--global--spacer--sm);
|
28
38
|
--pf-v6-c-text-input-group__icon--Color: var(--pf-t--global--icon--color--regular);
|
39
|
+
--pf-v6-c-text-input-group--m-disabled__icon--Color: var(--pf-t--global--icon--color--disabled);
|
40
|
+
--pf-v6-c-text-input-group__icon--m-status--Color: var(--pf-t--global--icon--color--regular);
|
41
|
+
--pf-v6-c-text-input-group--m-disabled__icon--m-status--Color: var(--pf-t--global--icon--color--disabled);
|
42
|
+
--pf-v6-c-text-input-group__main--m-success__icon--m-status--Color: var(--pf-t--global--icon--color--status--success--default);
|
43
|
+
--pf-v6-c-text-input-group__main--m-warning__icon--m-status--Color: var(--pf-t--global--icon--color--status--warning--default);
|
44
|
+
--pf-v6-c-text-input-group__main--m-error__icon--m-status--Color: var(--pf-t--global--icon--color--status--danger--default);
|
29
45
|
--pf-v6-c-text-input-group__icon--TranslateY: -50%;
|
30
46
|
--pf-v6-c-text-input-group__utilities--child--MarginInlineStart: var(--pf-t--global--spacer--xs);
|
31
47
|
--pf-v6-c-text-input-group__utilities--c-button--PaddingInlineEnd: var(--pf-t--global--spacer--xs);
|
@@ -38,24 +54,60 @@
|
|
38
54
|
position: relative;
|
39
55
|
display: flex;
|
40
56
|
width: 100%;
|
57
|
+
font-size: var(--pf-v6-c-text-input-group__FontSize);
|
58
|
+
line-height: var(--pf-v6-c-text-input-group__LineHeight);
|
41
59
|
color: var(--pf-v6-c-text-input-group--Color, inherit);
|
42
60
|
background-color: var(--pf-v6-c-text-input-group--BackgroundColor);
|
61
|
+
border-start-start-radius: var(--pf-v6-c-text-input-group__text--BorderStartStartRadius);
|
62
|
+
border-start-end-radius: var(--pf-v6-c-text-input-group__text--BorderStartEndRadius);
|
63
|
+
border-end-start-radius: var(--pf-v6-c-text-input-group__text--BorderEndStartRadius);
|
64
|
+
border-end-end-radius: var(--pf-v6-c-text-input-group__text--BorderEndEndRadius);
|
43
65
|
}
|
44
|
-
.pf-v6-c-text-input-group
|
45
|
-
|
66
|
+
.pf-v6-c-text-input-group::before {
|
67
|
+
position: absolute;
|
68
|
+
inset: 0;
|
69
|
+
pointer-events: none;
|
70
|
+
content: "";
|
71
|
+
border: var(--pf-v6-c-text-input-group--BorderWidth) solid var(--pf-v6-c-text-input-group--BorderColor);
|
72
|
+
border-start-start-radius: var(--pf-v6-c-text-input-group__text--BorderStartStartRadius);
|
73
|
+
border-start-end-radius: var(--pf-v6-c-text-input-group__text--BorderStartEndRadius);
|
74
|
+
border-end-start-radius: var(--pf-v6-c-text-input-group__text--BorderEndStartRadius);
|
75
|
+
border-end-end-radius: var(--pf-v6-c-text-input-group__text--BorderEndEndRadius);
|
46
76
|
}
|
47
77
|
.pf-v6-c-text-input-group.pf-m-disabled {
|
48
78
|
--pf-v6-c-text-input-group--Color: var(--pf-v6-c-text-input-group--m-disabled--Color);
|
49
|
-
--pf-v6-c-text-input-group__icon--Color: var(--pf-v6-c-text-input-group--m-
|
79
|
+
--pf-v6-c-text-input-group__icon--Color: var(--pf-v6-c-text-input-group--m-disabled__icon--Color);
|
80
|
+
--pf-v6-c-text-input-group__icon--m-status--Color: var(--pf-v6-c-text-input-group--m-disabled__icon--m-status--Color);
|
50
81
|
--pf-v6-c-text-input-group--BackgroundColor: var(--pf-v6-c-text-input-group--m-disabled--BackgroundColor);
|
51
82
|
pointer-events: none;
|
52
83
|
}
|
53
84
|
.pf-v6-c-text-input-group.pf-m-plain {
|
54
85
|
--pf-v6-c-text-input-group--BackgroundColor: transparent;
|
55
86
|
}
|
56
|
-
.pf-v6-c-text-input-group.pf-m-plain
|
87
|
+
.pf-v6-c-text-input-group.pf-m-plain::before {
|
57
88
|
border: 0;
|
58
89
|
}
|
90
|
+
.pf-v6-c-text-input-group.pf-m-success {
|
91
|
+
--pf-v6-c-text-input-group--BorderColor: var(--pf-v6-c-text-input-group--m-success--BorderColor);
|
92
|
+
--pf-v6-c-text-input-group--m-hover--BorderColor: var(--pf-v6-c-text-input-group--m-hover--m-success--BorderColor);
|
93
|
+
--pf-v6-c-text-input-group__icon--m-status--Color: var(--pf-v6-c-text-input-group__main--m-success__icon--m-status--Color);
|
94
|
+
}
|
95
|
+
.pf-v6-c-text-input-group.pf-m-warning {
|
96
|
+
--pf-v6-c-text-input-group--BorderColor: var(--pf-v6-c-text-input-group--m-warning--BorderColor);
|
97
|
+
--pf-v6-c-text-input-group--m-hover--BorderColor: var(--pf-v6-c-text-input-group--m-hover--m-warning--BorderColor);
|
98
|
+
--pf-v6-c-text-input-group__icon--m-status--Color: var(--pf-v6-c-text-input-group__main--m-warning__icon--m-status--Color);
|
99
|
+
}
|
100
|
+
.pf-v6-c-text-input-group.pf-m-error {
|
101
|
+
--pf-v6-c-text-input-group--BorderColor: var(--pf-v6-c-text-input-group--m-error--BorderColor);
|
102
|
+
--pf-v6-c-text-input-group--m-hover--BorderColor: var(--pf-v6-c-text-input-group--m-hover--m-error--BorderColor);
|
103
|
+
--pf-v6-c-text-input-group__icon--m-status--Color: var(--pf-v6-c-text-input-group__main--m-error__icon--m-status--Color);
|
104
|
+
}
|
105
|
+
.pf-v6-c-text-input-group:hover {
|
106
|
+
--pf-v6-c-text-input-group--BorderColor: var(--pf-v6-c-text-input-group--m-hover--BorderColor);
|
107
|
+
}
|
108
|
+
.pf-v6-c-text-input-group:where(.pf-m-success, .pf-m-warning, .pf-m-error) {
|
109
|
+
--pf-v6-c-text-input-group__text-input--PaddingInlineEnd: var(--pf-v6-c-text-input-group--status__text-input--PaddingInlineEnd);
|
110
|
+
}
|
59
111
|
|
60
112
|
.pf-v6-c-text-input-group__main {
|
61
113
|
display: flex;
|
@@ -65,7 +117,12 @@
|
|
65
117
|
min-width: 0;
|
66
118
|
}
|
67
119
|
.pf-v6-c-text-input-group__main.pf-m-icon {
|
120
|
+
--pf-v6-c-text-input-group__text--Position: relative;
|
68
121
|
--pf-v6-c-text-input-group__text-input--PaddingInlineStart: var(--pf-v6-c-text-input-group__main--m-icon__text-input--PaddingInlineStart);
|
122
|
+
display: inline-flex;
|
123
|
+
align-items: center;
|
124
|
+
justify-content: center;
|
125
|
+
min-width: calc(var(--pf-v6-c-text-input-group__LineHeight) * var(--pf-v6-c-text-input-group__FontSize));
|
69
126
|
}
|
70
127
|
.pf-v6-c-text-input-group__main > :first-child:not(.pf-v6-c-text-input-group__text) {
|
71
128
|
padding-block-start: var(--pf-v6-c-text-input-group__main--first-child--not--text-input--PaddingBlockStart);
|
@@ -79,22 +136,12 @@
|
|
79
136
|
}
|
80
137
|
|
81
138
|
.pf-v6-c-text-input-group__text {
|
139
|
+
position: var(--pf-v6-c-text-input-group__text--Position, revert);
|
82
140
|
display: inline-grid;
|
83
141
|
flex: 1;
|
84
142
|
grid-template-areas: "text-input";
|
85
143
|
grid-template-columns: 1fr;
|
86
144
|
}
|
87
|
-
.pf-v6-c-text-input-group__text::before {
|
88
|
-
position: absolute;
|
89
|
-
inset: 0;
|
90
|
-
pointer-events: none;
|
91
|
-
content: "";
|
92
|
-
border: var(--pf-v6-c-text-input-group--BorderWidth) solid var(--pf-v6-c-text-input-group--BorderColor);
|
93
|
-
border-start-start-radius: var(--pf-v6-c-text-input-group__text--BorderStartStartRadius);
|
94
|
-
border-start-end-radius: var(--pf-v6-c-text-input-group__text--BorderStartEndRadius);
|
95
|
-
border-end-start-radius: var(--pf-v6-c-text-input-group__text--BorderEndStartRadius);
|
96
|
-
border-end-end-radius: var(--pf-v6-c-text-input-group__text--BorderEndEndRadius);
|
97
|
-
}
|
98
145
|
|
99
146
|
.pf-v6-c-text-input-group__icon {
|
100
147
|
position: absolute;
|
@@ -103,6 +150,11 @@
|
|
103
150
|
color: var(--pf-v6-c-text-input-group__icon--Color);
|
104
151
|
transform: translateY(var(--pf-v6-c-text-input-group__icon--TranslateY));
|
105
152
|
}
|
153
|
+
.pf-v6-c-text-input-group__icon.pf-m-status {
|
154
|
+
inset-inline-start: auto;
|
155
|
+
inset-inline-end: var(--pf-v6-c-text-input-group__icon--m-status--InsetInlineEnd);
|
156
|
+
color: var(--pf-v6-c-text-input-group__icon--m-status--Color);
|
157
|
+
}
|
106
158
|
|
107
159
|
.pf-v6-c-text-input-group__text-input {
|
108
160
|
overflow: hidden;
|
@@ -4,7 +4,11 @@ declare const _default: {
|
|
4
4
|
"modifiers": {
|
5
5
|
"disabled": "pf-m-disabled",
|
6
6
|
"plain": "pf-m-plain",
|
7
|
+
"success": "pf-m-success",
|
8
|
+
"warning": "pf-m-warning",
|
9
|
+
"error": "pf-m-error",
|
7
10
|
"icon": "pf-m-icon",
|
11
|
+
"status": "pf-m-status",
|
8
12
|
"hint": "pf-m-hint"
|
9
13
|
},
|
10
14
|
"textInputGroup": "pf-v6-c-text-input-group",
|
@@ -6,7 +6,11 @@ exports.default = {
|
|
6
6
|
"modifiers": {
|
7
7
|
"disabled": "pf-m-disabled",
|
8
8
|
"plain": "pf-m-plain",
|
9
|
+
"success": "pf-m-success",
|
10
|
+
"warning": "pf-m-warning",
|
11
|
+
"error": "pf-m-error",
|
9
12
|
"icon": "pf-m-icon",
|
13
|
+
"status": "pf-m-status",
|
10
14
|
"hint": "pf-m-hint"
|
11
15
|
},
|
12
16
|
"textInputGroup": "pf-v6-c-text-input-group",
|
@@ -4,7 +4,11 @@ export default {
|
|
4
4
|
"modifiers": {
|
5
5
|
"disabled": "pf-m-disabled",
|
6
6
|
"plain": "pf-m-plain",
|
7
|
+
"success": "pf-m-success",
|
8
|
+
"warning": "pf-m-warning",
|
9
|
+
"error": "pf-m-error",
|
7
10
|
"icon": "pf-m-icon",
|
11
|
+
"status": "pf-m-status",
|
8
12
|
"hint": "pf-m-hint"
|
9
13
|
},
|
10
14
|
"textInputGroup": "pf-v6-c-text-input-group",
|