proto-daisy-ui 0.0.13 → 0.0.14

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.
@@ -9,7 +9,7 @@ const ProtoButton = (_props, children) => {
9
9
  return index.h("button", { class: "btn btn-primary" }, children);
10
10
  };
11
11
 
12
- const protoHomeCss = ".radial-progress{--size:12rem;--thickness:2rem}";
12
+ const protoHomeCss = "#dial{--size:12rem;--thickness:2rem}";
13
13
 
14
14
  const updateDial = (num) => {
15
15
  return el => {
@@ -24,7 +24,7 @@ const ProtoHome = class {
24
24
  render() {
25
25
  const { pick } = store.state;
26
26
  const dealer = store.dealers[pick];
27
- return (index.h("div", { class: "mr-8 flex flex-col flex-nowrap items-start gap-2" }, index.h("div", { class: "alert alert-info shadow-lg" }, index.h("div", null, index.h("svg", { fill: "none", viewBox: "0 0 24 24", class: "h-6 w-6 flex-shrink-0 stroke-current" }, index.h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" })), index.h("span", null, "Welcome... [ ", dealer.name, " ]"))), index.h(ProtoButton, null, "Hello"), index.h("div", { class: "radial-progress text-secondary", ref: updateDial(dealer.progress) }, dealer.progress, "%")));
27
+ return (index.h("div", { class: "mr-8 flex flex-col flex-nowrap items-start gap-2" }, index.h("div", { class: "alert alert-info shadow-lg" }, index.h("div", null, index.h("svg", { fill: "none", viewBox: "0 0 24 24", class: "h-6 w-6 flex-shrink-0 stroke-current" }, index.h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" })), index.h("span", null, "Welcome... [ ", dealer.name, " ]"))), index.h(ProtoButton, null, "Hello"), index.h("div", { id: "dial", class: "radial-progress text-secondary", ref: updateDial(dealer.progress) }, dealer.progress, "%")));
28
28
  }
29
29
  };
30
30
  ProtoHome.style = protoHomeCss;
@@ -1,4 +1,4 @@
1
- .radial-progress {
1
+ #dial {
2
2
  --size: 12rem;
3
3
  --thickness: 2rem;
4
4
  }
@@ -21,7 +21,7 @@ export class ProtoHome {
21
21
  dealer.name,
22
22
  " ]"))),
23
23
  h(ProtoButton, null, "Hello"),
24
- h("div", { class: "radial-progress text-secondary", ref: updateDial(dealer.progress) },
24
+ h("div", { id: "dial", class: "radial-progress text-secondary", ref: updateDial(dealer.progress) },
25
25
  dealer.progress,
26
26
  "%")));
27
27
  }
@@ -5,7 +5,7 @@ const ProtoButton = (_props, children) => {
5
5
  return h("button", { class: "btn btn-primary" }, children);
6
6
  };
7
7
 
8
- const protoHomeCss = ".radial-progress{--size:12rem;--thickness:2rem}";
8
+ const protoHomeCss = "#dial{--size:12rem;--thickness:2rem}";
9
9
 
10
10
  const updateDial = (num) => {
11
11
  return el => {
@@ -21,7 +21,7 @@ const ProtoHome$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
21
21
  render() {
22
22
  const { pick } = state;
23
23
  const dealer = dealers[pick];
24
- return (h("div", { class: "mr-8 flex flex-col flex-nowrap items-start gap-2" }, h("div", { class: "alert alert-info shadow-lg" }, h("div", null, h("svg", { fill: "none", viewBox: "0 0 24 24", class: "h-6 w-6 flex-shrink-0 stroke-current" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" })), h("span", null, "Welcome... [ ", dealer.name, " ]"))), h(ProtoButton, null, "Hello"), h("div", { class: "radial-progress text-secondary", ref: updateDial(dealer.progress) }, dealer.progress, "%")));
24
+ return (h("div", { class: "mr-8 flex flex-col flex-nowrap items-start gap-2" }, h("div", { class: "alert alert-info shadow-lg" }, h("div", null, h("svg", { fill: "none", viewBox: "0 0 24 24", class: "h-6 w-6 flex-shrink-0 stroke-current" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" })), h("span", null, "Welcome... [ ", dealer.name, " ]"))), h(ProtoButton, null, "Hello"), h("div", { id: "dial", class: "radial-progress text-secondary", ref: updateDial(dealer.progress) }, dealer.progress, "%")));
25
25
  }
26
26
  static get style() { return protoHomeCss; }
27
27
  }, [0, "proto-home"]);
@@ -5,7 +5,7 @@ const ProtoButton = (_props, children) => {
5
5
  return h("button", { class: "btn btn-primary" }, children);
6
6
  };
7
7
 
8
- const protoHomeCss = ".radial-progress{--size:12rem;--thickness:2rem}";
8
+ const protoHomeCss = "#dial{--size:12rem;--thickness:2rem}";
9
9
 
10
10
  const updateDial = (num) => {
11
11
  return el => {
@@ -20,7 +20,7 @@ const ProtoHome = class {
20
20
  render() {
21
21
  const { pick } = state;
22
22
  const dealer = dealers[pick];
23
- return (h("div", { class: "mr-8 flex flex-col flex-nowrap items-start gap-2" }, h("div", { class: "alert alert-info shadow-lg" }, h("div", null, h("svg", { fill: "none", viewBox: "0 0 24 24", class: "h-6 w-6 flex-shrink-0 stroke-current" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" })), h("span", null, "Welcome... [ ", dealer.name, " ]"))), h(ProtoButton, null, "Hello"), h("div", { class: "radial-progress text-secondary", ref: updateDial(dealer.progress) }, dealer.progress, "%")));
23
+ return (h("div", { class: "mr-8 flex flex-col flex-nowrap items-start gap-2" }, h("div", { class: "alert alert-info shadow-lg" }, h("div", null, h("svg", { fill: "none", viewBox: "0 0 24 24", class: "h-6 w-6 flex-shrink-0 stroke-current" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" })), h("span", null, "Welcome... [ ", dealer.name, " ]"))), h(ProtoButton, null, "Hello"), h("div", { id: "dial", class: "radial-progress text-secondary", ref: updateDial(dealer.progress) }, dealer.progress, "%")));
24
24
  }
25
25
  };
26
26
  ProtoHome.style = protoHomeCss;
@@ -0,0 +1 @@
1
+ import{h as s,r}from"./p-01278f45.js";import{d as e,s as l}from"./p-f9b94d4b.js";const o=(r,e)=>s("button",{class:"btn btn-primary"},e),t=class{constructor(s){r(this,s)}render(){const{pick:r}=l,t=e[r];return s("div",{class:"mr-8 flex flex-col flex-nowrap items-start gap-2"},s("div",{class:"alert alert-info shadow-lg"},s("div",null,s("svg",{fill:"none",viewBox:"0 0 24 24",class:"h-6 w-6 flex-shrink-0 stroke-current"},s("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})),s("span",null,"Welcome... [ ",t.name," ]"))),s(o,null,"Hello"),s("div",{id:"dial",class:"radial-progress text-secondary",ref:(a=t.progress,s=>{const r=a>=0&&a<=100?a.toString():"0";s.style.setProperty("--value",r)})},t.progress,"%"));var a}};t.style="#dial{--size:12rem;--thickness:2rem}";export{t as proto_home}
@@ -1 +1 @@
1
- import{p as o,b as e}from"./p-01278f45.js";(()=>{const e=import.meta.url,p={};return""!==e&&(p.resourcesUrl=new URL(".",e).href),o(p)})().then((o=>e([["p-e2936e82",[[1,"proto-daisy-ui"]]],["p-8b18fc70",[[0,"proto-demo"]]],["p-dd60a13a",[[0,"proto-hero",{theme:[1]}]]],["p-c4ee23b0",[[0,"proto-home"]]],["p-cf4ac4ae",[[0,"proto-list"]]],["p-7edc6199",[[0,"proto-shell",{theme:[1]}]]]],o)));
1
+ import{p as o,b as p}from"./p-01278f45.js";(()=>{const p=import.meta.url,e={};return""!==p&&(e.resourcesUrl=new URL(".",p).href),o(e)})().then((o=>p([["p-e2936e82",[[1,"proto-daisy-ui"]]],["p-8b18fc70",[[0,"proto-demo"]]],["p-dd60a13a",[[0,"proto-hero",{theme:[1]}]]],["p-cca800a6",[[0,"proto-home"]]],["p-cf4ac4ae",[[0,"proto-list"]]],["p-7edc6199",[[0,"proto-shell",{theme:[1]}]]]],o)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-daisy-ui",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- import{h as s,r}from"./p-01278f45.js";import{d as e,s as o}from"./p-f9b94d4b.js";const l=(r,e)=>s("button",{class:"btn btn-primary"},e),t=class{constructor(s){r(this,s)}render(){const{pick:r}=o,t=e[r];return s("div",{class:"mr-8 flex flex-col flex-nowrap items-start gap-2"},s("div",{class:"alert alert-info shadow-lg"},s("div",null,s("svg",{fill:"none",viewBox:"0 0 24 24",class:"h-6 w-6 flex-shrink-0 stroke-current"},s("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})),s("span",null,"Welcome... [ ",t.name," ]"))),s(l,null,"Hello"),s("div",{class:"radial-progress text-secondary",ref:(a=t.progress,s=>{const r=a>=0&&a<=100?a.toString():"0";s.style.setProperty("--value",r)})},t.progress,"%"));var a}};t.style=".radial-progress{--size:12rem;--thickness:2rem}";export{t as proto_home}