@aceshooting/lyra-ui 2.0.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 +107 -19
- package/custom-elements.json +40136 -17102
- 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 -0
- package/dist/components/app-rail/app-rail-item.d.ts.map +1 -0
- package/dist/components/app-rail/app-rail-item.js +5 -0
- package/dist/components/app-rail/app-rail-item.js.map +1 -0
- package/dist/components/app-rail/app-rail-item.styles.d.ts +2 -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 +71 -0
- 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 -171
- package/dist/components/app-rail/app-rail.d.ts.map +1 -0
- package/dist/components/app-rail/app-rail.js +4 -481
- 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 +42 -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 -114
- package/dist/components/attachment-chip/attachment-chip.d.ts.map +1 -0
- package/dist/components/attachment-chip/attachment-chip.js +3 -310
- 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 -83
- package/dist/components/attachment-trigger/attachment-trigger.d.ts.map +1 -0
- package/dist/components/attachment-trigger/attachment-trigger.js +5 -256
- 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 +38 -11
- 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 -25
- 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 -53
- package/dist/components/chart/box-plot.d.ts.map +1 -0
- package/dist/components/chart/box-plot.js +4 -189
- 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 +15 -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 -29
- 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 -152
- package/dist/components/chart/chart.d.ts.map +1 -0
- package/dist/components/chart/chart.js +4 -539
- 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 -25
- package/dist/components/chart/doughnut-chart.js.map +1 -0
- package/dist/components/chart/histogram-bin.d.ts +6 -2
- package/dist/components/chart/histogram-bin.d.ts.map +1 -0
- package/dist/components/chart/histogram-bin.js +13 -4
- 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 -98
- 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 -25
- 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 -137
- package/dist/components/chart/lite-chart.d.ts.map +1 -0
- package/dist/components/chart/lite-chart.js +3 -540
- 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 -26
- 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 -25
- 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 -25
- 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 -26
- 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 -92
- package/dist/components/chat-composer/chat-composer.d.ts.map +1 -0
- package/dist/components/chat-composer/chat-composer.js +3 -283
- 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 +16 -5
- 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 -113
- package/dist/components/chat-message/chat-message.d.ts.map +1 -0
- package/dist/components/chat-message/chat-message.js +4 -289
- 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 -59
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.js +3 -228
- 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 +14 -6
- 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 -122
- 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 -113
- 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 -298
- 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 -89
- package/dist/components/code-block/code-block.d.ts.map +1 -0
- package/dist/components/code-block/code-block.js +4 -315
- 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 +49 -5
- package/dist/components/code-block/code-loader.d.ts.map +1 -0
- package/dist/components/code-block/code-loader.js +64 -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 -158
- package/dist/components/combobox/combobox.d.ts.map +1 -0
- package/dist/components/combobox/combobox.js +4 -751
- 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 -148
- 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 -12
- 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 -128
- package/dist/components/conversation-item/conversation-item.d.ts.map +1 -0
- package/dist/components/conversation-item/conversation-item.js +3 -320
- 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 +25 -0
- package/dist/components/date-picker/calendar-core.d.ts.map +1 -0
- package/dist/components/date-picker/calendar-core.js +52 -4
- 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 -101
- package/dist/components/date-picker/date-input.d.ts.map +1 -0
- package/dist/components/date-picker/date-input.js +4 -470
- 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 -79
- package/dist/components/date-picker/date-picker.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.js +3 -432
- 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 +4 -6
- 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 -85
- package/dist/components/dialog/dialog.d.ts.map +1 -0
- package/dist/components/dialog/dialog.js +3 -270
- 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 +54 -6
- 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 -134
- package/dist/components/dock-panel/dock-panel.d.ts.map +1 -0
- package/dist/components/dock-panel/dock-panel.js +3 -343
- 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 +34 -13
- 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 -135
- package/dist/components/document-preview/document-preview.d.ts.map +1 -0
- package/dist/components/document-preview/document-preview.js +3 -370
- 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 -43
- package/dist/components/empty/empty.d.ts.map +1 -0
- package/dist/components/empty/empty.js +3 -105
- 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 -8
- 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 -55
- package/dist/components/export-button/export-button.d.ts.map +1 -0
- package/dist/components/export-button/export-button.js +3 -233
- 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 +11 -6
- 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 +3 -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 -50
- package/dist/components/file-input/file-input.d.ts.map +1 -0
- package/dist/components/file-input/file-input.js +3 -195
- 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 -225
- 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 +6 -5
- package/dist/components/flag/flag.styles.js.map +1 -0
- package/dist/components/flag/language-map.d.ts +5 -1
- package/dist/components/flag/language-map.d.ts.map +1 -0
- package/dist/components/flag/language-map.js +7 -3
- 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 -31
- package/dist/components/gauge/gauge.d.ts.map +1 -0
- package/dist/components/gauge/gauge.js +3 -158
- 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 -109
- package/dist/components/generation-status/generation-status.d.ts.map +1 -0
- package/dist/components/generation-status/generation-status.js +3 -271
- 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 -123
- package/dist/components/graph/graph.d.ts.map +1 -0
- package/dist/components/graph/graph.js +4 -465
- 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 +16 -6
- package/dist/components/heatmap/calendar-grid.d.ts.map +1 -0
- package/dist/components/heatmap/calendar-grid.js +18 -6
- package/dist/components/heatmap/calendar-grid.js.map +1 -0
- package/dist/components/heatmap/heatmap-scale.d.ts +14 -1
- package/dist/components/heatmap/heatmap-scale.d.ts.map +1 -0
- package/dist/components/heatmap/heatmap-scale.js +21 -2
- 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 -296
- package/dist/components/heatmap/heatmap.d.ts.map +1 -0
- package/dist/components/heatmap/heatmap.js +3 -892
- 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 -53
- package/dist/components/json-viewer/json-viewer.d.ts.map +1 -0
- package/dist/components/json-viewer/json-viewer.js +3 -281
- 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 +25 -21
- 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 -212
- 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 -81
- package/dist/components/live-region/live-region.d.ts.map +1 -0
- package/dist/components/live-region/live-region.js +3 -151
- 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 -88
- package/dist/components/map/map.d.ts.map +1 -0
- package/dist/components/map/map.js +4 -412
- 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 +30 -6
- package/dist/components/markdown/markdown-loader.d.ts.map +1 -0
- package/dist/components/markdown/markdown-loader.js +36 -1
- 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 -81
- package/dist/components/markdown/markdown.d.ts.map +1 -0
- package/dist/components/markdown/markdown.js +3 -282
- 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 +19 -12
- 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 -122
- package/dist/components/media-card/media-card.d.ts.map +1 -0
- package/dist/components/media-card/media-card.js +3 -293
- 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 -200
- package/dist/components/mention-popover/mention-popover.d.ts.map +1 -0
- package/dist/components/mention-popover/mention-popover.js +3 -473
- 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 -62
- package/dist/components/menu/menu-item.d.ts.map +1 -0
- package/dist/components/menu/menu-item.js +3 -117
- 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 +11 -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 -143
- package/dist/components/menu/menu.d.ts.map +1 -0
- package/dist/components/menu/menu.js +4 -363
- 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 -7
- 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 -125
- package/dist/components/model-select/model-select.d.ts.map +1 -0
- package/dist/components/model-select/model-select.js +3 -488
- 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 +39 -24
- 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 -69
- 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 -143
- 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 -67
- package/dist/components/playback/playback.d.ts.map +1 -0
- package/dist/components/playback/playback.js +3 -207
- 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 +8 -2
- 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 -150
- package/dist/components/responsive-panel/responsive-panel.d.ts.map +1 -0
- package/dist/components/responsive-panel/responsive-panel.js +3 -363
- 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 -44
- package/dist/components/result-card/result-card.d.ts.map +1 -0
- package/dist/components/result-card/result-card.js +3 -81
- 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 -5
- 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 -166
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/select/select.js +4 -611
- 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 -26
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/skeleton/skeleton.js +3 -60
- 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 +7 -5
- 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 -89
- package/dist/components/slider/slider.d.ts.map +1 -0
- package/dist/components/slider/slider.js +3 -350
- 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 -92
- package/dist/components/source-card/source-card.d.ts.map +1 -0
- package/dist/components/source-card/source-card.js +3 -146
- 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 +12 -11
- 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 -120
- 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 -113
- 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 -155
- package/dist/components/split/split.d.ts.map +1 -0
- package/dist/components/split/split.js +3 -583
- 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 +24 -6
- 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 -83
- package/dist/components/stat/stat.d.ts.map +1 -0
- package/dist/components/stat/stat.js +3 -213
- 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 -110
- package/dist/components/stream-status/stream-status.d.ts.map +1 -0
- package/dist/components/stream-status/stream-status.js +4 -208
- 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 -98
- package/dist/components/streaming-text/streaming-text.d.ts.map +1 -0
- package/dist/components/streaming-text/streaming-text.js +4 -207
- 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 +6 -4
- 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 -58
- package/dist/components/switch/switch.d.ts.map +1 -0
- package/dist/components/switch/switch.js +3 -177
- 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 +19 -15
- 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 -184
- package/dist/components/table/table.d.ts.map +1 -0
- package/dist/components/table/table.js +4 -543
- 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 -51
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/tabs/tabs.js +3 -188
- 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 +21 -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 -121
- package/dist/components/thinking-panel/thinking-panel.d.ts.map +1 -0
- package/dist/components/thinking-panel/thinking-panel.js +3 -233
- 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 +19 -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 -69
- package/dist/components/time-range/time-range.d.ts.map +1 -0
- package/dist/components/time-range/time-range.js +3 -398
- 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 -63
- package/dist/components/toast/toast-item.d.ts.map +1 -0
- package/dist/components/toast/toast-item.js +3 -286
- 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 +64 -32
- 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 -46
- 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 +11 -1
- 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 -130
- 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 -401
- 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 -89
- 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 -286
- 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 -145
- 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 -364
- 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 -102
- 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 -391
- 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 -8
- package/dist/components/tool-result-view/registry.d.ts.map +1 -0
- package/dist/components/tool-result-view/registry.js +8 -2
- 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 -55
- 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 -136
- 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 -437
- 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 +40 -27
- 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 -65
- package/dist/components/tree/tree-node.d.ts.map +1 -0
- package/dist/components/tree/tree-node.js +4 -219
- 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 -120
- package/dist/components/tree/tree.d.ts.map +1 -0
- package/dist/components/tree/tree.js +5 -324
- 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 -60
- package/dist/components/typing-indicator/typing-indicator.d.ts.map +1 -0
- package/dist/components/typing-indicator/typing-indicator.js +3 -94
- 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 +9 -8
- 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 -173
- package/dist/components/virtual-list/virtual-list.d.ts.map +1 -0
- package/dist/components/virtual-list/virtual-list.js +3 -459
- 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 +14 -1
- 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 -64
- package/dist/components/widget/widget.d.ts.map +1 -0
- package/dist/components/widget/widget.js +3 -315
- 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 +19 -8
- package/dist/components/widget/widget.styles.js.map +1 -0
- package/dist/components/word-cloud/word-cloud-layout.d.ts +8 -0
- package/dist/components/word-cloud/word-cloud-layout.d.ts.map +1 -0
- package/dist/components/word-cloud/word-cloud-layout.js +21 -6
- 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 -71
- package/dist/components/word-cloud/word-cloud.d.ts.map +1 -0
- package/dist/components/word-cloud/word-cloud.js +3 -264
- 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 +37 -11
- 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 +2 -0
- package/dist/internal/anchored-validity.d.ts.map +1 -0
- package/dist/internal/anchored-validity.js +87 -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 +8 -0
- package/dist/internal/form-associated.d.ts.map +1 -0
- package/dist/internal/form-associated.js +44 -4
- 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 +13 -0
- package/dist/internal/numbers.d.ts.map +1 -0
- package/dist/internal/numbers.js +27 -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 +52 -0
- package/dist/internal/overlay-manager.d.ts.map +1 -0
- package/dist/internal/overlay-manager.js +524 -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 +28 -3
- 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 +13 -0
- package/dist/internal/safe-url.d.ts.map +1 -0
- package/dist/internal/safe-url.js +42 -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 +224 -11
- package/dist/internal/tokens.styles.js.map +1 -0
- package/dist/lyra.d.ts +56 -5
- package/dist/lyra.d.ts.map +1 -0
- package/dist/lyra.js +7 -2
- package/dist/lyra.js.map +1 -0
- package/llms-full.txt +1079 -472
- package/llms.txt +11 -10
- package/package.json +201 -6
|
@@ -1,173 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** `lyra-visible-range-changed` detail -- the current visible (non-overscanned) item index range. */
|
|
4
|
-
export interface VirtualListRange {
|
|
5
|
-
start: number;
|
|
6
|
-
end: number;
|
|
7
|
-
}
|
|
8
|
-
/** Placeholder for a later phase's sticky-header sectioning feature -- see the class doc. */
|
|
9
|
-
export interface VirtualListGroup {
|
|
10
|
-
key: string | number;
|
|
11
|
-
label?: string;
|
|
12
|
-
startIndex: number;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* `<lyra-virtual-list>` — a generic windowed/virtualized list host. Renders
|
|
16
|
-
* only the items within the current viewport (plus `overscan` padding rows
|
|
17
|
-
* on each side) as real DOM, regardless of how large `items` is, so a
|
|
18
|
-
* multi-thousand-row chat history sidebar (or, in a later phase, a long
|
|
19
|
-
* message thread) stays cheap to scroll.
|
|
20
|
-
*
|
|
21
|
-
* Content is entirely caller-supplied: `renderItem(item, index)` returns
|
|
22
|
-
* whatever `lit-html` value should represent that row (typically a
|
|
23
|
-
* `TemplateResult`), and `keyFunction(item, index)` gives it a stable
|
|
24
|
-
* identity for `repeat()`'s DOM-reconciliation key, so scroll position and
|
|
25
|
-
* any per-row state (e.g. an `<audio>` element's playback position) survive
|
|
26
|
-
* an `items` mutation instead of every row remounting from scratch.
|
|
27
|
-
*
|
|
28
|
-
* **Windowing math.** Every row — in both `row-height` modes — is positioned
|
|
29
|
-
* by a `transform: translateY(offset)` computed from a single cumulative
|
|
30
|
-
* `offsets` array (`offsets[i]` = the pixel top of row `i`), rather than by
|
|
31
|
-
* page flow. This is what lets only a small DOM window exist while the
|
|
32
|
-
* scrollbar still reflects the *true* total content height:
|
|
33
|
-
* - **`row-height="auto"` (default).** Each currently-rendered row is
|
|
34
|
-
* watched by a `ResizeObserver`; its real height lands in a per-key
|
|
35
|
-
* `Map`, and any row not yet measured contributes `DEFAULT_ROW_ESTIMATE_PX`
|
|
36
|
-
* to the offsets array until it has been. `offsets` is *not* the same
|
|
37
|
-
* thing as a page-count-based `padding-top`/`padding-bottom` spacer pair —
|
|
38
|
-
* that approach reflows every unmeasured row's position on every new
|
|
39
|
-
* measurement, which is exactly what per-row transform offsets avoid: only
|
|
40
|
-
* the rows *after* a newly-measured one shift, and even that shift is a
|
|
41
|
-
* cheap style recompute, not a layout-affecting padding change.
|
|
42
|
-
* - **Fixed numeric `row-height`.** No measurement needed — `offsets[i]` is
|
|
43
|
-
* just `i * rowHeightPx`, computed by the exact same cumulative-array code
|
|
44
|
-
* path (a dedicated "single spacer + start-index" special case was
|
|
45
|
-
* considered and would work too, but reusing one code path for both modes
|
|
46
|
-
* avoids maintaining two parallel rendering strategies for a difference
|
|
47
|
-
* that's otherwise just "how is row *i*'s height looked up").
|
|
48
|
-
*
|
|
49
|
-
* The `offsets` array is rebuilt on every update. For the list sizes this
|
|
50
|
-
* component is meant for (a scrollable history sidebar, realistically
|
|
51
|
-
* hundreds to a few thousand rows) that's a trivial `O(n)` arithmetic loop,
|
|
52
|
-
* even at scroll-driven ~60fps; it is *not* the right approach for a
|
|
53
|
-
* hundred-thousand-row list without further work (e.g. a Fenwick/segment
|
|
54
|
-
* tree for `O(log n)` offset queries+updates), which is out of scope here.
|
|
55
|
-
*
|
|
56
|
-
* **Accessibility.** The scroll container is `role="list"` and each rendered
|
|
57
|
-
* row is `role="listitem"`, deliberately *not* `listbox`/`option` — this
|
|
58
|
-
* component only provides windowing, not the roving-tabindex/
|
|
59
|
-
* `aria-activedescendant` keyboard-interaction contract ARIA requires
|
|
60
|
-
* alongside a real `listbox`. A consumer that wants full single-select
|
|
61
|
-
* listbox semantics on top of this should compose that behavior itself (see
|
|
62
|
-
* `<lyra-select>`'s pattern), the same way this component's `active-id`
|
|
63
|
-
* only *scrolls* the matching row into view and marks it `aria-current` —
|
|
64
|
-
* it never claims to be a selection widget. `aria-setsize`/`aria-posinset`
|
|
65
|
-
* are computed from the row's real index in the full `items` array (not its
|
|
66
|
-
* position among the currently-rendered DOM window), so a screen reader
|
|
67
|
-
* still announces e.g. "item 12 of 340" correctly. `[part="base"]` itself
|
|
68
|
-
* carries `tabindex="0"` — `renderItem`'s content is caller-supplied and not
|
|
69
|
-
* guaranteed to contain a focusable element, and a scrollable region with no
|
|
70
|
-
* focusable content of its own is otherwise unreachable by keyboard (native
|
|
71
|
-
* arrow/Page Up/Page Down scrolling included).
|
|
72
|
-
*
|
|
73
|
-
* **Grouping.** `groups` is accepted for forward API compatibility with a
|
|
74
|
-
* later phase's sticky-header sectioning feature (paired with a
|
|
75
|
-
* `groupByRecency()` helper that doesn't exist yet) but is not read or
|
|
76
|
-
* rendered by this pass — every row still renders flat, in `items` order.
|
|
77
|
-
*
|
|
78
|
-
* @customElement lyra-virtual-list
|
|
79
|
-
* @event lyra-load-more - Fired once per approach to the bottom of the list
|
|
80
|
-
* while `has-more` is true and `loading` is false. Deliberately does not
|
|
81
|
-
* refire on every scroll tick while still near the bottom (`loading`
|
|
82
|
-
* gates the in-flight case; scrolling back away from the bottom and
|
|
83
|
-
* returning, or `items` growing enough to move the window away from the
|
|
84
|
-
* end, re-arms it) — a consumer wanting an automatic retry after a failed
|
|
85
|
-
* fetch should surface its own retry affordance rather than relying on
|
|
86
|
-
* this firing again unprompted.
|
|
87
|
-
* @event lyra-visible-range-changed - `detail: { start, end }` (see
|
|
88
|
-
* `VirtualListRange`) — the current visible (non-overscanned) item index
|
|
89
|
-
* range, fired only when it actually changes.
|
|
90
|
-
* @csspart base - The scrollable container (`role="list"`).
|
|
91
|
-
* @csspart spacer - The full-content-height inner element that gives the
|
|
92
|
-
* container its true scrollable extent.
|
|
93
|
-
* @csspart row - One rendered row's absolutely-positioned wrapper
|
|
94
|
-
* (`role="listitem"`); `renderItem`'s return value renders inside it.
|
|
95
|
-
*/
|
|
96
|
-
export declare class LyraVirtualList extends LyraElement {
|
|
97
|
-
static styles: import("lit").CSSResultGroup[];
|
|
98
|
-
/** The full (non-windowed) item collection. */
|
|
99
|
-
items: unknown[];
|
|
100
|
-
/** Renders one row's content — typically returns a `lit-html` `TemplateResult`. */
|
|
101
|
-
renderItem: (item: unknown, index: number) => unknown;
|
|
102
|
-
/** Derives a row's stable `repeat()` key. Falls back to the item's index
|
|
103
|
-
* in `items` when omitted, which is only a safe identity while `items`
|
|
104
|
-
* never reorders/inserts/removes — provide this whenever it can, or
|
|
105
|
-
* scroll position and any per-row DOM state can attach to the wrong row
|
|
106
|
-
* across a mutation (same caveat as `<lyra-table>`'s `rowKey`). */
|
|
107
|
-
keyFunction?: (item: unknown, index: number) => string | number;
|
|
108
|
-
/** Reserved for a later phase's sticky-header sectioning — accepted but not yet rendered. See the class doc. */
|
|
109
|
-
groups?: VirtualListGroup[];
|
|
110
|
-
/** `'auto'` (default) measures each row's real height via `ResizeObserver`;
|
|
111
|
-
* a numeric string fixes every row to that many pixels. */
|
|
112
|
-
rowHeight: string;
|
|
113
|
-
/** Extra rows rendered beyond the visible viewport on each side, to reduce blank-frame risk during fast scrolling. */
|
|
114
|
-
overscan: number;
|
|
115
|
-
/** When set and it matches a row's `keyFunction` result, that row is smoothly scrolled into view whenever this changes. */
|
|
116
|
-
activeId: string;
|
|
117
|
-
loading: boolean;
|
|
118
|
-
/** When true, scrolling near the bottom fires `lyra-load-more`. */
|
|
119
|
-
hasMore: boolean;
|
|
120
|
-
private containerScrollTop;
|
|
121
|
-
private viewportHeight;
|
|
122
|
-
/** `offsets[i]` = row `i`'s pixel top; `offsets[items.length]` = total content height. Rebuilt every update. */
|
|
123
|
-
private offsets;
|
|
124
|
-
/** Parsed `rowHeight`: a positive pixel number, or `null` for `'auto'` (measured) mode. */
|
|
125
|
-
private fixedRowHeight;
|
|
126
|
-
/** `row-height="auto"` per-row measured heights, keyed by `String(keyFunction(item, index))`. */
|
|
127
|
-
private readonly measuredHeights;
|
|
128
|
-
private renderStart;
|
|
129
|
-
private renderEnd;
|
|
130
|
-
private visibleStart;
|
|
131
|
-
private visibleEnd;
|
|
132
|
-
private lastEmittedStart;
|
|
133
|
-
private lastEmittedEnd;
|
|
134
|
-
/** Re-armed whenever the window moves away from the end of `items` -- see the `lyra-load-more` event doc. */
|
|
135
|
-
private loadMoreArmed;
|
|
136
|
-
private isFirstUpdate;
|
|
137
|
-
private rowResizeObserver?;
|
|
138
|
-
private containerResizeObserver?;
|
|
139
|
-
private readonly observedRows;
|
|
140
|
-
private scrollRafId?;
|
|
141
|
-
private pendingScrollTop;
|
|
142
|
-
connectedCallback(): void;
|
|
143
|
-
disconnectedCallback(): void;
|
|
144
|
-
firstUpdated(): void;
|
|
145
|
-
protected willUpdate(changed: PropertyValues): void;
|
|
146
|
-
protected updated(changed: PropertyValues): void;
|
|
147
|
-
private parseRowHeight;
|
|
148
|
-
private keyOf;
|
|
149
|
-
private recomputeOffsets;
|
|
150
|
-
/** First item index whose bottom edge is at/after `offset`. */
|
|
151
|
-
private findIndexAtOrAfter;
|
|
152
|
-
/** Last item index whose top edge is at/before `offset`. */
|
|
153
|
-
private findIndexAtOrBefore;
|
|
154
|
-
private computeRange;
|
|
155
|
-
private attachContainerListeners;
|
|
156
|
-
private onScroll;
|
|
157
|
-
private onRowsResized;
|
|
158
|
-
/** Keeps the row `ResizeObserver` watching exactly the currently-rendered
|
|
159
|
-
* rows in `row-height="auto"` mode -- rows that scroll out of the
|
|
160
|
-
* rendered window are unobserved so the observer doesn't accumulate
|
|
161
|
-
* references to detached elements it can never usefully report on again. */
|
|
162
|
-
private syncRowObservers;
|
|
163
|
-
private scrollActiveIntoView;
|
|
164
|
-
private emitRangeChangeIfNeeded;
|
|
165
|
-
private maybeFireLoadMore;
|
|
166
|
-
private renderRow;
|
|
167
|
-
render(): TemplateResult;
|
|
168
|
-
}
|
|
169
|
-
declare global {
|
|
170
|
-
interface HTMLElementTagNameMap {
|
|
171
|
-
'lyra-virtual-list': LyraVirtualList;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
1
|
+
export * from './virtual-list.class.js';
|
|
2
|
+
//# sourceMappingURL=virtual-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtual-list.d.ts","sourceRoot":"","sources":["../../../src/components/virtual-list/virtual-list.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -1,461 +1,5 @@
|
|
|
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 } from 'lit/decorators.js';
|
|
9
|
-
import { repeat } from 'lit/directives/repeat.js';
|
|
10
|
-
import { styleMap } from 'lit/directives/style-map.js';
|
|
11
|
-
import { LyraElement } from '../../internal/lyra-element.js';
|
|
1
|
+
export * from './virtual-list.class.js';
|
|
2
|
+
import { LyraVirtualList } from './virtual-list.class.js';
|
|
12
3
|
import { defineElement } from '../../internal/prefix.js';
|
|
13
|
-
import { styles } from './virtual-list.styles.js';
|
|
14
|
-
/** Fallback per-row height (px) used for any row that hasn't been measured
|
|
15
|
-
* yet in `row-height="auto"` mode -- close enough to a typical single-line
|
|
16
|
-
* chat-list row that the initial scrollbar/spacer size doesn't jump wildly
|
|
17
|
-
* once real measurements arrive. Irrelevant in fixed-`row-height` mode. */
|
|
18
|
-
const DEFAULT_ROW_ESTIMATE_PX = 48;
|
|
19
|
-
function prefersReducedMotion() {
|
|
20
|
-
return typeof window !== 'undefined' && !!window.matchMedia?.('(prefers-reduced-motion: reduce)').matches;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* `<lyra-virtual-list>` — a generic windowed/virtualized list host. Renders
|
|
24
|
-
* only the items within the current viewport (plus `overscan` padding rows
|
|
25
|
-
* on each side) as real DOM, regardless of how large `items` is, so a
|
|
26
|
-
* multi-thousand-row chat history sidebar (or, in a later phase, a long
|
|
27
|
-
* message thread) stays cheap to scroll.
|
|
28
|
-
*
|
|
29
|
-
* Content is entirely caller-supplied: `renderItem(item, index)` returns
|
|
30
|
-
* whatever `lit-html` value should represent that row (typically a
|
|
31
|
-
* `TemplateResult`), and `keyFunction(item, index)` gives it a stable
|
|
32
|
-
* identity for `repeat()`'s DOM-reconciliation key, so scroll position and
|
|
33
|
-
* any per-row state (e.g. an `<audio>` element's playback position) survive
|
|
34
|
-
* an `items` mutation instead of every row remounting from scratch.
|
|
35
|
-
*
|
|
36
|
-
* **Windowing math.** Every row — in both `row-height` modes — is positioned
|
|
37
|
-
* by a `transform: translateY(offset)` computed from a single cumulative
|
|
38
|
-
* `offsets` array (`offsets[i]` = the pixel top of row `i`), rather than by
|
|
39
|
-
* page flow. This is what lets only a small DOM window exist while the
|
|
40
|
-
* scrollbar still reflects the *true* total content height:
|
|
41
|
-
* - **`row-height="auto"` (default).** Each currently-rendered row is
|
|
42
|
-
* watched by a `ResizeObserver`; its real height lands in a per-key
|
|
43
|
-
* `Map`, and any row not yet measured contributes `DEFAULT_ROW_ESTIMATE_PX`
|
|
44
|
-
* to the offsets array until it has been. `offsets` is *not* the same
|
|
45
|
-
* thing as a page-count-based `padding-top`/`padding-bottom` spacer pair —
|
|
46
|
-
* that approach reflows every unmeasured row's position on every new
|
|
47
|
-
* measurement, which is exactly what per-row transform offsets avoid: only
|
|
48
|
-
* the rows *after* a newly-measured one shift, and even that shift is a
|
|
49
|
-
* cheap style recompute, not a layout-affecting padding change.
|
|
50
|
-
* - **Fixed numeric `row-height`.** No measurement needed — `offsets[i]` is
|
|
51
|
-
* just `i * rowHeightPx`, computed by the exact same cumulative-array code
|
|
52
|
-
* path (a dedicated "single spacer + start-index" special case was
|
|
53
|
-
* considered and would work too, but reusing one code path for both modes
|
|
54
|
-
* avoids maintaining two parallel rendering strategies for a difference
|
|
55
|
-
* that's otherwise just "how is row *i*'s height looked up").
|
|
56
|
-
*
|
|
57
|
-
* The `offsets` array is rebuilt on every update. For the list sizes this
|
|
58
|
-
* component is meant for (a scrollable history sidebar, realistically
|
|
59
|
-
* hundreds to a few thousand rows) that's a trivial `O(n)` arithmetic loop,
|
|
60
|
-
* even at scroll-driven ~60fps; it is *not* the right approach for a
|
|
61
|
-
* hundred-thousand-row list without further work (e.g. a Fenwick/segment
|
|
62
|
-
* tree for `O(log n)` offset queries+updates), which is out of scope here.
|
|
63
|
-
*
|
|
64
|
-
* **Accessibility.** The scroll container is `role="list"` and each rendered
|
|
65
|
-
* row is `role="listitem"`, deliberately *not* `listbox`/`option` — this
|
|
66
|
-
* component only provides windowing, not the roving-tabindex/
|
|
67
|
-
* `aria-activedescendant` keyboard-interaction contract ARIA requires
|
|
68
|
-
* alongside a real `listbox`. A consumer that wants full single-select
|
|
69
|
-
* listbox semantics on top of this should compose that behavior itself (see
|
|
70
|
-
* `<lyra-select>`'s pattern), the same way this component's `active-id`
|
|
71
|
-
* only *scrolls* the matching row into view and marks it `aria-current` —
|
|
72
|
-
* it never claims to be a selection widget. `aria-setsize`/`aria-posinset`
|
|
73
|
-
* are computed from the row's real index in the full `items` array (not its
|
|
74
|
-
* position among the currently-rendered DOM window), so a screen reader
|
|
75
|
-
* still announces e.g. "item 12 of 340" correctly. `[part="base"]` itself
|
|
76
|
-
* carries `tabindex="0"` — `renderItem`'s content is caller-supplied and not
|
|
77
|
-
* guaranteed to contain a focusable element, and a scrollable region with no
|
|
78
|
-
* focusable content of its own is otherwise unreachable by keyboard (native
|
|
79
|
-
* arrow/Page Up/Page Down scrolling included).
|
|
80
|
-
*
|
|
81
|
-
* **Grouping.** `groups` is accepted for forward API compatibility with a
|
|
82
|
-
* later phase's sticky-header sectioning feature (paired with a
|
|
83
|
-
* `groupByRecency()` helper that doesn't exist yet) but is not read or
|
|
84
|
-
* rendered by this pass — every row still renders flat, in `items` order.
|
|
85
|
-
*
|
|
86
|
-
* @customElement lyra-virtual-list
|
|
87
|
-
* @event lyra-load-more - Fired once per approach to the bottom of the list
|
|
88
|
-
* while `has-more` is true and `loading` is false. Deliberately does not
|
|
89
|
-
* refire on every scroll tick while still near the bottom (`loading`
|
|
90
|
-
* gates the in-flight case; scrolling back away from the bottom and
|
|
91
|
-
* returning, or `items` growing enough to move the window away from the
|
|
92
|
-
* end, re-arms it) — a consumer wanting an automatic retry after a failed
|
|
93
|
-
* fetch should surface its own retry affordance rather than relying on
|
|
94
|
-
* this firing again unprompted.
|
|
95
|
-
* @event lyra-visible-range-changed - `detail: { start, end }` (see
|
|
96
|
-
* `VirtualListRange`) — the current visible (non-overscanned) item index
|
|
97
|
-
* range, fired only when it actually changes.
|
|
98
|
-
* @csspart base - The scrollable container (`role="list"`).
|
|
99
|
-
* @csspart spacer - The full-content-height inner element that gives the
|
|
100
|
-
* container its true scrollable extent.
|
|
101
|
-
* @csspart row - One rendered row's absolutely-positioned wrapper
|
|
102
|
-
* (`role="listitem"`); `renderItem`'s return value renders inside it.
|
|
103
|
-
*/
|
|
104
|
-
export class LyraVirtualList extends LyraElement {
|
|
105
|
-
constructor() {
|
|
106
|
-
super(...arguments);
|
|
107
|
-
/** The full (non-windowed) item collection. */
|
|
108
|
-
this.items = [];
|
|
109
|
-
/** Renders one row's content — typically returns a `lit-html` `TemplateResult`. */
|
|
110
|
-
this.renderItem = () => nothing;
|
|
111
|
-
/** `'auto'` (default) measures each row's real height via `ResizeObserver`;
|
|
112
|
-
* a numeric string fixes every row to that many pixels. */
|
|
113
|
-
this.rowHeight = 'auto';
|
|
114
|
-
/** Extra rows rendered beyond the visible viewport on each side, to reduce blank-frame risk during fast scrolling. */
|
|
115
|
-
this.overscan = 6;
|
|
116
|
-
/** When set and it matches a row's `keyFunction` result, that row is smoothly scrolled into view whenever this changes. */
|
|
117
|
-
this.activeId = '';
|
|
118
|
-
this.loading = false;
|
|
119
|
-
/** When true, scrolling near the bottom fires `lyra-load-more`. */
|
|
120
|
-
this.hasMore = false;
|
|
121
|
-
// Named distinctly from the inherited DOM `scrollTop` (a `HTMLElement`
|
|
122
|
-
// property this class would otherwise shadow) -- this tracks the *scroll
|
|
123
|
-
// container's* scrollTop, not the host element's own (the host never
|
|
124
|
-
// scrolls itself; [part="base"] does).
|
|
125
|
-
this.containerScrollTop = 0;
|
|
126
|
-
this.viewportHeight = 0;
|
|
127
|
-
/** `offsets[i]` = row `i`'s pixel top; `offsets[items.length]` = total content height. Rebuilt every update. */
|
|
128
|
-
this.offsets = [0];
|
|
129
|
-
/** Parsed `rowHeight`: a positive pixel number, or `null` for `'auto'` (measured) mode. */
|
|
130
|
-
this.fixedRowHeight = null;
|
|
131
|
-
/** `row-height="auto"` per-row measured heights, keyed by `String(keyFunction(item, index))`. */
|
|
132
|
-
this.measuredHeights = new Map();
|
|
133
|
-
this.renderStart = 0;
|
|
134
|
-
this.renderEnd = -1;
|
|
135
|
-
this.visibleStart = 0;
|
|
136
|
-
this.visibleEnd = -1;
|
|
137
|
-
this.lastEmittedStart = -1;
|
|
138
|
-
this.lastEmittedEnd = -1;
|
|
139
|
-
/** Re-armed whenever the window moves away from the end of `items` -- see the `lyra-load-more` event doc. */
|
|
140
|
-
this.loadMoreArmed = true;
|
|
141
|
-
this.isFirstUpdate = true;
|
|
142
|
-
this.observedRows = new Map();
|
|
143
|
-
this.pendingScrollTop = null;
|
|
144
|
-
this.onScroll = (e) => {
|
|
145
|
-
this.pendingScrollTop = e.currentTarget.scrollTop;
|
|
146
|
-
if (this.scrollRafId !== undefined)
|
|
147
|
-
return;
|
|
148
|
-
// Coalesce to one recompute per animation frame -- native `scroll`
|
|
149
|
-
// events can fire far faster than that under a fast trackpad/touch
|
|
150
|
-
// fling, and each recompute is a full Lit update.
|
|
151
|
-
this.scrollRafId = requestAnimationFrame(() => {
|
|
152
|
-
this.scrollRafId = undefined;
|
|
153
|
-
if (this.pendingScrollTop !== null) {
|
|
154
|
-
this.containerScrollTop = this.pendingScrollTop;
|
|
155
|
-
this.pendingScrollTop = null;
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
};
|
|
159
|
-
this.onRowsResized = (entries) => {
|
|
160
|
-
if (this.fixedRowHeight != null)
|
|
161
|
-
return;
|
|
162
|
-
let changed = false;
|
|
163
|
-
for (const entry of entries) {
|
|
164
|
-
const key = entry.target.dataset.rowKey;
|
|
165
|
-
if (key === undefined)
|
|
166
|
-
continue;
|
|
167
|
-
const height = entry.borderBoxSize?.[0]?.blockSize ?? entry.target.getBoundingClientRect().height;
|
|
168
|
-
const prev = this.measuredHeights.get(key);
|
|
169
|
-
// A sub-pixel-only difference (common with fractional layout/zoom)
|
|
170
|
-
// isn't worth a full offsets rebuild + re-render.
|
|
171
|
-
if (prev === undefined || Math.abs(prev - height) > 0.5) {
|
|
172
|
-
this.measuredHeights.set(key, height);
|
|
173
|
-
changed = true;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
if (changed)
|
|
177
|
-
this.requestUpdate();
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
static { this.styles = [LyraElement.styles, styles]; }
|
|
181
|
-
connectedCallback() {
|
|
182
|
-
super.connectedCallback();
|
|
183
|
-
this.rowResizeObserver = new ResizeObserver(this.onRowsResized);
|
|
184
|
-
// firstUpdated() only ever fires once per element instance -- a
|
|
185
|
-
// disconnect/reconnect (e.g. a reparenting drag) needs its own
|
|
186
|
-
// re-attach here, since the container observer/scroll listener were
|
|
187
|
-
// torn down in disconnectedCallback below.
|
|
188
|
-
if (this.hasUpdated)
|
|
189
|
-
this.attachContainerListeners();
|
|
190
|
-
}
|
|
191
|
-
disconnectedCallback() {
|
|
192
|
-
super.disconnectedCallback();
|
|
193
|
-
this.rowResizeObserver?.disconnect();
|
|
194
|
-
this.rowResizeObserver = undefined;
|
|
195
|
-
this.observedRows.clear();
|
|
196
|
-
this.containerResizeObserver?.disconnect();
|
|
197
|
-
this.containerResizeObserver = undefined;
|
|
198
|
-
if (this.scrollRafId !== undefined) {
|
|
199
|
-
cancelAnimationFrame(this.scrollRafId);
|
|
200
|
-
this.scrollRafId = undefined;
|
|
201
|
-
}
|
|
202
|
-
this.renderRoot.querySelector('[part="base"]')?.removeEventListener('scroll', this.onScroll);
|
|
203
|
-
}
|
|
204
|
-
firstUpdated() {
|
|
205
|
-
this.attachContainerListeners();
|
|
206
|
-
}
|
|
207
|
-
willUpdate(changed) {
|
|
208
|
-
this.isFirstUpdate = !this.hasUpdated;
|
|
209
|
-
if (changed.has('rowHeight')) {
|
|
210
|
-
this.fixedRowHeight = this.parseRowHeight(this.rowHeight);
|
|
211
|
-
}
|
|
212
|
-
this.recomputeOffsets();
|
|
213
|
-
this.computeRange();
|
|
214
|
-
}
|
|
215
|
-
updated(changed) {
|
|
216
|
-
super.updated(changed);
|
|
217
|
-
this.syncRowObservers();
|
|
218
|
-
if (changed.has('activeId') && !this.isFirstUpdate)
|
|
219
|
-
this.scrollActiveIntoView();
|
|
220
|
-
this.emitRangeChangeIfNeeded();
|
|
221
|
-
this.maybeFireLoadMore();
|
|
222
|
-
}
|
|
223
|
-
parseRowHeight(value) {
|
|
224
|
-
if (value === 'auto')
|
|
225
|
-
return null;
|
|
226
|
-
const n = Number(value);
|
|
227
|
-
// Anything that isn't 'auto' or a positive finite number falls back to
|
|
228
|
-
// auto mode rather than throwing or producing a zero/negative-height
|
|
229
|
-
// row -- matches this library's generally-permissive attribute parsing.
|
|
230
|
-
return Number.isFinite(n) && n > 0 ? n : null;
|
|
231
|
-
}
|
|
232
|
-
keyOf(item, index) {
|
|
233
|
-
return this.keyFunction ? this.keyFunction(item, index) : index;
|
|
234
|
-
}
|
|
235
|
-
recomputeOffsets() {
|
|
236
|
-
const n = this.items.length;
|
|
237
|
-
const offsets = new Array(n + 1);
|
|
238
|
-
offsets[0] = 0;
|
|
239
|
-
for (let i = 0; i < n; i++) {
|
|
240
|
-
const h = this.fixedRowHeight ??
|
|
241
|
-
this.measuredHeights.get(String(this.keyOf(this.items[i], i))) ??
|
|
242
|
-
DEFAULT_ROW_ESTIMATE_PX;
|
|
243
|
-
offsets[i + 1] = offsets[i] + h;
|
|
244
|
-
}
|
|
245
|
-
this.offsets = offsets;
|
|
246
|
-
}
|
|
247
|
-
/** First item index whose bottom edge is at/after `offset`. */
|
|
248
|
-
findIndexAtOrAfter(offset) {
|
|
249
|
-
const offsets = this.offsets;
|
|
250
|
-
let lo = 0;
|
|
251
|
-
let hi = offsets.length - 2;
|
|
252
|
-
while (lo < hi) {
|
|
253
|
-
const mid = (lo + hi) >> 1;
|
|
254
|
-
if (offsets[mid + 1] <= offset)
|
|
255
|
-
lo = mid + 1;
|
|
256
|
-
else
|
|
257
|
-
hi = mid;
|
|
258
|
-
}
|
|
259
|
-
return lo;
|
|
260
|
-
}
|
|
261
|
-
/** Last item index whose top edge is at/before `offset`. */
|
|
262
|
-
findIndexAtOrBefore(offset) {
|
|
263
|
-
const offsets = this.offsets;
|
|
264
|
-
let lo = 0;
|
|
265
|
-
let hi = offsets.length - 2;
|
|
266
|
-
while (lo < hi) {
|
|
267
|
-
const mid = (lo + hi + 1) >> 1;
|
|
268
|
-
if (offsets[mid] < offset)
|
|
269
|
-
lo = mid;
|
|
270
|
-
else
|
|
271
|
-
hi = mid - 1;
|
|
272
|
-
}
|
|
273
|
-
return lo;
|
|
274
|
-
}
|
|
275
|
-
computeRange() {
|
|
276
|
-
const n = this.items.length;
|
|
277
|
-
if (n === 0 || this.viewportHeight <= 0) {
|
|
278
|
-
this.visibleStart = 0;
|
|
279
|
-
this.visibleEnd = -1;
|
|
280
|
-
this.renderStart = 0;
|
|
281
|
-
this.renderEnd = -1;
|
|
282
|
-
return;
|
|
283
|
-
}
|
|
284
|
-
const viewTop = this.containerScrollTop;
|
|
285
|
-
const viewBottom = viewTop + this.viewportHeight;
|
|
286
|
-
this.visibleStart = this.findIndexAtOrAfter(viewTop);
|
|
287
|
-
this.visibleEnd = this.findIndexAtOrBefore(viewBottom);
|
|
288
|
-
this.renderStart = Math.max(0, this.visibleStart - this.overscan);
|
|
289
|
-
this.renderEnd = Math.min(n - 1, this.visibleEnd + this.overscan);
|
|
290
|
-
}
|
|
291
|
-
attachContainerListeners() {
|
|
292
|
-
const base = this.renderRoot.querySelector('[part="base"]');
|
|
293
|
-
if (!base)
|
|
294
|
-
return;
|
|
295
|
-
this.containerResizeObserver = new ResizeObserver((entries) => {
|
|
296
|
-
const entry = entries[0];
|
|
297
|
-
if (!entry)
|
|
298
|
-
return;
|
|
299
|
-
this.viewportHeight = entry.borderBoxSize?.[0]?.blockSize ?? entry.contentRect.height;
|
|
300
|
-
});
|
|
301
|
-
this.containerResizeObserver.observe(base);
|
|
302
|
-
base.addEventListener('scroll', this.onScroll, { passive: true });
|
|
303
|
-
// Read synchronously too -- ResizeObserver's first callback is
|
|
304
|
-
// asynchronous, so without this the very first render would otherwise
|
|
305
|
-
// sit at viewportHeight=0 (rendering no rows at all) until that callback
|
|
306
|
-
// eventually fires. This is called from firstUpdated(), so setting a
|
|
307
|
-
// reactive property here schedules a second update on top of the one
|
|
308
|
-
// that just finished -- Lit's dev-mode console flags that pattern, but
|
|
309
|
-
// it's the documented exception ("the next update can only be scheduled
|
|
310
|
-
// as a side effect of the previous update"): the container's real size
|
|
311
|
-
// genuinely isn't knowable until after the first layout.
|
|
312
|
-
this.viewportHeight = base.clientHeight;
|
|
313
|
-
this.containerScrollTop = base.scrollTop;
|
|
314
|
-
}
|
|
315
|
-
/** Keeps the row `ResizeObserver` watching exactly the currently-rendered
|
|
316
|
-
* rows in `row-height="auto"` mode -- rows that scroll out of the
|
|
317
|
-
* rendered window are unobserved so the observer doesn't accumulate
|
|
318
|
-
* references to detached elements it can never usefully report on again. */
|
|
319
|
-
syncRowObservers() {
|
|
320
|
-
const ro = this.rowResizeObserver;
|
|
321
|
-
if (!ro)
|
|
322
|
-
return;
|
|
323
|
-
if (this.fixedRowHeight != null) {
|
|
324
|
-
for (const el of this.observedRows.values())
|
|
325
|
-
ro.unobserve(el);
|
|
326
|
-
this.observedRows.clear();
|
|
327
|
-
return;
|
|
328
|
-
}
|
|
329
|
-
const current = new Map();
|
|
330
|
-
this.renderRoot.querySelectorAll('[part="row"]').forEach((el) => {
|
|
331
|
-
const key = el.dataset.rowKey;
|
|
332
|
-
if (key !== undefined)
|
|
333
|
-
current.set(key, el);
|
|
334
|
-
});
|
|
335
|
-
for (const [key, el] of this.observedRows) {
|
|
336
|
-
if (current.get(key) !== el) {
|
|
337
|
-
ro.unobserve(el);
|
|
338
|
-
this.observedRows.delete(key);
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
for (const [key, el] of current) {
|
|
342
|
-
if (!this.observedRows.has(key)) {
|
|
343
|
-
this.observedRows.set(key, el);
|
|
344
|
-
ro.observe(el);
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
scrollActiveIntoView() {
|
|
349
|
-
if (!this.activeId)
|
|
350
|
-
return;
|
|
351
|
-
const index = this.items.findIndex((item, i) => String(this.keyOf(item, i)) === this.activeId);
|
|
352
|
-
if (index < 0)
|
|
353
|
-
return;
|
|
354
|
-
const base = this.renderRoot.querySelector('[part="base"]');
|
|
355
|
-
if (!base)
|
|
356
|
-
return;
|
|
357
|
-
const top = this.offsets[index] ?? 0;
|
|
358
|
-
const bottom = this.offsets[index + 1] ?? top;
|
|
359
|
-
const viewTop = base.scrollTop;
|
|
360
|
-
const viewBottom = viewTop + base.clientHeight;
|
|
361
|
-
let target = null;
|
|
362
|
-
if (top < viewTop)
|
|
363
|
-
target = top;
|
|
364
|
-
else if (bottom > viewBottom)
|
|
365
|
-
target = bottom - base.clientHeight;
|
|
366
|
-
if (target === null)
|
|
367
|
-
return;
|
|
368
|
-
base.scrollTo({ top: Math.max(0, target), behavior: prefersReducedMotion() ? 'auto' : 'smooth' });
|
|
369
|
-
}
|
|
370
|
-
emitRangeChangeIfNeeded() {
|
|
371
|
-
if (this.visibleEnd < this.visibleStart)
|
|
372
|
-
return;
|
|
373
|
-
if (this.visibleStart === this.lastEmittedStart && this.visibleEnd === this.lastEmittedEnd)
|
|
374
|
-
return;
|
|
375
|
-
this.lastEmittedStart = this.visibleStart;
|
|
376
|
-
this.lastEmittedEnd = this.visibleEnd;
|
|
377
|
-
this.emit('lyra-visible-range-changed', {
|
|
378
|
-
start: this.visibleStart,
|
|
379
|
-
end: this.visibleEnd,
|
|
380
|
-
});
|
|
381
|
-
}
|
|
382
|
-
maybeFireLoadMore() {
|
|
383
|
-
const n = this.items.length;
|
|
384
|
-
const nearBottom = n > 0 && this.visibleEnd >= n - 1;
|
|
385
|
-
if (!nearBottom) {
|
|
386
|
-
this.loadMoreArmed = true;
|
|
387
|
-
return;
|
|
388
|
-
}
|
|
389
|
-
if (!this.hasMore || this.loading || !this.loadMoreArmed)
|
|
390
|
-
return;
|
|
391
|
-
this.loadMoreArmed = false;
|
|
392
|
-
this.emit('lyra-load-more');
|
|
393
|
-
}
|
|
394
|
-
renderRow(item, index, total) {
|
|
395
|
-
const key = String(this.keyOf(item, index));
|
|
396
|
-
const top = this.offsets[index] ?? 0;
|
|
397
|
-
const isActive = this.activeId !== '' && key === this.activeId;
|
|
398
|
-
return html `
|
|
399
|
-
<div
|
|
400
|
-
part="row"
|
|
401
|
-
role="listitem"
|
|
402
|
-
data-row-key=${key}
|
|
403
|
-
aria-setsize=${total}
|
|
404
|
-
aria-posinset=${index + 1}
|
|
405
|
-
aria-current=${isActive ? 'true' : nothing}
|
|
406
|
-
style=${styleMap({ transform: `translateY(${top}px)` })}
|
|
407
|
-
>
|
|
408
|
-
${this.renderItem(item, index)}
|
|
409
|
-
</div>
|
|
410
|
-
`;
|
|
411
|
-
}
|
|
412
|
-
render() {
|
|
413
|
-
const n = this.items.length;
|
|
414
|
-
const totalHeight = this.offsets[n] ?? 0;
|
|
415
|
-
const windowed = [];
|
|
416
|
-
for (let i = this.renderStart; i <= this.renderEnd; i++) {
|
|
417
|
-
windowed.push({ item: this.items[i], index: i });
|
|
418
|
-
}
|
|
419
|
-
return html `
|
|
420
|
-
<div part="base" role="list" tabindex="0" aria-busy=${this.loading ? 'true' : nothing}>
|
|
421
|
-
<div part="spacer" style=${styleMap({ height: `${totalHeight}px` })}>
|
|
422
|
-
${repeat(windowed, (w) => this.keyOf(w.item, w.index), (w) => this.renderRow(w.item, w.index, n))}
|
|
423
|
-
</div>
|
|
424
|
-
</div>
|
|
425
|
-
`;
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
__decorate([
|
|
429
|
-
property({ attribute: false })
|
|
430
|
-
], LyraVirtualList.prototype, "items", void 0);
|
|
431
|
-
__decorate([
|
|
432
|
-
property({ attribute: false })
|
|
433
|
-
], LyraVirtualList.prototype, "renderItem", void 0);
|
|
434
|
-
__decorate([
|
|
435
|
-
property({ attribute: false })
|
|
436
|
-
], LyraVirtualList.prototype, "keyFunction", void 0);
|
|
437
|
-
__decorate([
|
|
438
|
-
property({ attribute: false })
|
|
439
|
-
], LyraVirtualList.prototype, "groups", void 0);
|
|
440
|
-
__decorate([
|
|
441
|
-
property({ attribute: 'row-height' })
|
|
442
|
-
], LyraVirtualList.prototype, "rowHeight", void 0);
|
|
443
|
-
__decorate([
|
|
444
|
-
property({ type: Number })
|
|
445
|
-
], LyraVirtualList.prototype, "overscan", void 0);
|
|
446
|
-
__decorate([
|
|
447
|
-
property({ attribute: 'active-id' })
|
|
448
|
-
], LyraVirtualList.prototype, "activeId", void 0);
|
|
449
|
-
__decorate([
|
|
450
|
-
property({ type: Boolean, reflect: true })
|
|
451
|
-
], LyraVirtualList.prototype, "loading", void 0);
|
|
452
|
-
__decorate([
|
|
453
|
-
property({ type: Boolean, attribute: 'has-more', reflect: true })
|
|
454
|
-
], LyraVirtualList.prototype, "hasMore", void 0);
|
|
455
|
-
__decorate([
|
|
456
|
-
state()
|
|
457
|
-
], LyraVirtualList.prototype, "containerScrollTop", void 0);
|
|
458
|
-
__decorate([
|
|
459
|
-
state()
|
|
460
|
-
], LyraVirtualList.prototype, "viewportHeight", void 0);
|
|
461
4
|
defineElement('virtual-list', LyraVirtualList);
|
|
5
|
+
//# sourceMappingURL=virtual-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtual-list.js","sourceRoot":"","sources":["../../../src/components/virtual-list/virtual-list.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,aAAa,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtual-list.styles.d.ts","sourceRoot":"","sources":["../../../src/components/virtual-list/virtual-list.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBAsDlB,CAAC"}
|