@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.
Files changed (106) hide show
  1. package/dist/compiled.css +1 -1
  2. package/dist/index.css +16 -16
  3. package/package.json +1 -1
  4. package/src/base/docs.html +1 -1
  5. package/src/base/typography/docs.html +33 -33
  6. package/src/components/actions/button/docs.html +19 -19
  7. package/src/components/actions/button/index.scss +6 -6
  8. package/src/components/actions/button-group/docs.html +12 -12
  9. package/src/components/actions/close-button/docs.html +10 -10
  10. package/src/components/content/divider/docs.html +1 -1
  11. package/src/components/content/scroll-area/docs.html +81 -81
  12. package/src/components/content/spacer/docs.html +6 -6
  13. package/src/components/data-display/avatar/docs.html +8 -8
  14. package/src/components/data-display/card/docs.html +12 -12
  15. package/src/components/data-display/card/index.scss +2 -2
  16. package/src/components/data-display/data-list/docs.html +32 -32
  17. package/src/components/data-display/icon/docs.html +5 -5
  18. package/src/components/data-display/image/docs.html +1 -1
  19. package/src/components/data-display/stat/docs.html +6 -6
  20. package/src/components/data-display/status/docs.html +9 -9
  21. package/src/components/data-display/table/docs.html +14 -14
  22. package/src/components/data-display/tag/docs.html +17 -17
  23. package/src/components/disclosure/accordion/docs.html +14 -14
  24. package/src/components/disclosure/disclosure/docs.html +8 -8
  25. package/src/components/feedback/alert/docs.html +18 -18
  26. package/src/components/feedback/progress/docs.html +2 -2
  27. package/src/components/feedback/progress/index.scss +3 -3
  28. package/src/components/feedback/toast/docs.html +22 -22
  29. package/src/components/forms/checkbox/docs.html +1 -1
  30. package/src/components/forms/checkbox-group/docs.html +21 -21
  31. package/src/components/forms/field/docs.html +11 -11
  32. package/src/components/forms/field/index.scss +3 -3
  33. package/src/components/forms/fieldset/docs.html +30 -30
  34. package/src/components/forms/form/docs.html +29 -29
  35. package/src/components/forms/form-error/docs.html +2 -2
  36. package/src/components/forms/form-helper/docs.html +9 -9
  37. package/src/components/forms/input/docs.html +13 -13
  38. package/src/components/forms/label/docs.html +7 -7
  39. package/src/components/forms/number-input/docs.html +12 -12
  40. package/src/components/forms/number-input/index.scss +2 -2
  41. package/src/components/forms/password-input/docs.html +14 -14
  42. package/src/components/forms/password-input/index.scss +2 -2
  43. package/src/components/forms/radio/docs.html +5 -5
  44. package/src/components/forms/radio-group/docs.html +20 -20
  45. package/src/components/forms/search-input/docs.html +7 -7
  46. package/src/components/forms/search-input/index.scss +2 -2
  47. package/src/components/forms/select/docs.html +23 -23
  48. package/src/components/forms/textarea/docs.html +18 -18
  49. package/src/components/forms/toggle/docs.html +1 -1
  50. package/src/components/forms/toggle/index.scss +1 -1
  51. package/src/components/navigation/breadcrumb/docs.html +11 -11
  52. package/src/components/navigation/dropdown-menu/docs.html +18 -18
  53. package/src/components/navigation/dropdown-menu/index.scss +2 -2
  54. package/src/components/navigation/menu/docs.html +25 -25
  55. package/src/components/navigation/menu/index.scss +2 -2
  56. package/src/components/navigation/nav/docs.html +13 -13
  57. package/src/components/navigation/pagination/docs.html +6 -6
  58. package/src/components/navigation/tabs/docs.html +19 -19
  59. package/src/components/overlays/dialog/docs.html +12 -12
  60. package/src/components/overlays/drawer/docs.html +16 -16
  61. package/src/components/overlays/modal/docs.html +11 -11
  62. package/src/components/overlays/overlay/docs.html +3 -3
  63. package/src/components/overlays/popover/docs.html +7 -7
  64. package/src/components/overlays/tooltip/docs.html +7 -7
  65. package/src/components/typography/blockquote/docs.html +5 -5
  66. package/src/components/typography/code/docs.html +2 -2
  67. package/src/components/typography/code-block/docs.html +2 -2
  68. package/src/components/typography/heading/docs.html +11 -11
  69. package/src/components/typography/kbd/docs.html +6 -6
  70. package/src/components/typography/link/docs.html +8 -8
  71. package/src/components/typography/link/index.scss +2 -2
  72. package/src/components/typography/list/docs.html +32 -32
  73. package/src/config/guides/accessibility.docs.html +5 -5
  74. package/src/config/guides/getting-started.docs.html +7 -7
  75. package/src/config/guides/theming.docs.html +21 -21
  76. package/src/config/tokens/_variables.scss +14 -0
  77. package/src/config/tokens/docs.html +7 -7
  78. package/src/config/tokens/grid/docs.html +3 -3
  79. package/src/config/tokens/spacing/docs.html +6 -6
  80. package/src/debug/docs.html +3 -3
  81. package/src/layout/app-shell/docs.html +15 -15
  82. package/src/layout/aspect-ratio/docs.html +8 -8
  83. package/src/layout/box/docs.html +10 -10
  84. package/src/layout/center/docs.html +4 -4
  85. package/src/layout/column/docs.html +11 -11
  86. package/src/layout/container/docs.html +7 -7
  87. package/src/layout/content/docs.html +12 -12
  88. package/src/layout/footer/docs.html +16 -16
  89. package/src/layout/grid/docs.html +25 -25
  90. package/src/layout/grid/index.scss +4 -2
  91. package/src/layout/main/docs.html +3 -3
  92. package/src/layout/nav-rail/docs.html +6 -6
  93. package/src/layout/page-header/docs.html +9 -9
  94. package/src/layout/row/docs.html +18 -18
  95. package/src/layout/sidebar/docs.html +5 -5
  96. package/src/layout/sidebar-nav/docs.html +37 -37
  97. package/src/layout/sidebar-nav/index.scss +2 -2
  98. package/src/layout/topbar/docs.html +14 -14
  99. package/src/utilities/container/docs.html +4 -4
  100. package/src/utilities/display/docs.html +11 -11
  101. package/src/utilities/scroll-animation/docs.html +5 -5
  102. package/src/utilities/scroll-snap/docs.html +30 -30
  103. package/src/utilities/spacing/docs.html +12 -12
  104. package/src/utilities/text/docs.html +36 -36
  105. package/src/utilities/view-transition/docs.html +12 -12
  106. package/src/utilities/visually-hidden/docs.html +3 -3
