@a-type/ui 6.0.81 → 6.1.1

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 (164) hide show
  1. package/dist/arbor/arbor.d.ts +637 -691
  2. package/dist/arbor/arbor.js +51 -63
  3. package/dist/arbor/arbor.js.map +1 -1
  4. package/dist/colors.module.css +14 -14
  5. package/dist/components/actions/ActionBar.module.css +1 -1
  6. package/dist/components/actions/ActionButton.module.css +1 -1
  7. package/dist/components/avatar/Avatar.module.css +5 -5
  8. package/dist/components/box/Box.module.css +19 -19
  9. package/dist/components/box/Box.stories.js +1 -1
  10. package/dist/components/box/Box.stories.js.map +1 -1
  11. package/dist/components/button/Button.module.css +9 -9
  12. package/dist/components/camera/Camera.module.css +9 -9
  13. package/dist/components/card/Card.module.css +24 -24
  14. package/dist/components/card/Card.stories.js +2 -2
  15. package/dist/components/card/Card.stories.js.map +1 -1
  16. package/dist/components/checkbox/Checkbox.module.css +8 -8
  17. package/dist/components/chip/Chip.module.css +9 -9
  18. package/dist/components/collapsible/Collapsible.module.css +2 -2
  19. package/dist/components/combobox/Combobox.module.css +26 -26
  20. package/dist/components/datePicker/Calendar.module.css +32 -32
  21. package/dist/components/datePicker/dateRangePicker.module.css +1 -1
  22. package/dist/components/dialog/Dialog.module.css +25 -25
  23. package/dist/components/dialog/Dialog.stories.js +1 -1
  24. package/dist/components/dialog/Dialog.stories.js.map +1 -1
  25. package/dist/components/divider/Divider.module.css +2 -2
  26. package/dist/components/editableText/EditableText.module.css +5 -5
  27. package/dist/components/emojiPicker/EmojiPicker.module.css +10 -10
  28. package/dist/components/forms/Field.module.css +10 -12
  29. package/dist/components/forms/Form.module.css +1 -1
  30. package/dist/components/forms/NumberStepperField.module.css +1 -1
  31. package/dist/components/forms/TextField.module.css +1 -1
  32. package/dist/components/horizontalList/HorizontalList.module.css +7 -8
  33. package/dist/components/horizontalList/HorizontalList.stories.js +5 -5
  34. package/dist/components/horizontalList/HorizontalList.stories.js.map +1 -1
  35. package/dist/components/icon/Icon.module.css +1 -1
  36. package/dist/components/icon/Icon.stories.js +1 -1
  37. package/dist/components/icon/Icon.stories.js.map +1 -1
  38. package/dist/components/imageUploader/ImageUploader.module.css +9 -9
  39. package/dist/components/input/Input.module.css +13 -13
  40. package/dist/components/layouts/PageContent.module.css +3 -3
  41. package/dist/components/layouts/PageFixedArea.module.css +1 -1
  42. package/dist/components/layouts/PageNav.module.css +4 -4
  43. package/dist/components/layouts/PageNowPlaying.module.css +4 -4
  44. package/dist/components/layouts/PageRoot.module.css +1 -1
  45. package/dist/components/layouts/PageSection.module.css +4 -4
  46. package/dist/components/layouts/layouts.stories.js +1 -1
  47. package/dist/components/layouts/layouts.stories.js.map +1 -1
  48. package/dist/components/lightbox/Lightbox.module.css +5 -5
  49. package/dist/components/lists/lists.module.css +3 -3
  50. package/dist/components/marquee/marquee.module.css +1 -1
  51. package/dist/components/navBar/NavBar.module.css +19 -19
  52. package/dist/components/note/Note.module.css +16 -16
  53. package/dist/components/numberStepper/NumberStepper.module.css +4 -4
  54. package/dist/components/peek/Peek.module.css +9 -9
  55. package/dist/components/popover/Popover.module.css +5 -5
  56. package/dist/components/popover/Popover.stories.js +1 -1
  57. package/dist/components/popover/Popover.stories.js.map +1 -1
  58. package/dist/components/primitives/menus.module.css +29 -33
  59. package/dist/components/progress/Progress.module.css +11 -11
  60. package/dist/components/provider/Provider.js +1 -1
  61. package/dist/components/provider/Provider.js.map +1 -1
  62. package/dist/components/pwaInstall/PwaInstall.module.css +4 -4
  63. package/dist/components/quickAction/QuickAction.module.css +4 -4
  64. package/dist/components/richEditor/richEditor.module.css +18 -18
  65. package/dist/components/scrollArea/ScrollArea.module.css +8 -8
  66. package/dist/components/select/Select.module.css +3 -3
  67. package/dist/components/skeletons/skeletons.module.css +3 -3
  68. package/dist/components/slider/Slider.module.css +13 -13
  69. package/dist/components/spinner/Spinner.module.css +1 -1
  70. package/dist/components/switch/Switch.module.css +9 -9
  71. package/dist/components/tabs/tabs.module.css +16 -16
  72. package/dist/components/textArea/TextArea.module.css +1 -1
  73. package/dist/components/toasts/toasts.module.css +19 -19
  74. package/dist/components/toggleGroup/toggleGroup.module.css +12 -12
  75. package/dist/components/tooltip/Tooltip.module.css +10 -10
  76. package/dist/components/typography/typography.d.ts +1 -2
  77. package/dist/components/typography/typography.js +1 -2
  78. package/dist/components/typography/typography.js.map +1 -1
  79. package/dist/components/typography/typography.module.css +6 -9
  80. package/dist/components/viewport/Viewport.module.css +9 -9
  81. package/dist/css/base.css +1 -1
  82. package/dist/css/util.css +10 -10
  83. package/dist/hooks/useTitleBarColor.stories.js +1 -1
  84. package/dist/hooks/useTitleBarColor.stories.js.map +1 -1
  85. package/dist/keyboard.stories.js +1 -1
  86. package/dist/keyboard.stories.js.map +1 -1
  87. package/dist/shadows.stories.js +1 -1
  88. package/dist/shadows.stories.js.map +1 -1
  89. package/dist/theme.stories.module.css +1 -1
  90. package/package.json +5 -5
  91. package/src/arbor/arbor.ts +54 -67
  92. package/src/colors.module.css +14 -14
  93. package/src/components/actions/ActionBar.module.css +1 -1
  94. package/src/components/actions/ActionButton.module.css +1 -1
  95. package/src/components/avatar/Avatar.module.css +5 -5
  96. package/src/components/box/Box.module.css +19 -19
  97. package/src/components/box/Box.stories.tsx +1 -1
  98. package/src/components/button/Button.module.css +9 -9
  99. package/src/components/camera/Camera.module.css +9 -9
  100. package/src/components/card/Card.module.css +24 -24
  101. package/src/components/card/Card.stories.tsx +2 -2
  102. package/src/components/checkbox/Checkbox.module.css +8 -8
  103. package/src/components/chip/Chip.module.css +9 -9
  104. package/src/components/collapsible/Collapsible.module.css +2 -2
  105. package/src/components/combobox/Combobox.module.css +26 -26
  106. package/src/components/datePicker/Calendar.module.css +32 -32
  107. package/src/components/datePicker/dateRangePicker.module.css +1 -1
  108. package/src/components/dialog/Dialog.module.css +25 -25
  109. package/src/components/dialog/Dialog.stories.tsx +1 -1
  110. package/src/components/divider/Divider.module.css +2 -2
  111. package/src/components/editableText/EditableText.module.css +5 -5
  112. package/src/components/emojiPicker/EmojiPicker.module.css +10 -10
  113. package/src/components/forms/Field.module.css +10 -12
  114. package/src/components/forms/Form.module.css +1 -1
  115. package/src/components/forms/NumberStepperField.module.css +1 -1
  116. package/src/components/forms/TextField.module.css +1 -1
  117. package/src/components/horizontalList/HorizontalList.module.css +7 -8
  118. package/src/components/horizontalList/HorizontalList.stories.tsx +5 -5
  119. package/src/components/icon/Icon.module.css +1 -1
  120. package/src/components/icon/Icon.stories.tsx +1 -1
  121. package/src/components/imageUploader/ImageUploader.module.css +9 -9
  122. package/src/components/input/Input.module.css +13 -13
  123. package/src/components/layouts/PageContent.module.css +3 -3
  124. package/src/components/layouts/PageFixedArea.module.css +1 -1
  125. package/src/components/layouts/PageNav.module.css +4 -4
  126. package/src/components/layouts/PageNowPlaying.module.css +4 -4
  127. package/src/components/layouts/PageRoot.module.css +1 -1
  128. package/src/components/layouts/PageSection.module.css +4 -4
  129. package/src/components/layouts/layouts.stories.tsx +1 -1
  130. package/src/components/lightbox/Lightbox.module.css +5 -5
  131. package/src/components/lists/lists.module.css +3 -3
  132. package/src/components/marquee/marquee.module.css +1 -1
  133. package/src/components/navBar/NavBar.module.css +19 -19
  134. package/src/components/note/Note.module.css +16 -16
  135. package/src/components/numberStepper/NumberStepper.module.css +4 -4
  136. package/src/components/peek/Peek.module.css +9 -9
  137. package/src/components/popover/Popover.module.css +5 -5
  138. package/src/components/popover/Popover.stories.tsx +1 -1
  139. package/src/components/primitives/menus.module.css +29 -33
  140. package/src/components/progress/Progress.module.css +11 -11
  141. package/src/components/provider/Provider.tsx +1 -1
  142. package/src/components/pwaInstall/PwaInstall.module.css +4 -4
  143. package/src/components/quickAction/QuickAction.module.css +4 -4
  144. package/src/components/richEditor/richEditor.module.css +18 -18
  145. package/src/components/scrollArea/ScrollArea.module.css +8 -8
  146. package/src/components/select/Select.module.css +3 -3
  147. package/src/components/skeletons/skeletons.module.css +3 -3
  148. package/src/components/slider/Slider.module.css +13 -13
  149. package/src/components/spinner/Spinner.module.css +1 -1
  150. package/src/components/switch/Switch.module.css +9 -9
  151. package/src/components/tabs/tabs.module.css +16 -16
  152. package/src/components/textArea/TextArea.module.css +1 -1
  153. package/src/components/toasts/toasts.module.css +19 -19
  154. package/src/components/toggleGroup/toggleGroup.module.css +12 -12
  155. package/src/components/tooltip/Tooltip.module.css +10 -10
  156. package/src/components/typography/typography.module.css +6 -9
  157. package/src/components/typography/typography.tsx +0 -3
  158. package/src/components/viewport/Viewport.module.css +9 -9
  159. package/src/css/base.css +1 -1
  160. package/src/css/util.css +10 -10
  161. package/src/hooks/useTitleBarColor.stories.tsx +1 -1
  162. package/src/keyboard.stories.tsx +1 -1
  163. package/src/shadows.stories.tsx +1 -1
  164. package/src/theme.stories.module.css +1 -1
