@emuanalytics/flow-rdf-ui 4.1.0 → 4.1.1

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/index.d.mts CHANGED
@@ -2162,6 +2162,80 @@ declare global {
2162
2162
  }
2163
2163
  }
2164
2164
 
2165
+ /**
2166
+ * @tagname flow-ui-progress-ring
2167
+ * @summary Progress rings are used to show the progress of a determinate operation in a circular fashion.
2168
+ *
2169
+ * @slot label - A label to show inside the ring.
2170
+ *
2171
+ * @csspart base - The component's base wrapper.
2172
+ * @csspart label - The progress ring label.
2173
+ *
2174
+ * @cssproperty --size - The diameter of the progress ring (cannot be a percentage).
2175
+ * @cssproperty --track-width - The width of the track.
2176
+ * @cssproperty --track-color - The color of the track.
2177
+ * @cssproperty --indicator-width - The width of the indicator. Defaults to the track width.
2178
+ * @cssproperty --indicator-color - The color of the indicator.
2179
+ * @cssproperty --indicator-transition-duration - The duration of the indicator's transition when the value changes.
2180
+ */
2181
+ declare class FlowUiProgressRing extends FlowRdfElement {
2182
+ static styles: CSSResultGroup;
2183
+ private readonly localize;
2184
+ /** A custom label for assistive devices. */
2185
+ label: string;
2186
+ /** The current progress as a percentage, 0 to 100. */
2187
+ value: number;
2188
+ /** If the progress animation is indeterminate */
2189
+ indeterminate: boolean;
2190
+ /** The progress ring's theme variant */
2191
+ variant: 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger';
2192
+ /** The progress ring's size */
2193
+ size: 'small' | 'medium' | 'large';
2194
+ connectedCallback(): void;
2195
+ render(): lit_html.TemplateResult<1>;
2196
+ }
2197
+
2198
+ declare global {
2199
+ interface HTMLElementTagNameMap {
2200
+ 'flow-ui-progress-ring': FlowUiProgressRing;
2201
+ }
2202
+ }
2203
+
2204
+ /**
2205
+ * @tagname flow-ui-busy-overlay
2206
+ * @summary Busy overlay is used to indicate that a component which displays data is being currently updated.
2207
+ *
2208
+ * @dependency flow-ui-progress-ring
2209
+ *
2210
+ * @slot - The component to overlay with when busy.
2211
+ * @slot busy-animation - The indeterminate custom loading animation to display when busy.
2212
+ *
2213
+ * @cssproperty --transition-delay - The delay after which the overlay is shown.
2214
+ * @cssproperty --transition-duration - The duration of the overlay's fade-in/out transition.
2215
+ * @cssproperty --progress-ring-size - The size of the default progress ring loading animation.
2216
+ * @cssproperty --progress-ring-track-width - The width of the default progress ring's track.
2217
+ * @cssproperty --progress-ring-track-color - The color of the default progress ring's track.
2218
+ * @cssproperty --overlay-background-color - The background color of the overlay.
2219
+ */
2220
+ declare class FlowUiBusyOverlay extends FlowRdfElement {
2221
+ static styles: CSSResultGroup;
2222
+ busy: boolean;
2223
+ /** The default loading animation's theme variant. */
2224
+ variant: 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger';
2225
+ /** Size of the loading animation */
2226
+ size: 'small' | 'medium' | 'large';
2227
+ /** To overlay the parent element */
2228
+ overlayParent: boolean;
2229
+ connectedCallback(): void;
2230
+ render(): lit_html.TemplateResult<1>;
2231
+ }
2232
+
2233
+ declare global {
2234
+ interface HTMLElementTagNameMap {
2235
+ 'flow-ui-busy-overlay': FlowUiBusyOverlay;
2236
+ }
2237
+ }
2238
+
2165
2239
  /**
2166
2240
  * @tagname flow-ui-button-group
2167
2241
  * @summary Button groups can be used to group related buttons into sections.
@@ -2200,36 +2274,11 @@ declare global {
2200
2274
  }
2201
2275
 
2202
2276
  /**
2203
- * @tagname flow-ui-spinner
2204
- * @summary Spinners are used to show the progress of an indeterminate operation.
2205
- *
2206
- * @csspart base - The component's base wrapper.
2207
- *
2208
- * @cssproperty --track-width - The width of the track.
2209
- * @cssproperty --track-color - The color of the track.
2210
- * @cssproperty --indicator-color - The color of the spinner's indicator.
2211
- * @cssproperty --speed - The time it takes for the spinner to complete one animation cycle.
2212
- */
2213
- declare class FlowUiSpinner extends FlowRdfElement {
2214
- static styles: CSSResultGroup;
2215
- private readonly localize;
2216
- render(): lit_html.TemplateResult<1>;
2217
- }
2218
-
2219
- declare global {
2220
- interface HTMLElementTagNameMap {
2221
- 'flow-ui-spinner': FlowUiSpinner;
2222
- }
2223
- }
2224
-
2225
- /**
2226
-
2227
- *
2228
2277
  * @tagname flow-ui-button
2229
2278
  * @summary Buttons represent actions that are available to the user.
2230
2279
  *
2231
2280
  * @dependency flow-ui-icon
2232
- * @dependency flow-ui-spinner
2281
+ * @dependency flow-ui-progress-ring
2233
2282
  *
2234
2283
  * @event flow-ui-blur - Emitted when the button loses focus.
2235
2284
  * @event flow-ui-focus - Emitted when the button gains focus.
@@ -4862,20 +4911,21 @@ declare global {
4862
4911
  * @csspart indicator - The progress bar's indicator.
4863
4912
  * @csspart label - The progress bar's label.
4864
4913
  *
4865
- * @cssproperty --height - The progress bar's height.
4914
+ * @cssproperty --track-height - The progress bar's thickness (same as the indicator's thickness).
4866
4915
  * @cssproperty --track-color - The color of the track.
4867
4916
  * @cssproperty --indicator-color - The color of the indicator.
4868
- * @cssproperty --label-color - The color of the label.
4869
4917
  */
