@teseor/css 1.15.1 → 1.15.3
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.
- package/package.json +1 -1
- package/src/base/docs.html +1 -1
- package/src/base/typography/docs.html +33 -33
- package/src/components/actions/button/docs.html +19 -19
- package/src/components/actions/button-group/docs.html +12 -12
- package/src/components/actions/close-button/docs.html +10 -10
- package/src/components/content/divider/docs.html +1 -1
- package/src/components/content/scroll-area/docs.html +81 -81
- package/src/components/content/spacer/docs.html +6 -6
- package/src/components/data-display/avatar/docs.html +8 -8
- package/src/components/data-display/card/docs.html +12 -12
- package/src/components/data-display/data-list/docs.html +32 -32
- package/src/components/data-display/icon/docs.html +5 -5
- package/src/components/data-display/image/docs.html +1 -1
- package/src/components/data-display/stat/docs.html +6 -6
- package/src/components/data-display/status/docs.html +9 -9
- package/src/components/data-display/table/docs.html +14 -14
- package/src/components/data-display/tag/docs.html +17 -17
- package/src/components/disclosure/accordion/docs.html +14 -14
- package/src/components/disclosure/disclosure/docs.html +8 -8
- package/src/components/feedback/alert/docs.html +18 -18
- package/src/components/feedback/progress/docs.html +2 -2
- package/src/components/feedback/toast/docs.html +22 -22
- package/src/components/forms/checkbox/docs.html +1 -1
- package/src/components/forms/checkbox-group/docs.html +21 -21
- package/src/components/forms/field/docs.html +11 -11
- package/src/components/forms/fieldset/docs.html +30 -30
- package/src/components/forms/form/docs.html +29 -29
- package/src/components/forms/form-error/docs.html +2 -2
- package/src/components/forms/form-helper/docs.html +9 -9
- package/src/components/forms/input/docs.html +13 -13
- package/src/components/forms/label/docs.html +7 -7
- package/src/components/forms/number-input/docs.html +12 -12
- package/src/components/forms/password-input/docs.html +14 -14
- package/src/components/forms/radio/docs.html +5 -5
- package/src/components/forms/radio-group/docs.html +20 -20
- package/src/components/forms/search-input/docs.html +7 -7
- package/src/components/forms/select/docs.html +23 -23
- package/src/components/forms/textarea/docs.html +18 -18
- package/src/components/forms/toggle/docs.html +1 -1
- package/src/components/navigation/breadcrumb/docs.html +11 -11
- package/src/components/navigation/dropdown-menu/docs.html +18 -18
- package/src/components/navigation/menu/docs.html +25 -25
- package/src/components/navigation/nav/docs.html +13 -13
- package/src/components/navigation/pagination/docs.html +6 -6
- package/src/components/navigation/tabs/docs.html +19 -19
- package/src/components/overlays/dialog/docs.html +12 -12
- package/src/components/overlays/drawer/docs.html +16 -16
- package/src/components/overlays/modal/docs.html +11 -11
- package/src/components/overlays/overlay/docs.html +3 -3
- package/src/components/overlays/popover/docs.html +7 -7
- package/src/components/overlays/tooltip/docs.html +7 -7
- package/src/components/typography/blockquote/docs.html +5 -5
- package/src/components/typography/code/docs.html +2 -2
- package/src/components/typography/code-block/docs.html +2 -2
- package/src/components/typography/heading/docs.html +11 -11
- package/src/components/typography/kbd/docs.html +6 -6
- package/src/components/typography/link/docs.html +8 -8
- package/src/components/typography/list/docs.html +32 -32
- package/src/config/guides/accessibility.docs.html +5 -5
- package/src/config/guides/getting-started.docs.html +7 -7
- package/src/config/guides/theming.docs.html +21 -21
- package/src/config/tokens/docs.html +7 -7
- package/src/config/tokens/grid/docs.html +3 -3
- package/src/config/tokens/spacing/docs.html +6 -6
- package/src/debug/docs.html +3 -3
- package/src/layout/app-shell/docs.html +15 -15
- package/src/layout/aspect-ratio/docs.html +8 -8
- package/src/layout/box/docs.html +10 -10
- package/src/layout/center/docs.html +4 -4
- package/src/layout/column/docs.html +11 -11
- package/src/layout/container/docs.html +7 -7
- package/src/layout/content/docs.html +9 -9
- package/src/layout/footer/docs.html +16 -16
- package/src/layout/grid/docs.html +25 -25
- package/src/layout/main/docs.html +3 -3
- package/src/layout/nav-rail/docs.html +5 -5
- package/src/layout/page-header/docs.html +9 -9
- package/src/layout/row/docs.html +18 -18
- package/src/layout/sidebar/docs.html +5 -5
- package/src/layout/sidebar-nav/docs.html +37 -37
- package/src/layout/topbar/docs.html +14 -14
- package/src/utilities/container/docs.html +4 -4
- package/src/utilities/display/docs.html +11 -11
- package/src/utilities/scroll-animation/docs.html +5 -5
- package/src/utilities/scroll-snap/docs.html +30 -30
- package/src/utilities/spacing/docs.html +12 -12
- package/src/utilities/text/docs.html +36 -36
- package/src/utilities/view-transition/docs.html +12 -12
- package/src/utilities/visually-hidden/docs.html +3 -3
- package/src/components/actions/button/visual.png +0 -0
- package/src/components/actions/button/visual.spec.ts +0 -18
- package/src/components/actions/button-group/visual.png +0 -0
- package/src/components/actions/button-group/visual.spec.ts +0 -18
- package/src/components/actions/close-button/visual.png +0 -0
- package/src/components/actions/close-button/visual.spec.ts +0 -18
- package/src/components/content/divider/visual.png +0 -0
- package/src/components/content/divider/visual.spec.ts +0 -18
- package/src/components/content/scroll-area/visual.png +0 -0
- package/src/components/content/scroll-area/visual.spec.ts +0 -18
- package/src/components/content/spacer/visual.png +0 -0
- package/src/components/content/spacer/visual.spec.ts +0 -14
- package/src/components/data-display/avatar/visual.png +0 -0
- package/src/components/data-display/avatar/visual.spec.ts +0 -18
- package/src/components/data-display/badge/visual.png +0 -0
- package/src/components/data-display/badge/visual.spec.ts +0 -18
- package/src/components/data-display/card/visual.png +0 -0
- package/src/components/data-display/card/visual.spec.ts +0 -18
- package/src/components/data-display/data-list/visual.png +0 -0
- package/src/components/data-display/data-list/visual.spec.ts +0 -19
- package/src/components/data-display/icon/visual.png +0 -0
- package/src/components/data-display/icon/visual.spec.ts +0 -18
- package/src/components/data-display/image/visual.png +0 -0
- package/src/components/data-display/image/visual.spec.ts +0 -18
- package/src/components/data-display/stat/visual.png +0 -0
- package/src/components/data-display/stat/visual.spec.ts +0 -18
- package/src/components/data-display/status/visual.png +0 -0
- package/src/components/data-display/status/visual.spec.ts +0 -18
- package/src/components/data-display/table/visual.png +0 -0
- package/src/components/data-display/table/visual.spec.ts +0 -18
- package/src/components/data-display/tag/visual.png +0 -0
- package/src/components/data-display/tag/visual.spec.ts +0 -18
- package/src/components/disclosure/accordion/visual.png +0 -0
- package/src/components/disclosure/accordion/visual.spec.ts +0 -18
- package/src/components/disclosure/disclosure/visual.png +0 -0
- package/src/components/disclosure/disclosure/visual.spec.ts +0 -18
- package/src/components/feedback/alert/visual.png +0 -0
- package/src/components/feedback/alert/visual.spec.ts +0 -18
- package/src/components/feedback/progress/visual.png +0 -0
- package/src/components/feedback/progress/visual.spec.ts +0 -18
- package/src/components/feedback/progress-circle/visual.png +0 -0
- package/src/components/feedback/progress-circle/visual.spec.ts +0 -18
- package/src/components/feedback/skeleton/visual.png +0 -0
- package/src/components/feedback/skeleton/visual.spec.ts +0 -18
- package/src/components/feedback/spinner/visual.png +0 -0
- package/src/components/feedback/spinner/visual.spec.ts +0 -19
- package/src/components/feedback/toast/visual.png +0 -0
- package/src/components/feedback/toast/visual.spec.ts +0 -18
- package/src/components/forms/checkbox/visual.png +0 -0
- package/src/components/forms/checkbox/visual.spec.ts +0 -18
- package/src/components/forms/checkbox-group/visual.png +0 -0
- package/src/components/forms/checkbox-group/visual.spec.ts +0 -18
- package/src/components/forms/field/visual.png +0 -0
- package/src/components/forms/field/visual.spec.ts +0 -18
- package/src/components/forms/fieldset/visual.png +0 -0
- package/src/components/forms/fieldset/visual.spec.ts +0 -18
- package/src/components/forms/form/visual.png +0 -0
- package/src/components/forms/form/visual.spec.ts +0 -18
- package/src/components/forms/form-error/visual.png +0 -0
- package/src/components/forms/form-error/visual.spec.ts +0 -18
- package/src/components/forms/form-helper/visual.png +0 -0
- package/src/components/forms/form-helper/visual.spec.ts +0 -18
- package/src/components/forms/input/visual.png +0 -0
- package/src/components/forms/input/visual.spec.ts +0 -18
- package/src/components/forms/label/visual.png +0 -0
- package/src/components/forms/label/visual.spec.ts +0 -18
- package/src/components/forms/number-input/visual.png +0 -0
- package/src/components/forms/number-input/visual.spec.ts +0 -18
- package/src/components/forms/password-input/visual.png +0 -0
- package/src/components/forms/password-input/visual.spec.ts +0 -18
- package/src/components/forms/radio/visual.png +0 -0
- package/src/components/forms/radio/visual.spec.ts +0 -18
- package/src/components/forms/radio-group/visual.png +0 -0
- package/src/components/forms/radio-group/visual.spec.ts +0 -18
- package/src/components/forms/search-input/visual.png +0 -0
- package/src/components/forms/search-input/visual.spec.ts +0 -18
- package/src/components/forms/select/visual.png +0 -0
- package/src/components/forms/select/visual.spec.ts +0 -18
- package/src/components/forms/slider/visual.png +0 -0
- package/src/components/forms/slider/visual.spec.ts +0 -18
- package/src/components/forms/textarea/visual.png +0 -0
- package/src/components/forms/textarea/visual.spec.ts +0 -18
- package/src/components/forms/toggle/visual.png +0 -0
- package/src/components/forms/toggle/visual.spec.ts +0 -18
- package/src/components/navigation/breadcrumb/visual.png +0 -0
- package/src/components/navigation/breadcrumb/visual.spec.ts +0 -18
- package/src/components/navigation/dropdown-menu/visual.png +0 -0
- package/src/components/navigation/dropdown-menu/visual.spec.ts +0 -18
- package/src/components/navigation/menu/visual.png +0 -0
- package/src/components/navigation/menu/visual.spec.ts +0 -18
- package/src/components/navigation/nav/visual.png +0 -0
- package/src/components/navigation/nav/visual.spec.ts +0 -18
- package/src/components/navigation/pagination/visual.png +0 -0
- package/src/components/navigation/pagination/visual.spec.ts +0 -18
- package/src/components/navigation/tabs/visual.png +0 -0
- package/src/components/navigation/tabs/visual.spec.ts +0 -18
- package/src/components/overlays/dialog/visual.png +0 -0
- package/src/components/overlays/dialog/visual.spec.ts +0 -18
- package/src/components/overlays/drawer/visual.png +0 -0
- package/src/components/overlays/drawer/visual.spec.ts +0 -18
- package/src/components/overlays/modal/visual.png +0 -0
- package/src/components/overlays/modal/visual.spec.ts +0 -18
- package/src/components/overlays/overlay/visual.png +0 -0
- package/src/components/overlays/overlay/visual.spec.ts +0 -18
- package/src/components/overlays/popover/visual.png +0 -0
- package/src/components/overlays/popover/visual.spec.ts +0 -18
- package/src/components/overlays/tooltip/visual.png +0 -0
- package/src/components/overlays/tooltip/visual.spec.ts +0 -18
- package/src/components/typography/blockquote/visual.png +0 -0
- package/src/components/typography/blockquote/visual.spec.ts +0 -18
- package/src/components/typography/code/visual.png +0 -0
- package/src/components/typography/code/visual.spec.ts +0 -18
- package/src/components/typography/code-block/visual.png +0 -0
- package/src/components/typography/code-block/visual.spec.ts +0 -18
- package/src/components/typography/heading/visual.png +0 -0
- package/src/components/typography/heading/visual.spec.ts +0 -18
- package/src/components/typography/kbd/visual.png +0 -0
- package/src/components/typography/kbd/visual.spec.ts +0 -18
- package/src/components/typography/link/visual.png +0 -0
- package/src/components/typography/link/visual.spec.ts +0 -18
- package/src/components/typography/list/visual.png +0 -0
- package/src/components/typography/list/visual.spec.ts +0 -18
- package/src/components/typography/mark/visual.png +0 -0
- package/src/components/typography/mark/visual.spec.ts +0 -18
- package/src/layout/app-shell/visual.png +0 -0
- package/src/layout/app-shell/visual.spec.ts +0 -13
- package/src/layout/aspect-ratio/visual.png +0 -0
- package/src/layout/aspect-ratio/visual.spec.ts +0 -14
- package/src/layout/box/visual.png +0 -0
- package/src/layout/box/visual.spec.ts +0 -13
- package/src/layout/center/visual.png +0 -0
- package/src/layout/center/visual.spec.ts +0 -13
- package/src/layout/column/visual.png +0 -0
- package/src/layout/column/visual.spec.ts +0 -13
- package/src/layout/content/visual.png +0 -0
- package/src/layout/content/visual.spec.ts +0 -18
- package/src/layout/footer/visual.png +0 -0
- package/src/layout/footer/visual.spec.ts +0 -18
- package/src/layout/grid/visual.png +0 -0
- package/src/layout/grid/visual.spec.ts +0 -13
- package/src/layout/nav-rail/visual.png +0 -0
- package/src/layout/nav-rail/visual.spec.ts +0 -18
- package/src/layout/page-header/visual.png +0 -0
- package/src/layout/page-header/visual.spec.ts +0 -18
- package/src/layout/row/visual.png +0 -0
- package/src/layout/row/visual.spec.ts +0 -15
- package/src/layout/sidebar/visual.png +0 -0
- package/src/layout/sidebar/visual.spec.ts +0 -18
- package/src/layout/sidebar-nav/visual.spec.ts +0 -18
- package/src/layout/topbar/visual.png +0 -0
- package/src/layout/topbar/visual.spec.ts +0 -18
|
@@ -5,7 +5,7 @@ description: User or entity thumbnail representation. Supports image with fallba
|
|
|
5
5
|
|
|
6
6
|
<!-- @default | row -->
|
|
7
7
|
<div class="ui-avatar">
|
|
8
|
-
<span class="ui-avatar__fallback">JD</span>
|
|
8
|
+
<span class="ui-avatar__fallback">{{ t('jd', 'JD') }}</span>
|
|
9
9
|
</div>
|
|
10
10
|
<div class="ui-avatar">
|
|
11
11
|
<img class="ui-avatar__image" src="https://i.pravatar.cc/80?u=1" alt="User"></img>
|
|
@@ -13,24 +13,24 @@ description: User or entity thumbnail representation. Supports image with fallba
|
|
|
13
13
|
|
|
14
14
|
<!-- @sizes | row -->
|
|
15
15
|
<div class="ui-avatar ui-avatar--xs">
|
|
16
|
-
<span class="ui-avatar__fallback">XS</span>
|
|
16
|
+
<span class="ui-avatar__fallback">{{ t('xs', 'XS') }}</span>
|
|
17
17
|
</div>
|
|
18
18
|
<div class="ui-avatar ui-avatar--sm">
|
|
19
|
-
<span class="ui-avatar__fallback">SM</span>
|
|
19
|
+
<span class="ui-avatar__fallback">{{ t('sm', 'SM') }}</span>
|
|
20
20
|
</div>
|
|
21
21
|
<div class="ui-avatar">
|
|
22
|
-
<span class="ui-avatar__fallback">MD</span>
|
|
22
|
+
<span class="ui-avatar__fallback">{{ t('md', 'MD') }}</span>
|
|
23
23
|
</div>
|
|
24
24
|
<div class="ui-avatar ui-avatar--lg">
|
|
25
|
-
<span class="ui-avatar__fallback">LG</span>
|
|
25
|
+
<span class="ui-avatar__fallback">{{ t('lg', 'LG') }}</span>
|
|
26
26
|
</div>
|
|
27
27
|
<div class="ui-avatar ui-avatar--xl">
|
|
28
|
-
<span class="ui-avatar__fallback">XL</span>
|
|
28
|
+
<span class="ui-avatar__fallback">{{ t('xl', 'XL') }}</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
<!-- @square_shape | row -->
|
|
32
32
|
<div class="ui-avatar ui-avatar--square">
|
|
33
|
-
<span class="ui-avatar__fallback">ORG</span>
|
|
33
|
+
<span class="ui-avatar__fallback">{{ t('org', 'ORG') }}</span>
|
|
34
34
|
</div>
|
|
35
35
|
<div class="ui-avatar ui-avatar--square">
|
|
36
36
|
<img class="ui-avatar__image" src="https://i.pravatar.cc/80?u=org" alt="Org"></img>
|
|
@@ -59,6 +59,6 @@ description: User or entity thumbnail representation. Supports image with fallba
|
|
|
59
59
|
<img class="ui-avatar__image" src="https://i.pravatar.cc/80?u=g3" alt></img>
|
|
60
60
|
</div>
|
|
61
61
|
<div class="ui-avatar">
|
|
62
|
-
<span class="ui-avatar__fallback"
|
|
62
|
+
<span class="ui-avatar__fallback">{{ t('5', '+5') }}</span>
|
|
63
63
|
</div>
|
|
64
64
|
</div>
|
|
@@ -3,22 +3,22 @@ title: Card
|
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
<!-- @default -->
|
|
6
|
-
<div class="ui-card">Default card with padding and border</div>
|
|
6
|
+
<div class="ui-card">{{ t('default_card_with_padding_and_border', 'Default card with padding and border') }}</div>
|
|
7
7
|
|
|
8
8
|
<!-- @background_variants | column -->
|
|
9
|
-
<div class="ui-card">Default background</div>
|
|
10
|
-
<div class="ui-card ui-card--subtle">Subtle background</div>
|
|
11
|
-
<div class="ui-card ui-card--muted">Muted background</div>
|
|
9
|
+
<div class="ui-card">{{ t('default_background', 'Default background') }}</div>
|
|
10
|
+
<div class="ui-card ui-card--subtle">{{ t('subtle_background', 'Subtle background') }}</div>
|
|
11
|
+
<div class="ui-card ui-card--muted">{{ t('muted_background', 'Muted background') }}</div>
|
|
12
12
|
|
|
13
13
|
<!-- @padding_variants | column -->
|
|
14
|
-
<div class="ui-card ui-card--sm">Small padding</div>
|
|
15
|
-
<div class="ui-card">Default padding</div>
|
|
16
|
-
<div class="ui-card ui-card--lg">Large padding</div>
|
|
17
|
-
<div class="ui-card ui-card--flush">No padding (flush)</div>
|
|
14
|
+
<div class="ui-card ui-card--sm">{{ t('small_padding', 'Small padding') }}</div>
|
|
15
|
+
<div class="ui-card">{{ t('default_padding', 'Default padding') }}</div>
|
|
16
|
+
<div class="ui-card ui-card--lg">{{ t('large_padding', 'Large padding') }}</div>
|
|
17
|
+
<div class="ui-card ui-card--flush">{{ t('no_padding_flush', 'No padding (flush)') }}</div>
|
|
18
18
|
|
|
19
19
|
<!-- @interactive | column -->
|
|
20
|
-
<div class="ui-card ui-card--interactive">Hover and click this card</div>
|
|
21
|
-
<div class="ui-card ui-card--interactive ui-card--subtle">Interactive subtle card</div>
|
|
20
|
+
<div class="ui-card ui-card--interactive">{{ t('hover_and_click_this_card', 'Hover and click this card') }}</div>
|
|
21
|
+
<div class="ui-card ui-card--interactive ui-card--subtle">{{ t('interactive_subtle_card', 'Interactive subtle card') }}</div>
|
|
22
22
|
|
|
23
23
|
<!-- @responsive_container_query -->
|
|
24
24
|
<!-- Switches to horizontal layout when container is wide enough. Requires a parent with container-type: inline-size (use ui-container-inline utility). -->
|
|
@@ -26,8 +26,8 @@ title: Card
|
|
|
26
26
|
<div class="ui-card ui-card--responsive">
|
|
27
27
|
<div class="ui-card__media" style="background: var(--ui-color-bg-muted); min-block-size: 6rem"></div>
|
|
28
28
|
<div class="ui-card__body">
|
|
29
|
-
<strong>Responsive Card</strong>
|
|
30
|
-
<p>Stacks vertically in narrow containers, switches to side-by-side at >= 30rem
|
|
29
|
+
<strong>{{ t('responsive_card', 'Responsive Card') }}</strong>
|
|
30
|
+
<p>{{ t('stacks_vertically_narrow', 'Stacks vertically in narrow containers, switches to side-by-side at >= 30rem.') }}</p>
|
|
31
31
|
</div>
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
@@ -5,16 +5,16 @@ title: Data List
|
|
|
5
5
|
<!-- @default -->
|
|
6
6
|
<dl class="ui-data-list">
|
|
7
7
|
<div class="ui-data-list__item">
|
|
8
|
-
<dt class="ui-data-list__label">Name</dt>
|
|
9
|
-
<dd class="ui-data-list__value">John Doe</dd>
|
|
8
|
+
<dt class="ui-data-list__label">{{ t('name', 'Name') }}</dt>
|
|
9
|
+
<dd class="ui-data-list__value">{{ t('john_doe', 'John Doe') }}</dd>
|
|
10
10
|
</div>
|
|
11
11
|
<div class="ui-data-list__item">
|
|
12
|
-
<dt class="ui-data-list__label">Email</dt>
|
|
13
|
-
<dd class="ui-data-list__value">john@example.com</dd>
|
|
12
|
+
<dt class="ui-data-list__label">{{ t('email', 'Email') }}</dt>
|
|
13
|
+
<dd class="ui-data-list__value">{{ t('johnexamplecom', 'john@example.com') }}</dd>
|
|
14
14
|
</div>
|
|
15
15
|
<div class="ui-data-list__item">
|
|
16
|
-
<dt class="ui-data-list__label">Role</dt>
|
|
17
|
-
<dd class="ui-data-list__value">Administrator</dd>
|
|
16
|
+
<dt class="ui-data-list__label">{{ t('role', 'Role') }}</dt>
|
|
17
|
+
<dd class="ui-data-list__value">{{ t('administrator', 'Administrator') }}</dd>
|
|
18
18
|
</div>
|
|
19
19
|
</dl>
|
|
20
20
|
|
|
@@ -22,16 +22,16 @@ title: Data List
|
|
|
22
22
|
<!-- Side-by-side label and value -->
|
|
23
23
|
<dl class="ui-data-list ui-data-list--horizontal">
|
|
24
24
|
<div class="ui-data-list__item">
|
|
25
|
-
<dt class="ui-data-list__label">Status</dt>
|
|
26
|
-
<dd class="ui-data-list__value">Active</dd>
|
|
25
|
+
<dt class="ui-data-list__label">{{ t('status', 'Status') }}</dt>
|
|
26
|
+
<dd class="ui-data-list__value">{{ t('active', 'Active') }}</dd>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="ui-data-list__item">
|
|
29
|
-
<dt class="ui-data-list__label">Created</dt>
|
|
30
|
-
<dd class="ui-data-list__value">Dec 8, 2025</dd>
|
|
29
|
+
<dt class="ui-data-list__label">{{ t('created', 'Created') }}</dt>
|
|
30
|
+
<dd class="ui-data-list__value">{{ t('dec_8_2025', 'Dec 8, 2025') }}</dd>
|
|
31
31
|
</div>
|
|
32
32
|
<div class="ui-data-list__item">
|
|
33
|
-
<dt class="ui-data-list__label">Updated</dt>
|
|
34
|
-
<dd class="ui-data-list__value">Dec 8, 2025</dd>
|
|
33
|
+
<dt class="ui-data-list__label">{{ t('updated', 'Updated') }}</dt>
|
|
34
|
+
<dd class="ui-data-list__value">{{ t('dec_8_2025', 'Dec 8, 2025') }}</dd>
|
|
35
35
|
</div>
|
|
36
36
|
</dl>
|
|
37
37
|
|
|
@@ -39,16 +39,16 @@ title: Data List
|
|
|
39
39
|
<!-- With separator lines between items -->
|
|
40
40
|
<dl class="ui-data-list ui-data-list--divided">
|
|
41
41
|
<div class="ui-data-list__item">
|
|
42
|
-
<dt class="ui-data-list__label">Order ID</dt>
|
|
43
|
-
<dd class="ui-data-list__value"
|
|
42
|
+
<dt class="ui-data-list__label">{{ t('order_id', 'Order ID') }}</dt>
|
|
43
|
+
<dd class="ui-data-list__value">{{ t('12345', '#12345') }}</dd>
|
|
44
44
|
</div>
|
|
45
45
|
<div class="ui-data-list__item">
|
|
46
|
-
<dt class="ui-data-list__label">Total</dt>
|
|
47
|
-
<dd class="ui-data-list__value"
|
|
46
|
+
<dt class="ui-data-list__label">{{ t('total', 'Total') }}</dt>
|
|
47
|
+
<dd class="ui-data-list__value">{{ t('9900', '$99.00') }}</dd>
|
|
48
48
|
</div>
|
|
49
49
|
<div class="ui-data-list__item">
|
|
50
|
-
<dt class="ui-data-list__label">Payment</dt>
|
|
51
|
-
<dd class="ui-data-list__value">Credit Card</dd>
|
|
50
|
+
<dt class="ui-data-list__label">{{ t('payment', 'Payment') }}</dt>
|
|
51
|
+
<dd class="ui-data-list__value">{{ t('credit_card', 'Credit Card') }}</dd>
|
|
52
52
|
</div>
|
|
53
53
|
</dl>
|
|
54
54
|
|
|
@@ -56,39 +56,39 @@ title: Data List
|
|
|
56
56
|
<!-- Alternating background for readability -->
|
|
57
57
|
<dl class="ui-data-list ui-data-list--striped">
|
|
58
58
|
<div class="ui-data-list__item">
|
|
59
|
-
<dt class="ui-data-list__label">CPU</dt>
|
|
60
|
-
<dd class="ui-data-list__value">Intel i7</dd>
|
|
59
|
+
<dt class="ui-data-list__label">{{ t('cpu', 'CPU') }}</dt>
|
|
60
|
+
<dd class="ui-data-list__value">{{ t('intel_i7', 'Intel i7') }}</dd>
|
|
61
61
|
</div>
|
|
62
62
|
<div class="ui-data-list__item">
|
|
63
|
-
<dt class="ui-data-list__label">Memory</dt>
|
|
64
|
-
<dd class="ui-data-list__value">16 GB</dd>
|
|
63
|
+
<dt class="ui-data-list__label">{{ t('memory', 'Memory') }}</dt>
|
|
64
|
+
<dd class="ui-data-list__value">{{ t('16_gb', '16 GB') }}</dd>
|
|
65
65
|
</div>
|
|
66
66
|
<div class="ui-data-list__item">
|
|
67
|
-
<dt class="ui-data-list__label">Storage</dt>
|
|
68
|
-
<dd class="ui-data-list__value">512 GB SSD</dd>
|
|
67
|
+
<dt class="ui-data-list__label">{{ t('storage', 'Storage') }}</dt>
|
|
68
|
+
<dd class="ui-data-list__value">{{ t('512_gb_ssd', '512 GB SSD') }}</dd>
|
|
69
69
|
</div>
|
|
70
70
|
<div class="ui-data-list__item">
|
|
71
|
-
<dt class="ui-data-list__label">Display</dt>
|
|
72
|
-
<dd class="ui-data-list__value">14" Retina</dd>
|
|
71
|
+
<dt class="ui-data-list__label">{{ t('display', 'Display') }}</dt>
|
|
72
|
+
<dd class="ui-data-list__value">{{ t('14_retina', '14" Retina') }}</dd>
|
|
73
73
|
</div>
|
|
74
74
|
</dl>
|
|
75
75
|
|
|
76
76
|
<!-- @sizes | column -->
|
|
77
77
|
<dl class="ui-data-list ui-data-list--sm">
|
|
78
78
|
<div class="ui-data-list__item">
|
|
79
|
-
<dt class="ui-data-list__label">Small</dt>
|
|
80
|
-
<dd class="ui-data-list__value">Compact display</dd>
|
|
79
|
+
<dt class="ui-data-list__label">{{ t('small', 'Small') }}</dt>
|
|
80
|
+
<dd class="ui-data-list__value">{{ t('compact_display', 'Compact display') }}</dd>
|
|
81
81
|
</div>
|
|
82
82
|
</dl>
|
|
83
83
|
<dl class="ui-data-list">
|
|
84
84
|
<div class="ui-data-list__item">
|
|
85
|
-
<dt class="ui-data-list__label">Default</dt>
|
|
86
|
-
<dd class="ui-data-list__value">Standard display</dd>
|
|
85
|
+
<dt class="ui-data-list__label">{{ t('default', 'Default') }}</dt>
|
|
86
|
+
<dd class="ui-data-list__value">{{ t('standard_display', 'Standard display') }}</dd>
|
|
87
87
|
</div>
|
|
88
88
|
</dl>
|
|
89
89
|
<dl class="ui-data-list ui-data-list--lg">
|
|
90
90
|
<div class="ui-data-list__item">
|
|
91
|
-
<dt class="ui-data-list__label">Large</dt>
|
|
92
|
-
<dd class="ui-data-list__value">Spacious display</dd>
|
|
91
|
+
<dt class="ui-data-list__label">{{ t('large', 'Large') }}</dt>
|
|
92
|
+
<dd class="ui-data-list__value">{{ t('spacious_display', 'Spacious display') }}</dd>
|
|
93
93
|
</div>
|
|
94
94
|
</dl>
|
|
@@ -20,23 +20,23 @@ description: CSS classes for sizing and styling SVG icons. Works with any stroke
|
|
|
20
20
|
<!-- Scale icons from extra small to extra large. -->
|
|
21
21
|
<div class="ui-column" style="align-items: center; gap: var(--ui-space-1)">
|
|
22
22
|
<svg class="ui-icon ui-icon--xs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>
|
|
23
|
-
<small>xs</small>
|
|
23
|
+
<small>{{ t('xs', 'xs') }}</small>
|
|
24
24
|
</div>
|
|
25
25
|
<div class="ui-column" style="align-items: center; gap: var(--ui-space-1)">
|
|
26
26
|
<svg class="ui-icon ui-icon--sm" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>
|
|
27
|
-
<small>sm</small>
|
|
27
|
+
<small>{{ t('sm', 'sm') }}</small>
|
|
28
28
|
</div>
|
|
29
29
|
<div class="ui-column" style="align-items: center; gap: var(--ui-space-1)">
|
|
30
30
|
<svg class="ui-icon ui-icon--md" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>
|
|
31
|
-
<small>md</small>
|
|
31
|
+
<small>{{ t('md', 'md') }}</small>
|
|
32
32
|
</div>
|
|
33
33
|
<div class="ui-column" style="align-items: center; gap: var(--ui-space-1)">
|
|
34
34
|
<svg class="ui-icon ui-icon--lg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>
|
|
35
|
-
<small>lg</small>
|
|
35
|
+
<small>{{ t('lg', 'lg') }}</small>
|
|
36
36
|
</div>
|
|
37
37
|
<div class="ui-column" style="align-items: center; gap: var(--ui-space-1)">
|
|
38
38
|
<svg class="ui-icon ui-icon--xl" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>
|
|
39
|
-
<small>xl</small>
|
|
39
|
+
<small>{{ t('xl', 'xl') }}</small>
|
|
40
40
|
</div>
|
|
41
41
|
|
|
42
42
|
<!-- @stroke_width | row -->
|
|
@@ -49,7 +49,7 @@ description: Responsive image with fallback placeholder, optional caption, and s
|
|
|
49
49
|
<!-- @caption -->
|
|
50
50
|
<figure class="ui-image ui-image--md ui-image--rounded">
|
|
51
51
|
<img class="ui-image__img" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='140'%3E%3Crect fill='%23ffb74d' width='192' height='140'/%3E%3C/svg%3E" alt="With caption"></img>
|
|
52
|
-
<figcaption class="ui-image__caption">An optional image caption</figcaption>
|
|
52
|
+
<figcaption class="ui-image__caption">{{ t('an_optional_image_caption', 'An optional image caption') }}</figcaption>
|
|
53
53
|
</figure>
|
|
54
54
|
|
|
55
55
|
<!-- @fallback | row -->
|
|
@@ -6,27 +6,27 @@ description: Statistic display with prominent value and descriptive label.
|
|
|
6
6
|
<!-- @default -->
|
|
7
7
|
<div class="ui-stat">
|
|
8
8
|
<span class="ui-stat__value">2,847</span>
|
|
9
|
-
<span class="ui-stat__label">Total users</span>
|
|
9
|
+
<span class="ui-stat__label">{{ t('total_users', 'Total users') }}</span>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
12
|
<!-- @multiple_stats -->
|
|
13
13
|
<div class="ui-row ui-row--lg">
|
|
14
14
|
<div class="ui-stat">
|
|
15
|
-
<span class="ui-stat__value">12.5k</span>
|
|
16
|
-
<span class="ui-stat__label">Revenue</span>
|
|
15
|
+
<span class="ui-stat__value">{{ t('125k', '12.5k') }}</span>
|
|
16
|
+
<span class="ui-stat__label">{{ t('revenue', 'Revenue') }}</span>
|
|
17
17
|
</div>
|
|
18
18
|
<div class="ui-stat">
|
|
19
19
|
<span class="ui-stat__value">573</span>
|
|
20
|
-
<span class="ui-stat__label">Orders</span>
|
|
20
|
+
<span class="ui-stat__label">{{ t('orders', 'Orders') }}</span>
|
|
21
21
|
</div>
|
|
22
22
|
<div class="ui-stat">
|
|
23
23
|
<span class="ui-stat__value">98%</span>
|
|
24
|
-
<span class="ui-stat__label">Satisfaction</span>
|
|
24
|
+
<span class="ui-stat__label">{{ t('satisfaction', 'Satisfaction') }}</span>
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
27
|
|
|
28
28
|
<!-- @small -->
|
|
29
29
|
<div class="ui-stat ui-stat--sm">
|
|
30
30
|
<span class="ui-stat__value">42</span>
|
|
31
|
-
<span class="ui-stat__label">Active now</span>
|
|
31
|
+
<span class="ui-stat__label">{{ t('active_now', 'Active now') }}</span>
|
|
32
32
|
</div>
|
|
@@ -7,23 +7,23 @@ description: Visual status indicator with colored dot to show state.
|
|
|
7
7
|
<div style="display: flex; flex-direction: column; gap: var(--ui-space-2);">
|
|
8
8
|
<span class="ui-status">
|
|
9
9
|
<span class="ui-status__dot"></span>
|
|
10
|
-
Default
|
|
10
|
+
{{ t('default', 'Default') }}
|
|
11
11
|
</span>
|
|
12
12
|
<span class="ui-status ui-status--success">
|
|
13
13
|
<span class="ui-status__dot"></span>
|
|
14
|
-
Online
|
|
14
|
+
{{ t('online', 'Online') }}
|
|
15
15
|
</span>
|
|
16
16
|
<span class="ui-status ui-status--warning">
|
|
17
17
|
<span class="ui-status__dot"></span>
|
|
18
|
-
Away
|
|
18
|
+
{{ t('away', 'Away') }}
|
|
19
19
|
</span>
|
|
20
20
|
<span class="ui-status ui-status--danger">
|
|
21
21
|
<span class="ui-status__dot"></span>
|
|
22
|
-
Busy
|
|
22
|
+
{{ t('busy', 'Busy') }}
|
|
23
23
|
</span>
|
|
24
24
|
<span class="ui-status ui-status--info">
|
|
25
25
|
<span class="ui-status__dot"></span>
|
|
26
|
-
In a meeting
|
|
26
|
+
{{ t('in_a_meeting', 'In a meeting') }}
|
|
27
27
|
</span>
|
|
28
28
|
</div>
|
|
29
29
|
|
|
@@ -31,15 +31,15 @@ In a meeting
|
|
|
31
31
|
<div style="display: flex; gap: var(--ui-space-4); align-items: center;">
|
|
32
32
|
<span class="ui-status ui-status--success ui-status--sm">
|
|
33
33
|
<span class="ui-status__dot"></span>
|
|
34
|
-
Small
|
|
34
|
+
{{ t('small', 'Small') }}
|
|
35
35
|
</span>
|
|
36
36
|
<span class="ui-status ui-status--success">
|
|
37
37
|
<span class="ui-status__dot"></span>
|
|
38
|
-
Default
|
|
38
|
+
{{ t('default', 'Default') }}
|
|
39
39
|
</span>
|
|
40
40
|
<span class="ui-status ui-status--success ui-status--lg">
|
|
41
41
|
<span class="ui-status__dot"></span>
|
|
42
|
-
Large
|
|
42
|
+
{{ t('large', 'Large') }}
|
|
43
43
|
</span>
|
|
44
44
|
</div>
|
|
45
45
|
|
|
@@ -47,7 +47,7 @@ Large
|
|
|
47
47
|
<!-- For live or active indicators -->
|
|
48
48
|
<span class="ui-status ui-status--success ui-status--pulse">
|
|
49
49
|
<span class="ui-status__dot"></span>
|
|
50
|
-
Live
|
|
50
|
+
{{ t('live', 'Live') }}
|
|
51
51
|
</span>
|
|
52
52
|
|
|
53
53
|
<!-- @dot_only -->
|
|
@@ -7,17 +7,17 @@ description: Styled table with header formatting and optional variants.
|
|
|
7
7
|
<table class="ui-table">
|
|
8
8
|
<thead>
|
|
9
9
|
<tr>
|
|
10
|
-
<th>Name</th>
|
|
11
|
-
<th>Value</th>
|
|
10
|
+
<th>{{ t('name', 'Name') }}</th>
|
|
11
|
+
<th>{{ t('value', 'Value') }}</th>
|
|
12
12
|
</tr>
|
|
13
13
|
</thead>
|
|
14
14
|
<tbody>
|
|
15
15
|
<tr>
|
|
16
|
-
<td>Alpha</td>
|
|
16
|
+
<td>{{ t('alpha', 'Alpha') }}</td>
|
|
17
17
|
<td>100</td>
|
|
18
18
|
</tr>
|
|
19
19
|
<tr>
|
|
20
|
-
<td>Beta</td>
|
|
20
|
+
<td>{{ t('beta', 'Beta') }}</td>
|
|
21
21
|
<td>200</td>
|
|
22
22
|
</tr>
|
|
23
23
|
</tbody>
|
|
@@ -27,8 +27,8 @@ description: Styled table with header formatting and optional variants.
|
|
|
27
27
|
<table class="ui-table ui-table--compact">
|
|
28
28
|
<thead>
|
|
29
29
|
<tr>
|
|
30
|
-
<th>Token</th>
|
|
31
|
-
<th>Value</th>
|
|
30
|
+
<th>{{ t('token', 'Token') }}</th>
|
|
31
|
+
<th>{{ t('value', 'Value') }}</th>
|
|
32
32
|
</tr>
|
|
33
33
|
</thead>
|
|
34
34
|
<tbody>
|
|
@@ -49,22 +49,22 @@ description: Styled table with header formatting and optional variants.
|
|
|
49
49
|
<table class="ui-table ui-table--striped">
|
|
50
50
|
<thead>
|
|
51
51
|
<tr>
|
|
52
|
-
<th>Item</th>
|
|
53
|
-
<th>Status</th>
|
|
52
|
+
<th>{{ t('item', 'Item') }}</th>
|
|
53
|
+
<th>{{ t('status', 'Status') }}</th>
|
|
54
54
|
</tr>
|
|
55
55
|
</thead>
|
|
56
56
|
<tbody>
|
|
57
57
|
<tr>
|
|
58
|
-
<td>Task 1</td>
|
|
59
|
-
<td>Done</td>
|
|
58
|
+
<td>{{ t('task_1', 'Task 1') }}</td>
|
|
59
|
+
<td>{{ t('done', 'Done') }}</td>
|
|
60
60
|
</tr>
|
|
61
61
|
<tr>
|
|
62
|
-
<td>Task 2</td>
|
|
63
|
-
<td>Pending</td>
|
|
62
|
+
<td>{{ t('task_2', 'Task 2') }}</td>
|
|
63
|
+
<td>{{ t('pending', 'Pending') }}</td>
|
|
64
64
|
</tr>
|
|
65
65
|
<tr>
|
|
66
|
-
<td>Task 3</td>
|
|
67
|
-
<td>Done</td>
|
|
66
|
+
<td>{{ t('task_3', 'Task 3') }}</td>
|
|
67
|
+
<td>{{ t('done', 'Done') }}</td>
|
|
68
68
|
</tr>
|
|
69
69
|
</tbody>
|
|
70
70
|
</table>
|
|
@@ -4,26 +4,26 @@ description: Keyword labels for categorization. Use for filtering, attributes, o
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
<!-- @default | row -->
|
|
7
|
-
<span class="ui-tag">Tag</span>
|
|
8
|
-
<span class="ui-tag">Category</span>
|
|
9
|
-
<span class="ui-tag">Label</span>
|
|
7
|
+
<span class="ui-tag">{{ t('tag', 'Tag') }}</span>
|
|
8
|
+
<span class="ui-tag">{{ t('category', 'Category') }}</span>
|
|
9
|
+
<span class="ui-tag">{{ t('label', 'Label') }}</span>
|
|
10
10
|
|
|
11
11
|
<!-- @sizes | row -->
|
|
12
|
-
<span class="ui-tag ui-tag--sm">Small</span>
|
|
13
|
-
<span class="ui-tag">Default</span>
|
|
14
|
-
<span class="ui-tag ui-tag--lg">Large</span>
|
|
12
|
+
<span class="ui-tag ui-tag--sm">{{ t('small', 'Small') }}</span>
|
|
13
|
+
<span class="ui-tag">{{ t('default', 'Default') }}</span>
|
|
14
|
+
<span class="ui-tag ui-tag--lg">{{ t('large', 'Large') }}</span>
|
|
15
15
|
|
|
16
16
|
<!-- @variants | row -->
|
|
17
|
-
<span class="ui-tag">Default</span>
|
|
18
|
-
<span class="ui-tag ui-tag--primary">Primary</span>
|
|
19
|
-
<span class="ui-tag ui-tag--success">Success</span>
|
|
20
|
-
<span class="ui-tag ui-tag--warning">Warning</span>
|
|
21
|
-
<span class="ui-tag ui-tag--danger">Danger</span>
|
|
17
|
+
<span class="ui-tag">{{ t('default', 'Default') }}</span>
|
|
18
|
+
<span class="ui-tag ui-tag--primary">{{ t('primary', 'Primary') }}</span>
|
|
19
|
+
<span class="ui-tag ui-tag--success">{{ t('success', 'Success') }}</span>
|
|
20
|
+
<span class="ui-tag ui-tag--warning">{{ t('warning', 'Warning') }}</span>
|
|
21
|
+
<span class="ui-tag ui-tag--danger">{{ t('danger', 'Danger') }}</span>
|
|
22
22
|
|
|
23
23
|
<!-- @with_remove_button -->
|
|
24
24
|
<span class="ui-tag">
|
|
25
|
-
<span>Removable</span>
|
|
26
|
-
<button class="ui-tag__remove" aria-label="Remove">
|
|
25
|
+
<span>{{ t('removable', 'Removable') }}</span>
|
|
26
|
+
<button class="ui-tag__remove" aria-label="{{ t('remove', 'Remove') }}">
|
|
27
27
|
<svg class="ui-icon ui-icon--xs" viewBox="0 0 24 24">
|
|
28
28
|
<path d="M18 6 6 18M6 6l12 12"></path>
|
|
29
29
|
</svg>
|
|
@@ -32,8 +32,8 @@ description: Keyword labels for categorization. Use for filtering, attributes, o
|
|
|
32
32
|
|
|
33
33
|
<!-- @tag_group -->
|
|
34
34
|
<div class="ui-tag-group">
|
|
35
|
-
<span class="ui-tag">JavaScript</span>
|
|
36
|
-
<span class="ui-tag">TypeScript</span>
|
|
37
|
-
<span class="ui-tag">React</span>
|
|
38
|
-
<span class="ui-tag">CSS</span>
|
|
35
|
+
<span class="ui-tag">{{ t('javascript', 'JavaScript') }}</span>
|
|
36
|
+
<span class="ui-tag">{{ t('typescript', 'TypeScript') }}</span>
|
|
37
|
+
<span class="ui-tag">{{ t('react', 'React') }}</span>
|
|
38
|
+
<span class="ui-tag">{{ t('css', 'CSS') }}</span>
|
|
39
39
|
</div>
|
|
@@ -7,29 +7,29 @@ description: Container for grouped expandable sections. Use with disclosure comp
|
|
|
7
7
|
<div class="ui-accordion">
|
|
8
8
|
<details class="ui-disclosure">
|
|
9
9
|
<summary class="ui-disclosure__trigger">
|
|
10
|
-
Section 1
|
|
10
|
+
{{ t('section_1', 'Section 1') }}
|
|
11
11
|
<span class="ui-disclosure__icon">▾</span>
|
|
12
12
|
</summary>
|
|
13
13
|
<div class="ui-disclosure__content">
|
|
14
|
-
<p>Content for section 1</p>
|
|
14
|
+
<p>{{ t('content_for_section_1', 'Content for section 1') }}</p>
|
|
15
15
|
</div>
|
|
16
16
|
</details>
|
|
17
17
|
<details class="ui-disclosure">
|
|
18
18
|
<summary class="ui-disclosure__trigger">
|
|
19
|
-
Section 2
|
|
19
|
+
{{ t('section_2', 'Section 2') }}
|
|
20
20
|
<span class="ui-disclosure__icon">▾</span>
|
|
21
21
|
</summary>
|
|
22
22
|
<div class="ui-disclosure__content">
|
|
23
|
-
<p>Content for section 2</p>
|
|
23
|
+
<p>{{ t('content_for_section_2', 'Content for section 2') }}</p>
|
|
24
24
|
</div>
|
|
25
25
|
</details>
|
|
26
26
|
<details class="ui-disclosure">
|
|
27
27
|
<summary class="ui-disclosure__trigger">
|
|
28
|
-
Section 3
|
|
28
|
+
{{ t('section_3', 'Section 3') }}
|
|
29
29
|
<span class="ui-disclosure__icon">▾</span>
|
|
30
30
|
</summary>
|
|
31
31
|
<div class="ui-disclosure__content">
|
|
32
|
-
<p>Content for section 3</p>
|
|
32
|
+
<p>{{ t('content_for_section_3', 'Content for section 3') }}</p>
|
|
33
33
|
</div>
|
|
34
34
|
</details>
|
|
35
35
|
</div>
|
|
@@ -39,20 +39,20 @@ Section 3
|
|
|
39
39
|
<div class="ui-accordion ui-accordion--separated">
|
|
40
40
|
<details class="ui-disclosure">
|
|
41
41
|
<summary class="ui-disclosure__trigger">
|
|
42
|
-
Section 1
|
|
42
|
+
{{ t('section_1', 'Section 1') }}
|
|
43
43
|
<span class="ui-disclosure__icon">▾</span>
|
|
44
44
|
</summary>
|
|
45
45
|
<div class="ui-disclosure__content">
|
|
46
|
-
<p>Content for section 1</p>
|
|
46
|
+
<p>{{ t('content_for_section_1', 'Content for section 1') }}</p>
|
|
47
47
|
</div>
|
|
48
48
|
</details>
|
|
49
49
|
<details class="ui-disclosure">
|
|
50
50
|
<summary class="ui-disclosure__trigger">
|
|
51
|
-
Section 2
|
|
51
|
+
{{ t('section_2', 'Section 2') }}
|
|
52
52
|
<span class="ui-disclosure__icon">▾</span>
|
|
53
53
|
</summary>
|
|
54
54
|
<div class="ui-disclosure__content">
|
|
55
|
-
<p>Content for section 2</p>
|
|
55
|
+
<p>{{ t('content_for_section_2', 'Content for section 2') }}</p>
|
|
56
56
|
</div>
|
|
57
57
|
</details>
|
|
58
58
|
</div>
|
|
@@ -61,20 +61,20 @@ Section 2
|
|
|
61
61
|
<div class="ui-accordion">
|
|
62
62
|
<details class="ui-disclosure" open>
|
|
63
63
|
<summary class="ui-disclosure__trigger">
|
|
64
|
-
Open Section
|
|
64
|
+
{{ t('open_section', 'Open Section') }}
|
|
65
65
|
<span class="ui-disclosure__icon">▾</span>
|
|
66
66
|
</summary>
|
|
67
67
|
<div class="ui-disclosure__content">
|
|
68
|
-
<p>This section starts open</p>
|
|
68
|
+
<p>{{ t('this_section_starts_open', 'This section starts open') }}</p>
|
|
69
69
|
</div>
|
|
70
70
|
</details>
|
|
71
71
|
<details class="ui-disclosure">
|
|
72
72
|
<summary class="ui-disclosure__trigger">
|
|
73
|
-
Closed Section
|
|
73
|
+
{{ t('closed_section', 'Closed Section') }}
|
|
74
74
|
<span class="ui-disclosure__icon">▾</span>
|
|
75
75
|
</summary>
|
|
76
76
|
<div class="ui-disclosure__content">
|
|
77
|
-
<p>Click to open</p>
|
|
77
|
+
<p>{{ t('click_to_open', 'Click to open') }}</p>
|
|
78
78
|
</div>
|
|
79
79
|
</details>
|
|
80
80
|
</div>
|
|
@@ -6,43 +6,43 @@ description: Expandable/collapsible content section. Uses native details/summary
|
|
|
6
6
|
<!-- @default -->
|
|
7
7
|
<details class="ui-disclosure">
|
|
8
8
|
<summary class="ui-disclosure__trigger">
|
|
9
|
-
Click to expand
|
|
9
|
+
{{ t('click_to_expand', 'Click to expand') }}
|
|
10
10
|
<span class="ui-disclosure__icon">▾</span>
|
|
11
11
|
</summary>
|
|
12
12
|
<div class="ui-disclosure__content">
|
|
13
|
-
<p>Hidden content that expands when clicked
|
|
13
|
+
<p>{{ t('hidden_content_that_expands_when_clicked', 'Hidden content that expands when clicked.') }}</p>
|
|
14
14
|
</div>
|
|
15
15
|
</details>
|
|
16
16
|
|
|
17
17
|
<!-- @open_by_default -->
|
|
18
18
|
<details class="ui-disclosure" open>
|
|
19
19
|
<summary class="ui-disclosure__trigger">
|
|
20
|
-
Already expanded
|
|
20
|
+
{{ t('already_expanded', 'Already expanded') }}
|
|
21
21
|
<span class="ui-disclosure__icon">▾</span>
|
|
22
22
|
</summary>
|
|
23
23
|
<div class="ui-disclosure__content">
|
|
24
|
-
<p>This content is visible by default
|
|
24
|
+
<p>{{ t('this_content_is_visible_by_default', 'This content is visible by default.') }}</p>
|
|
25
25
|
</div>
|
|
26
26
|
</details>
|
|
27
27
|
|
|
28
28
|
<!-- @borderless -->
|
|
29
29
|
<details class="ui-disclosure ui-disclosure--borderless">
|
|
30
30
|
<summary class="ui-disclosure__trigger">
|
|
31
|
-
Borderless disclosure
|
|
31
|
+
{{ t('borderless_disclosure', 'Borderless disclosure') }}
|
|
32
32
|
<span class="ui-disclosure__icon">▾</span>
|
|
33
33
|
</summary>
|
|
34
34
|
<div class="ui-disclosure__content">
|
|
35
|
-
<p>No border around the disclosure
|
|
35
|
+
<p>{{ t('no_border_around_the_disclosure', 'No border around the disclosure.') }}</p>
|
|
36
36
|
</div>
|
|
37
37
|
</details>
|
|
38
38
|
|
|
39
39
|
<!-- @animated -->
|
|
40
40
|
<details class="ui-disclosure ui-disclosure--animate">
|
|
41
41
|
<summary class="ui-disclosure__trigger">
|
|
42
|
-
Animated expansion
|
|
42
|
+
{{ t('animated_expansion', 'Animated expansion') }}
|
|
43
43
|
<span class="ui-disclosure__icon">▾</span>
|
|
44
44
|
</summary>
|
|
45
45
|
<div class="ui-disclosure__content">
|
|
46
|
-
<p>Content animates in when opened
|
|
46
|
+
<p>{{ t('content_animates_in_when_opened', 'Content animates in when opened.') }}</p>
|
|
47
47
|
</div>
|
|
48
48
|
</details>
|