@a-type/ui 6.0.80 → 6.1.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 (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 -4
  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
@@ -6,8 +6,8 @@
6
6
  overflow: clip;
7
7
 
8
8
  @apply --mx-shadow(var(--m-shadow-sm));
9
- border-width: var(--m-lineWidth-sm);
10
- border-radius: var(--m-surface-radius);
9
+ border-width: var(--m-lw-sm);
10
+ border-radius: var(--m-surface-rd);
11
11
 
12
12
  font-size: var(--m-prose-secondary-size);
13
13
  line-height: var(--m-prose-secondary-lineHeight);
@@ -41,18 +41,18 @@
41
41
  flex-direction: column;
42
42
  flex-grow: 1;
43
43
  align-items: start;
44
- gap: var(--m-space-xs);
44
+ gap: var(--m-sp-xs);
45
45
 
46
46
  text-align: start;
47
47
  font-size: var(--m-prose-ambient-size);
48
48
  line-height: var(--m-prose-ambient-lineHeight);
49
49
  font-weight: var(--m-prose-ambient-weight);
50
50
 
51
- padding: var(--m-space-md);
52
- padding-bottom: var(--m-space-xs);
53
- gap: var(--m-space-sm);
51
+ padding: var(--m-sp-md);
52
+ padding-bottom: var(--m-sp-xs);
53
+ gap: var(--m-sp-sm);
54
54
 
55
- transition: all var(--m-duration) var(--m-easing);
55
+ transition: all var(--m-dur) var(--m-ease);
56
56
 
57
57
  @apply --mx-shadow;
58
58
  /* Purposefully don't use mixin, allow children to inherit from card root */
@@ -68,8 +68,8 @@
68
68
  &:hover,
69
69
  &:focus-visible,
70
70
  &[data-focus-visible] {
71
- @apply --mx-fg(var(--m-color-neutral-ink));
72
- background-color: --fn-color-faded(var(--m-color-neutral-ink), 10%);
71
+ @apply --mx-fg(var(--m-gray-ink));
72
+ background-color: --fn-color-faded(var(--m-gray-ink), 10%);
73
73
  }
74
74
 
75
75
  &:focus {
@@ -77,7 +77,7 @@
77
77
  }
78
78
  &:focus-visible,
79
79
  &[data-focus-visible] {
80
- @apply --mx-ring(inset 0 0 0 2px var(--m-color-neutral-ink));
80
+ @apply --mx-ring(inset 0 0 0 2px var(--m-gray-ink));
81
81
  }
82
82
 
83
83
  &:disabled,
@@ -89,7 +89,7 @@
89
89
 
90
90
  .title {
91
91
  z-index: 1;
92
- padding: var(--m-space-xs) var(--m-space-md);
92
+ padding: var(--m-sp-xs) var(--m-sp-md);
93
93
 
94
94
  @apply --mx-prose-primary;
95
95
 
@@ -98,7 +98,7 @@
98
98
  overflow: clip;
99
99
  max-width: 100%;
100
100
  display: block;
101
- border-radius: var(--m-radius-md);
101
+ border-radius: var(--m-rd-md);
102
102
 
103
103
  @apply --mx-bg(inherit);
104
104
  }
@@ -107,11 +107,11 @@
107
107
  z-index: 1;
108
108
  display: flex;
109
109
  flex-direction: row;
110
- gap: var(--m-space-sm);
110
+ gap: var(--m-sp-sm);
111
111
  align-items: center;
112
- border-radius: var(--m-radius-sm);
112
+ border-radius: var(--m-rd-sm);
113
113
 
114
- padding: var(--m-space-sm) var(--m-space-md);
114
+ padding: var(--m-sp-sm) var(--m-sp-md);
115
115
 
116
116
  font-size: var(--m-prose-ambient-size);
117
117
  line-height: 1;
@@ -147,22 +147,22 @@
147
147
  display: flex;
148
148
  flex-direction: row;
149
149
  flex-shrink: 0;
150
- padding: var(--m-space-md);
150
+ padding: var(--m-sp-md);
151
151
  }
152
152
 
