@patternfly/patternfly 6.3.0-prerelease.6 → 6.3.0-prerelease.60

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 (168) hide show
  1. package/README.md +22 -14
  2. package/assets/images/icon-help.hbs +3 -0
  3. package/assets/images/icon-outlined-star.hbs +3 -0
  4. package/assets/images/icon-star.hbs +3 -0
  5. package/base/normalize.scss +4 -0
  6. package/base/patternfly-common.css +46 -11
  7. package/base/patternfly-common.scss +58 -13
  8. package/base/patternfly-variables.css +1172 -1
  9. package/base/patternfly-variables.scss +10 -0
  10. package/base/tokens/tokens-charts-dark.scss +1 -1
  11. package/base/tokens/tokens-charts.scss +1 -1
  12. package/base/tokens/tokens-dark.scss +13 -1
  13. package/base/tokens/tokens-default.scss +60 -2
  14. package/base/tokens/tokens-highcontrast-dark.scss +396 -0
  15. package/base/tokens/tokens-highcontrast.scss +703 -0
  16. package/base/tokens/tokens-local.scss +1 -0
  17. package/base/tokens/tokens-palette.scss +9 -1
  18. package/components/Accordion/accordion.css +102 -6
  19. package/components/Accordion/accordion.scss +112 -10
  20. package/components/Alert/alert-group.css +67 -33
  21. package/components/Alert/alert-group.scss +95 -48
  22. package/components/Badge/badge.css +2 -0
  23. package/components/Badge/badge.scss +2 -0
  24. package/components/Banner/banner.css +4 -0
  25. package/components/Banner/banner.scss +4 -0
  26. package/components/Button/button.css +187 -9
  27. package/components/Button/button.scss +195 -13
  28. package/components/CalendarMonth/calendar-month.css +16 -0
  29. package/components/CalendarMonth/calendar-month.scss +16 -0
  30. package/components/Card/card.css +5 -4
  31. package/components/Card/card.scss +5 -4
  32. package/components/CodeBlock/code-block.css +3 -0
  33. package/components/CodeBlock/code-block.scss +3 -0
  34. package/components/CodeEditor/code-editor.css +8 -3
  35. package/components/CodeEditor/code-editor.scss +11 -6
  36. package/components/DataList/data-list.css +2 -2
  37. package/components/DataList/data-list.scss +2 -2
  38. package/components/DatePicker/date-picker.css +3 -0
  39. package/components/DatePicker/date-picker.scss +4 -0
  40. package/components/Drawer/drawer.css +44 -41
  41. package/components/Drawer/drawer.scss +42 -36
  42. package/components/DualListSelector/dual-list-selector.css +55 -1
  43. package/components/DualListSelector/dual-list-selector.scss +63 -1
  44. package/components/ExpandableSection/expandable-section.css +63 -1
  45. package/components/ExpandableSection/expandable-section.scss +76 -2
  46. package/components/FileUpload/file-upload.css +3 -3
  47. package/components/FileUpload/file-upload.scss +3 -3
  48. package/components/Form/form.css +40 -1
  49. package/components/Form/form.scss +47 -1
  50. package/components/FormControl/form-control.css +16 -0
  51. package/components/FormControl/form-control.scss +9 -0
  52. package/components/InputGroup/input-group.css +80 -0
  53. package/components/InputGroup/input-group.scss +95 -0
  54. package/components/Label/label.css +20 -11
  55. package/components/Label/label.scss +21 -11
  56. package/components/Login/login.css +3 -0
  57. package/components/Login/login.scss +3 -0
  58. package/components/Menu/menu.css +35 -4
  59. package/components/Menu/menu.scss +32 -6
  60. package/components/MenuToggle/menu-toggle.css +51 -10
  61. package/components/MenuToggle/menu-toggle.scss +61 -9
  62. package/components/ModalBox/modal-box.css +3 -0
  63. package/components/ModalBox/modal-box.scss +3 -0
  64. package/components/Nav/nav.css +39 -8
  65. package/components/Nav/nav.scss +42 -9
  66. package/components/Page/page.css +124 -26
  67. package/components/Page/page.scss +86 -16
  68. package/components/Pagination/pagination.css +14 -1
  69. package/components/Pagination/pagination.scss +14 -1
  70. package/components/Panel/panel.css +7 -1
  71. package/components/Panel/panel.scss +7 -1
  72. package/components/Popover/popover.css +4 -0
  73. package/components/Popover/popover.scss +4 -0
  74. package/components/Progress/progress.css +26 -0
  75. package/components/Progress/progress.scss +22 -1
  76. package/components/ProgressStepper/progress-stepper.scss +1 -0
  77. package/components/SimpleList/simple-list.css +15 -0
  78. package/components/SimpleList/simple-list.scss +17 -1
  79. package/components/Skeleton/skeleton.css +22 -2
  80. package/components/Skeleton/skeleton.scss +25 -3
  81. package/components/Spinner/spinner.css +5 -0
  82. package/components/Spinner/spinner.scss +6 -0
  83. package/components/Table/table-grid.css +51 -5
  84. package/components/Table/table-grid.scss +22 -1
  85. package/components/Table/table.css +124 -2
  86. package/components/Table/table.scss +171 -3
  87. package/components/Tabs/tabs.css +32 -15
  88. package/components/Tabs/tabs.scss +34 -14
  89. package/components/TextInputGroup/text-input-group.css +23 -0
  90. package/components/TextInputGroup/text-input-group.scss +16 -1
  91. package/components/Timestamp/timestamp.css +4 -0
  92. package/components/Timestamp/timestamp.scss +7 -0
  93. package/components/TreeView/tree-view.css +54 -0
  94. package/components/TreeView/tree-view.scss +59 -2
  95. package/components/Truncate/truncate.css +1 -0
  96. package/components/Truncate/truncate.scss +3 -0
  97. package/components/Wizard/wizard.css +33 -6
  98. package/components/Wizard/wizard.scss +38 -8
  99. package/components/_index.css +1390 -195
  100. package/docs/components/Alert/examples/Alert.md +2 -2
  101. package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
  102. package/docs/components/Button/examples/Button.md +159 -6
  103. package/docs/components/Card/examples/Card.md +8 -8
  104. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +24 -32
  105. package/docs/components/CodeBlock/examples/CodeBlock.md +10 -10
  106. package/docs/components/CodeEditor/examples/CodeEditor.md +29 -5
  107. package/docs/components/DataList/examples/DataList.md +83 -207
  108. package/docs/components/DescriptionList/examples/DescriptionList.md +78 -22
  109. package/docs/components/DualListSelector/examples/DualListSelector.md +642 -319
  110. package/docs/components/EmptyState/examples/EmptyState.md +6 -6
  111. package/docs/components/ExpandableSection/examples/ExpandableSection.md +26 -15
  112. package/docs/components/Form/examples/Form.md +1178 -113
  113. package/docs/components/Hint/examples/Hint.md +3 -3
  114. package/docs/components/InlineEdit/examples/InlineEdit.md +2 -6
  115. package/docs/components/InputGroup/examples/InputGroup.md +5 -1
  116. package/docs/components/Label/examples/Label.md +2 -2
  117. package/docs/components/Login/examples/Login.md +22 -22
  118. package/docs/components/Masthead/examples/masthead.md +90 -12
  119. package/docs/components/Menu/examples/Menu.md +122 -6
  120. package/docs/components/MenuToggle/examples/MenuToggle.md +93 -55
  121. package/docs/components/ModalBox/examples/ModalBox.md +13 -1
  122. package/docs/components/OverflowMenu/examples/overflow-menu.md +5 -5
  123. package/docs/components/Page/examples/Page.md +147 -14
  124. package/docs/components/Pagination/examples/Pagination.md +123 -12
  125. package/docs/components/Popover/examples/Popover.md +0 -4
  126. package/docs/components/Progress/examples/Progress.md +222 -210
  127. package/docs/components/ProgressStepper/examples/ProgressStepper.md +32 -6
  128. package/docs/components/Skeleton/examples/Skeleton.md +21 -7
  129. package/docs/components/Slider/examples/Slider.md +2 -2
  130. package/docs/components/Spinner/examples/Spinner.md +10 -0
  131. package/docs/components/Table/examples/Table.md +7699 -4896
  132. package/docs/components/Tabs/examples/Tabs.md +1214 -6729
  133. package/docs/components/TextInputGroup/examples/TextInputGroup.md +168 -49
  134. package/docs/components/Title/examples/Title.md +8 -8
  135. package/docs/components/Toolbar/examples/Toolbar.md +7 -7
  136. package/docs/components/Wizard/examples/Wizard.md +583 -0
  137. package/docs/demos/AboutModal/examples/AboutModal.md +22 -3
  138. package/docs/demos/Alert/examples/Alert.md +66 -9
  139. package/docs/demos/BackToTop/examples/BackToTop.md +22 -3
  140. package/docs/demos/Banner/examples/Banner.md +47 -6
  141. package/docs/demos/Card/examples/Card.md +13 -67
  142. package/docs/demos/CardView/examples/CardView.md +24 -5
  143. package/docs/demos/Dashboard/examples/Dashboard.md +34 -27
  144. package/docs/demos/DataList/examples/DataList.md +628 -192
  145. package/docs/demos/DescriptionList/examples/DescriptionList.md +79 -50
  146. package/docs/demos/Drawer/examples/Drawer.md +110 -53
  147. package/docs/demos/Form/examples/BasicForms.md +146 -26
  148. package/docs/demos/JumpLinks/examples/JumpLinks.md +132 -18
  149. package/docs/demos/Masthead/examples/Masthead.md +170 -18
  150. package/docs/demos/Modal/examples/Modal.md +171 -21
  151. package/docs/demos/Nav/examples/Nav.md +111 -16
  152. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +114 -19
  153. package/docs/demos/Page/examples/Page.md +309 -43
  154. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -1
  155. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +886 -415
  156. package/docs/demos/Skeleton/examples/Skeleton.md +25 -4
  157. package/docs/demos/Table/examples/Table.md +480 -177
  158. package/docs/demos/Tabs/examples/Tabs.md +139 -594
  159. package/docs/demos/Toolbar/examples/Toolbar.md +72 -34
  160. package/docs/demos/Wizard/examples/Wizard.md +198 -27
  161. package/package.json +12 -7
  162. package/patternfly-base-no-globals.css +1217 -12
  163. package/patternfly-base.css +1221 -12
  164. package/patternfly-no-globals.css +2837 -437
  165. package/patternfly.css +2839 -435
  166. package/patternfly.min.css +1 -1
  167. package/patternfly.min.css.map +1 -1
  168. package/sass-utilities/mixins.scss +54 -0
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # PatternFly
2
2
 
