@opentiny/vue-search-box-saas 2.27.1

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/index.css ADDED
@@ -0,0 +1,334 @@
1
+ .tiny-popper.tvp-search-box__dropdown-menu,
2
+ .tvp-search-box__popover {
3
+ width: 232px;
4
+ overflow: auto;
5
+ }
6
+ .tiny-popper.tvp-search-box__dropdown-menu::-webkit-scrollbar,
7
+ .tvp-search-box__popover::-webkit-scrollbar {
8
+ width: var(--tiny-spacing-2, 0.500rem);
9
+ height: var(--tiny-spacing-2, 0.500rem);
10
+ }
11
+ .tiny-popper.tvp-search-box__dropdown-menu::-webkit-scrollbar-corner,
12
+ .tvp-search-box__popover::-webkit-scrollbar-corner {
13
+ background-color: transparent;
14
+ }
15
+ .tiny-popper.tvp-search-box__dropdown-menu::-webkit-scrollbar-track,
16
+ .tvp-search-box__popover::-webkit-scrollbar-track {
17
+ background-color: transparent;
18
+ }
19
+ .tiny-popper.tvp-search-box__dropdown-menu::-webkit-scrollbar-thumb,
20
+ .tvp-search-box__popover::-webkit-scrollbar-thumb {
21
+ background-color: var(--tiny-color-text-disabled, #AEAEAE);
22
+ border-radius: var(--tiny-borderRadius-DEFAULT, 0.250rem);
23
+ }
24
+ .tiny-popper.tvp-search-box__dropdown-menu::-webkit-scrollbar-thumb:hover,
25
+ .tvp-search-box__popover::-webkit-scrollbar-thumb:hover {
26
+ background-color: var(--tiny-color-text-disabled, #AEAEAE);
27
+ }
28
+ .tiny-popper.tvp-search-box__dropdown-menu::-webkit-scrollbar-thumb:active,
29
+ .tvp-search-box__popover::-webkit-scrollbar-thumb:active {
30
+ background-color: var(--tiny-color-text-disabled, #AEAEAE);
31
+ }
32
+ .tiny-popper.tvp-search-box__dropdown-menu.tiny-popper.tvp-search-box__dropdown-menu .tvp-search-box__date-picker .baseClearicon,
33
+ .tiny-popper.tvp-search-box__dropdown-menu.tvp-search-box__popover .tvp-search-box__date-picker .baseClearicon,
34
+ .tvp-search-box__popover.tiny-popper.tvp-search-box__dropdown-menu .tvp-search-box__date-picker .baseClearicon,
35
+ .tvp-search-box__popover.tvp-search-box__popover .tvp-search-box__date-picker .baseClearicon {
36
+ background-color: var(--tiny-color-bg-2, #F5F6F8);
37
+ }
38
+ .tiny-popper.tvp-search-box__dropdown-menu .tiny-form-item.is-error .tvp-search-box-select .tiny-select__tags-group,
39
+ .tvp-search-box__popover .tiny-form-item.is-error .tvp-search-box-select .tiny-select__tags-group {
40
+ border-color: var(--tiny-color-error, #E02128);
41
+ }
42
+ .tiny-popper.tvp-search-box__dropdown-menu .tvp-search-box-select .tiny-select .tiny-svg,
43
+ .tvp-search-box__popover .tvp-search-box-select .tiny-select .tiny-svg {
44
+ z-index: 1000;
45
+ }
46
+ .tiny-popper.tvp-search-box__dropdown-menu .tvp-search-box-select .tiny-select__tags-group,
47
+ .tvp-search-box__popover .tvp-search-box-select .tiny-select__tags-group {
48
+ min-height: var(--tiny-spacing-7, 1.750rem);
49
+ padding: 2px;
50
+ width: 100%;
51
+ border-width: var(--tiny-borderWidth-DEFAULT, 1px);
52
+ border-color: var(--tiny-color-border, #C9C9C9);
53
+ border-radius: var(--tiny-borderRadius-DEFAULT, 0.250rem);
54
+ }
55
+ .tiny-popper.tvp-search-box__dropdown-menu .tvp-search-box-select .tiny-select__tags.is-show-tag,
56
+ .tvp-search-box__popover .tvp-search-box-select .tiny-select__tags.is-show-tag {
57
+ max-width: 276px;
58
+ width: calc(100% - 8px);
59
+ min-height: 30px;
60
+ padding-right: var(--tiny-spacing-5, 1.250rem);
61
+ }
62
+ .tiny-popper.tvp-search-box__dropdown-menu .tvp-search-box-select .tiny-input__suffix,
63
+ .tvp-search-box__popover .tvp-search-box-select .tiny-input__suffix {
64
+ z-index: 1000;
65
+ }
66
+ .tiny-popper.tvp-search-box__dropdown-menu .tvp-search-box-select .tiny-input__inner,
67
+ .tvp-search-box__popover .tvp-search-box-select .tiny-input__inner {
68
+ border-width: var(--tiny-borderWidth-0, 0px);
69
+ overflow: hidden;
70
+ }
71
+ .tiny-popper.tvp-search-box__dropdown-menu input[type='number'],
72
+ .tvp-search-box__popover input[type='number'] {
73
+ -moz-appearance: textfield;
74
+ /* Firefox */
75
+ -webkit-appearance: textfield;
76
+ appearance: textfield;
77
+ }
78
+ .tiny-popper.tvp-search-box__dropdown-menu input[type='number']::-webkit-inner-spin-button,
79
+ .tvp-search-box__popover input[type='number']::-webkit-inner-spin-button,
80
+ .tiny-popper.tvp-search-box__dropdown-menu input[type='number']::-webkit-outer-spin-button,
81
+ .tvp-search-box__popover input[type='number']::-webkit-outer-spin-button {
82
+ -webkit-appearance: none;
83
+ /* Safari */
84
+ margin: var(--tiny-spacing-0, 0px);
85
+ }
86
+ .tvp-search-box__popover.tiny-popover[x-placement^='bottom'] {
87
+ margin-top: var(--tiny-spacing-0, 0px);
88
+ }
89
+ .tvp-search-box {
90
+ display: flex;
91
+ position: relative;
92
+ flex-wrap: wrap;
93
+ align-items: center;
94
+ justify-content: flex-start;
95
+ border-width: var(--tiny-borderWidth-DEFAULT, 1px);
96
+ border-color: var(--tiny-color-border, #C9C9C9);
97
+ border-radius: var(--tiny-borderRadius-DEFAULT, 0.250rem);
98
+ min-height: 28px;
99
+ padding-left: var(--tiny-spacing-8, 2.000rem);
100
+ background-color: var(--tiny-color-bg-1, #FFFFFF);
101
+ }
102
+ .tvp-search-box__form {
103
+ width: auto;
104
+ flex: 1 1 0%;
105
+ min-width: 200px;
106
+ }
107
+ .tvp-search-box__form-popover {
108
+ position: absolute;
109
+ }
110
+ .tvp-search-box:focus-within {
111
+ border-color: var(--tiny-color-brand, #0067D1);
112
+ }
113
+ .tvp-search-box > .tvp-search-box__prefix {
114
+ position: absolute;
115
+ top: 50%;
116
+ --tw-translate-y: -50%;
117
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
118
+ left: var(--tiny-spacing-3, 0.750rem);
119
+ display: inline-block;
120
+ font-size: var(--tiny-fontSize-base, 1rem);
121
+ color: var(--tiny-color-text-placeholder, #AEAEAE);
122
+ }
123
+ .tvp-search-box__text-highlight {
124
+ color: var(--tiny-color-brand, #0067D1);
125
+ }
126
+ .tvp-search-box__placeholder {
127
+ padding-right: var(--tiny-spacing-2, 0.500rem);
128
+ }
129
+ .tvp-search-box__tag {
130
+ margin: 1px;
131
+ max-width: 100%;
132
+ }
133
+ .tvp-search-box__tag > .tvp-search-box__tag-value {
134
+ overflow: hidden;
135
+ text-overflow: ellipsis;
136
+ }
137
+ .tvp-search-box__tag:hover {
138
+ cursor: pointer;
139
+ color: var(--tiny-color-text-primary, #191919);
140
+ fill: var(--tiny-color-text-primary, #191919);
141
+ }
142
+ .tvp-search-box__tag-editor span {
143
+ border-bottom-width: var(--tiny-borderWidth-DEFAULT, 1px);
144
+ border-style: dashed;
145
+ border-color: var(--tiny-color-border, #C9C9C9);
146
+ line-height: 1;
147
+ }
148
+ .tvp-search-box__input .tiny-input-display-only {
149
+ width: calc(100% - 25px - 63px);
150
+ }
151
+ .tvp-search-box__input .tiny-svg {
152
+ margin-left: var(--tiny-spacing-0, 0px);
153
+ }
154
+ .tvp-search-box__input-close {
155
+ margin-right: var(--tiny-spacing-1, 0.250rem);
156
+ }
157
+ .tvp-search-box__input-separator {
158
+ display: inline-block;
159
+ margin-right: var(--tiny-spacing-1, 0.250rem);
160
+ height: 14px;
161
+ width: var(--tiny-spacing-px, 0.0625rem);
162
+ background-color: var(--tiny-color-border, #C9C9C9);
163
+ }
164
+ .tvp-search-box__input-help {
165
+ margin-right: var(--tiny-spacing-0, 0px);
166
+ }
167
+ .tvp-search-box__input .tvp-search-box__input-search {
168
+ display: none;
169
+ margin-right: 2px;
170
+ }
171
+ .tvp-search-box__input-wrapper {
172
+ display: flex;
173
+ align-items: center;
174
+ width: 100%;
175
+ }
176
+ .tvp-search-box .tvp-search-box__dropdown:not(.is-disabled) .tvp-search-box__input:not(.is-disabled) .tiny-input__suffix .tiny-svg {
177
+ font-size: var(--tiny-fontSize-base, 1rem);
178
+ margin-top: var(--tiny-spacing-0, 0px);
179
+ fill: var(--tiny-color-icon-secondary, #595959);
180
+ }
181
+ .tvp-search-box .tvp-search-box__dropdown:not(.is-disabled) .tvp-search-box__input:not(.is-disabled) .tiny-input__suffix .tiny-svg:hover {
182
+ fill: var(--tiny-color-brand-hover, #2E86DE);
183
+ }
184
+ .tvp-search-box .tvp-search-box__dropdown:not(.is-disabled) .tvp-search-box__input:not(.is-disabled) .tiny-input__suffix-inner {
185
+ display: flex;
186
+ align-items: center;
187
+ }
188
+ .tvp-search-box__prop {
189
+ white-space: nowrap;
190
+ vertical-align: middle;
191
+ font-size: var(--tiny-fontSize-sm, 0.875rem);
192
+ }
193
+ .tvp-search-box__prop span {
194
+ padding-left: var(--tiny-spacing-2, 0.500rem);
195
+ }
196
+ .tvp-search-box .tiny-dropdown__trigger {
197
+ display: block;
198
+ }
199
+ .tvp-search-box .tiny-dropdown__trigger:focus-visible {
200
+ outline: 2px solid transparent;
201
+ outline-offset: 2px;
202
+ }
203
+ .tvp-search-box .tiny-dropdown__trigger .tiny-dropdown__title {
204
+ width: 100%;
205
+ }
206
+ .tvp-search-box__dropdown {
207
+ display: block;
208
+ flex: 1 1 0%;
209
+ }
210
+ .tvp-search-box__loading-box {
211
+ min-height: 32px;
212
+ }
213
+ .tvp-search-box__radio-wrap {
214
+ max-height: 240px;
215
+ overflow: auto;
216
+ }
217
+ .tvp-search-box__checkbox-wrap {
218
+ max-height: 186px;
219
+ overflow: auto;
220
+ }
221
+ .tvp-search-box__checkbox {
222
+ flex-direction: column;
223
+ }
224
+ .tvp-search-box__bottom-btn,
225
+ .tvp-search-box__checkbox-btn {
226
+ display: flex;
227
+ border-top-width: var(--tiny-borderWidth-DEFAULT, 1px);
228
+ border-color: var(--tiny-color-border, #C9C9C9);
229
+ margin-top: var(--tiny-spacing-1, 0.250rem);
230
+ margin-bottom: var(--tiny-spacing-1, 0.250rem);
231
+ padding-top: var(--tiny-spacing-2, 0.500rem);
232
+ justify-content: flex-end;
233
+ }
234
+ .tvp-search-box__bottom-btn .tiny-button,
235
+ .tvp-search-box__checkbox-btn .tiny-button {
236
+ min-width: 72px;
237
+ margin-top: var(--tiny-spacing-1, 0.250rem);
238
+ margin-bottom: var(--tiny-spacing-1, 0.250rem);
239
+ }
240
+ .tvp-search-box__checkbox-btn {
241
+ margin-left: var(--tiny-spacing-3, 0.750rem);
242
+ margin-right: var(--tiny-spacing-3, 0.750rem);
243
+ padding-bottom: var(--tiny-spacing-1, 0.250rem);
244
+ }
245
+ .tvp-search-box__filter-type {
246
+ display: inline-block;
247
+ padding-left: var(--tiny-spacing-3, 0.750rem);
248
+ padding-right: var(--tiny-spacing-3, 0.750rem);
249
+ margin-top: var(--tiny-spacing-3, 0.750rem);
250
+ height: 18px;
251
+ line-height: 18px;
252
+ font-weight: 500;
253
+ white-space: nowrap;
254
+ overflow: hidden;
255
+ text-overflow: ellipsis;
256
+ color: var(--tiny-color-text-secondary, #595959);
257
+ padding-left: 10px;
258
+ }
259
+ .tvp-search-box__potential-box {
260
+ min-height: 30px;
261
+ }
262
+ .tvp-search-box__filter-item {
263
+ color: var(--tiny-color-text-primary, #191919);
264
+ }
265
+ .tvp-search-box__dropdown-item.tiny-dropdown-item .tiny-dropdown-item__content.tiny-dropdown-menu__item-content {
266
+ white-space: nowrap;
267
+ overflow: hidden;
268
+ text-overflow: ellipsis;
269
+ }
270
+ .tvp-search-box__dropdown-item.tiny-dropdown-item.tvp-search-box__checkbox-item .tiny-checkbox__inner > .tiny-svg {
271
+ margin-right: var(--tiny-spacing-0, 0px);
272
+ }
273
+ .tvp-search-box__checkbox-item .tvp-search-box__checkbox-item-label,
274
+ .tvp-search-box__checkbox-item .tiny-checkbox,
275
+ .tvp-search-box__checkbox-item .tiny-dropdown-item__label {
276
+ width: 100%;
277
+ }
278
+ .tvp-search-box__checkbox-item-label .tiny-checkbox__label {
279
+ width: 100%;
280
+ overflow: hidden;
281
+ text-overflow: ellipsis;
282
+ }
283
+ .tvp-search-box__checkbox-item .tiny-dropdown-item__wrap {
284
+ padding: var(--tiny-spacing-0, 0px);
285
+ }
286
+ .tvp-search-box__checkbox-item .tiny-checkbox {
287
+ padding-top: 0;
288
+ padding-bottom: 0;
289
+ align-items: flex-end;
290
+ }
291
+ .tvp-search-box__dropdown-title {
292
+ margin-top: var(--tiny-spacing-2, 0.500rem);
293
+ margin-bottom: var(--tiny-spacing-2, 0.500rem);
294
+ line-height: 18px;
295
+ color: var(--tiny-color-text-secondary, #595959);
296
+ font-size: var(--tiny-fontSize-xs, 0.750rem);
297
+ }
298
+ .tvp-search-box__dropdown-start,
299
+ .tvp-search-box__dropdown-end {
300
+ margin-top: var(--tiny-spacing-2, 0.500rem);
301
+ margin-bottom: var(--tiny-spacing-2, 0.500rem);
302
+ font-size: var(--tiny-fontSize-sm, 0.875rem);
303
+ color: var(--tiny-color-text-secondary, #595959);
304
+ letter-spacing: 0em;
305
+ line-height: 1.5;
306
+ }
307
+ .tvp-search-box__panel-box {
308
+ padding-left: 10px;
309
+ padding-right: 10px;
310
+ padding-top: var(--tiny-spacing-0, 0px);
311
+ padding-bottom: var(--tiny-spacing-0, 0px);
312
+ overflow: hidden;
313
+ color: var(--tiny-color-text-secondary, #595959);
314
+ }
315
+ .tvp-search-box__date-item.tiny-form-item,
316
+ .tvp-search-box__number-item.tiny-form-item {
317
+ padding-bottom: var(--tiny-spacing-1, 0.250rem);
318
+ margin-bottom: var(--tiny-spacing-0, 0px);
319
+ }
320
+ .tvp-search-box__date-item.tiny-form-item > div,
321
+ .tvp-search-box__number-item.tiny-form-item > div {
322
+ width: 100%;
323
+ white-space: nowrap;
324
+ }
325
+ .tvp-search-box__date-item.tiny-form-item .tiny-form-item__error,
326
+ .tvp-search-box__number-item.tiny-form-item .tiny-form-item__error {
327
+ font-size: var(--tiny-fontSize-xs, 0.750rem);
328
+ }
329
+ .tvp-search-box__input input {
330
+ border-width: var(--tiny-borderWidth-0, 0px);
331
+ }
332
+ .tvp-search-box__input-wrapper .tvp-search-box__dropdown .tvp-search-box__input .tiny-input__inner {
333
+ padding-left: var(--tiny-spacing-0, 0px);
334
+ }