Skip to content

Commit a6d9e3c

Browse files
author
Ryan A. Johnson
committed
docs(*): update usage of hx-alert
1 parent c6d6007 commit a6d9e3c

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

docs/components/box/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ <h2 id="spacing">Spacing</h2>
153153

154154
<section>
155155
<h2 id="scrolling-containers">Scrolling Containers</h2>
156-
<hx-alert static type="warning">
156+
<hx-alert type="warning" persist>
157157
Scrolling containers must be implemented using the
158158
<code>&lt;hx-div&gt;</code> element in order to reliably calculate
159159
coordinates of absolutely positioned elements.

docs/components/breadcrumbs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
---
55
{% extends 'component.njk' %}
66
{% block content %}
7-
<hx-alert type="warning" status="WARNING" static>
7+
<hx-alert type="warning" status="WARNING" persist>
88
The last breadcrumb hyperlink is styled to prevent mouse clicks, but it will not prevent keyboard activation.
99
</hx-alert>
1010

docs/components/grid/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% extends 'component.njk' %}
99
{% block content %}
1010
<section>
11-
<hx-alert type="warning" status="warning" static>
11+
<hx-alert type="warning" status="warning" persist>
1212
HelixUI grid classes are not compatible with Bootstrap grid styles.
1313
</hx-alert>
1414

@@ -246,7 +246,7 @@ <h2 id="column-offset">Column Offset</h2>
246246

247247
<section><!-- column ordering -->
248248
<h2 id="column-ordering">Column Ordering</h2>
249-
<hx-alert type="info" status="fyi" static>
249+
<hx-alert type="info" status="fyi" persist>
250250
Reordering columns does not change tab order.<br />
251251
Tab order is based on the DOM order, not visual appearance.
252252
</hx-alert>
@@ -390,7 +390,7 @@ <h2 id="responsive-options">Responsive Options</h2>
390390

391391
<section><!-- column wrapping -->
392392
<h2 id="column-wrapping">Column Wrapping</h2>
393-
<hx-alert type="info" status="note" static>
393+
<hx-alert type="info" status="note" persist>
394394
Columns wrap if the total column width count within the row exceeds 12.
395395
</hx-alert>
396396
<p>
@@ -440,7 +440,7 @@ <h2 id="column-wrapping">Column Wrapping</h2>
440440

441441
<section><!-- nesting containers -->
442442
<h2 id="nesting-containers">Nesting Containers</h2>
443-
<hx-alert type="warning" status="warning" static>
443+
<hx-alert type="warning" status="warning" persist>
444444
Do not apply row and column container classes to the same element.
445445
</hx-alert>
446446
<p>You can nest rows and columns as deep as necessary.</p>
@@ -497,7 +497,7 @@ <h2 id="nesting-containers">Nesting Containers</h2>
497497

498498
<section><!-- styling containers -->
499499
<h2 id="styling-containers">Styling Containers</h2>
500-
<hx-alert type="warning" status="warning" static>
500+
<hx-alert type="warning" status="warning" persist>
501501
Do not attempt to style rows or columns directly.
502502
</hx-alert>
503503
<ul class="hxList">

docs/components/stepper/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
---
88
{% extends 'component.njk' %}
99
{% block content %}
10-
<hx-alert type="warning" status="BETA" static>
10+
<hx-alert type="warning" status="BETA" persist>
1111
This component is not recommended for production use.
1212
</hx-alert>
1313
<section>

docs/components/toasts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% extends 'component.njk' %}
88
{% block content %}
99
<section>
10-
<hx-alert type="info" status="note" static>
10+
<hx-alert type="info" status="note" persist>
1111
Currently, only CTA and dismiss functionality of the toast itself has been
1212
implemented. Positioning, stacking, animation, etc. functionality will be coming soon.
1313
</hx-alert>

docs/components/typography/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@ <h2 id="links">Links</h2>
196196
<p>
197197
Links should be used to refer a user to a resource or location.
198198
</p>
199-
<hx-alert static type="info" status="note">
199+
<hx-alert type="info" status="note" persist>
200200
Buttons are better suited to initiate in-page actions.
201201
</hx-alert>
202-
<hx-alert static type="warning" status="warning">
202+
<hx-alert type="warning" status="warning" persist>
203203
Adding the <code>disabled</code> attribute to a link <b>will not</b>
204204
prevent user interaction. Consider using a <code>&lt;button&gt;</code>
205205
instead.

0 commit comments

Comments
 (0)