@openremote/or-vaadin-components 1.27.0 → 1.27.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.
@@ -45,8 +45,8 @@ 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
46
  import type { OrVaadinToggleGroup } from "./lib/or-vaadin-toggle-group.d.ts";
47
47
  import type { OrVaadinToggle } from "./lib/or-vaadin-toggle.d.ts";
48
- import type { Button } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/button/./lib/vaadin-button.js";
49
48
  import type { Badge } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/badge/./lib/vaadin-badge.js";
49
+ import type { Button } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/button/./lib/vaadin-button.js";
50
50
  import type { Checkbox } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/checkbox/./lib/vaadin-checkbox.js";
51
51
  import type { CheckboxGroup } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/checkbox-group/./lib/vaadin-checkbox-group.js";
52
52
  import type { ComboBoxItem } from "/home/runner/work/openremote/openremote/node_modules/@vaadin/combo-box/./lib/vaadin-combo-box-item.js";
@@ -4209,6 +4209,8 @@ regardless of focus or hover state. */
4209
4209
  };
4210
4210
 
4211
4211
  export type OrVaadinTextAreaProps = {
4212
+ /** */
4213
+ manualresize?: OrVaadinTextArea["manualresize"];
4212
4214
  /** Maximum number of characters (in Unicode code points) that the user can enter. */
4213
4215
  maxlength?: OrVaadinTextArea["maxlength"];
4214
4216
  /** Minimum number of characters (in Unicode code points) that the user can enter. */
@@ -4348,6 +4350,8 @@ the clear icon element should be provided via the `clearElement` getter. */
4348
4350
  };
4349
4351
 
4350
4352
  export type OrVaadinTextAreaSolidJsProps = {
4353
+ /** */
4354
+ "prop:manualresize"?: OrVaadinTextArea["manualresize"];
4351
4355
  /** Maximum number of characters (in Unicode code points) that the user can enter. */
4352
4356
  "prop:maxlength"?: OrVaadinTextArea["maxlength"];
4353
4357
  /** Minimum number of characters (in Unicode code points) that the user can enter. */
@@ -5450,6 +5454,41 @@ will be restored to `0` after re-enabling the element. */
5450
5454
  textContent?: string | number;
5451
5455
  };
5452
5456
 
