@mhmo91/schmancy 0.4.19 → 0.4.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,215 +1,211 @@
1
1
  import "./animated-text-CNPSIIYg.js";
2
- import { F as g, H as u, b as D, S as b, a as w, r as T } from "./area.component-i-mmh5is.js";
3
- import { l as R, h as A, c as I, f as v, j as N, a as H, b as E, d as B, e as F, k as O, g as $, i as j, n as k, s as L } from "./utils-jduntaQU.js";
2
+ import { F as u, H as D, b as w, S as T, a as b, r as M } from "./area.component-i-mmh5is.js";
3
+ import { l as I, h as A, c as v, f as N, j as H, a as E, b as B, d as F, e as O, k as $, g as j, i as k, n as L, s as P } from "./utils-jduntaQU.js";
4
4
  import "./autocomplete-EapOt3ES.js";
5
- import { $ as Y, H as z, q as G, S as W, f as V, c as K, g as _, d as q, e as Q, h as J, a as U, b as X, j as Z, l as aa, m as ea, n as ra, k as ta, o as oa, p as ca, W as sa, s as na, i as ma, t as Sa } from "./avatar-7Rif8_0P.js";
6
- import { S as ya } from "./boat-DPTS3Kpw.js";
5
+ import { $ as z, H as G, q as W, S as V, f as K, c as _, g as q, d as Q, e as J, h as U, a as X, b as Z, j as aa, l as ea, m as ra, n as ta, k as oa, o as sa, p as ca, W as na, s as ma, i as Sa, t as ia } from "./avatar-CPbVhMW7.js";
6
+ import { S as ha } from "./boat-DPTS3Kpw.js";
7
7
  import "./spinner-BPqLh7JL.js";
8
- import { S as pa, a as la } from "./icon-button-Ckd9jE-a.js";
9
- import { S as xa, a as da, b as Ca, c as ga } from "./media-BG2j6r0I.js";
10
- import { S as Da } from "./checkbox-B85eeKqn.js";
8
+ import { S as la, a as fa } from "./icon-button-Ckd9jE-a.js";
9
+ import "./media-DHgb7H9L.js";
10
+ import { S as da } from "./checkbox-B85eeKqn.js";
11
11
  import "./chips-BNRMzGrx.js";
12
- import { S as wa } from "./circular-progress-Cl_dXUPO.js";
13
- import { S as Ma, S as Ra, a as Aa } from "./code-preview-B8X7JaxA.js";
14
- import { S as va } from "./payment-card-form-GEOaUypQ.js";
15
- import { S as Ha, v as Ea } from "./date-range-9sVFbxK0.js";
16
- import { S as Fa } from "./date-range-inline-Bqnc8wBb.js";
17
- import { S as $a, d as ja } from "./delay-u5isp6Vb.js";
18
- import { C as La, S as Pa, a as Ya } from "./dialog-content-ZpgRQC1m.js";
19
- import { $ as Ga, D as Wa } from "./dialog-service-DFMlRcXf.js";
20
- import { c as Ka, f as _a, r as qa } from "./ripple-BumgqsDT.js";
12
+ import { S as ga } from "./circular-progress-Cl_dXUPO.js";
13
+ import { S as Da, S as wa, a as Ta } from "./code-preview-B8X7JaxA.js";
14
+ import { S as Ma } from "./payment-card-form-GEOaUypQ.js";
15
+ import { S as Ia, v as Aa } from "./date-range-9sVFbxK0.js";
16
+ import { S as Na } from "./date-range-inline-Bqnc8wBb.js";
17
+ import { S as Ea, d as Ba } from "./delay-u5isp6Vb.js";
18
+ import { C as Oa, S as $a, a as ja } from "./dialog-content-ZpgRQC1m.js";
19
+ import { $ as La, D as Pa } from "./dialog-service-DFMlRcXf.js";
20
+ import { c as za, f as Ga, r as Wa } from "./ripple-BumgqsDT.js";
21
21
  import "./divider-BK4PNB76.js";
22
- import { S as Ja, a as Ua } from "./dropdown-content-DbHKYDCS.js";
23
- import { S as Za, a as ae } from "./timezone-CEEEd-9_.js";
22
+ import { S as Ka, a as _a } from "./dropdown-content-DbHKYDCS.js";
23
+ import { S as Qa, a as Ja } from "./timezone-CEEEd-9_.js";
24
24
  import "./form-CMv0SQko.js";
25
25
  import "./icon--s5dpU1N.js";
26
26
  import "./input-P8bwT-4D.js";
27
- import { S as re, c as te, a as oe, b as ce } from "./flex-JcwYdb2G.js";
28
- import { L as ne, a as me, S as Se } from "./list-rGydduh7.js";
27
+ import { S as Xa, c as Za, a as ae, b as ee } from "./flex-JcwYdb2G.js";
28
+ import { L as te, a as oe, S as se } from "./list-rGydduh7.js";
29
29
  import "./menu-DvZSvoOx.js";
30
- import { $ as ye, N as he, S as pe, a as le } from "./notification-service-DKHubhXv.js";
30
+ import { $ as ne, N as me, S as Se, a as ie } from "./notification-service-DKHubhXv.js";
31
31
  import "./option-T6zGawbH.js";
32
32
  import "./progress-EL16etnw.js";
33
- import { a as xe, R as de } from "./radio-button-BQ7snEVj.js";
34
- import { mutationObserver as ge } from "./rxjs-utils.js";
33
+ import { a as he, R as pe } from "./radio-button-BQ7snEVj.js";
34
+ import { mutationObserver as fe } from "./rxjs-utils.js";
35
35
  import "rxjs";
36
36
  import "./index-CuY8m6ta.js";
37
- import { S as De } from "./select-Bl8FO2kb.js";
37
+ import { S as de } from "./select-Bl8FO2kb.js";
38
38
  import "./sheet-WpG2m2yT.js";
