@sk-web-gui/core 4.1.1 → 4.2.0

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.
Files changed (35) hide show
  1. package/dist/cjs/components/accordion.js +113 -111
  2. package/dist/cjs/components/accordion.js.map +1 -1
  3. package/dist/cjs/components/ai/chat-input.js +91 -0
  4. package/dist/cjs/components/ai/chat-input.js.map +1 -0
  5. package/dist/cjs/components/alert.js +80 -0
  6. package/dist/cjs/components/alert.js.map +1 -0
  7. package/dist/cjs/components/forms.js +9 -0
  8. package/dist/cjs/components/forms.js.map +1 -1
  9. package/dist/cjs/components/input.js +41 -1
  10. package/dist/cjs/components/input.js.map +1 -1
  11. package/dist/cjs/components/progress-bar.js +6 -0
  12. package/dist/cjs/components/progress-bar.js.map +1 -1
  13. package/dist/cjs/components.js +12 -1
  14. package/dist/cjs/components.js.map +1 -1
  15. package/dist/esm/components/accordion.js +113 -111
  16. package/dist/esm/components/accordion.js.map +1 -1
  17. package/dist/esm/components/ai/chat-input.js +81 -0
  18. package/dist/esm/components/ai/chat-input.js.map +1 -0
  19. package/dist/esm/components/alert.js +70 -0
  20. package/dist/esm/components/alert.js.map +1 -0
  21. package/dist/esm/components/forms.js +9 -0
  22. package/dist/esm/components/forms.js.map +1 -1
  23. package/dist/esm/components/input.js +41 -1
  24. package/dist/esm/components/input.js.map +1 -1
  25. package/dist/esm/components/progress-bar.js +6 -0
  26. package/dist/esm/components/progress-bar.js.map +1 -1
  27. package/dist/esm/components.js +12 -1
  28. package/dist/esm/components.js.map +1 -1
  29. package/dist/types/components/accordion.d.ts +108 -106
  30. package/dist/types/components/ai/chat-input.d.ts +79 -0
  31. package/dist/types/components/alert.d.ts +68 -0
  32. package/dist/types/components/forms.d.ts +9 -0
  33. package/dist/types/components/input.d.ts +106 -0
  34. package/dist/types/components/progress-bar.d.ts +6 -0
  35. package/package.json +2 -2
@@ -0,0 +1,81 @@
1
+ export const ChatInput = ()=>({
2
+ '.sk-chat-input': {
3
+ '&-textarea': {
4
+ '@apply flex': {},
5
+ '@apply grow shrink': {},
6
+ '@apply self-start': {},
7
+ '&[data-wrap="true"]': {
8
+ '@apply w-full': {}
9
+ },
10
+ '&[data-wrap="false"]': {
11
+ '@apply w-auto': {}
12
+ },
13
+ '&-sm': {
14
+ '@apply min-h-34+1': {},
15
+ '@apply max-h-[11rem]': {},
16
+ '@apply mt-5': {}
17
+ },
18
+ '&-md': {
19
+ '@apply min-h-42': {},
20
+ '@apply max-h-[13.4rem]': {},
21
+ '@apply mt-4': {}
22
+ },
23
+ '&-lg': {
24
+ '@apply min-h-56': {},
25
+ '@apply max-h-[14.2rem]': {},
26
+ '@apply mt-6': {}
27
+ }
28
+ },
29
+ '&-wrapper': {
30
+ '@apply flex flex-row flex-wrap': {},
31
+ '@apply justify-end': {}
32
+ },
33
+ '&-submitbutton': {
34
+ '@apply shrink-0 flex justify-self-end': {},
35
+ '@apply relative': {},
36
+ '&-sm': {
37
+ '@apply py-5 px-7': {}
38
+ },
39
+ '&-md': {
40
+ '@apply py-7 px-9': {}
41
+ },
42
+ '&-lg': {
43
+ '@apply py-11 px-13': {}
44
+ },
45
+ '&-inner-wrapper': {
46
+ '@apply relative inline-flex items-center': {}
47
+ },
48
+ '&-tooltip': {
49
+ '@apply absolute right-full': {}
50
+ }
51
+ },
52
+ '&-toolbar': {
53
+ '@apply flex': {},
54
+ '@apply relative': {},
55
+ '@apply gap-6': {},
56
+ '@apply bg-transparent': {},
57
+ '@apply justify-start': {},
58
+ '@apply w-auto': {},
59
+ '@apply shrink grow': {},
60
+ '&-sm': {
61
+ '@apply py-5 px-7': {}
62
+ },
63
+ '&-md': {
64
+ '@apply py-7 px-9': {}
65
+ },
66
+ '&-lg': {
67
+ '@apply py-11 px-13': {}
68
+ },
69
+ '&-button': {
70
+ '&-wrapper': {
71
+ '@apply relative inline-flex justify-center overflow-visible': {}
72
+ },
73
+ '&-tooltip': {
74
+ '@apply absolute shrink-0 bottom-full w-max': {}
75
+ }
76
+ }
77
+ }
78
+ }
79
+ });
80
+
81
+ //# sourceMappingURL=chat-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/ai/chat-input.ts"],"sourcesContent":["export const ChatInput = () => ({\r\n '.sk-chat-input': {\r\n '&-textarea': {\r\n '@apply flex': {},\r\n '@apply grow shrink': {},\r\n '@apply self-start': {},\r\n '&[data-wrap=\"true\"]': {\r\n '@apply w-full': {},\r\n },\r\n '&[data-wrap=\"false\"]': {\r\n '@apply w-auto': {},\r\n },\r\n '&-sm': {\r\n '@apply min-h-34+1': {},\r\n '@apply max-h-[11rem]': {},\r\n '@apply mt-5': {},\r\n },\r\n '&-md': {\r\n '@apply min-h-42': {},\r\n '@apply max-h-[13.4rem]': {},\r\n '@apply mt-4': {},\r\n },\r\n '&-lg': {\r\n '@apply min-h-56': {},\r\n '@apply max-h-[14.2rem]': {},\r\n '@apply mt-6': {},\r\n },\r\n },\r\n\r\n '&-wrapper': {\r\n '@apply flex flex-row flex-wrap': {},\r\n '@apply justify-end': {},\r\n },\r\n\r\n '&-submitbutton': {\r\n '@apply shrink-0 flex justify-self-end': {},\r\n '@apply relative': {},\r\n '&-sm': {\r\n '@apply py-5 px-7': {},\r\n },\r\n '&-md': {\r\n '@apply py-7 px-9': {},\r\n },\r\n '&-lg': {\r\n '@apply py-11 px-13': {},\r\n },\r\n '&-inner-wrapper': {\r\n '@apply relative inline-flex items-center': {},\r\n },\r\n '&-tooltip': {\r\n '@apply absolute right-full': {},\r\n },\r\n },\r\n\r\n '&-toolbar': {\r\n '@apply flex': {},\r\n '@apply relative': {},\r\n '@apply gap-6': {},\r\n '@apply bg-transparent': {},\r\n '@apply justify-start': {},\r\n '@apply w-auto': {},\r\n '@apply shrink grow': {},\r\n '&-sm': {\r\n '@apply py-5 px-7': {},\r\n },\r\n '&-md': {\r\n '@apply py-7 px-9': {},\r\n },\r\n '&-lg': {\r\n '@apply py-11 px-13': {},\r\n },\r\n '&-button': {\r\n '&-wrapper': {\r\n '@apply relative inline-flex justify-center overflow-visible': {},\r\n },\r\n '&-tooltip': {\r\n '@apply absolute shrink-0 bottom-full w-max': {},\r\n },\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["ChatInput"],"mappings":"AAAA,OAAO,MAAMA,YAAY,IAAO,CAAA;QAC9B,kBAAkB;YAChB,cAAc;gBACZ,eAAe,CAAC;gBAChB,sBAAsB,CAAC;gBACvB,qBAAqB,CAAC;gBACtB,uBAAuB;oBACrB,iBAAiB,CAAC;gBACpB;gBACA,wBAAwB;oBACtB,iBAAiB,CAAC;gBACpB;gBACA,QAAQ;oBACN,qBAAqB,CAAC;oBACtB,wBAAwB,CAAC;oBACzB,eAAe,CAAC;gBAClB;gBACA,QAAQ;oBACN,mBAAmB,CAAC;oBACpB,0BAA0B,CAAC;oBAC3B,eAAe,CAAC;gBAClB;gBACA,QAAQ;oBACN,mBAAmB,CAAC;oBACpB,0BAA0B,CAAC;oBAC3B,eAAe,CAAC;gBAClB;YACF;YAEA,aAAa;gBACX,kCAAkC,CAAC;gBACnC,sBAAsB,CAAC;YACzB;YAEA,kBAAkB;gBAChB,yCAAyC,CAAC;gBAC1C,mBAAmB,CAAC;gBACpB,QAAQ;oBACN,oBAAoB,CAAC;gBACvB;gBACA,QAAQ;oBACN,oBAAoB,CAAC;gBACvB;gBACA,QAAQ;oBACN,sBAAsB,CAAC;gBACzB;gBACA,mBAAmB;oBACjB,4CAA4C,CAAC;gBAC/C;gBACA,aAAa;oBACX,8BAA8B,CAAC;gBACjC;YACF;YAEA,aAAa;gBACX,eAAe,CAAC;gBAChB,mBAAmB,CAAC;gBACpB,gBAAgB,CAAC;gBACjB,yBAAyB,CAAC;gBAC1B,wBAAwB,CAAC;gBACzB,iBAAiB,CAAC;gBAClB,sBAAsB,CAAC;gBACvB,QAAQ;oBACN,oBAAoB,CAAC;gBACvB;gBACA,QAAQ;oBACN,oBAAoB,CAAC;gBACvB;gBACA,QAAQ;oBACN,sBAAsB,CAAC;gBACzB;gBACA,YAAY;oBACV,aAAa;wBACX,+DAA+D,CAAC;oBAClE;oBACA,aAAa;wBACX,8CAA8C,CAAC;oBACjD;gBACF;YACF;QACF;IACF,CAAA,EAAG"}
@@ -0,0 +1,70 @@
1
+ export const Alert = ()=>({
2
+ '.sk-alert': {
3
+ '@apply flex rounded-button': {},
4
+ '&-sm': {
5
+ '@apply rounded-xl gap-8 pl-10 pr-6': {},
6
+ '.sk-alert-icon': {
7
+ '@apply pt-6': {}
8
+ }
9
+ },
10
+ '&-md': {
11
+ '@apply gap-12 pl-16 pr-12 py-12': {},
12
+ '.sk-alert-icon': {
13
+ '@apply pt-6': {}
14
+ }
15
+ },
16
+ '&-lg': {
17
+ '@apply gap-12 pl-16 pr-12 py-12': {},
18
+ '.sk-alert-icon': {
19
+ '@apply pt-6': {}
20
+ }
21
+ },
22
+ '&-content': {
23
+ '@apply flex flex-col w-full grow': {},
24
+ '&-description': {
25
+ '@apply text-small': {}
26
+ },
27
+ '&-sm': {
28
+ '@apply py-6': {},
29
+ '.sk-alert-content-title': {
30
+ '@apply text-small m-0': {}
31
+ }
32
+ },
33
+ '&-md': {
34
+ '@apply py-4': {},
35
+ '.sk-alert-content-title': {
36
+ '@apply text-base': {}
37
+ }
38
+ },
39
+ '&-lg': {
40
+ '@apply py-4': {},
41
+ '.sk-alert-content-title': {
42
+ '@apply text-large': {}
43
+ }
44
+ }
45
+ },
46
+ '&-icon': {
47
+ '@apply flex-none': {}
48
+ },
49
+ '&-button': {
50
+ '@apply flex-none justify-self-end': {}
51
+ },
52
+ '&-info': {
53
+ '@apply border-1 border-vattjom-surface-primary bg-vattjom-background-100': {}
54
+ },
55
+ '&-neutral': {
56
+ '@apply border-1 border-divider bg-background-100': {}
57
+ },
58
+ '&-success': {
59
+ '@apply border-1 border-gronsta-surface-primary bg-gronsta-background-100': {}
60
+ },
61
+ '&-warning': {
62
+ '@apply border-1 border-warning-surface-primary bg-warning-background-100': {}
63
+ },
64
+ '&-error': {
65
+ '@apply border-1 border-error-surface-primary bg-error-background-100': {}
66
+ }
67
+ }
68
+ });
69
+
70
+ //# sourceMappingURL=alert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/alert.ts"],"sourcesContent":["export const Alert = () => ({\r\n '.sk-alert': {\r\n '@apply flex rounded-button': {},\r\n '&-sm': {\r\n '@apply rounded-xl gap-8 pl-10 pr-6': {},\r\n '.sk-alert-icon': {\r\n '@apply pt-6': {},\r\n },\r\n },\r\n '&-md': {\r\n '@apply gap-12 pl-16 pr-12 py-12': {},\r\n '.sk-alert-icon': {\r\n '@apply pt-6': {},\r\n },\r\n },\r\n '&-lg': {\r\n '@apply gap-12 pl-16 pr-12 py-12': {},\r\n '.sk-alert-icon': {\r\n '@apply pt-6': {},\r\n },\r\n },\r\n '&-content': {\r\n '@apply flex flex-col w-full grow': {},\r\n '&-description': {\r\n '@apply text-small': {},\r\n },\r\n '&-sm': {\r\n '@apply py-6': {},\r\n '.sk-alert-content-title': {\r\n '@apply text-small m-0': {},\r\n },\r\n },\r\n '&-md': {\r\n '@apply py-4': {},\r\n '.sk-alert-content-title': {\r\n '@apply text-base': {},\r\n },\r\n },\r\n '&-lg': {\r\n '@apply py-4': {},\r\n '.sk-alert-content-title': {\r\n '@apply text-large': {},\r\n },\r\n },\r\n },\r\n '&-icon': {\r\n '@apply flex-none': {},\r\n },\r\n '&-button': {\r\n '@apply flex-none justify-self-end': {},\r\n },\r\n '&-info': {\r\n '@apply border-1 border-vattjom-surface-primary bg-vattjom-background-100': {},\r\n },\r\n '&-neutral': {\r\n '@apply border-1 border-divider bg-background-100': {},\r\n },\r\n '&-success': {\r\n '@apply border-1 border-gronsta-surface-primary bg-gronsta-background-100': {},\r\n },\r\n '&-warning': {\r\n '@apply border-1 border-warning-surface-primary bg-warning-background-100': {},\r\n },\r\n '&-error': {\r\n '@apply border-1 border-error-surface-primary bg-error-background-100': {},\r\n },\r\n },\r\n});\r\n"],"names":["Alert"],"mappings":"AAAA,OAAO,MAAMA,QAAQ,IAAO,CAAA;QAC1B,aAAa;YACX,8BAA8B,CAAC;YAC/B,QAAQ;gBACN,sCAAsC,CAAC;gBACvC,kBAAkB;oBAChB,eAAe,CAAC;gBAClB;YACF;YACA,QAAQ;gBACN,mCAAmC,CAAC;gBACpC,kBAAkB;oBAChB,eAAe,CAAC;gBAClB;YACF;YACA,QAAQ;gBACN,mCAAmC,CAAC;gBACpC,kBAAkB;oBAChB,eAAe,CAAC;gBAClB;YACF;YACA,aAAa;gBACX,oCAAoC,CAAC;gBACrC,iBAAiB;oBACf,qBAAqB,CAAC;gBACxB;gBACA,QAAQ;oBACN,eAAe,CAAC;oBAChB,2BAA2B;wBACzB,yBAAyB,CAAC;oBAC5B;gBACF;gBACA,QAAQ;oBACN,eAAe,CAAC;oBAChB,2BAA2B;wBACzB,oBAAoB,CAAC;oBACvB;gBACF;gBACA,QAAQ;oBACN,eAAe,CAAC;oBAChB,2BAA2B;wBACzB,qBAAqB,CAAC;oBACxB;gBACF;YACF;YACA,UAAU;gBACR,oBAAoB,CAAC;YACvB;YACA,YAAY;gBACV,qCAAqC,CAAC;YACxC;YACA,UAAU;gBACR,4EAA4E,CAAC;YAC/E;YACA,aAAa;gBACX,oDAAoD,CAAC;YACvD;YACA,aAAa;gBACX,4EAA4E,CAAC;YAC/E;YACA,aAAa;gBACX,4EAA4E,CAAC;YAC/E;YACA,WAAW;gBACT,wEAAwE,CAAC;YAC3E;QACF;IACF,CAAA,EAAG"}
@@ -20,6 +20,15 @@ export const Forms = ()=>({
20
20
  '.sk-form-helper-text, .sk-form-error-message': {
21
21
  '@apply font-normal': {},
22
22
  '@apply text-small': {}
23
+ },
24
+ '.sk-form-error-message': {
25
+ '@apply text-error': {},
26
+ '@apply flex items-start gap-8': {},
27
+ '@apply self-stretch': {}
28
+ },
29
+ '.sk-form-error-message-icon': {
30
+ '@apply shrink-0': {},
31
+ '@apply pt-1': {}
23
32
  }
24
33
  });
