@teseor/css 1.15.2 → 1.15.5
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/dist/compiled.css +1 -1
- package/dist/index.css +16 -16
- 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/index.scss +6 -6
- 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/card/index.scss +2 -2
- 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/progress/index.scss +3 -3
- 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/field/index.scss +3 -3
- 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/number-input/index.scss +2 -2
- package/src/components/forms/password-input/docs.html +14 -14
- package/src/components/forms/password-input/index.scss +2 -2
- 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/search-input/index.scss +2 -2
- 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/forms/toggle/index.scss +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/dropdown-menu/index.scss +2 -2
- package/src/components/navigation/menu/docs.html +25 -25
- package/src/components/navigation/menu/index.scss +2 -2
- 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/link/index.scss +2 -2
- 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/_variables.scss +14 -0
- 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 +12 -12
- package/src/layout/footer/docs.html +16 -16
- package/src/layout/grid/docs.html +25 -25
- package/src/layout/grid/index.scss +4 -2
- package/src/layout/main/docs.html +3 -3
- package/src/layout/nav-rail/docs.html +6 -6
- 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/sidebar-nav/index.scss +2 -2
- 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
|
@@ -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>
|
|
@@ -6,8 +6,8 @@ description: Informational banner for important messages. Use variants for diffe
|
|
|
6
6
|
<!-- @default -->
|
|
7
7
|
<div class="ui-alert">
|
|
8
8
|
<div class="ui-alert__content">
|
|
9
|
-
<p class="ui-alert__title">Note</p>
|
|
10
|
-
<p class="ui-alert__description">This is a default alert message
|
|
9
|
+
<p class="ui-alert__title">{{ t('note', 'Note') }}</p>
|
|
10
|
+
<p class="ui-alert__description">{{ t('this_is_a_default_alert_message', 'This is a default alert message.') }}</p>
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -15,26 +15,26 @@ description: Informational banner for important messages. Use variants for diffe
|
|
|
15
15
|
<div class="ui-column" style="--column-gap: var(--ui-space-2);">
|
|
16
16
|
<div class="ui-alert ui-alert--info">
|
|
17
17
|
<div class="ui-alert__content">
|
|
18
|
-
<p class="ui-alert__title">Info</p>
|
|
19
|
-
<p class="ui-alert__description">Informational message for the user
|
|
18
|
+
<p class="ui-alert__title">{{ t('info', 'Info') }}</p>
|
|
19
|
+
<p class="ui-alert__description">{{ t('informational_message_for_the_user', 'Informational message for the user.') }}</p>
|
|
20
20
|
</div>
|
|
21
21
|
</div>
|
|
22
22
|
<div class="ui-alert ui-alert--success">
|
|
23
23
|
<div class="ui-alert__content">
|
|
24
|
-
<p class="ui-alert__title">Success</p>
|
|
25
|
-
<p class="ui-alert__description">Your action was completed successfully
|
|
24
|
+
<p class="ui-alert__title">{{ t('success', 'Success') }}</p>
|
|
25
|
+
<p class="ui-alert__description">{{ t('your_action_was_completed_successfully', 'Your action was completed successfully.') }}</p>
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="ui-alert ui-alert--warning">
|
|
29
29
|
<div class="ui-alert__content">
|
|
30
|
-
<p class="ui-alert__title">Warning</p>
|
|
31
|
-
<p class="ui-alert__description">Please review before continuing
|
|
30
|
+
<p class="ui-alert__title">{{ t('warning', 'Warning') }}</p>
|
|
31
|
+
<p class="ui-alert__description">{{ t('please_review_before_continuing', 'Please review before continuing.') }}</p>
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
34
|
<div class="ui-alert ui-alert--danger">
|
|
35
35
|
<div class="ui-alert__content">
|
|
36
|
-
<p class="ui-alert__title">Error</p>
|
|
37
|
-
<p class="ui-alert__description">Something went wrong. Please try again
|
|
36
|
+
<p class="ui-alert__title">{{ t('error', 'Error') }}</p>
|
|
37
|
+
<p class="ui-alert__description">{{ t('something_went_wrong_please_try_again', 'Something went wrong. Please try again.') }}</p>
|
|
38
38
|
</div>
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
@@ -47,14 +47,14 @@ description: Informational banner for important messages. Use variants for diffe
|
|
|
47
47
|
<path d="M12 8h.01"></path>
|
|
48
48
|
</svg>
|
|
49
49
|
<div class="ui-alert__content">
|
|
50
|
-
<p class="ui-alert__description">Your session will expire in 5 minutes
|
|
50
|
+
<p class="ui-alert__description">{{ t('your_session_will_expire_in_5_minutes', 'Your session will expire in 5 minutes.') }}</p>
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
53
53
|
|
|
54
54
|
<!-- @description_only -->
|
|
55
55
|
<div class="ui-alert ui-alert--success">
|
|
56
56
|
<div class="ui-alert__content">
|
|
57
|
-
<p class="ui-alert__description">File uploaded successfully
|
|
57
|
+
<p class="ui-alert__description">{{ t('file_uploaded_successfully', 'File uploaded successfully.') }}</p>
|
|
58
58
|
</div>
|
|
59
59
|
</div>
|
|
60
60
|
|
|
@@ -62,17 +62,17 @@ description: Informational banner for important messages. Use variants for diffe
|
|
|
62
62
|
<div class="ui-column" style="--column-gap: var(--ui-space-2);">
|
|
63
63
|
<div class="ui-alert ui-alert--info ui-alert--sm">
|
|
64
64
|
<div class="ui-alert__content">
|
|
65
|
-
<p class="ui-alert__description">Small alert with compact padding
|
|
65
|
+
<p class="ui-alert__description">{{ t('small_alert_with_compact_padding', 'Small alert with compact padding.') }}</p>
|
|
66
66
|
</div>
|
|
67
67
|
</div>
|
|
68
68
|
<div class="ui-alert ui-alert--info">
|
|
69
69
|
<div class="ui-alert__content">
|
|
70
|
-
<p class="ui-alert__description">Default alert size
|
|
70
|
+
<p class="ui-alert__description">{{ t('default_alert_size', 'Default alert size.') }}</p>
|
|
71
71
|
</div>
|
|
72
72
|
</div>
|
|
73
73
|
<div class="ui-alert ui-alert--info ui-alert--lg">
|
|
74
74
|
<div class="ui-alert__content">
|
|
75
|
-
<p class="ui-alert__description">Large alert with extra padding
|
|
75
|
+
<p class="ui-alert__description">{{ t('large_alert_with_extra_padding', 'Large alert with extra padding.') }}</p>
|
|
76
76
|
</div>
|
|
77
77
|
</div>
|
|
78
78
|
</div>
|
|
@@ -80,8 +80,8 @@ description: Informational banner for important messages. Use variants for diffe
|
|
|
80
80
|
<!-- @dismissible -->
|
|
81
81
|
<div class="ui-alert ui-alert--info ui-alert--dismissible">
|
|
82
82
|
<div class="ui-alert__content">
|
|
83
|
-
<p class="ui-alert__title">Dismissible</p>
|
|
84
|
-
<p class="ui-alert__description">This alert can be closed by the user
|
|
83
|
+
<p class="ui-alert__title">{{ t('dismissible', 'Dismissible') }}</p>
|
|
84
|
+
<p class="ui-alert__description">{{ t('this_alert_can_be_closed_by_the_user', 'This alert can be closed by the user.') }}</p>
|
|
85
85
|
</div>
|
|
86
|
-
<button class="ui-alert__close ui-close-button" aria-label="Close"></button>
|
|
86
|
+
<button class="ui-alert__close ui-close-button" aria-label="{{ t('close', 'Close') }}"></button>
|
|
87
87
|
</div>
|
|
@@ -4,7 +4,7 @@ description: Progress bar indicator showing completion status. Use aria-valuenow
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
<!-- @default -->
|
|
7
|
-
<div class="ui-progress" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" aria-label="Loading">
|
|
7
|
+
<div class="ui-progress" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" aria-label="{{ t('loading', 'Loading') }}">
|
|
8
8
|
<div class="ui-progress__bar" style="width: 60%;"></div>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
@@ -46,7 +46,7 @@ description: Progress bar indicator showing completion status. Use aria-valuenow
|
|
|
46
46
|
|
|
47
47
|
<!-- @indeterminate -->
|
|
48
48
|
<!-- For unknown progress duration -->
|
|
49
|
-
<div class="ui-progress ui-progress--indeterminate" role="progressbar" aria-label="Loading">
|
|
49
|
+
<div class="ui-progress ui-progress--indeterminate" role="progressbar" aria-label="{{ t('loading', 'Loading') }}">
|
|
50
50
|
<div class="ui-progress__bar"></div>
|
|
51
51
|
</div>
|
|
52
52
|
|
|
@@ -100,11 +100,11 @@
|
|
|
100
100
|
.progress--striped .progress__bar {
|
|
101
101
|
background-image: linear-gradient(
|
|
102
102
|
45deg,
|
|
103
|
-
|
|
103
|
+
#{t.$stripe-highlight} 25%,
|
|
104
104
|
transparent 25%,
|
|
105
105
|
transparent 50%,
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
#{t.$stripe-highlight} 50%,
|
|
107
|
+
#{t.$stripe-highlight} 75%,
|
|
108
108
|
transparent 75%,
|
|
109
109
|
transparent
|
|
110
110
|
);
|
|
@@ -4,48 +4,48 @@ title: Toast
|
|
|
4
4
|
|
|
5
5
|
<!-- @default -->
|
|
6
6
|
<div class="ui-toast">
|
|
7
|
-
<span class="ui-toast__icon">i</span>
|
|
7
|
+
<span class="ui-toast__icon">{{ t('i', 'i') }}</span>
|
|
8
8
|
<div class="ui-toast__content">
|
|
9
|
-
<p class="ui-toast__title">Notification</p>
|
|
10
|
-
<p class="ui-toast__description">Your changes have been saved
|
|
9
|
+
<p class="ui-toast__title">{{ t('notification', 'Notification') }}</p>
|
|
10
|
+
<p class="ui-toast__description">{{ t('your_changes_have_been_saved', 'Your changes have been saved.') }}</p>
|
|
11
11
|
</div>
|
|
12
|
-
<button class="ui-toast__close">X</button>
|
|
12
|
+
<button class="ui-toast__close">{{ t('x', 'X') }}</button>
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
<!-- @variants | column -->
|
|
16
16
|
<div class="ui-toast ui-toast--success">
|
|
17
17
|
<div class="ui-toast__content">
|
|
18
|
-
<p class="ui-toast__title">Success</p>
|
|
19
|
-
<p class="ui-toast__description">Operation completed successfully
|
|
18
|
+
<p class="ui-toast__title">{{ t('success', 'Success') }}</p>
|
|
19
|
+
<p class="ui-toast__description">{{ t('operation_completed_successfully', 'Operation completed successfully.') }}</p>
|
|
20
20
|
</div>
|
|
21
21
|
</div>
|
|
22
22
|
<div class="ui-toast ui-toast--warning">
|
|
23
23
|
<div class="ui-toast__content">
|
|
24
|
-
<p class="ui-toast__title">Warning</p>
|
|
25
|
-
<p class="ui-toast__description">Please review before continuing
|
|
24
|
+
<p class="ui-toast__title">{{ t('warning', 'Warning') }}</p>
|
|
25
|
+
<p class="ui-toast__description">{{ t('please_review_before_continuing', 'Please review before continuing.') }}</p>
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="ui-toast ui-toast--danger">
|
|
29
29
|
<div class="ui-toast__content">
|
|
30
|
-
<p class="ui-toast__title">Error</p>
|
|
31
|
-
<p class="ui-toast__description">Something went wrong
|
|
30
|
+
<p class="ui-toast__title">{{ t('error', 'Error') }}</p>
|
|
31
|
+
<p class="ui-toast__description">{{ t('something_went_wrong', 'Something went wrong.') }}</p>
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
34
|
<div class="ui-toast ui-toast--info">
|
|
35
35
|
<div class="ui-toast__content">
|
|
36
|
-
<p class="ui-toast__title">Info</p>
|
|
37
|
-
<p class="ui-toast__description">New updates available
|
|
36
|
+
<p class="ui-toast__title">{{ t('info', 'Info') }}</p>
|
|
37
|
+
<p class="ui-toast__description">{{ t('new_updates_available', 'New updates available.') }}</p>
|
|
38
38
|
</div>
|
|
39
39
|
</div>
|
|
40
40
|
|
|
41
41
|
<!-- @with_action -->
|
|
42
42
|
<div class="ui-toast">
|
|
43
43
|
<div class="ui-toast__content">
|
|
44
|
-
<p class="ui-toast__title">File deleted</p>
|
|
45
|
-
<p class="ui-toast__description">document.pdf was moved to trash
|
|
44
|
+
<p class="ui-toast__title">{{ t('file_deleted', 'File deleted') }}</p>
|
|
45
|
+
<p class="ui-toast__description">{{ t('documentpdf_was_moved_to_trash', 'document.pdf was moved to trash.') }}</p>
|
|
46
46
|
</div>
|
|
47
|
-
<button class="ui-toast__action ui-button ui-button--sm ui-button--secondary">Undo</button>
|
|
48
|
-
<button class="ui-toast__close">X</button>
|
|
47
|
+
<button class="ui-toast__action ui-button ui-button--sm ui-button--secondary">{{ t('undo', 'Undo') }}</button>
|
|
48
|
+
<button class="ui-toast__close">{{ t('x', 'X') }}</button>
|
|
49
49
|
</div>
|
|
50
50
|
|
|
51
51
|
<!-- @viewport_positions | column -->
|
|
@@ -54,7 +54,7 @@ title: Toast
|
|
|
54
54
|
<div class="ui-toast-viewport ui-toast-viewport--top-end" style="position:absolute">
|
|
55
55
|
<div class="ui-toast">
|
|
56
56
|
<div class="ui-toast__content">
|
|
57
|
-
<p class="ui-toast__title">Top End</p>
|
|
57
|
+
<p class="ui-toast__title">{{ t('top_end', 'Top End') }}</p>
|
|
58
58
|
</div>
|
|
59
59
|
</div>
|
|
60
60
|
</div>
|
|
@@ -63,7 +63,7 @@ title: Toast
|
|
|
63
63
|
<div class="ui-toast-viewport ui-toast-viewport--bottom-end" style="position:absolute">
|
|
64
64
|
<div class="ui-toast">
|
|
65
65
|
<div class="ui-toast__content">
|
|
66
|
-
<p class="ui-toast__title">Bottom End</p>
|
|
66
|
+
<p class="ui-toast__title">{{ t('bottom_end', 'Bottom End') }}</p>
|
|
67
67
|
</div>
|
|
68
68
|
</div>
|
|
69
69
|
</div>
|
|
@@ -72,7 +72,7 @@ title: Toast
|
|
|
72
72
|
<div class="ui-toast-viewport ui-toast-viewport--top-start" style="position:absolute">
|
|
73
73
|
<div class="ui-toast">
|
|
74
74
|
<div class="ui-toast__content">
|
|
75
|
-
<p class="ui-toast__title">Top Start</p>
|
|
75
|
+
<p class="ui-toast__title">{{ t('top_start', 'Top Start') }}</p>
|
|
76
76
|
</div>
|
|
77
77
|
</div>
|
|
78
78
|
</div>
|
|
@@ -81,7 +81,7 @@ title: Toast
|
|
|
81
81
|
<div class="ui-toast-viewport ui-toast-viewport--top-center" style="position:absolute">
|
|
82
82
|
<div class="ui-toast">
|
|
83
83
|
<div class="ui-toast__content">
|
|
84
|
-
<p class="ui-toast__title">Top Center</p>
|
|
84
|
+
<p class="ui-toast__title">{{ t('top_center', 'Top Center') }}</p>
|
|
85
85
|
</div>
|
|
86
86
|
</div>
|
|
87
87
|
</div>
|
|
@@ -90,7 +90,7 @@ title: Toast
|
|
|
90
90
|
<div class="ui-toast-viewport ui-toast-viewport--bottom-start" style="position:absolute">
|
|
91
91
|
<div class="ui-toast">
|
|
92
92
|
<div class="ui-toast__content">
|
|
93
|
-
<p class="ui-toast__title">Bottom Start</p>
|
|
93
|
+
<p class="ui-toast__title">{{ t('bottom_start', 'Bottom Start') }}</p>
|
|
94
94
|
</div>
|
|
95
95
|
</div>
|
|
96
96
|
</div>
|
|
@@ -99,7 +99,7 @@ title: Toast
|
|
|
99
99
|
<div class="ui-toast-viewport ui-toast-viewport--bottom-center" style="position:absolute">
|
|
100
100
|
<div class="ui-toast">
|
|
101
101
|
<div class="ui-toast__content">
|
|
102
|
-
<p class="ui-toast__title">Bottom Center</p>
|
|
102
|
+
<p class="ui-toast__title">{{ t('bottom_center', 'Bottom Center') }}</p>
|
|
103
103
|
</div>
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
@@ -26,5 +26,5 @@ description: Native checkbox input with custom styling. Supports checked, indete
|
|
|
26
26
|
<!-- @with_label -->
|
|
27
27
|
<label class="ui-row" style="gap: var(--ui-space-1); cursor: pointer;">
|
|
28
28
|
<input class="ui-checkbox" type="checkbox"></input>
|
|
29
|
-
<span>Accept terms and conditions</span>
|
|
29
|
+
<span>{{ t('accept_terms_and_conditions', 'Accept terms and conditions') }}</span>
|
|
30
30
|
</label>
|