@@ -5,7 +5,7 @@ mergeInto: button
5
5
  ---
6
6
 
7
7
  <!-- @default -->
8
- <button class="ui-close-button" type="button" aria-label="Close">
8
+ <button class="ui-close-button" type="button" aria-label="{{ t('close', 'Close') }}">
9
9
  <svg class="ui-close-button__icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
10
10
  <line x1="18" y1="6" x2="6" y2="18"></line>
11
11
  <line x1="6" y1="6" x2="18" y2="18"></line>
@@ -13,19 +13,19 @@ mergeInto: button
13
13
  </button>
14
14
 
15
15
  <!-- @sizes | row -->
16
- <button class="ui-close-button ui-close-button--sm" type="button" aria-label="Close">
16
+ <button class="ui-close-button ui-close-button--sm" type="button" aria-label="{{ t('close', 'Close') }}">
17
17
  <svg class="ui-close-button__icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
18
18
  <line x1="18" y1="6" x2="6" y2="18"></line>
19
19
  <line x1="6" y1="6" x2="18" y2="18"></line>
20
20
  </svg>
21
21
  </button>
22
- <button class="ui-close-button" type="button" aria-label="Close">
22
+ <button class="ui-close-button" type="button" aria-label="{{ t('close', 'Close') }}">
23
23
  <svg class="ui-close-button__icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
24
24
  <line x1="18" y1="6" x2="6" y2="18"></line>
25
25
  <line x1="6" y1="6" x2="18" y2="18"></line>
26
26
  </svg>
27
27
  </button>
28
- <button class="ui-close-button ui-close-button--lg" type="button" aria-label="Close">
28
+ <button class="ui-close-button ui-close-button--lg" type="button" aria-label="{{ t('close', 'Close') }}">
29
29
  <svg class="ui-close-button__icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
