@patternfly/patternfly 6.5.0-prerelease.4 → 6.5.0-prerelease.41

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.
Files changed (338) hide show
  1. package/README.md +1 -1
  2. package/assets/fontawesome/_variables.scss +2 -1
  3. package/assets/images/RHAiExperienceIcon.svg +27 -0
  4. package/assets/images/RHAutomationsLogo.svg +96 -0
  5. package/assets/images/RHServerStackIcon.svg +16 -0
  6. package/assets/images/compass--hero-bg.png +0 -0
  7. package/assets/images/compass--rh-wallpaper-dark.png +0 -0
  8. package/assets/images/compass--rh-wallpaper-light.png +0 -0
  9. package/assets/images/compass--wallpaper-dark.png +0 -0
  10. package/assets/images/compass--wallpaper-light.png +0 -0
  11. package/base/normalize.scss +7 -0
  12. package/base/patternfly-common.css +50 -0
  13. package/base/patternfly-common.scss +59 -0
  14. package/base/patternfly-svg-icons.css +11 -0
  15. package/base/patternfly-svg-icons.scss +14 -0
  16. package/base/patternfly-variables.css +345 -14
  17. package/base/patternfly-variables.scss +40 -0
  18. package/base/tokens/tokens-dark.scss +51 -3
  19. package/base/tokens/tokens-default.scss +67 -13
  20. package/base/tokens/tokens-glass-dark.scss +9 -0
  21. package/base/tokens/tokens-glass.scss +9 -0
  22. package/base/tokens/tokens-local.scss +16 -0
  23. package/base/tokens/tokens-palette.scss +3 -1
  24. package/base/tokens/tokens-redhat-dark.scss +14 -0
  25. package/base/tokens/tokens-redhat-glass-dark.scss +16 -0
  26. package/base/tokens/tokens-redhat-glass.scss +15 -0
  27. package/base/tokens/tokens-redhat-highcontrast-dark.scss +47 -0
  28. package/base/tokens/tokens-redhat-highcontrast.scss +127 -0
  29. package/base/tokens/tokens-redhat.scss +15 -0
  30. package/components/AboutModalBox/about-modal-box.css +36 -26
  31. package/components/Accordion/accordion.css +16 -13
  32. package/components/Accordion/accordion.scss +0 -1
  33. package/components/ActionList/action-list.css +2 -0
  34. package/components/ActionList/action-list.scss +2 -0
  35. package/components/Alert/alert.css +5 -4
  36. package/components/Avatar/avatar.css +12 -4
  37. package/components/BackgroundImage/background-image.css +6 -3
  38. package/components/Banner/banner.css +8 -6
  39. package/components/Brand/brand.css +3 -1
  40. package/components/Breadcrumb/breadcrumb.css +4 -3
  41. package/components/Button/button.css +39 -9
  42. package/components/Button/button.scss +40 -4
  43. package/components/CalendarMonth/calendar-month.css +4 -3
  44. package/components/Card/card.css +19 -6
  45. package/components/Card/card.scss +15 -1
  46. package/components/ClipboardCopy/clipboard-copy.css +4 -3
  47. package/components/CodeEditor/code-editor.css +1 -1
  48. package/components/CodeEditor/code-editor.scss +1 -1
  49. package/components/Compass/compass.css +320 -0
  50. package/components/Compass/compass.scss +349 -0
  51. package/components/DataList/data-list.css +33 -22
  52. package/components/DataList/data-list.scss +6 -1
  53. package/components/DescriptionList/description-list-order.scss +5 -1
  54. package/components/DescriptionList/description-list.css +7 -5
  55. package/components/DescriptionList/description-list.scss +5 -1
  56. package/components/Divider/divider.css +7 -5
  57. package/components/Drawer/drawer.css +110 -56
  58. package/components/Drawer/drawer.scss +69 -9
  59. package/components/DualListSelector/dual-list-selector.css +17 -11
  60. package/components/ExpandableSection/expandable-section.css +19 -14
  61. package/components/ExpandableSection/expandable-section.scss +4 -1
  62. package/components/Form/form.css +1 -1
  63. package/components/Form/form.scss +1 -1
  64. package/components/FormControl/form-control.css +1 -1
  65. package/components/FormControl/form-control.scss +1 -1
  66. package/components/Hero/hero.css +74 -0
  67. package/components/Hero/hero.scss +86 -0
  68. package/components/JumpLinks/jump-links.css +4 -3
  69. package/components/JumpLinks/jump-links.scss +5 -1
  70. package/components/Label/label-group.css +2 -2
  71. package/components/Label/label-group.scss +2 -2
  72. package/components/Label/label.css +4 -3
  73. package/components/Login/login.css +51 -37
  74. package/components/Masthead/masthead.css +70 -16
  75. package/components/Masthead/masthead.scss +54 -1
  76. package/components/Menu/menu.css +23 -14
  77. package/components/MenuToggle/menu-toggle.css +4 -0
  78. package/components/MenuToggle/menu-toggle.scss +5 -0
  79. package/components/ModalBox/modal-box.css +9 -7
  80. package/components/ModalBox/modal-box.scss +2 -2
  81. package/components/Nav/nav.css +72 -9
  82. package/components/Nav/nav.scss +75 -3
  83. package/components/NotificationDrawer/notification-drawer.css +8 -6
  84. package/components/NotificationDrawer/notification-drawer.scss +2 -0
  85. package/components/Page/page.css +55 -29
  86. package/components/Page/page.scss +44 -5
  87. package/components/Pagination/pagination.scss +5 -1
  88. package/components/ProgressStepper/progress-stepper.scss +5 -1
  89. package/components/Sidebar/sidebar.css +1 -1
  90. package/components/Sidebar/sidebar.scss +7 -3
  91. package/components/Skeleton/skeleton.css +16 -15
  92. package/components/Slider/slider.css +32 -18
  93. package/components/Switch/switch.css +3 -1
  94. package/components/Table/table-grid.css +28 -36
  95. package/components/Table/table-grid.scss +4 -4
  96. package/components/Table/table-tree-view.css +4 -2
  97. package/components/Table/table.css +31 -27
  98. package/components/Tabs/tabs.css +33 -16
  99. package/components/Tabs/tabs.scss +33 -5
  100. package/components/Toolbar/toolbar.css +46 -14
  101. package/components/Toolbar/toolbar.scss +33 -5
  102. package/components/TreeView/tree-view.css +44 -13
  103. package/components/TreeView/tree-view.scss +31 -0
  104. package/components/Wizard/wizard.css +20 -16
  105. package/components/Wizard/wizard.scss +3 -3
  106. package/components/_index.css +1460 -633
  107. package/components/_index.scss +3 -1
  108. package/docs/components/Avatar/examples/Avatar.md +4 -4
  109. package/docs/components/Brand/examples/Brand.md +2 -2
  110. package/docs/components/Button/examples/Button.md +116 -0
  111. package/docs/components/Card/examples/Card.md +154 -0
  112. package/docs/components/Compass/examples/Compass.css +17 -0
  113. package/docs/components/Compass/examples/Compass.md +118 -0
  114. package/docs/components/DataList/examples/DataList.md +184 -188
  115. package/docs/components/DescriptionList/examples/DescriptionList.md +2 -2
  116. package/docs/components/Divider/examples/Divider.md +2 -2
  117. package/docs/components/Drawer/examples/Drawer.md +83 -17
  118. package/docs/components/Hero/examples/Hero.md +25 -0
  119. package/docs/components/Icon/examples/Icon.md +1 -1
  120. package/docs/components/InputGroup/examples/InputGroup.md +1 -1
  121. package/docs/components/JumpLinks/examples/JumpLinks.md +2 -2
  122. package/docs/components/Masthead/examples/masthead.md +68 -1
  123. package/docs/components/Menu/examples/Menu.md +2 -2
  124. package/docs/components/MenuToggle/examples/MenuToggle.md +40 -0
  125. package/docs/components/ModalBox/examples/ModalBox.md +1 -1
  126. package/docs/components/Nav/examples/Navigation.md +44 -0
  127. package/docs/components/Page/examples/Page.md +39 -2
  128. package/docs/components/Pagination/examples/Pagination.md +3 -3
  129. package/docs/components/ProgressStepper/examples/ProgressStepper.md +2 -2
  130. package/docs/components/Sidebar/examples/Sidebar.md +1 -1
  131. package/docs/components/Table/examples/Table.md +4 -3
  132. package/docs/components/Tabs/examples/Tabs.md +998 -83
  133. package/docs/components/Toolbar/examples/Toolbar.md +35 -7
  134. package/docs/components/TreeView/examples/TreeView.md +38 -26
  135. package/docs/components/Wizard/examples/Wizard.md +15 -15
  136. package/docs/demos/AboutModal/examples/AboutModal.md +5 -5
  137. package/docs/demos/Alert/examples/Alert.md +15 -15
  138. package/docs/demos/BackToTop/examples/BackToTop.md +5 -5
  139. package/docs/demos/Banner/examples/Banner.md +10 -10
  140. package/docs/demos/Card/examples/Card.md +14 -2
  141. package/docs/demos/CardView/examples/CardView.md +5 -5
  142. package/docs/demos/Compass/examples/Compass.md +6470 -0
  143. package/docs/demos/Dashboard/examples/Dashboard.md +6 -9
  144. package/docs/demos/DataList/examples/DataList.md +20 -23
  145. package/docs/demos/DescriptionList/examples/DescriptionList.md +57 -50
  146. package/docs/demos/Drawer/examples/Drawer.md +67 -60
  147. package/docs/demos/JumpLinks/examples/JumpLinks.md +30 -30
  148. package/docs/demos/Masthead/examples/Masthead.md +55 -58
  149. package/docs/demos/Modal/examples/Modal.md +30 -33
  150. package/docs/demos/Nav/examples/Nav.md +299 -62
  151. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +25 -25
  152. package/docs/demos/Page/examples/Page.md +70 -79
  153. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +178 -200
  154. package/docs/demos/Skeleton/examples/Skeleton.md +5 -5
  155. package/docs/demos/Table/examples/Table.md +1922 -78
  156. package/docs/demos/Tabs/examples/Tabs.md +102 -39
  157. package/docs/demos/Toolbar/examples/Toolbar.md +10 -10
  158. package/docs/demos/Wizard/examples/Wizard.md +76 -82
  159. package/docs/layouts/Bullseye/examples/Bullseye.css +2 -2
  160. package/docs/layouts/Bullseye/examples/Bullseye.md +2 -1
  161. package/docs/layouts/Flex/examples/Flex.css +3 -3
  162. package/docs/layouts/Flex/examples/Flex.md +3 -2
  163. package/docs/layouts/Gallery/examples/Gallery.css +2 -2
  164. package/docs/layouts/Gallery/examples/Gallery.md +4 -3
  165. package/docs/layouts/Grid/examples/Grid.css +1 -1
  166. package/docs/layouts/Grid/examples/Grid.md +6 -5
  167. package/docs/layouts/Level/examples/Level.css +3 -3
  168. package/docs/layouts/Level/examples/Level.md +2 -1
  169. package/docs/layouts/Split/examples/Split.css +1 -1
  170. package/docs/layouts/Split/examples/Split.md +2 -1
  171. package/docs/layouts/Stack/examples/Stack.css +3 -3
  172. package/docs/layouts/Stack/examples/Stack.md +2 -1
  173. package/docs/utilities/Accessibility/examples/Accessibility.md +3 -2
  174. package/docs/utilities/Alignment/examples/Alignment.css +4 -4
  175. package/docs/utilities/Alignment/examples/Alignment.md +3 -2
  176. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +5 -4
  177. package/docs/utilities/BoxShadow/examples/box-shadow.css +2 -2
  178. package/docs/utilities/BoxShadow/examples/box-shadow.md +2 -1
  179. package/docs/utilities/Display/examples/Display.css +1 -1
  180. package/docs/utilities/Display/examples/Display.md +3 -2
  181. package/docs/utilities/Flex/examples/Flex.css +7 -7
  182. package/docs/utilities/Flex/examples/Flex.md +3 -2
  183. package/docs/utilities/Float/examples/Float.css +2 -2
  184. package/docs/utilities/Float/examples/Float.md +3 -2
  185. package/docs/utilities/Sizing/examples/Sizing.md +8 -7
  186. package/docs/utilities/Spacing/examples/Spacing.css +2 -2
  187. package/docs/utilities/Spacing/examples/Spacing.md +3 -2
  188. package/docs/utilities/Text/examples/Text.md +5 -4
  189. package/icons/PfIcons/add-circle-o.svg +4 -0
  190. package/icons/PfIcons/ansible-tower.svg +4 -0
  191. package/icons/PfIcons/applications.svg +4 -0
  192. package/icons/PfIcons/arrow.svg +4 -0
  193. package/icons/PfIcons/asleep.svg +4 -0
  194. package/icons/PfIcons/attention-bell.svg +4 -0
  195. package/icons/PfIcons/automation.svg +4 -0
  196. package/icons/PfIcons/bell.svg +4 -0
  197. package/icons/PfIcons/blueprint.svg +4 -0
  198. package/icons/PfIcons/build.svg +4 -0
  199. package/icons/PfIcons/builder-image.svg +4 -0
  200. package/icons/PfIcons/bundle.svg +4 -0
  201. package/icons/PfIcons/catalog.svg +4 -0
  202. package/icons/PfIcons/chat.svg +4 -0
  203. package/icons/PfIcons/close.svg +4 -0
  204. package/icons/PfIcons/cloud-security.svg +4 -0
  205. package/icons/PfIcons/cloud-tenant.svg +4 -0
  206. package/icons/PfIcons/cluster.svg +4 -0
  207. package/icons/PfIcons/connected.svg +4 -0
  208. package/icons/PfIcons/container-node.svg +4 -0
  209. package/icons/PfIcons/cpu.svg +4 -0
  210. package/icons/PfIcons/critical-risk.svg +4 -0
  211. package/icons/PfIcons/data-processor.svg +4 -0
  212. package/icons/PfIcons/data-sink.svg +4 -0
  213. package/icons/PfIcons/data-source.svg +4 -0
  214. package/icons/PfIcons/degraded.svg +4 -0
  215. package/icons/PfIcons/disconnected.svg +4 -0
  216. package/icons/PfIcons/domain.svg +4 -0
  217. package/icons/PfIcons/edit.svg +4 -0
  218. package/icons/PfIcons/enhancement.svg +4 -0
  219. package/icons/PfIcons/enterprise.svg +4 -0
  220. package/icons/PfIcons/equalizer.svg +4 -0
  221. package/icons/PfIcons/error-circle-o.svg +4 -0
  222. package/icons/PfIcons/export.svg +4 -0
  223. package/icons/PfIcons/filter.svg +4 -0
  224. package/icons/PfIcons/flavor.svg +4 -0
  225. package/icons/PfIcons/folder-close.svg +4 -0
  226. package/icons/PfIcons/folder-open.svg +4 -0
  227. package/icons/PfIcons/globe-route.svg +4 -0
  228. package/icons/PfIcons/help.svg +4 -0
  229. package/icons/PfIcons/history.svg +4 -0
  230. package/icons/PfIcons/home.svg +4 -0
  231. package/icons/PfIcons/import.svg +4 -0
  232. package/icons/PfIcons/in-progress.svg +4 -0
  233. package/icons/PfIcons/info.svg +4 -0
  234. package/icons/PfIcons/infrastructure.svg +4 -0
  235. package/icons/PfIcons/integration.svg +4 -0
  236. package/icons/PfIcons/key.svg +4 -0
  237. package/icons/PfIcons/locked.svg +4 -0
  238. package/icons/PfIcons/maintenance.svg +4 -0
  239. package/icons/PfIcons/memory.svg +4 -0
  240. package/icons/PfIcons/messages.svg +4 -0
  241. package/icons/PfIcons/middleware.svg +4 -0
  242. package/icons/PfIcons/migration.svg +4 -0
  243. package/icons/PfIcons/module.svg +4 -0
  244. package/icons/PfIcons/monitoring.svg +4 -0
  245. package/icons/PfIcons/multicluster.svg +4 -0
  246. package/icons/PfIcons/namespaces.svg +4 -0
  247. package/icons/PfIcons/network.svg +4 -0
  248. package/icons/PfIcons/new-process.svg +4 -0
  249. package/icons/PfIcons/not-started.svg +4 -0
  250. package/icons/PfIcons/off.svg +4 -0
  251. package/icons/PfIcons/ok.svg +4 -0
  252. package/icons/PfIcons/on-running.svg +4 -0
  253. package/icons/PfIcons/on.svg +4 -0
  254. package/icons/PfIcons/open-drawer-right.svg +4 -0
  255. package/icons/PfIcons/openshift.svg +4 -0
  256. package/icons/PfIcons/openstack.svg +4 -0
  257. package/icons/PfIcons/optimize.svg +4 -0
  258. package/icons/PfIcons/orders.svg +4 -0
  259. package/icons/PfIcons/os-image.svg +4 -0
  260. package/icons/PfIcons/package.svg +4 -0
  261. package/icons/PfIcons/panel-close.svg +4 -0
  262. package/icons/PfIcons/panel-open.svg +4 -0
  263. package/icons/PfIcons/paused.svg +4 -0
  264. package/icons/PfIcons/pending.svg +4 -0
  265. package/icons/PfIcons/pficon-dragdrop.svg +4 -0
  266. package/icons/PfIcons/pficon-history.svg +4 -0
  267. package/icons/PfIcons/pficon-network-range.svg +4 -0
  268. package/icons/PfIcons/pficon-satellite.svg +4 -0
  269. package/icons/PfIcons/pficon-sort-common-asc.svg +4 -0
  270. package/icons/PfIcons/pficon-sort-common-desc.svg +4 -0
  271. package/icons/PfIcons/pficon-template.svg +4 -0
  272. package/icons/PfIcons/pficon-vcenter.svg +4 -0
  273. package/icons/PfIcons/plugged.svg +4 -0
  274. package/icons/PfIcons/port.svg +4 -0
  275. package/icons/PfIcons/print.svg +4 -0
  276. package/icons/PfIcons/private.svg +4 -0
  277. package/icons/PfIcons/process-automation.svg +4 -0
  278. package/icons/PfIcons/project.svg +4 -0
  279. package/icons/PfIcons/rebalance.svg +4 -0
  280. package/icons/PfIcons/rebooting.svg +4 -0
  281. package/icons/PfIcons/regions.svg +4 -0
  282. package/icons/PfIcons/registry.svg +4 -0
  283. package/icons/PfIcons/remove2.svg +4 -0
  284. package/icons/PfIcons/replicator.svg +4 -0
  285. package/icons/PfIcons/repository.svg +4 -0
  286. package/icons/PfIcons/resource-pool.svg +4 -0
  287. package/icons/PfIcons/resources-almost-empty.svg +4 -0
  288. package/icons/PfIcons/resources-almost-full.svg +4 -0
  289. package/icons/PfIcons/resources-empty.svg +4 -0
  290. package/icons/PfIcons/resources-full.svg +4 -0
  291. package/icons/PfIcons/running.svg +4 -0
  292. package/icons/PfIcons/save.svg +4 -0
  293. package/icons/PfIcons/screen.svg +4 -0
  294. package/icons/PfIcons/security.svg +4 -0
  295. package/icons/PfIcons/server-group.svg +4 -0
  296. package/icons/PfIcons/server.svg +4 -0
  297. package/icons/PfIcons/service-catalog.svg +4 -0
  298. package/icons/PfIcons/service.svg +4 -0
  299. package/icons/PfIcons/services.svg +4 -0
  300. package/icons/PfIcons/severity-critical.svg +4 -0
  301. package/icons/PfIcons/severity-important.svg +4 -0
  302. package/icons/PfIcons/severity-minor.svg +4 -0
  303. package/icons/PfIcons/severity-moderate.svg +4 -0
  304. package/icons/PfIcons/severity-none.svg +4 -0
  305. package/icons/PfIcons/severity-undefined.svg +4 -0
  306. package/icons/PfIcons/spinner.svg +4 -0
  307. package/icons/PfIcons/spinner2.svg +4 -0
  308. package/icons/PfIcons/storage-domain.svg +4 -0
  309. package/icons/PfIcons/task.svg +4 -0
  310. package/icons/PfIcons/tenant.svg +4 -0
  311. package/icons/PfIcons/thumb-tack.svg +4 -0
  312. package/icons/PfIcons/topology.svg +4 -0
  313. package/icons/PfIcons/treeview.svg +4 -0
  314. package/icons/PfIcons/trend-down.svg +4 -0
  315. package/icons/PfIcons/trend-up.svg +4 -0
  316. package/icons/PfIcons/unknown.svg +4 -0
  317. package/icons/PfIcons/unlocked.svg +4 -0
  318. package/icons/PfIcons/unplugged.svg +4 -0
  319. package/icons/PfIcons/user.svg +4 -0
  320. package/icons/PfIcons/users.svg +4 -0
  321. package/icons/PfIcons/virtual-machine.svg +4 -0
  322. package/icons/PfIcons/volume.svg +4 -0
  323. package/icons/PfIcons/warning-triangle.svg +4 -0
  324. package/icons/PfIcons/zone.svg +4 -0
  325. package/layouts/Flex/flex.scss +83 -19
  326. package/layouts/Gallery/gallery.css +6 -2
  327. package/layouts/_index.css +6 -2
  328. package/package.json +34 -16
  329. package/patternfly-base-no-globals.css +406 -14
  330. package/patternfly-base.css +413 -14
  331. package/patternfly-charts.css +3 -3
  332. package/patternfly-no-globals.css +1796 -573
  333. package/patternfly.css +1803 -573
  334. package/patternfly.min.css +1 -1
  335. package/patternfly.min.css.map +1 -1
  336. package/sass-utilities/functions.scss +32 -25
  337. package/sass-utilities/mixins.scss +36 -20
  338. package/sass-utilities/namespaces-components.scss +6 -0
