@patternfly/patternfly 6.0.0-alpha.56 → 6.0.0-alpha.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Button/button.css +26 -11
- package/components/Button/button.scss +27 -12
- package/components/CodeBlock/code-block.css +18 -9
- package/components/CodeBlock/code-block.scss +18 -10
- package/components/DescriptionList/description-list.css +39 -34
- package/components/DescriptionList/description-list.scss +25 -25
- package/components/FileUpload/file-upload.css +28 -34
- package/components/FileUpload/file-upload.scss +30 -42
- package/components/Icon/icon.css +154 -18
- package/components/Icon/icon.scss +187 -20
- package/components/Label/label-group.css +39 -44
- package/components/Label/label-group.scss +39 -45
- package/components/Label/label.css +258 -355
- package/components/Label/label.scss +297 -347
- package/components/Sidebar/sidebar.css +20 -9
- package/components/Sidebar/sidebar.scss +23 -11
- package/components/SimpleList/simple-list.css +1 -1
- package/components/SimpleList/simple-list.scss +1 -1
- package/components/ToggleGroup/toggle-group.css +34 -47
- package/components/ToggleGroup/toggle-group.scss +34 -45
- package/docs/components/FileUpload/examples/FileUpload.md +112 -53
- package/docs/components/Icon/examples/Icon.md +82 -11
- package/docs/components/Label/examples/Label.css +4 -0
- package/docs/components/Label/examples/Label.md +999 -223
- package/docs/components/Sidebar/examples/Sidebar.md +19 -0
- package/docs/demos/Form/examples/BasicForms.md +2 -2
- package/package.json +1 -1
- package/patternfly-no-globals.css +701 -570
- package/patternfly-theme-dark-unversioned.css +701 -570
- package/patternfly.css +701 -570
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +18 -0
- package/components/Label/themes/dark/label.scss +0 -53
- package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
|
@@ -24,6 +24,24 @@ cssPrefix: pf-v5-c-sidebar
|
|
|
24
24
|
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
### With secondary background
|
|
28
|
+
|
|
29
|
+
```html
|
|
30
|
+
<div class="pf-v5-c-sidebar">
|
|
31
|
+
<div class="pf-v5-c-sidebar__main">
|
|
32
|
+
<div class="pf-v5-c-sidebar__panel pf-m-secondary">Sidebar panel</div>
|
|
33
|
+
<div class="pf-v5-c-sidebar__content pf-m-secondary">
|
|
34
|
+
<div class="pf-v5-c-content">
|
|
35
|
+
<p>Default layout.</p>
|
|
36
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse dapibus nulla id augue dictum commodo. Donec mollis arcu massa, sollicitudin venenatis est rutrum vitae. Integer pulvinar ligula at augue mollis, ac pulvinar arcu semper. Maecenas nisi lorem, malesuada ac lectus nec, porta pretium neque. Ut convallis libero sit amet metus mattis, vel facilisis lorem malesuada. Duis consectetur ante sit amet magna efficitur, a interdum leo vulputate.</p>
|
|
37
|
+
<p>Praesent at odio nec sapien ultrices tincidunt in non mauris. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Duis consectetur nisl quis facilisis faucibus. Sed eu bibendum risus. Suspendisse porta euismod tortor, at elementum odio suscipit sed. Cras eget ultrices urna, ac feugiat lectus. Integer a pharetra velit, in imperdiet mi. Phasellus vel hendrerit velit. Vestibulum ut augue vitae erat vulputate bibendum a ut magna.</p>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
|
|
27
45
|
### Gutter
|
|
28
46
|
|
|
29
47
|
```html
|
|
@@ -249,3 +267,4 @@ cssPrefix: pf-v5-c-sidebar
|
|
|
249
267
|
| `.pf-m-static` | `.pf-v5-c-sidebar__panel` | Modifies the panel to be positioned statically. |
|
|
250
268
|
| `.pf-m-width-{default, 25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-v5-c-sidebar__panel` | Modifies the panel width at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** does not apply when the panel is stacked on top of the content. |
|
|
251
269
|
| `.pf-m-no-background` | `.pf-v5-c-sidebar`, `.pf-v5-c-sidebar__panel, .pf-v5-c-sidebar__content` | Modifies the element to have a transparent background. |
|
|
270
|
+
| `.pf-m-secondary` | `.pf-v5-c-sidebar__panel, .pf-v5-c-sidebar__content` | Modifies the element to have secondary styling. |
|
|
@@ -828,7 +828,7 @@ subsection: forms
|
|
|
828
828
|
</span>
|
|
829
829
|
<span class="pf-v5-c-label__actions">
|
|
830
830
|
<button
|
|
831
|
-
class="pf-v5-c-button pf-m-plain"
|
|
831
|
+
class="pf-v5-c-button pf-m-plain pf-m-no-padding"
|
|
832
832
|
type="button"
|
|
833
833
|
id="-label-1-button"
|
|
834
834
|
aria-label="Remove"
|
|
@@ -849,7 +849,7 @@ subsection: forms
|
|
|
849
849
|
</span>
|
|
850
850
|
<span class="pf-v5-c-label__actions">
|
|
851
851
|
<button
|
|
852
|
-
class="pf-v5-c-button pf-m-plain"
|
|
852
|
+
class="pf-v5-c-button pf-m-plain pf-m-no-padding"
|
|
853
853
|
type="button"
|
|
854
854
|
id="-label-2-button"
|
|
855
855
|
aria-label="Remove"
|