proto-daisy-db 0.0.104 → 0.0.106
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/cjs/{index-4488e12f.js → index-0fb984e4.js} +2 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/proto-daisy-db.cjs.js +5 -2
- package/dist/cjs/proto-daisy-db_5.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/components/index.d.ts +0 -8
- package/dist/components/index.js +0 -5
- package/dist/esm/{index-8ede61be.js → index-14cc687e.js} +2 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/proto-daisy-db.js +6 -3
- package/dist/esm/proto-daisy-db_5.entry.js +1 -1
- package/dist/proto-daisy-db/{p-a0bde099.js → p-b74bc8ff.js} +0 -0
- package/dist/proto-daisy-db/{p-f411e7e1.entry.js → p-ee54e12c.entry.js} +1 -1
- package/dist/proto-daisy-db/proto-daisy-db.esm.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +12 -12
- package/package.json +2 -2
|
@@ -246,6 +246,7 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
246
246
|
}
|
|
247
247
|
if (!appliedStyles.has(scopeId)) {
|
|
248
248
|
{
|
|
249
|
+
// TODO(STENCIL-659): Remove code implementing the CSS variable shim
|
|
249
250
|
{
|
|
250
251
|
styleElm = doc.createElement('style');
|
|
251
252
|
styleElm.innerHTML = style;
|
|
@@ -274,6 +275,7 @@ const attachStyles = (hostRef) => {
|
|
|
274
275
|
const flags = cmpMeta.$flags$;
|
|
275
276
|
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
276
277
|
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
278
|
+
// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
|
|
277
279
|
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
278
280
|
// only required when we're NOT using native shadow dom (slot)
|
|
279
281
|
// or this browser doesn't support native shadow dom
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0fb984e4.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm
|
|
8
|
+
Stencil Client Patch Esm v3.0.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -2,16 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0fb984e4.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser
|
|
8
|
+
Stencil Client Patch Browser v3.0.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchBrowser = () => {
|
|
11
11
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-daisy-db.cjs.js', document.baseURI).href));
|
|
12
12
|
const opts = {};
|
|
13
|
+
// TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
|
|
13
14
|
if (importMeta !== '') {
|
|
14
15
|
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
16
|
+
// TODO(STENCIL-661): Remove code related to the dynamic import shim
|
|
17
|
+
// TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
|
|
15
18
|
}
|
|
16
19
|
return index.promiseResolve(opts);
|
|
17
20
|
};
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/* ProtoDaisyDb custom elements */
|
|
2
|
-
export { ProtoDaisyDB as ProtoDaisyDb } from '../types/components/proto-daisy-db/proto-daisy-db';
|
|
3
|
-
export { ProtoFauxKeys as ProtoFauxKeys } from '../types/components/proto-faux-keys/proto-faux-keys';
|
|
4
|
-
export { ProtoFauxStamp as ProtoFauxStamp } from '../types/components/proto-faux-stamp/proto-faux-stamp';
|
|
5
|
-
export { ProtoFauxTrigger as ProtoFauxTrigger } from '../types/components/proto-faux-trigger/proto-faux-trigger';
|
|
6
|
-
export { ProtoFauxType as ProtoFauxType } from '../types/components/proto-faux-type/proto-faux-type';
|
|
7
|
-
|
|
8
1
|
/**
|
|
9
2
|
* Used to manually set the base path where assets can be found.
|
|
10
3
|
* If the script is used as "module", it's recommended to use "import.meta.url",
|
|
@@ -32,4 +25,3 @@ export interface SetPlatformOptions {
|
|
|
32
25
|
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
33
26
|
}
|
|
34
27
|
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
|
35
|
-
export * from '../types';
|
package/dist/components/index.js
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
1
|
export { setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
|
-
export { ProtoDaisyDb, defineCustomElement as defineCustomElementProtoDaisyDb } from './proto-daisy-db.js';
|
|
3
|
-
export { ProtoFauxKeys, defineCustomElement as defineCustomElementProtoFauxKeys } from './proto-faux-keys.js';
|
|
4
|
-
export { ProtoFauxStamp, defineCustomElement as defineCustomElementProtoFauxStamp } from './proto-faux-stamp.js';
|
|
5
|
-
export { ProtoFauxTrigger, defineCustomElement as defineCustomElementProtoFauxTrigger } from './proto-faux-trigger.js';
|
|
6
|
-
export { ProtoFauxType, defineCustomElement as defineCustomElementProtoFauxType } from './proto-faux-type.js';
|
|
@@ -224,6 +224,7 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
224
224
|
}
|
|
225
225
|
if (!appliedStyles.has(scopeId)) {
|
|
226
226
|
{
|
|
227
|
+
// TODO(STENCIL-659): Remove code implementing the CSS variable shim
|
|
227
228
|
{
|
|
228
229
|
styleElm = doc.createElement('style');
|
|
229
230
|
styleElm.innerHTML = style;
|
|
@@ -252,6 +253,7 @@ const attachStyles = (hostRef) => {
|
|
|
252
253
|
const flags = cmpMeta.$flags$;
|
|
253
254
|
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
254
255
|
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
256
|
+
// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
|
|
255
257
|
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
256
258
|
// only required when we're NOT using native shadow dom (slot)
|
|
257
259
|
// or this browser doesn't support native shadow dom
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-14cc687e.js';
|
|
2
|
+
export { s as setNonce } from './index-14cc687e.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Esm
|
|
5
|
+
Stencil Client Patch Esm v3.0.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchEsm = () => {
|
|
8
8
|
return promiseResolve();
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-14cc687e.js';
|
|
2
|
+
export { s as setNonce } from './index-14cc687e.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser
|
|
5
|
+
Stencil Client Patch Browser v3.0.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchBrowser = () => {
|
|
8
8
|
const importMeta = import.meta.url;
|
|
9
9
|
const opts = {};
|
|
10
|
+
// TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
|
|
10
11
|
if (importMeta !== '') {
|
|
11
12
|
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
13
|
+
// TODO(STENCIL-661): Remove code related to the dynamic import shim
|
|
14
|
+
// TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
|
|
12
15
|
}
|
|
13
16
|
return promiseResolve(opts);
|
|
14
17
|
};
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o}from"./p-
|
|
1
|
+
import{r as t,h as o}from"./p-b74bc8ff.js";const s="proto-daisy-db:app-data",a=class{constructor(o){t(this,o),this.emitter=void 0}componentDidLoad(){if(this.emitter&&window[this.emitter]){const t=window[this.emitter];t.on("app-data:get",(()=>{var o;console.log("app-data:get"),(o=localStorage.getItem(s),new Promise(((t,s)=>{try{t(JSON.parse(o))}catch(t){s(t)}}))).then((o=>{t.emit("app-data:value",o)})).catch((t=>{console.log(t)}))})),t.on("app-data:store",(t=>{console.log("app-data:store",t),(t=>{const o=JSON.stringify(t);localStorage.setItem(s,o)})(t)})),t.emit("proto-daisy-db",{ready:!0})}}render(){return o("div",null)}};a.style="";const r=class{constructor(o){t(this,o),this.data=void 0}render(){const t=this.data?Object.keys(this.data):[];return o("div",{class:"flex flex-col"},t.map((t=>o("span",null,t))))}};r.style="";const e=class{constructor(o){t(this,o),this.data=void 0}render(){return o("div",{class:"flex"},o("span",null,this.data?this.data.stamp:""))}};e.style="";const i=class{constructor(o){t(this,o),this.emitter=void 0,this.data=void 0}componentDidLoad(){this.emitter&&window[this.emitter]&&window[this.emitter].on("app-data:value",(t=>{this.data=t}))}emitData(){if(this.emitter&&window[this.emitter]){const t=window[this.emitter],o={login:!0,stamp:Date.now(),theme:"dark",dealers:[]};this.data=void 0,t.emit("app-data:store",o)}}fetchData(){this.emitter&&window[this.emitter]&&window[this.emitter].emit("app-data:get",42)}render(){return o("div",{class:"flex flex-col font-sans"},o("div",{class:"flex flex-row content-center gap-2"},o("button",{class:"btn bg-clrs-navy text-clrs-white",onClick:()=>this.emitData()},"Save"),o("button",{class:"btn bg-clrs-blue text-clrs-white",onClick:()=>this.fetchData()},"Fetch")),o("proto-faux-type",{class:"mt-4",emitter:this.emitter}),o("proto-faux-stamp",{class:"mt-2 text-xs",data:this.data}),o("proto-faux-keys",{class:"mt-2",data:this.data}))}};i.style="*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.btn{border-radius:0.375rem;border-width:1px;border-style:solid;border-color:var(--clrs-aqua, #7fdbff);padding:0.5rem}.mt-4{margin-top:1rem}.mt-2{margin-top:0.5rem}.flex{display:flex}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.content-center{align-content:center}.gap-2{gap:0.5rem}.bg-clrs-navy{background-color:var(--clrs-navy, #001f3f)}.bg-clrs-blue{background-color:var(--clrs-blue, #0074d9)}.font-sans{font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,\n 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,\n 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'}.text-xs{font-size:0.75rem;line-height:1rem}.italic{font-style:italic}.text-clrs-white{color:var(--clrs-white, #ffffff)}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),\n 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";const n=class{constructor(o){t(this,o),this.emitter=void 0,this.eventType=void 0}componentDidLoad(){this.emitter&&window[this.emitter]&&window[this.emitter].on("*",(t=>{this.eventType=t}))}render(){return o("div",null,o("span",{class:"text-xs italic"},this.eventType))}};n.style="proto-faux-type{}";export{a as proto_daisy_db,r as proto_faux_keys,e as proto_faux_stamp,i as proto_faux_trigger,n as proto_faux_type}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,b as e}from"./p-
|
|
1
|
+
import{p as t,b as e}from"./p-b74bc8ff.js";export{s as setNonce}from"./p-b74bc8ff.js";(()=>{const e=import.meta.url,o={};return""!==e&&(o.resourcesUrl=new URL(".",e).href),t(o)})().then((t=>e([["p-ee54e12c",[[0,"proto-faux-trigger",{emitter:[1],data:[1040]}],[1,"proto-daisy-db",{emitter:[1]}],[0,"proto-faux-keys",{data:[16]}],[0,"proto-faux-stamp",{data:[16]}],[0,"proto-faux-type",{emitter:[1],eventType:[1025,"event-type"]}]]]],t)));
|
|
@@ -892,8 +892,8 @@ export declare namespace JSXBase {
|
|
|
892
892
|
accept?: string;
|
|
893
893
|
allowdirs?: boolean;
|
|
894
894
|
alt?: string;
|
|
895
|
-
autoCapitalize?:
|
|
896
|
-
autocapitalize?:
|
|
895
|
+
autoCapitalize?: string;
|
|
896
|
+
autocapitalize?: string;
|
|
897
897
|
autoComplete?: string;
|
|
898
898
|
autocomplete?: string;
|
|
899
899
|
autoFocus?: boolean;
|
|
@@ -1217,8 +1217,8 @@ export declare namespace JSXBase {
|
|
|
1217
1217
|
resource?: string;
|
|
1218
1218
|
typeof?: string;
|
|
1219
1219
|
vocab?: string;
|
|
1220
|
-
autoCapitalize?:
|
|
1221
|
-
autocapitalize?:
|
|
1220
|
+
autoCapitalize?: string;
|
|
1221
|
+
autocapitalize?: string;
|
|
1222
1222
|
autoCorrect?: string;
|
|
1223
1223
|
autocorrect?: string;
|
|
1224
1224
|
autoSave?: string;
|
|
@@ -1509,12 +1509,12 @@ export declare namespace JSXBase {
|
|
|
1509
1509
|
onCutCapture?: (event: ClipboardEvent) => void;
|
|
1510
1510
|
onPaste?: (event: ClipboardEvent) => void;
|
|
1511
1511
|
onPasteCapture?: (event: ClipboardEvent) => void;
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1512
|
+
onCompositionend?: (event: CompositionEvent) => void;
|
|
1513
|
+
onCompositionendCapture?: (event: CompositionEvent) => void;
|
|
1514
|
+
onCompositionstart?: (event: CompositionEvent) => void;
|
|
1515
|
+
onCompositionstartCapture?: (event: CompositionEvent) => void;
|
|
1516
|
+
onCompositionupdate?: (event: CompositionEvent) => void;
|
|
1517
|
+
onCompositionupdateCapture?: (event: CompositionEvent) => void;
|
|
1518
1518
|
onFocus?: (event: FocusEvent) => void;
|
|
1519
1519
|
onFocusCapture?: (event: FocusEvent) => void;
|
|
1520
1520
|
onFocusin?: (event: FocusEvent) => void;
|
|
@@ -1525,8 +1525,8 @@ export declare namespace JSXBase {
|
|
|
1525
1525
|
onBlurCapture?: (event: FocusEvent) => void;
|
|
1526
1526
|
onChange?: (event: Event) => void;
|
|
1527
1527
|
onChangeCapture?: (event: Event) => void;
|
|
1528
|
-
onInput?: (event:
|
|
1529
|
-
onInputCapture?: (event:
|
|
1528
|
+
onInput?: (event: InputEvent) => void;
|
|
1529
|
+
onInputCapture?: (event: InputEvent) => void;
|
|
1530
1530
|
onReset?: (event: Event) => void;
|
|
1531
1531
|
onResetCapture?: (event: Event) => void;
|
|
1532
1532
|
onSubmit?: (event: Event) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-daisy-db",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.106",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"format": "prettier --write src"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@stencil/core": "
|
|
30
|
+
"@stencil/core": "3.0.0",
|
|
31
31
|
"mitt": "3.0.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|