@openremote/or-vaadin-components 1.26.0 → 1.27.0-snapshot.20260630125512

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.
@@ -43,8 +43,8 @@ import type { OrVaadinSlider } from "./lib/or-vaadin-slider.d.ts";
43
43
  import type { OrVaadinTextArea } from "./lib/or-vaadin-text-area.d.ts";
44
44
  import type { OrVaadinTextField } from "./lib/or-vaadin-text-field.d.ts";
45
45
  import type { OrVaadinTimePicker } from "./lib/or-vaadin-time-picker.d.ts";
46
- import type { Badge } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/badge/./lib/vaadin-badge.js";
47
46
  import type { Button } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/button/./lib/vaadin-button.js";
47
+ import type { Badge } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/badge/./lib/vaadin-badge.js";
48
48
  import type { Checkbox } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/checkbox/./lib/vaadin-checkbox.js";
49
49
  import type { CheckboxGroup } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/checkbox-group/./lib/vaadin-checkbox-group.js";
50
50
  import type { ComboBoxItem } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/combo-box/./lib/vaadin-combo-box-item.js";
@@ -75,8 +75,8 @@ import type { MultiSelectComboBoxItem } from "/home/runner/work/openremote/openr
75
75
  import type { MultiSelectComboBoxScroller } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/multi-select-combo-box/./lib/vaadin-multi-select-combo-box-scroller.js";
76
76
  import type { MultiSelectComboBox } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/multi-select-combo-box/./lib/vaadin-multi-select-combo-box.js";
77
77
  import type { NumberField } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/number-field/./lib/vaadin-number-field.js";
78
- import type { Overlay } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/overlay/./lib/vaadin-overlay.js";
79
78
  import type { PasswordField } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/password-field/./lib/vaadin-password-field.js";
79
+ import type { Overlay } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/overlay/./lib/vaadin-overlay.js";
80
80
  import type { RadioButton } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/radio-group/./lib/vaadin-radio-button.js";
81
81
  import type { RadioGroup } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/radio-group/./lib/vaadin-radio-group.js";
82
82
  import type { SelectListBox } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/select/./lib/vaadin-select-list-box.js";
@@ -4336,41 +4336,6 @@ default I18N properties. */
4336
4336
  textContent?: string | number;
4337
4337
  };
4338
4338
 
4339
- export type BadgeProps = {
4340
- /** The number to display in the badge. */
4341
- number?: Badge["number"];
4342
- /** Set when the badge has content in the icon slot */
4343
- "has-icon"?: unknown;
4344
- /** Set when the badge has content in the icon slot */
4345
- undefined?: unknown;
4346
- /** Set when the badge has content in the default slot */
4347
- "has-content"?: unknown;
4348
- /** Set when the badge has a number value */
4349
- "has-number"?: unknown;
4350
- /** */
4351
- dir?: Badge["dir"];
4352
- };
4353
-
4354
- export type BadgeSolidJsProps = {
4355
- /** The number to display in the badge. */
4356
- "prop:number"?: Badge["number"];
4357
- /** Set when the badge has content in the icon slot */
4358
- "bool:has-icon"?: unknown;
4359
- /** Set when the badge has content in the icon slot */
4360
- "prop:undefined"?: unknown;
4361
- /** Set when the badge has content in the default slot */
4362
- "bool:has-content"?: unknown;
4363
- /** Set when the badge has a number value */
4364
- "bool:has-number"?: unknown;
4365
- /** */
4366
- "prop:dir"?: Badge["dir"];
4367
-
4368
- /** Set the innerHTML of the element */
4369
- innerHTML?: string;
4370
- /** Set the textContent of the element */
4371
- textContent?: string | number;
4372
- };
4373
-
4374
4339
  export type ButtonProps = {
4375
4340
  /** When disabled, the button is rendered as "dimmed" and prevents all
4376
4341
  user interactions (mouse and keyboard).
@@ -4446,6 +4411,41 @@ window.Vaadin.featureFlags.accessibleDisabledButtons = true
4446
4411
  textContent?: string | number;
4447
4412
  };
4448
4413
 
4414
+ export type BadgeProps = {
4415
+ /** The number to display in the badge. */
4416
+ number?: Badge["number"];
4417
+ /** Set when the badge has content in the icon slot */
4418
+ "has-icon"?: unknown;
4419
+ /** Set when the badge has content in the icon slot */
4420
+ undefined?: unknown;
4421
+ /** Set when the badge has content in the default slot */
4422
+ "has-content"?: unknown;
4423
+ /** Set when the badge has a number value */
4424
+ "has-number"?: unknown;
4425
+ /** */
4426
+ dir?: Badge["dir"];
4427
+ };
4428
+
4429
+ export type BadgeSolidJsProps = {
4430
+ /** The number to display in the badge. */
4431
+ "prop:number"?: Badge["number"];
4432
+ /** Set when the badge has content in the icon slot */
4433
+ "bool:has-icon"?: unknown;
4434
+ /** Set when the badge has content in the icon slot */
4435
+ "prop:undefined"?: unknown;
4436
+ /** Set when the badge has content in the default slot */
4437
+ "bool:has-content"?: unknown;
4438
+ /** Set when the badge has a number value */
4439
+ "bool:has-number"?: unknown;
4440
+ /** */
4441
+ "prop:dir"?: Badge["dir"];
4442
+
4443
+ /** Set the innerHTML of the element */
4444
+ innerHTML?: string;
4445
+ /** Set the textContent of the element */
4446
+ textContent?: string | number;
4447
+ };
4448
+
4449
4449
  export type CheckboxProps = {
4450
4450
  /** Set when the checkbox is activated with mouse, touch or the keyboard. */
4451
4451
  active?: unknown;
@@ -8418,144 +8418,6 @@ the clear icon element should be provided via the `clearElement` getter. */
8418
8418
  textContent?: string | number;
8419
8419
  };
8420
8420
 