4870
4918
  declare class FlowUiProgressBar extends FlowRdfElement {
4871
4919
  static styles: CSSResultGroup;
4872
4920
  private readonly localize;
4921
+ /** A custom label for assistive devices. */
4922
+ label: string;
4873
4923
  /** The current progress as a percentage, 0 to 100. */
4874
4924
  value: number;
4875
4925
  /** When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state. */
4876
4926
  indeterminate: boolean;
4877
- /** A custom label for assistive devices. */
4878
- label: string;
4927
+ /** The progress bar's theme variant */
4928
+ variant: 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger';
4879
4929
  connectedCallback(): void;
4880
4930
  render(): lit_html.TemplateResult<1>;
4881
4931
  }
@@ -4886,41 +4936,6 @@ declare global {
4886
4936
  }
4887
4937
  }
4888
4938
 
4889
- /**
4890
- * @tagname flow-ui-progress-ring
4891
- * @summary Progress rings are used to show the progress of a determinate operation in a circular fashion.
4892
- *
4893
- * @slot - A label to show inside the ring.
4894
- *
4895
- * @csspart base - The component's base wrapper.
4896
- * @csspart label - The progress ring label.
4897
- *
4898
- * @cssproperty --size - The diameter of the progress ring (cannot be a percentage).
4899
- * @cssproperty --track-width - The width of the track.
4900
- * @cssproperty --track-color - The color of the track.
4901
- * @cssproperty --indicator-width - The width of the indicator. Defaults to the track width.
4902
- * @cssproperty --indicator-color - The color of the indicator.
4903
- * @cssproperty --indicator-transition-duration - The duration of the indicator's transition when the value changes.
4904
- */
4905
- declare class FlowUiProgressRing extends FlowRdfElement {
4906
- static styles: CSSResultGroup;
4907
- private readonly localize;
4908
- indicator: SVGCircleElement;
4909
- indicatorOffset: string;
4910
- /** The current progress as a percentage, 0 to 100. */
4911
- value: number;
4912
- /** A custom label for assistive devices. */
4913
- label: string;
4914
- updated(changedProps: Map<string, unknown>): void;
4915
- render(): lit_html.TemplateResult<1>;
4916
- }
4917
-
4918
- declare global {
4919
- interface HTMLElementTagNameMap {
4920
- 'flow-ui-progress-ring': FlowUiProgressRing;
4921
- }
4922
- }
4923
-
4924
4939
  declare global {
4925
4940
  interface HTMLElementTagNameMap {
4926
4941
  'flow-ui-query-builder': FlowUiQueryBuilder;
@@ -6269,7 +6284,7 @@ declare global {
6269
6284
  *
6270
6285
  * @dependency flow-ui-checkbox
6271
6286
  * @dependency flow-ui-icon
6272
- * @dependency flow-ui-spinner
6287
+ * @dependency flow-ui-progress-ring
6273
6288
  *
6274
6289
  * @event flow-ui-expand - Emitted when the tree item expands.
6275
6290
  * @event flow-ui-after-expand - Emitted after the tree item expands and all animations are complete.
@@ -6473,4 +6488,4 @@ declare global {
6473
6488
  }
6474
6489
  }
6475
6490
 
6476
- export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, type FlowApplyEvent as FlowUiApplyEvent, FlowUiAvatar, FlowUiBadge, FlowUiBaseControl, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, FlowUiCheckboxGroup, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type FlowCollapseTreeEvent as FlowUiCollapseSplitViewEvent, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDialog, FlowUiDivider, type FlowDragDropEvent as FlowUiDragDrop, type FlowDragEndEvent as FlowUiDragEndEvent, type FlowDragEvent as FlowUiDragEvent, type FlowDragOverEvent as FlowUiDragOverEvent, type FlowDragStartEvent as FlowUiDragStartEvent, FlowUiDrawer, FlowUiDropdown, type FlowErrorEvent as FlowUiErrorEvent, type FlowExpandEvent as FlowUiExpandEvent, type FlowExpandTreeEvent as FlowUiExpandSplitViewEvent, type FlowFinishEvent as FlowUiFinishEvent, type FlowFocusEvent as FlowUiFocusEvent, FlowUiFormGroup, FlowUiGauge, type FlowHideEvent as FlowUiHideEvent, type FlowHoverEvent as FlowUiHoverEvent, FlowUiIcon, FlowUiIconButton, type FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowUiInput, type FlowInputEvent as FlowUiInputEvent, type FlowInvalidEvent as FlowUiInvalidEvent, type FlowLazyChangeEvent as FlowUiLazyChangeEvent, type FlowLazyLoadEvent as FlowUiLazyLoadEvent, FlowUiList, FlowUiListItem, type FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, type FlowMapLoadEvent as FlowUiMapLoadEvent, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, type FlowMutationEvent as FlowUiMutationEvent, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, type FlowPanelToggleEvent as FlowUiPanelToggleEvent, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, type FlowRemoveEvent as FlowUiRemoveEvent, type FlowRepositionEvent as FlowUiRepositionEvent, type FlowRequestCloseEvent as FlowUiRequestCloseEvent, type FlowResizeEvent as FlowUiResizeEvent, FlowUiResizeObserver, FlowUiScrollView, FlowUiSelect, type FlowSelectEvent as FlowUiSelectEvent, type FlowShowEvent as FlowUiShowEvent, type FlowSlideChange as FlowUiSlideChange, FlowUiSpinner, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, type FlowStartEvent as FlowUiStartEvent, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, type FlowTabHideEvent as FlowUiTabHideEvent, FlowUiTabPanel, type FlowTabShowEvent as FlowUiTabShowEvent, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, FlowUiVisuallyHidden, JavaScriptFilterError, type JavaScriptFilterFn, LocalizeController, type NumberColorMapperField, type NumberColorStopOptions, type SelectColorMapperField, type SelectColorStopOptions, type StringColorMapperField, type StringColorStopOptions, type Translation, addIcons, colorMapperValueToMaplibreExpression, countRuleSet, escapeMaplibreString, filterRuleSet, converter$2 as flowQueryConverter, getAnimationNames, getEasingNames, initialize, initializeChartJs, isRule, isRuleOrRuleset, isRuleSet, converter$1 as javascriptFilterConverter, converter as mapLayerFilterConverter, registerChartComponent, registerComponents, registerIconLibrary, registerTranslation, renameRuleSetFields, setDefaultLocale, setDefaultTimeZone, transformRuleSet, unregisterIconLibrary };
6491
+ export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, type FlowApplyEvent as FlowUiApplyEvent, FlowUiAvatar, FlowUiBadge, FlowUiBaseControl, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiBusyOverlay, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, FlowUiCheckboxGroup, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type FlowCollapseTreeEvent as FlowUiCollapseSplitViewEvent, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDialog, FlowUiDivider, type FlowDragDropEvent as FlowUiDragDrop, type FlowDragEndEvent as FlowUiDragEndEvent, type FlowDragEvent as FlowUiDragEvent, type FlowDragOverEvent as FlowUiDragOverEvent, type FlowDragStartEvent as FlowUiDragStartEvent, FlowUiDrawer, FlowUiDropdown, type FlowErrorEvent as FlowUiErrorEvent, type FlowExpandEvent as FlowUiExpandEvent, type FlowExpandTreeEvent as FlowUiExpandSplitViewEvent, type FlowFinishEvent as FlowUiFinishEvent, type FlowFocusEvent as FlowUiFocusEvent, FlowUiFormGroup, FlowUiGauge, type FlowHideEvent as FlowUiHideEvent, type FlowHoverEvent as FlowUiHoverEvent, FlowUiIcon, FlowUiIconButton, type FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowUiInput, type FlowInputEvent as FlowUiInputEvent, type FlowInvalidEvent as FlowUiInvalidEvent, type FlowLazyChangeEvent as FlowUiLazyChangeEvent, type FlowLazyLoadEvent as FlowUiLazyLoadEvent, FlowUiList, FlowUiListItem, type FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, type FlowMapLoadEvent as FlowUiMapLoadEvent, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, type FlowMutationEvent as FlowUiMutationEvent, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, type FlowPanelToggleEvent as FlowUiPanelToggleEvent, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, type FlowRemoveEvent as FlowUiRemoveEvent, type FlowRepositionEvent as FlowUiRepositionEvent, type FlowRequestCloseEvent as FlowUiRequestCloseEvent, type FlowResizeEvent as FlowUiResizeEvent, FlowUiResizeObserver, FlowUiScrollView, FlowUiSelect, type FlowSelectEvent as FlowUiSelectEvent, type FlowShowEvent as FlowUiShowEvent, type FlowSlideChange as FlowUiSlideChange, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, type FlowStartEvent as FlowUiStartEvent, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, type FlowTabHideEvent as FlowUiTabHideEvent, FlowUiTabPanel, type FlowTabShowEvent as FlowUiTabShowEvent, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, FlowUiVisuallyHidden, JavaScriptFilterError, type JavaScriptFilterFn, LocalizeController, type NumberColorMapperField, type NumberColorStopOptions, type SelectColorMapperField, type SelectColorStopOptions, type StringColorMapperField, type StringColorStopOptions, type Translation, addIcons, colorMapperValueToMaplibreExpression, countRuleSet, escapeMaplibreString, filterRuleSet, converter$2 as flowQueryConverter, getAnimationNames, getEasingNames, initialize, initializeChartJs, isRule, isRuleOrRuleset, isRuleSet, converter$1 as javascriptFilterConverter, converter as mapLayerFilterConverter, registerChartComponent, registerComponents, registerIconLibrary, registerTranslation, renameRuleSetFields, setDefaultLocale, setDefaultTimeZone, transformRuleSet, unregisterIconLibrary };
package/dist/index.d.ts CHANGED
@@ -2162,6 +2162,80 @@ declare global {
2162
2162
  }