153
153
  .actions {
154
154
  display: flex;
155
155
  flex-direction: row;
156
- gap: var(--m-space-sm);
156
+ gap: var(--m-sp-sm);
157
157
  align-items: center;
158
158
 
159
159
  margin: auto auto auto --fn-literal(0px);
160
160
  padding: 0;
161
161
 
162
162
  @apply --mx-bg(--fn-color-faded(var(--m-surface-ambient-bg), 50%));
163
- /* @apply --mx-borderColor(var(--m-surface-ambient-borderColor));
164
- border-width: var(--m-lineWidth-sm); */
165
- border-radius: var(--m-action-radius);
163
+ /* @apply --mx-borderColor(var(--m-surface-ambient-b-color));
164
+ border-width: var(--m-lw-sm); */
165
+ border-radius: var(--m-action-rd);
166
166
  }
167
167
 
168
168
  .menu {
@@ -174,10 +174,10 @@
174
174
  flex-direction: row;
175
175
  align-items: center;
176
176
 
177
- gap: var(--m-space-xs);
177
+ gap: var(--m-sp-xs);
178
178
 
179
179
  @apply --mx-bg(--fn-color-faded(var(--m-surface-ambient-bg), 50%));
180
- @apply --mx-borderColor(var(--m-surface-ambient-borderColor));
181
- border-width: var(--m-lineWidth-sm);
182
- border-radius: var(--m-action-radius);
180
+ @apply --mx-borderColor(var(--m-surface-ambient-b-color));
181
+ border-width: var(--m-lw-sm);
182
+ border-radius: var(--m-action-rd);
183
183
  }
@@ -47,7 +47,7 @@ export const Default: Story = {
47
47
  display: 'flex',
48
48
  flexDirection: 'row',
49
49
  alignItems: 'stretch',
50
- gap: 'var(--m-space-md)',
50
+ gap: 'var(--m-sp-md)',
51
51
  }}
52
52
  >
53
53
  <CardRoot {...args} style={{ minHeight: '20vh' }}>
@@ -285,7 +285,7 @@ export const CardsInBox: Story = {
285
285
  width: '100%',
286
286
  display: 'flex',
287
287
  flexDirection: 'row',
288
- gap: 'var(--m-space-lg)',
288
+ gap: 'var(--m-sp-lg)',
289
289
  }}
290
290
  >
291
291
  <div style={{ flex: 1 }}>
@@ -22,13 +22,13 @@
22
22
 
23
23
  cursor: pointer;
24
24
 
25
- transition: var(--m-duration) var(--m-easing);
25
+ transition: var(--m-dur) var(--m-ease);
26
26
 
27
27
  @apply --mx-shadow;
28
28
  @apply --mx-bg(var(--m-control-bg));
29
- @apply --mx-borderColor(var(--m-control-borderColor));
30
- border-radius: var(--m-control-radius);
31
- border-width: var(--m-lineWidth-md);
29
+ @apply --mx-borderColor(var(--m-control-b-color));
30
+ border-radius: var(--m-control-rd);
31
+ border-width: var(--m-lw-md);
32
32
 