30
30
  <line x1="18" y1="6" x2="6" y2="18"></line>
31
31
  <line x1="6" y1="6" x2="18" y2="18"></line>
@@ -34,13 +34,13 @@ mergeInto: button
34
34
 
35
35
  <!-- @subtle | row -->
36
36
  <!-- Lower visual prominence for secondary dismiss actions. -->
37
- <button class="ui-close-button ui-close-button--subtle" type="button" aria-label="Close">
37
+ <button class="ui-close-button ui-close-button--subtle" type="button" aria-label="{{ t('close', 'Close') }}">
38
38
  <svg class="ui-close-button__icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
39
39
  <line x1="18" y1="6" x2="6" y2="18"></line>
40
40
  <line x1="6" y1="6" x2="18" y2="18"></line>
41
41
  </svg>
42
42
  </button>
43
- <button class="ui-close-button ui-close-button--subtle ui-close-button--sm" type="button" aria-label="Close">
43
+ <button class="ui-close-button ui-close-button--subtle ui-close-button--sm" type="button" aria-label="{{ t('close', 'Close') }}">
44
44
  <svg class="ui-close-button__icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
45
45
  <line x1="18" y1="6" x2="6" y2="18"></line>
46
46
  <line x1="6" y1="6" x2="18" y2="18"></line>
@@ -48,25 +48,25 @@ mergeInto: button
48
48
  </button>
49
49
 
50
50
  <!-- @states | row -->
51
- <button class="ui-close-button" type="button" aria-label="Close">
51
+ <button class="ui-close-button" type="button" aria-label="{{ t('close', 'Close') }}">
52
52
  <svg class="ui-close-button__icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
53
53
  <line x1="18" y1="6" x2="6" y2="18"></line>
54
54
  <line x1="6" y1="6" x2="18" y2="18"></line>
55
55
  </svg>
56
56
  </button>
57
- <button class="ui-close-button ui-close-button--hover" type="button" aria-label="Close">
57
+ <button class="ui-close-button ui-close-button--hover" type="button" aria-label="{{ t('close', 'Close') }}">
58
58
  <svg class="ui-close-button__icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
59
59
  <line x1="18" y1="6" x2="6" y2="18"></line>
60
60
  <line x1="6" y1="6" x2="18" y2="18"></line>
61
61
  </svg>
62
62
  </button>
63
- <button class="ui-close-button ui-close-button--focus" type="button" aria-label="Close">
63
+ <button class="ui-close-button ui-close-button--focus" type="button" aria-label="{{ t('close', 'Close') }}">
64
64
  <svg class="ui-close-button__icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
65
65
  <line x1="18" y1="6" x2="6" y2="18"></line>
66
66
  <line x1="6" y1="6" x2="18" y2="18"></line>
67
67
  </svg>
68
68
  </button>
69
- <button class="ui-close-button" type="button" aria-label="Close" disabled>
69
+ <button class="ui-close-button" type="button" aria-label="{{ t('close', 'Close') }}" disabled>
70
70
  <svg class="ui-close-button__icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
71
71
  <line x1="18" y1="6" x2="6" y2="18"></line>
72
72
  <line x1="6" y1="6" x2="18" y2="18"></line>
@@ -7,7 +7,7 @@ description: Visual separator between content sections. Supports horizontal/vert
7
7
  <div class="ui-divider" role="separator"></div>
8
8
 
9
9
  <!-- @with_label -->
10
- <div class="ui-divider" role="separator">OR</div>
10
+ <div class="ui-divider" role="separator">{{ t('or', 'OR') }}</div>
11
11
 
12
12
  <!-- @label_alignment -->
13
13
  <div class="ui-divider ui-divider--start" role="separator">{{ t('start', 'Start') }}</div>
@@ -6,122 +6,122 @@ description: Scrollable container with styled scrollbar. Provides overflow contr
6
6
  <!-- @default -->
7
7
  <div class="ui-scroll-area">
8
8
  <div class="ui-scroll-area__viewport">