@@ -6,6 +6,9 @@ $pf-v6-c-drawer--breakpoint-map--width: build-breakpoint-map("base", "lg", "xl",
6
6
  $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
7
7
 
8
8
  @include pf-root($drawer) {
9
+ // Main
10
+ --#{$drawer}--m-pill--m-inline__main--Gap: var(--pf-t--global--spacer--inset--page-chrome);
11
+
9
12
  // Section
10
13
  --#{$drawer}__section--BackgroundColor: var(--pf-t--global--background--color--primary--default);
11
14
  --#{$drawer}__section--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
@@ -41,6 +44,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
41
44
  --#{$drawer}__panel--TransitionProperty: opacity, visibility, transform; // by default, fade the drawer
42
45
  --#{$drawer}__panel--Opacity: 0;
43
46
  --#{$drawer}--m-expanded__panel--Opacity: 1;
47
+ --#{$drawer}--m-expanded__panel--inset: 0px;
44
48
  --#{$drawer}__panel--FlexBasis: 100%;
45
49
  --#{$drawer}__panel--md--FlexBasis--min: #{pf-size-prem(24px)};
46
50
  --#{$drawer}__panel--md--FlexBasis: 50%;
@@ -56,6 +60,16 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
56
60
  --#{$drawer}--m-panel-bottom__panel--m-resizable--FlexDirection: column;
57
61
  --#{$drawer}--m-panel-bottom__panel--m-resizable--md--FlexBasis--min: #{pf-size-prem(24px)};
58
62
  --#{$drawer}--m-panel-bottom__panel--m-resizable--MinHeight: #{pf-size-prem(24px)};
63
+ --#{$drawer}--m-pill__panel--BorderBlockStartWidth: var(--pf-t--global--border--width--regular);
64
+ --#{$drawer}--m-pill__panel--BorderBlockEndWidth: var(--pf-t--global--border--width--regular);
65
+ --#{$drawer}--m-pill__panel--BorderInlineStartWidth: var(--pf-t--global--border--width--regular);
66
+ --#{$drawer}--m-pill__panel--BorderInlineEndWidth: var(--pf-t--global--border--width--regular);
67
+ --#{$drawer}--m-pill__panel--BorderColor: var(--pf-t--global--border--color--default);
68
+ --#{$drawer}--m-pill__panel--BorderRadius: var(--pf-t--global--border--radius--large);
69
+ --#{$drawer}--m-pill--m-expanded__panel--inset: var(--pf-t--global--spacer--inset--page-chrome);
70
+ --#{$drawer}__panel--m-glass--BackgroundColor: var(--pf-t--global--background--color--glass--primary--default);
71
+ --#{$drawer}__panel--m-glass--BackdropFilter: var(--pf-t--global--background--filter--glass--blur--primary);
72
+ --#{$drawer}__panel--m-glass--BorderColor: var(--pf-t--global--border--color--alt);
59
73
 
60
74
  @media screen and (prefers-reduced-motion: no-preference) {
61
75
  --#{$drawer}__panel--TransitionDuration--slide: var(--pf-t--global--motion--duration--slide-in--short);
@@ -200,7 +214,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
200
214
  &.pf-m-static {
201
215
  --#{$drawer}__panel--BackgroundColor: var(--#{$drawer}__panel--m-inline--BackgroundColor);
202
216
  --#{$drawer}__panel--BorderInlineStartWidth: var(--#{$drawer}--m-inline__panel--after--Width);
203
-
217
+ --#{$drawer}--m-pill__main--Gap: var(--#{$drawer}--m-pill--m-inline__main--Gap);
218
+ --#{$drawer}--m-pill--m-expanded__panel--inset: 0px;
204
219
 
205
220
  > .#{$drawer}__main > .#{$drawer}__panel:not(.pf-m-no-border, .pf-m-resizable) {
206
221
  padding-inline-start: var(--#{$drawer}--m-inline__panel--PaddingInlineStart);
@@ -236,8 +251,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
236
251
  > .#{$drawer}__main > .#{$drawer}__panel {
237
252
  @include pf-v6-bidirectional-style(
238
253
  $prop: transform,
239
- $ltr-val: translateX(-100%),
240
- $rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
254
+ $ltr-val: translateX(calc(-100% - var(--#{$drawer}--m-expanded__panel--inset))),
255
+ $rtl-val: translateX(#{pf-v6-calc-inverse(calc(-100% - var(--#{$drawer}--m-expanded__panel--inset)))}),
241
256
  );
242
257
 
243
258
  --#{$drawer}__panel--Opacity: var(--#{$drawer}--m-expanded__panel--Opacity);
@@ -250,7 +265,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
250
265
  }
251
266
 
252
267
  &.pf-m-panel-bottom > .#{$drawer}__main > .#{$drawer}__panel {
253
- transform: translate(0, -100%);
268
+ transform: translate(0, calc(-100% - var(--#{$drawer}--m-expanded__panel--inset)));
254
269
  }
255
270
  }
256
271
  // stylelint-enable
@@ -264,6 +279,33 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
264
279
  pointer-events: auto;
265
280
  }
266
281
  }
282
+
283
+ &.pf-m-pill {
284
+ @media screen and (min-width: $pf-v6-global--breakpoint--md) {
285
+ --#{$drawer}__main--Gap: var(--#{$drawer}--m-pill__main--Gap, revert);
286
+ --#{$drawer}__panel--BorderColor: var(--#{$drawer}--m-pill__panel--BorderColor);
287
+ --#{$drawer}__panel--BorderRadius: var(--#{$drawer}--m-pill__panel--BorderRadius);
288
+ --#{$drawer}--m-expanded__panel--inset: var(--#{$drawer}--m-pill--m-expanded__panel--inset);
289
+ --#{$drawer}__panel--MarginBlock: var(--#{$drawer}--m-pill--m-expanded__panel--inset);
290
+
291
+ > .#{$drawer}__main > .#{$drawer}__panel {
292
+ border-block-start-width: var(--#{$drawer}--m-pill__panel--BorderBlockStartWidth);
293
+ border-block-end-width: var(--#{$drawer}--m-pill__panel--BorderBlockEndWidth);
294
+ border-inline-start-width: var(--#{$drawer}--m-pill__panel--BorderInlineStartWidth);
295
+ border-inline-end-width: var(--#{$drawer}--m-pill__panel--BorderInlineEndWidth);
296
+
297
+ // This won't apply background overrides if glass is disabled, allowing secondary backgrounds to work
298
+ // stylelint-disable max-nesting-depth
299
+ &:not(.pf-m-no-glass) {
300
+ --#{$drawer}__panel--BackgroundColor: var(--#{$drawer}__panel--m-glass--BackgroundColor);
301
+ --#{$drawer}__panel--BorderColor: var(--#{$drawer}__panel--m-glass--BorderColor);
302
+
303
+ backdrop-filter: var(--#{$drawer}__panel--m-glass--BackdropFilter);
304
+ }
305
+ // stylelint-enable
306
+ }
307
+ }
308
+ }
267
309
  }
268
310
 
269
311
  // Header area
@@ -284,6 +326,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
284
326
  .#{$drawer}__main {
285
327
  display: flex;
286
328
  flex: 1;
329
+ gap: var(--#{$drawer}__main--Gap, 0);
287
330
  overflow: hidden;
288
331
  }
289
332
 
@@ -292,8 +335,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
292
335
  .#{$drawer}__panel,
293
336
  .#{$drawer}__panel-main {
294
337
  display: flex;
295
- flex-direction: column;
296
338
  flex-shrink: 0;
339
+ flex-direction: column;
297
340
  overflow: auto;
298
341
  }
299
342
 
@@ -328,6 +371,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
328
371
  row-gap: var(--#{$drawer}__panel--RowGap);
329
372
  order: 1;
330
373
  max-height: var(--#{$drawer}__panel--MaxHeight);
374
+ margin-block: var(--#{$drawer}__panel--MarginBlock, revert);
375
+ margin-inline: var(--#{$drawer}__panel--MarginInline, revert);
331
376
  overflow: auto;
332
377
  visibility: hidden; // hidden by default
333
378
  background-color: var(--#{$drawer}__panel--BackgroundColor);
@@ -336,6 +381,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
336
381
  border-block-end-width: var(--#{$drawer}__panel--BorderBlockEndWidth);
337
382
  border-inline-start-width: var(--#{$drawer}__panel--BorderInlineStartWidth);
338
383
  border-inline-end-width: var(--#{$drawer}__panel--BorderInlineEndWidth);
384
+ border-radius: var(--#{$drawer}__panel--BorderRadius, revert);
339
385
  box-shadow: var(--#{$drawer}__panel--BoxShadow);
340
386
  opacity: var(--#{$drawer}__panel--Opacity);
341
387
  transition-delay: var(--#{$drawer}__panel--TransitionDelay);
@@ -565,7 +611,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
565
611
  }
566
612
 
567
613
  &.pf-m-expanded > .#{$drawer}__main > .#{$drawer}__panel {
568
- transform: translateX(0);
614
+ transform: translateX(var(--#{$drawer}--m-expanded__panel--inset));
569
615
  }
570
616
 
571
617
  > .#{$drawer}__main > .#{$drawer}__panel.pf-m-resizable {
@@ -583,6 +629,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
583
629
  --#{$drawer}__panel--FlexBasis--min: var(--#{$drawer}--m-panel-bottom__panel--FlexBasis--min);
584
630
  --#{$drawer}__panel--BorderInlineStartWidth: 0; // turn off default left border
585
631
  --#{$drawer}__panel--BorderBlockStartWidth: var(--#{$drawer}--m-panel-bottom__panel--after--Height); // set the border width based on the old height variable
632
+ --#{$drawer}__panel--MarginBlock: initial;
633
+ --#{$drawer}__panel--MarginInline: var(--#{$drawer}--m-expanded__panel--inset);
586
634
 
587
635
  min-width: auto;
588
636
  min-height: var(--#{$drawer}--m-panel-bottom__panel--md--MinHeight);
@@ -655,7 +703,11 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
655
703
 
656
704
  // Responsive width modifiers
657
705
  @each $breakpoint, $breakpoint-value in $pf-v6-c-drawer--breakpoint-map--width {
658
- $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
706
+ $breakpoint-name: "";
707
+
708
+ @if $breakpoint != "base" {
709
+ $breakpoint-name: -on-#{$breakpoint};
710
+ }
659
711
 
660
712
  @if $breakpoint == "base" {
661
713
  $breakpoint: "md";
@@ -664,7 +716,11 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
664
716
  @include pf-v6-apply-breakpoint($breakpoint) {
665
717
  @each $width-value in $pf-v6-c-drawer__panel--list--width {
666
718
  .#{$drawer}__panel.pf-m-width-#{$width-value}#{$breakpoint-name} {
667
- --#{$drawer}__panel--md--FlexBasis: #{percentage(math.div($width-value, 100))};
719
+ --#{$drawer}__panel--md--FlexBasis: calc(#{math.percentage(math.div($width-value, 100))} - (2 * var(--#{$drawer}--m-expanded__panel--inset)));
720
+
721
+ @if $width-value == 100 {
722
+ --#{$drawer}__main--Gap: 0; // Reset gap for width-100 inline pill drawers to prevent misalignment
723
+ }
668
724
  }
669
725
  }
670
726
  }
@@ -672,7 +728,11 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
672
728
 
673
729
  // Responsive modifiers
674
730
  @each $breakpoint, $breakpoint-value in $pf-v6-c-drawer--breakpoint-map {
675
- $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
731
+ $breakpoint-name: "";
732
+
733
+ @if $breakpoint != "base" {
734
+ $breakpoint-name: -on-#{$breakpoint};
735
+ }
676
736
 
677
737
  @if $breakpoint == "base" {
678
738
  $breakpoint: "md";
@@ -32,6 +32,15 @@
32
32
  --pf-v6-c-dual-list-selector--m-expanded__list--Opacity: 1;
33
33
  --pf-v6-c-dual-list-selector__list--TranslateY: 0;
34
34
  --pf-v6-c-dual-list-selector--m-expanded__list--TranslateY: 0;
35
+ }
36
+ @media screen and (prefers-reduced-motion: no-preference) {
37
+ .pf-v6-c-dual-list-selector {
38
+ --pf-v6-c-dual-list-selector__list--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
39
+ --pf-v6-c-dual-list-selector__list--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
40
+ --pf-v6-c-dual-list-selector__list--TranslateY: -.5rem;
41
+ }
42
+ }
43
+ .pf-v6-c-dual-list-selector {
35
44
  --pf-v6-c-dual-list-selector__list-item-row--FontSize: var(--pf-t--global--font--size--sm);
36
45
  --pf-v6-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
37
46
  --pf-v6-c-dual-list-selector__list-item-row--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
@@ -73,13 +82,6 @@
73
82
  --pf-v6-c-dual-list-selector__item-toggle-icon--MinWidth: var(--pf-v6-c-dual-list-selector__list-item-row--FontSize);
74
83
  --pf-v6-c-dual-list-selector__list-item--m-disabled__item-toggle-icon--Color: var(--pf-t--global--icon--color--disabled);
75
84
  }
76
- @media screen and (prefers-reduced-motion: no-preference) {
77
- .pf-v6-c-dual-list-selector {
78
- --pf-v6-c-dual-list-selector__list--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
79
- --pf-v6-c-dual-list-selector__list--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
80
- --pf-v6-c-dual-list-selector__list--TranslateY: -.5rem;
81
- }
82
- }
83
85
 
84
86
  .pf-v6-c-dual-list-selector {
85
87
  display: grid;
@@ -150,8 +152,6 @@
150
152
 
151
153
  .pf-v6-c-dual-list-selector__list {
152
154
  --pf-v6-c-dual-list-selector__item-toggle-icon--Rotate: 0;
153
- display: flex;
154
- flex-direction: column;
155
155
  }
156
156
  .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__list {
157
157
  --pf-v6-c-dual-list-selector__item-toggle--MarginBlockStart: 0;
@@ -159,16 +159,22 @@
159
159
  }
160
160
  .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__item-toggle {
161
161
  transform: translateX(var(--pf-v6-c-dual-list-selector__list__list__item-toggle--TranslateX));
162
- position: absolute;
163
- inset-inline-start: var(--pf-v6-c-dual-list-selector__list__list__item-toggle--InsetInlineStart);
164
162
  }
165
163
  :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__item-toggle {
166
164
  transform: translateX(calc(var(--pf-v6-c-dual-list-selector__list__list__item-toggle--TranslateX) * var(--pf-v6-global--inverse--multiplier)));
167
165
  }
168
166
 
167
+ .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__list .pf-v6-c-dual-list-selector__item-toggle {
168
+ position: absolute;
169
+ inset-inline-start: var(--pf-v6-c-dual-list-selector__list__list__item-toggle--InsetInlineStart);
170
+ }
169
171
  .pf-v6-c-dual-list-selector__list.pf-m-drag-over {
170
172
  overflow-anchor: none;
171
173
  }
174
+ .pf-v6-c-dual-list-selector__list {
175
+ display: flex;
176
+ flex-direction: column;
177
+ }
172
178
 
173
179
  .pf-v6-c-dual-list-selector__list-item:focus-visible {
174
180
  --pf-v6-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v6-c-dual-list-selector__list-item-row--hover--BackgroundColor);
@@ -20,10 +20,24 @@
20
20
  --pf-v6-c-expandable-section__content--Opacity: 0;
21
21
  --pf-v6-c-expandable-section__content--TranslateY: 0;
22
22
  --pf-v6-c-expandable-section__content--PaddingInlineStart: 0;
23
+ --pf-v6-c-expandable-section__content--MaxHeight: 0px;
24
+ --pf-v6-c-expandable-section__content--Visibility: hidden;
25
+ --pf-v6-c-expandable-section__content--Opacity: 0;
23
26
  --pf-v6-c-expandable-section--m-expand-top__content--TranslateY: 0;
24
27
  --pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: 0;
25
28
  --pf-v6-c-expandable-section--m-expanded__content--Opacity: 1;
26
29
  --pf-v6-c-expandable-section--m-expanded__content--TranslateY: 0;
30
+ }
31
+ @media screen and (prefers-reduced-motion: no-preference) {
32
+ .pf-v6-c-expandable-section {
33
+ --pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
34
+ --pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
35
+ --pf-v6-c-expandable-section__content--TranslateY: -.5rem;
36
+ --pf-v6-c-expandable-section--m-expand-top__content--TranslateY: .5rem;
37
+ --pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: -.5rem;
38
+ }
39
+ }
40
+ .pf-v6-c-expandable-section {
27
41
  --pf-v6-c-expandable-section__content--MaxWidth: auto;
28
42
  --pf-v6-c-expandable-section--m-limit-width__content--MaxWidth: 46.875rem;
29
43
  --pf-v6-c-expandable-section--m-display-lg--PaddingBlockStart: var(--pf-t--global--spacer--sm);
@@ -40,15 +54,6 @@
40
54
  --pf-v6-c-expandable-section--m-truncate__content--LineClamp: 3;
41
55
  --pf-v6-c-expandable-section--m-truncate--Gap: var(--pf-t--global--spacer--xs);
42
56
  }
43
- @media screen and (prefers-reduced-motion: no-preference) {
44
- .pf-v6-c-expandable-section {
45
- --pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
46
- --pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
47
- --pf-v6-c-expandable-section__content--TranslateY: -.5rem;
48
- --pf-v6-c-expandable-section--m-expand-top__content--TranslateY: .5rem;
49
- --pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: -.5rem;
50
- }
51
- }
52
57
 
53
58
  .pf-v6-c-expandable-section {
54
59
  display: flex;
@@ -107,9 +112,13 @@
107
112
  }
108
113
  .pf-v6-c-expandable-section.pf-m-truncate:not(.pf-m-expanded) .pf-v6-c-expandable-section__content {
109
114
  display: -webkit-box;
115
+ overflow: hidden;
110
116
  -webkit-box-orient: vertical;
111
117
  -webkit-line-clamp: var(--pf-v6-c-expandable-section--m-truncate__content--LineClamp);
112
- overflow: hidden;
118
+ }
119
+
120
+ :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-expandable-section__toggle-icon {
121
+ scale: -1 1;
113
122
  }
114
123
 
115
124
  .pf-v6-c-expandable-section__toggle-icon {
@@ -119,10 +128,6 @@
119
128
  transition: var(--pf-v6-c-expandable-section__toggle-icon--Transition);
120
129
  transform: rotate(var(--pf-v6-c-expandable-section__toggle-icon--Rotate));
121
130
  }
122
- :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-expandable-section__toggle-icon {
123
- scale: -1 1;
124
- }
125
-
126
131
  .pf-v6-c-expandable-section__toggle-icon.pf-m-expand-top {
127
132
  --pf-v6-c-expandable-section__toggle-icon--Rotate: var(--pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate);
128
133
  }
@@ -24,6 +24,9 @@
24
24
  --#{$expandable-section}__content--Opacity: 0;
25
25
  --#{$expandable-section}__content--TranslateY: 0;
26
26
  --#{$expandable-section}__content--PaddingInlineStart: 0;
27
+ --#{$expandable-section}__content--MaxHeight: 0px;
28
+ --#{$expandable-section}__content--Visibility: hidden;
29
+ --#{$expandable-section}__content--Opacity: 0;
27
30
  --#{$expandable-section}--m-expand-top__content--TranslateY: 0;
28
31
  --#{$expandable-section}--m-expand-bottom__content--TranslateY: 0;
29
32
  --#{$expandable-section}--m-expanded__content--Opacity: 1;
@@ -135,10 +138,10 @@
135
138
  &:not(.pf-m-expanded) .#{$expandable-section}__content {
136
139
  // stylelint-disable
137
140
  display: -webkit-box;
141
+ overflow: hidden;
138
142
  -webkit-box-orient: vertical;
139
143
  -webkit-line-clamp: var(--#{$expandable-section}--m-truncate__content--LineClamp);
140
144
  // stylelint-enable
141
- overflow: hidden;
142
145
  }
143
146
  }
144
147
  }
@@ -499,8 +499,8 @@
499
499
 
500
500
  .pf-v6-c-form__field-group-header-main {
501
501
  display: flex;
502
- flex-direction: column;
503
502
  flex-grow: 1;
503
+ flex-direction: column;
504
504
  }
505
505
 
506
506
  .pf-v6-c-form__field-group-header-title {
@@ -459,8 +459,8 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
459
459
 
460
460
  .#{$form}__field-group-header-main {
461
461
  display: flex;
462
- flex-direction: column;
463
462
  flex-grow: 1;
463
+ flex-direction: column;
464
464
  }
465
465
 
466
466
  .#{$form}__field-group-header-title {
@@ -189,8 +189,8 @@
189
189
  --pf-v6-c-form-control__utilities--PaddingInlineEnd: var(--pf-v6-c-form-control__utilities--textarea--PaddingInlineEnd);
190
190
  }
191
191
  .pf-v6-c-form-control.pf-m-textarea > textarea {
192
- outline-offset: 0;
193
192
  scrollbar-gutter: stable;
193
+ outline-offset: 0;
194
194
  }
195
195
  .pf-v6-c-form-control.pf-m-textarea .pf-v6-c-form-control__utilities {
196
196
  padding-block-start: var(--pf-v6-c-form-control__utilities--textarea--PaddingBlockStart);
@@ -244,8 +244,8 @@
244
244
  }
245
245
 
246
246
  > textarea {
247
- outline-offset: 0;
248
247
  scrollbar-gutter: stable;
248
+ outline-offset: 0;
249
249
  }
250
250
 
251
251
  .#{$form-control}__utilities {
@@ -0,0 +1,74 @@
1
+ .pf-v6-c-hero {
2
+ --pf-v6-c-hero--PaddingBlockStart: var(--pf-t--global--spacer--xl);
3
+ --pf-v6-c-hero--PaddingBlockEnd: var(--pf-t--global--spacer--xl);
4
+ --pf-v6-c-hero--PaddingInlineStart: var(--pf-t--global--spacer--3xl);
5
+ --pf-v6-c-hero--PaddingInlineEnd: var(--pf-t--global--spacer--xl);
6
+ --pf-v6-c-hero--gradient--angle: 109deg;
7
+ --pf-v6-c-hero--gradient--stop-1--light: transparent;
8
+ --pf-v6-c-hero--gradient--stop-2--light: transparent;
9
+ --pf-v6-c-hero--gradient--stop-3--light: transparent;
10
+ --pf-v6-c-hero--gradient--stop-1--dark: transparent;
11
+ --pf-v6-c-hero--gradient--stop-2--dark: transparent;
12
+ --pf-v6-c-hero--gradient--stop-3--dark: transparent;
13
+ --pf-v6-c-hero--BackgroundColor: var(--pf-t--global--background--color--glass--primary--default);
14
+ --pf-v6-c-hero--BackdropFilter: var(--pf-t--global--background--filter--glass--blur--primary);
15
+ --pf-v6-c-hero--BackgroundImage--light: none;
16
+ --pf-v6-c-hero--BackgroundImage--dark: none;
17
+ --pf-v6-c-hero--BackgroundRepeat: no-repeat;
18
+ --pf-v6-c-hero--BackgroundPosition: right center;
19
+ --pf-v6-c-hero--BackgroundSize: contain;
20
+ --pf-v6-c-hero--BorderStyle: solid;
21
+ --pf-v6-c-hero--BorderBlockStartWidth: var(--pf-t--global--border--width--regular);
22
+ --pf-v6-c-hero--BorderBlockEndWidth: var(--pf-t--global--border--width--regular);
23
+ --pf-v6-c-hero--BorderInlineStartWidth: var(--pf-t--global--border--width--regular);
24
+ --pf-v6-c-hero--BorderInlineEndWidth: var(--pf-t--global--border--width--regular);
25
+ --pf-v6-c-hero--BorderColor: var(--pf-t--global--border--color--default);
26
+ --pf-v6-c-hero--m-glass--BorderColor: var(--pf-t--global--border--color--alt);
27
+ --pf-v6-c-hero--m-glass--BoxShadow: var(--pf-t--global--box-shadow--md);
28
+ --pf-v6-c-hero--BorderStartStartRadius: 24px;
29
+ --pf-v6-c-hero--BorderStartEndRadius: 72px;
30
+ --pf-v6-c-hero--BorderEndEndRadius: 24px;
31
+ --pf-v6-c-hero--BorderEndStartRadius: 72px;
32
+ --pf-v6-c-hero__body--Width: 800px;
33
+ --pf-v6-c-hero__body--MaxWidth: 80%;
34
+ }
35
+
36
+ .pf-v6-c-hero {
37
+ display: flex;
38
+ padding-block-start: var(--pf-v6-c-hero--PaddingBlockStart);
39
+ padding-block-end: var(--pf-v6-c-hero--PaddingBlockEnd);
40
+ padding-inline-start: var(--pf-v6-c-hero--PaddingInlineStart);
41
+ padding-inline-end: var(--pf-v6-c-hero--PaddingInlineEnd);
42
+ background-image: var(--pf-v6-c-hero--BackgroundImage, var(--pf-v6-c-hero--BackgroundImage--light)), linear-gradient(var(--pf-v6-c-hero--gradient--angle), var(--pf-v6-c-hero--gradient--stop-1, var(--pf-v6-c-hero--gradient--stop-1--light)) 0%, var(--pf-v6-c-hero--gradient--stop-2, var(--pf-v6-c-hero--gradient--stop-2--light)) 50%, var(--pf-v6-c-hero--gradient--stop-3, var(--pf-v6-c-hero--gradient--stop-3--light)) 100%);
43
+ background-repeat: var(--pf-v6-c-hero--BackgroundRepeat);
44
+ background-position: var(--pf-v6-c-hero--BackgroundPosition);
45
+ background-size: var(--pf-v6-c-hero--BackgroundSize);
46
+ border-color: var(--pf-v6-c-hero--BorderColor);
47
+ border-style: var(--pf-v6-c-hero--BorderStyle);
48
+ border-block-start-width: var(--pf-v6-c-hero--BorderBlockStartWidth);
49
+ border-block-end-width: var(--pf-v6-c-hero--BorderBlockEndWidth);
50
+ border-inline-start-width: var(--pf-v6-c-hero--BorderInlineStartWidth);
51
+ border-inline-end-width: var(--pf-v6-c-hero--BorderInlineEndWidth);
52
+ border-start-start-radius: var(--pf-v6-c-hero--BorderStartStartRadius);
53
+ border-start-end-radius: var(--pf-v6-c-hero--BorderStartEndRadius);
54
+ border-end-start-radius: var(--pf-v6-c-hero--BorderEndStartRadius);
55
+ border-end-end-radius: var(--pf-v6-c-hero--BorderEndEndRadius);
56
+ }
57
+ :root:where(.pf-v6-theme-dark) .pf-v6-c-hero {
58
+ --pf-v6-c-hero--BackgroundImage: var(--pf-v6-c-hero--BackgroundImage--dark);
59
+ --pf-v6-c-hero--gradient--stop-1: var(--pf-v6-c-hero--gradient--stop-1--dark);
60
+ --pf-v6-c-hero--gradient--stop-2: var(--pf-v6-c-hero--gradient--stop-2--dark);
61
+ --pf-v6-c-hero--gradient--stop-3: var(--pf-v6-c-hero--gradient--stop-3--dark);
62
+ }
63
+ :root:where(.pf-v6-theme-glass) .pf-v6-c-hero {
64
+ --pf-v6-c-hero--BorderColor: var(--pf-v6-c-hero--m-glass--BorderColor);
65
+ box-shadow: var(--pf-v6-c-hero--m-glass--BoxShadow);
66
+ }
67
+ .pf-v6-c-hero:not(.pf-m-no-glass) {
68
+ background-color: var(--pf-v6-c-hero--BackgroundColor);
69
+ backdrop-filter: var(--pf-v6-c-hero--BackdropFilter);
70
+ }
71
+
72
+ .pf-v6-c-hero__body {
73
+ width: min(var(--pf-v6-c-hero__body--Width), var(--pf-v6-c-hero__body--MaxWidth));
74
+ }
@@ -0,0 +1,86 @@
1
+ @use '../../sass-utilities' as *;
2
+
3
+ @include pf-root($hero) {
4
+ --#{$hero}--PaddingBlockStart: var(--pf-t--global--spacer--xl);
5
+ --#{$hero}--PaddingBlockEnd: var(--pf-t--global--spacer--xl);
6
+ --#{$hero}--PaddingInlineStart: var(--pf-t--global--spacer--3xl);
7
+ --#{$hero}--PaddingInlineEnd: var(--pf-t--global--spacer--xl);
8
+ --#{$hero}--gradient--angle: 109deg;
9
+ --#{$hero}--gradient--stop-1--light: transparent;
10
+ --#{$hero}--gradient--stop-2--light: transparent;
11
+ --#{$hero}--gradient--stop-3--light: transparent;
12
+ --#{$hero}--gradient--stop-1--dark: transparent;
13
+ --#{$hero}--gradient--stop-2--dark: transparent;
14
+ --#{$hero}--gradient--stop-3--dark: transparent;
15
+ --#{$hero}--BackgroundColor: var(--pf-t--global--background--color--glass--primary--default);
16
+ --#{$hero}--BackdropFilter: var(--pf-t--global--background--filter--glass--blur--primary);
17
+ --#{$hero}--BackgroundImage--light: none;
18
+ --#{$hero}--BackgroundImage--dark: none;
19
+ --#{$hero}--BackgroundRepeat: no-repeat;
20
+ --#{$hero}--BackgroundPosition: right center;
21
+ --#{$hero}--BackgroundSize: contain;
22
+ --#{$hero}--BorderStyle: solid;
23
+ --#{$hero}--BorderBlockStartWidth: var(--pf-t--global--border--width--regular);
24
+ --#{$hero}--BorderBlockEndWidth: var(--pf-t--global--border--width--regular);
25
+ --#{$hero}--BorderInlineStartWidth: var(--pf-t--global--border--width--regular);
26
+ --#{$hero}--BorderInlineEndWidth: var(--pf-t--global--border--width--regular);
27
+ --#{$hero}--BorderColor: var(--pf-t--global--border--color--default);
28
+ --#{$hero}--m-glass--BorderColor: var(--pf-t--global--border--color--alt);
29
+ --#{$hero}--m-glass--BoxShadow: var(--pf-t--global--box-shadow--md);
30
+ --#{$hero}--BorderStartStartRadius: 24px;
31
+ --#{$hero}--BorderStartEndRadius: 72px;
32
+ --#{$hero}--BorderEndEndRadius: 24px;
33
+ --#{$hero}--BorderEndStartRadius: 72px;
34
+ --#{$hero}__body--Width: 800px;
35
+ --#{$hero}__body--MaxWidth: 80%;
36
+ }
37
+
38
+ .#{$hero} {
39
+ display: flex;
40
+ padding-block-start: var(--#{$hero}--PaddingBlockStart);
41
+ padding-block-end: var(--#{$hero}--PaddingBlockEnd);
42
+ padding-inline-start: var(--#{$hero}--PaddingInlineStart);
43
+ padding-inline-end: var(--#{$hero}--PaddingInlineEnd);
44
+ background-image: var(--#{$hero}--BackgroundImage, var(--#{$hero}--BackgroundImage--light)),
45
+ linear-gradient(
46
+ var(--#{$hero}--gradient--angle),
47
+ var(--#{$hero}--gradient--stop-1, var(--#{$hero}--gradient--stop-1--light)) 0%,
48
+ var(--#{$hero}--gradient--stop-2, var(--#{$hero}--gradient--stop-2--light)) 50%,
49
+ var(--#{$hero}--gradient--stop-3, var(--#{$hero}--gradient--stop-3--light)) 100%
50
+ );
51
+ background-repeat: var(--#{$hero}--BackgroundRepeat);
52
+ background-position: var(--#{$hero}--BackgroundPosition);
53
+ background-size: var(--#{$hero}--BackgroundSize);
54
+ border-color: var(--#{$hero}--BorderColor);
55
+ border-style: var(--#{$hero}--BorderStyle);
56
+ border-block-start-width: var(--#{$hero}--BorderBlockStartWidth);
57
+ border-block-end-width: var(--#{$hero}--BorderBlockEndWidth);
58
+ border-inline-start-width: var(--#{$hero}--BorderInlineStartWidth);
59
+ border-inline-end-width: var(--#{$hero}--BorderInlineEndWidth);
60
+ border-start-start-radius: var(--#{$hero}--BorderStartStartRadius);
61
+ border-start-end-radius: var(--#{$hero}--BorderStartEndRadius);
62
+ border-end-start-radius: var(--#{$hero}--BorderEndStartRadius);
63
+ border-end-end-radius: var(--#{$hero}--BorderEndEndRadius);
64
+
65
+ :root:where(.#{$pf-prefix}theme-dark) & {
66
+ --#{$hero}--BackgroundImage: var(--#{$hero}--BackgroundImage--dark);
67
+ --#{$hero}--gradient--stop-1: var(--#{$hero}--gradient--stop-1--dark);
68
+ --#{$hero}--gradient--stop-2: var(--#{$hero}--gradient--stop-2--dark);
69
+ --#{$hero}--gradient--stop-3: var(--#{$hero}--gradient--stop-3--dark);
70
+ }
71
+
72
+ :root:where(.#{$pf-prefix}theme-glass) & {
73
+ --#{$hero}--BorderColor: var(--#{$hero}--m-glass--BorderColor);
74
+
75
+ box-shadow: var(--#{$hero}--m-glass--BoxShadow);
76
+ }
77
+
78
+ &:not(.pf-m-no-glass) {
79
+ background-color: var(--#{$hero}--BackgroundColor);
80
+ backdrop-filter: var(--#{$hero}--BackdropFilter);
81
+ }
82
+ }
83
+
84
+ .#{$hero}__body {
85
+ width: min(var(--#{$hero}__body--Width), var(--#{$hero}__body--MaxWidth));
86
+ }
@@ -234,6 +234,10 @@
234
234
  margin-block-end: var(--pf-v6-c-jump-links__toggle--MarginBlockEnd);
235
235
  }
236
236
 
237
+ :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-jump-links__toggle-icon {
238
+ scale: -1 1;
239
+ }
240
+
237
241
  .pf-v6-c-jump-links__toggle-icon {
238
242
  display: inline-block;
239
243
  color: var(--pf-v6-c-jump-links__toggle-icon--Color);
@@ -241,7 +245,4 @@
241
245
  transition-duration: var(--pf-v6-c-jump-links__toggle-icon--TransitionDuration);
242
246
  transition-property: transform;
243
247
  transform: rotate(var(--pf-v6-c-jump-links__toggle-icon--Rotate));
244
- }
245
- :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-jump-links__toggle-icon {
246
- scale: -1 1;
247
248
  }
@@ -95,7 +95,11 @@ $pf-v6-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base",
95
95
  }
96
96
 
97
97
  @each $breakpoint, $breakpoint-value in $pf-v6-c-jump-links--m-expandable--breakpoint-map {
98
- $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
98
+ $breakpoint-name: "";
99
+
100
+ @if $breakpoint != "base" {
101
+ $breakpoint-name: -on-#{$breakpoint};
102
+ }
99
103
 
100
104
  @include pf-v6-apply-breakpoint($breakpoint) {
101
105
  &.pf-m-expandable#{$breakpoint-name} {
@@ -137,9 +137,9 @@
137
137
  padding-inline-end: var(--pf-v6-c-label-group__textarea--PaddingInlineEnd);
138
138
  white-space: nowrap;
139
139
  resize: none;
140
- border: 0;
141
- -ms-overflow-style: none;
142
140
  scrollbar-width: none;
141
+ -ms-overflow-style: none;
142
+ border: 0;
143
143
  }
144
144
  .pf-v6-c-label-group__textarea::-webkit-scrollbar {
145
145
  display: none;
@@ -163,11 +163,11 @@
163
163
  padding-inline-end: var(--#{$label-group}__textarea--PaddingInlineEnd);
164
164
  white-space: nowrap;
165
165
  resize: none;
166
- border: 0;
167
166
 
168
167
  // Hide scrollbar for IE, Edge and Firefox
169
- -ms-overflow-style: none; // IE and Edge
170
168
  scrollbar-width: none; // Firefox
169
+ -ms-overflow-style: none; // IE and Edge
170
+ border: 0;
171
171
 
172
172
  // Hide scrollbar for Chrome, Safari and Opera
173
173
  &::-webkit-scrollbar {
@@ -493,6 +493,10 @@ input.pf-v6-c-label__content {
493
493
  .pf-v6-c-label__actions {
494
494
  margin-inline-end: var(--pf-v6-c-label__actions--MarginInlineEnd);
495
495
  }
496
+ .pf-v6-c-label.pf-m-compact .pf-v6-c-label__actions .pf-v6-c-button {
497
+ --pf-v6-c-button--m-plain--m-no-padding--after--Inset: 0 calc(-0.125rem);
498
+ }
499
+
496
500
  .pf-v6-c-label__actions .pf-v6-c-button {
497
501
  --pf-v6-c-button--FontSize: var(--pf-v6-c-label__actions--c-button--FontSize);
498
502
  --pf-v6-c-button--m-plain--m-no-padding--PaddingBlockStart: var(--pf-v6-c-label__actions--c-button--PaddingBlockStart);
@@ -502,7 +506,4 @@ input.pf-v6-c-label__content {
502
506
  margin-block-start: var(--pf-v6-c-label__actions--c-button--MarginBlockStart);
503
507
  margin-block-end: var(--pf-v6-c-label__actions--c-button--MarginBlockEnd);
504
508
  outline-offset: var(--pf-v6-c-label__actions--c-button--OutlineOffset);
505
- }
506
- .pf-v6-c-label.pf-m-compact .pf-v6-c-label__actions .pf-v6-c-button {
507
- --pf-v6-c-button--m-plain--m-no-padding--after--Inset: 0 calc(-0.125rem);
508
509
  }