@patternfly/patternfly 6.0.0-alpha.195 → 6.0.0-alpha.197

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 (37) hide show
  1. package/components/DataList/data-list.css +11 -15
  2. package/components/DataList/data-list.scss +13 -19
  3. package/components/Masthead/masthead.css +1 -1
  4. package/components/Masthead/masthead.scss +1 -1
  5. package/components/Table/table-grid.css +1 -7
  6. package/components/Table/table-grid.scss +1 -3
  7. package/components/Table/table-tree-view.css +30 -40
  8. package/components/Table/table-tree-view.scss +6 -9
  9. package/components/Toolbar/toolbar.css +4 -3
  10. package/components/Toolbar/toolbar.scss +4 -3
  11. package/components/_index.css +47 -66
  12. package/docs/demos/AboutModal/examples/AboutModal.md +3 -358
  13. package/docs/demos/Alert/examples/Alert.md +64 -1351
  14. package/docs/demos/BackToTop/examples/BackToTop.md +6 -426
  15. package/docs/demos/Banner/examples/Banner.md +14 -895
  16. package/docs/demos/CardView/examples/CardView.md +23 -1095
  17. package/docs/demos/Dashboard/examples/Dashboard.md +32 -1597
  18. package/docs/demos/DataList/examples/DataList.md +64 -4031
  19. package/docs/demos/DescriptionList/examples/DescriptionList.md +471 -1523
  20. package/docs/demos/Drawer/examples/Drawer.md +35 -1849
  21. package/docs/demos/JumpLinks/examples/JumpLinks.md +86 -2326
  22. package/docs/demos/Masthead/examples/Masthead.md +11 -611
  23. package/docs/demos/Modal/examples/Modal.md +196 -2126
  24. package/docs/demos/Nav/examples/Nav.md +22 -1988
  25. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +35 -4415
  26. package/docs/demos/Page/examples/Page.md +104 -4112
  27. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +269 -6297
  28. package/docs/demos/Skeleton/examples/Skeleton.md +15 -412
  29. package/docs/demos/Table/examples/Table.md +416 -15861
  30. package/docs/demos/Tabs/examples/Tabs.md +518 -3638
  31. package/docs/demos/Toolbar/examples/Toolbar.md +92 -1812
  32. package/docs/demos/Wizard/examples/Wizard.md +666 -5289
  33. package/package.json +1 -1
  34. package/patternfly-no-globals.css +47 -66
  35. package/patternfly.css +47 -66
  36. package/patternfly.min.css +1 -1
  37. package/patternfly.min.css.map +1 -1
@@ -5,1368 +5,81 @@ section: components
5
5
 
6
6
  ### Toast
7
7
 