@@ -8,7 +8,7 @@
8
8
  &:focus-visible {
9
9
  @apply --mx-shadow;
10
10
  --mx-ring-value: --fn-focus-ring();
11
- border-radius: var(--m-action-radius);
11
+ border-radius: var(--m-action-rd);
12
12
  }
13
13
  }
14
14
 
@@ -26,8 +26,8 @@
26
26
 
27
27
  .close {
28
28
  position: absolute;
29
- right: var(--m-space-md);
30
- top: var(--m-space-md);
29
+ right: var(--m-sp-md);
30
+ top: var(--m-sp-md);
31
31
  }
32
32
 
33
33
  .overlay {
@@ -37,7 +37,7 @@
37
37
  backdrop-filter: blur(4px);
38
38
  transition: opacity 0.2s ease;
39
39
 
40
- @apply --mx-bg(var(--m-color-neutral-ink));
40
+ @apply --mx-bg(var(--m-gray-ink));
41
41
  @apply --mx-bg-faded(50%);
42
42
 
43
43
  &[data-state='closed'] {
@@ -60,7 +60,7 @@
60
60
  width: 90vw;
61
61
  max-width: 100%;
62
62
 
63
- padding: var(--m-space-lg);
63
+ padding: var(--m-sp-lg);
64
64
  border: none;
65
65
  background: none;
66
66
  pointer-events: none;
@@ -3,13 +3,13 @@
3
3
  list-style-position: inside;
4
4
  margin: 0;
5
5
  padding: 0;
6
- padding-inline-start: var(--m-space-lg);
6
+ padding-inline-start: var(--m-sp-lg);
7
7
  display: flex;
8
8
  flex-direction: column;
9
- gap: var(--m-space-sm);
9
+ gap: var(--m-sp-sm);
10
10
 
11
11
  & > li {
12
- margin-left: var(--m-space-sm);
12
+ margin-left: var(--m-sp-sm);
13
13
  }
14
14
 
15
15
  &[data-unstyled] {
@@ -14,7 +14,7 @@
14
14
  display: flex;
15
15
  flex-direction: row;
16
16
  overflow: visible;
17
- transition: transform var(--m-duration-long) var(--m-easing);
17
+ transition: transform var(--m-dur-long) var(--m-ease);
18
18
  }
19
19
 
20
20
  .item {
@@ -6,9 +6,9 @@
6
6
  justify-items: center;
7
7
  overflow: clip;
8
8
  border-radius: 0;
9
- padding: var(--m-space-sm);
9
+ padding: var(--m-sp-sm);
10
10
  z-index: 50;
11
- padding-bottom: calc(var(--m-space-sm) + env(safe-area-inset-bottom, 0px));
11
+ padding-bottom: calc(var(--m-sp-sm) + env(safe-area-inset-bottom, 0px));
12
12
 
13
13
  @media (min-width: 768px) {
14
14
  height: min-content;
@@ -16,11 +16,11 @@
16
16
  flex-direction: column;
17
17
  align-items: stretch;
18
18
  justify-content: start;
19
- gap: var(--m-space-sm);
19
+ gap: var(--m-sp-sm);
20
20
  overflow-x: clip;
21
21
  overflow-y: auto;
22
22
  border-radius: 0;
23
- padding-bottom: var(--m-space-xl);
23
+ padding-bottom: var(--m-sp-xl);
24
24
  box-shadow: none;
25
25
  @apply --mx-bg(transparent);
26
26
  border: none;
@@ -36,13 +36,13 @@
36
36
  user-select: none;
37
37
  align-items: center;
38
38
  justify-content: center;
39
- gap: var(--m-space-sm);
39
+ gap: var(--m-sp-sm);
40
40
  white-space: nowrap;
41
- padding: var(--m-action-padding);
42
- transition: all var(--m-duration) var(--m-easing);
43
- @apply --mx-fg(var(--m-color-neutral-ink));
41
+ padding: var(--m-action-p);
42
+ transition: all var(--m-dur) var(--m-ease);
43
+ @apply --mx-fg(var(--m-gray-ink));
44
44
  @apply --mx-bg(transparent);
45
- border-radius: var(--m-radius-sm);
45
+ border-radius: var(--m-rd-sm);
46
46
  border: none;
47
47
  font-size: var(--m-prose-ambient-size);
48
48
  line-height: 1;
@@ -76,8 +76,8 @@
76
76
  flex-direction: row-reverse;
77
77
  justify-content: end;
78
78
  align-items: center;
79
- gap: var(--m-space-md);
80
- padding: var(--m-action-padding);
79
+ gap: var(--m-sp-md);
80
+ padding: var(--m-action-p);
81
81
  overflow: visible;
82
82
  font-size: var(--m-prose-secondary-size);
83
83
  &:active {
@@ -97,10 +97,10 @@
97
97
  }
98
98
 
99
99
  @media (min-width: 768px) {
100
- @apply --mx-bg(var(--m-color-neutral-light));
100
+ @apply --mx-bg(var(--m-gray-light));
101
101
  @apply --mx-bg-faded(50%);
102
- padding: var(--m-space-sm);
103
- border-radius: var(--m-action-radius);
102
+ padding: var(--m-sp-sm);
103
+ border-radius: var(--m-action-rd);
104
104
 
105
105
  [data-active='true'] & {
106
106
  @apply --mx-bg(inherit);
@@ -109,7 +109,7 @@
109
109
  }
110
110
 
111
111
  .itemText {
112
- @apply --mx-fg(var(--m-color-neutral-ink));
112
+ @apply --mx-fg(var(--m-gray-ink));
113
113
  font-size: var(--m-prose-ambient-size);
114
114
  line-height: 1;
115
115
  font-weight: inherit;
@@ -126,18 +126,18 @@
126
126
  @apply --mx-fg(inherit);
127
127
 
128
128
  [data-active='true'] & {
129
- @apply --mx-fill(var(--m-color-main));
129
+ @apply --mx-fill(var(--m-tint));
130
130
  }
131
131
  }
132
132
 
133
133
  .pip {
134
134
  position: absolute;
135
- top: var(--m-space-sm);
136
- right: var(--m-space-sm);
135
+ top: var(--m-sp-sm);
136
+ right: var(--m-sp-sm);
137
137
  width: 6px;
138
138
  height: 6px;
139
139
  border-radius: 50%;
140
- background-color: var(--m-color-main);
140
+ background-color: var(--m-tint);
141
141
  @apply --mx-shadow;
142
142
  --mx-shadow-value: var(--m-shadow-sm);
143
143
  }
@@ -3,14 +3,14 @@
3
3
 
4
4
  &:has(input:focus[data-focus-clicked]),
5
5
  &:has(textarea:focus[data-focus-clicked]) {
6
- @apply --mx-bg(var(--m-color-main-light));
6
+ @apply --mx-bg(var(--m-tint-light));
7
7
  @apply --mx-bg-lighter(3);
8
- --mx-ring-value: --fn-ring(var(--m-color-main-light), 4px);
8
+ --mx-ring-value: --fn-ring(var(--m-tint-light), 4px);
9
9
  }
10
10
 
11
11
  &:has(input:focus-visible),
12
12
  &:has(textarea:focus-visible) {
13
- @apply --mx-bg(var(--m-color-main-light));
13
+ @apply --mx-bg(var(--m-tint-light));
14
14
  @apply --mx-bg-lighter(3);
15
15
  --mx-ring-value: --fn-focus-ring();
16
16
  }
@@ -24,17 +24,17 @@
24
24
  .content {
25
25
  position: relative;
26
26
  flex: 1;
27
- padding: var(--m-space-sm);
27
+ padding: var(--m-sp-sm);
28
28
 
29
29
  font-size: var(--m-prose-ambient-size);
30
30
  line-height: var(--m-prose-ambient-lineHeight);
31
31
  font-weight: var(--m-prose-ambient-weight);
32
32
  font-style: italic;
33
33
 
34
- @apply --mx-fg(var(--m-color-neutral-ink));
35
- @apply --mx-bg(var(--m-color-main-wash));
34
+ @apply --mx-fg(var(--m-gray-ink));
35
+ @apply --mx-bg(var(--m-tint-wash));
36
36
  @apply --mx-bg-heavier(1);
37
- @apply --mx-borderColor(var(--m-color-main-heavy));
37
+ @apply --mx-borderColor(var(--m-tint-heavy));
38
38
  border-right-width: 0;
39
39
 
40
40
  & input,
@@ -61,9 +61,9 @@
61
61
  width: 20px;
62
62
  flex: 0 0 20px;
63
63
 
64
- @apply --mx-borderColor(var(--m-color-main-heavy));
65
- border-bottom-width: var(--m-lineWidth-md);
66
- border-left-width: var(--m-lineWidth-md);
64
+ @apply --mx-borderColor(var(--m-tint-heavy));
65
+ border-bottom-width: var(--m-lw-md);
66
+ border-left-width: var(--m-lw-md);
67
67
  border-top-width: 0;
68
68
  border-right-width: 0;
69
69
  }
@@ -76,7 +76,7 @@
76
76
  right: 0;
77
77
  transform-origin: right bottom;
78
78
 
79
- @apply --mx-borderColor(var(--m-color-main-wash));
79
+ @apply --mx-borderColor(var(--m-tint-wash));
80
80
  @apply --mx-borderColor-heavier(1);
81
81
  border-width: 9.5px;
82
82
  border-style: solid;
@@ -94,16 +94,16 @@
94
94
  transform-origin: center center;
95
95
  transform: rotate(-45deg);
96
96
 
97
- @apply --mx-bg(var(--m-color-main-heavy));
97
+ @apply --mx-bg(var(--m-tint-heavy));
98
98
  }
99
99
 
100
100
  .foldBottom {
101
101
  flex: 1;
102
- @apply --mx-borderColor(var(--m-color-main-heavy));
103
- @apply --mx-bg(var(--m-color-main-wash));
102
+ @apply --mx-borderColor(var(--m-tint-heavy));
103
+ @apply --mx-bg(var(--m-tint-wash));
104
104
  @apply --mx-bg-heavier(1);
105
- border-right-width: var(--m-lineWidth-md);
106
- border-bottom-width: var(--m-lineWidth-md);
105
+ border-right-width: var(--m-lw-md);
106
+ border-bottom-width: var(--m-lw-md);
107
107
  border-left-width: 0;
108
108
  border-top-width: 0;
109
109
  }
@@ -9,8 +9,8 @@
9
9
 
10
10
  @apply --mx-bg(var(--m-control-bg));
11
11
  @apply --mx-fg(var(--m-control-fg));
12
- @apply --mx-borderColor(var(--m-control-borderColor));
13
- border-radius: var(--m-control-radius);
12
+ @apply --mx-borderColor(var(--m-control-b-color));
13
+ border-radius: var(--m-control-rd);
14
14
 
15
15
  &:disabled,
16
16
  &[data-disabled='true'] {
@@ -21,8 +21,8 @@
21
21
  }
22
22
 
23
23
  &[data-emphasis='primary'] {
24
- @apply --mx-bg(var(--m-color-main-wash));
25
- @apply --mx-fg(var(--m-color-main-ink));
24
+ @apply --mx-bg(var(--m-tint-wash));
25
+ @apply --mx-fg(var(--m-tint-ink));
26
26
  }
27
27
  }
28
28
 
@@ -27,16 +27,16 @@
27
27
  }
28
28
 
29
29
  &[data-has-interacted='true'] {
30
- animation-timing-function: var(--m-easing);
30
+ animation-timing-function: var(--m-ease);
31
31
  animation-fill-mode: forwards;
32
32
 
33
33
  &[data-state='closed'] {
34
34
  animation-name: peekClose;
35
- animation-duration: var(--m-duration);
35
+ animation-duration: var(--m-dur);
36
36
  }
37
37
  &[data-state='open'] {
38
38
  animation-name: peekOpen;
39
- animation-duration: var(--m-duration-long);
39
+ animation-duration: var(--m-dur-long);
40
40
  }
41
41
  }
42
42
  }
@@ -50,7 +50,7 @@
50
50
  cursor: pointer;
51
51
  @apply --mx-borderColor(var(--mx-fg-ref));
52
52
  border-width: 0px;
53
- border-bottom-width: var(--m-lineWidth-sm);
53
+ border-bottom-width: var(--m-lw-sm);
54
54
 
55
55
  background: linear-gradient(to bottom, transparent 0%, var(--mx-bg-ref) 100%);
56
56
 
@@ -61,9 +61,9 @@
61
61
  background: linear-gradient(
62
62
  to bottom,
63
63
  transparent 0%,
64
- var(--m-color-main-wash) 100%
64
+ var(--m-tint-wash) 100%
65
65
  );
66
- border-color: var(--m-color-main);
66
+ border-color: var(--m-tint);
67
67
  }
