@patternfly/patternfly 6.5.0-prerelease.2 → 6.5.0-prerelease.20
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/assets/images/RHAiExperienceIcon.svg +27 -0
- package/assets/images/RHAutomationsLogo.svg +96 -0
- package/assets/images/RHServerStackIcon.svg +16 -0
- package/assets/images/compass--hero-bg.png +0 -0
- package/assets/images/compass--rh-wallpaper-dark.png +0 -0
- package/assets/images/compass--rh-wallpaper-light.png +0 -0
- package/assets/images/compass--wallpaper-dark.png +0 -0
- package/assets/images/compass--wallpaper-light.png +0 -0
- package/base/normalize.scss +7 -0
- package/base/patternfly-common.css +46 -0
- package/base/patternfly-common.scss +56 -0
- package/base/patternfly-variables.css +42 -0
- package/base/tokens/tokens-local.scss +66 -0
- package/components/ActionList/action-list.css +9 -0
- package/components/ActionList/action-list.scss +12 -0
- package/components/Button/button.css +34 -4
- package/components/Button/button.scss +40 -4
- package/components/Card/card.css +12 -0
- package/components/Card/card.scss +15 -1
- package/components/Compass/compass.css +195 -0
- package/components/Compass/compass.scss +262 -0
- package/components/DataList/data-list.css +5 -1
- package/components/DataList/data-list.scss +6 -1
- package/components/Drawer/drawer.css +43 -3
- package/components/Drawer/drawer.scss +52 -4
- package/components/MenuToggle/menu-toggle.css +4 -0
- package/components/MenuToggle/menu-toggle.scss +5 -0
- package/components/Spinner/spinner.css +3 -0
- package/components/Spinner/spinner.scss +5 -0
- package/components/Table/table.css +3 -0
- package/components/Table/table.scss +5 -0
- package/components/Tabs/tabs.css +16 -1
- package/components/Tabs/tabs.scss +21 -1
- package/components/_index.css +324 -9
- package/components/_index.scss +1 -0
- package/docs/components/ActionList/examples/ActionList.md +85 -0
- package/docs/components/Button/examples/Button.md +116 -0
- package/docs/components/Card/examples/Card.md +154 -0
- package/docs/components/Compass/examples/Compass.css +11 -0
- package/docs/components/Compass/examples/Compass.md +66 -0
- package/docs/components/DataList/examples/DataList.md +181 -185
- package/docs/components/Drawer/examples/Drawer.md +80 -14
- package/docs/components/MenuToggle/examples/MenuToggle.md +40 -0
- package/docs/components/Table/examples/Table.md +88 -0
- package/docs/components/Tabs/examples/Tabs.md +197 -18
- package/docs/components/Wizard/examples/Wizard.md +15 -15
- package/docs/demos/Compass/examples/Compass.md +5824 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +1 -4
- package/docs/demos/DescriptionList/examples/DescriptionList.md +31 -33
- package/docs/demos/Drawer/examples/Drawer.md +31 -33
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +127 -163
- package/docs/demos/Wizard/examples/Wizard.md +31 -34
- package/icons/PfIcons/add-circle-o.svg +4 -0
- package/icons/PfIcons/ansible-tower.svg +4 -0
- package/icons/PfIcons/applications.svg +4 -0
- package/icons/PfIcons/arrow.svg +4 -0
- package/icons/PfIcons/asleep.svg +4 -0
- package/icons/PfIcons/attention-bell.svg +4 -0
- package/icons/PfIcons/automation.svg +4 -0
- package/icons/PfIcons/bell.svg +4 -0
- package/icons/PfIcons/blueprint.svg +4 -0
- package/icons/PfIcons/build.svg +4 -0
- package/icons/PfIcons/builder-image.svg +4 -0
- package/icons/PfIcons/bundle.svg +4 -0
- package/icons/PfIcons/catalog.svg +4 -0
- package/icons/PfIcons/chat.svg +4 -0
- package/icons/PfIcons/close.svg +4 -0
- package/icons/PfIcons/cloud-security.svg +4 -0
- package/icons/PfIcons/cloud-tenant.svg +4 -0
- package/icons/PfIcons/cluster.svg +4 -0
- package/icons/PfIcons/connected.svg +4 -0
- package/icons/PfIcons/container-node.svg +4 -0
- package/icons/PfIcons/cpu.svg +4 -0
- package/icons/PfIcons/critical-risk.svg +4 -0
- package/icons/PfIcons/data-processor.svg +4 -0
- package/icons/PfIcons/data-sink.svg +4 -0
- package/icons/PfIcons/data-source.svg +4 -0
- package/icons/PfIcons/degraded.svg +4 -0
- package/icons/PfIcons/disconnected.svg +4 -0
- package/icons/PfIcons/domain.svg +4 -0
- package/icons/PfIcons/edit.svg +4 -0
- package/icons/PfIcons/enhancement.svg +4 -0
- package/icons/PfIcons/enterprise.svg +4 -0
- package/icons/PfIcons/equalizer.svg +4 -0
- package/icons/PfIcons/error-circle-o.svg +4 -0
- package/icons/PfIcons/export.svg +4 -0
- package/icons/PfIcons/filter.svg +4 -0
- package/icons/PfIcons/flavor.svg +4 -0
- package/icons/PfIcons/folder-close.svg +4 -0
- package/icons/PfIcons/folder-open.svg +4 -0
- package/icons/PfIcons/globe-route.svg +4 -0
- package/icons/PfIcons/help.svg +4 -0
- package/icons/PfIcons/history.svg +4 -0
- package/icons/PfIcons/home.svg +4 -0
- package/icons/PfIcons/import.svg +4 -0
- package/icons/PfIcons/in-progress.svg +4 -0
- package/icons/PfIcons/info.svg +4 -0
- package/icons/PfIcons/infrastructure.svg +4 -0
- package/icons/PfIcons/integration.svg +4 -0
- package/icons/PfIcons/key.svg +4 -0
- package/icons/PfIcons/locked.svg +4 -0
- package/icons/PfIcons/maintenance.svg +4 -0
- package/icons/PfIcons/memory.svg +4 -0
- package/icons/PfIcons/messages.svg +4 -0
- package/icons/PfIcons/middleware.svg +4 -0
- package/icons/PfIcons/migration.svg +4 -0
- package/icons/PfIcons/module.svg +4 -0
- package/icons/PfIcons/monitoring.svg +4 -0
- package/icons/PfIcons/multicluster.svg +4 -0
- package/icons/PfIcons/namespaces.svg +4 -0
- package/icons/PfIcons/network.svg +4 -0
- package/icons/PfIcons/new-process.svg +4 -0
- package/icons/PfIcons/not-started.svg +4 -0
- package/icons/PfIcons/off.svg +4 -0
- package/icons/PfIcons/ok.svg +4 -0
- package/icons/PfIcons/on-running.svg +4 -0
- package/icons/PfIcons/on.svg +4 -0
- package/icons/PfIcons/open-drawer-right.svg +4 -0
- package/icons/PfIcons/openshift.svg +4 -0
- package/icons/PfIcons/openstack.svg +4 -0
- package/icons/PfIcons/optimize.svg +4 -0
- package/icons/PfIcons/orders.svg +4 -0
- package/icons/PfIcons/os-image.svg +4 -0
- package/icons/PfIcons/package.svg +4 -0
- package/icons/PfIcons/panel-close.svg +4 -0
- package/icons/PfIcons/panel-open.svg +4 -0
- package/icons/PfIcons/paused.svg +4 -0
- package/icons/PfIcons/pending.svg +4 -0
- package/icons/PfIcons/pficon-dragdrop.svg +4 -0
- package/icons/PfIcons/pficon-history.svg +4 -0
- package/icons/PfIcons/pficon-network-range.svg +4 -0
- package/icons/PfIcons/pficon-satellite.svg +4 -0
- package/icons/PfIcons/pficon-sort-common-asc.svg +4 -0
- package/icons/PfIcons/pficon-sort-common-desc.svg +4 -0
- package/icons/PfIcons/pficon-template.svg +4 -0
- package/icons/PfIcons/pficon-vcenter.svg +4 -0
- package/icons/PfIcons/plugged.svg +4 -0
- package/icons/PfIcons/port.svg +4 -0
- package/icons/PfIcons/print.svg +4 -0
- package/icons/PfIcons/private.svg +4 -0
- package/icons/PfIcons/process-automation.svg +4 -0
- package/icons/PfIcons/project.svg +4 -0
- package/icons/PfIcons/rebalance.svg +4 -0
- package/icons/PfIcons/rebooting.svg +4 -0
- package/icons/PfIcons/regions.svg +4 -0
- package/icons/PfIcons/registry.svg +4 -0
- package/icons/PfIcons/remove2.svg +4 -0
- package/icons/PfIcons/replicator.svg +4 -0
- package/icons/PfIcons/repository.svg +4 -0
- package/icons/PfIcons/resource-pool.svg +4 -0
- package/icons/PfIcons/resources-almost-empty.svg +4 -0
- package/icons/PfIcons/resources-almost-full.svg +4 -0
- package/icons/PfIcons/resources-empty.svg +4 -0
- package/icons/PfIcons/resources-full.svg +4 -0
- package/icons/PfIcons/running.svg +4 -0
- package/icons/PfIcons/save.svg +4 -0
- package/icons/PfIcons/screen.svg +4 -0
- package/icons/PfIcons/security.svg +4 -0
- package/icons/PfIcons/server-group.svg +4 -0
- package/icons/PfIcons/server.svg +4 -0
- package/icons/PfIcons/service-catalog.svg +4 -0
- package/icons/PfIcons/service.svg +4 -0
- package/icons/PfIcons/services.svg +4 -0
- package/icons/PfIcons/severity-critical.svg +4 -0
- package/icons/PfIcons/severity-important.svg +4 -0
- package/icons/PfIcons/severity-minor.svg +4 -0
- package/icons/PfIcons/severity-moderate.svg +4 -0
- package/icons/PfIcons/severity-none.svg +4 -0
- package/icons/PfIcons/severity-undefined.svg +4 -0
- package/icons/PfIcons/spinner.svg +4 -0
- package/icons/PfIcons/spinner2.svg +4 -0
- package/icons/PfIcons/storage-domain.svg +4 -0
- package/icons/PfIcons/task.svg +4 -0
- package/icons/PfIcons/tenant.svg +4 -0
- package/icons/PfIcons/thumb-tack.svg +4 -0
- package/icons/PfIcons/topology.svg +4 -0
- package/icons/PfIcons/treeview.svg +4 -0
- package/icons/PfIcons/trend-down.svg +4 -0
- package/icons/PfIcons/trend-up.svg +4 -0
- package/icons/PfIcons/unknown.svg +4 -0
- package/icons/PfIcons/unlocked.svg +4 -0
- package/icons/PfIcons/unplugged.svg +4 -0
- package/icons/PfIcons/user.svg +4 -0
- package/icons/PfIcons/users.svg +4 -0
- package/icons/PfIcons/virtual-machine.svg +4 -0
- package/icons/PfIcons/volume.svg +4 -0
- package/icons/PfIcons/warning-triangle.svg +4 -0
- package/icons/PfIcons/zone.svg +4 -0
- package/package.json +29 -14
- package/patternfly-base-no-globals.css +88 -0
- package/patternfly-base.css +95 -0
- package/patternfly-no-globals.css +412 -9
- package/patternfly.css +419 -9
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/namespaces-components.scss +3 -0
|
@@ -1833,6 +1833,121 @@ Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum v
|
|
|
1833
1833
|
|
|
1834
1834
|
```
|
|
1835
1835
|
|
|
1836
|
+
### Circle buttons
|
|
1837
|
+
|
|
1838
|
+
```html isBeta
|
|
1839
|
+
<button
|
|
1840
|
+
class="pf-v6-c-button pf-m-circle pf-m-primary"
|
|
1841
|
+
type="button"
|
|
1842
|
+
aria-label="Add primary circle variant"
|
|
1843
|
+
>
|
|
1844
|
+
<span class="pf-v6-c-button__icon pf-m-start">
|
|
1845
|
+
<i class="fas fa-plus-circle" aria-hidden="true"></i>
|
|
1846
|
+
</span>
|
|
1847
|
+
</button>
|
|
1848
|
+
|
|
1849
|
+
<button
|
|
1850
|
+
class="pf-v6-c-button pf-m-circle pf-m-secondary"
|
|
1851
|
+
type="button"
|
|
1852
|
+
aria-label="Add secondary circle variant"
|
|
1853
|
+
>
|
|
1854
|
+
<span class="pf-v6-c-button__icon pf-m-start">
|
|
1855
|
+
<i class="fas fa-plus-circle" aria-hidden="true"></i>
|
|
1856
|
+
</span>
|
|
1857
|
+
</button>
|
|
1858
|
+
|
|
1859
|
+
<button
|
|
1860
|
+
class="pf-v6-c-button pf-m-circle pf-m-tertiary"
|
|
1861
|
+
type="button"
|
|
1862
|
+
aria-label="Add tertiary circle variant"
|
|
1863
|
+
>
|
|
1864
|
+
<span class="pf-v6-c-button__icon pf-m-start">
|
|
1865
|
+
<i class="fas fa-plus-circle" aria-hidden="true"></i>
|
|
1866
|
+
</span>
|
|
1867
|
+
</button>
|
|
1868
|
+
|
|
1869
|
+
<button
|
|
1870
|
+
class="pf-v6-c-button pf-m-circle pf-m-danger"
|
|
1871
|
+
type="button"
|
|
1872
|
+
aria-label="Add danger circle variant"
|
|
1873
|
+
>
|
|
1874
|
+
<span class="pf-v6-c-button__icon pf-m-start">
|
|
1875
|
+
<i class="fas fa-plus-circle" aria-hidden="true"></i>
|
|
1876
|
+
</span>
|
|
1877
|
+
</button>
|
|
1878
|
+
|
|
1879
|
+
<button
|
|
1880
|
+
class="pf-v6-c-button pf-m-circle pf-m-warning"
|
|
1881
|
+
type="button"
|
|
1882
|
+
aria-label="Add warning circle variant"
|
|
1883
|
+
>
|
|
1884
|
+
<span class="pf-v6-c-button__icon pf-m-start">
|
|
1885
|
+
<i class="fas fa-plus-circle" aria-hidden="true"></i>
|
|
1886
|
+
</span>
|
|
1887
|
+
</button>
|
|
1888
|
+
|
|
1889
|
+
<button
|
|
1890
|
+
class="pf-v6-c-button pf-m-circle pf-m-link"
|
|
1891
|
+
type="button"
|
|
1892
|
+
aria-label="Add link circle variant"
|
|
1893
|
+
>
|
|
1894
|
+
<span class="pf-v6-c-button__icon pf-m-start">
|
|
1895
|
+
<i class="fas fa-plus-circle" aria-hidden="true"></i>
|
|
1896
|
+
</span>
|
|
1897
|
+
</button>
|
|
1898
|
+
|
|
1899
|
+
<button
|
|
1900
|
+
class="pf-v6-c-button pf-m-circle pf-m-plain"
|
|
1901
|
+
type="button"
|
|
1902
|
+
aria-label="Remove plain circle variant"
|
|
1903
|
+
>
|
|
1904
|
+
<span class="pf-v6-c-button__icon pf-m-start">
|
|
1905
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1906
|
+
</span>
|
|
1907
|
+
</button>
|
|
1908
|
+
|
|
1909
|
+
<button
|
|
1910
|
+
class="pf-v6-c-button pf-m-circle pf-m-control"
|
|
1911
|
+
type="button"
|
|
1912
|
+
aria-label="Copy control circle variant"
|
|
1913
|
+
>
|
|
1914
|
+
<span class="pf-v6-c-button__icon pf-m-start">
|
|
1915
|
+
<i class="fas fa-copy" aria-hidden="true"></i>
|
|
1916
|
+
</span>
|
|
1917
|
+
</button>
|
|
1918
|
+
|
|
1919
|
+
<button
|
|
1920
|
+
class="pf-v6-c-button pf-m-circle pf-m-plain"
|
|
1921
|
+
type="button"
|
|
1922
|
+
aria-label="Upload circle variant"
|
|
1923
|
+
>
|
|
1924
|
+
<span class="pf-v6-c-button__icon">
|
|
1925
|
+
<i class="fas fa-upload" aria-hidden="true"></i>
|
|
1926
|
+
</span>
|
|
1927
|
+
</button>
|
|
1928
|
+
|
|
1929
|
+
<button
|
|
1930
|
+
class="pf-v6-c-button pf-m-circle pf-m-in-progress pf-m-plain"
|
|
1931
|
+
type="button"
|
|
1932
|
+
>
|
|
1933
|
+
<span class="pf-v6-c-button__progress">
|
|
1934
|
+
<svg
|
|
1935
|
+
class="pf-v6-c-spinner pf-m-md"
|
|
1936
|
+
role="progressbar"
|
|
1937
|
+
viewBox="0 0 100 100"
|
|
1938
|
+
aria-label="Uploading circle variant..."
|
|
1939
|
+
>
|
|
1940
|
+
<circle class="pf-v6-c-spinner__path" cx="50" cy="50" r="45" fill="none" />
|
|
1941
|
+
</svg>
|
|
1942
|
+
</span>
|
|
1943
|
+
|
|
1944
|
+
<span class="pf-v6-c-button__icon">
|
|
1945
|
+
<i class="fas fa-upload" aria-hidden="true"></i>
|
|
1946
|
+
</span>
|
|
1947
|
+
</button>
|
|
1948
|
+
|
|
1949
|
+
```
|
|
1950
|
+
|
|
1836
1951
|
### Counts
|
|
1837
1952
|
|
|
1838
1953
|
```html
|
|
@@ -2236,3 +2351,4 @@ Semantic buttons and links are important for usability as well as accessibility.
|
|
|
2236
2351
|
| `.pf-m-hamburger` | `.pf-v6-c-button.pf-m-plain` | Modifies a plain button to be a hamburger button. |
|
|
2237
2352
|
| `.pf-m-expand` | `.pf-v6-c-button.pf-m-hamburger` | Modifies a hamburger button to indicate that it will expand a menu. |
|
|
2238
2353
|
| `.pf-m-collapse` | `.pf-v6-c-button.pf-m-hamburger` | Modifies a hamburger button to indicate that it will collapse a menu. |
|
|
2354
|
+
| `.pf-m-circle` | `.pf-v6-c-button` | Modifies a button to have a circular shape, instead of only rounded corners or a pill shape. Intended for buttons that contain only an icon. |
|
|
@@ -175,6 +175,159 @@ cssPrefix: pf-v6-c-card
|
|
|
175
175
|
|
|
176
176
|
```
|
|
177
177
|
|
|
178
|
+
### With subtitle
|
|
179
|
+
|
|
180
|
+
```html isBeta
|
|
181
|
+
<div class="pf-v6-c-card" id="card-subtitle">
|
|
182
|
+
<div class="pf-v6-c-card__header">
|
|
183
|
+
<div class="pf-v6-c-card__actions">
|
|
184
|
+
<button
|
|
185
|
+
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
186
|
+
type="button"
|
|
187
|
+
aria-expanded="false"
|
|
188
|
+
aria-label="Card menu toggle"
|
|
189
|
+
id="card-subtitle-menu-toggle-kebab"
|
|
190
|
+
>
|
|
191
|
+
<span class="pf-v6-c-menu-toggle__icon">
|
|
192
|
+
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
193
|
+
</span>
|
|
194
|
+
</button>
|
|
195
|
+
<div class="pf-v6-c-check pf-m-standalone">
|
|
196
|
+
<input
|
|
197
|
+
class="pf-v6-c-check__input"
|
|
198
|
+
type="checkbox"
|
|
199
|
+
aria-label="Standalone check"
|
|
200
|
+
id="card-subtitle-check"
|
|
201
|
+
name="card-subtitle-check"
|
|
202
|
+
aria-labelledby="card-subtitle"
|
|
203
|
+
/>
|
|
204
|
+
</div>
|
|
205
|
+
</div>
|
|
206
|
+
<div class="pf-v6-c-card__header-main">
|
|
207
|
+
<div class="pf-v6-c-card__title">
|
|
208
|
+
<h2
|
|
209
|
+
class="pf-v6-c-card__title-text"
|
|
210
|
+
id="card-subtitle-check-label"
|
|
211
|
+
>This is a really really really really really really really really really really long title</h2>
|
|
212
|
+
<div class="pf-v6-c-card__subtitle">This is a card subtitle.</div>
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
<div class="pf-v6-c-card__body">Body</div>
|
|
217
|
+
<div class="pf-v6-c-card__footer">Footer</div>
|
|
218
|
+
</div>
|
|
219
|
+
<br />
|
|
220
|
+
<div class="pf-v6-c-card" id="card-image-action-subtitle">
|
|
221
|
+
<div class="pf-v6-c-card__header">
|
|
222
|
+
<div class="pf-v6-c-card__header-main">
|
|
223
|
+
<svg height="70px" viewBox="0 0 679 158">
|
|
224
|
+
<title>PF-HorizontalLogo-Color</title>
|
|
225
|
+
<defs>
|
|
226
|
+
<linearGradient
|
|
227
|
+
x1="68%"
|
|
228
|
+
y1="2.25860997e-13%"
|
|
229
|
+
x2="32%"
|
|
230
|
+
y2="100%"
|
|
231
|
+
id="linearGradient-card-image-action-subtitle"
|
|
232
|
+
>
|
|
233
|
+
<stop stop-color="#2B9AF3" offset="0%" />
|
|
234
|
+
<stop
|
|
235
|
+
stop-color="#73BCF7"
|
|
236
|
+
stop-opacity="0.502212631"
|
|
237
|
+
offset="100%"
|
|
238
|
+
/>
|
|
239
|
+
</linearGradient>
|
|
240
|
+
</defs>
|
|
241
|
+
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
242
|
+
<g
|
|
243
|
+
transform="translate(206.000000, 45.750000)"
|
|
244
|
+
fill="var(--pf-t--global--text--color--regular)"
|
|
245
|
+
fill-rule="nonzero"
|
|
246
|
+
>
|
|
247
|
+
<path
|
|
248
|
+
d="M0,65.25 L0,2.25 L33.21,2.25 C37.35,2.25 41.025,3.135 44.235,4.905 C47.445,6.675 49.98,9.09 51.84,12.15 C53.7,15.21 54.63,18.72 54.63,22.68 C54.63,26.46 53.7,29.865 51.84,32.895 C49.98,35.925 47.43,38.31 44.19,40.05 C40.95,41.79 37.29,42.66 33.21,42.66 L15.48,42.66 L15.48,65.25 L0,65.25 Z M15.48,29.88 L31.41,29.88 C33.69,29.88 35.52,29.22 36.9,27.9 C38.28,26.58 38.97,24.87 38.97,22.77 C38.97,20.61 38.28,18.855 36.9,17.505 C35.52,16.155 33.69,15.48 31.41,15.48 L15.48,15.48 L15.48,29.88 Z"
|
|
249
|
+
/>
|
|
250
|
+
<path
|
|
251
|
+
d="M77.04,66.06 C73.68,66.06 70.695,65.43 68.085,64.17 C65.475,62.91 63.435,61.17 61.965,58.95 C60.495,56.73 59.76,54.18 59.76,51.3 C59.76,46.74 61.485,43.215 64.935,40.725 C68.385,38.235 73.2,36.99 79.38,36.99 C83.1,36.99 86.7,37.44 90.18,38.34 L90.18,36 C90.18,31.26 87.15,28.89 81.09,28.89 C77.49,28.89 72.69,30.15 66.69,32.67 L61.47,21.96 C69.15,18.48 76.56,16.74 83.7,16.74 C90.3,16.74 95.43,18.315 99.09,21.465 C102.75,24.615 104.58,29.04 104.58,34.74 L104.58,65.25 L90.18,65.25 L90.18,62.37 C88.26,63.69 86.235,64.635 84.105,65.205 C81.975,65.775 79.62,66.06 77.04,66.06 Z M73.62,51.03 C73.62,52.53 74.28,53.7 75.6,54.54 C76.92,55.38 78.75,55.8 81.09,55.8 C84.69,55.8 87.72,55.05 90.18,53.55 L90.18,47.43 C87.42,46.71 84.54,46.35 81.54,46.35 C79.02,46.35 77.07,46.755 75.69,47.565 C74.31,48.375 73.62,49.53 73.62,51.03 Z"
|
|
252
|
+
/>
|
|
253
|
+
<path
|
|
254
|
+
d="M137.25,65.88 C125.73,65.88 119.97,60.84 119.97,50.76 L119.97,29.79 L110.34,29.79 L110.34,17.64 L119.97,17.64 L119.97,5.4 L134.55,2.25 L134.55,17.64 L147.87,17.64 L147.87,29.79 L134.55,29.79 L134.55,47.88 C134.55,49.98 135.015,51.465 135.945,52.335 C136.875,53.205 138.51,53.64 140.85,53.64 C143.01,53.64 145.2,53.31 147.42,52.65 L147.42,64.44 C146.1,64.86 144.42,65.205 142.38,65.475 C140.34,65.745 138.63,65.88 137.25,65.88 Z"
|
|
255
|
+
/>
|
|
256
|
+
<path
|
|
257
|
+
d="M177.57,65.88 C166.05,65.88 160.29,60.84 160.29,50.76 L160.29,29.79 L150.66,29.79 L150.66,17.64 L160.29,17.64 L160.29,5.4 L174.87,2.25 L174.87,17.64 L188.19,17.64 L188.19,29.79 L174.87,29.79 L174.87,47.88 C174.87,49.98 175.335,51.465 176.265,52.335 C177.195,53.205 178.83,53.64 181.17,53.64 C183.33,53.64 185.52,53.31 187.74,52.65 L187.74,64.44 C186.42,64.86 184.74,65.205 182.7,65.475 C180.66,65.745 178.95,65.88 177.57,65.88 Z"
|
|
258
|
+
/>
|
|
259
|
+
<path
|
|
260
|
+
d="M217.62,66.15 C212.76,66.15 208.365,65.055 204.435,62.865 C200.505,60.675 197.4,57.72 195.12,54 C192.84,50.28 191.7,46.11 191.7,41.49 C191.7,36.87 192.795,32.7 194.985,28.98 C197.175,25.26 200.16,22.305 203.94,20.115 C207.72,17.925 211.92,16.83 216.54,16.83 C221.22,16.83 225.36,17.955 228.96,20.205 C232.56,22.455 235.395,25.53 237.465,29.43 C239.535,33.33 240.57,37.8 240.57,42.84 L240.57,46.44 L206.64,46.44 C207.6,48.66 209.1,50.475 211.14,51.885 C213.18,53.295 215.58,54 218.34,54 C222.42,54 225.6,52.8 227.88,50.4 L237.51,58.95 C234.51,61.47 231.435,63.3 228.285,64.44 C225.135,65.58 221.58,66.15 217.62,66.15 Z M206.37,36.27 L226.26,36.27 C225.48,33.99 224.205,32.16 222.435,30.78 C220.665,29.4 218.61,28.71 216.27,28.71 C213.87,28.71 211.8,29.37 210.06,30.69 C208.32,32.01 207.09,33.87 206.37,36.27 Z"
|
|
261
|
+
/>
|
|
262
|
+
<path
|
|
263
|
+
d="M247.41,65.25 L247.41,17.64 L261.99,17.64 L261.99,22.41 C265.23,18.51 269.4,16.56 274.5,16.56 C277.08,16.62 278.91,17.01 279.99,17.73 L279.99,30.42 C277.95,29.46 275.64,28.98 273.06,28.98 C270.78,28.98 268.665,29.505 266.715,30.555 C264.765,31.605 263.19,33.09 261.99,35.01 L261.99,65.25 L247.41,65.25 Z"
|
|
264
|
+
/>
|
|
265
|
+
<path
|
|
266
|
+
d="M286.29,65.25 L286.29,17.64 L300.87,17.64 L300.87,20.88 C304.47,18.12 308.73,16.74 313.65,16.74 C317.37,16.74 320.655,17.55 323.505,19.17 C326.355,20.79 328.59,23.04 330.21,25.92 C331.83,28.8 332.64,32.13 332.64,35.91 L332.64,65.25 L318.06,65.25 L318.06,37.89 C318.06,35.25 317.28,33.15 315.72,31.59 C314.16,30.03 312.06,29.25 309.42,29.25 C305.76,29.25 302.91,30.51 300.87,33.03 L300.87,65.25 L286.29,65.25 Z"
|
|
267
|
+
/>
|
|
268
|
+
<polygon
|
|
269
|
+
points="342 65.25 342 2.25 392.04 2.25 392.04 15.66 357.48 15.66 357.48 27.45 380.52 27.45 380.52 40.41 357.48 40.41 357.48 65.25"
|
|
270
|
+
/>
|
|
271
|
+
<polygon points="399.96 65.25 399.96 2.25 414.54 0 414.54 65.25" />
|
|
272
|
+
<path
|
|
273
|
+
d="M429.21,84.69 C428.07,84.69 426.96,84.645 425.88,84.555 C424.8,84.465 423.9,84.33 423.18,84.15 L423.18,71.73 C424.38,71.97 425.88,72.09 427.68,72.09 C432.36,72.09 435.51,70.05 437.13,65.97 L437.13,65.88 L418.86,17.64 L434.97,17.64 L445.5,47.61 L457.74,17.64 L473.49,17.64 L452.16,67.68 C450.42,71.82 448.5,75.135 446.4,77.625 C444.3,80.115 441.87,81.915 439.11,83.025 C436.35,84.135 433.05,84.69 429.21,84.69 Z"
|
|
274
|
+
/>
|
|
275
|
+
</g>
|
|
276
|
+
<g transform="translate(0.000000, 0.000000)">
|
|
277
|
+
<path
|
|
278
|
+
d="M61.826087,0 L158,0 L158,96.173913 L147.695652,96.173913 C100.271201,96.173913 61.826087,57.7287992 61.826087,10.3043478 L61.826087,0 L61.826087,0 Z"
|
|
279
|
+
fill="#0066CC"
|
|
280
|
+
/>
|
|
281
|
+
<path
|
|
282
|
+
d="M158,3.43478261 L65.2608696,158 L138,158 C149.045695,158 158,149.045695 158,138 L158,3.43478261 L158,3.43478261 Z"
|
|
283
|
+
fill="url(#linearGradient-card-image-action-subtitle)"
|
|
284
|
+
/>
|
|
285
|
+
<path
|
|
286
|
+
d="M123.652174,-30.9130435 L30.9130435,123.652174 L103.652174,123.652174 C114.697869,123.652174 123.652174,114.697869 123.652174,103.652174 L123.652174,-30.9130435 L123.652174,-30.9130435 Z"
|
|
287
|
+
fill="url(#linearGradient-card-image-action-subtitle)"
|
|
288
|
+
transform="translate(77.282609, 46.369565) scale(1, -1) rotate(90.000000) translate(-77.282609, -46.369565) "
|
|
289
|
+
/>
|
|
290
|
+
</g>
|
|
291
|
+
</g>
|
|
292
|
+
</svg>
|
|
293
|
+
</div>
|
|
294
|
+
<div class="pf-v6-c-card__actions">
|
|
295
|
+
<button
|
|
296
|
+
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
297
|
+
type="button"
|
|
298
|
+
aria-expanded="false"
|
|
299
|
+
aria-label="Card menu toggle"
|
|
300
|
+
id="card-image-action-subtitle-menu-toggle-kebab"
|
|
301
|
+
>
|
|
302
|
+
<span class="pf-v6-c-menu-toggle__icon">
|
|
303
|
+
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
304
|
+
</span>
|
|
305
|
+
</button>
|
|
306
|
+
<div class="pf-v6-c-check pf-m-standalone">
|
|
307
|
+
<input
|
|
308
|
+
class="pf-v6-c-check__input"
|
|
309
|
+
type="checkbox"
|
|
310
|
+
aria-label="Standalone check"
|
|
311
|
+
id="card-image-action-subtitle-check"
|
|
312
|
+
name="card-image-action-subtitle-check"
|
|
313
|
+
aria-labelledby="card-image-action-subtitle"
|
|
314
|
+
/>
|
|
315
|
+
</div>
|
|
316
|
+
</div>
|
|
317
|
+
</div>
|
|
318
|
+
<div class="pf-v6-c-card__title">
|
|
319
|
+
<h2
|
|
320
|
+
class="pf-v6-c-card__title-text"
|
|
321
|
+
id="card-image-action-subtitle-check-label"
|
|
322
|
+
>Title</h2>
|
|
323
|
+
<div class="pf-v6-c-card__subtitle">Subtitle</div>
|
|
324
|
+
</div>
|
|
325
|
+
<div class="pf-v6-c-card__body">Body</div>
|
|
326
|
+
<div class="pf-v6-c-card__footer">Footer</div>
|
|
327
|
+
</div>
|
|
328
|
+
|
|
329
|
+
```
|
|
330
|
+
|
|
178
331
|
### With only actions in head (no title/footer)
|
|
179
332
|
|
|
180
333
|
```html
|
|
@@ -1709,6 +1862,7 @@ A card is a generic rectangular container that can be used to build other compon
|
|
|
1709
1862
|
| `.pf-v6-c-card` | `<div>` | Creates a card component. **Required** |
|
|
1710
1863
|
| `.pf-v6-c-card__title` | `<div>` | Creates a card title container. |
|
|
1711
1864
|
| `.pf-v6-c-card__title-text` | `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>`, `<div>` | Creates a card title text element. |
|
|
1865
|
+
| `.pf-v6-c-card__subtitle` | Creates a card subtitle element. |
|
|
1712
1866
|
| `.pf-v6-c-card__body` | `<div>` | Creates the body of a card. By default, the body element fills the available space in the card. You can use multiple `.pf-v6-c-card__body` elements. |
|
|
1713
1867
|
| `.pf-v6-c-card__footer` | `<div>` | Creates the footer of a card. |
|
|
1714
1868
|
| `.pf-v6-c-card__header` | `<div>` | Creates the header of the card where images, actions, and/or the card title can go. |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#ws-core-c-compass-basic [class*="pf-v6-c-compass"] {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
#ws-core-c-compass-basic [class*="pf-v6-c-compass"]::after {
|
|
6
|
+
position: absolute;
|
|
7
|
+
inset: 0;
|
|
8
|
+
pointer-events: none;
|
|
9
|
+
content: "";
|
|
10
|
+
border: var(--pf-t--global--border--width--regular) dashed var(--pf-t--global--border--color--default);
|
|
11
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: 'Compass'
|
|
3
|
+
beta: true
|
|
4
|
+
section: components
|
|
5
|
+
cssPrefix: pf-v6-c-compass
|
|
6
|
+
---import './Compass.css';
|
|
7
|
+
|
|
8
|
+
## Examples
|
|
9
|
+
|
|
10
|
+
### Basic
|
|
11
|
+
|
|
12
|
+
```html isBeta
|
|
13
|
+
<div class="pf-v6-c-compass">
|
|
14
|
+
<div class="pf-v6-c-compass__header">
|
|
15
|
+
<div class="pf-v6-c-compass__logo">logo</div>
|
|
16
|
+
|
|
17
|
+
<div class="pf-v6-c-compass__nav">nav</div>
|
|
18
|
+
|
|
19
|
+
<div class="pf-v6-c-compass__profile">profile</div>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="pf-v6-c-compass__sidebar pf-m-start">sidebar (start)</div>
|
|
22
|
+
|
|
23
|
+
<div class="pf-v6-c-compass__main">
|
|
24
|
+
<div class="pf-v6-c-compass__panel pf-v6-c-compass__hero">hero</div>
|
|
25
|
+
|
|
26
|
+
<div class="pf-v6-c-compass__main-header">main header</div>
|
|
27
|
+
|
|
28
|
+
<div class="pf-v6-c-compass__content">content</div>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="pf-v6-c-compass__sidebar pf-m-end">sidebar (end)</div>
|
|
31
|
+
|
|
32
|
+
<div class="pf-v6-c-compass__footer">
|
|
33
|
+
<div class="pf-v6-c-compass__message-bar">message bar</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Documentation
|
|
40
|
+
|
|
41
|
+
### Usage
|
|
42
|
+
|
|
43
|
+
| Class | Applied to | Outcome |
|
|
44
|
+
| -- | -- | -- |
|
|
45
|
+
| `.pf-v6-c-compass` | `<div>` | Initiates the compass component. **Required** |
|
|
46
|
+
| `.pf-v6-c-compass__header` | `<div>` | Initiates the compass header. **Required** |
|
|
47
|
+
| `.pf-v6-c-compass__logo` | `<div>` | Initiates the compass logo header. |
|
|
48
|
+
| `.pf-v6-c-compass__nav` | `<div>` | Initiates the compass nav. |
|
|
49
|
+
| `.pf-v6-c-compass__profile` | `<div>` | Initiates the compass profile. |
|
|
50
|
+
| `.pf-v6-c-compass__sidebar` | `<div>` | Initiates a compass sidebar. **Required** |
|
|
51
|
+
| `.pf-v6-c-compass__main` | `<div>` | Initiates the compass main wrapper. **Required** |
|
|
52
|
+
| `.pf-v6-c-compass__hero` | `<div>` | Initiates the compass logo hero. |
|
|
53
|
+
| `.pf-v6-c-compass__hero-body` | `<div>` | Initiates the compass hero body. |
|
|
54
|
+
| `.pf-v6-c-compass__main-header` | `<div>` | Initiates the compass main header. |
|
|
55
|
+
| `.pf-v6-c-compass__content` | `<div>` | Initiates the compass content. **Required** |
|
|
56
|
+
| `.pf-v6-c-compass__panel` | `<div>` | Initiates a compass panel. |
|
|
57
|
+
| `.pf-v6-c-compass__footer` | `<div>` | Initiates the compass footer. **Required** |
|
|
58
|
+
| `.pf-v6-c-compass__message-bar` | `<div>` | Initiates the compass message bar. |
|
|
59
|
+
| `.pf-m-no-glass` | `.pf-v6-c-compass`, `.pf-v6-c-compass__panel` | Modifies all elements or individual panels to remove the glass styles. |
|
|
60
|
+
| `.pf-m-start` | `.pf-v6-c-compass__sidebar` | Modifies a compass sidebar for start styles. **Required** |
|
|
61
|
+
| `.pf-m-end` | `.pf-v6-c-compass__sidebar` | Modifies a compass sidebar for end styles. **Required** |
|
|
62
|
+
| `.pf-m-no-border` | `.pf-v6-c-compass__panel` | Modifies a compass panel to remove the border. |
|
|
63
|
+
| `.pf-m-no-padding` | `.pf-v6-c-compass__panel` | Modifies a compass panel to remove the padding. |
|
|
64
|
+
| `.pf-m-full-height` | `.pf-v6-c-compass__panel` | Modifies a compass panel to be full height. |
|
|
65
|
+
| `.pf-m-pill` | `.pf-v6-c-compass__panel` | Modifies a compass panel to have a pill shaped border radius. |
|
|
66
|
+
| `.pf-m-scrollable` | `.pf-v6-c-compass__panel` | Modifies a compass panel to scroll its overflow. |
|