2163
2163
  }
2164
2164
 
2165
+ /**
2166
+ * @tagname flow-ui-progress-ring
2167
+ * @summary Progress rings are used to show the progress of a determinate operation in a circular fashion.
2168
+ *
2169
+ * @slot label - A label to show inside the ring.
2170
+ *
2171
+ * @csspart base - The component's base wrapper.
2172
+ * @csspart label - The progress ring label.
2173
+ *
2174
+ * @cssproperty --size - The diameter of the progress ring (cannot be a percentage).
2175
+ * @cssproperty --track-width - The width of the track.
2176
+ * @cssproperty --track-color - The color of the track.
2177
+ * @cssproperty --indicator-width - The width of the indicator. Defaults to the track width.
2178
+ * @cssproperty --indicator-color - The color of the indicator.
2179
+ * @cssproperty --indicator-transition-duration - The duration of the indicator's transition when the value changes.
2180
+ */
2181
+ declare class FlowUiProgressRing extends FlowRdfElement {
2182
+ static styles: CSSResultGroup;
2183
+ private readonly localize;
2184
+ /** A custom label for assistive devices. */
2185
+ label: string;
2186
+ /** The current progress as a percentage, 0 to 100. */
2187
+ value: number;
2188
+ /** If the progress animation is indeterminate */
2189
+ indeterminate: boolean;
2190
+ /** The progress ring's theme variant */
2191
+ variant: 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger';
2192
+ /** The progress ring's size */
2193
+ size: 'small' | 'medium' | 'large';
2194
+ connectedCallback(): void;
2195
+ render(): lit_html.TemplateResult<1>;
2196
+ }
2197
+
2198
+ declare global {
2199
+ interface HTMLElementTagNameMap {
2200
+ 'flow-ui-progress-ring': FlowUiProgressRing;
2201
+ }
2202
+ }
2203
+
2204
+ /**
2205
+ * @tagname flow-ui-busy-overlay
2206
+ * @summary Busy overlay is used to indicate that a component which displays data is being currently updated.
2207
+ *
2208
+ * @dependency flow-ui-progress-ring
2209
+ *
2210
+ * @slot - The component to overlay with when busy.
2211
+ * @slot busy-animation - The indeterminate custom loading animation to display when busy.
2212
+ *
2213
+ * @cssproperty --transition-delay - The delay after which the overlay is shown.
2214
+ * @cssproperty --transition-duration - The duration of the overlay's fade-in/out transition.
2215
+ * @cssproperty --progress-ring-size - The size of the default progress ring loading animation.
2216
+ * @cssproperty --progress-ring-track-width - The width of the default progress ring's track.
2217
+ * @cssproperty --progress-ring-track-color - The color of the default progress ring's track.
2218
+ * @cssproperty --overlay-background-color - The background color of the overlay.
2219
+ */
2220
+ declare class FlowUiBusyOverlay extends FlowRdfElement {
2221
+ static styles: CSSResultGroup;
2222
+ busy: boolean;
2223
+ /** The default loading animation's theme variant. */
2224
+ variant: 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger';
2225
+ /** Size of the loading animation */
2226
+ size: 'small' | 'medium' | 'large';
2227
+ /** To overlay the parent element */
2228
+ overlayParent: boolean;
2229
+ connectedCallback(): void;
2230
+ render(): lit_html.TemplateResult<1>;
2231
+ }
2232
+
2233
+ declare global {
2234
+ interface HTMLElementTagNameMap {
2235
+ 'flow-ui-busy-overlay': FlowUiBusyOverlay;
2236
+ }
2237
+ }
2238
+
2165
2239
  /**
2166
2240
  * @tagname flow-ui-button-group
2167
2241
  * @summary Button groups can be used to group related buttons into sections.
@@ -2200,36 +2274,11 @@ declare global {
2200
2274
  }
2201
2275
 
2202
2276
  /**
2203
- * @tagname flow-ui-spinner
2204
- * @summary Spinners are used to show the progress of an indeterminate operation.
2205
- *
2206
- * @csspart base - The component's base wrapper.
2207
- *
2208
- * @cssproperty --track-width - The width of the track.
2209
- * @cssproperty --track-color - The color of the track.
2210
- * @cssproperty --indicator-color - The color of the spinner's indicator.
2211
- * @cssproperty --speed - The time it takes for the spinner to complete one animation cycle.
2212
- */
2213
- declare class FlowUiSpinner extends FlowRdfElement {
2214
- static styles: CSSResultGroup;
2215
- private readonly localize;
2216
- render(): lit_html.TemplateResult<1>;
2217
- }
2218
-
2219
- declare global {
2220
- interface HTMLElementTagNameMap {
2221
- 'flow-ui-spinner': FlowUiSpinner;
2222
- }
2223
- }
2224
-
2225
- /**
2226
-
2227
- *
2228
2277
  * @tagname flow-ui-button
2229
2278
  * @summary Buttons represent actions that are available to the user.
2230
2279
  *
2231
2280
  * @dependency flow-ui-icon
2232
- * @dependency flow-ui-spinner
2281
+ * @dependency flow-ui-progress-ring
2233
2282
  *
2234
2283
  * @event flow-ui-blur - Emitted when the button loses focus.
2235
2284
  * @event flow-ui-focus - Emitted when the button gains focus.
@@ -4862,20 +4911,21 @@ declare global {
4862
4911
  * @csspart indicator - The progress bar's indicator.
4863
4912
  * @csspart label - The progress bar's label.
4864
4913
  *
4865
- * @cssproperty --height - The progress bar's height.
4914
+ * @cssproperty --track-height - The progress bar's thickness (same as the indicator's thickness).
4866
4915
  * @cssproperty --track-color - The color of the track.
4867
4916
  * @cssproperty --indicator-color - The color of the indicator.
4868
- * @cssproperty --label-color - The color of the label.
4869
4917
  */