68
68
 
69
69
  &::after {
@@ -76,11 +76,11 @@
76
76
  flex-direction: column;
77
77
  align-items: center;
78
78
  justify-content: end;
79
- padding: var(--m-space-sm);
79
+ padding: var(--m-sp-sm);
80
80
  font-size: var(--m-prose-ambient-size);
81
81
  line-height: var(--m-prose-ambient-lineHeight);
82
82
  font-weight: var(--m-prose-ambient-weight);
83
- @apply --mx-fg(var(--m-color-neutral-heavy));
83
+ @apply --mx-fg(var(--m-gray-heavy));
84
84
  }
85
85
  &[data-state='open'] {
86
86
  &::after {
@@ -92,5 +92,5 @@
92
92
  opacity: 0;
93
93
  }
94
94
  opacity: 1;
95
- transition: opacity var(--m-duration) var(--m-easing);
95
+ transition: opacity var(--m-dur) var(--m-ease);
96
96
  }
@@ -1,17 +1,17 @@
1
1
  .close {
2
2
  position: absolute;
3
- right: var(--m-space-sm);
4
- top: var(--m-space-sm);
3
+ right: var(--m-sp-sm);
4
+ top: var(--m-sp-sm);
5
5
  }
6
6
 
7
7
  .popup {
8
- padding: var(--m-space-md);
8
+ padding: var(--m-sp-md);
9
9
  }