5457
+ export type BadgeProps = {
5458
+ /** The number to display in the badge. */
5459
+ number?: Badge["number"];
5460
+ /** Set when the badge has content in the icon slot */
5461
+ "has-icon"?: unknown;
5462
+ /** Set when the badge has content in the icon slot */
5463
+ undefined?: unknown;
5464
+ /** Set when the badge has content in the default slot */
5465
+ "has-content"?: unknown;
5466
+ /** Set when the badge has a number value */
5467
+ "has-number"?: unknown;
5468
+ /** */
5469
+ dir?: Badge["dir"];
5470
+ };
5471
+
5472
+ export type BadgeSolidJsProps = {
5473
+ /** The number to display in the badge. */
5474
+ "prop:number"?: Badge["number"];
5475
+ /** Set when the badge has content in the icon slot */
5476
+ "bool:has-icon"?: unknown;
5477
+ /** Set when the badge has content in the icon slot */
5478
+ "prop:undefined"?: unknown;
5479
+ /** Set when the badge has content in the default slot */
5480
+ "bool:has-content"?: unknown;
5481
+ /** Set when the badge has a number value */
5482
+ "bool:has-number"?: unknown;
5483
+ /** */
5484
+ "prop:dir"?: Badge["dir"];
5485
+
5486
+ /** Set the innerHTML of the element */
5487
+ innerHTML?: string;
5488
+ /** Set the textContent of the element */
5489
+ textContent?: string | number;
5490
+ };
5491
+
5453
5492
  export type ButtonProps = {
5454
5493
  /** When disabled, the button is rendered as "dimmed".
5455
5494
 
@@ -5521,41 +5560,6 @@ window.Vaadin.featureFlags.accessibleDisabledButtons = true
5521
5560
  textContent?: string | number;
5522
5561
  };
5523
5562
 
5524
- export type BadgeProps = {
5525
- /** The number to display in the badge. */
5526
- number?: Badge["number"];
5527
- /** Set when the badge has content in the icon slot */
5528
- "has-icon"?: unknown;
5529
- /** Set when the badge has content in the icon slot */
5530
- undefined?: unknown;
5531
- /** Set when the badge has content in the default slot */
5532
- "has-content"?: unknown;
5533
- /** Set when the badge has a number value */
5534
- "has-number"?: unknown;
5535
- /** */
5536
- dir?: Badge["dir"];
5537
- };
5538
-
5539
- export type BadgeSolidJsProps = {
5540
- /** The number to display in the badge. */
5541
- "prop:number"?: Badge["number"];
5542
- /** Set when the badge has content in the icon slot */
5543
- "bool:has-icon"?: unknown;
5544
- /** Set when the badge has content in the icon slot */
5545
- "prop:undefined"?: unknown;
5546
- /** Set when the badge has content in the default slot */
5547
- "bool:has-content"?: unknown;
5548
- /** Set when the badge has a number value */
5549
- "bool:has-number"?: unknown;
5550
- /** */
5551
- "prop:dir"?: Badge["dir"];
5552
-
5553
- /** Set the innerHTML of the element */
5554
- innerHTML?: string;
5555
- /** Set the textContent of the element */
5556
- textContent?: string | number;
5557
- };
5558
-
5559
5563
  export type CheckboxProps = {
5560
5564
  /** Set when the checkbox is activated with mouse, touch or the keyboard. */
5561
5565
  active?: unknown;
@@ -14902,6 +14906,7 @@ export type CustomElements = {
14902
14906
  *
14903
14907
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14904
14908
  *
14909
+ * - `manualresize`: undefined
14905
14910
  * - `maxlength`: Maximum number of characters (in Unicode code points) that the user can enter.
14906
14911
  * - `minlength`: Minimum number of characters (in Unicode code points) that the user can enter.
14907
14912
  * - `pattern`: A regular expression that the value is checked against.
@@ -15539,6 +15544,94 @@ export type CustomElements = {
15539
15544
  OrVaadinToggleProps & BaseProps<OrVaadinToggle> & BaseEvents
15540
15545
  >;
15541
15546
 
15547
+ /**
15548
+ * `<vaadin-badge>` is a Web Component for displaying badges.
15549
+ *
15550
+ * ```html
15551
+ * <vaadin-badge>New</vaadin-badge>
15552
+ * ```
15553
+ *
15554
+ * ### Slots
15555
+ *
15556
+ * Name | Description
15557
+ * ---------|-------------
15558
+ * (none) | Default slot for the badge text content
15559
+ * `icon` | Slot for an icon to place before the text
15560
+ *
15561
+ * ### Styling
15562
+ *
15563
+ * The following shadow DOM parts are available for styling:
15564
+ *
15565
+ * Part name | Description
15566
+ * -----------|-------------
15567
+ * `icon` | The container for the icon slot
15568
+ * `number` | The container for the number value
15569
+ * `content` | The container for the default slot
15570
+ *
15571
+ * The following state attributes are available for styling:
15572
+ *
15573
+ * Attribute | Description
15574
+ * ---------------|-------------
15575
+ * `has-icon` | Set when the badge has content in the icon slot
15576
+ * `has-content` | Set when the badge has content in the default slot
15577
+ * `has-number` | Set when the badge has a number value
15578
+ *
15579
+ * The following custom CSS properties are available for styling:
15580
+ *
15581
+ * Custom CSS property |
15582
+ * :--------------------------------|
15583
+ * `--vaadin-badge-background` |
15584
+ * `--vaadin-badge-border-color` |
15585
+ * `--vaadin-badge-border-radius` |
15586
+ * `--vaadin-badge-border-width` |
15587
+ * `--vaadin-badge-font-size` |
15588
+ * `--vaadin-badge-font-weight` |
15589
+ * `--vaadin-badge-font-family` |
15590
+ * `--vaadin-badge-gap` |
15591
+ * `--vaadin-badge-line-height` |
15592
+ * `--vaadin-badge-padding` |
15593
+ * `--vaadin-badge-text-color` |
15594
+ *
15595
+ * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
15596
+ *
15597
+ * ## Attributes & Properties
15598
+ *
15599
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15600
+ *
15601
+ * - `number`: The number to display in the badge.
15602
+ * - `has-icon`/`undefined`: Set when the badge has content in the icon slot
15603
+ * - `has-content`/`undefined`: Set when the badge has content in the default slot
15604
+ * - `has-number`/`undefined`: Set when the badge has a number value
15605
+ * - `dir`: undefined
15606
+ *
15607
+ * ## Events
15608
+ *
15609
+ * Events that will be emitted by the component.
15610
+ *
15611
+ * - `undefined`: undefined
15612
+ *
15613
+ * ## Methods
15614
+ *
15615
+ * Methods that can be called to access component functionality.
15616
+ *
15617
+ * - `createProperty(name, options) => void`: undefined
15618
+ * - `getOrCreateMap(name) => void`: undefined
15619
+ * - `addCheckedInitializer(initializer) => void`: undefined
15620
+ * - `getPropertyDescriptor(name, key, options) => void`: undefined
15621
+ *
15622
+ * ## CSS Custom Properties
15623
+ *
15624
+ * CSS variables available for styling the component.
15625
+ *
15626
+ * - `--vaadin-badge-background`: `--vaadin-badge-border-color` (default: `undefined`)
15627
+ * - `--vaadin-badge-border-radius`: `--vaadin-badge-border-width` (default: `undefined`)
15628
+ * - `--vaadin-badge-font-size`: `--vaadin-badge-font-weight` (default: `undefined`)
15629
+ * - `--vaadin-badge-font-family`: `--vaadin-badge-gap` (default: `undefined`)
15630
+ * - `--vaadin-badge-line-height`: `--vaadin-badge-padding` (default: `undefined`)
15631
+ * - `--vaadin-badge-text-color`: See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation. (default: `undefined`)
15632
+ */
15633
+ "vaadin-badge": Partial<BadgeProps & BaseProps<Badge> & BaseEvents>;
15634
+
15542
15635
  /**
15543
15636
  * `<vaadin-button>` is an accessible and customizable button that allows users to perform actions.
15544
15637
  *
@@ -15647,94 +15740,6 @@ export type CustomElements = {
15647
15740
  */
15648
15741
  "vaadin-button": Partial<ButtonProps & BaseProps<Button> & BaseEvents>;
15649
15742
 
15650
- /**
15651
- * `<vaadin-badge>` is a Web Component for displaying badges.
15652
- *
15653
- * ```html
15654
- * <vaadin-badge>New</vaadin-badge>
15655
- * ```
15656
- *
15657
- * ### Slots
15658
- *
15659
- * Name | Description
15660
- * ---------|-------------
15661
- * (none) | Default slot for the badge text content
15662
- * `icon` | Slot for an icon to place before the text
15663
- *
15664
- * ### Styling
15665
- *
15666
- * The following shadow DOM parts are available for styling:
15667
- *
15668
- * Part name | Description
15669
- * -----------|-------------
15670
- * `icon` | The container for the icon slot
15671
- * `number` | The container for the number value
15672
- * `content` | The container for the default slot
15673
- *
15674
- * The following state attributes are available for styling:
15675
- *
15676
- * Attribute | Description
15677
- * ---------------|-------------
15678
- * `has-icon` | Set when the badge has content in the icon slot
15679
- * `has-content` | Set when the badge has content in the default slot
15680
- * `has-number` | Set when the badge has a number value
15681
- *
15682
- * The following custom CSS properties are available for styling:
15683
- *
15684
- * Custom CSS property |
15685
- * :--------------------------------|
15686
- * `--vaadin-badge-background` |
15687
- * `--vaadin-badge-border-color` |
15688
- * `--vaadin-badge-border-radius` |
15689
- * `--vaadin-badge-border-width` |
15690
- * `--vaadin-badge-font-size` |
15691
- * `--vaadin-badge-font-weight` |
15692
- * `--vaadin-badge-font-family` |
15693
- * `--vaadin-badge-gap` |
15694
- * `--vaadin-badge-line-height` |
15695
- * `--vaadin-badge-padding` |
15696
- * `--vaadin-badge-text-color` |
15697
- *
15698
- * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
15699
- *
15700
- * ## Attributes & Properties
15701
- *
15702
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15703
- *
15704
- * - `number`: The number to display in the badge.
15705
- * - `has-icon`/`undefined`: Set when the badge has content in the icon slot
15706
- * - `has-content`/`undefined`: Set when the badge has content in the default slot
15707
- * - `has-number`/`undefined`: Set when the badge has a number value
15708
- * - `dir`: undefined
15709
- *
15710
- * ## Events
15711
- *
15712
- * Events that will be emitted by the component.
15713
- *
15714
- * - `undefined`: undefined
15715
- *
15716
- * ## Methods
15717
- *
15718
- * Methods that can be called to access component functionality.
15719
- *
15720
- * - `createProperty(name, options) => void`: undefined
15721
- * - `getOrCreateMap(name) => void`: undefined
15722
- * - `addCheckedInitializer(initializer) => void`: undefined
15723
- * - `getPropertyDescriptor(name, key, options) => void`: undefined
15724
- *
15725
- * ## CSS Custom Properties
15726
- *
15727
- * CSS variables available for styling the component.
15728
- *
15729
- * - `--vaadin-badge-background`: `--vaadin-badge-border-color` (default: `undefined`)
15730
- * - `--vaadin-badge-border-radius`: `--vaadin-badge-border-width` (default: `undefined`)
15731
- * - `--vaadin-badge-font-size`: `--vaadin-badge-font-weight` (default: `undefined`)
15732
- * - `--vaadin-badge-font-family`: `--vaadin-badge-gap` (default: `undefined`)
15733
- * - `--vaadin-badge-line-height`: `--vaadin-badge-padding` (default: `undefined`)
15734
- * - `--vaadin-badge-text-color`: See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation. (default: `undefined`)
15735
- */
15736
- "vaadin-badge": Partial<BadgeProps & BaseProps<Badge> & BaseEvents>;
15737
-
15738
15743
  /**
15739
15744
  * `<vaadin-checkbox>` is an input field representing a binary choice.
15740
15745
  *
@@ -23789,6 +23794,7 @@ export type CustomElementsSolidJs = {
23789
23794
  *
23790
23795
  * Component attributes and properties that can be applied to the element or by using JavaScript.
23791
23796
  *
23797
+ * - `manualresize`: undefined
23792
23798
  * - `maxlength`: Maximum number of characters (in Unicode code points) that the user can enter.
23793
23799
  * - `minlength`: Minimum number of characters (in Unicode code points) that the user can enter.
23794
23800
  * - `pattern`: A regular expression that the value is checked against.
@@ -24441,6 +24447,96 @@ export type CustomElementsSolidJs = {
24441
24447
  BaseEvents
24442
24448
  >;
24443
24449
 
24450
+ /**
24451
+ * `<vaadin-badge>` is a Web Component for displaying badges.
24452
+ *
24453
+ * ```html
24454
+ * <vaadin-badge>New</vaadin-badge>
24455
+ * ```
24456
+ *
24457
+ * ### Slots
24458
+ *
24459
+ * Name | Description
24460
+ * ---------|-------------
24461
+ * (none) | Default slot for the badge text content
24462
+ * `icon` | Slot for an icon to place before the text
24463
+ *
24464
+ * ### Styling
24465
+ *
24466
+ * The following shadow DOM parts are available for styling:
24467
+ *
24468
+ * Part name | Description
24469
+ * -----------|-------------
24470
+ * `icon` | The container for the icon slot
24471
+ * `number` | The container for the number value
24472
+ * `content` | The container for the default slot
24473
+ *
24474
+ * The following state attributes are available for styling:
24475
+ *
24476
+ * Attribute | Description
24477
+ * ---------------|-------------
24478
+ * `has-icon` | Set when the badge has content in the icon slot
24479
+ * `has-content` | Set when the badge has content in the default slot
24480
+ * `has-number` | Set when the badge has a number value
24481
+ *
24482
+ * The following custom CSS properties are available for styling:
24483
+ *
24484
+ * Custom CSS property |
24485
+ * :--------------------------------|
24486
+ * `--vaadin-badge-background` |
24487
+ * `--vaadin-badge-border-color` |
24488
+ * `--vaadin-badge-border-radius` |
24489
+ * `--vaadin-badge-border-width` |
24490
+ * `--vaadin-badge-font-size` |
24491
+ * `--vaadin-badge-font-weight` |
24492
+ * `--vaadin-badge-font-family` |
24493
+ * `--vaadin-badge-gap` |
24494
+ * `--vaadin-badge-line-height` |
24495
+ * `--vaadin-badge-padding` |
24496
+ * `--vaadin-badge-text-color` |
24497
+ *
24498
+ * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
24499
+ *
24500
+ * ## Attributes & Properties
24501
+ *
24502
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
24503
+ *
24504
+ * - `number`: The number to display in the badge.
24505
+ * - `has-icon`/`undefined`: Set when the badge has content in the icon slot
24506
+ * - `has-content`/`undefined`: Set when the badge has content in the default slot
24507
+ * - `has-number`/`undefined`: Set when the badge has a number value
24508
+ * - `dir`: undefined
24509
+ *
24510
+ * ## Events
24511
+ *
24512
+ * Events that will be emitted by the component.
24513
+ *
24514
+ * - `undefined`: undefined
24515
+ *
24516
+ * ## Methods
24517
+ *
24518
+ * Methods that can be called to access component functionality.
24519
+ *
24520
+ * - `createProperty(name, options) => void`: undefined
24521
+ * - `getOrCreateMap(name) => void`: undefined
24522
+ * - `addCheckedInitializer(initializer) => void`: undefined
24523
+ * - `getPropertyDescriptor(name, key, options) => void`: undefined
24524
+ *
24525
+ * ## CSS Custom Properties
24526
+ *
24527
+ * CSS variables available for styling the component.
24528
+ *
24529
+ * - `--vaadin-badge-background`: `--vaadin-badge-border-color` (default: `undefined`)
24530
+ * - `--vaadin-badge-border-radius`: `--vaadin-badge-border-width` (default: `undefined`)
24531
+ * - `--vaadin-badge-font-size`: `--vaadin-badge-font-weight` (default: `undefined`)
24532
+ * - `--vaadin-badge-font-family`: `--vaadin-badge-gap` (default: `undefined`)
24533
+ * - `--vaadin-badge-line-height`: `--vaadin-badge-padding` (default: `undefined`)
24534
+ * - `--vaadin-badge-text-color`: See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation. (default: `undefined`)
24535
+ */
24536
+ "vaadin-badge": Partial<
24537
+ BadgeProps & BadgeSolidJsProps & BaseProps<Badge> & BaseEvents
24538
+ >;
24539
+
24444
24540
  /**
24445
24541
  * `<vaadin-button>` is an accessible and customizable button that allows users to perform actions.
24446
24542
  *
@@ -24551,96 +24647,6 @@ export type CustomElementsSolidJs = {
24551
24647
  ButtonProps & ButtonSolidJsProps & BaseProps<Button> & BaseEvents
24552
24648
  >;
24553
24649
 
24554
- /**
24555
- * `<vaadin-badge>` is a Web Component for displaying badges.
24556
- *
24557
- * ```html
24558
- * <vaadin-badge>New</vaadin-badge>
24559
- * ```
24560
- *
24561
- * ### Slots
24562
- *
24563
- * Name | Description
24564
- * ---------|-------------
24565
- * (none) | Default slot for the badge text content
24566
- * `icon` | Slot for an icon to place before the text
24567
- *
24568
- * ### Styling
24569
- *
24570
- * The following shadow DOM parts are available for styling:
24571
- *
24572
- * Part name | Description
24573
- * -----------|-------------
24574
- * `icon` | The container for the icon slot
24575
- * `number` | The container for the number value
24576
- * `content` | The container for the default slot
24577
- *
24578
- * The following state attributes are available for styling:
24579
- *
24580
- * Attribute | Description
24581
- * ---------------|-------------
24582
- * `has-icon` | Set when the badge has content in the icon slot
24583
- * `has-content` | Set when the badge has content in the default slot
24584
- * `has-number` | Set when the badge has a number value
24585
- *
24586
- * The following custom CSS properties are available for styling:
24587
- *
24588
- * Custom CSS property |
24589
- * :--------------------------------|
24590
- * `--vaadin-badge-background` |
24591
- * `--vaadin-badge-border-color` |
24592
- * `--vaadin-badge-border-radius` |
24593
- * `--vaadin-badge-border-width` |
24594
- * `--vaadin-badge-font-size` |
24595
- * `--vaadin-badge-font-weight` |
24596
- * `--vaadin-badge-font-family` |
24597
- * `--vaadin-badge-gap` |
24598
- * `--vaadin-badge-line-height` |
24599
- * `--vaadin-badge-padding` |
24600
- * `--vaadin-badge-text-color` |
24601
- *
24602
- * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
24603
- *
24604
- * ## Attributes & Properties
24605
- *
24606
- * Component attributes and properties that can be applied to the element or by using JavaScript.
24607
- *
24608
- * - `number`: The number to display in the badge.
24609
- * - `has-icon`/`undefined`: Set when the badge has content in the icon slot
24610
- * - `has-content`/`undefined`: Set when the badge has content in the default slot
24611
- * - `has-number`/`undefined`: Set when the badge has a number value
24612
- * - `dir`: undefined
24613
- *
24614
- * ## Events
24615
- *
24616
- * Events that will be emitted by the component.
24617
- *
24618
- * - `undefined`: undefined
24619
- *
24620
- * ## Methods
24621
- *
24622
- * Methods that can be called to access component functionality.
24623
- *
24624
- * - `createProperty(name, options) => void`: undefined
24625
- * - `getOrCreateMap(name) => void`: undefined
24626
- * - `addCheckedInitializer(initializer) => void`: undefined
24627
- * - `getPropertyDescriptor(name, key, options) => void`: undefined
24628
- *
24629
- * ## CSS Custom Properties
24630
- *
24631
- * CSS variables available for styling the component.
24632
- *
24633
- * - `--vaadin-badge-background`: `--vaadin-badge-border-color` (default: `undefined`)
24634
- * - `--vaadin-badge-border-radius`: `--vaadin-badge-border-width` (default: `undefined`)
24635
- * - `--vaadin-badge-font-size`: `--vaadin-badge-font-weight` (default: `undefined`)
24636
- * - `--vaadin-badge-font-family`: `--vaadin-badge-gap` (default: `undefined`)
24637
- * - `--vaadin-badge-line-height`: `--vaadin-badge-padding` (default: `undefined`)
24638
- * - `--vaadin-badge-text-color`: See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation. (default: `undefined`)
24639
- */
24640
- "vaadin-badge": Partial<
24641
- BadgeProps & BadgeSolidJsProps & BaseProps<Badge> & BaseEvents
24642
- >;
24643
-
24644
24650
  /**
24645
24651
  * `<vaadin-checkbox>` is an input field representing a binary choice.
24646
24652
  *
@@ -98,6 +98,27 @@ const VaadinSuperclassParserPlugin = {
98
98
  }
99
99
  }
100
100
 
101
+ /**
102
+ * Custom plugin that we wrote ourselves, that marks underscore-prefixed members as
103
+ * protected/private (the Vaadin naming convention), since the inherited Vaadin code
104
+ * carries no privacy metadata. Consumers such as the Storybook helpers rely on the
105
+ * privacy field to skip internals.
106
+ */
107
+ const VaadinPrivacyPlugin = {
108
+ name: 'vaadin-privacy',
109
+ packageLinkPhase({customElementsManifest}) {
110
+ for (const module of customElementsManifest.modules ?? []) {
111
+ for (const declaration of module.declarations ?? []) {
112
+ for (const member of declaration.members ?? []) {
113
+ if (!member.privacy && member.name.startsWith('_')) {
114
+ member.privacy = member.name.startsWith('__') ? 'private' : 'protected';
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+
101
122
  /* -------------------------------- */
102
123
 
103
124
  // Retrieve path to the Vaadin NPM package
@@ -111,6 +132,7 @@ export default {
111
132
  ...baseConfig.plugins,
112
133
  VaadinSuperclassParserPlugin, // Resolve conflict in package names
113
134
  cemInheritancePlugin(), // Inject the analysis of the inherited Vaadin code
114
- VaadinJSDocParserPlugin // Inject JSDoc of the inherited Vaadin code
135
+ VaadinJSDocParserPlugin, // Inject JSDoc of the inherited Vaadin code
136
+ VaadinPrivacyPlugin // Mark inherited underscore members as non-public
115
137
  ]
116
138
  }