4870
4918
  declare class FlowUiProgressBar extends FlowRdfElement {
4871
4919
  static styles: CSSResultGroup;
4872
4920
  private readonly localize;
4921
+ /** A custom label for assistive devices. */
4922
+ label: string;
4873
4923
  /** The current progress as a percentage, 0 to 100. */
4874
4924
  value: number;
4875
4925
  /** When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state. */
4876
4926
  indeterminate: boolean;
4877
- /** A custom label for assistive devices. */
4878
- label: string;
4927
+ /** The progress bar's theme variant */
4928
+ variant: 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger';
4879
4929
  connectedCallback(): void;
4880
4930
  render(): lit_html.TemplateResult<1>;
4881
4931
  }
@@ -4886,41 +4936,6 @@ declare global {
4886
4936
  }
4887
4937
  }
4888
4938
 
4889
- /**
4890
- * @tagname flow-ui-progress-ring
4891
- * @summary Progress rings are used to show the progress of a determinate operation in a circular fashion.
4892
- *
4893
- * @slot - A label to show inside the ring.
4894
- *
4895
- * @csspart base - The component's base wrapper.
4896
- * @csspart label - The progress ring label.
4897
- *
4898
- * @cssproperty --size - The diameter of the progress ring (cannot be a percentage).
4899
- * @cssproperty --track-width - The width of the track.
4900
- * @cssproperty --track-color - The color of the track.
4901
- * @cssproperty --indicator-width - The width of the indicator. Defaults to the track width.
4902
- * @cssproperty --indicator-color - The color of the indicator.
4903
- * @cssproperty --indicator-transition-duration - The duration of the indicator's transition when the value changes.
4904
- */
4905
- declare class FlowUiProgressRing extends FlowRdfElement {
4906
- static styles: CSSResultGroup;
4907
- private readonly localize;
4908
- indicator: SVGCircleElement;
4909
- indicatorOffset: string;
4910
- /** The current progress as a percentage, 0 to 100. */
4911
- value: number;
4912
- /** A custom label for assistive devices. */
4913
- label: string;
4914
- updated(changedProps: Map<string, unknown>): void;
4915
- render(): lit_html.TemplateResult<1>;
4916
- }
4917
-
4918
- declare global {
4919
- interface HTMLElementTagNameMap {
4920
- 'flow-ui-progress-ring': FlowUiProgressRing;
4921
- }
4922
- }
4923
-
4924
4939
  declare global {
4925
4940
  interface HTMLElementTagNameMap {
4926
4941
  'flow-ui-query-builder': FlowUiQueryBuilder;
@@ -6269,7 +6284,7 @@ declare global {
6269
6284
  *
6270
6285
  * @dependency flow-ui-checkbox
6271
6286
  * @dependency flow-ui-icon
6272
- * @dependency flow-ui-spinner
6287
+ * @dependency flow-ui-progress-ring
6273
6288
  *
6274
6289
  * @event flow-ui-expand - Emitted when the tree item expands.
6275
6290
  * @event flow-ui-after-expand - Emitted after the tree item expands and all animations are complete.
@@ -6473,4 +6488,4 @@ declare global {
6473
6488
  }
6474
6489
  }
6475
6490
 
6476
- export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, type FlowApplyEvent as FlowUiApplyEvent, FlowUiAvatar, FlowUiBadge, FlowUiBaseControl, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, FlowUiCheckboxGroup, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type FlowCollapseTreeEvent as FlowUiCollapseSplitViewEvent, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDialog, FlowUiDivider, type FlowDragDropEvent as FlowUiDragDrop, type FlowDragEndEvent as FlowUiDragEndEvent, type FlowDragEvent as FlowUiDragEvent, type FlowDragOverEvent as FlowUiDragOverEvent, type FlowDragStartEvent as FlowUiDragStartEvent, FlowUiDrawer, FlowUiDropdown, type FlowErrorEvent as FlowUiErrorEvent, type FlowExpandEvent as FlowUiExpandEvent, type FlowExpandTreeEvent as FlowUiExpandSplitViewEvent, type FlowFinishEvent as FlowUiFinishEvent, type FlowFocusEvent as FlowUiFocusEvent, FlowUiFormGroup, FlowUiGauge, type FlowHideEvent as FlowUiHideEvent, type FlowHoverEvent as FlowUiHoverEvent, FlowUiIcon, FlowUiIconButton, type FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowUiInput, type FlowInputEvent as FlowUiInputEvent, type FlowInvalidEvent as FlowUiInvalidEvent, type FlowLazyChangeEvent as FlowUiLazyChangeEvent, type FlowLazyLoadEvent as FlowUiLazyLoadEvent, FlowUiList, FlowUiListItem, type FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, type FlowMapLoadEvent as FlowUiMapLoadEvent, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, type FlowMutationEvent as FlowUiMutationEvent, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, type FlowPanelToggleEvent as FlowUiPanelToggleEvent, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, type FlowRemoveEvent as FlowUiRemoveEvent, type FlowRepositionEvent as FlowUiRepositionEvent, type FlowRequestCloseEvent as FlowUiRequestCloseEvent, type FlowResizeEvent as FlowUiResizeEvent, FlowUiResizeObserver, FlowUiScrollView, FlowUiSelect, type FlowSelectEvent as FlowUiSelectEvent, type FlowShowEvent as FlowUiShowEvent, type FlowSlideChange as FlowUiSlideChange, FlowUiSpinner, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, type FlowStartEvent as FlowUiStartEvent, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, type FlowTabHideEvent as FlowUiTabHideEvent, FlowUiTabPanel, type FlowTabShowEvent as FlowUiTabShowEvent, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, FlowUiVisuallyHidden, JavaScriptFilterError, type JavaScriptFilterFn, LocalizeController, type NumberColorMapperField, type NumberColorStopOptions, type SelectColorMapperField, type SelectColorStopOptions, type StringColorMapperField, type StringColorStopOptions, type Translation, addIcons, colorMapperValueToMaplibreExpression, countRuleSet, escapeMaplibreString, filterRuleSet, converter$2 as flowQueryConverter, getAnimationNames, getEasingNames, initialize, initializeChartJs, isRule, isRuleOrRuleset, isRuleSet, converter$1 as javascriptFilterConverter, converter as mapLayerFilterConverter, registerChartComponent, registerComponents, registerIconLibrary, registerTranslation, renameRuleSetFields, setDefaultLocale, setDefaultTimeZone, transformRuleSet, unregisterIconLibrary };
6491
+ export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, type FlowApplyEvent as FlowUiApplyEvent, FlowUiAvatar, FlowUiBadge, FlowUiBaseControl, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiBusyOverlay, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, FlowUiCheckboxGroup, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type FlowCollapseTreeEvent as FlowUiCollapseSplitViewEvent, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDialog, FlowUiDivider, type FlowDragDropEvent as FlowUiDragDrop, type FlowDragEndEvent as FlowUiDragEndEvent, type FlowDragEvent as FlowUiDragEvent, type FlowDragOverEvent as FlowUiDragOverEvent, type FlowDragStartEvent as FlowUiDragStartEvent, FlowUiDrawer, FlowUiDropdown, type FlowErrorEvent as FlowUiErrorEvent, type FlowExpandEvent as FlowUiExpandEvent, type FlowExpandTreeEvent as FlowUiExpandSplitViewEvent, type FlowFinishEvent as FlowUiFinishEvent, type FlowFocusEvent as FlowUiFocusEvent, FlowUiFormGroup, FlowUiGauge, type FlowHideEvent as FlowUiHideEvent, type FlowHoverEvent as FlowUiHoverEvent, FlowUiIcon, FlowUiIconButton, type FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowUiInput, type FlowInputEvent as FlowUiInputEvent, type FlowInvalidEvent as FlowUiInvalidEvent, type FlowLazyChangeEvent as FlowUiLazyChangeEvent, type FlowLazyLoadEvent as FlowUiLazyLoadEvent, FlowUiList, FlowUiListItem, type FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, type FlowMapLoadEvent as FlowUiMapLoadEvent, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, type FlowMutationEvent as FlowUiMutationEvent, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, type FlowPanelToggleEvent as FlowUiPanelToggleEvent, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, type FlowRemoveEvent as FlowUiRemoveEvent, type FlowRepositionEvent as FlowUiRepositionEvent, type FlowRequestCloseEvent as FlowUiRequestCloseEvent, type FlowResizeEvent as FlowUiResizeEvent, FlowUiResizeObserver, FlowUiScrollView, FlowUiSelect, type FlowSelectEvent as FlowUiSelectEvent, type FlowShowEvent as FlowUiShowEvent, type FlowSlideChange as FlowUiSlideChange, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, type FlowStartEvent as FlowUiStartEvent, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, type FlowTabHideEvent as FlowUiTabHideEvent, FlowUiTabPanel, type FlowTabShowEvent as FlowUiTabShowEvent, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, FlowUiVisuallyHidden, JavaScriptFilterError, type JavaScriptFilterFn, LocalizeController, type NumberColorMapperField, type NumberColorStopOptions, type SelectColorMapperField, type SelectColorStopOptions, type StringColorMapperField, type StringColorStopOptions, type Translation, addIcons, colorMapperValueToMaplibreExpression, countRuleSet, escapeMaplibreString, filterRuleSet, converter$2 as flowQueryConverter, getAnimationNames, getEasingNames, initialize, initializeChartJs, isRule, isRuleOrRuleset, isRuleSet, converter$1 as javascriptFilterConverter, converter as mapLayerFilterConverter, registerChartComponent, registerComponents, registerIconLibrary, registerTranslation, renameRuleSetFields, setDefaultLocale, setDefaultTimeZone, transformRuleSet, unregisterIconLibrary };
package/dist/index.mjs CHANGED
@@ -6,6 +6,7 @@ export { default as FlowUiBadge } from './components/badge/badge.component.mjs';
6
6
  export { default as FlowUiBaseControl } from './components/base-control/base-control.component.mjs';