10
10
 
11
11
  .title {
12
12
  font-weight: 500;
13
13
  margin: 0;
14
- margin-block-end: var(--m-space-sm);
14
+ margin-block-end: var(--m-sp-sm);
15
15
  font-size: var(--m-prose-secondary-size);
16
16
  line-height: var(--m-prose-secondary-lineHeight);
17
17
  }
@@ -20,5 +20,5 @@
20
20
  margin: 0;
21
21
  font-size: var(--m-prose-ambient-size);
22
22
  line-height: var(--m-prose-ambient-lineHeight);
23
- @apply --mx-fg(var(--m-color-neutral-heavy));
23
+ @apply --mx-fg(var(--m-gray-heavy));
24
24
  }
@@ -22,7 +22,7 @@ export const Default: Story = {
22
22
  <Popover.Trigger render={<Button color="primary" size="small" />}>
23
23
  Open Popover
24
24
  </Popover.Trigger>
25
- <Popover.Content style={{ padding: 'var(--m-space-md)' }}>
25
+ <Popover.Content style={{ padding: 'var(--m-sp-md)' }}>
26
26
  <Popover.Arrow />
27
27
  <Popover.Title>Hello</Popover.Title>
28
28
  <Popover.Description>This is a popover content.</Popover.Description>
@@ -5,7 +5,7 @@
5
5
  max-width: var(--available-width, 95vw);
6
6
  max-height: var(--available-height);
7
7
 
8
- transition: all var(--m-duration) var(--m-easing);
8
+ transition: all var(--m-dur) var(--m-ease);
9
9
 
10
10
  @apply --mx-shadow(var(--m-shadow-lg));
11
11
  @apply --mx-surface-ambient;
@@ -19,13 +19,13 @@
19
19
  }