25
34
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/forms.ts"],"sourcesContent":["export const Forms = () => ({\r\n '.sk-form-control': {\r\n '@apply flex flex-col gap-8 w-fit': {},\r\n },\r\n\r\n '.sk-form-label': {\r\n '@apply font-bold': {},\r\n '&-sm': {\r\n '@apply text-label-small': {},\r\n },\r\n '&-md': {\r\n '@apply text-label-medium': {},\r\n },\r\n '&-lg': {\r\n '@apply text-label-large': {},\r\n },\r\n },\r\n\r\n 'legend.sk-form-label': {\r\n display: 'contents',\r\n },\r\n\r\n '.sk-form-helper-text, .sk-form-error-message': {\r\n '@apply font-normal': {},\r\n '@apply text-small': {},\r\n },\r\n});\r\n"],"names":["Forms","display"],"mappings":"AAAA,OAAO,MAAMA,QAAQ,IAAO,CAAA;QAC1B,oBAAoB;YAClB,oCAAoC,CAAC;QACvC;QAEA,kBAAkB;YAChB,oBAAoB,CAAC;YACrB,QAAQ;gBACN,2BAA2B,CAAC;YAC9B;YACA,QAAQ;gBACN,4BAA4B,CAAC;YAC/B;YACA,QAAQ;gBACN,2BAA2B,CAAC;YAC9B;QACF;QAEA,wBAAwB;YACtBC,SAAS;QACX;QAEA,gDAAgD;YAC9C,sBAAsB,CAAC;YACvB,qBAAqB,CAAC;QACxB;IACF,CAAA,EAAG"}
1
+ {"version":3,"sources":["../../../src/components/forms.ts"],"sourcesContent":["export const Forms = () => ({\r\n '.sk-form-control': {\r\n '@apply flex flex-col gap-8 w-fit': {},\r\n },\r\n\r\n '.sk-form-label': {\r\n '@apply font-bold': {},\r\n '&-sm': {\r\n '@apply text-label-small': {},\r\n },\r\n '&-md': {\r\n '@apply text-label-medium': {},\r\n },\r\n '&-lg': {\r\n '@apply text-label-large': {},\r\n },\r\n },\r\n\r\n 'legend.sk-form-label': {\r\n display: 'contents',\r\n },\r\n\r\n '.sk-form-helper-text, .sk-form-error-message': {\r\n '@apply font-normal': {},\r\n '@apply text-small': {},\r\n },\r\n '.sk-form-error-message': {\r\n '@apply text-error': {},\r\n '@apply flex items-start gap-8': {},\r\n '@apply self-stretch': {},\r\n },\r\n '.sk-form-error-message-icon': {\r\n '@apply shrink-0': {},\r\n '@apply pt-1': {},\r\n },\r\n});\r\n"],"names":["Forms","display"],"mappings":"AAAA,OAAO,MAAMA,QAAQ,IAAO,CAAA;QAC1B,oBAAoB;YAClB,oCAAoC,CAAC;QACvC;QAEA,kBAAkB;YAChB,oBAAoB,CAAC;YACrB,QAAQ;gBACN,2BAA2B,CAAC;YAC9B;YACA,QAAQ;gBACN,4BAA4B,CAAC;YAC/B;YACA,QAAQ;gBACN,2BAA2B,CAAC;YAC9B;QACF;QAEA,wBAAwB;YACtBC,SAAS;QACX;QAEA,gDAAgD;YAC9C,sBAAsB,CAAC;YACvB,qBAAqB,CAAC;QACxB;QACA,0BAA0B;YACxB,qBAAqB,CAAC;YACtB,iCAAiC,CAAC;YAClC,uBAAuB,CAAC;QAC1B;QACA,+BAA+B;YAC7B,mBAAmB,CAAC;YACpB,eAAe,CAAC;QAClB;IACF,CAAA,EAAG"}
@@ -281,6 +281,45 @@ function timeAndDatePicker() {
281
281
  }