7
7
  export { default as FlowUiBreadcrumbItem } from './components/breadcrumb-item/breadcrumb-item.component.mjs';
8
8
  export { default as FlowUiBreadcrumb } from './components/breadcrumb/breadcrumb.component.mjs';
9
+ export { default as FlowUiBusyOverlay } from './components/busy-overlay/busy-overlay.component.mjs';
9
10
  export { default as FlowUiButtonGroup } from './components/button-group/button-group.component.mjs';
10
11
  export { default as FlowUiButton } from './components/button/button.component.mjs';
11
12
  export { default as FlowUiCalendar } from './components/calendar/calendar.component.mjs';
@@ -49,7 +50,6 @@ export { default as FlowUiRange } from './components/range/range.component.mjs';
49
50
  export { default as FlowUiResizeObserver } from './components/resize-observer/resize-observer.component.mjs';
50
51
  export { default as FlowUiScrollView } from './components/scroll-view/scroll-view.component.mjs';
51
52
  export { default as FlowUiSelect } from './components/select/select.component.mjs';
52
- export { default as FlowUiSpinner } from './components/spinner/spinner.component.mjs';
53
53
  export { default as FlowUiSplitViewDivider } from './components/split-view-divider/split-view-divider.component.mjs';
54
54
  export { default as FlowUiSplitViewPane } from './components/split-view-pane/split-view-pane.component.mjs';
