@a-type/ui 6.0.13 → 6.0.15

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 (135) hide show
  1. package/dist/arbor/arbor.d.ts +72 -8
  2. package/dist/arbor/arbor.js +94 -8
  3. package/dist/arbor/arbor.js.map +1 -1
  4. package/dist/colors.module.css +4 -4
  5. package/dist/components/actions/ActionButton.module.css +1 -1
  6. package/dist/components/box/Box.module.css +10 -10
  7. package/dist/components/box/Box.stories.js +1 -1
  8. package/dist/components/box/Box.stories.js.map +1 -1
  9. package/dist/components/button/Button.js +1 -1
  10. package/dist/components/button/Button.js.map +1 -1
  11. package/dist/components/button/Button.module.css +5 -12
  12. package/dist/components/button/index.d.ts +0 -1
  13. package/dist/components/button/index.js +0 -1
  14. package/dist/components/button/index.js.map +1 -1
  15. package/dist/components/camera/Camera.module.css +7 -7
  16. package/dist/components/card/Card.module.css +23 -23
  17. package/dist/components/card/Card.stories.js +2 -2
  18. package/dist/components/card/Card.stories.js.map +1 -1
  19. package/dist/components/chip/Chip.module.css +4 -4
  20. package/dist/components/combobox/Combobox.module.css +25 -25
  21. package/dist/components/datePicker/Calendar.module.css +3 -3
  22. package/dist/components/datePicker/dateRangePicker.module.css +1 -1
  23. package/dist/components/dialog/Dialog.module.css +15 -15
  24. package/dist/components/editableText/EditableText.module.css +1 -1
  25. package/dist/components/emojiPicker/EmojiPicker.module.css +12 -12
  26. package/dist/components/forms/FieldLabel.module.css +8 -8
  27. package/dist/components/forms/Form.module.css +1 -1
  28. package/dist/components/forms/NumberStepperField.module.css +1 -1
  29. package/dist/components/forms/TextField.module.css +1 -1
  30. package/dist/components/horizontalList/HorizontalList.module.css +4 -4
  31. package/dist/components/icon/Icon.stories.js +2 -2
  32. package/dist/components/icon/Icon.stories.js.map +1 -1
  33. package/dist/components/imageUploader/ImageUploader.module.css +6 -6
  34. package/dist/components/input/Input.module.css +5 -5
  35. package/dist/components/layouts/PageContent.module.css +3 -3
  36. package/dist/components/layouts/PageFixedArea.module.css +1 -1
  37. package/dist/components/layouts/PageNav.module.css +3 -3
  38. package/dist/components/layouts/PageNowPlaying.module.css +3 -3
  39. package/dist/components/layouts/PageSection.module.css +2 -2
  40. package/dist/components/lightbox/Lightbox.module.css +3 -3
  41. package/dist/components/lists/lists.module.css +2 -2
  42. package/dist/components/navBar/NavBar.module.css +13 -13
  43. package/dist/components/note/Note.module.css +4 -4
  44. package/dist/components/peek/Peek.module.css +4 -4
  45. package/dist/components/popover/Popover.module.css +8 -8
  46. package/dist/components/popover/Popover.stories.js +1 -1
  47. package/dist/components/popover/Popover.stories.js.map +1 -1
  48. package/dist/components/primitives/menus.module.css +25 -27
  49. package/dist/components/progress/Progress.module.css +7 -7
  50. package/dist/components/pwaInstall/PwaInstall.module.css +3 -3
  51. package/dist/components/quickAction/QuickAction.module.css +1 -1
  52. package/dist/components/richEditor/richEditor.module.css +23 -23
  53. package/dist/components/select/Select.module.css +2 -2
  54. package/dist/components/spinner/Spinner.module.css +1 -1
  55. package/dist/components/switch/Switch.module.css +1 -1
  56. package/dist/components/tabs/tabs.module.css +6 -6
  57. package/dist/components/textArea/TextArea.module.css +1 -1
  58. package/dist/components/toasts/toasts.module.css +19 -19
  59. package/dist/components/toggleGroup/toggleGroup.module.css +1 -1
  60. package/dist/components/tooltip/Tooltip.module.css +1 -1
  61. package/dist/components/typography/typography.d.ts +2 -1
  62. package/dist/components/typography/typography.js +2 -1
  63. package/dist/components/typography/typography.js.map +1 -1
  64. package/dist/components/typography/typography.module.css +14 -11
  65. package/dist/components/viewport/Viewport.module.css +8 -8
  66. package/dist/css/arbor.css +388 -276
  67. package/dist/css/util.css +10 -10
  68. package/dist/keyboard.stories.js +1 -1
  69. package/dist/keyboard.stories.js.map +1 -1
  70. package/dist/shadows.stories.js +1 -1
  71. package/dist/shadows.stories.js.map +1 -1
  72. package/dist/theme.stories.module.css +1 -1
  73. package/package.json +3 -3
  74. package/src/arbor/arbor.ts +108 -10
  75. package/src/colors.module.css +4 -4
  76. package/src/components/actions/ActionButton.module.css +1 -1
  77. package/src/components/box/Box.module.css +10 -10
  78. package/src/components/box/Box.stories.tsx +1 -1
  79. package/src/components/button/Button.module.css +5 -12
  80. package/src/components/button/Button.tsx +1 -0
  81. package/src/components/button/index.ts +0 -1
  82. package/src/components/camera/Camera.module.css +7 -7
  83. package/src/components/card/Card.module.css +23 -23
  84. package/src/components/card/Card.stories.tsx +2 -2
  85. package/src/components/chip/Chip.module.css +4 -4
  86. package/src/components/combobox/Combobox.module.css +25 -25
  87. package/src/components/datePicker/Calendar.module.css +3 -3
  88. package/src/components/datePicker/dateRangePicker.module.css +1 -1
  89. package/src/components/dialog/Dialog.module.css +15 -15
  90. package/src/components/editableText/EditableText.module.css +1 -1
  91. package/src/components/emojiPicker/EmojiPicker.module.css +12 -12
  92. package/src/components/forms/FieldLabel.module.css +8 -8
  93. package/src/components/forms/Form.module.css +1 -1
  94. package/src/components/forms/NumberStepperField.module.css +1 -1
  95. package/src/components/forms/TextField.module.css +1 -1
  96. package/src/components/horizontalList/HorizontalList.module.css +4 -4
  97. package/src/components/icon/Icon.stories.tsx +2 -2
  98. package/src/components/imageUploader/ImageUploader.module.css +6 -6
  99. package/src/components/input/Input.module.css +5 -5
  100. package/src/components/layouts/PageContent.module.css +3 -3
  101. package/src/components/layouts/PageFixedArea.module.css +1 -1
  102. package/src/components/layouts/PageNav.module.css +3 -3
  103. package/src/components/layouts/PageNowPlaying.module.css +3 -3
  104. package/src/components/layouts/PageSection.module.css +2 -2
  105. package/src/components/lightbox/Lightbox.module.css +3 -3
  106. package/src/components/lists/lists.module.css +2 -2
  107. package/src/components/navBar/NavBar.module.css +13 -13
  108. package/src/components/note/Note.module.css +4 -4
  109. package/src/components/peek/Peek.module.css +4 -4
  110. package/src/components/popover/Popover.module.css +8 -8
  111. package/src/components/popover/Popover.stories.tsx +1 -1
  112. package/src/components/primitives/menus.module.css +25 -27
  113. package/src/components/progress/Progress.module.css +7 -7
  114. package/src/components/pwaInstall/PwaInstall.module.css +3 -3
  115. package/src/components/quickAction/QuickAction.module.css +1 -1
  116. package/src/components/richEditor/richEditor.module.css +23 -23
  117. package/src/components/select/Select.module.css +2 -2
  118. package/src/components/spinner/Spinner.module.css +1 -1
  119. package/src/components/switch/Switch.module.css +1 -1
  120. package/src/components/tabs/tabs.module.css +6 -6
  121. package/src/components/textArea/TextArea.module.css +1 -1
  122. package/src/components/toasts/toasts.module.css +19 -19
  123. package/src/components/toggleGroup/toggleGroup.module.css +1 -1
  124. package/src/components/tooltip/Tooltip.module.css +1 -1
  125. package/src/components/typography/typography.module.css +14 -11
  126. package/src/components/typography/typography.tsx +3 -0
  127. package/src/components/viewport/Viewport.module.css +8 -8
  128. package/src/css/util.css +10 -10
  129. package/src/keyboard.stories.tsx +1 -1
  130. package/src/shadows.stories.tsx +1 -1
  131. package/src/theme.stories.module.css +1 -1
  132. package/dist/components/button/classes.d.ts +0 -7
  133. package/dist/components/button/classes.js +0 -24
  134. package/dist/components/button/classes.js.map +0 -1
  135. package/src/components/button/classes.tsx +0 -79