20
20
  &:focus-visible {
21
21
  @apply --mx-ring(--fn-ring(
22
- --fn-color-faded(var(--m-color-main-ink), 50%),
22
+ --fn-color-faded(var(--m-tint-ink), 50%),
23
23
  2px
24
24
  ));
25
25
  }
26
26
 
27
27
  @media (forced-colors: active) {
28
- border-color: var(--m-color-main-ink);
28
+ border-color: var(--m-tint-ink);
29
29
  }
30
30
  @media (prefers-reduced-motion: reduce) {
31
31
  transition: none;
@@ -61,9 +61,9 @@
61
61
  min-height: 0px;
62
62
  overflow-x: clip;
63
63
  overflow-y: auto;
64
- scroll-padding-block: var(--m-space-md);
64
+ scroll-padding-block: var(--m-sp-md);
65
65
  position: relative;
66
- padding: var(--m-space-xs);
66
+ padding: var(--m-sp-xs);
67
67
 
68
68
  border-radius: inherit;
69
69
  }
@@ -76,9 +76,9 @@
76
76
  cursor: pointer;
77
77
  user-select: none;
78
78
 
79
- padding: var(--m-action-padding);
80
- padding-left: var(--m-space-lg);
81
- gap: var(--m-space-sm);
79
+ padding: var(--m-action-p);
80
+ padding-left: var(--m-sp-lg);
81
+ gap: var(--m-sp-sm);
82
82
 
