@poppy-ui/vue 0.4.0 → 0.5.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.
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
- import { defineComponent, ref, getCurrentInstance, inject, h, withDirectives } from 'vue';
1
+ import { initialize } from '@poppy-ui/core/components';
2
+ import { defineContainer } from '@stencil/vue-output-target/runtime';
2
3
  import { defineCustomElement } from '@poppy-ui/core/components/pop-accordion.js';
3
4
  import { defineCustomElement as defineCustomElement$1 } from '@poppy-ui/core/components/pop-accordion-group.js';
4
5
  import { defineCustomElement as defineCustomElement$2 } from '@poppy-ui/core/components/pop-avatar.js';
@@ -35,194 +36,29 @@ import { defineCustomElement as defineCustomElement$w } from '@poppy-ui/core/com
35
36
  import { defineCustomElement as defineCustomElement$x } from '@poppy-ui/core/components/pop-textarea.js';
36
37
  import { defineCustomElement as defineCustomElement$y } from '@poppy-ui/core/components/pop-toggle.js';
37
38
  import { defineCustomElement as defineCustomElement$z } from '@poppy-ui/core/components/pop-tooltip.js';
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(' ')) || [];
40
+ const toKebabCase = (eventName) => {
41
+ return eventName.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase();
61
42
  };
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);
43
+ const getHelperFunctions = () => {
44
+ return {
45
+ ael: (el, eventName, cb, opts) => el.addEventListener(toKebabCase(eventName), cb, opts),
46
+ rel: (el, eventName, cb, opts) => el.removeEventListener(toKebabCase(eventName), cb, opts),
47
+ ce: (eventName, opts) => new CustomEvent(toKebabCase(eventName), opts),
48
+ };
65
49
  };
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));
50
+ const PoppyVue = {
51
+ async install(_, config = {}) {
92
52
  /**
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.
53
+ * By default Poppy UI hides elements that
54
+ * are not hydrated, but in the CE build there is no
55
+ * hydration.
101
56
  */
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];
57
+ if (typeof document !== 'undefined') {
58
+ document.documentElement.classList.add('pop-ce');
223
59
  }
224
- }
225
- return Container;
60
+ initialize(Object.assign(Object.assign({}, config), { helpers: getHelperFunctions() }));
61
+ },
226
62
  };
227
63
 
228
64
  /* eslint-disable */
@@ -241,6 +77,9 @@ const PopAccordionGroup = /*@__PURE__*/ defineContainer('pop-accordion-group', d
241
77
  'active',
242
78
  'popChange',
243
79
  'popActiveChange'
80
+ ], [
81
+ 'popChange',
82
+ 'popActiveChange'
244
83
  ], 'active', 'pop-change');
