@flux-ui/components 3.0.0-next.10 → 3.0.0-next.12
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/component/FluxPagination.vue.d.ts.map +1 -1
- package/dist/component/FluxPaginationBar.vue.d.ts.map +1 -1
- package/dist/component/FluxTabBar.vue.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1887 -1877
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/component/FluxGallery.vue +2 -2
- package/src/component/FluxPagination.vue +0 -3
- package/src/component/FluxPaginationBar.vue +0 -3
- package/src/component/FluxTabBar.vue +21 -16
- package/src/css/base.scss +5 -3
- package/src/css/component/Action.module.scss +10 -11
- package/src/css/component/Avatar.module.scss +14 -14
- package/src/css/component/Badge.module.scss +14 -14
- package/src/css/component/Button.module.scss +27 -40
- package/src/css/component/Calendar.module.scss +7 -7
- package/src/css/component/Chip.module.scss +9 -19
- package/src/css/component/Color.module.scss +4 -4
- package/src/css/component/Comment.module.scss +15 -14
- package/src/css/component/DatePicker.module.scss +12 -23
- package/src/css/component/Divider.module.scss +2 -2
- package/src/css/component/DropZone.module.scss +28 -26
- package/src/css/component/Expandable.module.scss +4 -4
- package/src/css/component/Filter.module.scss +3 -3
- package/src/css/component/Form.module.scss +33 -33
- package/src/css/component/Gallery.module.scss +13 -3
- package/src/css/component/Icon.module.scss +11 -11
- package/src/css/component/Info.module.scss +1 -1
- package/src/css/component/Menu.module.scss +20 -32
- package/src/css/component/Notice.module.scss +43 -43
- package/src/css/component/Overlay.module.scss +3 -3
- package/src/css/component/Pagination.module.scss +11 -6
- package/src/css/component/Pane.module.scss +7 -7
- package/src/css/component/Placeholder.module.scss +4 -4
- package/src/css/component/Progress.module.scss +4 -4
- package/src/css/component/Remove.module.scss +4 -4
- package/src/css/component/SegmentedControl.module.scss +6 -6
- package/src/css/component/Snackbar.module.scss +19 -14
- package/src/css/component/Spinner.module.scss +2 -2
- package/src/css/component/Statistic.module.scss +19 -17
- package/src/css/component/Stepper.module.scss +9 -9
- package/src/css/component/Tab.module.scss +8 -7
- package/src/css/component/Table.module.scss +10 -22
- package/src/css/component/Timeline.module.scss +14 -18
- package/src/css/component/Toolbar.module.scss +6 -2
- package/src/css/component/Tooltip.module.scss +2 -2
- package/src/css/component/Transition.module.scss +1 -1
- package/src/css/component/Visual.module.scss +3 -3
- package/src/css/component/base/Pane.module.scss +3 -7
- package/src/css/component/primitive/CoordinatePicker.module.scss +2 -2
- package/src/css/component/primitive/Slider.module.scss +9 -14
- package/src/css/mixin/focus-ring.scss +2 -2
- package/src/css/typography.scss +3 -3
- package/src/css/variables.scss +173 -186
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flux-ui/components",
|
|
3
3
|
"description": "A set of opiniated UI components.",
|
|
4
|
-
"version": "3.0.0-next.
|
|
4
|
+
"version": "3.0.0-next.12",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/basmilius",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"typings": "./dist/index.d.ts",
|
|
52
52
|
"sideEffects": false,
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@basmilius/utils": "^2.4.
|
|
55
|
-
"@flux-ui/internals": "3.0.0-next.
|
|
56
|
-
"@flux-ui/types": "3.0.0-next.
|
|
54
|
+
"@basmilius/utils": "^2.4.1",
|
|
55
|
+
"@flux-ui/internals": "3.0.0-next.12",
|
|
56
|
+
"@flux-ui/types": "3.0.0-next.12",
|
|
57
57
|
"@fortawesome/fontawesome-common-types": "^6.7.2",
|
|
58
58
|
"clsx": "^2.1.1",
|
|
59
59
|
"imask": "^7.6.1",
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"vue": "^3.5.17"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@basmilius/vite-preset": "^2.4.
|
|
65
|
+
"@basmilius/vite-preset": "^2.4.1",
|
|
66
66
|
"@types/lodash-es": "^4.17.12",
|
|
67
67
|
"@types/luxon": "^3.6.2",
|
|
68
|
-
"@types/node": "^24.0.
|
|
68
|
+
"@types/node": "^24.0.7",
|
|
69
69
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
70
70
|
"pinia": "^3.0.3",
|
|
71
71
|
"sass-embedded": "^1.89.2",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<FluxDropZone
|
|
3
|
+
:class="$style.gallery"
|
|
3
4
|
accept="image/*"
|
|
4
5
|
:disabled="!isEditable"
|
|
5
|
-
:is-empty="items && items.length === 0"
|
|
6
6
|
is-multiple
|
|
7
7
|
placeholder-icon="image"
|
|
8
8
|
:placeholder-button="translate('flux.galleryPlaceholderButton')"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
@select-multiple="onFilesSelected">
|
|
12
12
|
<template #default="{showPicker}">
|
|
13
13
|
<TransitionGroup
|
|
14
|
-
:class="$style.
|
|
14
|
+
:class="$style.galleryGrid"
|
|
15
15
|
:move-class="$style.galleryMove"
|
|
16
16
|
tag="div">
|
|
17
17
|
<template
|
|
@@ -59,10 +59,7 @@
|
|
|
59
59
|
import { computed, unref } from 'vue';
|
|
60
60
|
import { useTranslate } from '$flux/composable/private';
|
|
61
61
|
import { showPrompt } from '$flux/data';
|
|
62
|
-
import FluxButton from './FluxButton.vue';
|
|
63
|
-
import FluxButtonGroup from './FluxButtonGroup.vue';
|
|
64
62
|
import FluxPaginationButton from './FluxPaginationButton.vue';
|
|
65
|
-
import FluxPrimaryButton from './FluxPrimaryButton.vue';
|
|
66
63
|
import $style from '$flux/css/component/Pagination.module.scss';
|
|
67
64
|
|
|
68
65
|
const emit = defineEmits<{
|
|
@@ -35,12 +35,9 @@
|
|
|
35
35
|
import type { FluxFormSelectOption } from '@flux-ui/types';
|
|
36
36
|
import { computed, ref, watch } from 'vue';
|
|
37
37
|
import { useTranslate } from '$flux/composable/private';
|
|
38
|
-
import FluxFormInputAddition from './FluxFormInputAddition.vue';
|
|
39
|
-
import FluxFormInputGroup from './FluxFormInputGroup.vue';
|
|
40
38
|
import FluxFormSelect from './FluxFormSelect.vue';
|
|
41
39
|
import FluxPagination from './FluxPagination.vue';
|
|
42
40
|
import FluxSpacer from './FluxSpacer.vue';
|
|
43
|
-
import FluxStack from './FluxStack.vue';
|
|
44
41
|
import $style from '$flux/css/component/Pagination.module.scss';
|
|
45
42
|
|
|
46
43
|
const emit = defineEmits<{
|
|
@@ -3,14 +3,16 @@
|
|
|
3
3
|
:class="$style.tabBar"
|
|
4
4
|
role="tablist"
|
|
5
5
|
aria-orientation="horizontal">
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
<FluxFadeTransition>
|
|
7
|
+
<button
|
|
8
|
+
v-if="isStartArrowVisible"
|
|
9
|
+
:class="$style.tabBarArrowStart"
|
|
10
|
+
tabindex="-1"
|
|
11
|
+
type="button"
|
|
12
|
+
@click="scrollToStart">
|
|
13
|
+
<FluxIcon name="angle-left"/>
|
|
14
|
+
</button>
|
|
15
|
+
</FluxFadeTransition>
|
|
14
16
|
|
|
15
17
|
<div
|
|
16
18
|
ref="tabBar"
|
|
@@ -22,14 +24,16 @@
|
|
|
22
24
|
<slot/>
|
|
23
25
|
</div>
|
|
24
26
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
<FluxFadeTransition>
|
|
28
|
+
<button
|
|
29
|
+
v-if="isEndArrowVisible"
|
|
30
|
+
:class="$style.tabBarArrowEnd"
|
|
31
|
+
tabindex="-1"
|
|
32
|
+
type="button"
|
|
33
|
+
@click="scrollToEnd">
|
|
34
|
+
<FluxIcon name="angle-right"/>
|
|
35
|
+
</button>
|
|
36
|
+
</FluxFadeTransition>
|
|
33
37
|
</nav>
|
|
34
38
|
</template>
|
|
35
39
|
|
|
@@ -39,6 +43,7 @@
|
|
|
39
43
|
import { unrefTemplateElement, useEventListener, useMutationObserver } from '@flux-ui/internals';
|
|
40
44
|
import { clsx } from 'clsx';
|
|
41
45
|
import { onMounted, ref, useTemplateRef } from 'vue';
|
|
46
|
+
import { FluxFadeTransition } from '$flux/transition';
|
|
42
47
|
import FluxIcon from './FluxIcon.vue';
|
|
43
48
|
import $style from '$flux/css/component/Tab.module.scss';
|
|
44
49
|
|
package/src/css/base.scss
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
@use 'variables';
|
|
2
2
|
|
|
3
3
|
@layer flux-base {
|
|
4
|
-
:root
|
|
4
|
+
:root {
|
|
5
5
|
@include variables.animation;
|
|
6
|
+
@include variables.defaults;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:root, [light] {
|
|
6
10
|
@include variables.color-light;
|
|
7
|
-
@include variables.default-light;
|
|
8
11
|
@include variables.shadow-light;
|
|
9
12
|
}
|
|
10
13
|
|
|
11
14
|
[dark] {
|
|
12
15
|
@include variables.color-dark;
|
|
13
|
-
@include variables.default-dark;
|
|
14
16
|
@include variables.shadow-dark;
|
|
15
17
|
}
|
|
16
18
|
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
padding-left: 6px;
|
|
9
9
|
padding-right: 6px;
|
|
10
10
|
border: 0;
|
|
11
|
-
border-radius:
|
|
11
|
+
border-radius: var(--radius);
|
|
12
12
|
box-shadow: none;
|
|
13
13
|
|
|
14
14
|
@include mixin.hover {
|
|
15
|
-
background:
|
|
15
|
+
background: var(--gray-2);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
&:active {
|
|
19
|
-
background:
|
|
19
|
+
background: var(--gray-3);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.spinner {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.action.isDestructive .actionIcon {
|
|
35
|
-
color:
|
|
35
|
+
color: var(--danger-7);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.actionLabel {
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
|
|
59
59
|
.basePaneStructure > .actionBar {
|
|
60
60
|
padding: 15px 21px;
|
|
61
|
-
background:
|
|
62
|
-
border: 1px solid
|
|
61
|
+
background: var(--gray-1);
|
|
62
|
+
border: 1px solid var(--gray-2);
|
|
63
63
|
border-left: 0;
|
|
64
64
|
border-right: 0;
|
|
65
65
|
|
|
@@ -95,14 +95,13 @@
|
|
|
95
95
|
@container actionPane (max-width: 540px) {
|
|
96
96
|
grid-template-columns: 1fr;
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
.paneBody + .paneBody {
|
|
100
|
-
padding-top: 21px;
|
|
101
|
-
}
|
|
102
98
|
}
|
|
103
99
|
|
|
104
100
|
.actionPaneBody {
|
|
105
101
|
position: relative;
|
|
106
|
-
padding: 0;
|
|
107
102
|
text-wrap: pretty;
|
|
103
|
+
|
|
104
|
+
&:local(.paneBody) {
|
|
105
|
+
padding: 0;
|
|
106
|
+
}
|
|
108
107
|
}
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
display: block;
|
|
15
15
|
height: inherit;
|
|
16
16
|
width: inherit;
|
|
17
|
-
background:
|
|
17
|
+
background: var(--gray-1);
|
|
18
18
|
border-radius: inherit;
|
|
19
|
-
box-shadow: inset 0 0 0 1px
|
|
19
|
+
box-shadow: inset 0 0 0 1px var(--gray-2);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.avatarFallback {
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
.avatarFallbackColorized {
|
|
42
42
|
composes: avatarFallback;
|
|
43
43
|
|
|
44
|
-
background: color-mix(in srgb, var(--color),
|
|
44
|
+
background: color-mix(in srgb, var(--color), var(--gray-0) 80%);
|
|
45
45
|
color: var(--color);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
[dark] .avatarFallbackColorized {
|
|
49
|
-
background: color-mix(in srgb, var(--color),
|
|
49
|
+
background: color-mix(in srgb, var(--color), var(--gray-0) 70%);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.avatarFallbackNeutral {
|
|
53
53
|
composes: avatarFallback;
|
|
54
54
|
|
|
55
|
-
background:
|
|
55
|
+
background: var(--gray-2);
|
|
56
56
|
color: var(--foreground-secondary);
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
inset: 0;
|
|
63
63
|
align-items: center;
|
|
64
64
|
justify-content: center;
|
|
65
|
-
background:
|
|
66
|
-
box-shadow: inset 0 0 0 1px
|
|
65
|
+
background: oklch(from var(--gray-1) l c h / .84);
|
|
66
|
+
box-shadow: inset 0 0 0 1px var(--gray-2);
|
|
67
67
|
border-radius: inherit;
|
|
68
68
|
backdrop-filter: blur(3px) saturate(180%);
|
|
69
69
|
|
|
@@ -86,37 +86,37 @@
|
|
|
86
86
|
.avatarStatusGray {
|
|
87
87
|
composes: avatarStatus;
|
|
88
88
|
|
|
89
|
-
background:
|
|
89
|
+
background: var(--gray-6);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.avatarStatusPrimary {
|
|
93
93
|
composes: avatarStatus;
|
|
94
94
|
|
|
95
|
-
background:
|
|
95
|
+
background: var(--primary-7);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.avatarStatusDanger {
|
|
99
99
|
composes: avatarStatus;
|
|
100
100
|
|
|
101
|
-
background:
|
|
101
|
+
background: var(--danger-7);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.avatarStatusInfo {
|
|
105
105
|
composes: avatarStatus;
|
|
106
106
|
|
|
107
|
-
background:
|
|
107
|
+
background: var(--info-7);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.avatarStatusSuccess {
|
|
111
111
|
composes: avatarStatus;
|
|
112
112
|
|
|
113
|
-
background:
|
|
113
|
+
background: var(--success-7);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.avatarStatusWarning {
|
|
117
117
|
composes: avatarStatus;
|
|
118
118
|
|
|
119
|
-
background:
|
|
119
|
+
background: var(--warning-7);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.avatarClickable {
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
@include mixin.focus-ring(2px);
|
|
155
155
|
|
|
156
156
|
@include mixin.hover {
|
|
157
|
-
background:
|
|
157
|
+
background: var(--gray-2);
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
padding-right: 9px;
|
|
11
11
|
align-items: center;
|
|
12
12
|
gap: 6px;
|
|
13
|
-
background:
|
|
14
|
-
border: 1px solid
|
|
13
|
+
background: var(--gray-0);
|
|
14
|
+
border: 1px solid var(--gray-2);
|
|
15
15
|
border-radius: 99px;
|
|
16
16
|
color: var(--foreground-prominent);
|
|
17
17
|
font-size: 13px;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
transition: background 180ms var(--swift-out);
|
|
25
25
|
|
|
26
26
|
@include mixin.hover {
|
|
27
|
-
background:
|
|
27
|
+
background: var(--gray-1);
|
|
28
28
|
color: var(--foreground-prominent);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
cursor: pointer;
|
|
50
50
|
|
|
51
51
|
@include mixin.hover {
|
|
52
|
-
background:
|
|
52
|
+
background: var(--gray-2);
|
|
53
53
|
color: var(--foreground);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&:active {
|
|
57
|
-
background:
|
|
57
|
+
background: var(--gray-3);
|
|
58
58
|
color: var(--foreground);
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -91,52 +91,52 @@
|
|
|
91
91
|
.badgeGray {
|
|
92
92
|
composes: badge;
|
|
93
93
|
|
|
94
|
-
--color:
|
|
94
|
+
--color: var(--gray-8);
|
|
95
95
|
|
|
96
96
|
.badgeLabel {
|
|
97
97
|
color: var(--foreground-prominent);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.spinner {
|
|
101
|
-
--value:
|
|
101
|
+
--value: var(--primary-7);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.badgePrimary {
|
|
106
106
|
composes: badge;
|
|
107
107
|
|
|
108
|
-
--color:
|
|
108
|
+
--color: var(--primary-7);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.badgeDanger {
|
|
112
112
|
composes: badge;
|
|
113
113
|
|
|
114
|
-
--color:
|
|
114
|
+
--color: var(--danger-7);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.badgeInfo {
|
|
118
118
|
composes: badge;
|
|
119
119
|
|
|
120
|
-
--color:
|
|
120
|
+
--color: var(--info-7);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.badgeSuccess {
|
|
124
124
|
composes: badge;
|
|
125
125
|
|
|
126
|
-
--color:
|
|
126
|
+
--color: var(--success-7);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.badgeWarning {
|
|
130
130
|
composes: badge;
|
|
131
131
|
|
|
132
|
-
--color:
|
|
132
|
+
--color: var(--warning-7);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.tag {
|
|
136
136
|
composes: badge;
|
|
137
137
|
|
|
138
|
-
background:
|
|
139
|
-
border-color:
|
|
138
|
+
background: var(--gray-1);
|
|
139
|
+
border-color: var(--gray-2);
|
|
140
140
|
border-radius: calc(var(--radius) / 2);
|
|
141
141
|
font-weight: 400;
|
|
142
142
|
}
|
|
@@ -3,30 +3,31 @@
|
|
|
3
3
|
.primaryButton {
|
|
4
4
|
composes: button from './base/Button.module.scss';
|
|
5
5
|
|
|
6
|
-
background:
|
|
7
|
-
border-color:
|
|
8
|
-
box-shadow: 0 1px 1px
|
|
9
|
-
color:
|
|
6
|
+
background: var(--primary-7);
|
|
7
|
+
border-color: var(--primary-8);
|
|
8
|
+
box-shadow: 0 1px 1px oklch(from var(--primary-7) l c h / .25);
|
|
9
|
+
color: var(--primary-0);
|
|
10
10
|
|
|
11
11
|
@include mixin.hover {
|
|
12
|
-
background:
|
|
12
|
+
background: var(--primary-8);
|
|
13
|
+
border-color: var(--primary-9);
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
&:active {
|
|
16
|
-
background:
|
|
17
|
+
background: var(--primary-9);
|
|
17
18
|
scale: .9875;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
.spinner {
|
|
21
|
-
--track:
|
|
22
|
-
--value:
|
|
22
|
+
--track: var(--primary-8);
|
|
23
|
+
--value: var(--primary-0);
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
.primaryButtonIcon {
|
|
27
28
|
composes: buttonIcon from './base/Button.module.scss';
|
|
28
29
|
|
|
29
|
-
color:
|
|
30
|
+
color: var(--primary-0);
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
.primaryButtonLabel {
|
|
@@ -36,17 +37,17 @@
|
|
|
36
37
|
.secondaryButton {
|
|
37
38
|
composes: button from './base/Button.module.scss';
|
|
38
39
|
|
|
39
|
-
background:
|
|
40
|
-
border-color:
|
|
40
|
+
background: var(--gray-0);
|
|
41
|
+
border-color: var(--gray-2);
|
|
41
42
|
color: var(--foreground);
|
|
42
43
|
|
|
43
44
|
@include mixin.hover {
|
|
44
|
-
background:
|
|
45
|
+
background: var(--gray-1);
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
&:active {
|
|
48
|
-
background:
|
|
49
|
-
border-color:
|
|
49
|
+
background: var(--gray-2);
|
|
50
|
+
border-color: var(--gray-3);
|
|
50
51
|
scale: .9875;
|
|
51
52
|
}
|
|
52
53
|
}
|
|
@@ -64,56 +65,42 @@
|
|
|
64
65
|
.destructiveButton {
|
|
65
66
|
composes: button from './base/Button.module.scss';
|
|
66
67
|
|
|
67
|
-
background:
|
|
68
|
-
border-color:
|
|
68
|
+
background: var(--gray-0);
|
|
69
|
+
border-color: var(--gray-2);
|
|
69
70
|
color: var(--foreground);
|
|
70
71
|
|
|
71
72
|
@include mixin.hover {
|
|
72
|
-
background:
|
|
73
|
+
background: var(--gray-1);
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
&:active {
|
|
76
|
-
background:
|
|
77
|
-
border-color:
|
|
77
|
+
background: var(--gray-2);
|
|
78
|
+
border-color: var(--gray-3);
|
|
78
79
|
scale: .9875;
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
.spinner {
|
|
82
|
-
--value:
|
|
83
|
+
--value: var(--danger-7);
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
.destructiveButtonIcon {
|
|
87
88
|
composes: buttonIcon from './base/Button.module.scss';
|
|
88
89
|
|
|
89
|
-
color:
|
|
90
|
+
color: var(--danger-7);
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
.destructiveButtonLabel {
|
|
93
94
|
composes: buttonLabel from './base/Button.module.scss';
|
|
94
95
|
|
|
95
96
|
&:only-child {
|
|
96
|
-
color:
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
[dark] .secondaryButton,
|
|
101
|
-
[dark] .destructiveButton {
|
|
102
|
-
background: rgb(var(--gray-1));
|
|
103
|
-
border-color: rgb(var(--gray-3));
|
|
104
|
-
|
|
105
|
-
@include mixin.hover {
|
|
106
|
-
background: rgb(var(--gray-2));
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&:active {
|
|
110
|
-
background: rgb(var(--gray-3));
|
|
97
|
+
color: var(--danger-7);
|
|
111
98
|
}
|
|
112
99
|
}
|
|
113
100
|
|
|
114
101
|
.secondaryButton,
|
|
115
102
|
.destructiveButton {
|
|
116
|
-
box-shadow: var(--shadow-px), inset 0 -1px
|
|
103
|
+
box-shadow: var(--shadow-px), inset 0 -1px oklch(from var(--gray-3) l c h / .15);
|
|
117
104
|
}
|
|
118
105
|
|
|
119
106
|
.linkButton {
|
|
@@ -124,7 +111,7 @@
|
|
|
124
111
|
padding: 0;
|
|
125
112
|
border: 0;
|
|
126
113
|
box-shadow: unset;
|
|
127
|
-
color:
|
|
114
|
+
color: var(--primary-7);
|
|
128
115
|
text-decoration: underline;
|
|
129
116
|
text-decoration-thickness: 1px;
|
|
130
117
|
text-underline-offset: 4px;
|
|
@@ -132,7 +119,7 @@
|
|
|
132
119
|
@include mixin.focus-ring(6px);
|
|
133
120
|
|
|
134
121
|
@include mixin.hover {
|
|
135
|
-
color:
|
|
122
|
+
color: var(--primary-10);
|
|
136
123
|
|
|
137
124
|
.linkButtonIcon {
|
|
138
125
|
transform: translate3d(6px, 0, 0);
|
|
@@ -143,7 +130,7 @@
|
|
|
143
130
|
.linkButtonIcon {
|
|
144
131
|
composes: buttonIcon from './base/Button.module.scss';
|
|
145
132
|
|
|
146
|
-
color:
|
|
133
|
+
color: var(--primary-7);
|
|
147
134
|
transition: inherit;
|
|
148
135
|
transition-property: transform;
|
|
149
136
|
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
text-transform: capitalize;
|
|
34
34
|
|
|
35
35
|
@include mixin.hover {
|
|
36
|
-
color:
|
|
36
|
+
color: var(--primary-7);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
gap: 1px;
|
|
57
57
|
grid-template-columns: repeat(7, 1fr);
|
|
58
58
|
grid-template-rows: min-content repeat(6, auto);
|
|
59
|
-
background:
|
|
59
|
+
background: var(--gray-1);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.calendarCell {
|
|
63
63
|
padding: 12px 21px;
|
|
64
|
-
background:
|
|
64
|
+
background: var(--gray-0);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.calendarDay {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
padding-bottom: 39px;
|
|
86
86
|
|
|
87
87
|
&.isDisabled {
|
|
88
|
-
background:
|
|
88
|
+
background: oklch(from var(--gray-0) l c h / .5);
|
|
89
89
|
color: var(--foreground-secondary);
|
|
90
90
|
pointer-events: none;
|
|
91
91
|
|
|
@@ -120,9 +120,9 @@
|
|
|
120
120
|
margin-left: -9px;
|
|
121
121
|
margin-right: -9px;
|
|
122
122
|
padding: 6px 9px;
|
|
123
|
-
background:
|
|
123
|
+
background: var(--primary-2);
|
|
124
124
|
border: 0;
|
|
125
|
-
color:
|
|
125
|
+
color: var(--primary-9);
|
|
126
126
|
cursor: pointer;
|
|
127
127
|
font-size: 14px;
|
|
128
128
|
line-height: 1.3em;
|
|
@@ -162,6 +162,6 @@
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
@include mixin.hover {
|
|
165
|
-
background:
|
|
165
|
+
background: var(--primary-3);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
align-items: center;
|
|
8
8
|
flex-grow: 0;
|
|
9
9
|
gap: 9px;
|
|
10
|
-
background:
|
|
11
|
-
border: 1px solid
|
|
10
|
+
background: var(--gray-1);
|
|
11
|
+
border: 1px solid var(--gray-2);
|
|
12
12
|
border-radius: 99px;
|
|
13
13
|
color: var(--foreground);
|
|
14
14
|
transition: 180ms var(--swift-out);
|
|
@@ -21,19 +21,21 @@
|
|
|
21
21
|
|
|
22
22
|
@media (hover: hover) {
|
|
23
23
|
&:hover {
|
|
24
|
-
background:
|
|
24
|
+
background: var(--gray-2);
|
|
25
|
+
border-color: var(--gray-3);
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
&.isSelected {
|
|
30
|
-
background:
|
|
31
|
-
border-color:
|
|
32
|
-
color:
|
|
31
|
+
background: var(--primary-2);
|
|
32
|
+
border-color: var(--primary-3);
|
|
33
|
+
color: var(--primary-7);
|
|
33
34
|
|
|
34
35
|
@media (hover: hover) {
|
|
35
36
|
&:hover {
|
|
36
|
-
background:
|
|
37
|
+
background: var(--primary-3);
|
|
38
|
+
border-color: var(--primary-4);
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
}
|
|
@@ -44,15 +46,3 @@
|
|
|
44
46
|
white-space: nowrap;
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
|
-
|
|
48
|
-
[dark] .chip.isSelected {
|
|
49
|
-
background: rgb(var(--primary-11) / .5);
|
|
50
|
-
border-color: rgb(var(--primary-11));
|
|
51
|
-
color: rgb(var(--primary-5));
|
|
52
|
-
|
|
53
|
-
@media (hover: hover) {
|
|
54
|
-
&:hover {
|
|
55
|
-
background: rgb(var(--primary-10) / .5);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|