83
83
  text-align: left;
84
84
  font-size: var(--m-prose-secondary-size);
@@ -91,15 +91,15 @@
91
91
  &[data-disabled],
92
92
  &:disabled {
93
93
  pointer-events: none;
94
- @apply --mx-fg(var(--m-color-neutral-heavy));
95
- @apply --mx-bg(var(--m-color-neutral-paper));
94
+ @apply --mx-fg(var(--m-gray-heavy));
95
+ @apply --mx-bg(var(--m-gray-paper));
96
96
  }
97
97
 
98
98
  &:hover,
99
99
  &[data-highlighted],
100
100
  &[data-state='checked'],
101
101
  &:focus-visible {
102
- @apply --mx-bg(var(--m-color-neutral-light));
102
+ @apply --mx-bg(var(--m-gray-light));
103
103
  }
104
104
 
105
105
  &:focus {
@@ -109,18 +109,14 @@
109
109
  --mx-ring-value: --fn-focus-ring();
110
110
  }
111
111
 
112
- border-radius: var(--m-radius-xs);
112
+ border-radius: var(--m-rd-xs);
113
113
  &:first-child {
114
- border-top-left-radius: calc(var(--m-surface-radius) - var(--m-space-xs));
115
- border-top-right-radius: calc(var(--m-surface-radius) - var(--m-space-xs));
114
+ border-top-left-radius: calc(var(--m-surface-rd) - var(--m-sp-xs));
115
+ border-top-right-radius: calc(var(--m-surface-rd) - var(--m-sp-xs));
116
116
  }