@@ -5,18 +5,18 @@
5
5
 
6
6
  .empty:not(:empty) {
7
7
  @apply --mx-fg(var(--m-color-neutral-heavy));
8
- padding: var(--m-spacing-sm);
9
- font-size: var(--m-text-ambient-size);
10
- line-height: var(--m-text-ambient-lineHeight);
11
- font-weight: var(--m-text-ambient-weight);
8
+ padding: var(--m-space-sm);
9
+ font-size: var(--m-prose-ambient-size);
10
+ line-height: var(--m-prose-ambient-lineHeight);
11
+ font-weight: var(--m-prose-ambient-weight);
12
12
  }
13
13
 
14
14
  .group {
15
15
  display: flex;
16
16
  flex-direction: column;
17
17
  overflow: clip;
18
- padding: var(--m-spacing-sm);
19
- gap: var(--m-spacing-xs);
18
+ padding: var(--m-space-sm);
19
+ gap: var(--m-space-xs);
20
20
  }
21
21
 
22
22
  .groupItem {
@@ -30,17 +30,17 @@
30
30
  display: flex;
31
31
  flex-direction: row;
32
32
  flex-wrap: wrap;
33
- gap: var(--m-spacing-xs);
33
+ gap: var(--m-space-xs);
34
34
  }
