@openremote/or-vaadin-components 1.25.0-snapshot.20260618114008 → 1.25.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.
@@ -20,7 +20,6 @@ import type {
20
20
  OrVaadinDialog,
21
21
  } from "./lib/or-vaadin-dialog.d.ts";
22
22
  import type { OrVaadinEmailField } from "./lib/or-vaadin-email-field.d.ts";
23
- import type { OrVaadinIcon } from "./lib/or-vaadin-icon.d.ts";
24
23
  import type { OrVaadinInput } from "./lib/or-vaadin-input.d.ts";
25
24
  import type { OrVaadinItem } from "./lib/or-vaadin-item.d.ts";
26
25
  import type { OrVaadinListBox } from "./lib/or-vaadin-list-box.d.ts";
@@ -1968,143 +1967,6 @@ the clear icon element should be provided via the `clearElement` getter. */
1968
1967
  textContent?: string | number;
1969
1968
  };
1970
1969
 
1971
- export type OrVaadinIconProps = {
1972
- /** */
1973
- class?: unknown;
1974
- /** */
1975
- undefined?: unknown;
1976
- /** The name of the icon to use. The name should be of the form:
1977
- `iconset_name:icon_name`. When using `vaadin-icons` it is possible
1978
- to omit the first part and only use `icon_name` as a value.
1979
-
1980
- Setting the `icon` property updates the `svg` and `size` based on the
1981
- values provided by the corresponding `vaadin-iconset` element.
1982
-
1983
- See also [`name`](#/elements/vaadin-iconset#property-name) property of `vaadin-iconset`. */
1984
- icon?: OrVaadinIcon["icon"];
1985
- /** The SVG icon wrapped in a Lit template literal. */
1986
- svg?: OrVaadinIcon["svg"];
1987
- /** The SVG source to be loaded as the icon. It can be:
1988
- - an URL to a file containing the icon
1989
- - an URL in the format `/path/to/file.svg#objectID`, where the `objectID` refers to an ID attribute contained
1990
- inside the SVG referenced by the path. Note that the file needs to follow the same-origin policy.
1991
- - a string in the format `data:image/svg+xml,<svg>...</svg>`. You may need to use the `encodeURIComponent`
1992
- function for the SVG content passed */
1993
- src?: OrVaadinIcon["src"];
1994
- /** The symbol identifier that references an ID of an element contained in the SVG element assigned to the
1995
- `src` property */
1996
- symbol?: OrVaadinIcon["symbol"];
1997
- /** Class names defining an icon font and/or a specific glyph inside an icon font.
1998
-
1999
- Example: "fa-solid fa-user" */
2000
- iconClass?: OrVaadinIcon["iconClass"];
2001
- /** A hexadecimal code point that specifies a glyph from an icon font.
2002
-
2003
- Example: "e001" */
2004
- char?: OrVaadinIcon["char"];
2005
- /** A ligature name that specifies an icon from an icon font with support for ligatures.
2006
-
2007
- Example: "home". */
2008
- ligature?: OrVaadinIcon["ligature"];
2009
- /** The font family to use for the font icon. */
2010
- fontFamily?: OrVaadinIcon["fontFamily"];
2011
- /** The size of an icon, used to set the `viewBox` attribute. */
2012
- size?: OrVaadinIcon["size"];
2013
- /** */
2014
- __preserveAspectRatio?: OrVaadinIcon["__preserveAspectRatio"];
2015
- /** */
2016
- __useRef?: OrVaadinIcon["__useRef"];
2017
- /** */
2018
- __viewBox?: OrVaadinIcon["__viewBox"];
2019
- /** */
2020
- __fill?: OrVaadinIcon["__fill"];
2021
- /** */
2022
- __stroke?: OrVaadinIcon["__stroke"];
2023
- /** */
2024
- __strokeWidth?: OrVaadinIcon["__strokeWidth"];
2025
- /** */
2026
- __strokeLinecap?: OrVaadinIcon["__strokeLinecap"];
2027
- /** */
2028
- __strokeLinejoin?: OrVaadinIcon["__strokeLinejoin"];
2029
- /** */
2030
- dir?: OrVaadinIcon["dir"];
2031
- /** Set when the icon has a slotted tooltip */
2032
- "has-tooltip"?: unknown;
2033
- /** */
2034
- __fetch?: OrVaadinIcon["__fetch"];
2035
- };
2036
-
2037
- export type OrVaadinIconSolidJsProps = {
2038
- /** */
2039
- "attr:class"?: unknown;
2040
- /** */
2041
- "prop:undefined"?: unknown;
2042
- /** The name of the icon to use. The name should be of the form:
2043
- `iconset_name:icon_name`. When using `vaadin-icons` it is possible
2044
- to omit the first part and only use `icon_name` as a value.
2045
-
2046
- Setting the `icon` property updates the `svg` and `size` based on the
2047
- values provided by the corresponding `vaadin-iconset` element.
2048
-
2049
- See also [`name`](#/elements/vaadin-iconset#property-name) property of `vaadin-iconset`. */
2050
- "prop:icon"?: OrVaadinIcon["icon"];
2051
- /** The SVG icon wrapped in a Lit template literal. */
2052
- "prop:svg"?: OrVaadinIcon["svg"];
2053
- /** The SVG source to be loaded as the icon. It can be:
2054
- - an URL to a file containing the icon
2055
- - an URL in the format `/path/to/file.svg#objectID`, where the `objectID` refers to an ID attribute contained
2056
- inside the SVG referenced by the path. Note that the file needs to follow the same-origin policy.
2057
- - a string in the format `data:image/svg+xml,<svg>...</svg>`. You may need to use the `encodeURIComponent`
2058
- function for the SVG content passed */
2059
- "prop:src"?: OrVaadinIcon["src"];
2060
- /** The symbol identifier that references an ID of an element contained in the SVG element assigned to the
2061
- `src` property */
2062
- "prop:symbol"?: OrVaadinIcon["symbol"];
2063
- /** Class names defining an icon font and/or a specific glyph inside an icon font.
2064
-
2065
- Example: "fa-solid fa-user" */
2066
- "prop:iconClass"?: OrVaadinIcon["iconClass"];
2067
- /** A hexadecimal code point that specifies a glyph from an icon font.
2068
-
2069
- Example: "e001" */
2070
- "prop:char"?: OrVaadinIcon["char"];
2071
- /** A ligature name that specifies an icon from an icon font with support for ligatures.
2072
-
2073
- Example: "home". */
2074
- "prop:ligature"?: OrVaadinIcon["ligature"];
2075
- /** The font family to use for the font icon. */
2076
- "prop:fontFamily"?: OrVaadinIcon["fontFamily"];
2077
- /** The size of an icon, used to set the `viewBox` attribute. */
2078
- "prop:size"?: OrVaadinIcon["size"];
2079
- /** */
2080
- "prop:__preserveAspectRatio"?: OrVaadinIcon["__preserveAspectRatio"];
2081
- /** */
2082
- "prop:__useRef"?: OrVaadinIcon["__useRef"];
2083
- /** */
2084
- "prop:__viewBox"?: OrVaadinIcon["__viewBox"];
2085
- /** */
2086
- "prop:__fill"?: OrVaadinIcon["__fill"];
2087
- /** */
2088
- "prop:__stroke"?: OrVaadinIcon["__stroke"];
2089
- /** */
2090
- "prop:__strokeWidth"?: OrVaadinIcon["__strokeWidth"];
2091
- /** */
2092
- "prop:__strokeLinecap"?: OrVaadinIcon["__strokeLinecap"];
2093
- /** */
2094
- "prop:__strokeLinejoin"?: OrVaadinIcon["__strokeLinejoin"];
2095
- /** */
2096
- "prop:dir"?: OrVaadinIcon["dir"];
2097
- /** Set when the icon has a slotted tooltip */
2098
- "bool:has-tooltip"?: unknown;
2099
- /** */
2100
- "prop:__fetch"?: OrVaadinIcon["__fetch"];
2101
-
2102
- /** Set the innerHTML of the element */
2103
- innerHTML?: string;
2104
- /** Set the textContent of the element */
2105
- textContent?: string | number;
2106
- };
2107
-
2108
1970
  export type OrVaadinInputProps = {
2109
1971
  /** The input type that determines which Vaadin component to render.
2110
1972
  Refer to InputType and OrVaadinInput.TEMPLATES for the supported types. */
@@ -11746,82 +11608,6 @@ export type CustomElements = {
11746
11608
  OrVaadinEmailFieldProps & BaseProps<OrVaadinEmailField> & BaseEvents
11747
11609
  >;
11748
11610
 
11749
- /**
11750
- *
11751
- *
11752
- * ## Attributes & Properties
11753
- *
11754
- * Component attributes and properties that can be applied to the element or by using JavaScript.
11755
- *
11756
- * - `class`/`undefined`: undefined
11757
- * - `icon`: The name of the icon to use. The name should be of the form:
11758
- * `iconset_name:icon_name`. When using `vaadin-icons` it is possible
11759
- * to omit the first part and only use `icon_name` as a value.
11760
- *
11761
- * Setting the `icon` property updates the `svg` and `size` based on the
11762
- * values provided by the corresponding `vaadin-iconset` element.
11763
- *
11764
- * See also [`name`](#/elements/vaadin-iconset#property-name) property of `vaadin-iconset`.
11765
- * - `svg`: The SVG icon wrapped in a Lit template literal.
11766
- * - `src`: The SVG source to be loaded as the icon. It can be:
11767
- * - an URL to a file containing the icon
11768
- * - an URL in the format `/path/to/file.svg#objectID`, where the `objectID` refers to an ID attribute contained
11769
- * inside the SVG referenced by the path. Note that the file needs to follow the same-origin policy.
11770
- * - a string in the format `data:image/svg+xml,<svg>...</svg>`. You may need to use the `encodeURIComponent`
11771
- * function for the SVG content passed
11772
- * - `symbol`: The symbol identifier that references an ID of an element contained in the SVG element assigned to the
11773
- * `src` property
11774
- * - `iconClass`: Class names defining an icon font and/or a specific glyph inside an icon font.
11775
- *
11776
- * Example: "fa-solid fa-user"
11777
- * - `char`: A hexadecimal code point that specifies a glyph from an icon font.
11778
- *
11779
- * Example: "e001"
11780
- * - `ligature`: A ligature name that specifies an icon from an icon font with support for ligatures.
11781
- *
11782
- * Example: "home".
11783
- * - `fontFamily`: The font family to use for the font icon.
11784
- * - `size`: The size of an icon, used to set the `viewBox` attribute.
11785
- * - `__preserveAspectRatio`: undefined
11786
- * - `__useRef`: undefined
11787
- * - `__viewBox`: undefined
11788
- * - `__fill`: undefined
11789
- * - `__stroke`: undefined
11790
- * - `__strokeWidth`: undefined
11791
- * - `__strokeLinecap`: undefined
11792
- * - `__strokeLinejoin`: undefined
11793
- * - `dir`: undefined
11794
- * - `has-tooltip`/`undefined`: Set when the icon has a slotted tooltip
11795
- * - `__fetch`: undefined (property only)
11796
- *
11797
- * ## Events
11798
- *
11799
- * Events that will be emitted by the component.
11800
- *
11801
- * - `undefined`: undefined
11802
- *
11803
- * ## Methods
11804
- *
11805
- * Methods that can be called to access component functionality.
11806
- *
11807
- * - `createProperty(name, options) => void`: undefined
11808
- * - `getOrCreateMap(name) => void`: undefined
11809
- * - `addCheckedInitializer(initializer) => void`: undefined
11810
- * - `getPropertyDescriptor(name, key, options) => void`: undefined
11811
- *
11812
- * ## CSS Custom Properties
11813
- *
11814
- * CSS variables available for styling the component.
11815
- *
11816
- * - `--vaadin-icon-size`: Size (width and height) of the icon (default: `undefined`)
11817
- * - `--vaadin-icon-stroke-width`: Stroke width of the SVG icon (default: `undefined`)
11818
- * - `--vaadin-icon-visual-size`: Visual size of the icon (default: `undefined`)
11819
- * - `has-tooltip`: Set when the icon has a slotted tooltip (default: `undefined`)
11820
- */
11821
- "or-vaadin-icon": Partial<
11822
- OrVaadinIconProps & BaseProps<OrVaadinIcon> & BaseEvents
11823
- >;
11824
-
11825
11611
  /**
11826
11612
  * Custom element that wraps various Vaadin input components based on the specified `type`.
11827
11613
  * Provides a unified interface for interacting with different types of inputs.
@@ -19146,85 +18932,6 @@ export type CustomElementsSolidJs = {
19146
18932
  BaseEvents
19147
18933
  >;
19148
18934
 
19149
- /**
19150
- *
19151
- *
19152
- * ## Attributes & Properties
19153
- *
19154
- * Component attributes and properties that can be applied to the element or by using JavaScript.
19155
- *
19156
- * - `class`/`undefined`: undefined
19157
- * - `icon`: The name of the icon to use. The name should be of the form:
19158
- * `iconset_name:icon_name`. When using `vaadin-icons` it is possible
19159
- * to omit the first part and only use `icon_name` as a value.
19160
- *
19161
- * Setting the `icon` property updates the `svg` and `size` based on the
19162
- * values provided by the corresponding `vaadin-iconset` element.
19163
- *
19164
- * See also [`name`](#/elements/vaadin-iconset#property-name) property of `vaadin-iconset`.
19165
- * - `svg`: The SVG icon wrapped in a Lit template literal.
19166
- * - `src`: The SVG source to be loaded as the icon. It can be:
19167
- * - an URL to a file containing the icon
19168
- * - an URL in the format `/path/to/file.svg#objectID`, where the `objectID` refers to an ID attribute contained
19169
- * inside the SVG referenced by the path. Note that the file needs to follow the same-origin policy.
19170
- * - a string in the format `data:image/svg+xml,<svg>...</svg>`. You may need to use the `encodeURIComponent`
19171
- * function for the SVG content passed
19172
- * - `symbol`: The symbol identifier that references an ID of an element contained in the SVG element assigned to the
19173
- * `src` property
19174
- * - `iconClass`: Class names defining an icon font and/or a specific glyph inside an icon font.
19175
- *
19176
- * Example: "fa-solid fa-user"
19177
- * - `char`: A hexadecimal code point that specifies a glyph from an icon font.
19178
- *
19179
- * Example: "e001"
19180
- * - `ligature`: A ligature name that specifies an icon from an icon font with support for ligatures.
19181
- *
19182
- * Example: "home".
19183
- * - `fontFamily`: The font family to use for the font icon.
19184
- * - `size`: The size of an icon, used to set the `viewBox` attribute.
19185
- * - `__preserveAspectRatio`: undefined
19186
- * - `__useRef`: undefined
19187
- * - `__viewBox`: undefined
19188
- * - `__fill`: undefined
19189
- * - `__stroke`: undefined
19190
- * - `__strokeWidth`: undefined
19191
- * - `__strokeLinecap`: undefined
19192
- * - `__strokeLinejoin`: undefined
19193
- * - `dir`: undefined
19194
- * - `has-tooltip`/`undefined`: Set when the icon has a slotted tooltip
19195
- * - `__fetch`: undefined (property only)
19196
- *
19197
- * ## Events
19198
- *
19199
- * Events that will be emitted by the component.
19200
- *
19201
- * - `undefined`: undefined
19202
- *
19203
- * ## Methods
19204
- *
19205
- * Methods that can be called to access component functionality.
19206
- *
19207
- * - `createProperty(name, options) => void`: undefined
19208
- * - `getOrCreateMap(name) => void`: undefined
19209
- * - `addCheckedInitializer(initializer) => void`: undefined
19210
- * - `getPropertyDescriptor(name, key, options) => void`: undefined
19211
- *
19212
- * ## CSS Custom Properties
19213
- *
19214
- * CSS variables available for styling the component.
19215
- *
19216
- * - `--vaadin-icon-size`: Size (width and height) of the icon (default: `undefined`)
19217
- * - `--vaadin-icon-stroke-width`: Stroke width of the SVG icon (default: `undefined`)
19218
- * - `--vaadin-icon-visual-size`: Visual size of the icon (default: `undefined`)
19219
- * - `has-tooltip`: Set when the icon has a slotted tooltip (default: `undefined`)
19220
- */
19221
- "or-vaadin-icon": Partial<
19222
- OrVaadinIconProps &
19223
- OrVaadinIconSolidJsProps &
19224
- BaseProps<OrVaadinIcon> &
19225
- BaseEvents
19226
- >;
19227
-
19228
18935
  /**
19229
18936
  * Custom element that wraps various Vaadin input components based on the specified `type`.
19230
18937
  * Provides a unified interface for interacting with different types of inputs.
@@ -25928,14 +25635,6 @@ export type CustomCssProperties = {
25928
25635
  "--vaadin-dialog-title-line-height"?: string;
25929
25636
  /** See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation. */
25930
25637
  "--vaadin-overlay-backdrop-background"?: string;
25931
- /** Size (width and height) of the icon */
25932
- "--vaadin-icon-size"?: string;
25933
- /** Stroke width of the SVG icon */
25934
- "--vaadin-icon-stroke-width"?: string;
25935
- /** Visual size of the icon */
25936
- "--vaadin-icon-visual-size"?: string;
25937
- /** Set when the icon has a slotted tooltip */
25938
- "has-tooltip"?: string;
25939
25638
  /** */
25940
25639
  "--vaadin-item-border-radius"?: string;
25941
25640
  /** */
@@ -26028,6 +25727,14 @@ export type CustomCssProperties = {
26028
25727
  "<vaadin-list-box>"?: string;
26029
25728
  /** Expanded parent item. */
26030
25729
  expanded?: string;
25730
+ /** Size (width and height) of the icon */
25731
+ "--vaadin-icon-size"?: string;
25732
+ /** Stroke width of the SVG icon */
25733
+ "--vaadin-icon-stroke-width"?: string;
25734
+ /** Visual size of the icon */
25735
+ "--vaadin-icon-visual-size"?: string;
25736
+ /** Set when the icon has a slotted tooltip */
25737
+ "has-tooltip"?: string;
26031
25738
  /** Bottom offset of the visible viewport area */
26032
25739
  "--vaadin-overlay-viewport-bottom"?: string;
26033
25740
  /** */