@juspay/svelte-ui-components 2.124.0 → 2.126.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 (56) hide show
  1. package/dist/Chat/Chat.svelte +158 -0
  2. package/dist/Chat/Chat.svelte.d.ts +4 -0
  3. package/dist/Chat/controller.svelte.d.ts +24 -0
  4. package/dist/Chat/controller.svelte.js +190 -0
  5. package/dist/Chat/properties.d.ts +51 -0
  6. package/dist/Chat/properties.js +1 -0
  7. package/dist/Chat/roles.d.ts +2 -0
  8. package/dist/Chat/roles.js +3 -0
  9. package/dist/Chat/types.d.ts +45 -0
  10. package/dist/Chat/types.js +1 -0
  11. package/dist/ChatBubble/ChatBubble.svelte +419 -0
  12. package/dist/ChatBubble/ChatBubble.svelte.d.ts +4 -0
  13. package/dist/ChatBubble/properties.d.ts +43 -0
  14. package/dist/ChatBubble/properties.js +1 -0
  15. package/dist/ChatComposer/ChatComposer.svelte +289 -0
  16. package/dist/ChatComposer/ChatComposer.svelte.d.ts +4 -0
  17. package/dist/ChatComposer/properties.d.ts +33 -0
  18. package/dist/ChatComposer/properties.js +1 -0
  19. package/dist/ChatHeader/ChatHeader.svelte +169 -0
  20. package/dist/ChatHeader/ChatHeader.svelte.d.ts +4 -0
  21. package/dist/ChatHeader/properties.d.ts +19 -0
  22. package/dist/ChatHeader/properties.js +1 -0
  23. package/dist/ChatMessage/ChatMessage.svelte +330 -0
  24. package/dist/ChatMessage/ChatMessage.svelte.d.ts +4 -0
  25. package/dist/ChatMessage/properties.d.ts +29 -0
  26. package/dist/ChatMessage/properties.js +1 -0
  27. package/dist/ChatMessageList/ChatMessageList.svelte +181 -0
  28. package/dist/ChatMessageList/ChatMessageList.svelte.d.ts +4 -0
  29. package/dist/ChatMessageList/properties.d.ts +22 -0
  30. package/dist/ChatMessageList/properties.js +1 -0
  31. package/dist/ChatSuggestions/ChatSuggestions.svelte +46 -0
  32. package/dist/ChatSuggestions/ChatSuggestions.svelte.d.ts +4 -0
  33. package/dist/ChatSuggestions/properties.d.ts +16 -0
  34. package/dist/ChatSuggestions/properties.js +1 -0
  35. package/dist/ChatToolStatus/ChatToolStatus.svelte +63 -0
  36. package/dist/ChatToolStatus/ChatToolStatus.svelte.d.ts +4 -0
  37. package/dist/ChatToolStatus/properties.d.ts +10 -0
  38. package/dist/ChatToolStatus/properties.js +1 -0
  39. package/dist/LineChart/LineChart.svelte +36 -15
  40. package/dist/Resizable/Resizable.svelte +304 -0
  41. package/dist/Resizable/Resizable.svelte.d.ts +4 -0
  42. package/dist/Resizable/properties.d.ts +27 -0
  43. package/dist/Resizable/properties.js +1 -0
  44. package/dist/Table/Table.svelte +109 -10
  45. package/dist/Table/properties.d.ts +1 -0
  46. package/dist/assets/attach.svg +3 -0
  47. package/dist/assets/chat.svg +3 -0
  48. package/dist/assets/mic.svg +5 -0
  49. package/dist/assets/retry.svg +4 -0
  50. package/dist/assets/send.svg +4 -0
  51. package/dist/assets/stop.svg +3 -0
  52. package/dist/assets/thumb-down.svg +4 -0
  53. package/dist/assets/thumb-up.svg +4 -0
  54. package/dist/index.d.ts +21 -0
  55. package/dist/index.js +11 -0
  56. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 19V5" />
