@patternfly/react-styles 5.1.1-prerelease.1 → 5.1.1-prerelease.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/css/components/Accordion/accordion.css +3 -0
  3. package/css/components/Accordion/accordion.d.ts +3 -1
  4. package/css/components/Accordion/accordion.js +3 -1
  5. package/css/components/Accordion/accordion.mjs +3 -1
  6. package/css/components/Alert/alert.css +3 -0
  7. package/css/components/Alert/alert.d.ts +3 -1
  8. package/css/components/Alert/alert.js +3 -1
  9. package/css/components/Alert/alert.mjs +3 -1
  10. package/css/components/BackgroundImage/background-image.css +4 -1
  11. package/css/components/BackgroundImage/background-image.d.ts +3 -1
  12. package/css/components/BackgroundImage/background-image.js +3 -1
  13. package/css/components/BackgroundImage/background-image.mjs +3 -1
  14. package/css/components/Breadcrumb/breadcrumb.css +3 -0
  15. package/css/components/Breadcrumb/breadcrumb.d.ts +3 -1
  16. package/css/components/Breadcrumb/breadcrumb.js +3 -1
  17. package/css/components/Breadcrumb/breadcrumb.mjs +3 -1
  18. package/css/components/CalendarMonth/calendar-month.css +4 -0
  19. package/css/components/CalendarMonth/calendar-month.d.ts +3 -1
  20. package/css/components/CalendarMonth/calendar-month.js +3 -1
  21. package/css/components/CalendarMonth/calendar-month.mjs +3 -1
  22. package/css/components/Card/card.css +3 -0
  23. package/css/components/Card/card.d.ts +3 -1
  24. package/css/components/Card/card.js +3 -1
  25. package/css/components/Card/card.mjs +3 -1
  26. package/css/components/ClipboardCopy/clipboard-copy.css +3 -0
  27. package/css/components/ClipboardCopy/clipboard-copy.d.ts +3 -1
  28. package/css/components/ClipboardCopy/clipboard-copy.js +3 -1
  29. package/css/components/ClipboardCopy/clipboard-copy.mjs +3 -1
  30. package/css/components/DataList/data-list.css +3 -0
  31. package/css/components/DataList/data-list.d.ts +3 -1
  32. package/css/components/DataList/data-list.js +3 -1
  33. package/css/components/DataList/data-list.mjs +3 -1
  34. package/css/components/Drawer/drawer.css +45 -1
  35. package/css/components/Drawer/drawer.d.ts +3 -1
  36. package/css/components/Drawer/drawer.js +3 -1
  37. package/css/components/Drawer/drawer.mjs +3 -1
  38. package/css/components/DualListSelector/dual-list-selector.css +9 -1
  39. package/css/components/DualListSelector/dual-list-selector.d.ts +4 -1
  40. package/css/components/DualListSelector/dual-list-selector.js +4 -1
  41. package/css/components/DualListSelector/dual-list-selector.mjs +4 -1
  42. package/css/components/ExpandableSection/expandable-section.css +4 -0
  43. package/css/components/ExpandableSection/expandable-section.d.ts +3 -1
  44. package/css/components/ExpandableSection/expandable-section.js +3 -1
  45. package/css/components/ExpandableSection/expandable-section.mjs +3 -1
  46. package/css/components/Form/form.css +3 -0
  47. package/css/components/Form/form.d.ts +3 -1
  48. package/css/components/Form/form.js +3 -1
  49. package/css/components/Form/form.mjs +3 -1
  50. package/css/components/JumpLinks/jump-links.css +3 -0
  51. package/css/components/JumpLinks/jump-links.d.ts +3 -1
  52. package/css/components/JumpLinks/jump-links.js +3 -1
  53. package/css/components/JumpLinks/jump-links.mjs +3 -1
  54. package/css/components/Menu/menu.css +11 -0
  55. package/css/components/Menu/menu.d.ts +3 -1
  56. package/css/components/Menu/menu.js +3 -1
  57. package/css/components/Menu/menu.mjs +3 -1
  58. package/css/components/Nav/nav.css +20 -0
  59. package/css/components/Nav/nav.d.ts +3 -1
  60. package/css/components/Nav/nav.js +3 -1
  61. package/css/components/Nav/nav.mjs +3 -1
  62. package/css/components/NotificationDrawer/notification-drawer.css +4 -0
  63. package/css/components/NotificationDrawer/notification-drawer.d.ts +3 -1
  64. package/css/components/NotificationDrawer/notification-drawer.js +3 -1
  65. package/css/components/NotificationDrawer/notification-drawer.mjs +3 -1
  66. package/css/components/Page/page.css +4 -0
  67. package/css/components/Page/page.d.ts +3 -1
  68. package/css/components/Page/page.js +3 -1
  69. package/css/components/Page/page.mjs +3 -1
  70. package/css/components/Pagination/pagination.css +4 -0
  71. package/css/components/Pagination/pagination.d.ts +3 -1
  72. package/css/components/Pagination/pagination.js +3 -1
  73. package/css/components/Pagination/pagination.mjs +3 -1
  74. package/css/components/Popover/popover.css +56 -8
  75. package/css/components/Popover/popover.d.ts +15 -1
  76. package/css/components/Popover/popover.js +15 -1
  77. package/css/components/Popover/popover.mjs +15 -1
  78. package/css/components/Skeleton/skeleton.css +4 -0
  79. package/css/components/Skeleton/skeleton.d.ts +3 -1
  80. package/css/components/Skeleton/skeleton.js +3 -1
  81. package/css/components/Skeleton/skeleton.mjs +3 -1
  82. package/css/components/Slider/slider.css +30 -6
  83. package/css/components/Slider/slider.d.ts +3 -1
  84. package/css/components/Slider/slider.js +3 -1
  85. package/css/components/Slider/slider.mjs +3 -1
  86. package/css/components/Switch/switch.css +4 -0
  87. package/css/components/Switch/switch.d.ts +3 -1
  88. package/css/components/Switch/switch.js +3 -1
  89. package/css/components/Switch/switch.mjs +3 -1
  90. package/css/components/Table/table-scrollable.css +2 -2
  91. package/css/components/Table/table-scrollable.d.ts +3 -1
  92. package/css/components/Table/table-scrollable.js +3 -1
  93. package/css/components/Table/table-scrollable.mjs +3 -1
  94. package/css/components/Table/table-tree-view.css +5 -1
  95. package/css/components/Table/table-tree-view.d.ts +3 -1
  96. package/css/components/Table/table-tree-view.js +3 -1
  97. package/css/components/Table/table-tree-view.mjs +3 -1
  98. package/css/components/Table/table.css +4 -0
  99. package/css/components/Table/table.d.ts +3 -1
  100. package/css/components/Table/table.js +3 -1
  101. package/css/components/Table/table.mjs +3 -1
  102. package/css/components/Tabs/tabs.css +10 -0
  103. package/css/components/Tabs/tabs.d.ts +3 -1
  104. package/css/components/Tabs/tabs.js +3 -1
  105. package/css/components/Tabs/tabs.mjs +3 -1
  106. package/css/components/Tooltip/tooltip.css +57 -9
  107. package/css/components/Tooltip/tooltip.d.ts +21 -2
  108. package/css/components/Tooltip/tooltip.js +21 -2
  109. package/css/components/Tooltip/tooltip.mjs +21 -2
  110. package/css/components/TreeView/tree-view.css +6 -0
  111. package/css/components/TreeView/tree-view.d.ts +3 -1
  112. package/css/components/TreeView/tree-view.js +3 -1
  113. package/css/components/TreeView/tree-view.mjs +3 -1
  114. package/css/components/Truncate/truncate.css +9 -0
  115. package/css/components/Truncate/truncate.d.ts +3 -1
  116. package/css/components/Truncate/truncate.js +3 -1
  117. package/css/components/Truncate/truncate.mjs +3 -1
  118. package/css/components/Wizard/wizard.css +10 -1
  119. package/css/components/Wizard/wizard.d.ts +3 -1
  120. package/css/components/Wizard/wizard.js +3 -1
  121. package/css/components/Wizard/wizard.mjs +3 -1
  122. package/css/docs/components/DragDrop/examples/DragDrop.css +2 -2
  123. package/css/docs/components/ModalBox/examples/ModalBox.css +2 -8
  124. package/css/docs/components/ModalBox/examples/ModalBox.d.ts +0 -1
  125. package/css/docs/components/ModalBox/examples/ModalBox.js +0 -1
  126. package/css/docs/components/ModalBox/examples/ModalBox.mjs +0 -1
  127. package/css/docs/components/Nav/examples/Navigation.css +3 -26
  128. package/css/docs/components/Nav/examples/Navigation.d.ts +1 -1
  129. package/css/docs/components/Nav/examples/Navigation.js +1 -1
  130. package/css/docs/components/Nav/examples/Navigation.mjs +1 -1
  131. package/css/docs/components/Popover/examples/Popover.css +3 -9
  132. package/css/docs/components/Popover/examples/Popover.d.ts +0 -1
  133. package/css/docs/components/Popover/examples/Popover.js +0 -1
  134. package/css/docs/components/Popover/examples/Popover.mjs +0 -1
  135. package/css/docs/components/Tooltip/examples/Tooltip.css +4 -0
  136. package/css/docs/components/Tooltip/examples/Tooltip.d.ts +6 -0
  137. package/css/docs/components/Tooltip/examples/Tooltip.js +7 -0
  138. package/css/docs/components/Tooltip/examples/Tooltip.mjs +5 -0
  139. package/package.json +3 -3