35
35
 
36
36
  .groupLabel {
37
37
  text-transform: uppercase;
38
38
  width: 100%;
39
39
  @apply --mx-fg(var(--m-color-neutral-heavy));
40
- padding-inline: var(--m-spacing-xs);
41
- font-size: var(--m-text-ambient-size);
42
- line-height: var(--m-text-ambient-lineHeight);
43
- font-weight: var(--m-text-ambient-weight);
40
+ padding-inline: var(--m-space-xs);
41
+ font-size: var(--m-prose-ambient-size);
42
+ line-height: var(--m-prose-ambient-lineHeight);
43
+ font-weight: var(--m-prose-ambient-weight);
44
44
  }
45
45
 
46
46
  .icon {
@@ -60,17 +60,17 @@
60
60
  flex-direction: row;
61
61
  flex-wrap: wrap;
62
62
  align-items: center;
63
- gap: var(--m-spacing-xs);
64
- padding-inline-start: var(--m-spacing-md);
63
+ gap: var(--m-space-xs);
64
+ padding-inline-start: var(--m-space-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-spacing-xs);
72
- padding-inline: var(--m-spacing-sm);
73
- margin-inline-start: calc(-1 * var(--m-spacing-md));
71
+ gap: var(--m-space-xs);
72
+ padding-inline: var(--m-space-sm);
73
+ margin-inline-start: calc(-1 * var(--m-space-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-spacing-xs);
93
+ gap: var(--m-space-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-spacing-sm);
102
- gap: var(--m-spacing-xs);
101
+ padding-inline: var(--m-space-sm);
102
+ gap: var(--m-space-xs);
103
103
  }
104
104
 
105
105
  .chipRemove {
@@ -107,8 +107,8 @@
107
107
  min-width: 0;
108
108
  padding: 0;
109
109
  line-height: 1;
110
- margin-block: calc(-1 * var(--m-spacing-xs));
111
- margin-inline-end: calc(-1 * var(--m-spacing-sm));
110
+ margin-block: calc(-1 * var(--m-space-xs));
111
+ margin-inline-end: calc(-1 * var(--m-space-sm));
112
112
  }
113
113
 
114
114
  .item[data-selected] {
@@ -143,7 +143,7 @@
143
143
  .row {
144
144
  display: flex;
145
145
  align-items: center;
146
- gap: var(--m-spacing-xs);
146
+ gap: var(--m-space-xs);
147
147
  }
148
148
 
149
149
  .multiValue {
@@ -151,7 +151,7 @@
151
151
  display: flex;
152
152
  flex-direction: row;
153
153
  flex-wrap: wrap;
154
- gap: var(--m-spacing-xs);
154
+ gap: var(--m-space-xs);
155
155
  }
156
156
 
157
157
  .clearAndCaret {
@@ -162,7 +162,7 @@
162
162
  }
163
163
 
164
164
  .details {
165
- @apply --mx-text-ambient;
165
+ @apply --mx-prose-ambient;
166
166
  @apply --mx-fg(var(--m-color-neutral-heavy));
167
- padding: var(--m-spacing-sm);
167
+ padding: var(--m-space-sm);
168
168
  }
@@ -13,7 +13,7 @@
13
13
  white-space: nowrap;
14
14
  text-overflow: ellipsis;
15
15
  text-align: center;
16
- font-size: var(--m-text-ambient-size);
16
+ font-size: var(--m-prose-ambient-size);
17
17
  font-weight: bold;
18
18
  }
19
19
 
@@ -26,7 +26,7 @@
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-spacing-sm);
29
+ padding: var(--m-space-sm);
30
30
  border-radius: var(--m-radius-sm);
