Major overhaul to the theme and now functioning.
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
||||
import {
|
||||
getCurrentInstanceName,
|
||||
propsFactory
|
||||
} from "./chunk-LZ5T2ERG.js";
|
||||
import {
|
||||
toRef
|
||||
} from "./chunk-2MKFL3BX.js";
|
||||
|
||||
// node_modules/vuetify/lib/composables/position.js
|
||||
var positionValues = ["static", "relative", "fixed", "absolute", "sticky"];
|
||||
var makePositionProps = propsFactory({
|
||||
position: {
|
||||
type: String,
|
||||
validator: (
|
||||
/* istanbul ignore next */
|
||||
(v) => positionValues.includes(v)
|
||||
)
|
||||
}
|
||||
}, "position");
|
||||
function usePosition(props) {
|
||||
let name = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : getCurrentInstanceName();
|
||||
const positionClasses = toRef(() => {
|
||||
return props.position ? `${name}--${props.position}` : void 0;
|
||||
});
|
||||
return {
|
||||
positionClasses
|
||||
};
|
||||
}
|
||||
|
||||
export {
|
||||
makePositionProps,
|
||||
usePosition
|
||||
};
|
||||
//# sourceMappingURL=chunk-HOEZWRBG.js.map
|
||||
Reference in New Issue
Block a user