@teseor/css 1.15.7 → 2.0.0

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 (107) hide show
  1. package/dist/compiled.css +1 -1
  2. package/dist/index.css +51 -52
  3. package/package.json +1 -1
  4. package/src/base/docs.html +1 -1
  5. package/src/base/root.scss +1 -1
  6. package/src/base/typography/typography.scss +6 -6
  7. package/src/components/actions/button/api.json +1 -1
  8. package/src/components/actions/button/index.scss +1 -1
  9. package/src/components/content/divider/docs.html +1 -1
  10. package/src/components/content/scroll-area/docs.html +2 -2
  11. package/src/components/data-display/avatar/index.scss +1 -1
  12. package/src/components/data-display/badge/api.json +1 -1
  13. package/src/components/data-display/badge/index.scss +1 -1
  14. package/src/components/data-display/data-list/index.scss +1 -1
  15. package/src/components/data-display/stat/api.json +3 -3
  16. package/src/components/data-display/stat/index.scss +5 -5
  17. package/src/components/data-display/status/docs.html +2 -2
  18. package/src/components/data-display/table/index.scss +1 -1
  19. package/src/components/data-display/tag/index.scss +1 -1
  20. package/src/components/disclosure/disclosure/index.scss +1 -1
  21. package/src/components/feedback/alert/index.scss +1 -1
  22. package/src/components/feedback/skeleton/docs.html +2 -2
  23. package/src/components/feedback/toast/docs.html +12 -12
  24. package/src/components/feedback/toast/index.scss +2 -2
  25. package/src/components/forms/checkbox/docs.html +1 -1
  26. package/src/components/forms/checkbox-group/api.json +1 -1
  27. package/src/components/forms/checkbox-group/index.scss +2 -2
  28. package/src/components/forms/fieldset/api.json +1 -1
  29. package/src/components/forms/fieldset/index.scss +2 -2
  30. package/src/components/forms/form-error/index.scss +1 -1
  31. package/src/components/forms/form-helper/index.scss +1 -1
  32. package/src/components/forms/label/index.scss +3 -3
  33. package/src/components/forms/radio/docs.html +5 -5
  34. package/src/components/forms/radio-group/api.json +1 -1
  35. package/src/components/forms/radio-group/index.scss +2 -2
  36. package/src/components/forms/toggle/docs.html +3 -3
  37. package/src/components/navigation/dropdown-menu/api.json +1 -1
  38. package/src/components/navigation/dropdown-menu/docs.html +1 -1
  39. package/src/components/navigation/dropdown-menu/index.scss +1 -1
  40. package/src/components/navigation/menu/index.scss +2 -2
  41. package/src/components/navigation/nav/api.json +1 -1
  42. package/src/components/navigation/nav/index.scss +1 -1
  43. package/src/components/navigation/tabs/index.scss +1 -1
  44. package/src/components/overlays/dialog/docs.html +6 -6
  45. package/src/components/overlays/dialog/index.scss +1 -1
  46. package/src/components/overlays/drawer/docs.html +17 -17
  47. package/src/components/overlays/drawer/index.scss +2 -2
  48. package/src/components/overlays/modal/api.json +1 -1
  49. package/src/components/overlays/modal/docs.html +12 -12
  50. package/src/components/overlays/modal/index.scss +1 -1
  51. package/src/components/overlays/overlay/api.json +1 -1
  52. package/src/components/overlays/overlay/docs.html +8 -8
  53. package/src/components/overlays/overlay/index.scss +1 -1
  54. package/src/components/overlays/popover/api.json +1 -1
  55. package/src/components/overlays/popover/docs.html +6 -6
  56. package/src/components/overlays/popover/index.scss +2 -2
  57. package/src/components/overlays/tooltip/api.json +1 -1
  58. package/src/components/overlays/tooltip/docs.html +10 -10
  59. package/src/components/overlays/tooltip/index.scss +1 -1
  60. package/src/components/typography/blockquote/api.json +1 -1
  61. package/src/components/typography/blockquote/index.scss +2 -2
  62. package/src/components/typography/code/index.scss +1 -1
  63. package/src/components/typography/code-block/api.json +1 -1
  64. package/src/components/typography/code-block/index.scss +1 -1
  65. package/src/components/typography/heading/api.json +9 -9
  66. package/src/components/typography/heading/index.scss +9 -9
  67. package/src/components/typography/list/api.json +1 -1
  68. package/src/components/typography/list/index.scss +1 -1
  69. package/src/config/guides/accessibility.docs.html +1 -1
  70. package/src/config/guides/getting-started.docs.html +1 -1
  71. package/src/config/guides/theming.docs.html +53 -20
  72. package/src/config/guides/token-architecture.docs.html +87 -0
  73. package/src/config/tokens/_variables.scss +60 -53
  74. package/src/config/tokens/colors/index.scss +18 -0
  75. package/src/config/tokens/docs.html +10 -21
  76. package/src/config/tokens/index.scss +0 -1
  77. package/src/config/tokens/radius.scss +5 -4
  78. package/src/config/tokens/shadows.scss +4 -3
  79. package/src/config/tokens/typography.scss +47 -47
  80. package/src/config/tokens/zindex.scss +10 -10
  81. package/src/debug/docs.html +3 -3
  82. package/src/debug/index.scss +7 -8
  83. package/src/layout/aspect-ratio/docs.html +7 -7
  84. package/src/layout/center/docs.html +3 -3
  85. package/src/layout/footer/api.json +1 -1
  86. package/src/layout/footer/index.scss +3 -3
  87. package/src/layout/main/docs.html +3 -3
  88. package/src/layout/nav-rail/api.json +1 -1
  89. package/src/layout/nav-rail/docs.html +1 -1
  90. package/src/layout/nav-rail/index.scss +1 -1
  91. package/src/layout/page-header/index.scss +1 -1
  92. package/src/layout/sidebar/docs.html +3 -3
  93. package/src/layout/sidebar/index.scss +1 -1
  94. package/src/layout/sidebar-nav/api.json +2 -2
  95. package/src/layout/sidebar-nav/docs.html +6 -6
  96. package/src/layout/sidebar-nav/index.scss +4 -4
  97. package/src/layout/topbar/api.json +1 -1
  98. package/src/layout/topbar/index.scss +1 -1
  99. package/src/utilities/position/api.json +6 -0
  100. package/src/utilities/position/docs.html +29 -0
  101. package/src/utilities/position/position.scss +74 -0
  102. package/src/utilities/scroll-animation/docs.html +1 -1
  103. package/src/utilities/scroll-animation/index.scss +1 -1
  104. package/src/utilities/scroll-snap/docs.html +33 -33
  105. package/src/utilities/text/docs.html +5 -5
  106. package/src/utilities/text/text.scss +15 -15
  107. package/src/config/tokens/semantic-spacing.scss +0 -12