55
55
  export { default as FlowUiSplitViewToggleButton } from './components/split-view-toggle-button/split-view-toggle-button.component.mjs';
@@ -1,3 +1,3 @@
1
- const version = "4.1.0";
1
+ const version = "4.1.1";
2
2
 
3
3
  export { version };
@@ -5,6 +5,7 @@ import FlowUiBadge from '../components/badge/badge.component.mjs';
5
5
  import FlowUiBaseControl from '../components/base-control/base-control.component.mjs';
6
6
  import FlowUiBreadcrumbItem from '../components/breadcrumb-item/breadcrumb-item.component.mjs';
7
7
  import FlowUiBreadcrumb from '../components/breadcrumb/breadcrumb.component.mjs';
8
+ import FlowUiBusyOverlay from '../components/busy-overlay/busy-overlay.component.mjs';
8
9
  import FlowUiButtonGroup from '../components/button-group/button-group.component.mjs';
9
10
  import FlowUiButton from '../components/button/button.component.mjs';
10
11
  import FlowUiCalendar from '../components/calendar/calendar.component.mjs';
@@ -48,7 +49,6 @@ import FlowUiRange from '../components/range/range.component.mjs';
48
49
  import FlowUiResizeObserver from '../components/resize-observer/resize-observer.component.mjs';
