@poppy-ui/vue 0.4.0 → 0.5.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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, getCurrentInstance, inject, h, withDirectives } from 'vue';
1
+ import { defineContainer } from '@stencil/vue-output-target/runtime';
2
2
  import { defineCustomElement } from '@poppy-ui/core/components/pop-accordion.js';
3
3
  import { defineCustomElement as defineCustomElement$1 } from '@poppy-ui/core/components/pop-accordion-group.js';
4
4
  import { defineCustomElement as defineCustomElement$2 } from '@poppy-ui/core/components/pop-avatar.js';
@@ -37,194 +37,6 @@ import { defineCustomElement as defineCustomElement$y } from '@poppy-ui/core/com
37
37
  import { defineCustomElement as defineCustomElement$z } from '@poppy-ui/core/components/pop-tooltip.js';
38
38
  import { initialize } from '@poppy-ui/core/components';
39
39
 
40
- // @ts-nocheck
41
- // It's easier and safer for Volar to disable typechecking and let the return type inference do its job.
42
- const UPDATE_VALUE_EVENT = 'update:modelValue';
43
- const MODEL_VALUE = 'modelValue';
44
- const ROUTER_LINK_VALUE = 'routerLink';
45
- const NAV_MANAGER = 'navManager';
46
- const ROUTER_PROP_PREFIX = 'router';
47
- const ARIA_PROP_PREFIX = 'aria';
48
- /**
49
- * Starting in Vue 3.1.0, all properties are
50
- * added as keys to the props object, even if
51
- * they are not being used. In order to correctly
52
- * account for both value props and v-model props,
53
- * we need to check if the key exists for Vue <3.1.0
54
- * and then check if it is not undefined for Vue >= 3.1.0.
55
- * See https://github.com/vuejs/vue-next/issues/3889
56
- */
57
- const EMPTY_PROP = Symbol();
58
- const DEFAULT_EMPTY_PROP = { default: EMPTY_PROP };
59
- const getComponentClasses = (classes) => {
60
- return (classes === null || classes === void 0 ? void 0 : classes.split(' ')) || [];
61
- };
62
- const getElementClasses = (ref, componentClasses, defaultClasses = []) => {
63
- var _a;
64
- return [...Array.from(((_a = ref.value) === null || _a === void 0 ? void 0 : _a.classList) || []), ...defaultClasses].filter((c, i, self) => !componentClasses.has(c) && self.indexOf(c) === i);
65
- };
66
- /**
67
- * Create a callback to define a Vue component wrapper around a Web Component.
68
- *
69
- * @prop name - The component tag name (i.e. `ion-button`)
70
- * @prop componentProps - An array of properties on the
71
- * component. These usually match up with the @Prop definitions
72
- * in each component's TSX file.
73
- * @prop customElement - An option custom element instance to pass
74
- * to customElements.define. Only set if `includeImportCustomElements: true` in your config.
75
- * @prop modelProp - The prop that v-model binds to (i.e. value)
76
- * @prop modelUpdateEvent - The event that is fired from your Web Component when the value changes (i.e. ionChange)
77
- */
78
- const defineContainer = (name, defineCustomElement, componentProps = [], modelProp, modelUpdateEvent) => {
79
- /**
80
- * Create a Vue component wrapper around a Web Component.
81
- * Note: The `props` here are not all properties on a component.
82
- * They refer to whatever properties are set on an instance of a component.
83
- */
84
- if (defineCustomElement !== undefined) {
85
- defineCustomElement();
86
- }
87
- const Container = defineComponent((props, { attrs, slots, emit }) => {
88
- var _a;
89
- let modelPropValue = props[modelProp];
90
- const containerRef = ref();
91
- const classes = new Set(getComponentClasses(attrs.class));
92
- /**
93
- * This directive is responsible for updating any reactive
94
- * reference associated with v-model on the component.
95
- * This code must be run inside of the "created" callback.
96
- * Since the following listener callbacks as well as any potential
97
- * event callback defined in the developer's app are set on
98
- * the same element, we need to make sure the following callbacks
99
- * are set first so they fire first. If the developer's callback fires first
100
- * then the reactive reference will not have been updated yet.
101
- */
102
- const vModelDirective = {
103
- created: (el) => {
104
- const eventsNames = Array.isArray(modelUpdateEvent) ? modelUpdateEvent : [modelUpdateEvent];
105
- eventsNames.forEach((eventName) => {
106
- el.addEventListener(eventName.toLowerCase(), (e) => {
107
- /**
108
- * Only update the v-model binding if the event's target is the element we are
109
- * listening on. For example, Component A could emit ionChange, but it could also
110
- * have a descendant Component B that also emits ionChange. We only want to update
111
- * the v-model for Component A when ionChange originates from that element and not
112
- * when ionChange bubbles up from Component B.
113
- */
114
- if (e.target.tagName === el.tagName) {
115
- modelPropValue = (e === null || e === void 0 ? void 0 : e.target)[modelProp];
116
- emit(UPDATE_VALUE_EVENT, modelPropValue);
117
- }
118
- });
119
- });
120
- },
121
- };
122
- const currentInstance = getCurrentInstance();
123
- const hasRouter = (_a = currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.appContext) === null || _a === void 0 ? void 0 : _a.provides[NAV_MANAGER];
124
- const navManager = hasRouter ? inject(NAV_MANAGER) : undefined;
125
- const handleRouterLink = (ev) => {
126
- const { routerLink } = props;
127
- if (routerLink === EMPTY_PROP)
128
- return;
129
- if (navManager !== undefined) {
130
- /**
131
- * This prevents the browser from
132
- * performing a page reload when pressing
133
- * an Ionic component with routerLink.
134
- * The page reload interferes with routing
135
- * and causes ion-back-button to disappear
136
- * since the local history is wiped on reload.
137
- */
138
- ev.preventDefault();
139
- let navigationPayload = { event: ev };
140
- for (const key in props) {
141
- const value = props[key];
142
- if (props.hasOwnProperty(key) && key.startsWith(ROUTER_PROP_PREFIX) && value !== EMPTY_PROP) {
143
- navigationPayload[key] = value;
144
- }
145
- }
146
- navManager.navigate(navigationPayload);
147
- }
148
- else {
149
- console.warn('Tried to navigate, but no router was found. Make sure you have mounted Vue Router.');
150
- }
151
- };
152
- return () => {
153
- modelPropValue = props[modelProp];
154
- getComponentClasses(attrs.class).forEach((value) => {
155
- classes.add(value);
156
- });
157
- const oldClick = props.onClick;
158
- const handleClick = (ev) => {
159
- if (oldClick !== undefined) {
160
- oldClick(ev);
161
- }
162
- if (!ev.defaultPrevented) {
163
- handleRouterLink(ev);
164
- }
165
- };
166
- let propsToAdd = {
167
- ref: containerRef,
168
- class: getElementClasses(containerRef, classes),
169
- onClick: handleClick,
170
- };
171
- /**
172
- * We can use Object.entries here
173
- * to avoid the hasOwnProperty check,
174
- * but that would require 2 iterations
175
- * where as this only requires 1.
176
- */
177
- for (const key in props) {
178
- const value = props[key];
179
- if ((props.hasOwnProperty(key) && value !== EMPTY_PROP) || key.startsWith(ARIA_PROP_PREFIX)) {
180
- propsToAdd[key] = value;
181
- }
182
- }
183
- if (modelProp) {
184
- /**
185
- * If form value property was set using v-model
186
- * then we should use that value.
187
- * Otherwise, check to see if form value property
188
- * was set as a static value (i.e. no v-model).
189
- */
190
- if (props[MODEL_VALUE] !== EMPTY_PROP) {
191
- propsToAdd = Object.assign(Object.assign({}, propsToAdd), { [modelProp]: props[MODEL_VALUE] });
192
- }
193
- else if (modelPropValue !== EMPTY_PROP) {
194
- propsToAdd = Object.assign(Object.assign({}, propsToAdd), { [modelProp]: modelPropValue });
195
- }
196
- }
197
- // If router link is defined, add href to props
198
- // in order to properly render an anchor tag inside
199
- // of components that should become activatable and
200
- // focusable with router link.
201
- if (props[ROUTER_LINK_VALUE] !== EMPTY_PROP) {
202
- propsToAdd = Object.assign(Object.assign({}, propsToAdd), { href: props[ROUTER_LINK_VALUE] });
203
- }
204
- /**
205
- * vModelDirective is only needed on components that support v-model.
206
- * As a result, we conditionally call withDirectives with v-model components.
207
- */
208
- const node = h(name, propsToAdd, slots.default && slots.default());
209
- return modelProp === undefined ? node : withDirectives(node, [[vModelDirective]]);
210
- };
211
- });
212
- if (typeof Container !== 'function') {
213
- Container.name = name;
214
- Container.props = {
215
- [ROUTER_LINK_VALUE]: DEFAULT_EMPTY_PROP,
216
- };
217
- componentProps.forEach((componentProp) => {
218
- Container.props[componentProp] = DEFAULT_EMPTY_PROP;
219
- });
220
- if (modelProp) {
221
- Container.props[MODEL_VALUE] = DEFAULT_EMPTY_PROP;
222
- Container.emits = [UPDATE_VALUE_EVENT];
223
- }
224
- }
225
- return Container;
226
- };
227
-
228
40
  /* eslint-disable */
