@lostgradient/cinder 0.15.0 → 0.16.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/CHANGELOG.md +12 -0
- package/README.md +3 -3
- package/components.json +2 -143
- package/dist/components/access-gate/index.js +379 -327
- package/dist/components/alert-dialog/index.js +170 -172
- package/dist/components/confirm-dialog/index.js +170 -172
- package/dist/components/data-table/index.js +88 -31
- package/dist/components/drawer/index.js +11 -11
- package/dist/components/focus-trap/index.d.ts +1 -0
- package/dist/components/focus-trap/index.js +171 -1
- package/dist/components/icons/index.d.ts +80 -1
- package/dist/components/icons/index.js +1256 -0
- package/dist/components/markdown-editor/index.js +170 -170
- package/dist/components/modal/index.js +20 -20
- package/dist/components/review-editor/index.js +170 -187
- package/dist/components/sheet/index.js +11 -11
- package/dist/components/sidebar/index.js +37 -37
- package/dist/components/table/index.js +85 -28
- package/dist/components/table/table.css +11 -0
- package/dist/components/table/table.schema.js +10 -1
- package/dist/components/table/table.types.d.ts +24 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.js +23266 -30180
- package/dist/server/components/access-gate/index.js +7 -10
- package/dist/server/components/alert-dialog/index.js +4 -4
- package/dist/server/components/approval-card/index.js +6 -6
- package/dist/server/components/autocomplete/index.js +4 -4
- package/dist/server/components/choice-grid/index.js +2 -2
- package/dist/server/components/color-field/index.js +2 -2
- package/dist/server/components/combobox/index.js +3 -3
- package/dist/server/components/command-item/index.js +3 -5
- package/dist/server/components/command-menu/index.js +3 -5
- package/dist/server/components/confirm-dialog/index.js +4 -4
- package/dist/server/components/context-menu/index.js +7 -7
- package/dist/server/components/data-table/index.js +4 -4
- package/dist/server/components/date-picker/index.js +4 -4
- package/dist/server/components/date-range-field/index.js +4 -4
- package/dist/server/components/diff-viewer/index.js +9 -11
- package/dist/server/components/drawer/index.js +4 -4
- package/dist/server/components/dropdown/index.js +7 -7
- package/dist/server/components/faceted-filter-bar/index.js +2 -2
- package/dist/server/components/focus-trap/index.js +7 -2
- package/dist/server/components/icons/index.js +156 -0
- package/dist/server/components/inline-loading/index.js +1 -1
- package/dist/server/components/json-schema-editor/index.js +11 -13
- package/dist/server/components/load-more/index.js +2 -3
- package/dist/server/components/markdown-editor/index.js +13 -12
- package/dist/server/components/menu-bar/index.js +4 -4
- package/dist/server/components/modal/index.js +4 -4
- package/dist/server/components/popover/index.js +3 -3
- package/dist/server/components/review-editor/index.js +169 -122
- package/dist/server/components/schedule-builder/index.js +5 -5
- package/dist/server/components/schema-form/index.js +1 -1
- package/dist/server/components/segment/index.js +3 -3
- package/dist/server/components/segmented-control/index.js +4 -4
- package/dist/server/components/selection-popover/index.js +3 -3
- package/dist/server/components/sheet/index.js +3 -3
- package/dist/server/components/sidebar/index.js +4 -4
- package/dist/server/components/table/index.js +4 -4
- package/dist/server/components/tag-input/index.js +2 -2
- package/dist/server/index.js +272 -316
- package/dist/server/{index.server-dwwqssey.js → index.server-0qh3v3nq.js} +1 -1
- package/dist/server/index.server-25wmev4e.js +2 -0
- package/dist/server/{index.server-zdm63dt8.js → index.server-2c56kqws.js} +107 -25
- package/dist/server/{index.server-y4n8vc08.js → index.server-2pc5cv6c.js} +1 -1
- package/dist/server/{index.server-1vsv7ngz.js → index.server-3g76h7z7.js} +12 -2
- package/dist/server/{index.server-xz99aed4.js → index.server-45n4s30n.js} +12 -12
- package/dist/server/{index.server-zzd5wpbw.js → index.server-4dfs3xwn.js} +1 -1
- package/dist/server/{index.server-vhyjjx9z.js → index.server-4jkqgp17.js} +7 -9
- package/dist/server/{index.server-bmxbsk4y.js → index.server-51sxnete.js} +18 -18
- package/dist/server/{index.server-1bwvsnjk.js → index.server-6rv1rfwq.js} +37 -14
- package/dist/server/{index.server-np3c7kx0.js → index.server-7798gc22.js} +1 -1
- package/dist/server/{index.server-2m1kenak.js → index.server-7kjw6qw5.js} +1 -1
- package/dist/server/{index.server-tfftb7hs.js → index.server-7zpzspk6.js} +1 -1
- package/dist/server/{index.server-7yvpb6z7.js → index.server-894t97kv.js} +4 -4
- package/dist/server/{index.server-47v2fhp4.js → index.server-8b35ekqg.js} +1 -1
- package/dist/server/{index.server-j5hn2qds.js → index.server-8nm871y8.js} +80 -30
- package/dist/server/{index.server-h0cvwvhy.js → index.server-9drzqktm.js} +1 -1
- package/dist/server/{index.server-x9s4m9eg.js → index.server-agsdwg53.js} +1 -1
- package/dist/server/{index.server-hpeavvnq.js → index.server-b4gp066a.js} +1 -1
- package/dist/server/{index.server-gkazv439.js → index.server-bf7d81b4.js} +7 -7
- package/dist/server/{index.server-krqvnt6p.js → index.server-d4ft97bx.js} +4 -2
- package/dist/server/{index.server-t1x9h8cb.js → index.server-dg19y3m7.js} +1 -1
- package/dist/server/{index.server-jt1twhgk.js → index.server-dq0k0qf6.js} +10 -10
- package/dist/server/{index.server-pxq277t5.js → index.server-frb9e55d.js} +1 -1
- package/dist/server/{index.server-9kz37z89.js → index.server-g3726bja.js} +1 -1
- package/dist/server/{index.server-jdcq5zza.js → index.server-gwgm8gqg.js} +8 -8
- package/dist/server/index.server-gyzmkrnz.js +2 -0
- package/dist/server/{index.server-mr68brd6.js → index.server-jgdtsvz2.js} +1 -1
- package/dist/server/{index.server-p56xxef1.js → index.server-m8ya4p7w.js} +1 -1
- package/dist/server/{index.server-1nq7z1qw.js → index.server-mda2y5g6.js} +1 -1
- package/dist/server/{index.server-e89qfamd.js → index.server-mknhgg07.js} +4 -4
- package/dist/server/{index.server-j570vb03.js → index.server-mvjzcna5.js} +1 -1
- package/dist/server/index.server-n4jxy52q.js +2 -0
- package/dist/server/{index.server-eftvmq3f.js → index.server-pfbzz3x7.js} +1 -1
- package/dist/server/{index.server-zrh23kty.js → index.server-pyjzfjfn.js} +1 -1
- package/dist/server/{index.server-rga8sc7j.js → index.server-q1d48s9t.js} +40 -36
- package/dist/server/{index.server-46cjwcqw.js → index.server-qv0kkre4.js} +5 -5
- package/dist/server/{index.server-yhzydqxe.js → index.server-r82zjq88.js} +5 -5
- package/dist/server/{index.server-9ykk1kbg.js → index.server-rbd5ys4z.js} +1 -1
- package/dist/server/{index.server-tcay903b.js → index.server-tnecnach.js} +4 -4
- package/dist/server/{index.server-h89zk5ev.js → index.server-wasj5rbh.js} +8 -8
- package/dist/server/{index.server-9ra3xv88.js → index.server-x66zvjfc.js} +9 -9
- package/dist/server/index.server-xanq9ppe.js +119 -0
- package/dist/server/{index.server-6sh11ap6.js → index.server-y4kfz0er.js} +1 -1
- package/dist/server/{index.server-n82rcv0m.js → index.server-z721a5gp.js} +4 -4
- package/dist/server/{index.server-mm1xa3kr.js → index.server-zdhv33ph.js} +51 -20
- package/dist/server/{index.server-t3hknp1c.js → index.server-zm04d9eq.js} +4 -4
- package/dist/server/{index.server-nx9c2ep1.js → index.server-zncgb7mw.js} +2 -2
- package/package.json +10 -130
- package/src/components/focus-trap/index.ts +1 -0
- package/src/components/icons/index.ts +82 -40
- package/src/components/table/table.css +11 -0
- package/src/components/table/table.examples.json +3 -3
- package/src/components/table/table.schema.json +9 -0
- package/src/components/table/table.schema.ts +11 -0
- package/src/components/table/table.svelte +58 -14
- package/src/components/table/table.types.ts +27 -1
- package/src/index.ts +0 -34
- package/src/styles/components.css +0 -4
- package/dist/components/chat/adapter/chat-adapter.d.ts +0 -123
- package/dist/components/chat/adapter/index.d.ts +0 -8
- package/dist/components/chat/artifact/artifact-panel.svelte.d.ts +0 -15
- package/dist/components/chat/artifact/artifact-viewer.svelte.d.ts +0 -10
- package/dist/components/chat/artifact/chat-artifact-layout.svelte.d.ts +0 -23
- package/dist/components/chat/artifact/index.d.ts +0 -3
- package/dist/components/chat/builders.d.ts +0 -25
- package/dist/components/chat/chat.css +0 -16
- package/dist/components/chat/chat.css.d.ts +0 -1
- package/dist/components/chat/chat.schema.d.ts +0 -3
- package/dist/components/chat/chat.schema.js +0 -366
- package/dist/components/chat/chat.svelte.d.ts +0 -31
- package/dist/components/chat/chat.types.d.ts +0 -268
- package/dist/components/chat/chat.variables.d.ts +0 -2
- package/dist/components/chat/chat.variables.js +0 -61
- package/dist/components/chat/container/chat-events.d.ts +0 -22
- package/dist/components/chat/container/chat-history-trigger.svelte.d.ts +0 -15
- package/dist/components/chat/container/chat-jump-controls.svelte.d.ts +0 -24
- package/dist/components/chat/container/chat-participant-typing.svelte.d.ts +0 -31
- package/dist/components/chat/container/chat-search-bar.svelte.d.ts +0 -38
- package/dist/components/chat/container/chat-status-announcer.svelte.d.ts +0 -21
- package/dist/components/chat/container/chat.svelte.d.ts +0 -17
- package/dist/components/chat/container/index.d.ts +0 -12
- package/dist/components/chat/container/scroll-utilities.d.ts +0 -119
- package/dist/components/chat/container/use-chat-disclosure-state.svelte.d.ts +0 -58
- package/dist/components/chat/container/use-chat-keyboard-nav.svelte.d.ts +0 -57
- package/dist/components/chat/container/use-chat-message-groups.svelte.d.ts +0 -74
- package/dist/components/chat/container/use-chat-read-receipts.svelte.d.ts +0 -51
- package/dist/components/chat/container/use-chat-scroll-state.svelte.d.ts +0 -111
- package/dist/components/chat/container/use-chat-search.svelte.d.ts +0 -82
- package/dist/components/chat/container/use-chat-typing-indicator.svelte.d.ts +0 -76
- package/dist/components/chat/container/use-chat-unread-state.svelte.d.ts +0 -80
- package/dist/components/chat/container/use-chat-virtualizer.svelte.d.ts +0 -47
- package/dist/components/chat/conversation-model.d.ts +0 -16
- package/dist/components/chat/export/conversation-export-actions.svelte.d.ts +0 -17
- package/dist/components/chat/export/index.d.ts +0 -8
- package/dist/components/chat/index.d.ts +0 -25
- package/dist/components/chat/index.js +0 -11319
- package/dist/components/chat/input/attachment-kind.d.ts +0 -10
- package/dist/components/chat/input/chat-attachment-preview.svelte.d.ts +0 -8
- package/dist/components/chat/input/chat-attachment-serialization.d.ts +0 -9
- package/dist/components/chat/input/chat-attachment.d.ts +0 -11
- package/dist/components/chat/input/chat-input.svelte.d.ts +0 -79
- package/dist/components/chat/input/index.d.ts +0 -5
- package/dist/components/chat/message/chat-date-separator.svelte.d.ts +0 -12
- package/dist/components/chat/message/chat-message-parts-renderer.svelte.d.ts +0 -4
- package/dist/components/chat/message/chat-message-parts.d.ts +0 -96
- package/dist/components/chat/message/chat-message.svelte.d.ts +0 -91
- package/dist/components/chat/message/chat-read-receipt.svelte.d.ts +0 -27
- package/dist/components/chat/message/image-lightbox.svelte.d.ts +0 -17
- package/dist/components/chat/message/index.d.ts +0 -6
- package/dist/components/chat/message/markdown-preview.svelte.d.ts +0 -8
- package/dist/components/chat/message/message-attachments.svelte.d.ts +0 -17
- package/dist/components/chat/message/message-content.svelte.d.ts +0 -18
- package/dist/components/chat/message/parts/image-part.svelte.d.ts +0 -17
- package/dist/components/chat/message/parts/markdown-part.svelte.d.ts +0 -8
- package/dist/components/chat/message/parts/reasoning-part.svelte.d.ts +0 -12
- package/dist/components/chat/message/parts/step-part.svelte.d.ts +0 -8
- package/dist/components/chat/message/parts/suggestion-part.svelte.d.ts +0 -18
- package/dist/components/chat/message/parts/tool-approval-part.svelte.d.ts +0 -12
- package/dist/components/chat/message/parts/tool-call-part.svelte.d.ts +0 -12
- package/dist/components/chat/message/parts/tool-result-part.svelte.d.ts +0 -8
- package/dist/components/chat/message/tool-call-group.svelte.d.ts +0 -15
- package/dist/components/chat/message/tool-payload-code.svelte.d.ts +0 -9
- package/dist/components/chat/utilities/conversation.d.ts +0 -12
- package/dist/components/chat/utilities/index.d.ts +0 -9
- package/dist/components/chat/utilities/types.d.ts +0 -262
- package/dist/components/chat/utilities/utilities.d.ts +0 -140
- package/dist/components/chat-composer-popover/chat-composer-popover-filter.d.ts +0 -11
- package/dist/components/chat-composer-popover/chat-composer-popover.css +0 -7
- package/dist/components/chat-composer-popover/chat-composer-popover.css.d.ts +0 -1
- package/dist/components/chat-composer-popover/chat-composer-popover.schema.d.ts +0 -3
- package/dist/components/chat-composer-popover/chat-composer-popover.schema.js +0 -150
- package/dist/components/chat-composer-popover/chat-composer-popover.svelte.d.ts +0 -46
- package/dist/components/chat-composer-popover/chat-composer-popover.types.d.ts +0 -77
- package/dist/components/chat-composer-popover/chat-composer-popover.variables.d.ts +0 -2
- package/dist/components/chat-composer-popover/chat-composer-popover.variables.js +0 -61
- package/dist/components/chat-composer-popover/index.d.ts +0 -6
- package/dist/components/chat-composer-popover/index.js +0 -3285
- package/dist/components/chat-conversation-header/chat-conversation-header.css +0 -51
- package/dist/components/chat-conversation-header/chat-conversation-header.css.d.ts +0 -1
- package/dist/components/chat-conversation-header/chat-conversation-header.schema.d.ts +0 -3
- package/dist/components/chat-conversation-header/chat-conversation-header.schema.js +0 -94
- package/dist/components/chat-conversation-header/chat-conversation-header.svelte.d.ts +0 -19
- package/dist/components/chat-conversation-header/chat-conversation-header.types.d.ts +0 -18
- package/dist/components/chat-conversation-header/chat-conversation-header.variables.d.ts +0 -2
- package/dist/components/chat-conversation-header/chat-conversation-header.variables.js +0 -61
- package/dist/components/chat-conversation-header/index.d.ts +0 -5
- package/dist/components/chat-conversation-header/index.js +0 -4278
- package/dist/components/chat-conversation-list/chat-conversation-list.css +0 -127
- package/dist/components/chat-conversation-list/chat-conversation-list.css.d.ts +0 -1
- package/dist/components/chat-conversation-list/chat-conversation-list.schema.d.ts +0 -3
- package/dist/components/chat-conversation-list/chat-conversation-list.schema.js +0 -105
- package/dist/components/chat-conversation-list/chat-conversation-list.svelte.d.ts +0 -21
- package/dist/components/chat-conversation-list/chat-conversation-list.types.d.ts +0 -17
- package/dist/components/chat-conversation-list/chat-conversation-list.variables.d.ts +0 -2
- package/dist/components/chat-conversation-list/chat-conversation-list.variables.js +0 -61
- package/dist/components/chat-conversation-list/conversation-summary.d.ts +0 -30
- package/dist/components/chat-conversation-list/index.d.ts +0 -6
- package/dist/components/chat-conversation-list/index.js +0 -536
- package/dist/server/components/chat/index.js +0 -131
- package/dist/server/components/chat-composer-popover/index.js +0 -26
- package/dist/server/components/chat-conversation-header/index.js +0 -41
- package/dist/server/components/chat-conversation-list/index.js +0 -19
- package/dist/server/index.server-2bbwajb2.js +0 -54
- package/dist/server/index.server-2hqrv7ca.js +0 -9
- package/dist/server/index.server-67qgdypc.js +0 -9
- package/dist/server/index.server-6hnfzc7f.js +0 -263
- package/dist/server/index.server-8rmtb8vx.js +0 -175
- package/dist/server/index.server-a59y47rw.js +0 -59
- package/dist/server/index.server-bfkka7x4.js +0 -2
- package/dist/server/index.server-czf35aba.js +0 -4241
- package/dist/server/index.server-kb6w1a7c.js +0 -27
- package/dist/server/index.server-mzj20rfz.js +0 -77
- package/dist/server/index.server-nphtb2ey.js +0 -76
- package/dist/server/index.server-qkfd0qa7.js +0 -2
- package/dist/server/index.server-rf67m8v5.js +0 -2
- package/dist/server/index.server-rqe5bqgm.js +0 -37
- package/dist/server/index.server-xtjjmsyq.js +0 -315
- package/dist/server/index.server-yq9evnp4.js +0 -38
- package/dist/server/index.server-z1qvwaem.js +0 -74
- package/dist/server/index.server-z7hxtqs1.js +0 -83
- package/src/components/chat/adapter/chat-adapter.ts +0 -132
- package/src/components/chat/adapter/index.ts +0 -15
- package/src/components/chat/artifact/artifact-panel.svelte +0 -112
- package/src/components/chat/artifact/artifact-viewer.svelte +0 -101
- package/src/components/chat/artifact/chat-artifact-layout.svelte +0 -56
- package/src/components/chat/artifact/index.ts +0 -3
- package/src/components/chat/builders.ts +0 -464
- package/src/components/chat/chat.css +0 -16
- package/src/components/chat/chat.examples.json +0 -67
- package/src/components/chat/chat.schema.json +0 -290
- package/src/components/chat/chat.schema.ts +0 -335
- package/src/components/chat/chat.svelte +0 -67
- package/src/components/chat/chat.types.ts +0 -284
- package/src/components/chat/chat.variables.json +0 -1
- package/src/components/chat/chat.variables.ts +0 -3
- package/src/components/chat/container/chat-events.ts +0 -26
- package/src/components/chat/container/chat-history-trigger.svelte +0 -95
- package/src/components/chat/container/chat-jump-controls.svelte +0 -191
- package/src/components/chat/container/chat-participant-typing.svelte +0 -128
- package/src/components/chat/container/chat-search-bar.svelte +0 -219
- package/src/components/chat/container/chat-status-announcer.svelte +0 -22
- package/src/components/chat/container/chat.svelte +0 -1879
- package/src/components/chat/container/index.ts +0 -64
- package/src/components/chat/container/scroll-utilities.ts +0 -204
- package/src/components/chat/container/use-chat-disclosure-state.svelte.ts +0 -62
- package/src/components/chat/container/use-chat-keyboard-nav.svelte.ts +0 -153
- package/src/components/chat/container/use-chat-message-groups.svelte.ts +0 -146
- package/src/components/chat/container/use-chat-read-receipts.svelte.ts +0 -62
- package/src/components/chat/container/use-chat-scroll-state.svelte.ts +0 -292
- package/src/components/chat/container/use-chat-search.svelte.ts +0 -116
- package/src/components/chat/container/use-chat-typing-indicator.svelte.ts +0 -153
- package/src/components/chat/container/use-chat-unread-state.svelte.ts +0 -170
- package/src/components/chat/container/use-chat-virtualizer.svelte.ts +0 -260
- package/src/components/chat/conversation-model.ts +0 -56
- package/src/components/chat/export/conversation-export-actions.svelte +0 -174
- package/src/components/chat/export/index.ts +0 -9
- package/src/components/chat/index.ts +0 -160
- package/src/components/chat/input/attachment-kind.ts +0 -28
- package/src/components/chat/input/chat-attachment-preview.svelte +0 -223
- package/src/components/chat/input/chat-attachment-serialization.ts +0 -63
- package/src/components/chat/input/chat-attachment.ts +0 -12
- package/src/components/chat/input/chat-input.svelte +0 -810
- package/src/components/chat/input/index.ts +0 -9
- package/src/components/chat/message/chat-date-separator.svelte +0 -87
- package/src/components/chat/message/chat-message-parts-renderer.svelte +0 -139
- package/src/components/chat/message/chat-message-parts.ts +0 -163
- package/src/components/chat/message/chat-message.svelte +0 -861
- package/src/components/chat/message/chat-read-receipt.svelte +0 -85
- package/src/components/chat/message/image-lightbox.svelte +0 -255
- package/src/components/chat/message/index.ts +0 -6
- package/src/components/chat/message/markdown-preview.svelte +0 -77
- package/src/components/chat/message/message-attachments.svelte +0 -178
- package/src/components/chat/message/message-content.svelte +0 -132
- package/src/components/chat/message/parts/image-part.svelte +0 -11
- package/src/components/chat/message/parts/markdown-part.svelte +0 -17
- package/src/components/chat/message/parts/reasoning-part.svelte +0 -274
- package/src/components/chat/message/parts/step-part.svelte +0 -127
- package/src/components/chat/message/parts/suggestion-part.svelte +0 -83
- package/src/components/chat/message/parts/tool-approval-part.svelte +0 -298
- package/src/components/chat/message/parts/tool-call-part.svelte +0 -19
- package/src/components/chat/message/parts/tool-result-part.svelte +0 -65
- package/src/components/chat/message/tool-call-group.svelte +0 -274
- package/src/components/chat/message/tool-payload-code.svelte +0 -35
- package/src/components/chat/utilities/conversation.ts +0 -44
- package/src/components/chat/utilities/index.ts +0 -33
- package/src/components/chat/utilities/types.ts +0 -288
- package/src/components/chat/utilities/utilities.ts +0 -507
- package/src/components/chat-composer-popover/chat-composer-popover-filter.ts +0 -68
- package/src/components/chat-composer-popover/chat-composer-popover.css +0 -7
- package/src/components/chat-composer-popover/chat-composer-popover.examples.json +0 -13
- package/src/components/chat-composer-popover/chat-composer-popover.schema.json +0 -90
- package/src/components/chat-composer-popover/chat-composer-popover.schema.ts +0 -95
- package/src/components/chat-composer-popover/chat-composer-popover.svelte +0 -234
- package/src/components/chat-composer-popover/chat-composer-popover.types.ts +0 -88
- package/src/components/chat-composer-popover/chat-composer-popover.variables.json +0 -1
- package/src/components/chat-composer-popover/chat-composer-popover.variables.ts +0 -3
- package/src/components/chat-composer-popover/index.ts +0 -19
- package/src/components/chat-conversation-header/chat-conversation-header.css +0 -51
- package/src/components/chat-conversation-header/chat-conversation-header.examples.json +0 -13
- package/src/components/chat-conversation-header/chat-conversation-header.schema.json +0 -34
- package/src/components/chat-conversation-header/chat-conversation-header.schema.ts +0 -38
- package/src/components/chat-conversation-header/chat-conversation-header.svelte +0 -49
- package/src/components/chat-conversation-header/chat-conversation-header.types.ts +0 -20
- package/src/components/chat-conversation-header/chat-conversation-header.variables.json +0 -1
- package/src/components/chat-conversation-header/chat-conversation-header.variables.ts +0 -3
- package/src/components/chat-conversation-header/index.ts +0 -9
- package/src/components/chat-conversation-list/chat-conversation-list.css +0 -127
- package/src/components/chat-conversation-list/chat-conversation-list.examples.json +0 -13
- package/src/components/chat-conversation-list/chat-conversation-list.schema.json +0 -45
- package/src/components/chat-conversation-list/chat-conversation-list.schema.ts +0 -52
- package/src/components/chat-conversation-list/chat-conversation-list.svelte +0 -75
- package/src/components/chat-conversation-list/chat-conversation-list.types.ts +0 -18
- package/src/components/chat-conversation-list/chat-conversation-list.variables.json +0 -1
- package/src/components/chat-conversation-list/chat-conversation-list.variables.ts +0 -3
- package/src/components/chat-conversation-list/conversation-summary.ts +0 -88
- package/src/components/chat-conversation-list/index.ts +0 -11
|
@@ -2144,6 +2144,175 @@ function Focus_trap($$anchor, $$props) {
|
|
|
2144
2144
|
$2.pop();
|
|
2145
2145
|
}
|
|
2146
2146
|
|
|
2147
|
+
// src/_internal/overlay.ts
|
|
2148
|
+
var escapeStack = [];
|
|
2149
|
+
function pushEscapeHandler(handler) {
|
|
2150
|
+
escapeStack.push(handler);
|
|
2151
|
+
if (escapeStack.length === 1 && typeof window !== "undefined") {
|
|
2152
|
+
window.addEventListener("keydown", onEscapeKeydown, { capture: true });
|
|
2153
|
+
}
|
|
2154
|
+
let released = false;
|
|
2155
|
+
return () => {
|
|
2156
|
+
if (released)
|
|
2157
|
+
return;
|
|
2158
|
+
released = true;
|
|
2159
|
+
const index = escapeStack.lastIndexOf(handler);
|
|
2160
|
+
if (index !== -1)
|
|
2161
|
+
escapeStack.splice(index, 1);
|
|
2162
|
+
if (escapeStack.length === 0 && typeof window !== "undefined") {
|
|
2163
|
+
window.removeEventListener("keydown", onEscapeKeydown, { capture: true });
|
|
2164
|
+
}
|
|
2165
|
+
};
|
|
2166
|
+
}
|
|
2167
|
+
function onEscapeKeydown(event) {
|
|
2168
|
+
if (event.key !== "Escape")
|
|
2169
|
+
return;
|
|
2170
|
+
const handler = escapeStack.at(-1);
|
|
2171
|
+
if (!handler)
|
|
2172
|
+
return;
|
|
2173
|
+
handler(event);
|
|
2174
|
+
}
|
|
2175
|
+
var scrollLockCount = 0;
|
|
2176
|
+
var originalBodyOverflow = null;
|
|
2177
|
+
function lockBodyScroll() {
|
|
2178
|
+
if (typeof document === "undefined")
|
|
2179
|
+
return () => {};
|
|
2180
|
+
if (scrollLockCount === 0) {
|
|
2181
|
+
originalBodyOverflow = document.body.style.overflow;
|
|
2182
|
+
document.body.style.overflow = "hidden";
|
|
2183
|
+
}
|
|
2184
|
+
scrollLockCount += 1;
|
|
2185
|
+
let released = false;
|
|
2186
|
+
return () => {
|
|
2187
|
+
if (released)
|
|
2188
|
+
return;
|
|
2189
|
+
released = true;
|
|
2190
|
+
scrollLockCount = Math.max(0, scrollLockCount - 1);
|
|
2191
|
+
if (scrollLockCount === 0) {
|
|
2192
|
+
document.body.style.overflow = originalBodyOverflow ?? "";
|
|
2193
|
+
originalBodyOverflow = null;
|
|
2194
|
+
}
|
|
2195
|
+
};
|
|
2196
|
+
}
|
|
2197
|
+
function captureFocus() {
|
|
2198
|
+
if (typeof document === "undefined")
|
|
2199
|
+
return null;
|
|
2200
|
+
const active = document.activeElement;
|
|
2201
|
+
if (active && active !== document.body && active instanceof HTMLElement) {
|
|
2202
|
+
return active;
|
|
2203
|
+
}
|
|
2204
|
+
return null;
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
// src/utilities/attachments.ts
|
|
2208
|
+
function createBodyScrollLock() {
|
|
2209
|
+
return () => {
|
|
2210
|
+
const release = lockBodyScroll();
|
|
2211
|
+
return release;
|
|
2212
|
+
};
|
|
2213
|
+
}
|
|
2214
|
+
function isInsideEventPath(event, element) {
|
|
2215
|
+
const path = event.composedPath();
|
|
2216
|
+
return path.some((entry) => entry instanceof Node && element.contains(entry));
|
|
2217
|
+
}
|
|
2218
|
+
function createClickOutside(options) {
|
|
2219
|
+
const { handler, enabled = true, eventType = "click", capture = true, ignoreRefs } = options;
|
|
2220
|
+
return (node) => {
|
|
2221
|
+
function handleEvent(event) {
|
|
2222
|
+
const isEnabled = typeof enabled === "function" ? enabled() : enabled;
|
|
2223
|
+
if (!isEnabled)
|
|
2224
|
+
return;
|
|
2225
|
+
if (event.type === "touchstart" && !event.cancelable)
|
|
2226
|
+
return;
|
|
2227
|
+
const target = event.target;
|
|
2228
|
+
if (!(target instanceof Node)) {
|
|
2229
|
+
handler();
|
|
2230
|
+
return;
|
|
2231
|
+
}
|
|
2232
|
+
if (isInsideEventPath(event, node))
|
|
2233
|
+
return;
|
|
2234
|
+
if (ignoreRefs) {
|
|
2235
|
+
for (const ref of ignoreRefs) {
|
|
2236
|
+
const element = ref();
|
|
2237
|
+
if (element && isInsideEventPath(event, element))
|
|
2238
|
+
return;
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
handler();
|
|
2242
|
+
}
|
|
2243
|
+
document.addEventListener(eventType, handleEvent, capture);
|
|
2244
|
+
return () => {
|
|
2245
|
+
document.removeEventListener(eventType, handleEvent, capture);
|
|
2246
|
+
};
|
|
2247
|
+
};
|
|
2248
|
+
}
|
|
2249
|
+
function overflowFade() {
|
|
2250
|
+
return (node) => {
|
|
2251
|
+
if (typeof ResizeObserver === "undefined") {
|
|
2252
|
+
node.removeAttribute("data-cinder-overflows");
|
|
2253
|
+
return;
|
|
2254
|
+
}
|
|
2255
|
+
const update = () => {
|
|
2256
|
+
const overflows = node.scrollHeight - node.clientHeight > 1;
|
|
2257
|
+
const atBottom = node.scrollTop + node.clientHeight >= node.scrollHeight - 1;
|
|
2258
|
+
node.toggleAttribute("data-cinder-overflows", overflows && !atBottom);
|
|
2259
|
+
};
|
|
2260
|
+
const requestFrame = typeof requestAnimationFrame === "function" ? requestAnimationFrame : (callback) => window.setTimeout(() => callback(performance.now()));
|
|
2261
|
+
const cancelFrame = typeof cancelAnimationFrame === "function" ? cancelAnimationFrame : (handle) => window.clearTimeout(handle);
|
|
2262
|
+
let frame = 0;
|
|
2263
|
+
const scheduleUpdate = () => {
|
|
2264
|
+
if (frame)
|
|
2265
|
+
return;
|
|
2266
|
+
frame = requestFrame(() => {
|
|
2267
|
+
frame = 0;
|
|
2268
|
+
update();
|
|
2269
|
+
});
|
|
2270
|
+
};
|
|
2271
|
+
const resizeObserver = new ResizeObserver(scheduleUpdate);
|
|
2272
|
+
const observedElements = new Set;
|
|
2273
|
+
const observeElement = (element) => {
|
|
2274
|
+
if (observedElements.has(element))
|
|
2275
|
+
return;
|
|
2276
|
+
resizeObserver.observe(element);
|
|
2277
|
+
observedElements.add(element);
|
|
2278
|
+
};
|
|
2279
|
+
const syncObservedElements = () => {
|
|
2280
|
+
const currentElements = new Set([node, ...node.querySelectorAll("*")]);
|
|
2281
|
+
for (const element of observedElements) {
|
|
2282
|
+
if (!currentElements.has(element)) {
|
|
2283
|
+
resizeObserver.unobserve(element);
|
|
2284
|
+
observedElements.delete(element);
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
for (const element of currentElements) {
|
|
2288
|
+
observeElement(element);
|
|
2289
|
+
}
|
|
2290
|
+
};
|
|
2291
|
+
syncObservedElements();
|
|
2292
|
+
const mutationObserver = typeof MutationObserver === "undefined" ? null : new MutationObserver(() => {
|
|
2293
|
+
syncObservedElements();
|
|
2294
|
+
scheduleUpdate();
|
|
2295
|
+
});
|
|
2296
|
+
mutationObserver?.observe(node, {
|
|
2297
|
+
childList: true,
|
|
2298
|
+
subtree: true,
|
|
2299
|
+
characterData: true,
|
|
2300
|
+
attributes: true,
|
|
2301
|
+
attributeFilter: ["hidden", "class", "style", "aria-hidden"]
|
|
2302
|
+
});
|
|
2303
|
+
node.addEventListener("scroll", scheduleUpdate, { passive: true });
|
|
2304
|
+
update();
|
|
2305
|
+
return () => {
|
|
2306
|
+
if (frame)
|
|
2307
|
+
cancelFrame(frame);
|
|
2308
|
+
resizeObserver.disconnect();
|
|
2309
|
+
observedElements.clear();
|
|
2310
|
+
mutationObserver?.disconnect();
|
|
2311
|
+
node.removeEventListener("scroll", scheduleUpdate);
|
|
2312
|
+
};
|
|
2313
|
+
};
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2147
2316
|
// src/components/focus-trap/index.ts
|
|
2148
2317
|
var focus_trap_default = Focus_trap;
|
|
2149
2318
|
// src/components/portal/portal.svelte
|
|
@@ -4091,66 +4260,6 @@ function createAnchoredOverlay(options) {
|
|
|
4091
4260
|
};
|
|
4092
4261
|
}
|
|
4093
4262
|
|
|
4094
|
-
// src/_internal/overlay.ts
|
|
4095
|
-
var escapeStack = [];
|
|
4096
|
-
function pushEscapeHandler(handler) {
|
|
4097
|
-
escapeStack.push(handler);
|
|
4098
|
-
if (escapeStack.length === 1 && typeof window !== "undefined") {
|
|
4099
|
-
window.addEventListener("keydown", onEscapeKeydown, { capture: true });
|
|
4100
|
-
}
|
|
4101
|
-
let released = false;
|
|
4102
|
-
return () => {
|
|
4103
|
-
if (released)
|
|
4104
|
-
return;
|
|
4105
|
-
released = true;
|
|
4106
|
-
const index3 = escapeStack.lastIndexOf(handler);
|
|
4107
|
-
if (index3 !== -1)
|
|
4108
|
-
escapeStack.splice(index3, 1);
|
|
4109
|
-
if (escapeStack.length === 0 && typeof window !== "undefined") {
|
|
4110
|
-
window.removeEventListener("keydown", onEscapeKeydown, { capture: true });
|
|
4111
|
-
}
|
|
4112
|
-
};
|
|
4113
|
-
}
|
|
4114
|
-
function onEscapeKeydown(event) {
|
|
4115
|
-
if (event.key !== "Escape")
|
|
4116
|
-
return;
|
|
4117
|
-
const handler = escapeStack.at(-1);
|
|
4118
|
-
if (!handler)
|
|
4119
|
-
return;
|
|
4120
|
-
handler(event);
|
|
4121
|
-
}
|
|
4122
|
-
var scrollLockCount = 0;
|
|
4123
|
-
var originalBodyOverflow = null;
|
|
4124
|
-
function lockBodyScroll() {
|
|
4125
|
-
if (typeof document === "undefined")
|
|
4126
|
-
return () => {};
|
|
4127
|
-
if (scrollLockCount === 0) {
|
|
4128
|
-
originalBodyOverflow = document.body.style.overflow;
|
|
4129
|
-
document.body.style.overflow = "hidden";
|
|
4130
|
-
}
|
|
4131
|
-
scrollLockCount += 1;
|
|
4132
|
-
let released = false;
|
|
4133
|
-
return () => {
|
|
4134
|
-
if (released)
|
|
4135
|
-
return;
|
|
4136
|
-
released = true;
|
|
4137
|
-
scrollLockCount = Math.max(0, scrollLockCount - 1);
|
|
4138
|
-
if (scrollLockCount === 0) {
|
|
4139
|
-
document.body.style.overflow = originalBodyOverflow ?? "";
|
|
4140
|
-
originalBodyOverflow = null;
|
|
4141
|
-
}
|
|
4142
|
-
};
|
|
4143
|
-
}
|
|
4144
|
-
function captureFocus() {
|
|
4145
|
-
if (typeof document === "undefined")
|
|
4146
|
-
return null;
|
|
4147
|
-
const active = document.activeElement;
|
|
4148
|
-
if (active && active !== document.body && active instanceof HTMLElement) {
|
|
4149
|
-
return active;
|
|
4150
|
-
}
|
|
4151
|
-
return null;
|
|
4152
|
-
}
|
|
4153
|
-
|
|
4154
4263
|
// src/components/tooltip/tooltip.svelte
|
|
4155
4264
|
var root8 = $27.from_html(`<span role="presentation"><!> <span role="tooltip" class="cinder-tooltip"> </span></span>`);
|
|
4156
4265
|
function Tooltip($$anchor, $$props) {
|
|
@@ -4424,115 +4533,6 @@ function Check($$anchor, $$props) {
|
|
|
4424
4533
|
import"svelte/internal/disclose-version";
|
|
4425
4534
|
import * as $31 from "svelte/internal/client";
|
|
4426
4535
|
|
|
4427
|
-
// src/utilities/attachments.ts
|
|
4428
|
-
function createBodyScrollLock() {
|
|
4429
|
-
return () => {
|
|
4430
|
-
const release = lockBodyScroll();
|
|
4431
|
-
return release;
|
|
4432
|
-
};
|
|
4433
|
-
}
|
|
4434
|
-
function isInsideEventPath(event2, element2) {
|
|
4435
|
-
const path = event2.composedPath();
|
|
4436
|
-
return path.some((entry) => entry instanceof Node && element2.contains(entry));
|
|
4437
|
-
}
|
|
4438
|
-
function createClickOutside(options) {
|
|
4439
|
-
const { handler, enabled = true, eventType = "click", capture = true, ignoreRefs } = options;
|
|
4440
|
-
return (node) => {
|
|
4441
|
-
function handleEvent(event2) {
|
|
4442
|
-
const isEnabled = typeof enabled === "function" ? enabled() : enabled;
|
|
4443
|
-
if (!isEnabled)
|
|
4444
|
-
return;
|
|
4445
|
-
if (event2.type === "touchstart" && !event2.cancelable)
|
|
4446
|
-
return;
|
|
4447
|
-
const target = event2.target;
|
|
4448
|
-
if (!(target instanceof Node)) {
|
|
4449
|
-
handler();
|
|
4450
|
-
return;
|
|
4451
|
-
}
|
|
4452
|
-
if (isInsideEventPath(event2, node))
|
|
4453
|
-
return;
|
|
4454
|
-
if (ignoreRefs) {
|
|
4455
|
-
for (const ref of ignoreRefs) {
|
|
4456
|
-
const element2 = ref();
|
|
4457
|
-
if (element2 && isInsideEventPath(event2, element2))
|
|
4458
|
-
return;
|
|
4459
|
-
}
|
|
4460
|
-
}
|
|
4461
|
-
handler();
|
|
4462
|
-
}
|
|
4463
|
-
document.addEventListener(eventType, handleEvent, capture);
|
|
4464
|
-
return () => {
|
|
4465
|
-
document.removeEventListener(eventType, handleEvent, capture);
|
|
4466
|
-
};
|
|
4467
|
-
};
|
|
4468
|
-
}
|
|
4469
|
-
function overflowFade() {
|
|
4470
|
-
return (node) => {
|
|
4471
|
-
if (typeof ResizeObserver === "undefined") {
|
|
4472
|
-
node.removeAttribute("data-cinder-overflows");
|
|
4473
|
-
return;
|
|
4474
|
-
}
|
|
4475
|
-
const update = () => {
|
|
4476
|
-
const overflows = node.scrollHeight - node.clientHeight > 1;
|
|
4477
|
-
const atBottom = node.scrollTop + node.clientHeight >= node.scrollHeight - 1;
|
|
4478
|
-
node.toggleAttribute("data-cinder-overflows", overflows && !atBottom);
|
|
4479
|
-
};
|
|
4480
|
-
const requestFrame = typeof requestAnimationFrame === "function" ? requestAnimationFrame : (callback) => window.setTimeout(() => callback(performance.now()));
|
|
4481
|
-
const cancelFrame = typeof cancelAnimationFrame === "function" ? cancelAnimationFrame : (handle) => window.clearTimeout(handle);
|
|
4482
|
-
let frame = 0;
|
|
4483
|
-
const scheduleUpdate = () => {
|
|
4484
|
-
if (frame)
|
|
4485
|
-
return;
|
|
4486
|
-
frame = requestFrame(() => {
|
|
4487
|
-
frame = 0;
|
|
4488
|
-
update();
|
|
4489
|
-
});
|
|
4490
|
-
};
|
|
4491
|
-
const resizeObserver = new ResizeObserver(scheduleUpdate);
|
|
4492
|
-
const observedElements = new Set;
|
|
4493
|
-
const observeElement = (element2) => {
|
|
4494
|
-
if (observedElements.has(element2))
|
|
4495
|
-
return;
|
|
4496
|
-
resizeObserver.observe(element2);
|
|
4497
|
-
observedElements.add(element2);
|
|
4498
|
-
};
|
|
4499
|
-
const syncObservedElements = () => {
|
|
4500
|
-
const currentElements = new Set([node, ...node.querySelectorAll("*")]);
|
|
4501
|
-
for (const element2 of observedElements) {
|
|
4502
|
-
if (!currentElements.has(element2)) {
|
|
4503
|
-
resizeObserver.unobserve(element2);
|
|
4504
|
-
observedElements.delete(element2);
|
|
4505
|
-
}
|
|
4506
|
-
}
|
|
4507
|
-
for (const element2 of currentElements) {
|
|
4508
|
-
observeElement(element2);
|
|
4509
|
-
}
|
|
4510
|
-
};
|
|
4511
|
-
syncObservedElements();
|
|
4512
|
-
const mutationObserver = typeof MutationObserver === "undefined" ? null : new MutationObserver(() => {
|
|
4513
|
-
syncObservedElements();
|
|
4514
|
-
scheduleUpdate();
|
|
4515
|
-
});
|
|
4516
|
-
mutationObserver?.observe(node, {
|
|
4517
|
-
childList: true,
|
|
4518
|
-
subtree: true,
|
|
4519
|
-
characterData: true,
|
|
4520
|
-
attributes: true,
|
|
4521
|
-
attributeFilter: ["hidden", "class", "style", "aria-hidden"]
|
|
4522
|
-
});
|
|
4523
|
-
node.addEventListener("scroll", scheduleUpdate, { passive: true });
|
|
4524
|
-
update();
|
|
4525
|
-
return () => {
|
|
4526
|
-
if (frame)
|
|
4527
|
-
cancelFrame(frame);
|
|
4528
|
-
resizeObserver.disconnect();
|
|
4529
|
-
observedElements.clear();
|
|
4530
|
-
mutationObserver?.disconnect();
|
|
4531
|
-
node.removeEventListener("scroll", scheduleUpdate);
|
|
4532
|
-
};
|
|
4533
|
-
};
|
|
4534
|
-
}
|
|
4535
|
-
|
|
4536
4536
|
// src/components/dropdown/dropdown.context.ts
|
|
4537
4537
|
import { createContext } from "svelte";
|
|
4538
4538
|
var [getDropdownContextStrict, setDropdownContext] = createContext();
|
|
@@ -7491,4 +7491,4 @@ export {
|
|
|
7491
7491
|
Markdown_editor as MarkdownEditor
|
|
7492
7492
|
};
|
|
7493
7493
|
|
|
7494
|
-
//# debugId=
|
|
7494
|
+
//# debugId=869CF69A4003713764756E2164756E21
|
|
@@ -313,16 +313,6 @@ function Focus_trap($$anchor, $$props) {
|
|
|
313
313
|
$2.pop();
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
// src/components/focus-trap/index.ts
|
|
317
|
-
var focus_trap_default = Focus_trap;
|
|
318
|
-
// src/components/modal/index.ts
|
|
319
|
-
import"@lostgradient/cinder/modal/styles";
|
|
320
|
-
|
|
321
|
-
// src/components/modal/modal.svelte
|
|
322
|
-
import"svelte/internal/disclose-version";
|
|
323
|
-
import * as $3 from "svelte/internal/client";
|
|
324
|
-
import { onDestroy } from "svelte";
|
|
325
|
-
|
|
326
316
|
// src/_internal/overlay.ts
|
|
327
317
|
var escapeStack = [];
|
|
328
318
|
function pushEscapeHandler(handler) {
|
|
@@ -383,15 +373,6 @@ function captureFocus() {
|
|
|
383
373
|
return null;
|
|
384
374
|
}
|
|
385
375
|
|
|
386
|
-
// ../../node_modules/esm-env/true.js
|
|
387
|
-
var true_default = true;
|
|
388
|
-
// src/utilities/dev-warn.ts
|
|
389
|
-
function devWarn(message, ...args) {
|
|
390
|
-
if (!true_default)
|
|
391
|
-
return;
|
|
392
|
-
console.warn(message, ...args);
|
|
393
|
-
}
|
|
394
|
-
|
|
395
376
|
// src/utilities/attachments.ts
|
|
396
377
|
function createBodyScrollLock() {
|
|
397
378
|
return () => {
|
|
@@ -501,6 +482,25 @@ function overflowFade() {
|
|
|
501
482
|
};
|
|
502
483
|
}
|
|
503
484
|
|
|
485
|
+
// src/components/focus-trap/index.ts
|
|
486
|
+
var focus_trap_default = Focus_trap;
|
|
487
|
+
// src/components/modal/index.ts
|
|
488
|
+
import"@lostgradient/cinder/modal/styles";
|
|
489
|
+
|
|
490
|
+
// src/components/modal/modal.svelte
|
|
491
|
+
import"svelte/internal/disclose-version";
|
|
492
|
+
import * as $3 from "svelte/internal/client";
|
|
493
|
+
import { onDestroy } from "svelte";
|
|
494
|
+
|
|
495
|
+
// ../../node_modules/esm-env/true.js
|
|
496
|
+
var true_default = true;
|
|
497
|
+
// src/utilities/dev-warn.ts
|
|
498
|
+
function devWarn(message, ...args) {
|
|
499
|
+
if (!true_default)
|
|
500
|
+
return;
|
|
501
|
+
console.warn(message, ...args);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
504
|
// src/components/modal/modal.svelte
|
|
505
505
|
var root2 = $3.from_html(`<div class="cinder-modal__footer"><!></div>`);
|
|
506
506
|
var root_1 = $3.from_html(`<button type="button" class="cinder-modal__close" aria-label="Close dialog"><svg class="cinder-modal__close-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path d="M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"></path></svg></button>`);
|
|
@@ -686,4 +686,4 @@ export {
|
|
|
686
686
|
Modal
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
//# debugId=
|
|
689
|
+
//# debugId=3D461D230F55BABC64756E2164756E21
|