117
117
  &:last-child {
118
- border-bottom-left-radius: calc(
119
- var(--m-surface-radius) - var(--m-space-xs)
120
- );
121
- border-bottom-right-radius: calc(
122
- var(--m-surface-radius) - var(--m-space-xs)
123
- );
118
+ border-bottom-left-radius: calc(var(--m-surface-rd) - var(--m-sp-xs));
119
+ border-bottom-right-radius: calc(var(--m-surface-rd) - var(--m-sp-xs));
124
120
  }
125
121
  }
126
122
 
@@ -129,8 +125,8 @@
129
125
  display: flex;
130
126
  flex-direction: row;
131
127
  align-items: center;
132
- gap: var(--m-space-sm);
133
- scroll-padding-block: var(--m-space-md);
128
+ gap: var(--m-sp-sm);
129
+ scroll-padding-block: var(--m-sp-md);
134
130
  }
135
131
 
136
132
  .itemIndicator {
@@ -142,26 +138,26 @@
142
138
  align-items: center;
143
139
  justify-content: center;
144
140
  position: relative;
145
- right: calc(-1 * var(--m-space-xs));
141
+ right: calc(-1 * var(--m-sp-xs));
146
142
  }
147
143
 
148
144
  .itemRightSlot {
149
145
  margin-inline-start: auto;
150
- padding-inline-start: var(--m-space-sm);
146
+ padding-inline-start: var(--m-sp-sm);
151
147
  }
152
148
 