9
- <p>Line 1 of scrollable content</p>
10
- <p>Line 2 of scrollable content</p>
11
- <p>Line 3 of scrollable content</p>
12
- <p>Line 4 of scrollable content</p>
13
- <p>Line 5 of scrollable content</p>
14
- <p>Line 6 of scrollable content</p>
15
- <p>Line 7 of scrollable content</p>
16
- <p>Line 8 of scrollable content</p>
17
- <p>Line 9 of scrollable content</p>
18
- <p>Line 10 of scrollable content</p>
19
- <p>Line 11 of scrollable content</p>
20
- <p>Line 12 of scrollable content</p>
21
- <p>Line 13 of scrollable content</p>
22
- <p>Line 14 of scrollable content</p>
23
- <p>Line 15 of scrollable content</p>
9
+ <p>{{ t('line_1_of_scrollable_content', 'Line 1 of scrollable content') }}</p>
10
+ <p>{{ t('line_2_of_scrollable_content', 'Line 2 of scrollable content') }}</p>
11
+ <p>{{ t('line_3_of_scrollable_content', 'Line 3 of scrollable content') }}</p>
12
+ <p>{{ t('line_4_of_scrollable_content', 'Line 4 of scrollable content') }}</p>
13
+ <p>{{ t('line_5_of_scrollable_content', 'Line 5 of scrollable content') }}</p>
14
+ <p>{{ t('line_6_of_scrollable_content', 'Line 6 of scrollable content') }}</p>
15
+ <p>{{ t('line_7_of_scrollable_content', 'Line 7 of scrollable content') }}</p>
16
+ <p>{{ t('line_8_of_scrollable_content', 'Line 8 of scrollable content') }}</p>
17
+ <p>{{ t('line_9_of_scrollable_content', 'Line 9 of scrollable content') }}</p>
18
+ <p>{{ t('line_10_of_scrollable_content', 'Line 10 of scrollable content') }}</p>
19
+ <p>{{ t('line_11_of_scrollable_content', 'Line 11 of scrollable content') }}</p>
20
+ <p>{{ t('line_12_of_scrollable_content', 'Line 12 of scrollable content') }}</p>
21
+ <p>{{ t('line_13_of_scrollable_content', 'Line 13 of scrollable content') }}</p>
22
+ <p>{{ t('line_14_of_scrollable_content', 'Line 14 of scrollable content') }}</p>
23
+ <p>{{ t('line_15_of_scrollable_content', 'Line 15 of scrollable content') }}</p>
24
24
  </div>
25
25
  </div>
26
26
 
27
27
  <!-- @sizes | column -->
28
28
  <div class="ui-scroll-area ui-scroll-area--sm">
29
29
  <div class="ui-scroll-area__viewport">
30
- <p>Small - Line 1</p>
31
- <p>Small - Line 2</p>
32
- <p>Small - Line 3</p>
33
- <p>Small - Line 4</p>
34
- <p>Small - Line 5</p>
35
- <p>Small - Line 6</p>
36
- <p>Small - Line 7</p>
37
- <p>Small - Line 8</p>
30
+ <p>{{ t('small_line_1', 'Small - Line 1') }}</p>
31
+ <p>{{ t('small_line_2', 'Small - Line 2') }}</p>
32
+ <p>{{ t('small_line_3', 'Small - Line 3') }}</p>
33
+ <p>{{ t('small_line_4', 'Small - Line 4') }}</p>
34
+ <p>{{ t('small_line_5', 'Small - Line 5') }}</p>
35
+ <p>{{ t('small_line_6', 'Small - Line 6') }}</p>
36
+ <p>{{ t('small_line_7', 'Small - Line 7') }}</p>
37
+ <p>{{ t('small_line_8', 'Small - Line 8') }}</p>
38
38
  </div>
39
39
  </div>
40
40
  <div class="ui-scroll-area ui-scroll-area--xl">
41
41
  <div class="ui-scroll-area__viewport">
42
- <p>XL - Line 1</p>
43
- <p>XL - Line 2</p>
44
- <p>XL - Line 3</p>
45
- <p>XL - Line 4</p>
46
- <p>XL - Line 5</p>
42
+ <p>{{ t('xl_line_1', 'XL - Line 1') }}</p>
43
+ <p>{{ t('xl_line_2', 'XL - Line 2') }}</p>
44
+ <p>{{ t('xl_line_3', 'XL - Line 3') }}</p>
45
+ <p>{{ t('xl_line_4', 'XL - Line 4') }}</p>
46
+ <p>{{ t('xl_line_5', 'XL - Line 5') }}</p>
47
47
  </div>