31
31
  }
32
32
 
@@ -34,7 +34,7 @@
34
34
  display: flex;
35
35
  align-items: center;
36
36
  justify-content: center;
37
- font-size: var(--m-text-ambient-size);
37
+ font-size: var(--m-prose-ambient-size);
38
38
  @apply --mx-fg(var(--m-color-neutral-heavy));
39
39
  }
40
40
 
@@ -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-spacing-sm);
13
+ gap: var(--m-space-sm);
14
14
 
15
15
  @media (min-width: 640px) {
16
16
  grid-template-columns: auto 1fr 1fr auto;
@@ -60,7 +60,7 @@
60
60
  border-bottom-width: 0;
61
61
  transform: translate(0, 0);
62
62
  padding-bottom: env(safe-area-inset-bottom);
63
- padding-top: var(--m-spacing-lg);
63
+ padding-top: var(--m-space-lg);
64
64
 
65
65
  &[data-starting-style],
66
66
  &[data-ending-style] {
@@ -106,7 +106,7 @@
106
106
  .contentScrollAreaContent {
107
107
  display: flex;
108
108
  flex-direction: column;
109
- gap: var(--m-spacing-md);
109
+ gap: var(--m-space-md);
110
110
  padding: var(--m-surface-padding);
111
111
  }
112
112
 
@@ -120,7 +120,7 @@
120
120
  cursor: grab;
121
121
  will-change: transform;
122
122
  touch-action: none;
123
- padding-block: var(--m-spacing-sm);
123
+ padding-block: var(--m-space-sm);
124
124
  z-index: 1;
125
125
 
126
126
  @media (min-width: 600px) {
@@ -136,8 +136,8 @@
136
136
 
137
137
  .close {
138
138
  position: absolute;
139
- right: var(--m-spacing-sm);
140
- top: var(--m-spacing-sm);
139
+ right: var(--m-space-sm);
140
+ top: var(--m-space-sm);
141
141
  z-index: 101;
142
142
  display: flex;
143
143
 
@@ -150,24 +150,24 @@
150
150
 
151
151
  .title {
152
152
  @apply --mx-fg(var(--m-color-neutral-ink));
153
- font-size: var(--m-text-primary-size);
154
- font-weight: var(--m-text-primary-weight);
155
- line-height: var(--m-text-primary-lineHeight);
156
- margin-block-end: var(--m-spacing-xs);
153
+ font-size: var(--m-prose-primary-size);
154
+ font-weight: var(--m-prose-primary-weight);
155
+ line-height: var(--m-prose-primary-lineHeight);
156
+ margin-block-end: var(--m-space-xs);
157
157
  margin-block-start: 0;
158
158
  }
159
159
 
160
160
  .description {
161
161
  @apply --mx-fg(var(--m-color-neutral-heavy));
162
- font-size: var(--m-text-ambient-size);
163
- line-height: var(--m-text-ambient-lineHeight);
162
+ font-size: var(--m-prose-ambient-size);
163
+ line-height: var(--m-prose-ambient-lineHeight);
164
164
  margin: 0;
165
- margin-block-end: var(--m-spacing-xs);
165
+ margin-block-end: var(--m-space-xs);
166
166
  }
167
167
 
168
168
  .actions {
169
169
  position: sticky;
170
- bottom: var(--m-spacing-md);
170
+ bottom: var(--m-space-md);
171
171
  z-index: 100;
172
172
  display: flex;
173
173
  flex-direction: row;
@@ -182,7 +182,7 @@
182
182
  var(--m-shadow-md-spread) var(--m-color-neutral-paper);
183
183
  @apply --mx-bg(var(--m-surface-ambient-bg));
184
184
  @apply --mx-bg-faded(50%);
185
- margin-block-start: var(--m-spacing-md);
186
- gap: var(--m-spacing-sm);
185
+ margin-block-start: var(--m-space-md);
186
+ gap: var(--m-space-sm);
187
187
  border-radius: var(--m-surface-radius);
188
188
  }
@@ -20,7 +20,7 @@
20
20
  @apply --mx-borderColor(transparent);
21
21
 
22
22
  padding: var(--m-control-padding);
23
- gap: var(--m-spacing-sm);
23
+ gap: var(--m-space-sm);
24
24
  border-radius: var(--m-control-radius);
25
25
 
26
26
  &:hover,
@@ -4,7 +4,7 @@
4
4
  display: flex;
5
5
  flex-direction: column;
6
6
  isolation: isolate;
7
- gap: var(--m-spacing-sm);
7
+ gap: var(--m-space-sm);
8
8
  @apply --mx-bg(var(--m-surface-ambient-bg));
9
9
  }
10
10
 
@@ -43,9 +43,9 @@
43
43
  justify-content: center;
44
44
  @apply --mx-bg(inherit);
45
45
  @apply --mx-fg(var(--m-color-neutral-heavy));
46
- font-size: var(--m-text-ambient-size);
47
- line-height: var(--m-text-ambient-lineHeight);
48
- font-weight: var(--m-text-ambient-weight);
46
+ font-size: var(--m-prose-ambient-size);
47
+ line-height: var(--m-prose-ambient-lineHeight);
48
+ font-weight: var(--m-prose-ambient-weight);
49
49
  }
50
50
 
51
51
  .categoryHeader {
@@ -53,29 +53,29 @@
53
53
  top: 0;
54
54
  @apply --mx-bg(inherit);
55
55
  @apply --mx-fg(var(--m-color-neutral-heavy));
56
- padding: var(--m-spacing-sm) var(--m-spacing-md);
56
+ padding: var(--m-space-sm) var(--m-space-md);
57
57
  font-weight: semibold;
58
- font-size: var(--m-text-ambient-size);
59
- line-height: var(--m-text-ambient-lineHeight);
58
+ font-size: var(--m-prose-ambient-size);
59
+ line-height: var(--m-prose-ambient-lineHeight);
60
60
  }
61
61
 
62
62
  .row {
63
- scroll-margin-block: var(--m-spacing-xs);
64
- padding-inline: var(--m-spacing-xs);
63
+ scroll-margin-block: var(--m-space-xs);
64
+ padding-inline: var(--m-space-xs);
65
65
  }
66
66
 
67
67
  .emoji {
68
- padding: var(--m-spacing-xs);
68
+ padding: var(--m-space-xs);
69
69
  font-size: --fn-literal(20px);
70
70
  }
71
71
 
72
72
  .list {
73
73
  user-select: none;
74
- padding-block-end: var(--m-spacing-md);
74
+ padding-block-end: var(--m-space-md);
75
75
  }
76
76
 
77
77
  .skinToneButton {
78
- padding: var(--m-spacing-xs);
78
+ padding: var(--m-space-xs);
79
79
  font-size: --fn-literal(20px);
80
80
  }
81
81
 
@@ -2,10 +2,10 @@
2
2
  display: inline-flex;
3
3
  flex-direction: column;
4
4
  @apply --mx-fg(var(--m-color-neutral-ink));
5
- margin-inline-start: var(--m-spacing-md);
6
- gap: var(--m-spacing-xs);
7
- font-size: var(--m-text-ambient-size);
8
- line-height: var(--m-text-ambient-lineHeight);
5
+ margin-inline-start: var(--m-space-md);
6
+ gap: var(--m-space-xs);
7
+ font-size: var(--m-prose-ambient-size);
8
+ line-height: var(--m-prose-ambient-lineHeight);
9
9
  font-weight: bold;
10
10
  }
11
11
 
@@ -13,8 +13,8 @@
13
13
  display: inline-flex;
14
14
  flex-direction: row;
15
15
  @apply --mx-fg(var(--m-color-neutral-ink));
16
- gap: var(--m-spacing-sm);
17
- font-size: var(--m-text-ambient-size);
18
- line-height: var(--m-text-ambient-lineHeight);
19
- margin-block-start: var(--m-spacing-sm);
16
+ gap: var(--m-space-sm);
17
+ font-size: var(--m-prose-ambient-size);
18
+ line-height: var(--m-prose-ambient-lineHeight);
19
+ margin-block-start: var(--m-space-sm);
20
20
  }
