@vertexvis/ui-react 0.1.5-canary.6 → 1.0.0-testing.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,266 +1,423 @@
1
- import { __assign, __extends, __rest } from 'tslib';
2
- import React, { createElement } from 'react';
3
- import 'react-dom';
4
- import { defineCustomElements } from '@vertexvis/ui/loader';
1
+ 'use client';
2
+ import { createComponent } from '@stencil/react-output-target/runtime';
3
+ import React from 'react';
4
+ import { VertexAutoResizeTextarea as VertexAutoResizeTextarea$1, defineCustomElement } from '@vertexvis/ui/dist/components/vertex-auto-resize-textarea.js';
5
+ import { VertexAvatarGroup as VertexAvatarGroup$1, defineCustomElement as defineCustomElement$2 } from '@vertexvis/ui/dist/components/vertex-avatar-group.js';
6
+ import { VertexAvatar as VertexAvatar$1, defineCustomElement as defineCustomElement$1 } from '@vertexvis/ui/dist/components/vertex-avatar.js';
7
+ import { VertexBadge as VertexBadge$1, defineCustomElement as defineCustomElement$3 } from '@vertexvis/ui/dist/components/vertex-badge.js';
8
+ import { VertexBanner as VertexBanner$1, defineCustomElement as defineCustomElement$4 } from '@vertexvis/ui/dist/components/vertex-banner.js';
9
+ import { VertexButton as VertexButton$1, defineCustomElement as defineCustomElement$5 } from '@vertexvis/ui/dist/components/vertex-button.js';
10
+ import { VertexCardGroup as VertexCardGroup$1, defineCustomElement as defineCustomElement$7 } from '@vertexvis/ui/dist/components/vertex-card-group.js';
11
+ import { VertexCard as VertexCard$1, defineCustomElement as defineCustomElement$6 } from '@vertexvis/ui/dist/components/vertex-card.js';
12
+ import { VertexChip as VertexChip$1, defineCustomElement as defineCustomElement$8 } from '@vertexvis/ui/dist/components/vertex-chip.js';
13
+ import { VertexClickToEditTextfield as VertexClickToEditTextfield$1, defineCustomElement as defineCustomElement$9 } from '@vertexvis/ui/dist/components/vertex-click-to-edit-textfield.js';
14
+ import { VertexCollapsible as VertexCollapsible$1, defineCustomElement as defineCustomElement$a } from '@vertexvis/ui/dist/components/vertex-collapsible.js';
15
+ import { VertexColorCirclePicker as VertexColorCirclePicker$1, defineCustomElement as defineCustomElement$b } from '@vertexvis/ui/dist/components/vertex-color-circle-picker.js';
16
+ import { VertexColorPicker as VertexColorPicker$1, defineCustomElement as defineCustomElement$c } from '@vertexvis/ui/dist/components/vertex-color-picker.js';
17
+ import { VertexColorSwatch as VertexColorSwatch$1, defineCustomElement as defineCustomElement$d } from '@vertexvis/ui/dist/components/vertex-color-swatch.js';
18
+ import { VertexContextMenu as VertexContextMenu$1, defineCustomElement as defineCustomElement$e } from '@vertexvis/ui/dist/components/vertex-context-menu.js';
19
+ import { VertexDialog as VertexDialog$1, defineCustomElement as defineCustomElement$f } from '@vertexvis/ui/dist/components/vertex-dialog.js';
20
+ import { VertexDraggablePopover as VertexDraggablePopover$1, defineCustomElement as defineCustomElement$g } from '@vertexvis/ui/dist/components/vertex-draggable-popover.js';
21
+ import { VertexDropdownMenu as VertexDropdownMenu$1, defineCustomElement as defineCustomElement$h } from '@vertexvis/ui/dist/components/vertex-dropdown-menu.js';
22
+ import { VertexExpandable as VertexExpandable$1, defineCustomElement as defineCustomElement$i } from '@vertexvis/ui/dist/components/vertex-expandable.js';
23
+ import { VertexHelpTooltip as VertexHelpTooltip$1, defineCustomElement as defineCustomElement$j } from '@vertexvis/ui/dist/components/vertex-help-tooltip.js';
24
+ import { VertexIconButton as VertexIconButton$1, defineCustomElement as defineCustomElement$l } from '@vertexvis/ui/dist/components/vertex-icon-button.js';
25
+ import { VertexIcon as VertexIcon$1, defineCustomElement as defineCustomElement$k } from '@vertexvis/ui/dist/components/vertex-icon.js';
26
+ import { VertexLogoLoading as VertexLogoLoading$1, defineCustomElement as defineCustomElement$m } from '@vertexvis/ui/dist/components/vertex-logo-loading.js';
27
+ import { VertexMenuDivider as VertexMenuDivider$1, defineCustomElement as defineCustomElement$o } from '@vertexvis/ui/dist/components/vertex-menu-divider.js';
28
+ import { VertexMenuItem as VertexMenuItem$1, defineCustomElement as defineCustomElement$p } from '@vertexvis/ui/dist/components/vertex-menu-item.js';
29
+ import { VertexMenu as VertexMenu$1, defineCustomElement as defineCustomElement$n } from '@vertexvis/ui/dist/components/vertex-menu.js';
30
+ import { VertexPopover as VertexPopover$1, defineCustomElement as defineCustomElement$q } from '@vertexvis/ui/dist/components/vertex-popover.js';
31
+ import { VertexRadioGroup as VertexRadioGroup$1, defineCustomElement as defineCustomElement$s } from '@vertexvis/ui/dist/components/vertex-radio-group.js';
32
+ import { VertexRadio as VertexRadio$1, defineCustomElement as defineCustomElement$r } from '@vertexvis/ui/dist/components/vertex-radio.js';
33
+ import { VertexResizable as VertexResizable$1, defineCustomElement as defineCustomElement$t } from '@vertexvis/ui/dist/components/vertex-resizable.js';
34
+ import { VertexResultList as VertexResultList$1, defineCustomElement as defineCustomElement$u } from '@vertexvis/ui/dist/components/vertex-result-list.js';
35
+ import { VertexSearchBar as VertexSearchBar$1, defineCustomElement as defineCustomElement$v } from '@vertexvis/ui/dist/components/vertex-search-bar.js';
36
+ import { VertexSelect as VertexSelect$1, defineCustomElement as defineCustomElement$w } from '@vertexvis/ui/dist/components/vertex-select.js';
37
+ import { VertexSlider as VertexSlider$1, defineCustomElement as defineCustomElement$x } from '@vertexvis/ui/dist/components/vertex-slider.js';
38
+ import { VertexSpinner as VertexSpinner$1, defineCustomElement as defineCustomElement$y } from '@vertexvis/ui/dist/components/vertex-spinner.js';
39
+ import { VertexTab as VertexTab$1, defineCustomElement as defineCustomElement$z } from '@vertexvis/ui/dist/components/vertex-tab.js';
40
+ import { VertexTabs as VertexTabs$1, defineCustomElement as defineCustomElement$A } from '@vertexvis/ui/dist/components/vertex-tabs.js';
41
+ import { VertexTextfield as VertexTextfield$1, defineCustomElement as defineCustomElement$B } from '@vertexvis/ui/dist/components/vertex-textfield.js';
42
+ import { VertexToast as VertexToast$1, defineCustomElement as defineCustomElement$C } from '@vertexvis/ui/dist/components/vertex-toast.js';
43
+ import { VertexToggle as VertexToggle$1, defineCustomElement as defineCustomElement$D } from '@vertexvis/ui/dist/components/vertex-toggle.js';
44
+ import { VertexTooltip as VertexTooltip$1, defineCustomElement as defineCustomElement$E } from '@vertexvis/ui/dist/components/vertex-tooltip.js';
5
45
  export * from '@vertexvis/ui/loader';
