@aptly-sdk/hq 0.0.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/dist/global.css +454 -0
- package/dist/index.js +1195 -0
- package/package.json +63 -0
package/dist/global.css
ADDED
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties;
|
|
3
|
+
@layer theme, base, components, utilities;
|
|
4
|
+
@layer theme {
|
|
5
|
+
:root, :host {
|
|
6
|
+
--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
7
|
+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
8
|
+
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
9
|
+
"Courier New", monospace;
|
|
10
|
+
--spacing: 0.25rem;
|
|
11
|
+
--default-font-family: var(--font-sans);
|
|
12
|
+
--default-mono-font-family: var(--font-mono);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@layer base {
|
|
16
|
+
*, ::after, ::before, ::backdrop, ::file-selector-button {
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
margin: 0;
|
|
19
|
+
padding: 0;
|
|
20
|
+
border: 0 solid;
|
|
21
|
+
}
|
|
22
|
+
html, :host {
|
|
23
|
+
line-height: 1.5;
|
|
24
|
+
-webkit-text-size-adjust: 100%;
|
|
25
|
+
-moz-tab-size: 4;
|
|
26
|
+
-o-tab-size: 4;
|
|
27
|
+
tab-size: 4;
|
|
28
|
+
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
29
|
+
font-feature-settings: var(--default-font-feature-settings, normal);
|
|
30
|
+
font-variation-settings: var(--default-font-variation-settings, normal);
|
|
31
|
+
-webkit-tap-highlight-color: transparent;
|
|
32
|
+
}
|
|
33
|
+
hr {
|
|
34
|
+
height: 0;
|
|
35
|
+
color: inherit;
|
|
36
|
+
border-top-width: 1px;
|
|
37
|
+
}
|
|
38
|
+
abbr:where([title]) {
|
|
39
|
+
-webkit-text-decoration: underline dotted;
|
|
40
|
+
text-decoration: underline dotted;
|
|
41
|
+
}
|
|
42
|
+
h1, h2, h3, h4, h5, h6 {
|
|
43
|
+
font-size: inherit;
|
|
44
|
+
font-weight: inherit;
|
|
45
|
+
}
|
|
46
|
+
a {
|
|
47
|
+
color: inherit;
|
|
48
|
+
-webkit-text-decoration: inherit;
|
|
49
|
+
text-decoration: inherit;
|
|
50
|
+
}
|
|
51
|
+
b, strong {
|
|
52
|
+
font-weight: bolder;
|
|
53
|
+
}
|
|
54
|
+
code, kbd, samp, pre {
|
|
55
|
+
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
56
|
+
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
|
57
|
+
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
|
58
|
+
font-size: 1em;
|
|
59
|
+
}
|
|
60
|
+
small {
|
|
61
|
+
font-size: 80%;
|
|
62
|
+
}
|
|
63
|
+
sub, sup {
|
|
64
|
+
font-size: 75%;
|
|
65
|
+
line-height: 0;
|
|
66
|
+
position: relative;
|
|
67
|
+
vertical-align: baseline;
|
|
68
|
+
}
|
|
69
|
+
sub {
|
|
70
|
+
bottom: -0.25em;
|
|
71
|
+
}
|
|
72
|
+
sup {
|
|
73
|
+
top: -0.5em;
|
|
74
|
+
}
|
|
75
|
+
table {
|
|
76
|
+
text-indent: 0;
|
|
77
|
+
border-color: inherit;
|
|
78
|
+
border-collapse: collapse;
|
|
79
|
+
}
|
|
80
|
+
:-moz-focusring {
|
|
81
|
+
outline: auto;
|
|
82
|
+
}
|
|
83
|
+
progress {
|
|
84
|
+
vertical-align: baseline;
|
|
85
|
+
}
|
|
86
|
+
summary {
|
|
87
|
+
display: list-item;
|
|
88
|
+
}
|
|
89
|
+
ol, ul, menu {
|
|
90
|
+
list-style: none;
|
|
91
|
+
}
|
|
92
|
+
img, svg, video, canvas, audio, iframe, embed, object {
|
|
93
|
+
display: block;
|
|
94
|
+
vertical-align: middle;
|
|
95
|
+
}
|
|
96
|
+
img, video {
|
|
97
|
+
max-width: 100%;
|
|
98
|
+
height: auto;
|
|
99
|
+
}
|
|
100
|
+
button, input, select, optgroup, textarea, ::file-selector-button {
|
|
101
|
+
font: inherit;
|
|
102
|
+
font-feature-settings: inherit;
|
|
103
|
+
font-variation-settings: inherit;
|
|
104
|
+
letter-spacing: inherit;
|
|
105
|
+
color: inherit;
|
|
106
|
+
border-radius: 0;
|
|
107
|
+
background-color: transparent;
|
|
108
|
+
opacity: 1;
|
|
109
|
+
}
|
|
110
|
+
:where(select:is([multiple], [size])) optgroup {
|
|
111
|
+
font-weight: bolder;
|
|
112
|
+
}
|
|
113
|
+
:where(select:is([multiple], [size])) optgroup option {
|
|
114
|
+
padding-inline-start: 20px;
|
|
115
|
+
}
|
|
116
|
+
::file-selector-button {
|
|
117
|
+
margin-inline-end: 4px;
|
|
118
|
+
}
|
|
119
|
+
::-moz-placeholder {
|
|
120
|
+
opacity: 1;
|
|
121
|
+
}
|
|
122
|
+
::placeholder {
|
|
123
|
+
opacity: 1;
|
|
124
|
+
}
|
|
125
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
126
|
+
::-moz-placeholder {
|
|
127
|
+
color: currentcolor;
|
|
128
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
129
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
::placeholder {
|
|
133
|
+
color: currentcolor;
|
|
134
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
135
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
textarea {
|
|
140
|
+
resize: vertical;
|
|
141
|
+
}
|
|
142
|
+
::-webkit-search-decoration {
|
|
143
|
+
-webkit-appearance: none;
|
|
144
|
+
}
|
|
145
|
+
::-webkit-date-and-time-value {
|
|
146
|
+
min-height: 1lh;
|
|
147
|
+
text-align: inherit;
|
|
148
|
+
}
|
|
149
|
+
::-webkit-datetime-edit {
|
|
150
|
+
display: inline-flex;
|
|
151
|
+
}
|
|
152
|
+
::-webkit-datetime-edit-fields-wrapper {
|
|
153
|
+
padding: 0;
|
|
154
|
+
}
|
|
155
|
+
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
|
|
156
|
+
padding-block: 0;
|
|
157
|
+
}
|
|
158
|
+
::-webkit-calendar-picker-indicator {
|
|
159
|
+
line-height: 1;
|
|
160
|
+
}
|
|
161
|
+
:-moz-ui-invalid {
|
|
162
|
+
box-shadow: none;
|
|
163
|
+
}
|
|
164
|
+
button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
|
|
165
|
+
-webkit-appearance: button;
|
|
166
|
+
-moz-appearance: button;
|
|
167
|
+
appearance: button;
|
|
168
|
+
}
|
|
169
|
+
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
|
170
|
+
height: auto;
|
|
171
|
+
}
|
|
172
|
+
[hidden]:where(:not([hidden="until-found"])) {
|
|
173
|
+
display: none !important;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
@layer utilities {
|
|
177
|
+
.visible {
|
|
178
|
+
visibility: visible;
|
|
179
|
+
}
|
|
180
|
+
.flex {
|
|
181
|
+
display: flex;
|
|
182
|
+
}
|
|
183
|
+
.hidden {
|
|
184
|
+
display: none;
|
|
185
|
+
}
|
|
186
|
+
.inline-block {
|
|
187
|
+
display: inline-block;
|
|
188
|
+
}
|
|
189
|
+
.field-sizing-content {
|
|
190
|
+
field-sizing: content;
|
|
191
|
+
}
|
|
192
|
+
.flex-col {
|
|
193
|
+
flex-direction: column;
|
|
194
|
+
}
|
|
195
|
+
.px-2 {
|
|
196
|
+
padding-inline: calc(var(--spacing) * 2);
|
|
197
|
+
}
|
|
198
|
+
.shadow {
|
|
199
|
+
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
200
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
.aptly-hq-widget {
|
|
204
|
+
width: 378px;
|
|
205
|
+
}
|
|
206
|
+
.default-closed-icon {
|
|
207
|
+
background-color: #1e293b;
|
|
208
|
+
overflow: hidden;
|
|
209
|
+
border-radius: 75px;
|
|
210
|
+
padding: 12px 20px;
|
|
211
|
+
display: flex;
|
|
212
|
+
cursor: pointer;
|
|
213
|
+
color: #ffffff;
|
|
214
|
+
gap: 8px;
|
|
215
|
+
font-weight: 500;
|
|
216
|
+
}
|
|
217
|
+
.default-opened-icon {
|
|
218
|
+
background-color: #1e293b;
|
|
219
|
+
overflow: hidden;
|
|
220
|
+
border-radius: 55px;
|
|
221
|
+
width: 55px;
|
|
222
|
+
height: 55px;
|
|
223
|
+
display: flex;
|
|
224
|
+
justify-content: center;
|
|
225
|
+
align-items: center;
|
|
226
|
+
cursor: pointer;
|
|
227
|
+
color: #0f172a;
|
|
228
|
+
gap: 8px;
|
|
229
|
+
font-weight: 500;
|
|
230
|
+
}
|
|
231
|
+
.widget-header {
|
|
232
|
+
background-color: white;
|
|
233
|
+
display: flex;
|
|
234
|
+
justify-content: space-between;
|
|
235
|
+
align-items: center;
|
|
236
|
+
padding: 16px 20px;
|
|
237
|
+
border-bottom: 1px solid #efefef;
|
|
238
|
+
}
|
|
239
|
+
.widget-form-container {
|
|
240
|
+
display: flex;
|
|
241
|
+
flex-direction: column;
|
|
242
|
+
flex-grow: 1;
|
|
243
|
+
}
|
|
244
|
+
.widget-form-container,
|
|
245
|
+
.widget-message-area {
|
|
246
|
+
padding: 16px 20px;
|
|
247
|
+
overflow-y: auto;
|
|
248
|
+
}
|
|
249
|
+
.aptly-hq-widget label {
|
|
250
|
+
font-size: 14px;
|
|
251
|
+
font-weight: 600;
|
|
252
|
+
display: block;
|
|
253
|
+
}
|
|
254
|
+
.aptly-hq-widget input {
|
|
255
|
+
display: block;
|
|
256
|
+
width: 100%;
|
|
257
|
+
outline-color: #000000;
|
|
258
|
+
border: 1px solid #f6f3f4;
|
|
259
|
+
border-radius: 8px;
|
|
260
|
+
padding: 8px 12px;
|
|
261
|
+
box-shadow: 0 1px 2px 0 #0000000d;
|
|
262
|
+
font-size: 14px;
|
|
263
|
+
background-color: white;
|
|
264
|
+
}
|
|
265
|
+
.aptly-hq-widget textarea {
|
|
266
|
+
display: block;
|
|
267
|
+
width: 100%;
|
|
268
|
+
outline-color: #000000;
|
|
269
|
+
border: 1px solid #f6f3f4;
|
|
270
|
+
border-radius: 8px;
|
|
271
|
+
padding: 8px 12px;
|
|
272
|
+
box-shadow: 0 1px 2px 0 #0000000d;
|
|
273
|
+
font-size: 14px;
|
|
274
|
+
background-color: white;
|
|
275
|
+
resize: none;
|
|
276
|
+
}
|
|
277
|
+
.widget-container {
|
|
278
|
+
border-radius: 2em;
|
|
279
|
+
overflow: hidden;
|
|
280
|
+
height: 480px;
|
|
281
|
+
border: 1px solid #efefef;
|
|
282
|
+
background-color: #f9f9fb;
|
|
283
|
+
display: flex;
|
|
284
|
+
flex-direction: column;
|
|
285
|
+
}
|
|
286
|
+
.widget-start-button {
|
|
287
|
+
background-color: #1e293b;
|
|
288
|
+
color: white;
|
|
289
|
+
display: block;
|
|
290
|
+
width: 100%;
|
|
291
|
+
padding: 8px;
|
|
292
|
+
border-radius: 8px;
|
|
293
|
+
font-size: 14px;
|
|
294
|
+
margin-top: 16px;
|
|
295
|
+
flex-shrink: 0;
|
|
296
|
+
}
|
|
297
|
+
.widget-form {
|
|
298
|
+
flex-grow: 1;
|
|
299
|
+
display: flex;
|
|
300
|
+
flex-direction: column;
|
|
301
|
+
gap: 1em;
|
|
302
|
+
}
|
|
303
|
+
.widget-container button {
|
|
304
|
+
cursor: pointer;
|
|
305
|
+
}
|
|
306
|
+
.widget-message-area-container {
|
|
307
|
+
display: flex;
|
|
308
|
+
flex-direction: column;
|
|
309
|
+
height: 100%;
|
|
310
|
+
}
|
|
311
|
+
.widget-message-area {
|
|
312
|
+
flex-grow: 1;
|
|
313
|
+
display: flex;
|
|
314
|
+
flex-direction: column;
|
|
315
|
+
gap: 8px;
|
|
316
|
+
}
|
|
317
|
+
.widget-message-area-action {
|
|
318
|
+
position: relative;
|
|
319
|
+
flex-shrink: 0;
|
|
320
|
+
padding: 16px;
|
|
321
|
+
}
|
|
322
|
+
.widget-message-area-action textarea {
|
|
323
|
+
padding: 12px 40px 12px 12px;
|
|
324
|
+
font-size: 14px;
|
|
325
|
+
min-height: 40px;
|
|
326
|
+
field-sizing: content;
|
|
327
|
+
max-height: 120px;
|
|
328
|
+
}
|
|
329
|
+
.widget-message-area-action button {
|
|
330
|
+
position: absolute;
|
|
331
|
+
right: 0;
|
|
332
|
+
top: 0;
|
|
333
|
+
bottom: 0;
|
|
334
|
+
padding: 0 28px 0 16px;
|
|
335
|
+
}
|
|
336
|
+
.widget-footer {
|
|
337
|
+
text-align: center;
|
|
338
|
+
padding-bottom: 16px;
|
|
339
|
+
font-size: 14px;
|
|
340
|
+
}
|
|
341
|
+
.widget-footer code {
|
|
342
|
+
text-decoration: underline;
|
|
343
|
+
}
|
|
344
|
+
.widget-message {
|
|
345
|
+
display: flex;
|
|
346
|
+
font-size: 14px;
|
|
347
|
+
word-break: break-all;
|
|
348
|
+
}
|
|
349
|
+
.widget-owner-message {
|
|
350
|
+
justify-content: flex-end;
|
|
351
|
+
color: white;
|
|
352
|
+
text-align: right;
|
|
353
|
+
}
|
|
354
|
+
.widget-owner-message span,
|
|
355
|
+
.widget-agent-message span {
|
|
356
|
+
max-width: 75%;
|
|
357
|
+
display: block;
|
|
358
|
+
background-color: #1e293b;
|
|
359
|
+
padding: 12px 20px;
|
|
360
|
+
border-bottom-left-radius: 24px;
|
|
361
|
+
border-top-left-radius: 24px;
|
|
362
|
+
border-top-right-radius: 24px;
|
|
363
|
+
}
|
|
364
|
+
.widget-agent-message span {
|
|
365
|
+
background-color: #ffffff;
|
|
366
|
+
border: 1px solid #efefef;
|
|
367
|
+
border-bottom-right-radius: 24px;
|
|
368
|
+
border-bottom-left-radius: 0px;
|
|
369
|
+
}
|
|
370
|
+
@property --tw-shadow {
|
|
371
|
+
syntax: "*";
|
|
372
|
+
inherits: false;
|
|
373
|
+
initial-value: 0 0 #0000;
|
|
374
|
+
}
|
|
375
|
+
@property --tw-shadow-color {
|
|
376
|
+
syntax: "*";
|
|
377
|
+
inherits: false;
|
|
378
|
+
}
|
|
379
|
+
@property --tw-shadow-alpha {
|
|
380
|
+
syntax: "<percentage>";
|
|
381
|
+
inherits: false;
|
|
382
|
+
initial-value: 100%;
|
|
383
|
+
}
|
|
384
|
+
@property --tw-inset-shadow {
|
|
385
|
+
syntax: "*";
|
|
386
|
+
inherits: false;
|
|
387
|
+
initial-value: 0 0 #0000;
|
|
388
|
+
}
|
|
389
|
+
@property --tw-inset-shadow-color {
|
|
390
|
+
syntax: "*";
|
|
391
|
+
inherits: false;
|
|
392
|
+
}
|
|
393
|
+
@property --tw-inset-shadow-alpha {
|
|
394
|
+
syntax: "<percentage>";
|
|
395
|
+
inherits: false;
|
|
396
|
+
initial-value: 100%;
|
|
397
|
+
}
|
|
398
|
+
@property --tw-ring-color {
|
|
399
|
+
syntax: "*";
|
|
400
|
+
inherits: false;
|
|
401
|
+
}
|
|
402
|
+
@property --tw-ring-shadow {
|
|
403
|
+
syntax: "*";
|
|
404
|
+
inherits: false;
|
|
405
|
+
initial-value: 0 0 #0000;
|
|
406
|
+
}
|
|
407
|
+
@property --tw-inset-ring-color {
|
|
408
|
+
syntax: "*";
|
|
409
|
+
inherits: false;
|
|
410
|
+
}
|
|
411
|
+
@property --tw-inset-ring-shadow {
|
|
412
|
+
syntax: "*";
|
|
413
|
+
inherits: false;
|
|
414
|
+
initial-value: 0 0 #0000;
|
|
415
|
+
}
|
|
416
|
+
@property --tw-ring-inset {
|
|
417
|
+
syntax: "*";
|
|
418
|
+
inherits: false;
|
|
419
|
+
}
|
|
420
|
+
@property --tw-ring-offset-width {
|
|
421
|
+
syntax: "<length>";
|
|
422
|
+
inherits: false;
|
|
423
|
+
initial-value: 0px;
|
|
424
|
+
}
|
|
425
|
+
@property --tw-ring-offset-color {
|
|
426
|
+
syntax: "*";
|
|
427
|
+
inherits: false;
|
|
428
|
+
initial-value: #fff;
|
|
429
|
+
}
|
|
430
|
+
@property --tw-ring-offset-shadow {
|
|
431
|
+
syntax: "*";
|
|
432
|
+
inherits: false;
|
|
433
|
+
initial-value: 0 0 #0000;
|
|
434
|
+
}
|
|
435
|
+
@layer properties {
|
|
436
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
437
|
+
*, ::before, ::after, ::backdrop {
|
|
438
|
+
--tw-shadow: 0 0 #0000;
|
|
439
|
+
--tw-shadow-color: initial;
|
|
440
|
+
--tw-shadow-alpha: 100%;
|
|
441
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
442
|
+
--tw-inset-shadow-color: initial;
|
|
443
|
+
--tw-inset-shadow-alpha: 100%;
|
|
444
|
+
--tw-ring-color: initial;
|
|
445
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
446
|
+
--tw-inset-ring-color: initial;
|
|
447
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
448
|
+
--tw-ring-inset: initial;
|
|
449
|
+
--tw-ring-offset-width: 0px;
|
|
450
|
+
--tw-ring-offset-color: #fff;
|
|
451
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
}
|