@@ -1,6 +1,5 @@
1
1
  import './ModalBox.css';
2
2
  declare const _default: {
3
- "modalBox": "pf-v5-c-modal-box",
4
3
  "wsCoreCModal": "ws-core-c-modal",
5
4
  "wsPreviewHtml": "ws-preview-html"
6
5
  };
@@ -2,7 +2,6 @@
2
2
  exports.__esModule = true;
3
3
  require('./ModalBox.css');
4
4
  exports.default = {
5
- "modalBox": "pf-v5-c-modal-box",
6
5
  "wsCoreCModal": "ws-core-c-modal",
7
6
  "wsPreviewHtml": "ws-preview-html"
8
7
  };
@@ -1,6 +1,5 @@
1
1
  import './ModalBox.css';
2
2
  export default {
3
- "modalBox": "pf-v5-c-modal-box",
4
3
  "wsCoreCModal": "ws-core-c-modal",
5
4
  "wsPreviewHtml": "ws-preview-html"
6
5
  };
@@ -1,32 +1,9 @@
1
- #ws-core-c-navigation-default,
2
- #ws-core-c-navigation-basic,
3
- #ws-core-c-navigation-grouped,
4
- #ws-core-c-navigation-grouped-nav,
5
- #ws-core-c-navigation-grouped-nav-no-titles,
6
- #ws-core-c-navigation-expanded,
7
- #ws-core-c-navigation-expanded-with-subnav-titles,
8
- #ws-core-c-navigation-mixed,
9
- #ws-core-c-navigation-horizontal,
10
- #ws-core-c-navigation-horizontal-overflow,
11
- #ws-core-c-navigation-horizontal-subnav,
12
- #ws-core-c-navigation-horizontal-subnav-overflow,
13
- #ws-core-c-navigation-drilldown,
14
- #ws-core-c-navigation-nav-with-drilldown-menu .pf-v5-c-nav,
15
- #ws-core-c-navigation-level-2-drilldown,
16
- #ws-core-c-navigation-level-3-drilldown,
17
- #ws-core-c-navigation-nav-with-flyout .pf-v5-c-nav,
18
- #ws-core-c-navigation-grouped-nav-no-titles-no-margin-top {
19
- padding: 0;
20
- background-color: var(--pf-v5-global--BackgroundColor--dark-300);
21
- }
22
-
23
- #ws-core-c-navigation-expandable-third-level .pf-v5-c-nav {
1
+ .ws-core-c-navigation:not([id*="tertiary"]):not([id*="light-mode"]) .ws-preview-html {
24
2
  background-color: var(--pf-v5-global--BackgroundColor--dark-300);
25
3
  }
