creactive 0.0.71 → 0.0.72
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/build/classic.js +6 -28
- package/build/default.js +6 -28
- package/package.json +1 -1
package/build/classic.js
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
*/
|
|
9
9
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
10
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
11
|
-
module.exports = factory(require("react"), require("@emotion/
|
|
11
|
+
module.exports = factory(require("react"), require("@emotion/styled"), require("@emotion/cache"), require("react-dom"));
|
|
12
12
|
else if(typeof define === 'function' && define.amd)
|
|
13
|
-
define("creactive", ["react", "@emotion/
|
|
13
|
+
define("creactive", ["react", "@emotion/styled", "@emotion/cache", "react-dom"], factory);
|
|
14
14
|
else if(typeof exports === 'object')
|
|
15
|
-
exports["creactive"] = factory(require("react"), require("@emotion/
|
|
15
|
+
exports["creactive"] = factory(require("react"), require("@emotion/styled"), require("@emotion/cache"), require("react-dom"));
|
|
16
16
|
else
|
|
17
|
-
root["creactive"] = factory(root["react"], root["@emotion/
|
|
18
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE__emotion_cache__, __WEBPACK_EXTERNAL_MODULE_react_dom__
|
|
17
|
+
root["creactive"] = factory(root["react"], root["@emotion/styled"], root["@emotion/cache"], root["react-dom"]);
|
|
18
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE__emotion_styled__, __WEBPACK_EXTERNAL_MODULE__emotion_cache__, __WEBPACK_EXTERNAL_MODULE_react_dom__) => {
|
|
19
19
|
return /******/ (() => { // webpackBootstrap
|
|
20
20
|
/******/ var __webpack_modules__ = ({
|
|
21
21
|
|
|
@@ -389,18 +389,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
389
389
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
390
390
|
|
|
391
391
|
"use strict";
|
|
392
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ThemeContextProvider: () => (/* binding */ ThemeContextProvider),\n/* harmony export */ useThemeContext: () => (/* binding */ useThemeContext)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/constants */ \"./source/constants/index.ts\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wrapper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./wrapper */ \"./source/contexts/theme/wrapper.tsx\");\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ \"./node_modules/react/jsx-runtime.js\");\nconst ThemeContext=(0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)({colorForegroundBase100:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_100,colorForegroundBase200:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_200,colorForegroundBase300:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_300,colorForegroundBase400:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_400,colorForegroundBase500:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_500,colorForegroundBase600:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_600,colorForegroundBase700:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_700,colorForegroundBase800:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_800,colorForegroundBase900:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_900,colorForegroundInverse100:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_100,colorForegroundInverse200:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_200,colorForegroundInverse300:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_300,colorForegroundInverse400:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_400,colorForegroundInverse500:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_500,colorForegroundInverse600:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_600,colorForegroundInverse700:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_700,colorForegroundInverse800:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_800,colorForegroundInverse900:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_900,fontFamilyBase:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_FAMILY_BASE,fontWeightBaseThin:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_THIN,fontWeightBaseExtraLight:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRALIGHT,fontWeightBaseLight:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_LIGHT,fontWeightBaseRegular:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_REGULAR,fontWeightBaseMedium:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_MEDIUM,fontWeightBaseSemibold:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_SEMIBOLD,fontWeightBaseBold:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BOLD,fontWeightBaseExtraBold:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRABOLD,fontWeightBaseBlack:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BLACK,fontSizeBaseX2S:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2S,fontSizeBaseXS:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XS,fontSizeBaseSM:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_SM,fontSizeBaseMD:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_MD,fontSizeBaseLG:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_LG,fontSizeBaseXL:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XL,fontSizeBaseX2L:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2L,fontSizeBaseX3L:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X3L,fontSizeBaseX4L:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X4L,fontSizeBaseX5L:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X5L,lineHeightBaseNone:_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NONE,lineHeightBaseTight:_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_TIGHT,lineHeightBaseSnug:_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_SNUG,lineHeightBaseNormal:_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NORMAL,lineHeightBaseRelaxed:_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_RELAXED,lineHeightBaseLoose:_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_LOOSE});const ThemeContextProvider=({colorForegroundBase100,colorForegroundBase200,colorForegroundBase300,colorForegroundBase400,colorForegroundBase500,colorForegroundBase600,colorForegroundBase700,colorForegroundBase800,colorForegroundBase900,colorForegroundInverse100,colorForegroundInverse200,colorForegroundInverse300,colorForegroundInverse400,colorForegroundInverse500,colorForegroundInverse600,colorForegroundInverse700,colorForegroundInverse800,colorForegroundInverse900,fontFamilyBase,fontWeightBaseThin,fontWeightBaseExtraLight,fontWeightBaseLight,fontWeightBaseRegular,fontWeightBaseMedium,fontWeightBaseSemibold,fontWeightBaseBold,fontWeightBaseExtraBold,fontWeightBaseBlack,fontSizeBaseX2S,fontSizeBaseXS,fontSizeBaseSM,fontSizeBaseMD,fontSizeBaseLG,fontSizeBaseXL,fontSizeBaseX2L,fontSizeBaseX3L,fontSizeBaseX4L,fontSizeBaseX5L,lineHeightBaseNone,lineHeightBaseTight,lineHeightBaseSnug,lineHeightBaseNormal,lineHeightBaseRelaxed,lineHeightBaseLoose,children})=>{const value=(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(()=>({colorForegroundBase100:colorForegroundBase100??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_100,colorForegroundBase200:colorForegroundBase200??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_200,colorForegroundBase300:colorForegroundBase300??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_300,colorForegroundBase400:colorForegroundBase400??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_400,colorForegroundBase500:colorForegroundBase500??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_500,colorForegroundBase600:colorForegroundBase600??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_600,colorForegroundBase700:colorForegroundBase700??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_700,colorForegroundBase800:colorForegroundBase800??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_800,colorForegroundBase900:colorForegroundBase900??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_900,colorForegroundInverse100:colorForegroundInverse100??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_100,colorForegroundInverse200:colorForegroundInverse200??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_200,colorForegroundInverse300:colorForegroundInverse300??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_300,colorForegroundInverse400:colorForegroundInverse400??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_400,colorForegroundInverse500:colorForegroundInverse500??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_500,colorForegroundInverse600:colorForegroundInverse600??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_600,colorForegroundInverse700:colorForegroundInverse700??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_700,colorForegroundInverse800:colorForegroundInverse800??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_800,colorForegroundInverse900:colorForegroundInverse900??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_900,fontFamilyBase:fontFamilyBase??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_FAMILY_BASE,fontWeightBaseThin:fontWeightBaseThin??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_THIN,fontWeightBaseExtraLight:fontWeightBaseExtraLight??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRALIGHT,fontWeightBaseLight:fontWeightBaseLight??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_LIGHT,fontWeightBaseRegular:fontWeightBaseRegular??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_REGULAR,fontWeightBaseMedium:fontWeightBaseMedium??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_MEDIUM,fontWeightBaseSemibold:fontWeightBaseSemibold??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_SEMIBOLD,fontWeightBaseBold:fontWeightBaseBold??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BOLD,fontWeightBaseExtraBold:fontWeightBaseExtraBold??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRABOLD,fontWeightBaseBlack:fontWeightBaseBlack??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BLACK,fontSizeBaseX2S:fontSizeBaseX2S??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2S,fontSizeBaseXS:fontSizeBaseXS??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XS,fontSizeBaseSM:fontSizeBaseSM??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_SM,fontSizeBaseMD:fontSizeBaseMD??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_MD,fontSizeBaseLG:fontSizeBaseLG??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_LG,fontSizeBaseXL:fontSizeBaseXL??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XL,fontSizeBaseX2L:fontSizeBaseX2L??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2L,fontSizeBaseX3L:fontSizeBaseX3L??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X3L,fontSizeBaseX4L:fontSizeBaseX4L??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X4L,fontSizeBaseX5L:fontSizeBaseX5L??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X5L,lineHeightBaseNone:lineHeightBaseNone??_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NONE,lineHeightBaseTight:lineHeightBaseTight??_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_TIGHT,lineHeightBaseSnug:lineHeightBaseSnug??_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_SNUG,lineHeightBaseNormal:lineHeightBaseNormal??_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NORMAL,lineHeightBaseRelaxed:lineHeightBaseRelaxed??_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_RELAXED,lineHeightBaseLoose:lineHeightBaseLoose??_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_LOOSE}),[colorForegroundBase100,colorForegroundBase200,colorForegroundBase300,colorForegroundBase400,colorForegroundBase500,colorForegroundBase600,colorForegroundBase700,colorForegroundBase800,colorForegroundBase900,colorForegroundInverse100,colorForegroundInverse200,colorForegroundInverse300,colorForegroundInverse400,colorForegroundInverse500,colorForegroundInverse600,colorForegroundInverse700,colorForegroundInverse800,colorForegroundInverse900,fontFamilyBase,fontWeightBaseThin,fontWeightBaseExtraLight,fontWeightBaseLight,fontWeightBaseRegular,fontWeightBaseMedium,fontWeightBaseSemibold,fontWeightBaseBold,fontWeightBaseExtraBold,fontWeightBaseBlack,fontSizeBaseX2S,fontSizeBaseXS,fontSizeBaseSM,fontSizeBaseMD,fontSizeBaseLG,fontSizeBaseXL,fontSizeBaseX2L,fontSizeBaseX3L,fontSizeBaseX4L,fontSizeBaseX5L,lineHeightBaseNone,lineHeightBaseTight,lineHeightBaseSnug,lineHeightBaseNormal,lineHeightBaseRelaxed,lineHeightBaseLoose]);return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wrapper__WEBPACK_IMPORTED_MODULE_2__.Wrapper,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(ThemeContext.Provider,{value:value,children:children})});};const useThemeContext=()=>(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(ThemeContext);\n\n//# sourceURL=webpack://creactive/./source/contexts/theme/theme.tsx?");
|
|
393
|
-
|
|
394
|
-
/***/ }),
|
|
395
|
-
|
|
396
|
-
/***/ "./source/contexts/theme/wrapper.tsx":
|
|
397
|
-
/*!*******************************************!*\
|
|
398
|
-
!*** ./source/contexts/theme/wrapper.tsx ***!
|
|
399
|
-
\*******************************************/
|
|
400
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
401
|
-
|
|
402
|
-
"use strict";
|
|
403
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Wrapper: () => (/* binding */ Wrapper)\n/* harmony export */ });\n/* harmony import */ var _helpers_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/helpers/style */ \"./source/helpers/style/index.ts\");\n/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/react */ \"@emotion/react\");\n/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_emotion_react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_native_web_dist_exports_Platform__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-native-web/dist/exports/Platform */ \"./node_modules/react-native-web/dist/exports/Platform/index.js\");\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ \"./node_modules/react/jsx-runtime.js\");\nconst Wrapper=react_native_web_dist_exports_Platform__WEBPACK_IMPORTED_MODULE_3__[\"default\"].select({web:({children})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_emotion_react__WEBPACK_IMPORTED_MODULE_1__.CacheProvider,{value:(0,_helpers_style__WEBPACK_IMPORTED_MODULE_0__.getStyleCache)(),children:children}),default:({children})=>children});\n\n//# sourceURL=webpack://creactive/./source/contexts/theme/wrapper.tsx?");
|
|
392
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ThemeContextProvider: () => (/* binding */ ThemeContextProvider),\n/* harmony export */ useThemeContext: () => (/* binding */ useThemeContext)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/constants */ \"./source/constants/index.ts\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ \"./node_modules/react/jsx-runtime.js\");\nconst ThemeContext=(0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)({colorForegroundBase100:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_100,colorForegroundBase200:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_200,colorForegroundBase300:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_300,colorForegroundBase400:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_400,colorForegroundBase500:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_500,colorForegroundBase600:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_600,colorForegroundBase700:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_700,colorForegroundBase800:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_800,colorForegroundBase900:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_900,colorForegroundInverse100:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_100,colorForegroundInverse200:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_200,colorForegroundInverse300:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_300,colorForegroundInverse400:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_400,colorForegroundInverse500:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_500,colorForegroundInverse600:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_600,colorForegroundInverse700:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_700,colorForegroundInverse800:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_800,colorForegroundInverse900:_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_900,fontFamilyBase:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_FAMILY_BASE,fontWeightBaseThin:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_THIN,fontWeightBaseExtraLight:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRALIGHT,fontWeightBaseLight:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_LIGHT,fontWeightBaseRegular:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_REGULAR,fontWeightBaseMedium:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_MEDIUM,fontWeightBaseSemibold:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_SEMIBOLD,fontWeightBaseBold:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BOLD,fontWeightBaseExtraBold:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRABOLD,fontWeightBaseBlack:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BLACK,fontSizeBaseX2S:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2S,fontSizeBaseXS:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XS,fontSizeBaseSM:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_SM,fontSizeBaseMD:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_MD,fontSizeBaseLG:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_LG,fontSizeBaseXL:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XL,fontSizeBaseX2L:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2L,fontSizeBaseX3L:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X3L,fontSizeBaseX4L:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X4L,fontSizeBaseX5L:_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X5L,lineHeightBaseNone:_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NONE,lineHeightBaseTight:_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_TIGHT,lineHeightBaseSnug:_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_SNUG,lineHeightBaseNormal:_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NORMAL,lineHeightBaseRelaxed:_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_RELAXED,lineHeightBaseLoose:_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_LOOSE});const ThemeContextProvider=({colorForegroundBase100,colorForegroundBase200,colorForegroundBase300,colorForegroundBase400,colorForegroundBase500,colorForegroundBase600,colorForegroundBase700,colorForegroundBase800,colorForegroundBase900,colorForegroundInverse100,colorForegroundInverse200,colorForegroundInverse300,colorForegroundInverse400,colorForegroundInverse500,colorForegroundInverse600,colorForegroundInverse700,colorForegroundInverse800,colorForegroundInverse900,fontFamilyBase,fontWeightBaseThin,fontWeightBaseExtraLight,fontWeightBaseLight,fontWeightBaseRegular,fontWeightBaseMedium,fontWeightBaseSemibold,fontWeightBaseBold,fontWeightBaseExtraBold,fontWeightBaseBlack,fontSizeBaseX2S,fontSizeBaseXS,fontSizeBaseSM,fontSizeBaseMD,fontSizeBaseLG,fontSizeBaseXL,fontSizeBaseX2L,fontSizeBaseX3L,fontSizeBaseX4L,fontSizeBaseX5L,lineHeightBaseNone,lineHeightBaseTight,lineHeightBaseSnug,lineHeightBaseNormal,lineHeightBaseRelaxed,lineHeightBaseLoose,children})=>{const value=(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(()=>({colorForegroundBase100:colorForegroundBase100??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_100,colorForegroundBase200:colorForegroundBase200??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_200,colorForegroundBase300:colorForegroundBase300??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_300,colorForegroundBase400:colorForegroundBase400??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_400,colorForegroundBase500:colorForegroundBase500??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_500,colorForegroundBase600:colorForegroundBase600??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_600,colorForegroundBase700:colorForegroundBase700??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_700,colorForegroundBase800:colorForegroundBase800??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_800,colorForegroundBase900:colorForegroundBase900??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_900,colorForegroundInverse100:colorForegroundInverse100??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_100,colorForegroundInverse200:colorForegroundInverse200??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_200,colorForegroundInverse300:colorForegroundInverse300??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_300,colorForegroundInverse400:colorForegroundInverse400??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_400,colorForegroundInverse500:colorForegroundInverse500??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_500,colorForegroundInverse600:colorForegroundInverse600??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_600,colorForegroundInverse700:colorForegroundInverse700??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_700,colorForegroundInverse800:colorForegroundInverse800??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_800,colorForegroundInverse900:colorForegroundInverse900??_constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_900,fontFamilyBase:fontFamilyBase??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_FAMILY_BASE,fontWeightBaseThin:fontWeightBaseThin??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_THIN,fontWeightBaseExtraLight:fontWeightBaseExtraLight??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRALIGHT,fontWeightBaseLight:fontWeightBaseLight??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_LIGHT,fontWeightBaseRegular:fontWeightBaseRegular??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_REGULAR,fontWeightBaseMedium:fontWeightBaseMedium??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_MEDIUM,fontWeightBaseSemibold:fontWeightBaseSemibold??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_SEMIBOLD,fontWeightBaseBold:fontWeightBaseBold??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BOLD,fontWeightBaseExtraBold:fontWeightBaseExtraBold??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRABOLD,fontWeightBaseBlack:fontWeightBaseBlack??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BLACK,fontSizeBaseX2S:fontSizeBaseX2S??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2S,fontSizeBaseXS:fontSizeBaseXS??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XS,fontSizeBaseSM:fontSizeBaseSM??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_SM,fontSizeBaseMD:fontSizeBaseMD??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_MD,fontSizeBaseLG:fontSizeBaseLG??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_LG,fontSizeBaseXL:fontSizeBaseXL??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XL,fontSizeBaseX2L:fontSizeBaseX2L??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2L,fontSizeBaseX3L:fontSizeBaseX3L??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X3L,fontSizeBaseX4L:fontSizeBaseX4L??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X4L,fontSizeBaseX5L:fontSizeBaseX5L??_constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X5L,lineHeightBaseNone:lineHeightBaseNone??_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NONE,lineHeightBaseTight:lineHeightBaseTight??_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_TIGHT,lineHeightBaseSnug:lineHeightBaseSnug??_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_SNUG,lineHeightBaseNormal:lineHeightBaseNormal??_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NORMAL,lineHeightBaseRelaxed:lineHeightBaseRelaxed??_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_RELAXED,lineHeightBaseLoose:lineHeightBaseLoose??_constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_LOOSE}),[colorForegroundBase100,colorForegroundBase200,colorForegroundBase300,colorForegroundBase400,colorForegroundBase500,colorForegroundBase600,colorForegroundBase700,colorForegroundBase800,colorForegroundBase900,colorForegroundInverse100,colorForegroundInverse200,colorForegroundInverse300,colorForegroundInverse400,colorForegroundInverse500,colorForegroundInverse600,colorForegroundInverse700,colorForegroundInverse800,colorForegroundInverse900,fontFamilyBase,fontWeightBaseThin,fontWeightBaseExtraLight,fontWeightBaseLight,fontWeightBaseRegular,fontWeightBaseMedium,fontWeightBaseSemibold,fontWeightBaseBold,fontWeightBaseExtraBold,fontWeightBaseBlack,fontSizeBaseX2S,fontSizeBaseXS,fontSizeBaseSM,fontSizeBaseMD,fontSizeBaseLG,fontSizeBaseXL,fontSizeBaseX2L,fontSizeBaseX3L,fontSizeBaseX4L,fontSizeBaseX5L,lineHeightBaseNone,lineHeightBaseTight,lineHeightBaseSnug,lineHeightBaseNormal,lineHeightBaseRelaxed,lineHeightBaseLoose]);return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(ThemeContext.Provider,{value:value,children:children});};const useThemeContext=()=>(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(ThemeContext);\n\n//# sourceURL=webpack://creactive/./source/contexts/theme/theme.tsx?");
|
|
404
393
|
|
|
405
394
|
/***/ }),
|
|
406
395
|
|
|
@@ -1930,17 +1919,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__emotion_cache__;
|
|
|
1930
1919
|
|
|
1931
1920
|
/***/ }),
|
|
1932
1921
|
|
|
1933
|
-
/***/ "@emotion/react":
|
|
1934
|
-
/*!*********************************!*\
|
|
1935
|
-
!*** external "@emotion/react" ***!
|
|
1936
|
-
\*********************************/
|
|
1937
|
-
/***/ ((module) => {
|
|
1938
|
-
|
|
1939
|
-
"use strict";
|
|
1940
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__emotion_react__;
|
|
1941
|
-
|
|
1942
|
-
/***/ }),
|
|
1943
|
-
|
|
1944
1922
|
/***/ "@emotion/styled":
|
|
1945
1923
|
/*!**********************************!*\
|
|
1946
1924
|
!*** external "@emotion/styled" ***!
|
package/build/default.js
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
*/
|
|
9
9
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
10
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
11
|
-
module.exports = factory(require("react"), require("react-native"), require("@emotion/
|
|
11
|
+
module.exports = factory(require("react"), require("react-native"), require("@emotion/styled"), require("@emotion/cache"));
|
|
12
12
|
else if(typeof define === 'function' && define.amd)
|
|
13
|
-
define("creactive", ["react", "react-native", "@emotion/
|
|
13
|
+
define("creactive", ["react", "react-native", "@emotion/styled", "@emotion/cache"], factory);
|
|
14
14
|
else if(typeof exports === 'object')
|
|
15
|
-
exports["creactive"] = factory(require("react"), require("react-native"), require("@emotion/
|
|
15
|
+
exports["creactive"] = factory(require("react"), require("react-native"), require("@emotion/styled"), require("@emotion/cache"));
|
|
16
16
|
else
|
|
17
|
-
root["creactive"] = factory(root["react"], root["react-native"], root["@emotion/
|
|
18
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_native__,
|
|
17
|
+
root["creactive"] = factory(root["react"], root["react-native"], root["@emotion/styled"], root["@emotion/cache"]);
|
|
18
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_native__, __WEBPACK_EXTERNAL_MODULE__emotion_styled__, __WEBPACK_EXTERNAL_MODULE__emotion_cache__) => {
|
|
19
19
|
return /******/ (() => { // webpackBootstrap
|
|
20
20
|
/******/ var __webpack_modules__ = ({
|
|
21
21
|
|
|
@@ -389,18 +389,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
389
389
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
390
390
|
|
|
391
391
|
"use strict";
|
|
392
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ThemeContextProvider: () => (/* binding */ ThemeContextProvider),\n/* harmony export */ useThemeContext: () => (/* binding */ useThemeContext)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/constants */ \"./source/constants/index.ts\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wrapper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./wrapper */ \"./source/contexts/theme/wrapper.tsx\");\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ \"./node_modules/react/jsx-runtime.js\");\n\n\n\n\n// We can use context even outside provider.\n// This can be helpful for testing and storybook.\n\nvar ThemeContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)({\n colorForegroundBase100: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_100,\n colorForegroundBase200: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_200,\n colorForegroundBase300: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_300,\n colorForegroundBase400: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_400,\n colorForegroundBase500: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_500,\n colorForegroundBase600: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_600,\n colorForegroundBase700: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_700,\n colorForegroundBase800: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_800,\n colorForegroundBase900: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_900,\n colorForegroundInverse100: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_100,\n colorForegroundInverse200: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_200,\n colorForegroundInverse300: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_300,\n colorForegroundInverse400: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_400,\n colorForegroundInverse500: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_500,\n colorForegroundInverse600: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_600,\n colorForegroundInverse700: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_700,\n colorForegroundInverse800: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_800,\n colorForegroundInverse900: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_900,\n fontFamilyBase: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_FAMILY_BASE,\n fontWeightBaseThin: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_THIN,\n fontWeightBaseExtraLight: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRALIGHT,\n fontWeightBaseLight: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_LIGHT,\n fontWeightBaseRegular: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_REGULAR,\n fontWeightBaseMedium: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_MEDIUM,\n fontWeightBaseSemibold: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_SEMIBOLD,\n fontWeightBaseBold: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BOLD,\n fontWeightBaseExtraBold: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRABOLD,\n fontWeightBaseBlack: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BLACK,\n fontSizeBaseX2S: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2S,\n fontSizeBaseXS: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XS,\n fontSizeBaseSM: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_SM,\n fontSizeBaseMD: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_MD,\n fontSizeBaseLG: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_LG,\n fontSizeBaseXL: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XL,\n fontSizeBaseX2L: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2L,\n fontSizeBaseX3L: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X3L,\n fontSizeBaseX4L: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X4L,\n fontSizeBaseX5L: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X5L,\n lineHeightBaseNone: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NONE,\n lineHeightBaseTight: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_TIGHT,\n lineHeightBaseSnug: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_SNUG,\n lineHeightBaseNormal: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NORMAL,\n lineHeightBaseRelaxed: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_RELAXED,\n lineHeightBaseLoose: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_LOOSE\n});\nvar ThemeContextProvider = function ThemeContextProvider(_ref) {\n var colorForegroundBase100 = _ref.colorForegroundBase100,\n colorForegroundBase200 = _ref.colorForegroundBase200,\n colorForegroundBase300 = _ref.colorForegroundBase300,\n colorForegroundBase400 = _ref.colorForegroundBase400,\n colorForegroundBase500 = _ref.colorForegroundBase500,\n colorForegroundBase600 = _ref.colorForegroundBase600,\n colorForegroundBase700 = _ref.colorForegroundBase700,\n colorForegroundBase800 = _ref.colorForegroundBase800,\n colorForegroundBase900 = _ref.colorForegroundBase900,\n colorForegroundInverse100 = _ref.colorForegroundInverse100,\n colorForegroundInverse200 = _ref.colorForegroundInverse200,\n colorForegroundInverse300 = _ref.colorForegroundInverse300,\n colorForegroundInverse400 = _ref.colorForegroundInverse400,\n colorForegroundInverse500 = _ref.colorForegroundInverse500,\n colorForegroundInverse600 = _ref.colorForegroundInverse600,\n colorForegroundInverse700 = _ref.colorForegroundInverse700,\n colorForegroundInverse800 = _ref.colorForegroundInverse800,\n colorForegroundInverse900 = _ref.colorForegroundInverse900,\n fontFamilyBase = _ref.fontFamilyBase,\n fontWeightBaseThin = _ref.fontWeightBaseThin,\n fontWeightBaseExtraLight = _ref.fontWeightBaseExtraLight,\n fontWeightBaseLight = _ref.fontWeightBaseLight,\n fontWeightBaseRegular = _ref.fontWeightBaseRegular,\n fontWeightBaseMedium = _ref.fontWeightBaseMedium,\n fontWeightBaseSemibold = _ref.fontWeightBaseSemibold,\n fontWeightBaseBold = _ref.fontWeightBaseBold,\n fontWeightBaseExtraBold = _ref.fontWeightBaseExtraBold,\n fontWeightBaseBlack = _ref.fontWeightBaseBlack,\n fontSizeBaseX2S = _ref.fontSizeBaseX2S,\n fontSizeBaseXS = _ref.fontSizeBaseXS,\n fontSizeBaseSM = _ref.fontSizeBaseSM,\n fontSizeBaseMD = _ref.fontSizeBaseMD,\n fontSizeBaseLG = _ref.fontSizeBaseLG,\n fontSizeBaseXL = _ref.fontSizeBaseXL,\n fontSizeBaseX2L = _ref.fontSizeBaseX2L,\n fontSizeBaseX3L = _ref.fontSizeBaseX3L,\n fontSizeBaseX4L = _ref.fontSizeBaseX4L,\n fontSizeBaseX5L = _ref.fontSizeBaseX5L,\n lineHeightBaseNone = _ref.lineHeightBaseNone,\n lineHeightBaseTight = _ref.lineHeightBaseTight,\n lineHeightBaseSnug = _ref.lineHeightBaseSnug,\n lineHeightBaseNormal = _ref.lineHeightBaseNormal,\n lineHeightBaseRelaxed = _ref.lineHeightBaseRelaxed,\n lineHeightBaseLoose = _ref.lineHeightBaseLoose,\n children = _ref.children;\n // Memorizing context value.\n // Allows to avoid unnecessary re-renders.\n // Context consumers will re-render only if value changes.\n var value = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {\n return {\n // Foreground color tokens.\n colorForegroundBase100: colorForegroundBase100 !== null && colorForegroundBase100 !== void 0 ? colorForegroundBase100 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_100,\n colorForegroundBase200: colorForegroundBase200 !== null && colorForegroundBase200 !== void 0 ? colorForegroundBase200 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_200,\n colorForegroundBase300: colorForegroundBase300 !== null && colorForegroundBase300 !== void 0 ? colorForegroundBase300 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_300,\n colorForegroundBase400: colorForegroundBase400 !== null && colorForegroundBase400 !== void 0 ? colorForegroundBase400 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_400,\n colorForegroundBase500: colorForegroundBase500 !== null && colorForegroundBase500 !== void 0 ? colorForegroundBase500 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_500,\n colorForegroundBase600: colorForegroundBase600 !== null && colorForegroundBase600 !== void 0 ? colorForegroundBase600 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_600,\n colorForegroundBase700: colorForegroundBase700 !== null && colorForegroundBase700 !== void 0 ? colorForegroundBase700 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_700,\n colorForegroundBase800: colorForegroundBase800 !== null && colorForegroundBase800 !== void 0 ? colorForegroundBase800 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_800,\n colorForegroundBase900: colorForegroundBase900 !== null && colorForegroundBase900 !== void 0 ? colorForegroundBase900 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_900,\n colorForegroundInverse100: colorForegroundInverse100 !== null && colorForegroundInverse100 !== void 0 ? colorForegroundInverse100 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_100,\n colorForegroundInverse200: colorForegroundInverse200 !== null && colorForegroundInverse200 !== void 0 ? colorForegroundInverse200 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_200,\n colorForegroundInverse300: colorForegroundInverse300 !== null && colorForegroundInverse300 !== void 0 ? colorForegroundInverse300 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_300,\n colorForegroundInverse400: colorForegroundInverse400 !== null && colorForegroundInverse400 !== void 0 ? colorForegroundInverse400 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_400,\n colorForegroundInverse500: colorForegroundInverse500 !== null && colorForegroundInverse500 !== void 0 ? colorForegroundInverse500 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_500,\n colorForegroundInverse600: colorForegroundInverse600 !== null && colorForegroundInverse600 !== void 0 ? colorForegroundInverse600 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_600,\n colorForegroundInverse700: colorForegroundInverse700 !== null && colorForegroundInverse700 !== void 0 ? colorForegroundInverse700 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_700,\n colorForegroundInverse800: colorForegroundInverse800 !== null && colorForegroundInverse800 !== void 0 ? colorForegroundInverse800 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_800,\n colorForegroundInverse900: colorForegroundInverse900 !== null && colorForegroundInverse900 !== void 0 ? colorForegroundInverse900 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_900,\n // Font family tokens.\n fontFamilyBase: fontFamilyBase !== null && fontFamilyBase !== void 0 ? fontFamilyBase : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_FAMILY_BASE,\n // Base font weight tokens.\n fontWeightBaseThin: fontWeightBaseThin !== null && fontWeightBaseThin !== void 0 ? fontWeightBaseThin : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_THIN,\n fontWeightBaseExtraLight: fontWeightBaseExtraLight !== null && fontWeightBaseExtraLight !== void 0 ? fontWeightBaseExtraLight : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRALIGHT,\n fontWeightBaseLight: fontWeightBaseLight !== null && fontWeightBaseLight !== void 0 ? fontWeightBaseLight : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_LIGHT,\n fontWeightBaseRegular: fontWeightBaseRegular !== null && fontWeightBaseRegular !== void 0 ? fontWeightBaseRegular : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_REGULAR,\n fontWeightBaseMedium: fontWeightBaseMedium !== null && fontWeightBaseMedium !== void 0 ? fontWeightBaseMedium : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_MEDIUM,\n fontWeightBaseSemibold: fontWeightBaseSemibold !== null && fontWeightBaseSemibold !== void 0 ? fontWeightBaseSemibold : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_SEMIBOLD,\n fontWeightBaseBold: fontWeightBaseBold !== null && fontWeightBaseBold !== void 0 ? fontWeightBaseBold : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BOLD,\n fontWeightBaseExtraBold: fontWeightBaseExtraBold !== null && fontWeightBaseExtraBold !== void 0 ? fontWeightBaseExtraBold : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRABOLD,\n fontWeightBaseBlack: fontWeightBaseBlack !== null && fontWeightBaseBlack !== void 0 ? fontWeightBaseBlack : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BLACK,\n // Base font size tokens.\n fontSizeBaseX2S: fontSizeBaseX2S !== null && fontSizeBaseX2S !== void 0 ? fontSizeBaseX2S : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2S,\n fontSizeBaseXS: fontSizeBaseXS !== null && fontSizeBaseXS !== void 0 ? fontSizeBaseXS : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XS,\n fontSizeBaseSM: fontSizeBaseSM !== null && fontSizeBaseSM !== void 0 ? fontSizeBaseSM : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_SM,\n fontSizeBaseMD: fontSizeBaseMD !== null && fontSizeBaseMD !== void 0 ? fontSizeBaseMD : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_MD,\n fontSizeBaseLG: fontSizeBaseLG !== null && fontSizeBaseLG !== void 0 ? fontSizeBaseLG : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_LG,\n fontSizeBaseXL: fontSizeBaseXL !== null && fontSizeBaseXL !== void 0 ? fontSizeBaseXL : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XL,\n fontSizeBaseX2L: fontSizeBaseX2L !== null && fontSizeBaseX2L !== void 0 ? fontSizeBaseX2L : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2L,\n fontSizeBaseX3L: fontSizeBaseX3L !== null && fontSizeBaseX3L !== void 0 ? fontSizeBaseX3L : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X3L,\n fontSizeBaseX4L: fontSizeBaseX4L !== null && fontSizeBaseX4L !== void 0 ? fontSizeBaseX4L : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X4L,\n fontSizeBaseX5L: fontSizeBaseX5L !== null && fontSizeBaseX5L !== void 0 ? fontSizeBaseX5L : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X5L,\n // Base line height tokens.\n lineHeightBaseNone: lineHeightBaseNone !== null && lineHeightBaseNone !== void 0 ? lineHeightBaseNone : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NONE,\n lineHeightBaseTight: lineHeightBaseTight !== null && lineHeightBaseTight !== void 0 ? lineHeightBaseTight : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_TIGHT,\n lineHeightBaseSnug: lineHeightBaseSnug !== null && lineHeightBaseSnug !== void 0 ? lineHeightBaseSnug : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_SNUG,\n lineHeightBaseNormal: lineHeightBaseNormal !== null && lineHeightBaseNormal !== void 0 ? lineHeightBaseNormal : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NORMAL,\n lineHeightBaseRelaxed: lineHeightBaseRelaxed !== null && lineHeightBaseRelaxed !== void 0 ? lineHeightBaseRelaxed : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_RELAXED,\n lineHeightBaseLoose: lineHeightBaseLoose !== null && lineHeightBaseLoose !== void 0 ? lineHeightBaseLoose : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_LOOSE\n };\n }, [colorForegroundBase100, colorForegroundBase200, colorForegroundBase300, colorForegroundBase400, colorForegroundBase500, colorForegroundBase600, colorForegroundBase700, colorForegroundBase800, colorForegroundBase900, colorForegroundInverse100, colorForegroundInverse200, colorForegroundInverse300, colorForegroundInverse400, colorForegroundInverse500, colorForegroundInverse600, colorForegroundInverse700, colorForegroundInverse800, colorForegroundInverse900, fontFamilyBase, fontWeightBaseThin, fontWeightBaseExtraLight, fontWeightBaseLight, fontWeightBaseRegular, fontWeightBaseMedium, fontWeightBaseSemibold, fontWeightBaseBold, fontWeightBaseExtraBold, fontWeightBaseBlack, fontSizeBaseX2S, fontSizeBaseXS, fontSizeBaseSM, fontSizeBaseMD, fontSizeBaseLG, fontSizeBaseXL, fontSizeBaseX2L, fontSizeBaseX3L, fontSizeBaseX4L, fontSizeBaseX5L, lineHeightBaseNone, lineHeightBaseTight, lineHeightBaseSnug, lineHeightBaseNormal, lineHeightBaseRelaxed, lineHeightBaseLoose]);\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wrapper__WEBPACK_IMPORTED_MODULE_2__.Wrapper, {\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(ThemeContext.Provider, {\n value: value,\n children: children\n })\n });\n};\nvar useThemeContext = function useThemeContext() {\n return (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(ThemeContext);\n};\n\n//# sourceURL=webpack://creactive/./source/contexts/theme/theme.tsx?");
|
|
393
|
-
|
|
394
|
-
/***/ }),
|
|
395
|
-
|
|
396
|
-
/***/ "./source/contexts/theme/wrapper.tsx":
|
|
397
|
-
/*!*******************************************!*\
|
|
398
|
-
!*** ./source/contexts/theme/wrapper.tsx ***!
|
|
399
|
-
\*******************************************/
|
|
400
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
401
|
-
|
|
402
|
-
"use strict";
|
|
403
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Wrapper: () => (/* binding */ Wrapper)\n/* harmony export */ });\n/* harmony import */ var _helpers_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/helpers/style */ \"./source/helpers/style/index.ts\");\n/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/react */ \"@emotion/react\");\n/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_emotion_react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_native__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-native */ \"react-native\");\n/* harmony import */ var react_native__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_native__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ \"./node_modules/react/jsx-runtime.js\");\n\n\n\n\nvar Wrapper = react_native__WEBPACK_IMPORTED_MODULE_2__.Platform.select({\n web: function web(_ref) {\n var children = _ref.children;\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_emotion_react__WEBPACK_IMPORTED_MODULE_1__.CacheProvider, {\n value: (0,_helpers_style__WEBPACK_IMPORTED_MODULE_0__.getStyleCache)(),\n children: children\n });\n },\n \"default\": function _default(_ref2) {\n var children = _ref2.children;\n return children;\n }\n});\n\n//# sourceURL=webpack://creactive/./source/contexts/theme/wrapper.tsx?");
|
|
392
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ThemeContextProvider: () => (/* binding */ ThemeContextProvider),\n/* harmony export */ useThemeContext: () => (/* binding */ useThemeContext)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/constants */ \"./source/constants/index.ts\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ \"./node_modules/react/jsx-runtime.js\");\n\n\n\n// import { Wrapper } from './wrapper'\n\n// We can use context even outside provider.\n// This can be helpful for testing and storybook.\nvar ThemeContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)({\n colorForegroundBase100: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_100,\n colorForegroundBase200: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_200,\n colorForegroundBase300: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_300,\n colorForegroundBase400: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_400,\n colorForegroundBase500: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_500,\n colorForegroundBase600: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_600,\n colorForegroundBase700: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_700,\n colorForegroundBase800: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_800,\n colorForegroundBase900: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_900,\n colorForegroundInverse100: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_100,\n colorForegroundInverse200: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_200,\n colorForegroundInverse300: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_300,\n colorForegroundInverse400: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_400,\n colorForegroundInverse500: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_500,\n colorForegroundInverse600: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_600,\n colorForegroundInverse700: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_700,\n colorForegroundInverse800: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_800,\n colorForegroundInverse900: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_900,\n fontFamilyBase: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_FAMILY_BASE,\n fontWeightBaseThin: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_THIN,\n fontWeightBaseExtraLight: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRALIGHT,\n fontWeightBaseLight: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_LIGHT,\n fontWeightBaseRegular: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_REGULAR,\n fontWeightBaseMedium: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_MEDIUM,\n fontWeightBaseSemibold: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_SEMIBOLD,\n fontWeightBaseBold: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BOLD,\n fontWeightBaseExtraBold: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRABOLD,\n fontWeightBaseBlack: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BLACK,\n fontSizeBaseX2S: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2S,\n fontSizeBaseXS: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XS,\n fontSizeBaseSM: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_SM,\n fontSizeBaseMD: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_MD,\n fontSizeBaseLG: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_LG,\n fontSizeBaseXL: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XL,\n fontSizeBaseX2L: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2L,\n fontSizeBaseX3L: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X3L,\n fontSizeBaseX4L: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X4L,\n fontSizeBaseX5L: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X5L,\n lineHeightBaseNone: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NONE,\n lineHeightBaseTight: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_TIGHT,\n lineHeightBaseSnug: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_SNUG,\n lineHeightBaseNormal: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NORMAL,\n lineHeightBaseRelaxed: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_RELAXED,\n lineHeightBaseLoose: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_LOOSE\n});\nvar ThemeContextProvider = function ThemeContextProvider(_ref) {\n var colorForegroundBase100 = _ref.colorForegroundBase100,\n colorForegroundBase200 = _ref.colorForegroundBase200,\n colorForegroundBase300 = _ref.colorForegroundBase300,\n colorForegroundBase400 = _ref.colorForegroundBase400,\n colorForegroundBase500 = _ref.colorForegroundBase500,\n colorForegroundBase600 = _ref.colorForegroundBase600,\n colorForegroundBase700 = _ref.colorForegroundBase700,\n colorForegroundBase800 = _ref.colorForegroundBase800,\n colorForegroundBase900 = _ref.colorForegroundBase900,\n colorForegroundInverse100 = _ref.colorForegroundInverse100,\n colorForegroundInverse200 = _ref.colorForegroundInverse200,\n colorForegroundInverse300 = _ref.colorForegroundInverse300,\n colorForegroundInverse400 = _ref.colorForegroundInverse400,\n colorForegroundInverse500 = _ref.colorForegroundInverse500,\n colorForegroundInverse600 = _ref.colorForegroundInverse600,\n colorForegroundInverse700 = _ref.colorForegroundInverse700,\n colorForegroundInverse800 = _ref.colorForegroundInverse800,\n colorForegroundInverse900 = _ref.colorForegroundInverse900,\n fontFamilyBase = _ref.fontFamilyBase,\n fontWeightBaseThin = _ref.fontWeightBaseThin,\n fontWeightBaseExtraLight = _ref.fontWeightBaseExtraLight,\n fontWeightBaseLight = _ref.fontWeightBaseLight,\n fontWeightBaseRegular = _ref.fontWeightBaseRegular,\n fontWeightBaseMedium = _ref.fontWeightBaseMedium,\n fontWeightBaseSemibold = _ref.fontWeightBaseSemibold,\n fontWeightBaseBold = _ref.fontWeightBaseBold,\n fontWeightBaseExtraBold = _ref.fontWeightBaseExtraBold,\n fontWeightBaseBlack = _ref.fontWeightBaseBlack,\n fontSizeBaseX2S = _ref.fontSizeBaseX2S,\n fontSizeBaseXS = _ref.fontSizeBaseXS,\n fontSizeBaseSM = _ref.fontSizeBaseSM,\n fontSizeBaseMD = _ref.fontSizeBaseMD,\n fontSizeBaseLG = _ref.fontSizeBaseLG,\n fontSizeBaseXL = _ref.fontSizeBaseXL,\n fontSizeBaseX2L = _ref.fontSizeBaseX2L,\n fontSizeBaseX3L = _ref.fontSizeBaseX3L,\n fontSizeBaseX4L = _ref.fontSizeBaseX4L,\n fontSizeBaseX5L = _ref.fontSizeBaseX5L,\n lineHeightBaseNone = _ref.lineHeightBaseNone,\n lineHeightBaseTight = _ref.lineHeightBaseTight,\n lineHeightBaseSnug = _ref.lineHeightBaseSnug,\n lineHeightBaseNormal = _ref.lineHeightBaseNormal,\n lineHeightBaseRelaxed = _ref.lineHeightBaseRelaxed,\n lineHeightBaseLoose = _ref.lineHeightBaseLoose,\n children = _ref.children;\n // Memorizing context value.\n // Allows to avoid unnecessary re-renders.\n // Context consumers will re-render only if value changes.\n var value = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {\n return {\n // Foreground color tokens.\n colorForegroundBase100: colorForegroundBase100 !== null && colorForegroundBase100 !== void 0 ? colorForegroundBase100 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_100,\n colorForegroundBase200: colorForegroundBase200 !== null && colorForegroundBase200 !== void 0 ? colorForegroundBase200 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_200,\n colorForegroundBase300: colorForegroundBase300 !== null && colorForegroundBase300 !== void 0 ? colorForegroundBase300 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_300,\n colorForegroundBase400: colorForegroundBase400 !== null && colorForegroundBase400 !== void 0 ? colorForegroundBase400 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_400,\n colorForegroundBase500: colorForegroundBase500 !== null && colorForegroundBase500 !== void 0 ? colorForegroundBase500 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_500,\n colorForegroundBase600: colorForegroundBase600 !== null && colorForegroundBase600 !== void 0 ? colorForegroundBase600 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_600,\n colorForegroundBase700: colorForegroundBase700 !== null && colorForegroundBase700 !== void 0 ? colorForegroundBase700 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_700,\n colorForegroundBase800: colorForegroundBase800 !== null && colorForegroundBase800 !== void 0 ? colorForegroundBase800 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_800,\n colorForegroundBase900: colorForegroundBase900 !== null && colorForegroundBase900 !== void 0 ? colorForegroundBase900 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_900,\n colorForegroundInverse100: colorForegroundInverse100 !== null && colorForegroundInverse100 !== void 0 ? colorForegroundInverse100 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_100,\n colorForegroundInverse200: colorForegroundInverse200 !== null && colorForegroundInverse200 !== void 0 ? colorForegroundInverse200 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_200,\n colorForegroundInverse300: colorForegroundInverse300 !== null && colorForegroundInverse300 !== void 0 ? colorForegroundInverse300 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_300,\n colorForegroundInverse400: colorForegroundInverse400 !== null && colorForegroundInverse400 !== void 0 ? colorForegroundInverse400 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_400,\n colorForegroundInverse500: colorForegroundInverse500 !== null && colorForegroundInverse500 !== void 0 ? colorForegroundInverse500 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_500,\n colorForegroundInverse600: colorForegroundInverse600 !== null && colorForegroundInverse600 !== void 0 ? colorForegroundInverse600 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_600,\n colorForegroundInverse700: colorForegroundInverse700 !== null && colorForegroundInverse700 !== void 0 ? colorForegroundInverse700 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_700,\n colorForegroundInverse800: colorForegroundInverse800 !== null && colorForegroundInverse800 !== void 0 ? colorForegroundInverse800 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_800,\n colorForegroundInverse900: colorForegroundInverse900 !== null && colorForegroundInverse900 !== void 0 ? colorForegroundInverse900 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_900,\n // Font family tokens.\n fontFamilyBase: fontFamilyBase !== null && fontFamilyBase !== void 0 ? fontFamilyBase : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_FAMILY_BASE,\n // Base font weight tokens.\n fontWeightBaseThin: fontWeightBaseThin !== null && fontWeightBaseThin !== void 0 ? fontWeightBaseThin : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_THIN,\n fontWeightBaseExtraLight: fontWeightBaseExtraLight !== null && fontWeightBaseExtraLight !== void 0 ? fontWeightBaseExtraLight : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRALIGHT,\n fontWeightBaseLight: fontWeightBaseLight !== null && fontWeightBaseLight !== void 0 ? fontWeightBaseLight : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_LIGHT,\n fontWeightBaseRegular: fontWeightBaseRegular !== null && fontWeightBaseRegular !== void 0 ? fontWeightBaseRegular : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_REGULAR,\n fontWeightBaseMedium: fontWeightBaseMedium !== null && fontWeightBaseMedium !== void 0 ? fontWeightBaseMedium : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_MEDIUM,\n fontWeightBaseSemibold: fontWeightBaseSemibold !== null && fontWeightBaseSemibold !== void 0 ? fontWeightBaseSemibold : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_SEMIBOLD,\n fontWeightBaseBold: fontWeightBaseBold !== null && fontWeightBaseBold !== void 0 ? fontWeightBaseBold : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BOLD,\n fontWeightBaseExtraBold: fontWeightBaseExtraBold !== null && fontWeightBaseExtraBold !== void 0 ? fontWeightBaseExtraBold : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRABOLD,\n fontWeightBaseBlack: fontWeightBaseBlack !== null && fontWeightBaseBlack !== void 0 ? fontWeightBaseBlack : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BLACK,\n // Base font size tokens.\n fontSizeBaseX2S: fontSizeBaseX2S !== null && fontSizeBaseX2S !== void 0 ? fontSizeBaseX2S : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2S,\n fontSizeBaseXS: fontSizeBaseXS !== null && fontSizeBaseXS !== void 0 ? fontSizeBaseXS : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XS,\n fontSizeBaseSM: fontSizeBaseSM !== null && fontSizeBaseSM !== void 0 ? fontSizeBaseSM : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_SM,\n fontSizeBaseMD: fontSizeBaseMD !== null && fontSizeBaseMD !== void 0 ? fontSizeBaseMD : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_MD,\n fontSizeBaseLG: fontSizeBaseLG !== null && fontSizeBaseLG !== void 0 ? fontSizeBaseLG : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_LG,\n fontSizeBaseXL: fontSizeBaseXL !== null && fontSizeBaseXL !== void 0 ? fontSizeBaseXL : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XL,\n fontSizeBaseX2L: fontSizeBaseX2L !== null && fontSizeBaseX2L !== void 0 ? fontSizeBaseX2L : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2L,\n fontSizeBaseX3L: fontSizeBaseX3L !== null && fontSizeBaseX3L !== void 0 ? fontSizeBaseX3L : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X3L,\n fontSizeBaseX4L: fontSizeBaseX4L !== null && fontSizeBaseX4L !== void 0 ? fontSizeBaseX4L : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X4L,\n fontSizeBaseX5L: fontSizeBaseX5L !== null && fontSizeBaseX5L !== void 0 ? fontSizeBaseX5L : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X5L,\n // Base line height tokens.\n lineHeightBaseNone: lineHeightBaseNone !== null && lineHeightBaseNone !== void 0 ? lineHeightBaseNone : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NONE,\n lineHeightBaseTight: lineHeightBaseTight !== null && lineHeightBaseTight !== void 0 ? lineHeightBaseTight : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_TIGHT,\n lineHeightBaseSnug: lineHeightBaseSnug !== null && lineHeightBaseSnug !== void 0 ? lineHeightBaseSnug : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_SNUG,\n lineHeightBaseNormal: lineHeightBaseNormal !== null && lineHeightBaseNormal !== void 0 ? lineHeightBaseNormal : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NORMAL,\n lineHeightBaseRelaxed: lineHeightBaseRelaxed !== null && lineHeightBaseRelaxed !== void 0 ? lineHeightBaseRelaxed : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_RELAXED,\n lineHeightBaseLoose: lineHeightBaseLoose !== null && lineHeightBaseLoose !== void 0 ? lineHeightBaseLoose : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_LOOSE\n };\n }, [colorForegroundBase100, colorForegroundBase200, colorForegroundBase300, colorForegroundBase400, colorForegroundBase500, colorForegroundBase600, colorForegroundBase700, colorForegroundBase800, colorForegroundBase900, colorForegroundInverse100, colorForegroundInverse200, colorForegroundInverse300, colorForegroundInverse400, colorForegroundInverse500, colorForegroundInverse600, colorForegroundInverse700, colorForegroundInverse800, colorForegroundInverse900, fontFamilyBase, fontWeightBaseThin, fontWeightBaseExtraLight, fontWeightBaseLight, fontWeightBaseRegular, fontWeightBaseMedium, fontWeightBaseSemibold, fontWeightBaseBold, fontWeightBaseExtraBold, fontWeightBaseBlack, fontSizeBaseX2S, fontSizeBaseXS, fontSizeBaseSM, fontSizeBaseMD, fontSizeBaseLG, fontSizeBaseXL, fontSizeBaseX2L, fontSizeBaseX3L, fontSizeBaseX4L, fontSizeBaseX5L, lineHeightBaseNone, lineHeightBaseTight, lineHeightBaseSnug, lineHeightBaseNormal, lineHeightBaseRelaxed, lineHeightBaseLoose]);\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(ThemeContext.Provider, {\n value: value,\n children: children\n });\n // return (\n // <Wrapper>\n\n // </Wrapper>\n // )\n};\nvar useThemeContext = function useThemeContext() {\n return (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(ThemeContext);\n};\n\n//# sourceURL=webpack://creactive/./source/contexts/theme/theme.tsx?");
|
|
404
393
|
|
|
405
394
|
/***/ }),
|
|
406
395
|
|
|
@@ -846,17 +835,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__emotion_cache__;
|
|
|
846
835
|
|
|
847
836
|
/***/ }),
|
|
848
837
|
|
|
849
|
-
/***/ "@emotion/react":
|
|
850
|
-
/*!*********************************!*\
|
|
851
|
-
!*** external "@emotion/react" ***!
|
|
852
|
-
\*********************************/
|
|
853
|
-
/***/ ((module) => {
|
|
854
|
-
|
|
855
|
-
"use strict";
|
|
856
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__emotion_react__;
|
|
857
|
-
|
|
858
|
-
/***/ }),
|
|
859
|
-
|
|
860
838
|
/***/ "@emotion/styled":
|
|
861
839
|
/*!**********************************!*\
|
|
862
840
|
!*** external "@emotion/styled" ***!
|