8421
- export type OverlayProps = {
8422
- /** Applied just after the overlay is opened. You can apply a CSS animation for this state. */
8423
- opening?: unknown;
8424
- /** Applied just after the overlay is opened. You can apply a CSS animation for this state. */
8425
- undefined?: unknown;
8426
- /** Applied just before the overlay is closed. You can apply a CSS animation for this state. */
8427
- closing?: unknown;
8428
- /** When true, the overlay is visible and attached to body. */
8429
- opened?: Overlay["opened"];
8430
- /** Owner element passed with renderer function */
8431
- owner?: Overlay["owner"];
8432
- /** Object with properties that is passed to `renderer` function */
8433
- model?: Overlay["model"];
8434
- /** Custom function for rendering the content of the overlay.
8435
- Receives three arguments:
8436
-
8437
- - `root` The root container DOM element. Append your content to it.
8438
- - `owner` The host element of the renderer function.
8439
- - `model` The object with the properties related with rendering. */
8440
- renderer?: Overlay["renderer"];
8441
- /** When true the overlay won't disable the main content, showing
8442
- it doesn't change the functionality of the user interface. */
8443
- modeless?: Overlay["modeless"];
8444
- /** When set to true, the overlay is hidden. This also closes the overlay
8445
- immediately in case there is a closing animation in progress. */
8446
- hidden?: Overlay["hidden"];
8447
- /** When true the overlay has backdrop on top of content when opened. */
8448
- withBackdrop?: Overlay["withBackdrop"];
8449
- /** When true, opening the overlay moves focus to the first focusable child,
8450
- or to the overlay part with tabindex if there are no focusable children. */
8451
- focusTrap?: Overlay["focusTrap"];
8452
- /** Set to true to enable restoring of focus when overlay is closed. */
8453
- restoreFocusOnClose?: Overlay["restoreFocusOnClose"];
8454
- /** Set to specify the element which should be focused on overlay close,
8455
- if `restoreFocusOnClose` is set to true. */
8456
- restoreFocusNode?: Overlay["restoreFocusNode"];
8457
- /** */
8458
- dir?: Overlay["dir"];
8459
- /** */
8460
- _boundMouseDownListener?: Overlay["_boundMouseDownListener"];
8461
- /** */
8462
- _boundMouseUpListener?: Overlay["_boundMouseUpListener"];
8463
- /** */
8464
- _boundOutsideClickListener?: Overlay["_boundOutsideClickListener"];
8465
- /** */
8466
- _boundKeydownListener?: Overlay["_boundKeydownListener"];
8467
- /** */
8468
- __focusTrapController?: Overlay["__focusTrapController"];
8469
- /** */
8470
- __focusRestorationController?: Overlay["__focusRestorationController"];
8471
-
8472
- /** Fired when the `opened` property changes. */
8473
- "onopened-changed"?: (e: CustomEvent) => void;
8474
- /** Fired after the overlay is opened. */
8475
- "onvaadin-overlay-open"?: (e: CustomEvent) => void;
8476
- /** Fired when the opened overlay is about to be closed. Calling `preventDefault()` on the event cancels the closing. */
8477
- "onvaadin-overlay-close"?: (e: CustomEvent) => void;
8478
- /** Fired when the overlay starts to close. Closing the overlay can be asynchronous depending on the animation. */
8479
- "onvaadin-overlay-closing"?: (e: CustomEvent) => void;
8480
- /** Fired after the overlay is closed. */
8481
- "onvaadin-overlay-closed"?: (e: CustomEvent) => void;
8482
- /** Fired before the overlay is closed on outside click. Calling `preventDefault()` on the event cancels the closing. */
8483
- "onvaadin-overlay-outside-click"?: (e: CustomEvent) => void;
8484
- /** Fired before the overlay is closed on Escape key press. Calling `preventDefault()` on the event cancels the closing. */
8485
- "onvaadin-overlay-escape-press"?: (e: CustomEvent) => void;
8486
- };
8487
-
8488
- export type OverlaySolidJsProps = {
8489
- /** Applied just after the overlay is opened. You can apply a CSS animation for this state. */
8490
- "bool:opening"?: unknown;
8491
- /** Applied just after the overlay is opened. You can apply a CSS animation for this state. */
8492
- "prop:undefined"?: unknown;
8493
- /** Applied just before the overlay is closed. You can apply a CSS animation for this state. */
8494
- "bool:closing"?: unknown;
8495
- /** When true, the overlay is visible and attached to body. */
8496
- "prop:opened"?: Overlay["opened"];
8497
- /** Owner element passed with renderer function */
8498
- "prop:owner"?: Overlay["owner"];
8499
- /** Object with properties that is passed to `renderer` function */
8500
- "prop:model"?: Overlay["model"];
8501
- /** Custom function for rendering the content of the overlay.
8502
- Receives three arguments:
8503
-
8504
- - `root` The root container DOM element. Append your content to it.
8505
- - `owner` The host element of the renderer function.
8506
- - `model` The object with the properties related with rendering. */
8507
- "prop:renderer"?: Overlay["renderer"];
8508
- /** When true the overlay won't disable the main content, showing
8509
- it doesn't change the functionality of the user interface. */
8510
- "prop:modeless"?: Overlay["modeless"];
8511
- /** When set to true, the overlay is hidden. This also closes the overlay
8512
- immediately in case there is a closing animation in progress. */
8513
- "prop:hidden"?: Overlay["hidden"];
8514
- /** When true the overlay has backdrop on top of content when opened. */
8515
- "prop:withBackdrop"?: Overlay["withBackdrop"];
8516
- /** When true, opening the overlay moves focus to the first focusable child,
8517
- or to the overlay part with tabindex if there are no focusable children. */
8518
- "prop:focusTrap"?: Overlay["focusTrap"];
8519
- /** Set to true to enable restoring of focus when overlay is closed. */
8520
- "prop:restoreFocusOnClose"?: Overlay["restoreFocusOnClose"];
8521
- /** Set to specify the element which should be focused on overlay close,
8522
- if `restoreFocusOnClose` is set to true. */
8523
- "prop:restoreFocusNode"?: Overlay["restoreFocusNode"];
8524
- /** */
8525
- "prop:dir"?: Overlay["dir"];
8526
- /** */
8527
- "prop:_boundMouseDownListener"?: Overlay["_boundMouseDownListener"];
8528
- /** */
8529
- "prop:_boundMouseUpListener"?: Overlay["_boundMouseUpListener"];
8530
- /** */
8531
- "prop:_boundOutsideClickListener"?: Overlay["_boundOutsideClickListener"];
8532
- /** */
8533
- "prop:_boundKeydownListener"?: Overlay["_boundKeydownListener"];
8534
- /** */
8535
- "prop:__focusTrapController"?: Overlay["__focusTrapController"];
8536
- /** */
8537
- "prop:__focusRestorationController"?: Overlay["__focusRestorationController"];
8538
- /** Fired when the `opened` property changes. */
8539
- "on:opened-changed"?: (e: CustomEvent) => void;
8540
- /** Fired after the overlay is opened. */
8541
- "on:vaadin-overlay-open"?: (e: CustomEvent) => void;
8542
- /** Fired when the opened overlay is about to be closed. Calling `preventDefault()` on the event cancels the closing. */
8543
- "on:vaadin-overlay-close"?: (e: CustomEvent) => void;
8544
- /** Fired when the overlay starts to close. Closing the overlay can be asynchronous depending on the animation. */
8545
- "on:vaadin-overlay-closing"?: (e: CustomEvent) => void;
8546
- /** Fired after the overlay is closed. */
8547
- "on:vaadin-overlay-closed"?: (e: CustomEvent) => void;
8548
- /** Fired before the overlay is closed on outside click. Calling `preventDefault()` on the event cancels the closing. */
8549
- "on:vaadin-overlay-outside-click"?: (e: CustomEvent) => void;
8550
- /** Fired before the overlay is closed on Escape key press. Calling `preventDefault()` on the event cancels the closing. */
8551
- "on:vaadin-overlay-escape-press"?: (e: CustomEvent) => void;
8552
-
8553
- /** Set the innerHTML of the element */
8554
- innerHTML?: string;
8555
- /** Set the textContent of the element */
8556
- textContent?: string | number;
8557
- };
8558
-
8559
8421
  export type PasswordFieldProps = {
8560
8422
  /** Set when the element is disabled */
8561
8423
  disabled?: unknown;
@@ -8810,38 +8672,176 @@ the clear icon element should be provided via the `clearElement` getter. */
8810
8672
  textContent?: string | number;
8811
8673
  };
8812
8674
 