153
149
  .arrow {
154
150
  --size: 18px;
155
151
  @apply --mx-fill(var(--mx-bg-ref, var(--m-global-trueLightColor)));
156
152
  @apply --mx-stroke(var(--mx-borderColor-ref, var(--mx-fg-ref, var(--m-global-trueHeavyColor))));
157
- stroke-width: var(--m-lineWidth);
153
+ stroke-width: var(--m-lw);
158
154
  width: var(--size);
159
155
  height: calc(var(--size) / 2);
160
156
  position: relative;
161
157
  --angle: 0deg;
162
158
  --scale: 1;
163
159
  transform: translate(0, 0) rotate(var(--angle, 0deg)) scale(var(--scale, 1));
164
- transition: opacity var(--m-duration) var(--m-easing);
160
+ transition: opacity var(--m-dur) var(--m-ease);
165
161
 
166
162
  &[data-side='top'] {
167
163
  --angle: 0deg;
@@ -191,14 +187,14 @@
191
187
  }
192
188
 
193
189
  .separator {
194
- margin: var(--m-space-xs);
195
- height: var(--m-lineWidth-sm);
196
- @apply --mx-bg(var(--m-color-neutral));
190
+ margin: var(--m-sp-xs);
191
+ height: var(--m-lw-sm);
192
+ @apply --mx-bg(var(--m-gray));
197
193
  }
198
194
 
199
195
  .groupLabel {
200
196
  user-select: none;
201
- @apply --mx-fg(var(--m-color-neutral-heavy));
197
+ @apply --mx-fg(var(--m-gray-heavy));
202
198
  font-size: var(--m-prose-ambient-size);
203
199
  line-height: var(--m-prose-ambient-lineHeight);
204
200
  font-weight: var(--m-prose-ambient-weight);
@@ -208,8 +204,8 @@
208
204
  box-sizing: border-box;
209
205
  z-index: 1;
210
206
  height: 1rem;
211
- left: var(--m-space-md);
212
- right: var(--m-space-md);
207
+ left: var(--m-sp-md);
208
+ right: var(--m-sp-md);
213
209
  cursor: default;
214
210
  user-select: none;
215
211
  align-items: center;
@@ -253,7 +249,7 @@
253
249
  }
254
250
 
255
251
  .triggerIcon {
256
- transition: transform var(--m-duration) var(--m-easing);
252
+ transition: transform var(--m-dur) var(--m-ease);
257
253
  margin-inline-start: auto;
258
254
  [data-open] > &,
259
255
  [data-popup-open] > & {
@@ -3,20 +3,20 @@
3
3
 
4
4
  display: grid;
5
5
  grid-template-columns: 1fr 1fr;
6
- row-gap: var(--m-space-xs);
7
- column-gap: var(--m-space-md);
6
+ row-gap: var(--m-sp-xs);
7
+ column-gap: var(--m-sp-md);
8
8
  align-items: center;
9
9
  box-sizing: border-box;
10
10
  }
11
11
 
12
12
  .indicator {
13
13
  width: 100%;
14
- transition: transform var(--m-duration) var(--m-easing);
15
- border-radius: var(--m-radius);
16
- @apply --mx-bg(var(--m-color-main));
14
+ transition: transform var(--m-dur) var(--m-ease);
15
+ border-radius: var(--m-rd);
16
+ @apply --mx-bg(var(--m-tint));
17
17
 
18
18
  &[data-complete] {
19
- @apply --mx-bg(var(--m-color-palette-success));
19
+ @apply --mx-bg(var(--m-color-success));
20
20
  }
21
21
  }
22
22
 
@@ -29,15 +29,15 @@
29
29
  grid-column-end: 3;
30
30
  box-sizing: border-box;
31
31
 
32
- border-radius: var(--m-radius-lg);
33
- @apply --mx-bg(var(--m-color-neutral-paper));
34
- @apply --mx-borderColor(var(--m-color-neutral-ink));
32
+ border-radius: var(--m-rd-lg);
33
+ @apply --mx-bg(var(--m-gray-paper));
34
+ @apply --mx-borderColor(var(--m-gray-ink));
35
35
  }
36
36
 
37
37
  .label {
38
38
  grid-column-start: 1;
39
39
  grid-row-start: 1;
40
- @apply --mx-fg(var(--m-color-neutral-ink));
40
+ @apply --mx-fg(var(--m-gray-ink));
41
41
  font-size: var(--m-prose-ambient-size);
42
42
  line-height: var(--m-prose-ambient-lineHeight);
43
43
  font-weight: var(--m-prose-ambient-weight);
@@ -47,7 +47,7 @@
47
47
  grid-column-start: 2;
48
48
  grid-row-start: 1;
49
49
  justify-self: end;
50
- @apply --mx-fg(var(--m-color-neutral-ink));
50
+ @apply --mx-fg(var(--m-gray-ink));
51
51
  font-size: var(--m-prose-ambient-size);
52
52
  line-height: var(--m-prose-ambient-lineHeight);
53
53
  font-weight: 500;
@@ -38,7 +38,7 @@ export function Provider({
38
38
  ? virtualKeyboardBehavior
39
39
  : 'displace';
40
40
  useVirtualKeyboardBehavior(supportedVirtualKeyboardBehavior);
41
- useThemedTitleBar('--m-color-main-paper', disableTitleBarColor);
41
+ useThemedTitleBar('--m-tint-paper', disableTitleBarColor);
42
42
  const otherStuff = (
43
43
  <>
44
44
  <IconSpritesheet />
@@ -1,23 +1,23 @@
1
1
  .dialogContent {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- gap: var(--m-space-xs);
4
+ gap: var(--m-sp-xs);
5
5
  }
6
6
 
7
7
  .dialogTitle {
8
8
  display: flex;
9
9
  flex-direction: row;
10
10
  align-items: center;
11
- gap: var(--m-space-md);
11
+ gap: var(--m-sp-md);
12
12
  }
13
13
 
14
14
  .appIcon {
15
15
  display: inline-block;
16
16
  height: 1em;
17
17
  width: 1em;
18
- border-radius: var(--m-radius);
18
+ border-radius: var(--m-rd);
19
19
  }
20
20
 
21
21
  .appDescription {
22
- margin-bottom: var(--m-space-sm);
22
+ margin-bottom: var(--m-sp-sm);
23
23
  }
@@ -1,14 +1,14 @@
1
1
  .trigger {
2
2
  position: relative;
3
3
  justify-content: center;
4
- padding: var(--m-space-xs);
5
- border-radius: var(--m-action-radius);
4
+ padding: var(--m-sp-xs);
5
+ border-radius: var(--m-action-rd);
6
6
  }
7
7
 
8
8
  .popup {
9
9
  transition-property: all;
10
- transition-duration: var(--m-duration);
11
- transition-timing-function: var(--m-easing-loose);
10
+ transition-duration: var(--m-dur);
11
+ transition-timing-function: var(--m-ease-loose);
12
12
 
13
13
  position: fixed;
14
14
  contain: layout;