mertani-web-toolkit 0.1.51 → 0.1.53
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/inputs/DatePicker/DatePicker.css +205 -205
- package/dist/components/inputs/DatePicker/DatePicker.svelte +473 -473
- package/dist/components/inputs/MultiSelectInput/MultiSelectInput.svelte +1 -1
- package/dist/components/inputs/TextInputSuggestion/TextInputSuggestion.css +326 -326
- package/dist/components/inputs/TextInputSuggestion/TextInputSuggestion.svelte +613 -607
- package/dist/icons/BSBuildingLock.svelte +16 -0
- package/dist/icons/BSBuildingLock.svelte.d.ts +26 -0
- package/dist/icons/BSCalendar2Date.svelte +27 -27
- package/dist/icons/BsDiagram3.svelte +14 -14
- package/dist/icons/BsEyeSlash.svelte +14 -14
- package/dist/icons/BsKey.svelte +23 -23
- package/dist/icons/BsNodePlus.svelte +14 -14
- package/dist/icons/FeLink2.svelte +9 -9
- package/dist/icons/index.js +3 -1
- package/package.json +1 -1
|
@@ -1,205 +1,205 @@
|
|
|
1
|
-
.date-picker-container {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 100%;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.date-picker-container.date-picker-side {
|
|
8
|
-
flex-direction: row;
|
|
9
|
-
align-items: center;
|
|
10
|
-
gap: 12px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.date-picker-label {
|
|
14
|
-
font-size: 14px;
|
|
15
|
-
font-weight: 400;
|
|
16
|
-
color: var(--color-text-primary);
|
|
17
|
-
margin-bottom: 4px;
|
|
18
|
-
display: block;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.date-picker-container.date-picker-side .date-picker-label {
|
|
22
|
-
margin-bottom: 0;
|
|
23
|
-
min-width: 120px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.date-picker-label.label-left {
|
|
27
|
-
text-align: left;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.date-picker-label.label-right {
|
|
31
|
-
text-align: right;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.label-required {
|
|
35
|
-
color: var(--color-text-error-ti);
|
|
36
|
-
margin-left: 4px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.label-subLabel {
|
|
40
|
-
font-weight: 400;
|
|
41
|
-
color: var(--color-text-tertiary);
|
|
42
|
-
margin-left: 4px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.date-picker-wrapper {
|
|
46
|
-
position: relative;
|
|
47
|
-
flex: 1;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.date-picker-trigger {
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
justify-content: space-between;
|
|
54
|
-
width: 100%;
|
|
55
|
-
text-align: left;
|
|
56
|
-
background: var(--dp-bg);
|
|
57
|
-
border: 1px solid var(--dp-border);
|
|
58
|
-
border-radius: var(--dp-radius);
|
|
59
|
-
color: var(--dp-text);
|
|
60
|
-
box-shadow: var(--dp-shadow);
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
transition:
|
|
63
|
-
border-color 0.2s,
|
|
64
|
-
box-shadow 0.2s;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.date-picker-trigger:disabled {
|
|
68
|
-
cursor: not-allowed;
|
|
69
|
-
background: var(--color-bg-disabled);
|
|
70
|
-
opacity: 0.7;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.date-picker-trigger.is-focused:not(:disabled) {
|
|
74
|
-
border-color: var(--dp-accent);
|
|
75
|
-
box-shadow: 0 0 0 2px color-mix(in srgb, var(--dp-accent) 40%, transparent);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.date-picker-trigger.is-error:not(:disabled) {
|
|
79
|
-
border-color: var(--dp-error);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.date-picker-trigger.is-error.is-focused:not(:disabled) {
|
|
83
|
-
border-color: var(--dp-error);
|
|
84
|
-
box-shadow: 0 0 0 2px color-mix(in srgb, var(--dp-error) 40%, transparent);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.date-picker-trigger .placeholder {
|
|
88
|
-
color: var(--color-text-tertiary);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.date-picker-calendar {
|
|
92
|
-
position: absolute;
|
|
93
|
-
bottom: calc(100% + 4px);
|
|
94
|
-
right: 0;
|
|
95
|
-
z-index: 20;
|
|
96
|
-
background: var(--color-bg-surface);
|
|
97
|
-
border-radius: 8px;
|
|
98
|
-
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
99
|
-
width: 240px;
|
|
100
|
-
overflow: hidden;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.date-picker-calendar.placement-bottom {
|
|
104
|
-
bottom: auto;
|
|
105
|
-
top: calc(100% + 4px);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.calendar-head {
|
|
109
|
-
display: flex;
|
|
110
|
-
justify-content: space-between;
|
|
111
|
-
align-items: center;
|
|
112
|
-
padding: 0 8px;
|
|
113
|
-
height: 40px;
|
|
114
|
-
border-bottom: 1px solid var(--color-border-form);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.calendar-head p {
|
|
118
|
-
font-size: 0.875rem;
|
|
119
|
-
color: var(--color-text-primary);
|
|
120
|
-
font-weight: 500;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.nav-btn {
|
|
124
|
-
display: flex;
|
|
125
|
-
align-items: center;
|
|
126
|
-
justify-content: center;
|
|
127
|
-
width: 28px;
|
|
128
|
-
height: 28px;
|
|
129
|
-
border-radius: 4px;
|
|
130
|
-
color: var(--color-text-tertiary);
|
|
131
|
-
cursor: pointer;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.nav-btn:hover {
|
|
135
|
-
background: var(--color-bg-surface-hover, #f6f8fa);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.calendar-body {
|
|
139
|
-
padding: 8px 12px;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.date-grid {
|
|
143
|
-
display: grid;
|
|
144
|
-
grid-template-columns: repeat(7, 1fr);
|
|
145
|
-
gap: 2px;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.day-label {
|
|
149
|
-
font-size: 0.75rem;
|
|
150
|
-
color: var(--color-text-tertiary);
|
|
151
|
-
text-align: center;
|
|
152
|
-
padding: 4px 0;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.date-cell {
|
|
156
|
-
display: flex;
|
|
157
|
-
align-items: center;
|
|
158
|
-
justify-content: center;
|
|
159
|
-
width: 28px;
|
|
160
|
-
height: 28px;
|
|
161
|
-
font-size: 0.8rem;
|
|
162
|
-
border-radius: 4px;
|
|
163
|
-
color: var(--color-text-tertiary);
|
|
164
|
-
margin: auto;
|
|
165
|
-
cursor: pointer;
|
|
166
|
-
background: transparent;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.date-cell:hover:not(:disabled) {
|
|
170
|
-
background: var(--color-bg-surface-hover, #f6f8fa);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.date-cell.in-range {
|
|
174
|
-
color: var(--color-text-primary);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.date-cell.is-now {
|
|
178
|
-
border: 1px solid var(--dp-accent);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.date-cell.is-selected {
|
|
182
|
-
background: var(--dp-accent);
|
|
183
|
-
color: #fff;
|
|
184
|
-
font-weight: 500;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.date-cell.is-disabled {
|
|
188
|
-
opacity: 0.35;
|
|
189
|
-
cursor: not-allowed;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.goto-today {
|
|
193
|
-
width: 100%;
|
|
194
|
-
text-align: center;
|
|
195
|
-
line-height: 40px;
|
|
196
|
-
border-top: 1px solid var(--color-border-form);
|
|
197
|
-
font-size: 0.875rem;
|
|
198
|
-
font-weight: 500;
|
|
199
|
-
cursor: pointer;
|
|
200
|
-
color: var(--dp-accent);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.goto-today:hover {
|
|
204
|
-
background: var(--color-bg-surface-hover, #f6f8fa);
|
|
205
|
-
}
|
|
1
|
+
.date-picker-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.date-picker-container.date-picker-side {
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: 12px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.date-picker-label {
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
color: var(--color-text-primary);
|
|
17
|
+
margin-bottom: 4px;
|
|
18
|
+
display: block;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.date-picker-container.date-picker-side .date-picker-label {
|
|
22
|
+
margin-bottom: 0;
|
|
23
|
+
min-width: 120px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.date-picker-label.label-left {
|
|
27
|
+
text-align: left;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.date-picker-label.label-right {
|
|
31
|
+
text-align: right;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.label-required {
|
|
35
|
+
color: var(--color-text-error-ti);
|
|
36
|
+
margin-left: 4px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.label-subLabel {
|
|
40
|
+
font-weight: 400;
|
|
41
|
+
color: var(--color-text-tertiary);
|
|
42
|
+
margin-left: 4px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.date-picker-wrapper {
|
|
46
|
+
position: relative;
|
|
47
|
+
flex: 1;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.date-picker-trigger {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: space-between;
|
|
54
|
+
width: 100%;
|
|
55
|
+
text-align: left;
|
|
56
|
+
background: var(--dp-bg);
|
|
57
|
+
border: 1px solid var(--dp-border);
|
|
58
|
+
border-radius: var(--dp-radius);
|
|
59
|
+
color: var(--dp-text);
|
|
60
|
+
box-shadow: var(--dp-shadow);
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
transition:
|
|
63
|
+
border-color 0.2s,
|
|
64
|
+
box-shadow 0.2s;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.date-picker-trigger:disabled {
|
|
68
|
+
cursor: not-allowed;
|
|
69
|
+
background: var(--color-bg-disabled);
|
|
70
|
+
opacity: 0.7;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.date-picker-trigger.is-focused:not(:disabled) {
|
|
74
|
+
border-color: var(--dp-accent);
|
|
75
|
+
box-shadow: 0 0 0 2px color-mix(in srgb, var(--dp-accent) 40%, transparent);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.date-picker-trigger.is-error:not(:disabled) {
|
|
79
|
+
border-color: var(--dp-error);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.date-picker-trigger.is-error.is-focused:not(:disabled) {
|
|
83
|
+
border-color: var(--dp-error);
|
|
84
|
+
box-shadow: 0 0 0 2px color-mix(in srgb, var(--dp-error) 40%, transparent);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.date-picker-trigger .placeholder {
|
|
88
|
+
color: var(--color-text-tertiary);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.date-picker-calendar {
|
|
92
|
+
position: absolute;
|
|
93
|
+
bottom: calc(100% + 4px);
|
|
94
|
+
right: 0;
|
|
95
|
+
z-index: 20;
|
|
96
|
+
background: var(--color-bg-surface);
|
|
97
|
+
border-radius: 8px;
|
|
98
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
99
|
+
width: 240px;
|
|
100
|
+
overflow: hidden;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.date-picker-calendar.placement-bottom {
|
|
104
|
+
bottom: auto;
|
|
105
|
+
top: calc(100% + 4px);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.calendar-head {
|
|
109
|
+
display: flex;
|
|
110
|
+
justify-content: space-between;
|
|
111
|
+
align-items: center;
|
|
112
|
+
padding: 0 8px;
|
|
113
|
+
height: 40px;
|
|
114
|
+
border-bottom: 1px solid var(--color-border-form);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.calendar-head p {
|
|
118
|
+
font-size: 0.875rem;
|
|
119
|
+
color: var(--color-text-primary);
|
|
120
|
+
font-weight: 500;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.nav-btn {
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
width: 28px;
|
|
128
|
+
height: 28px;
|
|
129
|
+
border-radius: 4px;
|
|
130
|
+
color: var(--color-text-tertiary);
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.nav-btn:hover {
|
|
135
|
+
background: var(--color-bg-surface-hover, #f6f8fa);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.calendar-body {
|
|
139
|
+
padding: 8px 12px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.date-grid {
|
|
143
|
+
display: grid;
|
|
144
|
+
grid-template-columns: repeat(7, 1fr);
|
|
145
|
+
gap: 2px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.day-label {
|
|
149
|
+
font-size: 0.75rem;
|
|
150
|
+
color: var(--color-text-tertiary);
|
|
151
|
+
text-align: center;
|
|
152
|
+
padding: 4px 0;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.date-cell {
|
|
156
|
+
display: flex;
|
|
157
|
+
align-items: center;
|
|
158
|
+
justify-content: center;
|
|
159
|
+
width: 28px;
|
|
160
|
+
height: 28px;
|
|
161
|
+
font-size: 0.8rem;
|
|
162
|
+
border-radius: 4px;
|
|
163
|
+
color: var(--color-text-tertiary);
|
|
164
|
+
margin: auto;
|
|
165
|
+
cursor: pointer;
|
|
166
|
+
background: transparent;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.date-cell:hover:not(:disabled) {
|
|
170
|
+
background: var(--color-bg-surface-hover, #f6f8fa);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.date-cell.in-range {
|
|
174
|
+
color: var(--color-text-primary);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.date-cell.is-now {
|
|
178
|
+
border: 1px solid var(--dp-accent);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.date-cell.is-selected {
|
|
182
|
+
background: var(--dp-accent);
|
|
183
|
+
color: #fff;
|
|
184
|
+
font-weight: 500;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.date-cell.is-disabled {
|
|
188
|
+
opacity: 0.35;
|
|
189
|
+
cursor: not-allowed;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.goto-today {
|
|
193
|
+
width: 100%;
|
|
194
|
+
text-align: center;
|
|
195
|
+
line-height: 40px;
|
|
196
|
+
border-top: 1px solid var(--color-border-form);
|
|
197
|
+
font-size: 0.875rem;
|
|
198
|
+
font-weight: 500;
|
|
199
|
+
cursor: pointer;
|
|
200
|
+
color: var(--dp-accent);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.goto-today:hover {
|
|
204
|
+
background: var(--color-bg-surface-hover, #f6f8fa);
|
|
205
|
+
}
|