229
41
  /* tslint:disable */
230
42
  /* auto-generated vue proxies */
@@ -241,6 +53,9 @@ const PopAccordionGroup = /*@__PURE__*/ defineContainer('pop-accordion-group', d
241
53
  'active',
242
54
  'popChange',
243
55
  'popActiveChange'
56
+ ], [
57
+ 'popChange',
58
+ 'popActiveChange'
244
59
  ], 'active', 'pop-change');
245
60
  const PopAvatar = /*@__PURE__*/ defineContainer('pop-avatar', defineCustomElement$2, [
246
61
  'placeholder'
@@ -263,6 +78,9 @@ const PopButton = /*@__PURE__*/ defineContainer('pop-button', defineCustomElemen
263
78
  'active',
264
79
  'popFocus',
265
80
  'popBlur'
81
+ ], [
82
+ 'popFocus',
83
+ 'popBlur'
266
84
  ]);
267
85
  const PopCard = /*@__PURE__*/ defineContainer('pop-card', defineCustomElement$5, [
268
86
  'compact'
@@ -284,6 +102,10 @@ const PopCheckbox = /*@__PURE__*/ defineContainer('pop-checkbox', defineCustomEl
284
102
  'popChange',
285
103
  'popFocus',
286
104
  'popBlur'
105
+ ], [
106
+ 'popChange',
107
+ 'popFocus',
108
+ 'popBlur'
287
109
  ], 'checked', 'pop-change');
288
110
  const PopDivider = /*@__PURE__*/ defineContainer('pop-divider', defineCustomElement$a, [
289
111
  'orientation',
@@ -297,6 +119,9 @@ const PopDrawer = /*@__PURE__*/ defineContainer('pop-drawer', defineCustomElemen
297
119
  'open',
298
120
  'popDidPresent',
299
121
  'popDidDismiss'
122
+ ], [
123
+ 'popDidPresent',
124
+ 'popDidDismiss'
300
125
  ]);
301
126
  const PopDropdown = /*@__PURE__*/ defineContainer('pop-dropdown', defineCustomElement$c, [
302
127
  'side',
@@ -305,8 +130,11 @@ const PopDropdown = /*@__PURE__*/ defineContainer('pop-dropdown', defineCustomEl
305
130
  'triggerAction',
306
131
  'debounce',
307
132
  'showBackdrop',
308
- 'present',
309
- 'dismiss'
133
+ 'didPresent',
134
+ 'didDismiss'
135
+ ], [
136
+ 'didPresent',
137
+ 'didDismiss'
310
138
  ]);
311
139
  const PopImg = /*@__PURE__*/ defineContainer('pop-img', defineCustomElement$d, [
312
140
  'src',
@@ -314,6 +142,10 @@ const PopImg = /*@__PURE__*/ defineContainer('pop-img', defineCustomElement$d, [
314
142
  'popWillLoad',
315
143
  'popDidLoad',
316
144
  'popError'
145
+ ], [
146
+ 'popWillLoad',
147
+ 'popDidLoad',
148
+ 'popError'
317
149
  ]);
318
150
  const PopIndicator = /*@__PURE__*/ defineContainer('pop-indicator', defineCustomElement$e, [
319
151
  'side',
@@ -352,6 +184,11 @@ const PopInput = /*@__PURE__*/ defineContainer('pop-input', defineCustomElement$
352
184
  'popInput',
353
185
  'popFocus',
354
186
  'popBlur'
187
+ ], [
188
+ 'popChange',
189
+ 'popInput',
190
+ 'popFocus',
191
+ 'popBlur'
355
192
  ], 'value', 'pop-input');
356
193
  const PopInputFile = /*@__PURE__*/ defineContainer('pop-input-file', defineCustomElement$g, [
357
194
  'name',
@@ -369,6 +206,10 @@ const PopInputFile = /*@__PURE__*/ defineContainer('pop-input-file', defineCusto
369
206
  'popChange',
370
207
  'popFocus',
371
208
  'popBlur'
209
+ ], [
210
+ 'popChange',
211
+ 'popFocus',
212
+ 'popBlur'
372
213
  ]);
373
214
  const PopItem = /*@__PURE__*/ defineContainer('pop-item', defineCustomElement$h, [
374
215
  'disabled'
@@ -397,8 +238,11 @@ const PopModal = /*@__PURE__*/ defineContainer('pop-modal', defineCustomElement$
397
238
  'showBackdrop',
398
239
  'backdropDismiss',
399
240
  'open',
400
- 'present',
401
- 'dismiss'
241
+ 'didPresent',
242
+ 'didDismiss'
243
+ ], [
244
+ 'didPresent',
245
+ 'didDismiss'
402
246
  ]);
403
247
  const PopNavbar = /*@__PURE__*/ defineContainer('pop-navbar', defineCustomElement$o);
404
248
  const PopPopover = /*@__PURE__*/ defineContainer('pop-popover', defineCustomElement$p, [
@@ -415,6 +259,11 @@ const PopPopover = /*@__PURE__*/ defineContainer('pop-popover', defineCustomElem
415
259
  'didPresent',
416
260
  'willDismiss',
417
261
  'didDismiss'
262
+ ], [
263
+ 'willPresent',
264
+ 'didPresent',
265
+ 'willDismiss',
266
+ 'didDismiss'
418
267
  ]);
419
268
  const PopProgress = /*@__PURE__*/ defineContainer('pop-progress', defineCustomElement$q, [
420
269
  'value',
@@ -433,6 +282,9 @@ const PopRadio = /*@__PURE__*/ defineContainer('pop-radio', defineCustomElement$
433
282
  'size',
434
283
  'popFocus',
435
284
  'popBlur'
285
+ ], [
286
+ 'popFocus',
287
+ 'popBlur'
436
288
  ], 'value', 'pop-change');
437
289
  const PopRadioGroup = /*@__PURE__*/ defineContainer('pop-radio-group', defineCustomElement$s, [
438
290
  'name',
@@ -444,6 +296,9 @@ const PopRadioGroup = /*@__PURE__*/ defineContainer('pop-radio-group', defineCus
444
296
  'compare',
445
297
  'popChange',
446
298
  'popValueChange'
299
+ ], [
300
+ 'popChange',
301
+ 'popValueChange'
447
302
  ], 'value', 'pop-change');
448
303
  const PopRange = /*@__PURE__*/ defineContainer('pop-range', defineCustomElement$t, [
449
304
  'name',
@@ -460,6 +315,10 @@ const PopRange = /*@__PURE__*/ defineContainer('pop-range', defineCustomElement$
460
315
  'popChange',
461
316
  'popFocus',
462
317
  'popBlur'
318
+ ], [
319
+ 'popChange',
320
+ 'popFocus',
321
+ 'popBlur'
463
322
  ], 'value', 'pop-change');
464
323
  const PopSelect = /*@__PURE__*/ defineContainer('pop-select', defineCustomElement$u, [
465
324
  'name',
@@ -479,8 +338,14 @@ const PopSelect = /*@__PURE__*/ defineContainer('pop-select', defineCustomElemen
479
338
  'notEnoughErrorText',
480
339
  'tooManyErrorText',
481
340
  'compare',
482
- 'present',
483
- 'dismiss',
341
+ 'didPresent',
342
+ 'didDismiss',
343
+ 'popChange',
344
+ 'popFocus',
345
+ 'popBlur'
346
+ ], [
347
+ 'didPresent',
348
+ 'didDismiss',
484
349
  'popChange',
485
350
  'popFocus',
486
351
  'popBlur'
@@ -495,6 +360,8 @@ const PopSwap = /*@__PURE__*/ defineContainer('pop-swap', defineCustomElement$w,
495
360
  'type',
496
361
  'active',
497
362
  'popSwap'
363
+ ], [
364
+ 'popSwap'
498
365
  ], 'active', 'pop-change');
499
366
  const PopTextarea = /*@__PURE__*/ defineContainer('pop-textarea', defineCustomElement$x, [
500
367
  'name',
@@ -525,6 +392,11 @@ const PopTextarea = /*@__PURE__*/ defineContainer('pop-textarea', defineCustomEl
525
392
  'popInput',
526
393
  'popFocus',
527
394
  'popBlur'
395
+ ], [
396
+ 'popChange',
397
+ 'popInput',
398
+ 'popFocus',
399
+ 'popBlur'
528
400
  ], 'value', 'pop-input');
529
401
  const PopToggle = /*@__PURE__*/ defineContainer('pop-toggle', defineCustomElement$y, [
530
402
  'name',
@@ -539,6 +411,10 @@ const PopToggle = /*@__PURE__*/ defineContainer('pop-toggle', defineCustomElemen
539
411
  'popChange',
540
412
  'popFocus',
541
413
  'popBlur'
414
+ ], [
415
+ 'popChange',
416
+ 'popFocus',
417
+ 'popBlur'
542
418
  ], 'checked', 'pop-change');
543
419
  const PopTooltip = /*@__PURE__*/ defineContainer('pop-tooltip', defineCustomElement$z, [
544
420
  'value',
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/vue-component-lib/utils.ts","../src/proxies.ts","../src/plugin.ts"],"sourcesContent":[null,null,null],"names":["definePopAccordion","definePopAccordionGroup","definePopAvatar","definePopBadge","definePopButton","definePopCard","definePopCardActions","definePopCardBody","definePopCardTitle","definePopCheckbox","definePopDivider","definePopDrawer","definePopDropdown","definePopImg","definePopIndicator","definePopInput","definePopInputFile","definePopItem","definePopJoin","definePopKbd","definePopList","definePopLoading","definePopMask","definePopModal","definePopNavbar","definePopPopover","definePopProgress","definePopRadio","definePopRadioGroup","definePopRange","definePopSelect","definePopSelectOption","definePopSwap","definePopTextarea","definePopToggle","definePopTooltip"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAOA,MAAM,kBAAkB,GAAG,mBAAmB;AAC9C,MAAM,WAAW,GAAG,YAAY;AAChC,MAAM,iBAAiB,GAAG,YAAY;AACtC,MAAM,WAAW,GAAG,YAAY;AAChC,MAAM,kBAAkB,GAAG,QAAQ;AACnC,MAAM,gBAAgB,GAAG,MAAM;AAC/B;;;;;;;;AAQG;AACH,MAAM,UAAU,GAAG,MAAM,EAAE;AAC3B,MAA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G,MAAK;IAC9B,OAAO;QACL,GAAG,EAAE,CAAC,EAAO,EAAE,SAAiB,EAAE,EAAO,EAAE,IAAS,KAAK,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC;QAC9G,GAAG,EAAE,CAAC,EAAO,EAAE,SAAiB,EAAE,EAAO,EAAE,IAAS,KAAK,EAAE,CAAC,mBAAmB,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC;AACjH,QAAA,EAAE,EAAE,CAAC,SAAiB,EAAE,IAAS,KAAK,IAAI,WAAW,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC;KACpF;AACH,CAAC;AAEY,MAAA,QAAQ,GAA+B;AAClD,IAAA,MAAM,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,EAAE,EAAA;AAC1B;;;;AAIG;AACH,QAAA,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE;YACnC,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC;;QAGlD,UAAU,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACL,MAAM,CACT,EAAA,EAAA,OAAO,EAAE,kBAAkB,EAAE,IAC7B;KACH;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/generated/components.ts","../src/plugin.ts"],"sourcesContent":[null,null],"names":["definePopAccordion","definePopAccordionGroup","definePopAvatar","definePopBadge","definePopButton","definePopCard","definePopCardActions","definePopCardBody","definePopCardTitle","definePopCheckbox","definePopDivider","definePopDrawer","definePopDropdown","definePopImg","definePopIndicator","definePopInput","definePopInputFile","definePopItem","definePopJoin","definePopKbd","definePopList","definePopLoading","definePopMask","definePopModal","definePopNavbar","definePopPopover","definePopProgress","definePopRadio","definePopRadioGroup","definePopRange","definePopSelect","definePopSelectOption","definePopSwap","definePopTextarea","definePopToggle","definePopTooltip"],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AAA,UAAU,iBAAiB,eAAe,CAAiB,aAAa,EAAEC,qBAAgB,EAAE;IACvG,OAAO;IACP,OAAO;IACP,UAAU;IACV;AACD,CAAA;;ACtfD,MAAM,WAAW,GAAG,CAAC,SAAiB,KAAI;IACxC,OAAO,SAAS,CAAC,OAAO,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC,WAAW,EAAE;AACjF,CAAC;AAED,MAAM,kBAAkB,GAAG,MAAK;IAC9B,OAAO;QACL,GAAG,EAAE,CAAC,EAAO,EAAE,SAAiB,EAAE,EAAO,EAAE,IAAS,KAAK,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC;QAC9G,GAAG,EAAE,CAAC,EAAO,EAAE,SAAiB,EAAE,EAAO,EAAE,IAAS,KAAK,EAAE,CAAC,mBAAmB,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC;AACjH,QAAA,EAAE,EAAE,CAAC,SAAiB,EAAE,IAAS,KAAK,IAAI,WAAW,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC;KACpF;AACH,CAAC;AAEY,MAAA,QAAQ,GAA+B;AAClD,IAAA,MAAM,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,EAAE,EAAA;AAC1B;;;;AAIG;AACH,QAAA,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE;YACnC,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC;;QAGlD,UAAU,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACL,MAAM,CACT,EAAA,EAAA,OAAO,EAAE,kBAAkB,EAAE,IAC7B;KACH;;;;;"}
@@ -0,0 +1,37 @@
1
+ import type { JSX } from '@poppy-ui/core';
2
+ export declare const PopAccordion: import("vue").DefineSetupFnComponent<JSX.PopAccordion & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopAccordion & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
3
+ export declare const PopAccordionGroup: import("vue").DefineSetupFnComponent<JSX.PopAccordionGroup & import("@stencil/vue-output-target/runtime").InputProps<string | string[]>, {}, {}, JSX.PopAccordionGroup & import("@stencil/vue-output-target/runtime").InputProps<string | string[]>, import("vue").PublicProps>;
4
+ export declare const PopAvatar: import("vue").DefineSetupFnComponent<JSX.PopAvatar & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopAvatar & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
5
+ export declare const PopBadge: import("vue").DefineSetupFnComponent<JSX.PopBadge & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopBadge & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
6
+ export declare const PopButton: import("vue").DefineSetupFnComponent<JSX.PopButton & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopButton & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
7
+ export declare const PopCard: import("vue").DefineSetupFnComponent<JSX.PopCard & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopCard & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
8
+ export declare const PopCardActions: import("vue").DefineSetupFnComponent<JSX.PopCardActions & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopCardActions & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
9
+ export declare const PopCardBody: import("vue").DefineSetupFnComponent<JSX.PopCardBody & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopCardBody & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
10
+ export declare const PopCardTitle: import("vue").DefineSetupFnComponent<JSX.PopCardTitle & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopCardTitle & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
11
+ export declare const PopCheckbox: import("vue").DefineSetupFnComponent<JSX.PopCheckbox & import("@stencil/vue-output-target/runtime").InputProps<boolean>, {}, {}, JSX.PopCheckbox & import("@stencil/vue-output-target/runtime").InputProps<boolean>, import("vue").PublicProps>;
12
+ export declare const PopDivider: import("vue").DefineSetupFnComponent<JSX.PopDivider & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopDivider & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
13
+ export declare const PopDrawer: import("vue").DefineSetupFnComponent<JSX.PopDrawer & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopDrawer & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
14
+ export declare const PopDropdown: import("vue").DefineSetupFnComponent<JSX.PopDropdown & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopDropdown & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
15
+ export declare const PopImg: import("vue").DefineSetupFnComponent<JSX.PopImg & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopImg & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
16
+ export declare const PopIndicator: import("vue").DefineSetupFnComponent<JSX.PopIndicator & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopIndicator & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
17
+ export declare const PopInput: import("vue").DefineSetupFnComponent<JSX.PopInput & import("@stencil/vue-output-target/runtime").InputProps<string | number>, {}, {}, JSX.PopInput & import("@stencil/vue-output-target/runtime").InputProps<string | number>, import("vue").PublicProps>;
18
+ export declare const PopInputFile: import("vue").DefineSetupFnComponent<JSX.PopInputFile & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopInputFile & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
19
+ export declare const PopItem: import("vue").DefineSetupFnComponent<JSX.PopItem & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopItem & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
20
+ export declare const PopJoin: import("vue").DefineSetupFnComponent<JSX.PopJoin & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopJoin & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
21
+ export declare const PopKbd: import("vue").DefineSetupFnComponent<JSX.PopKbd & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopKbd & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
22
+ export declare const PopList: import("vue").DefineSetupFnComponent<JSX.PopList & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopList & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
23
+ export declare const PopLoading: import("vue").DefineSetupFnComponent<JSX.PopLoading & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopLoading & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
24
+ export declare const PopMask: import("vue").DefineSetupFnComponent<JSX.PopMask & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopMask & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
25
+ export declare const PopModal: import("vue").DefineSetupFnComponent<JSX.PopModal & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopModal & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
26
+ export declare const PopNavbar: import("vue").DefineSetupFnComponent<JSX.PopNavbar & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopNavbar & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
27
+ export declare const PopPopover: import("vue").DefineSetupFnComponent<JSX.PopPopover & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopPopover & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
28
+ export declare const PopProgress: import("vue").DefineSetupFnComponent<JSX.PopProgress & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopProgress & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
29
+ export declare const PopRadio: import("vue").DefineSetupFnComponent<JSX.PopRadio & import("@stencil/vue-output-target/runtime").InputProps<any>, {}, {}, JSX.PopRadio & import("@stencil/vue-output-target/runtime").InputProps<any>, import("vue").PublicProps>;
30
+ export declare const PopRadioGroup: import("vue").DefineSetupFnComponent<JSX.PopRadioGroup & import("@stencil/vue-output-target/runtime").InputProps<any>, {}, {}, JSX.PopRadioGroup & import("@stencil/vue-output-target/runtime").InputProps<any>, import("vue").PublicProps>;
31
+ export declare const PopRange: import("vue").DefineSetupFnComponent<JSX.PopRange & import("@stencil/vue-output-target/runtime").InputProps<number>, {}, {}, JSX.PopRange & import("@stencil/vue-output-target/runtime").InputProps<number>, import("vue").PublicProps>;
32
+ export declare const PopSelect: import("vue").DefineSetupFnComponent<JSX.PopSelect & import("@stencil/vue-output-target/runtime").InputProps<any>, {}, {}, JSX.PopSelect & import("@stencil/vue-output-target/runtime").InputProps<any>, import("vue").PublicProps>;
33
+ export declare const PopSelectOption: import("vue").DefineSetupFnComponent<JSX.PopSelectOption & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopSelectOption & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
34
+ export declare const PopSwap: import("vue").DefineSetupFnComponent<JSX.PopSwap & import("@stencil/vue-output-target/runtime").InputProps<boolean>, {}, {}, JSX.PopSwap & import("@stencil/vue-output-target/runtime").InputProps<boolean>, import("vue").PublicProps>;
35
+ export declare const PopTextarea: import("vue").DefineSetupFnComponent<JSX.PopTextarea & import("@stencil/vue-output-target/runtime").InputProps<string>, {}, {}, JSX.PopTextarea & import("@stencil/vue-output-target/runtime").InputProps<string>, import("vue").PublicProps>;
36
+ export declare const PopToggle: import("vue").DefineSetupFnComponent<JSX.PopToggle & import("@stencil/vue-output-target/runtime").InputProps<boolean>, {}, {}, JSX.PopToggle & import("@stencil/vue-output-target/runtime").InputProps<boolean>, import("vue").PublicProps>;
37
+ export declare const PopTooltip: import("vue").DefineSetupFnComponent<JSX.PopTooltip & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, {}, {}, JSX.PopTooltip & import("@stencil/vue-output-target/runtime").InputProps<string | number | boolean>, import("vue").PublicProps>;
@@ -1,5 +1,5 @@
1
- export * from './proxies';
1
+ export * from './generated/components';
2
2
  export * from './plugin';
3
3
  export { AccordionGroupCustomEvent, AccordionGroupChangeEventDetail, CheckboxCustomEvent, CheckboxChangeEventDetail, InputCustomEvent, InputChangeEventDetail, InputInputEventDetail, InputFileCustomEvent, InputFileChangeEventDetail, RadioGroupCustomEvent, RadioGroupChangeEventDetail, RangeCustomEvent, RangeChangeEventDetail, SelectCustomEvent, SelectChangeEventDetail, SwapCustomEvent, SwapChangeEventDetail, TextareaCustomEvent, TextareaChangeEventDetail, TextareaInputEventDetail, ToggleCustomEvent, ToggleChangeEventDetail, ModalOptions, PopoverOptions, } from '@poppy-ui/core/components';
4
- export type * from '@poppy-ui/core/dist/types/custom-type';
4
+ export type * from '@poppy-ui/core/dist/types/component-types';
5
5
  export type * from '@poppy-ui/core/dist/types/interface';
@@ -370,14 +370,14 @@
370
370
  ]
371
371
  },
372
372
  "pop-input/auto-complete": {
373
- "type": "\"name\" | \"off\" | \"on\" | \"tel\" | \"email\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level1\" | \"address-level2\" | \"address-level3\" | \"address-level4\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
373
+ "type": "\"name\" | \"off\" | \"on\" | \"email\" | \"tel\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level1\" | \"address-level2\" | \"address-level3\" | \"address-level4\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
374
374
  "description": "Indicates whether the value of the control can be automatically completed by the browser.",
375
375
  "options": [
376
376
  "name",
377
377
  "off",
378
378
  "on",
379
- "tel",
380
379
  "email",
380
+ "tel",
381
381
  "url",
382
382
  "honorific-prefix",
383
383
  "given-name",
@@ -754,7 +754,7 @@
754
754
  ],
755
755
  "events": [
756
756
  {
757
- "name": "dismiss",
757
+ "name": "didDismiss",
758
758
  "description": "Emitted after the modal has dismissed.",
759
759
  "arguments": [
760
760
  {
@@ -764,7 +764,7 @@
764
764
  ]
765
765
  },
766
766
  {
767
- "name": "present",
767
+ "name": "didPresent",
768
768
  "description": "Emitted after the modal has presented.",
769
769
  "arguments": [
770
770
  {
@@ -902,7 +902,7 @@
902
902
  "default": "'off'",
903
903
  "value": {
904
904
  "kind": "expression",
905
- "type": "\"name\" | \"off\" | \"on\" | \"tel\" | \"email\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level1\" | \"address-level2\" | \"address-level3\" | \"address-level4\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\""
905
+ "type": "\"name\" | \"off\" | \"on\" | \"email\" | \"tel\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level1\" | \"address-level2\" | \"address-level3\" | \"address-level4\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\""
906
906
  }
907
907
  },
908
908
  {
@@ -1600,7 +1600,7 @@
1600
1600
  ],
1601
1601
  "events": [
1602
1602
  {
1603
- "name": "dismiss",
1603
+ "name": "didDismiss",
1604
1604
  "description": "Emitted after the modal has dismissed.",
1605
1605
  "arguments": [
1606
1606
  {
@@ -1610,7 +1610,7 @@
1610
1610
  ]
1611
1611
  },
1612
1612
  {
1613
- "name": "present",
1613
+ "name": "didPresent",
1614
1614
  "description": "Emitted after the modal has presented.",
1615
1615
  "arguments": [
1616
1616
  {
@@ -2337,7 +2337,7 @@
2337
2337
  ],
2338
2338
  "events": [
2339
2339
  {
2340
- "name": "dismiss",
2340
+ "name": "didDismiss",
2341
2341
  "description": "Emitted when the overlay is dismissed.",
2342
2342
  "arguments": [
2343
2343
  {
@@ -2347,8 +2347,8 @@
2347
2347
  ]
2348
2348
  },
2349
2349
  {
2350
- "name": "popBlur",
2351
- "description": "Emitted when the input loses focus.",
2350
+ "name": "didPresent",
2351
+ "description": "Emitted when the overlay is presented.",
2352
2352
  "arguments": [
2353
2353
  {
2354
2354
  "name": "detail",
@@ -2357,28 +2357,28 @@
2357
2357
  ]
2358
2358
  },
2359
2359
  {
2360
- "name": "popChange",
2361
- "description": "The `popChange` event is fired when the user modifies the select's value.\nUnlike the ionInput event, the `popChange` event is fired when the element loses focus after its value has been modified.",
2360
+ "name": "popBlur",
2361
+ "description": "Emitted when the input loses focus.",
2362
2362
  "arguments": [
2363
2363
  {
2364
2364
  "name": "detail",
2365
- "type": "SelectChangeEventDetail<any>"
2365
+ "type": "void"
2366
2366
  }
2367
2367
  ]
2368
2368
  },
2369
2369
  {
2370
- "name": "popFocus",
2371
- "description": "Emitted when the input has focus.",
2370
+ "name": "popChange",
2371
+ "description": "The `popChange` event is fired when the user modifies the select's value.\nUnlike the ionInput event, the `popChange` event is fired when the element loses focus after its value has been modified.",
2372
2372
  "arguments": [
2373
2373
  {
2374
2374
  "name": "detail",
2375
- "type": "void"
2375
+ "type": "SelectChangeEventDetail<any>"
2376
2376
  }
2377
2377
  ]
2378
2378
  },
2379
2379
  {
2380
- "name": "present",
2381
- "description": "Emitted when the overlay is presented.",
2380
+ "name": "popFocus",
2381
+ "description": "Emitted when the input has focus.",
2382
2382
  "arguments": [
2383
2383
  {
2384
2384
  "name": "detail",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@poppy-ui/vue",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.5.0",
5
5
  "description": "Vue specific wrapper for @poppy-ui/core",
6
6
  "author": "Sukaato <sukaato.dev@proton.me>",
7
7
  "homepage": "https://github.com/CheeseGrinder/poppy-ui#readme",
@@ -32,6 +32,9 @@
32
32
  "progressive web app",
33
33
  "pwa"
34
34
  ],
35
+ "publishConfig": {
36
+ "access": "public"
37
+ },
35
38
  "scripts": {
36
39
  "audit-ci": "audit-ci --config ./audit-ci.json",
37
40
  "clean": "rimraf ./css ./dist",
@@ -49,8 +52,8 @@
49
52
  "@rollup/plugin-typescript": "^12.1.2",
50
53
  "change-case": "^5.4.4",
51
54
  "rimraf": "^6.0.1",
52
- "rollup": "^4.28.1",
53
- "typescript": "^5.7.2",
55
+ "rollup": "^4.32.1",
56
+ "typescript": "^5.7.3",
54
57
  "vue": "3.5.13"
55
58
  },
56
59
  "vetur": {
package/readme.md CHANGED
@@ -10,43 +10,29 @@
10
10
 
11
11
  Poppy UI integration for Vue 3 apps.
12
12
 
13
- ## Building
14
-
15
- 1. Install dependencies in `@poppy-ui/core`:
16
-
17
- ```shell
18
- cd core && npm install
19
- ```
20
-
21
- 2. Build `@poppy-ui/core`. This will generate Vue component bindings in the `packages/vue` directory:
22
-
23
- ```shell
24
- npm run build
25
- ````
26
-
27
- 3. Install dependencies in `@poppy-ui/vue`:
28
-
29
- ```shell
30
- cd packages/vue && npm install
13
+ ## Install
14
+ ```sh
15
+ npm install @poppy-ui/vue
31
16
  ```
32
-
33
- 4. Build `@poppy-ui/vue`:
34
-
35
- ```shell
36
- npm run build
37
- ````
38
-
39
- 5. Install dependencies in `@poppy-ui/vue-router`:
40
-
41
- ```shell
42
- cd packages/vue-router && npm install
17
+ *if the command fails, check the section [how to use](../../readme.md#how-to-use) in the root readme*
18
+
19
+ ## Configuration
20
+ The configuration is minimal and easy
21
+ ```ts
22
+ // main.ts
23
+ import { PoppyVue } from '@poppy-ui/vue';
24
+ import { createApp } from 'vue';
25
+ import App from './App.vue';
26
+
27
+ import '@poppy-ui/vue/css/core.css';
28
+ import '@poppy-ui/vue/css/themes/light.always.css';
29
+
30
+ createApp(App)
31
+ .use(PoppyVue)
32
+ .mount('#app');
43
33
  ```
44
34
 
45
- 6. Build `@poppy-ui/vue-router`:
46
-
47
- ```shell
48
- npm run build
49
- ````
35
+ And your done, happy coding 🎉
50
36
 
51
37
  ## Contributing
52
38
 
@@ -1,15 +0,0 @@
1
- import type { FrameworkDelegate } from '@poppy-ui/core/components';
2
- import type { VNode } from 'vue';
3
- /**
4
- * When rendering user components inside of
5
- * ion-modal, or ion-popover the component
6
- * needs to be created inside of the current application
7
- * context otherwise libraries such as vue-i18n or vuex
8
- * will not work properly.
9
- *
10
- * `userComponents` renders teleported components as children
11
- * of `ion-app` within the current application context.
12
- */
13
- export declare const addTeleportedUserComponent: (component: VNode) => void;
14
- export declare const removeTeleportedUserComponent: (component: VNode) => void;
15
- export declare const VueDelegate: (addFn?: (component: VNode) => void, removeFn?: (component: VNode) => void) => FrameworkDelegate;
@@ -1,37 +0,0 @@
1
- import type { JSX } from '@poppy-ui/core/components';
2
- export declare const PopAccordion: import("vue").DefineSetupFnComponent<JSX.PopAccordion & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopAccordion & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
3
- export declare const PopAccordionGroup: import("vue").DefineSetupFnComponent<JSX.PopAccordionGroup & import("./vue-component-lib/utils").InputProps<string | string[]>, {}, {}, JSX.PopAccordionGroup & import("./vue-component-lib/utils").InputProps<string | string[]> & {}, import("vue").PublicProps>;
4
- export declare const PopAvatar: import("vue").DefineSetupFnComponent<JSX.PopAvatar & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopAvatar & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
5
- export declare const PopBadge: import("vue").DefineSetupFnComponent<JSX.PopBadge & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopBadge & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
6
- export declare const PopButton: import("vue").DefineSetupFnComponent<JSX.PopButton & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopButton & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
7
- export declare const PopCard: import("vue").DefineSetupFnComponent<JSX.PopCard & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopCard & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
8
- export declare const PopCardActions: import("vue").DefineSetupFnComponent<JSX.PopCardActions & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopCardActions & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
9
- export declare const PopCardBody: import("vue").DefineSetupFnComponent<JSX.PopCardBody & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopCardBody & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
10
- export declare const PopCardTitle: import("vue").DefineSetupFnComponent<JSX.PopCardTitle & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopCardTitle & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
11
- export declare const PopCheckbox: import("vue").DefineSetupFnComponent<JSX.PopCheckbox & import("./vue-component-lib/utils").InputProps<boolean>, {}, {}, JSX.PopCheckbox & import("./vue-component-lib/utils").InputProps<boolean> & {}, import("vue").PublicProps>;
12
- export declare const PopDivider: import("vue").DefineSetupFnComponent<JSX.PopDivider & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopDivider & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
13
- export declare const PopDrawer: import("vue").DefineSetupFnComponent<JSX.PopDrawer & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopDrawer & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
14
- export declare const PopDropdown: import("vue").DefineSetupFnComponent<JSX.PopDropdown & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopDropdown & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
15
- export declare const PopImg: import("vue").DefineSetupFnComponent<JSX.PopImg & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopImg & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
16
- export declare const PopIndicator: import("vue").DefineSetupFnComponent<JSX.PopIndicator & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopIndicator & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
17
- export declare const PopInput: import("vue").DefineSetupFnComponent<JSX.PopInput & import("./vue-component-lib/utils").InputProps<string | number>, {}, {}, JSX.PopInput & import("./vue-component-lib/utils").InputProps<string | number> & {}, import("vue").PublicProps>;
18
- export declare const PopInputFile: import("vue").DefineSetupFnComponent<JSX.PopInputFile & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopInputFile & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
19
- export declare const PopItem: import("vue").DefineSetupFnComponent<JSX.PopItem & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopItem & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
20
- export declare const PopJoin: import("vue").DefineSetupFnComponent<JSX.PopJoin & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopJoin & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
21
- export declare const PopKbd: import("vue").DefineSetupFnComponent<JSX.PopKbd & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopKbd & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
22
- export declare const PopList: import("vue").DefineSetupFnComponent<JSX.PopList & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopList & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
23
- export declare const PopLoading: import("vue").DefineSetupFnComponent<JSX.PopLoading & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopLoading & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
24
- export declare const PopMask: import("vue").DefineSetupFnComponent<JSX.PopMask & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopMask & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
25
- export declare const PopModal: import("vue").DefineSetupFnComponent<JSX.PopModal & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopModal & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
26
- export declare const PopNavbar: import("vue").DefineSetupFnComponent<JSX.PopNavbar & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopNavbar & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
27
- export declare const PopPopover: import("vue").DefineSetupFnComponent<JSX.PopPopover & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopPopover & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
28
- export declare const PopProgress: import("vue").DefineSetupFnComponent<JSX.PopProgress & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopProgress & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
29
- export declare const PopRadio: import("vue").DefineSetupFnComponent<JSX.PopRadio & import("./vue-component-lib/utils").InputProps<any>, {}, {}, JSX.PopRadio & import("./vue-component-lib/utils").InputProps<any> & {}, import("vue").PublicProps>;
30
- export declare const PopRadioGroup: import("vue").DefineSetupFnComponent<JSX.PopRadioGroup & import("./vue-component-lib/utils").InputProps<any>, {}, {}, JSX.PopRadioGroup & import("./vue-component-lib/utils").InputProps<any> & {}, import("vue").PublicProps>;
31
- export declare const PopRange: import("vue").DefineSetupFnComponent<JSX.PopRange & import("./vue-component-lib/utils").InputProps<number>, {}, {}, JSX.PopRange & import("./vue-component-lib/utils").InputProps<number> & {}, import("vue").PublicProps>;
32
- export declare const PopSelect: import("vue").DefineSetupFnComponent<JSX.PopSelect & import("./vue-component-lib/utils").InputProps<any>, {}, {}, JSX.PopSelect & import("./vue-component-lib/utils").InputProps<any> & {}, import("vue").PublicProps>;
33
- export declare const PopSelectOption: import("vue").DefineSetupFnComponent<JSX.PopSelectOption & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopSelectOption & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
34
- export declare const PopSwap: import("vue").DefineSetupFnComponent<JSX.PopSwap & import("./vue-component-lib/utils").InputProps<boolean>, {}, {}, JSX.PopSwap & import("./vue-component-lib/utils").InputProps<boolean> & {}, import("vue").PublicProps>;
35
- export declare const PopTextarea: import("vue").DefineSetupFnComponent<JSX.PopTextarea & import("./vue-component-lib/utils").InputProps<string>, {}, {}, JSX.PopTextarea & import("./vue-component-lib/utils").InputProps<string> & {}, import("vue").PublicProps>;
36
- export declare const PopToggle: import("vue").DefineSetupFnComponent<JSX.PopToggle & import("./vue-component-lib/utils").InputProps<boolean>, {}, {}, JSX.PopToggle & import("./vue-component-lib/utils").InputProps<boolean> & {}, import("vue").PublicProps>;
37
- export declare const PopTooltip: import("vue").DefineSetupFnComponent<JSX.PopTooltip & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.PopTooltip & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
@@ -1,16 +0,0 @@
1
- export interface InputProps<T> {
2
- modelValue?: T;
3
- }
4
- /**
5
- * Create a callback to define a Vue component wrapper around a Web Component.
6
- *
7
- * @prop name - The component tag name (i.e. `ion-button`)
8
- * @prop componentProps - An array of properties on the
9
- * component. These usually match up with the @Prop definitions
10
- * in each component's TSX file.
11
- * @prop customElement - An option custom element instance to pass
12
- * to customElements.define. Only set if `includeImportCustomElements: true` in your config.
13
- * @prop modelProp - The prop that v-model binds to (i.e. value)
14
- * @prop modelUpdateEvent - The event that is fired from your Web Component when the value changes (i.e. ionChange)
15
- */
16
- export declare const defineContainer: <Props, VModelType = string | number | boolean>(name: string, defineCustomElement: any, componentProps?: string[], modelProp?: string, modelUpdateEvent?: string) => import("vue").DefineSetupFnComponent<Props & InputProps<VModelType>, {}, {}, Props & InputProps<VModelType> & {}, import("vue").PublicProps>;