39
- import { S as we, d as Te, b as Me, a as Re, c as Ae, T as Ie, f as ve, s as Ne, t as He } from "./sheet.service-COPNmxwp.js";
40
- import { S as Be, a as Fe } from "./slider-4ggti1yr.js";
41
- import { S as $e, a as je, b as ke, s as Le } from "./schmancy-steps-container-2WW-9LYL.js";
42
- import { B as Ye, I as ze, L as Ge, M as We, S as Ve, a as Ke, b as _e, d as qe, c as Qe } from "./context-object-CDDP4bTk.js";
43
- import { p as Ue, a as Xe, v as Ze, G as ar, c as er, E as rr, z as tr, C as or, B as cr, x as sr, w as nr, y as mr, D as Sr, F as ir, u as yr, A as hr, b as pr, r as lr, d as fr, q as xr, f as dr, g as Cr, i as gr, j as ur, k as Dr, l as br, o as wr, h as Tr, n as Mr, m as Rr, e as Ar, s as Ir, t as vr } from "./selector-hook-BvXML7_4.js";
44
- import { a as Hr, S as Er } from "./surface-1xboRERM.js";
45
- import { a as Fr, S as Or } from "./table-C6EWKqDY.js";
39
+ import { S as ge, d as ue, b as De, a as we, c as Te, T as be, f as Me, s as Re, t as Ie } from "./sheet.service-COPNmxwp.js";
40
+ import { S as ve, a as Ne } from "./slider-4ggti1yr.js";
41
+ import { S as Ee, a as Be, b as Fe, s as Oe } from "./schmancy-steps-container-2WW-9LYL.js";
42
+ import { B as je, I as ke, L as Le, M as Pe, S as Ye, a as ze, b as Ge, d as We, c as Ve } from "./context-object-CDDP4bTk.js";
43
+ import { p as _e, a as qe, v as Qe, G as Je, c as Ue, E as Xe, z as Ze, C as ar, B as er, x as rr, w as tr, y as or, D as sr, F as cr, u as nr, A as mr, b as Sr, r as ir, d as yr, q as hr, f as pr, g as lr, i as fr, j as xr, k as dr, l as Cr, o as gr, h as ur, n as Dr, m as wr, e as Tr, s as br, t as Mr } from "./selector-hook-BvXML7_4.js";
44
+ import { a as Ir, S as Ar } from "./surface-1xboRERM.js";
45
+ import { a as Nr, S as Hr } from "./table-C6EWKqDY.js";
46
46
  import "./tabs-compatibility-AFzKAP2D.js";
47
47
  import "./textarea-JO7OVdfk.js";
48
- import { S as jr } from "./theme.interface-C5Kj6WjD.js";
48
+ import { S as Br } from "./theme.interface-C5Kj6WjD.js";
49
49
  import "./theme-button-C8cK7un6.js";