6
46
 
7
- var dashToPascalCase = function (str) {
8
- return str
9
- .toLowerCase()
10
- .split('-')
11
- .map(function (segment) { return segment.charAt(0).toUpperCase() + segment.slice(1); })
12
- .join('');
13
- };
14
- var camelToDashCase = function (str) { return str.replace(/([A-Z])/g, function (m) { return "-".concat(m[0].toLowerCase()); }); };
15
-
16
- var attachProps = function (node, newProps, oldProps) {
17
- if (oldProps === void 0) { oldProps = {}; }
18
- // some test frameworks don't render DOM elements, so we test here to make sure we are dealing with DOM first
19
- if (node instanceof Element) {
20
- // add any classes in className to the class list
21
- var className = getClassName(node.classList, newProps, oldProps);
22
- if (className !== '') {
23
- node.className = className;
24
- }
25
- Object.keys(newProps).forEach(function (name) {
26
- if (name === 'children' ||
27
- name === 'style' ||
28
- name === 'ref' ||
29
- name === 'class' ||
30
- name === 'className' ||
31
- name === 'forwardedRef') {
32
- return;
33
- }
34
- if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
35
- var eventName = name.substring(2);
36
- var eventNameLc = eventName[0].toLowerCase() + eventName.substring(1);
37
- if (!isCoveredByReact(eventNameLc)) {
38
- syncEvent(node, eventNameLc, newProps[name]);
39
- }
40
- }
41
- else {
42
- node[name] = newProps[name];
43
- var propType = typeof newProps[name];
44
- if (propType === 'string') {
45
- node.setAttribute(camelToDashCase(name), newProps[name]);
46
- }
47
- }
48
- });
49
- }
50
- };
51
- var getClassName = function (classList, newProps, oldProps) {
52
- var newClassProp = newProps.className || newProps.class;
53
- var oldClassProp = oldProps.className || oldProps.class;
54
- // map the classes to Maps for performance
55
- var currentClasses = arrayToMap(classList);
56
- var incomingPropClasses = arrayToMap(newClassProp ? newClassProp.split(' ') : []);
57
- var oldPropClasses = arrayToMap(oldClassProp ? oldClassProp.split(' ') : []);
58
- var finalClassNames = [];
59
- // loop through each of the current classes on the component
60
- // to see if it should be a part of the classNames added
61
- currentClasses.forEach(function (currentClass) {
62
- if (incomingPropClasses.has(currentClass)) {
63
- // add it as its already included in classnames coming in from newProps
64
- finalClassNames.push(currentClass);
65
- incomingPropClasses.delete(currentClass);
66
- }
67
- else if (!oldPropClasses.has(currentClass)) {
68
- // add it as it has NOT been removed by user
69
- finalClassNames.push(currentClass);
70
- }
71
- });
72
- incomingPropClasses.forEach(function (s) { return finalClassNames.push(s); });
73
- return finalClassNames.join(' ');
74
- };
75
- /**
76
- * Transforms a React event name to a browser event name.
77
- */
78
- var transformReactEventName = function (eventNameSuffix) {
79
- switch (eventNameSuffix) {
80
- case 'doubleclick':
81
- return 'dblclick';
82
- }
83
- return eventNameSuffix;
84
- };
85
- /**
86
- * Checks if an event is supported in the current execution environment.
87
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
88
- */
89
- var isCoveredByReact = function (eventNameSuffix) {
90
- if (typeof document === 'undefined') {
91
- return true;
92
- }
93
- else {
94
- var eventName = 'on' + transformReactEventName(eventNameSuffix);
95
- var isSupported = eventName in document;
96
- if (!isSupported) {
97
- var element = document.createElement('div');
98
- element.setAttribute(eventName, 'return;');
99
- isSupported = typeof element[eventName] === 'function';
100
- }
101
- return isSupported;
102
- }
103
- };
104
- var syncEvent = function (node, eventName, newEventHandler) {
105
- var eventStore = node.__events || (node.__events = {});
106
- var oldEventHandler = eventStore[eventName];
107
- // Remove old listener so they don't double up.
108
- if (oldEventHandler) {
109
- node.removeEventListener(eventName, oldEventHandler);
110
- }
111
- // Bind new listener.
112
- node.addEventListener(eventName, (eventStore[eventName] = function handler(e) {
113
- if (newEventHandler) {
114
- newEventHandler.call(this, e);
115
- }
116
- }));
117
- };
118
- var arrayToMap = function (arr) {
119
- var map = new Map();
120
- arr.forEach(function (s) { return map.set(s, s); });
121
- return map;
122
- };
123
-
124
- var setRef = function (ref, value) {
125
- if (typeof ref === 'function') {
126
- ref(value);
127
- }
128
- else if (ref != null) {
129
- // Cast as a MutableRef so we can assign current
130
- ref.current = value;
131
- }
132
- };
133
- var mergeRefs = function () {
134
- var refs = [];
135
- for (var _i = 0; _i < arguments.length; _i++) {
136
- refs[_i] = arguments[_i];
137
- }
138
- return function (value) {
139
- refs.forEach(function (ref) {
140
- setRef(ref, value);
141
- });
142
- };
143
- };
144
- var createForwardRef = function (ReactComponent, displayName) {
145
- var forwardRef = function (props, ref) {
146
- return React.createElement(ReactComponent, __assign({}, props, { forwardedRef: ref }));
147
- };
148
- forwardRef.displayName = displayName;
149
- return React.forwardRef(forwardRef);
150
- };
151
-
152
- var createReactComponent = function (tagName, ReactComponentContext, manipulatePropsFunction, defineCustomElement) {
153
- if (defineCustomElement !== undefined) {
154
- defineCustomElement();
155
- }
156
- var displayName = dashToPascalCase(tagName);
157
- var ReactComponent = /** @class */ (function (_super) {
158
- __extends(class_1, _super);
159
- function class_1(props) {
160
- var _this = _super.call(this, props) || this;
161
- _this.setComponentElRef = function (element) {
162
- _this.componentEl = element;
163
- };
164
- return _this;
165
- }
166
- class_1.prototype.componentDidMount = function () {
167
- this.componentDidUpdate(this.props);
168
- };
169
- class_1.prototype.componentDidUpdate = function (prevProps) {
170
- attachProps(this.componentEl, this.props, prevProps);
171
- };
172
- class_1.prototype.render = function () {
173
- var _a = this.props, children = _a.children, forwardedRef = _a.forwardedRef, style = _a.style; _a.className; _a.ref; var cProps = __rest(_a, ["children", "forwardedRef", "style", "className", "ref"]);
174
- var propsToPass = Object.keys(cProps).reduce(function (acc, name) {
175
- var value = cProps[name];
176
- if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
177
- var eventName = name.substring(2).toLowerCase();
178
- if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {
179
- acc[name] = value;
180
- }
181
- }
182
- else {
183
- // we should only render strings, booleans, and numbers as attrs in html.
184
- // objects, functions, arrays etc get synced via properties on mount.
185
- var type = typeof value;
186
- if (type === 'string' || type === 'boolean' || type === 'number') {
187
- acc[camelToDashCase(name)] = value;
188
- }
189
- }
190
- return acc;
191
- }, {});
192
- if (manipulatePropsFunction) {
193
- propsToPass = manipulatePropsFunction(this.props, propsToPass);
194
- }
195
- var newProps = __assign(__assign({}, propsToPass), { ref: mergeRefs(forwardedRef, this.setComponentElRef), style: style });
196
- /**
197
- * We use createElement here instead of
198
- * React.createElement to work around a
199
- * bug in Vite (https://github.com/vitejs/vite/issues/6104).
200
- * React.createElement causes all elements to be rendered
201
- * as <tagname> instead of the actual Web Component.
202
- */
203
- return createElement(tagName, newProps, children);
204
- };
205
- Object.defineProperty(class_1, "displayName", {
206
- get: function () {
207
- return displayName;
208
- },
209
- enumerable: false,
210
- configurable: true
211
- });
212
- return class_1;
213
- }(React.Component));
214
- // If context was passed to createReactComponent then conditionally add it to the Component Class
215
- if (ReactComponentContext) {
216
- ReactComponent.contextType = ReactComponentContext;
217
- }
218
- return createForwardRef(ReactComponent, displayName);
219
- };
220
-
221
- /* eslint-disable */
222
- defineCustomElements();
223
- var VertexAutoResizeTextarea = /*@__PURE__*/ createReactComponent('vertex-auto-resize-textarea');
224
- var VertexAvatar = /*@__PURE__*/ createReactComponent('vertex-avatar');
225
- var VertexAvatarGroup = /*@__PURE__*/ createReactComponent('vertex-avatar-group');
226
- var VertexBadge = /*@__PURE__*/ createReactComponent('vertex-badge');
227
- var VertexBanner = /*@__PURE__*/ createReactComponent('vertex-banner');
228
- var VertexButton = /*@__PURE__*/ createReactComponent('vertex-button');
229
- var VertexCard = /*@__PURE__*/ createReactComponent('vertex-card');
230
- var VertexCardGroup = /*@__PURE__*/ createReactComponent('vertex-card-group');
231
- var VertexChip = /*@__PURE__*/ createReactComponent('vertex-chip');
232
- var VertexClickToEditTextfield = /*@__PURE__*/ createReactComponent('vertex-click-to-edit-textfield');
233
- var VertexCollapsible = /*@__PURE__*/ createReactComponent('vertex-collapsible');
234
- var VertexColorCirclePicker = /*@__PURE__*/ createReactComponent('vertex-color-circle-picker');
235
- var VertexColorPicker = /*@__PURE__*/ createReactComponent('vertex-color-picker');
236
- var VertexColorSwatch = /*@__PURE__*/ createReactComponent('vertex-color-swatch');
237
- var VertexContextMenu = /*@__PURE__*/ createReactComponent('vertex-context-menu');
238
- var VertexDialog = /*@__PURE__*/ createReactComponent('vertex-dialog');
239
- var VertexDraggablePopover = /*@__PURE__*/ createReactComponent('vertex-draggable-popover');
240
- var VertexDropdownMenu = /*@__PURE__*/ createReactComponent('vertex-dropdown-menu');
241
- var VertexExpandable = /*@__PURE__*/ createReactComponent('vertex-expandable');
242
- var VertexHelpTooltip = /*@__PURE__*/ createReactComponent('vertex-help-tooltip');
243
- var VertexIcon = /*@__PURE__*/ createReactComponent('vertex-icon');
244
- var VertexIconButton = /*@__PURE__*/ createReactComponent('vertex-icon-button');
245
- var VertexLogoLoading = /*@__PURE__*/ createReactComponent('vertex-logo-loading');
246
- var VertexMenu = /*@__PURE__*/ createReactComponent('vertex-menu');
247
- var VertexMenuDivider = /*@__PURE__*/ createReactComponent('vertex-menu-divider');
248
- var VertexMenuItem = /*@__PURE__*/ createReactComponent('vertex-menu-item');
249
- var VertexPopover = /*@__PURE__*/ createReactComponent('vertex-popover');
250
- var VertexRadio = /*@__PURE__*/ createReactComponent('vertex-radio');
251
- var VertexRadioGroup = /*@__PURE__*/ createReactComponent('vertex-radio-group');
252
- var VertexResizable = /*@__PURE__*/ createReactComponent('vertex-resizable');
253
- var VertexResultList = /*@__PURE__*/ createReactComponent('vertex-result-list');
254
- var VertexSearchBar = /*@__PURE__*/ createReactComponent('vertex-search-bar');
255
- var VertexSelect = /*@__PURE__*/ createReactComponent('vertex-select');
256
- var VertexSlider = /*@__PURE__*/ createReactComponent('vertex-slider');
257
- var VertexSpinner = /*@__PURE__*/ createReactComponent('vertex-spinner');
258
- var VertexTab = /*@__PURE__*/ createReactComponent('vertex-tab');
259
- var VertexTabs = /*@__PURE__*/ createReactComponent('vertex-tabs');
260
- var VertexTextfield = /*@__PURE__*/ createReactComponent('vertex-textfield');
261
- var VertexToast = /*@__PURE__*/ createReactComponent('vertex-toast');
262
- var VertexToggle = /*@__PURE__*/ createReactComponent('vertex-toggle');
263
- var VertexTooltip = /*@__PURE__*/ createReactComponent('vertex-tooltip');
47
+ const VertexAutoResizeTextarea = /*@__PURE__*/ createComponent({
48
+ tagName: 'vertex-auto-resize-textarea',
49
+ elementClass: VertexAutoResizeTextarea$1,
50
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
51
+ react: React,
52
+ events: {},
53
+ defineCustomElement: defineCustomElement
54
+ });
55
+ const VertexAvatar = /*@__PURE__*/ createComponent({
56
+ tagName: 'vertex-avatar',
57
+ elementClass: VertexAvatar$1,
58
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
59
+ react: React,
60
+ events: {},
61
+ defineCustomElement: defineCustomElement$1
62
+ });
63
+ const VertexAvatarGroup = /*@__PURE__*/ createComponent({
64
+ tagName: 'vertex-avatar-group',
65
+ elementClass: VertexAvatarGroup$1,
66
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
67
+ react: React,
68
+ events: {},
69
+ defineCustomElement: defineCustomElement$2
70
+ });
71
+ const VertexBadge = /*@__PURE__*/ createComponent({
72
+ tagName: 'vertex-badge',
73
+ elementClass: VertexBadge$1,
74
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
75
+ react: React,
76
+ events: {},
77
+ defineCustomElement: defineCustomElement$3
78
+ });
79
+ const VertexBanner = /*@__PURE__*/ createComponent({
80
+ tagName: 'vertex-banner',
81
+ elementClass: VertexBanner$1,
82
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
83
+ react: React,
84
+ events: { onClosed: 'closed' },
85
+ defineCustomElement: defineCustomElement$4
86
+ });
87
+ const VertexButton = /*@__PURE__*/ createComponent({
88
+ tagName: 'vertex-button',
89
+ elementClass: VertexButton$1,
90
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
91
+ react: React,
92
+ events: {},
93
+ defineCustomElement: defineCustomElement$5
94
+ });
95
+ const VertexCard = /*@__PURE__*/ createComponent({
96
+ tagName: 'vertex-card',
97
+ elementClass: VertexCard$1,
98
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
99
+ react: React,
100
+ events: { onContentClick: 'contentClick' },
101
+ defineCustomElement: defineCustomElement$6
102
+ });
103
+ const VertexCardGroup = /*@__PURE__*/ createComponent({
104
+ tagName: 'vertex-card-group',
105
+ elementClass: VertexCardGroup$1,
106
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
107
+ react: React,
108
+ events: {},
109
+ defineCustomElement: defineCustomElement$7
110
+ });
111
+ const VertexChip = /*@__PURE__*/ createComponent({
112
+ tagName: 'vertex-chip',
113
+ elementClass: VertexChip$1,
114
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
115
+ react: React,
116
+ events: {},
117
+ defineCustomElement: defineCustomElement$8
118
+ });
119
+ const VertexClickToEditTextfield = /*@__PURE__*/ createComponent({
120
+ tagName: 'vertex-click-to-edit-textfield',
121
+ elementClass: VertexClickToEditTextfield$1,
122
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
123
+ react: React,
124
+ events: {
125
+ onInputFocus: 'inputFocus',
126
+ onInputBlur: 'inputBlur',
127
+ onInputInput: 'inputInput',
128
+ onInputChange: 'inputChange',
129
+ onInputSubmit: 'inputSubmit'
130
+ },
131
+ defineCustomElement: defineCustomElement$9
132
+ });
133
+ const VertexCollapsible = /*@__PURE__*/ createComponent({
134
+ tagName: 'vertex-collapsible',
135
+ elementClass: VertexCollapsible$1,
136
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
137
+ react: React,
138
+ events: {},
139
+ defineCustomElement: defineCustomElement$a
140
+ });
141
+ const VertexColorCirclePicker = /*@__PURE__*/ createComponent({
142
+ tagName: 'vertex-color-circle-picker',
143
+ elementClass: VertexColorCirclePicker$1,
144
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
145
+ react: React,
146
+ events: { onSelectionChanged: 'selectionChanged' },
147
+ defineCustomElement: defineCustomElement$b
148
+ });
149
+ const VertexColorPicker = /*@__PURE__*/ createComponent({
150
+ tagName: 'vertex-color-picker',
151
+ elementClass: VertexColorPicker$1,
152
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
153
+ react: React,
154
+ events: {
155
+ onValueInput: 'valueInput',
156
+ onValueChanged: 'valueChanged'
157
+ },
158
+ defineCustomElement: defineCustomElement$c
159
+ });
160
+ const VertexColorSwatch = /*@__PURE__*/ createComponent({
161
+ tagName: 'vertex-color-swatch',
162
+ elementClass: VertexColorSwatch$1,
163
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
164
+ react: React,
165
+ events: {},
166
+ defineCustomElement: defineCustomElement$d
167
+ });
168
+ const VertexContextMenu = /*@__PURE__*/ createComponent({
169
+ tagName: 'vertex-context-menu',
170
+ elementClass: VertexContextMenu$1,
171
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
172
+ react: React,
173
+ events: {
174
+ onMenuOpened: 'menuOpened',
175
+ onMenuClosed: 'menuClosed'
176
+ },
177
+ defineCustomElement: defineCustomElement$e
178
+ });
179
+ const VertexDialog = /*@__PURE__*/ createComponent({
180
+ tagName: 'vertex-dialog',
181
+ elementClass: VertexDialog$1,
182
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
183
+ react: React,
184
+ events: {
185
+ onBackdropClick: 'backdropClick',
186
+ onClosed: 'closed'
187
+ },
188
+ defineCustomElement: defineCustomElement$f
189
+ });
190
+ const VertexDraggablePopover = /*@__PURE__*/ createComponent({
191
+ tagName: 'vertex-draggable-popover',
192
+ elementClass: VertexDraggablePopover$1,
193
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
194
+ react: React,
195
+ events: { onPositionChanged: 'positionChanged' },
196
+ defineCustomElement: defineCustomElement$g
197
+ });
198
+ const VertexDropdownMenu = /*@__PURE__*/ createComponent({
199
+ tagName: 'vertex-dropdown-menu',
200
+ elementClass: VertexDropdownMenu$1,
201
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
202
+ react: React,
203
+ events: {
204
+ onMenuOpened: 'menuOpened',
205
+ onMenuClosed: 'menuClosed'
206
+ },
207
+ defineCustomElement: defineCustomElement$h
208
+ });
209
+ const VertexExpandable = /*@__PURE__*/ createComponent({
210
+ tagName: 'vertex-expandable',
211
+ elementClass: VertexExpandable$1,
212
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
213
+ react: React,
214
+ events: {
215
+ onExpand: 'expand',
216
+ onCollapse: 'collapse'
217
+ },
218
+ defineCustomElement: defineCustomElement$i
219
+ });
220
+ const VertexHelpTooltip = /*@__PURE__*/ createComponent({
221
+ tagName: 'vertex-help-tooltip',
222
+ elementClass: VertexHelpTooltip$1,
223
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
224
+ react: React,
225
+ events: {
226
+ onMenuOpened: 'menuOpened',
227
+ onMenuClosed: 'menuClosed'
228
+ },
229
+ defineCustomElement: defineCustomElement$j
230
+ });
231
+ const VertexIcon = /*@__PURE__*/ createComponent({
232
+ tagName: 'vertex-icon',
233
+ elementClass: VertexIcon$1,
234
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
235
+ react: React,
236
+ events: {},
237
+ defineCustomElement: defineCustomElement$k
238
+ });
239
+ const VertexIconButton = /*@__PURE__*/ createComponent({
240
+ tagName: 'vertex-icon-button',
241
+ elementClass: VertexIconButton$1,
242
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
243
+ react: React,
244
+ events: {},
245
+ defineCustomElement: defineCustomElement$l
246
+ });
247
+ const VertexLogoLoading = /*@__PURE__*/ createComponent({
248
+ tagName: 'vertex-logo-loading',
249
+ elementClass: VertexLogoLoading$1,
250
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
251
+ react: React,
252
+ events: {},
253
+ defineCustomElement: defineCustomElement$m
254
+ });
255
+ const VertexMenu = /*@__PURE__*/ createComponent({
256
+ tagName: 'vertex-menu',
257
+ elementClass: VertexMenu$1,
258
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
259
+ react: React,
260
+ events: { onMenuClosed: 'menuClosed' },
261
+ defineCustomElement: defineCustomElement$n
262
+ });
263
+ const VertexMenuDivider = /*@__PURE__*/ createComponent({
264
+ tagName: 'vertex-menu-divider',
265
+ elementClass: VertexMenuDivider$1,
266
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
267
+ react: React,
268
+ events: {},
269
+ defineCustomElement: defineCustomElement$o
270
+ });
271
+ const VertexMenuItem = /*@__PURE__*/ createComponent({
272
+ tagName: 'vertex-menu-item',
273
+ elementClass: VertexMenuItem$1,
274
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
275
+ react: React,
276
+ events: {},
277
+ defineCustomElement: defineCustomElement$p
278
+ });
279
+ const VertexPopover = /*@__PURE__*/ createComponent({
280
+ tagName: 'vertex-popover',
281
+ elementClass: VertexPopover$1,
282
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
283
+ react: React,
284
+ events: { onDismissed: 'dismissed' },
285
+ defineCustomElement: defineCustomElement$q
286
+ });
287
+ const VertexRadio = /*@__PURE__*/ createComponent({
288
+ tagName: 'vertex-radio',
289
+ elementClass: VertexRadio$1,
290
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
291
+ react: React,
292
+ events: { onValueChanged: 'valueChanged' },
293
+ defineCustomElement: defineCustomElement$r
294
+ });
295
+ const VertexRadioGroup = /*@__PURE__*/ createComponent({
296
+ tagName: 'vertex-radio-group',
297
+ elementClass: VertexRadioGroup$1,
298
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
299
+ react: React,
300
+ events: { onValueChanged: 'valueChanged' },
301
+ defineCustomElement: defineCustomElement$s
302
+ });
303
+ const VertexResizable = /*@__PURE__*/ createComponent({
304
+ tagName: 'vertex-resizable',
305
+ elementClass: VertexResizable$1,
306
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
307
+ react: React,
308
+ events: {
309
+ onResizeStart: 'resizeStart',
310
+ onResizeEnd: 'resizeEnd'
311
+ },
312
+ defineCustomElement: defineCustomElement$t
313
+ });
314
+ const VertexResultList = /*@__PURE__*/ createComponent({
315
+ tagName: 'vertex-result-list',
316
+ elementClass: VertexResultList$1,
317
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
318
+ react: React,
319
+ events: {
320
+ onEnterPressed: 'enterPressed',
321
+ onResultClick: 'resultClick'
322
+ },
323
+ defineCustomElement: defineCustomElement$u
324
+ });
325
+ const VertexSearchBar = /*@__PURE__*/ createComponent({
326
+ tagName: 'vertex-search-bar',
327
+ elementClass: VertexSearchBar$1,
328
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
329
+ react: React,
330
+ events: {
331
+ onSearchChanged: 'searchChanged',
332
+ onInputChanged: 'inputChanged',
333
+ onResultReplaced: 'resultReplaced',
334
+ onInputFocus: 'inputFocus',
335
+ onInputBlur: 'inputBlur'
336
+ },
337
+ defineCustomElement: defineCustomElement$v
338
+ });
339
+ const VertexSelect = /*@__PURE__*/ createComponent({
340
+ tagName: 'vertex-select',
341
+ elementClass: VertexSelect$1,
342
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
343
+ react: React,
344
+ events: { onOptionChanged: 'optionChanged' },
345
+ defineCustomElement: defineCustomElement$w
346
+ });
347
+ const VertexSlider = /*@__PURE__*/ createComponent({
348
+ tagName: 'vertex-slider',
349
+ elementClass: VertexSlider$1,
350
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
351
+ react: React,
352
+ events: {
353
+ onValueChange: 'valueChange',
354
+ onValueInput: 'valueInput'
355
+ },
356
+ defineCustomElement: defineCustomElement$x
357
+ });
358
+ const VertexSpinner = /*@__PURE__*/ createComponent({
359
+ tagName: 'vertex-spinner',
360
+ elementClass: VertexSpinner$1,
361
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
362
+ react: React,
363
+ events: {},
364
+ defineCustomElement: defineCustomElement$y
365
+ });
366
+ const VertexTab = /*@__PURE__*/ createComponent({
367
+ tagName: 'vertex-tab',
368
+ elementClass: VertexTab$1,
369
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
370
+ react: React,
371
+ events: { onTabClick: 'tabClick' },
372
+ defineCustomElement: defineCustomElement$z
373
+ });
374
+ const VertexTabs = /*@__PURE__*/ createComponent({
375
+ tagName: 'vertex-tabs',
376
+ elementClass: VertexTabs$1,
377
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
378
+ react: React,
379
+ events: { onSelectedTabChanged: 'selectedTabChanged' },
380
+ defineCustomElement: defineCustomElement$A
381
+ });
382
+ const VertexTextfield = /*@__PURE__*/ createComponent({
383
+ tagName: 'vertex-textfield',
384
+ elementClass: VertexTextfield$1,
385
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
386
+ react: React,
387
+ events: {
388
+ onInputFocus: 'inputFocus',
389
+ onInputBlur: 'inputBlur',
390
+ onInputInput: 'inputInput',
391
+ onInputChange: 'inputChange',
392
+ onTextFieldKeyDown: 'textFieldKeyDown',
393
+ onInputAutofill: 'inputAutofill'
394
+ },
395
+ defineCustomElement: defineCustomElement$B
396
+ });
397
+ const VertexToast = /*@__PURE__*/ createComponent({
398
+ tagName: 'vertex-toast',
399
+ elementClass: VertexToast$1,
400
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
401
+ react: React,
402
+ events: { onClosed: 'closed' },
403
+ defineCustomElement: defineCustomElement$C
404
+ });
405
+ const VertexToggle = /*@__PURE__*/ createComponent({
406
+ tagName: 'vertex-toggle',
407
+ elementClass: VertexToggle$1,
408
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
409
+ react: React,
410
+ events: { onValueChanged: 'valueChanged' },
411
+ defineCustomElement: defineCustomElement$D
412
+ });
413
+ const VertexTooltip = /*@__PURE__*/ createComponent({
414
+ tagName: 'vertex-tooltip',
415
+ elementClass: VertexTooltip$1,
416
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
417
+ react: React,
418
+ events: {},
419
+ defineCustomElement: defineCustomElement$E
420
+ });
264
421
 
265
422
  export { VertexAutoResizeTextarea, VertexAvatar, VertexAvatarGroup, VertexBadge, VertexBanner, VertexButton, VertexCard, VertexCardGroup, VertexChip, VertexClickToEditTextfield, VertexCollapsible, VertexColorCirclePicker, VertexColorPicker, VertexColorSwatch, VertexContextMenu, VertexDialog, VertexDraggablePopover, VertexDropdownMenu, VertexExpandable, VertexHelpTooltip, VertexIcon, VertexIconButton, VertexLogoLoading, VertexMenu, VertexMenuDivider, VertexMenuItem, VertexPopover, VertexRadio, VertexRadioGroup, VertexResizable, VertexResultList, VertexSearchBar, VertexSelect, VertexSlider, VertexSpinner, VertexTab, VertexTabs, VertexTextfield, VertexToast, VertexToggle, VertexTooltip };
266
423
  //# sourceMappingURL=bundle.esm.js.map