lyco 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,9 +1,5 @@
1
1
  # Lyco
2
2
 
3
- <p align="center">
4
- <a href="./README_EN.md"> English </a> | <span> 简体中文 </span>
5
- </p>
6
-
7
3
  ## 基于 Lit 的纯 CSS 布局渲染函数库
8
4
 
9
5
  `Lyco` 是一个基于 [Lit](https://lit.dev) 构建的轻量级 CSS 布局库,提供了多种常用的布局组件(如 Row, Column, Flex, Grid 等),帮助开发者更高效地构建响应式网页布局。
package/dist/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));const c=s(require(`lit`));function l(e){return e?typeof e==`function`?e():e:c.html``}function u(e,t){let n=e?.fadeBg??`rgba(0,0,0,0.7)`,r=e?.zIndex??2e3;return c.html`
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));const c=s(require(`lit`));function l(e){return e?typeof e==`function`?e():e:c.html``}function u(e,t){let n=t??(e=>e);if(e===void 0)return c.html``;if(Array.isArray(e))return e.map((e,t)=>n(l(e),t));if(typeof e!=`function`)return n(e);let r=e();return Array.isArray(r)?r.map((e,t)=>n(l(e),t)):n(l(r))}function d(e,t){let n=e?.fadeBg??`rgba(0,0,0,0.7)`,r=e?.zIndex??2e3;return c.html`
2
2
  <div
3
3
  style="
4
4
  position: fixed;
@@ -12,7 +12,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
12
12
  >
13
13
  ${l(t)}
14
14
  </div>
15
- `}function d(e,t){return c.html`
15
+ `}function f(e,t){return c.html`
16
16
  <div
17
17
  style="
18
18
  display: flex;
@@ -20,9 +20,9 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
20
20
  ${e?.space?`gap: ${e.space};`:``}
21
21
  "
22
22
  >
23
- ${l(t)}
23
+ ${u(t)}
24
24
  </div>
25
- `}function f(e,t){let n=e?.direction??`row`;return c.html`
25
+ `}function p(e,t){let n=e?.direction??`row`;return c.html`
26
26
  <div
27
27
  style="
28
28
  display: flex;
@@ -34,11 +34,11 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
34
34
  >
35
35
  ${l(t)}
36
36
  </div>
37
- `}function p(e,t){return c.html`
37
+ `}function m(e,t){return c.html`
38
38
  <div style="break-inside: avoid; margin-bottom: 16px;">
39
39
  ${l(t)}
40
40
  </div>
41
- `}function m(e,t){let n=e?.columns??1;return c.html`
41
+ `}function h(e,t){let n=e?.columns??1;return c.html`
42
42
  <div
43
43
  style="
44
44
  display: grid;
@@ -46,9 +46,9 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
46
46
  ${e?.gap?`gap: ${e.gap};`:``}
47
47
  "
48
48
  >
49
- ${l(t)}
49
+ ${u(t)}
50
50
  </div>
51
- `}function h(e,t){return c.html`
51
+ `}function g(e,t){return c.html`
52
52
  <div
53
53
  style="
54
54
  display: grid;
@@ -58,11 +58,11 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
58
58
  >
59
59
  ${l(t)}
60
60
  </div>
61
- `}function g(e,t){return c.html`
61
+ `}function _(e,t){return c.html`
62
62
  <div style="${e?.span?`grid-column: span ${e.span};`:``}">
63
63
  ${l(t)}
64
64
  </div>
65
- `}function _(e,t){return c.html`
65
+ `}function v(e,t){return c.html`
66
66
  <div
67
67
  style="
68
68
  display: grid;
@@ -72,7 +72,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
72
72
  >
73
73
  ${l(t)}
74
74
  </div>
75
- `}function v(e,t){return c.html`
75
+ `}function y(e,t){return c.html`
76
76
  <div
77
77
  style="
78
78
  display: flex;
@@ -80,9 +80,9 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
80
80
  ${e?.space?`gap: ${e.space};`:``}
81
81
  "
82
82
  >
83
- ${l(t)}
83
+ ${u(t)}
84
84
  </div>
85
- `}function y(e,t){let n=e?.columnCount??3,r=e?.gap??`16px`;return c.html`
85
+ `}function b(e,t){let n=e?.columnCount??3,r=e?.gap??`16px`;return c.html`
86
86
  <div
87
87
  style="
88
88
  column-count: ${n};
@@ -91,7 +91,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
91
91
  >
92
92
  ${l(t)}
93
93
  </div>
94
- `}function b(e,t){let n=e?.gap??`0px`,r=e?.firstHeight??`50%`,i=c.html``,a=c.html``;if(typeof t==`function`){var o;let e=(o=t.call)?.call(t,null)??[];i=e[0]??c.html``,a=e[1]??c.html``}else i=l(t);return c.html`
94
+ `}function x(e,t){let n=e?.gap??`0px`,r=e?.firstHeight??`50%`,i=c.html``,a=c.html``;if(typeof t==`function`){var o;let e=(o=t.call)?.call(t,null)??[];i=e[0]??c.html``,a=e[1]??c.html``}else i=l(t);return c.html`
95
95
  <div
96
96
  style="
97
97
  display: flex;
@@ -104,7 +104,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
104
104
  <div style="flex: 0 0 ${r}; overflow: auto;">${i}</div>
105
105
  <div style="flex: 1 1 auto; overflow: auto;">${a}</div>
106
106
  </div>
107
- `}function x(e,t){let n=e?.gap??`0px`,r=e?.firstWidth??`50%`,i=c.html``,a=c.html``;if(typeof t==`function`){var o;let e=(o=t.call)?.call(t,null)??[];i=e[0]??c.html``,a=e[1]??c.html``}else i=l(t);return c.html`
107
+ `}function S(e,t){let n=e?.gap??`0px`,r=e?.firstWidth??`50%`,i=c.html``,a=c.html``;if(typeof t==`function`){var o;let e=(o=t.call)?.call(t,null)??[];i=e[0]??c.html``,a=e[1]??c.html``}else i=l(t);return c.html`
108
108
  <div
109
109
  style="
110
110
  display: flex;
@@ -117,7 +117,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
117
117
  <div style="flex: 0 0 ${r}; overflow: auto;">${i}</div>
118
118
  <div style="flex: 1 1 auto; overflow: auto;">${a}</div>
119
119
  </div>
120
- `}function S(e,t){let n=e?.direction??`vertical`,r=e?.height??`100%`,i=e?.width??`100%`,a=e?.customCss??``,o=n===`horizontal`?`overflow-x: auto; overflow-y: hidden`:`overflow-y: auto; overflow-x: hidden`;return c.html`
120
+ `}function C(e,t){let n=e?.direction??`vertical`,r=e?.height??`100%`,i=e?.width??`100%`,a=e?.customCss??``,o=n===`horizontal`?`overflow-x: auto; overflow-y: hidden`:`overflow-y: auto; overflow-x: hidden`;return c.html`
121
121
  <style>
122
122
  .scrollbar-container {
123
123
  ${o};
@@ -138,7 +138,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
138
138
  ${a}
139
139
  </style>
140
140
  <div class="scrollbar-container">${l(t)}</div>
141
- `}function C(e,t){let n=e?.sidebarWidth??`240px`,r=e?.sidebarPosition??`left`,i=e?.gap??`0px`,a=c.html``,o=c.html``;if(typeof t==`function`){var s;let e=(s=t.call)?.call(t,null)??[];a=e[0]??c.html``,o=e[1]??c.html``}else o=l(t);return c.html`
141
+ `}function w(e,t){let n=e?.sidebarWidth??`240px`,r=e?.sidebarPosition??`left`,i=e?.gap??`0px`,a=c.html``,o=c.html``;if(typeof t==`function`){var s;let e=(s=t.call)?.call(t,null)??[];a=e[0]??c.html``,o=e[1]??c.html``}else o=u(t);return c.html`
142
142
  <div
143
143
  style="
144
144
  display: flex;
@@ -151,7 +151,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
151
151
  <div style="flex: 0 0 ${n}; overflow: auto;">${a}</div>
152
152
  <div style="flex: 1 1 auto; overflow: auto;">${o}</div>
153
153
  </div>
154
- `}function w(e,t){var n;let r=e?.gap??`8px`,i=e?.snapType??`mandatory`,a=e?.height??`auto`,o=e?.width??`100%`,s=[];return typeof t==`function`?s=(n=t.call)?.call(t,null)??[]:t&&(s=[t]),c.html`
154
+ `}function T(e,t){var n;let r=e?.gap??`8px`,i=e?.snapType??`mandatory`,a=e?.height??`auto`,o=e?.width??`100%`,s=[];return typeof t==`function`?s=(n=t.call)?.call(t,null)??[]:t&&(s=[t]),c.html`
155
155
  <style>
156
156
  .swiper-container {
157
157
  width: ${o};
@@ -171,7 +171,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
171
171
  <div class="swiper-container">
172
172
  ${s.map(e=>c.html` <div class="swiper-slide">${e}</div> `)}
173
173
  </div>
174
- `}function T(e,t){let n=e?.top?`top: ${e.top};`:``,r=e?.right?`right: ${e.right};`:``,i=e?.bottom?`bottom: ${e.bottom};`:``,a=e?.left?`left: ${e.left};`:``,o=e?.width?`width: ${e.width};`:``,s=e?.height?`height: ${e.height};`:``,u=typeof e?.zIndex==`number`?`z-index: ${e.zIndex};`:``;return c.html`
174
+ `}function E(e,t){let n=e?.top?`top: ${e.top};`:``,r=e?.right?`right: ${e.right};`:``,i=e?.bottom?`bottom: ${e.bottom};`:``,a=e?.left?`left: ${e.left};`:``,o=e?.width?`width: ${e.width};`:``,s=e?.height?`height: ${e.height};`:``,u=typeof e?.zIndex==`number`?`z-index: ${e.zIndex};`:``;return c.html`
175
175
  <div
176
176
  style="
177
177
  position: absolute;
@@ -182,7 +182,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
182
182
  >
183
183
  ${l(t)}
184
184
  </div>
185
- `}function E(e,t){let n=e?.width??`300px`,r=e?.height??`auto`,i=e?.top??`20%`,a=e?.bottom??`auto`,o=e?.left??`50%`,s=e?.right??`auto`,u=o===`auto`?``:`transform: translateX(-50%);`,d=e?.background??`rgba(255, 255, 255, 0.3)`,f=e?.blur??`10px`,p=e?.borderRadius??`12px`,m=e?.padding??`16px`,h=e?.zIndex??1e3;return c.html`
185
+ `}function D(e,t){let n=e?.width??`300px`,r=e?.height??`auto`,i=e?.top??`20%`,a=e?.bottom??`auto`,o=e?.left??`50%`,s=e?.right??`auto`,l=o===`auto`?``:`transform: translateX(-50%);`,d=e?.background??`rgba(255, 255, 255, 0.3)`,f=e?.blur??`10px`,p=e?.borderRadius??`12px`,m=e?.padding??`16px`,h=e?.zIndex??1e3;return c.html`
186
186
  <div
187
187
  style="
188
188
  position: fixed;
@@ -190,7 +190,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
190
190
  bottom: ${a};
191
191
  left: ${o};
192
192
  right: ${s};
193
- ${u}
193
+ ${l}
194
194
  width: ${n};
195
195
  height: ${r};
196
196
  background: ${d};
@@ -204,9 +204,9 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
204
204
  flex-direction: column;
205
205
  "
206
206
  >
207
- ${l(t)}
207
+ ${u(t)}
208
208
  </div>
209
- `}function D(e,t){let n=`${100/e.ratio}%`,r=e.maxWidth?`max-width: ${e.maxWidth};`:``,i=e.background?`background: ${e.background};`:``,a=e.overflow??`hidden`;return c.html`
209
+ `}function O(e,t){let n=`${100/e.ratio}%`,r=e.maxWidth?`max-width: ${e.maxWidth};`:``,i=e.background?`background: ${e.background};`:``,a=e.overflow??`hidden`;return c.html`
210
210
  <div
211
211
  style="
212
212
  position: relative;
@@ -226,10 +226,10 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
226
226
  height: 100%;
227
227
  "
228
228
  >
229
- ${l(t)}
229
+ ${u(t)}
230
230
  </div>
231
231
  </div>
232
- `}function O(e,t){let n=e?.gap??`16px`;return c.html`
232
+ `}function k(e,t){let n=e?.gap??`16px`;return c.html`
233
233
  <div
234
234
  style="
235
235
  display: grid;
@@ -239,11 +239,9 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
239
239
  >
240
240
  ${l(t)}
241
241
  </div>
242
- `}function k(e,t){let n=e?.size??`32px`,r=e?.overlap??`-8px`;return c.html`
243
- <div style="display: flex; align-items: center;">
244
- ${typeof t==`function`?t().map((e,t)=>c.html`
245
- <div
246
- style="
242
+ `}function A(e,t){let n=e?.size??`32px`,r=e?.overlap??`-8px`,i=(e,t)=>c.html`
243
+ <div
244
+ style="
247
245
  width: ${n};
248
246
  height: ${n};
249
247
  border-radius: 50%;
@@ -252,12 +250,14 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
252
250
  margin-left: ${t===0?`0`:r};
253
251
  box-sizing: content-box;
254
252
  "
255
- >
256
- ${e}
257
- </div>
258
- `):c.html``}
253
+ >
254
+ ${e}
255
+ </div>
256
+ `;return c.html`
257
+ <div style="display: flex; align-items: center;">
258
+ ${u(t,i)}
259
259
  </div>
260
- `}function A(e,t){let n=e?.position??`top-right`,r=e?.size??`16px`,i=e?.background??`red`,a=e?.color??`#fff`,[o,s,u,d]=[n.includes(`top`)?`0`:`auto`,n.includes(`right`)?`0`:`auto`,n.includes(`bottom`)?`0`:`auto`,n.includes(`left`)?`0`:`auto`];return c.html`
260
+ `}function j(e,t){let n=e?.position??`top-right`,r=e?.size??`16px`,i=e?.background??`red`,a=e?.color??`#fff`,[o,s,u,d]=[n.includes(`top`)?`0`:`auto`,n.includes(`right`)?`0`:`auto`,n.includes(`bottom`)?`0`:`auto`,n.includes(`left`)?`0`:`auto`];return c.html`
261
261
  <div style="position: relative; display: inline-block;">
262
262
  ${l(t)}
263
263
  <div
@@ -282,7 +282,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
282
282
  ${e?.content??``}
283
283
  </div>
284
284
  </div>
285
- `}function j(e,t){let n=e?.padding??`16px`,r=e?.borderRadius??`8px`,i=e?.shadow??`0 2px 8px rgba(0,0,0,0.1)`,a=e?.background??`#fff`;return c.html`
285
+ `}function M(e,t){let n=e?.padding??`16px`,r=e?.borderRadius??`8px`,i=e?.shadow??`0 2px 8px rgba(0,0,0,0.1)`,a=e?.background??`#fff`;return c.html`
286
286
  <div
287
287
  style="
288
288
  background: ${a};
@@ -292,9 +292,9 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
292
292
  box-sizing: border-box;
293
293
  "
294
294
  >
295
- ${l(t)}
295
+ ${u(t)}
296
296
  </div>
297
- `}function M(e,t){let n=e?.width?`width: ${e.width};`:``,r=e?.height?`height: ${e.height};`:``,i=e?.background?`background: ${e.background};`:``;return c.html`
297
+ `}function N(e,t){let n=e?.width?`width: ${e.width};`:``,r=e?.height?`height: ${e.height};`:``,i=e?.background?`background: ${e.background};`:``;return c.html`
298
298
  <div
299
299
  style="
300
300
  display: flex;
@@ -305,7 +305,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
305
305
  >
306
306
  ${l(t)}
307
307
  </div>
308
- `}function N(e,t){let n=e?.maxWidth??`1024px`,r=e?.padding??`0 16px`,i=e?.background?`background: ${e.background};`:``,a=e?.fullHeight?`height: 100%;`:``;return c.html`
308
+ `}function P(e,t){let n=e?.maxWidth??`1024px`,r=e?.padding??`0 16px`,i=e?.background?`background: ${e.background};`:``,a=e?.fullHeight?`height: 100%;`:``;return c.html`
309
309
  <div
310
310
  style="
311
311
  width: 100%;
@@ -318,9 +318,9 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
318
318
  box-sizing: border-box;
319
319
  "
320
320
  >
321
- ${l(t)}
321
+ ${u(t)}
322
322
  </div>
323
- `}function P(e){let t=e?.orientation??`horizontal`,n=e?.thickness??`1px`,r=e?.color??`#e0e0e0`,i=e?.margin??(t===`horizontal`?`8px 0`:`0 8px`),a=t===`horizontal`?`width: 100%; height: ${n}; background: ${r}; margin: ${i};`:`width: ${n}; height: 100%; background: ${r}; margin: ${i};`;return c.html`<div style="${a}"></div>`}function F(e,t){let n=e?.columns??4,r=e?.gap??`24px`,i=e?.background??`#f8f8f8`,a=e?.padding??`40px 16px`;return c.html`
323
+ `}function F(e){let t=e?.orientation??`horizontal`,n=e?.thickness??`1px`,r=e?.color??`#e0e0e0`,i=e?.margin??(t===`horizontal`?`8px 0`:`0 8px`),a=t===`horizontal`?`width: 100%; height: ${n}; background: ${r}; margin: ${i};`:`width: ${n}; height: 100%; background: ${r}; margin: ${i};`;return c.html`<div style="${a}"></div>`}function I(e,t){let n=e?.columns??4,r=e?.gap??`24px`,i=e?.background??`#f8f8f8`,a=e?.padding??`40px 16px`;return c.html`
324
324
  <div
325
325
  style="
326
326
  width: 100%;
@@ -342,7 +342,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
342
342
  © ${new Date().getFullYear()} Your Company. All rights reserved.
343
343
  </div>
344
344
  </div>
345
- `}function I(e,t){let n=e.defaultColumns??1,r=e.gap??`16px`,i=Object.entries(e.breakpoints).map(([e,t])=>`
345
+ `}function L(e,t){let n=e.defaultColumns??1,r=e.gap??`16px`,i=Object.entries(e.breakpoints).map(([e,t])=>`
346
346
  @media ${e} {
347
347
  .grid-breakpoint { grid-template-columns: repeat(${t}, 1fr); }
348
348
  }
@@ -357,7 +357,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
357
357
  ${i}
358
358
  </style>
359
359
  <div class="grid-breakpoint">${l(t)}</div>
360
- `}function L(e,t){let n=e?.backgroundImage?`background-image: url('${e.backgroundImage}');`:``,r=e?.height??`400px`,i=e?.overlayColor??`rgba(0, 0, 0, 0.3)`;return c.html`
360
+ `}function R(e,t){let n=e?.backgroundImage?`background-image: url('${e.backgroundImage}');`:``,r=e?.height??`400px`,i=e?.overlayColor??`rgba(0, 0, 0, 0.3)`;return c.html`
361
361
  <div
362
362
  style="
363
363
  position: relative;
@@ -391,10 +391,10 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
391
391
  box-sizing: border-box;
392
392
  "
393
393
  >
394
- ${l(t)}
394
+ ${u(t)}
395
395
  </div>
396
396
  </div>
397
- `}function R(e,t){let n=e?.breakpoint??`(max-width: 600px)`,r=e?.mode??`hide`,i=r===`hide`?`@media ${n} { .hidden-container { display: none !important; } }`:`@media ${n} { .hidden-container { display: block !important; } }
397
+ `}function z(e,t){let n=e?.breakpoint??`(max-width: 600px)`,r=e?.mode??`hide`,i=r===`hide`?`@media ${n} { .hidden-container { display: none !important; } }`:`@media ${n} { .hidden-container { display: block !important; } }
398
398
  @media not ${n} { .hidden-container { display: none !important; } }`;return c.html`
399
399
  <style>
400
400
  .hidden-container {
@@ -403,7 +403,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
403
403
  ${i}
404
404
  </style>
405
405
  <div class="hidden-container">${l(t)}</div>
406
- `}function z(e,t){let n=e?.bordered?`border: 1px solid #ddd; border-radius: 4px`:``,r=e?.striped?`li:nth-child(even) { background: #f9f9f9; }`:``,i=e?.hover?`li:hover { background: #f1f1f1; cursor: pointer; }`:``;return c.html`
406
+ `}function B(e,t){let n=e?.bordered?`border: 1px solid #ddd; border-radius: 4px`:``,r=e?.striped?`li:nth-child(even) { background: #f9f9f9; }`:``,i=e?.hover?`li:hover { background: #f1f1f1; cursor: pointer; }`:``;return c.html`
407
407
  <style>
408
408
  ul.list-group {
409
409
  list-style: none;
@@ -424,7 +424,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
424
424
  <ul class="list-group">
425
425
  ${l(t)}
426
426
  </ul>
427
- `}function B(e,t){let n=e?.background??`rgba(0, 0, 0, 0.5)`,r=e?.zIndex??1e3,i=e?.fullScreen!==!1;return c.html`
427
+ `}function V(e,t){let n=e?.background??`rgba(0, 0, 0, 0.5)`,r=e?.zIndex??1e3,i=e?.fullScreen!==!1;return c.html`
428
428
  <div
429
429
  style="
430
430
  position: ${i?`fixed`:`absolute`};
@@ -436,9 +436,9 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
436
436
  align-items: center;
437
437
  "
438
438
  >
439
- ${l(t)}
439
+ ${u(t)}
440
440
  </div>
441
- `}function V(e,t){let n=e?.width?`width: ${e.width};`:``,r=e?.height?`height: ${e.height};`:``,i=e?.background?`background: ${e.background};`:``;return c.html`
441
+ `}function H(e,t){let n=e?.width?`width: ${e.width};`:``,r=e?.height?`height: ${e.height};`:``,i=e?.background?`background: ${e.background};`:``;return c.html`
442
442
  <div
443
443
  style="
444
444
  position: relative;
@@ -448,7 +448,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
448
448
  >
449
449
  ${l(t)}
450
450
  </div>
451
- `}function H(e){let t=e?.width?`width: ${e.width};`:``,n=e?.height?`height: ${e.height};`:``;return c.html` <div style="${t} ${n}"></div> `}function U(e){let t=e?.type??`rect`,n=e?.width??`100%`,r=e?.height??`16px`,i=e?.borderRadius??`4px`,a=e?.animation!==!1,o=t===`circle`?`border-radius: 50%; width: ${n}; height: ${n}`:`border-radius: ${i}; width: ${n}; height: ${r}`;return c.html`
451
+ `}function U(e){let t=e?.width?`width: ${e.width};`:``,n=e?.height?`height: ${e.height};`:``;return c.html` <div style="${t} ${n}"></div> `}function W(e){let t=e?.type??`rect`,n=e?.width??`100%`,r=e?.height??`16px`,i=e?.borderRadius??`4px`,a=e?.animation!==!1,o=t===`circle`?`border-radius: 50%; width: ${n}; height: ${n}`:`border-radius: ${i}; width: ${n}; height: ${r}`;return c.html`
452
452
  <style>
453
453
  ${`
454
454
  @keyframes skeleton-shimmer {
@@ -464,7 +464,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
464
464
  }
465
465
  </style>
466
466
  <div class="skeleton"></div>
467
- `}function W(){return c.html`<div style="flex: 1 1 auto;"></div>`}function G(e,t){let n=e?.top?`top: ${e.top};`:``,r=e?.bottom?`bottom: ${e.bottom};`:``,i=typeof e?.zIndex==`number`?`z-index: ${e.zIndex};`:``;return c.html`
467
+ `}function G(){return c.html`<div style="flex: 1 1 auto;"></div>`}function K(e,t){let n=e?.top?`top: ${e.top};`:``,r=e?.bottom?`bottom: ${e.bottom};`:``,i=typeof e?.zIndex==`number`?`z-index: ${e.zIndex};`:``;return c.html`
468
468
  <div
469
469
  style="
470
470
  position: sticky;
@@ -474,7 +474,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
474
474
  >
475
475
  ${l(t)}
476
476
  </div>
477
- `}function K(e,t){let n=e?.striped?`
477
+ `}function q(e,t){let n=e?.striped?`
478
478
  tr:nth-child(even) { background: #f9f9f9; }
479
479
  `:``,r=e?.hover?`
480
480
  tr:hover { background: #f1f1f1; }
@@ -497,7 +497,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
497
497
  <table>
498
498
  ${l(t)}
499
499
  </table>
500
- `}function q(e,t){let n=e?.direction??`row`;return c.html`
500
+ `}function J(e,t){let n=e?.direction??`row`;return c.html`
501
501
  <div
502
502
  style="
503
503
  display: flex;
@@ -508,9 +508,9 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
508
508
  ${e?.justify?`justify-content: ${e.justify};`:``}
509
509
  "
510
510
  >
511
- ${l(t)}
511
+ ${u(t)}
512
512
  </div>
513
- `}function J(e,t){let n=e?.width?`width: ${e.width};`:``,r=e?.height?`height: ${e.height};`:``,i=e?.background?`background: ${e.background};`:``,a=`flex-start`,o=`flex-start`;switch(e?.align){case`top-right`:a=`flex-end`,o=`flex-start`;break;case`center`:a=`center`,o=`center`;break;case`bottom-left`:a=`flex-start`,o=`flex-end`;break;case`bottom-right`:a=`flex-end`,o=`flex-end`;break;default:a=`flex-start`,o=`flex-start`}return c.html`
513
+ `}function Y(e,t){let n=e?.width?`width: ${e.width};`:``,r=e?.height?`height: ${e.height};`:``,i=e?.background?`background: ${e.background};`:``,a=`flex-start`,o=`flex-start`;switch(e?.align){case`top-right`:a=`flex-end`,o=`flex-start`;break;case`center`:a=`center`,o=`center`;break;case`bottom-left`:a=`flex-start`,o=`flex-end`;break;case`bottom-right`:a=`flex-end`,o=`flex-end`;break;default:a=`flex-start`,o=`flex-start`}return c.html`
514
514
  <div
515
515
  style="
516
516
  position: relative;
@@ -520,7 +520,7 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
520
520
  ${n} ${r} ${i}
521
521
  "
522
522
  >
523
- ${l(t)}
523
+ ${u(t)}
524
524
  </div>
525
- `}exports.AbsoluteBox=T,exports.AcrylicBar=E,exports.AspectRatio=D,exports.AutoFitGrid=O,exports.AvatarStack=k,exports.Badge=A,exports.Card=j,exports.Center=M,exports.Column=d,exports.ColumnSplit=b,exports.Container=N,exports.Divider=P,exports.Flex=f,exports.FlowItem=p,exports.FooterLayout=F,exports.Grid=m,exports.GridBreakpoint=I,exports.GridCol=h,exports.GridItem=g,exports.GridRow=_,exports.HeroSection=L,exports.Hidden=R,exports.LightboxContainer=u,exports.ListGroup=z,exports.Overlay=B,exports.PositionContainer=V,exports.Row=v,exports.RowSplit=x,exports.ScrollBar=S,exports.SideBarContainer=C,exports.SizedBox=H,exports.SkeletonLoader=U,exports.Spacer=W,exports.Sticky=G,exports.Swiper=w,exports.Table=K,exports.WaterFlow=y,exports.Wrap=q,exports.ZStack=J;
525
+ `}exports.AbsoluteBox=E,exports.AcrylicBar=D,exports.AspectRatio=O,exports.AutoFitGrid=k,exports.AvatarStack=A,exports.Badge=j,exports.Card=M,exports.Center=N,exports.Column=f,exports.ColumnSplit=x,exports.Container=P,exports.Divider=F,exports.Flex=p,exports.FlowItem=m,exports.FooterLayout=I,exports.Grid=h,exports.GridBreakpoint=L,exports.GridCol=g,exports.GridItem=_,exports.GridRow=v,exports.HeroSection=R,exports.Hidden=z,exports.LightboxContainer=d,exports.ListGroup=B,exports.Overlay=V,exports.PositionContainer=H,exports.Row=y,exports.RowSplit=S,exports.ScrollBar=C,exports.SideBarContainer=w,exports.SizedBox=U,exports.SkeletonLoader=W,exports.Spacer=G,exports.Sticky=K,exports.Swiper=T,exports.Table=q,exports.WaterFlow=b,exports.Wrap=J,exports.ZStack=Y;
526
526
  //# sourceMappingURL=index.cjs.js.map