282
282
  };
283
283
  }
284
+ function textareaGroup() {
285
+ return {
286
+ '&-textarea': {
287
+ ...inputGroup(),
288
+ '&-group-inner': {
289
+ '@apply h-auto': {},
290
+ '@apply flex-wrap': {},
291
+ '.sk-form-input-textarea': {
292
+ '@apply w-full': {}
293
+ },
294
+ '.sk-form-textarea-counter': {
295
+ '@apply w-full': {},
296
+ '@apply border-t-divider border-t-1': {}
297
+ },
298
+ '&&-lg': {
299
+ '@apply min-h-48 h-auto': {},
300
+ '.sk-form-textarea-counter': {
301
+ '@apply px-20': {},
302
+ '@apply py-11': {}
303
+ }
304
+ },
305
+ '&&-md': {
306
+ '@apply min-h-40 h-auto': {},
307
+ '.sk-form-textarea-counter': {
308
+ '@apply px-16': {},
309
+ '@apply py-7': {}
310
+ }
311
+ },
312
+ '&&-sm': {
313
+ '@apply min-h-32 h-auto': {},
314
+ '.sk-form-textarea-counter': {
315
+ '@apply px-12': {},
316
+ '@apply py-5': {}
317
+ }
318
+ }
319
+ }
320
+ }
321
+ };
322
+ }
284
323
  export const Input = ()=>({
285
324
  '.sk-form-input': {
286
325
  '@apply grow-0': {},
@@ -339,7 +378,8 @@ export const Input = ()=>({
339
378
  ...inputStandards(),
340
379
  ...inputGroup(),
341
380
  ...addin(),
342
- ...addon()
381
+ ...addon(),
382
+ ...textareaGroup()
343
383
  }
344
384
  });
345
385
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/input.ts"],"sourcesContent":["function calendar() {\r\n return `<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect width='18' height='18' x='3' y='4' rx='2' ry='2' /><line x1='16' x2='16' y1='2' y2='6' /><line x1='8' x2='8' y1='2' y2='6' /><line x1='3' x2='21' y1='10' y2='10' /></svg>`;\r\n}\r\nfunction clock() {\r\n return `<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10' /><polyline points='12 6 12 12 16 14' /></svg>`;\r\n}\r\n\r\nfunction inputStandards() {\r\n return {\r\n '@apply border-1': {},\r\n '@apply border-input-field-outline': {},\r\n '@apply hover:border-input-field-outline-hover': {},\r\n\r\n '@apply placeholder:text-dark-placeholder': {},\r\n\r\n '@apply bg-input-field-surface': {},\r\n\r\n //Invalid\r\n '&:invalid, &[aria-invalid=\"true\"]': {\r\n '@apply border-2 border-error-surface-primary': {},\r\n },\r\n\r\n //Disabled\r\n '&:disabled, &[aria-disabled=\"true\"]': {\r\n '@apply bg-input-field-surface-disabled': {},\r\n '@apply border-input-field-outline-disabled': {},\r\n '@apply hover:border-input-field-outline-disabled': {},\r\n '@apply text-dark-disabled': {},\r\n },\r\n\r\n //readOnly\r\n '&:read-only': {\r\n '@apply bg-input-field-surface': {},\r\n '@apply border-input-field-outline-disabled': {},\r\n '@apply text-dark-secondary': {},\r\n '@apply placeholder:text-dark-secondary': {},\r\n },\r\n };\r\n}\r\n\r\nfunction addin() {\r\n return {\r\n '&-addin': {\r\n '@apply bg-transparent': {},\r\n '@apply flex': {},\r\n '@apply justify-start items-center': {},\r\n '&-sm': {\r\n '@apply px-6 gap-6': {},\r\n '&.sk-form-input-addin-left': {\r\n '@apply -mr-12': {},\r\n '@apply pl-10': {},\r\n },\r\n '&.sk-form-input-addin-right': {\r\n '@apply -ml-12': {},\r\n '@apply pr-10': {},\r\n },\r\n svg: {\r\n '@apply w-16 h-16': {},\r\n },\r\n },\r\n '&-md': {\r\n '@apply md:px-8 md:gap-8': {},\r\n '&.sk-form-input-addin-left': {\r\n '@apply -mr-16': {},\r\n '@apply pl-12': {},\r\n },\r\n '&.sk-form-input-addin-right': {\r\n '@apply -ml-16': {},\r\n '@apply pr-12': {},\r\n },\r\n svg: {\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n '&-lg': {\r\n '@apply md:px-8 md:gap-8': {},\r\n '&.sk-form-input-addin-left': {\r\n '@apply -mr-20': {},\r\n '@apply pl-16': {},\r\n },\r\n '&.sk-form-input-addin-right': {\r\n '@apply -ml-20': {},\r\n '@apply pr-16': {},\r\n },\r\n svg: {\r\n '@apply w-22 h-22': {},\r\n },\r\n },\r\n },\r\n };\r\n}\r\n\r\nfunction addon() {\r\n return {\r\n '&-addon': {\r\n '@apply flex flex-none relative': {},\r\n '@apply items-center': {},\r\n '@apply focus-within:ring': {},\r\n '@apply focus-within:ring-ring': {},\r\n '@apply text-dark-secondary': {},\r\n //Focus\r\n '@apply focus-within:border-input-field-surface': {},\r\n\r\n '&:not(:invalid):not([aria-invalid=\"true\"])': {\r\n '@apply focus-within:border-input-field-surface': {},\r\n },\r\n\r\n '&&-lg': {\r\n '@apply text-input-large': {},\r\n '@apply rounded-button-lg': {},\r\n '@apply h-48': {},\r\n },\r\n '&&-md': {\r\n '@apply text-input-medium': {},\r\n '@apply rounded-button-md': {},\r\n '@apply h-40': {},\r\n },\r\n '&&-sm': {\r\n '@apply text-input-small': {},\r\n '@apply rounded-button-sm': {},\r\n '@apply h-32': {},\r\n },\r\n '&&-left': {\r\n '@apply rounded-r-0': {},\r\n '@apply border-r-0': {},\r\n },\r\n '&&-right': {\r\n '@apply rounded-l-0': {},\r\n '@apply border-l-0': {},\r\n },\r\n ...inputStandards(),\r\n '.sk-form-input': {\r\n '@apply rounded-0': {},\r\n '@apply border-0': {},\r\n '@apply focus:ring-0': {},\r\n '@apply focus:ring-offset-0': {},\r\n '@apply bg-transparent': {},\r\n '@apply dark:bg-transparent': {},\r\n '@apply grow': {},\r\n },\r\n '.sk-form-select': {\r\n '@apply rounded-0': {},\r\n '@apply border-0 hover:border-0': {},\r\n '@apply focus:ring-0 focus:z-10': {},\r\n '@apply focus:ring-offset-0': {},\r\n '@apply bg-transparent hover:bg-transparent': {},\r\n '@apply dark:bg-transparent hover:dark:bg-transparent': {},\r\n '@apply grow': {},\r\n },\r\n '&&-left .sk-form-select': {\r\n '@apply border-r-1 border-r-divider': {},\r\n '@apply focus:border-r-transparent': {},\r\n },\r\n '&&-right .sk-form-select': {\r\n '@apply border-l-1 border-l-divider': {},\r\n '@apply focus:border-l-transparent': {},\r\n },\r\n '.sk-form-combobox': {\r\n '@apply rounded-0': {},\r\n '@apply border-0': {},\r\n '@apply focus-within:ring-0': {},\r\n '@apply focus-within:ring-offset-0': {},\r\n '@apply bg-transparent': {},\r\n '@apply dark:bg-transparent': {},\r\n },\r\n '&&-left .sk-form-combobox': {\r\n '@apply border-r-1 border-r-divider': {},\r\n '@apply focus:border-r-transparent': {},\r\n },\r\n '&&-right .sk-form-combobox': {\r\n '@apply border-l-1 border-l-divider': {},\r\n '@apply focus:border-l-transparent': {},\r\n },\r\n },\r\n };\r\n}\r\nfunction inputGroup() {\r\n return {\r\n '&-group': {\r\n '&-outer': {\r\n '@apply flex gap-0 max-w-full': {},\r\n '&[data-hasleftaddon=\"true\"]': {\r\n '.sk-form-input, .sk-form-input-group-inner': {\r\n '@apply rounded-l-0': {},\r\n '@apply border-l-0': {},\r\n },\r\n },\r\n '&[data-hasrightaddon=\"true\"]': {\r\n '.sk-form-input, .sk-form-input-group-inner': {\r\n '@apply rounded-r-0': {},\r\n '@apply border-r-0': {},\r\n },\r\n },\r\n },\r\n '&-inner': {\r\n '@apply flex relative grow': {},\r\n '@apply items-center': {},\r\n '@apply focus-within:ring': {},\r\n '@apply focus-within:ring-ring': {},\r\n '@apply text-dark-secondary': {},\r\n //Focus\r\n '@apply focus-within:border-input-field-surface': {},\r\n\r\n '&:not(:invalid):not([aria-invalid=\"true\"])': {\r\n '@apply focus-within:border-input-field-surface': {},\r\n },\r\n\r\n '&&-lg': {\r\n '@apply text-input-large': {},\r\n '@apply rounded-button-lg': {},\r\n '@apply h-48': {},\r\n },\r\n '&&-md': {\r\n '@apply text-input-medium': {},\r\n '@apply rounded-button-md': {},\r\n '@apply h-40': {},\r\n },\r\n '&&-sm': {\r\n '@apply text-input-small': {},\r\n '@apply rounded-button-sm': {},\r\n '@apply h-32': {},\r\n },\r\n\r\n ...inputStandards(),\r\n '.sk-form-input': {\r\n '@apply rounded-0': {},\r\n '@apply border-0': {},\r\n '@apply focus:ring-0': {},\r\n '@apply focus:ring-offset-0': {},\r\n '@apply bg-transparent': {},\r\n '@apply dark:bg-transparent': {},\r\n '@apply grow': {},\r\n },\r\n },\r\n },\r\n };\r\n}\r\n\r\nfunction timeAndDatePicker() {\r\n return {\r\n '&::-webkit-inner-spin-button, &::-webkit-calendar-picker-indicator': {\r\n '@apply block': {},\r\n '@apply p-0': {},\r\n '@apply pl-6 md:pl-8': {},\r\n '@apply m-0': {},\r\n '@apply bg-none': {},\r\n '@apply bg-dark-secondary': {},\r\n '&.sk-form-input-sm': {\r\n '@apply w-16 h-16': {},\r\n '@apply -mr-2': {},\r\n },\r\n '&.sk-form-input-md': {\r\n '@apply -mr-4': {},\r\n '@apply w-18 h-18': {},\r\n },\r\n '&.sk-form-input-lg': {\r\n '@apply -mr-6': {},\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n\r\n '&[type=\"date\"]::-webkit-inner-spin-button, &[type=\"date\"]::-webkit-calendar-picker-indicator': {\r\n mask: [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n '-webkit-mask': [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n maskSize: 'contain',\r\n '-webkit-mask-size': 'contain',\r\n },\r\n '&[type=\"datetime-local\"]::-webkit-inner-spin-button, &[type=\"datetime-local\"]::-webkit-calendar-picker-indicator':\r\n {\r\n mask: [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n '-webkit-mask': [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n maskSize: 'contain',\r\n '-webkit-mask-size': 'contain',\r\n },\r\n '&[type=\"time\"]::-webkit-inner-spin-button, &[type=\"time\"]::-webkit-calendar-picker-indicator': {\r\n mask: [`url(\"data:image/svg+xml;utf-8,${clock()}\") no-repeat 100% 100%`],\r\n '-webkit-mask': [`url(\"data:image/svg+xml;utf-8,${clock()}\") no-repeat 100% 100%`],\r\n maskSize: 'contain',\r\n '-webkit-mask-size': 'contain',\r\n },\r\n\r\n '&:disabled, &[aria-disabled=\"true\"]': {\r\n '&::-webkit-inner-spin-button, &::-webkit-calendar-picker-indicator': {\r\n '@apply color-black-disabled': {},\r\n },\r\n },\r\n };\r\n}\r\n\r\nexport const Input = () => ({\r\n '.sk-form-input': {\r\n '@apply grow-0': {},\r\n '@apply text-dark-primary': {},\r\n\r\n '&[data-hideextra=\"true\"]': {\r\n '&::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {\r\n '-webkit-appearance': 'none',\r\n display: 'none',\r\n margin: '0px',\r\n },\r\n '-moz-appearance': 'textfield',\r\n },\r\n\r\n '&&-lg': {\r\n '@apply rounded-button-lg': {},\r\n '@apply px-20': {},\r\n '@apply py-11': {},\r\n '@apply gap-8': {},\r\n '@apply text-input-large': {},\r\n '@apply h-48': {},\r\n },\r\n '&&-md': {\r\n '@apply rounded-button-md': {},\r\n '@apply px-16': {},\r\n '@apply py-7': {},\r\n '@apply gap-8': {},\r\n '@apply text-input-medium': {},\r\n '@apply h-40': {},\r\n },\r\n '&&-sm': {\r\n '@apply rounded-button-sm': {},\r\n '@apply px-12': {},\r\n '@apply py-5': {},\r\n '@apply gap-6': {},\r\n '@apply text-input-small': {},\r\n '@apply h-32': {},\r\n },\r\n '&&-textarea': {\r\n '@apply h-auto': {},\r\n '&-warning': {\r\n '@apply sr-only': {},\r\n },\r\n },\r\n\r\n //Focus\r\n '@apply focus:ring': {},\r\n '@apply focus:ring-ring': {},\r\n '@apply focus:ring-offset': {},\r\n '@apply focus:border-input-field-surface': {},\r\n '@apply focus-within:ring': {},\r\n '@apply focus-within:ring-ring': {},\r\n '@apply focus-within:ring-offset': {},\r\n '@apply focus-within:border-input-field-surface': {},\r\n '&:not(:invalid):not([aria-invalid=\"true\"])': {\r\n '@apply focus:hover:border-input-field-surface': {},\r\n },\r\n ...timeAndDatePicker(),\r\n ...inputStandards(),\r\n ...inputGroup(),\r\n ...addin(),\r\n ...addon(),\r\n },\r\n});\r\n"],"names":["calendar","clock","inputStandards","addin","svg","addon","inputGroup","timeAndDatePicker","mask","maskSize","Input","display","margin"],"mappings":"AAAA,SAASA;IACP,OAAO,CAAC,qWAAqW,CAAC;AAChX;AACA,SAASC;IACP,OAAO,CAAC,kQAAkQ,CAAC;AAC7Q;AAEA,SAASC;IACP,OAAO;QACL,mBAAmB,CAAC;QACpB,qCAAqC,CAAC;QACtC,iDAAiD,CAAC;QAElD,4CAA4C,CAAC;QAE7C,iCAAiC,CAAC;QAElC,SAAS;QACT,qCAAqC;YACnC,gDAAgD,CAAC;QACnD;QAEA,UAAU;QACV,uCAAuC;YACrC,0CAA0C,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,CAAC;YACtB,0BAA0B,CAAC;YAC3B,4BAA4B,CAAC;YAC7B,2CAA2C,CAAC;YAC5C,4BAA4B,CAAC;YAC7B,iCAAiC,CAAC;YAClC,mCAAmC,CAAC;YACpC,kDAAkD,CAAC;YACnD,8CAA8C;gBAC5C,iDAAiD,CAAC;YACpD;YACA,GAAGL,mBAAmB;YACtB,GAAGL,gBAAgB;YACnB,GAAGI,YAAY;YACf,GAAGH,OAAO;YACV,GAAGE,OAAO;QACZ;IACF,CAAA,EAAG"}
1
+ {"version":3,"sources":["../../../src/components/input.ts"],"sourcesContent":["function calendar() {\r\n return `<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect width='18' height='18' x='3' y='4' rx='2' ry='2' /><line x1='16' x2='16' y1='2' y2='6' /><line x1='8' x2='8' y1='2' y2='6' /><line x1='3' x2='21' y1='10' y2='10' /></svg>`;\r\n}\r\nfunction clock() {\r\n return `<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10' /><polyline points='12 6 12 12 16 14' /></svg>`;\r\n}\r\n\r\nfunction inputStandards() {\r\n return {\r\n '@apply border-1': {},\r\n '@apply border-input-field-outline': {},\r\n '@apply hover:border-input-field-outline-hover': {},\r\n\r\n '@apply placeholder:text-dark-placeholder': {},\r\n\r\n '@apply bg-input-field-surface': {},\r\n\r\n //Invalid\r\n '&:invalid, &[aria-invalid=\"true\"]': {\r\n '@apply border-2 border-error-surface-primary': {},\r\n },\r\n\r\n //Disabled\r\n '&:disabled, &[aria-disabled=\"true\"]': {\r\n '@apply bg-input-field-surface-disabled': {},\r\n '@apply border-input-field-outline-disabled': {},\r\n '@apply hover:border-input-field-outline-disabled': {},\r\n '@apply text-dark-disabled': {},\r\n },\r\n\r\n //readOnly\r\n '&:read-only': {\r\n '@apply bg-input-field-surface': {},\r\n '@apply border-input-field-outline-disabled': {},\r\n '@apply text-dark-secondary': {},\r\n '@apply placeholder:text-dark-secondary': {},\r\n },\r\n };\r\n}\r\n\r\nfunction addin() {\r\n return {\r\n '&-addin': {\r\n '@apply bg-transparent': {},\r\n '@apply flex': {},\r\n '@apply justify-start items-center': {},\r\n '&-sm': {\r\n '@apply px-6 gap-6': {},\r\n '&.sk-form-input-addin-left': {\r\n '@apply -mr-12': {},\r\n '@apply pl-10': {},\r\n },\r\n '&.sk-form-input-addin-right': {\r\n '@apply -ml-12': {},\r\n '@apply pr-10': {},\r\n },\r\n svg: {\r\n '@apply w-16 h-16': {},\r\n },\r\n },\r\n '&-md': {\r\n '@apply md:px-8 md:gap-8': {},\r\n '&.sk-form-input-addin-left': {\r\n '@apply -mr-16': {},\r\n '@apply pl-12': {},\r\n },\r\n '&.sk-form-input-addin-right': {\r\n '@apply -ml-16': {},\r\n '@apply pr-12': {},\r\n },\r\n svg: {\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n '&-lg': {\r\n '@apply md:px-8 md:gap-8': {},\r\n '&.sk-form-input-addin-left': {\r\n '@apply -mr-20': {},\r\n '@apply pl-16': {},\r\n },\r\n '&.sk-form-input-addin-right': {\r\n '@apply -ml-20': {},\r\n '@apply pr-16': {},\r\n },\r\n svg: {\r\n '@apply w-22 h-22': {},\r\n },\r\n },\r\n },\r\n };\r\n}\r\n\r\nfunction addon() {\r\n return {\r\n '&-addon': {\r\n '@apply flex flex-none relative': {},\r\n '@apply items-center': {},\r\n '@apply focus-within:ring': {},\r\n '@apply focus-within:ring-ring': {},\r\n '@apply text-dark-secondary': {},\r\n //Focus\r\n '@apply focus-within:border-input-field-surface': {},\r\n\r\n '&:not(:invalid):not([aria-invalid=\"true\"])': {\r\n '@apply focus-within:border-input-field-surface': {},\r\n },\r\n\r\n '&&-lg': {\r\n '@apply text-input-large': {},\r\n '@apply rounded-button-lg': {},\r\n '@apply h-48': {},\r\n },\r\n '&&-md': {\r\n '@apply text-input-medium': {},\r\n '@apply rounded-button-md': {},\r\n '@apply h-40': {},\r\n },\r\n '&&-sm': {\r\n '@apply text-input-small': {},\r\n '@apply rounded-button-sm': {},\r\n '@apply h-32': {},\r\n },\r\n '&&-left': {\r\n '@apply rounded-r-0': {},\r\n '@apply border-r-0': {},\r\n },\r\n '&&-right': {\r\n '@apply rounded-l-0': {},\r\n '@apply border-l-0': {},\r\n },\r\n ...inputStandards(),\r\n '.sk-form-input': {\r\n '@apply rounded-0': {},\r\n '@apply border-0': {},\r\n '@apply focus:ring-0': {},\r\n '@apply focus:ring-offset-0': {},\r\n '@apply bg-transparent': {},\r\n '@apply dark:bg-transparent': {},\r\n '@apply grow': {},\r\n },\r\n '.sk-form-select': {\r\n '@apply rounded-0': {},\r\n '@apply border-0 hover:border-0': {},\r\n '@apply focus:ring-0 focus:z-10': {},\r\n '@apply focus:ring-offset-0': {},\r\n '@apply bg-transparent hover:bg-transparent': {},\r\n '@apply dark:bg-transparent hover:dark:bg-transparent': {},\r\n '@apply grow': {},\r\n },\r\n '&&-left .sk-form-select': {\r\n '@apply border-r-1 border-r-divider': {},\r\n '@apply focus:border-r-transparent': {},\r\n },\r\n '&&-right .sk-form-select': {\r\n '@apply border-l-1 border-l-divider': {},\r\n '@apply focus:border-l-transparent': {},\r\n },\r\n '.sk-form-combobox': {\r\n '@apply rounded-0': {},\r\n '@apply border-0': {},\r\n '@apply focus-within:ring-0': {},\r\n '@apply focus-within:ring-offset-0': {},\r\n '@apply bg-transparent': {},\r\n '@apply dark:bg-transparent': {},\r\n },\r\n '&&-left .sk-form-combobox': {\r\n '@apply border-r-1 border-r-divider': {},\r\n '@apply focus:border-r-transparent': {},\r\n },\r\n '&&-right .sk-form-combobox': {\r\n '@apply border-l-1 border-l-divider': {},\r\n '@apply focus:border-l-transparent': {},\r\n },\r\n },\r\n };\r\n}\r\nfunction inputGroup() {\r\n return {\r\n '&-group': {\r\n '&-outer': {\r\n '@apply flex gap-0 max-w-full': {},\r\n '&[data-hasleftaddon=\"true\"]': {\r\n '.sk-form-input, .sk-form-input-group-inner': {\r\n '@apply rounded-l-0': {},\r\n '@apply border-l-0': {},\r\n },\r\n },\r\n '&[data-hasrightaddon=\"true\"]': {\r\n '.sk-form-input, .sk-form-input-group-inner': {\r\n '@apply rounded-r-0': {},\r\n '@apply border-r-0': {},\r\n },\r\n },\r\n },\r\n '&-inner': {\r\n '@apply flex relative grow': {},\r\n '@apply items-center': {},\r\n '@apply focus-within:ring': {},\r\n '@apply focus-within:ring-ring': {},\r\n '@apply text-dark-secondary': {},\r\n //Focus\r\n '@apply focus-within:border-input-field-surface': {},\r\n\r\n '&:not(:invalid):not([aria-invalid=\"true\"])': {\r\n '@apply focus-within:border-input-field-surface': {},\r\n },\r\n\r\n '&&-lg': {\r\n '@apply text-input-large': {},\r\n '@apply rounded-button-lg': {},\r\n '@apply h-48': {},\r\n },\r\n '&&-md': {\r\n '@apply text-input-medium': {},\r\n '@apply rounded-button-md': {},\r\n '@apply h-40': {},\r\n },\r\n '&&-sm': {\r\n '@apply text-input-small': {},\r\n '@apply rounded-button-sm': {},\r\n '@apply h-32': {},\r\n },\r\n\r\n ...inputStandards(),\r\n '.sk-form-input': {\r\n '@apply rounded-0': {},\r\n '@apply border-0': {},\r\n '@apply focus:ring-0': {},\r\n '@apply focus:ring-offset-0': {},\r\n '@apply bg-transparent': {},\r\n '@apply dark:bg-transparent': {},\r\n '@apply grow': {},\r\n },\r\n },\r\n },\r\n };\r\n}\r\n\r\nfunction timeAndDatePicker() {\r\n return {\r\n '&::-webkit-inner-spin-button, &::-webkit-calendar-picker-indicator': {\r\n '@apply block': {},\r\n '@apply p-0': {},\r\n '@apply pl-6 md:pl-8': {},\r\n '@apply m-0': {},\r\n '@apply bg-none': {},\r\n '@apply bg-dark-secondary': {},\r\n '&.sk-form-input-sm': {\r\n '@apply w-16 h-16': {},\r\n '@apply -mr-2': {},\r\n },\r\n '&.sk-form-input-md': {\r\n '@apply -mr-4': {},\r\n '@apply w-18 h-18': {},\r\n },\r\n '&.sk-form-input-lg': {\r\n '@apply -mr-6': {},\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n\r\n '&[type=\"date\"]::-webkit-inner-spin-button, &[type=\"date\"]::-webkit-calendar-picker-indicator': {\r\n mask: [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n '-webkit-mask': [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n maskSize: 'contain',\r\n '-webkit-mask-size': 'contain',\r\n },\r\n '&[type=\"datetime-local\"]::-webkit-inner-spin-button, &[type=\"datetime-local\"]::-webkit-calendar-picker-indicator':\r\n {\r\n mask: [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n '-webkit-mask': [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n maskSize: 'contain',\r\n '-webkit-mask-size': 'contain',\r\n },\r\n '&[type=\"time\"]::-webkit-inner-spin-button, &[type=\"time\"]::-webkit-calendar-picker-indicator': {\r\n mask: [`url(\"data:image/svg+xml;utf-8,${clock()}\") no-repeat 100% 100%`],\r\n '-webkit-mask': [`url(\"data:image/svg+xml;utf-8,${clock()}\") no-repeat 100% 100%`],\r\n maskSize: 'contain',\r\n '-webkit-mask-size': 'contain',\r\n },\r\n\r\n '&:disabled, &[aria-disabled=\"true\"]': {\r\n '&::-webkit-inner-spin-button, &::-webkit-calendar-picker-indicator': {\r\n '@apply color-black-disabled': {},\r\n },\r\n },\r\n };\r\n}\r\n\r\nfunction textareaGroup() {\r\n return {\r\n '&-textarea': {\r\n ...inputGroup(),\r\n '&-group-inner': {\r\n '@apply h-auto': {},\r\n '@apply flex-wrap': {},\r\n '.sk-form-input-textarea': {\r\n '@apply w-full': {},\r\n },\r\n '.sk-form-textarea-counter': {\r\n '@apply w-full': {},\r\n '@apply border-t-divider border-t-1': {},\r\n },\r\n '&&-lg': {\r\n '@apply min-h-48 h-auto': {},\r\n '.sk-form-textarea-counter': {\r\n '@apply px-20': {},\r\n '@apply py-11': {},\r\n },\r\n },\r\n '&&-md': {\r\n '@apply min-h-40 h-auto': {},\r\n '.sk-form-textarea-counter': {\r\n '@apply px-16': {},\r\n '@apply py-7': {},\r\n },\r\n },\r\n '&&-sm': {\r\n '@apply min-h-32 h-auto': {},\r\n '.sk-form-textarea-counter': {\r\n '@apply px-12': {},\r\n '@apply py-5': {},\r\n },\r\n },\r\n },\r\n },\r\n };\r\n}\r\n\r\nexport const Input = () => ({\r\n '.sk-form-input': {\r\n '@apply grow-0': {},\r\n '@apply text-dark-primary': {},\r\n\r\n '&[data-hideextra=\"true\"]': {\r\n '&::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {\r\n '-webkit-appearance': 'none',\r\n display: 'none',\r\n margin: '0px',\r\n },\r\n '-moz-appearance': 'textfield',\r\n },\r\n\r\n '&&-lg': {\r\n '@apply rounded-button-lg': {},\r\n '@apply px-20': {},\r\n '@apply py-11': {},\r\n '@apply gap-8': {},\r\n '@apply text-input-large': {},\r\n '@apply h-48': {},\r\n },\r\n '&&-md': {\r\n '@apply rounded-button-md': {},\r\n '@apply px-16': {},\r\n '@apply py-7': {},\r\n '@apply gap-8': {},\r\n '@apply text-input-medium': {},\r\n '@apply h-40': {},\r\n },\r\n '&&-sm': {\r\n '@apply rounded-button-sm': {},\r\n '@apply px-12': {},\r\n '@apply py-5': {},\r\n '@apply gap-6': {},\r\n '@apply text-input-small': {},\r\n '@apply h-32': {},\r\n },\r\n '&&-textarea': {\r\n '@apply h-auto': {},\r\n '&-warning': {\r\n '@apply sr-only': {},\r\n },\r\n },\r\n\r\n //Focus\r\n '@apply focus:ring': {},\r\n '@apply focus:ring-ring': {},\r\n '@apply focus:ring-offset': {},\r\n '@apply focus:border-input-field-surface': {},\r\n '@apply focus-within:ring': {},\r\n '@apply focus-within:ring-ring': {},\r\n '@apply focus-within:ring-offset': {},\r\n '@apply focus-within:border-input-field-surface': {},\r\n '&:not(:invalid):not([aria-invalid=\"true\"])': {\r\n '@apply focus:hover:border-input-field-surface': {},\r\n },\r\n ...timeAndDatePicker(),\r\n ...inputStandards(),\r\n ...inputGroup(),\r\n ...addin(),\r\n ...addon(),\r\n ...textareaGroup(),\r\n },\r\n});\r\n"],"names":["calendar","clock","inputStandards","addin","svg","addon","inputGroup","timeAndDatePicker","mask","maskSize","textareaGroup","Input","display","margin"],"mappings":"AAAA,SAASA;IACP,OAAO,CAAC,qWAAqW,CAAC;AAChX;AACA,SAASC;IACP,OAAO,CAAC,kQAAkQ,CAAC;AAC7Q;AAEA,SAASC;IACP,OAAO;QACL,mBAAmB,CAAC;QACpB,qCAAqC,CAAC;QACtC,iDAAiD,CAAC;QAElD,4CAA4C,CAAC;QAE7C,iCAAiC,CAAC;QAElC,SAAS;QACT,qCAAqC;YACnC,gDAAgD,CAAC;QACnD;QAEA,UAAU;QACV,uCAAuC;YACrC,0CAA0C,CAAC;YAC3C,8CAA8C,CAAC;YAC/C,oDAAoD,CAAC;YACrD,6BAA6B,CAAC;QAChC;QAEA,UAAU;QACV,eAAe;YACb,iCAAiC,CAAC;YAClC,8CAA8C,CAAC;YAC/C,8BAA8B,CAAC;YAC/B,0CAA0C,CAAC;QAC7C;IACF;AACF;AAEA,SAASC;IACP,OAAO;QACL,WAAW;YACT,yBAAyB,CAAC;YAC1B,eAAe,CAAC;YAChB,qCAAqC,CAAC;YACtC,QAAQ;gBACN,qBAAqB,CAAC;gBACtB,8BAA8B;oBAC5B,iBAAiB,CAAC;oBAClB,gBAAgB,CAAC;gBACnB;gBACA,+BAA+B;oBAC7B,iBAAiB,CAAC;oBAClB,gBAAgB,CAAC;gBACnB;gBACAC,KAAK;oBACH,oBAAoB,CAAC;gBACvB;YACF;YACA,QAAQ;gBACN,2BAA2B,CAAC;gBAC5B,8BAA8B;oBAC5B,iBAAiB,CAAC;oBAClB,gBAAgB,CAAC;gBACnB;gBACA,+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2CAA2C,CAAC;YAC5C,4BAA4B,CAAC;YAC7B,iCAAiC,CAAC;YAClC,mCAAmC,CAAC;YACpC,kDAAkD,CAAC;YACnD,8CAA8C;gBAC5C,iDAAiD,CAAC;YACpD;YACA,GAAGN,mBAAmB;YACtB,GAAGL,gBAAgB;YACnB,GAAGI,YAAY;YACf,GAAGH,OAAO;YACV,GAAGE,OAAO;YACV,GAAGK,eAAe;QACpB;IACF,CAAA,EAAG"}
@@ -19,6 +19,12 @@ export const ProgressBar = (colors)=>({
19
19
  '.sk-progress-bar-fill': {
20
20
  [`@apply bg-primary-surface`]: {}
21
21
  }
22
+ },
23
+ '&-sm': {
24
+ '@apply h-[4px]': {}
25
+ },
26
+ '&-md': {
27
+ '@apply h-[8px]': {}
22
28
  }
23
29
  }
24
30
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/progress-bar.ts"],"sourcesContent":["export const ProgressBar = (colors: string[]) => ({\r\n '.sk-progress-bar': {\r\n '@apply flex h-4 rounded-circular bg-background-color-mixin-2': {},\r\n\r\n '&-fill': {\r\n '@apply rounded-circular': {},\r\n },\r\n\r\n ...colors.reduce(\r\n (styles, color) => ({\r\n ...styles,\r\n [`&[data-color=\"${color}\"]`]: {\r\n '.sk-progress-bar-fill': {\r\n [`@apply bg-${color}-surface-primary`]: {},\r\n },\r\n\r\n '&[data-accent=\"true\"]': {\r\n [`@apply bg-inverted-${color}-surface-primary`]: {},\r\n },\r\n },\r\n }),\r\n {}\r\n ),\r\n\r\n \"&[data-color='tertiary']\": {\r\n '.sk-progress-bar-fill': {\r\n [`@apply bg-primary-surface`]: {},\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["ProgressBar","colors","reduce","styles","color"],"mappings":"AAAA,OAAO,MAAMA,cAAc,CAACC,SAAsB,CAAA;QAChD,oBAAoB;YAClB,gEAAgE,CAAC;YAEjE,UAAU;gBACR,2BAA2B,CAAC;YAC9B;YAEA,GAAGA,OAAOC,MAAM,CACd,CAACC,QAAQC,QAAW,CAAA;oBAClB,GAAGD,MAAM;oBACT,CAAC,CAAC,cAAc,EAAEC,MAAM,EAAE,CAAC,CAAC,EAAE;wBAC5B,yBAAyB;4BACvB,CAAC,CAAC,UAAU,EAAEA,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC;wBAC3C;wBAEA,yBAAyB;4BACvB,CAAC,CAAC,mBAAmB,EAAEA,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC;wBACpD;oBACF;gBACF,CAAA,GACA,CAAC,EACF;YAED,4BAA4B;gBAC1B,yBAAyB;oBACvB,CAAC,CAAC,yBAAyB,CAAC,CAAC,EAAE,CAAC;gBAClC;YACF;QACF;IACF,CAAA,EAAG"}
1
+ {"version":3,"sources":["../../../src/components/progress-bar.ts"],"sourcesContent":["export const ProgressBar = (colors: string[]) => ({\r\n '.sk-progress-bar': {\r\n '@apply flex h-4 rounded-circular bg-background-color-mixin-2': {},\r\n\r\n '&-fill': {\r\n '@apply rounded-circular': {},\r\n },\r\n\r\n ...colors.reduce(\r\n (styles, color) => ({\r\n ...styles,\r\n [`&[data-color=\"${color}\"]`]: {\r\n '.sk-progress-bar-fill': {\r\n [`@apply bg-${color}-surface-primary`]: {},\r\n },\r\n\r\n '&[data-accent=\"true\"]': {\r\n [`@apply bg-inverted-${color}-surface-primary`]: {},\r\n },\r\n },\r\n }),\r\n {}\r\n ),\r\n\r\n \"&[data-color='tertiary']\": {\r\n '.sk-progress-bar-fill': {\r\n [`@apply bg-primary-surface`]: {},\r\n },\r\n },\r\n '&-sm': {\r\n '@apply h-[4px]': {},\r\n },\r\n '&-md': {\r\n '@apply h-[8px]': {},\r\n },\r\n },\r\n});\r\n"],"names":["ProgressBar","colors","reduce","styles","color"],"mappings":"AAAA,OAAO,MAAMA,cAAc,CAACC,SAAsB,CAAA;QAChD,oBAAoB;YAClB,gEAAgE,CAAC;YAEjE,UAAU;gBACR,2BAA2B,CAAC;YAC9B;YAEA,GAAGA,OAAOC,MAAM,CACd,CAACC,QAAQC,QAAW,CAAA;oBAClB,GAAGD,MAAM;oBACT,CAAC,CAAC,cAAc,EAAEC,MAAM,EAAE,CAAC,CAAC,EAAE;wBAC5B,yBAAyB;4BACvB,CAAC,CAAC,UAAU,EAAEA,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC;wBAC3C;wBAEA,yBAAyB;4BACvB,CAAC,CAAC,mBAAmB,EAAEA,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC;wBACpD;oBACF;gBACF,CAAA,GACA,CAAC,EACF;YAED,4BAA4B;gBAC1B,yBAAyB;oBACvB,CAAC,CAAC,yBAAyB,CAAC,CAAC,EAAE,CAAC;gBAClC;YACF;YACA,QAAQ;gBACN,kBAAkB,CAAC;YACrB;YACA,QAAQ;gBACN,kBAAkB,CAAC;YACrB;QACF;IACF,CAAA,EAAG"}
@@ -51,6 +51,7 @@ import { AIServiceModule } from './components/ai/ai-service-module.js';
51
51
  import { AssistantPresentation } from './components/ai/assistant-presentation.js';
52
52
  import { AssistantSwitch } from './components/ai/assistant-switch.js';
53
53
  import { Bubble } from './components/ai/bubble.js';
54
+ import { ChatInput } from './components/ai/chat-input.js';
54
55
  import { Feedback } from './components/ai/feedback.js';
55
56
  import { InputSection } from './components/ai/input-section.js';
56
57
  import { MarkdownRendered } from './components/ai/markdown-rendered.js';
@@ -378,6 +379,15 @@ export const components = [
378
379
  Icon
379
380
  ]
380
381
  },
382
+ {
383
+ comp: ChatInput,
384
+ deps: [
385
+ Forms,
386
+ Icon,
387
+ Button,
388
+ Divider
389
+ ]
390
+ },
381
391
  {
382
392
  comp: Feedback,
383
393
  deps: [
@@ -390,7 +400,8 @@ export const components = [
390
400
  deps: [
391
401
  Forms,
392
402
  Button,
393
- Icon
403
+ Icon,
404
+ ChatInput
394
405
  ]
395
406
  },
396
407
  {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components.ts"],"sourcesContent":["import { CSSRuleObject, PluginAPI } from 'tailwindcss/types/config';\r\n\r\n// components\r\nimport { Accordion } from './components/accordion';\r\nimport { Avatar } from './components/avatar';\r\nimport { Badge } from './components/badge';\r\nimport { Breadcrumb } from './components/breadcrumb';\r\nimport { Button } from './components/button';\r\nimport { ButtonGroup } from './components/button-group';\r\nimport { Callout } from './components/callout';\r\nimport { Card } from './components/card';\r\nimport { Checkbox } from './components/checkbox';\r\nimport { Chip } from './components/chip';\r\nimport { ComboBox } from './components/combobox';\r\nimport { CountryCode } from './components/countrycode';\r\nimport { CookieConsent } from './components/cookie-consent';\r\nimport { Dialog } from './components/dialog';\r\nimport { Divider } from './components/divider';\r\nimport { Dot } from './components/dot';\r\nimport { FileUpload } from './components/file-upload';\r\nimport { Filter } from './components/filter';\r\nimport { Footer } from './components/footer';\r\nimport { Forms } from './components/forms';\r\nimport { Header } from './components/header';\r\nimport { Icon } from './components/icon';\r\nimport { Input } from './components/input';\r\nimport { Label } from './components/label';\r\nimport { Link } from './components/link';\r\nimport { List } from './components/list';\r\nimport { Logo } from './components/logo';\r\nimport { MenuVertical } from './components/menu-vertical';\r\nimport { NavigationBar } from './components/navigation-bar';\r\nimport { Modal } from './components/modal';\r\nimport { Pagination } from './components/pagination';\r\nimport { PopupMenu } from './components/popup-menu';\r\nimport { ProgressBar } from './components/progress-bar';\r\nimport { ProgressStepper } from './components/progress-stepper';\r\nimport { Radio } from './components/radio';\r\nimport { SearchField } from './components/search-field';\r\nimport { Select } from './components/select';\r\nimport { Snackbar } from './components/snackbar';\r\nimport { Spinner } from './components/spinner';\r\nimport { Switch } from './components/switch';\r\nimport { Table } from './components/table';\r\nimport { Tabs } from './components/tabs';\r\nimport { TextEditor } from './components/text-editor';\r\nimport { Tooltip } from './components/tooltip';\r\nimport { UserMenu } from './components/user-menu';\r\n//AI COMPONENTS\r\nimport { AIFeed } from './components/ai/ai-feed';\r\nimport { AICornerModule } from './components/ai/ai-corner-module';\r\nimport { AIServiceModule } from './components/ai/ai-service-module';\r\nimport { AssistantPresentation } from './components/ai/assistant-presentation';\r\nimport { AssistantSwitch } from './components/ai/assistant-switch';\r\nimport { Bubble } from './components/ai/bubble';\r\nimport { Feedback } from './components/ai/feedback';\r\nimport { InputSection } from './components/ai/input-section';\r\nimport { MarkdownRendered } from './components/ai/markdown-rendered';\r\nimport { NewSessionButton } from './components/ai/new-session-button';\r\nimport { TypingBubble } from './components/ai/typing-bubble';\r\nimport { TypingSequence } from './components/ai/typing-sequence';\r\n\r\nexport type Component = (colors: string[], theme: PluginAPI['theme']) => CSSRuleObject;\r\ninterface ComponentWithDeps {\r\n comp: Component;\r\n deps?: Component[];\r\n}\r\n\r\nexport const components: ComponentWithDeps[] = [\r\n { comp: Accordion, deps: [Button, Divider, Icon, Label] },\r\n { comp: Avatar },\r\n { comp: Badge },\r\n { comp: Breadcrumb, deps: [Link] },\r\n { comp: Button, deps: [Link, Spinner, ButtonGroup] },\r\n { comp: ButtonGroup },\r\n { comp: Callout },\r\n { comp: Card, deps: [Button, Link] },\r\n { comp: Checkbox },\r\n { comp: Chip, deps: [Icon] },\r\n { comp: ComboBox },\r\n { comp: CountryCode, deps: [Forms, ComboBox] },\r\n { comp: CookieConsent, deps: [Button, Forms] },\r\n { comp: Dialog, deps: [Modal] },\r\n { comp: Divider },\r\n { comp: Dot },\r\n { comp: FileUpload, deps: [Icon, Forms, Button, PopupMenu, Modal, Divider, Link] },\r\n { comp: Filter, deps: [Badge, Forms] },\r\n { comp: Footer, deps: [Divider, Link, Logo] },\r\n { comp: Forms, deps: [Icon, Checkbox, ComboBox, Select, Input, Radio, Switch, PopupMenu] },\r\n { comp: Header, deps: [Divider, Link, Logo] },\r\n { comp: Input },\r\n { comp: Label },\r\n { comp: Link, deps: [Icon] },\r\n { comp: List, deps: [Link] },\r\n { comp: Logo, deps: [Divider] },\r\n { comp: NavigationBar, deps: [PopupMenu] },\r\n { comp: Icon },\r\n { comp: MenuVertical, deps: [Button, Divider, Icon, Logo] },\r\n { comp: Modal, deps: [Button, Icon] },\r\n { comp: Pagination, deps: [Button, Forms, Icon] },\r\n { comp: PopupMenu, deps: [Button, Link] },\r\n { comp: ProgressBar },\r\n { comp: ProgressStepper, deps: [Divider, Icon] },\r\n { comp: SearchField, deps: [Button, Forms, Icon] },\r\n { comp: Select },\r\n { comp: Snackbar, deps: [Button, Icon] },\r\n { comp: Spinner },\r\n { comp: TextEditor },\r\n { comp: Radio },\r\n { comp: Switch, deps: [Icon] },\r\n { comp: Table, deps: [Forms, Icon, Pagination] },\r\n { comp: Tabs, deps: [Button, NavigationBar] },\r\n { comp: Tooltip },\r\n { comp: UserMenu, deps: [Avatar, Logo, PopupMenu] },\r\n\r\n //AI COMPONENTS\r\n\r\n { comp: AIFeed, deps: [Accordion, Button, Avatar, TypingBubble, Feedback, MarkdownRendered] },\r\n {\r\n comp: AICornerModule,\r\n deps: [\r\n AIFeed,\r\n AssistantPresentation,\r\n InputSection,\r\n Avatar,\r\n Bubble,\r\n Link,\r\n Button,\r\n Divider,\r\n Icon,\r\n Tooltip,\r\n NavigationBar,\r\n ],\r\n },\r\n { comp: AIServiceModule, deps: [AIFeed, Bubble, InputSection, Forms, Link, Button, Icon] },\r\n { comp: AssistantPresentation, deps: [Avatar] },\r\n { comp: AssistantSwitch, deps: [Avatar, Icon] },\r\n { comp: Bubble, deps: [Icon] },\r\n { comp: Feedback, deps: [Button, Icon] },\r\n { comp: InputSection, deps: [Forms, Button, Icon] },\r\n { comp: MarkdownRendered, deps: [Link] },\r\n { comp: NewSessionButton, deps: [Button, Icon] },\r\n { comp: TypingBubble, deps: [TypingSequence] },\r\n { comp: TypingSequence },\r\n];\r\n"],"names":["Accordion","Avatar","Badge","Breadcrumb","Button","ButtonGroup","Callout","Card","Checkbox","Chip","ComboBox","CountryCode","CookieConsent","Dialog","Divider","Dot","FileUpload","Filter","Footer","Forms","Header","Icon","Input","Label","Link","List","Logo","MenuVertical","NavigationBar","Modal","Pagination","PopupMenu","ProgressBar","ProgressStepper","Radio","SearchField","Select","Snackbar","Spinner","Switch","Table","Tabs","TextEditor","Tooltip","UserMenu","AIFeed","AICornerModule","AIServiceModule","AssistantPresentation","AssistantSwitch","Bubble","Feedback","InputSection","MarkdownRendered","NewSessionButton","TypingBubble","TypingSequence","components","comp","deps"],"mappings":"AAEA,aAAa;AACb,SAASA,SAAS,QAAQ,yBAAyB;AACnD,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,KAAK,QAAQ,qBAAqB;AAC3C,SAASC,UAAU,QAAQ,0BAA0B;AACrD,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,WAAW,QAAQ,4BAA4B;AACxD,SAASC,OAAO,QAAQ,uBAAuB;AAC/C,SAASC,IAAI,QAAQ,oBAAoB;AACzC,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,IAAI,QAAQ,oBAAoB;AACzC,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,aAAa,QAAQ,8BAA8B;AAC5D,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,OAAO,QAAQ,uBAAuB;AAC/C,SAASC,GAAG,QAAQ,mBAAmB;AACvC,SAASC,UAAU,QAAQ,2BAA2B;AACtD,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,KAAK,QAAQ,qBAAqB;AAC3C,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,IAAI,QAAQ,oBAAoB;AACzC,SAASC,KAAK,QAAQ,qBAAqB;AAC3C,SAASC,KAAK,QAAQ,qBAAqB;AAC3C,SAASC,IAAI,QAAQ,oBAAoB;AACzC,SAASC,IAAI,QAAQ,oBAAoB;AACzC,SAASC,IAAI,QAAQ,oBAAoB;AACzC,SAASC,YAAY,QAAQ,6BAA6B;AAC1D,SAASC,aAAa,QAAQ,8BAA8B;AAC5D,SAASC,KAAK,QAAQ,qBAAqB;AAC3C,SAASC,UAAU,QAAQ,0BAA0B;AACrD,SAASC,SAAS,QAA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;QAAEyD,MAAMT;QAAiBU,MAAM;YAAC1D;YAAQoB;SAAK;IAAC;IAC9C;QAAEqC,MAAMR;QAAQS,MAAM;YAACtC;SAAK;IAAC;IAC7B;QAAEqC,MAAMP;QAAUQ,MAAM;YAACvD;YAAQiB;SAAK;IAAC;IACvC;QAAEqC,MAAMN;QAAcO,MAAM;YAACxC;YAAOf;YAAQiB;SAAK;IAAC;IAClD;QAAEqC,MAAML;QAAkBM,MAAM;YAACnC;SAAK;IAAC;IACvC;QAAEkC,MAAMJ;QAAkBK,MAAM;YAACvD;YAAQiB;SAAK;IAAC;IAC/C;QAAEqC,MAAMH;QAAcI,MAAM;YAACH;SAAe;IAAC;IAC7C;QAAEE,MAAMF;IAAe;CACxB,CAAC"}
1
+ {"version":3,"sources":["../../src/components.ts"],"sourcesContent":["import { CSSRuleObject, PluginAPI } from 'tailwindcss/types/config';\r\n\r\n// components\r\nimport { Accordion } from './components/accordion';\r\nimport { Avatar } from './components/avatar';\r\nimport { Badge } from './components/badge';\r\nimport { Breadcrumb } from './components/breadcrumb';\r\nimport { Button } from './components/button';\r\nimport { ButtonGroup } from './components/button-group';\r\nimport { Callout } from './components/callout';\r\nimport { Card } from './components/card';\r\nimport { Checkbox } from './components/checkbox';\r\nimport { Chip } from './components/chip';\r\nimport { ComboBox } from './components/combobox';\r\nimport { CountryCode } from './components/countrycode';\r\nimport { CookieConsent } from './components/cookie-consent';\r\nimport { Dialog } from './components/dialog';\r\nimport { Divider } from './components/divider';\r\nimport { Dot } from './components/dot';\r\nimport { FileUpload } from './components/file-upload';\r\nimport { Filter } from './components/filter';\r\nimport { Footer } from './components/footer';\r\nimport { Forms } from './components/forms';\r\nimport { Header } from './components/header';\r\nimport { Icon } from './components/icon';\r\nimport { Input } from './components/input';\r\nimport { Label } from './components/label';\r\nimport { Link } from './components/link';\r\nimport { List } from './components/list';\r\nimport { Logo } from './components/logo';\r\nimport { MenuVertical } from './components/menu-vertical';\r\nimport { NavigationBar } from './components/navigation-bar';\r\nimport { Modal } from './components/modal';\r\nimport { Pagination } from './components/pagination';\r\nimport { PopupMenu } from './components/popup-menu';\r\nimport { ProgressBar } from './components/progress-bar';\r\nimport { ProgressStepper } from './components/progress-stepper';\r\nimport { Radio } from './components/radio';\r\nimport { SearchField } from './components/search-field';\r\nimport { Select } from './components/select';\r\nimport { Snackbar } from './components/snackbar';\r\nimport { Spinner } from './components/spinner';\r\nimport { Switch } from './components/switch';\r\nimport { Table } from './components/table';\r\nimport { Tabs } from './components/tabs';\r\nimport { TextEditor } from './components/text-editor';\r\nimport { Tooltip } from './components/tooltip';\r\nimport { UserMenu } from './components/user-menu';\r\n//AI COMPONENTS\r\nimport { AIFeed } from './components/ai/ai-feed';\r\nimport { AICornerModule } from './components/ai/ai-corner-module';\r\nimport { AIServiceModule } from './components/ai/ai-service-module';\r\nimport { AssistantPresentation } from './components/ai/assistant-presentation';\r\nimport { AssistantSwitch } from './components/ai/assistant-switch';\r\nimport { Bubble } from './components/ai/bubble';\r\nimport { ChatInput } from './components/ai/chat-input';\r\nimport { Feedback } from './components/ai/feedback';\r\nimport { InputSection } from './components/ai/input-section';\r\nimport { MarkdownRendered } from './components/ai/markdown-rendered';\r\nimport { NewSessionButton } from './components/ai/new-session-button';\r\nimport { TypingBubble } from './components/ai/typing-bubble';\r\nimport { TypingSequence } from './components/ai/typing-sequence';\r\n\r\nexport type Component = (colors: string[], theme: PluginAPI['theme']) => CSSRuleObject;\r\ninterface ComponentWithDeps {\r\n comp: Component;\r\n deps?: Component[];\r\n}\r\n\r\nexport const components: ComponentWithDeps[] = [\r\n { comp: Accordion, deps: [Button, Divider, Icon, Label] },\r\n { comp: Avatar },\r\n { comp: Badge },\r\n { comp: Breadcrumb, deps: [Link] },\r\n { comp: Button, deps: [Link, Spinner, ButtonGroup] },\r\n { comp: ButtonGroup },\r\n { comp: Callout },\r\n { comp: Card, deps: [Button, Link] },\r\n { comp: Checkbox },\r\n { comp: Chip, deps: [Icon] },\r\n { comp: ComboBox },\r\n { comp: CountryCode, deps: [Forms, ComboBox] },\r\n { comp: CookieConsent, deps: [Button, Forms] },\r\n { comp: Dialog, deps: [Modal] },\r\n { comp: Divider },\r\n { comp: Dot },\r\n { comp: FileUpload, deps: [Icon, Forms, Button, PopupMenu, Modal, Divider, Link] },\r\n { comp: Filter, deps: [Badge, Forms] },\r\n { comp: Footer, deps: [Divider, Link, Logo] },\r\n { comp: Forms, deps: [Icon, Checkbox, ComboBox, Select, Input, Radio, Switch, PopupMenu] },\r\n { comp: Header, deps: [Divider, Link, Logo] },\r\n { comp: Input },\r\n { comp: Label },\r\n { comp: Link, deps: [Icon] },\r\n { comp: List, deps: [Link] },\r\n { comp: Logo, deps: [Divider] },\r\n { comp: NavigationBar, deps: [PopupMenu] },\r\n { comp: Icon },\r\n { comp: MenuVertical, deps: [Button, Divider, Icon, Logo] },\r\n { comp: Modal, deps: [Button, Icon] },\r\n { comp: Pagination, deps: [Button, Forms, Icon] },\r\n { comp: PopupMenu, deps: [Button, Link] },\r\n { comp: ProgressBar },\r\n { comp: ProgressStepper, deps: [Divider, Icon] },\r\n { comp: SearchField, deps: [Button, Forms, Icon] },\r\n { comp: Select },\r\n { comp: Snackbar, deps: [Button, Icon] },\r\n { comp: Spinner },\r\n { comp: TextEditor },\r\n { comp: Radio },\r\n { comp: Switch, deps: [Icon] },\r\n { comp: Table, deps: [Forms, Icon, Pagination] },\r\n { comp: Tabs, deps: [Button, NavigationBar] },\r\n { comp: Tooltip },\r\n { comp: UserMenu, deps: [Avatar, Logo, PopupMenu] },\r\n\r\n //AI COMPONENTS\r\n\r\n { comp: AIFeed, deps: [Accordion, Button, Avatar, TypingBubble, Feedback, MarkdownRendered] },\r\n {\r\n comp: AICornerModule,\r\n deps: [\r\n AIFeed,\r\n AssistantPresentation,\r\n InputSection,\r\n Avatar,\r\n Bubble,\r\n Link,\r\n Button,\r\n Divider,\r\n Icon,\r\n Tooltip,\r\n NavigationBar,\r\n ],\r\n },\r\n { comp: AIServiceModule, deps: [AIFeed, Bubble, InputSection, Forms, Link, Button, Icon] },\r\n { comp: AssistantPresentation, deps: [Avatar] },\r\n { comp: AssistantSwitch, deps: [Avatar, Icon] },\r\n { comp: Bubble, deps: [Icon] },\r\n { comp: ChatInput, deps: [Forms, Icon, Button, Divider] },\r\n { comp: Feedback, deps: [Button, Icon] },\r\n { comp: InputSection, deps: [Forms, Button, Icon, ChatInput] },\r\n { comp: MarkdownRendered, deps: [Link] },\r\n { comp: NewSessionButton, deps: [Button, Icon] },\r\n { comp: TypingBubble, deps: [TypingSequence] },\r\n { comp: TypingSequence },\r\n];\r\n"],"names":["Accordion","Avatar","Badge","Breadcrumb","Button","ButtonGroup","Callout","Card","Checkbox","Chip","ComboBox","CountryCode","CookieConsent","Dialog","Divider","Dot","FileUpload","Filter","Footer","Forms","Header","Icon","Input","Label","Link","List","Logo","MenuVertical","NavigationBar","Modal","Pagination","PopupMenu","ProgressBar","ProgressStepper","Radio","SearchField","Select","Snackbar","Spinner","Switch","Table","Tabs","TextEditor","Tooltip","UserMenu","AIFeed","AICornerModule","AIServiceModule","AssistantPresentation","AssistantSwitch","Bubble","ChatInput","Feedback","InputSection","MarkdownRendered","NewSessionButton","TypingBubble","TypingSequence","components","comp","deps"],"mappings":"AAEA,aAAa;AACb,SAASA,SAAS,QAAQ,yBAAyB;AACnD,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,KAAK,QAAQ,qBAAqB;AAC3C,SAASC,UAAU,QAAQ,0BAA0B;AACrD,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,WAAW,QAAQ,4BAA4B;AACxD,SAASC,OAAO,QAAQ,uBAAuB;AAC/C,SAASC,IAAI,QAAQ,oBAAoB;AACzC,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,IAAI,QAAQ,oBAAoB;AACzC,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,aAAa,QAAQ,8BAA8B;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