@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-chip.class.js","sourceRoot":"","sources":["../../../src/components/attachment-chip/attachment-chip.class.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAA+C,MAAM,KAAK,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAQrD,2DAA2D;AAC3D,wEAAwE;AACxE,+EAA+E;AAC/E,0EAA0E;AAC1E,2EAA2E;AAC3E,wEAAwE;AACxE,yEAAyE;AACzE,MAAM,aAAa,GAAG,WAAW,CAAC;AAClC,MAAM,iBAAiB,GAAG,MAAM,CAAC;AAEjC,gFAAgF;AAChF,SAAS,SAAS;IAChB,OAAO,GAAG,CAAA;;;;gBAII,aAAa;;;qBAGR,iBAAiB;;;;;;GAMnC,CAAC;AACJ,CAAC;AAED,0EAA0E;AAC1E,yEAAyE;AACzE,0EAA0E;AAC1E,4CAA4C;AAC5C,SAAS,SAAS;IAChB,OAAO,GAAG,CAAA;;;;gBAII,aAAa;;;qBAGR,iBAAiB;;;;;;GAMnC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE,IAAI,EAA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Q,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;0DAA8B;AAKzB;IAA/C,QAAQ,CAAC,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAC;6DAAqC;AAKzC;IAA1C,QAAQ,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;yDAAiC"}
|
|
@@ -1,114 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export type AttachmentChipStatus = 'pending' | 'uploading' | 'error' | 'done';
|
|
4
|
-
export interface AttachmentChipIdDetail {
|
|
5
|
-
id: string;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* `512` -> `"512 B"`; `2415919` -> `"2.3 MB"`. Whole bytes never get a
|
|
9
|
-
* decimal (there's no meaningful fraction of a byte); every unit past that
|
|
10
|
-
* gets exactly one decimal place. Returns `""` for a negative/non-finite
|
|
11
|
-
* input so a missing/unknown size renders nothing instead of `"NaN B"`.
|
|
12
|
-
*/
|
|
13
|
-
export declare function formatFileSize(bytes: number): string;
|
|
14
|
-
/**
|
|
15
|
-
* `<lyra-attachment-chip>` — a compact chip representing one file queued for
|
|
16
|
-
* (or already part of) a chat message: a composer's pre-send attachment
|
|
17
|
-
* tray, or a sent message's `attachments` slot (see `<lyra-chat-message>`).
|
|
18
|
-
*
|
|
19
|
-
* Two independent ways to populate it, matching the two points in a message's
|
|
20
|
-
* lifecycle this is used at:
|
|
21
|
-
* - Set `file` to a real `File` (fresh from a picker/drop) — `name`, `size`,
|
|
22
|
-
* `mime-type` and the image thumbnail are all auto-derived from it.
|
|
23
|
-
* - Set the plain `name`/`size`/`mime-type`/`thumbnail-src` props instead,
|
|
24
|
-
* for reconstructing a chip from server-persisted attachment metadata
|
|
25
|
-
* (e.g. after a page reload, when no real `File` object exists any more).
|
|
26
|
-
*
|
|
27
|
-
* `file` always wins when both are present — see each accessor's own doc.
|
|
28
|
-
* The image thumbnail for a real `File` is a lazily-created (only once the
|
|
29
|
-
* thumbnail is actually about to render, not eagerly on assignment)
|
|
30
|
-
* `URL.createObjectURL()` blob URL, revoked automatically once `file`
|
|
31
|
-
* changes away from the object it was created for, and on disconnect — this
|
|
32
|
-
* component never leaks a blob URL.
|
|
33
|
-
*
|
|
34
|
-
* Identifying *which* attachment a `lyra-remove`/`lyra-retry` event is about:
|
|
35
|
-
* this deliberately reuses the platform's own `id`/`id` attribute (every
|
|
36
|
-
* element already has one; there's no need to shadow it with a second,
|
|
37
|
-
* differently-named Lit property, unlike e.g. `<lyra-tool-call-chip>`'s
|
|
38
|
-
* `call-id` which identifies a *call*, a concept distinct from the chip
|
|
39
|
-
* element itself). Set `id="..."` when you have a stable server-side
|
|
40
|
-
* attachment id. When `id` is left unset and `file` is set, a stable id is
|
|
41
|
-
* derived from `` `${file.name}:${file.size}:${file.lastModified}` `` — stable
|
|
42
|
-
* across re-renders of the *same* `File` object without requiring the
|
|
43
|
-
* consumer to invent one. When neither is available, a generated internal id
|
|
44
|
-
* is used as a last resort so the event always has *some* id.
|
|
45
|
-
*
|
|
46
|
-
* @customElement lyra-attachment-chip
|
|
47
|
-
* @event lyra-remove - The user activated the remove (×) button. `detail: { id }`. Only rendered while `removable`.
|
|
48
|
-
* @event lyra-retry - The user activated the retry button. `detail: { id }`. Only rendered while `status="error"`.
|
|
49
|
-
* @csspart base - The chip's root container.
|
|
50
|
-
* @csspart thumbnail - The leading image thumbnail / generic file glyph.
|
|
51
|
-
* @csspart meta - Wrapper around `name` and `size`.
|
|
52
|
-
* @csspart name - The filename (ellipsis-truncated via CSS; the untruncated name is always available via the native `title` tooltip).
|
|
53
|
-
* @csspart size - The human-readable formatted file size. Hidden when no size is known.
|
|
54
|
-
* @csspart status-text - The visible text twin of the status accent color — carries the state in text, not just color. Empty/hidden for `pending`/`done`.
|
|
55
|
-
* @csspart progress - The numeric upload progress bar (`role="progressbar"`), shown only while `status="uploading"` and `progress` is a meaningful (>0) number.
|
|
56
|
-
* @csspart progress-fill - The filled portion of `progress`.
|
|
57
|
-
* @csspart spinner - The indeterminate upload spinner, shown instead of `progress` while `status="uploading"` and `progress` is unset/0.
|
|
58
|
-
* @csspart retry-button - The retry affordance, only rendered while `status="error"`.
|
|
59
|
-
* @csspart remove-button - The remove (×) affordance, only rendered while `removable`.
|
|
60
|
-
*/
|
|
61
|
-
export declare class LyraAttachmentChip extends LyraElement {
|
|
62
|
-
static styles: import("lit").CSSResultGroup[];
|
|
63
|
-
/** A real `File`, e.g. fresh from `<lyra-file-input>`'s `lyra-files` event.
|
|
64
|
-
* When set, `name`/`size`/`mime-type`/the image thumbnail are all derived
|
|
65
|
-
* from it, taking precedence over the independent props below. */
|
|
66
|
-
file?: File;
|
|
67
|
-
/** Filename, used only while `file` is unset. */
|
|
68
|
-
name: string;
|
|
69
|
-
/** File size in bytes, used only while `file` is unset. */
|
|
70
|
-
size: number;
|
|
71
|
-
/** MIME type, used only while `file` is unset. */
|
|
72
|
-
mimeType: string;
|
|
73
|
-
/** Thumbnail image URL, used only while `file` is unset (a real `File`'s
|
|
74
|
-
* thumbnail always comes from a generated object URL instead — see the
|
|
75
|
-
* class doc). Unlike the other independent props this one has no
|
|
76
|
-
* `file`-derived equivalent to defer to for a non-image file; it's simply
|
|
77
|
-
* rendered whenever present. */
|
|
78
|
-
thumbnailSrc: string;
|
|
79
|
-
/** Lifecycle state — drives the accent tint and which of `progress`/`spinner`/`retry-button` renders. */
|
|
80
|
-
status: AttachmentChipStatus;
|
|
81
|
-
/** Upload completion, 0-100. Only meaningful while `status="uploading"`;
|
|
82
|
-
* a value of 0 (the default) or `NaN` falls back to the indeterminate spinner. */
|
|
83
|
-
progress: number;
|
|
84
|
-
/** Shows the remove (×) button. */
|
|
85
|
-
removable: boolean;
|
|
86
|
-
private objectUrl?;
|
|
87
|
-
private objectUrlFile?;
|
|
88
|
-
private readonly fallbackId;
|
|
89
|
-
private get effectiveName();
|
|
90
|
-
private get effectiveSize();
|
|
91
|
-
private get effectiveMimeType();
|
|
92
|
-
private get resolvedId();
|
|
93
|
-
private get hasNumericProgress();
|
|
94
|
-
private get clampedProgress();
|
|
95
|
-
/** Returns (creating or reusing as needed) the object URL for `file`'s
|
|
96
|
-
* image thumbnail. Only ever called from `render()`, i.e. only once a
|
|
97
|
-
* thumbnail is actually about to be painted -- never eagerly from a
|
|
98
|
-
* `file`/`willUpdate`/`updated` property-change hook -- so a `file` that's
|
|
99
|
-
* reassigned several times before the next paint never creates URLs that
|
|
100
|
-
* are immediately thrown away unused. */
|
|
101
|
-
private ensureObjectUrl;
|
|
102
|
-
private revokeObjectUrl;
|
|
103
|
-
protected updated(changed: PropertyValues): void;
|
|
104
|
-
disconnectedCallback(): void;
|
|
105
|
-
private onRemoveClick;
|
|
106
|
-
private onRetryClick;
|
|
107
|
-
private renderThumbnail;
|
|
108
|
-
render(): TemplateResult;
|
|
109
|
-
}
|
|
110
|
-
declare global {
|
|
111
|
-
interface HTMLElementTagNameMap {
|
|
112
|
-
'lyra-attachment-chip': LyraAttachmentChip;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
1
|
+
export * from './attachment-chip.class.js';
|
|
2
|
+
//# sourceMappingURL=attachment-chip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-chip.d.ts","sourceRoot":"","sources":["../../../src/components/attachment-chip/attachment-chip.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -1,312 +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, svg } from 'lit';
|
|
8
|
-
import { property, state } from 'lit/decorators.js';
|
|
9
|
-
import { LyraElement } from '../../internal/lyra-element.js';
|
|
1
|
+
export * from './attachment-chip.class.js';
|
|
2
|
+
import { LyraAttachmentChip } from './attachment-chip.class.js';
|
|
10
3
|
import { defineElement } from '../../internal/prefix.js';
|
|
11
|
-
import { nextId } from '../../internal/a11y.js';
|
|
12
|
-
import { closeIcon } from '../../internal/icons.js';
|
|
13
|
-
import { styles } from './attachment-chip.styles.js';
|
|
14
|
-
// Mirrors the shared icon set's viewBox/stroke conventions
|
|
15
|
-
// (internal/icons.ts's chevronIcon()/closeIcon()/etc.) without adding a
|
|
16
|
-
// generic-file glyph to that module -- it's off limits here -- so this one-off
|
|
17
|
-
// icon still reads as part of the same visual language as the rest of the
|
|
18
|
-
// library's inline icons. `closeIcon()` itself already exists there and is
|
|
19
|
-
// imported directly rather than duplicated (see `<lyra-toast-item>`'s /
|
|
20
|
-
// `<lyra-widget>`'s identical import for the same remove/dismiss glyph).
|
|
21
|
-
const ICON_VIEW_BOX = '0 0 24 24';
|
|
22
|
-
const ICON_STROKE_WIDTH = '1.75';
|
|
23
|
-
/** A generic "document" glyph, used as the thumbnail for any non-image file. */
|
|
24
|
-
function fileGlyph() {
|
|
25
|
-
return svg `
|
|
26
|
-
<svg
|
|
27
|
-
width="1em"
|
|
28
|
-
height="1em"
|
|
29
|
-
viewBox=${ICON_VIEW_BOX}
|
|
30
|
-
fill="none"
|
|
31
|
-
stroke="currentColor"
|
|
32
|
-
stroke-width=${ICON_STROKE_WIDTH}
|
|
33
|
-
stroke-linecap="round"
|
|
34
|
-
stroke-linejoin="round"
|
|
35
|
-
aria-hidden="true"
|
|
36
|
-
focusable="false"
|
|
37
|
-
><path d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Z"></path><polyline points="14 2 14 8 20 8"></polyline></svg>
|
|
38
|
-
`;
|
|
39
|
-
}
|
|
40
|
-
// Same shape as `<lyra-chat-message>`'s local `retryIcon()` -- duplicated
|
|
41
|
-
// rather than imported (these are two independent, separately-consumable
|
|
42
|
-
// components) but kept visually identical so a retry affordance reads the
|
|
43
|
-
// same wherever it shows up in the library.
|
|
44
|
-
function retryIcon() {
|
|
45
|
-
return svg `
|
|
46
|
-
<svg
|
|
47
|
-
width="1em"
|
|
48
|
-
height="1em"
|
|
49
|
-
viewBox=${ICON_VIEW_BOX}
|
|
50
|
-
fill="none"
|
|
51
|
-
stroke="currentColor"
|
|
52
|
-
stroke-width=${ICON_STROKE_WIDTH}
|
|
53
|
-
stroke-linecap="round"
|
|
54
|
-
stroke-linejoin="round"
|
|
55
|
-
aria-hidden="true"
|
|
56
|
-
focusable="false"
|
|
57
|
-
><polyline points="1 4 1 10 7 10"></polyline><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"></path></svg>
|
|
58
|
-
`;
|
|
59
|
-
}
|
|
60
|
-
const BYTE_UNITS = ['B', 'KB', 'MB', 'GB', 'TB'];
|
|
61
|
-
/**
|
|
62
|
-
* `512` -> `"512 B"`; `2415919` -> `"2.3 MB"`. Whole bytes never get a
|
|
63
|
-
* decimal (there's no meaningful fraction of a byte); every unit past that
|
|
64
|
-
* gets exactly one decimal place. Returns `""` for a negative/non-finite
|
|
65
|
-
* input so a missing/unknown size renders nothing instead of `"NaN B"`.
|
|
66
|
-
*/
|
|
67
|
-
export function formatFileSize(bytes) {
|
|
68
|
-
if (!Number.isFinite(bytes) || bytes < 0)
|
|
69
|
-
return '';
|
|
70
|
-
if (bytes < 1024)
|
|
71
|
-
return `${Math.round(bytes)} B`;
|
|
72
|
-
let value = bytes;
|
|
73
|
-
let unitIndex = 0;
|
|
74
|
-
while (value >= 1024 && unitIndex < BYTE_UNITS.length - 1) {
|
|
75
|
-
value /= 1024;
|
|
76
|
-
unitIndex++;
|
|
77
|
-
}
|
|
78
|
-
return `${value.toFixed(1)} ${BYTE_UNITS[unitIndex]}`;
|
|
79
|
-
}
|
|
80
|
-
/** Visible (not just color-coded) text for every non-resting status --
|
|
81
|
-
* `'pending'`/`'done'` render nothing here, they're resting states. */
|
|
82
|
-
function statusText(status, progress) {
|
|
83
|
-
if (status === 'error')
|
|
84
|
-
return 'Upload failed';
|
|
85
|
-
if (status === 'uploading') {
|
|
86
|
-
return Number.isFinite(progress) && progress > 0 ? `Uploading ${Math.round(Math.min(100, progress))}%` : 'Uploading…';
|
|
87
|
-
}
|
|
88
|
-
return '';
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* `<lyra-attachment-chip>` — a compact chip representing one file queued for
|
|
92
|
-
* (or already part of) a chat message: a composer's pre-send attachment
|
|
93
|
-
* tray, or a sent message's `attachments` slot (see `<lyra-chat-message>`).
|
|
94
|
-
*
|
|
95
|
-
* Two independent ways to populate it, matching the two points in a message's
|
|
96
|
-
* lifecycle this is used at:
|
|
97
|
-
* - Set `file` to a real `File` (fresh from a picker/drop) — `name`, `size`,
|
|
98
|
-
* `mime-type` and the image thumbnail are all auto-derived from it.
|
|
99
|
-
* - Set the plain `name`/`size`/`mime-type`/`thumbnail-src` props instead,
|
|
100
|
-
* for reconstructing a chip from server-persisted attachment metadata
|
|
101
|
-
* (e.g. after a page reload, when no real `File` object exists any more).
|
|
102
|
-
*
|
|
103
|
-
* `file` always wins when both are present — see each accessor's own doc.
|
|
104
|
-
* The image thumbnail for a real `File` is a lazily-created (only once the
|
|
105
|
-
* thumbnail is actually about to render, not eagerly on assignment)
|
|
106
|
-
* `URL.createObjectURL()` blob URL, revoked automatically once `file`
|
|
107
|
-
* changes away from the object it was created for, and on disconnect — this
|
|
108
|
-
* component never leaks a blob URL.
|
|
109
|
-
*
|
|
110
|
-
* Identifying *which* attachment a `lyra-remove`/`lyra-retry` event is about:
|
|
111
|
-
* this deliberately reuses the platform's own `id`/`id` attribute (every
|
|
112
|
-
* element already has one; there's no need to shadow it with a second,
|
|
113
|
-
* differently-named Lit property, unlike e.g. `<lyra-tool-call-chip>`'s
|
|
114
|
-
* `call-id` which identifies a *call*, a concept distinct from the chip
|
|
115
|
-
* element itself). Set `id="..."` when you have a stable server-side
|
|
116
|
-
* attachment id. When `id` is left unset and `file` is set, a stable id is
|
|
117
|
-
* derived from `` `${file.name}:${file.size}:${file.lastModified}` `` — stable
|
|
118
|
-
* across re-renders of the *same* `File` object without requiring the
|
|
119
|
-
* consumer to invent one. When neither is available, a generated internal id
|
|
120
|
-
* is used as a last resort so the event always has *some* id.
|
|
121
|
-
*
|
|
122
|
-
* @customElement lyra-attachment-chip
|
|
123
|
-
* @event lyra-remove - The user activated the remove (×) button. `detail: { id }`. Only rendered while `removable`.
|
|
124
|
-
* @event lyra-retry - The user activated the retry button. `detail: { id }`. Only rendered while `status="error"`.
|
|
125
|
-
* @csspart base - The chip's root container.
|
|
126
|
-
* @csspart thumbnail - The leading image thumbnail / generic file glyph.
|
|
127
|
-
* @csspart meta - Wrapper around `name` and `size`.
|
|
128
|
-
* @csspart name - The filename (ellipsis-truncated via CSS; the untruncated name is always available via the native `title` tooltip).
|
|
129
|
-
* @csspart size - The human-readable formatted file size. Hidden when no size is known.
|
|
130
|
-
* @csspart status-text - The visible text twin of the status accent color — carries the state in text, not just color. Empty/hidden for `pending`/`done`.
|
|
131
|
-
* @csspart progress - The numeric upload progress bar (`role="progressbar"`), shown only while `status="uploading"` and `progress` is a meaningful (>0) number.
|
|
132
|
-
* @csspart progress-fill - The filled portion of `progress`.
|
|
133
|
-
* @csspart spinner - The indeterminate upload spinner, shown instead of `progress` while `status="uploading"` and `progress` is unset/0.
|
|
134
|
-
* @csspart retry-button - The retry affordance, only rendered while `status="error"`.
|
|
135
|
-
* @csspart remove-button - The remove (×) affordance, only rendered while `removable`.
|
|
136
|
-
*/
|
|
137
|
-
export class LyraAttachmentChip extends LyraElement {
|
|
138
|
-
constructor() {
|
|
139
|
-
super(...arguments);
|
|
140
|
-
/** Filename, used only while `file` is unset. */
|
|
141
|
-
this.name = '';
|
|
142
|
-
/** File size in bytes, used only while `file` is unset. */
|
|
143
|
-
this.size = 0;
|
|
144
|
-
/** MIME type, used only while `file` is unset. */
|
|
145
|
-
this.mimeType = '';
|
|
146
|
-
/** Thumbnail image URL, used only while `file` is unset (a real `File`'s
|
|
147
|
-
* thumbnail always comes from a generated object URL instead — see the
|
|
148
|
-
* class doc). Unlike the other independent props this one has no
|
|
149
|
-
* `file`-derived equivalent to defer to for a non-image file; it's simply
|
|
150
|
-
* rendered whenever present. */
|
|
151
|
-
this.thumbnailSrc = '';
|
|
152
|
-
/** Lifecycle state — drives the accent tint and which of `progress`/`spinner`/`retry-button` renders. */
|
|
153
|
-
this.status = 'pending';
|
|
154
|
-
/** Upload completion, 0-100. Only meaningful while `status="uploading"`;
|
|
155
|
-
* a value of 0 (the default) or `NaN` falls back to the indeterminate spinner. */
|
|
156
|
-
this.progress = 0;
|
|
157
|
-
/** Shows the remove (×) button. */
|
|
158
|
-
this.removable = true;
|
|
159
|
-
// Last-resort id, generated once per instance -- see the class doc's
|
|
160
|
-
// "Identifying which attachment..." section.
|
|
161
|
-
this.fallbackId = nextId('attachment-chip');
|
|
162
|
-
this.onRemoveClick = () => {
|
|
163
|
-
this.emit('lyra-remove', { id: this.resolvedId });
|
|
164
|
-
};
|
|
165
|
-
this.onRetryClick = () => {
|
|
166
|
-
this.emit('lyra-retry', { id: this.resolvedId });
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
static { this.styles = [LyraElement.styles, styles]; }
|
|
170
|
-
get effectiveName() {
|
|
171
|
-
return this.file ? this.file.name : this.name;
|
|
172
|
-
}
|
|
173
|
-
get effectiveSize() {
|
|
174
|
-
return this.file ? this.file.size : this.size;
|
|
175
|
-
}
|
|
176
|
-
get effectiveMimeType() {
|
|
177
|
-
return this.file ? this.file.type : this.mimeType;
|
|
178
|
-
}
|
|
179
|
-
get resolvedId() {
|
|
180
|
-
if (this.id)
|
|
181
|
-
return this.id;
|
|
182
|
-
if (this.file)
|
|
183
|
-
return `${this.file.name}:${this.file.size}:${this.file.lastModified}`;
|
|
184
|
-
return this.fallbackId;
|
|
185
|
-
}
|
|
186
|
-
get hasNumericProgress() {
|
|
187
|
-
return this.status === 'uploading' && Number.isFinite(this.progress) && this.progress > 0;
|
|
188
|
-
}
|
|
189
|
-
get clampedProgress() {
|
|
190
|
-
return Math.min(100, Math.max(0, this.progress));
|
|
191
|
-
}
|
|
192
|
-
/** Returns (creating or reusing as needed) the object URL for `file`'s
|
|
193
|
-
* image thumbnail. Only ever called from `render()`, i.e. only once a
|
|
194
|
-
* thumbnail is actually about to be painted -- never eagerly from a
|
|
195
|
-
* `file`/`willUpdate`/`updated` property-change hook -- so a `file` that's
|
|
196
|
-
* reassigned several times before the next paint never creates URLs that
|
|
197
|
-
* are immediately thrown away unused. */
|
|
198
|
-
ensureObjectUrl(file) {
|
|
199
|
-
if (this.objectUrlFile === file && this.objectUrl)
|
|
200
|
-
return this.objectUrl;
|
|
201
|
-
this.revokeObjectUrl();
|
|
202
|
-
this.objectUrl = URL.createObjectURL(file);
|
|
203
|
-
this.objectUrlFile = file;
|
|
204
|
-
return this.objectUrl;
|
|
205
|
-
}
|
|
206
|
-
revokeObjectUrl() {
|
|
207
|
-
if (this.objectUrl)
|
|
208
|
-
URL.revokeObjectURL(this.objectUrl);
|
|
209
|
-
this.objectUrl = undefined;
|
|
210
|
-
this.objectUrlFile = undefined;
|
|
211
|
-
}
|
|
212
|
-
updated(changed) {
|
|
213
|
-
// `file` changed to a different object (including to `undefined`) since
|
|
214
|
-
// the URL currently held was created -- it no longer represents anything
|
|
215
|
-
// this chip still shows, so revoke it now rather than waiting for a
|
|
216
|
-
// render that may never again call `ensureObjectUrl()` (e.g. the new
|
|
217
|
-
// `file` isn't an image, or is unset).
|
|
218
|
-
if (changed.has('file') && this.objectUrlFile && this.objectUrlFile !== this.file) {
|
|
219
|
-
this.revokeObjectUrl();
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
disconnectedCallback() {
|
|
223
|
-
super.disconnectedCallback();
|
|
224
|
-
this.revokeObjectUrl();
|
|
225
|
-
}
|
|
226
|
-
renderThumbnail() {
|
|
227
|
-
if (this.file) {
|
|
228
|
-
return this.effectiveMimeType.startsWith('image/')
|
|
229
|
-
? html `<img src=${this.ensureObjectUrl(this.file)} alt="" />`
|
|
230
|
-
: html `${fileGlyph()}`;
|
|
231
|
-
}
|
|
232
|
-
// No `file`: `thumbnail-src` is used whenever present, regardless of
|
|
233
|
-
// `mime-type` -- a server-generated preview thumbnail (e.g. a rendered
|
|
234
|
-
// first page of a PDF) is itself always an image, independent of the
|
|
235
|
-
// *source* file's own MIME type.
|
|
236
|
-
return this.thumbnailSrc ? html `<img src=${this.thumbnailSrc} alt="" />` : html `${fileGlyph()}`;
|
|
237
|
-
}
|
|
238
|
-
render() {
|
|
239
|
-
const name = this.effectiveName;
|
|
240
|
-
const displayName = name || 'Untitled file';
|
|
241
|
-
// A `0`-byte size reads the same as "unknown" here (there's no prop to
|
|
242
|
-
// distinguish a genuinely empty file from a size that was simply never
|
|
243
|
-
// supplied) -- hide the part entirely rather than show a literal "0 B".
|
|
244
|
-
const sizeText = this.effectiveSize > 0 ? formatFileSize(this.effectiveSize) : '';
|
|
245
|
-
const text = statusText(this.status, this.progress);
|
|
246
|
-
const uploading = this.status === 'uploading';
|
|
247
|
-
return html `
|
|
248
|
-
<div part="base">
|
|
249
|
-
<span part="thumbnail" aria-hidden="true">${this.renderThumbnail()}</span>
|
|
250
|
-
<span part="meta">
|
|
251
|
-
<span part="name" title=${name || 'Untitled file'}>${displayName}</span>
|
|
252
|
-
<span part="size" ?hidden=${!sizeText}>${sizeText || nothing}</span>
|
|
253
|
-
<span part="status-text" ?hidden=${!text}>${text || nothing}</span>
|
|
254
|
-
</span>
|
|
255
|
-
${uploading
|
|
256
|
-
? this.hasNumericProgress
|
|
257
|
-
? html `
|
|
258
|
-
<div
|
|
259
|
-
part="progress"
|
|
260
|
-
role="progressbar"
|
|
261
|
-
aria-valuenow=${Math.round(this.clampedProgress)}
|
|
262
|
-
aria-valuemin="0"
|
|
263
|
-
aria-valuemax="100"
|
|
264
|
-
aria-label=${`Uploading ${displayName}`}
|
|
265
|
-
>
|
|
266
|
-
<div part="progress-fill" style=${`inline-size:${this.clampedProgress}%`}></div>
|
|
267
|
-
</div>
|
|
268
|
-
`
|
|
269
|
-
: html `<span part="spinner" role="status" aria-label=${`Uploading ${displayName}`}></span>`
|
|
270
|
-
: nothing}
|
|
271
|
-
${this.status === 'error'
|
|
272
|
-
? html `<button part="retry-button" type="button" aria-label=${`Retry ${displayName}`} @click=${this.onRetryClick}>
|
|
273
|
-
${retryIcon()}
|
|
274
|
-
</button>`
|
|
275
|
-
: nothing}
|
|
276
|
-
${this.removable
|
|
277
|
-
? html `<button part="remove-button" type="button" aria-label=${`Remove ${displayName}`} @click=${this.onRemoveClick}>
|
|
278
|
-
${closeIcon()}
|
|
279
|
-
</button>`
|
|
280
|
-
: nothing}
|
|
281
|
-
</div>
|
|
282
|
-
`;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
__decorate([
|
|
286
|
-
property({ attribute: false })
|
|
287
|
-
], LyraAttachmentChip.prototype, "file", void 0);
|
|
288
|
-
__decorate([
|
|
289
|
-
property()
|
|
290
|
-
], LyraAttachmentChip.prototype, "name", void 0);
|
|
291
|
-
__decorate([
|
|
292
|
-
property({ type: Number })
|
|
293
|
-
], LyraAttachmentChip.prototype, "size", void 0);
|
|
294
|
-
__decorate([
|
|
295
|
-
property({ attribute: 'mime-type' })
|
|
296
|
-
], LyraAttachmentChip.prototype, "mimeType", void 0);
|
|
297
|
-
__decorate([
|
|
298
|
-
property({ attribute: 'thumbnail-src' })
|
|
299
|
-
], LyraAttachmentChip.prototype, "thumbnailSrc", void 0);
|
|
300
|
-
__decorate([
|
|
301
|
-
property({ reflect: true })
|
|
302
|
-
], LyraAttachmentChip.prototype, "status", void 0);
|
|
303
|
-
__decorate([
|
|
304
|
-
property({ type: Number })
|
|
305
|
-
], LyraAttachmentChip.prototype, "progress", void 0);
|
|
306
|
-
__decorate([
|
|
307
|
-
property({ type: Boolean, reflect: true })
|
|
308
|
-
], LyraAttachmentChip.prototype, "removable", void 0);
|
|
309
|
-
__decorate([
|
|
310
|
-
state()
|
|
311
|
-
], LyraAttachmentChip.prototype, "objectUrl", void 0);
|
|
312
4
|
defineElement('attachment-chip', LyraAttachmentChip);
|
|
5
|
+
//# sourceMappingURL=attachment-chip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-chip.js","sourceRoot":"","sources":["../../../src/components/attachment-chip/attachment-chip.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,aAAa,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-chip.styles.d.ts","sourceRoot":"","sources":["../../../src/components/attachment-chip/attachment-chip.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBAqMlB,CAAC"}
|
|
@@ -13,6 +13,21 @@ export const styles = css `
|
|
|
13
13
|
--lyra-attachment-chip-accent: var(--lyra-color-text-quiet);
|
|
14
14
|
--lyra-attachment-chip-bg: var(--lyra-color-surface);
|
|
15
15
|
--lyra-attachment-chip-border: var(--lyra-color-border);
|
|
16
|
+
/* Compact-mode thumbnail size -- a dedicated token rather than reusing
|
|
17
|
+
--lyra-icon-button-size (the one token in this library with no --wa-*
|
|
18
|
+
fallback chain), so a consumer can retheme just the compact thumbnail
|
|
19
|
+
independent of every other icon-button-sized control. */
|
|
20
|
+
--lyra-attachment-chip-compact-thumbnail-size: var(--lyra-size-1-75rem);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:host([compact]) [part='base'] {
|
|
24
|
+
border: none;
|
|
25
|
+
border-radius: var(--lyra-radius-pill);
|
|
26
|
+
padding: var(--lyra-size-0-125rem) var(--lyra-space-xs);
|
|
27
|
+
}
|
|
28
|
+
:host([compact]) [part='thumbnail'] {
|
|
29
|
+
inline-size: var(--lyra-attachment-chip-compact-thumbnail-size);
|
|
30
|
+
block-size: var(--lyra-attachment-chip-compact-thumbnail-size);
|
|
16
31
|
}
|
|
17
32
|
|
|
18
33
|
:host([status='uploading']) {
|
|
@@ -40,12 +55,12 @@ export const styles = css `
|
|
|
40
55
|
max-inline-size: 100%;
|
|
41
56
|
box-sizing: border-box;
|
|
42
57
|
padding: var(--lyra-space-xs) var(--lyra-space-s);
|
|
43
|
-
border:
|
|
58
|
+
border: var(--lyra-border-width-thin) solid var(--lyra-attachment-chip-border);
|
|
44
59
|
border-radius: var(--lyra-radius);
|
|
45
60
|
background: var(--lyra-attachment-chip-bg);
|
|
46
61
|
color: var(--lyra-color-text);
|
|
47
|
-
font-size:
|
|
48
|
-
line-height:
|
|
62
|
+
font-size: var(--lyra-font-size-sm);
|
|
63
|
+
line-height: var(--lyra-line-height-snug);
|
|
49
64
|
transition:
|
|
50
65
|
background-color var(--lyra-transition-fast),
|
|
51
66
|
border-color var(--lyra-transition-fast);
|
|
@@ -80,13 +95,13 @@ export const styles = css `
|
|
|
80
95
|
flex-direction: column;
|
|
81
96
|
flex: 1 1 auto;
|
|
82
97
|
min-inline-size: 0;
|
|
83
|
-
gap: 0
|
|
98
|
+
gap: var(--lyra-size-0-125rem);
|
|
84
99
|
}
|
|
85
100
|
[part='name'] {
|
|
86
101
|
overflow: hidden;
|
|
87
102
|
text-overflow: ellipsis;
|
|
88
103
|
white-space: nowrap;
|
|
89
|
-
font-weight:
|
|
104
|
+
font-weight: var(--lyra-font-weight-semibold);
|
|
90
105
|
color: var(--lyra-color-text);
|
|
91
106
|
}
|
|
92
107
|
[part='size'] {
|
|
@@ -101,14 +116,14 @@ export const styles = css `
|
|
|
101
116
|
}
|
|
102
117
|
[part='status-text'] {
|
|
103
118
|
color: var(--lyra-attachment-chip-accent);
|
|
104
|
-
font-weight:
|
|
119
|
+
font-weight: var(--lyra-font-weight-semibold);
|
|
105
120
|
}
|
|
106
121
|
|
|
107
122
|
[part='progress'] {
|
|
108
123
|
flex: 0 0 auto;
|
|
109
|
-
inline-size: 3
|
|
124
|
+
inline-size: var(--lyra-size-3-5rem);
|
|
110
125
|
block-size: var(--lyra-space-xs);
|
|
111
|
-
border-radius:
|
|
126
|
+
border-radius: var(--lyra-radius-pill);
|
|
112
127
|
background: var(--lyra-color-border);
|
|
113
128
|
overflow: hidden;
|
|
114
129
|
}
|
|
@@ -122,10 +137,10 @@ export const styles = css `
|
|
|
122
137
|
[part='spinner'] {
|
|
123
138
|
flex: 0 0 auto;
|
|
124
139
|
display: inline-block;
|
|
125
|
-
inline-size: 1rem;
|
|
126
|
-
block-size: 1rem;
|
|
140
|
+
inline-size: var(--lyra-size-1rem);
|
|
141
|
+
block-size: var(--lyra-size-1rem);
|
|
127
142
|
border-radius: 50%;
|
|
128
|
-
border:
|
|
143
|
+
border: var(--lyra-border-width-medium) solid var(--lyra-color-border);
|
|
129
144
|
border-block-start-color: var(--lyra-attachment-chip-accent);
|
|
130
145
|
animation: lyra-attachment-chip-spin 0.8s linear infinite;
|
|
131
146
|
}
|
|
@@ -136,8 +151,8 @@ export const styles = css `
|
|
|
136
151
|
display: inline-flex;
|
|
137
152
|
align-items: center;
|
|
138
153
|
justify-content: center;
|
|
139
|
-
min-inline-size: min(var(--lyra-icon-button-size), 1
|
|
140
|
-
min-block-size: min(var(--lyra-icon-button-size), 1
|
|
154
|
+
min-inline-size: min(var(--lyra-icon-button-size), var(--lyra-size-1-75rem));
|
|
155
|
+
min-block-size: min(var(--lyra-icon-button-size), var(--lyra-size-1-75rem));
|
|
141
156
|
padding: 0;
|
|
142
157
|
border: none;
|
|
143
158
|
border-radius: calc(var(--lyra-radius) * 0.6);
|
|
@@ -182,3 +197,4 @@ export const styles = css `
|
|
|
182
197
|
}
|
|
183
198
|
}
|
|
184
199
|
`;
|
|
200
|
+
//# sourceMappingURL=attachment-chip.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-chip.styles.js","sourceRoot":"","sources":["../../../src/components/attachment-chip/attachment-chip.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqMxB,CAAC"}
|