49
50
  import FlowUiScrollView from '../components/scroll-view/scroll-view.component.mjs';
50
51
  import FlowUiSelect from '../components/select/select.component.mjs';
51
- import FlowUiSpinner from '../components/spinner/spinner.component.mjs';
52
52
  import FlowUiSplitViewDivider from '../components/split-view-divider/split-view-divider.component.mjs';
53
53
  import FlowUiSplitViewPane from '../components/split-view-pane/split-view-pane.component.mjs';
54
54
  import FlowUiSplitViewToggleButton from '../components/split-view-toggle-button/split-view-toggle-button.component.mjs';
@@ -77,6 +77,7 @@ async function registerComponents() {
77
77
  FlowUiBaseControl.define("flow-ui-base-control");
78
78
  FlowUiBreadcrumbItem.define("flow-ui-breadcrumb-item");
79
79
  FlowUiBreadcrumb.define("flow-ui-breadcrumb");
80
+ FlowUiBusyOverlay.define("flow-ui-busy-overlay");
80
81
  FlowUiButtonGroup.define("flow-ui-button-group");
81
82
  FlowUiButton.define("flow-ui-button");
82
83
  FlowUiCalendar.define("flow-ui-calendar");
@@ -121,7 +122,6 @@ async function registerComponents() {
121
122
  FlowUiResizeObserver.define("flow-ui-resize-observer");
122
123
  FlowUiScrollView.define("flow-ui-scroll-view");
123
124
  FlowUiSelect.define("flow-ui-select");
124
- FlowUiSpinner.define("flow-ui-spinner");
125
125
  FlowUiSplitViewDivider.define("flow-ui-split-view-divider");
126
126
  FlowUiSplitViewPane.define("flow-ui-split-view-pane");
127
127
  FlowUiSplitViewToggleButton.define("flow-ui-split-view-toggle-button");