245
84
  const PopAvatar = /*@__PURE__*/ defineContainer('pop-avatar', defineCustomElement$2, [
246
85
  'placeholder'
@@ -263,6 +102,9 @@ const PopButton = /*@__PURE__*/ defineContainer('pop-button', defineCustomElemen
263
102
  'active',
264
103
  'popFocus',
265
104
  'popBlur'
105
+ ], [
106
+ 'popFocus',
107
+ 'popBlur'
266
108
  ]);
267
109
  const PopCard = /*@__PURE__*/ defineContainer('pop-card', defineCustomElement$5, [
268
110
  'compact'
@@ -284,6 +126,10 @@ const PopCheckbox = /*@__PURE__*/ defineContainer('pop-checkbox', defineCustomEl
284
126
  'popChange',
285
127
  'popFocus',
286
128
  'popBlur'
129
+ ], [
130
+ 'popChange',
131
+ 'popFocus',
132
+ 'popBlur'
287
133
  ], 'checked', 'pop-change');
288
134
  const PopDivider = /*@__PURE__*/ defineContainer('pop-divider', defineCustomElement$a, [
289
135
  'orientation',
@@ -297,6 +143,9 @@ const PopDrawer = /*@__PURE__*/ defineContainer('pop-drawer', defineCustomElemen
297
143
  'open',
298
144
  'popDidPresent',
299
145
  'popDidDismiss'
146
+ ], [
147
+ 'popDidPresent',
148
+ 'popDidDismiss'
300
149
  ]);
301
150
  const PopDropdown = /*@__PURE__*/ defineContainer('pop-dropdown', defineCustomElement$c, [
302
151
  'side',
@@ -305,8 +154,11 @@ const PopDropdown = /*@__PURE__*/ defineContainer('pop-dropdown', defineCustomEl
305
154
  'triggerAction',
306
155
  'debounce',
307
156
  'showBackdrop',
308
- 'present',
309
- 'dismiss'
157
+ 'didPresent',
158
+ 'didDismiss'
159
+ ], [
160
+ 'didPresent',
161
+ 'didDismiss'
310
162
  ]);
311
163
  const PopImg = /*@__PURE__*/ defineContainer('pop-img', defineCustomElement$d, [
312
164
  'src',
@@ -314,6 +166,10 @@ const PopImg = /*@__PURE__*/ defineContainer('pop-img', defineCustomElement$d, [
314
166
  'popWillLoad',
315
167
  'popDidLoad',
316
168
  'popError'
169
+ ], [
170
+ 'popWillLoad',
171
+ 'popDidLoad',
172
+ 'popError'
317
173
  ]);
318
174
  const PopIndicator = /*@__PURE__*/ defineContainer('pop-indicator', defineCustomElement$e, [
319
175
  'side',
@@ -352,6 +208,11 @@ const PopInput = /*@__PURE__*/ defineContainer('pop-input', defineCustomElement$
352
208
  'popInput',
353
209
  'popFocus',
354
210
  'popBlur'
211
+ ], [
212
+ 'popChange',
213
+ 'popInput',
214
+ 'popFocus',
215
+ 'popBlur'
355
216
  ], 'value', 'pop-input');
356
217
  const PopInputFile = /*@__PURE__*/ defineContainer('pop-input-file', defineCustomElement$g, [
357
218
  'name',
@@ -369,7 +230,11 @@ const PopInputFile = /*@__PURE__*/ defineContainer('pop-input-file', defineCusto
369
230
  'popChange',
370
231
  'popFocus',
371
232
  'popBlur'
372
- ]);
233
+ ], [
234
+ 'popChange',
235
+ 'popFocus',
236
+ 'popBlur'
237
+ ], 'value', 'pop-change');
373
238
  const PopItem = /*@__PURE__*/ defineContainer('pop-item', defineCustomElement$h, [
374
239
  'disabled'
375
240
  ]);
@@ -397,8 +262,11 @@ const PopModal = /*@__PURE__*/ defineContainer('pop-modal', defineCustomElement$
397
262
  'showBackdrop',
398
263
  'backdropDismiss',
399
264
  'open',
400
- 'present',
401
- 'dismiss'
265
+ 'didPresent',
266
+ 'didDismiss'
267
+ ], [
268
+ 'didPresent',
269
+ 'didDismiss'
402
270
  ]);
403
271
  const PopNavbar = /*@__PURE__*/ defineContainer('pop-navbar', defineCustomElement$o);
404
272
  const PopPopover = /*@__PURE__*/ defineContainer('pop-popover', defineCustomElement$p, [
@@ -415,6 +283,11 @@ const PopPopover = /*@__PURE__*/ defineContainer('pop-popover', defineCustomElem
415
283
  'didPresent',
416
284
  'willDismiss',
417
285
  'didDismiss'
286
+ ], [
287
+ 'willPresent',
288
+ 'didPresent',
289
+ 'willDismiss',
290
+ 'didDismiss'
418
291
  ]);
419
292
  const PopProgress = /*@__PURE__*/ defineContainer('pop-progress', defineCustomElement$q, [
420
293
  'value',
@@ -433,6 +306,9 @@ const PopRadio = /*@__PURE__*/ defineContainer('pop-radio', defineCustomElement$
433
306
  'size',
434
307
  'popFocus',
435
308
  'popBlur'
309
+ ], [
310
+ 'popFocus',
311
+ 'popBlur'
436
312
  ], 'value', 'pop-change');
437
313
  const PopRadioGroup = /*@__PURE__*/ defineContainer('pop-radio-group', defineCustomElement$s, [
438
314
  'name',
@@ -444,6 +320,9 @@ const PopRadioGroup = /*@__PURE__*/ defineContainer('pop-radio-group', defineCus
444
320
  'compare',
445
321
  'popChange',
446
322
  'popValueChange'
323
+ ], [
324
+ 'popChange',
325
+ 'popValueChange'
447
326
  ], 'value', 'pop-change');
448
327
  const PopRange = /*@__PURE__*/ defineContainer('pop-range', defineCustomElement$t, [
449
328
  'name',
@@ -460,6 +339,10 @@ const PopRange = /*@__PURE__*/ defineContainer('pop-range', defineCustomElement$
460
339
  'popChange',
461
340
  'popFocus',
462
341
  'popBlur'
342
+ ], [
343
+ 'popChange',
344
+ 'popFocus',
345
+ 'popBlur'
463
346
  ], 'value', 'pop-change');
464
347
  const PopSelect = /*@__PURE__*/ defineContainer('pop-select', defineCustomElement$u, [
465
348
  'name',
@@ -479,8 +362,14 @@ const PopSelect = /*@__PURE__*/ defineContainer('pop-select', defineCustomElemen
479
362
  'notEnoughErrorText',
480
363
  'tooManyErrorText',
481
364
  'compare',
482
- 'present',
483
- 'dismiss',
365
+ 'didPresent',
366
+ 'didDismiss',
367
+ 'popChange',
368
+ 'popFocus',
369
+ 'popBlur'
370
+ ], [
371
+ 'didPresent',
372
+ 'didDismiss',
484
373
  'popChange',
485
374
  'popFocus',
486
375
  'popBlur'
@@ -495,6 +384,8 @@ const PopSwap = /*@__PURE__*/ defineContainer('pop-swap', defineCustomElement$w,
495
384
  'type',
496
385
  'active',
497
386
  'popSwap'
387
+ ], [
388
+ 'popSwap'
498
389
  ], 'active', 'pop-change');
499
390
  const PopTextarea = /*@__PURE__*/ defineContainer('pop-textarea', defineCustomElement$x, [
500
391
  'name',
@@ -525,6 +416,11 @@ const PopTextarea = /*@__PURE__*/ defineContainer('pop-textarea', defineCustomEl
525
416
  'popInput',
526
417
  'popFocus',
527
418
  'popBlur'
419
+ ], [
420
+ 'popChange',
421
+ 'popInput',
422
+ 'popFocus',
423
+ 'popBlur'
528
424
  ], 'value', 'pop-input');
529
425
  const PopToggle = /*@__PURE__*/ defineContainer('pop-toggle', defineCustomElement$y, [
530
426
  'name',
@@ -539,6 +435,10 @@ const PopToggle = /*@__PURE__*/ defineContainer('pop-toggle', defineCustomElemen
539
435
  'popChange',
540
436
  'popFocus',
541
437
  'popBlur'
438
+ ], [
439
+ 'popChange',
440
+ 'popFocus',
441
+ 'popBlur'
542
442
  ], 'checked', 'pop-change');
543
443
  const PopTooltip = /*@__PURE__*/ defineContainer('pop-tooltip', defineCustomElement$z, [
544
444
  'value',
@@ -547,29 +447,5 @@ const PopTooltip = /*@__PURE__*/ defineContainer('pop-tooltip', defineCustomElem
547
447
  'open'
548
448
  ]);
549
449
 
550
- const toKebabCase = (eventName) => {
551
- return eventName.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase();
552
- };
553
- const getHelperFunctions = () => {
554
- return {
555
- ael: (el, eventName, cb, opts) => el.addEventListener(toKebabCase(eventName), cb, opts),
556
- rel: (el, eventName, cb, opts) => el.removeEventListener(toKebabCase(eventName), cb, opts),
557
- ce: (eventName, opts) => new CustomEvent(toKebabCase(eventName), opts),
558
- };
559
- };
560
- const PoppyVue = {
561
- async install(_, config = {}) {
562
- /**
563
- * By default Poppy UI hides elements that
564
- * are not hydrated, but in the CE build there is no
565
- * hydration.
566
- */
567
- if (typeof document !== 'undefined') {
568
- document.documentElement.classList.add('pop-ce');
569
- }
570
- initialize(Object.assign(Object.assign({}, config), { helpers: getHelperFunctions() }));
571
- },
572
- };
573
-
574
- export { PopAccordion, PopAccordionGroup, PopAvatar, PopBadge, PopButton, PopCard, PopCardActions, PopCardBody, PopCardTitle, PopCheckbox, PopDivider, PopDrawer, PopDropdown, PopImg, PopIndicator, PopInput, PopInputFile, PopItem, PopJoin, PopKbd, PopList, PopLoading, PopMask, PopModal, PopNavbar, PopPopover, PopProgress, PopRadio, PopRadioGroup, PopRange, PopSelect, PopSelectOption, PopSwap, PopTextarea, PopToggle, PopTooltip, PoppyVue };
450
+ export { PopAccordion, PopAccordionGroup, PopAvatar, PopBadge, PopButton, PopCard, PopCardActions, PopCardBody, PopCardTitle, PopCheckbox, PopDivider, PopDrawer, PopDropdown, PopImg, PopIndicator, PopInput, PopInputFile, PopItem, PopJoin, PopKbd, PopList, PopLoading, PopMask, PopModal, PopNavbar, PopPopover, PopProgress, PopRadio, PopRadioGroup, PopRange, PopSelect, PopSelectOption, PopSwap, PopTextarea, PopToggle, PopTooltip, PoppyVue as default };
575
451
  //# sourceMappingURL=index.js.map
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,MAAM,kBAAkB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE;AAMlD,MAAM,mBAAmB,GAAG,CAAC,OAAgB,KAAI;AAC/C,IAAA,OAAO,CAAC,OAAkB,KAAlB,IAAA,IAAA,OAAO,KAAP,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,OAAO,CAAa,KAAK,CAAC,GAAG,CAAC,KAAI,EAAE;AAC9C,CAAC;AAED,MAAM,iBAAiB,GAAG,CACxB,GAAiC,EACjC,gBAA6B,EAC7B,cAAA,GAA2B,EAAE,KAC3B;;IACF,OAAO,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAA,CAAA,EAAA,GAAA,GAAG,CAAC,KAAK,0CAAE,SAAS,KAAI,EAAE,CAAC,EAAE,GAAG,cAAc,CAAC,CAAC,MAAM,CAC1E,CAAC,CAAS,EAAE,CAAC,EAAE,IAAI,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,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,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/plugin.ts","../src/generated/components.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"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,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,IA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W;IACX,SAAS;IACT,kBAAkB;IAClB,UAAU;IACV,WAAW;IACX,UAAU;IACV,UAAU;IACV;CACD,EAAE;IACD,WAAW;IACX,UAAU;IACV,UAAU;IACV;AACD,CAAA,EACD,OAAO,EAAE,WAAW;AAGP,MAAA,SAAS,iBAAiB,eAAe,CAA0C,YAAY,EAAEC,qBAAe,EAAE;IAC7H,MAAM;IACN,OAAO;IACP,UAAU;IACV,UAAU;IACV,SAAS;IACT,eAAe;IACf,UAAU;IACV,OAAO;IACP,MAAM;IACN,WAAW;IACX,UAAU;IACV;CACD,EAAE;IACD,WAAW;IACX,UAAU;IACV;AACD,CAAA,EACD,SAAS,EAAE,YAAY;AAGV,MAAA,UAAU,iBAAiB,eAAe,CAAiB,aAAa,EAAEC,qBAAgB,EAAE;IACvG,OAAO;IACP,OAAO;IACP,UAAU;IACV;AACD,CAAA;;;;"}
@@ -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<File | File[]>, {}, {}, JSX.PopInputFile & import("@stencil/vue-output-target/runtime").InputProps<File | File[]>, 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,6 @@
1
- export * from './proxies';
2
- export * from './plugin';
1
+ import { PoppyVue } from './plugin';
2
+ export default PoppyVue;
3
+ export * from './generated/components';
3
4
  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';
5
+ export type * from '@poppy-ui/core/dist/types/component-types';
5
6
  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",
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@poppy-ui/vue",
5
- "version": "0.4.0",
5
+ "version": "0.5.1",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -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.1",
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",
@@ -43,14 +46,18 @@
43
46
  "build:web-types": "node --experimental-json-modules ./scripts/build-web-types.js",
44
47
  "copy:css": "node ./scripts/copy-css.js"
45
48
  },
49
+ "dependencies": {
50
+ "@poppy-ui/core": "^0.5.1",
51
+ "@stencil/vue-output-target": "^0.9.5"
52
+ },
46
53
  "devDependencies": {
47
54
  "@biomejs/biome": "^1.9.4",
48
- "@poppy-ui/docs": "^0.4.0",
55
+ "@poppy-ui/docs": "^0.5.1",
49
56
  "@rollup/plugin-typescript": "^12.1.2",
50
57
  "change-case": "^5.4.4",
51
58
  "rimraf": "^6.0.1",
52
- "rollup": "^4.28.1",
53
- "typescript": "^5.7.2",
59
+ "rollup": "^4.34.8",
60
+ "typescript": "^5.7.3",
54
61
  "vue": "3.5.13"
55
62
  },
56
63
  "vetur": {
@@ -60,8 +67,5 @@
60
67
  "web-types": "dist/web-types.json",
61
68
  "sideEffects": [
62
69
  "css/*.css"
63
- ],
64
- "dependencies": {
65
- "@poppy-ui/core": "^0.4.0"
66
- }
70
+ ]
67
71
  }
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>;