Skip to content

Commit b01c2d5

Browse files
committed
Made showcase and API description tweaks for clarity
1 parent dc93906 commit b01c2d5

File tree

1 file changed

+8
-6
lines changed
  • packages/components/tests/dummy/app/templates/components

1 file changed

+8
-6
lines changed

packages/components/tests/dummy/app/templates/components/alert.hbs

+8-6
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@
5757

5858
<dt class="dummy-indent">icon <code>string</code></dt>
5959
<dd class="dummy-indent">
60-
<p>Shows an icon in the alert. Optional parameter.</p>
60+
<p>Override the default
61+
<code class="dummy-code">icon</code>
62+
name determined by the
63+
<code class="dummy-code">color</code>. Optional parameter.
64+
</p>
6165
<p>Acceptable value:</p>
6266
<p>Any
6367
<a href="https://flight-hashicorp.vercel.app/" target="_blank" rel="noopener noreferrer">
@@ -209,12 +213,11 @@
209213

210214
Other variations:
211215

212-
<Hds::Alert @color="critical" @icon="alert-triangle" @description="Description only please" />
216+
<Hds::Alert @color="critical" @description="Description only please" />
213217
<br />
214218

215219
<Hds::Alert
216-
@color="neutral"
217-
@icon="alert-triangle"
220+
@color="critical"
218221
@title="Really long title, yet no description. Your Intention settings are currently set to default allow. This
219222
means that this view will show connections to every service in your
220223
cluster. We recommend changing your Intention settings to default deny and
@@ -224,8 +227,7 @@
224227
<br />
225228

226229
<Hds::Alert
227-
@color="highlight"
228-
@icon="alert-triangle"
230+
@color="critical"
229231
@title="Description below has HTML"
230232
@description="Your Intention settings are currently set to default <strong>allow</strong>. This
231233
means that this view will show connections to every service in your

0 commit comments

Comments
 (0)