48
48
  </div>
49
49
  <div class="ui-scroll-area ui-scroll-area--lg">
50
50
  <div class="ui-scroll-area__viewport">
51
- <p>Large - Line 1</p>
52
- <p>Large - Line 2</p>
53
- <p>Large - Line 3</p>
54
- <p>Large - Line 4</p>
55
- <p>Large - Line 5</p>
56
- <p>Large - Line 6</p>
57
- <p>Large - Line 7</p>
58
- <p>Large - Line 8</p>
59
- <p>Large - Line 9</p>
60
- <p>Large - Line 10</p>
61
- <p>Large - Line 11</p>
62
- <p>Large - Line 12</p>
63
- <p>Large - Line 13</p>
64
- <p>Large - Line 14</p>
65
- <p>Large - Line 15</p>
66
- <p>Large - Line 16</p>
67
- <p>Large - Line 17</p>
68
- <p>Large - Line 18</p>
69
- <p>Large - Line 19</p>
70
- <p>Large - Line 20</p>
51
+ <p>{{ t('large_line_1', 'Large - Line 1') }}</p>
52
+ <p>{{ t('large_line_2', 'Large - Line 2') }}</p>
53
+ <p>{{ t('large_line_3', 'Large - Line 3') }}</p>
54
+ <p>{{ t('large_line_4', 'Large - Line 4') }}</p>
55
+ <p>{{ t('large_line_5', 'Large - Line 5') }}</p>
56
+ <p>{{ t('large_line_6', 'Large - Line 6') }}</p>
57
+ <p>{{ t('large_line_7', 'Large - Line 7') }}</p>
58
+ <p>{{ t('large_line_8', 'Large - Line 8') }}</p>
59
+ <p>{{ t('large_line_9', 'Large - Line 9') }}</p>
60
+ <p>{{ t('large_line_10', 'Large - Line 10') }}</p>
61
+ <p>{{ t('large_line_11', 'Large - Line 11') }}</p>
62
+ <p>{{ t('large_line_12', 'Large - Line 12') }}</p>
63
+ <p>{{ t('large_line_13', 'Large - Line 13') }}</p>
64
+ <p>{{ t('large_line_14', 'Large - Line 14') }}</p>
65
+ <p>{{ t('large_line_15', 'Large - Line 15') }}</p>
66
+ <p>{{ t('large_line_16', 'Large - Line 16') }}</p>
67
+ <p>{{ t('large_line_17', 'Large - Line 17') }}</p>
68
+ <p>{{ t('large_line_18', 'Large - Line 18') }}</p>
69
+ <p>{{ t('large_line_19', 'Large - Line 19') }}</p>
70
+ <p>{{ t('large_line_20', 'Large - Line 20') }}</p>
71
71
  </div>
72
72
  </div>
73
73
 
74
74
  <!-- @direction | column -->
75
75
  <div class="ui-scroll-area ui-scroll-area--horizontal">
76
76
  <div class="ui-scroll-area__viewport">
77
- <p style="white-space: nowrap">This content scrolls horizontally when it overflows the container width. Resize the window to test.</p>
77
+ <p style="white-space: nowrap">{{ t('scrolls_horizontally_demo', 'This content scrolls horizontally when it overflows the container width. Resize the window to test.') }}</p>
78
78
  </div>
79
79
  </div>
80
80
  <div class="ui-scroll-area ui-scroll-area--both ui-scroll-area--sm">
81
81
  <div class="ui-scroll-area__viewport">
82
- <p style="white-space: nowrap">Both directions - Line 1 with long content that overflows horizontally</p>
83
- <p>Line 2</p>
84
- <p>Line 3</p>
85
- <p>Line 4</p>
86
- <p>Line 5</p>
87
- <p>Line 6</p>
88
- <p>Line 7</p>
89
- <p>Line 8</p>
82
+ <p style="white-space: nowrap">{{ t('both_directions_line_1', 'Both directions - Line 1 with long content that overflows horizontally') }}</p>
83
+ <p>{{ t('line_2', 'Line 2') }}</p>
84
+ <p>{{ t('line_3', 'Line 3') }}</p>
85
+ <p>{{ t('line_4', 'Line 4') }}</p>
86
+ <p>{{ t('line_5', 'Line 5') }}</p>
87
+ <p>{{ t('line_6', 'Line 6') }}</p>
88
+ <p>{{ t('line_7', 'Line 7') }}</p>
89
+ <p>{{ t('line_8', 'Line 8') }}</p>
90
90
  </div>
