@aceshooting/lyra-ui 2.1.0 → 2.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.
- package/README.md +32 -17
- package/custom-elements.json +37419 -20401
- package/dist/components/app-rail/app-rail-item.class.d.ts +36 -0
- package/dist/components/app-rail/app-rail-item.class.d.ts.map +1 -0
- package/dist/components/app-rail/app-rail-item.class.js +77 -0
- package/dist/components/app-rail/app-rail-item.class.js.map +1 -0
- package/dist/components/app-rail/app-rail-item.d.ts +2 -30
- package/dist/components/app-rail/app-rail-item.d.ts.map +1 -0
- package/dist/components/app-rail/app-rail-item.js +3 -66
- package/dist/components/app-rail/app-rail-item.js.map +1 -0
- package/dist/components/app-rail/app-rail-item.styles.d.ts +1 -0
- package/dist/components/app-rail/app-rail-item.styles.d.ts.map +1 -0
- package/dist/components/app-rail/app-rail-item.styles.js +9 -3
- package/dist/components/app-rail/app-rail-item.styles.js.map +1 -0
- package/dist/components/app-rail/app-rail.class.d.ts +213 -0
- package/dist/components/app-rail/app-rail.class.d.ts.map +1 -0
- package/dist/components/app-rail/app-rail.class.js +545 -0
- package/dist/components/app-rail/app-rail.class.js.map +1 -0
- package/dist/components/app-rail/app-rail.d.ts +3 -168
- package/dist/components/app-rail/app-rail.d.ts.map +1 -0
- package/dist/components/app-rail/app-rail.js +4 -417
- package/dist/components/app-rail/app-rail.js.map +1 -0
- package/dist/components/app-rail/app-rail.styles.d.ts +1 -0
- package/dist/components/app-rail/app-rail.styles.d.ts.map +1 -0
- package/dist/components/app-rail/app-rail.styles.js +39 -10
- package/dist/components/app-rail/app-rail.styles.js.map +1 -0
- package/dist/components/attachment-chip/attachment-chip.class.d.ts +151 -0
- package/dist/components/attachment-chip/attachment-chip.class.d.ts.map +1 -0
- package/dist/components/attachment-chip/attachment-chip.class.js +370 -0
- package/dist/components/attachment-chip/attachment-chip.class.js.map +1 -0
- package/dist/components/attachment-chip/attachment-chip.d.ts +2 -141
- package/dist/components/attachment-chip/attachment-chip.d.ts.map +1 -0
- package/dist/components/attachment-chip/attachment-chip.js +3 -354
- package/dist/components/attachment-chip/attachment-chip.js.map +1 -0
- package/dist/components/attachment-chip/attachment-chip.styles.d.ts +1 -0
- package/dist/components/attachment-chip/attachment-chip.styles.d.ts.map +1 -0
- package/dist/components/attachment-chip/attachment-chip.styles.js +29 -13
- package/dist/components/attachment-chip/attachment-chip.styles.js.map +1 -0
- package/dist/components/attachment-trigger/attachment-trigger.class.d.ts +106 -0
- package/dist/components/attachment-trigger/attachment-trigger.class.d.ts.map +1 -0
- package/dist/components/attachment-trigger/attachment-trigger.class.js +227 -0
- package/dist/components/attachment-trigger/attachment-trigger.class.js.map +1 -0
- package/dist/components/attachment-trigger/attachment-trigger.d.ts +4 -96
- package/dist/components/attachment-trigger/attachment-trigger.d.ts.map +1 -0
- package/dist/components/attachment-trigger/attachment-trigger.js +5 -268
- package/dist/components/attachment-trigger/attachment-trigger.js.map +1 -0
- package/dist/components/attachment-trigger/attachment-trigger.styles.d.ts +1 -0
- package/dist/components/attachment-trigger/attachment-trigger.styles.d.ts.map +1 -0
- package/dist/components/attachment-trigger/attachment-trigger.styles.js +11 -6
- package/dist/components/attachment-trigger/attachment-trigger.styles.js.map +1 -0
- package/dist/components/chart/bar-chart.class.d.ts +15 -0
- package/dist/components/chart/bar-chart.class.d.ts.map +1 -0
- package/dist/components/chart/bar-chart.class.js +10 -0
- package/dist/components/chart/bar-chart.class.js.map +1 -0
- package/dist/components/chart/bar-chart.d.ts +3 -14
- package/dist/components/chart/bar-chart.d.ts.map +1 -0
- package/dist/components/chart/bar-chart.js +4 -9
- package/dist/components/chart/bar-chart.js.map +1 -0
- package/dist/components/chart/box-plot.class.d.ts +78 -0
- package/dist/components/chart/box-plot.class.d.ts.map +1 -0
- package/dist/components/chart/box-plot.class.js +320 -0
- package/dist/components/chart/box-plot.class.js.map +1 -0
- package/dist/components/chart/box-plot.d.ts +3 -77
- package/dist/components/chart/box-plot.d.ts.map +1 -0
- package/dist/components/chart/box-plot.js +4 -319
- package/dist/components/chart/box-plot.js.map +1 -0
- package/dist/components/chart/box-plot.styles.d.ts +1 -0
- package/dist/components/chart/box-plot.styles.d.ts.map +1 -0
- package/dist/components/chart/box-plot.styles.js +2 -1
- package/dist/components/chart/box-plot.styles.js.map +1 -0
- package/dist/components/chart/bubble-chart.class.d.ts +19 -0
- package/dist/components/chart/bubble-chart.class.d.ts.map +1 -0
- package/dist/components/chart/bubble-chart.class.js +14 -0
- package/dist/components/chart/bubble-chart.class.js.map +1 -0
- package/dist/components/chart/bubble-chart.d.ts +3 -18
- package/dist/components/chart/bubble-chart.d.ts.map +1 -0
- package/dist/components/chart/bubble-chart.js +4 -13
- package/dist/components/chart/bubble-chart.js.map +1 -0
- package/dist/components/chart/chart-loader.d.ts +12 -9
- package/dist/components/chart/chart-loader.d.ts.map +1 -0
- package/dist/components/chart/chart-loader.js +1 -0
- package/dist/components/chart/chart-loader.js.map +1 -0
- package/dist/components/chart/chart.class.d.ts +209 -0
- package/dist/components/chart/chart.class.d.ts.map +1 -0
- package/dist/components/chart/chart.class.js +651 -0
- package/dist/components/chart/chart.class.js.map +1 -0
- package/dist/components/chart/chart.d.ts +3 -196
- package/dist/components/chart/chart.d.ts.map +1 -0
- package/dist/components/chart/chart.js +4 -682
- package/dist/components/chart/chart.js.map +1 -0
- package/dist/components/chart/chart.styles.d.ts +1 -0
- package/dist/components/chart/chart.styles.d.ts.map +1 -0
- package/dist/components/chart/chart.styles.js +5 -4
- package/dist/components/chart/chart.styles.js.map +1 -0
- package/dist/components/chart/doughnut-chart.class.d.ts +15 -0
- package/dist/components/chart/doughnut-chart.class.d.ts.map +1 -0
- package/dist/components/chart/doughnut-chart.class.js +10 -0
- package/dist/components/chart/doughnut-chart.class.js.map +1 -0
- package/dist/components/chart/doughnut-chart.d.ts +3 -14
- package/dist/components/chart/doughnut-chart.d.ts.map +1 -0
- package/dist/components/chart/doughnut-chart.js +4 -9
- package/dist/components/chart/doughnut-chart.js.map +1 -0
- package/dist/components/chart/histogram-bin.d.ts +1 -0
- package/dist/components/chart/histogram-bin.d.ts.map +1 -0
- package/dist/components/chart/histogram-bin.js +1 -0
- package/dist/components/chart/histogram-bin.js.map +1 -0
- package/dist/components/chart/histogram.class.d.ts +23 -0
- package/dist/components/chart/histogram.class.d.ts.map +1 -0
- package/dist/components/chart/histogram.class.js +91 -0
- package/dist/components/chart/histogram.class.js.map +1 -0
- package/dist/components/chart/histogram.d.ts +3 -22
- package/dist/components/chart/histogram.d.ts.map +1 -0
- package/dist/components/chart/histogram.js +4 -90
- package/dist/components/chart/histogram.js.map +1 -0
- package/dist/components/chart/histogram.styles.d.ts +1 -0
- package/dist/components/chart/histogram.styles.d.ts.map +1 -0
- package/dist/components/chart/histogram.styles.js +1 -0
- package/dist/components/chart/histogram.styles.js.map +1 -0
- package/dist/components/chart/line-chart.class.d.ts +15 -0
- package/dist/components/chart/line-chart.class.d.ts.map +1 -0
- package/dist/components/chart/line-chart.class.js +10 -0
- package/dist/components/chart/line-chart.class.js.map +1 -0
- package/dist/components/chart/line-chart.d.ts +3 -14
- package/dist/components/chart/line-chart.d.ts.map +1 -0
- package/dist/components/chart/line-chart.js +4 -9
- package/dist/components/chart/line-chart.js.map +1 -0
- package/dist/components/chart/lite-chart.class.d.ts +237 -0
- package/dist/components/chart/lite-chart.class.d.ts.map +1 -0
- package/dist/components/chart/lite-chart.class.js +757 -0
- package/dist/components/chart/lite-chart.class.js.map +1 -0
- package/dist/components/chart/lite-chart.d.ts +2 -214
- package/dist/components/chart/lite-chart.d.ts.map +1 -0
- package/dist/components/chart/lite-chart.js +3 -737
- package/dist/components/chart/lite-chart.js.map +1 -0
- package/dist/components/chart/lite-chart.styles.d.ts +1 -0
- package/dist/components/chart/lite-chart.styles.d.ts.map +1 -0
- package/dist/components/chart/lite-chart.styles.js +19 -10
- package/dist/components/chart/lite-chart.styles.js.map +1 -0
- package/dist/components/chart/pie-chart.class.d.ts +16 -0
- package/dist/components/chart/pie-chart.class.d.ts.map +1 -0
- package/dist/components/chart/pie-chart.class.js +11 -0
- package/dist/components/chart/pie-chart.class.js.map +1 -0
- package/dist/components/chart/pie-chart.d.ts +3 -15
- package/dist/components/chart/pie-chart.d.ts.map +1 -0
- package/dist/components/chart/pie-chart.js +4 -10
- package/dist/components/chart/pie-chart.js.map +1 -0
- package/dist/components/chart/polar-area-chart.class.d.ts +15 -0
- package/dist/components/chart/polar-area-chart.class.d.ts.map +1 -0
- package/dist/components/chart/polar-area-chart.class.js +10 -0
- package/dist/components/chart/polar-area-chart.class.js.map +1 -0
- package/dist/components/chart/polar-area-chart.d.ts +3 -14
- package/dist/components/chart/polar-area-chart.d.ts.map +1 -0
- package/dist/components/chart/polar-area-chart.js +4 -9
- package/dist/components/chart/polar-area-chart.js.map +1 -0
- package/dist/components/chart/radar-chart.class.d.ts +15 -0
- package/dist/components/chart/radar-chart.class.d.ts.map +1 -0
- package/dist/components/chart/radar-chart.class.js +10 -0
- package/dist/components/chart/radar-chart.class.js.map +1 -0
- package/dist/components/chart/radar-chart.d.ts +3 -14
- package/dist/components/chart/radar-chart.d.ts.map +1 -0
- package/dist/components/chart/radar-chart.js +4 -9
- package/dist/components/chart/radar-chart.js.map +1 -0
- package/dist/components/chart/scatter-chart.class.d.ts +16 -0
- package/dist/components/chart/scatter-chart.class.d.ts.map +1 -0
- package/dist/components/chart/scatter-chart.class.js +11 -0
- package/dist/components/chart/scatter-chart.class.js.map +1 -0
- package/dist/components/chart/scatter-chart.d.ts +3 -15
- package/dist/components/chart/scatter-chart.d.ts.map +1 -0
- package/dist/components/chart/scatter-chart.js +4 -10
- package/dist/components/chart/scatter-chart.js.map +1 -0
- package/dist/components/chat-composer/chat-composer.class.d.ts +145 -0
- package/dist/components/chat-composer/chat-composer.class.d.ts.map +1 -0
- package/dist/components/chat-composer/chat-composer.class.js +314 -0
- package/dist/components/chat-composer/chat-composer.class.js.map +1 -0
- package/dist/components/chat-composer/chat-composer.d.ts +2 -133
- package/dist/components/chat-composer/chat-composer.d.ts.map +1 -0
- package/dist/components/chat-composer/chat-composer.js +3 -364
- package/dist/components/chat-composer/chat-composer.js.map +1 -0
- package/dist/components/chat-composer/chat-composer.styles.d.ts +1 -0
- package/dist/components/chat-composer/chat-composer.styles.d.ts.map +1 -0
- package/dist/components/chat-composer/chat-composer.styles.js +5 -4
- package/dist/components/chat-composer/chat-composer.styles.js.map +1 -0
- package/dist/components/chat-message/chat-message.class.d.ts +145 -0
- package/dist/components/chat-message/chat-message.class.d.ts.map +1 -0
- package/dist/components/chat-message/chat-message.class.js +270 -0
- package/dist/components/chat-message/chat-message.class.js.map +1 -0
- package/dist/components/chat-message/chat-message.d.ts +3 -141
- package/dist/components/chat-message/chat-message.d.ts.map +1 -0
- package/dist/components/chat-message/chat-message.js +4 -329
- package/dist/components/chat-message/chat-message.js.map +1 -0
- package/dist/components/chat-message/chat-message.styles.d.ts +1 -0
- package/dist/components/chat-message/chat-message.styles.d.ts.map +1 -0
- package/dist/components/chat-message/chat-message.styles.js +13 -12
- package/dist/components/chat-message/chat-message.styles.js.map +1 -0
- package/dist/components/checkbox/checkbox.class.d.ts +123 -0
- package/dist/components/checkbox/checkbox.class.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.class.js +328 -0
- package/dist/components/checkbox/checkbox.class.js.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +2 -117
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.js +3 -351
- package/dist/components/checkbox/checkbox.js.map +1 -0
- package/dist/components/checkbox/checkbox.styles.d.ts +1 -0
- package/dist/components/checkbox/checkbox.styles.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.styles.js +5 -4
- package/dist/components/checkbox/checkbox.styles.js.map +1 -0
- package/dist/components/chip/chip-group.class.d.ts +57 -0
- package/dist/components/chip/chip-group.class.d.ts.map +1 -0
- package/dist/components/chip/chip-group.class.js +129 -0
- package/dist/components/chip/chip-group.class.js.map +1 -0
- package/dist/components/chip/chip-group.d.ts +2 -56
- package/dist/components/chip/chip-group.d.ts.map +1 -0
- package/dist/components/chip/chip-group.js +3 -128
- package/dist/components/chip/chip-group.js.map +1 -0
- package/dist/components/chip/chip-group.styles.d.ts +1 -0
- package/dist/components/chip/chip-group.styles.d.ts.map +1 -0
- package/dist/components/chip/chip-group.styles.js +7 -6
- package/dist/components/chip/chip-group.styles.js.map +1 -0
- package/dist/components/chip/chip.class.d.ts +65 -0
- package/dist/components/chip/chip.class.d.ts.map +1 -0
- package/dist/components/chip/chip.class.js +121 -0
- package/dist/components/chip/chip.class.js.map +1 -0
- package/dist/components/chip/chip.d.ts +2 -64
- package/dist/components/chip/chip.d.ts.map +1 -0
- package/dist/components/chip/chip.js +3 -120
- package/dist/components/chip/chip.js.map +1 -0
- package/dist/components/chip/chip.styles.d.ts +1 -0
- package/dist/components/chip/chip.styles.d.ts.map +1 -0
- package/dist/components/chip/chip.styles.js +12 -11
- package/dist/components/chip/chip.styles.js.map +1 -0
- package/dist/components/citation-badge/citation-badge.class.d.ts +114 -0
- package/dist/components/citation-badge/citation-badge.class.d.ts.map +1 -0
- package/dist/components/citation-badge/citation-badge.class.js +317 -0
- package/dist/components/citation-badge/citation-badge.class.js.map +1 -0
- package/dist/components/citation-badge/citation-badge.d.ts +2 -113
- package/dist/components/citation-badge/citation-badge.d.ts.map +1 -0
- package/dist/components/citation-badge/citation-badge.js +3 -316
- package/dist/components/citation-badge/citation-badge.js.map +1 -0
- package/dist/components/citation-badge/citation-badge.styles.d.ts +1 -0
- package/dist/components/citation-badge/citation-badge.styles.d.ts.map +1 -0
- package/dist/components/citation-badge/citation-badge.styles.js +12 -11
- package/dist/components/citation-badge/citation-badge.styles.js.map +1 -0
- package/dist/components/code-block/code-block.class.d.ts +141 -0
- package/dist/components/code-block/code-block.class.d.ts.map +1 -0
- package/dist/components/code-block/code-block.class.js +333 -0
- package/dist/components/code-block/code-block.class.js.map +1 -0
- package/dist/components/code-block/code-block.d.ts +3 -127
- package/dist/components/code-block/code-block.d.ts.map +1 -0
- package/dist/components/code-block/code-block.js +4 -380
- package/dist/components/code-block/code-block.js.map +1 -0
- package/dist/components/code-block/code-block.styles.d.ts +1 -0
- package/dist/components/code-block/code-block.styles.d.ts.map +1 -0
- package/dist/components/code-block/code-block.styles.js +25 -21
- package/dist/components/code-block/code-block.styles.js.map +1 -0
- package/dist/components/code-block/code-loader.d.ts +8 -7
- package/dist/components/code-block/code-loader.d.ts.map +1 -0
- package/dist/components/code-block/code-loader.js +1 -0
- package/dist/components/code-block/code-loader.js.map +1 -0
- package/dist/components/combobox/combobox.class.d.ts +205 -0
- package/dist/components/combobox/combobox.class.d.ts.map +1 -0
- package/dist/components/combobox/combobox.class.js +854 -0
- package/dist/components/combobox/combobox.class.js.map +1 -0
- package/dist/components/combobox/combobox.d.ts +3 -199
- package/dist/components/combobox/combobox.d.ts.map +1 -0
- package/dist/components/combobox/combobox.js +4 -891
- package/dist/components/combobox/combobox.js.map +1 -0
- package/dist/components/combobox/combobox.styles.d.ts +1 -0
- package/dist/components/combobox/combobox.styles.d.ts.map +1 -0
- package/dist/components/combobox/combobox.styles.js +34 -33
- package/dist/components/combobox/combobox.styles.js.map +1 -0
- package/dist/components/combobox/option.class.d.ts +44 -0
- package/dist/components/combobox/option.class.d.ts.map +1 -0
- package/dist/components/combobox/option.class.js +101 -0
- package/dist/components/combobox/option.class.js.map +1 -0
- package/dist/components/combobox/option.d.ts +2 -40
- package/dist/components/combobox/option.d.ts.map +1 -0
- package/dist/components/combobox/option.js +3 -109
- package/dist/components/combobox/option.js.map +1 -0
- package/dist/components/context-meter/context-meter.class.d.ts +54 -0
- package/dist/components/context-meter/context-meter.class.d.ts.map +1 -0
- package/dist/components/context-meter/context-meter.class.js +158 -0
- package/dist/components/context-meter/context-meter.class.js.map +1 -0
- package/dist/components/context-meter/context-meter.d.ts +2 -53
- package/dist/components/context-meter/context-meter.d.ts.map +1 -0
- package/dist/components/context-meter/context-meter.js +3 -157
- package/dist/components/context-meter/context-meter.js.map +1 -0
- package/dist/components/context-meter/context-meter.styles.d.ts +1 -0
- package/dist/components/context-meter/context-meter.styles.d.ts.map +1 -0
- package/dist/components/context-meter/context-meter.styles.js +7 -6
- package/dist/components/context-meter/context-meter.styles.js.map +1 -0
- package/dist/components/conversation-item/conversation-item.class.d.ts +127 -0
- package/dist/components/conversation-item/conversation-item.class.d.ts.map +1 -0
- package/dist/components/conversation-item/conversation-item.class.js +259 -0
- package/dist/components/conversation-item/conversation-item.class.js.map +1 -0
- package/dist/components/conversation-item/conversation-item.d.ts +2 -125
- package/dist/components/conversation-item/conversation-item.d.ts.map +1 -0
- package/dist/components/conversation-item/conversation-item.js +3 -329
- package/dist/components/conversation-item/conversation-item.js.map +1 -0
- package/dist/components/conversation-item/conversation-item.styles.d.ts +1 -0
- package/dist/components/conversation-item/conversation-item.styles.d.ts.map +1 -0
- package/dist/components/conversation-item/conversation-item.styles.js +12 -11
- package/dist/components/conversation-item/conversation-item.styles.js.map +1 -0
- package/dist/components/copy-button/copy-button.class.d.ts +37 -0
- package/dist/components/copy-button/copy-button.class.d.ts.map +1 -0
- package/dist/components/copy-button/copy-button.class.js +103 -0
- package/dist/components/copy-button/copy-button.class.js.map +1 -0
- package/dist/components/copy-button/copy-button.d.ts +2 -0
- package/dist/components/copy-button/copy-button.d.ts.map +1 -0
- package/dist/components/copy-button/copy-button.js +5 -0
- package/dist/components/copy-button/copy-button.js.map +1 -0
- package/dist/components/copy-button/copy-button.styles.d.ts +2 -0
- package/dist/components/copy-button/copy-button.styles.d.ts.map +1 -0
- package/dist/components/copy-button/copy-button.styles.js +40 -0
- package/dist/components/copy-button/copy-button.styles.js.map +1 -0
- package/dist/components/date-picker/calendar-core.d.ts +1 -0
- package/dist/components/date-picker/calendar-core.d.ts.map +1 -0
- package/dist/components/date-picker/calendar-core.js +1 -0
- package/dist/components/date-picker/calendar-core.js.map +1 -0
- package/dist/components/date-picker/date-input.class.d.ts +185 -0
- package/dist/components/date-picker/date-input.class.d.ts.map +1 -0
- package/dist/components/date-picker/date-input.class.js +676 -0
- package/dist/components/date-picker/date-input.class.js.map +1 -0
- package/dist/components/date-picker/date-input.d.ts +3 -168
- package/dist/components/date-picker/date-input.d.ts.map +1 -0
- package/dist/components/date-picker/date-input.js +4 -675
- package/dist/components/date-picker/date-input.js.map +1 -0
- package/dist/components/date-picker/date-input.styles.d.ts +1 -0
- package/dist/components/date-picker/date-input.styles.d.ts.map +1 -0
- package/dist/components/date-picker/date-input.styles.js +11 -10
- package/dist/components/date-picker/date-input.styles.js.map +1 -0
- package/dist/components/date-picker/date-picker.class.d.ts +121 -0
- package/dist/components/date-picker/date-picker.class.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.class.js +513 -0
- package/dist/components/date-picker/date-picker.class.js.map +1 -0
- package/dist/components/date-picker/date-picker.d.ts +2 -103
- package/dist/components/date-picker/date-picker.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.js +3 -490
- package/dist/components/date-picker/date-picker.js.map +1 -0
- package/dist/components/date-picker/date-picker.styles.d.ts +1 -0
- package/dist/components/date-picker/date-picker.styles.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.styles.js +10 -9
- package/dist/components/date-picker/date-picker.styles.js.map +1 -0
- package/dist/components/dialog/confirm.d.ts +1 -0
- package/dist/components/dialog/confirm.d.ts.map +1 -0
- package/dist/components/dialog/confirm.js +1 -0
- package/dist/components/dialog/confirm.js.map +1 -0
- package/dist/components/dialog/dialog.class.d.ts +137 -0
- package/dist/components/dialog/dialog.class.d.ts.map +1 -0
- package/dist/components/dialog/dialog.class.js +301 -0
- package/dist/components/dialog/dialog.class.js.map +1 -0
- package/dist/components/dialog/dialog.d.ts +2 -129
- package/dist/components/dialog/dialog.d.ts.map +1 -0
- package/dist/components/dialog/dialog.js +3 -286
- package/dist/components/dialog/dialog.js.map +1 -0
- package/dist/components/dialog/dialog.styles.d.ts +1 -0
- package/dist/components/dialog/dialog.styles.d.ts.map +1 -0
- package/dist/components/dialog/dialog.styles.js +12 -8
- package/dist/components/dialog/dialog.styles.js.map +1 -0
- package/dist/components/dock-panel/dock-panel.class.d.ts +143 -0
- package/dist/components/dock-panel/dock-panel.class.d.ts.map +1 -0
- package/dist/components/dock-panel/dock-panel.class.js +358 -0
- package/dist/components/dock-panel/dock-panel.class.js.map +1 -0
- package/dist/components/dock-panel/dock-panel.d.ts +2 -142
- package/dist/components/dock-panel/dock-panel.d.ts.map +1 -0
- package/dist/components/dock-panel/dock-panel.js +3 -357
- package/dist/components/dock-panel/dock-panel.js.map +1 -0
- package/dist/components/dock-panel/dock-panel.styles.d.ts +1 -0
- package/dist/components/dock-panel/dock-panel.styles.d.ts.map +1 -0
- package/dist/components/dock-panel/dock-panel.styles.js +19 -12
- package/dist/components/dock-panel/dock-panel.styles.js.map +1 -0
- package/dist/components/document-preview/document-preview.class.d.ts +153 -0
- package/dist/components/document-preview/document-preview.class.d.ts.map +1 -0
- package/dist/components/document-preview/document-preview.class.js +304 -0
- package/dist/components/document-preview/document-preview.class.js.map +1 -0
- package/dist/components/document-preview/document-preview.d.ts +2 -143
- package/dist/components/document-preview/document-preview.d.ts.map +1 -0
- package/dist/components/document-preview/document-preview.js +3 -386
- package/dist/components/document-preview/document-preview.js.map +1 -0
- package/dist/components/document-preview/document-preview.styles.d.ts +1 -0
- package/dist/components/document-preview/document-preview.styles.d.ts.map +1 -0
- package/dist/components/document-preview/document-preview.styles.js +22 -21
- package/dist/components/document-preview/document-preview.styles.js.map +1 -0
- package/dist/components/empty/empty.class.d.ts +43 -0
- package/dist/components/empty/empty.class.d.ts.map +1 -0
- package/dist/components/empty/empty.class.js +112 -0
- package/dist/components/empty/empty.class.js.map +1 -0
- package/dist/components/empty/empty.d.ts +2 -42
- package/dist/components/empty/empty.d.ts.map +1 -0
- package/dist/components/empty/empty.js +3 -111
- package/dist/components/empty/empty.js.map +1 -0
- package/dist/components/empty/empty.styles.d.ts +1 -0
- package/dist/components/empty/empty.styles.d.ts.map +1 -0
- package/dist/components/empty/empty.styles.js +6 -5
- package/dist/components/empty/empty.styles.js.map +1 -0
- package/dist/components/export-button/csv.d.ts +1 -0
- package/dist/components/export-button/csv.d.ts.map +1 -0
- package/dist/components/export-button/csv.js +1 -0
- package/dist/components/export-button/csv.js.map +1 -0
- package/dist/components/export-button/export-button.class.d.ts +76 -0
- package/dist/components/export-button/export-button.class.d.ts.map +1 -0
- package/dist/components/export-button/export-button.class.js +249 -0
- package/dist/components/export-button/export-button.class.js.map +1 -0
- package/dist/components/export-button/export-button.d.ts +2 -67
- package/dist/components/export-button/export-button.d.ts.map +1 -0
- package/dist/components/export-button/export-button.js +3 -261
- package/dist/components/export-button/export-button.js.map +1 -0
- package/dist/components/export-button/export-button.styles.d.ts +1 -0
- package/dist/components/export-button/export-button.styles.d.ts.map +1 -0
- package/dist/components/export-button/export-button.styles.js +6 -5
- package/dist/components/export-button/export-button.styles.js.map +1 -0
- package/dist/components/file-input/accept.d.ts +1 -0
- package/dist/components/file-input/accept.d.ts.map +1 -0
- package/dist/components/file-input/accept.js +1 -0
- package/dist/components/file-input/accept.js.map +1 -0
- package/dist/components/file-input/file-input.class.d.ts +66 -0
- package/dist/components/file-input/file-input.class.d.ts.map +1 -0
- package/dist/components/file-input/file-input.class.js +213 -0
- package/dist/components/file-input/file-input.class.js.map +1 -0
- package/dist/components/file-input/file-input.d.ts +2 -59
- package/dist/components/file-input/file-input.d.ts.map +1 -0
- package/dist/components/file-input/file-input.js +3 -226
- package/dist/components/file-input/file-input.js.map +1 -0
- package/dist/components/file-input/file-input.styles.d.ts +1 -0
- package/dist/components/file-input/file-input.styles.d.ts.map +1 -0
- package/dist/components/file-input/file-input.styles.js +5 -4
- package/dist/components/file-input/file-input.styles.js.map +1 -0
- package/dist/components/flag/flag-peer.d.ts +8 -0
- package/dist/components/flag/flag-peer.d.ts.map +1 -0
- package/dist/components/flag/flag-peer.js +13 -0
- package/dist/components/flag/flag-peer.js.map +1 -0
- package/dist/components/flag/flag.class.d.ts +124 -0
- package/dist/components/flag/flag.class.d.ts.map +1 -0
- package/dist/components/flag/flag.class.js +251 -0
- package/dist/components/flag/flag.class.js.map +1 -0
- package/dist/components/flag/flag.d.ts +3 -121
- package/dist/components/flag/flag.d.ts.map +1 -0
- package/dist/components/flag/flag.js +4 -239
- package/dist/components/flag/flag.js.map +1 -0
- package/dist/components/flag/flag.styles.d.ts +1 -0
- package/dist/components/flag/flag.styles.d.ts.map +1 -0
- package/dist/components/flag/flag.styles.js +5 -4
- package/dist/components/flag/flag.styles.js.map +1 -0
- package/dist/components/flag/language-map.d.ts +1 -0
- package/dist/components/flag/language-map.d.ts.map +1 -0
- package/dist/components/flag/language-map.js +1 -0
- package/dist/components/flag/language-map.js.map +1 -0
- package/dist/components/gauge/gauge.class.d.ts +41 -0
- package/dist/components/gauge/gauge.class.d.ts.map +1 -0
- package/dist/components/gauge/gauge.class.js +178 -0
- package/dist/components/gauge/gauge.class.js.map +1 -0
- package/dist/components/gauge/gauge.d.ts +2 -40
- package/dist/components/gauge/gauge.d.ts.map +1 -0
- package/dist/components/gauge/gauge.js +3 -177
- package/dist/components/gauge/gauge.js.map +1 -0
- package/dist/components/gauge/gauge.styles.d.ts +1 -0
- package/dist/components/gauge/gauge.styles.d.ts.map +1 -0
- package/dist/components/gauge/gauge.styles.js +9 -8
- package/dist/components/gauge/gauge.styles.js.map +1 -0
- package/dist/components/generation-status/generation-status.class.d.ts +121 -0
- package/dist/components/generation-status/generation-status.class.d.ts.map +1 -0
- package/dist/components/generation-status/generation-status.class.js +260 -0
- package/dist/components/generation-status/generation-status.class.js.map +1 -0
- package/dist/components/generation-status/generation-status.d.ts +2 -117
- package/dist/components/generation-status/generation-status.d.ts.map +1 -0
- package/dist/components/generation-status/generation-status.js +3 -325
- package/dist/components/generation-status/generation-status.js.map +1 -0
- package/dist/components/generation-status/generation-status.styles.d.ts +1 -0
- package/dist/components/generation-status/generation-status.styles.d.ts.map +1 -0
- package/dist/components/generation-status/generation-status.styles.js +7 -6
- package/dist/components/generation-status/generation-status.styles.js.map +1 -0
- package/dist/components/graph/graph-loader.d.ts +13 -13
- package/dist/components/graph/graph-loader.d.ts.map +1 -0
- package/dist/components/graph/graph-loader.js +1 -0
- package/dist/components/graph/graph-loader.js.map +1 -0
- package/dist/components/graph/graph.class.d.ts +167 -0
- package/dist/components/graph/graph.class.d.ts.map +1 -0
- package/dist/components/graph/graph.class.js +552 -0
- package/dist/components/graph/graph.class.js.map +1 -0
- package/dist/components/graph/graph.d.ts +3 -157
- package/dist/components/graph/graph.d.ts.map +1 -0
- package/dist/components/graph/graph.js +4 -577
- package/dist/components/graph/graph.js.map +1 -0
- package/dist/components/graph/graph.styles.d.ts +1 -0
- package/dist/components/graph/graph.styles.d.ts.map +1 -0
- package/dist/components/graph/graph.styles.js +2 -1
- package/dist/components/graph/graph.styles.js.map +1 -0
- package/dist/components/heatmap/calendar-grid.d.ts +1 -0
- package/dist/components/heatmap/calendar-grid.d.ts.map +1 -0
- package/dist/components/heatmap/calendar-grid.js +1 -0
- package/dist/components/heatmap/calendar-grid.js.map +1 -0
- package/dist/components/heatmap/heatmap-scale.d.ts +9 -0
- package/dist/components/heatmap/heatmap-scale.d.ts.map +1 -0
- package/dist/components/heatmap/heatmap-scale.js +13 -0
- package/dist/components/heatmap/heatmap-scale.js.map +1 -0
- package/dist/components/heatmap/heatmap.class.d.ts +478 -0
- package/dist/components/heatmap/heatmap.class.d.ts.map +1 -0
- package/dist/components/heatmap/heatmap.class.js +1211 -0
- package/dist/components/heatmap/heatmap.class.js.map +1 -0
- package/dist/components/heatmap/heatmap.d.ts +2 -437
- package/dist/components/heatmap/heatmap.d.ts.map +1 -0
- package/dist/components/heatmap/heatmap.js +3 -1175
- package/dist/components/heatmap/heatmap.js.map +1 -0
- package/dist/components/heatmap/heatmap.styles.d.ts +1 -0
- package/dist/components/heatmap/heatmap.styles.d.ts.map +1 -0
- package/dist/components/heatmap/heatmap.styles.js +20 -20
- package/dist/components/heatmap/heatmap.styles.js.map +1 -0
- package/dist/components/json-viewer/json-viewer.class.d.ts +77 -0
- package/dist/components/json-viewer/json-viewer.class.d.ts.map +1 -0
- package/dist/components/json-viewer/json-viewer.class.js +340 -0
- package/dist/components/json-viewer/json-viewer.class.js.map +1 -0
- package/dist/components/json-viewer/json-viewer.d.ts +2 -70
- package/dist/components/json-viewer/json-viewer.d.ts.map +1 -0
- package/dist/components/json-viewer/json-viewer.js +3 -359
- package/dist/components/json-viewer/json-viewer.js.map +1 -0
- package/dist/components/json-viewer/json-viewer.styles.d.ts +1 -0
- package/dist/components/json-viewer/json-viewer.styles.d.ts.map +1 -0
- package/dist/components/json-viewer/json-viewer.styles.js +23 -20
- package/dist/components/json-viewer/json-viewer.styles.js.map +1 -0
- package/dist/components/kbd/kbd.class.d.ts +78 -0
- package/dist/components/kbd/kbd.class.d.ts.map +1 -0
- package/dist/components/kbd/kbd.class.js +230 -0
- package/dist/components/kbd/kbd.class.js.map +1 -0
- package/dist/components/kbd/kbd.d.ts +2 -77
- package/dist/components/kbd/kbd.d.ts.map +1 -0
- package/dist/components/kbd/kbd.js +3 -229
- package/dist/components/kbd/kbd.js.map +1 -0
- package/dist/components/kbd/kbd.styles.d.ts +1 -0
- package/dist/components/kbd/kbd.styles.d.ts.map +1 -0
- package/dist/components/kbd/kbd.styles.js +10 -9
- package/dist/components/kbd/kbd.styles.js.map +1 -0
- package/dist/components/live-region/live-region.class.d.ts +91 -0
- package/dist/components/live-region/live-region.class.d.ts.map +1 -0
- package/dist/components/live-region/live-region.class.js +188 -0
- package/dist/components/live-region/live-region.class.js.map +1 -0
- package/dist/components/live-region/live-region.d.ts +2 -90
- package/dist/components/live-region/live-region.d.ts.map +1 -0
- package/dist/components/live-region/live-region.js +3 -187
- package/dist/components/live-region/live-region.js.map +1 -0
- package/dist/components/live-region/live-region.styles.d.ts +1 -0
- package/dist/components/live-region/live-region.styles.d.ts.map +1 -0
- package/dist/components/live-region/live-region.styles.js +1 -0
- package/dist/components/live-region/live-region.styles.js.map +1 -0
- package/dist/components/map/map-loader.d.ts +5 -2
- package/dist/components/map/map-loader.d.ts.map +1 -0
- package/dist/components/map/map-loader.js +1 -0
- package/dist/components/map/map-loader.js.map +1 -0
- package/dist/components/map/map.class.d.ts +121 -0
- package/dist/components/map/map.class.d.ts.map +1 -0
- package/dist/components/map/map.class.js +450 -0
- package/dist/components/map/map.class.js.map +1 -0
- package/dist/components/map/map.d.ts +3 -111
- package/dist/components/map/map.d.ts.map +1 -0
- package/dist/components/map/map.js +4 -477
- package/dist/components/map/map.js.map +1 -0
- package/dist/components/map/map.styles.d.ts +1 -0
- package/dist/components/map/map.styles.d.ts.map +1 -0
- package/dist/components/map/map.styles.js +8 -7
- package/dist/components/map/map.styles.js.map +1 -0
- package/dist/components/markdown/markdown-loader.d.ts +6 -6
- package/dist/components/markdown/markdown-loader.d.ts.map +1 -0
- package/dist/components/markdown/markdown-loader.js +1 -0
- package/dist/components/markdown/markdown-loader.js.map +1 -0
- package/dist/components/markdown/markdown.class.d.ts +129 -0
- package/dist/components/markdown/markdown.class.d.ts.map +1 -0
- package/dist/components/markdown/markdown.class.js +354 -0
- package/dist/components/markdown/markdown.class.js.map +1 -0
- package/dist/components/markdown/markdown.d.ts +2 -119
- package/dist/components/markdown/markdown.d.ts.map +1 -0
- package/dist/components/markdown/markdown.js +3 -387
- package/dist/components/markdown/markdown.js.map +1 -0
- package/dist/components/markdown/markdown.styles.d.ts +1 -0
- package/dist/components/markdown/markdown.styles.d.ts.map +1 -0
- package/dist/components/markdown/markdown.styles.js +12 -11
- package/dist/components/markdown/markdown.styles.js.map +1 -0
- package/dist/components/media-card/media-card.class.d.ts +131 -0
- package/dist/components/media-card/media-card.class.d.ts.map +1 -0
- package/dist/components/media-card/media-card.class.js +272 -0
- package/dist/components/media-card/media-card.class.js.map +1 -0
- package/dist/components/media-card/media-card.d.ts +2 -130
- package/dist/components/media-card/media-card.d.ts.map +1 -0
- package/dist/components/media-card/media-card.js +3 -271
- package/dist/components/media-card/media-card.js.map +1 -0
- package/dist/components/media-card/media-card.styles.d.ts +1 -0
- package/dist/components/media-card/media-card.styles.d.ts.map +1 -0
- package/dist/components/media-card/media-card.styles.js +8 -7
- package/dist/components/media-card/media-card.styles.js.map +1 -0
- package/dist/components/mention-popover/mention-popover.class.d.ts +207 -0
- package/dist/components/mention-popover/mention-popover.class.d.ts.map +1 -0
- package/dist/components/mention-popover/mention-popover.class.js +379 -0
- package/dist/components/mention-popover/mention-popover.class.js.map +1 -0
- package/dist/components/mention-popover/mention-popover.d.ts +2 -203
- package/dist/components/mention-popover/mention-popover.d.ts.map +1 -0
- package/dist/components/mention-popover/mention-popover.js +3 -491
- package/dist/components/mention-popover/mention-popover.js.map +1 -0
- package/dist/components/mention-popover/mention-popover.styles.d.ts +1 -0
- package/dist/components/mention-popover/mention-popover.styles.d.ts.map +1 -0
- package/dist/components/mention-popover/mention-popover.styles.js +11 -10
- package/dist/components/mention-popover/mention-popover.styles.js.map +1 -0
- package/dist/components/menu/menu-item.class.d.ts +99 -0
- package/dist/components/menu/menu-item.class.d.ts.map +1 -0
- package/dist/components/menu/menu-item.class.js +150 -0
- package/dist/components/menu/menu-item.class.js.map +1 -0
- package/dist/components/menu/menu-item.d.ts +2 -91
- package/dist/components/menu/menu-item.d.ts.map +1 -0
- package/dist/components/menu/menu-item.js +3 -204
- package/dist/components/menu/menu-item.js.map +1 -0
- package/dist/components/menu/menu-item.styles.d.ts +1 -0
- package/dist/components/menu/menu-item.styles.d.ts.map +1 -0
- package/dist/components/menu/menu-item.styles.js +3 -2
- package/dist/components/menu/menu-item.styles.js.map +1 -0
- package/dist/components/menu/menu.class.d.ts +173 -0
- package/dist/components/menu/menu.class.d.ts.map +1 -0
- package/dist/components/menu/menu.class.js +378 -0
- package/dist/components/menu/menu.class.js.map +1 -0
- package/dist/components/menu/menu.d.ts +3 -167
- package/dist/components/menu/menu.d.ts.map +1 -0
- package/dist/components/menu/menu.js +4 -459
- package/dist/components/menu/menu.js.map +1 -0
- package/dist/components/menu/menu.styles.d.ts +1 -0
- package/dist/components/menu/menu.styles.d.ts.map +1 -0
- package/dist/components/menu/menu.styles.js +9 -8
- package/dist/components/menu/menu.styles.js.map +1 -0
- package/dist/components/model-select/model-select.class.d.ts +177 -0
- package/dist/components/model-select/model-select.class.d.ts.map +1 -0
- package/dist/components/model-select/model-select.class.js +555 -0
- package/dist/components/model-select/model-select.class.js.map +1 -0
- package/dist/components/model-select/model-select.d.ts +2 -170
- package/dist/components/model-select/model-select.d.ts.map +1 -0
- package/dist/components/model-select/model-select.js +3 -586
- package/dist/components/model-select/model-select.js.map +1 -0
- package/dist/components/model-select/model-select.styles.d.ts +1 -0
- package/dist/components/model-select/model-select.styles.d.ts.map +1 -0
- package/dist/components/model-select/model-select.styles.js +24 -23
- package/dist/components/model-select/model-select.styles.js.map +1 -0
- package/dist/components/model-settings-panel/model-settings-panel.class.d.ts +94 -0
- package/dist/components/model-settings-panel/model-settings-panel.class.d.ts.map +1 -0
- package/dist/components/model-settings-panel/model-settings-panel.class.js +208 -0
- package/dist/components/model-settings-panel/model-settings-panel.class.js.map +1 -0
- package/dist/components/model-settings-panel/model-settings-panel.d.ts +4 -93
- package/dist/components/model-settings-panel/model-settings-panel.d.ts.map +1 -0
- package/dist/components/model-settings-panel/model-settings-panel.js +5 -207
- package/dist/components/model-settings-panel/model-settings-panel.js.map +1 -0
- package/dist/components/model-settings-panel/model-settings-panel.styles.d.ts +1 -0
- package/dist/components/model-settings-panel/model-settings-panel.styles.d.ts.map +1 -0
- package/dist/components/model-settings-panel/model-settings-panel.styles.js +12 -11
- package/dist/components/model-settings-panel/model-settings-panel.styles.js.map +1 -0
- package/dist/components/playback/playback.class.d.ts +79 -0
- package/dist/components/playback/playback.class.d.ts.map +1 -0
- package/dist/components/playback/playback.class.js +238 -0
- package/dist/components/playback/playback.class.js.map +1 -0
- package/dist/components/playback/playback.d.ts +2 -71
- package/dist/components/playback/playback.d.ts.map +1 -0
- package/dist/components/playback/playback.js +3 -250
- package/dist/components/playback/playback.js.map +1 -0
- package/dist/components/playback/playback.styles.d.ts +1 -0
- package/dist/components/playback/playback.styles.d.ts.map +1 -0
- package/dist/components/playback/playback.styles.js +2 -1
- package/dist/components/playback/playback.styles.js.map +1 -0
- package/dist/components/responsive-panel/responsive-panel.class.d.ts +164 -0
- package/dist/components/responsive-panel/responsive-panel.class.d.ts.map +1 -0
- package/dist/components/responsive-panel/responsive-panel.class.js +362 -0
- package/dist/components/responsive-panel/responsive-panel.class.js.map +1 -0
- package/dist/components/responsive-panel/responsive-panel.d.ts +2 -163
- package/dist/components/responsive-panel/responsive-panel.d.ts.map +1 -0
- package/dist/components/responsive-panel/responsive-panel.js +3 -361
- package/dist/components/responsive-panel/responsive-panel.js.map +1 -0
- package/dist/components/responsive-panel/responsive-panel.styles.d.ts +1 -0
- package/dist/components/responsive-panel/responsive-panel.styles.d.ts.map +1 -0
- package/dist/components/responsive-panel/responsive-panel.styles.js +8 -5
- package/dist/components/responsive-panel/responsive-panel.styles.js.map +1 -0
- package/dist/components/result-card/result-card.class.d.ts +51 -0
- package/dist/components/result-card/result-card.class.d.ts.map +1 -0
- package/dist/components/result-card/result-card.class.js +88 -0
- package/dist/components/result-card/result-card.class.js.map +1 -0
- package/dist/components/result-card/result-card.d.ts +2 -50
- package/dist/components/result-card/result-card.d.ts.map +1 -0
- package/dist/components/result-card/result-card.js +3 -87
- package/dist/components/result-card/result-card.js.map +1 -0
- package/dist/components/result-card/result-card.styles.d.ts +1 -0
- package/dist/components/result-card/result-card.styles.d.ts.map +1 -0
- package/dist/components/result-card/result-card.styles.js +5 -4
- package/dist/components/result-card/result-card.styles.js.map +1 -0
- package/dist/components/result-card/result-field.class.d.ts +37 -0
- package/dist/components/result-card/result-field.class.d.ts.map +1 -0
- package/dist/components/result-card/result-field.class.js +86 -0
- package/dist/components/result-card/result-field.class.js.map +1 -0
- package/dist/components/result-card/result-field.d.ts +2 -36
- package/dist/components/result-card/result-field.d.ts.map +1 -0
- package/dist/components/result-card/result-field.js +3 -85
- package/dist/components/result-card/result-field.js.map +1 -0
- package/dist/components/result-card/result-field.styles.d.ts +1 -0
- package/dist/components/result-card/result-field.styles.d.ts.map +1 -0
- package/dist/components/result-card/result-field.styles.js +3 -2
- package/dist/components/result-card/result-field.styles.js.map +1 -0
- package/dist/components/select/select.class.d.ts +212 -0
- package/dist/components/select/select.class.d.ts.map +1 -0
- package/dist/components/select/select.class.js +637 -0
- package/dist/components/select/select.class.js.map +1 -0
- package/dist/components/select/select.d.ts +3 -205
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/select/select.js +4 -693
- package/dist/components/select/select.js.map +1 -0
- package/dist/components/select/select.styles.d.ts +1 -0
- package/dist/components/select/select.styles.d.ts.map +1 -0
- package/dist/components/select/select.styles.js +35 -34
- package/dist/components/select/select.styles.js.map +1 -0
- package/dist/components/skeleton/skeleton.class.d.ts +30 -0
- package/dist/components/skeleton/skeleton.class.d.ts.map +1 -0
- package/dist/components/skeleton/skeleton.class.js +67 -0
- package/dist/components/skeleton/skeleton.class.js.map +1 -0
- package/dist/components/skeleton/skeleton.d.ts +2 -29
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/skeleton/skeleton.js +3 -66
- package/dist/components/skeleton/skeleton.js.map +1 -0
- package/dist/components/skeleton/skeleton.styles.d.ts +1 -0
- package/dist/components/skeleton/skeleton.styles.d.ts.map +1 -0
- package/dist/components/skeleton/skeleton.styles.js +2 -1
- package/dist/components/skeleton/skeleton.styles.js.map +1 -0
- package/dist/components/slider/slider.class.d.ts +152 -0
- package/dist/components/slider/slider.class.d.ts.map +1 -0
- package/dist/components/slider/slider.class.js +433 -0
- package/dist/components/slider/slider.class.js.map +1 -0
- package/dist/components/slider/slider.d.ts +2 -141
- package/dist/components/slider/slider.d.ts.map +1 -0
- package/dist/components/slider/slider.js +3 -465
- package/dist/components/slider/slider.js.map +1 -0
- package/dist/components/slider/slider.styles.d.ts +1 -0
- package/dist/components/slider/slider.styles.d.ts.map +1 -0
- package/dist/components/slider/slider.styles.js +15 -14
- package/dist/components/slider/slider.styles.js.map +1 -0
- package/dist/components/source-card/source-card.class.d.ts +105 -0
- package/dist/components/source-card/source-card.class.d.ts.map +1 -0
- package/dist/components/source-card/source-card.class.js +194 -0
- package/dist/components/source-card/source-card.class.js.map +1 -0
- package/dist/components/source-card/source-card.d.ts +2 -104
- package/dist/components/source-card/source-card.d.ts.map +1 -0
- package/dist/components/source-card/source-card.js +3 -193
- package/dist/components/source-card/source-card.js.map +1 -0
- package/dist/components/source-card/source-card.styles.d.ts +1 -0
- package/dist/components/source-card/source-card.styles.d.ts.map +1 -0
- package/dist/components/source-card/source-card.styles.js +11 -10
- package/dist/components/source-card/source-card.styles.js.map +1 -0
- package/dist/components/source-list/source-list.class.d.ts +64 -0
- package/dist/components/source-list/source-list.class.d.ts.map +1 -0
- package/dist/components/source-list/source-list.class.js +129 -0
- package/dist/components/source-list/source-list.class.js.map +1 -0
- package/dist/components/source-list/source-list.d.ts +2 -63
- package/dist/components/source-list/source-list.d.ts.map +1 -0
- package/dist/components/source-list/source-list.js +3 -128
- package/dist/components/source-list/source-list.js.map +1 -0
- package/dist/components/source-list/source-list.styles.d.ts +1 -0
- package/dist/components/source-list/source-list.styles.d.ts.map +1 -0
- package/dist/components/source-list/source-list.styles.js +5 -4
- package/dist/components/source-list/source-list.styles.js.map +1 -0
- package/dist/components/sparkline/sparkline.class.d.ts +31 -0
- package/dist/components/sparkline/sparkline.class.d.ts.map +1 -0
- package/dist/components/sparkline/sparkline.class.js +140 -0
- package/dist/components/sparkline/sparkline.class.js.map +1 -0
- package/dist/components/sparkline/sparkline.d.ts +2 -30
- package/dist/components/sparkline/sparkline.d.ts.map +1 -0
- package/dist/components/sparkline/sparkline.js +3 -137
- package/dist/components/sparkline/sparkline.js.map +1 -0
- package/dist/components/sparkline/sparkline.styles.d.ts +1 -0
- package/dist/components/sparkline/sparkline.styles.d.ts.map +1 -0
- package/dist/components/sparkline/sparkline.styles.js +3 -2
- package/dist/components/sparkline/sparkline.styles.js.map +1 -0
- package/dist/components/split/split.class.d.ts +293 -0
- package/dist/components/split/split.class.d.ts.map +1 -0
- package/dist/components/split/split.class.js +831 -0
- package/dist/components/split/split.class.js.map +1 -0
- package/dist/components/split/split.d.ts +2 -282
- package/dist/components/split/split.d.ts.map +1 -0
- package/dist/components/split/split.js +3 -888
- package/dist/components/split/split.js.map +1 -0
- package/dist/components/split/split.styles.d.ts +1 -0
- package/dist/components/split/split.styles.d.ts.map +1 -0
- package/dist/components/split/split.styles.js +8 -7
- package/dist/components/split/split.styles.js.map +1 -0
- package/dist/components/stat/stat.class.d.ts +90 -0
- package/dist/components/stat/stat.class.d.ts.map +1 -0
- package/dist/components/stat/stat.class.js +249 -0
- package/dist/components/stat/stat.class.js.map +1 -0
- package/dist/components/stat/stat.d.ts +2 -89
- package/dist/components/stat/stat.d.ts.map +1 -0
- package/dist/components/stat/stat.js +3 -248
- package/dist/components/stat/stat.js.map +1 -0
- package/dist/components/stat/stat.styles.d.ts +1 -0
- package/dist/components/stat/stat.styles.d.ts.map +1 -0
- package/dist/components/stat/stat.styles.js +23 -22
- package/dist/components/stat/stat.styles.js.map +1 -0
- package/dist/components/stream-status/stream-status.class.d.ts +131 -0
- package/dist/components/stream-status/stream-status.class.d.ts.map +1 -0
- package/dist/components/stream-status/stream-status.class.js +212 -0
- package/dist/components/stream-status/stream-status.class.js.map +1 -0
- package/dist/components/stream-status/stream-status.d.ts +3 -126
- package/dist/components/stream-status/stream-status.d.ts.map +1 -0
- package/dist/components/stream-status/stream-status.js +4 -290
- package/dist/components/stream-status/stream-status.js.map +1 -0
- package/dist/components/stream-status/stream-status.styles.d.ts +1 -0
- package/dist/components/stream-status/stream-status.styles.d.ts.map +1 -0
- package/dist/components/stream-status/stream-status.styles.js +7 -6
- package/dist/components/stream-status/stream-status.styles.js.map +1 -0
- package/dist/components/streaming-text/streaming-text.class.d.ts +105 -0
- package/dist/components/streaming-text/streaming-text.class.d.ts.map +1 -0
- package/dist/components/streaming-text/streaming-text.class.js +223 -0
- package/dist/components/streaming-text/streaming-text.class.js.map +1 -0
- package/dist/components/streaming-text/streaming-text.d.ts +3 -104
- package/dist/components/streaming-text/streaming-text.d.ts.map +1 -0
- package/dist/components/streaming-text/streaming-text.js +4 -222
- package/dist/components/streaming-text/streaming-text.js.map +1 -0
- package/dist/components/streaming-text/streaming-text.styles.d.ts +1 -0
- package/dist/components/streaming-text/streaming-text.styles.d.ts.map +1 -0
- package/dist/components/streaming-text/streaming-text.styles.js +4 -3
- package/dist/components/streaming-text/streaming-text.styles.js.map +1 -0
- package/dist/components/switch/switch.class.d.ts +109 -0
- package/dist/components/switch/switch.class.d.ts.map +1 -0
- package/dist/components/switch/switch.class.js +225 -0
- package/dist/components/switch/switch.class.js.map +1 -0
- package/dist/components/switch/switch.d.ts +2 -103
- package/dist/components/switch/switch.d.ts.map +1 -0
- package/dist/components/switch/switch.js +3 -248
- package/dist/components/switch/switch.js.map +1 -0
- package/dist/components/switch/switch.styles.d.ts +1 -0
- package/dist/components/switch/switch.styles.d.ts.map +1 -0
- package/dist/components/switch/switch.styles.js +18 -14
- package/dist/components/switch/switch.styles.js.map +1 -0
- package/dist/components/table/table.class.d.ts +212 -0
- package/dist/components/table/table.class.d.ts.map +1 -0
- package/dist/components/table/table.class.js +562 -0
- package/dist/components/table/table.class.js.map +1 -0
- package/dist/components/table/table.d.ts +3 -199
- package/dist/components/table/table.d.ts.map +1 -0
- package/dist/components/table/table.js +4 -611
- package/dist/components/table/table.js.map +1 -0
- package/dist/components/table/table.styles.d.ts +1 -0
- package/dist/components/table/table.styles.d.ts.map +1 -0
- package/dist/components/table/table.styles.js +9 -8
- package/dist/components/table/table.styles.js.map +1 -0
- package/dist/components/tabs/tabs.class.d.ts +80 -0
- package/dist/components/tabs/tabs.class.d.ts.map +1 -0
- package/dist/components/tabs/tabs.class.js +215 -0
- package/dist/components/tabs/tabs.class.js.map +1 -0
- package/dist/components/tabs/tabs.d.ts +2 -74
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/tabs/tabs.js +3 -252
- package/dist/components/tabs/tabs.js.map +1 -0
- package/dist/components/tabs/tabs.styles.d.ts +1 -0
- package/dist/components/tabs/tabs.styles.d.ts.map +1 -0
- package/dist/components/tabs/tabs.styles.js +10 -4
- package/dist/components/tabs/tabs.styles.js.map +1 -0
- package/dist/components/thinking-panel/thinking-panel.class.d.ts +124 -0
- package/dist/components/thinking-panel/thinking-panel.class.d.ts.map +1 -0
- package/dist/components/thinking-panel/thinking-panel.class.js +259 -0
- package/dist/components/thinking-panel/thinking-panel.class.js.map +1 -0
- package/dist/components/thinking-panel/thinking-panel.d.ts +2 -123
- package/dist/components/thinking-panel/thinking-panel.d.ts.map +1 -0
- package/dist/components/thinking-panel/thinking-panel.js +3 -258
- package/dist/components/thinking-panel/thinking-panel.js.map +1 -0
- package/dist/components/thinking-panel/thinking-panel.styles.d.ts +1 -0
- package/dist/components/thinking-panel/thinking-panel.styles.d.ts.map +1 -0
- package/dist/components/thinking-panel/thinking-panel.styles.js +13 -12
- package/dist/components/thinking-panel/thinking-panel.styles.js.map +1 -0
- package/dist/components/time-range/time-range.class.d.ts +137 -0
- package/dist/components/time-range/time-range.class.d.ts.map +1 -0
- package/dist/components/time-range/time-range.class.js +467 -0
- package/dist/components/time-range/time-range.class.js.map +1 -0
- package/dist/components/time-range/time-range.d.ts +2 -126
- package/dist/components/time-range/time-range.d.ts.map +1 -0
- package/dist/components/time-range/time-range.js +3 -494
- package/dist/components/time-range/time-range.js.map +1 -0
- package/dist/components/time-range/time-range.styles.d.ts +1 -0
- package/dist/components/time-range/time-range.styles.d.ts.map +1 -0
- package/dist/components/time-range/time-range.styles.js +21 -13
- package/dist/components/time-range/time-range.styles.js.map +1 -0
- package/dist/components/toast/toast-item.class.d.ts +79 -0
- package/dist/components/toast/toast-item.class.d.ts.map +1 -0
- package/dist/components/toast/toast-item.class.js +307 -0
- package/dist/components/toast/toast-item.class.js.map +1 -0
- package/dist/components/toast/toast-item.d.ts +2 -72
- package/dist/components/toast/toast-item.d.ts.map +1 -0
- package/dist/components/toast/toast-item.js +3 -323
- package/dist/components/toast/toast-item.js.map +1 -0
- package/dist/components/toast/toast-item.styles.d.ts +1 -0
- package/dist/components/toast/toast-item.styles.d.ts.map +1 -0
- package/dist/components/toast/toast-item.styles.js +13 -12
- package/dist/components/toast/toast-item.styles.js.map +1 -0
- package/dist/components/toast/toast.class.d.ts +33 -0
- package/dist/components/toast/toast.class.d.ts.map +1 -0
- package/dist/components/toast/toast.class.js +59 -0
- package/dist/components/toast/toast.class.js.map +1 -0
- package/dist/components/toast/toast.d.ts +3 -32
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/toast/toast.js +4 -58
- package/dist/components/toast/toast.js.map +1 -0
- package/dist/components/toast/toast.styles.d.ts +1 -0
- package/dist/components/toast/toast.styles.d.ts.map +1 -0
- package/dist/components/toast/toast.styles.js +20 -16
- package/dist/components/toast/toast.styles.js.map +1 -0
- package/dist/components/toast/toaster.d.ts +1 -0
- package/dist/components/toast/toaster.d.ts.map +1 -0
- package/dist/components/toast/toaster.js +1 -0
- package/dist/components/toast/toaster.js.map +1 -0
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.d.ts +135 -0
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.d.ts.map +1 -0
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.js +257 -0
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.js.map +1 -0
- package/dist/components/tool-approval-dialog/tool-approval-dialog.d.ts +3 -131
- package/dist/components/tool-approval-dialog/tool-approval-dialog.d.ts.map +1 -0
- package/dist/components/tool-approval-dialog/tool-approval-dialog.js +4 -327
- package/dist/components/tool-approval-dialog/tool-approval-dialog.js.map +1 -0
- package/dist/components/tool-approval-dialog/tool-approval-dialog.styles.d.ts +1 -0
- package/dist/components/tool-approval-dialog/tool-approval-dialog.styles.d.ts.map +1 -0
- package/dist/components/tool-approval-dialog/tool-approval-dialog.styles.js +22 -18
- package/dist/components/tool-approval-dialog/tool-approval-dialog.styles.js.map +1 -0
- package/dist/components/tool-call-chip/tool-call-chip.class.d.ts +106 -0
- package/dist/components/tool-call-chip/tool-call-chip.class.d.ts.map +1 -0
- package/dist/components/tool-call-chip/tool-call-chip.class.js +348 -0
- package/dist/components/tool-call-chip/tool-call-chip.class.js.map +1 -0
- package/dist/components/tool-call-chip/tool-call-chip.d.ts +2 -105
- package/dist/components/tool-call-chip/tool-call-chip.d.ts.map +1 -0
- package/dist/components/tool-call-chip/tool-call-chip.js +3 -347
- package/dist/components/tool-call-chip/tool-call-chip.js.map +1 -0
- package/dist/components/tool-call-chip/tool-call-chip.styles.d.ts +1 -0
- package/dist/components/tool-call-chip/tool-call-chip.styles.d.ts.map +1 -0
- package/dist/components/tool-call-chip/tool-call-chip.styles.js +22 -21
- package/dist/components/tool-call-chip/tool-call-chip.styles.js.map +1 -0
- package/dist/components/tool-param-form/tool-param-form.class.d.ts +216 -0
- package/dist/components/tool-param-form/tool-param-form.class.d.ts.map +1 -0
- package/dist/components/tool-param-form/tool-param-form.class.js +548 -0
- package/dist/components/tool-param-form/tool-param-form.class.js.map +1 -0
- package/dist/components/tool-param-form/tool-param-form.d.ts +5 -206
- package/dist/components/tool-param-form/tool-param-form.d.ts.map +1 -0
- package/dist/components/tool-param-form/tool-param-form.js +6 -608
- package/dist/components/tool-param-form/tool-param-form.js.map +1 -0
- package/dist/components/tool-param-form/tool-param-form.styles.d.ts +1 -0
- package/dist/components/tool-param-form/tool-param-form.styles.d.ts.map +1 -0
- package/dist/components/tool-param-form/tool-param-form.styles.js +9 -8
- package/dist/components/tool-param-form/tool-param-form.styles.js.map +1 -0
- package/dist/components/tool-result-dialog/tool-result-dialog.class.d.ts +123 -0
- package/dist/components/tool-result-dialog/tool-result-dialog.class.d.ts.map +1 -0
- package/dist/components/tool-result-dialog/tool-result-dialog.class.js +357 -0
- package/dist/components/tool-result-dialog/tool-result-dialog.class.js.map +1 -0
- package/dist/components/tool-result-dialog/tool-result-dialog.d.ts +2 -122
- package/dist/components/tool-result-dialog/tool-result-dialog.d.ts.map +1 -0
- package/dist/components/tool-result-dialog/tool-result-dialog.js +3 -356
- package/dist/components/tool-result-dialog/tool-result-dialog.js.map +1 -0
- package/dist/components/tool-result-dialog/tool-result-dialog.styles.d.ts +1 -0
- package/dist/components/tool-result-dialog/tool-result-dialog.styles.d.ts.map +1 -0
- package/dist/components/tool-result-dialog/tool-result-dialog.styles.js +24 -16
- package/dist/components/tool-result-dialog/tool-result-dialog.styles.js.map +1 -0
- package/dist/components/tool-result-view/registry.d.ts +1 -0
- package/dist/components/tool-result-view/registry.d.ts.map +1 -0
- package/dist/components/tool-result-view/registry.js +1 -0
- package/dist/components/tool-result-view/registry.js.map +1 -0
- package/dist/components/tool-result-view/tool-result-view.class.d.ts +65 -0
- package/dist/components/tool-result-view/tool-result-view.class.d.ts.map +1 -0
- package/dist/components/tool-result-view/tool-result-view.class.js +124 -0
- package/dist/components/tool-result-view/tool-result-view.class.js.map +1 -0
- package/dist/components/tool-result-view/tool-result-view.d.ts +4 -58
- package/dist/components/tool-result-view/tool-result-view.d.ts.map +1 -0
- package/dist/components/tool-result-view/tool-result-view.js +5 -150
- package/dist/components/tool-result-view/tool-result-view.js.map +1 -0
- package/dist/components/tool-result-view/tool-result-view.styles.d.ts +1 -0
- package/dist/components/tool-result-view/tool-result-view.styles.d.ts.map +1 -0
- package/dist/components/tool-result-view/tool-result-view.styles.js +1 -0
- package/dist/components/tool-result-view/tool-result-view.styles.js.map +1 -0
- package/dist/components/tool-select-dialog/tool-select-dialog.class.d.ts +152 -0
- package/dist/components/tool-select-dialog/tool-select-dialog.class.d.ts.map +1 -0
- package/dist/components/tool-select-dialog/tool-select-dialog.class.js +349 -0
- package/dist/components/tool-select-dialog/tool-select-dialog.class.js.map +1 -0
- package/dist/components/tool-select-dialog/tool-select-dialog.d.ts +4 -151
- package/dist/components/tool-select-dialog/tool-select-dialog.d.ts.map +1 -0
- package/dist/components/tool-select-dialog/tool-select-dialog.js +5 -348
- package/dist/components/tool-select-dialog/tool-select-dialog.js.map +1 -0
- package/dist/components/tool-select-dialog/tool-select-dialog.styles.d.ts +1 -0
- package/dist/components/tool-select-dialog/tool-select-dialog.styles.d.ts.map +1 -0
- package/dist/components/tool-select-dialog/tool-select-dialog.styles.js +29 -25
- package/dist/components/tool-select-dialog/tool-select-dialog.styles.js.map +1 -0
- package/dist/components/tree/tree-node.class.d.ts +78 -0
- package/dist/components/tree/tree-node.class.d.ts.map +1 -0
- package/dist/components/tree/tree-node.class.js +204 -0
- package/dist/components/tree/tree-node.class.js.map +1 -0
- package/dist/components/tree/tree-node.d.ts +2 -68
- package/dist/components/tree/tree-node.d.ts.map +1 -0
- package/dist/components/tree/tree-node.js +4 -222
- package/dist/components/tree/tree-node.js.map +1 -0
- package/dist/components/tree/tree.class.d.ts +130 -0
- package/dist/components/tree/tree.class.d.ts.map +1 -0
- package/dist/components/tree/tree.class.js +326 -0
- package/dist/components/tree/tree.class.js.map +1 -0
- package/dist/components/tree/tree.d.ts +3 -129
- package/dist/components/tree/tree.d.ts.map +1 -0
- package/dist/components/tree/tree.js +5 -325
- package/dist/components/tree/tree.js.map +1 -0
- package/dist/components/tree/tree.styles.d.ts +1 -0
- package/dist/components/tree/tree.styles.d.ts.map +1 -0
- package/dist/components/tree/tree.styles.js +1 -0
- package/dist/components/tree/tree.styles.js.map +1 -0
- package/dist/components/tree/update-cascade.d.ts +1 -0
- package/dist/components/tree/update-cascade.d.ts.map +1 -0
- package/dist/components/tree/update-cascade.js +1 -0
- package/dist/components/tree/update-cascade.js.map +1 -0
- package/dist/components/typing-indicator/typing-indicator.class.d.ts +71 -0
- package/dist/components/typing-indicator/typing-indicator.class.d.ts.map +1 -0
- package/dist/components/typing-indicator/typing-indicator.class.js +107 -0
- package/dist/components/typing-indicator/typing-indicator.class.js.map +1 -0
- package/dist/components/typing-indicator/typing-indicator.d.ts +2 -70
- package/dist/components/typing-indicator/typing-indicator.d.ts.map +1 -0
- package/dist/components/typing-indicator/typing-indicator.js +3 -106
- package/dist/components/typing-indicator/typing-indicator.js.map +1 -0
- package/dist/components/typing-indicator/typing-indicator.styles.d.ts +1 -0
- package/dist/components/typing-indicator/typing-indicator.styles.d.ts.map +1 -0
- package/dist/components/typing-indicator/typing-indicator.styles.js +7 -6
- package/dist/components/typing-indicator/typing-indicator.styles.js.map +1 -0
- package/dist/components/virtual-list/virtual-list.class.d.ts +215 -0
- package/dist/components/virtual-list/virtual-list.class.d.ts.map +1 -0
- package/dist/components/virtual-list/virtual-list.class.js +520 -0
- package/dist/components/virtual-list/virtual-list.class.js.map +1 -0
- package/dist/components/virtual-list/virtual-list.d.ts +2 -210
- package/dist/components/virtual-list/virtual-list.d.ts.map +1 -0
- package/dist/components/virtual-list/virtual-list.js +3 -605
- package/dist/components/virtual-list/virtual-list.js.map +1 -0
- package/dist/components/virtual-list/virtual-list.styles.d.ts +1 -0
- package/dist/components/virtual-list/virtual-list.styles.d.ts.map +1 -0
- package/dist/components/virtual-list/virtual-list.styles.js +5 -4
- package/dist/components/virtual-list/virtual-list.styles.js.map +1 -0
- package/dist/components/widget/widget.class.d.ts +70 -0
- package/dist/components/widget/widget.class.d.ts.map +1 -0
- package/dist/components/widget/widget.class.js +224 -0
- package/dist/components/widget/widget.class.js.map +1 -0
- package/dist/components/widget/widget.d.ts +2 -65
- package/dist/components/widget/widget.d.ts.map +1 -0
- package/dist/components/widget/widget.js +3 -249
- package/dist/components/widget/widget.js.map +1 -0
- package/dist/components/widget/widget.styles.d.ts +1 -0
- package/dist/components/widget/widget.styles.d.ts.map +1 -0
- package/dist/components/widget/widget.styles.js +13 -8
- package/dist/components/widget/widget.styles.js.map +1 -0
- package/dist/components/word-cloud/word-cloud-layout.d.ts +1 -0
- package/dist/components/word-cloud/word-cloud-layout.d.ts.map +1 -0
- package/dist/components/word-cloud/word-cloud-layout.js +1 -0
- package/dist/components/word-cloud/word-cloud-layout.js.map +1 -0
- package/dist/components/word-cloud/word-cloud.class.d.ts +99 -0
- package/dist/components/word-cloud/word-cloud.class.d.ts.map +1 -0
- package/dist/components/word-cloud/word-cloud.class.js +279 -0
- package/dist/components/word-cloud/word-cloud.class.js.map +1 -0
- package/dist/components/word-cloud/word-cloud.d.ts +2 -91
- package/dist/components/word-cloud/word-cloud.d.ts.map +1 -0
- package/dist/components/word-cloud/word-cloud.js +3 -303
- package/dist/components/word-cloud/word-cloud.js.map +1 -0
- package/dist/components/word-cloud/word-cloud.styles.d.ts +1 -0
- package/dist/components/word-cloud/word-cloud.styles.d.ts.map +1 -0
- package/dist/components/word-cloud/word-cloud.styles.js +32 -18
- package/dist/components/word-cloud/word-cloud.styles.js.map +1 -0
- package/dist/internal/a11y.d.ts +1 -0
- package/dist/internal/a11y.d.ts.map +1 -0
- package/dist/internal/a11y.js +1 -0
- package/dist/internal/a11y.js.map +1 -0
- package/dist/internal/anchored-validity.d.ts +1 -0
- package/dist/internal/anchored-validity.d.ts.map +1 -0
- package/dist/internal/anchored-validity.js +1 -0
- package/dist/internal/anchored-validity.js.map +1 -0
- package/dist/internal/announcer.d.ts +1 -0
- package/dist/internal/announcer.d.ts.map +1 -0
- package/dist/internal/announcer.js +1 -0
- package/dist/internal/announcer.js.map +1 -0
- package/dist/internal/form-associated.d.ts +1 -0
- package/dist/internal/form-associated.d.ts.map +1 -0
- package/dist/internal/form-associated.js +1 -0
- package/dist/internal/form-associated.js.map +1 -0
- package/dist/internal/group-by-recency.d.ts +1 -0
- package/dist/internal/group-by-recency.d.ts.map +1 -0
- package/dist/internal/group-by-recency.js +1 -0
- package/dist/internal/group-by-recency.js.map +1 -0
- package/dist/internal/icons.d.ts +1 -0
- package/dist/internal/icons.d.ts.map +1 -0
- package/dist/internal/icons.js +1 -0
- package/dist/internal/icons.js.map +1 -0
- package/dist/internal/localization.d.ts +27 -0
- package/dist/internal/localization.d.ts.map +1 -0
- package/dist/internal/localization.js +141 -0
- package/dist/internal/localization.js.map +1 -0
- package/dist/internal/lyra-element.d.ts +27 -3
- package/dist/internal/lyra-element.d.ts.map +1 -0
- package/dist/internal/lyra-element.js +52 -3
- package/dist/internal/lyra-element.js.map +1 -0
- package/dist/internal/numbers.d.ts +1 -0
- package/dist/internal/numbers.d.ts.map +1 -0
- package/dist/internal/numbers.js +1 -0
- package/dist/internal/numbers.js.map +1 -0
- package/dist/internal/optional-peer-types.d.ts +8 -0
- package/dist/internal/optional-peer-types.d.ts.map +1 -0
- package/dist/internal/optional-peer-types.js +2 -0
- package/dist/internal/optional-peer-types.js.map +1 -0
- package/dist/internal/overlay-manager.d.ts +1 -0
- package/dist/internal/overlay-manager.d.ts.map +1 -0
- package/dist/internal/overlay-manager.js +1 -0
- package/dist/internal/overlay-manager.js.map +1 -0
- package/dist/internal/positioner.d.ts +1 -0
- package/dist/internal/positioner.d.ts.map +1 -0
- package/dist/internal/positioner.js +1 -0
- package/dist/internal/positioner.js.map +1 -0
- package/dist/internal/prefix.d.ts +1 -0
- package/dist/internal/prefix.d.ts.map +1 -0
- package/dist/internal/prefix.js +9 -2
- package/dist/internal/prefix.js.map +1 -0
- package/dist/internal/root-registration-allowlist.d.ts +8 -0
- package/dist/internal/root-registration-allowlist.d.ts.map +1 -0
- package/dist/internal/root-registration-allowlist.js +95 -0
- package/dist/internal/root-registration-allowlist.js.map +1 -0
- package/dist/internal/rtl.d.ts +1 -0
- package/dist/internal/rtl.d.ts.map +1 -0
- package/dist/internal/rtl.js +1 -0
- package/dist/internal/rtl.js.map +1 -0
- package/dist/internal/safe-url.d.ts +1 -0
- package/dist/internal/safe-url.d.ts.map +1 -0
- package/dist/internal/safe-url.js +1 -0
- package/dist/internal/safe-url.js.map +1 -0
- package/dist/internal/scroll-lock.d.ts +1 -0
- package/dist/internal/scroll-lock.d.ts.map +1 -0
- package/dist/internal/scroll-lock.js +1 -0
- package/dist/internal/scroll-lock.js.map +1 -0
- package/dist/internal/tokens.styles.d.ts +1 -0
- package/dist/internal/tokens.styles.d.ts.map +1 -0
- package/dist/internal/tokens.styles.js +207 -0
- package/dist/internal/tokens.styles.js.map +1 -0
- package/dist/lyra.d.ts +52 -4
- package/dist/lyra.d.ts.map +1 -0
- package/dist/lyra.js +4 -1
- package/dist/lyra.js.map +1 -0
- package/llms-full.txt +113 -50
- package/llms.txt +6 -6
- package/package.json +183 -5
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { type TemplateResult, type PropertyValues } from 'lit';
|
|
2
|
+
import { LyraElement } from '../../internal/lyra-element.js';
|
|
3
|
+
/** Same status vocabulary as `<lyra-tool-call-chip>`. */
|
|
4
|
+
export type ToolResultStatus = 'pending' | 'running' | 'success' | 'error' | 'denied';
|
|
5
|
+
/**
|
|
6
|
+
* Reason the dialog was dismissed, forwarded as the `lyra-dialog-close` event
|
|
7
|
+
* detail -- mirrors `<lyra-dialog>`'s own `DialogCloseReason` shape.
|
|
8
|
+
* `'escape'`/`'backdrop'` come from the dialog's own built-in dismiss
|
|
9
|
+
* triggers, `'close-button'` from the built-in header close button, and any
|
|
10
|
+
* other string is whatever a caller passes to `close()` directly (e.g. a
|
|
11
|
+
* consumer's own footer action).
|
|
12
|
+
*/
|
|
13
|
+
export type ToolResultDialogCloseReason = 'escape' | 'backdrop' | 'close-button' | 'api' | (string & Record<never, never>);
|
|
14
|
+
/**
|
|
15
|
+
* `<lyra-tool-result-dialog>` — a full tool-call detail overlay: a status/
|
|
16
|
+
* duration header plus a `body` slot where a consumer typically places a
|
|
17
|
+
* `<lyra-tabs>` with Input/Preview/JSON/Raw panels. This component knows
|
|
18
|
+
* nothing about what's inside that slot — it only supplies the modal chrome
|
|
19
|
+
* around it.
|
|
20
|
+
*
|
|
21
|
+
* This is its own standalone overlay implementation (`role="dialog"`,
|
|
22
|
+
* focus-trapped, Escape/backdrop-dismissible, scroll-locking) rather than
|
|
23
|
+
* nesting a `<lyra-dialog>` in its shadow template — see `<lyra-dialog>`'s
|
|
24
|
+
* own header comment for why a new overlay component in this library
|
|
25
|
+
* duplicates that pattern locally instead of composing the previous one:
|
|
26
|
+
* slot-forwarding into a nested `<lyra-dialog>` would put a forwarding
|
|
27
|
+
* `<slot>` where a light-DOM-scanning descendant (e.g. a slotted
|
|
28
|
+
* `<lyra-tabs>`'s own `Array.from(this.children)` scan) expects real
|
|
29
|
+
* projected content.
|
|
30
|
+
*
|
|
31
|
+
* `maximized` toggles between a constrained modal size and a near-fullscreen
|
|
32
|
+
* size within the same open dialog and open/close lifecycle — unlike
|
|
33
|
+
* `<lyra-widget>`'s fullscreen mode, there's no non-modal resting state to
|
|
34
|
+
* return to, so no separate scroll-lock/focus-trap bookkeeping is needed for
|
|
35
|
+
* the transition itself.
|
|
36
|
+
*
|
|
37
|
+
* Stacking: opening more than one of these dialogs at once is supported --
|
|
38
|
+
* Escape and the Tab focus trap only ever act on the topmost open instance,
|
|
39
|
+
* so instances beneath it stay open and untouched until the one on top closes.
|
|
40
|
+
*
|
|
41
|
+
* @customElement lyra-tool-result-dialog
|
|
42
|
+
* @slot body - The dialog's main content — typically a `<lyra-tabs>` with
|
|
43
|
+
* Input/Preview/JSON/Raw panels, entirely consumer-assembled.
|
|
44
|
+
* @slot footer - Optional action buttons, rendered in a bottom row.
|
|
45
|
+
* @event lyra-dialog-close - `detail: ToolResultDialogCloseReason`. Fired
|
|
46
|
+
* exactly once per dismissal, via Escape, a backdrop click, the built-in
|
|
47
|
+
* close button, or a `close()` call.
|
|
48
|
+
* @event lyra-maximize-change - `detail: boolean` (the new `maximized`
|
|
49
|
+
* state), fired when the header's maximize/restore toggle is clicked.
|
|
50
|
+
* @csspart backdrop - The full-viewport scrim behind the panel.
|
|
51
|
+
* @csspart panel - The dialog panel itself (`role="dialog"` while open).
|
|
52
|
+
* @csspart header - The row containing the tool name, status, duration, and toggle/close buttons.
|
|
53
|
+
* @csspart title - The wrapper around the tool name, status, and duration.
|
|
54
|
+
* @csspart tool-name - The `tool-name` text.
|
|
55
|
+
* @csspart status - The status badge (icon + text).
|
|
56
|
+
* @csspart duration - The formatted `duration-ms` text.
|
|
57
|
+
* @csspart header-actions - The wrapper around the maximize and close buttons.
|
|
58
|
+
* @csspart maximize-button - The built-in maximize/restore toggle button.
|
|
59
|
+
* @csspart close-button - The built-in close button.
|
|
60
|
+
* @csspart body - The wrapper around the `body` slot.
|
|
61
|
+
* @csspart footer - The wrapper around the `footer` slot.
|
|
62
|
+
*/
|
|
63
|
+
export declare class LyraToolResultDialog extends LyraElement {
|
|
64
|
+
static styles: import("lit").CSSResultGroup[];
|
|
65
|
+
/**
|
|
66
|
+
* Whether the dialog is open. Set this (or call `close()`) — there is no
|
|
67
|
+
* separate `show()`/`hide()` pair. Both paths restore focus to the trigger
|
|
68
|
+
* element identically; only `close()` additionally fires
|
|
69
|
+
* `lyra-dialog-close`, since a direct assignment carries no reason string
|
|
70
|
+
* to attach to that event.
|
|
71
|
+
*/
|
|
72
|
+
open: boolean;
|
|
73
|
+
/** The tool's name, rendered prominently in the header. */
|
|
74
|
+
toolName: string;
|
|
75
|
+
/**
|
|
76
|
+
* The tool call's current lifecycle state — drives the header's status
|
|
77
|
+
* badge. An out-of-union value (e.g. a stray `status` attribute, or a
|
|
78
|
+
* direct property assignment from an untyped caller) is treated as
|
|
79
|
+
* `'pending'` rather than crashing render.
|
|
80
|
+
*/
|
|
81
|
+
status: ToolResultStatus;
|
|
82
|
+
/** How long the call took, in milliseconds. Omitted from the header entirely when unset. */
|
|
83
|
+
durationMs?: number;
|
|
84
|
+
/** Near-fullscreen presentation of the same open dialog. */
|
|
85
|
+
maximized: boolean;
|
|
86
|
+
private hasFooterSlot;
|
|
87
|
+
private releaseScrollLock?;
|
|
88
|
+
private overlay?;
|
|
89
|
+
private readonly titleId;
|
|
90
|
+
protected willUpdate(changed: PropertyValues): void;
|
|
91
|
+
protected updated(changed: PropertyValues): void;
|
|
92
|
+
connectedCallback(): void;
|
|
93
|
+
disconnectedCallback(): void;
|
|
94
|
+
private onFooterSlotChange;
|
|
95
|
+
/**
|
|
96
|
+
* Close the dialog and return focus to whatever had it before the dialog
|
|
97
|
+
* opened. `reason` is forwarded as the `lyra-dialog-close` detail --
|
|
98
|
+
* built-in triggers pass `'escape'`/`'backdrop'`/`'close-button'`; a
|
|
99
|
+
* consumer's own close affordance (e.g. a footer action button) should
|
|
100
|
+
* call this directly with its own reason string, so every dismissal path
|
|
101
|
+
* funnels through the same event instead of the consumer having to also
|
|
102
|
+
* toggle `open` itself.
|
|
103
|
+
*
|
|
104
|
+
* Focus restoration follows the `open` lifecycle, so a direct `.open =
|
|
105
|
+
* false` assignment restores focus identically to calling `close()` -- the
|
|
106
|
+
* one thing a direct assignment still can't do is fire
|
|
107
|
+
* `lyra-dialog-close`, since there's no reason string to attach without
|
|
108
|
+
* going through this method.
|
|
109
|
+
*/
|
|
110
|
+
close(reason?: ToolResultDialogCloseReason): void;
|
|
111
|
+
private onBackdropClick;
|
|
112
|
+
private onCloseButtonClick;
|
|
113
|
+
private toggleMaximized;
|
|
114
|
+
private activateOverlay;
|
|
115
|
+
private deactivateOverlay;
|
|
116
|
+
render(): TemplateResult;
|
|
117
|
+
}
|
|
118
|
+
declare global {
|
|
119
|
+
interface HTMLElementTagNameMap {
|
|
120
|
+
'lyra-tool-result-dialog': LyraToolResultDialog;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
//# sourceMappingURL=tool-result-dialog.class.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-result-dialog.class.d.ts","sourceRoot":"","sources":["../../../src/components/tool-result-dialog/tool-result-dialog.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,cAAc,EAEnB,KAAK,cAAc,EAEpB,MAAM,KAAK,CAAC;AAEb,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAO7D,yDAAyD;AACzD,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,O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AC7B,yBAAyB,EAAE,oBAAoB,CAAC;KACjD;CACF"}
|
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { html, svg, nothing, } from 'lit';
|
|
8
|
+
import { property, state } from 'lit/decorators.js';
|
|
9
|
+
import { LyraElement } from '../../internal/lyra-element.js';
|
|
10
|
+
import { lockScroll } from '../../internal/scroll-lock.js';
|
|
11
|
+
import { activateOverlay } from '../../internal/overlay-manager.js';
|
|
12
|
+
import { nextId } from '../../internal/a11y.js';
|
|
13
|
+
import { closeIcon, expandIcon } from '../../internal/icons.js';
|
|
14
|
+
import { styles } from './tool-result-dialog.styles.js';
|
|
15
|
+
// Mirrors the shared icon set's viewBox/stroke conventions
|
|
16
|
+
// (internal/icons.ts's chevronIcon()/closeIcon()/etc.) without adding
|
|
17
|
+
// tool-result-specific glyphs to that module -- it's off limits here -- so
|
|
18
|
+
// these still read as part of the same visual language as the rest of the
|
|
19
|
+
// library's inline icons. Same approach lyra-checkbox's/lyra-chat-message's
|
|
20
|
+
// own local glyphs take for the identical reason.
|
|
21
|
+
const ICON_VIEW_BOX = '0 0 24 24';
|
|
22
|
+
const ICON_STROKE_WIDTH = '1.75';
|
|
23
|
+
function icon(paths) {
|
|
24
|
+
return svg `
|
|
25
|
+
<svg
|
|
26
|
+
width="1em"
|
|
27
|
+
height="1em"
|
|
28
|
+
viewBox=${ICON_VIEW_BOX}
|
|
29
|
+
fill="none"
|
|
30
|
+
stroke="currentColor"
|
|
31
|
+
stroke-width=${ICON_STROKE_WIDTH}
|
|
32
|
+
stroke-linecap="round"
|
|
33
|
+
stroke-linejoin="round"
|
|
34
|
+
aria-hidden="true"
|
|
35
|
+
focusable="false"
|
|
36
|
+
>${paths}</svg>
|
|
37
|
+
`;
|
|
38
|
+
}
|
|
39
|
+
/** A "restore from maximized" glyph -- the mirror image of `expandIcon()`,
|
|
40
|
+
* arrows pointing inward toward the center instead of outward toward the
|
|
41
|
+
* corners, same as lyra-widget's fullscreen-exit affordance reuses
|
|
42
|
+
* `closeIcon()` for the analogous "undo the expanded state" action. A
|
|
43
|
+
* distinct glyph (not `closeIcon()`) is used here because this dialog
|
|
44
|
+
* already has its own, separate close button right next to it -- two
|
|
45
|
+
* identical "x" icons side by side would be ambiguous about which one
|
|
46
|
+
* dismisses the dialog and which one only un-maximizes it. */
|
|
47
|
+
function shrinkIcon() {
|
|
48
|
+
return icon(svg `
|
|
49
|
+
<polyline points="4 14 10 14 10 20"></polyline>
|
|
50
|
+
<polyline points="20 10 14 10 14 4"></polyline>
|
|
51
|
+
<line x1="14" y1="10" x2="21" y2="3"></line>
|
|
52
|
+
<line x1="3" y1="21" x2="10" y2="14"></line>
|
|
53
|
+
`);
|
|
54
|
+
}
|
|
55
|
+
function pendingIcon() {
|
|
56
|
+
return icon(svg `<circle cx="12" cy="12" r="9"></circle><polyline points="12 7 12 12 15 14"></polyline>`);
|
|
57
|
+
}
|
|
58
|
+
/** A three-quarter arc, spun by the `[status="running"] [part="status"] svg`
|
|
59
|
+
* CSS animation -- a full circle wouldn't visibly convey rotation. */
|
|
60
|
+
function runningIcon() {
|
|
61
|
+
return icon(svg `<path d="M21 12a9 9 0 1 1-9-9"></path>`);
|
|
62
|
+
}
|
|
63
|
+
function successIcon() {
|
|
64
|
+
return icon(svg `<circle cx="12" cy="12" r="9"></circle><polyline points="8 12.5 11 15.5 16 9.5"></polyline>`);
|
|
65
|
+
}
|
|
66
|
+
function errorIcon() {
|
|
67
|
+
return icon(svg `
|
|
68
|
+
<circle cx="12" cy="12" r="9"></circle>
|
|
69
|
+
<line x1="9" y1="9" x2="15" y2="15"></line>
|
|
70
|
+
<line x1="15" y1="9" x2="9" y2="15"></line>
|
|
71
|
+
`);
|
|
72
|
+
}
|
|
73
|
+
/** A "blocked" glyph (circle + diagonal slash) -- distinct from `errorIcon()`
|
|
74
|
+
* since a denial is a policy rejection, not a runtime failure. */
|
|
75
|
+
function deniedIcon() {
|
|
76
|
+
return icon(svg `<circle cx="12" cy="12" r="9"></circle><line x1="6" y1="18" x2="18" y2="6"></line>`);
|
|
77
|
+
}
|
|
78
|
+
const STATUS_ICON = {
|
|
79
|
+
pending: pendingIcon,
|
|
80
|
+
running: runningIcon,
|
|
81
|
+
success: successIcon,
|
|
82
|
+
error: errorIcon,
|
|
83
|
+
denied: deniedIcon,
|
|
84
|
+
};
|
|
85
|
+
/** Visible (not just color-coded) text for every status. */
|
|
86
|
+
const STATUS_LABEL = {
|
|
87
|
+
pending: 'Pending',
|
|
88
|
+
running: 'Running',
|
|
89
|
+
success: 'Success',
|
|
90
|
+
error: 'Error',
|
|
91
|
+
denied: 'Denied',
|
|
92
|
+
};
|
|
93
|
+
const STATUS_VALUES = new Set(Object.keys(STATUS_LABEL));
|
|
94
|
+
/**
|
|
95
|
+
* Normalizes `status` at the attribute boundary -- an out-of-union value
|
|
96
|
+
* (markup a caller doesn't fully control, or a raw string from an untyped
|
|
97
|
+
* consumer) falls back to `'pending'` here rather than reaching
|
|
98
|
+
* STATUS_ICON/STATUS_LABEL as a bad lookup key and crashing `render()`. This
|
|
99
|
+
* only covers attribute parsing; a `.status = ...` assignment made directly
|
|
100
|
+
* as a property bypasses converters entirely, which is why `render()` below
|
|
101
|
+
* also falls back at the STATUS_ICON/STATUS_LABEL lookup itself.
|
|
102
|
+
*/
|
|
103
|
+
const statusConverter = {
|
|
104
|
+
fromAttribute(value) {
|
|
105
|
+
return value !== null && STATUS_VALUES.has(value) ? value : 'pending';
|
|
106
|
+
},
|
|
107
|
+
toAttribute(value) {
|
|
108
|
+
return value;
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
/** `820` -> `"820ms"`; `1500` -> `"1.5s"`; `2000` -> `"2s"`. Sub-second
|
|
112
|
+
* durations are the common case for a single tool call, so they get the
|
|
113
|
+
* more precise unit; once a call runs a full second or longer, trimming to
|
|
114
|
+
* (at most) one decimal place of seconds reads better than a 4-5 digit
|
|
115
|
+
* millisecond count. */
|
|
116
|
+
function formatDuration(ms) {
|
|
117
|
+
if (!Number.isFinite(ms) || ms < 1000) {
|
|
118
|
+
return `${Math.round(Math.max(0, ms))}ms`;
|
|
119
|
+
}
|
|
120
|
+
const seconds = ms / 1000;
|
|
121
|
+
const rounded = Math.round(seconds * 10) / 10;
|
|
122
|
+
return `${Number.isInteger(rounded) ? rounded.toFixed(0) : rounded.toFixed(1)}s`;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* `<lyra-tool-result-dialog>` — a full tool-call detail overlay: a status/
|
|
126
|
+
* duration header plus a `body` slot where a consumer typically places a
|
|
127
|
+
* `<lyra-tabs>` with Input/Preview/JSON/Raw panels. This component knows
|
|
128
|
+
* nothing about what's inside that slot — it only supplies the modal chrome
|
|
129
|
+
* around it.
|
|
130
|
+
*
|
|
131
|
+
* This is its own standalone overlay implementation (`role="dialog"`,
|
|
132
|
+
* focus-trapped, Escape/backdrop-dismissible, scroll-locking) rather than
|
|
133
|
+
* nesting a `<lyra-dialog>` in its shadow template — see `<lyra-dialog>`'s
|
|
134
|
+
* own header comment for why a new overlay component in this library
|
|
135
|
+
* duplicates that pattern locally instead of composing the previous one:
|
|
136
|
+
* slot-forwarding into a nested `<lyra-dialog>` would put a forwarding
|
|
137
|
+
* `<slot>` where a light-DOM-scanning descendant (e.g. a slotted
|
|
138
|
+
* `<lyra-tabs>`'s own `Array.from(this.children)` scan) expects real
|
|
139
|
+
* projected content.
|
|
140
|
+
*
|
|
141
|
+
* `maximized` toggles between a constrained modal size and a near-fullscreen
|
|
142
|
+
* size within the same open dialog and open/close lifecycle — unlike
|
|
143
|
+
* `<lyra-widget>`'s fullscreen mode, there's no non-modal resting state to
|
|
144
|
+
* return to, so no separate scroll-lock/focus-trap bookkeeping is needed for
|
|
145
|
+
* the transition itself.
|
|
146
|
+
*
|
|
147
|
+
* Stacking: opening more than one of these dialogs at once is supported --
|
|
148
|
+
* Escape and the Tab focus trap only ever act on the topmost open instance,
|
|
149
|
+
* so instances beneath it stay open and untouched until the one on top closes.
|
|
150
|
+
*
|
|
151
|
+
* @customElement lyra-tool-result-dialog
|
|
152
|
+
* @slot body - The dialog's main content — typically a `<lyra-tabs>` with
|
|
153
|
+
* Input/Preview/JSON/Raw panels, entirely consumer-assembled.
|
|
154
|
+
* @slot footer - Optional action buttons, rendered in a bottom row.
|
|
155
|
+
* @event lyra-dialog-close - `detail: ToolResultDialogCloseReason`. Fired
|
|
156
|
+
* exactly once per dismissal, via Escape, a backdrop click, the built-in
|
|
157
|
+
* close button, or a `close()` call.
|
|
158
|
+
* @event lyra-maximize-change - `detail: boolean` (the new `maximized`
|
|
159
|
+
* state), fired when the header's maximize/restore toggle is clicked.
|
|
160
|
+
* @csspart backdrop - The full-viewport scrim behind the panel.
|
|
161
|
+
* @csspart panel - The dialog panel itself (`role="dialog"` while open).
|
|
162
|
+
* @csspart header - The row containing the tool name, status, duration, and toggle/close buttons.
|
|
163
|
+
* @csspart title - The wrapper around the tool name, status, and duration.
|
|
164
|
+
* @csspart tool-name - The `tool-name` text.
|
|
165
|
+
* @csspart status - The status badge (icon + text).
|
|
166
|
+
* @csspart duration - The formatted `duration-ms` text.
|
|
167
|
+
* @csspart header-actions - The wrapper around the maximize and close buttons.
|
|
168
|
+
* @csspart maximize-button - The built-in maximize/restore toggle button.
|
|
169
|
+
* @csspart close-button - The built-in close button.
|
|
170
|
+
* @csspart body - The wrapper around the `body` slot.
|
|
171
|
+
* @csspart footer - The wrapper around the `footer` slot.
|
|
172
|
+
*/
|
|
173
|
+
export class LyraToolResultDialog extends LyraElement {
|
|
174
|
+
constructor() {
|
|
175
|
+
super(...arguments);
|
|
176
|
+
/**
|
|
177
|
+
* Whether the dialog is open. Set this (or call `close()`) — there is no
|
|
178
|
+
* separate `show()`/`hide()` pair. Both paths restore focus to the trigger
|
|
179
|
+
* element identically; only `close()` additionally fires
|
|
180
|
+
* `lyra-dialog-close`, since a direct assignment carries no reason string
|
|
181
|
+
* to attach to that event.
|
|
182
|
+
*/
|
|
183
|
+
this.open = false;
|
|
184
|
+
/** The tool's name, rendered prominently in the header. */
|
|
185
|
+
this.toolName = '';
|
|
186
|
+
/**
|
|
187
|
+
* The tool call's current lifecycle state — drives the header's status
|
|
188
|
+
* badge. An out-of-union value (e.g. a stray `status` attribute, or a
|
|
189
|
+
* direct property assignment from an untyped caller) is treated as
|
|
190
|
+
* `'pending'` rather than crashing render.
|
|
191
|
+
*/
|
|
192
|
+
this.status = 'pending';
|
|
193
|
+
/** Near-fullscreen presentation of the same open dialog. */
|
|
194
|
+
this.maximized = false;
|
|
195
|
+
this.hasFooterSlot = false;
|
|
196
|
+
this.titleId = nextId('tool-result-dialog-title');
|
|
197
|
+
this.onFooterSlotChange = (e) => {
|
|
198
|
+
this.hasFooterSlot = e.target.assignedElements({ flatten: true }).length > 0;
|
|
199
|
+
};
|
|
200
|
+
this.onBackdropClick = () => {
|
|
201
|
+
this.overlay?.dismissBackdrop();
|
|
202
|
+
};
|
|
203
|
+
this.onCloseButtonClick = () => {
|
|
204
|
+
this.close('close-button');
|
|
205
|
+
};
|
|
206
|
+
this.toggleMaximized = () => {
|
|
207
|
+
this.maximized = !this.maximized;
|
|
208
|
+
this.emit('lyra-maximize-change', this.maximized);
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
static { this.styles = [LyraElement.styles, styles]; }
|
|
212
|
+
willUpdate(changed) {
|
|
213
|
+
if (!this.hasUpdated) {
|
|
214
|
+
this.hasFooterSlot = Array.from(this.children).some((el) => el.getAttribute('slot') === 'footer');
|
|
215
|
+
}
|
|
216
|
+
if (changed.has('open')) {
|
|
217
|
+
if (this.open) {
|
|
218
|
+
this.activateOverlay();
|
|
219
|
+
}
|
|
220
|
+
else {
|
|
221
|
+
this.deactivateOverlay();
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
// Runs after render so the manager can resolve the panel and its composed
|
|
226
|
+
// focus targets, including controls projected through either slot.
|
|
227
|
+
updated(changed) {
|
|
228
|
+
if (changed.has('open') && this.open) {
|
|
229
|
+
this.overlay?.focusInitial();
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
connectedCallback() {
|
|
233
|
+
super.connectedCallback();
|
|
234
|
+
// A reconnect (e.g. a drag-and-drop reparent keeping this same element
|
|
235
|
+
// instance) fires disconnectedCallback then connectedCallback
|
|
236
|
+
// synchronously with no update in between, so willUpdate never reruns to
|
|
237
|
+
// notice `open` is still true -- restore the scroll lock/trap it dropped.
|
|
238
|
+
if (this.hasUpdated && this.open) {
|
|
239
|
+
if (this.overlay?.isActive()) {
|
|
240
|
+
this.overlay.resume();
|
|
241
|
+
this.releaseScrollLock ??= lockScroll(this.ownerDocument);
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
this.activateOverlay();
|
|
245
|
+
}
|
|
246
|
+
queueMicrotask(() => this.overlay?.focusInitial());
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
disconnectedCallback() {
|
|
250
|
+
super.disconnectedCallback();
|
|
251
|
+
this.releaseScrollLock?.();
|
|
252
|
+
this.releaseScrollLock = undefined;
|
|
253
|
+
this.overlay?.suspend();
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Close the dialog and return focus to whatever had it before the dialog
|
|
257
|
+
* opened. `reason` is forwarded as the `lyra-dialog-close` detail --
|
|
258
|
+
* built-in triggers pass `'escape'`/`'backdrop'`/`'close-button'`; a
|
|
259
|
+
* consumer's own close affordance (e.g. a footer action button) should
|
|
260
|
+
* call this directly with its own reason string, so every dismissal path
|
|
261
|
+
* funnels through the same event instead of the consumer having to also
|
|
262
|
+
* toggle `open` itself.
|
|
263
|
+
*
|
|
264
|
+
* Focus restoration follows the `open` lifecycle, so a direct `.open =
|
|
265
|
+
* false` assignment restores focus identically to calling `close()` -- the
|
|
266
|
+
* one thing a direct assignment still can't do is fire
|
|
267
|
+
* `lyra-dialog-close`, since there's no reason string to attach without
|
|
268
|
+
* going through this method.
|
|
269
|
+
*/
|
|
270
|
+
close(reason = 'api') {
|
|
271
|
+
if (!this.open)
|
|
272
|
+
return;
|
|
273
|
+
this.open = false;
|
|
274
|
+
this.emit('lyra-dialog-close', reason);
|
|
275
|
+
}
|
|
276
|
+
activateOverlay() {
|
|
277
|
+
if (this.overlay?.isActive())
|
|
278
|
+
return;
|
|
279
|
+
this.releaseScrollLock ??= lockScroll(this.ownerDocument);
|
|
280
|
+
this.overlay = activateOverlay({
|
|
281
|
+
host: this,
|
|
282
|
+
panel: () => this.shadowRoot?.querySelector('[part="panel"]') ?? null,
|
|
283
|
+
onEscape: () => this.close('escape'),
|
|
284
|
+
onBackdrop: () => this.close('backdrop'),
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
deactivateOverlay() {
|
|
288
|
+
this.releaseScrollLock?.();
|
|
289
|
+
this.releaseScrollLock = undefined;
|
|
290
|
+
this.overlay?.deactivate();
|
|
291
|
+
this.overlay = undefined;
|
|
292
|
+
}
|
|
293
|
+
render() {
|
|
294
|
+
const hasDuration = this.durationMs != null;
|
|
295
|
+
return html `
|
|
296
|
+
<div part="backdrop" @click=${this.onBackdropClick}></div>
|
|
297
|
+
<div
|
|
298
|
+
part="panel"
|
|
299
|
+
role=${this.open ? 'dialog' : nothing}
|
|
300
|
+
aria-modal=${this.open ? 'true' : nothing}
|
|
301
|
+
aria-labelledby=${this.titleId}
|
|
302
|
+
tabindex="-1"
|
|
303
|
+
>
|
|
304
|
+
<div part="header">
|
|
305
|
+
<div part="title">
|
|
306
|
+
<span part="tool-name" id=${this.titleId}>${this.toolName || 'Tool call'}</span>
|
|
307
|
+
<span part="status"
|
|
308
|
+
>${(STATUS_ICON[this.status] ?? STATUS_ICON.pending)()}<span
|
|
309
|
+
>${STATUS_LABEL[this.status] ?? STATUS_LABEL.pending}</span
|
|
310
|
+
></span
|
|
311
|
+
>
|
|
312
|
+
${hasDuration ? html `<span part="duration">${formatDuration(this.durationMs)}</span>` : nothing}
|
|
313
|
+
</div>
|
|
314
|
+
<div part="header-actions">
|
|
315
|
+
<button
|
|
316
|
+
part="maximize-button"
|
|
317
|
+
type="button"
|
|
318
|
+
aria-pressed=${this.maximized ? 'true' : 'false'}
|
|
319
|
+
aria-label=${this.maximized ? 'Restore' : 'Maximize'}
|
|
320
|
+
@click=${this.toggleMaximized}
|
|
321
|
+
>
|
|
322
|
+
${this.maximized ? shrinkIcon() : expandIcon()}
|
|
323
|
+
</button>
|
|
324
|
+
<button part="close-button" type="button" aria-label=${this.localize('close')} @click=${this.onCloseButtonClick}>
|
|
325
|
+
${closeIcon()}
|
|
326
|
+
</button>
|
|
327
|
+
</div>
|
|
328
|
+
</div>
|
|
329
|
+
<div part="body">
|
|
330
|
+
<slot name="body"></slot>
|
|
331
|
+
</div>
|
|
332
|
+
<div part="footer" ?hidden=${!this.hasFooterSlot}>
|
|
333
|
+
<slot name="footer" @slotchange=${this.onFooterSlotChange}></slot>
|
|
334
|
+
</div>
|
|
335
|
+
</div>
|
|
336
|
+
`;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
__decorate([
|
|
340
|
+
property({ type: Boolean, reflect: true })
|
|
341
|
+
], LyraToolResultDialog.prototype, "open", void 0);
|
|
342
|
+
__decorate([
|
|
343
|
+
property({ attribute: 'tool-name' })
|
|
344
|
+
], LyraToolResultDialog.prototype, "toolName", void 0);
|
|
345
|
+
__decorate([
|
|
346
|
+
property({ reflect: true, converter: statusConverter })
|
|
347
|
+
], LyraToolResultDialog.prototype, "status", void 0);
|
|
348
|
+
__decorate([
|
|
349
|
+
property({ type: Number, attribute: 'duration-ms' })
|
|
350
|
+
], LyraToolResultDialog.prototype, "durationMs", void 0);
|
|
351
|
+
__decorate([
|
|
352
|
+
property({ type: Boolean, reflect: true })
|
|
353
|
+
], LyraToolResultDialog.prototype, "maximized", void 0);
|
|
354
|
+
__decorate([
|
|
355
|
+
state()
|
|
356
|
+
], LyraToolResultDialog.prototype, "hasFooterSlot", void 0);
|
|
357
|
+
//# sourceMappingURL=tool-result-dialog.class.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-result-dialog.class.js","sourceRoot":"","sources":["../../../src/components/tool-result-dialog/tool-result-dialog.class.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,IAAI,EACJ,GAAG,EACH,OAAO,GAKR,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAsB,MAAM,mCAAmC,CAAC;AACxF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAoBxD,2DAA2D;AAC3D,sEAAsE;AACtE,2EAA2E;AAC3E,0EAA0E;AAC1E,4EAA4E;AAC5E,kDAAkD;AAClD,MAAM,aAAa,GAAG,WAAW,CAAC;AAClC,MAAM,iBAAiB,GAAG,MAAM,CAAC;AAEjC,SAAS,IAAI,CAAC,KAAwB;IACpC,OAAO,GAAG,CAAA;;;;gBAII,aAAa;;;qBAGR,iBAAiB;;;;;OAK/B,KAAK;GACT,CAAC;AACJ,CAA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AAC,SAAS,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,UAAU,EAAE;;mEAEO,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,IAAI,CAAC,kBAAkB;gBAC3G,SAAS,EAAE;;;;;;;qCAOU,CAAC,IAAI,CAAC,aAAa;4CACZ,IAAI,CAAC,kBAAkB;;;KAG9D,CAAC;IACJ,CAAC;CACF;AA3K6C;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDAAc;AAGnB;IAArC,QAAQ,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;sDAAe;AAQK;IAAxD,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;oDAAsC;AAGxC;IAArD,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;wDAAqB;AAG9B;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uDAAmB;AAE7C;IAAhB,KAAK,EAAE;2DAA+B"}
|
|
@@ -1,122 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** Same status vocabulary as `<lyra-tool-call-chip>`. */
|
|
4
|
-
export type ToolResultStatus = 'pending' | 'running' | 'success' | 'error' | 'denied';
|
|
5
|
-
/**
|
|
6
|
-
* Reason the dialog was dismissed, forwarded as the `lyra-dialog-close` event
|
|
7
|
-
* detail -- mirrors `<lyra-dialog>`'s own `DialogCloseReason` shape.
|
|
8
|
-
* `'escape'`/`'backdrop'` come from the dialog's own built-in dismiss
|
|
9
|
-
* triggers, `'close-button'` from the built-in header close button, and any
|
|
10
|
-
* other string is whatever a caller passes to `close()` directly (e.g. a
|
|
11
|
-
* consumer's own footer action).
|
|
12
|
-
*/
|
|
13
|
-
export type ToolResultDialogCloseReason = 'escape' | 'backdrop' | 'close-button' | 'api' | (string & Record<never, never>);
|
|
14
|
-
/**
|
|
15
|
-
* `<lyra-tool-result-dialog>` — a full tool-call detail overlay: a status/
|
|
16
|
-
* duration header plus a `body` slot where a consumer typically places a
|
|
17
|
-
* `<lyra-tabs>` with Input/Preview/JSON/Raw panels. This component knows
|
|
18
|
-
* nothing about what's inside that slot — it only supplies the modal chrome
|
|
19
|
-
* around it.
|
|
20
|
-
*
|
|
21
|
-
* This is its own standalone overlay implementation (`role="dialog"`,
|
|
22
|
-
* focus-trapped, Escape/backdrop-dismissible, scroll-locking) rather than
|
|
23
|
-
* nesting a `<lyra-dialog>` in its shadow template — see `<lyra-dialog>`'s
|
|
24
|
-
* own header comment for why a new overlay component in this library
|
|
25
|
-
* duplicates that pattern locally instead of composing the previous one:
|
|
26
|
-
* slot-forwarding into a nested `<lyra-dialog>` would put a forwarding
|
|
27
|
-
* `<slot>` where a light-DOM-scanning descendant (e.g. a slotted
|
|
28
|
-
* `<lyra-tabs>`'s own `Array.from(this.children)` scan) expects real
|
|
29
|
-
* projected content.
|
|
30
|
-
*
|
|
31
|
-
* `maximized` toggles between a constrained modal size and a near-fullscreen
|
|
32
|
-
* size within the same open dialog and open/close lifecycle — unlike
|
|
33
|
-
* `<lyra-widget>`'s fullscreen mode, there's no non-modal resting state to
|
|
34
|
-
* return to, so no separate scroll-lock/focus-trap bookkeeping is needed for
|
|
35
|
-
* the transition itself.
|
|
36
|
-
*
|
|
37
|
-
* Stacking: opening more than one of these dialogs at once is supported --
|
|
38
|
-
* Escape and the Tab focus trap only ever act on the topmost open instance,
|
|
39
|
-
* so instances beneath it stay open and untouched until the one on top closes.
|
|
40
|
-
*
|
|
41
|
-
* @customElement lyra-tool-result-dialog
|
|
42
|
-
* @slot body - The dialog's main content — typically a `<lyra-tabs>` with
|
|
43
|
-
* Input/Preview/JSON/Raw panels, entirely consumer-assembled.
|
|
44
|
-
* @slot footer - Optional action buttons, rendered in a bottom row.
|
|
45
|
-
* @event lyra-dialog-close - `detail: ToolResultDialogCloseReason`. Fired
|
|
46
|
-
* exactly once per dismissal, via Escape, a backdrop click, the built-in
|
|
47
|
-
* close button, or a `close()` call.
|
|
48
|
-
* @event lyra-maximize-change - `detail: boolean` (the new `maximized`
|
|
49
|
-
* state), fired when the header's maximize/restore toggle is clicked.
|
|
50
|
-
* @csspart backdrop - The full-viewport scrim behind the panel.
|
|
51
|
-
* @csspart panel - The dialog panel itself (`role="dialog"` while open).
|
|
52
|
-
* @csspart header - The row containing the tool name, status, duration, and toggle/close buttons.
|
|
53
|
-
* @csspart title - The wrapper around the tool name, status, and duration.
|
|
54
|
-
* @csspart tool-name - The `tool-name` text.
|
|
55
|
-
* @csspart status - The status badge (icon + text).
|
|
56
|
-
* @csspart duration - The formatted `duration-ms` text.
|
|
57
|
-
* @csspart header-actions - The wrapper around the maximize and close buttons.
|
|
58
|
-
* @csspart maximize-button - The built-in maximize/restore toggle button.
|
|
59
|
-
* @csspart close-button - The built-in close button.
|
|
60
|
-
* @csspart body - The wrapper around the `body` slot.
|
|
61
|
-
* @csspart footer - The wrapper around the `footer` slot.
|
|
62
|
-
*/
|
|
63
|
-
export declare class LyraToolResultDialog extends LyraElement {
|
|
64
|
-
static styles: import("lit").CSSResultGroup[];
|
|
65
|
-
/**
|
|
66
|
-
* Whether the dialog is open. Set this (or call `close()`) — there is no
|
|
67
|
-
* separate `show()`/`hide()` pair. Both paths restore focus to the trigger
|
|
68
|
-
* element identically; only `close()` additionally fires
|
|
69
|
-
* `lyra-dialog-close`, since a direct assignment carries no reason string
|
|
70
|
-
* to attach to that event.
|
|
71
|
-
*/
|
|
72
|
-
open: boolean;
|
|
73
|
-
/** The tool's name, rendered prominently in the header. */
|
|
74
|
-
toolName: string;
|
|
75
|
-
/**
|
|
76
|
-
* The tool call's current lifecycle state — drives the header's status
|
|
77
|
-
* badge. An out-of-union value (e.g. a stray `status` attribute, or a
|
|
78
|
-
* direct property assignment from an untyped caller) is treated as
|
|
79
|
-
* `'pending'` rather than crashing render.
|
|
80
|
-
*/
|
|
81
|
-
status: ToolResultStatus;
|
|
82
|
-
/** How long the call took, in milliseconds. Omitted from the header entirely when unset. */
|
|
83
|
-
durationMs?: number;
|
|
84
|
-
/** Near-fullscreen presentation of the same open dialog. */
|
|
85
|
-
maximized: boolean;
|
|
86
|
-
private hasFooterSlot;
|
|
87
|
-
private releaseScrollLock?;
|
|
88
|
-
private overlay?;
|
|
89
|
-
private readonly titleId;
|
|
90
|
-
protected willUpdate(changed: PropertyValues): void;
|
|
91
|
-
protected updated(changed: PropertyValues): void;
|
|
92
|
-
connectedCallback(): void;
|
|
93
|
-
disconnectedCallback(): void;
|
|
94
|
-
private onFooterSlotChange;
|
|
95
|
-
/**
|
|
96
|
-
* Close the dialog and return focus to whatever had it before the dialog
|
|
97
|
-
* opened. `reason` is forwarded as the `lyra-dialog-close` detail --
|
|
98
|
-
* built-in triggers pass `'escape'`/`'backdrop'`/`'close-button'`; a
|
|
99
|
-
* consumer's own close affordance (e.g. a footer action button) should
|
|
100
|
-
* call this directly with its own reason string, so every dismissal path
|
|
101
|
-
* funnels through the same event instead of the consumer having to also
|
|
102
|
-
* toggle `open` itself.
|
|
103
|
-
*
|
|
104
|
-
* Focus restoration follows the `open` lifecycle, so a direct `.open =
|
|
105
|
-
* false` assignment restores focus identically to calling `close()` -- the
|
|
106
|
-
* one thing a direct assignment still can't do is fire
|
|
107
|
-
* `lyra-dialog-close`, since there's no reason string to attach without
|
|
108
|
-
* going through this method.
|
|
109
|
-
*/
|
|
110
|
-
close(reason?: ToolResultDialogCloseReason): void;
|
|
111
|
-
private onBackdropClick;
|
|
112
|
-
private onCloseButtonClick;
|
|
113
|
-
private toggleMaximized;
|
|
114
|
-
private activateOverlay;
|
|
115
|
-
private deactivateOverlay;
|
|
116
|
-
render(): TemplateResult;
|
|
117
|
-
}
|
|
118
|
-
declare global {
|
|
119
|
-
interface HTMLElementTagNameMap {
|
|
120
|
-
'lyra-tool-result-dialog': LyraToolResultDialog;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
1
|
+
export * from './tool-result-dialog.class.js';
|
|
2
|
+
//# sourceMappingURL=tool-result-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-result-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/tool-result-dialog/tool-result-dialog.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
|