@bagelink/vue 0.0.190 → 0.0.192
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/components/Btn.vue.d.ts +11 -7
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/ListView.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePicker.vue.d.ts +4 -4
- package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioPillsInput.vue.d.ts +31 -0
- package/dist/components/form/inputs/RadioPillsInput.vue.d.ts.map +1 -0
- package/dist/components/form/inputs/TextInput.vue.d.ts +5 -0
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/index.d.ts +1 -0
- package/dist/components/form/inputs/index.d.ts.map +1 -1
- package/dist/components/formkit/AddressArray.vue.d.ts.map +1 -1
- package/dist/components/formkit/BankDetailsArray.vue.d.ts.map +1 -1
- package/dist/components/formkit/ContactArrayFormKit.vue.d.ts.map +1 -1
- package/dist/index.cjs +13033 -3563
- package/dist/index.mjs +13034 -3564
- package/dist/style.css +479 -350
- package/package.json +1 -1
- package/src/components/Btn.vue +165 -146
- package/src/components/ListView.vue +0 -1
- package/src/components/PersonPreview.vue +1 -1
- package/src/components/form/inputs/DatePicker.vue +96 -80
- package/src/components/form/inputs/RadioPillsInput.vue +89 -0
- package/src/components/form/inputs/TextInput.vue +53 -11
- package/src/components/form/inputs/index.ts +1 -0
- package/src/components/formkit/AddressArray.vue +173 -150
- package/src/components/formkit/BankDetailsArray.vue +197 -174
- package/src/components/formkit/ContactArrayFormKit.vue +140 -123
- package/src/styles/layout.css +83 -0
- package/src/styles/theme.css +45 -16
package/package.json
CHANGED
package/src/components/Btn.vue
CHANGED
|
@@ -1,233 +1,252 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
2
|
+
<component
|
|
3
|
+
:is="to ? 'router-link' : is"
|
|
4
|
+
:to="to"
|
|
5
|
+
:type="type"
|
|
6
|
+
:role="role"
|
|
7
|
+
:disabled="disabled"
|
|
8
|
+
:class="{
|
|
9
|
+
'btn-icon': icon && !slots['default'] && !value,
|
|
10
|
+
btn: !icon || slots['default'] || value,
|
|
11
|
+
thin,
|
|
12
|
+
round,
|
|
13
|
+
'btn-txt': flat,
|
|
14
|
+
'btn-border': border
|
|
15
|
+
}"
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
class="loading"
|
|
19
|
+
v-if="loading"
|
|
20
|
+
/>
|
|
21
|
+
<div
|
|
22
|
+
v-else
|
|
23
|
+
class="btn-flex"
|
|
24
|
+
>
|
|
25
|
+
<MaterialIcon
|
|
26
|
+
v-if="icon"
|
|
27
|
+
:icon="icon"
|
|
28
|
+
/>
|
|
29
|
+
<slot />
|
|
30
|
+
<template v-if="!slots['default'] && value">
|
|
31
|
+
{{ value }}
|
|
32
|
+
</template>
|
|
33
|
+
<MaterialIcon
|
|
34
|
+
v-if="props['icon.end']"
|
|
35
|
+
:icon="props['icon.end']"
|
|
36
|
+
/>
|
|
37
|
+
</div>
|
|
38
|
+
</component>
|
|
27
39
|
</template>
|
|
28
40
|
|
|
29
41
|
<script setup lang="ts">
|
|
30
|
-
import { useSlots } from
|
|
42
|
+
import { useSlots } from 'vue';
|
|
31
43
|
|
|
32
44
|
const slots = useSlots();
|
|
33
|
-
import type { MaterialIcons } from
|
|
34
|
-
import { MaterialIcon } from
|
|
45
|
+
import type { MaterialIcons } from '@bagelink/vue';
|
|
46
|
+
import { MaterialIcon } from '@bagelink/vue';
|
|
47
|
+
|
|
48
|
+
type ThemeTypes = 'light' | 'red' | 'gray' | 'gray-light' | 'black' | 'green';
|
|
35
49
|
|
|
36
50
|
const props = withDefaults(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
51
|
+
defineProps<{
|
|
52
|
+
disabled?: boolean;
|
|
53
|
+
icon?: MaterialIcons;
|
|
54
|
+
'icon.end'?: MaterialIcons;
|
|
55
|
+
color?: ThemeTypes;
|
|
56
|
+
theme?: ThemeTypes;
|
|
57
|
+
flat?: boolean;
|
|
58
|
+
border?: boolean;
|
|
59
|
+
thin?: boolean;
|
|
60
|
+
type?: 'button' | 'submit' | 'reset';
|
|
61
|
+
loading?: boolean;
|
|
62
|
+
role?: string;
|
|
63
|
+
value?: string;
|
|
64
|
+
to?: string;
|
|
65
|
+
round?: boolean;
|
|
66
|
+
is?: string;
|
|
67
|
+
borderColor?: string
|
|
68
|
+
}>(),
|
|
69
|
+
{
|
|
70
|
+
loading: false,
|
|
71
|
+
round: false,
|
|
72
|
+
disabled: false,
|
|
73
|
+
type: 'button',
|
|
74
|
+
role: 'button',
|
|
75
|
+
is: 'button',
|
|
76
|
+
},
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
const computedTheme = $computed(() => (props?.color || props?.theme));
|
|
80
|
+
|
|
81
|
+
const defaultColors = { backgroundColor: 'var(--bgl-primary)', color: 'var(--bgl-white)' };
|
|
82
|
+
|
|
83
|
+
const themes: { [key in ThemeTypes]: typeof defaultColors } = {
|
|
84
|
+
red: { ...defaultColors, backgroundColor: 'var(--bgl-red)', },
|
|
85
|
+
black: { ...defaultColors, backgroundColor: 'var(--bgl-black)' },
|
|
86
|
+
green: { ...defaultColors, backgroundColor: 'var(--bgl-green)', color: 'var(--bgl-white)' },
|
|
87
|
+
gray: { ...defaultColors, backgroundColor: 'var(--bgl-gray-light)', color: 'var(--bgl-black)' },
|
|
88
|
+
light: { ...defaultColors, backgroundColor: 'var(--bgl-primary-light)', color: 'var(--bgl-primary)' },
|
|
89
|
+
'gray-light': { ...defaultColors, backgroundColor: 'var(--bgl-gray-light)', color: 'var(--bgl-gray)' },
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
const cumputedTextColor = $computed(
|
|
93
|
+
() => (themes?.[computedTheme as ThemeTypes]?.color || defaultColors.color),
|
|
94
|
+
);
|
|
95
|
+
|
|
96
|
+
const computedBackgroundColor = $computed(
|
|
97
|
+
() => (themes?.[computedTheme as ThemeTypes]?.backgroundColor || defaultColors.backgroundColor),
|
|
68
98
|
);
|
|
69
99
|
</script>
|
|
70
100
|
|
|
71
101
|
<style scoped>
|
|
72
102
|
.loading {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
103
|
+
border: 1px solid var(--bgl-white);
|
|
104
|
+
border-bottom: 2px solid var(--bgl-white);
|
|
105
|
+
animation: spin 1s linear infinite;
|
|
106
|
+
border-radius: 100px;
|
|
107
|
+
width: 1rem;
|
|
108
|
+
height: 1rem;
|
|
109
|
+
margin: auto;
|
|
80
110
|
}
|
|
81
111
|
|
|
82
112
|
@keyframes spin {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
113
|
+
0% {
|
|
114
|
+
transform: rotate(0deg);
|
|
115
|
+
}
|
|
86
116
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
117
|
+
100% {
|
|
118
|
+
transform: rotate(360deg);
|
|
119
|
+
}
|
|
90
120
|
}
|
|
91
121
|
|
|
92
122
|
.btn-icon {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
123
|
+
height: var(--btn-height);
|
|
124
|
+
width: var(--btn-height);
|
|
125
|
+
border-radius: 100%;
|
|
126
|
+
font-size: 1rem;
|
|
127
|
+
background: var(--bgl-primary);
|
|
128
|
+
color: var(--bgl-white);
|
|
129
|
+
flex-shrink: 0;
|
|
130
|
+
transition: var(--bgl-transition);
|
|
101
131
|
}
|
|
102
132
|
|
|
103
133
|
.btn {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
134
|
+
background: var(--bgl-primary);
|
|
135
|
+
color: var(--bgl-white);
|
|
136
|
+
padding-left: var(--btn-padding);
|
|
137
|
+
padding-right: var(--btn-padding);
|
|
138
|
+
transition: var(--bgl-transition);
|
|
139
|
+
text-decoration: none;
|
|
110
140
|
}
|
|
111
141
|
|
|
112
142
|
.btn[disabled="true"] {
|
|
113
|
-
|
|
114
|
-
|
|
143
|
+
opacity: 0.5;
|
|
144
|
+
cursor: not-allowed;
|
|
115
145
|
}
|
|
116
146
|
|
|
117
147
|
.btn-flex {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
gap: 0.5rem;
|
|
151
|
+
justify-content: center;
|
|
122
152
|
}
|
|
123
153
|
|
|
124
154
|
.btn .icon-font {
|
|
125
|
-
|
|
155
|
+
font-size: calc(var(--input-font-size) * 1.3);
|
|
126
156
|
}
|
|
127
157
|
|
|
128
158
|
.btn:hover,
|
|
129
159
|
.btn-icon:hover {
|
|
130
|
-
|
|
160
|
+
filter: var(--bgl-hover-filter);
|
|
131
161
|
}
|
|
132
162
|
|
|
133
163
|
.btn:active,
|
|
134
164
|
.btn-icon:active {
|
|
135
|
-
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.btn.red,
|
|
139
|
-
.btn-icon.red {
|
|
140
|
-
background: var(--bgl-red);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.btn.light,
|
|
144
|
-
.btn-icon.light {
|
|
145
|
-
background: var(--bgl-blue-light);
|
|
146
|
-
color: var(--bgl-primary);
|
|
165
|
+
filter: var(--bgl-active-filter);
|
|
147
166
|
}
|
|
148
167
|
|
|
149
|
-
.btn
|
|
150
|
-
.btn-icon
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.btn.green,
|
|
156
|
-
.btn-icon.green {
|
|
157
|
-
background: var(--bgl-green);
|
|
158
|
-
color: var(--bgl-white);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.btn.gray-light,
|
|
162
|
-
.btn-icon.gray-light {
|
|
163
|
-
background: var(--bgl-gray-light);
|
|
164
|
-
color: var(--bgl-gray);
|
|
165
|
-
}
|
|
168
|
+
.btn,
|
|
169
|
+
.btn-icon {
|
|
170
|
+
background-color: v-bind(computedBackgroundColor);
|
|
171
|
+
color: v-bind(cumputedTextColor);
|
|
166
172
|
|
|
167
|
-
.btn.black,
|
|
168
|
-
.btn-icon.black {
|
|
169
|
-
background: var(--bgl-black);
|
|
170
173
|
}
|
|
171
174
|
|
|
172
175
|
.btn.btn-txt {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
176
|
+
color: var(--bgl-primary);
|
|
177
|
+
padding-left: var(--btn-padding);
|
|
178
|
+
padding-right: var(--btn-padding);
|
|
179
|
+
background: transparent;
|
|
177
180
|
}
|
|
178
181
|
|
|
179
182
|
.btn-icon.btn-txt {
|
|
180
|
-
|
|
181
|
-
|
|
183
|
+
color: var(--bgl-primary);
|
|
184
|
+
background: transparent;
|
|
182
185
|
}
|
|
183
186
|
|
|
184
187
|
.btn.btn-txt:hover,
|
|
185
188
|
.btn-icon.btn-txt:hover {
|
|
186
|
-
|
|
189
|
+
filter: var(--bgl-active-filter);
|
|
187
190
|
}
|
|
188
191
|
|
|
189
192
|
.btn.btn-txt:active,
|
|
190
193
|
.btn-icon.btn-txt:active {
|
|
191
|
-
|
|
192
|
-
|
|
194
|
+
background: var(--bgl-white);
|
|
195
|
+
filter: var(--bgl-hover-filter);
|
|
193
196
|
}
|
|
194
197
|
|
|
195
198
|
.btn.btn-txt.red,
|
|
196
199
|
.btn-icon.btn-txt.red {
|
|
197
|
-
|
|
200
|
+
color: var(--bgl-red);
|
|
198
201
|
}
|
|
199
202
|
|
|
200
203
|
.btn.btn-txt.light,
|
|
201
204
|
.btn-icon.btn-txt.light {
|
|
202
|
-
|
|
205
|
+
color: var(--bgl-primary-tint);
|
|
203
206
|
}
|
|
204
207
|
|
|
205
208
|
.btn.btn-txt.black,
|
|
206
209
|
.btn-icon.btn-txt.black {
|
|
207
|
-
|
|
210
|
+
color: var(--bgl-black);
|
|
208
211
|
}
|
|
209
212
|
|
|
210
213
|
.btn.btn-txt.gray,
|
|
211
214
|
.btn-icon.btn-txt.gray {
|
|
212
|
-
|
|
215
|
+
color: var(--bgl-gray);
|
|
213
216
|
}
|
|
214
217
|
|
|
215
218
|
.btn.thin {
|
|
216
|
-
|
|
217
|
-
|
|
219
|
+
padding-left: calc(var(--btn-padding) / 2);
|
|
220
|
+
padding-right: calc(var(--btn-padding) / 2);
|
|
218
221
|
}
|
|
219
222
|
|
|
220
223
|
.btn.round {
|
|
221
|
-
|
|
224
|
+
border-radius: calc(var(--btn-border-radius) * 2);
|
|
222
225
|
}
|
|
223
226
|
|
|
224
227
|
.btn-icon.thin {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
+
height: calc(var(--btn-height) / 1.5);
|
|
229
|
+
width: calc(var(--btn-height) / 1.5);
|
|
230
|
+
line-height: 1;
|
|
228
231
|
}
|
|
229
232
|
|
|
230
233
|
[dir="rtl"] .icon-font {
|
|
231
|
-
|
|
234
|
+
transform: rotateY(180deg);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.btn-border {
|
|
238
|
+
outline: 1px solid v-bind(computedBackgroundColor);
|
|
239
|
+
color: v-bind(computedBackgroundColor);
|
|
240
|
+
background: var(--bgl-white);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.btn-border:hover {
|
|
244
|
+
color: v-bind(cumputedTextColor);
|
|
245
|
+
background: v-bind(computedBackgroundColor);
|
|
246
|
+
filter: brightness(100%);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.btn-border:active {
|
|
250
|
+
filter: brightness(80%);
|
|
232
251
|
}
|
|
233
252
|
</style>
|
|
@@ -10,13 +10,25 @@
|
|
|
10
10
|
:month-change-on-scroll="false"
|
|
11
11
|
v-bind="options"
|
|
12
12
|
>
|
|
13
|
-
<template #action-buttons/>
|
|
14
|
-
<template #action-preview/>
|
|
13
|
+
<template #action-buttons />
|
|
14
|
+
<template #action-preview />
|
|
15
15
|
</VDatepicker>
|
|
16
16
|
</div>
|
|
17
|
-
<div
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
<div
|
|
18
|
+
class="time-wrap"
|
|
19
|
+
v-if="showTimeWrap"
|
|
20
|
+
>
|
|
21
|
+
<template
|
|
22
|
+
v-for="hr in hours"
|
|
23
|
+
:key="hr"
|
|
24
|
+
>
|
|
25
|
+
<input
|
|
26
|
+
type="radio"
|
|
27
|
+
:id="`${hr}_${name}`"
|
|
28
|
+
:name="name"
|
|
29
|
+
:value="hr"
|
|
30
|
+
v-model="selectedHour"
|
|
31
|
+
>
|
|
20
32
|
<label :for="`${hr}_${name}`">{{ hr }}</label>
|
|
21
33
|
</template>
|
|
22
34
|
</div>
|
|
@@ -27,7 +39,7 @@
|
|
|
27
39
|
import VDatepicker from '@vuepic/vue-datepicker';
|
|
28
40
|
import '@vuepic/vue-datepicker/dist/main.css';
|
|
29
41
|
|
|
30
|
-
defineProps<{ name: string, options
|
|
42
|
+
defineProps<{ name: string, options?: Record<string, any>, showTimeWrap?: boolean }>();
|
|
31
43
|
const selectedDate = $ref(null);
|
|
32
44
|
const selectedHour = $ref();
|
|
33
45
|
|
|
@@ -39,115 +51,119 @@ const hours = Array.from({ length: 18 }, (_, index) => {
|
|
|
39
51
|
</script>
|
|
40
52
|
<style>
|
|
41
53
|
.datetime-wrap {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
54
|
+
display: flex;
|
|
55
|
+
gap: 3rem;
|
|
56
|
+
padding: 1rem;
|
|
45
57
|
}
|
|
46
58
|
|
|
47
59
|
.time-wrap {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
60
|
+
display: grid;
|
|
61
|
+
gap: 0.5rem;
|
|
62
|
+
grid-template-columns: 1fr 1fr;
|
|
63
|
+
width: 100%;
|
|
52
64
|
}
|
|
53
65
|
|
|
54
66
|
.time-wrap input {
|
|
55
|
-
|
|
67
|
+
display: none;
|
|
56
68
|
}
|
|
57
69
|
|
|
58
70
|
.time-wrap label {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
71
|
+
background: var(--input-bg);
|
|
72
|
+
border-radius: var(--btn-border-radius);
|
|
73
|
+
line-height: calc(var(--btn-height) * 0.9);
|
|
74
|
+
display: block;
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
transition: var(--bgl-transition);
|
|
77
|
+
text-align: center;
|
|
78
|
+
font-size: 16px;
|
|
79
|
+
color: var(--bgl-primary);
|
|
80
|
+
border: 1px solid var(--bgl-primary);
|
|
69
81
|
}
|
|
70
82
|
|
|
71
83
|
.time-wrap input[type="radio"]:checked+label {
|
|
72
|
-
|
|
73
|
-
|
|
84
|
+
background: var(--bgl-primary);
|
|
85
|
+
color: var(--bgl-white);
|
|
74
86
|
}
|
|
75
87
|
|
|
76
88
|
.time-wrap label:hover {
|
|
77
|
-
|
|
89
|
+
filter: var(--bgl-hover-filter);
|
|
78
90
|
}
|
|
79
91
|
|
|
80
92
|
.time-wrap label:active {
|
|
81
|
-
|
|
93
|
+
filter: var(--bgl-active-filter);
|
|
82
94
|
}
|
|
83
95
|
|
|
84
96
|
.dp__theme_light {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
--dp-background-color: var(--bgl-white);
|
|
98
|
+
--dp-text-color: var(--bgl-black);
|
|
99
|
+
--dp-hover-color: var(--input-bg);
|
|
100
|
+
--dp-hover-text-color: var(--bgl-black);
|
|
101
|
+
--dp-hover-icon-color: var(--bgl-primary);
|
|
102
|
+
--dp-primary-color: var(--bgl-primary);
|
|
103
|
+
--dp-primary-disabled-color: var(--bgl-primary);
|
|
104
|
+
--dp-primary-text-color: var(--bgl-white);
|
|
105
|
+
--dp-secondary-color: var(--bgl-gray);
|
|
106
|
+
--dp-border-color: transparent;
|
|
107
|
+
--dp-menu-border-color: transparent;
|
|
108
|
+
--dp-scroll-bar-background: transparent;
|
|
109
|
+
--dp-scroll-bar-color: var(--bgl-gray);
|
|
110
|
+
--dp-icon-color: var(--bgl-gray);
|
|
111
|
+
--dp-highlight-color: var(--bgl-gray-light);
|
|
100
112
|
}
|
|
101
113
|
|
|
102
114
|
:root {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
115
|
+
--dp-font-family: inherit;
|
|
116
|
+
--dp-cell-border-radius: 100%;
|
|
117
|
+
--dp-common-transition: all 200s ease-in;
|
|
118
|
+
|
|
119
|
+
--dp-cell-size: 40px;
|
|
120
|
+
/*Width and height of calendar cell*/
|
|
121
|
+
--dp-menu-min-width: 280px;
|
|
122
|
+
/*Adjust the min width of the menu*/
|
|
123
|
+
--dp-row-margin: 8px 0;
|
|
124
|
+
/*Adjust the spacing between rows in the calendar*/
|
|
113
125
|
}
|
|
114
126
|
|
|
115
127
|
.dp__calendar_header {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
128
|
+
font-weight: 400;
|
|
129
|
+
padding: 10px 0 0;
|
|
130
|
+
margin-bottom: -10px;
|
|
119
131
|
}
|
|
120
132
|
|
|
121
133
|
.dp__calendar_row>div:last-child {
|
|
122
|
-
|
|
134
|
+
pointer-events: none;
|
|
123
135
|
}
|
|
124
|
-
|
|
125
|
-
|
|
136
|
+
|
|
137
|
+
.dp__outer_menu_wrap.dp--menu-wrapper {
|
|
138
|
+
filter: drop-shadow(0 0 20px var(--bgl-shadow));
|
|
126
139
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
140
|
+
|
|
141
|
+
.dp__input {
|
|
142
|
+
background: var(--input-bg);
|
|
143
|
+
border: none;
|
|
144
|
+
padding: 0.7rem;
|
|
145
|
+
border-radius: var(--input-border-radius);
|
|
146
|
+
color: var(--input-color);
|
|
147
|
+
min-width: calc(var(--input-height) * 3);
|
|
148
|
+
width: 100%;
|
|
135
149
|
}
|
|
150
|
+
|
|
136
151
|
.dp__input:focus-visible {
|
|
137
|
-
|
|
138
|
-
|
|
152
|
+
outline: none;
|
|
153
|
+
box-shadow: inset 0 0 10px #00000012;
|
|
139
154
|
}
|
|
155
|
+
|
|
140
156
|
@media screen and (max-width: 767px) {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
157
|
+
.datetime-wrap {
|
|
158
|
+
flex-wrap: wrap;
|
|
159
|
+
padding: 0rem;
|
|
160
|
+
gap: 1rem;
|
|
161
|
+
justify-content: center;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
:root {
|
|
165
|
+
--dp-menu-min-width: 200px;
|
|
166
|
+
--dp-cell-size: 35px;
|
|
167
|
+
}
|
|
152
168
|
}
|
|
153
169
|
</style>
|