91
91
  </div>
92
92
 
93
93
  <!-- @thin_scrollbar -->
94
94
  <div class="ui-scroll-area ui-scroll-area--thin">
95
95
  <div class="ui-scroll-area__viewport">
96
- <p>Thin scrollbar - Line 1</p>
97
- <p>Thin scrollbar - Line 2</p>
98
- <p>Thin scrollbar - Line 3</p>
99
- <p>Thin scrollbar - Line 4</p>
100
- <p>Thin scrollbar - Line 5</p>
101
- <p>Thin scrollbar - Line 6</p>
102
- <p>Thin scrollbar - Line 7</p>
103
- <p>Thin scrollbar - Line 8</p>
104
- <p>Thin scrollbar - Line 9</p>
105
- <p>Thin scrollbar - Line 10</p>
106
- <p>Thin scrollbar - Line 11</p>
107
- <p>Thin scrollbar - Line 12</p>
96
+ <p>{{ t('thin_scrollbar_line_1', 'Thin scrollbar - Line 1') }}</p>
97
+ <p>{{ t('thin_scrollbar_line_2', 'Thin scrollbar - Line 2') }}</p>
98
+ <p>{{ t('thin_scrollbar_line_3', 'Thin scrollbar - Line 3') }}</p>
99
+ <p>{{ t('thin_scrollbar_line_4', 'Thin scrollbar - Line 4') }}</p>
100
+ <p>{{ t('thin_scrollbar_line_5', 'Thin scrollbar - Line 5') }}</p>
101
+ <p>{{ t('thin_scrollbar_line_6', 'Thin scrollbar - Line 6') }}</p>
102
+ <p>{{ t('thin_scrollbar_line_7', 'Thin scrollbar - Line 7') }}</p>
103
+ <p>{{ t('thin_scrollbar_line_8', 'Thin scrollbar - Line 8') }}</p>
104
+ <p>{{ t('thin_scrollbar_line_9', 'Thin scrollbar - Line 9') }}</p>
105
+ <p>{{ t('thin_scrollbar_line_10', 'Thin scrollbar - Line 10') }}</p>
106
+ <p>{{ t('thin_scrollbar_line_11', 'Thin scrollbar - Line 11') }}</p>
107
+ <p>{{ t('thin_scrollbar_line_12', 'Thin scrollbar - Line 12') }}</p>
108
108
  </div>
109
109
  </div>
110
110
 
111
111
  <!-- @auto_hide -->
112
112
  <div class="ui-scroll-area ui-scroll-area--auto-hide">
113
113
  <div class="ui-scroll-area__viewport">
114
- <p>Scrollbar hidden until hover - Line 1</p>
115
- <p>Scrollbar hidden until hover - Line 2</p>
116
- <p>Scrollbar hidden until hover - Line 3</p>
117
- <p>Scrollbar hidden until hover - Line 4</p>
118
- <p>Scrollbar hidden until hover - Line 5</p>
119
- <p>Scrollbar hidden until hover - Line 6</p>
120
- <p>Scrollbar hidden until hover - Line 7</p>
121
- <p>Scrollbar hidden until hover - Line 8</p>
122
- <p>Scrollbar hidden until hover - Line 9</p>
123
- <p>Scrollbar hidden until hover - Line 10</p>
124
- <p>Scrollbar hidden until hover - Line 11</p>
125
- <p>Scrollbar hidden until hover - Line 12</p>
114
+ <p>{{ t('scrollbar_hidden_until_hover_line_1', 'Scrollbar hidden until hover - Line 1') }}</p>
115
+ <p>{{ t('scrollbar_hidden_until_hover_line_2', 'Scrollbar hidden until hover - Line 2') }}</p>
116
+ <p>{{ t('scrollbar_hidden_until_hover_line_3', 'Scrollbar hidden until hover - Line 3') }}</p>
117
+ <p>{{ t('scrollbar_hidden_until_hover_line_4', 'Scrollbar hidden until hover - Line 4') }}</p>
118
+ <p>{{ t('scrollbar_hidden_until_hover_line_5', 'Scrollbar hidden until hover - Line 5') }}</p>
119
+ <p>{{ t('scrollbar_hidden_until_hover_line_6', 'Scrollbar hidden until hover - Line 6') }}</p>
120
+ <p>{{ t('scrollbar_hidden_until_hover_line_7', 'Scrollbar hidden until hover - Line 7') }}</p>
121
+ <p>{{ t('scrollbar_hidden_until_hover_line_8', 'Scrollbar hidden until hover - Line 8') }}</p>
122
+ <p>{{ t('scrollbar_hidden_until_hover_line_9', 'Scrollbar hidden until hover - Line 9') }}</p>
123
+ <p>{{ t('scrollbar_hidden_until_hover_line_10', 'Scrollbar hidden until hover - Line 10') }}</p>
124
+ <p>{{ t('scrollbar_hidden_until_hover_line_11', 'Scrollbar hidden until hover - Line 11') }}</p>
125
+ <p>{{ t('scrollbar_hidden_until_hover_line_12', 'Scrollbar hidden until hover - Line 12') }}</p>
126
126
  </div>