8
- ```html isFullscreen
9
- <div class="pf-v6-c-page" id="alert-basic-example">
10
- <div class="pf-v6-c-skip-to-content">
11
- <a
12
- class="pf-v6-c-button pf-m-primary"
13
- href="#main-content-alert-basic-example"
14
- >
15
- <span class="pf-v6-c-button__text">Skip to content</span>
16
- </a>
17
- </div>
18
- <header class="pf-v6-c-masthead" id="alert-basic-example-masthead">
19
- <span class="pf-v6-c-masthead__toggle">
20
- <button
21
- class="pf-v6-c-button pf-m-plain"
22
- type="button"
23
- aria-label="Global navigation"
24
- >
25
- <span class="pf-v6-c-button__icon">
26
- <i class="fas fa-bars" aria-hidden="true"></i>
27
- </span>
28
- </button>
29
- </span>
30
- <div class="pf-v6-c-masthead__main">
31
- <a class="pf-v6-c-masthead__brand" href="#">
32
- <svg height="37px" viewBox="0 0 679 158">
33
- <title>PF-HorizontalLogo-Color</title>
34
- <defs>
35
- <linearGradient
36
- x1="68%"
37
- y1="2.25860997e-13%"
38
- x2="32%"
39
- y2="100%"
40
- id="linearGradient-alert-basic-example-masthead"
41
- >
42
- <stop stop-color="#2B9AF3" offset="0%" />
43
- <stop
44
- stop-color="#73BCF7"
45
- stop-opacity="0.502212631"
46
- offset="100%"
47
- />
48
- </linearGradient>
49
- </defs>
50
- <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
51
- <g
52
- transform="translate(206.000000, 45.750000)"
53
- fill="var(--pf-t--global--text--color--regular)"
54
- fill-rule="nonzero"
55
- >
56
- <path
57
- 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"
58
- />
59
- <path
60
- 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"
61
- />
62
- <path
63
- 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"
64
- />
65
- <path
66
- 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"
67
- />
68
- <path
69
- 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"
70
- />
71
- <path
72
- 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"
73
- />
74
- <path
75
- 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"
76
- />
77
- <polygon
78
- 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"
79
- />
80
- <polygon points="399.96 65.25 399.96 2.25 414.54 0 414.54 65.25" />
81
- <path
82
- 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"
83
- />
84
- </g>
85
- <g transform="translate(0.000000, 0.000000)">
86
- <path
87
- 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"
88
- fill="#0066CC"
89
- />
90
- <path
91
- d="M158,3.43478261 L65.2608696,158 L138,158 C149.045695,158 158,149.045695 158,138 L158,3.43478261 L158,3.43478261 Z"
92
- fill="url(#linearGradient-alert-basic-example-masthead)"
93
- />
94
- <path
95
- 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"
96
- fill="url(#linearGradient-alert-basic-example-masthead)"
97
- transform="translate(77.282609, 46.369565) scale(1, -1) rotate(90.000000) translate(-77.282609, -46.369565) "
98
- />
99
- </g>
100
- </g>
101
- </svg>
102
- </a>
103
- </div>
104
- <div class="pf-v6-c-masthead__content">
105
- <div
106
- class="pf-v6-c-toolbar pf-m-static"
107
- id="alert-basic-example-masthead-toolbar"
108
- >
109
- <div class="pf-v6-c-toolbar__content">
110
- <div class="pf-v6-c-toolbar__content-section">
111
- <div
112
- class="pf-v6-c-toolbar__group pf-m-align-end pf-m-spacer-none pf-m-spacer-md-on-md pf-m-action-group-plain"
113
- >
114
- <div
115
- class="pf-v6-c-toolbar__group pf-m-hidden pf-m-visible-on-lg pf-m-action-group-plain"
116
- >
117
- <div class="pf-v6-c-toolbar__item">
118
- <button
119
- class="pf-v6-c-menu-toggle pf-m-plain"
120
- type="button"
121
- aria-expanded="false"
122
- aria-label="Application launcher"
123
- >
124
- <span class="pf-v6-c-menu-toggle__icon">
125
- <i class="fas fa-th" aria-hidden="true"></i>
126
- </span>
127
- </button>
128
- </div>
129
- <div class="pf-v6-c-toolbar__item">
130
- <button
131
- class="pf-v6-c-menu-toggle pf-m-plain"
132
- type="button"
133
- aria-expanded="false"
134
- aria-label="Settings"
135
- >
136
- <span class="pf-v6-c-menu-toggle__icon">
137
- <i class="fas fa-cog" aria-hidden="true"></i>
138
- </span>
139
- </button>
140
- </div>
141
- <div class="pf-v6-c-toolbar__item">
142
- <button
143
- class="pf-v6-c-menu-toggle pf-m-plain"
144
- type="button"
145
- aria-expanded="false"
146
- aria-label="Help"
147
- >
148
- <span class="pf-v6-c-menu-toggle__icon">
149
- <i class="fas fa-question-circle" aria-hidden="true"></i>
150
- </span>
151
- </button>
152
- </div>
153
- </div>
154
-
155
- <div class="pf-v6-c-toolbar__item pf-m-hidden-on-lg">
156
- <button
157
- class="pf-v6-c-menu-toggle pf-m-plain"
158
- type="button"
159
- aria-expanded="false"
160
- aria-label="Actions"
161
- >
162
- <span class="pf-v6-c-menu-toggle__icon">
163
- <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
164
- </span>
165
- </button>
166
- </div>
167
- </div>
168
- </div>
169
- </div>
170
- </div>
171
- </div>
172
- </header>
173
- <div class="pf-v6-c-page__sidebar">
174
- <div class="pf-v6-c-page__sidebar-body">
175
- <nav
176
- class="pf-v6-c-nav"
177
- id="alert-basic-example-primary-nav"
178
- aria-label="Global"
179
- >
180
- <ul class="pf-v6-c-nav__list" role="list">
181
- <li class="pf-v6-c-nav__item">
182
- <a href="#" class="pf-v6-c-nav__link">
183
- <span class="pf-v6-c-nav__link-text">System panel</span>
184
- </a>
185
- </li>
186
- <li class="pf-v6-c-nav__item">
187
- <a
188
- href="#"
189
- class="pf-v6-c-nav__link pf-m-current"
190
- aria-current="page"
191
- >
192
- <span class="pf-v6-c-nav__link-text">Policy</span>
193
- </a>
194
- </li>
195
- <li class="pf-v6-c-nav__item">
196
- <a href="#" class="pf-v6-c-nav__link">
197
- <span class="pf-v6-c-nav__link-text">Authentication</span>
198
- </a>
199
- </li>
200
- <li class="pf-v6-c-nav__item">
201
- <a href="#" class="pf-v6-c-nav__link">
202
- <span class="pf-v6-c-nav__link-text">Network services</span>
203
- </a>
204
- </li>
205
- <li class="pf-v6-c-nav__item">
206
- <a href="#" class="pf-v6-c-nav__link">
207
- <span class="pf-v6-c-nav__link-text">Server</span>
208
- </a>
209
- </li>
210
- </ul>
211
- </nav>
212
- </div>
213
- </div>
214
- <div class="pf-v6-c-page__main-container" tabindex="-1">
215
- <main
216
- class="pf-v6-c-page__main"
217
- tabindex="-1"
218
- id="main-content-alert-basic-example"
219
- >
220
- <section class="pf-v6-c-page__main-breadcrumb pf-m-limit-width">
221
- <div class="pf-v6-c-page__main-body">
222
- <nav class="pf-v6-c-breadcrumb" aria-label="breadcrumb">
223
- <ol class="pf-v6-c-breadcrumb__list" role="list">
224
- <li class="pf-v6-c-breadcrumb__item">
225
- <a href="#" class="pf-v6-c-breadcrumb__link">Section home</a>
226
- </li>
227
- <li class="pf-v6-c-breadcrumb__item">
228
- <span class="pf-v6-c-breadcrumb__item-divider">
229
- <i class="fas fa-angle-right" aria-hidden="true"></i>
230
- </span>
231
-
232
- <a href="#" class="pf-v6-c-breadcrumb__link">Section title</a>
233
- </li>
234
- <li class="pf-v6-c-breadcrumb__item">
235
- <span class="pf-v6-c-breadcrumb__item-divider">
236
- <i class="fas fa-angle-right" aria-hidden="true"></i>
237
- </span>
238
-
239
- <a href="#" class="pf-v6-c-breadcrumb__link">Section title</a>
240
- </li>
241
- <li class="pf-v6-c-breadcrumb__item">
242
- <span class="pf-v6-c-breadcrumb__item-divider">
243
- <i class="fas fa-angle-right" aria-hidden="true"></i>
244
- </span>
245
-
246
- <a
247
- href="#"
248
- class="pf-v6-c-breadcrumb__link pf-m-current"
249
- aria-current="page"
250
- >Section landing</a>
251
- </li>
252
- </ol>
253
- </nav>
254
- </div>
255
- </section>
256
- <section class="pf-v6-c-page__main-section pf-m-limit-width pf-m-light">
257
- <div class="pf-v6-c-page__main-body">
258
- <div class="pf-v6-c-content">
259
- <h1>Main title</h1>
260
- <p>This is a full page demo.</p>
261
- </div>
262
- </div>
263
- </section>
264
- <section class="pf-v6-c-page__main-section pf-m-limit-width">
265
- <div class="pf-v6-c-page__main-body">
266
- <div class="pf-v6-l-gallery pf-m-gutter">
267
- <div class="pf-v6-c-card">
268
- <div class="pf-v6-c-card__body">This is a card</div>
269
- </div>
270
- <div class="pf-v6-c-card">
271
- <div class="pf-v6-c-card__body">This is a card</div>
272
- </div>
273
- <div class="pf-v6-c-card">
274
- <div class="pf-v6-c-card__body">This is a card</div>
275
- </div>
276
- <div class="pf-v6-c-card">
277
- <div class="pf-v6-c-card__body">This is a card</div>
278
- </div>
279
- <div class="pf-v6-c-card">
280
- <div class="pf-v6-c-card__body">This is a card</div>
281
- </div>
282
- <div class="pf-v6-c-card">
283
- <div class="pf-v6-c-card__body">This is a card</div>
284
- </div>
285
- <div class="pf-v6-c-card">
286
- <div class="pf-v6-c-card__body">This is a card</div>
287
- </div>
288
- <div class="pf-v6-c-card">
289
- <div class="pf-v6-c-card__body">This is a card</div>
290
- </div>
291
- <div class="pf-v6-c-card">
292
- <div class="pf-v6-c-card__body">This is a card</div>
293
- </div>
294
- <div class="pf-v6-c-card">
295
- <div class="pf-v6-c-card__body">This is a card</div>
296
- </div>
297
- </div>
298
- </div>
299
- </section>
300
- </main>
301
- </div>
302
- </div>
303
- <ul class="pf-v6-c-alert-group pf-m-toast" role="list">
304
- <li class="pf-v6-c-alert-group__item">
305
- <div class="pf-v6-c-alert pf-m-success" aria-label="Success alert">
306
- <div class="pf-v6-c-alert__icon">
307
- <i class="fas fa-fw fa-check-circle" aria-hidden="true"></i>
308
- </div>
309
- <p class="pf-v6-c-alert__title">
310
- <span class="pf-v6-screen-reader">Success alert:</span>
8
+ ```hbs isFullscreen
9
+ {{> page-template page-template--id="alert-basic-example"}}
10
+
11
+ {{#> alert-group alert-group--modifier="pf-m-toast"}}
12
+ {{#> alert-item}}
13
+ {{#> alert alert--modifier="pf-m-success" alert--attribute='aria-label="Success alert"'}}
14
+ {{#> alert-icon alert-icon--type="check-circle"}}
15
+ {{/alert-icon}}
16
+ {{#> alert-title}}
17
+ {{#> screen-reader}}Success alert:{{/screen-reader}}
311
18
  Newest notification
312
- </p>
313
- <div class="pf-v6-c-alert__action">
314
- <button
315
- class="pf-v6-c-button pf-m-plain"
316
- type="button"
317
- aria-label="Close success alert: Newest notification"
318
- >
319
- <span class="pf-v6-c-button__icon">
320
- <i class="fas fa-times" aria-hidden="true"></i>
321
- </span>
322
- </button>
323
- </div>
324
- <div class="pf-v6-c-alert__description">
325
- <p>This is a description of the notification content.</p>
326
- </div>
327
- </div>
328
- </li>
329
- <li class="pf-v6-c-alert-group__item">
330
- <div class="pf-v6-c-alert pf-m-warning" aria-label="Warning alert">
331
- <div class="pf-v6-c-alert__icon">
332
- <i class="fas fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
333
- </div>
334
- <p class="pf-v6-c-alert__title">
335
- <span class="pf-v6-screen-reader">Info alert:</span>
19
+ {{/alert-title}}
20
+ {{#> alert-action}}
21
+ {{> button button--IsPlain=true button--IsIcon=true button--icon="times" button--aria-label="Close success alert: Newest notification"}}
22
+ {{/alert-action}}
23
+ {{#> alert-description}}
24
+ This is a description of the notification content.
25
+ {{/alert-description}}
26
+ {{/alert}}
27
+ {{/alert-item}}
28
+ {{#> alert-item}}
29
+ {{#> alert alert--modifier="pf-m-warning" alert--attribute='aria-label="Warning alert"'}}
30
+ {{#> alert-icon alert-icon--type="exclamation-triangle"}}
31
+ {{/alert-icon}}
32
+ {{#> alert-title}}
33
+ {{#> screen-reader}}Info alert:{{/screen-reader}}
336
34
  Second newest notification
337
- </p>
338
- <div class="pf-v6-c-alert__action">
339
- <button
340
- class="pf-v6-c-button pf-m-plain"
341
- type="button"
342
- aria-label="Close warning alert: second newest notification"
343
- >
344
- <span class="pf-v6-c-button__icon">
345
- <i class="fas fa-times" aria-hidden="true"></i>
346
- </span>
347
- </button>
348
- </div>
349
- <div class="pf-v6-c-alert__description">
350
- <p>This is a description of the notification content.</p>
351
- </div>
352
- </div>
353
- </li>
354
- <li class="pf-v6-c-alert-group__item">
355
- <div class="pf-v6-c-alert pf-m-danger" aria-label="Danger alert">
356
- <div class="pf-v6-c-alert__icon">
357
- <i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
358
- </div>
359
- <p class="pf-v6-c-alert__title">
360
- <span class="pf-v6-screen-reader">Last notification</span>
35
+ {{/alert-title}}
36
+ {{#> alert-action}}
37
+ {{> button button--IsPlain=true button--IsIcon=true button--icon="times" button--aria-label="Close warning alert: second newest notification"}}
38
+ {{/alert-action}}
39
+ {{#> alert-description}}
40
+ This is a description of the notification content.
41
+ {{/alert-description}}
42
+ {{/alert}}
43
+ {{/alert-item}}
44
+ {{#> alert-item}}
45
+ {{#> alert alert--modifier="pf-m-danger" alert--attribute='aria-label="Danger alert"'}}
46
+ {{#> alert-icon alert-icon--type="exclamation-circle"}}
47
+ {{/alert-icon}}
48
+ {{#> alert-title}}
49
+ {{#> screen-reader}}Last notification{{/screen-reader}}
361
50
  Last notification
362
- </p>
363
- <div class="pf-v6-c-alert__action">
364
- <button
365
- class="pf-v6-c-button pf-m-plain"
366
- type="button"
367
- aria-label="Close danger alert: Last notification"
368
- >
369
- <span class="pf-v6-c-button__icon">
370
- <i class="fas fa-times" aria-hidden="true"></i>
371
- </span>
372
- </button>
373
- </div>
374
- <div class="pf-v6-c-alert__description">
375
- <p>This is a description of the notification content.</p>
376
- </div>
377
- </div>
378
- </li>
379
- </ul>
380
-
51
+ {{/alert-title}}
52
+ {{#> alert-action}}
53
+ {{> button button--IsPlain=true button--IsIcon=true button--icon="times" button--aria-label="Close danger alert: Last notification"}}
54
+ {{/alert-action}}
55
+ {{#> alert-description}}
56
+ This is a description of the notification content.
57
+ {{/alert-description}}
58
+ {{/alert}}
59
+ {{/alert-item}}
60
+ {{/alert-group}}
381
61
  ```
382
62
 
383
63
  ### Inline Alert in Horizontal Form
384
64
 
385
- ```html isFullscreen
386
- <div class="pf-v6-c-page" id="alert-horizontal-example">
387
- <div class="pf-v6-c-skip-to-content">
388
- <a
389
- class="pf-v6-c-button pf-m-primary"
390
- href="#main-content-alert-horizontal-example"
391
- >
392
- <span class="pf-v6-c-button__text">Skip to content</span>
393
- </a>
394
- </div>
395
- <header class="pf-v6-c-masthead" id="alert-horizontal-example-masthead">
396
- <span class="pf-v6-c-masthead__toggle">
397
- <button
398
- class="pf-v6-c-button pf-m-plain"
399
- type="button"
400
- aria-label="Global navigation"
401
- >
402
- <span class="pf-v6-c-button__icon">
403
- <i class="fas fa-bars" aria-hidden="true"></i>
404
- </span>
405
- </button>
406
- </span>
407
- <div class="pf-v6-c-masthead__main">
408
- <a class="pf-v6-c-masthead__brand" href="#">
409
- <svg height="37px" viewBox="0 0 679 158">
410
- <title>PF-HorizontalLogo-Color</title>
411
- <defs>
412
- <linearGradient
413
- x1="68%"
414
- y1="2.25860997e-13%"
415
- x2="32%"
416
- y2="100%"
417
- id="linearGradient-alert-horizontal-example-masthead"
418
- >
419
- <stop stop-color="#2B9AF3" offset="0%" />
420
- <stop
421
- stop-color="#73BCF7"
422
- stop-opacity="0.502212631"
423
- offset="100%"
424
- />
425
- </linearGradient>
426
- </defs>
427
- <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
428
- <g
429
- transform="translate(206.000000, 45.750000)"
430
- fill="var(--pf-t--global--text--color--regular)"
431
- fill-rule="nonzero"
432
- >
433
- <path
434
- 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"
435
- />
436
- <path
437
- 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"
438
- />
439
- <path
440
- 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"
441
- />
442
- <path
443
- 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"
444
- />
445
- <path
446
- 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"
447
- />
448
- <path
449
- 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"
450
- />
451
- <path
452
- 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"
453
- />
454
- <polygon
455
- 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"
456
- />
457
- <polygon points="399.96 65.25 399.96 2.25 414.54 0 414.54 65.25" />
458
- <path
459
- 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"
460
- />
461
- </g>
462
- <g transform="translate(0.000000, 0.000000)">
463
- <path
464
- 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"
465
- fill="#0066CC"
466
- />
467
- <path
468
- d="M158,3.43478261 L65.2608696,158 L138,158 C149.045695,158 158,149.045695 158,138 L158,3.43478261 L158,3.43478261 Z"
469
- fill="url(#linearGradient-alert-horizontal-example-masthead)"
470
- />
471
- <path
472
- 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"
473
- fill="url(#linearGradient-alert-horizontal-example-masthead)"
474
- transform="translate(77.282609, 46.369565) scale(1, -1) rotate(90.000000) translate(-77.282609, -46.369565) "
475
- />
476
- </g>
477
- </g>
478
- </svg>
479
- </a>
480
- </div>
481
- <div class="pf-v6-c-masthead__content">
482
- <div
483
- class="pf-v6-c-toolbar pf-m-static"
484
- id="alert-horizontal-example-masthead-toolbar"
485
- >
486
- <div class="pf-v6-c-toolbar__content">
487
- <div class="pf-v6-c-toolbar__content-section">
488
- <div
489
- class="pf-v6-c-toolbar__group pf-m-align-end pf-m-spacer-none pf-m-spacer-md-on-md pf-m-action-group-plain"
490
- >
491
- <div
492
- class="pf-v6-c-toolbar__group pf-m-hidden pf-m-visible-on-lg pf-m-action-group-plain"
493
- >
494
- <div class="pf-v6-c-toolbar__item">
495
- <button
496
- class="pf-v6-c-menu-toggle pf-m-plain"
497
- type="button"
498
- aria-expanded="false"
499
- aria-label="Application launcher"
500
- >
501
- <span class="pf-v6-c-menu-toggle__icon">
502
- <i class="fas fa-th" aria-hidden="true"></i>
503
- </span>
504
- </button>
505
- </div>
506
- <div class="pf-v6-c-toolbar__item">
507
- <button
508
- class="pf-v6-c-menu-toggle pf-m-plain"
509
- type="button"
510
- aria-expanded="false"
511
- aria-label="Settings"
512
- >
513
- <span class="pf-v6-c-menu-toggle__icon">
514
- <i class="fas fa-cog" aria-hidden="true"></i>
515
- </span>
516
- </button>
517
- </div>
518
- <div class="pf-v6-c-toolbar__item">
519
- <button
520
- class="pf-v6-c-menu-toggle pf-m-plain"
521
- type="button"
522
- aria-expanded="false"
523
- aria-label="Help"
524
- >
525
- <span class="pf-v6-c-menu-toggle__icon">
526
- <i class="fas fa-question-circle" aria-hidden="true"></i>
527
- </span>
528
- </button>
529
- </div>
530
- </div>
531
-
532
- <div class="pf-v6-c-toolbar__item pf-m-hidden-on-lg">
533
- <button
534
- class="pf-v6-c-menu-toggle pf-m-plain"
535
- type="button"
536
- aria-expanded="false"
537
- aria-label="Actions"
538
- >
539
- <span class="pf-v6-c-menu-toggle__icon">
540
- <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
541
- </span>
542
- </button>
543
- </div>
544
- </div>
545
- </div>
546
- </div>
547
- </div>
548
- </div>
549
- </header>
550
- <div class="pf-v6-c-page__sidebar">
551
- <div class="pf-v6-c-page__sidebar-body">
552
- <nav
553
- class="pf-v6-c-nav"
554
- id="alert-horizontal-example-primary-nav"
555
- aria-label="Global"
556
- >
557
- <ul class="pf-v6-c-nav__list" role="list">
558
- <li class="pf-v6-c-nav__item">
559
- <a href="#" class="pf-v6-c-nav__link">
560
- <span class="pf-v6-c-nav__link-text">System panel</span>
561
- </a>
562
- </li>
563
- <li class="pf-v6-c-nav__item">
564
- <a
565
- href="#"
566
- class="pf-v6-c-nav__link pf-m-current"
567
- aria-current="page"
568
- >
569
- <span class="pf-v6-c-nav__link-text">Policy</span>
570
- </a>
571
- </li>
572
- <li class="pf-v6-c-nav__item">
573
- <a href="#" class="pf-v6-c-nav__link">
574
- <span class="pf-v6-c-nav__link-text">Authentication</span>
575
- </a>
576
- </li>
577
- <li class="pf-v6-c-nav__item">
578
- <a href="#" class="pf-v6-c-nav__link">
579
- <span class="pf-v6-c-nav__link-text">Network services</span>
580
- </a>
581
- </li>
582
- <li class="pf-v6-c-nav__item">
583
- <a href="#" class="pf-v6-c-nav__link">
584
- <span class="pf-v6-c-nav__link-text">Server</span>
585
- </a>
586
- </li>
587
- </ul>
588
- </nav>
589
- </div>
590
- </div>
591
- <div class="pf-v6-c-page__main-container" tabindex="-1">
592
- <main
593
- class="pf-v6-c-page__main"
594
- tabindex="-1"
595
- id="main-content-alert-horizontal-example"
596
- >
597
- <section class="pf-v6-c-page__main-breadcrumb pf-m-limit-width">
598
- <div class="pf-v6-c-page__main-body">
599
- <nav class="pf-v6-c-breadcrumb" aria-label="breadcrumb">
600
- <ol class="pf-v6-c-breadcrumb__list" role="list">
601
- <li class="pf-v6-c-breadcrumb__item">
602
- <a href="#" class="pf-v6-c-breadcrumb__link">Section home</a>
603
- </li>
604
- <li class="pf-v6-c-breadcrumb__item">
605
- <span class="pf-v6-c-breadcrumb__item-divider">
606
- <i class="fas fa-angle-right" aria-hidden="true"></i>
607
- </span>
608
-
609
- <a href="#" class="pf-v6-c-breadcrumb__link">Section title</a>
610
- </li>
611
- <li class="pf-v6-c-breadcrumb__item">
612
- <span class="pf-v6-c-breadcrumb__item-divider">
613
- <i class="fas fa-angle-right" aria-hidden="true"></i>
614
- </span>
615
-
616
- <a href="#" class="pf-v6-c-breadcrumb__link">Section title</a>
617
- </li>
618
- <li class="pf-v6-c-breadcrumb__item">
619
- <span class="pf-v6-c-breadcrumb__item-divider">
620
- <i class="fas fa-angle-right" aria-hidden="true"></i>
621
- </span>
622
-
623
- <a
624
- href="#"
625
- class="pf-v6-c-breadcrumb__link pf-m-current"
626
- aria-current="page"
627
- >Section landing</a>
628
- </li>
629
- </ol>
630
- </nav>
631
- </div>
632
- </section>
633
- <section class="pf-v6-c-page__main-section pf-m-limit-width pf-m-light">
634
- <div class="pf-v6-c-page__main-body">
635
- <div class="pf-v6-c-content">
636
- <h1>Main title</h1>
637
- <p>This is a full page demo.</p>
638
- </div>
639
- </div>
640
- </section>
641
- <section class="pf-v6-c-page__main-section pf-m-light">
642
- <div class="pf-v6-c-page__main-body">
643
- <form
644
- class="pf-v6-c-form pf-m-limit-width pf-m-horizontal"
645
- novalidate
646
- >
647
- <div class="pf-v6-c-form__alert">
648
- <div
649
- class="pf-v6-c-alert pf-m-danger pf-m-inline"
650
- aria-label="Inline danger alert"
651
- >
652
- <div class="pf-v6-c-alert__icon">
653
- <i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
654
- </div>
655
- <p class="pf-v6-c-alert__title">
656
- <span class="pf-v6-screen-reader">Danger alert:</span>
657
- Fill out all required fields before continuing.
658
- </p>
659
- </div>
660
- </div>
661
- <div class="pf-v6-c-form__group">
662
- <div class="pf-v6-c-form__group-label"><label
663
- class="pf-v6-c-form__label"
664
- for="alert-horizontal-example-form-name"
665
- >
666
- <span class="pf-v6-c-form__label-text">Name</span>&nbsp;<span
667
- class="pf-v6-c-form__label-required"
668
- aria-hidden="true"
669
- >&#42;</span></label>
670
- </div>
671
- <div class="pf-v6-c-form__group-control">
672
- <span class="pf-v6-c-form-control pf-m-required pf-m-error">
673
- <input
674
- required
675
- type="text"
676
- id="alert-horizontal-example-form-name"
677
- name="alert-horizontal-example-form-name"
678
- aria-invalid="true"
679
- aria-describedby="alert-horizontal-example-form-name-helper"
680
- />
681
- <span class="pf-v6-c-form-control__utilities">
682
- <span class="pf-v6-c-form-control__icon pf-m-status">
683
- <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
684
- </span>
685
- </span>
686
- </span>
687
- <div class="pf-v6-c-form__helper-text" aria-live="polite">
688
- <div class="pf-v6-c-helper-text">
689
- <div
690
- class="pf-v6-c-helper-text__item pf-m-error"
691
- id="alert-horizontal-example-form-name-helper"
692
- >
693
- <span class="pf-v6-c-helper-text__item-icon">
694
- <i
695
- class="fas fa-fw fa-exclamation-circle"
696
- aria-hidden="true"
697
- ></i>
698
- </span>
699
- <span
700
- class="pf-v6-c-helper-text__item-text"
701
- >Required field</span>
702
- </div>
703
- </div>
704
- </div>
705
- </div>
706
- </div>
707
- <div class="pf-v6-c-form__group">
708
- <div class="pf-v6-c-form__group-label"><label
709
- class="pf-v6-c-form__label"
710
- for="alert-horizontal-example-form-email"
711
- >
712
- <span class="pf-v6-c-form__label-text">Email</span>&nbsp;<span
713
- class="pf-v6-c-form__label-required"
714
- aria-hidden="true"
715
- >&#42;</span></label>
716
- </div>
717
- <div class="pf-v6-c-form__group-control">
718
- <span class="pf-v6-c-form-control pf-m-required">
719
- <input
720
- required
721
- type="text"
722
- value="patternfly@patternfly.com"
723
- id="alert-horizontal-example-form-email"
724
- name="alert-horizontal-example-form-email"
725
- />
726
- </span>
727
- </div>
728
- </div>
729
- <div class="pf-v6-c-form__group">
730
- <div class="pf-v6-c-form__group-label"><label
731
- class="pf-v6-c-form__label"
732
- for="alert-horizontal-example-form-phone"
733
- >
734
- <span class="pf-v6-c-form__label-text">Phone number</span>&nbsp;<span
735
- class="pf-v6-c-form__label-required"
736
- aria-hidden="true"
737
- >&#42;</span></label>
738
- </div>
739
- <div class="pf-v6-c-form__group-control">
740
- <span class="pf-v6-c-form-control pf-m-required pf-m-error">
741
- <input
742
- required
743
- type="text"
744
- id="alert-horizontal-example-form-phone"
745
- name="alert-horizontal-example-form-phone"
746
- aria-invalid="true"
747
- aria-describedby="alert-horizontal-example-form-phone-helper"
748
- />
749
- <span class="pf-v6-c-form-control__utilities">
750
- <span class="pf-v6-c-form-control__icon pf-m-status">
751
- <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
752
- </span>
753
- </span>
754
- </span>
755
- <div class="pf-v6-c-form__helper-text" aria-live="polite">
756
- <div class="pf-v6-c-helper-text">
757
- <div
758
- class="pf-v6-c-helper-text__item pf-m-error"
759
- id="alert-horizontal-example-form-phone-helper"
760
- >
761
- <span class="pf-v6-c-helper-text__item-icon">
762
- <i
763
- class="fas fa-fw fa-exclamation-circle"
764
- aria-hidden="true"
765
- ></i>
766
- </span>
767
- <span
768
- class="pf-v6-c-helper-text__item-text"
769
- >Required field</span>
770
- </div>
771
- </div>
772
- </div>
773
- </div>
774
- </div>
775
- <div
776
- class="pf-v6-c-form__group"
777
- role="group"
778
- aria-labelledby="alert-horizontal-example-formalert-horizontal-example-form-check-group-legend"
779
- >
780
- <div
781
- class="pf-v6-c-form__group-label pf-m-no-padding-top"
782
- id="alert-horizontal-example-formalert-horizontal-example-form-check-group-legend"
783
- ><span
784
- class="pf-v6-c-form__label"
785
- for="alert-horizontal-example-form-check-group"
786
- >
787
- <span class="pf-v6-c-form__label-text">Your experience</span>&nbsp;<span
788
- class="pf-v6-c-form__label-required"
789
- aria-hidden="true"
790
- >&#42;</span></span>
791
- </div>
792
- <div class="pf-v6-c-form__group-control">
793
- <div class="pf-v6-c-form__helper-text" aria-live="polite">
794
- <div class="pf-v6-c-helper-text">
795
- <div
796
- class="pf-v6-c-helper-text__item pf-m-error"
797
- id="alert-horizontal-example-form-check-group-helper"
798
- >
799
- <span class="pf-v6-c-helper-text__item-icon">
800
- <i
801
- class="fas fa-fw fa-exclamation-circle"
802
- aria-hidden="true"
803
- ></i>
804
- </span>
805
- <span
806
- class="pf-v6-c-helper-text__item-text"
807
- >This is a required field</span>
808
- </div>
809
- </div>
810
- </div>
811
- <div class="pf-v6-c-check">
812
- <input
813
- class="pf-v6-c-check__input"
814
- type="checkbox"
815
- id="alt-checkbox1"
816
- name="alt-checkbox1"
817
- />
818
-
819
- <label
820
- class="pf-v6-c-check__label"
821
- for="alt-checkbox1"
822
- >Follow up via email.</label>
823
- </div>
824
- <div class="pf-v6-c-check">
825
- <input
826
- class="pf-v6-c-check__input"
827
- type="checkbox"
828
- id="alt-checkbox2"
829
- name="alt-checkbox2"
830
- />
831
-
832
- <label
833
- class="pf-v6-c-check__label"
834
- for="alt-checkbox2"
835
- >Remember my password for 30 days.</label>
836
- </div>
837
- </div>
838
- </div>
839
- <div class="pf-v6-c-form__group pf-m-action">
840
- <div class="pf-v6-c-form__group-control">
841
- <div class="pf-v6-c-form__actions">
842
- <button class="pf-v6-c-button pf-m-primary" type="submit">
843
- <span class="pf-v6-c-button__text">Submit</span>
844
- </button>
845
- <button class="pf-v6-c-button pf-m-secondary" type="reset">
846
- <span class="pf-v6-c-button__text">Cancel</span>
847
- </button>
848
- </div>
849
- </div>
850
- </div>
851
- </form>
852
- </div>
853
- </section>
854
- </main>
855
- </div>
856
- </div>
65
+ ```hbs isFullscreen
66
+ {{> page-template page-template--id="alert-horizontal-example"}}
857
67
 
68
+ {{#* inline "page-template-section"}}
69
+ {{#> page-main-section page-main-section--modifier="pf-m-light"}}
70
+ {{> alert-template-horizontal-form alert-template-horizontal-form--id=(concat page-template--id "-form")}}
71
+ {{/page-main-section}}
72
+ {{/inline}}
858
73
  ```
859
74
 
860
75
  ### Inline Alert in Stacked Form
861
76
 
862
- ```html isFullscreen
863
- <div class="pf-v6-c-page" id="alert-stacked-example">
864
- <div class="pf-v6-c-skip-to-content">
865
- <a
866
- class="pf-v6-c-button pf-m-primary"
867
- href="#main-content-alert-stacked-example"
868
- >
869
- <span class="pf-v6-c-button__text">Skip to content</span>
870
- </a>
871
- </div>
872
- <header class="pf-v6-c-masthead" id="alert-stacked-example-masthead">
873
- <span class="pf-v6-c-masthead__toggle">
874
- <button
875
- class="pf-v6-c-button pf-m-plain"
876
- type="button"
877
- aria-label="Global navigation"
878
- >
879
- <span class="pf-v6-c-button__icon">
880
- <i class="fas fa-bars" aria-hidden="true"></i>
881
- </span>
882
- </button>
883
- </span>
884
- <div class="pf-v6-c-masthead__main">
885
- <a class="pf-v6-c-masthead__brand" href="#">
886
- <svg height="37px" viewBox="0 0 679 158">
887
- <title>PF-HorizontalLogo-Color</title>
888
- <defs>
889
- <linearGradient
890
- x1="68%"
891
- y1="2.25860997e-13%"
892
- x2="32%"
893
- y2="100%"
894
- id="linearGradient-alert-stacked-example-masthead"
895
- >
896
- <stop stop-color="#2B9AF3" offset="0%" />
897
- <stop
898
- stop-color="#73BCF7"
899
- stop-opacity="0.502212631"
900
- offset="100%"
901
- />
902
- </linearGradient>
903
- </defs>
904
- <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
905
- <g
906
- transform="translate(206.000000, 45.750000)"
907
- fill="var(--pf-t--global--text--color--regular)"
908
- fill-rule="nonzero"
909
- >
910
- <path
911
- 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"
912
- />
913
- <path
914
- 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"
915
- />
916
- <path
917
- 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"
918
- />
919
- <path
920
- 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"
921
- />
922
- <path
923
- 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"
924
- />
925
- <path
926
- 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"
927
- />
928
- <path
929
- 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"
930
- />
931
- <polygon
932
- 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"
933
- />
934
- <polygon points="399.96 65.25 399.96 2.25 414.54 0 414.54 65.25" />
935
- <path
936
- 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"
937
- />
938
- </g>
939
- <g transform="translate(0.000000, 0.000000)">
940
- <path
941
- 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"
942
- fill="#0066CC"
943
- />
944
- <path
945
- d="M158,3.43478261 L65.2608696,158 L138,158 C149.045695,158 158,149.045695 158,138 L158,3.43478261 L158,3.43478261 Z"
946
- fill="url(#linearGradient-alert-stacked-example-masthead)"
947
- />
948
- <path
949
- 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"
950
- fill="url(#linearGradient-alert-stacked-example-masthead)"
951
- transform="translate(77.282609, 46.369565) scale(1, -1) rotate(90.000000) translate(-77.282609, -46.369565) "
952
- />
953
- </g>
954
- </g>
955
- </svg>
956
- </a>
957
- </div>
958
- <div class="pf-v6-c-masthead__content">
959
- <div
960
- class="pf-v6-c-toolbar pf-m-static"
961
- id="alert-stacked-example-masthead-toolbar"
962
- >
963
- <div class="pf-v6-c-toolbar__content">
964
- <div class="pf-v6-c-toolbar__content-section">
965
- <div
966
- class="pf-v6-c-toolbar__group pf-m-align-end pf-m-spacer-none pf-m-spacer-md-on-md pf-m-action-group-plain"
967
- >
968
- <div
969
- class="pf-v6-c-toolbar__group pf-m-hidden pf-m-visible-on-lg pf-m-action-group-plain"
970
- >
971
- <div class="pf-v6-c-toolbar__item">
972
- <button
973
- class="pf-v6-c-menu-toggle pf-m-plain"
974
- type="button"
975
- aria-expanded="false"
976
- aria-label="Application launcher"
977
- >
978
- <span class="pf-v6-c-menu-toggle__icon">
979
- <i class="fas fa-th" aria-hidden="true"></i>
980
- </span>
981
- </button>
982
- </div>
983
- <div class="pf-v6-c-toolbar__item">
984
- <button
985
- class="pf-v6-c-menu-toggle pf-m-plain"
986
- type="button"
987
- aria-expanded="false"
988
- aria-label="Settings"
989
- >
990
- <span class="pf-v6-c-menu-toggle__icon">
991
- <i class="fas fa-cog" aria-hidden="true"></i>
992
- </span>
993
- </button>
994
- </div>
995
- <div class="pf-v6-c-toolbar__item">
996
- <button
997
- class="pf-v6-c-menu-toggle pf-m-plain"
998
- type="button"
999
- aria-expanded="false"
1000
- aria-label="Help"
1001
- >
1002
- <span class="pf-v6-c-menu-toggle__icon">
1003
- <i class="fas fa-question-circle" aria-hidden="true"></i>
1004
- </span>
1005
- </button>
1006
- </div>
1007
- </div>
1008
-
1009
- <div class="pf-v6-c-toolbar__item pf-m-hidden-on-lg">
1010
- <button
1011
- class="pf-v6-c-menu-toggle pf-m-plain"
1012
- type="button"
1013
- aria-expanded="false"
1014
- aria-label="Actions"
1015
- >
1016
- <span class="pf-v6-c-menu-toggle__icon">
1017
- <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
1018
- </span>
1019
- </button>
1020
- </div>
1021
- </div>
1022
- </div>
1023
- </div>
1024
- </div>
1025
- </div>
1026
- </header>
1027
- <div class="pf-v6-c-page__sidebar">
1028
- <div class="pf-v6-c-page__sidebar-body">
1029
- <nav
1030
- class="pf-v6-c-nav"
1031
- id="alert-stacked-example-primary-nav"
1032
- aria-label="Global"
1033
- >
1034
- <ul class="pf-v6-c-nav__list" role="list">
1035
- <li class="pf-v6-c-nav__item">
1036
- <a href="#" class="pf-v6-c-nav__link">
1037
- <span class="pf-v6-c-nav__link-text">System panel</span>
1038
- </a>
1039
- </li>
1040
- <li class="pf-v6-c-nav__item">
1041
- <a
1042
- href="#"
1043
- class="pf-v6-c-nav__link pf-m-current"
1044
- aria-current="page"
1045
- >
1046
- <span class="pf-v6-c-nav__link-text">Policy</span>
1047
- </a>
1048
- </li>
1049
- <li class="pf-v6-c-nav__item">
1050
- <a href="#" class="pf-v6-c-nav__link">
1051
- <span class="pf-v6-c-nav__link-text">Authentication</span>
1052
- </a>
1053
- </li>
1054
- <li class="pf-v6-c-nav__item">
1055
- <a href="#" class="pf-v6-c-nav__link">
1056
- <span class="pf-v6-c-nav__link-text">Network services</span>
1057
- </a>
1058
- </li>
1059
- <li class="pf-v6-c-nav__item">
1060
- <a href="#" class="pf-v6-c-nav__link">
1061
- <span class="pf-v6-c-nav__link-text">Server</span>
1062
- </a>
1063
- </li>
1064
- </ul>
1065
- </nav>
1066
- </div>
1067
- </div>
1068
- <div class="pf-v6-c-page__main-container" tabindex="-1">
1069
- <main
1070
- class="pf-v6-c-page__main"
1071
- tabindex="-1"
1072
- id="main-content-alert-stacked-example"
1073
- >
1074
- <section class="pf-v6-c-page__main-breadcrumb pf-m-limit-width">
1075
- <div class="pf-v6-c-page__main-body">
1076
- <nav class="pf-v6-c-breadcrumb" aria-label="breadcrumb">
1077
- <ol class="pf-v6-c-breadcrumb__list" role="list">
1078
- <li class="pf-v6-c-breadcrumb__item">
1079
- <a href="#" class="pf-v6-c-breadcrumb__link">Section home</a>
1080
- </li>
1081
- <li class="pf-v6-c-breadcrumb__item">
1082
- <span class="pf-v6-c-breadcrumb__item-divider">
1083
- <i class="fas fa-angle-right" aria-hidden="true"></i>
1084
- </span>
1085
-
1086
- <a href="#" class="pf-v6-c-breadcrumb__link">Section title</a>
1087
- </li>
1088
- <li class="pf-v6-c-breadcrumb__item">
1089
- <span class="pf-v6-c-breadcrumb__item-divider">
1090
- <i class="fas fa-angle-right" aria-hidden="true"></i>
1091
- </span>
1092
-
1093
- <a href="#" class="pf-v6-c-breadcrumb__link">Section title</a>
1094
- </li>
1095
- <li class="pf-v6-c-breadcrumb__item">
1096
- <span class="pf-v6-c-breadcrumb__item-divider">
1097
- <i class="fas fa-angle-right" aria-hidden="true"></i>
1098
- </span>
1099
-
1100
- <a
1101
- href="#"
1102
- class="pf-v6-c-breadcrumb__link pf-m-current"
1103
- aria-current="page"
1104
- >Section landing</a>
1105
- </li>
1106
- </ol>
1107
- </nav>
1108
- </div>
1109
- </section>
1110
- <section class="pf-v6-c-page__main-section pf-m-limit-width pf-m-light">
1111
- <div class="pf-v6-c-page__main-body">
1112
- <div class="pf-v6-c-content">
1113
- <h1>Main title</h1>
1114
- <p>This is a full page demo.</p>
1115
- </div>
1116
- </div>
1117
- </section>
1118
- <section class="pf-v6-c-page__main-section pf-m-light">
1119
- <div class="pf-v6-c-page__main-body">
1120
- <form class="pf-v6-c-form pf-m-limit-width" novalidate>
1121
- <div class="pf-v6-c-form__alert">
1122
- <div
1123
- class="pf-v6-c-alert pf-m-danger pf-m-inline"
1124
- aria-label="Inline danger alert"
1125
- >
1126
- <div class="pf-v6-c-alert__icon">
1127
- <i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
1128
- </div>
1129
- <p class="pf-v6-c-alert__title">
1130
- <span class="pf-v6-screen-reader">Danger alert:</span>
1131
- Fill out all required fields before continuing.
1132
- </p>
1133
- </div>
1134
- </div>
1135
- <div class="pf-v6-c-form__group">
1136
- <div class="pf-v6-c-form__group-label"><label
1137
- class="pf-v6-c-form__label"
1138
- for="alert-stacked-example-form-name"
1139
- >
1140
- <span class="pf-v6-c-form__label-text">Full name</span>&nbsp;<span
1141
- class="pf-v6-c-form__label-required"
1142
- aria-hidden="true"
1143
- >&#42;</span></label>
1144
- </div>
1145
- <div class="pf-v6-c-form__group-control">
1146
- <span class="pf-v6-c-form-control pf-m-required pf-m-error">
1147
- <input
1148
- required
1149
- type="text"
1150
- id="alert-stacked-example-form-name"
1151
- name="alert-stacked-example-form-name"
1152
- aria-invalid="true"
1153
- aria-describedby="alert-stacked-example-form-helper"
1154
- />
1155
- <span class="pf-v6-c-form-control__utilities">
1156
- <span class="pf-v6-c-form-control__icon pf-m-status">
1157
- <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
1158
- </span>
1159
- </span>
1160
- </span>
1161
- <div class="pf-v6-c-form__helper-text" aria-live="polite">
1162
- <div class="pf-v6-c-helper-text">
1163
- <div
1164
- class="pf-v6-c-helper-text__item pf-m-error"
1165
- id="alert-stacked-example-form-name-helper"
1166
- >
1167
- <span class="pf-v6-c-helper-text__item-icon">
1168
- <i
1169
- class="fas fa-fw fa-exclamation-circle"
1170
- aria-hidden="true"
1171
- ></i>
1172
- </span>
1173
- <span
1174
- class="pf-v6-c-helper-text__item-text"
1175
- >Required field</span>
1176
- </div>
1177
- </div>
1178
- </div>
1179
- </div>
1180
- </div>
1181
- <div class="pf-v6-c-form__group">
1182
- <div class="pf-v6-c-form__group-label"><label
1183
- class="pf-v6-c-form__label"
1184
- for="alert-stacked-example-form-email"
1185
- >
1186
- <span class="pf-v6-c-form__label-text">Email</span>&nbsp;<span
1187
- class="pf-v6-c-form__label-required"
1188
- aria-hidden="true"
1189
- >&#42;</span></label>
1190
- </div>
1191
- <div class="pf-v6-c-form__group-control">
1192
- <span class="pf-v6-c-form-control pf-m-required">
1193
- <input
1194
- required
1195
- type="text"
1196
- value="patternfly.com"
1197
- id="alert-stacked-example-form-email"
1198
- name="alert-stacked-example-form-email"
1199
- />
1200
- </span>
1201
- </div>
1202
- <div class="pf-v6-c-form__helper-text" aria-live="polite">
1203
- <div class="pf-v6-c-helper-text">
1204
- <div
1205
- class="pf-v6-c-helper-text__item pf-m-error"
1206
- id="alert-stacked-example-form-email-helper"
1207
- >
1208
- <span class="pf-v6-c-helper-text__item-icon">
1209
- <i
1210
- class="fas fa-fw fa-exclamation-circle"
1211
- aria-hidden="true"
1212
- ></i>
1213
- </span>
1214
- <span
1215
- class="pf-v6-c-helper-text__item-text"
1216
- >Enter a valid email address: example@gmail.com</span>
1217
- </div>
1218
- </div>
1219
- </div>
1220
- </div>
1221
- <div class="pf-v6-c-form__group">
1222
- <div class="pf-v6-c-form__group-label"><label
1223
- class="pf-v6-c-form__label"
1224
- for="alert-stacked-example-form-state"
1225
- >
1226
- <span class="pf-v6-c-form__label-text">State of residence</span>&nbsp;<span
1227
- class="pf-v6-c-form__label-required"
1228
- aria-hidden="true"
1229
- >&#42;</span></label>
1230
- </div>
1231
- <span class="pf-v6-c-form-control pf-m-required pf-m-error">
1232
- <select
1233
- class
1234
- required
1235
- aria-invalid="true"
1236
- id="select-group-error"
1237
- name="select-group-error"
1238
- aria-label="Error state select group example"
1239
- >
1240
- <option value>Select a state</option>
1241
- <option value="Option 1">CA</option>
1242
- <option value="Option 2">FL</option>
1243
- <option value="Option 3">MA</option>
1244
- <option value="Option 4">NY</option>
1245
- </select>
1246
- <span class="pf-v6-c-form-control__utilities">
1247
- <span class="pf-v6-c-form-control__icon pf-m-status">
1248
- <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
1249
- </span>
1250
- <span class="pf-v6-c-form-control__toggle-icon">
1251
- <i class="fas fa-caret-down" aria-hidden="true"></i>
1252
- </span>
1253
- </span>
1254
- </span>
1255
- <div
1256
- class="pf-v6-c-form__helper-text"
1257
- aria-live="polite"
1258
- id="alert-stacked-example-form-state-form-email-helper-state"
1259
- >
1260
- <div class="pf-v6-c-helper-text">
1261
- <div
1262
- class="pf-v6-c-helper-text__item pf-m-error"
1263
- id="alert-stacked-example-form-state-helper"
1264
- >
1265
- <span class="pf-v6-c-helper-text__item-icon">
1266
- <i
1267
- class="fas fa-fw fa-exclamation-circle"
1268
- aria-hidden="true"
1269
- ></i>
1270
- </span>
1271
- <span class="pf-v6-c-helper-text__item-text">Required field</span>
1272
- </div>
1273
- </div>
1274
- </div>
1275
- </div>
1276
- <div
1277
- class="pf-v6-c-form__group"
1278
- role="group"
1279
- aria-labelledby="alert-stacked-example-formalert-stacked-example-form-check-group-legend"
1280
- >
1281
- <div
1282
- class="pf-v6-c-form__group-label pf-m-no-padding-top"
1283
- id="alert-stacked-example-formalert-stacked-example-form-check-group-legend"
1284
- ><span
1285
- class="pf-v6-c-form__label"
1286
- for="alert-stacked-example-form-check-group"
1287
- >
1288
- <span class="pf-v6-c-form__label-text">How can we contact you?</span>&nbsp;<span
1289
- class="pf-v6-c-form__label-required"
1290
- aria-hidden="true"
1291
- >&#42;</span></span>
1292
- <div class="pf-v6-c-form__helper-text" aria-live="polite">
1293
- <div class="pf-v6-c-helper-text">
1294
- <div
1295
- class="pf-v6-c-helper-text__item pf-m-error"
1296
- id="alert-stacked-example-form-check-group-helper"
1297
- >
1298
- <span class="pf-v6-c-helper-text__item-icon">
1299
- <i
1300
- class="fas fa-fw fa-exclamation-circle"
1301
- aria-hidden="true"
1302
- ></i>
1303
- </span>
1304
- <span
1305
- class="pf-v6-c-helper-text__item-text"
1306
- >This is a required field</span>
1307
- </div>
1308
- </div>
1309
- </div>
1310
- </div>
1311
- <div class="pf-v6-c-form__group-control pf-m-inline">
1312
- <div class="pf-v6-c-check">
1313
- <input
1314
- class="pf-v6-c-check__input"
1315
- type="checkbox"
1316
- id="alt-form-checkbox1"
1317
- name="alt-form-checkbox1"
1318
- />
1319
-
1320
- <label
1321
- class="pf-v6-c-check__label"
1322
- for="alt-form-checkbox1"
1323
- >Email</label>
1324
- </div>
1325
- <div class="pf-v6-c-check">
1326
- <input
1327
- class="pf-v6-c-check__input"
1328
- type="checkbox"
1329
- id="alt-form-checkbox2"
1330
- name="alt-form-checkbox2"
1331
- />
1332
-
1333
- <label
1334
- class="pf-v6-c-check__label"
1335
- for="alt-form-checkbox2"
1336
- >Phone</label>
1337
- </div>
1338
- <div class="pf-v6-c-check">
1339
- <input
1340
- class="pf-v6-c-check__input"
1341
- type="checkbox"
1342
- id="alt-form-checkbox3"
1343
- name="alt-form-checkbox3"
1344
- />
1345
-
1346
- <label
1347
- class="pf-v6-c-check__label"
1348
- for="alt-form-checkbox3"
1349
- >Mail</label>
1350
- </div>
1351
- </div>
1352
- </div>
1353
- <div class="pf-v6-c-form__group pf-m-action">
1354
- <div class="pf-v6-c-form__group-control">
1355
- <div class="pf-v6-c-form__actions">
1356
- <button class="pf-v6-c-button pf-m-primary" type="submit">
1357
- <span class="pf-v6-c-button__text">Submit</span>
1358
- </button>
1359
- <button class="pf-v6-c-button pf-m-secondary" type="reset">
1360
- <span class="pf-v6-c-button__text">Cancel</span>
1361
- </button>
1362
- </div>
1363
- </div>
1364
- </div>
1365
- </form>
1366
- </div>
1367
- </section>
1368
- </main>
1369
- </div>
1370
- </div>
77
+ ```hbs isFullscreen
78
+ {{> page-template page-template--id="alert-stacked-example"}}
1371
79
 
80
+ {{#* inline "page-template-section"}}
81
+ {{#> page-main-section page-main-section--modifier="pf-m-light"}}
82
+ {{> alert-template-stacked-form alert-template-stacked-form--id=(concat page-template--id "-form")}}
83
+ {{/page-main-section}}
84
+ {{/inline}}
1372
85
  ```