rettangoli-ui 0.0.1 → 0.0.2
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/LICENSE +21 -0
- package/README.md +21 -1
- package/package.json +1 -2
- package/dist/rettangoli-ui.min.js +0 -953
- package/dist/rettangoli-ui.min.js.map +0 -7
package/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2024 Yuusoft
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the “Software”), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software
|
10
|
+
is furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included
|
13
|
+
in all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
21
|
+
IN THE SOFTWARE.
|
package/README.md
CHANGED
@@ -55,6 +55,7 @@ The `rtgl-view` component offers a variety of attributes for extensive customiza
|
|
55
55
|
| `br` | [Border Radius](#border-radius) | `xs`, `s`, `m`, `l`, `xl` |
|
56
56
|
| `bw` | [Border Width](#border-width) | `xs`, `s`, `m`, `l`, `xl` |
|
57
57
|
| `bc` | [Border Color](#border-color) | `p`, `pc`, `s`, `sc`, `e`, `ec`, `su`, `sucl`, `suc`, `such` |
|
58
|
+
| `h-cur` | [Hover Cursor](#hover-cursor) | `p` |
|
58
59
|
|
59
60
|
### Dimensions
|
60
61
|
|
@@ -370,8 +371,24 @@ TODO
|
|
370
371
|
|
371
372
|
TODO
|
372
373
|
|
374
|
+
### Hover Cursor
|
373
375
|
|
374
376
|
|
377
|
+
#### Attributes
|
378
|
+
|
379
|
+
| Attribute | Meaning | Description |
|
380
|
+
| --------- | ---------------- | ------------------------------ |
|
381
|
+
| `h-cur` | Hover Cursor | Hover Cursor |
|
382
|
+
|
383
|
+
#### Values
|
384
|
+
|
385
|
+
| Value | Meaning |
|
386
|
+
| ------- | --------------------- |
|
387
|
+
| `p` | Pointer |
|
388
|
+
|
389
|
+
#### Examples
|
390
|
+
|
391
|
+
TODO
|
375
392
|
|
376
393
|
## rtgl-button
|
377
394
|
|
@@ -429,6 +446,8 @@ The `rtgl-text` provides text in standard sizes and colors
|
|
429
446
|
| `mr` | [Margin Right](#margin) | `xs`, `s`, `m`, `l`, `xl` |
|
430
447
|
| `mb` | [Margin Bottom](#margin) | `xs`, `s`, `m`, `l`, `xl` |
|
431
448
|
| `ml` | [Margin Left](#margin) | `xs`, `s`, `m`, `l`, `xl` |
|
449
|
+
| `h-cur` | [Hover Cursor](#hover-cursor) | `p` |
|
450
|
+
|
432
451
|
|
433
452
|
### Size
|
434
453
|
|
@@ -504,6 +523,7 @@ Displays images
|
|
504
523
|
| `mr` | [Margin Right](#margin) | `xs`, `s`, `m`, `l`, `xl` |
|
505
524
|
| `mb` | [Margin Bottom](#margin) | `xs`, `s`, `m`, `l`, `xl` |
|
506
525
|
| `ml` | [Margin Left](#margin) | `xs`, `s`, `m`, `l`, `xl` |
|
526
|
+
| `h-cur` | [Hover Cursor](#hover-cursor) | `p` |
|
507
527
|
|
508
528
|
|
509
529
|
|
@@ -558,7 +578,7 @@ TODO
|
|
558
578
|
| `mr` | [Margin Right](#margin) | `xs`, `s`, `m`, `l`, `xl` |
|
559
579
|
| `mb` | [Margin Bottom](#margin) | `xs`, `s`, `m`, `l`, `xl` |
|
560
580
|
| `ml` | [Margin Left](#margin) | `xs`, `s`, `m`, `l`, `xl` |
|
561
|
-
|
581
|
+
| `h-cur` | [Hover Cursor](#hover-cursor) | `p` |
|
562
582
|
|
563
583
|
### SVG
|
564
584
|
|
package/package.json
CHANGED
@@ -1,953 +0,0 @@
|
|
1
|
-
var rettangoliUi=(()=>{var{isArray:rt}=Array,{getPrototypeOf:jt,getOwnPropertyDescriptor:Lt}=Object,w=[],et=()=>document.createRange(),E=(o,t,s)=>(o.set(t,s),s),{setPrototypeOf:Ot}=Object,C,at=(o,t,s)=>(C||(C=et()),s?C.setStartAfter(o):C.setStartBefore(o),C.setEndAfter(t),C.deleteContents(),o),P=({firstChild:o,lastChild:t},s)=>at(o,t,s),nt=!1,_=(o,t)=>nt&&o.nodeType===11?1/t<0?t?P(o,!0):o.lastChild:t?o.valueOf():o.firstChild:o,Y=o=>document.createComment(o),U=class extends(t=>{function s(e){return Ot(e,new.target.prototype)}return s.prototype=t.prototype,s})(DocumentFragment){#o=Y("<>");#s=Y("</>");#t=w;constructor(t){super(t),this.replaceChildren(this.#o,...t.childNodes,this.#s),nt=!0}get firstChild(){return this.#o}get lastChild(){return this.#s}get parentNode(){return this.#o.parentNode}remove(){P(this,!1)}replaceWith(t){P(this,!0).replaceWith(t)}valueOf(){let{firstChild:t,lastChild:s,parentNode:e}=this;if(e===this)this.#t===w&&(this.#t=[...this.childNodes]);else{if(e)for(this.#t=[t];t!==s;)this.#t.push(t=t.nextSibling);this.replaceChildren(...this.#t)}return this}},it=(o,t,s)=>o.setAttribute(t,s),L=(o,t)=>o.removeAttribute(t),M,Dt=(o,t,s)=>{s=s.slice(1),M||(M=new WeakMap);let e=M.get(o)||E(M,o,{}),r=e[s];return r&&r[0]&&o.removeEventListener(s,...r),r=rt(t)?t:[t,!1],e[s]=r,r[0]&&o.addEventListener(s,...r),t},T=(o,t)=>{let{t:s,n:e}=o,r=!1;switch(typeof t){case"object":if(t!==null){(e||s).replaceWith(o.n=t.valueOf());break}case"undefined":r=!0;default:s.data=r?"":t,e&&(o.n=null,e.replaceWith(s))}return t},O=(o,t,s)=>o[s]=t,Ht=(o,t,s)=>O(o,t,s.slice(1)),G=(o,t,s)=>t==null?(L(o,s),t):O(o,t,s),lt=(o,t)=>(typeof t=="function"?t(o):t.current=o,t),R=(o,t,s)=>(t==null?L(o,s):it(o,s,t),t),_t=(o,t,s)=>(o.toggleAttribute(s.slice(1),t),t),j=(o,t,s)=>{let{length:e}=t;if(o.data=`[${e}]`,e)return((r,a,i,n,d)=>{let u=i.length,p=a.length,c=u,l=0,h=0,m=null;for(;l<p||h<c;)if(p===l){let v=c<u?h?n(i[h-1],-0).nextSibling:n(i[c-h],0):d;for(;h<c;)r.insertBefore(n(i[h++],1),v)}else if(c===h)for(;l<p;)m&&m.has(a[l])||r.removeChild(n(a[l],-1)),l++;else if(a[l]===i[h])l++,h++;else if(a[p-1]===i[c-1])p--,c--;else if(a[l]===i[c-1]&&i[h]===a[p-1]){let v=n(a[--p],-1).nextSibling;r.insertBefore(n(i[h++],1),n(a[l++],-1).nextSibling),r.insertBefore(n(i[--c],1),v),a[p]=i[c]}else{if(!m){m=new Map;let v=h;for(;v<c;)m.set(i[v],v++)}if(m.has(a[l])){let v=m.get(a[l]);if(h<v&&v<c){let S=l,A=1;for(;++S<p&&S<c&&m.get(a[S])===v+A;)A++;if(A>v-h){let H=n(a[l],0);for(;h<v;)r.insertBefore(n(i[h++],1),H)}else r.replaceChild(n(i[h++],1),n(a[l++],-1))}else l++}else r.removeChild(n(a[l++],-1))}return i})(o.parentNode,s,t,_,o);switch(s.length){case 1:s[0].remove();case 0:break;default:at(_(s[0],0),_(s.at(-1),-0),!1)}return w},Rt=new Map([["aria",(o,t)=>{for(let s in t){let e=t[s],r=s==="role"?s:`aria-${s}`;e==null?L(o,r):it(o,r,e)}return t}],["class",(o,t)=>G(o,t,t==null?"class":"className")],["data",(o,t)=>{let{dataset:s}=o;for(let e in t)t[e]==null?delete s[e]:s[e]=t[e];return t}],["ref",lt],["style",(o,t)=>t==null?G(o,t,"style"):O(o.style,t,"cssText")]]),Ft=(o,t,s)=>{switch(t[0]){case".":return Ht;case"?":return _t;case"@":return Dt;default:return s||"ownerSVGElement"in o?t==="ref"?lt:R:Rt.get(t)||(t in o?t.startsWith("on")?O:((e,r)=>{let a;do a=Lt(e,r);while(!a&&(e=jt(e)));return a})(o,t)?.set?G:R:R)}},Vt=(o,t)=>(o.textContent=t??"",t),N=(o,t,s)=>({a:o,b:t,c:s}),k=()=>N(null,null,w),Bt=(o,t)=>t.reduceRight(Pt,o),Pt=(o,t)=>o.childNodes[t],ht=o=>(t,s)=>{let{a:e,b:r,c:a}=o(t,s),i=document.importNode(e,!0),n=w;if(r!==w){n=[];for(let l,h,m=0;m<r.length;m++){let{a:v,b:S,c:A}=r[m],H=v===h?l:l=Bt(i,h=v);n[m]=(d=S,u=H,p=A,c=S===j?[]:S===T?k():null,{v:w,u:d,t:u,n:p,c})}}var d,u,p,c;return((l,h)=>({b:l,c:h}))(a?i.firstChild:new U(i),n)},Ut=/^(?:plaintext|script|style|textarea|title|xmp)$/i,Gt=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i,It=/<([a-zA-Z0-9]+[a-zA-Z0-9:._-]*)([^>]*?)(\/?)>/g,Zt=/([^\s\\>"'=]+)\s*=\s*(['"]?)\x01/g,qt=/[\x01\x02]/g,F,V,W=document.createElement("template"),Jt=(o,t)=>{if(t)return F||(F=document.createElementNS("http://www.w3.org/2000/svg","svg"),V=et(),V.selectNodeContents(F)),V.createContextualFragment(o);W.innerHTML=o;let{content:s}=W;return W=W.cloneNode(!1),s},B=o=>{let t=[],s;for(;s=o.parentNode;)t.push(t.indexOf.call(s.childNodes,o)),o=s;return t},tt=()=>document.createTextNode(""),Kt=(o,t,s)=>{let e=Jt(((d,u,p)=>{let c=0;return d.join("").trim().replace(It,(l,h,m,v)=>`<${h}${m.replace(Zt,"=$2$1").trimEnd()}${v?p||Gt.test(h)?" /":`></${h}`:""}>`).replace(qt,l=>l===""?`<!--${u+c++}-->`:u+c++)})(o,z,s),s),{length:r}=o,a=w;if(r>1){let d=[],u=document.createTreeWalker(e,129),p=0,c=`${z}${p++}`;for(a=[];p<r;){let l=u.nextNode();if(l.nodeType===8){if(l.data===c){let h=rt(t[p-1])?j:T;h===T&&d.push(l),a.push(N(B(l),h,null)),c=`${z}${p++}`}}else{let h;for(;l.hasAttribute(c);){h||(h=B(l));let m=l.getAttribute(c);a.push(N(h,Ft(l,m,s),m)),L(l,c),c=`${z}${p++}`}!s&&Ut.test(l.localName)&&l.textContent.trim()===`<!--${c}-->`&&(a.push(N(h||B(l),Vt,null)),c=`${z}${p++}`)}}for(p=0;p<d.length;p++)d[p].replaceWith(tt())}let{childNodes:i}=e,{length:n}=i;return n<1?(n=1,e.appendChild(tt())):n===1&&r!==1&&i[0].nodeType!==1&&(n=0),E(pt,o,N(e,a,n===1))},pt=new WeakMap,z="is\xB5",ct=o=>(t,s)=>pt.get(t)||Kt(t,s,o),Qt=ht(ct(!1)),Xt=ht(ct(!0)),I=(o,{s:t,t:s,v:e})=>{if(o.a!==s){let{b:r,c:a}=(t?Xt:Qt)(s,e);o.a=s,o.b=r,o.c=a}for(let{c:r}=o,a=0;a<r.length;a++){let i=e[a],n=r[a];switch(n.u){case j:n.v=j(n.t,Yt(n.c,i),n.v);break;case T:let d=i instanceof $?I(n.c||(n.c=k()),i):(n.c=null,i);d!==n.v&&(n.v=T(n,d));break;default:i!==n.v&&(n.v=n.u(n.t,i,n.n,n.v))}}return o.b},Yt=(o,t)=>{let s=0,{length:e}=t;for(e<o.length&&o.splice(e);s<e;s++){let r=t[s];r instanceof $?t[s]=I(o[s]||(o[s]=k()),r):o[s]=null}return t},$=class{constructor(t,s,e){this.s=t,this.t=s,this.v=e}toDOM(t=k()){return I(t,this)}};var gt=o=>(t,...s)=>new $(o,t,s),f=gt(!1),ro=gt(!0),ot=new WeakMap,x=(o,t)=>((s,e,r)=>{let a=ot.get(s)||E(ot,s,k()),{b:i}=a,n=r&&typeof e=="function"?e():e,d=n instanceof $?n.toDOM(a):n;return i!==d&&s.replaceChildren((a.b=d).valueOf()),s})(o,t,!0),st=new WeakMap,dt=o=>(t,s)=>{let e=st.get(t)||E(st,t,new Map);return e.get(s)||E(e,s,function(r,...a){return new $(o,r,a).toDOM(this)}.bind(k()))},eo=dt(!1),ao=dt(!0);function g(o,...t){let s="";return o.forEach((e,r)=>{s+=e+(t[r]||"")}),s}var b=g`
|
2
|
-
:host([mt="xs"]) {
|
3
|
-
margin-top: var(--spacing-xs);
|
4
|
-
}
|
5
|
-
:host([mt="s"]) {
|
6
|
-
margin-top: var(--spacing-s);
|
7
|
-
}
|
8
|
-
:host([mt="m"]) {
|
9
|
-
margin-top: var(--spacing-m);
|
10
|
-
}
|
11
|
-
:host([mt="l"]) {
|
12
|
-
margin-top: var(--spacing-l);
|
13
|
-
}
|
14
|
-
:host([mt="xl"]) {
|
15
|
-
margin-top: var(--spacing-xl);
|
16
|
-
}
|
17
|
-
:host([mr="xs"]) {
|
18
|
-
margin-right: var(--spacing-xs);
|
19
|
-
}
|
20
|
-
:host([mr="s"]) {
|
21
|
-
margin-right: var(--spacing-s);
|
22
|
-
}
|
23
|
-
:host([mr="m"]) {
|
24
|
-
margin-right: var(--spacing-m);
|
25
|
-
}
|
26
|
-
:host([mr="l"]) {
|
27
|
-
margin-right: var(--spacing-l);
|
28
|
-
}
|
29
|
-
:host([mr="xl"]) {
|
30
|
-
margin-right: var(--spacing-xl);
|
31
|
-
}
|
32
|
-
:host([mb="xs"]) {
|
33
|
-
margin-bottom: var(--spacing-xs);
|
34
|
-
}
|
35
|
-
:host([mb="s"]) {
|
36
|
-
margin-bottom: var(--spacing-s);
|
37
|
-
}
|
38
|
-
:host([mb="m"]) {
|
39
|
-
margin-bottom: var(--spacing-m);
|
40
|
-
}
|
41
|
-
:host([mb="l"]) {
|
42
|
-
margin-bottom: var(--spacing-l);
|
43
|
-
}
|
44
|
-
:host([mb="xl"]) {
|
45
|
-
margin-bottom: var(--spacing-xl);
|
46
|
-
}
|
47
|
-
:host([ml="xs"]) {
|
48
|
-
margin-left: var(--spacing-xs);
|
49
|
-
}
|
50
|
-
:host([ml="s"]) {
|
51
|
-
margin-left: var(--spacing-s);
|
52
|
-
}
|
53
|
-
:host([ml="m"]) {
|
54
|
-
margin-left: var(--spacing-m);
|
55
|
-
}
|
56
|
-
:host([ml="l"]) {
|
57
|
-
margin-left: var(--spacing-l);
|
58
|
-
}
|
59
|
-
:host([ml="xl"]) {
|
60
|
-
margin-left: var(--spacing-xl);
|
61
|
-
}
|
62
|
-
:host([m="xs"]) {
|
63
|
-
margin: var(--spacing-xs);
|
64
|
-
}
|
65
|
-
:host([m="s"]) {
|
66
|
-
margin: var(--spacing-s);
|
67
|
-
}
|
68
|
-
:host([m="m"]) {
|
69
|
-
margin: var(--spacing-m);
|
70
|
-
}
|
71
|
-
:host([m="l"]) {
|
72
|
-
margin: var(--spacing-l);
|
73
|
-
}
|
74
|
-
:host([m="xl"]) {
|
75
|
-
margin: var(--spacing-xl);
|
76
|
-
}
|
77
|
-
:host([mh="xs"]) {
|
78
|
-
margin-left: var(--spacing-xs);
|
79
|
-
margin-right: var(--spacing-xs);
|
80
|
-
}
|
81
|
-
:host([mh="s"]) {
|
82
|
-
margin-left: var(--spacing-s);
|
83
|
-
margin-right: var(--spacing-s);
|
84
|
-
}
|
85
|
-
:host([mh="m"]) {
|
86
|
-
margin-left: var(--spacing-m);
|
87
|
-
margin-right: var(--spacing-m);
|
88
|
-
}
|
89
|
-
:host([mh="l"]) {
|
90
|
-
margin-left: var(--spacing-l);
|
91
|
-
margin-right: var(--spacing-l);
|
92
|
-
}
|
93
|
-
:host([mh="xl"]) {
|
94
|
-
margin-left: var(--spacing-xl);
|
95
|
-
margin-right: var(--spacing-xl);
|
96
|
-
}
|
97
|
-
:host([mv="xs"]) {
|
98
|
-
margin-top: var(--spacing-xs);
|
99
|
-
margin-bottom: var(--spacing-xs);
|
100
|
-
}
|
101
|
-
:host([mv="s"]) {
|
102
|
-
margin-top: var(--spacing-s);
|
103
|
-
margin-bottom: var(--spacing-s);
|
104
|
-
}
|
105
|
-
:host([mv="m"]) {
|
106
|
-
margin-top: var(--spacing-m);
|
107
|
-
margin-bottom: var(--spacing-m);
|
108
|
-
}
|
109
|
-
:host([mv="l"]) {
|
110
|
-
margin-top: var(--spacing-l);
|
111
|
-
margin-bottom: var(--spacing-l);
|
112
|
-
}
|
113
|
-
:host([mv="xl"]) {
|
114
|
-
margin-top: var(--spacing-xl);
|
115
|
-
margin-bottom: var(--spacing-xl);
|
116
|
-
}
|
117
|
-
`;var y=g`
|
118
|
-
:host([flex="0"]) {
|
119
|
-
flex: 0;
|
120
|
-
}
|
121
|
-
:host([flex="1"]) {
|
122
|
-
flex: 1;
|
123
|
-
}
|
124
|
-
:host([flex="2"]) {
|
125
|
-
flex: 2;
|
126
|
-
}
|
127
|
-
:host([flex="3"]) {
|
128
|
-
flex: 3;
|
129
|
-
}
|
130
|
-
:host([flex="4"]) {
|
131
|
-
flex: 4;
|
132
|
-
}
|
133
|
-
:host([flex="5"]) {
|
134
|
-
flex: 5;
|
135
|
-
}
|
136
|
-
:host([flex="6"]) {
|
137
|
-
flex: 6;
|
138
|
-
}
|
139
|
-
:host([flex="7"]) {
|
140
|
-
flex: 7;
|
141
|
-
}
|
142
|
-
:host([flex="8"]) {
|
143
|
-
flex: 8;
|
144
|
-
}
|
145
|
-
:host([flex="9"]) {
|
146
|
-
flex: 9;
|
147
|
-
}
|
148
|
-
:host([flex="10"]) {
|
149
|
-
flex: 10;
|
150
|
-
}
|
151
|
-
:host([flex="11"]) {
|
152
|
-
flex: 11;
|
153
|
-
}
|
154
|
-
:host([flex="12"]) {
|
155
|
-
flex: 12;
|
156
|
-
}
|
157
|
-
|
158
|
-
:host([as="sch"]) {
|
159
|
-
align-self: stretch;
|
160
|
-
}
|
161
|
-
|
162
|
-
/*
|
163
|
-
:host([sha="s"]) {
|
164
|
-
margin-right: auto;
|
165
|
-
}
|
166
|
-
:host([sha="c"]) {
|
167
|
-
margin-left: auto;
|
168
|
-
margin-right: auto;
|
169
|
-
}
|
170
|
-
:host([sha="e"]) {
|
171
|
-
margin-left: auto;
|
172
|
-
}
|
173
|
-
|
174
|
-
:host([sva="s"]) {
|
175
|
-
margin-bottom: auto;
|
176
|
-
}
|
177
|
-
:host([sva="c"]) {
|
178
|
-
margin-top: auto;
|
179
|
-
margin-bottom: auto;
|
180
|
-
}
|
181
|
-
:host([sva="e"]) {
|
182
|
-
margin-top: auto;
|
183
|
-
} */
|
184
|
-
|
185
|
-
|
186
|
-
/*
|
187
|
-
:host([d="h"][sha="s"]) {
|
188
|
-
align-self: start;
|
189
|
-
}
|
190
|
-
:host([d="h"][sha="c"]) {
|
191
|
-
align-self: center;
|
192
|
-
}
|
193
|
-
:host([d="h"][sha="e"]) {
|
194
|
-
align-self: flex-end;
|
195
|
-
}
|
196
|
-
:host([d="v"][sha="s"]) {
|
197
|
-
}
|
198
|
-
:host([d="v"][sha="c"]) {
|
199
|
-
}
|
200
|
-
:host([d="v"][sha="e"]) {
|
201
|
-
}
|
202
|
-
|
203
|
-
:host([d="h"][sva="s"]) {
|
204
|
-
}
|
205
|
-
:host([d="h"][sva="c"]) {
|
206
|
-
}
|
207
|
-
:host([d="h"][sva="e"]) {
|
208
|
-
}
|
209
|
-
:host([d="v"][sva="s"]) {
|
210
|
-
}
|
211
|
-
:host([d="v"][sva="c"]) {
|
212
|
-
}
|
213
|
-
:host([d="v"][sva="e"]) {
|
214
|
-
}
|
215
|
-
*/
|
216
|
-
`;var mt=new CSSStyleSheet;mt.replaceSync(g`
|
217
|
-
:host {
|
218
|
-
display: flex;
|
219
|
-
}
|
220
|
-
|
221
|
-
slot {
|
222
|
-
display: flex;
|
223
|
-
flex: 1;
|
224
|
-
justify-content: center;
|
225
|
-
}
|
226
|
-
|
227
|
-
button {
|
228
|
-
flex: 1;
|
229
|
-
border-style: solid;
|
230
|
-
}
|
231
|
-
|
232
|
-
button:hover {
|
233
|
-
cursor: pointer;
|
234
|
-
}
|
235
|
-
|
236
|
-
:host([t="ps"]) button,
|
237
|
-
:host([t="p"]) button,
|
238
|
-
:host([t="pl"]) button {
|
239
|
-
color: var(--color-on-primary);
|
240
|
-
border-color: var(--color-primary);
|
241
|
-
background-color: var(--color-primary);
|
242
|
-
}
|
243
|
-
|
244
|
-
:host([t="ps"]) button:hover,
|
245
|
-
:host([t="p"]) button:hover,
|
246
|
-
:host([t="pl"]) button:hover {
|
247
|
-
border-color: var(--color-primary-hover);
|
248
|
-
background-color: var(--color-primary-hover);
|
249
|
-
}
|
250
|
-
|
251
|
-
:host([t="ps"]) button:active,
|
252
|
-
:host([t="p"]) button:active,
|
253
|
-
:host([t="pl"]) button:active {
|
254
|
-
border-color: var(--color-primary-active);
|
255
|
-
background-color: var(--color-primary-active);
|
256
|
-
}
|
257
|
-
|
258
|
-
:host([t="ss"]) button,
|
259
|
-
:host([t="s"]) button,
|
260
|
-
:host([t="sl"]) button {
|
261
|
-
color: var(--color-on-secondary);
|
262
|
-
border-color: var(--color-secondary);
|
263
|
-
background-color: var(--color-secondary);
|
264
|
-
}
|
265
|
-
|
266
|
-
:host([t="ss"]) button:hover,
|
267
|
-
:host([t="s"]) button:hover,
|
268
|
-
:host([t="sl"]) button:hover {
|
269
|
-
background-color: var(--color-secondary-hover);
|
270
|
-
border-color: var(--color-secondary-hover);
|
271
|
-
}
|
272
|
-
|
273
|
-
:host([t="ss"]) button:active,
|
274
|
-
:host([t="s"]) button:active,
|
275
|
-
:host([t="sl"]) button:active {
|
276
|
-
background-color: var(--color-secondary-active);
|
277
|
-
border-color: var(--color-secondary-active);
|
278
|
-
}
|
279
|
-
|
280
|
-
:host([t="es"]) button,
|
281
|
-
:host([t="e"]) button,
|
282
|
-
:host([t="el"]) button {
|
283
|
-
color: var(--color-on-error);
|
284
|
-
border-color: var(--color-error);
|
285
|
-
background-color: var(--color-error);
|
286
|
-
}
|
287
|
-
|
288
|
-
:host([t="es"]) button:hover,
|
289
|
-
:host([t="e"]) button:hover,
|
290
|
-
:host([t="el"]) button:hover {
|
291
|
-
background-color: var(--color-error-hover);
|
292
|
-
border-color: var(--color-error-hover);
|
293
|
-
}
|
294
|
-
|
295
|
-
:host([t="es"]) button:active,
|
296
|
-
:host([t="e"]) button:active,
|
297
|
-
:host([t="el"]) button:active {
|
298
|
-
background-color: var(--color-error-active);
|
299
|
-
border-color: var(--color-error-active);
|
300
|
-
}
|
301
|
-
|
302
|
-
:host([t="ps"]) button,
|
303
|
-
:host([t="ss"]) button,
|
304
|
-
:host([t="es"]) button {
|
305
|
-
padding-top: 4px;
|
306
|
-
padding-bottom: 4px;
|
307
|
-
padding-left: 6px;
|
308
|
-
padding-right: 6px;
|
309
|
-
border-width: 2px;
|
310
|
-
border-radius: 1px;
|
311
|
-
}
|
312
|
-
|
313
|
-
:host([t="p"]) button,
|
314
|
-
:host([t="s"]) button,
|
315
|
-
:host([t="e"]) button {
|
316
|
-
padding-top: 3px;
|
317
|
-
padding-bottom: 3px;
|
318
|
-
padding-left: 12px;
|
319
|
-
padding-right: 12px;
|
320
|
-
border-width: 4px;
|
321
|
-
border-radius: 2px;
|
322
|
-
}
|
323
|
-
|
324
|
-
:host([t="pl"]) button,
|
325
|
-
:host([t="sl"]) button,
|
326
|
-
:host([t="el"]) button {
|
327
|
-
padding-top: 5px;
|
328
|
-
padding-bottom: 5px;
|
329
|
-
padding-left: 16px;
|
330
|
-
padding-right: 16px;
|
331
|
-
border-width: 6px;
|
332
|
-
border-radius: 3px;
|
333
|
-
font-size: 16px;
|
334
|
-
}
|
335
|
-
|
336
|
-
${b}
|
337
|
-
${y}
|
338
|
-
`);var Z=class extends HTMLElement{constructor(){super();let t=this.attachShadow({mode:"closed"});t.adoptedStyleSheets=[mt],x(t,this.render)}render=()=>f`
|
339
|
-
<button>
|
340
|
-
<slot></slot>
|
341
|
-
</button>
|
342
|
-
`},vt=Z;var ft=g`
|
343
|
-
:host([g="xs"]) slot {
|
344
|
-
gap: var(--spacing-xs);
|
345
|
-
}
|
346
|
-
:host([g="s"]) slot {
|
347
|
-
gap: var(--spacing-s);
|
348
|
-
}
|
349
|
-
:host([g="m"]) slot {
|
350
|
-
gap: var(--spacing-m);
|
351
|
-
}
|
352
|
-
:host([g="l"]) slot {
|
353
|
-
gap: var(--spacing-l);
|
354
|
-
}
|
355
|
-
:host([g="xl"]) slot {
|
356
|
-
gap: var(--spacing-xl);
|
357
|
-
}
|
358
|
-
:host([gv="xs"]) slot {
|
359
|
-
row-gap: var(--spacing-xs);
|
360
|
-
}
|
361
|
-
:host([gv="s"]) slot {
|
362
|
-
row-gap: var(--spacing-s);
|
363
|
-
}
|
364
|
-
:host([gv="m"]) slot {
|
365
|
-
row-gap: var(--spacing-m);
|
366
|
-
}
|
367
|
-
:host([gv="l"]) slot {
|
368
|
-
row-gap: var(--spacing-l);
|
369
|
-
}
|
370
|
-
:host([gv="xl"]) slot {
|
371
|
-
row-gap: var(--spacing-xl);
|
372
|
-
}
|
373
|
-
:host([gh="xs"]) slot {
|
374
|
-
column-gap: var(--spacing-xs);
|
375
|
-
}
|
376
|
-
:host([gh="s"]) slot {
|
377
|
-
column-gap: var(--spacing-s);
|
378
|
-
}
|
379
|
-
:host([gh="m"]) slot {
|
380
|
-
column-gap: var(--spacing-m);
|
381
|
-
}
|
382
|
-
:host([gh="l"]) slot {
|
383
|
-
column-gap: var(--spacing-l);
|
384
|
-
}
|
385
|
-
:host([gh="xl"]) slot {
|
386
|
-
column-gap: var(--spacing-xl);
|
387
|
-
}
|
388
|
-
`;var ut=g`
|
389
|
-
:host([pt="xs"]) slot {
|
390
|
-
padding-top: var(--spacing-xs);
|
391
|
-
}
|
392
|
-
:host([pt="s"]) slot {
|
393
|
-
padding-top: var(--spacing-s);
|
394
|
-
}
|
395
|
-
:host([pt="m"]) slot {
|
396
|
-
padding-top: var(--spacing-m);
|
397
|
-
}
|
398
|
-
:host([pt="l"]) slot {
|
399
|
-
padding-top: var(--spacing-l);
|
400
|
-
}
|
401
|
-
:host([pt="xl"]) slot {
|
402
|
-
padding-top: var(--spacing-xl);
|
403
|
-
}
|
404
|
-
:host([pr="xs"]) slot {
|
405
|
-
padding-right: var(--spacing-xs);
|
406
|
-
}
|
407
|
-
:host([pr="s"]) slot {
|
408
|
-
padding-right: var(--spacing-s);
|
409
|
-
}
|
410
|
-
:host([pr="m"]) slot {
|
411
|
-
padding-right: var(--spacing-m);
|
412
|
-
}
|
413
|
-
:host([pr="l"]) slot {
|
414
|
-
padding-right: var(--spacing-l);
|
415
|
-
}
|
416
|
-
:host([pr="xl"]) slot {
|
417
|
-
padding-right: var(--spacing-xl);
|
418
|
-
}
|
419
|
-
:host([pb="xs"]) slot {
|
420
|
-
padding-bottom: var(--spacing-xs);
|
421
|
-
}
|
422
|
-
:host([pb="s"]) slot {
|
423
|
-
padding-bottom: var(--spacing-s);
|
424
|
-
}
|
425
|
-
:host([pb="m"]) slot {
|
426
|
-
padding-bottom: var(--spacing-m);
|
427
|
-
}
|
428
|
-
:host([pb="l"]) slot {
|
429
|
-
padding-bottom: var(--spacing-l);
|
430
|
-
}
|
431
|
-
:host([pb="xl"]) slot {
|
432
|
-
padding-bottom: var(--spacing-xl);
|
433
|
-
}
|
434
|
-
:host([pl="xs"]) slot {
|
435
|
-
padding-left: var(--spacing-xs);
|
436
|
-
}
|
437
|
-
:host([pl="s"]) slot {
|
438
|
-
padding-left: var(--spacing-s);
|
439
|
-
}
|
440
|
-
:host([pl="m"]) slot {
|
441
|
-
padding-left: var(--spacing-m);
|
442
|
-
}
|
443
|
-
:host([pl="l"]) slot {
|
444
|
-
padding-left: var(--spacing-l);
|
445
|
-
}
|
446
|
-
:host([pl="xl"]) slot {
|
447
|
-
padding-left: var(--spacing-xl);
|
448
|
-
}
|
449
|
-
:host([p="xs"]) slot {
|
450
|
-
padding: var(--spacing-xs);
|
451
|
-
}
|
452
|
-
:host([p="s"]) slot {
|
453
|
-
padding: var(--spacing-s);
|
454
|
-
}
|
455
|
-
:host([p="m"]) slot {
|
456
|
-
padding: var(--spacing-m);
|
457
|
-
}
|
458
|
-
:host([p="l"]) slot {
|
459
|
-
padding: var(--spacing-l);
|
460
|
-
}
|
461
|
-
:host([p="xl"]) slot {
|
462
|
-
padding: var(--spacing-xl);
|
463
|
-
}
|
464
|
-
:host([ph="xs"]) slot {
|
465
|
-
padding-left: var(--spacing-xs);
|
466
|
-
padding-right: var(--spacing-xs);
|
467
|
-
}
|
468
|
-
:host([ph="s"]) slot {
|
469
|
-
padding-left: var(--spacing-s);
|
470
|
-
padding-right: var(--spacing-s);
|
471
|
-
}
|
472
|
-
:host([ph="m"]) slot {
|
473
|
-
padding-left: var(--spacing-m);
|
474
|
-
padding-right: var(--spacing-m);
|
475
|
-
}
|
476
|
-
:host([ph="l"]) slot {
|
477
|
-
padding-left: var(--spacing-l);
|
478
|
-
padding-right: var(--spacing-l);
|
479
|
-
}
|
480
|
-
:host([ph="xl"]) slot {
|
481
|
-
padding-left: var(--spacing-xl);
|
482
|
-
padding-right: var(--spacing-xl);
|
483
|
-
}
|
484
|
-
:host([pv="xs"]) slot {
|
485
|
-
padding-top: var(--spacing-xs);
|
486
|
-
padding-bottom: var(--spacing-xs);
|
487
|
-
}
|
488
|
-
:host([pv="s"]) slot {
|
489
|
-
padding-top: var(--spacing-s);
|
490
|
-
padding-bottom: var(--spacing-s);
|
491
|
-
}
|
492
|
-
:host([pv="m"]) slot {
|
493
|
-
padding-top: var(--spacing-m);
|
494
|
-
padding-bottom: var(--spacing-m);
|
495
|
-
}
|
496
|
-
:host([pv="l"]) slot {
|
497
|
-
padding-top: var(--spacing-l);
|
498
|
-
padding-bottom: var(--spacing-l);
|
499
|
-
}
|
500
|
-
:host([pv="xl"]) slot {
|
501
|
-
padding-top: var(--spacing-xl);
|
502
|
-
padding-bottom: var(--spacing-xl);
|
503
|
-
}
|
504
|
-
`;var xt=g`
|
505
|
-
:host([d="h"]) slot {
|
506
|
-
flex-direction: row;
|
507
|
-
}
|
508
|
-
:host([d="v"]) slot {
|
509
|
-
flex-direction: column;
|
510
|
-
}
|
511
|
-
:host([d="h"][ah="s"]) slot {
|
512
|
-
justify-content: flex-start;
|
513
|
-
}
|
514
|
-
:host([d="h"][ah="c"]) slot {
|
515
|
-
justify-content: center;
|
516
|
-
}
|
517
|
-
:host([d="h"][ah="e"]) slot {
|
518
|
-
justify-content: flex-end;
|
519
|
-
}
|
520
|
-
:host([d="h"][av="s"]) slot {
|
521
|
-
align-items: flex-start;
|
522
|
-
}
|
523
|
-
:host([d="h"][av="c"]) slot {
|
524
|
-
align-items: center;
|
525
|
-
}
|
526
|
-
:host([d="h"][av="e"]) slot {
|
527
|
-
align-items: flex-end;
|
528
|
-
}
|
529
|
-
:host([d="v"][ah="s"]) slot {
|
530
|
-
align-items: flex-start;
|
531
|
-
}
|
532
|
-
:host([d="v"][ah="c"]) slot {
|
533
|
-
align-items: center;
|
534
|
-
}
|
535
|
-
:host([d="v"][ah="e"]) slot {
|
536
|
-
align-items: flex-end;
|
537
|
-
}
|
538
|
-
:host([d="v"][av="s"]) slot {
|
539
|
-
justify-content: flex-start;
|
540
|
-
}
|
541
|
-
:host([d="v"][av="c"]) slot {
|
542
|
-
justify-content: center;
|
543
|
-
}
|
544
|
-
:host([d="v"][av="e"]) slot {
|
545
|
-
justify-content: flex-end;
|
546
|
-
}
|
547
|
-
`;var D=g`
|
548
|
-
:host([bgc="p"]) {
|
549
|
-
background-color: var(--color-primary);
|
550
|
-
}
|
551
|
-
:host([bgc="pc"]) {
|
552
|
-
background-color: var(--color-primary-container);
|
553
|
-
}
|
554
|
-
:host([bgc="s"]) {
|
555
|
-
background-color: var(--color-secondary);
|
556
|
-
}
|
557
|
-
:host([bgc="sc"]) {
|
558
|
-
background-color: var(--color-secondary-container);
|
559
|
-
}
|
560
|
-
:host([bgc="e"]) {
|
561
|
-
background-color: var(--color-error);
|
562
|
-
}
|
563
|
-
:host([bgc="ec"]) {
|
564
|
-
background-color: var(--color-error-container);
|
565
|
-
}
|
566
|
-
:host([bgc="su"]) {
|
567
|
-
background-color: var(--color-surface);
|
568
|
-
}
|
569
|
-
:host([bgc="sucl"]) {
|
570
|
-
background-color: var(--color-surface-container-low);
|
571
|
-
}
|
572
|
-
:host([bgc="suc"]) {
|
573
|
-
background-color: var(--color-surface-container);
|
574
|
-
}
|
575
|
-
:host([bgc="such"]) {
|
576
|
-
background-color: var(--color-surface-container-high);
|
577
|
-
}
|
578
|
-
:host([bgc="isu"]) {
|
579
|
-
background-color: var(--color-inverse-surface);
|
580
|
-
}
|
581
|
-
`;var yt=new CSSStyleSheet;yt.replaceSync(g`
|
582
|
-
:host {
|
583
|
-
display: flex;
|
584
|
-
}
|
585
|
-
slot {
|
586
|
-
display: flex;
|
587
|
-
flex: 1;
|
588
|
-
}
|
589
|
-
:host([fw="w"]) slot {
|
590
|
-
flex-wrap: wrap;
|
591
|
-
}
|
592
|
-
${y}
|
593
|
-
${xt}
|
594
|
-
${ft}
|
595
|
-
${D}
|
596
|
-
${ut}
|
597
|
-
${b}
|
598
|
-
`);function to(o){let t=String(o);return/[0-9]$/.test(t)}var bt=o=>{if(o!==void 0)return to(o)?`${o}px`:o},q=class extends HTMLElement{constructor(){super(),this.shadow=this.attachShadow({mode:"closed"}),this.shadow.adoptedStyleSheets=[yt],x(this.shadow,this.render)}static get observedAttributes(){return["wh","w","h","hidden"]}attributeChangedCallback(t,s,e){let r=this.getAttribute("wh"),a=bt(r===null?this.getAttribute("w"):r),i=bt(r===null?this.getAttribute("h"):r),n=a?`width: ${a}; min-width: ${a}; max-width: ${a};`:"",d=i?`height: ${i}; min-height: ${i}; max-height: ${i};`:"",u=this.hasAttribute("hidden")?"display: none;":"",p=`${n} ${d} ${u}`;this.style=p,x(this.shadow,this.render)}render=()=>f`
|
599
|
-
<slot></slot>
|
600
|
-
`},wt=q;var St=new CSSStyleSheet;St.replaceSync(g`
|
601
|
-
:host([c="on-p"]) slot {
|
602
|
-
color: var(--color-on-primary);
|
603
|
-
}
|
604
|
-
:host([c="on-pc"]) slot {
|
605
|
-
color: var(--color-on-primary-container);
|
606
|
-
}
|
607
|
-
:host([c="on-s"]) slot {
|
608
|
-
color: var(--color-on-secondary);
|
609
|
-
}
|
610
|
-
:host([c="on-sc"]) slot {
|
611
|
-
color: var(--color-on-secondary-container);
|
612
|
-
}
|
613
|
-
:host([c="on-su"]) slot {
|
614
|
-
color: var(--color-on-surface);
|
615
|
-
}
|
616
|
-
:host([c="on-suv"]) slot {
|
617
|
-
color: var(--color-on-surface-variant);
|
618
|
-
}
|
619
|
-
:host([c="i-on-su"]) slot {
|
620
|
-
color: var(--color-inverse-on-surface);
|
621
|
-
}
|
622
|
-
:host([c="on-e"]) slot {
|
623
|
-
color: var(--color-on-error);
|
624
|
-
}
|
625
|
-
:host([c="on-ec"]) slot {
|
626
|
-
color: var(--color-on-error-container);
|
627
|
-
}
|
628
|
-
|
629
|
-
:host([s="dm"]) slot {
|
630
|
-
font-size: var(--typography-display-m-font-size);
|
631
|
-
font-weight: var(--typography-display-m-font-weight);
|
632
|
-
line-height: var(--typography-display-m-line-height);
|
633
|
-
letter-spacing: var(--typography-display-m-letter-spacing);
|
634
|
-
}
|
635
|
-
|
636
|
-
:host([s="hm"]) slot {
|
637
|
-
font-size: var(--typography-headline-m-font-size);
|
638
|
-
font-weight: var(--typography-headline-m-font-weight);
|
639
|
-
line-height: var(--typography-headline-m-line-height);
|
640
|
-
letter-spacing: var(--typography-headline-m-letter-spacing);
|
641
|
-
}
|
642
|
-
|
643
|
-
:host([s="tl"]) slot {
|
644
|
-
font-size: var(--typography-title-l-font-size);
|
645
|
-
font-weight: var(--typography-title-l-font-weight);
|
646
|
-
line-height: var(--typography-title-l-line-height);
|
647
|
-
letter-spacing: var(--typography-title-l-letter-spacing);
|
648
|
-
}
|
649
|
-
|
650
|
-
:host([s="tm"]) slot {
|
651
|
-
font-size: var(--typography-title-m-font-size);
|
652
|
-
font-weight: var(--typography-title-m-font-weight);
|
653
|
-
line-height: var(--typography-title-m-line-height);
|
654
|
-
letter-spacing: var(--typography-title-m-letter-spacing);
|
655
|
-
}
|
656
|
-
|
657
|
-
:host([s="ts"]) slot {
|
658
|
-
font-size: var(--typography-title-s-font-size);
|
659
|
-
font-weight: var(--typography-title-s-font-weight);
|
660
|
-
line-height: var(--typography-title-s-line-height);
|
661
|
-
letter-spacing: var(--typography-title-s-letter-spacing);
|
662
|
-
}
|
663
|
-
|
664
|
-
:host([s="bl"]) slot {
|
665
|
-
font-size: var(--typography-body-l-font-size);
|
666
|
-
font-weight: var(--typography-body-l-font-weight);
|
667
|
-
line-height: var(--typography-body-l-line-height);
|
668
|
-
letter-spacing: var(--typography-body-l-letter-spacing);
|
669
|
-
}
|
670
|
-
|
671
|
-
:host([s="bm"]) slot {
|
672
|
-
font-size: var(--typography-body-m-font-size);
|
673
|
-
font-weight: var(--typography-body-m-font-weight);
|
674
|
-
line-height: var(--typography-body-m-line-height);
|
675
|
-
letter-spacing: var(--typography-body-m-letter-spacing);
|
676
|
-
}
|
677
|
-
|
678
|
-
:host([s="bs"]) slot {
|
679
|
-
font-size: var(--typography-body-s-font-size);
|
680
|
-
font-weight: var(--typography-body-s-font-weight);
|
681
|
-
line-height: var(--typography-body-s-line-height);
|
682
|
-
letter-spacing: var(--typography-body-s-letter-spacing);
|
683
|
-
}
|
684
|
-
|
685
|
-
:host([s="ll"]) slot {
|
686
|
-
font-size: var(--typography-label-l-font-size);
|
687
|
-
font-weight: var(--typography-label-l-font-weight);
|
688
|
-
line-height: var(--typography-label-l-line-height);
|
689
|
-
letter-spacing: var(--typography-label-l-letter-spacing);
|
690
|
-
}
|
691
|
-
|
692
|
-
:host([s="lm"]) slot {
|
693
|
-
font-size: var(--typography-label-m-font-size);
|
694
|
-
font-weight: var(--typography-label-m-font-weight);
|
695
|
-
line-height: var(--typography-label-m-line-height);
|
696
|
-
letter-spacing: var(--typography-label-m-letter-spacing);
|
697
|
-
}
|
698
|
-
|
699
|
-
${b}
|
700
|
-
${y}
|
701
|
-
`);var J=class extends HTMLElement{constructor(){super();let t=this.attachShadow({mode:"closed"});t.adoptedStyleSheets=[St],x(t,this.render)}render(){return f`
|
702
|
-
<slot></slot>
|
703
|
-
`}},$t=J;var kt=new CSSStyleSheet;kt.replaceSync(g`
|
704
|
-
:host {
|
705
|
-
display: flex;
|
706
|
-
}
|
707
|
-
:host([of="contain"]) img {
|
708
|
-
object-fit: contain;
|
709
|
-
}
|
710
|
-
:host([of="cover"]) img {
|
711
|
-
object-fit: cover;
|
712
|
-
}
|
713
|
-
img {
|
714
|
-
flex: 1;
|
715
|
-
}
|
716
|
-
${b}
|
717
|
-
${y}
|
718
|
-
`);function oo(o){let t=String(o);return/[0-9]$/.test(t)}var Ct=o=>{if(o!==void 0)return oo(o)?`${o}px`:o},K=class extends HTMLElement{constructor(){super(),this.shadow=this.attachShadow({mode:"closed"}),this.shadow.adoptedStyleSheets=[kt],setTimeout(()=>{x(this.shadow,this.render)})}static get observedAttributes(){return["src","wh","w","h","of"]}attributeChangedCallback(t,s,e){let r=this.getAttribute("wh"),a=Ct(r===null?this.getAttribute("w"):r),i=Ct(r===null?this.getAttribute("h"):r),n=a?`width: ${a}; min-width: ${a}; max-width: ${a};`:"",d=i?`height: ${i}; min-height: ${i}; max-height: ${i};`:"",u=this.hasAttribute("hidden")?"display: none;":"",p=`${n} ${d} ${u}`;this.style=p,x(this.shadow,this.render)}render=()=>f`
|
719
|
-
<img
|
720
|
-
src="${this.getAttribute("src")}"
|
721
|
-
width="${this.getAttribute("w")}"
|
722
|
-
height="${this.getAttribute("h")}"
|
723
|
-
>
|
724
|
-
`},At=K;var zt=new CSSStyleSheet;zt.replaceSync(g`
|
725
|
-
input[type="text"] {
|
726
|
-
height: 32px;
|
727
|
-
}
|
728
|
-
|
729
|
-
input[type="text"],
|
730
|
-
textarea {
|
731
|
-
padding: 8px 8px;
|
732
|
-
box-sizing: border-box;
|
733
|
-
border: 1px solid var(--color-outline-variant);
|
734
|
-
-webkit-transition: 0.3s;
|
735
|
-
transition: 0.3s;
|
736
|
-
outline: none;
|
737
|
-
|
738
|
-
font-family: Roboto, -apple-system, "Helvetica Neue", sans-serif;
|
739
|
-
font-size: var(--typography-body-m-font-size);
|
740
|
-
font-weight: var(--typography-body-m-font-weight);
|
741
|
-
line-height: var(--typography-body-m-line-height);
|
742
|
-
letter-spacing: var(--typography-body-m-letter-spacing);
|
743
|
-
}
|
744
|
-
|
745
|
-
input[type="text"]:focus,
|
746
|
-
textarea:focus {
|
747
|
-
border: 1px solid var(--color-primary);
|
748
|
-
}
|
749
|
-
textarea {
|
750
|
-
resize: none;
|
751
|
-
}
|
752
|
-
${y}
|
753
|
-
${D}
|
754
|
-
${b}
|
755
|
-
`);var Q=class extends HTMLElement{constructor(){super(),this.shadow=this.attachShadow({mode:"closed"}),this.shadow.adoptedStyleSheets=[zt],this._formRef={},setTimeout(()=>{x(this.shadow,this.render)})}_handleRawSubmit=()=>{let t=new FormData(this._formRef.current),s={};for(let[e,r]of t.entries())s[e]=r;this.onClickSubmit&&this.onClickSubmit(s)};_renderTitles=()=>f`
|
756
|
-
${this.formSchema.title?f`<rtgl-text s="tl" c="on-su">${this.formSchema.title}</rtgl-text>`:null}
|
757
|
-
${this.formSchema.subtitle?f`<rtgl-text s="bm" color="on-su"
|
758
|
-
>${this.formSchema.subtitle}</rtgl-text
|
759
|
-
>`:null}
|
760
|
-
`;_renderFields=()=>this.formSchema.fields.map(t=>{let s=null;return t.type==="text"?s=f`<input
|
761
|
-
type="${t.type}"
|
762
|
-
name="${t.name}"
|
763
|
-
value="${t.value}"
|
764
|
-
placeholder="${t.options?.placeholder}"
|
765
|
-
/>`:t.type==="textarea"&&(s=f`<textarea
|
766
|
-
name="${t.name}"
|
767
|
-
value="${t.value}"
|
768
|
-
rows="${t.options?.rows}"
|
769
|
-
placeholder="${t.options?.placeholder}"
|
770
|
-
></textarea>`),f`
|
771
|
-
<rtgl-view d="v" g="s">
|
772
|
-
<rtgl-view d="v">
|
773
|
-
<rtgl-text s="ll" c="on-su">${t.label}</rtgl-text>
|
774
|
-
${t.subLabel?f`<rtgl-text s="lm" c="on-su">${t.subLabel}</rtgl-text>`:null}
|
775
|
-
</rtgl-view>
|
776
|
-
${s}
|
777
|
-
</rtgl-view>
|
778
|
-
`});render=()=>{let t={};return f`
|
779
|
-
<rtgl-view d="v" g="m" w="${this.getAttribute("width")}">
|
780
|
-
<rtgl-view d="v"> ${this._renderTitles()} </rtgl-view>
|
781
|
-
<form
|
782
|
-
ref=${this._formRef}
|
783
|
-
style="display: flex; flex-direction: column;"
|
784
|
-
>
|
785
|
-
<rtgl-view d="v" g="m">
|
786
|
-
${this._renderFields()}
|
787
|
-
<rtgl-button t="p" onclick=${this._handleRawSubmit}>
|
788
|
-
${this.formSchema.submit.label}
|
789
|
-
</rtgl-button>
|
790
|
-
</rtgl-view>
|
791
|
-
</form>
|
792
|
-
</rtgl-view>
|
793
|
-
`}},Nt=Q;var Et=g`
|
794
|
-
:host([pt="xs"]) svg {
|
795
|
-
padding-top: var(--spacing-xs);
|
796
|
-
}
|
797
|
-
:host([pt="s"]) svg {
|
798
|
-
padding-top: var(--spacing-s);
|
799
|
-
}
|
800
|
-
:host([pt="m"]) svg {
|
801
|
-
padding-top: var(--spacing-m);
|
802
|
-
}
|
803
|
-
:host([pt="l"]) svg {
|
804
|
-
padding-top: var(--spacing-l);
|
805
|
-
}
|
806
|
-
:host([pt="xl"]) svg {
|
807
|
-
padding-top: var(--spacing-xl);
|
808
|
-
}
|
809
|
-
:host([pr="xs"]) svg {
|
810
|
-
padding-right: var(--spacing-xs);
|
811
|
-
}
|
812
|
-
:host([pr="s"]) svg {
|
813
|
-
padding-right: var(--spacing-s);
|
814
|
-
}
|
815
|
-
:host([pr="m"]) svg {
|
816
|
-
padding-right: var(--spacing-m);
|
817
|
-
}
|
818
|
-
:host([pr="l"]) svg {
|
819
|
-
padding-right: var(--spacing-l);
|
820
|
-
}
|
821
|
-
:host([pr="xl"]) svg {
|
822
|
-
padding-right: var(--spacing-xl);
|
823
|
-
}
|
824
|
-
:host([pb="xs"]) svg {
|
825
|
-
padding-bottom: var(--spacing-xs);
|
826
|
-
}
|
827
|
-
:host([pb="s"]) svg {
|
828
|
-
padding-bottom: var(--spacing-s);
|
829
|
-
}
|
830
|
-
:host([pb="m"]) svg {
|
831
|
-
padding-bottom: var(--spacing-m);
|
832
|
-
}
|
833
|
-
:host([pb="l"]) svg {
|
834
|
-
padding-bottom: var(--spacing-l);
|
835
|
-
}
|
836
|
-
:host([pb="xl"]) svg {
|
837
|
-
padding-bottom: var(--spacing-xl);
|
838
|
-
}
|
839
|
-
:host([pl="xs"]) svg {
|
840
|
-
padding-left: var(--spacing-xs);
|
841
|
-
}
|
842
|
-
:host([pl="s"]) svg {
|
843
|
-
padding-left: var(--spacing-s);
|
844
|
-
}
|
845
|
-
:host([pl="m"]) svg {
|
846
|
-
padding-left: var(--spacing-m);
|
847
|
-
}
|
848
|
-
:host([pl="l"]) svg {
|
849
|
-
padding-left: var(--spacing-l);
|
850
|
-
}
|
851
|
-
:host([pl="xl"]) svg {
|
852
|
-
padding-left: var(--spacing-xl);
|
853
|
-
}
|
854
|
-
:host([p="xs"]) svg {
|
855
|
-
padding: var(--spacing-xs);
|
856
|
-
}
|
857
|
-
:host([p="s"]) svg {
|
858
|
-
padding: var(--spacing-s);
|
859
|
-
}
|
860
|
-
:host([p="m"]) svg {
|
861
|
-
padding: var(--spacing-m);
|
862
|
-
}
|
863
|
-
:host([p="l"]) svg {
|
864
|
-
padding: var(--spacing-l);
|
865
|
-
}
|
866
|
-
:host([p="xl"]) svg {
|
867
|
-
padding: var(--spacing-xl);
|
868
|
-
}
|
869
|
-
:host([ph="xs"]) svg {
|
870
|
-
padding-left: var(--spacing-xs);
|
871
|
-
padding-right: var(--spacing-xs);
|
872
|
-
}
|
873
|
-
:host([ph="s"]) svg {
|
874
|
-
padding-left: var(--spacing-s);
|
875
|
-
padding-right: var(--spacing-s);
|
876
|
-
}
|
877
|
-
:host([ph="m"]) svg {
|
878
|
-
padding-left: var(--spacing-m);
|
879
|
-
padding-right: var(--spacing-m);
|
880
|
-
}
|
881
|
-
:host([ph="l"]) svg {
|
882
|
-
padding-left: var(--spacing-l);
|
883
|
-
padding-right: var(--spacing-l);
|
884
|
-
}
|
885
|
-
:host([ph="xl"]) svg {
|
886
|
-
padding-left: var(--spacing-xl);
|
887
|
-
padding-right: var(--spacing-xl);
|
888
|
-
}
|
889
|
-
:host([pv="xs"]) svg {
|
890
|
-
padding-top: var(--spacing-xs);
|
891
|
-
padding-bottom: var(--spacing-xs);
|
892
|
-
}
|
893
|
-
:host([pv="s"]) svg {
|
894
|
-
padding-top: var(--spacing-s);
|
895
|
-
padding-bottom: var(--spacing-s);
|
896
|
-
}
|
897
|
-
:host([pv="m"]) svg {
|
898
|
-
padding-top: var(--spacing-m);
|
899
|
-
padding-bottom: var(--spacing-m);
|
900
|
-
}
|
901
|
-
:host([pv="l"]) svg {
|
902
|
-
padding-top: var(--spacing-l);
|
903
|
-
padding-bottom: var(--spacing-l);
|
904
|
-
}
|
905
|
-
:host([pv="xl"]) svg {
|
906
|
-
padding-top: var(--spacing-xl);
|
907
|
-
padding-bottom: var(--spacing-xl);
|
908
|
-
}
|
909
|
-
`;var Mt=new CSSStyleSheet;Mt.replaceSync(g`
|
910
|
-
|
911
|
-
:host([f="p"]) path {
|
912
|
-
fill: var(--color-primary);
|
913
|
-
}
|
914
|
-
:host([f="s"]) path {
|
915
|
-
fill: var(--color-secondary);
|
916
|
-
}
|
917
|
-
:host([f="e"]) path {
|
918
|
-
fill: var(--color-error);
|
919
|
-
}
|
920
|
-
:host([f="on-p"]) path {
|
921
|
-
fill: var(--color-on-primary);
|
922
|
-
}
|
923
|
-
:host([f="on-pc"]) path {
|
924
|
-
fill: var(--color-on-primary-container);
|
925
|
-
}
|
926
|
-
:host([f="on-s"]) path {
|
927
|
-
fill: var(--color-on-secondary);
|
928
|
-
}
|
929
|
-
:host([f="on-sc"]) path {
|
930
|
-
fill: var(--color-on-secondary-container);
|
931
|
-
}
|
932
|
-
:host([f="on-su"]) path {
|
933
|
-
fill: var(--color-on-surface);
|
934
|
-
}
|
935
|
-
:host([f="on-suv"]) path {
|
936
|
-
fill: var(--color-on-surface-variant);
|
937
|
-
}
|
938
|
-
:host([f="i-on-su"]) path {
|
939
|
-
fill: var(--color-inverse-on-surface);
|
940
|
-
}
|
941
|
-
:host([f="on-e"]) path {
|
942
|
-
fill: var(--color-on-error);
|
943
|
-
}
|
944
|
-
:host([f="on-ec"]) path {
|
945
|
-
fill: var(--color-on-error-container);
|
946
|
-
}
|
947
|
-
|
948
|
-
${Et}
|
949
|
-
${b}
|
950
|
-
${y}
|
951
|
-
`);function so(o){let t=String(o);return/[0-9]$/.test(t)}var Tt=o=>{if(o!==void 0)return so(o)?`${o}px`:o},X=class o extends HTMLElement{constructor(){super(),this.shadow=this.attachShadow({mode:"closed"}),this.shadow.adoptedStyleSheets=[Mt],setTimeout(()=>{this.render()})}static _icons={};static get observedAttributes(){return["src","w","h","of","wh"]}static get icons(){return o._icons}static addIcon(t,s){o._icons[t]=s}attributeChangedCallback(t,s,e){let r=this.getAttribute("wh"),a=Tt(r===null?this.getAttribute("w"):r),i=Tt(r===null?this.getAttribute("h"):r),n=a?`width: ${a}; min-width: ${a}; max-width: ${a};`:"",d=i?`height: ${i}; min-height: ${i}; max-height: ${i};`:"",u=this.hasAttribute("hidden")?"display: none;":"",p=`${n} ${d} ${u}`;this.style=p,this.render()}render=()=>{try{let t=this.getAttribute("svg"),s=o._icons[t]||(window.rtglIcons||{})[t];if(s){this.shadow.innerHTML=s;return}}catch(t){console.log("error in rtgl-svg render",t)}this.shadow.innerHTML=""}},Wt=X;customElements.define("rtgl-button",vt);customElements.define("rtgl-view",wt);customElements.define("rtgl-text",$t);customElements.define("rtgl-image",At);customElements.define("rtgl-form",Nt);customElements.define("rtgl-svg",Wt);})();
|
952
|
-
/*! (c) Andrea Giammarchi - MIT */
|
953
|
-
//# sourceMappingURL=rettangoli-ui.min.js.map
|
@@ -1,7 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["http-url:https://unpkg.com/uhtml", "../src/common.js", "../src/styles/marginStyles.js", "../src/styles/flexChildStyles.js", "../src/components/button.js", "../src/styles/flexGapStyles.js", "../src/styles/paddingStyles.js", "../src/styles/flexDirectionStyles.js", "../src/styles/backgroundColorStyles.js", "../src/components/view.js", "../src/components/text.js", "../src/components/image.js", "../src/components/form.js", "../src/styles/paddingSvgStyles.js", "../src/components/svg.js", "../src/index.js"],
|
4
|
-
"sourcesContent": ["const{isArray:e}=Array,{getPrototypeOf:t,getOwnPropertyDescriptor:n}=Object,r=[],s=()=>document.createRange(),l=(e,t,n)=>(e.set(t,n),n),{setPrototypeOf:i}=Object;let o;var c=(e,t,n)=>(o||(o=s()),n?o.setStartAfter(e):o.setStartBefore(e),o.setEndAfter(t),o.deleteContents(),e);const a=({firstChild:e,lastChild:t},n)=>c(e,t,n);let u=!1;const h=(e,t)=>u&&11===e.nodeType?1/t<0?t?a(e,!0):e.lastChild:t?e.valueOf():e.firstChild:e,d=e=>document.createComment(e);class f extends((e=>{function t(e){return i(e,new.target.prototype)}return t.prototype=e.prototype,t})(DocumentFragment)){#e=d(\"<>\");#t=d(\"</>\");#n=r;constructor(e){super(e),this.replaceChildren(this.#e,...e.childNodes,this.#t),u=!0}get firstChild(){return this.#e}get lastChild(){return this.#t}get parentNode(){return this.#e.parentNode}remove(){a(this,!1)}replaceWith(e){a(this,!0).replaceWith(e)}valueOf(){let{firstChild:e,lastChild:t,parentNode:n}=this;if(n===this)this.#n===r&&(this.#n=[...this.childNodes]);else{if(n)for(this.#n=[e];e!==t;)this.#n.push(e=e.nextSibling);this.replaceChildren(...this.#n)}return this}}const p=(e,t,n)=>e.setAttribute(t,n),g=(e,t)=>e.removeAttribute(t);let m;const b=(t,n,r)=>{r=r.slice(1),m||(m=new WeakMap);const s=m.get(t)||l(m,t,{});let i=s[r];return i&&i[0]&&t.removeEventListener(r,...i),i=e(n)?n:[n,!1],s[r]=i,i[0]&&t.addEventListener(r,...i),n},v=(e,t)=>{const{t:n,n:r}=e;let s=!1;switch(typeof t){case\"object\":if(null!==t){(r||n).replaceWith(e.n=t.valueOf());break}case\"undefined\":s=!0;default:n.data=s?\"\":t,r&&(e.n=null,r.replaceWith(n))}return t},C=(e,t,n)=>e[n]=t,w=(e,t,n)=>C(e,t,n.slice(1)),x=(e,t,n)=>null==t?(g(e,n),t):C(e,t,n),$=(e,t)=>(\"function\"==typeof t?t(e):t.current=e,t),y=(e,t,n)=>(null==t?g(e,n):p(e,n,t),t),N=(e,t,n)=>(e.toggleAttribute(n.slice(1),t),t),O=(e,t,n)=>{const{length:s}=t;if(e.data=`[${s}]`,s)return((e,t,n,r,s)=>{const l=n.length;let i=t.length,o=l,c=0,a=0,u=null;for(;c<i||a<o;)if(i===c){const t=o<l?a?r(n[a-1],-0).nextSibling:r(n[o-a],0):s;for(;a<o;)e.insertBefore(r(n[a++],1),t)}else if(o===a)for(;c<i;)u&&u.has(t[c])||e.removeChild(r(t[c],-1)),c++;else if(t[c]===n[a])c++,a++;else if(t[i-1]===n[o-1])i--,o--;else if(t[c]===n[o-1]&&n[a]===t[i-1]){const s=r(t[--i],-1).nextSibling;e.insertBefore(r(n[a++],1),r(t[c++],-1).nextSibling),e.insertBefore(r(n[--o],1),s),t[i]=n[o]}else{if(!u){u=new Map;let e=a;for(;e<o;)u.set(n[e],e++)}if(u.has(t[c])){const s=u.get(t[c]);if(a<s&&s<o){let l=c,h=1;for(;++l<i&&l<o&&u.get(t[l])===s+h;)h++;if(h>s-a){const l=r(t[c],0);for(;a<s;)e.insertBefore(r(n[a++],1),l)}else e.replaceChild(r(n[a++],1),r(t[c++],-1))}else c++}else e.removeChild(r(t[c++],-1))}return n})(e.parentNode,n,t,h,e);switch(n.length){case 1:n[0].remove();case 0:break;default:c(h(n[0],0),h(n.at(-1),-0),!1)}return r},k=new Map([[\"aria\",(e,t)=>{for(const n in t){const r=t[n],s=\"role\"===n?n:`aria-${n}`;null==r?g(e,s):p(e,s,r)}return t}],[\"class\",(e,t)=>x(e,t,null==t?\"class\":\"className\")],[\"data\",(e,t)=>{const{dataset:n}=e;for(const e in t)null==t[e]?delete n[e]:n[e]=t[e];return t}],[\"ref\",$],[\"style\",(e,t)=>null==t?x(e,t,\"style\"):C(e.style,t,\"cssText\")]]),A=(e,r,s)=>{switch(r[0]){case\".\":return w;case\"?\":return N;case\"@\":return b;default:return s||\"ownerSVGElement\"in e?\"ref\"===r?$:y:k.get(r)||(r in e?r.startsWith(\"on\")?C:((e,r)=>{let s;do{s=n(e,r)}while(!s&&(e=t(e)));return s})(e,r)?.set?x:y:y)}},M=(e,t)=>(e.textContent=null==t?\"\":t,t),W=(e,t,n)=>({a:e,b:t,c:n}),S=()=>W(null,null,r),E=(e,t)=>t.reduceRight(T,e),T=(e,t)=>e.childNodes[t];var B=e=>(t,n)=>{const{a:s,b:l,c:i}=e(t,n),o=document.importNode(s,!0);let c=r;if(l!==r){c=[];for(let e,t,n=0;n<l.length;n++){const{a:s,b:i,c:f}=l[n],p=s===t?e:e=E(o,t=s);c[n]=(a=i,u=p,h=f,d=i===O?[]:i===v?S():null,{v:r,u:a,t:u,n:h,c:d})}}var a,u,h,d;return((e,t)=>({b:e,c:t}))(i?o.firstChild:new f(o),c)};const D=/^(?:plaintext|script|style|textarea|title|xmp)$/i,j=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i,L=/<([a-zA-Z0-9]+[a-zA-Z0-9:._-]*)([^>]*?)(\\/?)>/g,P=/([^\\s\\\\>\"'=]+)\\s*=\\s*(['\"]?)\\x01/g,z=/[\\x01\\x02]/g;let F,R,Z=document.createElement(\"template\");var G=(e,t)=>{if(t)return F||(F=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\"),R=s(),R.selectNodeContents(F)),R.createContextualFragment(e);Z.innerHTML=e;const{content:n}=Z;return Z=Z.cloneNode(!1),n};const H=e=>{const t=[];let n;for(;n=e.parentNode;)t.push(t.indexOf.call(n.childNodes,e)),e=n;return t},V=()=>document.createTextNode(\"\"),_=(t,n,s)=>{const i=G(((e,t,n)=>{let r=0;return e.join(\"\u0001\").trim().replace(L,((e,t,r,s)=>`<${t}${r.replace(P,\"\u0002=$2$1\").trimEnd()}${s?n||j.test(t)?\" /\":`></${t}`:\"\"}>`)).replace(z,(e=>\"\u0001\"===e?`\\x3c!--${t+r++}--\\x3e`:t+r++))})(t,I,s),s),{length:o}=t;let c=r;if(o>1){const t=[],r=document.createTreeWalker(i,129);let l=0,a=`${I}${l++}`;for(c=[];l<o;){const i=r.nextNode();if(8===i.nodeType){if(i.data===a){const r=e(n[l-1])?O:v;r===v&&t.push(i),c.push(W(H(i),r,null)),a=`${I}${l++}`}}else{let e;for(;i.hasAttribute(a);){e||(e=H(i));const t=i.getAttribute(a);c.push(W(e,A(i,t,s),t)),g(i,a),a=`${I}${l++}`}!s&&D.test(i.localName)&&i.textContent.trim()===`\\x3c!--${a}--\\x3e`&&(c.push(W(e||H(i),M,null)),a=`${I}${l++}`)}}for(l=0;l<t.length;l++)t[l].replaceWith(V())}const{childNodes:a}=i;let{length:u}=a;return u<1?(u=1,i.appendChild(V())):1===u&&1!==o&&1!==a[0].nodeType&&(u=0),l(q,t,W(i,c,1===u))},q=new WeakMap,I=\"is\u00B5\";var J=e=>(t,n)=>q.get(t)||_(t,n,e);const K=B(J(!1)),Q=B(J(!0)),U=(e,{s:t,t:n,v:r})=>{if(e.a!==n){const{b:s,c:l}=(t?Q:K)(n,r);e.a=n,e.b=s,e.c=l}for(let{c:t}=e,n=0;n<t.length;n++){const e=r[n],s=t[n];switch(s.u){case O:s.v=O(s.t,X(s.c,e),s.v);break;case v:const t=e instanceof Y?U(s.c||(s.c=S()),e):(s.c=null,e);t!==s.v&&(s.v=v(s,t));break;default:e!==s.v&&(s.v=s.u(s.t,e,s.n,s.v))}}return e.b},X=(e,t)=>{let n=0,{length:r}=t;for(r<e.length&&e.splice(r);n<r;n++){const r=t[n];r instanceof Y?t[n]=U(e[n]||(e[n]=S()),r):e[n]=null}return t};class Y{constructor(e,t,n){this.s=e,this.t=t,this.v=n}toDOM(e=S()){return U(e,this)}}\n/*! (c) Andrea Giammarchi - MIT */const ee=e=>(t,...n)=>new Y(e,t,n),te=ee(!1),ne=ee(!0),re=new WeakMap;var se=(e,t)=>((e,t,n)=>{const r=re.get(e)||l(re,e,S()),{b:s}=r,i=n&&\"function\"==typeof t?t():t,o=i instanceof Y?i.toDOM(r):i;return s!==o&&e.replaceChildren((r.b=o).valueOf()),e})(e,t,!0)\n/*! (c) Andrea Giammarchi - MIT */;const le=new WeakMap,ie=e=>(t,n)=>{const r=le.get(t)||l(le,t,new Map);return r.get(n)||l(r,n,function(t,...n){return new Y(e,t,n).toDOM(this)}.bind(S()))},oe=ie(!1),ce=ie(!0);export{Y as Hole,k as attr,te as html,oe as htmlFor,se as render,ne as svg,ce as svgFor};\n", "function css(strings, ...values) {\n // Combine the strings and values back into a single string\n let str = \"\";\n strings.forEach((string, i) => {\n str += string + (values[i] || \"\");\n });\n return str;\n}\n\nexport { css };\n", "\nimport { css } from '../common.js'\n\nexport default css`\n:host([mt=\"xs\"]) {\n margin-top: var(--spacing-xs);\n}\n:host([mt=\"s\"]) {\n margin-top: var(--spacing-s);\n}\n:host([mt=\"m\"]) {\n margin-top: var(--spacing-m);\n}\n:host([mt=\"l\"]) {\n margin-top: var(--spacing-l);\n}\n:host([mt=\"xl\"]) {\n margin-top: var(--spacing-xl);\n}\n:host([mr=\"xs\"]) {\n margin-right: var(--spacing-xs);\n}\n:host([mr=\"s\"]) {\n margin-right: var(--spacing-s);\n}\n:host([mr=\"m\"]) {\n margin-right: var(--spacing-m);\n}\n:host([mr=\"l\"]) {\n margin-right: var(--spacing-l);\n}\n:host([mr=\"xl\"]) {\n margin-right: var(--spacing-xl);\n}\n:host([mb=\"xs\"]) {\n margin-bottom: var(--spacing-xs);\n}\n:host([mb=\"s\"]) {\n margin-bottom: var(--spacing-s);\n}\n:host([mb=\"m\"]) {\n margin-bottom: var(--spacing-m);\n}\n:host([mb=\"l\"]) {\n margin-bottom: var(--spacing-l);\n}\n:host([mb=\"xl\"]) {\n margin-bottom: var(--spacing-xl);\n}\n:host([ml=\"xs\"]) {\n margin-left: var(--spacing-xs);\n}\n:host([ml=\"s\"]) {\n margin-left: var(--spacing-s);\n}\n:host([ml=\"m\"]) {\n margin-left: var(--spacing-m);\n}\n:host([ml=\"l\"]) {\n margin-left: var(--spacing-l);\n}\n:host([ml=\"xl\"]) {\n margin-left: var(--spacing-xl);\n}\n:host([m=\"xs\"]) {\n margin: var(--spacing-xs);\n}\n:host([m=\"s\"]) {\n margin: var(--spacing-s);\n}\n:host([m=\"m\"]) {\n margin: var(--spacing-m);\n}\n:host([m=\"l\"]) {\n margin: var(--spacing-l);\n}\n:host([m=\"xl\"]) {\n margin: var(--spacing-xl);\n}\n:host([mh=\"xs\"]) {\n margin-left: var(--spacing-xs);\n margin-right: var(--spacing-xs);\n}\n:host([mh=\"s\"]) {\n margin-left: var(--spacing-s);\n margin-right: var(--spacing-s);\n}\n:host([mh=\"m\"]) {\n margin-left: var(--spacing-m);\n margin-right: var(--spacing-m);\n}\n:host([mh=\"l\"]) {\n margin-left: var(--spacing-l);\n margin-right: var(--spacing-l);\n}\n:host([mh=\"xl\"]) {\n margin-left: var(--spacing-xl);\n margin-right: var(--spacing-xl);\n}\n:host([mv=\"xs\"]) {\n margin-top: var(--spacing-xs);\n margin-bottom: var(--spacing-xs);\n}\n:host([mv=\"s\"]) {\n margin-top: var(--spacing-s);\n margin-bottom: var(--spacing-s);\n}\n:host([mv=\"m\"]) {\n margin-top: var(--spacing-m);\n margin-bottom: var(--spacing-m);\n}\n:host([mv=\"l\"]) {\n margin-top: var(--spacing-l);\n margin-bottom: var(--spacing-l);\n}\n:host([mv=\"xl\"]) {\n margin-top: var(--spacing-xl);\n margin-bottom: var(--spacing-xl);\n}\n`", "import { css } from '../common.js'\n\nexport default css`\n:host([flex=\"0\"]) {\n flex: 0;\n}\n:host([flex=\"1\"]) {\n flex: 1;\n}\n:host([flex=\"2\"]) {\n flex: 2;\n}\n:host([flex=\"3\"]) {\n flex: 3;\n}\n:host([flex=\"4\"]) {\n flex: 4;\n}\n:host([flex=\"5\"]) {\n flex: 5;\n}\n:host([flex=\"6\"]) {\n flex: 6;\n}\n:host([flex=\"7\"]) {\n flex: 7;\n}\n:host([flex=\"8\"]) {\n flex: 8;\n}\n:host([flex=\"9\"]) {\n flex: 9;\n}\n:host([flex=\"10\"]) {\n flex: 10;\n}\n:host([flex=\"11\"]) {\n flex: 11;\n}\n:host([flex=\"12\"]) {\n flex: 12;\n}\n\n:host([as=\"sch\"]) {\n align-self: stretch;\n}\n\n/* \n:host([sha=\"s\"]) {\n margin-right: auto;\n}\n:host([sha=\"c\"]) {\n margin-left: auto;\n margin-right: auto;\n}\n:host([sha=\"e\"]) {\n margin-left: auto;\n}\n\n:host([sva=\"s\"]) {\n margin-bottom: auto;\n}\n:host([sva=\"c\"]) {\n margin-top: auto;\n margin-bottom: auto;\n}\n:host([sva=\"e\"]) {\n margin-top: auto;\n} */\n\n\n/* \n:host([d=\"h\"][sha=\"s\"]) {\n align-self: start;\n}\n:host([d=\"h\"][sha=\"c\"]) {\n align-self: center;\n}\n:host([d=\"h\"][sha=\"e\"]) {\n align-self: flex-end;\n}\n:host([d=\"v\"][sha=\"s\"]) {\n}\n:host([d=\"v\"][sha=\"c\"]) {\n}\n:host([d=\"v\"][sha=\"e\"]) {\n}\n\n:host([d=\"h\"][sva=\"s\"]) {\n}\n:host([d=\"h\"][sva=\"c\"]) {\n}\n:host([d=\"h\"][sva=\"e\"]) {\n}\n:host([d=\"v\"][sva=\"s\"]) {\n}\n:host([d=\"v\"][sva=\"c\"]) {\n}\n:host([d=\"v\"][sva=\"e\"]) {\n}\n*/\n`\n", "import { render, html } from \"https://unpkg.com/uhtml\";\n\nimport { css } from '../common.js'\nimport marginStyles from \"../styles/marginStyles.js\";\nimport flexChildStyles from \"../styles/flexChildStyles.js\";\n\nconst styleSheet = new CSSStyleSheet();\nstyleSheet.replaceSync(css`\n:host {\n display: flex;\n}\n\nslot {\n display: flex;\n flex: 1;\n justify-content: center;\n}\n\nbutton {\n flex: 1;\n border-style: solid;\n}\n\nbutton:hover {\n cursor: pointer;\n}\n\n:host([t=\"ps\"]) button,\n:host([t=\"p\"]) button,\n:host([t=\"pl\"]) button {\n color: var(--color-on-primary);\n border-color: var(--color-primary);\n background-color: var(--color-primary);\n}\n\n:host([t=\"ps\"]) button:hover,\n:host([t=\"p\"]) button:hover,\n:host([t=\"pl\"]) button:hover {\n border-color: var(--color-primary-hover);\n background-color: var(--color-primary-hover);\n}\n\n:host([t=\"ps\"]) button:active,\n:host([t=\"p\"]) button:active,\n:host([t=\"pl\"]) button:active {\n border-color: var(--color-primary-active);\n background-color: var(--color-primary-active);\n}\n\n:host([t=\"ss\"]) button,\n:host([t=\"s\"]) button,\n:host([t=\"sl\"]) button {\n color: var(--color-on-secondary);\n border-color: var(--color-secondary);\n background-color: var(--color-secondary);\n}\n\n:host([t=\"ss\"]) button:hover,\n:host([t=\"s\"]) button:hover,\n:host([t=\"sl\"]) button:hover {\n background-color: var(--color-secondary-hover);\n border-color: var(--color-secondary-hover);\n}\n\n:host([t=\"ss\"]) button:active,\n:host([t=\"s\"]) button:active,\n:host([t=\"sl\"]) button:active {\n background-color: var(--color-secondary-active);\n border-color: var(--color-secondary-active);\n}\n\n:host([t=\"es\"]) button,\n:host([t=\"e\"]) button,\n:host([t=\"el\"]) button {\n color: var(--color-on-error);\n border-color: var(--color-error);\n background-color: var(--color-error);\n}\n\n:host([t=\"es\"]) button:hover,\n:host([t=\"e\"]) button:hover,\n:host([t=\"el\"]) button:hover {\n background-color: var(--color-error-hover);\n border-color: var(--color-error-hover);\n}\n\n:host([t=\"es\"]) button:active,\n:host([t=\"e\"]) button:active,\n:host([t=\"el\"]) button:active {\n background-color: var(--color-error-active);\n border-color: var(--color-error-active);\n}\n\n:host([t=\"ps\"]) button,\n:host([t=\"ss\"]) button,\n:host([t=\"es\"]) button {\n padding-top: 4px;\n padding-bottom: 4px;\n padding-left: 6px;\n padding-right: 6px;\n border-width: 2px;\n border-radius: 1px;\n}\n\n:host([t=\"p\"]) button,\n:host([t=\"s\"]) button,\n:host([t=\"e\"]) button {\n padding-top: 3px;\n padding-bottom: 3px;\n padding-left: 12px;\n padding-right: 12px;\n border-width: 4px;\n border-radius: 2px;\n}\n\n:host([t=\"pl\"]) button,\n:host([t=\"sl\"]) button,\n:host([t=\"el\"]) button {\n padding-top: 5px;\n padding-bottom: 5px;\n padding-left: 16px;\n padding-right: 16px;\n border-width: 6px;\n border-radius: 3px;\n font-size: 16px;\n}\n\n${marginStyles}\n${flexChildStyles}\n`);\n\nclass RettangoliButton extends HTMLElement {\n constructor() {\n super();\n\n const shadow = this.attachShadow({ mode: \"closed\" });\n shadow.adoptedStyleSheets = [styleSheet];\n render(shadow, this.render);\n }\n\n render = () => {\n return html`\n <button>\n <slot></slot>\n </button>\n `;\n };\n}\n\nexport default RettangoliButton;\n", "\nimport { css } from '../common.js'\n\nexport default css`\n:host([g=\"xs\"]) slot {\n gap: var(--spacing-xs);\n}\n:host([g=\"s\"]) slot {\n gap: var(--spacing-s);\n}\n:host([g=\"m\"]) slot {\n gap: var(--spacing-m);\n}\n:host([g=\"l\"]) slot {\n gap: var(--spacing-l);\n}\n:host([g=\"xl\"]) slot {\n gap: var(--spacing-xl);\n}\n:host([gv=\"xs\"]) slot {\n row-gap: var(--spacing-xs);\n}\n:host([gv=\"s\"]) slot {\n row-gap: var(--spacing-s);\n}\n:host([gv=\"m\"]) slot {\n row-gap: var(--spacing-m);\n}\n:host([gv=\"l\"]) slot {\n row-gap: var(--spacing-l);\n}\n:host([gv=\"xl\"]) slot {\n row-gap: var(--spacing-xl);\n}\n:host([gh=\"xs\"]) slot {\n column-gap: var(--spacing-xs);\n}\n:host([gh=\"s\"]) slot {\n column-gap: var(--spacing-s);\n}\n:host([gh=\"m\"]) slot {\n column-gap: var(--spacing-m);\n}\n:host([gh=\"l\"]) slot {\n column-gap: var(--spacing-l);\n}\n:host([gh=\"xl\"]) slot {\n column-gap: var(--spacing-xl);\n}\n`;", "\nimport { css } from '../common.js'\n\nexport default css`\n:host([pt=\"xs\"]) slot {\n padding-top: var(--spacing-xs);\n}\n:host([pt=\"s\"]) slot {\n padding-top: var(--spacing-s);\n}\n:host([pt=\"m\"]) slot {\n padding-top: var(--spacing-m);\n}\n:host([pt=\"l\"]) slot {\n padding-top: var(--spacing-l);\n}\n:host([pt=\"xl\"]) slot {\n padding-top: var(--spacing-xl);\n}\n:host([pr=\"xs\"]) slot {\n padding-right: var(--spacing-xs);\n}\n:host([pr=\"s\"]) slot {\n padding-right: var(--spacing-s);\n}\n:host([pr=\"m\"]) slot {\n padding-right: var(--spacing-m);\n}\n:host([pr=\"l\"]) slot {\n padding-right: var(--spacing-l);\n}\n:host([pr=\"xl\"]) slot {\n padding-right: var(--spacing-xl);\n}\n:host([pb=\"xs\"]) slot {\n padding-bottom: var(--spacing-xs);\n}\n:host([pb=\"s\"]) slot {\n padding-bottom: var(--spacing-s);\n}\n:host([pb=\"m\"]) slot {\n padding-bottom: var(--spacing-m);\n}\n:host([pb=\"l\"]) slot {\n padding-bottom: var(--spacing-l);\n}\n:host([pb=\"xl\"]) slot {\n padding-bottom: var(--spacing-xl);\n}\n:host([pl=\"xs\"]) slot {\n padding-left: var(--spacing-xs);\n}\n:host([pl=\"s\"]) slot {\n padding-left: var(--spacing-s);\n}\n:host([pl=\"m\"]) slot {\n padding-left: var(--spacing-m);\n}\n:host([pl=\"l\"]) slot {\n padding-left: var(--spacing-l);\n}\n:host([pl=\"xl\"]) slot {\n padding-left: var(--spacing-xl);\n}\n:host([p=\"xs\"]) slot {\n padding: var(--spacing-xs);\n}\n:host([p=\"s\"]) slot {\n padding: var(--spacing-s);\n}\n:host([p=\"m\"]) slot {\n padding: var(--spacing-m);\n}\n:host([p=\"l\"]) slot {\n padding: var(--spacing-l);\n}\n:host([p=\"xl\"]) slot {\n padding: var(--spacing-xl);\n}\n:host([ph=\"xs\"]) slot {\n padding-left: var(--spacing-xs);\n padding-right: var(--spacing-xs);\n}\n:host([ph=\"s\"]) slot {\n padding-left: var(--spacing-s);\n padding-right: var(--spacing-s);\n}\n:host([ph=\"m\"]) slot {\n padding-left: var(--spacing-m);\n padding-right: var(--spacing-m);\n}\n:host([ph=\"l\"]) slot {\n padding-left: var(--spacing-l);\n padding-right: var(--spacing-l);\n}\n:host([ph=\"xl\"]) slot {\n padding-left: var(--spacing-xl);\n padding-right: var(--spacing-xl);\n}\n:host([pv=\"xs\"]) slot {\n padding-top: var(--spacing-xs);\n padding-bottom: var(--spacing-xs);\n}\n:host([pv=\"s\"]) slot {\n padding-top: var(--spacing-s);\n padding-bottom: var(--spacing-s);\n}\n:host([pv=\"m\"]) slot {\n padding-top: var(--spacing-m);\n padding-bottom: var(--spacing-m);\n}\n:host([pv=\"l\"]) slot {\n padding-top: var(--spacing-l);\n padding-bottom: var(--spacing-l);\n}\n:host([pv=\"xl\"]) slot {\n padding-top: var(--spacing-xl);\n padding-bottom: var(--spacing-xl);\n}\n`", "\nimport { css } from '../common.js'\n\nexport default css`\n :host([d=\"h\"]) slot {\n flex-direction: row;\n }\n :host([d=\"v\"]) slot {\n flex-direction: column;\n }\n :host([d=\"h\"][ah=\"s\"]) slot {\n justify-content: flex-start;\n }\n :host([d=\"h\"][ah=\"c\"]) slot {\n justify-content: center;\n }\n :host([d=\"h\"][ah=\"e\"]) slot {\n justify-content: flex-end;\n }\n :host([d=\"h\"][av=\"s\"]) slot {\n align-items: flex-start;\n }\n :host([d=\"h\"][av=\"c\"]) slot {\n align-items: center;\n }\n :host([d=\"h\"][av=\"e\"]) slot {\n align-items: flex-end;\n }\n :host([d=\"v\"][ah=\"s\"]) slot {\n align-items: flex-start;\n }\n :host([d=\"v\"][ah=\"c\"]) slot {\n align-items: center;\n }\n :host([d=\"v\"][ah=\"e\"]) slot {\n align-items: flex-end;\n }\n :host([d=\"v\"][av=\"s\"]) slot {\n justify-content: flex-start;\n }\n :host([d=\"v\"][av=\"c\"]) slot {\n justify-content: center;\n }\n :host([d=\"v\"][av=\"e\"]) slot {\n justify-content: flex-end;\n }\n`", "\nimport { css } from '../common.js';\n\nexport default css`\n:host([bgc=\"p\"]) {\n background-color: var(--color-primary);\n }\n :host([bgc=\"pc\"]) {\n background-color: var(--color-primary-container);\n }\n :host([bgc=\"s\"]) {\n background-color: var(--color-secondary);\n }\n :host([bgc=\"sc\"]) {\n background-color: var(--color-secondary-container);\n }\n :host([bgc=\"e\"]) {\n background-color: var(--color-error);\n }\n :host([bgc=\"ec\"]) {\n background-color: var(--color-error-container);\n }\n :host([bgc=\"su\"]) {\n background-color: var(--color-surface);\n }\n :host([bgc=\"sucl\"]) {\n background-color: var(--color-surface-container-low);\n }\n :host([bgc=\"suc\"]) {\n background-color: var(--color-surface-container);\n }\n :host([bgc=\"such\"]) {\n background-color: var(--color-surface-container-high);\n }\n :host([bgc=\"isu\"]) {\n background-color: var(--color-inverse-surface);\n }\n`", "import { render, html } from \"https://unpkg.com/uhtml\";\nimport { css } from '../common.js'\nimport flexGapStyles from '../styles/flexGapStyles.js'\nimport paddingStyles from '../styles/paddingStyles.js'\nimport marginStyles from \"../styles/marginStyles.js\";\nimport flexDirectionStyles from \"../styles/flexDirectionStyles.js\";\nimport backgroundColorStyles from \"../styles/backgroundColorStyles.js\";\nimport flexChildStyles from \"../styles/flexChildStyles.js\";\n\nconst styleSheet = new CSSStyleSheet();\nstyleSheet.replaceSync(css`\n:host {\n display: flex;\n}\nslot {\n display: flex;\n flex: 1;\n}\n:host([fw=\"w\"]) slot {\n flex-wrap: wrap;\n}\n${flexChildStyles}\n${flexDirectionStyles}\n${flexGapStyles}\n${backgroundColorStyles}\n${paddingStyles}\n${marginStyles}\n`);\n\nfunction endsWithDigit(inputValue) {\n // Convert the input value to a string if it's not already one.\n const inputStr = String(inputValue);\n // Check if the last character of the string is a digit.\n return /[0-9]$/.test(inputStr);\n}\n\nconst dimensionWithUnit = (dimension) => {\n if (dimension === undefined) {\n return;\n }\n if (endsWithDigit(dimension)) {\n return `${dimension}px`;\n }\n return dimension;\n}\n\nclass RettangoliView extends HTMLElement {\n constructor() {\n super();\n this.shadow = this.attachShadow({ mode: \"closed\" });\n this.shadow.adoptedStyleSheets = [styleSheet];\n render(this.shadow, this.render);\n }\n\n static get observedAttributes() {\n return ['wh', 'w', 'h', 'hidden'];\n }\n\n attributeChangedCallback(name, oldValue, newValue) {\n const wh = this.getAttribute('wh');\n const width = dimensionWithUnit(wh === null ? this.getAttribute('w') : wh);\n const height = dimensionWithUnit(wh === null ? this.getAttribute('h') : wh);\n const widthCss = width ? `width: ${width}; min-width: ${width}; max-width: ${width};` : '';\n const heightCss = height? `height: ${height}; min-height: ${height}; max-height: ${height};` : '';\n const displayNone = this.hasAttribute('hidden') ? `display: none;` : ''\n\n let customStyle = `${widthCss} ${heightCss} ${displayNone}`\n this.style = customStyle;\n\n render(this.shadow, this.render);\n }\n\n render = () => {\n return html`\n <slot></slot>\n `;\n };\n}\n\nexport default RettangoliView;\n", "import { render, html } from \"https://unpkg.com/uhtml\";\nimport { css } from '../common.js'\nimport marginStyles from \"../styles/marginStyles.js\";\nimport flexChildStyles from \"../styles/flexChildStyles.js\";\n\nconst styleSheet = new CSSStyleSheet();\nstyleSheet.replaceSync(css`\n:host([c=\"on-p\"]) slot {\n color: var(--color-on-primary);\n}\n:host([c=\"on-pc\"]) slot {\n color: var(--color-on-primary-container);\n}\n:host([c=\"on-s\"]) slot {\n color: var(--color-on-secondary);\n}\n:host([c=\"on-sc\"]) slot {\n color: var(--color-on-secondary-container);\n}\n:host([c=\"on-su\"]) slot {\n color: var(--color-on-surface);\n}\n:host([c=\"on-suv\"]) slot {\n color: var(--color-on-surface-variant);\n}\n:host([c=\"i-on-su\"]) slot {\n color: var(--color-inverse-on-surface);\n}\n:host([c=\"on-e\"]) slot {\n color: var(--color-on-error);\n}\n:host([c=\"on-ec\"]) slot {\n color: var(--color-on-error-container);\n}\n\n:host([s=\"dm\"]) slot {\n font-size: var(--typography-display-m-font-size);\n font-weight: var(--typography-display-m-font-weight);\n line-height: var(--typography-display-m-line-height);\n letter-spacing: var(--typography-display-m-letter-spacing);\n}\n\n:host([s=\"hm\"]) slot {\n font-size: var(--typography-headline-m-font-size);\n font-weight: var(--typography-headline-m-font-weight);\n line-height: var(--typography-headline-m-line-height);\n letter-spacing: var(--typography-headline-m-letter-spacing);\n}\n\n:host([s=\"tl\"]) slot {\n font-size: var(--typography-title-l-font-size);\n font-weight: var(--typography-title-l-font-weight);\n line-height: var(--typography-title-l-line-height);\n letter-spacing: var(--typography-title-l-letter-spacing);\n}\n\n:host([s=\"tm\"]) slot {\n font-size: var(--typography-title-m-font-size);\n font-weight: var(--typography-title-m-font-weight);\n line-height: var(--typography-title-m-line-height);\n letter-spacing: var(--typography-title-m-letter-spacing);\n}\n\n:host([s=\"ts\"]) slot {\n font-size: var(--typography-title-s-font-size);\n font-weight: var(--typography-title-s-font-weight);\n line-height: var(--typography-title-s-line-height);\n letter-spacing: var(--typography-title-s-letter-spacing);\n}\n\n:host([s=\"bl\"]) slot {\n font-size: var(--typography-body-l-font-size);\n font-weight: var(--typography-body-l-font-weight);\n line-height: var(--typography-body-l-line-height);\n letter-spacing: var(--typography-body-l-letter-spacing);\n}\n\n:host([s=\"bm\"]) slot {\n font-size: var(--typography-body-m-font-size);\n font-weight: var(--typography-body-m-font-weight);\n line-height: var(--typography-body-m-line-height);\n letter-spacing: var(--typography-body-m-letter-spacing);\n}\n\n:host([s=\"bs\"]) slot {\n font-size: var(--typography-body-s-font-size);\n font-weight: var(--typography-body-s-font-weight);\n line-height: var(--typography-body-s-line-height);\n letter-spacing: var(--typography-body-s-letter-spacing);\n}\n\n:host([s=\"ll\"]) slot {\n font-size: var(--typography-label-l-font-size);\n font-weight: var(--typography-label-l-font-weight);\n line-height: var(--typography-label-l-line-height);\n letter-spacing: var(--typography-label-l-letter-spacing);\n}\n\n:host([s=\"lm\"]) slot {\n font-size: var(--typography-label-m-font-size);\n font-weight: var(--typography-label-m-font-weight);\n line-height: var(--typography-label-m-line-height);\n letter-spacing: var(--typography-label-m-letter-spacing);\n}\n\n${marginStyles}\n${flexChildStyles}\n`);\n\nclass RettangoliText extends HTMLElement {\n constructor() {\n super();\n const shadow = this.attachShadow({ mode: \"closed\" });\n shadow.adoptedStyleSheets = [styleSheet];\n render(shadow, this.render);\n }\n\n render() {\n return html`\n <slot></slot>\n `;\n }\n}\n\nexport default RettangoliText;\n", "import { render, html } from \"https://unpkg.com/uhtml\";\nimport { css } from '../common.js'\nimport marginStyles from \"../styles/marginStyles.js\";\nimport flexChildStyles from \"../styles/flexChildStyles.js\";\n\n\nconst styleSheet = new CSSStyleSheet();\nstyleSheet.replaceSync(css`\n:host {\n display: flex;\n}\n:host([of=\"contain\"]) img {\n object-fit: contain;\n}\n:host([of=\"cover\"]) img {\n object-fit: cover;\n}\nimg {\n flex: 1;\n}\n${marginStyles}\n${flexChildStyles}\n`)\n\nfunction endsWithDigit(inputValue) {\n // Convert the input value to a string if it's not already one.\n const inputStr = String(inputValue);\n // Check if the last character of the string is a digit.\n return /[0-9]$/.test(inputStr);\n}\n\nconst dimensionWithUnit = (dimension) => {\n if (dimension === undefined) {\n return;\n }\n if (endsWithDigit(dimension)) {\n return `${dimension}px`;\n }\n return dimension;\n}\n\nclass RettangoliImage extends HTMLElement {\n constructor() {\n super();\n this.shadow = this.attachShadow({ mode: \"closed\" });\n this.shadow.adoptedStyleSheets = [styleSheet];\n setTimeout(() => {\n render(this.shadow, this.render);\n })\n }\n\n static get observedAttributes() {\n return ['src', 'wh', 'w', 'h', 'of'];\n }\n\n attributeChangedCallback(name, oldValue, newValue) {\n const wh = this.getAttribute('wh');\n const width = dimensionWithUnit(wh === null ? this.getAttribute('w') : wh);\n const height = dimensionWithUnit(wh === null ? this.getAttribute('h') : wh);\n const widthCss = width ? `width: ${width}; min-width: ${width}; max-width: ${width};` : '';\n const heightCss = height? `height: ${height}; min-height: ${height}; max-height: ${height};` : '';\n const displayNone = this.hasAttribute('hidden') ? `display: none;` : ''\n\n let customStyle = `${widthCss} ${heightCss} ${displayNone}`\n this.style = customStyle;\n\n render(this.shadow, this.render);\n }\n\n render = () => {\n return html`\n <img\n src=\"${this.getAttribute('src')}\"\n width=\"${this.getAttribute('w')}\"\n height=\"${this.getAttribute('h')}\"\n >\n `;\n }\n}\n\nexport default RettangoliImage;\n", "import { render, html } from \"https://unpkg.com/uhtml\";\nimport { css } from \"../common.js\";\nimport flexChildStyles from \"../styles/flexChildStyles.js\";\nimport backgroundColorStyles from \"../styles/backgroundColorStyles.js\";\nimport marginStyles from \"../styles/marginStyles.js\";\n\nconst styleSheet = new CSSStyleSheet();\nstyleSheet.replaceSync(css`\n input[type=\"text\"] {\n height: 32px;\n }\n\n input[type=\"text\"],\n textarea {\n padding: 8px 8px;\n box-sizing: border-box;\n border: 1px solid var(--color-outline-variant);\n -webkit-transition: 0.3s;\n transition: 0.3s;\n outline: none;\n\n font-family: Roboto, -apple-system, \"Helvetica Neue\", sans-serif;\n font-size: var(--typography-body-m-font-size);\n font-weight: var(--typography-body-m-font-weight);\n line-height: var(--typography-body-m-line-height);\n letter-spacing: var(--typography-body-m-letter-spacing);\n }\n\n input[type=\"text\"]:focus,\n textarea:focus {\n border: 1px solid var(--color-primary);\n }\n textarea {\n resize: none;\n }\n ${flexChildStyles}\n ${backgroundColorStyles}\n${marginStyles}\n`);\n\nclass RettangoliForm extends HTMLElement {\n constructor() {\n super();\n this.shadow = this.attachShadow({ mode: \"closed\" });\n this.shadow.adoptedStyleSheets = [styleSheet];\n this._formRef = {};\n setTimeout(() => {\n render(this.shadow, this.render);\n });\n }\n\n _handleRawSubmit = () => {\n const formData = new FormData(this._formRef.current);\n const data = {};\n for (let [key, value] of formData.entries()) {\n data[key] = value;\n }\n this.onClickSubmit && this.onClickSubmit(data);\n };\n\n _renderTitles = () => {\n return html`\n ${this.formSchema.title\n ? html`<rtgl-text s=\"tl\" c=\"on-su\">${this.formSchema.title}</rtgl-text>`\n : null}\n ${this.formSchema.subtitle\n ? html`<rtgl-text s=\"bm\" color=\"on-su\"\n >${this.formSchema.subtitle}</rtgl-text\n >`\n : null}\n `;\n };\n\n _renderFields = () => {\n return this.formSchema.fields.map((field) => {\n let inputField = null;\n if (field.type === \"text\") {\n inputField = html`<input\n type=\"${field.type}\"\n name=\"${field.name}\"\n value=\"${field.value}\"\n placeholder=\"${field.options?.placeholder}\"\n />`;\n } else if (field.type === \"textarea\") {\n inputField = html`<textarea\n name=\"${field.name}\"\n value=\"${field.value}\"\n rows=\"${field.options?.rows}\"\n placeholder=\"${field.options?.placeholder}\"\n ></textarea>`;\n }\n\n return html`\n <rtgl-view d=\"v\" g=\"s\">\n <rtgl-view d=\"v\">\n <rtgl-text s=\"ll\" c=\"on-su\">${field.label}</rtgl-text>\n ${field.subLabel\n ? html`<rtgl-text s=\"lm\" c=\"on-su\">${field.subLabel}</rtgl-text>`\n : null}\n </rtgl-view>\n ${inputField}\n </rtgl-view>\n `;\n });\n };\n\n render = () => {\n const formRef = {};\n return html`\n <rtgl-view d=\"v\" g=\"m\" w=\"${this.getAttribute(\"width\")}\">\n <rtgl-view d=\"v\"> ${this._renderTitles()} </rtgl-view>\n <form\n ref=${this._formRef}\n style=\"display: flex; flex-direction: column;\"\n >\n <rtgl-view d=\"v\" g=\"m\">\n ${this._renderFields()}\n <rtgl-button t=\"p\" onclick=${this._handleRawSubmit}>\n ${this.formSchema.submit.label}\n </rtgl-button>\n </rtgl-view>\n </form>\n </rtgl-view>\n `;\n };\n}\n\nexport default RettangoliForm;\n", "\nimport { css } from '../common.js'\n\nexport default css`\n:host([pt=\"xs\"]) svg {\n padding-top: var(--spacing-xs);\n}\n:host([pt=\"s\"]) svg {\n padding-top: var(--spacing-s);\n}\n:host([pt=\"m\"]) svg {\n padding-top: var(--spacing-m);\n}\n:host([pt=\"l\"]) svg {\n padding-top: var(--spacing-l);\n}\n:host([pt=\"xl\"]) svg {\n padding-top: var(--spacing-xl);\n}\n:host([pr=\"xs\"]) svg {\n padding-right: var(--spacing-xs);\n}\n:host([pr=\"s\"]) svg {\n padding-right: var(--spacing-s);\n}\n:host([pr=\"m\"]) svg {\n padding-right: var(--spacing-m);\n}\n:host([pr=\"l\"]) svg {\n padding-right: var(--spacing-l);\n}\n:host([pr=\"xl\"]) svg {\n padding-right: var(--spacing-xl);\n}\n:host([pb=\"xs\"]) svg {\n padding-bottom: var(--spacing-xs);\n}\n:host([pb=\"s\"]) svg {\n padding-bottom: var(--spacing-s);\n}\n:host([pb=\"m\"]) svg {\n padding-bottom: var(--spacing-m);\n}\n:host([pb=\"l\"]) svg {\n padding-bottom: var(--spacing-l);\n}\n:host([pb=\"xl\"]) svg {\n padding-bottom: var(--spacing-xl);\n}\n:host([pl=\"xs\"]) svg {\n padding-left: var(--spacing-xs);\n}\n:host([pl=\"s\"]) svg {\n padding-left: var(--spacing-s);\n}\n:host([pl=\"m\"]) svg {\n padding-left: var(--spacing-m);\n}\n:host([pl=\"l\"]) svg {\n padding-left: var(--spacing-l);\n}\n:host([pl=\"xl\"]) svg {\n padding-left: var(--spacing-xl);\n}\n:host([p=\"xs\"]) svg {\n padding: var(--spacing-xs);\n}\n:host([p=\"s\"]) svg {\n padding: var(--spacing-s);\n}\n:host([p=\"m\"]) svg {\n padding: var(--spacing-m);\n}\n:host([p=\"l\"]) svg {\n padding: var(--spacing-l);\n}\n:host([p=\"xl\"]) svg {\n padding: var(--spacing-xl);\n}\n:host([ph=\"xs\"]) svg {\n padding-left: var(--spacing-xs);\n padding-right: var(--spacing-xs);\n}\n:host([ph=\"s\"]) svg {\n padding-left: var(--spacing-s);\n padding-right: var(--spacing-s);\n}\n:host([ph=\"m\"]) svg {\n padding-left: var(--spacing-m);\n padding-right: var(--spacing-m);\n}\n:host([ph=\"l\"]) svg {\n padding-left: var(--spacing-l);\n padding-right: var(--spacing-l);\n}\n:host([ph=\"xl\"]) svg {\n padding-left: var(--spacing-xl);\n padding-right: var(--spacing-xl);\n}\n:host([pv=\"xs\"]) svg {\n padding-top: var(--spacing-xs);\n padding-bottom: var(--spacing-xs);\n}\n:host([pv=\"s\"]) svg {\n padding-top: var(--spacing-s);\n padding-bottom: var(--spacing-s);\n}\n:host([pv=\"m\"]) svg {\n padding-top: var(--spacing-m);\n padding-bottom: var(--spacing-m);\n}\n:host([pv=\"l\"]) svg {\n padding-top: var(--spacing-l);\n padding-bottom: var(--spacing-l);\n}\n:host([pv=\"xl\"]) svg {\n padding-top: var(--spacing-xl);\n padding-bottom: var(--spacing-xl);\n}\n`", "import { css } from '../common.js'\nimport marginStyles from \"../styles/marginStyles.js\";\nimport flexChildStyles from \"../styles/flexChildStyles.js\";\nimport paddingSvgStyles from \"../styles/paddingSvgStyles.js\";\n\nconst styleSheet = new CSSStyleSheet();\nstyleSheet.replaceSync(css`\n\n:host([f=\"p\"]) path {\n fill: var(--color-primary);\n}\n:host([f=\"s\"]) path {\n fill: var(--color-secondary);\n}\n:host([f=\"e\"]) path {\n fill: var(--color-error);\n}\n:host([f=\"on-p\"]) path {\n fill: var(--color-on-primary);\n}\n:host([f=\"on-pc\"]) path {\n fill: var(--color-on-primary-container);\n}\n:host([f=\"on-s\"]) path {\n fill: var(--color-on-secondary);\n}\n:host([f=\"on-sc\"]) path {\n fill: var(--color-on-secondary-container);\n}\n:host([f=\"on-su\"]) path {\n fill: var(--color-on-surface);\n}\n:host([f=\"on-suv\"]) path {\n fill: var(--color-on-surface-variant);\n}\n:host([f=\"i-on-su\"]) path {\n fill: var(--color-inverse-on-surface);\n}\n:host([f=\"on-e\"]) path {\n fill: var(--color-on-error);\n}\n:host([f=\"on-ec\"]) path {\n fill: var(--color-on-error-container);\n}\n\n${paddingSvgStyles}\n${marginStyles}\n${flexChildStyles}\n`)\n\nfunction endsWithDigit(inputValue) {\n // Convert the input value to a string if it's not already one.\n const inputStr = String(inputValue);\n // Check if the last character of the string is a digit.\n return /[0-9]$/.test(inputStr);\n}\n\nconst dimensionWithUnit = (dimension) => {\n if (dimension === undefined) {\n return;\n }\n if (endsWithDigit(dimension)) {\n return `${dimension}px`;\n }\n return dimension;\n}\n\nclass RettangoliSvg extends HTMLElement {\n constructor() {\n super();\n this.shadow = this.attachShadow({ mode: \"closed\" });\n this.shadow.adoptedStyleSheets = [styleSheet];\n setTimeout(() => {\n this.render();\n })\n }\n\n static _icons = {};\n\n static get observedAttributes() {\n return ['src', 'w', 'h', 'of', 'wh'];\n }\n\n static get icons() {\n return RettangoliSvg._icons;\n }\n\n static addIcon(iconName, icon) {\n RettangoliSvg._icons[iconName] = icon;\n }\n\n attributeChangedCallback(name, oldValue, newValue) {\n const wh = this.getAttribute('wh');\n const width = dimensionWithUnit(wh === null ? this.getAttribute('w') : wh);\n const height = dimensionWithUnit(wh === null ? this.getAttribute('h') : wh);\n const widthCss = width ? `width: ${width}; min-width: ${width}; max-width: ${width};` : '';\n const heightCss = height? `height: ${height}; min-height: ${height}; max-height: ${height};` : '';\n const displayNone = this.hasAttribute('hidden') ? `display: none;` : ''\n\n let customStyle = `${widthCss} ${heightCss} ${displayNone}`\n this.style = customStyle;\n\n this.render();\n }\n\n render = () => {\n try {\n const iconName = this.getAttribute('svg');\n const svgStringContent = RettangoliSvg._icons[iconName] || (window['rtglIcons'] ||{})[iconName];\n if (svgStringContent) {\n this.shadow.innerHTML = svgStringContent;\n return;\n }\n } catch (error){\n console.log('error in rtgl-svg render', error)\n }\n this.shadow.innerHTML = '';\n }\n}\n\nexport default RettangoliSvg;\n", "import RettangoliButton from './components/button.js'\nimport RettangoliView from './components/view.js';\nimport RettangoliText from './components/text.js';\nimport RettangoliImage from './components/image.js';\nimport RettangoliForm from './components/form.js';\nimport RettangoliSvg from './components/svg.js';\n\ncustomElements.define(\"rtgl-button\", RettangoliButton);\ncustomElements.define(\"rtgl-view\", RettangoliView);\ncustomElements.define(\"rtgl-text\", RettangoliText);\ncustomElements.define(\"rtgl-image\", RettangoliImage);\ncustomElements.define(\"rtgl-form\", RettangoliForm);\ncustomElements.define(\"rtgl-svg\", RettangoliSvg);\n"],
|
5
|
-
"mappings": "uBAAA,GAAK,CAAC,QAAQA,EAAC,EAAE,MAAM,CAAC,eAAeC,GAAE,yBAAyBC,EAAC,EAAE,OAAOC,EAAE,CAAC,EAAEC,GAAE,IAAI,SAAS,YAAY,EAAEC,EAAE,CAACL,EAAE,EAAEE,KAAKF,EAAE,IAAI,EAAEE,CAAC,EAAEA,GAAG,CAAC,eAAeI,EAAC,EAAE,OAAWC,EAAMC,GAAE,CAACR,EAAE,EAAEE,KAAKK,IAAIA,EAAEH,GAAE,GAAGF,EAAEK,EAAE,cAAcP,CAAC,EAAEO,EAAE,eAAeP,CAAC,EAAEO,EAAE,YAAY,CAAC,EAAEA,EAAE,eAAe,EAAEP,GAASS,EAAE,CAAC,CAAC,WAAWT,EAAE,UAAU,CAAC,EAAEE,IAAIM,GAAER,EAAE,EAAEE,CAAC,EAAMQ,GAAE,GAASC,EAAE,CAACX,EAAE,IAAIU,IAAQV,EAAE,WAAP,GAAgB,EAAE,EAAE,EAAE,EAAES,EAAET,EAAE,EAAE,EAAEA,EAAE,UAAU,EAAEA,EAAE,QAAQ,EAAEA,EAAE,WAAWA,EAAEY,EAAEZ,GAAG,SAAS,cAAcA,CAAC,EAAQa,EAAN,cAAiBb,GAAG,CAAC,SAASC,EAAE,EAAE,CAAC,OAAOK,GAAE,EAAE,WAAW,SAAS,CAAC,CAAC,OAAOL,EAAE,UAAUD,EAAE,UAAU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AO,KAAO,KAAK,aAAa,GAAG,EAAIA,CAAE,EACpEG,EAAWF,EAAQ,UAAUA,CAAK,gBAAgBA,CAAK,gBAAgBA,CAAK,IAAM,GAClFG,EAAYF,EAAQ,WAAWA,CAAM,iBAAiBA,CAAM,iBAAiBA,CAAM,IAAM,GACzFG,EAAc,KAAK,aAAa,QAAQ,EAAI,iBAAmB,GAEjEC,EAAc,GAAGH,CAAQ,IAAIC,CAAS,IAAIC,CAAW,GACzD,KAAK,MAAQC,EAEb,KAAK,OAAO,CACd,CAEA,OAAS,IAAM,CACb,GAAI,CACA,IAAMX,EAAW,KAAK,aAAa,KAAK,EAClCY,EAAmBb,EAAc,OAAOC,CAAQ,IAAM,OAAO,WAAe,CAAC,GAAGA,CAAQ,EAC9F,GAAIY,EAAkB,CAClB,KAAK,OAAO,UAAYA,EACxB,MACJ,CACJ,OAASC,EAAM,CACX,QAAQ,IAAI,2BAA4BA,CAAK,CACjD,CACA,KAAK,OAAO,UAAY,EAC1B,CACF,EAEOC,GAAQhB,ECjHf,eAAe,OAAO,cAAeiB,EAAgB,EACrD,eAAe,OAAO,YAAaC,EAAc,EACjD,eAAe,OAAO,YAAaC,EAAc,EACjD,eAAe,OAAO,aAAcC,EAAe,EACnD,eAAe,OAAO,YAAaC,EAAc,EACjD,eAAe,OAAO,WAAYC,EAAa",
|
6
|
-
"names": ["e", "t", "n", "r", "s", "l", "i", "o", "c", "a", "u", "h", "d", "f", "#e", "#t", "#n", "p", "g", "m", "b", "v", "C", "w", "x", "$", "y", "N", "O", "k", "A", "M", "W", "S", "E", "T", "B", "D", "j", "L", "P", "z", "R", "Z", "G", "H", "V", "_", "I", "q", "J", "K", "Q", "U", "X", "Y", "ee", "te", "ne", "re", "se", "le", "ie", "oe", "ce", "css", "strings", "values", "str", "string", "i", "marginStyles_default", "css", "flexChildStyles_default", "css", "styleSheet", "css", "marginStyles_default", "flexChildStyles_default", "RettangoliButton", "shadow", "se", "te", "button_default", "flexGapStyles_default", "css", "paddingStyles_default", "css", "flexDirectionStyles_default", "css", "backgroundColorStyles_default", "css", "styleSheet", "css", "flexChildStyles_default", "flexDirectionStyles_default", "flexGapStyles_default", "backgroundColorStyles_default", "paddingStyles_default", "marginStyles_default", "endsWithDigit", "inputValue", "inputStr", "dimensionWithUnit", "dimension", "RettangoliView", "se", "name", "oldValue", "newValue", "wh", "width", "height", "widthCss", "heightCss", "displayNone", "customStyle", "te", "view_default", "styleSheet", "css", "marginStyles_default", "flexChildStyles_default", "RettangoliText", "shadow", "se", "te", "text_default", "styleSheet", "css", "marginStyles_default", "flexChildStyles_default", "endsWithDigit", "inputValue", "inputStr", "dimensionWithUnit", "dimension", "RettangoliImage", "se", "name", "oldValue", "newValue", "wh", "width", "height", "widthCss", "heightCss", "displayNone", "customStyle", "te", "image_default", "styleSheet", "css", "flexChildStyles_default", "backgroundColorStyles_default", "marginStyles_default", "RettangoliForm", "se", "formData", "data", "key", "value", "te", "field", "inputField", "formRef", "form_default", "paddingSvgStyles_default", "css", "styleSheet", "css", "paddingSvgStyles_default", "marginStyles_default", "flexChildStyles_default", "endsWithDigit", "inputValue", "inputStr", "dimensionWithUnit", "dimension", "RettangoliSvg", "_RettangoliSvg", "iconName", "icon", "name", "oldValue", "newValue", "wh", "width", "height", "widthCss", "heightCss", "displayNone", "customStyle", "svgStringContent", "error", "svg_default", "button_default", "view_default", "text_default", "image_default", "form_default", "svg_default"]
|
7
|
-
}
|