@a-type/ui 6.0.12 → 6.0.14
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 +72 -8
- package/dist/arbor/arbor.js +94 -8
- package/dist/arbor/arbor.js.map +1 -1
- package/dist/colors.module.css +4 -4
- package/dist/components/actions/ActionButton.module.css +1 -1
- package/dist/components/box/Box.module.css +10 -10
- package/dist/components/box/Box.stories.js +1 -1
- package/dist/components/box/Box.stories.js.map +1 -1
- package/dist/components/button/Button.js +1 -1
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/button/Button.module.css +5 -12
- package/dist/components/button/index.d.ts +0 -1
- package/dist/components/button/index.js +0 -1
- package/dist/components/button/index.js.map +1 -1
- package/dist/components/camera/Camera.module.css +7 -7
- package/dist/components/card/Card.module.css +23 -23
- package/dist/components/card/Card.stories.js +2 -2
- package/dist/components/card/Card.stories.js.map +1 -1
- package/dist/components/chip/Chip.module.css +4 -4
- package/dist/components/combobox/Combobox.module.css +25 -25
- package/dist/components/datePicker/Calendar.module.css +3 -3
- package/dist/components/datePicker/DatePicker.d.ts +2 -1
- package/dist/components/datePicker/DatePicker.js.map +1 -1
- package/dist/components/datePicker/dateRangePicker.module.css +1 -1
- package/dist/components/dialog/Dialog.module.css +15 -15
- package/dist/components/editableText/EditableText.module.css +1 -1
- package/dist/components/emojiPicker/EmojiPicker.module.css +12 -12
- package/dist/components/forms/FieldLabel.module.css +8 -8
- 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 +4 -4
- package/dist/components/icon/Icon.stories.js +2 -2
- package/dist/components/icon/Icon.stories.js.map +1 -1
- package/dist/components/imageUploader/ImageUploader.module.css +6 -6
- package/dist/components/input/Input.module.css +5 -5
- 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 +3 -3
- package/dist/components/layouts/PageNowPlaying.module.css +3 -3
- package/dist/components/layouts/PageSection.module.css +2 -2
- package/dist/components/lightbox/Lightbox.module.css +3 -3
- package/dist/components/lists/lists.module.css +2 -2
- package/dist/components/masonry/masonry.d.ts +3 -2
- package/dist/components/masonry/masonry.js +2 -2
- package/dist/components/masonry/masonry.js.map +1 -1
- package/dist/components/navBar/NavBar.module.css +13 -13
- package/dist/components/note/Note.module.css +4 -4
- package/dist/components/peek/Peek.module.css +4 -4
- package/dist/components/popover/Popover.module.css +8 -8
- 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 +25 -27
- package/dist/components/progress/Progress.module.css +7 -7
- package/dist/components/pwaInstall/PwaInstall.module.css +3 -3
- package/dist/components/quickAction/QuickAction.module.css +1 -1
- package/dist/components/richEditor/richEditor.module.css +23 -23
- package/dist/components/select/Select.module.css +2 -2
- package/dist/components/spinner/Spinner.module.css +1 -1
- package/dist/components/switch/Switch.module.css +1 -1
- package/dist/components/tabs/tabs.module.css +6 -6
- 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 +1 -1
- package/dist/components/tooltip/Tooltip.module.css +1 -1
- package/dist/components/typography/typography.module.css +11 -11
- package/dist/components/viewport/Viewport.module.css +8 -8
- package/dist/css/arbor.css +388 -276
- package/dist/css/util.css +10 -10
- 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 +3 -3
- package/src/arbor/arbor.ts +108 -10
- package/src/colors.module.css +4 -4
- package/src/components/actions/ActionButton.module.css +1 -1
- package/src/components/box/Box.module.css +10 -10
- package/src/components/box/Box.stories.tsx +1 -1
- package/src/components/button/Button.module.css +5 -12
- package/src/components/button/Button.tsx +1 -0
- package/src/components/button/index.ts +0 -1
- package/src/components/camera/Camera.module.css +7 -7
- package/src/components/card/Card.module.css +23 -23
- package/src/components/card/Card.stories.tsx +2 -2
- package/src/components/chip/Chip.module.css +4 -4
- package/src/components/combobox/Combobox.module.css +25 -25
- package/src/components/datePicker/Calendar.module.css +3 -3
- package/src/components/datePicker/DatePicker.tsx +2 -1
- package/src/components/datePicker/dateRangePicker.module.css +1 -1
- package/src/components/dialog/Dialog.module.css +15 -15
- package/src/components/editableText/EditableText.module.css +1 -1
- package/src/components/emojiPicker/EmojiPicker.module.css +12 -12
- package/src/components/forms/FieldLabel.module.css +8 -8
- 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 +4 -4
- package/src/components/icon/Icon.stories.tsx +2 -2
- package/src/components/imageUploader/ImageUploader.module.css +6 -6
- package/src/components/input/Input.module.css +5 -5
- 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 +3 -3
- package/src/components/layouts/PageNowPlaying.module.css +3 -3
- package/src/components/layouts/PageSection.module.css +2 -2
- package/src/components/lightbox/Lightbox.module.css +3 -3
- package/src/components/lists/lists.module.css +2 -2
- package/src/components/masonry/masonry.tsx +3 -1
- package/src/components/navBar/NavBar.module.css +13 -13
- package/src/components/note/Note.module.css +4 -4
- package/src/components/peek/Peek.module.css +4 -4
- package/src/components/popover/Popover.module.css +8 -8
- package/src/components/popover/Popover.stories.tsx +1 -1
- package/src/components/primitives/menus.module.css +25 -27
- package/src/components/progress/Progress.module.css +7 -7
- package/src/components/pwaInstall/PwaInstall.module.css +3 -3
- package/src/components/quickAction/QuickAction.module.css +1 -1
- package/src/components/richEditor/richEditor.module.css +23 -23
- package/src/components/select/Select.module.css +2 -2
- package/src/components/spinner/Spinner.module.css +1 -1
- package/src/components/switch/Switch.module.css +1 -1
- package/src/components/tabs/tabs.module.css +6 -6
- 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 +1 -1
- package/src/components/tooltip/Tooltip.module.css +1 -1
- package/src/components/typography/typography.module.css +11 -11
- package/src/components/viewport/Viewport.module.css +8 -8
- package/src/css/util.css +10 -10
- package/src/keyboard.stories.tsx +1 -1
- package/src/shadows.stories.tsx +1 -1
- package/src/theme.stories.module.css +1 -1
- package/dist/components/button/classes.d.ts +0 -7
- package/dist/components/button/classes.js +0 -24
- package/dist/components/button/classes.js.map +0 -1
- package/src/components/button/classes.tsx +0 -79
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
.typography {
|
|
2
2
|
@apply --mx-fg(inherit);
|
|
3
|
-
font-size: var(--m-
|
|
4
|
-
line-height: var(--m-
|
|
5
|
-
font-weight: var(--m-
|
|
3
|
+
font-size: var(--m-prose-secondary-size);
|
|
4
|
+
line-height: var(--m-prose-secondary-lineHeight);
|
|
5
|
+
font-weight: var(--m-prose-secondary-weight);
|
|
6
6
|
|
|
7
7
|
&[data-emphasis='primary'] {
|
|
8
|
-
font-size: var(--m-
|
|
9
|
-
line-height: var(--m-
|
|
10
|
-
font-weight: var(--m-
|
|
8
|
+
font-size: var(--m-prose-primary-size);
|
|
9
|
+
line-height: var(--m-prose-primary-lineHeight);
|
|
10
|
+
font-weight: var(--m-prose-primary-weight);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
&[data-emphasis='ambient'] {
|
|
14
|
-
font-size: var(--m-
|
|
15
|
-
line-height: var(--m-
|
|
16
|
-
font-weight: var(--m-
|
|
14
|
+
font-size: var(--m-prose-ambient-size);
|
|
15
|
+
line-height: var(--m-prose-ambient-lineHeight);
|
|
16
|
+
font-weight: var(--m-prose-ambient-weight);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
&[data-italic] {
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
text-decoration: line-through;
|
|
27
27
|
}
|
|
28
28
|
&[data-bold] {
|
|
29
|
-
font-weight: var(--m-
|
|
29
|
+
font-weight: var(--m-text-weight-bold);
|
|
30
30
|
}
|
|
31
31
|
&[data-thin] {
|
|
32
|
-
font-weight: var(--m-
|
|
32
|
+
font-weight: var(--m-text-weight-thin);
|
|
33
33
|
}
|
|
34
34
|
&[data-truncate] {
|
|
35
35
|
overflow: hidden;
|
|
@@ -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-space-sm);
|
|
30
|
+
left: var(--m-space-sm);
|
|
31
31
|
}
|
|
32
32
|
&[data-position='top-right'] {
|
|
33
|
-
top: var(--m-
|
|
34
|
-
right: var(--m-
|
|
33
|
+
top: var(--m-space-sm);
|
|
34
|
+
right: var(--m-space-sm);
|
|
35
35
|
}
|
|
36
36
|
&[data-position='bottom-left'] {
|
|
37
|
-
bottom: var(--m-
|
|
38
|
-
left: var(--m-
|
|
37
|
+
bottom: var(--m-space-sm);
|
|
38
|
+
left: var(--m-space-sm);
|
|
39
39
|
}
|
|
40
40
|
&[data-position='bottom-right'] {
|
|
41
|
-
bottom: var(--m-
|
|
42
|
-
right: var(--m-
|
|
41
|
+
bottom: var(--m-space-sm);
|
|
42
|
+
right: var(--m-space-sm);
|
|
43
43
|
}
|
|
44
44
|
}
|
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-space-xs);
|
|
65
65
|
}
|
|
66
66
|
.gap-sm {
|
|
67
|
-
gap: var(--m-
|
|
67
|
+
gap: var(--m-space-sm);
|
|
68
68
|
}
|
|
69
69
|
.gap-md {
|
|
70
|
-
gap: var(--m-
|
|
70
|
+
gap: var(--m-space-md);
|
|
71
71
|
}
|
|
72
72
|
.gap-lg {
|
|
73
|
-
gap: var(--m-
|
|
73
|
+
gap: var(--m-space-lg);
|
|
74
74
|
}
|
|
75
75
|
.gap-xl {
|
|
76
|
-
gap: var(--m-
|
|
76
|
+
gap: var(--m-space-xl);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.items-start {
|
|
@@ -112,17 +112,17 @@
|
|
|
112
112
|
padding: 0;
|
|
113
113
|
}
|
|
114
114
|
.p-xs {
|
|
115
|
-
padding: var(--m-
|
|
115
|
+
padding: var(--m-space-xs);
|
|
116
116
|
}
|
|
117
117
|
.p-sm {
|
|
118
|
-
padding: var(--m-
|
|
118
|
+
padding: var(--m-space-sm);
|
|
119
119
|
}
|
|
120
120
|
.p-md {
|
|
121
|
-
padding: var(--m-
|
|
121
|
+
padding: var(--m-space-md);
|
|
122
122
|
}
|
|
123
123
|
.p-lg {
|
|
124
|
-
padding: var(--m-
|
|
124
|
+
padding: var(--m-space-lg);
|
|
125
125
|
}
|
|
126
126
|
.p-xl {
|
|
127
|
-
padding: var(--m-
|
|
127
|
+
padding: var(--m-space-xl);
|
|
128
128
|
}
|
package/src/keyboard.stories.tsx
CHANGED
package/src/shadows.stories.tsx
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type ButtonProps } from './Button.jsx';
|
|
2
|
-
export declare function getButtonClassName({ emphasis, size, toggleable, disableIconMode, }: {
|
|
3
|
-
emphasis?: ButtonProps['emphasis'];
|
|
4
|
-
size?: ButtonProps['size'];
|
|
5
|
-
toggleable?: boolean;
|
|
6
|
-
disableIconMode?: boolean;
|
|
7
|
-
}): string;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx';
|
|
2
|
-
export function getButtonClassName({ emphasis = 'default', size = 'default', toggleable, disableIconMode, }) {
|
|
3
|
-
if (emphasis === 'unstyled') {
|
|
4
|
-
return clsx('layer-components:(m-0 appearance-none p-0 bg-transparent border-none)', 'layer-components:(cursor-pointer)', 'layer-components:focus:outline-none');
|
|
5
|
-
}
|
|
6
|
-
return clsx('layer-components:(select-none fw-[bold] leading-[1] font-inherit)', 'layer-components:(b-fg b border-solid)', 'layer-components:(cursor-pointer)', 'layer-components:(flex flex-row items-center gap-sm)', 'layer-components:(relative overflow-visible whitespace-nowrap)', 'layer-components:(transition-all duration-200)', 'layer-components:(shadow-sm ring-bg)', 'layer-components:color-contrast', 'layer-components:text-secondary', 'layer-components:(px-action py-action rd-[9999px])', {
|
|
7
|
-
'@mode-dense': size === 'small',
|
|
8
|
-
'@mode-density-reset': size === 'default',
|
|
9
|
-
'layer-variants:(border-0 p-0 shadow-none)': size === 'wrapper',
|
|
10
|
-
}, emphasis === 'ghost' && 'layer-variants:(shadow-none border-transparent)', {
|
|
11
|
-
'layer-components:bg-main': emphasis === 'primary',
|
|
12
|
-
'layer-components:(color-main-ink bg-main-light bg-desaturate-2)': emphasis === 'light',
|
|
13
|
-
'layer-components:bg-neutral-paper layer-variants:focus-visible:bg-neutral-paper': emphasis === 'default',
|
|
14
|
-
'layer-components:(color-main-ink bg-transparent aria-[pressed]:bg-main-wash)': emphasis === 'ghost',
|
|
15
|
-
}, {
|
|
16
|
-
'layer-components:(min-h-[30px])': size === 'small',
|
|
17
|
-
'layer-components:[&[data-has-icon=true][data-has-label=false]]:(p-2.35 rd-lg text-ambient)': size === 'default' && !disableIconMode,
|
|
18
|
-
'layer-components:[&[data-has-icon=true][data-has-label=false]]:min-h-touch-small layer-components:[&[data-has-icon=true][data-has-label=false]]:-m-y-2xs layer-components:[&[data-has-icon=true][data-has-label=false]]:(p-sm rd-lg text-ambient)': size === 'small' && !disableIconMode,
|
|
19
|
-
}, !disableIconMode &&
|
|
20
|
-
'layer-components:[&[data-has-icon=true][data-has-label=false]:not([aria-pressed])]:(aspect-1 items-center justify-center)', 'layer-components:hover:(bg-main bg-lighten-2 ring-bg ring-[4px])', 'layer-components:active:(bg-darken-1 ring-bg ring-[8px])', 'focus-visible:(ring-neutral-ink ring-[4px] ring-offset)', 'layer-components:disabled:(cursor-default opacity-50 shadow-none ring-none)', 'layer-components:[&[data-disabled=true]]:(cursor-default opacity-50 shadow-none)', {
|
|
21
|
-
'layer-variants:[&[aria-pressed=false]]:[&:not(:hover)]:bg-transparent': toggleable,
|
|
22
|
-
}, 'self-center', `size-${size !== null && size !== void 0 ? size : 'default'}`);
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=classes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"classes.js","sourceRoot":"","sources":["../../../src/components/button/classes.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,MAAM,UAAU,kBAAkB,CAAC,EAClC,QAAQ,GAAG,SAAS,EACpB,IAAI,GAAG,SAAS,EAChB,UAAU,EACV,eAAe,GAMf;IACA,IAAI,QAAQ,KAAK,UAAU,EAAE,CAAC;QAC7B,OAAO,IAAI,CACV,uEAAuE,EACvE,mCAAmC,EACnC,qCAAqC,CACrC,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CACV,mEAAmE,EACnE,wCAAwC,EACxC,mCAAmC,EACnC,sDAAsD,EACtD,gEAAgE,EAChE,gDAAgD,EAChD,sCAAsC,EACtC,iCAAiC,EACjC,iCAAiC,EACjC,oDAAoD,EAEpD;QACC,aAAa,EAAE,IAAI,KAAK,OAAO;QAC/B,qBAAqB,EAAE,IAAI,KAAK,SAAS;QACzC,2CAA2C,EAAE,IAAI,KAAK,SAAS;KAC/D,EAED,QAAQ,KAAK,OAAO,IAAI,iDAAiD,EAEzE;QACC,0BAA0B,EAAE,QAAQ,KAAK,SAAS;QAClD,iEAAiE,EAChE,QAAQ,KAAK,OAAO;QACrB,iFAAiF,EAChF,QAAQ,KAAK,SAAS;QACvB,8EAA8E,EAC7E,QAAQ,KAAK,OAAO;KACrB,EAED;QACC,iCAAiC,EAAE,IAAI,KAAK,OAAO;QACnD,4FAA4F,EAC3F,IAAI,KAAK,SAAS,IAAI,CAAC,eAAe;QACvC,mPAAmP,EAClP,IAAI,KAAK,OAAO,IAAI,CAAC,eAAe;KACrC,EACD,CAAC,eAAe;QACf,2HAA2H,EAE5H,kEAAkE,EAClE,0DAA0D,EAC1D,yDAAyD,EAEzD,6EAA6E,EAC7E,kFAAkF,EAElF;QACC,uEAAuE,EACtE,UAAU;KACX,EAED,aAAa,EAEb,QAAQ,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,SAAS,EAAE,CAC3B,CAAC;AACH,CAAC"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx';
|
|
2
|
-
import { type ButtonProps } from './Button.jsx';
|
|
3
|
-
|
|
4
|
-
export function getButtonClassName({
|
|
5
|
-
emphasis = 'default',
|
|
6
|
-
size = 'default',
|
|
7
|
-
toggleable,
|
|
8
|
-
disableIconMode,
|
|
9
|
-
}: {
|
|
10
|
-
emphasis?: ButtonProps['emphasis'];
|
|
11
|
-
size?: ButtonProps['size'];
|
|
12
|
-
toggleable?: boolean;
|
|
13
|
-
disableIconMode?: boolean;
|
|
14
|
-
}) {
|
|
15
|
-
if (emphasis === 'unstyled') {
|
|
16
|
-
return clsx(
|
|
17
|
-
'layer-components:(m-0 appearance-none p-0 bg-transparent border-none)',
|
|
18
|
-
'layer-components:(cursor-pointer)',
|
|
19
|
-
'layer-components:focus:outline-none',
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return clsx(
|
|
24
|
-
'layer-components:(select-none fw-[bold] leading-[1] font-inherit)',
|
|
25
|
-
'layer-components:(b-fg b border-solid)',
|
|
26
|
-
'layer-components:(cursor-pointer)',
|
|
27
|
-
'layer-components:(flex flex-row items-center gap-sm)',
|
|
28
|
-
'layer-components:(relative overflow-visible whitespace-nowrap)',
|
|
29
|
-
'layer-components:(transition-all duration-200)',
|
|
30
|
-
'layer-components:(shadow-sm ring-bg)',
|
|
31
|
-
'layer-components:color-contrast',
|
|
32
|
-
'layer-components:text-secondary',
|
|
33
|
-
'layer-components:(px-action py-action rd-[9999px])',
|
|
34
|
-
|
|
35
|
-
{
|
|
36
|
-
'@mode-dense': size === 'small',
|
|
37
|
-
'@mode-density-reset': size === 'default',
|
|
38
|
-
'layer-variants:(border-0 p-0 shadow-none)': size === 'wrapper',
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
emphasis === 'ghost' && 'layer-variants:(shadow-none border-transparent)',
|
|
42
|
-
|
|
43
|
-
{
|
|
44
|
-
'layer-components:bg-main': emphasis === 'primary',
|
|
45
|
-
'layer-components:(color-main-ink bg-main-light bg-desaturate-2)':
|
|
46
|
-
emphasis === 'light',
|
|
47
|
-
'layer-components:bg-neutral-paper layer-variants:focus-visible:bg-neutral-paper':
|
|
48
|
-
emphasis === 'default',
|
|
49
|
-
'layer-components:(color-main-ink bg-transparent aria-[pressed]:bg-main-wash)':
|
|
50
|
-
emphasis === 'ghost',
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
{
|
|
54
|
-
'layer-components:(min-h-[30px])': size === 'small',
|
|
55
|
-
'layer-components:[&[data-has-icon=true][data-has-label=false]]:(p-2.35 rd-lg text-ambient)':
|
|
56
|
-
size === 'default' && !disableIconMode,
|
|
57
|
-
'layer-components:[&[data-has-icon=true][data-has-label=false]]:min-h-touch-small layer-components:[&[data-has-icon=true][data-has-label=false]]:-m-y-2xs layer-components:[&[data-has-icon=true][data-has-label=false]]:(p-sm rd-lg text-ambient)':
|
|
58
|
-
size === 'small' && !disableIconMode,
|
|
59
|
-
},
|
|
60
|
-
!disableIconMode &&
|
|
61
|
-
'layer-components:[&[data-has-icon=true][data-has-label=false]:not([aria-pressed])]:(aspect-1 items-center justify-center)',
|
|
62
|
-
|
|
63
|
-
'layer-components:hover:(bg-main bg-lighten-2 ring-bg ring-[4px])',
|
|
64
|
-
'layer-components:active:(bg-darken-1 ring-bg ring-[8px])',
|
|
65
|
-
'focus-visible:(ring-neutral-ink ring-[4px] ring-offset)',
|
|
66
|
-
|
|
67
|
-
'layer-components:disabled:(cursor-default opacity-50 shadow-none ring-none)',
|
|
68
|
-
'layer-components:[&[data-disabled=true]]:(cursor-default opacity-50 shadow-none)',
|
|
69
|
-
|
|
70
|
-
{
|
|
71
|
-
'layer-variants:[&[aria-pressed=false]]:[&:not(:hover)]:bg-transparent':
|
|
72
|
-
toggleable,
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
'self-center',
|
|
76
|
-
|
|
77
|
-
`size-${size ?? 'default'}`,
|
|
78
|
-
);
|
|
79
|
-
}
|