@cck-ui/core 0.17.0 → 0.18.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/lib/components/action-icon/action-icon-group/action-icon-group.types.d.ts +23 -0
- package/lib/components/action-icon/action-icon-group/action-icon-group.utils.d.ts +6 -0
- package/lib/components/action-icon/action-icon-group-section/action-icon-group-section.types.d.ts +34 -0
- package/lib/components/action-icon/action-icon-group-section/action-icon-group-section.utils.d.ts +7 -0
- package/lib/components/action-icon/action-icon.types.d.ts +56 -0
- package/lib/components/action-icon/action-icon.utils.d.ts +9 -0
- package/lib/components/action-icon/index.d.ts +15 -0
- package/package.json +1 -1
- package/styles/action-icon.css +189 -0
- package/styles/action-icon.layer.css +190 -0
- package/styles.css +190 -0
- package/styles.layer.css +190 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BoxProps, ElementProps, Factory, StylesApiProps } from '../../../core';
|
|
2
|
+
export type ActionIconGroupStylesNames = 'group';
|
|
3
|
+
export type ActionIconGroupCssVariables = {
|
|
4
|
+
group: '--ai-border-width';
|
|
5
|
+
};
|
|
6
|
+
export interface ActionIconGroupProps extends BoxProps, StylesApiProps<ActionIconGroupFactory>, /* @vue-ignore */ ElementProps<'div'> {
|
|
7
|
+
/**
|
|
8
|
+
* @description Group orientation
|
|
9
|
+
* @default 'horizontal'
|
|
10
|
+
*/
|
|
11
|
+
orientation?: 'horizontal' | 'vertical';
|
|
12
|
+
/**
|
|
13
|
+
* @description `border-width` of the child components.
|
|
14
|
+
* @default 1
|
|
15
|
+
*/
|
|
16
|
+
borderWidth?: number | string;
|
|
17
|
+
}
|
|
18
|
+
export type ActionIconGroupFactory = Factory<{
|
|
19
|
+
props: ActionIconGroupProps;
|
|
20
|
+
ref: HTMLDivElement;
|
|
21
|
+
stylesNames: ActionIconGroupStylesNames;
|
|
22
|
+
vars: ActionIconGroupCssVariables;
|
|
23
|
+
}>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const varsResolver: import("../../..").VarsResolver<{
|
|
2
|
+
props: import("./action-icon-group.types").ActionIconGroupProps;
|
|
3
|
+
ref: HTMLDivElement;
|
|
4
|
+
stylesNames: import("./action-icon-group.types").ActionIconGroupStylesNames;
|
|
5
|
+
vars: import("./action-icon-group.types").ActionIconGroupCssVariables;
|
|
6
|
+
}>;
|
package/lib/components/action-icon/action-icon-group-section/action-icon-group-section.types.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { BoxProps, CGradient, CRadius, CSize, ElementProps, Factory, StylesApiProps } from '../../../core';
|
|
2
|
+
import { ActionIconVariant } from '../action-icon.types';
|
|
3
|
+
export type ActionIconGroupSectionStylesNames = 'groupSection';
|
|
4
|
+
export type ActionIconGroupSectionCssVariables = {
|
|
5
|
+
groupSection: '--section-radius' | '--section-bg' | '--section-color' | '--section-bd' | '--section-height' | '--section-padding-x' | '--section-fz';
|
|
6
|
+
};
|
|
7
|
+
export interface ActionIconGroupSectionProps extends BoxProps, StylesApiProps<ActionIconGroupSectionFactory>, ElementProps<'div'> {
|
|
8
|
+
/**
|
|
9
|
+
* @description Key of `theme.radius` or any valid CSS value to set `border-radius`
|
|
10
|
+
* @default theme.defaultRadius
|
|
11
|
+
*/
|
|
12
|
+
radius?: CRadius;
|
|
13
|
+
/**
|
|
14
|
+
* @description Gradient values used with `variant="gradient"`.
|
|
15
|
+
* @default theme.defaultGradient
|
|
16
|
+
*/
|
|
17
|
+
gradient?: CGradient;
|
|
18
|
+
/**
|
|
19
|
+
* @description If set, adjusts text color based on background color for `filled` variant
|
|
20
|
+
*/
|
|
21
|
+
autoContrast?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* @description Controls section `height`, `font-size` and horizontal `padding`
|
|
24
|
+
* @default 'sm'
|
|
25
|
+
*/
|
|
26
|
+
size?: CSize | (string & {}) | number;
|
|
27
|
+
}
|
|
28
|
+
export type ActionIconGroupSectionFactory = Factory<{
|
|
29
|
+
props: ActionIconGroupSectionProps;
|
|
30
|
+
ref: HTMLDivElement;
|
|
31
|
+
stylesNames: ActionIconGroupSectionStylesNames;
|
|
32
|
+
vars: ActionIconGroupSectionCssVariables;
|
|
33
|
+
variant: ActionIconVariant;
|
|
34
|
+
}>;
|
package/lib/components/action-icon/action-icon-group-section/action-icon-group-section.utils.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const varsResolver: import("../../..").VarsResolver<{
|
|
2
|
+
props: import("./action-icon-group-section.types").ActionIconGroupSectionProps;
|
|
3
|
+
ref: HTMLDivElement;
|
|
4
|
+
stylesNames: import("./action-icon-group-section.types").ActionIconGroupSectionStylesNames;
|
|
5
|
+
vars: import("./action-icon-group-section.types").ActionIconGroupSectionCssVariables;
|
|
6
|
+
variant: import("..").ActionIconVariant;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { BoxProps, CColor, CGradient, CRadius, CSize, PolymorphicFactory, StylesApiProps } from '../../core';
|
|
2
|
+
import { LoaderProps } from '../loader';
|
|
3
|
+
export type ActionIconVariant = 'default' | 'filled' | 'light' | 'outline' | 'dashed' | 'transparent' | 'white' | 'subtle' | 'gradient';
|
|
4
|
+
export type ActionIconStylesNames = 'root' | 'loader' | 'icon';
|
|
5
|
+
export type ActionIconCssVariables = {
|
|
6
|
+
root: '--ai-radius' | '--ai-size' | '--ai-bg' | '--ai-hover' | '--ai-hover-color' | '--ai-color' | '--ai-bd';
|
|
7
|
+
};
|
|
8
|
+
export interface ActionIconProps extends BoxProps, StylesApiProps<ActionIconFactory> {
|
|
9
|
+
dataDisabled?: boolean;
|
|
10
|
+
__staticSelector?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @description If set, `Loader` component is displayed instead of the `children`
|
|
13
|
+
*/
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @description Props passed down to the `Loader` component. Ignored when `loading` prop is not set.
|
|
17
|
+
*/
|
|
18
|
+
loaderProps?: LoaderProps;
|
|
19
|
+
/**
|
|
20
|
+
* @description Controls width and height of the button. Numbers are converted to rem.
|
|
21
|
+
* @default 'md'
|
|
22
|
+
*/
|
|
23
|
+
size?: CSize | `input-${CSize}` | (string & {}) | number;
|
|
24
|
+
/**
|
|
25
|
+
* @description Key of `theme.colors` or any valid CSS color.
|
|
26
|
+
* @default theme.primaryColor
|
|
27
|
+
*/
|
|
28
|
+
color?: CColor;
|
|
29
|
+
/**
|
|
30
|
+
* @description Key of `theme.radius` or any valid CSS value to set border-radius. Numbers are converted to rem.
|
|
31
|
+
* @default theme.defaultRadius
|
|
32
|
+
*/
|
|
33
|
+
radius?: CRadius;
|
|
34
|
+
/**
|
|
35
|
+
* @description Gradient values used with `variant="gradient"`.
|
|
36
|
+
* @default theme.defaultGradient
|
|
37
|
+
*/
|
|
38
|
+
gradient?: CGradient;
|
|
39
|
+
/**
|
|
40
|
+
* @description Sets `disabled` attributes, prevents interactions
|
|
41
|
+
*/
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* @description If set, adjusts text color based on background color for `filled` variant
|
|
45
|
+
*/
|
|
46
|
+
autoContrast?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export type ActionIconFactory = PolymorphicFactory<{
|
|
49
|
+
props: ActionIconProps;
|
|
50
|
+
defaultComponent: 'button';
|
|
51
|
+
defaultRef: HTMLButtonElement;
|
|
52
|
+
stylesNames: ActionIconStylesNames;
|
|
53
|
+
variant: ActionIconVariant;
|
|
54
|
+
vars: ActionIconCssVariables;
|
|
55
|
+
staticComponents: {};
|
|
56
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const varsResolver: import("../..").VarsResolver<{
|
|
2
|
+
props: import("./action-icon.types").ActionIconProps;
|
|
3
|
+
defaultComponent: "button";
|
|
4
|
+
defaultRef: HTMLButtonElement;
|
|
5
|
+
stylesNames: import("./action-icon.types").ActionIconStylesNames;
|
|
6
|
+
variant: import("./action-icon.types").ActionIconVariant;
|
|
7
|
+
vars: import("./action-icon.types").ActionIconCssVariables;
|
|
8
|
+
staticComponents: {};
|
|
9
|
+
}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import ActionIconGroup from './action-icon-group/action-icon-group.vue';
|
|
2
|
+
import ActionIconGroupSection from './action-icon-group-section/action-icon-group-section.vue';
|
|
3
|
+
import ActionIcon from './action-icon.vue';
|
|
4
|
+
import classes from './action-icon.module.css';
|
|
5
|
+
import { SFCWithInstallAndClasses } from '../../core';
|
|
6
|
+
export declare const CActionIconGroup: SFCWithInstallAndClasses<typeof ActionIconGroup, typeof classes>;
|
|
7
|
+
export declare const CActionIconGroupSection: SFCWithInstallAndClasses<typeof ActionIconGroupSection, typeof classes>;
|
|
8
|
+
export declare const CActionIcon: SFCWithInstallAndClasses<typeof ActionIcon, typeof classes> & {
|
|
9
|
+
CActionIconGroup: typeof CActionIconGroup;
|
|
10
|
+
CActionIconGroupSection: typeof CActionIconGroupSection;
|
|
11
|
+
};
|
|
12
|
+
export default CActionIcon;
|
|
13
|
+
export * from './action-icon-group/action-icon-group.types';
|
|
14
|
+
export * from './action-icon-group-section/action-icon-group-section.types';
|
|
15
|
+
export * from './action-icon.types';
|
package/package.json
CHANGED
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
.m_cfeededf {
|
|
2
|
+
--ai-size-xs: calc(1.125rem * var(--c-scale));
|
|
3
|
+
--ai-size-sm: calc(1.375rem * var(--c-scale));
|
|
4
|
+
--ai-size-md: calc(1.75rem * var(--c-scale));
|
|
5
|
+
--ai-size-lg: calc(2.125rem * var(--c-scale));
|
|
6
|
+
--ai-size-xl: calc(2.75rem * var(--c-scale));
|
|
7
|
+
|
|
8
|
+
--ai-size-input-xs: calc(1.875rem * var(--c-scale));
|
|
9
|
+
--ai-size-input-sm: calc(2.25rem * var(--c-scale));
|
|
10
|
+
--ai-size-input-md: calc(2.625rem * var(--c-scale));
|
|
11
|
+
--ai-size-input-lg: calc(3.125rem * var(--c-scale));
|
|
12
|
+
--ai-size-input-xl: calc(3.75rem * var(--c-scale));
|
|
13
|
+
|
|
14
|
+
--ai-size: var(--ai-size-md);
|
|
15
|
+
--ai-color: var(--c-color-white);
|
|
16
|
+
|
|
17
|
+
line-height: 1;
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
position: relative;
|
|
22
|
+
user-select: none;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
|
|
25
|
+
width: var(--ai-size);
|
|
26
|
+
height: var(--ai-size);
|
|
27
|
+
min-width: var(--ai-size);
|
|
28
|
+
min-height: var(--ai-size);
|
|
29
|
+
border-radius: var(--ai-radius, var(--c-radius-default));
|
|
30
|
+
background: var(--ai-bg, var(--c-color-default));
|
|
31
|
+
color: var(--ai-color, var(--c-color-default-color));
|
|
32
|
+
border: var(--ai-bd, calc(0.0625rem * var(--c-scale)) solid var(--c-color-default-color));
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (hover: hover) {
|
|
37
|
+
.m_cfeededf:hover:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
38
|
+
background-color: var(--ai-hover, var(--c-color-default-hover));
|
|
39
|
+
color: var(--ai-hover-color, var(--ai-color));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (hover: none) {
|
|
44
|
+
.m_cfeededf:active:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
45
|
+
background-color: var(--ai-hover, var(--c-color-default-hover));
|
|
46
|
+
color: var(--ai-hover-color, var(--ai-color));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.m_cfeededf[data-loading] {
|
|
51
|
+
cursor: not-allowed;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.m_cfeededf[data-loading] .m_cfea9a76 {
|
|
55
|
+
opacity: 0;
|
|
56
|
+
transform: translateY(100%);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.m_cfeededf:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])) {
|
|
60
|
+
cursor: not-allowed;
|
|
61
|
+
border: calc(0.0625rem * var(--c-scale)) solid transparent;
|
|
62
|
+
color: var(--c-color-disabled-color);
|
|
63
|
+
background: var(--c-color-disabled);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.m_cfeededf:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])):active {
|
|
67
|
+
transform: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.m_856f02d0 {
|
|
71
|
+
inset: calc(-0.0625rem * var(--c-scale));
|
|
72
|
+
position: absolute;
|
|
73
|
+
border-radius: var(--ai-radius, var(--c-radius-default));
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:where([data-c-color-scheme='light']) .m_856f02d0 {
|
|
80
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:where([data-c-color-scheme='dark']) .m_856f02d0 {
|
|
84
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.m_2d535822 {
|
|
88
|
+
--ai-border-width: calc(0.0625rem * var(--c-scale));
|
|
89
|
+
display: flex;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.m_2d535822 :where(*):focus {
|
|
93
|
+
position: relative;
|
|
94
|
+
z-index: 1;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.m_2d535822[data-orientation='horizontal'] {
|
|
98
|
+
flex-direction: row;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):first-child, .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):first-child {
|
|
102
|
+
border-end-end-radius: 0;
|
|
103
|
+
border-start-end-radius: 0;
|
|
104
|
+
border-inline-end-width: calc(var(--ai-border-width) / 2);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):last-child, .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):last-child {
|
|
108
|
+
border-end-start-radius: 0;
|
|
109
|
+
border-start-start-radius: 0;
|
|
110
|
+
border-inline-start-width: calc(var(--ai-border-width) / 2);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):not(:first-child):not(:last-child), .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):not(:first-child):not(:last-child) {
|
|
114
|
+
border-radius: 0;
|
|
115
|
+
border-inline-width: calc(var(--ai-border-width) / 2);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.m_2d535822[data-orientation='vertical'] {
|
|
119
|
+
flex-direction: column;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):first-child, .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):first-child {
|
|
123
|
+
border-end-start-radius: 0;
|
|
124
|
+
border-end-end-radius: 0;
|
|
125
|
+
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):last-child, .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):last-child {
|
|
129
|
+
border-start-start-radius: 0;
|
|
130
|
+
border-start-end-radius: 0;
|
|
131
|
+
border-top-width: calc(var(--ai-border-width) / 2);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):not(:first-child):not(:last-child), .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):not(:first-child):not(:last-child) {
|
|
135
|
+
border-radius: 0;
|
|
136
|
+
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
137
|
+
border-top-width: calc(var(--ai-border-width) / 2);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.m_cfea9a76 {
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
justify-content: center;
|
|
144
|
+
transition:
|
|
145
|
+
transform 150ms ease,
|
|
146
|
+
opacity 100ms ease;
|
|
147
|
+
width: 100%;
|
|
148
|
+
height: 100%;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.m_cb49b463 {
|
|
152
|
+
--section-height-xs: calc(1.125rem * var(--c-scale));
|
|
153
|
+
--section-height-sm: calc(1.375rem * var(--c-scale));
|
|
154
|
+
--section-height-md: calc(1.75rem * var(--c-scale));
|
|
155
|
+
--section-height-lg: calc(2.125rem * var(--c-scale));
|
|
156
|
+
--section-height-xl: calc(2.75rem * var(--c-scale));
|
|
157
|
+
|
|
158
|
+
--section-height-input-xs: calc(1.875rem * var(--c-scale));
|
|
159
|
+
--section-height-input-sm: calc(2.25rem * var(--c-scale));
|
|
160
|
+
--section-height-input-md: calc(2.625rem * var(--c-scale));
|
|
161
|
+
--section-height-input-lg: calc(3.125rem * var(--c-scale));
|
|
162
|
+
--section-height-input-xl: calc(3.75rem * var(--c-scale));
|
|
163
|
+
|
|
164
|
+
--section-padding-x-xs: calc(0.375rem * var(--c-scale));
|
|
165
|
+
--section-padding-x-sm: calc(0.5rem * var(--c-scale));
|
|
166
|
+
--section-padding-x-md: calc(0.625rem * var(--c-scale));
|
|
167
|
+
--section-padding-x-lg: calc(0.75rem * var(--c-scale));
|
|
168
|
+
--section-padding-x-xl: calc(1rem * var(--c-scale));
|
|
169
|
+
|
|
170
|
+
--section-height: var(--section-height-sm);
|
|
171
|
+
--section-padding-x: var(--section-padding-x-sm);
|
|
172
|
+
--section-color: var(--c-color-white);
|
|
173
|
+
|
|
174
|
+
font-weight: var(--c-font-weight-medium);
|
|
175
|
+
width: auto;
|
|
176
|
+
border-radius: var(--section-radius, var(--c-radius-default));
|
|
177
|
+
|
|
178
|
+
font-size: var(--section-fz, var(--c-font-size-sm));
|
|
179
|
+
background: var(--section-bg, var(--c-primary-color-filled));
|
|
180
|
+
border: var(--section-bd, calc(0.0625rem * var(--c-scale)) solid transparent);
|
|
181
|
+
color: var(--section-color, var(--c-color-white));
|
|
182
|
+
height: var(--section-height, var(--section-height-sm));
|
|
183
|
+
padding-inline: var(--section-padding-x, var(--section-padding-x-sm));
|
|
184
|
+
vertical-align: middle;
|
|
185
|
+
line-height: 1;
|
|
186
|
+
display: inline-flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
justify-content: center;
|
|
189
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
@layer cck {.m_cfeededf {
|
|
2
|
+
--ai-size-xs: calc(1.125rem * var(--c-scale));
|
|
3
|
+
--ai-size-sm: calc(1.375rem * var(--c-scale));
|
|
4
|
+
--ai-size-md: calc(1.75rem * var(--c-scale));
|
|
5
|
+
--ai-size-lg: calc(2.125rem * var(--c-scale));
|
|
6
|
+
--ai-size-xl: calc(2.75rem * var(--c-scale));
|
|
7
|
+
|
|
8
|
+
--ai-size-input-xs: calc(1.875rem * var(--c-scale));
|
|
9
|
+
--ai-size-input-sm: calc(2.25rem * var(--c-scale));
|
|
10
|
+
--ai-size-input-md: calc(2.625rem * var(--c-scale));
|
|
11
|
+
--ai-size-input-lg: calc(3.125rem * var(--c-scale));
|
|
12
|
+
--ai-size-input-xl: calc(3.75rem * var(--c-scale));
|
|
13
|
+
|
|
14
|
+
--ai-size: var(--ai-size-md);
|
|
15
|
+
--ai-color: var(--c-color-white);
|
|
16
|
+
|
|
17
|
+
line-height: 1;
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
position: relative;
|
|
22
|
+
user-select: none;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
|
|
25
|
+
width: var(--ai-size);
|
|
26
|
+
height: var(--ai-size);
|
|
27
|
+
min-width: var(--ai-size);
|
|
28
|
+
min-height: var(--ai-size);
|
|
29
|
+
border-radius: var(--ai-radius, var(--c-radius-default));
|
|
30
|
+
background: var(--ai-bg, var(--c-color-default));
|
|
31
|
+
color: var(--ai-color, var(--c-color-default-color));
|
|
32
|
+
border: var(--ai-bd, calc(0.0625rem * var(--c-scale)) solid var(--c-color-default-color));
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (hover: hover) {
|
|
37
|
+
.m_cfeededf:hover:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
38
|
+
background-color: var(--ai-hover, var(--c-color-default-hover));
|
|
39
|
+
color: var(--ai-hover-color, var(--ai-color));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (hover: none) {
|
|
44
|
+
.m_cfeededf:active:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
45
|
+
background-color: var(--ai-hover, var(--c-color-default-hover));
|
|
46
|
+
color: var(--ai-hover-color, var(--ai-color));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.m_cfeededf[data-loading] {
|
|
51
|
+
cursor: not-allowed;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.m_cfeededf[data-loading] .m_cfea9a76 {
|
|
55
|
+
opacity: 0;
|
|
56
|
+
transform: translateY(100%);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.m_cfeededf:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])) {
|
|
60
|
+
cursor: not-allowed;
|
|
61
|
+
border: calc(0.0625rem * var(--c-scale)) solid transparent;
|
|
62
|
+
color: var(--c-color-disabled-color);
|
|
63
|
+
background: var(--c-color-disabled);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.m_cfeededf:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])):active {
|
|
67
|
+
transform: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.m_856f02d0 {
|
|
71
|
+
inset: calc(-0.0625rem * var(--c-scale));
|
|
72
|
+
position: absolute;
|
|
73
|
+
border-radius: var(--ai-radius, var(--c-radius-default));
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:where([data-c-color-scheme='light']) .m_856f02d0 {
|
|
80
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:where([data-c-color-scheme='dark']) .m_856f02d0 {
|
|
84
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.m_2d535822 {
|
|
88
|
+
--ai-border-width: calc(0.0625rem * var(--c-scale));
|
|
89
|
+
display: flex;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.m_2d535822 :where(*):focus {
|
|
93
|
+
position: relative;
|
|
94
|
+
z-index: 1;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.m_2d535822[data-orientation='horizontal'] {
|
|
98
|
+
flex-direction: row;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):first-child, .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):first-child {
|
|
102
|
+
border-end-end-radius: 0;
|
|
103
|
+
border-start-end-radius: 0;
|
|
104
|
+
border-inline-end-width: calc(var(--ai-border-width) / 2);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):last-child, .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):last-child {
|
|
108
|
+
border-end-start-radius: 0;
|
|
109
|
+
border-start-start-radius: 0;
|
|
110
|
+
border-inline-start-width: calc(var(--ai-border-width) / 2);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):not(:first-child):not(:last-child), .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):not(:first-child):not(:last-child) {
|
|
114
|
+
border-radius: 0;
|
|
115
|
+
border-inline-width: calc(var(--ai-border-width) / 2);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.m_2d535822[data-orientation='vertical'] {
|
|
119
|
+
flex-direction: column;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):first-child, .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):first-child {
|
|
123
|
+
border-end-start-radius: 0;
|
|
124
|
+
border-end-end-radius: 0;
|
|
125
|
+
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):last-child, .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):last-child {
|
|
129
|
+
border-start-start-radius: 0;
|
|
130
|
+
border-start-end-radius: 0;
|
|
131
|
+
border-top-width: calc(var(--ai-border-width) / 2);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):not(:first-child):not(:last-child), .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):not(:first-child):not(:last-child) {
|
|
135
|
+
border-radius: 0;
|
|
136
|
+
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
137
|
+
border-top-width: calc(var(--ai-border-width) / 2);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.m_cfea9a76 {
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
justify-content: center;
|
|
144
|
+
transition:
|
|
145
|
+
transform 150ms ease,
|
|
146
|
+
opacity 100ms ease;
|
|
147
|
+
width: 100%;
|
|
148
|
+
height: 100%;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.m_cb49b463 {
|
|
152
|
+
--section-height-xs: calc(1.125rem * var(--c-scale));
|
|
153
|
+
--section-height-sm: calc(1.375rem * var(--c-scale));
|
|
154
|
+
--section-height-md: calc(1.75rem * var(--c-scale));
|
|
155
|
+
--section-height-lg: calc(2.125rem * var(--c-scale));
|
|
156
|
+
--section-height-xl: calc(2.75rem * var(--c-scale));
|
|
157
|
+
|
|
158
|
+
--section-height-input-xs: calc(1.875rem * var(--c-scale));
|
|
159
|
+
--section-height-input-sm: calc(2.25rem * var(--c-scale));
|
|
160
|
+
--section-height-input-md: calc(2.625rem * var(--c-scale));
|
|
161
|
+
--section-height-input-lg: calc(3.125rem * var(--c-scale));
|
|
162
|
+
--section-height-input-xl: calc(3.75rem * var(--c-scale));
|
|
163
|
+
|
|
164
|
+
--section-padding-x-xs: calc(0.375rem * var(--c-scale));
|
|
165
|
+
--section-padding-x-sm: calc(0.5rem * var(--c-scale));
|
|
166
|
+
--section-padding-x-md: calc(0.625rem * var(--c-scale));
|
|
167
|
+
--section-padding-x-lg: calc(0.75rem * var(--c-scale));
|
|
168
|
+
--section-padding-x-xl: calc(1rem * var(--c-scale));
|
|
169
|
+
|
|
170
|
+
--section-height: var(--section-height-sm);
|
|
171
|
+
--section-padding-x: var(--section-padding-x-sm);
|
|
172
|
+
--section-color: var(--c-color-white);
|
|
173
|
+
|
|
174
|
+
font-weight: var(--c-font-weight-medium);
|
|
175
|
+
width: auto;
|
|
176
|
+
border-radius: var(--section-radius, var(--c-radius-default));
|
|
177
|
+
|
|
178
|
+
font-size: var(--section-fz, var(--c-font-size-sm));
|
|
179
|
+
background: var(--section-bg, var(--c-primary-color-filled));
|
|
180
|
+
border: var(--section-bd, calc(0.0625rem * var(--c-scale)) solid transparent);
|
|
181
|
+
color: var(--section-color, var(--c-color-white));
|
|
182
|
+
height: var(--section-height, var(--section-height-sm));
|
|
183
|
+
padding-inline: var(--section-padding-x, var(--section-padding-x-sm));
|
|
184
|
+
vertical-align: middle;
|
|
185
|
+
line-height: 1;
|
|
186
|
+
display: inline-flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
justify-content: center;
|
|
189
|
+
}
|
|
190
|
+
}
|
package/styles.css
CHANGED
|
@@ -882,6 +882,196 @@ fieldset:disabled .c-active:active {
|
|
|
882
882
|
justify-content: center;
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
+
.m_cfeededf {
|
|
886
|
+
--ai-size-xs: calc(1.125rem * var(--c-scale));
|
|
887
|
+
--ai-size-sm: calc(1.375rem * var(--c-scale));
|
|
888
|
+
--ai-size-md: calc(1.75rem * var(--c-scale));
|
|
889
|
+
--ai-size-lg: calc(2.125rem * var(--c-scale));
|
|
890
|
+
--ai-size-xl: calc(2.75rem * var(--c-scale));
|
|
891
|
+
|
|
892
|
+
--ai-size-input-xs: calc(1.875rem * var(--c-scale));
|
|
893
|
+
--ai-size-input-sm: calc(2.25rem * var(--c-scale));
|
|
894
|
+
--ai-size-input-md: calc(2.625rem * var(--c-scale));
|
|
895
|
+
--ai-size-input-lg: calc(3.125rem * var(--c-scale));
|
|
896
|
+
--ai-size-input-xl: calc(3.75rem * var(--c-scale));
|
|
897
|
+
|
|
898
|
+
--ai-size: var(--ai-size-md);
|
|
899
|
+
--ai-color: var(--c-color-white);
|
|
900
|
+
|
|
901
|
+
line-height: 1;
|
|
902
|
+
display: inline-flex;
|
|
903
|
+
align-items: center;
|
|
904
|
+
justify-content: center;
|
|
905
|
+
position: relative;
|
|
906
|
+
user-select: none;
|
|
907
|
+
overflow: hidden;
|
|
908
|
+
|
|
909
|
+
width: var(--ai-size);
|
|
910
|
+
height: var(--ai-size);
|
|
911
|
+
min-width: var(--ai-size);
|
|
912
|
+
min-height: var(--ai-size);
|
|
913
|
+
border-radius: var(--ai-radius, var(--c-radius-default));
|
|
914
|
+
background: var(--ai-bg, var(--c-color-default));
|
|
915
|
+
color: var(--ai-color, var(--c-color-default-color));
|
|
916
|
+
border: var(--ai-bd, calc(0.0625rem * var(--c-scale)) solid var(--c-color-default-color));
|
|
917
|
+
cursor: pointer;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
@media (hover: hover) {
|
|
921
|
+
.m_cfeededf:hover:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
922
|
+
background-color: var(--ai-hover, var(--c-color-default-hover));
|
|
923
|
+
color: var(--ai-hover-color, var(--ai-color));
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
@media (hover: none) {
|
|
928
|
+
.m_cfeededf:active:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
929
|
+
background-color: var(--ai-hover, var(--c-color-default-hover));
|
|
930
|
+
color: var(--ai-hover-color, var(--ai-color));
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
.m_cfeededf[data-loading] {
|
|
935
|
+
cursor: not-allowed;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.m_cfeededf[data-loading] .m_cfea9a76 {
|
|
939
|
+
opacity: 0;
|
|
940
|
+
transform: translateY(100%);
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.m_cfeededf:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])) {
|
|
944
|
+
cursor: not-allowed;
|
|
945
|
+
border: calc(0.0625rem * var(--c-scale)) solid transparent;
|
|
946
|
+
color: var(--c-color-disabled-color);
|
|
947
|
+
background: var(--c-color-disabled);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
.m_cfeededf:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])):active {
|
|
951
|
+
transform: none;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.m_856f02d0 {
|
|
955
|
+
inset: calc(-0.0625rem * var(--c-scale));
|
|
956
|
+
position: absolute;
|
|
957
|
+
border-radius: var(--ai-radius, var(--c-radius-default));
|
|
958
|
+
display: flex;
|
|
959
|
+
align-items: center;
|
|
960
|
+
justify-content: center;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
:where([data-c-color-scheme='light']) .m_856f02d0 {
|
|
964
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
:where([data-c-color-scheme='dark']) .m_856f02d0 {
|
|
968
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
.m_2d535822 {
|
|
972
|
+
--ai-border-width: calc(0.0625rem * var(--c-scale));
|
|
973
|
+
display: flex;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
.m_2d535822 :where(*):focus {
|
|
977
|
+
position: relative;
|
|
978
|
+
z-index: 1;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.m_2d535822[data-orientation='horizontal'] {
|
|
982
|
+
flex-direction: row;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):first-child, .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):first-child {
|
|
986
|
+
border-end-end-radius: 0;
|
|
987
|
+
border-start-end-radius: 0;
|
|
988
|
+
border-inline-end-width: calc(var(--ai-border-width) / 2);
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):last-child, .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):last-child {
|
|
992
|
+
border-end-start-radius: 0;
|
|
993
|
+
border-start-start-radius: 0;
|
|
994
|
+
border-inline-start-width: calc(var(--ai-border-width) / 2);
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):not(:first-child):not(:last-child), .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):not(:first-child):not(:last-child) {
|
|
998
|
+
border-radius: 0;
|
|
999
|
+
border-inline-width: calc(var(--ai-border-width) / 2);
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
.m_2d535822[data-orientation='vertical'] {
|
|
1003
|
+
flex-direction: column;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):first-child, .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):first-child {
|
|
1007
|
+
border-end-start-radius: 0;
|
|
1008
|
+
border-end-end-radius: 0;
|
|
1009
|
+
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):last-child, .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):last-child {
|
|
1013
|
+
border-start-start-radius: 0;
|
|
1014
|
+
border-start-end-radius: 0;
|
|
1015
|
+
border-top-width: calc(var(--ai-border-width) / 2);
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):not(:first-child):not(:last-child), .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):not(:first-child):not(:last-child) {
|
|
1019
|
+
border-radius: 0;
|
|
1020
|
+
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
1021
|
+
border-top-width: calc(var(--ai-border-width) / 2);
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
.m_cfea9a76 {
|
|
1025
|
+
display: flex;
|
|
1026
|
+
align-items: center;
|
|
1027
|
+
justify-content: center;
|
|
1028
|
+
transition:
|
|
1029
|
+
transform 150ms ease,
|
|
1030
|
+
opacity 100ms ease;
|
|
1031
|
+
width: 100%;
|
|
1032
|
+
height: 100%;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
.m_cb49b463 {
|
|
1036
|
+
--section-height-xs: calc(1.125rem * var(--c-scale));
|
|
1037
|
+
--section-height-sm: calc(1.375rem * var(--c-scale));
|
|
1038
|
+
--section-height-md: calc(1.75rem * var(--c-scale));
|
|
1039
|
+
--section-height-lg: calc(2.125rem * var(--c-scale));
|
|
1040
|
+
--section-height-xl: calc(2.75rem * var(--c-scale));
|
|
1041
|
+
|
|
1042
|
+
--section-height-input-xs: calc(1.875rem * var(--c-scale));
|
|
1043
|
+
--section-height-input-sm: calc(2.25rem * var(--c-scale));
|
|
1044
|
+
--section-height-input-md: calc(2.625rem * var(--c-scale));
|
|
1045
|
+
--section-height-input-lg: calc(3.125rem * var(--c-scale));
|
|
1046
|
+
--section-height-input-xl: calc(3.75rem * var(--c-scale));
|
|
1047
|
+
|
|
1048
|
+
--section-padding-x-xs: calc(0.375rem * var(--c-scale));
|
|
1049
|
+
--section-padding-x-sm: calc(0.5rem * var(--c-scale));
|
|
1050
|
+
--section-padding-x-md: calc(0.625rem * var(--c-scale));
|
|
1051
|
+
--section-padding-x-lg: calc(0.75rem * var(--c-scale));
|
|
1052
|
+
--section-padding-x-xl: calc(1rem * var(--c-scale));
|
|
1053
|
+
|
|
1054
|
+
--section-height: var(--section-height-sm);
|
|
1055
|
+
--section-padding-x: var(--section-padding-x-sm);
|
|
1056
|
+
--section-color: var(--c-color-white);
|
|
1057
|
+
|
|
1058
|
+
font-weight: var(--c-font-weight-medium);
|
|
1059
|
+
width: auto;
|
|
1060
|
+
border-radius: var(--section-radius, var(--c-radius-default));
|
|
1061
|
+
|
|
1062
|
+
font-size: var(--section-fz, var(--c-font-size-sm));
|
|
1063
|
+
background: var(--section-bg, var(--c-primary-color-filled));
|
|
1064
|
+
border: var(--section-bd, calc(0.0625rem * var(--c-scale)) solid transparent);
|
|
1065
|
+
color: var(--section-color, var(--c-color-white));
|
|
1066
|
+
height: var(--section-height, var(--section-height-sm));
|
|
1067
|
+
padding-inline: var(--section-padding-x, var(--section-padding-x-sm));
|
|
1068
|
+
vertical-align: middle;
|
|
1069
|
+
line-height: 1;
|
|
1070
|
+
display: inline-flex;
|
|
1071
|
+
align-items: center;
|
|
1072
|
+
justify-content: center;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
885
1075
|
.m_efb192b3 {
|
|
886
1076
|
--alert-radius: var(--c-radius-default);
|
|
887
1077
|
--alert-bg: var(--c-primary-color-light);
|
package/styles.layer.css
CHANGED
|
@@ -882,6 +882,196 @@ fieldset:disabled .c-active:active {
|
|
|
882
882
|
justify-content: center;
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
+
.m_cfeededf {
|
|
886
|
+
--ai-size-xs: calc(1.125rem * var(--c-scale));
|
|
887
|
+
--ai-size-sm: calc(1.375rem * var(--c-scale));
|
|
888
|
+
--ai-size-md: calc(1.75rem * var(--c-scale));
|
|
889
|
+
--ai-size-lg: calc(2.125rem * var(--c-scale));
|
|
890
|
+
--ai-size-xl: calc(2.75rem * var(--c-scale));
|
|
891
|
+
|
|
892
|
+
--ai-size-input-xs: calc(1.875rem * var(--c-scale));
|
|
893
|
+
--ai-size-input-sm: calc(2.25rem * var(--c-scale));
|
|
894
|
+
--ai-size-input-md: calc(2.625rem * var(--c-scale));
|
|
895
|
+
--ai-size-input-lg: calc(3.125rem * var(--c-scale));
|
|
896
|
+
--ai-size-input-xl: calc(3.75rem * var(--c-scale));
|
|
897
|
+
|
|
898
|
+
--ai-size: var(--ai-size-md);
|
|
899
|
+
--ai-color: var(--c-color-white);
|
|
900
|
+
|
|
901
|
+
line-height: 1;
|
|
902
|
+
display: inline-flex;
|
|
903
|
+
align-items: center;
|
|
904
|
+
justify-content: center;
|
|
905
|
+
position: relative;
|
|
906
|
+
user-select: none;
|
|
907
|
+
overflow: hidden;
|
|
908
|
+
|
|
909
|
+
width: var(--ai-size);
|
|
910
|
+
height: var(--ai-size);
|
|
911
|
+
min-width: var(--ai-size);
|
|
912
|
+
min-height: var(--ai-size);
|
|
913
|
+
border-radius: var(--ai-radius, var(--c-radius-default));
|
|
914
|
+
background: var(--ai-bg, var(--c-color-default));
|
|
915
|
+
color: var(--ai-color, var(--c-color-default-color));
|
|
916
|
+
border: var(--ai-bd, calc(0.0625rem * var(--c-scale)) solid var(--c-color-default-color));
|
|
917
|
+
cursor: pointer;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
@media (hover: hover) {
|
|
921
|
+
.m_cfeededf:hover:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
922
|
+
background-color: var(--ai-hover, var(--c-color-default-hover));
|
|
923
|
+
color: var(--ai-hover-color, var(--ai-color));
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
@media (hover: none) {
|
|
928
|
+
.m_cfeededf:active:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
929
|
+
background-color: var(--ai-hover, var(--c-color-default-hover));
|
|
930
|
+
color: var(--ai-hover-color, var(--ai-color));
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
.m_cfeededf[data-loading] {
|
|
935
|
+
cursor: not-allowed;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.m_cfeededf[data-loading] .m_cfea9a76 {
|
|
939
|
+
opacity: 0;
|
|
940
|
+
transform: translateY(100%);
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.m_cfeededf:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])) {
|
|
944
|
+
cursor: not-allowed;
|
|
945
|
+
border: calc(0.0625rem * var(--c-scale)) solid transparent;
|
|
946
|
+
color: var(--c-color-disabled-color);
|
|
947
|
+
background: var(--c-color-disabled);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
.m_cfeededf:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])):active {
|
|
951
|
+
transform: none;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.m_856f02d0 {
|
|
955
|
+
inset: calc(-0.0625rem * var(--c-scale));
|
|
956
|
+
position: absolute;
|
|
957
|
+
border-radius: var(--ai-radius, var(--c-radius-default));
|
|
958
|
+
display: flex;
|
|
959
|
+
align-items: center;
|
|
960
|
+
justify-content: center;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
:where([data-c-color-scheme='light']) .m_856f02d0 {
|
|
964
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
:where([data-c-color-scheme='dark']) .m_856f02d0 {
|
|
968
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
.m_2d535822 {
|
|
972
|
+
--ai-border-width: calc(0.0625rem * var(--c-scale));
|
|
973
|
+
display: flex;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
.m_2d535822 :where(*):focus {
|
|
977
|
+
position: relative;
|
|
978
|
+
z-index: 1;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.m_2d535822[data-orientation='horizontal'] {
|
|
982
|
+
flex-direction: row;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):first-child, .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):first-child {
|
|
986
|
+
border-end-end-radius: 0;
|
|
987
|
+
border-start-end-radius: 0;
|
|
988
|
+
border-inline-end-width: calc(var(--ai-border-width) / 2);
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):last-child, .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):last-child {
|
|
992
|
+
border-end-start-radius: 0;
|
|
993
|
+
border-start-start-radius: 0;
|
|
994
|
+
border-inline-start-width: calc(var(--ai-border-width) / 2);
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):not(:first-child):not(:last-child), .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):not(:first-child):not(:last-child) {
|
|
998
|
+
border-radius: 0;
|
|
999
|
+
border-inline-width: calc(var(--ai-border-width) / 2);
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
.m_2d535822[data-orientation='vertical'] {
|
|
1003
|
+
flex-direction: column;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):first-child, .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):first-child {
|
|
1007
|
+
border-end-start-radius: 0;
|
|
1008
|
+
border-end-end-radius: 0;
|
|
1009
|
+
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):last-child, .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):last-child {
|
|
1013
|
+
border-start-start-radius: 0;
|
|
1014
|
+
border-start-end-radius: 0;
|
|
1015
|
+
border-top-width: calc(var(--ai-border-width) / 2);
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):not(:first-child):not(:last-child), .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):not(:first-child):not(:last-child) {
|
|
1019
|
+
border-radius: 0;
|
|
1020
|
+
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
1021
|
+
border-top-width: calc(var(--ai-border-width) / 2);
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
.m_cfea9a76 {
|
|
1025
|
+
display: flex;
|
|
1026
|
+
align-items: center;
|
|
1027
|
+
justify-content: center;
|
|
1028
|
+
transition:
|
|
1029
|
+
transform 150ms ease,
|
|
1030
|
+
opacity 100ms ease;
|
|
1031
|
+
width: 100%;
|
|
1032
|
+
height: 100%;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
.m_cb49b463 {
|
|
1036
|
+
--section-height-xs: calc(1.125rem * var(--c-scale));
|
|
1037
|
+
--section-height-sm: calc(1.375rem * var(--c-scale));
|
|
1038
|
+
--section-height-md: calc(1.75rem * var(--c-scale));
|
|
1039
|
+
--section-height-lg: calc(2.125rem * var(--c-scale));
|
|
1040
|
+
--section-height-xl: calc(2.75rem * var(--c-scale));
|
|
1041
|
+
|
|
1042
|
+
--section-height-input-xs: calc(1.875rem * var(--c-scale));
|
|
1043
|
+
--section-height-input-sm: calc(2.25rem * var(--c-scale));
|
|
1044
|
+
--section-height-input-md: calc(2.625rem * var(--c-scale));
|
|
1045
|
+
--section-height-input-lg: calc(3.125rem * var(--c-scale));
|
|
1046
|
+
--section-height-input-xl: calc(3.75rem * var(--c-scale));
|
|
1047
|
+
|
|
1048
|
+
--section-padding-x-xs: calc(0.375rem * var(--c-scale));
|
|
1049
|
+
--section-padding-x-sm: calc(0.5rem * var(--c-scale));
|
|
1050
|
+
--section-padding-x-md: calc(0.625rem * var(--c-scale));
|
|
1051
|
+
--section-padding-x-lg: calc(0.75rem * var(--c-scale));
|
|
1052
|
+
--section-padding-x-xl: calc(1rem * var(--c-scale));
|
|
1053
|
+
|
|
1054
|
+
--section-height: var(--section-height-sm);
|
|
1055
|
+
--section-padding-x: var(--section-padding-x-sm);
|
|
1056
|
+
--section-color: var(--c-color-white);
|
|
1057
|
+
|
|
1058
|
+
font-weight: var(--c-font-weight-medium);
|
|
1059
|
+
width: auto;
|
|
1060
|
+
border-radius: var(--section-radius, var(--c-radius-default));
|
|
1061
|
+
|
|
1062
|
+
font-size: var(--section-fz, var(--c-font-size-sm));
|
|
1063
|
+
background: var(--section-bg, var(--c-primary-color-filled));
|
|
1064
|
+
border: var(--section-bd, calc(0.0625rem * var(--c-scale)) solid transparent);
|
|
1065
|
+
color: var(--section-color, var(--c-color-white));
|
|
1066
|
+
height: var(--section-height, var(--section-height-sm));
|
|
1067
|
+
padding-inline: var(--section-padding-x, var(--section-padding-x-sm));
|
|
1068
|
+
vertical-align: middle;
|
|
1069
|
+
line-height: 1;
|
|
1070
|
+
display: inline-flex;
|
|
1071
|
+
align-items: center;
|
|
1072
|
+
justify-content: center;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
885
1075
|
.m_efb192b3 {
|
|
886
1076
|
--alert-radius: var(--c-radius-default);
|
|
887
1077
|
--alert-bg: var(--c-primary-color-light);
|