33
33
  &:focus {
34
34
  outline: none;
@@ -50,12 +50,12 @@
50
50
  &:disabled {
51
51
  box-shadow: none;
52
52
  @apply --mx-bg(transparent);
53
- @apply --mx-borderColor(var(--m-color-neutral-light));
53
+ @apply --mx-borderColor(var(--m-gray-light));
54
54
  }
55
55
 
56
56
  &[data-checked] {
57
- @apply --mx-bg(var(--m-color-main));
58
- @apply --mx-borderColor(var(--m-color-main-ink));
57
+ @apply --mx-bg(var(--m-tint));
58
+ @apply --mx-borderColor(var(--m-tint-ink));
59
59
 
60
60
  &[data-checked-mode='faded'] {
61
61
  animation-name: checkbox-fade;
@@ -70,5 +70,5 @@
70
70
  top: 50%;
71
71
  left: 50%;
72
72
  transform: translate(-50%, -50%);
73
- color: var(--m-color-main-ink);
73
+ color: var(--m-tint-ink);
74
74
  }
@@ -1,15 +1,15 @@
1
1
  .root {
2
2
  display: inline-flex;
3
3
  align-items: center;
4
- gap: var(--m-space-md);
4
+ gap: var(--m-sp-md);
5
5
  white-space: nowrap;
6
6
 
7
- @apply --mx-bg(var(--m-color-neutral-paper));
7
+ @apply --mx-bg(var(--m-gray-paper));
8
8
  @apply --mx-fg(contrast-color(var(--mx-bg-ref)));
9
- @apply --mx-borderColor(var(--m-color-main-heavy));
9
+ @apply --mx-borderColor(var(--m-tint-heavy));
10
10
 
11
- border-width: var(--m-lineWidth-sm);
12
- border-radius: var(--m-action-radius);
11
+ border-width: var(--m-lw-sm);
12
+ border-radius: var(--m-action-rd);
13
13
 
14
14
  font-size: var(--m-prose-ambient-size);
15
15
  line-height: normal;
@@ -17,16 +17,16 @@
17
17
  font-family: var(--m-prose-ambient-font);
18
18
 
19
19
  && {
20
- padding: var(--m-space-sm) var(--m-space-md);
20
+ padding: var(--m-sp-sm) var(--m-sp-md);
21
21
  }
22
22
 
23
23
  &[data-emphasis='primary'] {
24
- @apply --mx-bg(var(--m-color-main-wash));
25
- @apply --mx-borderColor(var(--m-color-main-heavy));
24
+ @apply --mx-bg(var(--m-tint-wash));
25
+ @apply --mx-borderColor(var(--m-tint-heavy));
26
26
  }
27
27
  &[data-emphasis='ambient'] {
28
28
  @apply --mx-bg(transparent);
29
29
  @apply --mx-borderColor(transparent);
30
- @apply --mx-fg(var(--m-color-neutral-ink));
30
+ @apply --mx-fg(var(--m-gray-ink));
31
31
  }
32
32
  }
@@ -1,6 +1,6 @@
1
1
  .root {
2
2
  overflow: clip;
3
- transition: all var(--m-duration) var(--m-easing);
3
+ transition: all var(--m-dur) var(--m-ease);
4
4
 
5
5
  &[data-horizontal],
6
6
  &[data-both] {
@@ -29,7 +29,7 @@
29
29
  }
30
30
 
31
31
  .icon {
32
- transition: transform var(--m-duration) var(--m-easing);
32
+ transition: transform var(--m-dur) var(--m-ease);
33
33
  [data-panel-open] & {
34
34
  transform: rotate(180deg);
35
35
  }
@@ -4,8 +4,8 @@
4
4
  }
5
5
 
6
6
  .empty:not(:empty) {
7
- @apply --mx-fg(var(--m-color-neutral-heavy));
8
- padding: var(--m-space-sm);
7
+ @apply --mx-fg(var(--m-gray-heavy));
8
+ padding: var(--m-sp-sm);
9
9
  font-size: var(--m-prose-ambient-size);
10
10
  line-height: var(--m-prose-ambient-lineHeight);
11
11
  font-weight: var(--m-prose-ambient-weight);
@@ -15,14 +15,14 @@
15
15
  display: flex;
16
16
  flex-direction: column;
17
17
  overflow: clip;
18
- padding: var(--m-space-md);
19
- gap: var(--m-space-xs);
18
+ padding: var(--m-sp-md);
19
+ gap: var(--m-sp-xs);
20
20
  }
21
21
 
22
22
  .groupItem {
23
23
  @apply --mx-ring;
24
24
  &[data-highlighted] {
25
- @apply --mx-ring(--fn-ring(var(--m-color-main-mid), 2px));
25
+ @apply --mx-ring(--fn-ring(var(--m-tint-mid), 2px));
26
26
  }
27
27
  }
28
28
 
@@ -30,14 +30,14 @@
30
30
  display: flex;
31
31
  flex-direction: row;
32
32
  flex-wrap: wrap;
33
- gap: var(--m-space-xs);
33
+ gap: var(--m-sp-xs);
34
34
  }
35
35
 
36
36
  .groupLabel {
37
37
  text-transform: uppercase;
38
38
  width: 100%;
39
- @apply --mx-fg(var(--m-color-neutral-heavy));
40
- padding-inline: var(--m-space-xs);
39
+ @apply --mx-fg(var(--m-gray-heavy));
40
+ padding-inline: var(--m-sp-xs);
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);
@@ -48,7 +48,7 @@
48
48
  align-items: center;
49
49
  justify-content: center;
50
50
  flex-shrink: 0;
51
- transition: transform var(--m-duration) var(--m-easing);
51
+ transition: transform var(--m-dur) var(--m-ease);
52
52
 
53
53
  &[data-open] {
54
54
  transform: rotate(180deg);
@@ -60,17 +60,17 @@
60
60
  flex-direction: row;
61
61
  flex-wrap: wrap;
62
62
  align-items: center;
63
- gap: var(--m-space-xs);
64
- padding-inline-start: var(--m-space-md);
63
+ gap: var(--m-sp-xs);
64
+ padding-inline-start: var(--m-sp-md);
65
65
  }
66
66
 
67
67
  .chipsList {
68
68
  display: flex;
69
69
  flex-direction: row;
70
70
  flex-wrap: wrap;
71
- gap: var(--m-space-xs);
72
- padding-inline: var(--m-space-sm);
73
- margin-inline-start: calc(-1 * var(--m-space-md));
71
+ gap: var(--m-sp-xs);
72
+ padding-inline: var(--m-sp-sm);
73
+ margin-inline-start: calc(-1 * var(--m-sp-md));
74
74
 
75
75
  &:empty {
76
76
  display: none;
@@ -90,7 +90,7 @@
90
90
  flex-direction: row;
91
91
  flex-grow: 1;
92
92
  align-items: center;
93
- gap: var(--m-space-xs);
93
+ gap: var(--m-sp-xs);
94
94
  }
95
95
 
96
96
  .chip {
@@ -98,8 +98,8 @@
98
98
  display: flex;
99
99
  flex-direction: row;
100
100
  align-items: center;
101
- padding-inline: var(--m-space-sm);
102
- gap: var(--m-space-xs);
101
+ padding-inline: var(--m-sp-sm);
102
+ gap: var(--m-sp-xs);
103
103
  }
104
104
 
105
105
  .chipRemove {
@@ -107,12 +107,12 @@
107
107
  min-width: 0;
108
108
  padding: 0;
109
109
  line-height: 1;
110
- margin-block: calc(-1 * var(--m-space-xs));
111
- margin-inline-end: calc(-1 * var(--m-space-sm));
110
+ margin-block: calc(-1 * var(--m-sp-xs));
111
+ margin-inline-end: calc(-1 * var(--m-sp-sm));
112
112
  }
113
113
 
114
114
  .item[data-selected] {
115
- @apply --mx-fg(var(--m-color-main-ink));
115
+ @apply --mx-fg(var(--m-tint-ink));
116
116
  @apply --mx-bg-heavier(1);
117
117
  }
118
118
 
@@ -120,7 +120,7 @@
120
120
  margin-inline-start: auto;
121
121
  height: --fn-literal(10px);
122
122
  width: --fn-literal(10px);
123
- stroke-width: var(--m-lineWidth-lg);
123
+ stroke-width: var(--m-lw-lg);
124
124
  }
125
125
 
126
126
  .list {
@@ -145,7 +145,7 @@
145
145
  .row {
146
146
  display: flex;
147
147
  align-items: center;
148
- gap: var(--m-space-xs);
148
+ gap: var(--m-sp-xs);
149
149
  }
150
150
 
151
151
  .multiValue {
@@ -153,18 +153,18 @@
153
153
  display: flex;
154
154
  flex-direction: row;
155
155
  flex-wrap: wrap;
156
- gap: var(--m-space-xs);
156
+ gap: var(--m-sp-xs);
157
157
  }
158
158
 
159
159
  .clearAndCaret {
160
160
  display: flex;
161
161
  flex-shrink: 0;
162
162
  align-items: center;
163
- margin-right: calc(-1 * var(--m-control-padding-inline));
163
+ margin-right: calc(-1 * var(--m-control-p-inline));
164
164
  }
165
165
 
166
166
  .details {
167
167
  @apply --mx-prose-ambient;
168
- @apply --mx-fg(var(--m-color-neutral-heavy));
169
- padding: var(--m-space-md);
168
+ @apply --mx-fg(var(--m-gray-heavy));
169
+ padding: var(--m-sp-md);
170
170
  }
@@ -26,8 +26,8 @@
26
26
  grid-template-columns: repeat(7, var(--day-size, 32px));
27
27
  grid-auto-rows: var(--day-size, 32px);
28
28
  overflow: hidden;
29
- padding: var(--m-space-sm);
30
- border-radius: var(--m-radius-sm);
29
+ padding: var(--m-sp-sm);
30
+ border-radius: var(--m-rd-sm);
31
31
  }
32
32
 
33
33
  .dayLabel {
@@ -35,7 +35,7 @@
35
35
  align-items: center;
36
36
  justify-content: center;
37
37
  font-size: var(--m-prose-ambient-size);
38
- @apply --mx-fg(var(--m-color-neutral-heavy));
38
+ @apply --mx-fg(var(--m-gray-heavy));
39
39
  }
40
40
 
41
41
  .calendarDay {
@@ -43,15 +43,15 @@
43
43
  margin-bottom: --fn-literal(-1px);
44
44
  margin-right: --fn-literal(-1px);
45
45
 
46
- @apply --mx-fg(var(--m-color-neutral-ink));
47
- @apply --mx-bg(var(--m-color-neutral-paper));
46
+ @apply --mx-fg(var(--m-gray-ink));
47
+ @apply --mx-bg(var(--m-gray-paper));
48
48
  @apply --mx-borderColor(transparent);
49
49
 
50
50
  display: flex;
51
51
  cursor: pointer;
52
52
  align-items: center;
53
53
  justify-content: center;
54
- transition: all var(--m-duration) var(--m-easing);
54
+ transition: all var(--m-dur) var(--m-ease);
55
55
 
56
56
  @apply --mx-shadow;
57
57
  --mx-shadow-value: var(--m-shadow-sm);
@@ -59,19 +59,19 @@
59
59
  &[data-highlighted] {
60
60
  z-index: 1;
61
61
  outline: none;
62
- --mx-ring-value: --fn-ring(var(--m-color-main-heavy), 2px);
62
+ --mx-ring-value: --fn-ring(var(--m-tint-heavy), 2px);
63
63
  }
64
64
 
65
65
  &[data-selected] {
66
66
  z-index: 2;
67
- @apply --mx-bg(var(--m-color-main));
68
- border-radius: var(--m-radius-sm);
67
+ @apply --mx-bg(var(--m-tint));
68
+ border-radius: var(--m-rd-sm);
69
69
  }
70
70
 
71
71
  &[data-in-range] {
72
72
  z-index: 1;
73
73
  border-radius: 0;
74
- @apply --mx-bg(var(--m-color-main-light));
74
+ @apply --mx-bg(var(--m-tint-light));
75
75
  --mx-shadow-value: 0 0 0 0 transparent;
76
76
  }
77
77
 
@@ -88,66 +88,66 @@
88
88
  top: --fn-literal(1px);
89
89
  width: --fn-literal(6px);
90
90
  height: --fn-literal(6px);
91
- background-color: var(--m-color-palette-attention);
92
- border-radius: var(--m-radius-lg);
93
- border: 1px solid var(--m-color-neutral-ink);
91
+ background-color: var(--m-color-attention);
92
+ border-radius: var(--m-rd-lg);
93
+ border: 1px solid var(--m-gray-ink);
94
94
  }
95
95
 
96
96
  /* Calendar grid edge borders */
97
97
  &[data-top-edge] {
98
- border-top-color: var(--m-color-neutral);
98
+ border-top-color: var(--m-gray);
99
99
  border-top-left-radius: 0;
100
100
  border-top-right-radius: 0;
101
101
  }
102
102
  &[data-bottom-edge] {
103
- border-bottom-color: var(--m-color-neutral);
103
+ border-bottom-color: var(--m-gray);
104
104
  border-bottom-left-radius: 0;
105
105
  border-bottom-right-radius: 0;
106
106
  }
107
107
  &[data-first-column] {
108
- border-left-color: var(--m-color-neutral);
108
+ border-left-color: var(--m-gray);
109
109
  border-top-left-radius: 0;
110
110
  border-bottom-left-radius: 0;
111
111
  }
112
112
  &[data-last-column] {
113
- border-right-color: var(--m-color-neutral);
113
+ border-right-color: var(--m-gray);
114
114
  border-top-right-radius: 0;
115
115
  border-bottom-right-radius: 0;
116
116
  }
117
117
  &[data-day-first] {
118
- border-left-color: var(--m-color-neutral);
119
- border-top-left-radius: var(--m-radius-sm);
118
+ border-left-color: var(--m-gray);
119
+ border-top-left-radius: var(--m-rd-sm);
120
120
  }
121
121
  &[data-day-last] {
122
- border-right-color: var(--m-color-neutral);
123
- border-bottom-right-radius: var(--m-radius-sm);
122
+ border-right-color: var(--m-gray);
123
+ border-bottom-right-radius: var(--m-rd-sm);
124
124
  border-top-right-radius: 0;
125
125
  }
126
126
  &[data-first-column][data-bottom-edge] {
127
- border-bottom-left-radius: var(--m-radius-sm);
127
+ border-bottom-left-radius: var(--m-rd-sm);
128
128
  }
129
129
  &[data-last-column][data-bottom-edge] {
130
- border-bottom-right-radius: var(--m-radius-sm);
130
+ border-bottom-right-radius: var(--m-rd-sm);
131
131
  }
132
132
  &[data-first-column][data-top-edge] {
133
- border-top-left-radius: var(--m-radius-sm);
133
+ border-top-left-radius: var(--m-rd-sm);
134
134
  }
135
135
  &[data-last-column][data-top-edge] {
136
- border-top-right-radius: var(--m-radius-sm);
136
+ border-top-right-radius: var(--m-rd-sm);
137
137
  }
138
138
 
139
139
  &[data-range-end] {
140
140
  z-index: 1;
141
- @apply --mx-bg(var(--m-color-main));
142
- border-radius: 0 var(--m-radius-sm) var(--m-radius-sm) 0;
141
+ @apply --mx-bg(var(--m-tint));
142
+ border-radius: 0 var(--m-rd-sm) var(--m-rd-sm) 0;
143
143
  --mx-shadow-value: 0 0 0 0 transparent;
144
144
  }
145
145
 
146
146
  &[data-range-start] {
147
147
  z-index: 1;
148
- @apply --mx-bg(var(--m-color-main));
148
+ @apply --mx-bg(var(--m-tint));
149
149
  /* tl tr br bl */
150
- border-radius: var(--m-radius-sm) 0 0 var(--m-radius-sm);
150
+ border-radius: var(--m-rd-sm) 0 0 var(--m-rd-sm);
151
151
  }
152
152
 
153
153
  &[data-different-month] {
@@ -157,11 +157,11 @@
157
157
  &:hover {
158
158
  z-index: 100;
159
159
  outline: none;
160
- --mx-ring-value: --fn-ring(var(--m-color-main-heavy), 2px);
160
+ --mx-ring-value: --fn-ring(var(--m-tint-heavy), 2px);
161
161
  }
162
162
 
163
163
  &:active {
164
- @apply --mx-bg(var(--m-color-main-light));
165
- border-radius: var(--m-radius-sm);
164
+ @apply --mx-bg(var(--m-tint-light));
165
+ border-radius: var(--m-rd-sm);
166
166
  }
167
167
  }
@@ -10,7 +10,7 @@
10
10
  'prevMonth leftMonth nextMonth'
11
11
  'leftGrid leftGrid leftGrid';
12
12
  grid-template-rows: auto 1fr;
13
- gap: var(--m-space-sm);
13
+ gap: var(--m-sp-sm);
14
14
 
15
15
  @media (min-width: 640px) {
16
16
  grid-template-columns: auto 1fr 1fr auto;