3
+ ## Contributing
4
+
5
+ We welcome contributions to PatternFly! Please read our [Contributing Guide](https://pf-core-staging.patternfly.org/contribution) to learn how to get started, submit issues, and contribute code to the project.
6
+
3
7
  ## Install
4
8
 
5
9
  - This assumes an environment is already set up for npm packages - if not, please use npm init following the steps at [https://docs.npmjs.com/getting-started/using-a-package.json](https://docs.npmjs.com/getting-started/using-a-package.json).
@@ -7,20 +11,23 @@
7
11
 
8
12
  When you install PatternFly, the package includes:
9
13
 
10
- - a single file for the entire compiled library: `node_modules/@patternfly/patternfly/patternfly.css`
11
- - individual files with each component compiled separately: `node_modules/@patternfly/patternfly/<ComponentName>/styles.css`
12
- - a single file for the entire library's source (SASS): `node_modules/@patternfly/patternfly/patternfly.scss`
13
- - individual files for each component's source (SASS): `node_modules/@patternfly/patternfly/<ComponentName>/styles.scss`
14
+ - @patternfly/patternfly/patternfly-base.css - base styles. Global styles, reset/normalize styles, global variables. These styles are required for patternfly styles to work properly.
15
+ - @patternfly/patternfly/patternfly.css - this is patternfly-base.css, as well as all component and layout styles. Does not include utility styles.
16
+ - @patternfly/patternfly/patternfly-addons.css - all utility class styles. These do not come with patternfly.css, and must be imported manually.
17
+ - @patternfly/patternfly/utilities/[UtilityName]/[utility-name].css - individual utility class styles if you prefer only use one or two, and don't want to import all of them.
18
+ - @patternfly/patternfly/patternfly-charts.css - required if using dark theme with [PatternFly charts](https://www.patternfly.org/charts/about-charts).
14
19
 
15
20
  Any of the files above are meant for use in consuming the library. The recommended consumption approach will vary from project to project.
16
21
 
17
22
  ## Development
18
23
 
19
- **PatternFly Development requires Node v18.0.0 or greater**
24
+ **PatternFly Development requires Node v20.18.3 or greater**
20
25
 
21
26
  To setup the PatternFly development environment:
22
27
 
23
28
  - clone the project
29
+ - ensure you have Node.js v20.18.3 or greater installed
30
+ - enable corepack: `corepack enable`
24
31
  - run `yarn install` from the project root
25
32
  - run `yarn start`
26
33
  - open your browser to `http://localhost:8001`
@@ -63,19 +70,19 @@ When making visual changes to a full page example, new example preview screensho
63
70
 
64
71
  ## Guidelines for CSS development
65
72
 
66
- - For issues created in Core that will affect a component in PF-React, a follow up issue must be created in PF-React once the Pull Request is merged. The issue should include the Core PR #, the Core Release, a link to the component in https://core-staging.patternfly.org, and information detailing the change.
73
+ - For issues created in Core that will affect a component in PF-React, a follow up issue must be created in PF-React once the Pull Request is merged. The issue should include the Core PR #, the Core Release, a link to the component in https://pf-core-staging.patternfly.org, and information detailing the change.
67
74
  - If global variables are modified in Core, a React issue should be opened to address this.
68
75
  - CSS developers should ensure that animation is well documented and communicated to the respective React developer.
69
76
  - Once the component/enhancement is complete it should receive sign off from a visual designer who can then update the master sketch file with any changes.
70
77
 
71
- ### Handlebars guidelines
72
- [For information on how to contribute, refer to our guidelines.](https://core-staging.patternfly.org/contribution)
78
+ ### Contribution guide
79
+ For information on how to contribute, refer to our [contribution guide](https://pf-core-staging.patternfly.org/contribution).
73
80
 
74
- ### CSS/Sass guidelines
75
- [For more information on using CSS and Sass, refer to our guidelines.](https://core-staging.patternfly.org/guidelines)
81
+ ### Development guidelines
82
+ For more information on using CSS, Sass, and handlebars, refer to our [development guidelines](https://pf-core-staging.patternfly.org/guidelines).
76
83
 
77
84
  ### Custom icon guidelines
78
- [For more information on custom icons, refer to our guidelines.](https://core-staging.patternfly.org/adding-custom-icons)
85
+ For more information on custom icons, refer to our [custom icon guidelines](https://pf-core-staging.patternfly.org/custom-icons).
79
86
 
80
87
  ## Beta components
81
88
 
@@ -111,13 +118,14 @@ If you have any suggestions about ways that we can improve how we use this tool,
111
118
 
112
119
  ## FAQ
113
120
 
114
- #### CSS Variables
115
- [How do I use CSS variables to customize the library?](https://core-staging.patternfly.org/guidelines#variables)
121
+ ### CSS Variables
122
+ [How do I use CSS variables to customize the library?](https://pf-core-staging.patternfly.org/guidelines#variables)
116
123
 
117
- #### Browser support
124
+ ### Browser support
118
125
  PatternFly is supported on the latest two major versions of the following browsers:
119
126
 
120
127
  - Chrome
121
128
  - Firefox
122
129
  - Safari
123
130
  - Edge
131
+
@@ -0,0 +1,3 @@
1
+ <svg class="pf-v6-svg" viewBox="0 0 1024 1024" fill="currentColor" aria-hidden="true" role="img" width="1em" height="1em">
2
+ <path d="M521.3,576 C627.5,576 713.7,502 713.7,413.7 C713.7,325.4 627.6,253.6 521.3,253.6 C366,253.6 334.5,337.7 329.2,407.2 C329.2,414.3 335.2,416 343.5,416 L445,416 C450.5,416 458,415.5 460.8,406.5 C460.8,362.6 582.9,357.1 582.9,413.6 C582.9,441.9 556.2,470.9 521.3,473 C486.4,475.1 447.3,479.8 447.3,521.7 L447.3,553.8 C447.3,570.8 456.1,576 472,576 C487.9,576 521.3,576 521.3,576 M575.3,751.3 L575.3,655.3 C575.313862,651.055109 573.620137,646.982962 570.6,644 C567.638831,640.947672 563.552355,639.247987 559.3,639.29884 L463.3,639.29884 C459.055109,639.286138 454.982962,640.979863 452,644 C448.947672,646.961169 447.247987,651.047645 447.29884,655.3 L447.29884,751.3 C447.286138,755.544891 448.979863,759.617038 452,762.6 C454.961169,765.652328 459.047645,767.352013 463.3,767.30116 L559.3,767.30116 C563.544891,767.313862 567.617038,765.620137 570.6,762.6 C573.659349,759.643612 575.360354,755.553963 575.3,751.3 M512,896 C300.2,896 128,723.9 128,512 C128,300.3 300.2,128 512,128 C723.8,128 896,300.2 896,512 C896,723.8 723.7,896 512,896 M512.1,0 C229.7,0 0,229.8 0,512 C0,794.2 229.8,1024 512.1,1024 C794.4,1024 1024,794.3 1024,512 C1024,229.7 794.4,0 512.1,0"></path>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg class="pf-v6-svg" viewBox="0 0 576 512" fill="currentColor" aria-hidden="true" role="img" width="1em" height="1em">
2
+ <path d="M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"></path>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg class="pf-v6-svg" viewBox="0 0 576 512" fill="currentColor" aria-hidden="true" role="img" width="1em" height="1em">
2
+ <path d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path>
3
+ </svg>
@@ -122,6 +122,10 @@
122
122
  cursor: pointer;
123
123
  }
124
124
 
125
+ :where(:root) {
126
+ color-scheme: light;
127
+ }
128
+
125
129
  :where(.pf-v6-theme-dark) {
126
130
  color-scheme: dark;
127
131
  }
@@ -44,15 +44,50 @@
44
44
  }
45
45
 
46
46
  .pf-v6-m-no-motion {
47
- --pf-t--global--delay--400: 0ms !important;
48
- --pf-t--global--delay--300: 0ms !important;
49
- --pf-t--global--delay--200: 0ms !important;
50
- --pf-t--global--delay--100: 0ms !important;
51
- --pf-t--global--duration--600: 0ms !important;
52
- --pf-t--global--duration--500: 0ms !important;
53
- --pf-t--global--duration--400: 0ms !important;
54
- --pf-t--global--duration--300: 0ms !important;
55
- --pf-t--global--duration--200: 0ms !important;
56
- --pf-t--global--duration--100: 0ms !important;
57
- --pf-t--global--duration--50: 0ms !important;
47
+ --pf-t--global--delay--400: 1ms !important;
48
+ --pf-t--global--delay--300: 1ms !important;
49
+ --pf-t--global--delay--200: 1ms !important;
50
+ --pf-t--global--delay--100: 1ms !important;
51
+ --pf-t--global--duration--600: 1ms !important;
52
+ --pf-t--global--duration--500: 1ms !important;
53
+ --pf-t--global--duration--400: 1ms !important;
54
+ --pf-t--global--duration--300: 1ms !important;
55
+ --pf-t--global--duration--200: 1ms !important;
56
+ --pf-t--global--duration--100: 1ms !important;
57
+ --pf-t--global--duration--50: 1ms !important;
58
+ }
59
+
60
+ :root {
61
+ --pf-v6-global--danger-jiggle--AnimationDuration--Transform: var(--pf-t--global--motion--duration--fade--default);
62
+ --pf-v6-global--danger-jiggle--AnimationTimingFunction--Transform: var(--pf-t--global--motion--timing-function--default);
63
+ }
64
+
65
+ @property --pf-v6-global--danger-jiggle--TranslateX {
66
+ syntax: "<length>";
67
+ inherits: false;
68
+ initial-value: 0;
69
+ }
70
+ @keyframes pf-v6-global-danger-jiggle-motion {
71
+ 33% {
72
+ --pf-v6-global--danger-jiggle--TranslateX: -2px;
73
+ }
74
+ 66% {
75
+ --pf-v6-global--danger-jiggle--TranslateX: 3px;
76
+ }
77
+ }
78
+ @keyframes pf-v6-global-fade-in {
79
+ from {
80
+ opacity: 0;
81
+ }
82
+ to {
83
+ opacity: 1;
84
+ }
85
+ }
86
+ @keyframes pf-v6-global-fade-out {
87
+ from {
88
+ opacity: 1;
89
+ }
90
+ to {
91
+ opacity: 0;
92
+ }
58
93
  }
@@ -50,20 +50,65 @@
50
50
  @include pf-v6-mirror-inline-on-rtl;
51
51
  }
52
52
 
53
- // Turn off all motion (for testing purposes) by setting all motion tokens to 0
53
+ // Turn off perceptible motion (for testing purposes) by setting all motion tokens to 1ms
54
54
  .#{$pf-prefix}m-no-motion {
55
55
  // stylelint-disable declaration-no-important
56
- --pf-t--global--delay--400: 0ms !important;
57
- --pf-t--global--delay--300: 0ms !important;
58
- --pf-t--global--delay--200: 0ms !important;
59
- --pf-t--global--delay--100: 0ms !important;
60
- --pf-t--global--duration--600: 0ms !important;
61
- --pf-t--global--duration--500: 0ms !important;
62
- --pf-t--global--duration--400: 0ms !important;
63
- --pf-t--global--duration--300: 0ms !important;
64
- --pf-t--global--duration--200: 0ms !important;
65
- --pf-t--global--duration--100: 0ms !important;
66
- --pf-t--global--duration--50: 0ms !important;
56
+ --pf-t--global--delay--400: 1ms !important;
57
+ --pf-t--global--delay--300: 1ms !important;
58
+ --pf-t--global--delay--200: 1ms !important;
59
+ --pf-t--global--delay--100: 1ms !important;
60
+ --pf-t--global--duration--600: 1ms !important;
61
+ --pf-t--global--duration--500: 1ms !important;
62
+ --pf-t--global--duration--400: 1ms !important;
63
+ --pf-t--global--duration--300: 1ms !important;
64
+ --pf-t--global--duration--200: 1ms !important;
65
+ --pf-t--global--duration--100: 1ms !important;
66
+ --pf-t--global--duration--50: 1ms !important;
67
67
 
68
68
  // stylelink-enable declaration-no-important
69
- }
69
+ }
70
+
71
+ :root {
72
+ --#{$pf-global}--danger-jiggle--AnimationDuration--Transform: var(--pf-t--global--motion--duration--fade--default);
73
+ --#{$pf-global}--danger-jiggle--AnimationTimingFunction--Transform: var(--pf-t--global--motion--timing-function--default);
74
+ }
75
+
76
+ // Register the property type for the custom property to be animatable
77
+ @property --#{$pf-global}--danger-jiggle--TranslateX {
78
+ syntax: "<length>";
79
+ inherits: false;
80
+ initial-value: 0;
81
+ }
82
+
83
+ // Animate danger jiggle
84
+ @keyframes #{$pf-global}-danger-jiggle-motion {
85
+ 33% {
86
+ --#{$pf-global}--danger-jiggle--TranslateX: -2px;
87
+ }
88
+
89
+ 66% {
90
+ --#{$pf-global}--danger-jiggle--TranslateX: 3px;
91
+ }
92
+ }
93
+
94
+ // Animate fade-in
95
+ @keyframes #{$pf-global}-fade-in {
96
+ from {
97
+ opacity: 0;
98
+ }
99
+
100
+ to {
101
+ opacity: 1;
102
+ }
103
+ }
104
+
105
+ // Animate fade-out
106
+ @keyframes #{$pf-global}-fade-out {
107
+ from {
108
+ opacity: 1;
109
+ }
110
+
111
+ to {
112
+ opacity: 0;
113
+ }
114
+ }