127
127
  </div>
@@ -5,16 +5,16 @@ description: Flexible space filler that grows to fill available space in flex co
5
5
 
6
6
  <!-- @default -->
7
7
  <div class="ui-row" style="inline-size: 100%; background: var(--ui-color-bg-subtle); padding: var(--ui-space-2)">
8
- <span style="background: var(--ui-color-bg-muted); padding: var(--ui-space-1)">Start</span>
8
+ <span style="background: var(--ui-color-bg-muted); padding: var(--ui-space-1)">{{ t('start', 'Start') }}</span>
9
9
  <div class="ui-spacer"></div>
10
- <span style="background: var(--ui-color-bg-muted); padding: var(--ui-space-1)">End</span>
10
+ <span style="background: var(--ui-color-bg-muted); padding: var(--ui-space-1)">{{ t('end', 'End') }}</span>
11
11
  </div>
12
12
 
13
13
  <!-- @between_items -->
14
14
  <div class="ui-row" style="inline-size: 100%; background: var(--ui-color-bg-subtle); padding: var(--ui-space-2)">
15
- <span style="background: var(--ui-color-bg-muted); padding: var(--ui-space-1)">Logo</span>
15
+ <span style="background: var(--ui-color-bg-muted); padding: var(--ui-space-1)">{{ t('logo', 'Logo') }}</span>
16
16
  <div class="ui-spacer"></div>
17
- <span style="background: var(--ui-color-bg-muted); padding: var(--ui-space-1)">Nav 1</span>
18
- <span style="background: var(--ui-color-bg-muted); padding: var(--ui-space-1)">Nav 2</span>
19
- <span style="background: var(--ui-color-bg-muted); padding: var(--ui-space-1)">Nav 3</span>
17
+ <span style="background: var(--ui-color-bg-muted); padding: var(--ui-space-1)">{{ t('nav_1', 'Nav 1') }}</span>
18
+ <span style="background: var(--ui-color-bg-muted); padding: var(--ui-space-1)">{{ t('nav_2', 'Nav 2') }}</span>
19
+ <span style="background: var(--ui-color-bg-muted); padding: var(--ui-space-1)">{{ t('nav_3', 'Nav 3') }}</span>
20
20
  </div>
@@ -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">+5</span>
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.</p>
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>
@@ -73,7 +73,7 @@
73
73
  flex-direction: column;
74
74
 
75
75
  // Horizontal layout when container is wide enough
76
- @container (inline-size >= 30rem) {
76
+ @container (inline-size >= #{t.$container-threshold-sm}) {
77
77
  flex-direction: row;
78
78
  }
79
79
  }
@@ -82,7 +82,7 @@
82
82
  // Vertical: full width
83
83
  inline-size: 100%;
84
84
 
85
- @container (inline-size >= 30rem) {
85
+ @container (inline-size >= #{t.$container-threshold-sm}) {
86
86
  // Horizontal: fixed width, fill height
87
87
  flex: 0 0 auto;
88
88
 
@@ -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">#12345</dd>
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">$99.00</dd>
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 -->