@emuanalytics/flow-rdf-ui 4.0.4 → 4.0.6
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/dist/components/alert/alert.component.mjs +202 -0
- package/dist/components/alert/alert.mjs +5 -0
- package/dist/components/alert/alert.styles.mjs +107 -0
- package/dist/components/animation/animation.component.mjs +207 -0
- package/dist/components/animation/animation.mjs +5 -0
- package/dist/components/animation/animation.styles.mjs +12 -0
- package/dist/components/animation/animations.mjs +11 -0
- package/dist/components/avatar/avatar.component.mjs +95 -0
- package/dist/components/avatar/avatar.mjs +5 -0
- package/dist/components/avatar/avatar.styles.mjs +70 -0
- package/dist/components/badge/badge.component.mjs +62 -0
- package/dist/components/badge/badge.mjs +5 -0
- package/dist/components/badge/badge.styles.mjs +105 -0
- package/dist/components/breadcrumb/breadcrumb.component.mjs +82 -0
- package/dist/components/breadcrumb/breadcrumb.mjs +5 -0
- package/dist/components/breadcrumb/breadcrumb.styles.mjs +14 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.component.mjs +73 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.mjs +5 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.mjs +90 -0
- package/dist/components/button/button.component.mjs +310 -0
- package/dist/components/button/button.mjs +5 -0
- package/dist/components/button/button.styles.mjs +690 -0
- package/dist/components/button-group/button-group.component.mjs +108 -0
- package/dist/components/button-group/button-group.mjs +5 -0
- package/dist/components/button-group/button-group.styles.mjs +21 -0
- package/dist/components/calendar/calendar.component.mjs +320 -0
- package/dist/components/calendar/calendar.mjs +5 -0
- package/dist/components/calendar/calendar.styles.mjs +145 -0
- package/dist/components/card/card.component.mjs +33 -0
- package/dist/components/card/card.mjs +5 -0
- package/dist/components/card/card.styles.mjs +73 -0
- package/dist/components/carousel/autoplay-controller.mjs +56 -0
- package/dist/components/carousel/carousel.component.mjs +406 -0
- package/dist/components/carousel/carousel.mjs +5 -0
- package/dist/components/carousel/carousel.styles.mjs +162 -0
- package/dist/components/carousel/scroll-controller.mjs +148 -0
- package/dist/components/carousel-item/carousel-item.component.mjs +22 -0
- package/dist/components/carousel-item/carousel-item.mjs +5 -0
- package/dist/components/carousel-item/carousel-item.styles.mjs +28 -0
- package/dist/components/chart/chart.component.mjs +82 -0
- package/dist/components/chart/chart.mjs +5 -0
- package/dist/components/chart/chart.styles.mjs +80 -0
- package/dist/components/chart/chartjs-plugins/interaction.interpolate.mjs +80 -0
- package/dist/components/chart/chartjs-plugins/plugin.flow-ui-colors.mjs +135 -0
- package/dist/components/chart/chartjs-plugins/positioner.cursor.mjs +14 -0
- package/dist/components/chart/chartjs-plugins/symlog.scale.mjs +42 -0
- package/dist/components/chart/chartjs-support.mjs +59 -0
- package/dist/components/checkbox/checkbox.component.mjs +246 -0
- package/dist/components/checkbox/checkbox.mjs +5 -0
- package/dist/components/checkbox/checkbox.styles.mjs +177 -0
- package/dist/components/color-mapper/color-mapper.component.mjs +260 -0
- package/dist/components/color-mapper/color-mapper.mjs +5 -0
- package/dist/components/color-mapper/color-mapper.styles.mjs +92 -0
- package/dist/components/color-mapper/helpers.mjs +55 -0
- package/dist/components/color-picker/color-picker.component.mjs +919 -0
- package/dist/components/color-picker/color-picker.mjs +5 -0
- package/dist/components/color-picker/color-picker.styles.mjs +337 -0
- package/dist/components/color-stop/color-stop.component.mjs +289 -0
- package/dist/components/color-stop/color-stop.mjs +5 -0
- package/dist/components/color-stop/color-stop.styles.mjs +103 -0
- package/dist/components/date-time-picker/date-time-picker.component.mjs +532 -0
- package/dist/components/date-time-picker/date-time-picker.mjs +5 -0
- package/dist/components/date-time-picker/date-time-picker.styles.mjs +260 -0
- package/dist/components/details/details.component.mjs +194 -0
- package/dist/components/details/details.mjs +5 -0
- package/dist/components/details/details.styles.mjs +85 -0
- package/dist/components/dialog/dialog.component.mjs +256 -0
- package/dist/components/dialog/dialog.mjs +5 -0
- package/dist/components/dialog/dialog.styles.mjs +125 -0
- package/dist/components/divider/divider.component.mjs +45 -0
- package/dist/components/divider/divider.mjs +5 -0
- package/dist/components/divider/divider.styles.mjs +34 -0
- package/dist/components/drawer/drawer.component.mjs +354 -0
- package/dist/components/drawer/drawer.mjs +5 -0
- package/dist/components/drawer/drawer.styles.mjs +161 -0
- package/dist/components/dropdown/dropdown.component.mjs +381 -0
- package/dist/components/dropdown/dropdown.mjs +5 -0
- package/dist/components/dropdown/dropdown.styles.mjs +56 -0
- package/dist/components/gauge/gauge.component.mjs +151 -0
- package/dist/components/gauge/gauge.mjs +5 -0
- package/dist/components/gauge/gauge.styles.mjs +127 -0
- package/dist/components/icon/icon.component.mjs +146 -0
- package/dist/components/icon/icon.mjs +5 -0
- package/dist/components/icon/icon.styles.mjs +35 -0
- package/dist/components/icon/library.default.mjs +38 -0
- package/dist/components/icon/library.mjs +38 -0
- package/dist/components/icon/library.system.mjs +158 -0
- package/dist/components/icon-button/icon-button.component.mjs +239 -0
- package/dist/components/icon-button/icon-button.mjs +5 -0
- package/dist/components/icon-button/icon-button.styles.mjs +81 -0
- package/dist/components/input/input.component.mjs +574 -0
- package/dist/components/input/input.mjs +5 -0
- package/dist/components/input/input.styles.mjs +310 -0
- package/dist/components/map/map.component.mjs +196 -0
- package/dist/components/map/map.mjs +5 -0
- package/dist/components/map/map.styles.mjs +90 -0
- package/dist/components/menu/menu.component.mjs +125 -0
- package/dist/components/menu/menu.mjs +5 -0
- package/dist/components/menu/menu.styles.mjs +23 -0
- package/dist/components/menu-item/menu-item.component.mjs +143 -0
- package/dist/components/menu-item/menu-item.mjs +5 -0
- package/dist/components/menu-item/menu-item.styles.mjs +103 -0
- package/dist/components/menu-label/menu-label.component.mjs +14 -0
- package/dist/components/menu-label/menu-label.mjs +5 -0
- package/dist/components/menu-label/menu-label.styles.mjs +24 -0
- package/dist/components/mutation-observer/mutation-observer.component.mjs +115 -0
- package/dist/components/mutation-observer/mutation-observer.mjs +5 -0
- package/dist/components/mutation-observer/mutation-observer.styles.mjs +12 -0
- package/dist/components/option/option.component.mjs +152 -0
- package/dist/components/option/option.mjs +5 -0
- package/dist/components/option/option.styles.mjs +102 -0
- package/dist/components/panel/panel.component.mjs +90 -0
- package/dist/components/panel/panel.mjs +5 -0
- package/dist/components/panel/panel.styles.mjs +51 -0
- package/dist/components/panel-header/panel-header.component.mjs +131 -0
- package/dist/components/panel-header/panel-header.mjs +5 -0
- package/dist/components/panel-header/panel-header.styles.mjs +67 -0
- package/dist/components/popup/popup.component.mjs +420 -0
- package/dist/components/popup/popup.mjs +5 -0
- package/dist/components/popup/popup.styles.mjs +63 -0
- package/dist/components/progress-bar/progress-bar.component.mjs +70 -0
- package/dist/components/progress-bar/progress-bar.mjs +5 -0
- package/dist/components/progress-bar/progress-bar.styles.mjs +87 -0
- package/dist/components/progress-ring/progress-ring.component.mjs +71 -0
- package/dist/components/progress-ring/progress-ring.mjs +5 -0
- package/dist/components/progress-ring/progress-ring.styles.mjs +72 -0
- package/dist/components/query-builder/converters/flow-query-converters.mjs +111 -0
- package/dist/components/query-builder/converters/map-layer-filter-converter.mjs +99 -0
- package/dist/components/query-builder/default-value-templates.mjs +151 -0
- package/dist/components/query-builder/helpers.mjs +42 -0
- package/dist/components/query-builder/query-builder.component.mjs +466 -0
- package/dist/components/query-builder/query-builder.mjs +5 -0
- package/dist/components/query-builder/query-builder.styles.mjs +261 -0
- package/dist/components/radio/radio.component.mjs +144 -0
- package/dist/components/radio/radio.mjs +5 -0
- package/dist/components/radio/radio.styles.mjs +164 -0
- package/dist/components/radio-group/radio-group.component.mjs +310 -0
- package/dist/components/radio-group/radio-group.mjs +5 -0
- package/dist/components/radio-group/radio-group.styles.mjs +49 -0
- package/dist/components/range/range.component.mjs +324 -0
- package/dist/components/range/range.mjs +5 -0
- package/dist/components/range/range.styles.mjs +233 -0
- package/dist/components/resize-observer/resize-observer.component.mjs +80 -0
- package/dist/components/resize-observer/resize-observer.mjs +5 -0
- package/dist/components/resize-observer/resize-observer.styles.mjs +12 -0
- package/dist/components/scroll-view/overlay-scrollbar.styles.mjs +686 -0
- package/dist/components/scroll-view/scroll-view.component.mjs +128 -0
- package/dist/components/scroll-view/scroll-view.mjs +5 -0
- package/dist/components/scroll-view/scroll-view.styles.mjs +57 -0
- package/dist/components/select/select.component.mjs +785 -0
- package/dist/components/select/select.mjs +5 -0
- package/dist/components/select/select.styles.mjs +339 -0
- package/dist/components/spinner/spinner.component.mjs +22 -0
- package/dist/components/spinner/spinner.mjs +5 -0
- package/dist/components/spinner/spinner.styles.mjs +64 -0
- package/dist/components/split-view/split-view.component.mjs +500 -0
- package/dist/components/split-view/split-view.mjs +5 -0
- package/dist/components/split-view/split-view.styles.mjs +33 -0
- package/dist/components/split-view-divider/split-view-divider.component.mjs +98 -0
- package/dist/components/split-view-divider/split-view-divider.mjs +5 -0
- package/dist/components/split-view-divider/split-view-divider.styles.mjs +96 -0
- package/dist/components/split-view-pane/split-view-pane.component.mjs +126 -0
- package/dist/components/split-view-pane/split-view-pane.mjs +5 -0
- package/dist/components/split-view-pane/split-view-pane.styles.mjs +49 -0
- package/dist/components/split-view-toggle-button/split-view-toggle-button.component.mjs +76 -0
- package/dist/components/split-view-toggle-button/split-view-toggle-button.mjs +5 -0
- package/dist/components/split-view-toggle-button/split-view-toggle-button.styles.mjs +40 -0
- package/dist/components/stepper/stepper.component.mjs +139 -0
- package/dist/components/stepper/stepper.mjs +5 -0
- package/dist/components/stepper/stepper.styles.mjs +103 -0
- package/dist/components/stepper-panel/stepper-panel.component.mjs +76 -0
- package/dist/components/stepper-panel/stepper-panel.mjs +5 -0
- package/dist/components/stepper-panel/stepper-panel.styles.mjs +22 -0
- package/dist/components/switch/switch.component.mjs +211 -0
- package/dist/components/switch/switch.mjs +5 -0
- package/dist/components/switch/switch.styles.mjs +166 -0
- package/dist/components/tab/tab.component.mjs +159 -0
- package/dist/components/tab/tab.mjs +5 -0
- package/dist/components/tab/tab.styles.mjs +107 -0
- package/dist/components/tab-group/tab-group.component.mjs +402 -0
- package/dist/components/tab-group/tab-group.mjs +5 -0
- package/dist/components/tab-group/tab-group.styles.mjs +386 -0
- package/dist/components/tab-panel/tab-panel.component.mjs +72 -0
- package/dist/components/tab-panel/tab-panel.mjs +5 -0
- package/dist/components/tab-panel/tab-panel.styles.mjs +55 -0
- package/dist/components/tag/tag.component.mjs +94 -0
- package/dist/components/tag/tag.mjs +5 -0
- package/dist/components/tag/tag.styles.mjs +130 -0
- package/dist/components/textarea/textarea.component.mjs +359 -0
- package/dist/components/textarea/textarea.mjs +5 -0
- package/dist/components/textarea/textarea.styles.mjs +171 -0
- package/dist/components/timer/ticker.mjs +78 -0
- package/dist/components/timer/timer.component.mjs +293 -0
- package/dist/components/timer/timer.mjs +5 -0
- package/dist/components/timer/timer.styles.mjs +94 -0
- package/dist/components/tool-button/tool-button.component.mjs +208 -0
- package/dist/components/tool-button/tool-button.mjs +5 -0
- package/dist/components/tool-button/tool-button.styles.mjs +251 -0
- package/dist/components/tool-button-group/tool-button-group.component.mjs +347 -0
- package/dist/components/tool-button-group/tool-button-group.mjs +5 -0
- package/dist/components/tool-button-group/tool-button-group.styles.mjs +59 -0
- package/dist/components/tooltip/tooltip.component.mjs +259 -0
- package/dist/components/tooltip/tooltip.mjs +5 -0
- package/dist/components/tooltip/tooltip.styles.mjs +57 -0
- package/dist/components/tree/tree.component.mjs +368 -0
- package/dist/components/tree/tree.mjs +5 -0
- package/dist/components/tree/tree.styles.mjs +41 -0
- package/dist/components/tree-item/tree-item.component.mjs +324 -0
- package/dist/components/tree-item/tree-item.mjs +5 -0
- package/dist/components/tree-item/tree-item.styles.mjs +178 -0
- package/dist/components/visually-hidden/visually-hidden.component.mjs +14 -0
- package/dist/components/visually-hidden/visually-hidden.mjs +5 -0
- package/dist/components/visually-hidden/visually-hidden.styles.mjs +20 -0
- package/dist/custom-elements.json +6494 -6508
- package/dist/index.d.mts +141 -132
- package/dist/index.d.ts +141 -132
- package/dist/index.mjs +78 -25094
- package/dist/internal/animate.mjs +47 -0
- package/dist/internal/animations/attention_seekers/bounce.mjs +17 -0
- package/dist/internal/animations/attention_seekers/flash.mjs +9 -0
- package/dist/internal/animations/attention_seekers/headShake.mjs +10 -0
- package/dist/internal/animations/attention_seekers/heartBeat.mjs +9 -0
- package/dist/internal/animations/attention_seekers/jello.mjs +14 -0
- package/dist/internal/animations/attention_seekers/pulse.mjs +7 -0
- package/dist/internal/animations/attention_seekers/rubberBand.mjs +11 -0
- package/dist/internal/animations/attention_seekers/shake.mjs +15 -0
- package/dist/internal/animations/attention_seekers/shakeX.mjs +15 -0
- package/dist/internal/animations/attention_seekers/shakeY.mjs +15 -0
- package/dist/internal/animations/attention_seekers/swing.mjs +9 -0
- package/dist/internal/animations/attention_seekers/tada.mjs +15 -0
- package/dist/internal/animations/attention_seekers/wobble.mjs +11 -0
- package/dist/internal/animations/back_entrances/backInDown.mjs +7 -0
- package/dist/internal/animations/back_entrances/backInLeft.mjs +7 -0
- package/dist/internal/animations/back_entrances/backInRight.mjs +7 -0
- package/dist/internal/animations/back_entrances/backInUp.mjs +7 -0
- package/dist/internal/animations/back_exits/backOutDown.mjs +7 -0
- package/dist/internal/animations/back_exits/backOutLeft.mjs +7 -0
- package/dist/internal/animations/back_exits/backOutRight.mjs +7 -0
- package/dist/internal/animations/back_exits/backOutUp.mjs +7 -0
- package/dist/internal/animations/bouncing_entrances/bounceIn.mjs +16 -0
- package/dist/internal/animations/bouncing_entrances/bounceInDown.mjs +14 -0
- package/dist/internal/animations/bouncing_entrances/bounceInLeft.mjs +14 -0
- package/dist/internal/animations/bouncing_entrances/bounceInRight.mjs +14 -0
- package/dist/internal/animations/bouncing_entrances/bounceInUp.mjs +14 -0
- package/dist/internal/animations/bouncing_exits/bounceOut.mjs +8 -0
- package/dist/internal/animations/bouncing_exits/bounceOutDown.mjs +8 -0
- package/dist/internal/animations/bouncing_exits/bounceOutLeft.mjs +6 -0
- package/dist/internal/animations/bouncing_exits/bounceOutRight.mjs +6 -0
- package/dist/internal/animations/bouncing_exits/bounceOutUp.mjs +8 -0
- package/dist/internal/animations/easings/easings.mjs +33 -0
- package/dist/internal/animations/fading_entrances/fadeIn.mjs +6 -0
- package/dist/internal/animations/fading_entrances/fadeInBottomLeft.mjs +6 -0
- package/dist/internal/animations/fading_entrances/fadeInBottomRight.mjs +6 -0
- package/dist/internal/animations/fading_entrances/fadeInDown.mjs +6 -0
- package/dist/internal/animations/fading_entrances/fadeInDownBig.mjs +6 -0
- package/dist/internal/animations/fading_entrances/fadeInLeft.mjs +6 -0
- package/dist/internal/animations/fading_entrances/fadeInLeftBig.mjs +6 -0
- package/dist/internal/animations/fading_entrances/fadeInRight.mjs +6 -0
- package/dist/internal/animations/fading_entrances/fadeInRightBig.mjs +6 -0
- package/dist/internal/animations/fading_entrances/fadeInTopLeft.mjs +6 -0
- package/dist/internal/animations/fading_entrances/fadeInTopRight.mjs +6 -0
- package/dist/internal/animations/fading_entrances/fadeInUp.mjs +6 -0
- package/dist/internal/animations/fading_entrances/fadeInUpBig.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOut.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOutBottomLeft.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOutBottomRight.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOutDown.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOutDownBig.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOutLeft.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOutLeftBig.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOutRight.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOutRightBig.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOutTopLeft.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOutTopRight.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOutUp.mjs +6 -0
- package/dist/internal/animations/fading_exits/fadeOutUpBig.mjs +6 -0
- package/dist/internal/animations/flippers/flip.mjs +29 -0
- package/dist/internal/animations/flippers/flipInX.mjs +9 -0
- package/dist/internal/animations/flippers/flipInY.mjs +9 -0
- package/dist/internal/animations/flippers/flipOutX.mjs +7 -0
- package/dist/internal/animations/flippers/flipOutY.mjs +7 -0
- package/dist/internal/animations/index.mjs +99 -0
- package/dist/internal/animations/lightspeed/lightSpeedInLeft.mjs +8 -0
- package/dist/internal/animations/lightspeed/lightSpeedInRight.mjs +8 -0
- package/dist/internal/animations/lightspeed/lightSpeedOutLeft.mjs +6 -0
- package/dist/internal/animations/lightspeed/lightSpeedOutRight.mjs +6 -0
- package/dist/internal/animations/rotating_entrances/rotateIn.mjs +6 -0
- package/dist/internal/animations/rotating_entrances/rotateInDownLeft.mjs +6 -0
- package/dist/internal/animations/rotating_entrances/rotateInDownRight.mjs +6 -0
- package/dist/internal/animations/rotating_entrances/rotateInUpLeft.mjs +6 -0
- package/dist/internal/animations/rotating_entrances/rotateInUpRight.mjs +6 -0
- package/dist/internal/animations/rotating_exits/rotateOut.mjs +6 -0
- package/dist/internal/animations/rotating_exits/rotateOutDownLeft.mjs +6 -0
- package/dist/internal/animations/rotating_exits/rotateOutDownRight.mjs +6 -0
- package/dist/internal/animations/rotating_exits/rotateOutUpLeft.mjs +6 -0
- package/dist/internal/animations/rotating_exits/rotateOutUpRight.mjs +6 -0
- package/dist/internal/animations/sliding_entrances/slideInDown.mjs +6 -0
- package/dist/internal/animations/sliding_entrances/slideInLeft.mjs +6 -0
- package/dist/internal/animations/sliding_entrances/slideInRight.mjs +6 -0
- package/dist/internal/animations/sliding_entrances/slideInUp.mjs +6 -0
- package/dist/internal/animations/sliding_exits/slideOutDown.mjs +6 -0
- package/dist/internal/animations/sliding_exits/slideOutLeft.mjs +6 -0
- package/dist/internal/animations/sliding_exits/slideOutRight.mjs +6 -0
- package/dist/internal/animations/sliding_exits/slideOutUp.mjs +6 -0
- package/dist/internal/animations/specials/hinge.mjs +10 -0
- package/dist/internal/animations/specials/jackInTheBox.mjs +8 -0
- package/dist/internal/animations/specials/rollIn.mjs +6 -0
- package/dist/internal/animations/specials/rollOut.mjs +6 -0
- package/dist/internal/animations/zooming_entrances/zoomIn.mjs +6 -0
- package/dist/internal/animations/zooming_entrances/zoomInDown.mjs +16 -0
- package/dist/internal/animations/zooming_entrances/zoomInLeft.mjs +16 -0
- package/dist/internal/animations/zooming_entrances/zoomInRight.mjs +16 -0
- package/dist/internal/animations/zooming_entrances/zoomInUp.mjs +16 -0
- package/dist/internal/animations/zooming_exits/zoomOut.mjs +7 -0
- package/dist/internal/animations/zooming_exits/zoomOutDown.mjs +16 -0
- package/dist/internal/animations/zooming_exits/zoomOutLeft.mjs +6 -0
- package/dist/internal/animations/zooming_exits/zoomOutRight.mjs +6 -0
- package/dist/internal/animations/zooming_exits/zoomOutUp.mjs +16 -0
- package/dist/internal/boolean.mjs +17 -0
- package/dist/internal/datetime.mjs +65 -0
- package/dist/internal/debounce.mjs +14 -0
- package/dist/internal/default-value.mjs +21 -0
- package/dist/internal/drag.mjs +30 -0
- package/dist/internal/ensure-array.mjs +16 -0
- package/dist/internal/event.mjs +13 -0
- package/dist/internal/flow-ui-rdf-element.mjs +61 -0
- package/dist/internal/form.mjs +264 -0
- package/dist/internal/localize.mjs +124 -0
- package/dist/internal/math.mjs +12 -0
- package/dist/internal/modal.mjs +52 -0
- package/dist/internal/offset.mjs +8 -0
- package/dist/internal/orderby.mjs +18 -0
- package/dist/internal/scroll.mjs +47 -0
- package/dist/internal/slot.mjs +59 -0
- package/dist/internal/string.mjs +5 -0
- package/dist/internal/tabbable.mjs +49 -0
- package/dist/internal/throttle.mjs +28 -0
- package/dist/internal/type-checks.mjs +16 -0
- package/dist/internal/watch.mjs +27 -0
- package/dist/package.json.mjs +3 -0
- package/dist/public-api.mjs +10 -0
- package/dist/styles/component.styles.mjs +19 -0
- package/dist/styles/form-control.styles.mjs +63 -0
- package/dist/translations/en.mjs +34 -0
- package/dist/utilities/animation-registry.mjs +33 -0
- package/dist/utilities/announce.mjs +12 -0
- package/dist/utilities/locale.mjs +10 -0
- package/dist/utilities/localize.mjs +7 -0
- package/dist/utilities/register-components.mjs +203 -0
- package/dist/vscode.html-custom-data.json +429 -429
- package/package.json +5 -8
- package/dist/icons/index.cjs +0 -4053
- package/dist/icons/index.d.cts +0 -2027
- package/dist/index.cjs +0 -25187
- package/dist/index.d.cts +0 -5678
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
|
|
3
|
+
const styles = css`
|
|
4
|
+
:host {
|
|
5
|
+
display: block;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/** The popup */
|
|
9
|
+
.select {
|
|
10
|
+
flex: 1 1 auto;
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
width: 100%;
|
|
13
|
+
position: relative;
|
|
14
|
+
vertical-align: middle;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.select::part(popup) {
|
|
18
|
+
z-index: var(--flow-ui-z-index-dropdown);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.select[data-current-placement^='top']::part(popup) {
|
|
22
|
+
transform-origin: bottom;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.select[data-current-placement^='bottom']::part(popup) {
|
|
26
|
+
transform-origin: top;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Combobox */
|
|
30
|
+
.select__combobox {
|
|
31
|
+
flex: 1;
|
|
32
|
+
display: flex;
|
|
33
|
+
width: 100%;
|
|
34
|
+
min-width: 0;
|
|
35
|
+
position: relative;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: start;
|
|
38
|
+
font-family: var(--flow-ui-input-font-family);
|
|
39
|
+
font-weight: var(--flow-ui-input-font-weight);
|
|
40
|
+
letter-spacing: var(--flow-ui-input-letter-spacing);
|
|
41
|
+
vertical-align: middle;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
transition:
|
|
45
|
+
var(--flow-ui-transition-fast) color,
|
|
46
|
+
var(--flow-ui-transition-fast) border,
|
|
47
|
+
var(--flow-ui-transition-fast) box-shadow,
|
|
48
|
+
var(--flow-ui-transition-fast) background-color;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.select__display-input {
|
|
52
|
+
position: relative;
|
|
53
|
+
width: 100%;
|
|
54
|
+
font: inherit;
|
|
55
|
+
border: none;
|
|
56
|
+
background: none;
|
|
57
|
+
color: var(--flow-ui-input-color);
|
|
58
|
+
cursor: inherit;
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
padding: 0;
|
|
61
|
+
margin: 0;
|
|
62
|
+
-webkit-appearance: none;
|
|
63
|
+
text-overflow: ellipsis;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.select__display-input::placeholder {
|
|
67
|
+
color: var(--flow-ui-input-placeholder-color);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.select:not(.select--disabled):hover .select__display-input {
|
|
71
|
+
color: var(--flow-ui-input-color-hover);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.select__display-input:focus {
|
|
75
|
+
outline: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* Visually hide the display input when multiple is enabled */
|
|
79
|
+
.select--multiple:not(.select--placeholder-visible) .select__display-input {
|
|
80
|
+
position: absolute;
|
|
81
|
+
z-index: -1;
|
|
82
|
+
top: 0;
|
|
83
|
+
left: 0;
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: 100%;
|
|
86
|
+
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.select__value-input {
|
|
90
|
+
position: absolute;
|
|
91
|
+
top: 0;
|
|
92
|
+
left: 0;
|
|
93
|
+
width: 100%;
|
|
94
|
+
height: 100%;
|
|
95
|
+
padding: 0;
|
|
96
|
+
margin: 0;
|
|
97
|
+
opacity: 0;
|
|
98
|
+
z-index: -1;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.select__tags {
|
|
102
|
+
display: flex;
|
|
103
|
+
flex: 1;
|
|
104
|
+
align-items: center;
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
margin-inline-start: var(--flow-ui-spacing-2x-small);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.select__tags::slotted(flow-ui-tag) {
|
|
110
|
+
cursor: pointer !important;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.select--disabled .select__tags,
|
|
114
|
+
.select--disabled .select__tags::slotted(flow-ui-tag) {
|
|
115
|
+
cursor: not-allowed !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Standard selects */
|
|
119
|
+
.select--standard .select__combobox {
|
|
120
|
+
background-color: var(--flow-ui-input-background-color);
|
|
121
|
+
border: solid var(--flow-ui-input-border-width) var(--flow-ui-input-border-color);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.select--standard.select--disabled .select__combobox {
|
|
125
|
+
background-color: var(--flow-ui-input-background-color-disabled);
|
|
126
|
+
border-color: var(--flow-ui-input-border-color-disabled);
|
|
127
|
+
color: var(--flow-ui-input-color-disabled);
|
|
128
|
+
opacity: 0.5;
|
|
129
|
+
cursor: not-allowed;
|
|
130
|
+
outline: none;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.select--standard:not(.select--disabled).select--open .select__combobox,
|
|
134
|
+
.select--standard:not(.select--disabled).select--focused .select__combobox {
|
|
135
|
+
background-color: var(--flow-ui-input-background-color-focus);
|
|
136
|
+
border-color: var(--flow-ui-input-border-color-focus);
|
|
137
|
+
box-shadow: 0 0 0 var(--flow-ui-focus-ring-width) var(--flow-ui-input-focus-ring-color);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* Filled selects */
|
|
141
|
+
.select--filled .select__combobox {
|
|
142
|
+
border: none;
|
|
143
|
+
background-color: var(--flow-ui-input-filled-background-color);
|
|
144
|
+
color: var(--flow-ui-input-color);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.select--filled:hover:not(.select--disabled) .select__combobox {
|
|
148
|
+
background-color: var(--flow-ui-input-filled-background-color-hover);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.select--filled.select--disabled .select__combobox {
|
|
152
|
+
background-color: var(--flow-ui-input-filled-background-color-disabled);
|
|
153
|
+
opacity: 0.5;
|
|
154
|
+
cursor: not-allowed;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.select--filled:not(.select--disabled).select--open .select__combobox,
|
|
158
|
+
.select--filled:not(.select--disabled).select--focused .select__combobox {
|
|
159
|
+
background-color: var(--flow-ui-input-filled-background-color-focus);
|
|
160
|
+
outline: var(--flow-ui-focus-ring);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* Sizes */
|
|
164
|
+
.select--small .select__combobox {
|
|
165
|
+
border-radius: var(--flow-ui-input-border-radius-small);
|
|
166
|
+
font-size: var(--flow-ui-input-font-size-small);
|
|
167
|
+
min-height: var(--flow-ui-input-height-small);
|
|
168
|
+
padding-block: 0;
|
|
169
|
+
padding-inline: var(--flow-ui-input-spacing-small);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.select--small .select__clear {
|
|
173
|
+
margin-inline-start: var(--flow-ui-input-spacing-small);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.select--small .select__prefix::slotted(*) {
|
|
177
|
+
margin-inline-end: var(--flow-ui-input-spacing-small);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.select--small.select--multiple:not(.select--placeholder-visible) .select__combobox {
|
|
181
|
+
padding-block: 2px;
|
|
182
|
+
padding-inline-start: 0;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.select--small .select__tags {
|
|
186
|
+
gap: 2px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.select--medium .select__combobox {
|
|
190
|
+
border-radius: var(--flow-ui-input-border-radius-medium);
|
|
191
|
+
font-size: var(--flow-ui-input-font-size-medium);
|
|
192
|
+
min-height: var(--flow-ui-input-height-medium);
|
|
193
|
+
padding-block: 0;
|
|
194
|
+
padding-inline: var(--flow-ui-input-spacing-medium);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.select--medium .select__clear {
|
|
198
|
+
margin-inline-start: var(--flow-ui-input-spacing-medium);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.select--medium .select__prefix::slotted(*) {
|
|
202
|
+
margin-inline-end: var(--flow-ui-input-spacing-medium);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.select--medium.select--multiple:not(.select--placeholder-visible) .select__combobox {
|
|
206
|
+
padding-inline-start: 0;
|
|
207
|
+
padding-block: 3px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.select--medium .select__tags {
|
|
211
|
+
gap: 3px;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.select--large .select__combobox {
|
|
215
|
+
border-radius: var(--flow-ui-input-border-radius-large);
|
|
216
|
+
font-size: var(--flow-ui-input-font-size-large);
|
|
217
|
+
min-height: var(--flow-ui-input-height-large);
|
|
218
|
+
padding-block: 0;
|
|
219
|
+
padding-inline: var(--flow-ui-input-spacing-large);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.select--large .select__clear {
|
|
223
|
+
margin-inline-start: var(--flow-ui-input-spacing-large);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.select--large .select__prefix::slotted(*) {
|
|
227
|
+
margin-inline-end: var(--flow-ui-input-spacing-large);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.select--large.select--multiple:not(.select--placeholder-visible) .select__combobox {
|
|
231
|
+
padding-inline-start: 0;
|
|
232
|
+
padding-block: 4px;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.select--large .select__tags {
|
|
236
|
+
gap: 4px;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/* Pills */
|
|
240
|
+
.select--pill.select--small .select__combobox {
|
|
241
|
+
border-radius: var(--flow-ui-input-height-small);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.select--pill.select--medium .select__combobox {
|
|
245
|
+
border-radius: var(--flow-ui-input-height-medium);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.select--pill.select--large .select__combobox {
|
|
249
|
+
border-radius: var(--flow-ui-input-height-large);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/* Prefix */
|
|
253
|
+
.select__prefix {
|
|
254
|
+
flex: 0;
|
|
255
|
+
display: inline-flex;
|
|
256
|
+
align-items: center;
|
|
257
|
+
color: var(--flow-ui-input-placeholder-color);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/* Suffix */
|
|
261
|
+
.select__suffix {
|
|
262
|
+
flex: 0;
|
|
263
|
+
display: inline-flex;
|
|
264
|
+
align-items: center;
|
|
265
|
+
color: var(--flow-ui-input-placeholder-color);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/* Clear button */
|
|
269
|
+
.select__clear {
|
|
270
|
+
display: inline-flex;
|
|
271
|
+
align-items: center;
|
|
272
|
+
justify-content: center;
|
|
273
|
+
font-size: inherit;
|
|
274
|
+
color: var(--flow-ui-input-icon-color);
|
|
275
|
+
border: none;
|
|
276
|
+
background: none;
|
|
277
|
+
padding: 0;
|
|
278
|
+
transition: var(--flow-ui-transition-fast) color;
|
|
279
|
+
cursor: pointer;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.select__clear:hover {
|
|
283
|
+
color: var(--flow-ui-input-icon-color-hover);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.select__clear:focus {
|
|
287
|
+
outline: none;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/* Expand icon */
|
|
291
|
+
.select__expand-icon {
|
|
292
|
+
flex: 0 0 auto;
|
|
293
|
+
display: flex;
|
|
294
|
+
align-items: center;
|
|
295
|
+
transition: var(--flow-ui-transition-medium) rotate ease;
|
|
296
|
+
rotate: 0;
|
|
297
|
+
margin-inline-start: var(--flow-ui-spacing-small);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.select--open .select__expand-icon {
|
|
301
|
+
rotate: -180deg;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/* Listbox */
|
|
305
|
+
.select__listbox {
|
|
306
|
+
display: block;
|
|
307
|
+
position: relative;
|
|
308
|
+
font-family: var(--flow-ui-font-sans);
|
|
309
|
+
font-size: var(--flow-ui-font-size-medium);
|
|
310
|
+
font-weight: var(--flow-ui-font-weight-normal);
|
|
311
|
+
box-shadow: var(--flow-ui-shadow-large);
|
|
312
|
+
background: var(--flow-ui-panel-background-color);
|
|
313
|
+
border: solid var(--flow-ui-panel-border-width) var(--flow-ui-panel-border-color);
|
|
314
|
+
border-radius: var(--flow-ui-border-radius-medium);
|
|
315
|
+
padding-block: var(--flow-ui-spacing-x-small);
|
|
316
|
+
padding-inline: 0;
|
|
317
|
+
overflow: auto;
|
|
318
|
+
overscroll-behavior: none;
|
|
319
|
+
|
|
320
|
+
/* Make sure it adheres to the popup's auto size */
|
|
321
|
+
max-width: var(--auto-size-available-width);
|
|
322
|
+
max-height: var(--auto-size-available-height);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.select__listbox ::slotted(flow-ui-divider) {
|
|
326
|
+
--spacing: var(--flow-ui-spacing-x-small);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.select__listbox ::slotted(small) {
|
|
330
|
+
display: block;
|
|
331
|
+
font-size: var(--flow-ui-font-size-small);
|
|
332
|
+
font-weight: var(--flow-ui-font-weight-semibold);
|
|
333
|
+
color: var(--flow-ui-color-neutral-500);
|
|
334
|
+
padding-block: var(--flow-ui-spacing-2x-small);
|
|
335
|
+
padding-inline: var(--flow-ui-spacing-x-large);
|
|
336
|
+
}
|
|
337
|
+
`;
|
|
338
|
+
|
|
339
|
+
export { styles as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import FlowRdfElement from '../../internal/flow-ui-rdf-element.mjs';
|
|
3
|
+
import { LocalizeController } from '../../utilities/localize.mjs';
|
|
4
|
+
import styles from './spinner.styles.mjs';
|
|
5
|
+
|
|
6
|
+
class FlowUiSpinner extends FlowRdfElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.localize = new LocalizeController(this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return html`
|
|
13
|
+
<svg part="base" class="spinner" role="progressbar" aria-valuetext=${this.localize.term("loading")}>
|
|
14
|
+
<circle class="spinner__track"></circle>
|
|
15
|
+
<circle class="spinner__indicator"></circle>
|
|
16
|
+
</svg>
|
|
17
|
+
`;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
FlowUiSpinner.styles = styles;
|
|
21
|
+
|
|
22
|
+
export { FlowUiSpinner as default };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
import componentStyles from '../../styles/component.styles.mjs';
|
|
3
|
+
|
|
4
|
+
const styles = css`
|
|
5
|
+
${componentStyles}
|
|
6
|
+
|
|
7
|
+
:host {
|
|
8
|
+
--track-width: 2px;
|
|
9
|
+
--track-color: rgb(128 128 128 / 25%);
|
|
10
|
+
--indicator-color: var(--flow-ui-color-primary-500);
|
|
11
|
+
--speed: 2s;
|
|
12
|
+
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
width: 1em;
|
|
15
|
+
height: 1em;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.spinner {
|
|
19
|
+
flex: 1 1 auto;
|
|
20
|
+
height: 100%;
|
|
21
|
+
width: 100%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.spinner__track,
|
|
25
|
+
.spinner__indicator {
|
|
26
|
+
fill: none;
|
|
27
|
+
stroke-width: var(--track-width);
|
|
28
|
+
r: calc(0.5em - var(--track-width) / 2);
|
|
29
|
+
cx: 0.5em;
|
|
30
|
+
cy: 0.5em;
|
|
31
|
+
transform-origin: 50% 50%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.spinner__track {
|
|
35
|
+
stroke: var(--track-color);
|
|
36
|
+
transform-origin: 0% 0%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.spinner__indicator {
|
|
40
|
+
stroke: var(--indicator-color);
|
|
41
|
+
stroke-linecap: round;
|
|
42
|
+
stroke-dasharray: 150% 75%;
|
|
43
|
+
animation: spin var(--speed) linear infinite;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@keyframes spin {
|
|
47
|
+
0% {
|
|
48
|
+
transform: rotate(0deg);
|
|
49
|
+
stroke-dasharray: 0.01em, 2.75em;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
50% {
|
|
53
|
+
transform: rotate(450deg);
|
|
54
|
+
stroke-dasharray: 1.375em, 1.375em;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
100% {
|
|
58
|
+
transform: rotate(1080deg);
|
|
59
|
+
stroke-dasharray: 0.01em, 2.75em;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
`;
|
|
63
|
+
|
|
64
|
+
export { styles as default };
|