50
- import { S as Lr, t as Pr } from "./tooltip-CnuYee5c.js";
51
- import { S as zr } from "./tree-CfnCGGn7.js";
52
- import { SchmancyEvents as Wr } from "./types.js";
53
- import { T as Kr } from "./typewriter-DAxRjeRy.js";
54
- import { S as qr } from "./typography-De5UXL0j.js";
55
- import { i as Jr } from "./intersection-CJxzz8c-.js";
50
+ import { S as Or, t as $r } from "./tooltip-CnuYee5c.js";
51
+ import { S as kr } from "./tree-CfnCGGn7.js";
52
+ import { SchmancyEvents as Pr } from "./types.js";
53
+ import { T as zr } from "./typewriter-DAxRjeRy.js";
54
+ import { S as Wr } from "./typography-De5UXL0j.js";
55
+ import { i as Kr } from "./intersection-CJxzz8c-.js";
56
56
  export {
57
- Ga as $dialog,
58
- Y as $drawer,
59
- ye as $notify,
60
- Ye as BaseStore,
61
- La as ConfirmDialog,
62
- Wa as DialogService,
63
- g as FINDING_MORTIES,
64
- u as HERE_RICKY,
65
- D as HISTORY_STRATEGY,
66
- z as HereMorty,
67
- ze as IndexedDBStorageManager,
68
- ne as List,
69
- Ge as LocalStorageManager,
70
- We as MemoryStorageManager,
71
- he as NotificationAudioService,
72
- xe as RadioButton,
73
- de as RadioGroup,
74
- b as SchmancyArea,
75
- Ve as SchmancyArrayStore,
76
- G as SchmancyAvatar,
77
- W as SchmancyBadgeV2,
78
- ya as SchmancyBoat,
79
- pa as SchmancyButton,
80
- xa as SchmancyCard,
81
- da as SchmancyCardAction,
82
- Ca as SchmancyCardContent,
83
- ga as SchmancyCardMedia,
84
- Da as SchmancyCheckbox,
85
- wa as SchmancyCircularProgress,
86
- Ma as SchmancyCode,
87
- Ra as SchmancyCodeHighlight,
88
- Aa as SchmancyCodePreview,
89
- V as SchmancyContentDrawer,
90
- K as SchmancyContentDrawerID,
91
- _ as SchmancyContentDrawerMain,
92
- q as SchmancyContentDrawerMaxHeight,
93
- Q as SchmancyContentDrawerMinWidth,
94
- J as SchmancyContentDrawerSheet,
95
- U as SchmancyContentDrawerSheetMode,
96
- X as SchmancyContentDrawerSheetState,
97
- Za as SchmancyCountriesSelect,
98
- Fr as SchmancyDataTable,
99
- Ha as SchmancyDateRange,
100
- Fa as SchmancyDateRangeInline,
101
- $a as SchmancyDelay,
102
- Pa as SchmancyDialog,
103
- Ya as SchmancyDialogContent,
104
- Z as SchmancyDrawerAppbar,
105
- aa as SchmancyDrawerNavbarMode,
106
- ea as SchmancyDrawerNavbarState,
107
- Ja as SchmancyDropdown,
108
- Ua as SchmancyDropdownContent,
109
- Wr as SchmancyEvents,
110
- re as SchmancyFlex,
111
- te as SchmancyFlexV2,
112
- oe as SchmancyGrid,
113
- me as SchmancyListItem,
114
- Se as SchmancyListTypeContext,
115
- ra as SchmancyNavigationDrawer,
116
- ta as SchmancyNavigationDrawerContent,
117
- oa as SchmancyNavigationDrawerSidebar,
118
- pe as SchmancyNotification,
119
- le as SchmancyNotificationContainer,
120
- va as SchmancyPaymentCardForm,
121
- ce as SchmancyScroll,
122
- De as SchmancySelect,
123
- we as SchmancySheetPosition,
124
- Be as SchmancySlide,
125
- Fe as SchmancySlider,
126
- $e as SchmancyStep,
127
- je as SchmancyStepsContainer,
128
- Ke as SchmancyStoreObject,
129
- Hr as SchmancySurface,
130
- Er as SchmancySurfaceTypeContext,
131
- Or as SchmancyTableRow,
57
+ La as $dialog,
58
+ z as $drawer,
59
+ ne as $notify,
60
+ je as BaseStore,
61
+ Oa as ConfirmDialog,
62
+ Pa as DialogService,
63
+ u as FINDING_MORTIES,
64
+ D as HERE_RICKY,
65
+ w as HISTORY_STRATEGY,
66
+ G as HereMorty,
67
+ ke as IndexedDBStorageManager,
68
+ te as List,
69
+ Le as LocalStorageManager,
70
+ Pe as MemoryStorageManager,
71
+ me as NotificationAudioService,
72
+ he as RadioButton,
73
+ pe as RadioGroup,
74
+ T as SchmancyArea,
75
+ Ye as SchmancyArrayStore,
76
+ W as SchmancyAvatar,
77
+ V as SchmancyBadgeV2,
78
+ ha as SchmancyBoat,
79
+ la as SchmancyButton,
80
+ da as SchmancyCheckbox,
81
+ ga as SchmancyCircularProgress,
82
+ Da as SchmancyCode,
83
+ wa as SchmancyCodeHighlight,
84
+ Ta as SchmancyCodePreview,
85
+ K as SchmancyContentDrawer,
86
+ _ as SchmancyContentDrawerID,
87
+ q as SchmancyContentDrawerMain,
88
+ Q as SchmancyContentDrawerMaxHeight,
89
+ J as SchmancyContentDrawerMinWidth,
90
+ U as SchmancyContentDrawerSheet,
91
+ X as SchmancyContentDrawerSheetMode,
92
+ Z as SchmancyContentDrawerSheetState,
93
+ Qa as SchmancyCountriesSelect,
94
+ Nr as SchmancyDataTable,
95
+ Ia as SchmancyDateRange,
96
+ Na as SchmancyDateRangeInline,
97
+ Ea as SchmancyDelay,
98
+ $a as SchmancyDialog,
99
+ ja as SchmancyDialogContent,
100
+ aa as SchmancyDrawerAppbar,
101
+ ea as SchmancyDrawerNavbarMode,
102
+ ra as SchmancyDrawerNavbarState,
103
+ Ka as SchmancyDropdown,
104
+ _a as SchmancyDropdownContent,
105
+ Pr as SchmancyEvents,
106
+ Xa as SchmancyFlex,
107
+ Za as SchmancyFlexV2,
108
+ ae as SchmancyGrid,
109
+ oe as SchmancyListItem,
110
+ se as SchmancyListTypeContext,
111
+ ta as SchmancyNavigationDrawer,
112
+ oa as SchmancyNavigationDrawerContent,
113
+ sa as SchmancyNavigationDrawerSidebar,
114
+ Se as SchmancyNotification,
115
+ ie as SchmancyNotificationContainer,
116
+ Ma as SchmancyPaymentCardForm,
117
+ ee as SchmancyScroll,
118
+ de as SchmancySelect,
119
+ ge as SchmancySheetPosition,
120
+ ve as SchmancySlide,
121
+ Ne as SchmancySlider,
122
+ Ee as SchmancyStep,
123
+ Be as SchmancyStepsContainer,
124
+ ze as SchmancyStoreObject,
125
+ Ir as SchmancySurface,
126
+ Ar as SchmancySurfaceTypeContext,
127
+ Hr as SchmancyTableRow,
132
128
  ca as SchmancyTeleportation,
133
- jr as SchmancyTheme,
134
- Te as SchmancyThemeComponent,
135
- ae as SchmancyTimezonesSelect,
136
- Lr as SchmancyTooltip,
137
- zr as SchmancyTree,
138
- qr as SchmancyTypography,
139
- la as SchmnacyIconButton,
140
- _e as SessionStorageManager,
141
- Me as SheetHereMorty,
142
- Re as SheetWhereAreYouRicky,
143
- ke as StepsController,
144
- qe as StoreError,
145
- Ae as ThemeHereIAm,
146
- Ie as ThemeWhereAreYou,
147
- Kr as TypewriterElement,
148
- sa as WhereAreYouRicky,
149
- w as area,
150
- R as buildQueryString,
151
- Ka as color,
129
+ Br as SchmancyTheme,
130
+ ue as SchmancyThemeComponent,
131
+ Ja as SchmancyTimezonesSelect,
132
+ Or as SchmancyTooltip,
133
+ kr as SchmancyTree,
134
+ Wr as SchmancyTypography,
135
+ fa as SchmnacyIconButton,
136
+ Ge as SessionStorageManager,
137
+ De as SheetHereMorty,
138
+ we as SheetWhereAreYouRicky,
139
+ Fe as StepsController,
140
+ We as StoreError,
141
+ Te as ThemeHereIAm,
142
+ be as ThemeWhereAreYou,
143
+ zr as TypewriterElement,
144
+ na as WhereAreYouRicky,
145
+ b as area,
146
+ I as buildQueryString,
147
+ za as color,
152
148
  A as compareActiveRoutes,
153
- I as compareCustomElementConstructors,
154
- v as compareRouteActions,
155
- Ue as compareValues,
156
- Xe as createArrayContext,
157
- Ze as createCollectionSelector,
158
- ar as createCompoundSelector,
159
- er as createContext,
160
- rr as createCountSelector,
161
- tr as createEntriesSelector,
162
- or as createFilterSelector,
163
- cr as createFindSelector,
164
- sr as createItemSelector,
165
- nr as createItemsSelector,
166
- mr as createKeysSelector,
167
- Sr as createMapSelector,
168
- ir as createOptimizedSelector,
169
- N as createRouteCacheKey,
170
- yr as createSelector,
171
- hr as createSortSelector,
172
- Qe as createStorageManager,
173
- pr as createTestArrayContext,
174
- H as debounce,
175
- E as decodeRouteState,
176
- B as deepMerge,
177
- ja as delayContext,
178
- F as encodeRouteState,
179
- O as extractQueryParams,
180
- lr as filterArray,
181
- fr as filterArrayItems,
182
- xr as filterMap,
183
- dr as filterMapItems,
184
- ve as formateTheme,
185
- _a as fullHeight,
186
- Cr as getFieldValue,
187
- $ as getTagName,
188
- Jr as intersection$,
189
- gr as isArray,
190
- ur as isDate,
191
- Dr as isIterable,
192
- br as isMap,
193
- wr as isNil,
194
- Tr as isNumber,
195
- j as isObject,
196
- Mr as isPlainObject,
197
- Rr as isSet,
198
- Ar as isString,
199
- ge as mutationObserver,
200
- k as normalizeTagName,
201
- qa as ripple,
202
- T as routerHistory,
203
- L as sanitizeRouteState,
204
- na as schmancyContentDrawer,
205
- ma as schmancyNavDrawer,
206
- Ir as select,
207
- vr as selectItem,
208
- Ne as sheet,
209
- Le as stepsContext,
210
- He as tailwindStyles,
211
- Sa as teleport,
212
- Pr as tooltip,
213
- Ea as validateInitialDateRange
149
+ v as compareCustomElementConstructors,
150
+ N as compareRouteActions,
151
+ _e as compareValues,
152
+ qe as createArrayContext,
153
+ Qe as createCollectionSelector,
154
+ Je as createCompoundSelector,
155
+ Ue as createContext,
156
+ Xe as createCountSelector,
157
+ Ze as createEntriesSelector,
158
+ ar as createFilterSelector,
159
+ er as createFindSelector,
160
+ rr as createItemSelector,
161
+ tr as createItemsSelector,
162
+ or as createKeysSelector,
163
+ sr as createMapSelector,
164
+ cr as createOptimizedSelector,
165
+ H as createRouteCacheKey,
166
+ nr as createSelector,
167
+ mr as createSortSelector,
168
+ Ve as createStorageManager,
169
+ Sr as createTestArrayContext,
170
+ E as debounce,
171
+ B as decodeRouteState,
172
+ F as deepMerge,
173
+ Ba as delayContext,
174
+ O as encodeRouteState,
175
+ $ as extractQueryParams,
176
+ ir as filterArray,
177
+ yr as filterArrayItems,
178
+ hr as filterMap,
179
+ pr as filterMapItems,
180
+ Me as formateTheme,
181
+ Ga as fullHeight,
182
+ lr as getFieldValue,
183
+ j as getTagName,
184
+ Kr as intersection$,
185
+ fr as isArray,
186
+ xr as isDate,
187
+ dr as isIterable,
188
+ Cr as isMap,
189
+ gr as isNil,
190
+ ur as isNumber,
191
+ k as isObject,
192
+ Dr as isPlainObject,
193
+ wr as isSet,
194
+ Tr as isString,
195
+ fe as mutationObserver,
196
+ L as normalizeTagName,
197
+ Wa as ripple,
198
+ M as routerHistory,
199
+ P as sanitizeRouteState,
200
+ ma as schmancyContentDrawer,
201
+ Sa as schmancyNavDrawer,
202
+ br as select,
203
+ Mr as selectItem,
204
+ Re as sheet,
205
+ Oe as stepsContext,
206
+ Ie as tailwindStyles,
207
+ ia as teleport,
208
+ $r as tooltip,
209
+ Aa as validateInitialDateRange
214
210
  };