3
+ <path d="M6 11l6-6 6 6" />
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="7" y="7" width="10" height="10" rx="2" />
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3z" />
3
+ <path d="M17 2h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-3" />
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3z" />
3
+ <path d="M7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3" />
4
+ </svg>
package/dist/index.d.ts CHANGED
@@ -77,6 +77,17 @@ export { default as FunnelChart } from './FunnelChart/FunnelChart.svelte';
77
77
  export { default as ProportionBar } from './ProportionBar/ProportionBar.svelte';
78
78
  export { default as ChipInput } from './ChipInput/ChipInput.svelte';
79
79
  export { default as FileDropzoneTrigger } from './FileDropzoneTrigger/FileDropzoneTrigger.svelte';
80
+ export { default as Chat } from './Chat/Chat.svelte';
81
+ export { default as ChatHeader } from './ChatHeader/ChatHeader.svelte';
82
+ export { default as ChatMessage } from './ChatMessage/ChatMessage.svelte';
83
+ export { default as ChatMessageList } from './ChatMessageList/ChatMessageList.svelte';
84
+ export { default as ChatComposer } from './ChatComposer/ChatComposer.svelte';
85
+ export { default as ChatSuggestions } from './ChatSuggestions/ChatSuggestions.svelte';
86
+ export { default as ChatToolStatus } from './ChatToolStatus/ChatToolStatus.svelte';
87
+ export { default as ChatBubble } from './ChatBubble/ChatBubble.svelte';
88
+ export { default as Resizable } from './Resizable/Resizable.svelte';
89
+ export { ChatController } from './Chat/controller.svelte';
90
+ export { partyOf } from './Chat/roles';
80
91
  export type * from './Button/properties';
81
92
  export type * from './Modal/properties';
82
93
  export type * from './Input/properties';
@@ -151,5 +162,15 @@ export type * from './ProportionBar/properties';
151
162
  export type * from './ChipInput/properties';
152
163
  export type * from './FileDropzoneTrigger/properties';
153
164
  export type * from './_chart/highlight';
165
+ export type * from './Chat/properties';
166
+ export type * from './Chat/types';
167
+ export type * from './ChatHeader/properties';
168
+ export type * from './ChatMessage/properties';
169
+ export type * from './ChatMessageList/properties';
170
+ export type * from './ChatComposer/properties';
171
+ export type * from './ChatSuggestions/properties';
172
+ export type * from './ChatToolStatus/properties';
173
+ export type * from './ChatBubble/properties';
174
+ export type * from './Resizable/properties';
154
175
  export { validateInput } from './utils';
155
176
  export { formatNumberIndian } from './_chart/format';
package/dist/index.js CHANGED
@@ -77,5 +77,16 @@ export { default as FunnelChart } from './FunnelChart/FunnelChart.svelte';
77
77
  export { default as ProportionBar } from './ProportionBar/ProportionBar.svelte';
78
78
  export { default as ChipInput } from './ChipInput/ChipInput.svelte';
79
79
  export { default as FileDropzoneTrigger } from './FileDropzoneTrigger/FileDropzoneTrigger.svelte';
80
+ export { default as Chat } from './Chat/Chat.svelte';
81
+ export { default as ChatHeader } from './ChatHeader/ChatHeader.svelte';
82
+ export { default as ChatMessage } from './ChatMessage/ChatMessage.svelte';
83
+ export { default as ChatMessageList } from './ChatMessageList/ChatMessageList.svelte';
84
+ export { default as ChatComposer } from './ChatComposer/ChatComposer.svelte';
85
+ export { default as ChatSuggestions } from './ChatSuggestions/ChatSuggestions.svelte';
86
+ export { default as ChatToolStatus } from './ChatToolStatus/ChatToolStatus.svelte';
87
+ export { default as ChatBubble } from './ChatBubble/ChatBubble.svelte';
88
+ export { default as Resizable } from './Resizable/Resizable.svelte';
89
+ export { ChatController } from './Chat/controller.svelte';
90
+ export { partyOf } from './Chat/roles';
80
91
  export { validateInput } from './utils';
81
92
  export { formatNumberIndian } from './_chart/format';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/svelte-ui-components",
3
- "version": "2.124.0",
3
+ "version": "2.126.0",
4
4
  "description": "A themeable Svelte 5 UI component library with CSS custom property driven styling",
5
5
  "keywords": [
6
6
  "svelte",