@@ -46,7 +46,7 @@
46
46
  },
47
47
  {
48
48
  "name": "--ui-nav-item-font-weight",
49
- "default": "var(--ui-weight-medium)",
49
+ "default": "var(--ui-font-weight-medium)",
50
50
  "description": "Item font weight"
51
51
  },
52
52
  {
@@ -20,7 +20,7 @@
20
20
  // @desc Item font size
21
21
  --_item-font-size: var(--ui-nav-item-font-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
22
22
  // @desc Item font weight
23
- --_item-font-weight: var(--ui-nav-item-font-weight, var(--ui-weight-medium, #{t.$weight-medium}));
23
+ --_item-font-weight: var(--ui-nav-item-font-weight, var(--ui-font-weight-medium, #{t.$font-weight-medium}));
24
24
  // @desc Item text color
25
25
  --_item-color: var(--ui-nav-item-color, var(--ui-color-text-muted, #{t.$color-text-muted}));
26
26
  // @desc Item color hover
@@ -8,7 +8,7 @@
8
8
  --_space-1: var(--ui-space-1, #{t.$space-1});
9
9
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
10
10
  --_font-sans: var(--ui-font-sans, #{t.$font-sans});
11
- --_weight-medium: var(--ui-weight-medium, #{t.$weight-medium});
11
+ --_weight-medium: var(--ui-font-weight-medium, #{t.$font-weight-medium});
12
12
  --_color-text-muted: var(--ui-color-text-muted, #{t.$color-text-muted});
13
13
  --_border-width-md: var(--ui-border-width-md, #{t.$border-width-md});
14
14
  --_duration-base: var(--ui-duration-base, #{t.$duration-base});
@@ -4,8 +4,8 @@ description: Structured modal with header, body, and footer sections. Use with m
4
4
  ---
5
5
 
6
6
  <!-- @default -->
7
- <div style="position: relative; height: 240px; background: var(--ui-color-bg-subtle);">
8
- <div class="ui-modal ui-modal--visible" style="position: absolute;">
7
+ <div class="demo-area" style="--demo-h: 240px">
8
+ <div class="ui-modal ui-modal--visible ui-absolute">
9
9
  <div class="ui-modal__content ui-dialog" style="max-height: 200px;">
10
10
  <header class="ui-dialog__header">
11
11
  <h2 class="ui-dialog__title">{{ t('dialog_title', 'Dialog Title') }}</h2>
@@ -23,8 +23,8 @@ description: Structured modal with header, body, and footer sections. Use with m
23
23
  </div>
24
24
 
25
25
  <!-- @borderless -->
26
- <div style="position: relative; height: 200px; background: var(--ui-color-bg-subtle);">
27
- <div class="ui-modal ui-modal--visible" style="position: absolute;">
26
+ <div class="demo-area">
27
+ <div class="ui-modal ui-modal--visible ui-absolute">
28
28
  <div class="ui-modal__content ui-dialog ui-dialog--borderless" style="max-height: 180px;">
29
29
  <header class="ui-dialog__header">
30
30
  <h2 class="ui-dialog__title">{{ t('simple_dialog', 'Simple Dialog') }}</h2>
@@ -40,8 +40,8 @@ description: Structured modal with header, body, and footer sections. Use with m
40
40
  </div>
41
41
 
42
42
  <!-- @confirmation_dialog -->
43
- <div style="position: relative; height: 200px; background: var(--ui-color-bg-subtle);">
44
- <div class="ui-modal ui-modal--sm ui-modal--visible" style="position: absolute;">
43
+ <div class="demo-area">
44
+ <div class="ui-modal ui-modal--sm ui-modal--visible ui-absolute">
45
45
  <div class="ui-modal__content ui-dialog">
46
46
  <header class="ui-dialog__header">
47
47
  <h2 class="ui-dialog__title">{{ t('delete_item', 'Delete Item?') }}</h2>
@@ -8,7 +8,7 @@
8
8
  @layer components.tokens {
9
9
  .dialog {
10
10
  --_font-size-lg: var(--ui-font-size-lg, #{t.$font-size-lg});
11
- --_weight-semibold: var(--ui-weight-semibold, #{t.$weight-semibold});
11
+ --_weight-semibold: var(--ui-font-weight-semibold, #{t.$font-weight-semibold});
12
12
  // @desc Header padding on all sides
13
13
  --_header-padding: var(--ui-dialog-header-padding, calc(#{t.$unit} * 2) calc(#{t.$unit} * 3));
14
14
  // @desc Body area padding on all sides
@@ -4,9 +4,9 @@ title: Drawer
4
4
 
5
5
  <!-- @default_end -->
6
6
  <!-- Slides in from the end (right in LTR) -->
7
- <div style="position:relative;height:300px;overflow:hidden;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md)">
8
- <div class="ui-drawer-overlay" style="position:absolute"></div>
9
- <div class="ui-drawer ui-drawer--end" style="position:absolute" data-state="open">
7
+ <div class="demo-container demo-container--overflow" style="--demo-h: 300px">
8
+ <div class="ui-drawer-overlay ui-absolute"></div>
9
+ <div class="ui-drawer ui-drawer--end ui-absolute" data-state="open">
10
10
  <div class="ui-drawer__header">
11
11
  <div>
12
12
  <h2 class="ui-drawer__title">{{ t('drawer_title', 'Drawer Title') }}</h2>
@@ -25,8 +25,8 @@ title: Drawer
25
25
  </div>
26
26
 
27
27
  <!-- @positions | column -->
28
- <div style="position:relative;height:200px;overflow:hidden;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md)">
29
- <div class="ui-drawer ui-drawer--start ui-drawer--sm" style="position:absolute" data-state="open">
28
+ <div class="demo-container demo-container--overflow">
29
+ <div class="ui-drawer ui-drawer--start ui-drawer--sm ui-absolute" data-state="open">
30
30
  <div class="ui-drawer__header">
31
31
  <h2 class="ui-drawer__title">{{ t('start', 'Start') }}</h2>
32
32
  </div>
@@ -35,8 +35,8 @@ title: Drawer
35
35
  </div>
36
36
  </div>
37
37
  </div>
38
- <div style="position:relative;height:200px;overflow:hidden;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md)">
39
- <div class="ui-drawer ui-drawer--top" style="position:absolute" data-state="open">
38
+ <div class="demo-container demo-container--overflow">
39
+ <div class="ui-drawer ui-drawer--top ui-absolute" data-state="open">
40
40
  <div class="ui-drawer__header">
41
41
  <h2 class="ui-drawer__title">{{ t('top', 'Top') }}</h2>
42
42
  </div>
@@ -45,8 +45,8 @@ title: Drawer
45
45
  </div>
46
46
  </div>
47
47
  </div>
48
- <div style="position:relative;height:200px;overflow:hidden;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md)">
49
- <div class="ui-drawer ui-drawer--bottom" style="position:absolute" data-state="open">
48
+ <div class="demo-container demo-container--overflow">
49
+ <div class="ui-drawer ui-drawer--bottom ui-absolute" data-state="open">
50
50
  <div class="ui-drawer__header">
51
51
  <h2 class="ui-drawer__title">{{ t('bottom', 'Bottom') }}</h2>
52
52
  </div>
@@ -57,29 +57,29 @@ title: Drawer
57
57
  </div>
58
58
 
59
59
  <!-- @sizes | column -->
60
- <div style="position:relative;height:150px;overflow:hidden;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md)">
61
- <div class="ui-drawer ui-drawer--end ui-drawer--sm" style="position:absolute" data-state="open">
60
+ <div class="demo-container demo-container--overflow" style="--demo-h: 150px">
61
+ <div class="ui-drawer ui-drawer--end ui-drawer--sm ui-absolute" data-state="open">
62
62
  <div class="ui-drawer__body">
63
63
  <p>{{ t('small_drawer', 'Small drawer') }}</p>
64
64
  </div>
65
65
  </div>
66
66
  </div>
67
- <div style="position:relative;height:150px;overflow:hidden;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md)">
68
- <div class="ui-drawer ui-drawer--end" style="position:absolute" data-state="open">
67
+ <div class="demo-container demo-container--overflow" style="--demo-h: 150px">
68
+ <div class="ui-drawer ui-drawer--end ui-absolute" data-state="open">
69
69
  <div class="ui-drawer__body">
70
70
  <p>{{ t('default_drawer', 'Default drawer') }}</p>
71
71
  </div>
72
72
  </div>
73
73
  </div>
74
- <div style="position:relative;height:150px;overflow:hidden;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md)">
75
- <div class="ui-drawer ui-drawer--end ui-drawer--lg" style="position:absolute" data-state="open">
74
+ <div class="demo-container demo-container--overflow" style="--demo-h: 150px">
75
+ <div class="ui-drawer ui-drawer--end ui-drawer--lg ui-absolute" data-state="open">
76
76
  <div class="ui-drawer__body">
77
77
  <p>{{ t('large_drawer', 'Large drawer') }}</p>
78
78
  </div>
79
79
  </div>
80
80
  </div>
81
- <div style="position:relative;height:150px;overflow:hidden;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md)">
82
- <div class="ui-drawer ui-drawer--end ui-drawer--full" style="position:absolute" data-state="open">
81
+ <div class="demo-container demo-container--overflow" style="--demo-h: 150px">
82
+ <div class="ui-drawer ui-drawer--end ui-drawer--full ui-absolute" data-state="open">
83
83
  <div class="ui-drawer__body">
84
84
  <p>{{ t('full_size_drawer', 'Full-size drawer') }}</p>
85
85
  </div>
@@ -8,7 +8,7 @@
8
8
 
9
9
  @layer components.tokens {
10
10
  .drawer {
11
- --_z-drawer: var(--ui-z-drawer, #{t.$z-drawer});
11
+ --_z-drawer: var(--ui-z-index-drawer, #{t.$z-index-drawer});
12
12
  --_overlay-bg: var(--ui-overlay-bg, #{t.$overlay-bg});
13
13
  --_duration-normal: var(--ui-duration-normal, #{t.$duration-normal});
14
14
  --_ease-out: var(--ui-ease-out, ease-out);
@@ -16,7 +16,7 @@
16
16
  --_ease-in: var(--ui-ease-in, ease-in);
17
17
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
18
18
  --_font-size-lg: var(--ui-font-size-lg, #{t.$font-size-lg});
19
- --_weight-semibold: var(--ui-weight-semibold, #{t.$weight-semibold});
19
+ --_weight-semibold: var(--ui-font-weight-semibold, #{t.$font-weight-semibold});
20
20
  --_row-1: var(--ui-row-1, #{t.$row});
21
21
  --_font-size-sm: var(--ui-font-size-sm, #{t.$font-size-sm});
22
22
  --_color-text-muted: var(--ui-color-text-muted, #{t.$color-text-muted});
@@ -47,7 +47,7 @@
47
47
  },
48
48
  {
49
49
  "name": "--ui-modal-z",
50
- "default": "var(--ui-z-modal)",
50
+ "default": "var(--ui-z-index-modal)",
51
51
  "description": "Z-index stacking order"
52
52
  },
53
53
  {
@@ -4,8 +4,8 @@ description: Container for modal dialogs. Use with overlay for backdrop effect.
4
4
  ---
5
5
 
6
6
  <!-- @default -->
7
- <div style="position: relative; height: 200px; background: var(--ui-color-bg-subtle);">
8
- <div class="ui-modal ui-modal--visible" style="position: absolute;">
7
+ <div class="demo-area">
8
+ <div class="ui-modal ui-modal--visible ui-absolute">
9
9
  <div class="ui-modal__content">
10
10
  <p>{{ t('modal_content_goes_here', 'Modal content goes here') }}</p>
11
11
  </div>
@@ -13,8 +13,8 @@ description: Container for modal dialogs. Use with overlay for backdrop effect.
13
13
  </div>
14
14
 
15
15
  <!-- @sizes -->
16
- <div style="position: relative; height: 120px; background: var(--ui-color-bg-subtle);">
17
- <div class="ui-modal ui-modal--sm ui-modal--visible" style="position: absolute;">
16
+ <div class="demo-area" style="--demo-h: 120px">
17
+ <div class="ui-modal ui-modal--sm ui-modal--visible ui-absolute">
18
18
  <div class="ui-modal__content">
19
19
  <p>{{ t('small_modal', 'Small modal') }}</p>
20
20
  </div>
@@ -22,8 +22,8 @@ description: Container for modal dialogs. Use with overlay for backdrop effect.
22
22
  </div>
23
23
 
24
24
  <!-- @large -->
25
- <div style="position: relative; height: 120px; background: var(--ui-color-bg-subtle);">
26
- <div class="ui-modal ui-modal--lg ui-modal--visible" style="position: absolute;">
25
+ <div class="demo-area" style="--demo-h: 120px">
26
+ <div class="ui-modal ui-modal--lg ui-modal--visible ui-absolute">
27
27
  <div class="ui-modal__content">
28
28
  <p>{{ t('large_modal', 'Large modal') }}</p>
29
29
  </div>
@@ -31,8 +31,8 @@ description: Container for modal dialogs. Use with overlay for backdrop effect.
31
31
  </div>
32
32
 
33
33
  <!-- @full -->
34
- <div style="position: relative; height: 120px; background: var(--ui-color-bg-subtle);">
35
- <div class="ui-modal ui-modal--full ui-modal--visible" style="position: absolute;">
34
+ <div class="demo-area" style="--demo-h: 120px">
35
+ <div class="ui-modal ui-modal--full ui-modal--visible ui-absolute">
36
36
  <div class="ui-modal__content">
37
37
  <p>{{ t('full_screen_modal', 'Full-screen modal') }}</p>
38
38
  </div>
@@ -41,8 +41,8 @@ description: Container for modal dialogs. Use with overlay for backdrop effect.
41
41
 
42
42
  <!-- @entering_animation -->
43
43
  <!-- Apply entering modifier for open transition. -->
44
- <div style="position: relative; height: 120px; background: var(--ui-color-bg-subtle);">
45
- <div class="ui-modal ui-modal--visible ui-modal--entering" style="position: absolute;">
44
+ <div class="demo-area" style="--demo-h: 120px">
45
+ <div class="ui-modal ui-modal--visible ui-modal--entering ui-absolute">
46
46
  <div class="ui-modal__content">
47
47
  <p>{{ t('entering_modal', 'Entering modal') }}</p>
48
48
  </div>
@@ -50,8 +50,8 @@ description: Container for modal dialogs. Use with overlay for backdrop effect.
50
50
  </div>
51
51
 
52
52
  <!-- @with_scrollable_content -->
53
- <div style="position: relative; height: 200px; background: var(--ui-color-bg-subtle);">
54
- <div class="ui-modal ui-modal--visible" style="position: absolute;">
53
+ <div class="demo-area">
54
+ <div class="ui-modal ui-modal--visible ui-absolute">
55
55
  <div class="ui-modal__content" style="max-height: 150px;">
56
56
  <div class="ui-modal__body">
57
57
  <p>{{ t('line_1', 'Line 1') }}</p>
@@ -22,7 +22,7 @@
22
22
  // @desc Maximum height
23
23
  --_max-height: var(--ui-modal-max-height, calc(100vh - #{t.$unit} * 8));
24
24
  // @desc Z-index stacking order
25
- --_z: var(--ui-modal-z, var(--ui-z-modal, #{t.$z-modal}));
25
+ --_z: var(--ui-modal-z, var(--ui-z-index-modal, #{t.$z-index-modal}));
26
26
  }
27
27
 
28
28
  // @modifier size
@@ -24,7 +24,7 @@
24
24
  },
25
25
  {
26
26
  "name": "--ui-overlay-z",
27
- "default": "var(--ui-z-overlay)",
27
+ "default": "var(--ui-z-index-overlay)",
28
28
  "description": "Z-index stacking order"
29
29
  },
30
30
  {
@@ -4,24 +4,24 @@ description: Full viewport backdrop for modals, dialogs, and drawers. Controls v
4
4
  ---
5
5
 
6
6
  <!-- @default -->
7
- <div style="position: relative; height: 120px; background: var(--ui-color-bg-subtle);">
8
- <div class="ui-overlay" style="position: absolute;"></div>
7
+ <div class="demo-area" style="--demo-h: 120px">
8
+ <div class="ui-overlay ui-absolute"></div>
9
9
  <p style="position: relative; padding: var(--ui-space-2);">{{ t('content_behind_overlay', 'Content behind overlay') }}</p>
10
10
  </div>
11
11
 
12
12
  <!-- @light_variant -->
13
- <div style="position: relative; height: 120px; background: var(--ui-color-text);">
14
- <div class="ui-overlay ui-overlay--light" style="position: absolute;"></div>
13
+ <div class="demo-area" style="--demo-h: 120px; background: var(--ui-color-text)">
14
+ <div class="ui-overlay ui-overlay--light ui-absolute"></div>
15
15
  <p style="position: relative; padding: var(--ui-space-2); color: white;">{{ t('dark_content_behind_light_overlay', 'Dark content behind light overlay') }}</p>
16
16
  </div>
17
17
 
18
18
  <!-- @blur_variant -->
19
- <div style="position: relative; height: 120px; background: linear-gradient(45deg, var(--ui-color-primary), var(--ui-color-success));">
20
- <div class="ui-overlay ui-overlay--blur" style="position: absolute;"></div>
19
+ <div class="demo-area" style="--demo-h: 120px; background: linear-gradient(45deg, var(--ui-color-primary), var(--ui-color-success))">
20
+ <div class="ui-overlay ui-overlay--blur ui-absolute"></div>
21
21
  <p style="position: relative; padding: var(--ui-space-2); color: white;">{{ t('blurred_backdrop', 'Blurred backdrop') }}</p>
22
22
  </div>
23
23
 
24
24
  <!-- @with_animation -->
25
- <div style="position: relative; height: 120px; background: var(--ui-color-bg-subtle);">
26
- <div class="ui-overlay ui-overlay--animate ui-overlay--visible" style="position: absolute;"></div>
25
+ <div class="demo-area" style="--demo-h: 120px">
26
+ <div class="ui-overlay ui-overlay--animate ui-overlay--visible ui-absolute"></div>
27
27
  </div>
@@ -12,7 +12,7 @@
12
12
  // @desc Background color
13
13
  --_bg: var(--ui-overlay-bg, #{t.$overlay-bg});
14
14
  // @desc Z-index stacking order
15
- --_z: var(--ui-overlay-z, var(--ui-z-overlay, #{t.$z-overlay}));
15
+ --_z: var(--ui-overlay-z, var(--ui-z-index-overlay, #{t.$z-index-overlay}));
16
16
  }
17
17
 
18
18
  // @modifier boolean light
@@ -44,7 +44,7 @@
44
44
  },
45
45
  {
46
46
  "name": "--ui-popover-z",
47
- "default": "var(--ui-z-popover)",
47
+ "default": "var(--ui-z-index-popover)",
48
48
  "description": "Z-index stacking order"
49
49
  },
50
50
  {
@@ -4,12 +4,12 @@ description: Floating panel for additional content. Larger than tooltip, can con
4
4
  ---
5
5
 
6
6
  <!-- @default -->
7
- <div class="ui-popover" style="position: relative;">
7
+ <div class="ui-popover ui-relative">
8
8
  <p>{{ t('popover_content', 'Popover content goes here. Can contain multiple paragraphs and other elements.') }}</p>
9
9
  </div>
10
10
 
11
11
  <!-- @with_header -->
12
- <div class="ui-popover" style="position: relative;">
12
+ <div class="ui-popover ui-relative">
13
13
  <header class="ui-popover__header">
14
14
  <h3 class="ui-popover__title">{{ t('popover_title', 'Popover Title') }}</h3>
15
15
  </header>
@@ -18,21 +18,21 @@ description: Floating panel for additional content. Larger than tooltip, can con
18
18
 
19
19
  <!-- @positions -->
20
20
  <div style="padding: var(--ui-space-4);">
21
- <div class="ui-popover ui-popover--top" style="position: relative;">
21
+ <div class="ui-popover ui-popover--top ui-relative">
22
22
  <p>{{ t('top_arrow_down', 'Top (arrow down)') }}</p>
23
23
  </div>
24
24
  </div>
25
25
  <div style="padding: var(--ui-space-4);">
26
- <div class="ui-popover ui-popover--bottom" style="position: relative;">
26
+ <div class="ui-popover ui-popover--bottom ui-relative">
27
27
  <p>{{ t('bottom_arrow_up', 'Bottom (arrow up)') }}</p>
28
28
  </div>
29
29
  </div>
30
30
 
31
31
  <!-- @visibility -->
32
32
  <!-- Control popover visibility and animation. -->
33
- <div class="ui-popover ui-popover--visible ui-popover--animate" style="position: relative;">
33
+ <div class="ui-popover ui-popover--visible ui-popover--animate ui-relative">
34
34
  <p>{{ t('visible_and_animated', 'Visible and animated') }}</p>
35
35
  </div>
36
- <div class="ui-popover ui-popover--hidden" style="position: relative;">
36
+ <div class="ui-popover ui-popover--hidden ui-relative">
37
37
  <p>{{ t('hidden_popover', 'Hidden popover') }}</p>
38
38
  </div>
@@ -10,7 +10,7 @@
10
10
  --_row-1: var(--ui-row-1, #{t.$row});
11
11
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
12
12
  --_font-size-md: var(--ui-font-size-md, #{t.$font-size-md});
13
- --_weight-semibold: var(--ui-weight-semibold, #{t.$weight-semibold});
13
+ --_weight-semibold: var(--ui-font-weight-semibold, #{t.$font-weight-semibold});
14
14
  --_duration-fast: var(--ui-duration-fast, #{t.$duration-fast});
15
15
  --_ease-default: var(--ui-ease-default, ease);
16
16
  // @desc Background color
@@ -26,7 +26,7 @@
26
26
  // @desc Maximum width
27
27
  --_max-width: var(--ui-popover-max-width, calc(#{t.$unit} * 40));
28
28
  // @desc Z-index stacking order
29
- --_z: var(--ui-popover-z, var(--ui-z-popover, #{t.$z-popover}));
29
+ --_z: var(--ui-popover-z, var(--ui-z-index-popover, #{t.$z-index-popover}));
30
30
  // @desc Arrow size
31
31
  --_arrow-size: var(--ui-popover-arrow-size, calc(#{t.$unit}));
32
32
  }
@@ -49,7 +49,7 @@
49
49
  },
50
50
  {
51
51
  "name": "--ui-tooltip-z",
52
- "default": "var(--ui-z-tooltip)",
52
+ "default": "var(--ui-z-index-tooltip)",
53
53
  "description": "Z-index stacking order"
54
54
  },
55
55
  {
@@ -4,23 +4,23 @@ description: Small informational popup for additional context. Position via JS.
4
4
  ---
5
5
 
6
6
  <!-- @positions -->
7
- <div style="display: flex; gap: var(--ui-space-4); padding: var(--ui-space-4); flex-wrap: wrap;">
8
- <div style="position: relative;">
9
- <span class="ui-tooltip ui-tooltip--top" style="position: relative;">{{ t('top', 'Top') }}</span>
7
+ <div class="ui-flex ui-gap-4 ui-p-4 ui-flex-wrap">
8
+ <div class="ui-relative">
9
+ <span class="ui-tooltip ui-tooltip--top ui-relative">{{ t('top', 'Top') }}</span>
10
10
  </div>
11
- <div style="position: relative;">
12
- <span class="ui-tooltip ui-tooltip--bottom" style="position: relative;">{{ t('bottom', 'Bottom') }}</span>
11
+ <div class="ui-relative">
12
+ <span class="ui-tooltip ui-tooltip--bottom ui-relative">{{ t('bottom', 'Bottom') }}</span>
13
13
  </div>
14
- <div style="position: relative;">
15
- <span class="ui-tooltip ui-tooltip--start" style="position: relative;">{{ t('start', 'Start') }}</span>
14
+ <div class="ui-relative">
15
+ <span class="ui-tooltip ui-tooltip--start ui-relative">{{ t('start', 'Start') }}</span>
16
16
  </div>
17
- <div style="position: relative;">
18
- <span class="ui-tooltip ui-tooltip--end" style="position: relative;">{{ t('end', 'End') }}</span>
17
+ <div class="ui-relative">
18
+ <span class="ui-tooltip ui-tooltip--end ui-relative">{{ t('end', 'End') }}</span>
19
19
  </div>
20
20
  </div>
21
21
 
22
22
  <!-- @with_animation -->
23
- <span class="ui-tooltip ui-tooltip--top ui-tooltip--animate ui-tooltip--visible" style="position: relative;">{{ t('animated_tooltip', 'Animated tooltip') }}</span>
23
+ <span class="ui-tooltip ui-tooltip--top ui-tooltip--animate ui-tooltip--visible ui-relative">{{ t('animated_tooltip', 'Animated tooltip') }}</span>
24
24
 
25
25
  <!-- @anchor_positioned -->
26
26
  <!-- Browser-native positioning via CSS Anchor Positioning. No JS needed for placement. Wrapped in @supports — falls back to manual positioning in unsupported browsers. -->
@@ -22,7 +22,7 @@
22
22
  // @desc Font size
23
23
  --_font-size: var(--ui-tooltip-font-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
24
24
  // @desc Z-index stacking order
25
- --_z: var(--ui-tooltip-z, var(--ui-z-tooltip, #{t.$z-tooltip}));
25
+ --_z: var(--ui-tooltip-z, var(--ui-z-index-tooltip, #{t.$z-index-tooltip}));
26
26
  // @desc Arrow size
27
27
  --_arrow-size: var(--ui-tooltip-arrow-size, calc(#{t.$unit} / 2));
28
28
  }
@@ -38,7 +38,7 @@
38
38
  },
39
39
  {
40
40
  "name": "--ui-blockquote-line-height",
41
- "default": "var(--ui-leading-lg)",
41
+ "default": "var(--ui-line-height-lg)",
42
42
  "description": "Line height"
43
43
  }
44
44
  ]
@@ -6,7 +6,7 @@
6
6
  .blockquote {
7
7
  --_space-1: var(--ui-space-1, #{t.$space-1});
8
8
  --_font-size-sm: var(--ui-font-size-sm, #{t.$font-size-sm});
9
- --_leading-sm: var(--ui-leading-sm, #{t.$leading-sm});
9
+ --_leading-sm: var(--ui-line-height-sm, #{t.$line-height-sm});
10
10
  --_color-text-muted: var(--ui-color-text-muted, #{t.$color-text-muted});
11
11
  // @desc Border color
12
12
  --_border-color: var(--ui-blockquote-border-color, var(--ui-color-border-strong, #{t.$color-border-strong}));
@@ -19,7 +19,7 @@
19
19
  // @desc Font size
20
20
  --_font-size: var(--ui-blockquote-font-size, var(--ui-font-size-lg, #{t.$font-size-lg}));
21
21
  // @desc Line height
22
- --_line-height: var(--ui-blockquote-line-height, var(--ui-leading-lg, #{t.$leading-lg}));
22
+ --_line-height: var(--ui-blockquote-line-height, var(--ui-line-height-lg, #{t.$line-height-lg}));
23
23
  }
24
24
 
25
25
  // @modifier variant
@@ -8,7 +8,7 @@
8
8
  // Inline code
9
9
  .code {
10
10
  --_font-mono: var(--ui-font-mono, #{t.$font-mono});
11
- --_leading-tight-sm: var(--ui-leading-tight-sm, #{t.$leading-tight-sm});
11
+ --_leading-tight-sm: var(--ui-line-height-tight-sm, #{t.$line-height-tight-sm});
12
12
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
13
13
  // @desc Font size
14
14
  --_font-size: var(--ui-code-font-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
@@ -48,7 +48,7 @@
48
48
  },
49
49
  {
50
50
  "name": "--ui-code-block-line-height",
51
- "default": "var(--ui-leading-tight-sm)",
51
+ "default": "var(--ui-line-height-tight-sm)",
52
52
  "description": "Line height"
53
53
  },
54
54
  {
@@ -21,7 +21,7 @@
21
21
  // @desc Font size
22
22
  --_font-size: var(--ui-code-block-font-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
23
23
  // @desc Line height
24
- --_line-height: var(--ui-code-block-line-height, var(--ui-leading-tight-sm, #{t.$leading-tight-sm}));
24
+ --_line-height: var(--ui-code-block-line-height, var(--ui-line-height-tight-sm, #{t.$line-height-tight-sm}));
25
25
  // @desc Corner radius
26
26
  --_radius: var(--ui-code-block-radius, var(--ui-radius-md, #{t.$radius-md}));
27
27
  }
@@ -15,12 +15,12 @@
15
15
  },
16
16
  {
17
17
  "name": "--ui-heading-line-height",
18
- "default": "var(--ui-leading-xl)",
18
+ "default": "var(--ui-line-height-xl)",
19
19
  "description": "Line height"
20
20
  },
21
21
  {
22
22
  "name": "--ui-heading-weight",
23
- "default": "var(--ui-weight-bold)",
23
+ "default": "var(--ui-font-weight-bold)",
24
24
  "description": "Weight"
25
25
  },
26
26
  {
@@ -35,7 +35,7 @@
35
35
  },
36
36
  {
37
37
  "name": "--ui-heading-line-height-4xl",
38
- "default": "var(--ui-leading-4xl)",
38
+ "default": "var(--ui-line-height-4xl)",
39
39
  "description": "Line height 4xl"
40
40
  },
41
41
  {
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "name": "--ui-heading-line-height-3xl",
48
- "default": "var(--ui-leading-3xl)",
48
+ "default": "var(--ui-line-height-3xl)",
49
49
  "description": "Line height 3xl"
50
50
  },
51
51
  {
@@ -55,7 +55,7 @@
55
55
  },
56
56
  {
57
57
  "name": "--ui-heading-line-height-2xl",
58
- "default": "var(--ui-leading-2xl)",
58
+ "default": "var(--ui-line-height-2xl)",
59
59
  "description": "Line height 2xl"
60
60
  },
61
61
  {
@@ -65,7 +65,7 @@
65
65
  },
66
66
  {
67
67
  "name": "--ui-heading-line-height-xl",
68
- "default": "var(--ui-leading-xl)",
68
+ "default": "var(--ui-line-height-xl)",
69
69
  "description": "Line height at extra-large size"
70
70
  },
71
71
  {
@@ -75,7 +75,7 @@
75
75
  },
76
76
  {
77
77
  "name": "--ui-heading-line-height-lg",
78
- "default": "var(--ui-leading-lg)",
78
+ "default": "var(--ui-line-height-lg)",
79
79
  "description": "Line height at large size"
80
80
  },
81
81
  {
@@ -85,7 +85,7 @@
85
85
  },
86
86
  {
87
87
  "name": "--ui-heading-line-height-md",
88
- "default": "var(--ui-leading-tight-md)",
88
+ "default": "var(--ui-line-height-tight-md)",
89
89
  "description": "Line height at medium size"
90
90
  },
91
91
  {
@@ -95,7 +95,7 @@
95
95
  },
96
96
  {
97
97
  "name": "--ui-heading-line-height-sm",
98
- "default": "var(--ui-leading-tight-sm)",
98
+ "default": "var(--ui-line-height-tight-sm)",
99
99
  "description": "Line height at small size"
100
100
  }
101
101
  ]