65 lines
1.8 KiB
JavaScript
65 lines
1.8 KiB
JavaScript
'use client';
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
function _export(target, all) {
|
|
for(var name in all)Object.defineProperty(target, name, {
|
|
enumerable: true,
|
|
get: all[name]
|
|
});
|
|
}
|
|
_export(exports, {
|
|
cardPreviewClassNames: function() {
|
|
return cardPreviewClassNames;
|
|
},
|
|
useCardPreviewStyles_unstable: function() {
|
|
return useCardPreviewStyles_unstable;
|
|
}
|
|
});
|
|
const _react = require("@griffel/react");
|
|
const cardPreviewClassNames = {
|
|
root: 'fui-CardPreview',
|
|
logo: 'fui-CardPreview__logo'
|
|
};
|
|
const useStyles = /*#__PURE__*/ (0, _react.__styles)({
|
|
root: {
|
|
qhf8xq: "f10pi13n",
|
|
Byfpedg: "fgourly",
|
|
Btj6oj6: "f1vui7lx",
|
|
B1m4t4s: "fda5zwx"
|
|
},
|
|
logo: {
|
|
qhf8xq: "f1euv43f",
|
|
B5kzvoi: "f1gcvs1y",
|
|
oyh7mz: [
|
|
"f1t6tvco",
|
|
"ffrfxm3"
|
|
],
|
|
a9b677: "f1szoe96",
|
|
Bqenvij: "f1d2rq10"
|
|
}
|
|
}, {
|
|
d: [
|
|
".f10pi13n{position:relative;}",
|
|
".fgourly>:not(.fui-CardPreview__logo){display:block;}",
|
|
".f1vui7lx>:not(.fui-CardPreview__logo){height:100%;}",
|
|
".fda5zwx>:not(.fui-CardPreview__logo){width:100%;}",
|
|
".f1euv43f{position:absolute;}",
|
|
".f1gcvs1y{bottom:12px;}",
|
|
".f1t6tvco{left:12px;}",
|
|
".ffrfxm3{right:12px;}",
|
|
".f1szoe96{width:32px;}",
|
|
".f1d2rq10{height:32px;}"
|
|
]
|
|
});
|
|
const useCardPreviewStyles_unstable = (state)=>{
|
|
'use no memo';
|
|
const styles = useStyles();
|
|
state.root.className = (0, _react.mergeClasses)(cardPreviewClassNames.root, styles.root, state.root.className);
|
|
if (state.logo) {
|
|
state.logo.className = (0, _react.mergeClasses)(cardPreviewClassNames.logo, styles.logo, state.logo.className);
|
|
}
|
|
return state;
|
|
};
|