26
4
 
27
5
  #ws-core-c-navigation-horizontal-in-masthead,
28
6
  #ws-core-c-navigation-horizontal-in-masthead-overflow {
29
- padding: 0;
30
7
  grid-template-rows: auto;
31
8
  }
32
9
 
@@ -58,6 +35,6 @@
58
35
 
59
36
  #ws-core-c-navigation-nav-with-flyout .pf-v5-c-menu.pf-m-flyout.pf-m-nav {
60
37
  position: absolute;
61
- inset-block-start: 168px;
62
- inset-inline-start: 256px;
38
+ inset-block-start: 168px;
39
+ inset-inline-start: 256px;
63
40
  }
@@ -5,9 +5,9 @@ declare const _default: {
5
5
  "flyout": "pf-m-flyout",
6
6
  "nav": "pf-m-nav"
7
7
  },
8
- "nav": "pf-v5-c-nav",
9
8
  "pageHeader": "pf-v5-c-page__header",
10
9
  "pageHeaderNav": "pf-v5-c-page__header-nav",
10
+ "wsCoreCNavigation": "ws-core-c-navigation",
11
11
  "wsPreviewHtml": "ws-preview-html"
12
12
  };
13
13
  export default _default;
@@ -7,8 +7,8 @@ exports.default = {
7
7
  "flyout": "pf-m-flyout",
8
8
  "nav": "pf-m-nav"
9
9
  },
