Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
@@ -0,0 +1,31 @@
/* eslint-disable */ "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, {
CustomStyleHooksContext: function() {
return CustomStyleHooksContext;
},
CustomStyleHooksProvider: function() {
return CustomStyleHooksProvider;
},
useCustomStyleHook: function() {
return useCustomStyleHook;
}
});
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
const CustomStyleHooksContext = _react.createContext(undefined);
const noop = ()=>{};
const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;
const useCustomStyleHook = (hook)=>{
var _React_useContext;
var _React_useContext_hook;
return (_React_useContext_hook = (_React_useContext = _react.useContext(CustomStyleHooksContext)) === null || _React_useContext === void 0 ? void 0 : _React_useContext[hook]) !== null && _React_useContext_hook !== void 0 ? _React_useContext_hook : noop;
};
File diff suppressed because one or more lines are too long
@@ -0,0 +1,22 @@
"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, {
CustomStyleHooksContext: function() {
return _CustomStyleHooksContext.CustomStyleHooksContext;
},
CustomStyleHooksProvider: function() {
return _CustomStyleHooksContext.CustomStyleHooksProvider;
},
useCustomStyleHook: function() {
return _CustomStyleHooksContext.useCustomStyleHook;
}
});
const _CustomStyleHooksContext = require("./CustomStyleHooksContext");
@@ -0,0 +1 @@
{"version":3,"sources":["../src/CustomStyleHooksContext/index.ts"],"sourcesContent":["export type { CustomStyleHooksContextValue } from './CustomStyleHooksContext';\nexport { CustomStyleHooksContext, CustomStyleHooksProvider, useCustomStyleHook } from './CustomStyleHooksContext';\n"],"names":["CustomStyleHooksContext","CustomStyleHooksProvider","useCustomStyleHook"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,uBAAuB;eAAvBA,gDAAuB;;IAAEC,wBAAwB;eAAxBA,iDAAwB;;IAAEC,kBAAkB;eAAlBA,2CAAkB;;;yCAAQ"}