@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,212 @@
|
|
|
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, nothing } from 'lit';
|
|
8
|
+
import { property, state, query } from 'lit/decorators.js';
|
|
9
|
+
import { LyraElement } from '../../internal/lyra-element.js';
|
|
10
|
+
import '../live-region/live-region.class.js';
|
|
11
|
+
import { styles } from './stream-status.styles.js';
|
|
12
|
+
const DEFAULT_STALL_MESSAGE = 'Taking longer than usual…';
|
|
13
|
+
const STALL_ANNOUNCEMENT = 'Connection stalled.';
|
|
14
|
+
const RECOVER_ANNOUNCEMENT = 'Connection restored.';
|
|
15
|
+
// Used instead of RECOVER_ANNOUNCEMENT when a stall is left behind by moving
|
|
16
|
+
// to 'idle'/'connecting' rather than back to 'streaming' -- see
|
|
17
|
+
// announceTransition()'s caller in onPhaseChanged() for why "restored" would
|
|
18
|
+
// be actively misleading in that case.
|
|
19
|
+
const STALL_CLEARED_ANNOUNCEMENT = 'No longer stalled.';
|
|
20
|
+
// The default slot's stalled-message content is often plain text with no
|
|
21
|
+
// wrapping element at all (see the CustomStalledMessage story), so an
|
|
22
|
+
// Element-only check never counts it, and ordinary indented-markup
|
|
23
|
+
// whitespace (a newline + indentation before a slotted `actions` button, as
|
|
24
|
+
// in the DefaultStalledMessage story) must not count either -- native <slot>
|
|
25
|
+
// fallback content is suppressed by *any* assigned node, whitespace or not,
|
|
26
|
+
// which previously left the message area blank in exactly that common case.
|
|
27
|
+
// Mirrors lyra-citation-badge's identical isRealPreviewNode: a node counts as
|
|
28
|
+
// real message content if it's an element not assigned to some other named
|
|
29
|
+
// slot (e.g. `actions`), or non-whitespace text.
|
|
30
|
+
function isRealMessageNode(n) {
|
|
31
|
+
return n.nodeType === Node.ELEMENT_NODE
|
|
32
|
+
? !n.hasAttribute('slot')
|
|
33
|
+
: (n.textContent ?? '').trim().length > 0;
|
|
34
|
+
}
|
|
35
|
+
export class LyraStreamStatus extends LyraElement {
|
|
36
|
+
constructor() {
|
|
37
|
+
super(...arguments);
|
|
38
|
+
/** Current connection phase. Settable directly by the host at any time —
|
|
39
|
+
* see the class doc for how that interacts with the internal stall timer. */
|
|
40
|
+
this.phase = 'idle';
|
|
41
|
+
/** How long `phase` may stay `'streaming'` with no `recordActivity()` call
|
|
42
|
+
* before this component declares it stalled. */
|
|
43
|
+
this.stallThresholdMs = 10000;
|
|
44
|
+
this.hasActionsSlot = false;
|
|
45
|
+
// Seeded from light-DOM childNodes in willUpdate() (mirrors hasActionsSlot
|
|
46
|
+
// above), then kept current via onMessageSlotChange() -- see
|
|
47
|
+
// isRealMessageNode()'s doc comment for why native <slot> fallback content
|
|
48
|
+
// can't be relied on for the default stalled-message text.
|
|
49
|
+
this.hasMessageContent = false;
|
|
50
|
+
this.onActionsSlotChange = (e) => {
|
|
51
|
+
this.hasActionsSlot = e.target.assignedElements({ flatten: true }).length > 0;
|
|
52
|
+
};
|
|
53
|
+
this.onMessageSlotChange = (e) => {
|
|
54
|
+
this.hasMessageContent = e.target.assignedNodes({ flatten: true }).some(isRealMessageNode);
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
static { this.styles = [LyraElement.styles, styles]; }
|
|
58
|
+
willUpdate() {
|
|
59
|
+
if (!this.hasUpdated) {
|
|
60
|
+
this.hasActionsSlot = this.hasSlotted('actions');
|
|
61
|
+
this.hasMessageContent = Array.from(this.childNodes).some(isRealMessageNode);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
// `changed.get('phase')` is `undefined` on the very first update, for the
|
|
65
|
+
// same reason documented on lyra-chat-message's identical `updated()`
|
|
66
|
+
// guard: Lit only records the *first* old value seen since the last
|
|
67
|
+
// completed update, and the constructor's field-initializer assignment is
|
|
68
|
+
// that first change, from the truly-unset internal slot. That naturally
|
|
69
|
+
// skips firing an event/announcement for whatever phase this element
|
|
70
|
+
// happens to mount with, while still arming the stall timer below if it
|
|
71
|
+
// mounts already `'streaming'`.
|
|
72
|
+
//
|
|
73
|
+
// The `else if` below only matters while `phase` itself didn't also change
|
|
74
|
+
// in this same update -- if it did, onPhaseChanged() above already
|
|
75
|
+
// (re)armed the timer with the current `stallThresholdMs`, so re-arming it
|
|
76
|
+
// again here would just be redundant, not wrong, but the `else` skips that
|
|
77
|
+
// double work.
|
|
78
|
+
updated(changed) {
|
|
79
|
+
if (changed.has('phase')) {
|
|
80
|
+
this.onPhaseChanged(changed.get('phase'));
|
|
81
|
+
}
|
|
82
|
+
else if (changed.has('stallThresholdMs') && this.phase === 'streaming') {
|
|
83
|
+
// Unlike `phase` itself, `stallThresholdMs` has no dedicated handler --
|
|
84
|
+
// the already-armed timer was scheduled against the *old* value and
|
|
85
|
+
// keeps counting down against it otherwise, so a shortened (or
|
|
86
|
+
// lengthened) threshold would silently have no effect until the next
|
|
87
|
+
// recordActivity() call or phase transition happened to re-arm it.
|
|
88
|
+
this.armStallTimer();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
connectedCallback() {
|
|
92
|
+
super.connectedCallback();
|
|
93
|
+
// A disconnect always disarms the timer (see disconnectedCallback()
|
|
94
|
+
// below), but reparenting this element elsewhere in the page while still
|
|
95
|
+
// `'streaming'` fires disconnectedCallback then connectedCallback with
|
|
96
|
+
// `phase` unchanged -- no `updated()` cycle runs in between, so nothing
|
|
97
|
+
// else would ever re-arm it. Without this, a reparent mid-stream would
|
|
98
|
+
// permanently disable stall detection for the rest of that streaming
|
|
99
|
+
// session.
|
|
100
|
+
if (this.phase === 'streaming')
|
|
101
|
+
this.armStallTimer();
|
|
102
|
+
}
|
|
103
|
+
disconnectedCallback() {
|
|
104
|
+
super.disconnectedCallback();
|
|
105
|
+
this.disarmStallTimer();
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Call on every semantic (non-heartbeat) frame received while streaming.
|
|
109
|
+
* - While `phase === 'streaming'`: (re)arms the stall timer, pushing the
|
|
110
|
+
* stall deadline `stall-threshold-ms` further out.
|
|
111
|
+
* - While `phase === 'stalled'`: recovers — `phase` becomes `'streaming'`
|
|
112
|
+
* again, `lyra-recover` fires, and the stall timer is armed fresh (same
|
|
113
|
+
* as the bullet above), all via the same `updated()` transition handling
|
|
114
|
+
* a direct host assignment would also go through.
|
|
115
|
+
* - While `phase` is `'idle'` or `'connecting'`: a no-op. A host may call
|
|
116
|
+
* this defensively before formally flipping to `'streaming'`; it must
|
|
117
|
+
* never throw or start a timer early.
|
|
118
|
+
*/
|
|
119
|
+
recordActivity() {
|
|
120
|
+
if (this.phase === 'streaming') {
|
|
121
|
+
this.armStallTimer();
|
|
122
|
+
}
|
|
123
|
+
else if (this.phase === 'stalled') {
|
|
124
|
+
this.phase = 'streaming';
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
onPhaseChanged(previous) {
|
|
128
|
+
if (this.phase === 'streaming') {
|
|
129
|
+
this.armStallTimer();
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
this.disarmStallTimer();
|
|
133
|
+
}
|
|
134
|
+
if (previous === undefined)
|
|
135
|
+
return;
|
|
136
|
+
if (this.phase === 'stalled' && previous !== 'stalled') {
|
|
137
|
+
this.emit('lyra-stall');
|
|
138
|
+
this.announceTransition('assertive', STALL_ANNOUNCEMENT);
|
|
139
|
+
}
|
|
140
|
+
else if (previous === 'stalled' && this.phase !== 'stalled') {
|
|
141
|
+
// `lyra-recover` fires unconditionally -- a host may still want the
|
|
142
|
+
// event for any exit from 'stalled' -- but the *announced text* must
|
|
143
|
+
// not claim the connection was "restored" when the destination is
|
|
144
|
+
// 'idle'/'connecting': that's the host abandoning the stream, not it
|
|
145
|
+
// recovering, and telling a screen-reader user otherwise would be the
|
|
146
|
+
// opposite of what a sighted user sees on screen.
|
|
147
|
+
this.emit('lyra-recover');
|
|
148
|
+
const text = this.phase === 'streaming' ? RECOVER_ANNOUNCEMENT : STALL_CLEARED_ANNOUNCEMENT;
|
|
149
|
+
this.announceTransition('polite', text);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
armStallTimer() {
|
|
153
|
+
this.disarmStallTimer();
|
|
154
|
+
const threshold = this.stallThresholdMs;
|
|
155
|
+
if (!Number.isFinite(threshold) || threshold <= 0)
|
|
156
|
+
return;
|
|
157
|
+
this.stallTimer = setTimeout(() => {
|
|
158
|
+
this.stallTimer = undefined;
|
|
159
|
+
this.phase = 'stalled';
|
|
160
|
+
}, threshold);
|
|
161
|
+
}
|
|
162
|
+
disarmStallTimer() {
|
|
163
|
+
if (this.stallTimer !== undefined) {
|
|
164
|
+
clearTimeout(this.stallTimer);
|
|
165
|
+
this.stallTimer = undefined;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
announceTransition(mode, text) {
|
|
169
|
+
const region = this.liveRegion;
|
|
170
|
+
if (!region)
|
|
171
|
+
return;
|
|
172
|
+
region.mode = mode;
|
|
173
|
+
region.announce(text, { force: true });
|
|
174
|
+
}
|
|
175
|
+
hasSlotted(name) {
|
|
176
|
+
return Array.from(this.children).some((el) => el.getAttribute('slot') === name);
|
|
177
|
+
}
|
|
178
|
+
render() {
|
|
179
|
+
return html `
|
|
180
|
+
<div part="base">
|
|
181
|
+
<span part="indicator" aria-hidden="true"></span>
|
|
182
|
+
${this.phase === 'stalled'
|
|
183
|
+
? html `<div part="message">
|
|
184
|
+
<slot @slotchange=${this.onMessageSlotChange}></slot>${this.hasMessageContent
|
|
185
|
+
? nothing
|
|
186
|
+
: DEFAULT_STALL_MESSAGE}
|
|
187
|
+
</div>`
|
|
188
|
+
: nothing}
|
|
189
|
+
<div part="actions" ?hidden=${!this.hasActionsSlot}>
|
|
190
|
+
<slot name="actions" @slotchange=${this.onActionsSlotChange}></slot>
|
|
191
|
+
</div>
|
|
192
|
+
<lyra-live-region></lyra-live-region>
|
|
193
|
+
</div>
|
|
194
|
+
`;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
__decorate([
|
|
198
|
+
property({ reflect: true })
|
|
199
|
+
], LyraStreamStatus.prototype, "phase", void 0);
|
|
200
|
+
__decorate([
|
|
201
|
+
property({ type: Number, attribute: 'stall-threshold-ms' })
|
|
202
|
+
], LyraStreamStatus.prototype, "stallThresholdMs", void 0);
|
|
203
|
+
__decorate([
|
|
204
|
+
state()
|
|
205
|
+
], LyraStreamStatus.prototype, "hasActionsSlot", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
state()
|
|
208
|
+
], LyraStreamStatus.prototype, "hasMessageContent", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
query('lyra-live-region')
|
|
211
|
+
], LyraStreamStatus.prototype, "liveRegion", void 0);
|
|
212
|
+
//# sourceMappingURL=stream-status.class.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stream-status.class.js","sourceRoot":"","sources":["../../../src/components/stream-status/stream-status.class.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,126 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
export type StreamStatusPhase = 'idle' | 'connecting' | 'streaming' | 'stalled';
|
|
5
|
-
/**
|
|
6
|
-
* `<lyra-stream-status>` — a compact status indicator for a single streaming
|
|
7
|
-
* connection (SSE, WebSocket, long-poll, …), with built-in heartbeat-aware
|
|
8
|
-
* stall detection.
|
|
9
|
-
*
|
|
10
|
-
* The host drives `phase` directly for `idle`/`connecting`/`streaming`, and
|
|
11
|
-
* calls `recordActivity()` on every *semantic* frame received while
|
|
12
|
-
* streaming — a real content chunk, never a transport-level keep-alive ping.
|
|
13
|
-
* This component has no payload-inspection logic of its own: "ignore
|
|
14
|
-
* heartbeats" is entirely a call-site discipline — the host simply never
|
|
15
|
-
* calls `recordActivity()` for a ping, so pings never reset the stall timer
|
|
16
|
-
* and a connection that's only sending keep-alives (no real content) for
|
|
17
|
-
* longer than `stall-threshold-ms` correctly reads as stalled.
|
|
18
|
-
*
|
|
19
|
-
* Internally, an inactivity timer runs only while `phase === 'streaming'`.
|
|
20
|
-
* It's (re)armed whenever the phase transitions to `'streaming'` (directly,
|
|
21
|
-
* or via `recordActivity()` recovering from `'stalled'`), on every
|
|
22
|
-
* subsequent `recordActivity()` call while already streaming, whenever
|
|
23
|
-
* `stall-threshold-ms` itself changes while already streaming (the new
|
|
24
|
-
* value takes effect immediately, the same way `<lyra-toast-item>`'s
|
|
25
|
-
* `duration` re-applies mid-flight, rather than waiting for the next
|
|
26
|
-
* `recordActivity()`/phase change), and whenever this element (re)connects
|
|
27
|
-
* to the DOM while `phase` is still `'streaming'` (a disconnect always
|
|
28
|
-
* disarms it, so moving the element elsewhere in the page — disconnect then
|
|
29
|
-
* reconnect with `phase` unchanged — must resume detection rather than
|
|
30
|
-
* silently disabling it for the rest of the streaming session). It's
|
|
31
|
-
* disarmed the instant `phase` becomes anything else, including a
|
|
32
|
-
* host-driven reassignment away from `'streaming'` — so a stale timer can
|
|
33
|
-
* never fire a stall transition after the host has already moved on. If it
|
|
34
|
-
* ever fires, `phase` becomes `'stalled'` and `lyra-stall` is dispatched.
|
|
35
|
-
*
|
|
36
|
-
* `phase` remains a fully public, directly settable property at all times —
|
|
37
|
-
* a host can assign `'stalled'` (or any other phase) itself as a manual
|
|
38
|
-
* override, and this component never fights that assignment. `lyra-stall`/
|
|
39
|
-
* `lyra-recover` fire on *any* transition into/out of `'stalled'`
|
|
40
|
-
* respectively, whether timer-driven or host-driven, and never for a
|
|
41
|
-
* reassignment to the same value (Lit's default `hasChanged` already skips a
|
|
42
|
-
* no-op set, same as every other reflected `@property` in this library).
|
|
43
|
-
* Like `<lyra-chat-message>`'s `status`, whatever phase this element happens
|
|
44
|
-
* to *mount* with is never itself treated as an eventful transition — only a
|
|
45
|
-
* later change fires an event or an announcement.
|
|
46
|
-
*
|
|
47
|
-
* Accessibility: phase transitions into/out of `'stalled'` are announced
|
|
48
|
-
* through an internal `<lyra-live-region>` (see that component for the
|
|
49
|
-
* throttled/coalesced-announcement machinery this composes) rather than a
|
|
50
|
-
* hand-rolled `aria-live` region. `recordActivity()` itself never announces
|
|
51
|
-
* anything, no matter how often the host calls it — only the *transition*
|
|
52
|
-
* announces, exactly once per transition, which is the entire point of
|
|
53
|
-
* routing through the throttled announcer instead of writing to a live
|
|
54
|
-
* region on every call. Entering `'stalled'` announces with `mode="assertive"`
|
|
55
|
-
* (a stall can need the user's attention, e.g. before they give up and
|
|
56
|
-
* navigate away); leaving `'stalled'` always announces with `mode="polite"`
|
|
57
|
-
* (good news doesn't need to interrupt), but the *wording* depends on where
|
|
58
|
-
* it lands: `"Connection restored."` only when the destination is
|
|
59
|
-
* `'streaming'` (a genuine recovery), or a neutral `"No longer stalled."`
|
|
60
|
-
* when the destination is `'idle'`/`'connecting'` instead — that's the host
|
|
61
|
-
* giving up on the stream, not the stream recovering, and a screen-reader
|
|
62
|
-
* user must never be told the opposite of what a sighted user sees on
|
|
63
|
-
* screen. The decorative indicator dot is `aria-hidden` — it's a
|
|
64
|
-
* color/motion cue only, never the sole carrier of state.
|
|
65
|
-
*
|
|
66
|
-
* Visual: `'stalled'` is styled as a warning, not a danger — a stall is
|
|
67
|
-
* usually recoverable (the stream may resume on its own, or the host's own
|
|
68
|
-
* retry logic may kick in), so treating it as an actionable warning rather
|
|
69
|
-
* than a hard failure keeps the tone proportionate. A host that wants to
|
|
70
|
-
* escalate to danger styling after N stalls can scope its own CSS off
|
|
71
|
-
* `[phase="stalled"]`, or simply stop rendering this component and show its
|
|
72
|
-
* own danger-styled error state instead.
|
|
73
|
-
*
|
|
74
|
-
* @customElement lyra-stream-status
|
|
75
|
-
* @slot - Custom copy shown only while `phase="stalled"` (e.g. "Taking longer than usual…"). A sensible built-in default is used when nothing is slotted.
|
|
76
|
-
* @slot actions - A stop/retry button row. Always present in the template regardless of `phase` — visibility is driven purely by whether anything is slotted, not by `phase`; what to put here, and when, is entirely the host's call.
|
|
77
|
-
* @event lyra-stall - Fired whenever `phase` transitions into `'stalled'` from anything else (timer-driven, or a direct host assignment).
|
|
78
|
-
* @event lyra-recover - Fired whenever `phase` transitions out of `'stalled'` to anything else (via `recordActivity()`, or a direct host assignment) — fired unconditionally regardless of destination phase, even though the accompanying announcement's wording varies (see the class doc's "Accessibility" section).
|
|
79
|
-
* @csspart base - The root layout container.
|
|
80
|
-
* @csspart indicator - The decorative (`aria-hidden`) status dot.
|
|
81
|
-
* @csspart message - Wrapper around the default slot; only rendered while `phase="stalled"`.
|
|
82
|
-
* @csspart actions - Wrapper around the `actions` slot.
|
|
83
|
-
*/
|
|
84
|
-
export declare class LyraStreamStatus extends LyraElement {
|
|
85
|
-
static styles: import("lit").CSSResultGroup[];
|
|
86
|
-
/** Current connection phase. Settable directly by the host at any time —
|
|
87
|
-
* see the class doc for how that interacts with the internal stall timer. */
|
|
88
|
-
phase: StreamStatusPhase;
|
|
89
|
-
/** How long `phase` may stay `'streaming'` with no `recordActivity()` call
|
|
90
|
-
* before this component declares it stalled. */
|
|
91
|
-
stallThresholdMs: number;
|
|
92
|
-
private stallTimer?;
|
|
93
|
-
private hasActionsSlot;
|
|
94
|
-
private hasMessageContent;
|
|
95
|
-
private liveRegion?;
|
|
96
|
-
protected willUpdate(): void;
|
|
97
|
-
protected updated(changed: PropertyValues): void;
|
|
98
|
-
connectedCallback(): void;
|
|
99
|
-
disconnectedCallback(): void;
|
|
100
|
-
/**
|
|
101
|
-
* Call on every semantic (non-heartbeat) frame received while streaming.
|
|
102
|
-
* - While `phase === 'streaming'`: (re)arms the stall timer, pushing the
|
|
103
|
-
* stall deadline `stall-threshold-ms` further out.
|
|
104
|
-
* - While `phase === 'stalled'`: recovers — `phase` becomes `'streaming'`
|
|
105
|
-
* again, `lyra-recover` fires, and the stall timer is armed fresh (same
|
|
106
|
-
* as the bullet above), all via the same `updated()` transition handling
|
|
107
|
-
* a direct host assignment would also go through.
|
|
108
|
-
* - While `phase` is `'idle'` or `'connecting'`: a no-op. A host may call
|
|
109
|
-
* this defensively before formally flipping to `'streaming'`; it must
|
|
110
|
-
* never throw or start a timer early.
|
|
111
|
-
*/
|
|
112
|
-
recordActivity(): void;
|
|
113
|
-
private onPhaseChanged;
|
|
114
|
-
private armStallTimer;
|
|
115
|
-
private disarmStallTimer;
|
|
116
|
-
private announceTransition;
|
|
117
|
-
private hasSlotted;
|
|
118
|
-
private onActionsSlotChange;
|
|
119
|
-
private onMessageSlotChange;
|
|
120
|
-
render(): TemplateResult;
|
|
121
|
-
}
|
|
122
|
-
declare global {
|
|
123
|
-
interface HTMLElementTagNameMap {
|
|
124
|
-
'lyra-stream-status': LyraStreamStatus;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
1
|
+
export * from './stream-status.class.js';
|
|
2
|
+
import "../live-region/live-region.js";
|
|
3
|
+
//# sourceMappingURL=stream-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stream-status.d.ts","sourceRoot":"","sources":["../../../src/components/stream-status/stream-status.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AAGzC,OAAO,+BAA+B,CAAC"}
|
|
@@ -1,292 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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, nothing } from 'lit';
|
|
8
|
-
import { property, state, query } from 'lit/decorators.js';
|
|
9
|
-
import { LyraElement } from '../../internal/lyra-element.js';
|
|
1
|
+
export * from './stream-status.class.js';
|
|
2
|
+
import { LyraStreamStatus } from './stream-status.class.js';
|
|
10
3
|
import { defineElement } from '../../internal/prefix.js';
|
|
11
|
-
import
|
|
12
|
-
import { styles } from './stream-status.styles.js';
|
|
13
|
-
const DEFAULT_STALL_MESSAGE = 'Taking longer than usual…';
|
|
14
|
-
const STALL_ANNOUNCEMENT = 'Connection stalled.';
|
|
15
|
-
const RECOVER_ANNOUNCEMENT = 'Connection restored.';
|
|
16
|
-
// Used instead of RECOVER_ANNOUNCEMENT when a stall is left behind by moving
|
|
17
|
-
// to 'idle'/'connecting' rather than back to 'streaming' -- see
|
|
18
|
-
// announceTransition()'s caller in onPhaseChanged() for why "restored" would
|
|
19
|
-
// be actively misleading in that case.
|
|
20
|
-
const STALL_CLEARED_ANNOUNCEMENT = 'No longer stalled.';
|
|
21
|
-
// The default slot's stalled-message content is often plain text with no
|
|
22
|
-
// wrapping element at all (see the CustomStalledMessage story), so an
|
|
23
|
-
// Element-only check never counts it, and ordinary indented-markup
|
|
24
|
-
// whitespace (a newline + indentation before a slotted `actions` button, as
|
|
25
|
-
// in the DefaultStalledMessage story) must not count either -- native <slot>
|
|
26
|
-
// fallback content is suppressed by *any* assigned node, whitespace or not,
|
|
27
|
-
// which previously left the message area blank in exactly that common case.
|
|
28
|
-
// Mirrors lyra-citation-badge's identical isRealPreviewNode: a node counts as
|
|
29
|
-
// real message content if it's an element not assigned to some other named
|
|
30
|
-
// slot (e.g. `actions`), or non-whitespace text.
|
|
31
|
-
function isRealMessageNode(n) {
|
|
32
|
-
return n.nodeType === Node.ELEMENT_NODE
|
|
33
|
-
? !n.hasAttribute('slot')
|
|
34
|
-
: (n.textContent ?? '').trim().length > 0;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* `<lyra-stream-status>` — a compact status indicator for a single streaming
|
|
38
|
-
* connection (SSE, WebSocket, long-poll, …), with built-in heartbeat-aware
|
|
39
|
-
* stall detection.
|
|
40
|
-
*
|
|
41
|
-
* The host drives `phase` directly for `idle`/`connecting`/`streaming`, and
|
|
42
|
-
* calls `recordActivity()` on every *semantic* frame received while
|
|
43
|
-
* streaming — a real content chunk, never a transport-level keep-alive ping.
|
|
44
|
-
* This component has no payload-inspection logic of its own: "ignore
|
|
45
|
-
* heartbeats" is entirely a call-site discipline — the host simply never
|
|
46
|
-
* calls `recordActivity()` for a ping, so pings never reset the stall timer
|
|
47
|
-
* and a connection that's only sending keep-alives (no real content) for
|
|
48
|
-
* longer than `stall-threshold-ms` correctly reads as stalled.
|
|
49
|
-
*
|
|
50
|
-
* Internally, an inactivity timer runs only while `phase === 'streaming'`.
|
|
51
|
-
* It's (re)armed whenever the phase transitions to `'streaming'` (directly,
|
|
52
|
-
* or via `recordActivity()` recovering from `'stalled'`), on every
|
|
53
|
-
* subsequent `recordActivity()` call while already streaming, whenever
|
|
54
|
-
* `stall-threshold-ms` itself changes while already streaming (the new
|
|
55
|
-
* value takes effect immediately, the same way `<lyra-toast-item>`'s
|
|
56
|
-
* `duration` re-applies mid-flight, rather than waiting for the next
|
|
57
|
-
* `recordActivity()`/phase change), and whenever this element (re)connects
|
|
58
|
-
* to the DOM while `phase` is still `'streaming'` (a disconnect always
|
|
59
|
-
* disarms it, so moving the element elsewhere in the page — disconnect then
|
|
60
|
-
* reconnect with `phase` unchanged — must resume detection rather than
|
|
61
|
-
* silently disabling it for the rest of the streaming session). It's
|
|
62
|
-
* disarmed the instant `phase` becomes anything else, including a
|
|
63
|
-
* host-driven reassignment away from `'streaming'` — so a stale timer can
|
|
64
|
-
* never fire a stall transition after the host has already moved on. If it
|
|
65
|
-
* ever fires, `phase` becomes `'stalled'` and `lyra-stall` is dispatched.
|
|
66
|
-
*
|
|
67
|
-
* `phase` remains a fully public, directly settable property at all times —
|
|
68
|
-
* a host can assign `'stalled'` (or any other phase) itself as a manual
|
|
69
|
-
* override, and this component never fights that assignment. `lyra-stall`/
|
|
70
|
-
* `lyra-recover` fire on *any* transition into/out of `'stalled'`
|
|
71
|
-
* respectively, whether timer-driven or host-driven, and never for a
|
|
72
|
-
* reassignment to the same value (Lit's default `hasChanged` already skips a
|
|
73
|
-
* no-op set, same as every other reflected `@property` in this library).
|
|
74
|
-
* Like `<lyra-chat-message>`'s `status`, whatever phase this element happens
|
|
75
|
-
* to *mount* with is never itself treated as an eventful transition — only a
|
|
76
|
-
* later change fires an event or an announcement.
|
|
77
|
-
*
|
|
78
|
-
* Accessibility: phase transitions into/out of `'stalled'` are announced
|
|
79
|
-
* through an internal `<lyra-live-region>` (see that component for the
|
|
80
|
-
* throttled/coalesced-announcement machinery this composes) rather than a
|
|
81
|
-
* hand-rolled `aria-live` region. `recordActivity()` itself never announces
|
|
82
|
-
* anything, no matter how often the host calls it — only the *transition*
|
|
83
|
-
* announces, exactly once per transition, which is the entire point of
|
|
84
|
-
* routing through the throttled announcer instead of writing to a live
|
|
85
|
-
* region on every call. Entering `'stalled'` announces with `mode="assertive"`
|
|
86
|
-
* (a stall can need the user's attention, e.g. before they give up and
|
|
87
|
-
* navigate away); leaving `'stalled'` always announces with `mode="polite"`
|
|
88
|
-
* (good news doesn't need to interrupt), but the *wording* depends on where
|
|
89
|
-
* it lands: `"Connection restored."` only when the destination is
|
|
90
|
-
* `'streaming'` (a genuine recovery), or a neutral `"No longer stalled."`
|
|
91
|
-
* when the destination is `'idle'`/`'connecting'` instead — that's the host
|
|
92
|
-
* giving up on the stream, not the stream recovering, and a screen-reader
|
|
93
|
-
* user must never be told the opposite of what a sighted user sees on
|
|
94
|
-
* screen. The decorative indicator dot is `aria-hidden` — it's a
|
|
95
|
-
* color/motion cue only, never the sole carrier of state.
|
|
96
|
-
*
|
|
97
|
-
* Visual: `'stalled'` is styled as a warning, not a danger — a stall is
|
|
98
|
-
* usually recoverable (the stream may resume on its own, or the host's own
|
|
99
|
-
* retry logic may kick in), so treating it as an actionable warning rather
|
|
100
|
-
* than a hard failure keeps the tone proportionate. A host that wants to
|
|
101
|
-
* escalate to danger styling after N stalls can scope its own CSS off
|
|
102
|
-
* `[phase="stalled"]`, or simply stop rendering this component and show its
|
|
103
|
-
* own danger-styled error state instead.
|
|
104
|
-
*
|
|
105
|
-
* @customElement lyra-stream-status
|
|
106
|
-
* @slot - Custom copy shown only while `phase="stalled"` (e.g. "Taking longer than usual…"). A sensible built-in default is used when nothing is slotted.
|
|
107
|
-
* @slot actions - A stop/retry button row. Always present in the template regardless of `phase` — visibility is driven purely by whether anything is slotted, not by `phase`; what to put here, and when, is entirely the host's call.
|
|
108
|
-
* @event lyra-stall - Fired whenever `phase` transitions into `'stalled'` from anything else (timer-driven, or a direct host assignment).
|
|
109
|
-
* @event lyra-recover - Fired whenever `phase` transitions out of `'stalled'` to anything else (via `recordActivity()`, or a direct host assignment) — fired unconditionally regardless of destination phase, even though the accompanying announcement's wording varies (see the class doc's "Accessibility" section).
|
|
110
|
-
* @csspart base - The root layout container.
|
|
111
|
-
* @csspart indicator - The decorative (`aria-hidden`) status dot.
|
|
112
|
-
* @csspart message - Wrapper around the default slot; only rendered while `phase="stalled"`.
|
|
113
|
-
* @csspart actions - Wrapper around the `actions` slot.
|
|
114
|
-
*/
|
|
115
|
-
export class LyraStreamStatus extends LyraElement {
|
|
116
|
-
constructor() {
|
|
117
|
-
super(...arguments);
|
|
118
|
-
/** Current connection phase. Settable directly by the host at any time —
|
|
119
|
-
* see the class doc for how that interacts with the internal stall timer. */
|
|
120
|
-
this.phase = 'idle';
|
|
121
|
-
/** How long `phase` may stay `'streaming'` with no `recordActivity()` call
|
|
122
|
-
* before this component declares it stalled. */
|
|
123
|
-
this.stallThresholdMs = 10000;
|
|
124
|
-
this.hasActionsSlot = false;
|
|
125
|
-
// Seeded from light-DOM childNodes in willUpdate() (mirrors hasActionsSlot
|
|
126
|
-
// above), then kept current via onMessageSlotChange() -- see
|
|
127
|
-
// isRealMessageNode()'s doc comment for why native <slot> fallback content
|
|
128
|
-
// can't be relied on for the default stalled-message text.
|
|
129
|
-
this.hasMessageContent = false;
|
|
130
|
-
this.onActionsSlotChange = (e) => {
|
|
131
|
-
this.hasActionsSlot = e.target.assignedElements({ flatten: true }).length > 0;
|
|
132
|
-
};
|
|
133
|
-
this.onMessageSlotChange = (e) => {
|
|
134
|
-
this.hasMessageContent = e.target.assignedNodes({ flatten: true }).some(isRealMessageNode);
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
|
-
static { this.styles = [LyraElement.styles, styles]; }
|
|
138
|
-
willUpdate() {
|
|
139
|
-
if (!this.hasUpdated) {
|
|
140
|
-
this.hasActionsSlot = this.hasSlotted('actions');
|
|
141
|
-
this.hasMessageContent = Array.from(this.childNodes).some(isRealMessageNode);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
// `changed.get('phase')` is `undefined` on the very first update, for the
|
|
145
|
-
// same reason documented on lyra-chat-message's identical `updated()`
|
|
146
|
-
// guard: Lit only records the *first* old value seen since the last
|
|
147
|
-
// completed update, and the constructor's field-initializer assignment is
|
|
148
|
-
// that first change, from the truly-unset internal slot. That naturally
|
|
149
|
-
// skips firing an event/announcement for whatever phase this element
|
|
150
|
-
// happens to mount with, while still arming the stall timer below if it
|
|
151
|
-
// mounts already `'streaming'`.
|
|
152
|
-
//
|
|
153
|
-
// The `else if` below only matters while `phase` itself didn't also change
|
|
154
|
-
// in this same update -- if it did, onPhaseChanged() above already
|
|
155
|
-
// (re)armed the timer with the current `stallThresholdMs`, so re-arming it
|
|
156
|
-
// again here would just be redundant, not wrong, but the `else` skips that
|
|
157
|
-
// double work.
|
|
158
|
-
updated(changed) {
|
|
159
|
-
if (changed.has('phase')) {
|
|
160
|
-
this.onPhaseChanged(changed.get('phase'));
|
|
161
|
-
}
|
|
162
|
-
else if (changed.has('stallThresholdMs') && this.phase === 'streaming') {
|
|
163
|
-
// Unlike `phase` itself, `stallThresholdMs` has no dedicated handler --
|
|
164
|
-
// the already-armed timer was scheduled against the *old* value and
|
|
165
|
-
// keeps counting down against it otherwise, so a shortened (or
|
|
166
|
-
// lengthened) threshold would silently have no effect until the next
|
|
167
|
-
// recordActivity() call or phase transition happened to re-arm it.
|
|
168
|
-
this.armStallTimer();
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
connectedCallback() {
|
|
172
|
-
super.connectedCallback();
|
|
173
|
-
// A disconnect always disarms the timer (see disconnectedCallback()
|
|
174
|
-
// below), but reparenting this element elsewhere in the page while still
|
|
175
|
-
// `'streaming'` fires disconnectedCallback then connectedCallback with
|
|
176
|
-
// `phase` unchanged -- no `updated()` cycle runs in between, so nothing
|
|
177
|
-
// else would ever re-arm it. Without this, a reparent mid-stream would
|
|
178
|
-
// permanently disable stall detection for the rest of that streaming
|
|
179
|
-
// session.
|
|
180
|
-
if (this.phase === 'streaming')
|
|
181
|
-
this.armStallTimer();
|
|
182
|
-
}
|
|
183
|
-
disconnectedCallback() {
|
|
184
|
-
super.disconnectedCallback();
|
|
185
|
-
this.disarmStallTimer();
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* Call on every semantic (non-heartbeat) frame received while streaming.
|
|
189
|
-
* - While `phase === 'streaming'`: (re)arms the stall timer, pushing the
|
|
190
|
-
* stall deadline `stall-threshold-ms` further out.
|
|
191
|
-
* - While `phase === 'stalled'`: recovers — `phase` becomes `'streaming'`
|
|
192
|
-
* again, `lyra-recover` fires, and the stall timer is armed fresh (same
|
|
193
|
-
* as the bullet above), all via the same `updated()` transition handling
|
|
194
|
-
* a direct host assignment would also go through.
|
|
195
|
-
* - While `phase` is `'idle'` or `'connecting'`: a no-op. A host may call
|
|
196
|
-
* this defensively before formally flipping to `'streaming'`; it must
|
|
197
|
-
* never throw or start a timer early.
|
|
198
|
-
*/
|
|
199
|
-
recordActivity() {
|
|
200
|
-
if (this.phase === 'streaming') {
|
|
201
|
-
this.armStallTimer();
|
|
202
|
-
}
|
|
203
|
-
else if (this.phase === 'stalled') {
|
|
204
|
-
this.phase = 'streaming';
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
onPhaseChanged(previous) {
|
|
208
|
-
if (this.phase === 'streaming') {
|
|
209
|
-
this.armStallTimer();
|
|
210
|
-
}
|
|
211
|
-
else {
|
|
212
|
-
this.disarmStallTimer();
|
|
213
|
-
}
|
|
214
|
-
if (previous === undefined)
|
|
215
|
-
return;
|
|
216
|
-
if (this.phase === 'stalled' && previous !== 'stalled') {
|
|
217
|
-
this.emit('lyra-stall');
|
|
218
|
-
this.announceTransition('assertive', STALL_ANNOUNCEMENT);
|
|
219
|
-
}
|
|
220
|
-
else if (previous === 'stalled' && this.phase !== 'stalled') {
|
|
221
|
-
// `lyra-recover` fires unconditionally -- a host may still want the
|
|
222
|
-
// event for any exit from 'stalled' -- but the *announced text* must
|
|
223
|
-
// not claim the connection was "restored" when the destination is
|
|
224
|
-
// 'idle'/'connecting': that's the host abandoning the stream, not it
|
|
225
|
-
// recovering, and telling a screen-reader user otherwise would be the
|
|
226
|
-
// opposite of what a sighted user sees on screen.
|
|
227
|
-
this.emit('lyra-recover');
|
|
228
|
-
const text = this.phase === 'streaming' ? RECOVER_ANNOUNCEMENT : STALL_CLEARED_ANNOUNCEMENT;
|
|
229
|
-
this.announceTransition('polite', text);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
armStallTimer() {
|
|
233
|
-
this.disarmStallTimer();
|
|
234
|
-
const threshold = this.stallThresholdMs;
|
|
235
|
-
if (!Number.isFinite(threshold) || threshold <= 0)
|
|
236
|
-
return;
|
|
237
|
-
this.stallTimer = setTimeout(() => {
|
|
238
|
-
this.stallTimer = undefined;
|
|
239
|
-
this.phase = 'stalled';
|
|
240
|
-
}, threshold);
|
|
241
|
-
}
|
|
242
|
-
disarmStallTimer() {
|
|
243
|
-
if (this.stallTimer !== undefined) {
|
|
244
|
-
clearTimeout(this.stallTimer);
|
|
245
|
-
this.stallTimer = undefined;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
announceTransition(mode, text) {
|
|
249
|
-
const region = this.liveRegion;
|
|
250
|
-
if (!region)
|
|
251
|
-
return;
|
|
252
|
-
region.mode = mode;
|
|
253
|
-
region.announce(text, { force: true });
|
|
254
|
-
}
|
|
255
|
-
hasSlotted(name) {
|
|
256
|
-
return Array.from(this.children).some((el) => el.getAttribute('slot') === name);
|
|
257
|
-
}
|
|
258
|
-
render() {
|
|
259
|
-
return html `
|
|
260
|
-
<div part="base">
|
|
261
|
-
<span part="indicator" aria-hidden="true"></span>
|
|
262
|
-
${this.phase === 'stalled'
|
|
263
|
-
? html `<div part="message">
|
|
264
|
-
<slot @slotchange=${this.onMessageSlotChange}></slot>${this.hasMessageContent
|
|
265
|
-
? nothing
|
|
266
|
-
: DEFAULT_STALL_MESSAGE}
|
|
267
|
-
</div>`
|
|
268
|
-
: nothing}
|
|
269
|
-
<div part="actions" ?hidden=${!this.hasActionsSlot}>
|
|
270
|
-
<slot name="actions" @slotchange=${this.onActionsSlotChange}></slot>
|
|
271
|
-
</div>
|
|
272
|
-
<lyra-live-region></lyra-live-region>
|
|
273
|
-
</div>
|
|
274
|
-
`;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
__decorate([
|
|
278
|
-
property({ reflect: true })
|
|
279
|
-
], LyraStreamStatus.prototype, "phase", void 0);
|
|
280
|
-
__decorate([
|
|
281
|
-
property({ type: Number, attribute: 'stall-threshold-ms' })
|
|
282
|
-
], LyraStreamStatus.prototype, "stallThresholdMs", void 0);
|
|
283
|
-
__decorate([
|
|
284
|
-
state()
|
|
285
|
-
], LyraStreamStatus.prototype, "hasActionsSlot", void 0);
|
|
286
|
-
__decorate([
|
|
287
|
-
state()
|
|
288
|
-
], LyraStreamStatus.prototype, "hasMessageContent", void 0);
|
|
289
|
-
__decorate([
|
|
290
|
-
query('lyra-live-region')
|
|
291
|
-
], LyraStreamStatus.prototype, "liveRegion", void 0);
|
|
4
|
+
import "../live-region/live-region.js";
|
|
292
5
|
defineElement('stream-status', LyraStreamStatus);
|
|
6
|
+
//# sourceMappingURL=stream-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stream-status.js","sourceRoot":"","sources":["../../../src/components/stream-status/stream-status.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,+BAA+B,CAAC;AACvC,aAAa,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC"}
|