10
- "nav": "pf-v5-c-nav",
11
10
  "pageHeader": "pf-v5-c-page__header",
12
11
  "pageHeaderNav": "pf-v5-c-page__header-nav",
12
+ "wsCoreCNavigation": "ws-core-c-navigation",
13
13
  "wsPreviewHtml": "ws-preview-html"
14
14
  };
@@ -5,8 +5,8 @@ export default {
5
5
  "flyout": "pf-m-flyout",
6
6
  "nav": "pf-m-nav"
7
7
  },
8
- "nav": "pf-v5-c-nav",
9
8
  "pageHeader": "pf-v5-c-page__header",
10
9
  "pageHeaderNav": "pf-v5-c-page__header-nav",
10
+ "wsCoreCNavigation": "ws-core-c-navigation",
11
11
  "wsPreviewHtml": "ws-preview-html"
12
12
  };
@@ -1,10 +1,4 @@
1
1
  .ws-core-c-popover .ws-preview-html {
2
- position: relative;
3
- }
4
-
5
- .ws-core-c-popover .pf-v5-c-popover {
6
- position: absolute;
7
- inset-block-start: 50%;
8
- inset-inline-start: 50%;
9
- transform: translate(-50%, -50%);
10
- }
2
+ display: grid;
3
+ place-items: center;
4
+ }
@@ -1,6 +1,5 @@
1
1
  import './Popover.css';
2
2
  declare const _default: {
3
- "popover": "pf-v5-c-popover",
4
3
  "wsCoreCPopover": "ws-core-c-popover",
5
4
  "wsPreviewHtml": "ws-preview-html"
6
5
  };
@@ -2,7 +2,6 @@
2
2
  exports.__esModule = true;
3
3
  require('./Popover.css');
4
4
  exports.default = {
5
- "popover": "pf-v5-c-popover",
6
5
  "wsCoreCPopover": "ws-core-c-popover",
7
6
  "wsPreviewHtml": "ws-preview-html"
8
7
  };
@@ -1,6 +1,5 @@
1
1
  import './Popover.css';
2
2
  export default {
3
- "popover": "pf-v5-c-popover",
4
3
  "wsCoreCPopover": "ws-core-c-popover",
5
4
  "wsPreviewHtml": "ws-preview-html"
6
5
  };
@@ -0,0 +1,4 @@
1
+ /* adds padding to full page examples so arrows are visible */
2
+ .ws-core-c-tooltip:not(.ws-preview) {
3
+ padding: var(--pf-v5-global--spacer--md);
4
+ }
@@ -0,0 +1,6 @@
1
+ import './Tooltip.css';
2
+ declare const _default: {
3
+ "wsCoreCTooltip": "ws-core-c-tooltip",
4
+ "wsPreview": "ws-preview"
5
+ };
6
+ export default _default;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ require('./Tooltip.css');
4
+ exports.default = {
5
+ "wsCoreCTooltip": "ws-core-c-tooltip",
6
+ "wsPreview": "ws-preview"
7
+ };
@@ -0,0 +1,5 @@
1
+ import './Tooltip.css';
2
+ export default {
3
+ "wsCoreCTooltip": "ws-core-c-tooltip",
4
+ "wsPreview": "ws-preview"
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-styles",
3
- "version": "5.1.1-prerelease.1",
3
+ "version": "5.1.1-prerelease.3",
4
4
  "main": "dist/js/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "clean": "rimraf dist css"
19
19
  },
20
20
  "devDependencies": {
21
- "@patternfly/patternfly": "5.1.0-prerelease.8",
21
+ "@patternfly/patternfly": "5.1.0-prerelease.20",
22
22
  "camel-case": "^3.0.0",
23
23
  "css": "^2.2.3",
24
24
  "fs-extra": "^11.1.1",
@@ -28,5 +28,5 @@
28
28
  "typescript": "^4.7.4"
29
29
  },
30
30
  "license": "MIT",
31
- "gitHead": "1e1305e5f7450e087ff8d1690d2be28b00dac0a1"
31
+ "gitHead": "f3dbce4c4d20bf3a0f21b90244d146e316c4e837"
32
32
  }