8813
- export type RadioButtonProps = {
8814
- /** Set when the radio button is pressed, either with a pointer or the keyboard. */
8815
- active?: unknown;
8816
- /** Set when the radio button is pressed, either with a pointer or the keyboard. */
8675
+ export type OverlayProps = {
8676
+ /** Applied just after the overlay is opened. You can apply a CSS animation for this state. */
8677
+ opening?: unknown;
8678
+ /** Applied just after the overlay is opened. You can apply a CSS animation for this state. */
8817
8679
  undefined?: unknown;
8818
- /** Set when the radio button is disabled. */
8819
- disabled?: unknown;
8820
- /** Set when the radio button is focused using the keyboard. */
8821
- "focus-ring"?: unknown;
8822
- /** Set when the radio button is focused. */
8823
- focused?: unknown;
8824
- /** Set when the radio button is checked. */
8825
- checked?: RadioButton["checked"];
8826
- /** Set when the radio button has a label. */
8827
- "has-label"?: unknown;
8828
- /** The name of the radio button. */
8829
- name?: RadioButton["name"];
8830
- /** The label text for the input node.
8831
- When no light dom defined via [slot=label], this value will be used. */
8832
- label?: RadioButton["label"];
8833
- /** */
8834
- dir?: RadioButton["dir"];
8835
- /** */
8836
- value?: RadioButton["value"];
8837
- /** */
8838
- tabindex?: RadioButton["tabindex"];
8839
- /** */
8840
- _labelController?: RadioButton["_labelController"];
8680
+ /** Applied just before the overlay is closed. You can apply a CSS animation for this state. */
8681
+ closing?: unknown;
8682
+ /** When true, the overlay is visible and attached to body. */
8683
+ opened?: Overlay["opened"];
8684
+ /** Owner element passed with renderer function */
8685
+ owner?: Overlay["owner"];
8686
+ /** Object with properties that is passed to `renderer` function */
8687
+ model?: Overlay["model"];
8688
+ /** Custom function for rendering the content of the overlay.
8689
+ Receives three arguments:
8841
8690
 
8842
- /** Fired when the `checked` property changes. */
8843
- "onchecked-changed"?: (e: CustomEvent) => void;
8844
- };
8691
+ - `root` The root container DOM element. Append your content to it.
8692
+ - `owner` The host element of the renderer function.
8693
+ - `model` The object with the properties related with rendering. */
8694
+ renderer?: Overlay["renderer"];
8695
+ /** When true the overlay won't disable the main content, showing
8696
+ it doesn't change the functionality of the user interface. */
8697
+ modeless?: Overlay["modeless"];
8698
+ /** When set to true, the overlay is hidden. This also closes the overlay
8699
+ immediately in case there is a closing animation in progress. */
8700
+ hidden?: Overlay["hidden"];
8701
+ /** When true the overlay has backdrop on top of content when opened. */
8702
+ withBackdrop?: Overlay["withBackdrop"];
8703
+ /** When true, opening the overlay moves focus to the first focusable child,
8704
+ or to the overlay part with tabindex if there are no focusable children. */
8705
+ focusTrap?: Overlay["focusTrap"];
8706
+ /** Set to true to enable restoring of focus when overlay is closed. */
8707
+ restoreFocusOnClose?: Overlay["restoreFocusOnClose"];
8708
+ /** Set to specify the element which should be focused on overlay close,
8709
+ if `restoreFocusOnClose` is set to true. */
8710
+ restoreFocusNode?: Overlay["restoreFocusNode"];
8711
+ /** */
8712
+ dir?: Overlay["dir"];
8713
+ /** */
8714
+ _boundMouseDownListener?: Overlay["_boundMouseDownListener"];
8715
+ /** */
8716
+ _boundMouseUpListener?: Overlay["_boundMouseUpListener"];
8717
+ /** */
8718
+ _boundOutsideClickListener?: Overlay["_boundOutsideClickListener"];
8719
+ /** */
8720
+ _boundKeydownListener?: Overlay["_boundKeydownListener"];
8721
+ /** */
8722
+ __focusTrapController?: Overlay["__focusTrapController"];
8723
+ /** */
8724
+ __focusRestorationController?: Overlay["__focusRestorationController"];
8725
+
8726
+ /** Fired when the `opened` property changes. */
8727
+ "onopened-changed"?: (e: CustomEvent) => void;
8728
+ /** Fired after the overlay is opened. */
8729
+ "onvaadin-overlay-open"?: (e: CustomEvent) => void;
8730
+ /** Fired when the opened overlay is about to be closed. Calling `preventDefault()` on the event cancels the closing. */
8731
+ "onvaadin-overlay-close"?: (e: CustomEvent) => void;
8732
+ /** Fired when the overlay starts to close. Closing the overlay can be asynchronous depending on the animation. */
8733
+ "onvaadin-overlay-closing"?: (e: CustomEvent) => void;
8734
+ /** Fired after the overlay is closed. */
8735
+ "onvaadin-overlay-closed"?: (e: CustomEvent) => void;
8736
+ /** Fired before the overlay is closed on outside click. Calling `preventDefault()` on the event cancels the closing. */
8737
+ "onvaadin-overlay-outside-click"?: (e: CustomEvent) => void;
8738
+ /** Fired before the overlay is closed on Escape key press. Calling `preventDefault()` on the event cancels the closing. */
8739
+ "onvaadin-overlay-escape-press"?: (e: CustomEvent) => void;
8740
+ };
8741
+
8742
+ export type OverlaySolidJsProps = {
8743
+ /** Applied just after the overlay is opened. You can apply a CSS animation for this state. */
8744
+ "bool:opening"?: unknown;
8745
+ /** Applied just after the overlay is opened. You can apply a CSS animation for this state. */
8746
+ "prop:undefined"?: unknown;
8747
+ /** Applied just before the overlay is closed. You can apply a CSS animation for this state. */
8748
+ "bool:closing"?: unknown;
8749
+ /** When true, the overlay is visible and attached to body. */
8750
+ "prop:opened"?: Overlay["opened"];
8751
+ /** Owner element passed with renderer function */
8752
+ "prop:owner"?: Overlay["owner"];
8753
+ /** Object with properties that is passed to `renderer` function */
8754
+ "prop:model"?: Overlay["model"];
8755
+ /** Custom function for rendering the content of the overlay.
8756
+ Receives three arguments:
8757
+
8758
+ - `root` The root container DOM element. Append your content to it.
8759
+ - `owner` The host element of the renderer function.
8760
+ - `model` The object with the properties related with rendering. */
8761
+ "prop:renderer"?: Overlay["renderer"];
8762
+ /** When true the overlay won't disable the main content, showing
8763
+ it doesn't change the functionality of the user interface. */
8764
+ "prop:modeless"?: Overlay["modeless"];
8765
+ /** When set to true, the overlay is hidden. This also closes the overlay
8766
+ immediately in case there is a closing animation in progress. */
8767
+ "prop:hidden"?: Overlay["hidden"];
8768
+ /** When true the overlay has backdrop on top of content when opened. */
8769
+ "prop:withBackdrop"?: Overlay["withBackdrop"];
8770
+ /** When true, opening the overlay moves focus to the first focusable child,
8771
+ or to the overlay part with tabindex if there are no focusable children. */
8772
+ "prop:focusTrap"?: Overlay["focusTrap"];
8773
+ /** Set to true to enable restoring of focus when overlay is closed. */
8774
+ "prop:restoreFocusOnClose"?: Overlay["restoreFocusOnClose"];
8775
+ /** Set to specify the element which should be focused on overlay close,
8776
+ if `restoreFocusOnClose` is set to true. */
8777
+ "prop:restoreFocusNode"?: Overlay["restoreFocusNode"];
8778
+ /** */
8779
+ "prop:dir"?: Overlay["dir"];
8780
+ /** */
8781
+ "prop:_boundMouseDownListener"?: Overlay["_boundMouseDownListener"];
8782
+ /** */
8783
+ "prop:_boundMouseUpListener"?: Overlay["_boundMouseUpListener"];
8784
+ /** */
8785
+ "prop:_boundOutsideClickListener"?: Overlay["_boundOutsideClickListener"];
8786
+ /** */
8787
+ "prop:_boundKeydownListener"?: Overlay["_boundKeydownListener"];
8788
+ /** */
8789
+ "prop:__focusTrapController"?: Overlay["__focusTrapController"];
8790
+ /** */
8791
+ "prop:__focusRestorationController"?: Overlay["__focusRestorationController"];
8792
+ /** Fired when the `opened` property changes. */
8793
+ "on:opened-changed"?: (e: CustomEvent) => void;
8794
+ /** Fired after the overlay is opened. */
8795
+ "on:vaadin-overlay-open"?: (e: CustomEvent) => void;
8796
+ /** Fired when the opened overlay is about to be closed. Calling `preventDefault()` on the event cancels the closing. */
8797
+ "on:vaadin-overlay-close"?: (e: CustomEvent) => void;
8798
+ /** Fired when the overlay starts to close. Closing the overlay can be asynchronous depending on the animation. */
8799
+ "on:vaadin-overlay-closing"?: (e: CustomEvent) => void;
8800
+ /** Fired after the overlay is closed. */
8801
+ "on:vaadin-overlay-closed"?: (e: CustomEvent) => void;
8802
+ /** Fired before the overlay is closed on outside click. Calling `preventDefault()` on the event cancels the closing. */
8803
+ "on:vaadin-overlay-outside-click"?: (e: CustomEvent) => void;
8804
+ /** Fired before the overlay is closed on Escape key press. Calling `preventDefault()` on the event cancels the closing. */
8805
+ "on:vaadin-overlay-escape-press"?: (e: CustomEvent) => void;
8806
+
8807
+ /** Set the innerHTML of the element */
8808
+ innerHTML?: string;
8809
+ /** Set the textContent of the element */
8810
+ textContent?: string | number;
8811
+ };
8812
+
8813
+ export type RadioButtonProps = {
8814
+ /** Set when the radio button is pressed, either with a pointer or the keyboard. */
8815
+ active?: unknown;
8816
+ /** Set when the radio button is pressed, either with a pointer or the keyboard. */
8817
+ undefined?: unknown;
8818
+ /** Set when the radio button is disabled. */
8819
+ disabled?: unknown;
8820
+ /** Set when the radio button is focused using the keyboard. */
8821
+ "focus-ring"?: unknown;
8822
+ /** Set when the radio button is focused. */
8823
+ focused?: unknown;
8824
+ /** Set when the radio button is checked. */
8825
+ checked?: RadioButton["checked"];
8826
+ /** Set when the radio button has a label. */
8827
+ "has-label"?: unknown;
8828
+ /** The name of the radio button. */
8829
+ name?: RadioButton["name"];
8830
+ /** The label text for the input node.
8831
+ When no light dom defined via [slot=label], this value will be used. */
8832
+ label?: RadioButton["label"];
8833
+ /** */
8834
+ dir?: RadioButton["dir"];
8835
+ /** */
8836
+ value?: RadioButton["value"];
8837
+ /** */
8838
+ tabindex?: RadioButton["tabindex"];
8839
+ /** */
8840
+ _labelController?: RadioButton["_labelController"];
8841
+
8842
+ /** Fired when the `checked` property changes. */
8843
+ "onchecked-changed"?: (e: CustomEvent) => void;
8844
+ };
8845
8845
 
