@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.
- package/dist/arbor/arbor.d.ts +637 -691
- package/dist/arbor/arbor.js +51 -63
- package/dist/arbor/arbor.js.map +1 -1
- package/dist/colors.module.css +14 -14
- package/dist/components/actions/ActionBar.module.css +1 -1
- package/dist/components/actions/ActionButton.module.css +1 -1
- package/dist/components/avatar/Avatar.module.css +5 -5
- package/dist/components/box/Box.module.css +19 -19
- package/dist/components/box/Box.stories.js +1 -1
- package/dist/components/box/Box.stories.js.map +1 -1
- package/dist/components/button/Button.module.css +9 -9
- package/dist/components/camera/Camera.module.css +9 -9
- package/dist/components/card/Card.module.css +24 -24
- package/dist/components/card/Card.stories.js +2 -2
- package/dist/components/card/Card.stories.js.map +1 -1
- package/dist/components/checkbox/Checkbox.module.css +8 -8
- package/dist/components/chip/Chip.module.css +9 -9
- package/dist/components/collapsible/Collapsible.module.css +2 -2
- package/dist/components/combobox/Combobox.module.css +26 -26
- package/dist/components/datePicker/Calendar.module.css +32 -32
- package/dist/components/datePicker/dateRangePicker.module.css +1 -1
- package/dist/components/dialog/Dialog.module.css +25 -25
- package/dist/components/dialog/Dialog.stories.js +1 -1
- package/dist/components/dialog/Dialog.stories.js.map +1 -1
- package/dist/components/divider/Divider.module.css +2 -2
- package/dist/components/editableText/EditableText.module.css +5 -5
- package/dist/components/emojiPicker/EmojiPicker.module.css +10 -10
- package/dist/components/forms/Field.module.css +10 -12
- package/dist/components/forms/Form.module.css +1 -1
- package/dist/components/forms/NumberStepperField.module.css +1 -1
- package/dist/components/forms/TextField.module.css +1 -1
- package/dist/components/horizontalList/HorizontalList.module.css +7 -8
- package/dist/components/horizontalList/HorizontalList.stories.js +5 -5
- package/dist/components/horizontalList/HorizontalList.stories.js.map +1 -1
- package/dist/components/icon/Icon.module.css +1 -1
- package/dist/components/icon/Icon.stories.js +1 -1
- package/dist/components/icon/Icon.stories.js.map +1 -1
- package/dist/components/imageUploader/ImageUploader.module.css +9 -9
- package/dist/components/input/Input.module.css +13 -13
- package/dist/components/layouts/PageContent.module.css +3 -3
- package/dist/components/layouts/PageFixedArea.module.css +1 -1
- package/dist/components/layouts/PageNav.module.css +4 -4
- package/dist/components/layouts/PageNowPlaying.module.css +4 -4
- package/dist/components/layouts/PageRoot.module.css +1 -1
- package/dist/components/layouts/PageSection.module.css +4 -4
- package/dist/components/layouts/layouts.stories.js +1 -1
- package/dist/components/layouts/layouts.stories.js.map +1 -1
- package/dist/components/lightbox/Lightbox.module.css +5 -5
- package/dist/components/lists/lists.module.css +3 -3
- package/dist/components/marquee/marquee.module.css +1 -1
- package/dist/components/navBar/NavBar.module.css +19 -19
- package/dist/components/note/Note.module.css +16 -16
- package/dist/components/numberStepper/NumberStepper.module.css +4 -4
- package/dist/components/peek/Peek.module.css +9 -9
- package/dist/components/popover/Popover.module.css +5 -5
- package/dist/components/popover/Popover.stories.js +1 -1
- package/dist/components/popover/Popover.stories.js.map +1 -1
- package/dist/components/primitives/menus.module.css +29 -33
- package/dist/components/progress/Progress.module.css +11 -11
- package/dist/components/provider/Provider.js +1 -1
- package/dist/components/provider/Provider.js.map +1 -1
- package/dist/components/pwaInstall/PwaInstall.module.css +4 -4
- package/dist/components/quickAction/QuickAction.module.css +4 -4
- package/dist/components/richEditor/richEditor.module.css +18 -18
- package/dist/components/scrollArea/ScrollArea.module.css +8 -8
- package/dist/components/select/Select.module.css +3 -3
- package/dist/components/skeletons/skeletons.module.css +3 -3
- package/dist/components/slider/Slider.module.css +13 -13
- package/dist/components/spinner/Spinner.module.css +1 -1
- package/dist/components/switch/Switch.module.css +9 -9
- package/dist/components/tabs/tabs.module.css +16 -16
- package/dist/components/textArea/TextArea.module.css +1 -1
- package/dist/components/toasts/toasts.module.css +19 -19
- package/dist/components/toggleGroup/toggleGroup.module.css +12 -12
- package/dist/components/tooltip/Tooltip.module.css +10 -10
- package/dist/components/typography/typography.d.ts +1 -2
- package/dist/components/typography/typography.js +1 -2
- package/dist/components/typography/typography.js.map +1 -1
- package/dist/components/typography/typography.module.css +6 -9
- package/dist/components/viewport/Viewport.module.css +9 -9
- package/dist/css/base.css +1 -1
- package/dist/css/util.css +10 -10
- package/dist/hooks/useTitleBarColor.stories.js +1 -1
- package/dist/hooks/useTitleBarColor.stories.js.map +1 -1
- package/dist/keyboard.stories.js +1 -1
- package/dist/keyboard.stories.js.map +1 -1
- package/dist/shadows.stories.js +1 -1
- package/dist/shadows.stories.js.map +1 -1
- package/dist/theme.stories.module.css +1 -1
- package/package.json +5 -4
- package/src/arbor/arbor.ts +54 -67
- package/src/colors.module.css +14 -14
- package/src/components/actions/ActionBar.module.css +1 -1
- package/src/components/actions/ActionButton.module.css +1 -1
- package/src/components/avatar/Avatar.module.css +5 -5
- package/src/components/box/Box.module.css +19 -19
- package/src/components/box/Box.stories.tsx +1 -1
- package/src/components/button/Button.module.css +9 -9
- package/src/components/camera/Camera.module.css +9 -9
- package/src/components/card/Card.module.css +24 -24
- package/src/components/card/Card.stories.tsx +2 -2
- package/src/components/checkbox/Checkbox.module.css +8 -8
- package/src/components/chip/Chip.module.css +9 -9
- package/src/components/collapsible/Collapsible.module.css +2 -2
- package/src/components/combobox/Combobox.module.css +26 -26
- package/src/components/datePicker/Calendar.module.css +32 -32
- package/src/components/datePicker/dateRangePicker.module.css +1 -1
- package/src/components/dialog/Dialog.module.css +25 -25
- package/src/components/dialog/Dialog.stories.tsx +1 -1
- package/src/components/divider/Divider.module.css +2 -2
- package/src/components/editableText/EditableText.module.css +5 -5
- package/src/components/emojiPicker/EmojiPicker.module.css +10 -10
- package/src/components/forms/Field.module.css +10 -12
- package/src/components/forms/Form.module.css +1 -1
- package/src/components/forms/NumberStepperField.module.css +1 -1
- package/src/components/forms/TextField.module.css +1 -1
- package/src/components/horizontalList/HorizontalList.module.css +7 -8
- package/src/components/horizontalList/HorizontalList.stories.tsx +5 -5
- package/src/components/icon/Icon.module.css +1 -1
- package/src/components/icon/Icon.stories.tsx +1 -1
- package/src/components/imageUploader/ImageUploader.module.css +9 -9
- package/src/components/input/Input.module.css +13 -13
- package/src/components/layouts/PageContent.module.css +3 -3
- package/src/components/layouts/PageFixedArea.module.css +1 -1
- package/src/components/layouts/PageNav.module.css +4 -4
- package/src/components/layouts/PageNowPlaying.module.css +4 -4
- package/src/components/layouts/PageRoot.module.css +1 -1
- package/src/components/layouts/PageSection.module.css +4 -4
- package/src/components/layouts/layouts.stories.tsx +1 -1
- package/src/components/lightbox/Lightbox.module.css +5 -5
- package/src/components/lists/lists.module.css +3 -3
- package/src/components/marquee/marquee.module.css +1 -1
- package/src/components/navBar/NavBar.module.css +19 -19
- package/src/components/note/Note.module.css +16 -16
- package/src/components/numberStepper/NumberStepper.module.css +4 -4
- package/src/components/peek/Peek.module.css +9 -9
- package/src/components/popover/Popover.module.css +5 -5
- package/src/components/popover/Popover.stories.tsx +1 -1
- package/src/components/primitives/menus.module.css +29 -33
- package/src/components/progress/Progress.module.css +11 -11
- package/src/components/provider/Provider.tsx +1 -1
- package/src/components/pwaInstall/PwaInstall.module.css +4 -4
- package/src/components/quickAction/QuickAction.module.css +4 -4
- package/src/components/richEditor/richEditor.module.css +18 -18
- package/src/components/scrollArea/ScrollArea.module.css +8 -8
- package/src/components/select/Select.module.css +3 -3
- package/src/components/skeletons/skeletons.module.css +3 -3
- package/src/components/slider/Slider.module.css +13 -13
- package/src/components/spinner/Spinner.module.css +1 -1
- package/src/components/switch/Switch.module.css +9 -9
- package/src/components/tabs/tabs.module.css +16 -16
- package/src/components/textArea/TextArea.module.css +1 -1
- package/src/components/toasts/toasts.module.css +19 -19
- package/src/components/toggleGroup/toggleGroup.module.css +12 -12
- package/src/components/tooltip/Tooltip.module.css +10 -10
- package/src/components/typography/typography.module.css +6 -9
- package/src/components/typography/typography.tsx +0 -3
- package/src/components/viewport/Viewport.module.css +9 -9
- package/src/css/base.css +1 -1
- package/src/css/util.css +10 -10
- package/src/hooks/useTitleBarColor.stories.tsx +1 -1
- package/src/keyboard.stories.tsx +1 -1
- package/src/shadows.stories.tsx +1 -1
- package/src/theme.stories.module.css +1 -1
|
@@ -29,13 +29,10 @@
|
|
|
29
29
|
text-decoration: line-through;
|
|
30
30
|
}
|
|
31
31
|
&[data-bold] {
|
|
32
|
-
font-weight: var(--m-
|
|
33
|
-
}
|
|
34
|
-
&[data-thin] {
|
|
35
|
-
font-weight: var(--m-text-weight-thin);
|
|
32
|
+
font-weight: var(--m-fw-bold);
|
|
36
33
|
}
|
|
37
34
|
&[data-normal] {
|
|
38
|
-
font-weight: var(--m-
|
|
35
|
+
font-weight: var(--m-fw-normal);
|
|
39
36
|
}
|
|
40
37
|
&[data-uppercase] {
|
|
41
38
|
text-transform: uppercase;
|
|
@@ -58,16 +55,16 @@
|
|
|
58
55
|
}
|
|
59
56
|
|
|
60
57
|
&[data-color='neutral'] {
|
|
61
|
-
@apply --mx-fg(var(--m-
|
|
58
|
+
@apply --mx-fg(var(--m-gray-ink));
|
|
62
59
|
}
|
|
63
60
|
&[data-color='main'] {
|
|
64
|
-
@apply --mx-fg(var(--m-
|
|
61
|
+
@apply --mx-fg(var(--m-tint-heavy));
|
|
65
62
|
}
|
|
66
63
|
&[data-color='attention'] {
|
|
67
|
-
@apply --mx-fg(var(--m-color-
|
|
64
|
+
@apply --mx-fg(var(--m-color-attention-heavy));
|
|
68
65
|
}
|
|
69
66
|
&[data-color='success'] {
|
|
70
|
-
@apply --mx-fg(var(--m-color-
|
|
67
|
+
@apply --mx-fg(var(--m-color-success-heavy));
|
|
71
68
|
}
|
|
72
69
|
|
|
73
70
|
&[data-align='start'] {
|
|
@@ -11,7 +11,6 @@ export interface TypographyProps extends useRender.ComponentProps<'span'> {
|
|
|
11
11
|
underline?: boolean;
|
|
12
12
|
strikethrough?: boolean;
|
|
13
13
|
bold?: boolean;
|
|
14
|
-
thin?: boolean;
|
|
15
14
|
normal?: boolean;
|
|
16
15
|
uppercase?: boolean;
|
|
17
16
|
truncate?: boolean;
|
|
@@ -29,7 +28,6 @@ export function Text({
|
|
|
29
28
|
render,
|
|
30
29
|
className,
|
|
31
30
|
bold,
|
|
32
|
-
thin,
|
|
33
31
|
truncate,
|
|
34
32
|
dim,
|
|
35
33
|
color,
|
|
@@ -52,7 +50,6 @@ export function Text({
|
|
|
52
50
|
underline: underline ? true : undefined,
|
|
53
51
|
strikethrough: strikethrough ? true : undefined,
|
|
54
52
|
bold: bold ? true : undefined,
|
|
55
|
-
thin: thin ? true : undefined,
|
|
56
53
|
truncate: truncate ? true : undefined,
|
|
57
54
|
dim: dim ? true : undefined,
|
|
58
55
|
color: color ? color : undefined,
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
&:focus-visible {
|
|
20
20
|
@apply --mx-shadow;
|
|
21
|
-
--mx-ring-value: --fn-ring(var(--m-
|
|
21
|
+
--mx-ring-value: --fn-ring(var(--m-tint-ink), 1px);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -26,19 +26,19 @@
|
|
|
26
26
|
position: absolute;
|
|
27
27
|
|
|
28
28
|
&[data-position='top-left'] {
|
|
29
|
-
top: var(--m-
|
|
30
|
-
left: var(--m-
|
|
29
|
+
top: var(--m-sp-sm);
|
|
30
|
+
left: var(--m-sp-sm);
|
|
31
31
|
}
|
|
32
32
|
&[data-position='top-right'] {
|
|
33
|
-
top: var(--m-
|
|
34
|
-
right: var(--m-
|
|
33
|
+
top: var(--m-sp-sm);
|
|
34
|
+
right: var(--m-sp-sm);
|
|
35
35
|
}
|
|
36
36
|
&[data-position='bottom-left'] {
|
|
37
|
-
bottom: var(--m-
|
|
38
|
-
left: var(--m-
|
|
37
|
+
bottom: var(--m-sp-sm);
|
|
38
|
+
left: var(--m-sp-sm);
|
|
39
39
|
}
|
|
40
40
|
&[data-position='bottom-right'] {
|
|
41
|
-
bottom: var(--m-
|
|
42
|
-
right: var(--m-
|
|
41
|
+
bottom: var(--m-sp-sm);
|
|
42
|
+
right: var(--m-sp-sm);
|
|
43
43
|
}
|
|
44
44
|
}
|
package/src/css/base.css
CHANGED
package/src/css/util.css
CHANGED
|
@@ -61,19 +61,19 @@
|
|
|
61
61
|
gap: 0;
|
|
62
62
|
}
|
|
63
63
|
.gap-xs {
|
|
64
|
-
gap: var(--m-
|
|
64
|
+
gap: var(--m-sp-xs);
|
|
65
65
|
}
|
|
66
66
|
.gap-sm {
|
|
67
|
-
gap: var(--m-
|
|
67
|
+
gap: var(--m-sp-sm);
|
|
68
68
|
}
|
|
69
69
|
.gap-md {
|
|
70
|
-
gap: var(--m-
|
|
70
|
+
gap: var(--m-sp-md);
|
|
71
71
|
}
|
|
72
72
|
.gap-lg {
|
|
73
|
-
gap: var(--m-
|
|
73
|
+
gap: var(--m-sp-lg);
|
|
74
74
|
}
|
|
75
75
|
.gap-xl {
|
|
76
|
-
gap: var(--m-
|
|
76
|
+
gap: var(--m-sp-xl);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.items-start {
|
|
@@ -112,19 +112,19 @@
|
|
|
112
112
|
padding: 0;
|
|
113
113
|
}
|
|
114
114
|
.p-xs {
|
|
115
|
-
padding: var(--m-
|
|
115
|
+
padding: var(--m-sp-xs);
|
|
116
116
|
}
|
|
117
117
|
.p-sm {
|
|
118
|
-
padding: var(--m-
|
|
118
|
+
padding: var(--m-sp-sm);
|
|
119
119
|
}
|
|
120
120
|
.p-md {
|
|
121
|
-
padding: var(--m-
|
|
121
|
+
padding: var(--m-sp-md);
|
|
122
122
|
}
|
|
123
123
|
.p-lg {
|
|
124
|
-
padding: var(--m-
|
|
124
|
+
padding: var(--m-sp-lg);
|
|
125
125
|
}
|
|
126
126
|
.p-xl {
|
|
127
|
-
padding: var(--m-
|
|
127
|
+
padding: var(--m-sp-xl);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
/* Responsive */
|
package/src/keyboard.stories.tsx
CHANGED
package/src/shadows.stories.tsx
CHANGED