@@ -2,5 +2,5 @@
2
2
  display: flex;
3
3
  align-items: start;
4
4
  flex-direction: column;
5
- gap: var(--m-spacing-md);
5
+ gap: var(--m-space-md);
6
6
  }
@@ -1,5 +1,5 @@
1
1
  .root {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- gap: var(--m-spacing-xs);
4
+ gap: var(--m-space-xs);
5
5
  }
@@ -3,7 +3,7 @@
3
3
  flex-direction: column;
4
4
  align-items: stretch;
5
5
  align-self: stretch;
6
- gap: var(--m-spacing-xs);
6
+ gap: var(--m-space-xs);
7
7
  }
8
8
 
9
9
  .input {
@@ -16,9 +16,9 @@
16
16
  flex-shrink: 0;
17
17
  flex-direction: row;
18
18
  align-items: center;
19
- gap: var(--m-spacing-sm);
20
- padding: var(--m-spacing-sm) var(--m-spacing-sm) var(--m-spacing-md)
21
- var(--m-spacing-sm);
19
+ gap: var(--m-space-sm);
20
+ padding: var(--m-space-sm) var(--m-space-sm) var(--m-space-md)
21
+ var(--m-space-sm);
22
22
  }
23
23
 
24
24
  .toggleButton {
@@ -36,7 +36,7 @@
36
36
  position: sticky;
37
37
  left: 0;
38
38
  height: 100%;
39
- top: var(--m-spacing-sm);
39
+ top: var(--m-space-sm);
40
40
  z-index: 1;
41
41
  flex-shrink: 0;
42
42
  @apply --mx-bg(inherit);
@@ -36,7 +36,7 @@ export const All: Story = {
36
36
  style={{
37
37
  display: 'grid',
38
38
  gridTemplateColumns: 'repeat(6, 1fr)',
39
- gap: 'var(--m-spacing-xs)',
39
+ gap: 'var(--m-space-xs)',
40
40
  }}
41
41
  >
42
42
  {iconNames.map((name) => (
@@ -52,7 +52,7 @@ export const All: Story = {
52
52
  <span
53
53
  style={{
54
54
  textAlign: 'center',
55
- fontSize: 'var(--m-text-ambient-size)',
55
+ fontSize: 'var(--m-prose-ambient-size)',
56
56
  }}
57
57
  >
58
58
  {name}
@@ -19,20 +19,20 @@
19
19
 
20
20
  .cameraCancelButton {
21
21
  position: absolute;
22
- top: var(--m-spacing-sm);
23
- left: var(--m-spacing-sm);
22
+ top: var(--m-space-sm);
23
+ left: var(--m-space-sm);
24
24
  @apply --mx-fg(var(--m-color-neutral-paper));
25
25
  }
26
26
 
27
27
  .removeButton {
28
28
  position: absolute;
29
- top: var(--m-spacing-sm);
30
- right: var(--m-spacing-sm);
29
+ top: var(--m-space-sm);
30
+ right: var(--m-space-sm);
31
31
  z-index: 10;
32
32
  height: 32px;
33
33
  width: 32px;
34
34
  cursor: pointer;
35
- padding: var(--m-spacing-sm);
35
+ padding: var(--m-space-sm);
36
36
  @apply --mx-bg(var(--m-surface-ambient-bg));
37
37
  @apply --mx-fg(var(--m-surface-ambient-fg));
38
38
  @apply --mx-shadow;
@@ -56,7 +56,7 @@
56
56
  flex-direction: column;
57
57
  align-items: center;
58
58
  justify-content: center;
59
- gap: var(--m-spacing-sm);
59
+ gap: var(--m-space-sm);
60
60
  @apply --mx-bg(var(--m-surface-primary-bg));
61
61
  @apply --mx-fg(var(--m-surface-primary-fg));
62
62
  border-radius: inherit;
@@ -39,7 +39,7 @@
39
39
  display: flex;
40
40
  flex-direction: row;
41
41
  align-items: center;
42
- gap: var(--m-spacing-xs);
42
+ gap: var(--m-space-xs);
43
43
  width: max-content;
44
44
  overflow: clip;
45
45
 
@@ -53,9 +53,9 @@
53
53
  @apply --mx-borderColor(var(--m-control-borderColor));
54
54
  border-radius: var(--m-control-radius);
55
55
 
56
- font-size: var(--m-text-secondary-size);
57
- line-height: var(--m-text-secondary-lineHeight);
58
- font-weight: var(--m-text-secondary-weight);
56
+ font-size: var(--m-prose-secondary-size);
57
+ line-height: var(--m-prose-secondary-lineHeight);
58
+ font-weight: var(--m-prose-secondary-weight);
59
59
 
60
60
  &:has(input:disabled),
61
61
  &:has(textarea:disabled) {
@@ -87,7 +87,7 @@
87
87
  }
88
88
 
89
89
  & > [data-icon] {
90
- margin-inline: var(--m-spacing-sm);
90
+ margin-inline: var(--m-space-sm);
91
91
  }
92
92
 
93
93
  padding-inline: var(--m-control-padding-inline);
@@ -7,11 +7,11 @@
7
7
  anchor-name: --page-content;
8
8
  flex: 1;
9
9
 
10
- gap: var(--m-spacing-md);
10
+ gap: var(--m-space-md);
11
11
 
12
- padding: var(--m-spacing-md);
12
+ padding: var(--m-space-md);
13
13
  @media (min-width: 768px) {
14
- padding: var(--m-spacing-lg);
14
+ padding: var(--m-space-lg);
15
15
  }
16
16
 
17
17
  margin-inline: auto;
@@ -6,6 +6,6 @@
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  align-items: stretch;
9
- gap: var(--m-spacing-sm);
9
+ gap: var(--m-space-sm);
10
10
  @apply --mx-bg(inherit);
11
11
  }
@@ -12,8 +12,8 @@
12
12
  position: absolute;
13
13
  content: '';
14
14
  top: 0;
15
- left: var(--m-spacing-md);
16
- right: var(--m-spacing-md);
15
+ left: var(--m-space-md);
16
+ right: var(--m-space-md);
17
17
  height: 1px;
18
18
  @apply --mx-bg(var(--m-color-neutral-heavy));
19
19
  @media (min-width: 768px) {
@@ -25,7 +25,7 @@
25
25
  bottom: auto;
26
26
  left: auto;
27
27
  right: auto;
28
- top: var(--m-spacing-lg);
28
+ top: var(--m-space-lg);
29
29
  height: auto;
30
30
  }
31
31
  }
@@ -2,9 +2,9 @@
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
5
- gap: var(--m-spacing-sm);
5
+ gap: var(--m-space-sm);
6
6
 
7
- padding: var(--m-spacing-sm);
7
+ padding: var(--m-space-sm);
8
8
 
9
9
  position: fixed;
10
10
  position-anchor: --page-content;
@@ -14,7 +14,7 @@
14
14
  bottom: --fn-literal(var(--nav-height, env(safe-area-inset-bottom, 0px)));
15
15
 
16
16
  @media (min-width: 768px) {
17
- bottom: var(--m-spacing-md);
17
+ bottom: var(--m-space-md);
18
18
  align-items: center;
19
19
  transition: bottom var(--m-duration) var(--m-easing);
20
20
  }
@@ -1,7 +1,7 @@
1
1
  .root {
2
2
  max-width: 80vw;
3
3
  width: 100%;
4
- padding: var(--m-spacing-md);
4
+ padding: var(--m-space-md);
5
5
  @apply --mx-bg(var(--m-surface-ambient-bg));
6
6
  border-radius: var(--m-radius-lg);
7
7
  @apply --mx-borderColor(var(--m-surface-ambient-borderColor));
@@ -13,7 +13,7 @@
13
13
 
14
14
  .grid {
15
15
  display: grid;
16
- gap: var(--m-spacing-md);
16
+ gap: var(--m-space-md);
17
17
  align-items: start;
18
18
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
19
19
  }
@@ -26,8 +26,8 @@
26
26
 
27
27
  .close {
28
28
  position: absolute;
29
- right: var(--m-spacing-md);
30
- top: var(--m-spacing-md);
29
+ right: var(--m-space-md);
30
+ top: var(--m-space-md);
31
31
  }
32
32
 
33
33
  .overlay {
@@ -60,7 +60,7 @@
60
60
  width: 90vw;
61
61
  max-width: 100%;
62
62
 
63
- padding: var(--m-spacing-lg);
63
+ padding: var(--m-space-lg);
64
64
  border: none;
65
65
  background: none;
66
66
  pointer-events: none;
@@ -5,10 +5,10 @@
5
5
  padding: 0;
6
6
  display: flex;
7
7
  flex-direction: column;
8
- gap: var(--m-spacing-sm);
8
+ gap: var(--m-space-sm);
9
9
 
10
10
  & > li {
11
- margin-left: var(--m-spacing-sm);
11
+ margin-left: var(--m-space-sm);
12
12
  }
13
13
  }
14
14
 
@@ -6,9 +6,9 @@
6
6
  justify-items: center;
7
7
  overflow: clip;
8
8
  border-radius: 0;
9
- padding: var(--m-spacing-sm);
9
+ padding: var(--m-space-sm);
10
10
  z-index: 50;
11
- padding-bottom: calc(var(--m-spacing-sm) + env(safe-area-inset-bottom, 0px));
11
+ padding-bottom: calc(var(--m-space-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-spacing-sm);
19
+ gap: var(--m-space-sm);
20
20
  overflow-x: clip;
21
21
  overflow-y: auto;
22
22
  border-radius: 0;
23
- padding-bottom: var(--m-spacing-xl);
23
+ padding-bottom: var(--m-space-xl);
24
24
  box-shadow: none;
25
25
  @apply --mx-bg(transparent);
26
26
  border: none;
@@ -36,7 +36,7 @@
36
36
  user-select: none;
37
37
  align-items: center;
38
38
  justify-content: center;
39
- gap: var(--m-spacing-sm);
39
+ gap: var(--m-space-sm);
40
40
  white-space: nowrap;
41
41
  padding: var(--m-action-padding);
42
42
  transition: all var(--m-duration) var(--m-easing);
@@ -44,9 +44,9 @@
44
44
  @apply --mx-bg(transparent);
45
45
  border-radius: var(--m-radius-sm);
46
46
  border: none;
47
- font-size: var(--m-text-ambient-size);
47
+ font-size: var(--m-prose-ambient-size);
48
48
  line-height: 1;
49
- font-weight: var(--m-text-ambient-weight);
49
+ font-weight: var(--m-prose-ambient-weight);
50
50
  @apply --mx-shadow;
51
51
 
52
52
  &:active {
@@ -76,10 +76,10 @@
76
76
  flex-direction: row-reverse;
77
77
  justify-content: end;
78
78
  align-items: center;
79
- gap: var(--m-spacing-md);
79
+ gap: var(--m-space-md);
80
80
  padding: var(--m-action-padding);
81
81
  overflow: visible;
82
- font-size: var(--m-text-secondary-size);
82
+ font-size: var(--m-prose-secondary-size);
83
83
  &:active {
84
84
  @apply --mx-bg-heavier(1);
85
85
  }
@@ -93,7 +93,7 @@
93
93
  @media (min-width: 768px) {
94
94
  @apply --mx-bg(var(--m-color-neutral-light));
95
95
  @apply --mx-bg-faded(50%);
96
- padding: var(--m-spacing-sm);
96
+ padding: var(--m-space-sm);
97
97
  border-radius: var(--m-action-radius);
98
98
 
99
99
  [data-active='true'] & {
@@ -104,7 +104,7 @@
104
104
 
105
105
  .itemText {
106
106
  @apply --mx-fg(var(--m-color-neutral-ink));
107
- font-size: var(--m-text-ambient-size);
107
+ font-size: var(--m-prose-ambient-size);
108
108
  line-height: 1;
109
109
  font-weight: inherit;
110
110
  display: inline-block;
@@ -126,8 +126,8 @@
126
126
 
127
127
  .pip {
128
128
  position: absolute;
129
- top: var(--m-spacing-sm);
130
- right: var(--m-spacing-sm);
129
+ top: var(--m-space-sm);
130
+ right: var(--m-space-sm);
131
131
  width: 6px;
132
132
  height: 6px;
133
133
  border-radius: 50%;