8846
8846
  export type RadioButtonSolidJsProps = {
8847
8847
  /** Set when the radio button is pressed, either with a pointer or the keyboard. */
@@ -12858,94 +12858,6 @@ export type CustomElements = {
12858
12858
  OrVaadinTimePickerProps & BaseProps<OrVaadinTimePicker> & BaseEvents
12859
12859
  >;
12860
12860
 
12861
- /**
12862
- * `<vaadin-badge>` is a Web Component for displaying badges.
12863
- *
12864
- * ```html
12865
- * <vaadin-badge>New</vaadin-badge>
12866
- * ```
12867
- *
12868
- * ### Slots
12869
- *
12870
- * Name | Description
12871
- * ---------|-------------
12872
- * (none) | Default slot for the badge text content
12873
- * `icon` | Slot for an icon to place before the text
12874
- *
12875
- * ### Styling
12876
- *
12877
- * The following shadow DOM parts are available for styling:
12878
- *
12879
- * Part name | Description
12880
- * -----------|-------------
12881
- * `icon` | The container for the icon slot
12882
- * `number` | The container for the number value
12883
- * `content` | The container for the default slot
12884
- *
12885
- * The following state attributes are available for styling:
12886
- *
12887
- * Attribute | Description
12888
- * ---------------|-------------
12889
- * `has-icon` | Set when the badge has content in the icon slot
12890
- * `has-content` | Set when the badge has content in the default slot
12891
- * `has-number` | Set when the badge has a number value
12892
- *
12893
- * The following custom CSS properties are available for styling:
12894
- *
12895
- * Custom CSS property |
12896
- * :--------------------------------|
12897
- * `--vaadin-badge-background` |
12898
- * `--vaadin-badge-border-color` |
12899
- * `--vaadin-badge-border-radius` |
12900
- * `--vaadin-badge-border-width` |
12901
- * `--vaadin-badge-font-size` |
12902
- * `--vaadin-badge-font-weight` |
12903
- * `--vaadin-badge-font-family` |
12904
- * `--vaadin-badge-gap` |
12905
- * `--vaadin-badge-line-height` |
12906
- * `--vaadin-badge-padding` |
12907
- * `--vaadin-badge-text-color` |
12908
- *
12909
- * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
12910
- *
12911
- * ## Attributes & Properties
12912
- *
12913
- * Component attributes and properties that can be applied to the element or by using JavaScript.
12914
- *
12915
- * - `number`: The number to display in the badge.
12916
- * - `has-icon`/`undefined`: Set when the badge has content in the icon slot
12917
- * - `has-content`/`undefined`: Set when the badge has content in the default slot
12918
- * - `has-number`/`undefined`: Set when the badge has a number value
12919
- * - `dir`: undefined
12920
- *
12921
- * ## Events
12922
- *
12923
- * Events that will be emitted by the component.
12924
- *
12925
- * - `undefined`: undefined
12926
- *
12927
- * ## Methods
12928
- *
12929
- * Methods that can be called to access component functionality.
12930
- *
12931
- * - `createProperty(name, options) => void`: undefined
12932
- * - `getOrCreateMap(name) => void`: undefined
12933
- * - `addCheckedInitializer(initializer) => void`: undefined
12934
- * - `getPropertyDescriptor(name, key, options) => void`: undefined
12935
- *
12936
- * ## CSS Custom Properties
12937
- *
12938
- * CSS variables available for styling the component.
12939
- *
12940
- * - `--vaadin-badge-background`: `--vaadin-badge-border-color` (default: `undefined`)
12941
- * - `--vaadin-badge-border-radius`: `--vaadin-badge-border-width` (default: `undefined`)
12942
- * - `--vaadin-badge-font-size`: `--vaadin-badge-font-weight` (default: `undefined`)
12943
- * - `--vaadin-badge-font-family`: `--vaadin-badge-gap` (default: `undefined`)
12944
- * - `--vaadin-badge-line-height`: `--vaadin-badge-padding` (default: `undefined`)
12945
- * - `--vaadin-badge-text-color`: See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation. (default: `undefined`)
12946
- */
12947
- "vaadin-badge": Partial<BadgeProps & BaseProps<Badge> & BaseEvents>;
12948
-
12949
12861
  /**
12950
12862
  * `<vaadin-button>` is an accessible and customizable button that allows users to perform actions.
12951
12863
  *
@@ -13055,19 +12967,107 @@ export type CustomElements = {
13055
12967
  "vaadin-button": Partial<ButtonProps & BaseProps<Button> & BaseEvents>;
13056
12968
 
13057
12969
  /**
13058
- * `<vaadin-checkbox>` is an input field representing a binary choice.
12970
+ * `<vaadin-badge>` is a Web Component for displaying badges.
13059
12971
  *
13060
12972
  * ```html
13061
- * <vaadin-checkbox label="I accept the terms and conditions"></vaadin-checkbox>
12973
+ * <vaadin-badge>New</vaadin-badge>
13062
12974
  * ```
13063
12975
  *
12976
+ * ### Slots
12977
+ *
12978
+ * Name | Description
12979
+ * ---------|-------------
12980
+ * (none) | Default slot for the badge text content
12981
+ * `icon` | Slot for an icon to place before the text
12982
+ *
13064
12983
  * ### Styling
13065
12984
  *
13066
12985
  * The following shadow DOM parts are available for styling:
13067
12986
  *
13068
- * Part name | Description
13069
- * ---------------------|-------------
13070
- * `checkbox` | The element representing a stylable custom checkbox
12987
+ * Part name | Description
12988
+ * -----------|-------------
12989
+ * `icon` | The container for the icon slot
12990
+ * `number` | The container for the number value
12991
+ * `content` | The container for the default slot
12992
+ *
12993
+ * The following state attributes are available for styling:
12994
+ *
12995
+ * Attribute | Description
12996
+ * ---------------|-------------
12997
+ * `has-icon` | Set when the badge has content in the icon slot
12998
+ * `has-content` | Set when the badge has content in the default slot
12999
+ * `has-number` | Set when the badge has a number value
13000
+ *
13001
+ * The following custom CSS properties are available for styling:
13002
+ *
13003
+ * Custom CSS property |
13004
+ * :--------------------------------|
13005
+ * `--vaadin-badge-background` |
13006
+ * `--vaadin-badge-border-color` |
13007
+ * `--vaadin-badge-border-radius` |
13008
+ * `--vaadin-badge-border-width` |
13009
+ * `--vaadin-badge-font-size` |
13010
+ * `--vaadin-badge-font-weight` |
13011
+ * `--vaadin-badge-font-family` |
13012
+ * `--vaadin-badge-gap` |
13013
+ * `--vaadin-badge-line-height` |
13014
+ * `--vaadin-badge-padding` |
13015
+ * `--vaadin-badge-text-color` |
13016
+ *
13017
+ * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
13018
+ *
13019
+ * ## Attributes & Properties
13020
+ *
13021
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
13022
+ *
13023
+ * - `number`: The number to display in the badge.
13024
+ * - `has-icon`/`undefined`: Set when the badge has content in the icon slot
13025
+ * - `has-content`/`undefined`: Set when the badge has content in the default slot
13026
+ * - `has-number`/`undefined`: Set when the badge has a number value
13027
+ * - `dir`: undefined
13028
+ *
13029
+ * ## Events
13030
+ *
13031
+ * Events that will be emitted by the component.
13032
+ *
13033
+ * - `undefined`: undefined
13034
+ *
13035
+ * ## Methods
13036
+ *
13037
+ * Methods that can be called to access component functionality.
13038
+ *
13039
+ * - `createProperty(name, options) => void`: undefined
13040
+ * - `getOrCreateMap(name) => void`: undefined
13041
+ * - `addCheckedInitializer(initializer) => void`: undefined
13042
+ * - `getPropertyDescriptor(name, key, options) => void`: undefined
13043
+ *
13044
+ * ## CSS Custom Properties
13045
+ *
13046
+ * CSS variables available for styling the component.
13047
+ *
13048
+ * - `--vaadin-badge-background`: `--vaadin-badge-border-color` (default: `undefined`)
13049
+ * - `--vaadin-badge-border-radius`: `--vaadin-badge-border-width` (default: `undefined`)
13050
+ * - `--vaadin-badge-font-size`: `--vaadin-badge-font-weight` (default: `undefined`)
13051
+ * - `--vaadin-badge-font-family`: `--vaadin-badge-gap` (default: `undefined`)
13052
+ * - `--vaadin-badge-line-height`: `--vaadin-badge-padding` (default: `undefined`)
13053
+ * - `--vaadin-badge-text-color`: See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation. (default: `undefined`)
13054
+ */
13055
+ "vaadin-badge": Partial<BadgeProps & BaseProps<Badge> & BaseEvents>;
13056
+
13057
+ /**
13058
+ * `<vaadin-checkbox>` is an input field representing a binary choice.
13059
+ *
13060
+ * ```html
13061
+ * <vaadin-checkbox label="I accept the terms and conditions"></vaadin-checkbox>
13062
+ * ```
13063
+ *
13064
+ * ### Styling
13065
+ *
13066
+ * The following shadow DOM parts are available for styling:
13067
+ *
13068
+ * Part name | Description
13069
+ * ---------------------|-------------
13070
+ * `checkbox` | The element representing a stylable custom checkbox
13071
13071
  * `label` | The slotted label element wrapper
13072
13072
  * `helper-text` | The slotted helper text element wrapper
13073
13073
  * `error-message` | The slotted error message element wrapper
@@ -16301,128 +16301,6 @@ export type CustomElements = {
16301
16301
  NumberFieldProps & BaseProps<NumberField> & BaseEvents
16302
16302
  >;
16303
16303
 
16304
- /**
16305
- * `<vaadin-overlay>` is a Web Component for creating overlays. The content of the overlay
16306
- * can be populated imperatively by using `renderer` callback function.
16307
- *
16308
- * ### Rendering
16309
- *
16310
- * The renderer function provides `root`, `owner`, `model` arguments when applicable.
16311
- * Generate DOM content by using `model` object properties if needed, append it to the `root`
16312
- * element and control the state of the host element by accessing `owner`. Before generating new
16313
- * content, users are able to check if there is already content in `root` for reusing it.
16314
- *
16315
- * ```html
16316
- * <vaadin-overlay id="overlay"></vaadin-overlay>
16317
- * ```
16318
- * ```js
16319
- * const overlay = document.querySelector('#overlay');
16320
- * overlay.renderer = function(root) {
16321
- * root.textContent = "Overlay content";
16322
- * };
16323
- * ```
16324
- *
16325
- * Renderer is called on the opening of the overlay and each time the related model is updated.
16326
- * DOM generated during the renderer call can be reused
16327
- * in the next renderer call and will be provided with the `root` argument.
16328
- * On first call it will be empty.
16329
- *
16330
- * ### Styling
16331
- *
16332
- * The following Shadow DOM parts are available for styling:
16333
- *
16334
- * Part name | Description
16335
- * -----------|---------------------------------------------------------|
16336
- * `backdrop` | Backdrop of the overlay
16337
- * `overlay` | Container for position/sizing/alignment of the content
16338
- * `content` | Content of the overlay
16339
- *
16340
- * The following state attributes are available for styling:
16341
- *
16342
- * Attribute | Description
16343
- * ----------|------------
16344
- * `opening` | Applied just after the overlay is opened. You can apply a CSS animation for this state.
16345
- * `closing` | Applied just before the overlay is closed. You can apply a CSS animation for this state.
16346
- *
16347
- * The following custom CSS properties are available for styling:
16348
- *
16349
- * Custom CSS property | Description | Default value
16350
- * ---|---|---
16351
- * `--vaadin-overlay-viewport-bottom` | Bottom offset of the visible viewport area | `0` or detected offset
16352
- *
16353
- * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
16354
- *
16355
- * ## Attributes & Properties
16356
- *
16357
- * Component attributes and properties that can be applied to the element or by using JavaScript.
16358
- *
16359
- * - `opening`/`undefined`: Applied just after the overlay is opened. You can apply a CSS animation for this state.
16360
- * - `closing`/`undefined`: Applied just before the overlay is closed. You can apply a CSS animation for this state.
16361
- * - `opened`: When true, the overlay is visible and attached to body.
16362
- * - `owner`: Owner element passed with renderer function
16363
- * - `model`: Object with properties that is passed to `renderer` function
16364
- * - `renderer`: Custom function for rendering the content of the overlay.
16365
- * Receives three arguments:
16366
- *
16367
- * - `root` The root container DOM element. Append your content to it.
16368
- * - `owner` The host element of the renderer function.
16369
- * - `model` The object with the properties related with rendering.
16370
- * - `modeless`: When true the overlay won't disable the main content, showing
16371
- * it doesn't change the functionality of the user interface.
16372
- * - `hidden`: When set to true, the overlay is hidden. This also closes the overlay
16373
- * immediately in case there is a closing animation in progress.
16374
- * - `withBackdrop`: When true the overlay has backdrop on top of content when opened.
16375
- * - `focusTrap`: When true, opening the overlay moves focus to the first focusable child,
16376
- * or to the overlay part with tabindex if there are no focusable children.
16377
- * - `restoreFocusOnClose`: Set to true to enable restoring of focus when overlay is closed.
16378
- * - `restoreFocusNode`: Set to specify the element which should be focused on overlay close,
16379
- * if `restoreFocusOnClose` is set to true.
16380
- * - `dir`: undefined
16381
- * - `_boundMouseDownListener`: undefined (property only)
16382
- * - `_boundMouseUpListener`: undefined (property only)
16383
- * - `_boundOutsideClickListener`: undefined (property only)
16384
- * - `_boundKeydownListener`: undefined (property only)
16385
- * - `__focusTrapController`: undefined (property only)
16386
- * - `__focusRestorationController`: undefined (property only)
16387
- *
16388
- * ## Events
16389
- *
16390
- * Events that will be emitted by the component.
16391
- *
16392
- * - `opened-changed`: Fired when the `opened` property changes.
16393
- * - `vaadin-overlay-open`: Fired after the overlay is opened.
16394
- * - `vaadin-overlay-close`: Fired when the opened overlay is about to be closed. Calling `preventDefault()` on the event cancels the closing.
16395
- * - `vaadin-overlay-closing`: Fired when the overlay starts to close. Closing the overlay can be asynchronous depending on the animation.
16396
- * - `vaadin-overlay-closed`: Fired after the overlay is closed.
16397
- * - `vaadin-overlay-outside-click`: Fired before the overlay is closed on outside click. Calling `preventDefault()` on the event cancels the closing.
16398
- * - `vaadin-overlay-escape-press`: Fired before the overlay is closed on Escape key press. Calling `preventDefault()` on the event cancels the closing.
16399
- * - `undefined`: undefined
16400
- *
16401
- * ## Methods
16402
- *
16403
- * Methods that can be called to access component functionality.
16404
- *
16405
- * - `requestContentUpdate() => void`: Requests an update for the content of the overlay.
16406
- * While performing the update, it invokes the renderer passed in the `renderer` property.
16407
- *
16408
- * It is not guaranteed that the update happens immediately (synchronously) after it is requested.
16409
- * - `close(sourceEvent: Event=) => void`: undefined
16410
- * - `setBounds(bounds: !OverlayBoundsParam, absolute: boolean = true) => void`: Updates the coordinates of the overlay.
16411
- * - `bringToFront() => void`: Brings the overlay as visually the frontmost one.
16412
- * - `createProperty(name, options) => void`: undefined
16413
- * - `getOrCreateMap(name) => void`: undefined
16414
- * - `addCheckedInitializer(initializer) => void`: undefined
16415
- * - `getPropertyDescriptor(name, key, options) => void`: undefined
16416
- *
16417
- * ## CSS Custom Properties
16418
- *
16419
- * CSS variables available for styling the component.
16420
- *
16421
- * - `--vaadin-overlay-viewport-bottom`: Bottom offset of the visible viewport area (default: `undefined`)
16422
- * - `0`: undefined (default: `undefined`)
16423
- */
16424
- "vaadin-overlay": Partial<OverlayProps & BaseProps<Overlay> & BaseEvents>;
16425
-
16426
16304
  /**
16427
16305
  * `<vaadin-password-field>` is an extension of `<vaadin-text-field>` component for entering passwords.
16428
16306
  *
@@ -16563,6 +16441,128 @@ export type CustomElements = {
16563
16441
  PasswordFieldProps & BaseProps<PasswordField> & BaseEvents
16564
16442
  >;
16565
16443
 
16444
+ /**
16445
+ * `<vaadin-overlay>` is a Web Component for creating overlays. The content of the overlay
16446
+ * can be populated imperatively by using `renderer` callback function.
16447
+ *
16448
+ * ### Rendering
16449
+ *
16450
+ * The renderer function provides `root`, `owner`, `model` arguments when applicable.
16451
+ * Generate DOM content by using `model` object properties if needed, append it to the `root`
16452
+ * element and control the state of the host element by accessing `owner`. Before generating new
16453
+ * content, users are able to check if there is already content in `root` for reusing it.
16454
+ *
16455
+ * ```html
16456
+ * <vaadin-overlay id="overlay"></vaadin-overlay>
16457
+ * ```
16458
+ * ```js
16459
+ * const overlay = document.querySelector('#overlay');
16460
+ * overlay.renderer = function(root) {
16461
+ * root.textContent = "Overlay content";
16462
+ * };
16463
+ * ```
16464
+ *
16465
+ * Renderer is called on the opening of the overlay and each time the related model is updated.
16466
+ * DOM generated during the renderer call can be reused
16467
+ * in the next renderer call and will be provided with the `root` argument.
16468
+ * On first call it will be empty.
16469
+ *
16470
+ * ### Styling
16471
+ *
16472
+ * The following Shadow DOM parts are available for styling:
16473
+ *
16474
+ * Part name | Description
16475
+ * -----------|---------------------------------------------------------|
16476
+ * `backdrop` | Backdrop of the overlay
16477
+ * `overlay` | Container for position/sizing/alignment of the content
16478
+ * `content` | Content of the overlay
16479
+ *
16480
+ * The following state attributes are available for styling:
16481
+ *
16482
+ * Attribute | Description
16483
+ * ----------|------------
16484
+ * `opening` | Applied just after the overlay is opened. You can apply a CSS animation for this state.
16485
+ * `closing` | Applied just before the overlay is closed. You can apply a CSS animation for this state.
16486
+ *
16487
+ * The following custom CSS properties are available for styling:
16488
+ *
16489
+ * Custom CSS property | Description | Default value
16490
+ * ---|---|---
16491
+ * `--vaadin-overlay-viewport-bottom` | Bottom offset of the visible viewport area | `0` or detected offset
16492
+ *
16493
+ * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
16494
+ *
16495
+ * ## Attributes & Properties
16496
+ *
16497
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
16498
+ *
16499
+ * - `opening`/`undefined`: Applied just after the overlay is opened. You can apply a CSS animation for this state.
16500
+ * - `closing`/`undefined`: Applied just before the overlay is closed. You can apply a CSS animation for this state.
16501
+ * - `opened`: When true, the overlay is visible and attached to body.
16502
+ * - `owner`: Owner element passed with renderer function
16503
+ * - `model`: Object with properties that is passed to `renderer` function
16504
+ * - `renderer`: Custom function for rendering the content of the overlay.
16505
+ * Receives three arguments:
16506
+ *
16507
+ * - `root` The root container DOM element. Append your content to it.
16508
+ * - `owner` The host element of the renderer function.
16509
+ * - `model` The object with the properties related with rendering.
16510
+ * - `modeless`: When true the overlay won't disable the main content, showing
16511
+ * it doesn't change the functionality of the user interface.
16512
+ * - `hidden`: When set to true, the overlay is hidden. This also closes the overlay
16513
+ * immediately in case there is a closing animation in progress.
16514
+ * - `withBackdrop`: When true the overlay has backdrop on top of content when opened.
16515
+ * - `focusTrap`: When true, opening the overlay moves focus to the first focusable child,
16516
+ * or to the overlay part with tabindex if there are no focusable children.
16517
+ * - `restoreFocusOnClose`: Set to true to enable restoring of focus when overlay is closed.
16518
+ * - `restoreFocusNode`: Set to specify the element which should be focused on overlay close,
16519
+ * if `restoreFocusOnClose` is set to true.
16520
+ * - `dir`: undefined
16521
+ * - `_boundMouseDownListener`: undefined (property only)
16522
+ * - `_boundMouseUpListener`: undefined (property only)
16523
+ * - `_boundOutsideClickListener`: undefined (property only)
16524
+ * - `_boundKeydownListener`: undefined (property only)
16525
+ * - `__focusTrapController`: undefined (property only)
16526
+ * - `__focusRestorationController`: undefined (property only)
16527
+ *
16528
+ * ## Events
16529
+ *
16530
+ * Events that will be emitted by the component.
16531
+ *
16532
+ * - `opened-changed`: Fired when the `opened` property changes.
16533
+ * - `vaadin-overlay-open`: Fired after the overlay is opened.
16534
+ * - `vaadin-overlay-close`: Fired when the opened overlay is about to be closed. Calling `preventDefault()` on the event cancels the closing.
16535
+ * - `vaadin-overlay-closing`: Fired when the overlay starts to close. Closing the overlay can be asynchronous depending on the animation.
16536
+ * - `vaadin-overlay-closed`: Fired after the overlay is closed.
16537
+ * - `vaadin-overlay-outside-click`: Fired before the overlay is closed on outside click. Calling `preventDefault()` on the event cancels the closing.
16538
+ * - `vaadin-overlay-escape-press`: Fired before the overlay is closed on Escape key press. Calling `preventDefault()` on the event cancels the closing.
16539
+ * - `undefined`: undefined
16540
+ *
16541
+ * ## Methods
16542
+ *
16543
+ * Methods that can be called to access component functionality.
16544
+ *
16545
+ * - `requestContentUpdate() => void`: Requests an update for the content of the overlay.
16546
+ * While performing the update, it invokes the renderer passed in the `renderer` property.
16547
+ *
16548
+ * It is not guaranteed that the update happens immediately (synchronously) after it is requested.
16549
+ * - `close(sourceEvent: Event=) => void`: undefined
16550
+ * - `setBounds(bounds: !OverlayBoundsParam, absolute: boolean = true) => void`: Updates the coordinates of the overlay.
16551
+ * - `bringToFront() => void`: Brings the overlay as visually the frontmost one.
16552
+ * - `createProperty(name, options) => void`: undefined
16553
+ * - `getOrCreateMap(name) => void`: undefined
16554
+ * - `addCheckedInitializer(initializer) => void`: undefined
16555
+ * - `getPropertyDescriptor(name, key, options) => void`: undefined
16556
+ *
16557
+ * ## CSS Custom Properties
16558
+ *
16559
+ * CSS variables available for styling the component.
16560
+ *
16561
+ * - `--vaadin-overlay-viewport-bottom`: Bottom offset of the visible viewport area (default: `undefined`)
16562
+ * - `0`: undefined (default: `undefined`)
16563
+ */
16564
+ "vaadin-overlay": Partial<OverlayProps & BaseProps<Overlay> & BaseEvents>;
16565
+
16566
16566
  /**
16567
16567
  * `<vaadin-radio-button>` is a web component representing a choice in a radio group.
16568
16568
  * Only one radio button in the group can be selected at the same time.
@@ -20353,96 +20353,6 @@ export type CustomElementsSolidJs = {
20353
20353
  BaseEvents
20354
20354
  >;
20355
20355
 
20356
- /**
20357
- * `<vaadin-badge>` is a Web Component for displaying badges.
20358
- *
20359
- * ```html
20360
- * <vaadin-badge>New</vaadin-badge>
20361
- * ```
20362
- *
20363
- * ### Slots
20364
- *
20365
- * Name | Description
20366
- * ---------|-------------
20367
- * (none) | Default slot for the badge text content
20368
- * `icon` | Slot for an icon to place before the text
20369
- *
20370
- * ### Styling
20371
- *
20372
- * The following shadow DOM parts are available for styling:
20373
- *
20374
- * Part name | Description
20375
- * -----------|-------------
20376
- * `icon` | The container for the icon slot
20377
- * `number` | The container for the number value
20378
- * `content` | The container for the default slot
20379
- *
20380
- * The following state attributes are available for styling:
20381
- *
20382
- * Attribute | Description
20383
- * ---------------|-------------
20384
- * `has-icon` | Set when the badge has content in the icon slot
20385
- * `has-content` | Set when the badge has content in the default slot
20386
- * `has-number` | Set when the badge has a number value
20387
- *
20388
- * The following custom CSS properties are available for styling:
20389
- *
20390
- * Custom CSS property |
20391
- * :--------------------------------|
20392
- * `--vaadin-badge-background` |
20393
- * `--vaadin-badge-border-color` |
20394
- * `--vaadin-badge-border-radius` |
20395
- * `--vaadin-badge-border-width` |
20396
- * `--vaadin-badge-font-size` |
20397
- * `--vaadin-badge-font-weight` |
20398
- * `--vaadin-badge-font-family` |
20399
- * `--vaadin-badge-gap` |
20400
- * `--vaadin-badge-line-height` |
20401
- * `--vaadin-badge-padding` |
20402
- * `--vaadin-badge-text-color` |
20403
- *
20404
- * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
20405
- *
20406
- * ## Attributes & Properties
20407
- *
20408
- * Component attributes and properties that can be applied to the element or by using JavaScript.
20409
- *
20410
- * - `number`: The number to display in the badge.
20411
- * - `has-icon`/`undefined`: Set when the badge has content in the icon slot
20412
- * - `has-content`/`undefined`: Set when the badge has content in the default slot
20413
- * - `has-number`/`undefined`: Set when the badge has a number value
20414
- * - `dir`: undefined
20415
- *
20416
- * ## Events
20417
- *
20418
- * Events that will be emitted by the component.
20419
- *
20420
- * - `undefined`: undefined
20421
- *
20422
- * ## Methods
20423
- *
20424
- * Methods that can be called to access component functionality.
20425
- *
20426
- * - `createProperty(name, options) => void`: undefined
20427
- * - `getOrCreateMap(name) => void`: undefined
20428
- * - `addCheckedInitializer(initializer) => void`: undefined
20429
- * - `getPropertyDescriptor(name, key, options) => void`: undefined
20430
- *
20431
- * ## CSS Custom Properties
20432
- *
20433
- * CSS variables available for styling the component.
20434
- *
20435
- * - `--vaadin-badge-background`: `--vaadin-badge-border-color` (default: `undefined`)
20436
- * - `--vaadin-badge-border-radius`: `--vaadin-badge-border-width` (default: `undefined`)
20437
- * - `--vaadin-badge-font-size`: `--vaadin-badge-font-weight` (default: `undefined`)
20438
- * - `--vaadin-badge-font-family`: `--vaadin-badge-gap` (default: `undefined`)
20439
- * - `--vaadin-badge-line-height`: `--vaadin-badge-padding` (default: `undefined`)
20440
- * - `--vaadin-badge-text-color`: See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation. (default: `undefined`)
20441
- */
20442
- "vaadin-badge": Partial<
20443
- BadgeProps & BadgeSolidJsProps & BaseProps<Badge> & BaseEvents
20444
- >;
20445
-
20446
20356
  /**
20447
20357
  * `<vaadin-button>` is an accessible and customizable button that allows users to perform actions.
20448
20358
  *
@@ -20549,8 +20459,98 @@ export type CustomElementsSolidJs = {
20549
20459
  * - `--vaadin-button-padding`: undefined (default: `undefined`)
20550
20460
  * - `--vaadin-button-text-color`: See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation. (default: `undefined`)
20551
20461
  */
20552
- "vaadin-button": Partial<
20553
- ButtonProps & ButtonSolidJsProps & BaseProps<Button> & BaseEvents
20462
+ "vaadin-button": Partial<
20463
+ ButtonProps & ButtonSolidJsProps & BaseProps<Button> & BaseEvents
20464
+ >;
20465
+
20466
+ /**
20467
+ * `<vaadin-badge>` is a Web Component for displaying badges.
20468
+ *
20469
+ * ```html
20470
+ * <vaadin-badge>New</vaadin-badge>
20471
+ * ```
20472
+ *
20473
+ * ### Slots
20474
+ *
20475
+ * Name | Description
20476
+ * ---------|-------------
20477
+ * (none) | Default slot for the badge text content
20478
+ * `icon` | Slot for an icon to place before the text
20479
+ *
20480
+ * ### Styling
20481
+ *
20482
+ * The following shadow DOM parts are available for styling:
20483
+ *
20484
+ * Part name | Description
20485
+ * -----------|-------------
20486
+ * `icon` | The container for the icon slot
20487
+ * `number` | The container for the number value
20488
+ * `content` | The container for the default slot
20489
+ *
20490
+ * The following state attributes are available for styling:
20491
+ *
20492
+ * Attribute | Description
20493
+ * ---------------|-------------
20494
+ * `has-icon` | Set when the badge has content in the icon slot
20495
+ * `has-content` | Set when the badge has content in the default slot
20496
+ * `has-number` | Set when the badge has a number value
20497
+ *
20498
+ * The following custom CSS properties are available for styling:
20499
+ *
20500
+ * Custom CSS property |
20501
+ * :--------------------------------|
20502
+ * `--vaadin-badge-background` |
20503
+ * `--vaadin-badge-border-color` |
20504
+ * `--vaadin-badge-border-radius` |
20505
+ * `--vaadin-badge-border-width` |
20506
+ * `--vaadin-badge-font-size` |
20507
+ * `--vaadin-badge-font-weight` |
20508
+ * `--vaadin-badge-font-family` |
20509
+ * `--vaadin-badge-gap` |
20510
+ * `--vaadin-badge-line-height` |
20511
+ * `--vaadin-badge-padding` |
20512
+ * `--vaadin-badge-text-color` |
20513
+ *
20514
+ * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
20515
+ *
20516
+ * ## Attributes & Properties
20517
+ *
20518
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
20519
+ *
20520
+ * - `number`: The number to display in the badge.
20521
+ * - `has-icon`/`undefined`: Set when the badge has content in the icon slot
20522
+ * - `has-content`/`undefined`: Set when the badge has content in the default slot
20523
+ * - `has-number`/`undefined`: Set when the badge has a number value
20524
+ * - `dir`: undefined
20525
+ *
20526
+ * ## Events
20527
+ *
20528
+ * Events that will be emitted by the component.
20529
+ *
20530
+ * - `undefined`: undefined
20531
+ *
20532
+ * ## Methods
20533
+ *
20534
+ * Methods that can be called to access component functionality.
20535
+ *
20536
+ * - `createProperty(name, options) => void`: undefined
20537
+ * - `getOrCreateMap(name) => void`: undefined
20538
+ * - `addCheckedInitializer(initializer) => void`: undefined
20539
+ * - `getPropertyDescriptor(name, key, options) => void`: undefined
20540
+ *
20541
+ * ## CSS Custom Properties
20542
+ *
20543
+ * CSS variables available for styling the component.
20544
+ *
20545
+ * - `--vaadin-badge-background`: `--vaadin-badge-border-color` (default: `undefined`)
20546
+ * - `--vaadin-badge-border-radius`: `--vaadin-badge-border-width` (default: `undefined`)
20547
+ * - `--vaadin-badge-font-size`: `--vaadin-badge-font-weight` (default: `undefined`)
20548
+ * - `--vaadin-badge-font-family`: `--vaadin-badge-gap` (default: `undefined`)
20549
+ * - `--vaadin-badge-line-height`: `--vaadin-badge-padding` (default: `undefined`)
20550
+ * - `--vaadin-badge-text-color`: See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation. (default: `undefined`)
20551
+ */
20552
+ "vaadin-badge": Partial<
20553
+ BadgeProps & BadgeSolidJsProps & BaseProps<Badge> & BaseEvents
20554
20554
  >;
20555
20555
 
20556
20556
  /**
@@ -23878,130 +23878,6 @@ export type CustomElementsSolidJs = {
23878
23878
  BaseEvents
23879
23879
  >;
23880
23880
 
23881
- /**
23882
- * `<vaadin-overlay>` is a Web Component for creating overlays. The content of the overlay
23883
- * can be populated imperatively by using `renderer` callback function.
23884
- *
23885
- * ### Rendering
23886
- *
23887
- * The renderer function provides `root`, `owner`, `model` arguments when applicable.
23888
- * Generate DOM content by using `model` object properties if needed, append it to the `root`
23889
- * element and control the state of the host element by accessing `owner`. Before generating new
23890
- * content, users are able to check if there is already content in `root` for reusing it.
23891
- *
23892
- * ```html
23893
- * <vaadin-overlay id="overlay"></vaadin-overlay>
23894
- * ```
23895
- * ```js
23896
- * const overlay = document.querySelector('#overlay');
23897
- * overlay.renderer = function(root) {
23898
- * root.textContent = "Overlay content";
23899
- * };
23900
- * ```
23901
- *
23902
- * Renderer is called on the opening of the overlay and each time the related model is updated.
23903
- * DOM generated during the renderer call can be reused
23904
- * in the next renderer call and will be provided with the `root` argument.
23905
- * On first call it will be empty.
23906
- *
23907
- * ### Styling
23908
- *
23909
- * The following Shadow DOM parts are available for styling:
23910
- *
23911
- * Part name | Description
23912
- * -----------|---------------------------------------------------------|
23913
- * `backdrop` | Backdrop of the overlay
23914
- * `overlay` | Container for position/sizing/alignment of the content
23915
- * `content` | Content of the overlay
23916
- *
23917
- * The following state attributes are available for styling:
23918
- *
23919
- * Attribute | Description
23920
- * ----------|------------
23921
- * `opening` | Applied just after the overlay is opened. You can apply a CSS animation for this state.
23922
- * `closing` | Applied just before the overlay is closed. You can apply a CSS animation for this state.
23923
- *
23924
- * The following custom CSS properties are available for styling:
23925
- *
23926
- * Custom CSS property | Description | Default value
23927
- * ---|---|---
23928
- * `--vaadin-overlay-viewport-bottom` | Bottom offset of the visible viewport area | `0` or detected offset
23929
- *
23930
- * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
23931
- *
23932
- * ## Attributes & Properties
23933
- *
23934
- * Component attributes and properties that can be applied to the element or by using JavaScript.
23935
- *
23936
- * - `opening`/`undefined`: Applied just after the overlay is opened. You can apply a CSS animation for this state.
23937
- * - `closing`/`undefined`: Applied just before the overlay is closed. You can apply a CSS animation for this state.
23938
- * - `opened`: When true, the overlay is visible and attached to body.
23939
- * - `owner`: Owner element passed with renderer function
23940
- * - `model`: Object with properties that is passed to `renderer` function
23941
- * - `renderer`: Custom function for rendering the content of the overlay.
23942
- * Receives three arguments:
23943
- *
23944
- * - `root` The root container DOM element. Append your content to it.
23945
- * - `owner` The host element of the renderer function.
23946
- * - `model` The object with the properties related with rendering.
23947
- * - `modeless`: When true the overlay won't disable the main content, showing
23948
- * it doesn't change the functionality of the user interface.
23949
- * - `hidden`: When set to true, the overlay is hidden. This also closes the overlay
23950
- * immediately in case there is a closing animation in progress.
23951
- * - `withBackdrop`: When true the overlay has backdrop on top of content when opened.
23952
- * - `focusTrap`: When true, opening the overlay moves focus to the first focusable child,
23953
- * or to the overlay part with tabindex if there are no focusable children.
23954
- * - `restoreFocusOnClose`: Set to true to enable restoring of focus when overlay is closed.
23955
- * - `restoreFocusNode`: Set to specify the element which should be focused on overlay close,
23956
- * if `restoreFocusOnClose` is set to true.
23957
- * - `dir`: undefined
23958
- * - `_boundMouseDownListener`: undefined (property only)
23959
- * - `_boundMouseUpListener`: undefined (property only)
23960
- * - `_boundOutsideClickListener`: undefined (property only)
23961
- * - `_boundKeydownListener`: undefined (property only)
23962
- * - `__focusTrapController`: undefined (property only)
23963
- * - `__focusRestorationController`: undefined (property only)
23964
- *
23965
- * ## Events
23966
- *
23967
- * Events that will be emitted by the component.
23968
- *
23969
- * - `opened-changed`: Fired when the `opened` property changes.
23970
- * - `vaadin-overlay-open`: Fired after the overlay is opened.
23971
- * - `vaadin-overlay-close`: Fired when the opened overlay is about to be closed. Calling `preventDefault()` on the event cancels the closing.
23972
- * - `vaadin-overlay-closing`: Fired when the overlay starts to close. Closing the overlay can be asynchronous depending on the animation.
23973
- * - `vaadin-overlay-closed`: Fired after the overlay is closed.
23974
- * - `vaadin-overlay-outside-click`: Fired before the overlay is closed on outside click. Calling `preventDefault()` on the event cancels the closing.
23975
- * - `vaadin-overlay-escape-press`: Fired before the overlay is closed on Escape key press. Calling `preventDefault()` on the event cancels the closing.
23976
- * - `undefined`: undefined
23977
- *
23978
- * ## Methods
23979
- *
23980
- * Methods that can be called to access component functionality.
23981
- *
23982
- * - `requestContentUpdate() => void`: Requests an update for the content of the overlay.
23983
- * While performing the update, it invokes the renderer passed in the `renderer` property.
23984
- *
23985
- * It is not guaranteed that the update happens immediately (synchronously) after it is requested.
23986
- * - `close(sourceEvent: Event=) => void`: undefined
23987
- * - `setBounds(bounds: !OverlayBoundsParam, absolute: boolean = true) => void`: Updates the coordinates of the overlay.
23988
- * - `bringToFront() => void`: Brings the overlay as visually the frontmost one.
23989
- * - `createProperty(name, options) => void`: undefined
23990
- * - `getOrCreateMap(name) => void`: undefined
23991
- * - `addCheckedInitializer(initializer) => void`: undefined
23992
- * - `getPropertyDescriptor(name, key, options) => void`: undefined
23993
- *
23994
- * ## CSS Custom Properties
23995
- *
23996
- * CSS variables available for styling the component.
23997
- *
23998
- * - `--vaadin-overlay-viewport-bottom`: Bottom offset of the visible viewport area (default: `undefined`)
23999
- * - `0`: undefined (default: `undefined`)
24000
- */
24001
- "vaadin-overlay": Partial<
24002
- OverlayProps & OverlaySolidJsProps & BaseProps<Overlay> & BaseEvents
24003
- >;
24004
-
24005
23881
  /**
24006
23882
  * `<vaadin-password-field>` is an extension of `<vaadin-text-field>` component for entering passwords.
24007
23883
  *
@@ -24145,6 +24021,130 @@ export type CustomElementsSolidJs = {
24145
24021
  BaseEvents
24146
24022
  >;
24147
24023
 
24024
+ /**
24025
+ * `<vaadin-overlay>` is a Web Component for creating overlays. The content of the overlay
24026
+ * can be populated imperatively by using `renderer` callback function.
24027
+ *
24028
+ * ### Rendering
24029
+ *
24030
+ * The renderer function provides `root`, `owner`, `model` arguments when applicable.
24031
+ * Generate DOM content by using `model` object properties if needed, append it to the `root`
24032
+ * element and control the state of the host element by accessing `owner`. Before generating new
24033
+ * content, users are able to check if there is already content in `root` for reusing it.
24034
+ *
24035
+ * ```html
24036
+ * <vaadin-overlay id="overlay"></vaadin-overlay>
24037
+ * ```
24038
+ * ```js
24039
+ * const overlay = document.querySelector('#overlay');
24040
+ * overlay.renderer = function(root) {
24041
+ * root.textContent = "Overlay content";
24042
+ * };
24043
+ * ```
24044
+ *
24045
+ * Renderer is called on the opening of the overlay and each time the related model is updated.
24046
+ * DOM generated during the renderer call can be reused
24047
+ * in the next renderer call and will be provided with the `root` argument.
24048
+ * On first call it will be empty.
24049
+ *
24050
+ * ### Styling
24051
+ *
24052
+ * The following Shadow DOM parts are available for styling:
24053
+ *
24054
+ * Part name | Description
24055
+ * -----------|---------------------------------------------------------|
24056
+ * `backdrop` | Backdrop of the overlay
24057
+ * `overlay` | Container for position/sizing/alignment of the content
24058
+ * `content` | Content of the overlay
24059
+ *
24060
+ * The following state attributes are available for styling:
24061
+ *
24062
+ * Attribute | Description
24063
+ * ----------|------------
24064
+ * `opening` | Applied just after the overlay is opened. You can apply a CSS animation for this state.
24065
+ * `closing` | Applied just before the overlay is closed. You can apply a CSS animation for this state.
24066
+ *
24067
+ * The following custom CSS properties are available for styling:
24068
+ *
24069
+ * Custom CSS property | Description | Default value
24070
+ * ---|---|---
24071
+ * `--vaadin-overlay-viewport-bottom` | Bottom offset of the visible viewport area | `0` or detected offset
24072
+ *
24073
+ * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
24074
+ *
24075
+ * ## Attributes & Properties
24076
+ *
24077
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
24078
+ *
24079
+ * - `opening`/`undefined`: Applied just after the overlay is opened. You can apply a CSS animation for this state.
24080
+ * - `closing`/`undefined`: Applied just before the overlay is closed. You can apply a CSS animation for this state.
24081
+ * - `opened`: When true, the overlay is visible and attached to body.
24082
+ * - `owner`: Owner element passed with renderer function
24083
+ * - `model`: Object with properties that is passed to `renderer` function
24084
+ * - `renderer`: Custom function for rendering the content of the overlay.
24085
+ * Receives three arguments:
24086
+ *
24087
+ * - `root` The root container DOM element. Append your content to it.
24088
+ * - `owner` The host element of the renderer function.
24089
+ * - `model` The object with the properties related with rendering.
24090
+ * - `modeless`: When true the overlay won't disable the main content, showing
24091
+ * it doesn't change the functionality of the user interface.
24092
+ * - `hidden`: When set to true, the overlay is hidden. This also closes the overlay
24093
+ * immediately in case there is a closing animation in progress.
24094
+ * - `withBackdrop`: When true the overlay has backdrop on top of content when opened.
24095
+ * - `focusTrap`: When true, opening the overlay moves focus to the first focusable child,
24096
+ * or to the overlay part with tabindex if there are no focusable children.
24097
+ * - `restoreFocusOnClose`: Set to true to enable restoring of focus when overlay is closed.
24098
+ * - `restoreFocusNode`: Set to specify the element which should be focused on overlay close,
24099
+ * if `restoreFocusOnClose` is set to true.
24100
+ * - `dir`: undefined
24101
+ * - `_boundMouseDownListener`: undefined (property only)
24102
+ * - `_boundMouseUpListener`: undefined (property only)
24103
+ * - `_boundOutsideClickListener`: undefined (property only)
24104
+ * - `_boundKeydownListener`: undefined (property only)
24105
+ * - `__focusTrapController`: undefined (property only)
24106
+ * - `__focusRestorationController`: undefined (property only)
24107
+ *
24108
+ * ## Events
24109
+ *
24110
+ * Events that will be emitted by the component.
24111
+ *
24112
+ * - `opened-changed`: Fired when the `opened` property changes.
24113
+ * - `vaadin-overlay-open`: Fired after the overlay is opened.
24114
+ * - `vaadin-overlay-close`: Fired when the opened overlay is about to be closed. Calling `preventDefault()` on the event cancels the closing.
24115
+ * - `vaadin-overlay-closing`: Fired when the overlay starts to close. Closing the overlay can be asynchronous depending on the animation.
24116
+ * - `vaadin-overlay-closed`: Fired after the overlay is closed.
24117
+ * - `vaadin-overlay-outside-click`: Fired before the overlay is closed on outside click. Calling `preventDefault()` on the event cancels the closing.
24118
+ * - `vaadin-overlay-escape-press`: Fired before the overlay is closed on Escape key press. Calling `preventDefault()` on the event cancels the closing.
24119
+ * - `undefined`: undefined
24120
+ *
24121
+ * ## Methods
24122
+ *
24123
+ * Methods that can be called to access component functionality.
24124
+ *
24125
+ * - `requestContentUpdate() => void`: Requests an update for the content of the overlay.
24126
+ * While performing the update, it invokes the renderer passed in the `renderer` property.
24127
+ *
24128
+ * It is not guaranteed that the update happens immediately (synchronously) after it is requested.
24129
+ * - `close(sourceEvent: Event=) => void`: undefined
24130
+ * - `setBounds(bounds: !OverlayBoundsParam, absolute: boolean = true) => void`: Updates the coordinates of the overlay.
24131
+ * - `bringToFront() => void`: Brings the overlay as visually the frontmost one.
24132
+ * - `createProperty(name, options) => void`: undefined
24133
+ * - `getOrCreateMap(name) => void`: undefined
24134
+ * - `addCheckedInitializer(initializer) => void`: undefined
24135
+ * - `getPropertyDescriptor(name, key, options) => void`: undefined
24136
+ *
24137
+ * ## CSS Custom Properties
24138
+ *
24139
+ * CSS variables available for styling the component.
24140
+ *
24141
+ * - `--vaadin-overlay-viewport-bottom`: Bottom offset of the visible viewport area (default: `undefined`)
24142
+ * - `0`: undefined (default: `undefined`)
24143
+ */
24144
+ "vaadin-overlay": Partial<
24145
+ OverlayProps & OverlaySolidJsProps & BaseProps<Overlay> & BaseEvents
24146
+ >;
24147
+
24148
24148
  /**
24149
24149
  * `<vaadin-radio-button>` is a web component representing a choice in a radio group.
24150
24150
  * Only one radio button in the group can be selected at the same time.