215
211
  //# sourceMappingURL=index.js.map
@@ -2,10 +2,10 @@ import "rxjs";
2
2
  import "lit/directives/class-map.js";
3
3
  import "lit/directives/style-map.js";
4
4
  import { T as y } from "./tailwind.mixin-epCxS6FK.js";
5
- import { customElement as p, property as c } from "lit/decorators.js";
6
- import { css as v, html as l } from "lit";
5
+ import { customElement as v, property as c } from "lit/decorators.js";
6
+ import { css as m, html as l } from "lit";
7
7
  var b = Object.getOwnPropertyDescriptor;
8
- let f = class extends y(v`
8
+ let f = class extends y(m`
9
9
  :host {
10
10
  display: flex;
11
11
  gap: 0.5rem;
@@ -18,15 +18,15 @@ let f = class extends y(v`
18
18
  return l`<slot></slot>`;
19
19
  }
20
20
  };
21
- f = ((i, e, a, o) => {
22
- for (var r, t = o > 1 ? void 0 : o ? b(e, a) : e, s = i.length - 1; s >= 0; s--) (r = i[s]) && (t = r(t) || t);
21
+ f = ((i, e, n, o) => {
22
+ for (var r, t = o > 1 ? void 0 : o ? b(e, n) : e, s = i.length - 1; s >= 0; s--) (r = i[s]) && (t = r(t) || t);
23
23
  return t;
24
- })([p("schmancy-card-action")], f);
25
- var u = Object.defineProperty, w = Object.getOwnPropertyDescriptor, m = (i, e, a, o) => {
26
- for (var r, t = o > 1 ? void 0 : o ? w(e, a) : e, s = i.length - 1; s >= 0; s--) (r = i[s]) && (t = (o ? r(e, a, t) : r(t)) || t);
27
- return o && t && u(e, a, t), t;
24
+ })([v("schmancy-card-action")], f);
25
+ var u = Object.defineProperty, w = Object.getOwnPropertyDescriptor, p = (i, e, n, o) => {
26
+ for (var r, t = o > 1 ? void 0 : o ? w(e, n) : e, s = i.length - 1; s >= 0; s--) (r = i[s]) && (t = (o ? r(e, n, t) : r(t)) || t);
27
+ return o && t && u(e, n, t), t;
28
28
  };
29
- let h = class extends y(v`:host{
29
+ let h = class extends y(m`:host{
30
30
  display: block;
31
31
  position: relative;
32
32
  inset: 0;
@@ -74,9 +74,9 @@ let h = class extends y(v`:host{
74
74
  return l`<slot></slot>`;
75
75
  }
76
76
  };
77
- m([c()], h.prototype, "type", 2), m([c({ type: Number })], h.prototype, "elevation", 2), h = m([p("schmancy-card")], h);
77
+ p([c()], h.prototype, "type", 2), p([c({ type: Number })], h.prototype, "elevation", 2), h = p([v("schmancy-card")], h);
78
78
  var x = Object.getOwnPropertyDescriptor;
79
- let g = class extends y(v`
79
+ let g = class extends y(m`
80
80
  :host {
81
81
  display: block;
82
82
  padding: 1rem;
@@ -86,15 +86,15 @@ let g = class extends y(v`
86
86
  return l`<slot></slot>`;
87
87
  }
88
88
  };
89
- g = ((i, e, a, o) => {
90
- for (var r, t = o > 1 ? void 0 : o ? x(e, a) : e, s = i.length - 1; s >= 0; s--) (r = i[s]) && (t = r(t) || t);
89
+ g = ((i, e, n, o) => {
90
+ for (var r, t = o > 1 ? void 0 : o ? x(e, n) : e, s = i.length - 1; s >= 0; s--) (r = i[s]) && (t = r(t) || t);
91
91
  return t;
92
- })([p("schmancy-card-content")], g);
93
- var j = Object.defineProperty, O = Object.getOwnPropertyDescriptor, d = (i, e, a, o) => {
94
- for (var r, t = o > 1 ? void 0 : o ? O(e, a) : e, s = i.length - 1; s >= 0; s--) (r = i[s]) && (t = (o ? r(e, a, t) : r(t)) || t);
95
- return o && t && j(e, a, t), t;
92
+ })([v("schmancy-card-content")], g);
93
+ var j = Object.defineProperty, O = Object.getOwnPropertyDescriptor, d = (i, e, n, o) => {
94
+ for (var r, t = o > 1 ? void 0 : o ? O(e, n) : e, s = i.length - 1; s >= 0; s--) (r = i[s]) && (t = (o ? r(e, n, t) : r(t)) || t);
95
+ return o && t && j(e, n, t), t;
96
96
  };
97
- let n = class extends y(v`
97
+ let a = class extends y(m`
98
98
  :host {
99
99
  display: block;
100
100
  position: relative;
@@ -147,11 +147,5 @@ let n = class extends y(v`
147
147
  return this.src ? l`<img src="${this.src}" alt="${this.alt}" />` : l`<slot></slot>`;
148
148
  }
149
149
  };
150
- d([c({ type: String, reflect: !0 })], n.prototype, "src", 2), d([c({ type: String, reflect: !0 })], n.prototype, "fit", 2), d([c({ type: String })], n.prototype, "alt", 2), n = d([p("schmancy-card-media")], n);
151
- export {
152
- h as S,
153
- f as a,
154
- g as b,
155
- n as c
156
- };
157
- //# sourceMappingURL=media-BG2j6r0I.js.map
150
+ d([c({ type: String, reflect: !0 })], a.prototype, "src", 2), d([c({ type: String, reflect: !0 })], a.prototype, "fit", 2), d([c({ type: String })], a.prototype, "alt", 2), a = d([v("schmancy-card-media")], a);
151
+ //# sourceMappingURL=media-DHgb7H9L.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media-DHgb7H9L.js","sources":["../src/card/actions.ts","../src/card/card.ts","../src/card/content.ts","../src/card/media.ts"],"sourcesContent":["import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\n/**\n * @element schmancy-card-action\n * @slot - The content of the action\n */\n@customElement('schmancy-card-action')\nexport default class SchmancyCardAction extends TailwindElement(css`\n\t:host {\n\t\tdisplay: flex;\n\t\tgap: 0.5rem;\n\t\tpadding: 0.5rem 1rem;\n\t\talign-items: center;\n\t\tjustify-content: flex-end;\n\t}\n`) {\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-card-action': SchmancyCardAction\n\t}\n}\n","import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\n@customElement('schmancy-card')\nexport default class SchmancyCard extends TailwindElement(css`:host{\n\tdisplay: block;\n\tposition: relative;\n\tinset: 0;\n\tborder-radius: 0.375rem; /* rounded-md */\n}\n:host([type=\"elevated\"]) {\n\tbackground-color: var(--schmancy-sys-color-surface-low);\n\tbox-shadow: var(--schmancy-sys-elevation-1);\n}\n:host([type=\"elevated\"]:hover) {\n\tbox-shadow: var(--schmancy-sys-elevation-2);\n}\n:host([type=\"filled\"]) {\n\tbackground-color: var(--schmancy-sys-color-surface-highest);\n}\n:host([type=\"filled\"]:hover) {\n\tbox-shadow: var(--schmancy-sys-elevation-1);\n}\n:host([type=\"outlined\"]) {\n\tbackground-color: var(--schmancy-sys-color-surface-default);\n\tborder: 1px solid var(--schmancy-sys-color-outlineVariant);\n}\n:host([type=\"outlined\"]:hover) {\n\tbox-shadow: var(--schmancy-sys-elevation-1);\n}\n:host([elevation=\"1\"]) {\n\tbox-shadow: var(--schmancy-sys-elevation-1);\n}\n:host([elevation=\"2\"]) {\n\tbox-shadow: var(--schmancy-sys-elevation-2);\n}\n:host([elevation=\"3\"]) {\n\tbox-shadow: var(--schmancy-sys-elevation-3);\n}\n:host([elevation=\"4\"]) {\n\tbox-shadow: var(--schmancy-sys-elevation-4);\n}\n:host([elevation=\"5\"]) {\n\tbox-shadow: var(--schmancy-sys-elevation-5);\n}`) {\n\t@property() type: 'elevated' | 'filled' | 'outlined' = 'elevated'\n\t@property({ type: Number }) elevation: 0 | 1 | 2 | 3 | 4 | 5 = 0\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-card': SchmancyCard\n\t}\n}\n","import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\n/**\n * @element schmancy-card-content\n */\n@customElement('schmancy-card-content')\nexport default class SchmancyCardContent extends TailwindElement(css`\n\t:host {\n\t\tdisplay: block;\n\t\tpadding: 1rem;\n\t}\n`) {\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-card-content': SchmancyCardContent\n\t}\n}\n","import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\n/**\n * @element schmancy-card-media\n */\n@customElement('schmancy-card-media')\nexport default class SchmancyCardMedia extends TailwindElement(css`\n\t:host {\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\theight: 200px;\n\t\toverflow: hidden;\n\t}\n\t\n\t/* Allow height to be overridden when used in flex/grid layouts */\n\t:host-context(.h-full) {\n\t\theight: 100%;\n\t}\n\t\n\t::slotted(img),\n\timg {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tobject-position: center;\n\t}\n\t\n\t/* Object fit styles based on fit attribute */\n\t:host([fit=\"contain\"]) img,\n\t:host([fit=\"contain\"]) ::slotted(img) {\n\t\tobject-fit: contain;\n\t}\n\t\n\t:host([fit=\"cover\"]) img,\n\t:host([fit=\"cover\"]) ::slotted(img) {\n\t\tobject-fit: cover;\n\t}\n\t\n\t:host([fit=\"fill\"]) img,\n\t:host([fit=\"fill\"]) ::slotted(img) {\n\t\tobject-fit: fill;\n\t}\n\t\n\t:host([fit=\"none\"]) img,\n\t:host([fit=\"none\"]) ::slotted(img) {\n\t\tobject-fit: none;\n\t}\n\t\n\t:host([fit=\"scale-down\"]) img,\n\t:host([fit=\"scale-down\"]) ::slotted(img) {\n\t\tobject-fit: scale-down;\n\t}\n`) {\n\t@property({ type: String, reflect: true })\n\tsrc: string = ''\n\n\t@property({ type: String, reflect: true })\n\tfit: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down' = 'contain'\n\t\n\t@property({ type: String })\n\talt: string = ''\n\n\tprotected render(): unknown {\n\t\t// If src is provided, render an img element\n\t\t// Otherwise, allow users to slot their own content\n\t\treturn this.src \n\t\t\t? html`<img src=\"${this.src}\" alt=\"${this.alt}\" />` \n\t\t\t: html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-card-media': SchmancyCardMedia\n\t}\n}\n"],"names":["SchmancyCardAction","TailwindElement","css","render","html","customElement","SchmancyCard","constructor","super","arguments","this","type","elevation","__decorateClass","property","prototype","Number","SchmancyCardContent","SchmancyCardMedia","src","fit","alt","String","reflect"],"mappings":";;;;;;;AASA,IAAqBA,IAArB,cAAgDC,EAAgBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;EASrD,SAAAC;AACF,WAAAC;AAAAA,EAAA;;AAVYJ;;;GAArB,CADCK,EAAc,sBAAA,CAAA,GACML;;;;;ACJrB,IAAqBM,IAArB,cAA0CL,EAAgBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;EAA1D,cAAAK;AAAAC,aAAAC,SAyCwDC,GAAAA,KAAAC,OAAA,YACQD,KAAAE,YAAA;AAAA,EAAA;AAAA,EACrD,SACF;AAAA,WAAAR;AAAAA,EAAA;AAAA;AAHIS,EAAA,CAAXC,EAAAA,CAAAA,GAzCmBR,EAyCRS,WAAA,QAAA,CAAA,GACgBF,EAAA,CAA3BC,EAAS,EAAEH,MAAMK,OAAAA,CAAAA,CAAAA,GA1CEV,EA0CQS,WAAA,aAAA,CA1CRT,GAAAA,IAArBO,EAAA,CADCR,EAAc,eACMC,CAAAA,GAAAA,CAAAA;;ACGrB,IAAqBW,IAArB,cAAiDhB,EAAgBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;EAMtD,SAAAC;AACF,WAAAC;AAAAA,EAAA;;AAPYa;;;GAArB,CADCZ,EAAc,uBAAA,CAAA,GACMY;;;;;ACArB,IAAqBC,IAArB,cAA+CjB,EAAgBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAA/D,EAAA;AAAA,EAAA,cAAAM;AAAAA,UAAAA,GAAAC,SA+CeC,GAAAA,KAAAS,MAAA,IAG8CT,KAAAU,MAAA,WAG9CV,KAAAW,MAAA;AAAA,EAAA;AAAA,EAEJ,SAAAlB;AAGF,WAAAO,KAAKS,MACTf,cAAiBM,KAAKS,GAAaT,UAAAA,KAAKW,GACxCjB,SAAAA;AAAAA,EAAA;AAAA;AAbJS,EAAA,CADCC,EAAS,EAAEH,MAAMW,QAAQC,SAAAA,GA9CNL,CAAAA,CAAAA,GAAAA,EA+CpBH,WAAA,OAAA,CAGAF,GAAAA,EAAA,CADCC,EAAS,EAAEH,MAAMW,QAAQC,SAAAA,QAjDNL,EAkDpBH,WAAA,OAAA,CAAA,GAGAF,EAAA,CADCC,EAAS,EAAEH,MAAMW,OApDEJ,CAAAA,CAAAA,GAAAA,EAqDpBH,WAAA,OAAA,CArDoBG,GAAAA,IAArBL,EAAA,CADCR,EAAc,qBACMa,CAAAA,GAAAA,CAAAA;"}
@@ -1,4 +1,4 @@
1
- "use strict";require("rxjs"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js");const h=require("./tailwind.mixin-DNME2oUL.cjs"),c=require("lit/decorators.js"),i=require("lit");var y=Object.getOwnPropertyDescriptor;exports.SchmancyCardAction=class extends h.TailwindElement(i.css`
1
+ "use strict";require("rxjs"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js");const y=require("./tailwind.mixin-DNME2oUL.cjs"),l=require("lit/decorators.js"),a=require("lit");var u=Object.getOwnPropertyDescriptor;let p=class extends y.TailwindElement(a.css`
2
2
  :host {
3
3
  display: flex;
4
4
  gap: 0.5rem;
@@ -6,7 +6,7 @@
6
6
  align-items: center;
7
7
  justify-content: flex-end;
8
8
  }
9
- `){render(){return i.html`<slot></slot>`}},exports.SchmancyCardAction=((n,e,a,o)=>{for(var s,t=o>1?void 0:o?y(e,a):e,r=n.length-1;r>=0;r--)(s=n[r])&&(t=s(t)||t);return t})([c.customElement("schmancy-card-action")],exports.SchmancyCardAction);var m=Object.defineProperty,p=Object.getOwnPropertyDescriptor,d=(n,e,a,o)=>{for(var s,t=o>1?void 0:o?p(e,a):e,r=n.length-1;r>=0;r--)(s=n[r])&&(t=(o?s(e,a,t):s(t))||t);return o&&t&&m(e,a,t),t};exports.SchmancyCard=class extends h.TailwindElement(i.css`:host{
9
+ `){render(){return a.html`<slot></slot>`}};p=((i,e,n,o)=>{for(var r,t=o>1?void 0:o?u(e,n):e,s=i.length-1;s>=0;s--)(r=i[s])&&(t=r(t)||t);return t})([l.customElement("schmancy-card-action")],p);var f=Object.defineProperty,g=Object.getOwnPropertyDescriptor,m=(i,e,n,o)=>{for(var r,t=o>1?void 0:o?g(e,n):e,s=i.length-1;s>=0;s--)(r=i[s])&&(t=(o?r(e,n,t):r(t))||t);return o&&t&&f(e,n,t),t};let h=class extends y.TailwindElement(a.css`:host{
10
10
  display: block;
11
11
  position: relative;
12
12
  inset: 0;
@@ -46,12 +46,12 @@
46
46
  }
47
47
  :host([elevation="5"]) {
48
48
  box-shadow: var(--schmancy-sys-elevation-5);
49
- }`){constructor(){super(...arguments),this.type="elevated",this.elevation=0}render(){return i.html`<slot></slot>`}},d([c.property()],exports.SchmancyCard.prototype,"type",2),d([c.property({type:Number})],exports.SchmancyCard.prototype,"elevation",2),exports.SchmancyCard=d([c.customElement("schmancy-card")],exports.SchmancyCard);var v=Object.getOwnPropertyDescriptor;exports.SchmancyCardContent=class extends h.TailwindElement(i.css`
49
+ }`){constructor(){super(...arguments),this.type="elevated",this.elevation=0}render(){return a.html`<slot></slot>`}};m([l.property()],h.prototype,"type",2),m([l.property({type:Number})],h.prototype,"elevation",2),h=m([l.customElement("schmancy-card")],h);var b=Object.getOwnPropertyDescriptor;let v=class extends y.TailwindElement(a.css`
50
50
  :host {
51
51
  display: block;
52
52
  padding: 1rem;
53
53
  }
54
- `){render(){return i.html`<slot></slot>`}},exports.SchmancyCardContent=((n,e,a,o)=>{for(var s,t=o>1?void 0:o?v(e,a):e,r=n.length-1;r>=0;r--)(s=n[r])&&(t=s(t)||t);return t})([c.customElement("schmancy-card-content")],exports.SchmancyCardContent);var u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l=(n,e,a,o)=>{for(var s,t=o>1?void 0:o?f(e,a):e,r=n.length-1;r>=0;r--)(s=n[r])&&(t=(o?s(e,a,t):s(t))||t);return o&&t&&u(e,a,t),t};exports.SchmancyCardMedia=class extends h.TailwindElement(i.css`
54
+ `){render(){return a.html`<slot></slot>`}};v=((i,e,n,o)=>{for(var r,t=o>1?void 0:o?b(e,n):e,s=i.length-1;s>=0;s--)(r=i[s])&&(t=r(t)||t);return t})([l.customElement("schmancy-card-content")],v);var w=Object.defineProperty,x=Object.getOwnPropertyDescriptor,d=(i,e,n,o)=>{for(var r,t=o>1?void 0:o?x(e,n):e,s=i.length-1;s>=0;s--)(r=i[s])&&(t=(o?r(e,n,t):r(t))||t);return o&&t&&w(e,n,t),t};let c=class extends y.TailwindElement(a.css`
55
55
  :host {
56
56
  display: block;
57
57
  position: relative;
@@ -96,5 +96,5 @@
96
96
  :host([fit="scale-down"]) ::slotted(img) {
97
97
  object-fit: scale-down;
98
98
  }
99
- `){constructor(){super(...arguments),this.src="",this.fit="contain",this.alt=""}render(){return this.src?i.html`<img src="${this.src}" alt="${this.alt}" />`:i.html`<slot></slot>`}},l([c.property({type:String,reflect:!0})],exports.SchmancyCardMedia.prototype,"src",2),l([c.property({type:String,reflect:!0})],exports.SchmancyCardMedia.prototype,"fit",2),l([c.property({type:String})],exports.SchmancyCardMedia.prototype,"alt",2),exports.SchmancyCardMedia=l([c.customElement("schmancy-card-media")],exports.SchmancyCardMedia);
100
- //# sourceMappingURL=media-C_UPDRKi.cjs.map
99
+ `){constructor(){super(...arguments),this.src="",this.fit="contain",this.alt=""}render(){return this.src?a.html`<img src="${this.src}" alt="${this.alt}" />`:a.html`<slot></slot>`}};d([l.property({type:String,reflect:!0})],c.prototype,"src",2),d([l.property({type:String,reflect:!0})],c.prototype,"fit",2),d([l.property({type:String})],c.prototype,"alt",2),c=d([l.customElement("schmancy-card-media")],c);
100
+ //# sourceMappingURL=media-hg61JS4R.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media-hg61JS4R.cjs","sources":["../src/card/actions.ts","../src/card/card.ts","../src/card/content.ts","../src/card/media.ts"],"sourcesContent":["import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\n/**\n * @element schmancy-card-action\n * @slot - The content of the action\n */\n@customElement('schmancy-card-action')\nexport default class SchmancyCardAction extends TailwindElement(css`\n\t:host {\n\t\tdisplay: flex;\n\t\tgap: 0.5rem;\n\t\tpadding: 0.5rem 1rem;\n\t\talign-items: center;\n\t\tjustify-content: flex-end;\n\t}\n`) {\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-card-action': SchmancyCardAction\n\t}\n}\n","import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\n@customElement('schmancy-card')\nexport default class SchmancyCard extends TailwindElement(css`:host{\n\tdisplay: block;\n\tposition: relative;\n\tinset: 0;\n\tborder-radius: 0.375rem; /* rounded-md */\n}\n:host([type=\"elevated\"]) {\n\tbackground-color: var(--schmancy-sys-color-surface-low);\n\tbox-shadow: var(--schmancy-sys-elevation-1);\n}\n:host([type=\"elevated\"]:hover) {\n\tbox-shadow: var(--schmancy-sys-elevation-2);\n}\n:host([type=\"filled\"]) {\n\tbackground-color: var(--schmancy-sys-color-surface-highest);\n}\n:host([type=\"filled\"]:hover) {\n\tbox-shadow: var(--schmancy-sys-elevation-1);\n}\n:host([type=\"outlined\"]) {\n\tbackground-color: var(--schmancy-sys-color-surface-default);\n\tborder: 1px solid var(--schmancy-sys-color-outlineVariant);\n}\n:host([type=\"outlined\"]:hover) {\n\tbox-shadow: var(--schmancy-sys-elevation-1);\n}\n:host([elevation=\"1\"]) {\n\tbox-shadow: var(--schmancy-sys-elevation-1);\n}\n:host([elevation=\"2\"]) {\n\tbox-shadow: var(--schmancy-sys-elevation-2);\n}\n:host([elevation=\"3\"]) {\n\tbox-shadow: var(--schmancy-sys-elevation-3);\n}\n:host([elevation=\"4\"]) {\n\tbox-shadow: var(--schmancy-sys-elevation-4);\n}\n:host([elevation=\"5\"]) {\n\tbox-shadow: var(--schmancy-sys-elevation-5);\n}`) {\n\t@property() type: 'elevated' | 'filled' | 'outlined' = 'elevated'\n\t@property({ type: Number }) elevation: 0 | 1 | 2 | 3 | 4 | 5 = 0\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-card': SchmancyCard\n\t}\n}\n","import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\n/**\n * @element schmancy-card-content\n */\n@customElement('schmancy-card-content')\nexport default class SchmancyCardContent extends TailwindElement(css`\n\t:host {\n\t\tdisplay: block;\n\t\tpadding: 1rem;\n\t}\n`) {\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-card-content': SchmancyCardContent\n\t}\n}\n","import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\n/**\n * @element schmancy-card-media\n */\n@customElement('schmancy-card-media')\nexport default class SchmancyCardMedia extends TailwindElement(css`\n\t:host {\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\theight: 200px;\n\t\toverflow: hidden;\n\t}\n\t\n\t/* Allow height to be overridden when used in flex/grid layouts */\n\t:host-context(.h-full) {\n\t\theight: 100%;\n\t}\n\t\n\t::slotted(img),\n\timg {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tobject-position: center;\n\t}\n\t\n\t/* Object fit styles based on fit attribute */\n\t:host([fit=\"contain\"]) img,\n\t:host([fit=\"contain\"]) ::slotted(img) {\n\t\tobject-fit: contain;\n\t}\n\t\n\t:host([fit=\"cover\"]) img,\n\t:host([fit=\"cover\"]) ::slotted(img) {\n\t\tobject-fit: cover;\n\t}\n\t\n\t:host([fit=\"fill\"]) img,\n\t:host([fit=\"fill\"]) ::slotted(img) {\n\t\tobject-fit: fill;\n\t}\n\t\n\t:host([fit=\"none\"]) img,\n\t:host([fit=\"none\"]) ::slotted(img) {\n\t\tobject-fit: none;\n\t}\n\t\n\t:host([fit=\"scale-down\"]) img,\n\t:host([fit=\"scale-down\"]) ::slotted(img) {\n\t\tobject-fit: scale-down;\n\t}\n`) {\n\t@property({ type: String, reflect: true })\n\tsrc: string = ''\n\n\t@property({ type: String, reflect: true })\n\tfit: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down' = 'contain'\n\t\n\t@property({ type: String })\n\talt: string = ''\n\n\tprotected render(): unknown {\n\t\t// If src is provided, render an img element\n\t\t// Otherwise, allow users to slot their own content\n\t\treturn this.src \n\t\t\t? html`<img src=\"${this.src}\" alt=\"${this.alt}\" />` \n\t\t\t: html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-card-media': SchmancyCardMedia\n\t}\n}\n"],"names":["SchmancyCardAction","TailwindElement","css","render","html","customElement","SchmancyCard","constructor","super","arguments","this","type","elevation","__decorateClass","property","prototype","Number","SchmancyCardContent","SchmancyCardMedia","src","fit","alt","String","reflect"],"mappings":"kPASA,IAAqBA,EAArB,cAAgDC,EAAAA,gBAAgBC,EAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,GASrD,QAAAC,CACF,OAAAC,EAAAA,mBAAA,CAVYJ,EAAAA,wGAArB,CADCK,EAAAA,cAAc,sBAAA,CAAA,EACML,mMCJrB,IAAqBM,EAArB,cAA0CL,EAAgBA,gBAAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAA1D,aAAAK,CAAAC,MAAAC,GAAAA,SAAAA,EAyCwDC,KAAAC,KAAA,WACQD,KAAAE,UAAA,CAAA,CACrD,QAAAT,CACF,OAAAC,EAAAA,mBAAA,CAAA,EAHIS,EAAA,CAAXC,EAASA,SAzCUR,CAAAA,EAAAA,EAyCRS,UAAA,OAAA,CACgBF,EAAAA,EAAA,CAA3BC,WAAS,CAAEH,KAAMK,MA1CEV,CAAAA,CAAAA,EAAAA,EA0CQS,UAAA,YAAA,CAAA,EA1CRT,EAArBO,EAAA,CADCR,EAAAA,cAAc,eACMC,CAAAA,EAAAA,CAAAA,wCCGrB,IAAqBW,EAArB,cAAiDhB,EAAAA,gBAAgBC,EAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,GAMtD,QAAAC,CACF,OAAAC,EAAAA,mBAAA,CAPYa,EAAAA,wGAArB,CADCZ,EAAAA,cAAc,uBAAA,CAAA,EACMY,mMCArB,IAAqBC,EAArB,cAA+CjB,EAAAA,gBAAgBC,EAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAA/D,CAAA,CAAA,aAAAM,CAAAA,MAAAA,GAAAC,SA+CeC,EAAAA,KAAAS,IAAA,GAG8CT,KAAAU,IAAA,UAG9CV,KAAAW,IAAA,EAAA,CAEJ,QAGF,CAAA,OAAAX,KAAKS,IACTf,mBAAiBM,KAAKS,aAAaT,KAAKW,GAAAA,OACxCjB,EAAAA,mBAAA,CAbJS,EAAAA,EAAA,CADCC,EAAAA,SAAS,CAAEH,KAAMW,OAAQC,QAAAA,EA9CNL,CAAAA,CAAAA,EAAAA,EA+CpBH,UAAA,MAAA,GAGAF,EAAA,CADCC,EAAAA,SAAS,CAAEH,KAAMW,OAAQC,QAAS,EAAA,CAAA,CAAA,EAjDfL,EAkDpBH,UAAA,MAAA,CAGAF,EAAAA,EAAA,CADCC,WAAS,CAAEH,KAAMW,MApDEJ,CAAAA,CAAAA,EAAAA,EAqDpBH,UAAA,MAAA,GArDoBG,EAArBL,EAAA,CADCR,EAAAA,cAAc,qBACMa,CAAAA,EAAAA,CAAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./avatar-BoOnOo3X.cjs");exports.$drawer=e.$drawer,Object.defineProperty(exports,"SchmancyDrawerAppbar",{enumerable:!0,get:()=>e.SchmancyDrawerAppbar}),exports.SchmancyDrawerNavbarMode=e.SchmancyDrawerNavbarMode,exports.SchmancyDrawerNavbarState=e.SchmancyDrawerNavbarState,Object.defineProperty(exports,"SchmancyNavigationDrawer",{enumerable:!0,get:()=>e.SchmancyNavigationDrawer}),Object.defineProperty(exports,"SchmancyNavigationDrawerContent",{enumerable:!0,get:()=>e.SchmancyNavigationDrawerContent}),Object.defineProperty(exports,"SchmancyNavigationDrawerSidebar",{enumerable:!0,get:()=>e.SchmancyNavigationDrawerSidebar}),exports.schmancyNavDrawer=e.schmancyNavDrawer;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./avatar-CQceYbCt.cjs");exports.$drawer=e.$drawer,Object.defineProperty(exports,"SchmancyDrawerAppbar",{enumerable:!0,get:()=>e.SchmancyDrawerAppbar}),exports.SchmancyDrawerNavbarMode=e.SchmancyDrawerNavbarMode,exports.SchmancyDrawerNavbarState=e.SchmancyDrawerNavbarState,Object.defineProperty(exports,"SchmancyNavigationDrawer",{enumerable:!0,get:()=>e.SchmancyNavigationDrawer}),Object.defineProperty(exports,"SchmancyNavigationDrawerContent",{enumerable:!0,get:()=>e.SchmancyNavigationDrawerContent}),Object.defineProperty(exports,"SchmancyNavigationDrawerSidebar",{enumerable:!0,get:()=>e.SchmancyNavigationDrawerSidebar}),exports.schmancyNavDrawer=e.schmancyNavDrawer;
2
2
  //# sourceMappingURL=nav-drawer.cjs.map
@@ -1,4 +1,4 @@
1
- import { $ as c, j as e, l as n, m, n as s, k as i, o, i as t } from "./avatar-7Rif8_0P.js";
1
+ import { $ as c, j as e, l as n, m, n as s, k as i, o, i as t } from "./avatar-CPbVhMW7.js";
2
2
  export {
3
3
  c as $drawer,
4
4
  e as SchmancyDrawerAppbar,
package/dist/teleport.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./avatar-BoOnOo3X.cjs");exports.HereMorty=e.HereMorty,Object.defineProperty(exports,"SchmancyTeleportation",{enumerable:!0,get:()=>e.SchmancyTeleportation}),exports.WhereAreYouRicky=e.WhereAreYouRicky,exports.teleport=e.teleport;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./avatar-CQceYbCt.cjs");exports.HereMorty=e.HereMorty,Object.defineProperty(exports,"SchmancyTeleportation",{enumerable:!0,get:()=>e.SchmancyTeleportation}),exports.WhereAreYouRicky=e.WhereAreYouRicky,exports.teleport=e.teleport;
2
2
  //# sourceMappingURL=teleport.cjs.map
package/dist/teleport.js CHANGED
@@ -1,4 +1,4 @@
1
- import { H as o, p as t, W as a, t as p } from "./avatar-7Rif8_0P.js";
1
+ import { H as o, p as t, W as a, t as p } from "./avatar-CPbVhMW7.js";
2
2
  export {
3
3
  o as HereMorty,
4
4
  t as SchmancyTeleportation,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mhmo91/schmancy",
3
- "version": "0.4.19",
3
+ "version": "0.4.21",
4
4
  "description": "UI library build with web components",
5
5
  "main": "./dist/index.js",
6
6
  "packageManager": "yarn@4.9.2",