@hanzogui/stacks 8.2.1 → 8.3.1
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/jsx/NestingContext.native.js.map +1 -1
- package/dist/jsx/SizableStack.native.js.map +1 -1
- package/dist/jsx/Stacks.native.js.map +1 -1
- package/dist/jsx/ThemeableStack.native.js.map +1 -1
- package/dist/jsx/getElevation.native.js.map +1 -1
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/variants.native.js.map +1 -1
- package/package.json +6 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__create","Object","create"],"sources":["
|
|
1
|
+
{"version":3,"names":["__create","Object","create","__defProp","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__getProtoOf","getPrototypeOf","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toESM","mod","isNodeMode","__esModule","value","__toCommonJS","NestingContext_exports","ButtonNestingContext","module","exports","import_react","require","default","createContext"],"sources":["NestingContext.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar NestingContext_exports = {};\n__export(NestingContext_exports, {\n ButtonNestingContext: () => ButtonNestingContext\n});\nmodule.exports = __toCommonJS(NestingContext_exports);\nvar import_react = __toESM(require(\"react\"), 1);\nvar ButtonNestingContext = /* @__PURE__ */ import_react.default.createContext(false);\n//# sourceMappingURL=NestingContext.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,QAAQ,GAAGC,MAAM,CAACC,MAAM;AAC5B,IAAIC,SAAS,GAAGF,MAAM,CAACG,cAAc;AACrC,IAAIC,gBAAgB,GAAGJ,MAAM,CAACK,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGN,MAAM,CAACO,mBAAmB;AAClD,IAAIC,YAAY,GAAGR,MAAM,CAACS,cAAc;AACxC,IAAIC,YAAY,GAAGV,MAAM,CAACW,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBb,SAAS,CAACY,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIlB,iBAAiB,CAACe,IAAI,CAAC,EACrC,IAAI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Y,CAACE,OAAO,CAACC,aAAa,CAAC,KAAK,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","SizableStack_exports","SizableStack","module","exports","import_core","require","import_get_button_sized"],"sources":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","SizableStack_exports","SizableStack","module","exports","import_core","require","import_get_button_sized","import_ThemeableStack","import_variants","styled","ThemeableStack","variants","unstyled","true","elevate","bordered","circular","size","...size","val","extras","getButtonSized"],"sources":["SizableStack.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar SizableStack_exports = {};\n__export(SizableStack_exports, {\n SizableStack: () => SizableStack\n});\nmodule.exports = __toCommonJS(SizableStack_exports);\nvar import_core = require(\"@hanzogui/core\");\nvar import_get_button_sized = require(\"@hanzogui/get-button-sized\");\nvar import_ThemeableStack = require(\"./ThemeableStack\");\nvar import_variants = require(\"./variants\");\nvar SizableStack = (0, import_core.styled)(import_ThemeableStack.ThemeableStack, {\n name: \"SizableStack\",\n variants: {\n unstyled: {\n true: {\n elevate: false,\n bordered: false\n }\n },\n circular: import_variants.circular,\n elevate: import_variants.elevate,\n bordered: {\n true: import_variants.bordered\n },\n size: {\n \"...size\": function(val, extras) {\n return (0, import_get_button_sized.getButtonSized)(val, extras);\n }\n }\n }\n});\n//# sourceMappingURL=SizableStack.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC,IAAI,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,EAC/CnB,SAAS,CAACiB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAAA,KAAMI,IAAI,CAACG,GAAG,CAA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AAEF,GAAG,EAAEC,MAAM,CAAC;MACjE;IACF;EACF;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","Stacks_exports","XStack","YStack","ZStack","fullscreenStyle","module","exports","import_core","require","import_getElevation","position","inset","variants","fullscreen","true"],"sources":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","Stacks_exports","XStack","YStack","ZStack","fullscreenStyle","module","exports","import_core","require","import_getElevation","position","inset","variants","fullscreen","true","elevation","getElevation","styled","View","flexDirection","neverFlatten","isZStack"],"sources":["Stacks.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar Stacks_exports = {};\n__export(Stacks_exports, {\n XStack: () => XStack,\n YStack: () => YStack,\n ZStack: () => ZStack,\n fullscreenStyle: () => fullscreenStyle\n});\nmodule.exports = __toCommonJS(Stacks_exports);\nvar import_core = require(\"@hanzogui/core\");\nvar import_getElevation = require(\"./getElevation\");\nvar fullscreenStyle = {\n position: \"absolute\",\n inset: 0\n};\nvar variants = {\n fullscreen: {\n true: fullscreenStyle\n },\n elevation: {\n \"...size\": import_getElevation.getElevation,\n \":number\": import_getElevation.getElevation\n }\n};\nvar YStack = (0, import_core.styled)(import_core.View, {\n flexDirection: \"column\",\n variants\n});\nYStack[\"displayName\"] = \"YStack\";\nvar XStack = (0, import_core.styled)(import_core.View, {\n flexDirection: \"row\",\n variants\n});\nXStack[\"displayName\"] = \"XStack\";\nvar ZStack = (0, import_core.styled)(YStack, {\n position: \"relative\"\n}, {\n neverFlatten: true,\n isZStack: true\n});\nZStack[\"displayName\"] = \"ZStack\";\n//# sourceMappingURL=Stacks.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC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MAAM,EAAEV,WAAW,CAACW,IAAI,EAAE;EACrDC,aAAa,EAAE,QAAQ;EACvBP;AACF,CAAC,CAAC;AACFV,MAAM,CAAC,aAAa,CAAC,GAAG,QAAQ;AAChC,IAAID,MAAM,GAAG,CAAC,CAAC,EAAEM,WAAW,CAACU,MAAM,EAAEV,WAAW,CAACW,IAAI,EAAE;EACrDC,aAAa,EAAE,KAAK;EACpBP;AACF,CAAC,CAAC;AACFX,MAAM,CAAC,aAAa,CAAC,GAAG,QAAQ;AAChC,IAAIE,MAAM,GAAG,CAAC,CAAC,EAAEI,WAAW,CAACU,MAAM,EAAEf,MAAM,EAAE;EAC3CQ,QAAQ,EAAE;AACZ,CAAC,EAAE;EACDU,YAAY,EAAE,IAAI;EAClBC,QAAQ,EAAE;AACZ,CAAC,CAAC;AACFlB,MAAM,CAAC,aAAa,CAAC,GAAG,QAAQ","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","ThemeableStack_exports","ThemeableStack","themeableVariants","module","exports","import_core","require","import_Stacks","import_variants","chromelessStyle","backgroundColor","borderColor","shadowColor","hoverStyle"],"sources":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","ThemeableStack_exports","ThemeableStack","themeableVariants","module","exports","import_core","require","import_Stacks","import_variants","chromelessStyle","backgroundColor","borderColor","shadowColor","hoverStyle","circular","elevate","bordered","true","transparent","chromeless","pressStyle","focusStyle","styled","YStack","variants"],"sources":["ThemeableStack.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar ThemeableStack_exports = {};\n__export(ThemeableStack_exports, {\n ThemeableStack: () => ThemeableStack,\n themeableVariants: () => themeableVariants\n});\nmodule.exports = __toCommonJS(ThemeableStack_exports);\nvar import_core = require(\"@hanzogui/core\");\nvar import_Stacks = require(\"./Stacks\");\nvar import_variants = require(\"./variants\");\nvar chromelessStyle = {\n backgroundColor: \"transparent\",\n borderColor: \"transparent\",\n shadowColor: \"transparent\",\n hoverStyle: {\n borderColor: \"transparent\"\n }\n};\nvar themeableVariants = {\n circular: import_variants.circular,\n elevate: import_variants.elevate,\n bordered: {\n true: import_variants.bordered\n },\n transparent: {\n true: {\n backgroundColor: \"transparent\"\n }\n },\n chromeless: {\n true: chromelessStyle,\n all: {\n ...chromelessStyle,\n hoverStyle: chromelessStyle,\n pressStyle: chromelessStyle,\n focusStyle: chromelessStyle\n }\n }\n};\nvar ThemeableStack = (0, import_core.styled)(import_Stacks.YStack, {\n variants: themeableVariants\n});\n//# sourceMappingURL=ThemeableStack.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,m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ACC,OAAO,GAAGP,YAAY,CAACG,sBAAsB,CAAC;AACrD,IAAIK,WAAW,GAAGC,OAAO,CAAC,gBAAgB,CAAC;AAC3C,IAAIC,aAAa,GAAGD,OAAO,CAAC,oBAAU,CAAC;AACvC,IAAIE,eAAe,GAAGF,OAAO,CAAC,sBAAY,CAAC;AAC3C,IAAIG,eAAe,GAAG;EACpBC,eAAe,EAAE,aAAa;EAC9BC,WAAW,EAAE,aAAa;EAC1BC,WAAW,EAAE,aAAa;EAC1BC,UAAU,EAAE;IACVF,WAAW,EAAE;EACf;AACF,CAAC;AACD,IAAIT,iBAAiB,GAAG;EACtBY,QAAQ,EAAEN,eAAe,CAACM,QAAQ;EAClCC,OAAO,EAAEP,eAAe,CAACO,OAAO;EAChCC,QAAQ,EAAE;IACRC,IAAI,EAAET,eAAe,CAACQ;EACxB,CAAC;EACDE,WAAW,EAAE;IACXD,IAAI,EAAE;MACJP,eAAe,EAAE;IACnB;EACF,CAAC;EACDS,UAAU,EAAE;IACVF,IAAI,EAAER,eAAe;IACrBvB,GAAG,EAAE;MACH,GAAGuB,eAAe;MAClBI,UAAU,EAAEJ,eAAe;MAC3BW,UAAU,EAAEX,eAAe;MAC3BY,UAAU,EAAEZ;IACd;EACF;AACF,CAAC;AACD,IAAIR,cAAc,GAAG,CAAC,CAAC,EAAEI,WAAW,CAACiB,MAAM,EAAEf,aAAa,CAACgB,MAAM,EAAE;EACjEC,QAAQ,EAAEtB;AACZ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","getElevation_exports","getElevation","getSizedElevation","module","exports","import_core","require","size","extras","tokens","token","sizeNum","isVariable","val","param","theme","num","_$val","getVariableValue","height","shadowRadius","Math","round","shadow","shadowColor","shadowOffset","width","isAndroid","elevationAndroid"],"sources":["getElevation.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar getElevation_exports = {};\n__export(getElevation_exports, {\n getElevation: () => getElevation,\n getSizedElevation: () => getSizedElevation\n});\nmodule.exports = __toCommonJS(getElevation_exports);\nvar import_core = require(\"@hanzogui/core\");\nvar getElevation = function(size, extras) {\n if (!size) return;\n var { tokens } = extras;\n var token = tokens.size[size];\n var sizeNum = (0, import_core.isVariable)(token) ? +token.val : size;\n return getSizedElevation(sizeNum, extras);\n};\nvar getSizedElevation = function(val, param) {\n var { theme, tokens } = param;\n var num = 0;\n if (val === true) {\n var _$val = (0, import_core.getVariableValue)(tokens.size[\"true\"]);\n if (typeof _$val === \"number\") {\n num = _$val;\n } else {\n num = 10;\n }\n } else {\n num = +val;\n }\n if (num === 0) {\n return;\n }\n var [height, shadowRadius] = [\n Math.round(num / 4 + 1),\n Math.round(num / 2 + 2)\n ];\n var shadow = {\n shadowColor: theme.shadowColor,\n shadowRadius,\n shadowOffset: {\n height,\n width: 0\n },\n ...import_core.isAndroid ? {\n elevationAndroid: 2 * height\n } : {}\n };\n return shadow;\n};\n//# sourceMappingURL=getElevation.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC,IAAI,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,EAC/CnB,SAAS,CAACiB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAAA,KAAMI,IAAI,CAACG,GAAG,CAAC;MAAEN,UAAU,EAAE,EAAEK,IAAI,GAAGjB,gBAAgB,CAACe,IAAI,EAAEG,GAAG,CAAC,CAAC,IAAID,IAAI,CAACL;IAAW,CAAC,CAAC;EACxH;EACA,OAAOE,EAAE;AACX,CAAC;AACD,IAAIM,YAAY,GAAIC,GAAG,IAAKR,WAAW,CAAChB,SA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,CAACH,GAAG;EACZ;EACA,IAAIG,GAAG,KAAK,CAAC,EAAE;IACb;EACF;EACA,IAAI,CAACG,MAAM,EAAEC,YAAY,CAAC,GAAG,CAC3BC,IAAI,CAACC,KAAK,CAACN,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,EACvBK,IAAI,CAACC,KAAK,CAACN,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,CACxB;EACD,IAAIO,MAAM,GAAG;IACXC,WAAW,EAAET,KAAK,CAACS,WAAW;IAC9BJ,YAAY;IACZK,YAAY,EAAE;MACZN,MAAM;MACNO,KAAK,EAAE;IACT,CAAC;IACD,IAAGrB,WAAW,CAACsB,SAAS,GAAG;MACzBC,gBAAgB,EAAE,CAAC,GAAGT;IACxB,CAAC,GAAG,CAAC,CAAC;EACR,CAAC;EACD,OAAOI,MAAM;AACf,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty"],"sources":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__copyProps","to","from","except","desc","key","call","get","enumerable","__reExport","target","mod","secondTarget","__toCommonJS","value","index_exports","module","exports","require"],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./Stacks\"), module.exports);\n__reExport(index_exports, require(\"./ThemeableStack\"), module.exports);\n__reExport(index_exports, require(\"./SizableStack\"), module.exports);\n__reExport(index_exports, require(\"./NestingContext\"), module.exports);\n__reExport(index_exports, require(\"./getElevation\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIV,iBAAiB,CAACO,IAAI,CAAC,EACrC,IAAI,CAACL,YAAY,CAACS,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,EAC/Cb,SAAS,CAACW,EAAE,EAAEI,GAAG,EAAE;MAAEE,GAAG,EAAEA,CAAA,KAAML,IAAI,CAACG,GAAG,CAAC;MAAEG,UAAU,EAAE,EAAEJ,IAAI,GAAGX,gBAAgB,CAACS,IAAI,EAAEG,GAAG,CAAC,CAAC,IAAID,IAAI,CAACI;IAAW,CAAC,CAAC;EACxH;EACA,OAAOP,EAAE;AACX,CAAC;AACD,IAAIQ,UAAU,GAAGA,CAACC,MAAM,EAAEC,GAAG,EAAEC,YAAY,MAAMZ,WAAW,CAACU,MAAM,EAAEC,GAAG,EAAE,SAAS,CAAC,EAAEC,YAAY,IAAIZ,WAAW,CAACY,YAAY,EAAED,GAAG,EAAE,SAAS,CAAC,CAAC;AAChJ,IAAIE,YAAY,GAAIF,GAAG,IAAKX,WAAW,CAACV,SAAS,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE;EAAEwB,KAAK,EAAE;AAAK,CAAC,CAAC,EAAEH,GAAG,CAAC;AAC1F,IAAII,aAAa,GAAG,CAAC,CAAC;AACtBC,MAAM,CAACC,OAAO,GAAGJ,YAAY,CAACE,aAAa,CAAC;AAC5CN,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,oBAAU,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AAC9DR,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,4BAAkB,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AACtER,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,0BAAgB,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AACpER,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,4BAAkB,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AACtER,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,0BAAgB,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","variants_exports","bordered","circular","elevate","module","exports","import_getElevation","require","true","_","extras","getElevation","props","val","param"],"sources":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","variants_exports","bordered","circular","elevate","module","exports","import_getElevation","require","true","_","extras","getElevation","props","val","param","borderWidth","borderColor","circularStyle","borderRadius","padding","tokens","size","width","height","maxWidth","maxHeight","minWidth","minHeight"],"sources":["variants.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar variants_exports = {};\n__export(variants_exports, {\n bordered: () => bordered,\n circular: () => circular,\n elevate: () => elevate\n});\nmodule.exports = __toCommonJS(variants_exports);\nvar import_getElevation = require(\"./getElevation\");\nvar elevate = {\n true: function(_, extras) {\n return (0, import_getElevation.getElevation)(extras.props[\"size\"], extras);\n }\n};\nvar bordered = function(val, param) {\n var { props } = param;\n return {\n // TODO size it with size in '...size'\n borderWidth: typeof val === \"number\" ? val : 1,\n borderColor: \"$borderColor\"\n };\n};\nvar circularStyle = {\n borderRadius: 1e5,\n padding: 0\n};\nvar circular = {\n true: function(_, param) {\n var { props, tokens } = param;\n if (!(\"size\" in props)) {\n return circularStyle;\n }\n var size = typeof props.size === \"number\" ? props.size : tokens.size[props.size];\n return {\n ...circularStyle,\n width: size,\n height: size,\n maxWidth: size,\n maxHeight: size,\n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IAAI,CAAC;IAChF,OAAO;MACL,GAAGJ,aAAa;MAChBK,KAAK,EAAED,IAAI;MACXE,MAAM,EAAEF,IAAI;MACZG,QAAQ,EAAEH,IAAI;MACdI,SAAS,EAAEJ,IAAI;MACfK,QAAQ,EAAEL,IAAI;MACdM,SAAS,EAAEN;IACb,CAAC;EACH;AACF,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/stacks",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.1",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"files": [
|
|
@@ -35,21 +35,16 @@
|
|
|
35
35
|
"clean:build": "hanzogui-build clean:build"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@hanzogui/core": "8.
|
|
39
|
-
"@hanzogui/get-button-sized": "8.
|
|
40
|
-
"@hanzogui/web": "8.
|
|
38
|
+
"@hanzogui/core": "8.3.1",
|
|
39
|
+
"@hanzogui/get-button-sized": "8.3.1",
|
|
40
|
+
"@hanzogui/web": "8.3.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@hanzogui/build": "8.
|
|
43
|
+
"@hanzogui/build": "8.3.1",
|
|
44
44
|
"react": ">=19"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": ">=19"
|
|
48
48
|
},
|
|
49
|
-
"module:jsx": "dist/jsx"
|
|
50
|
-
"repository": {
|
|
51
|
-
"type": "git",
|
|
52
|
-
"url": "git+https://github.com/hanzoai/gui.git",
|
|
53
|
-
"directory": "pkgs/ui/stacks"
|
|
54
|
-
}
|
|
49
|
+
"module:jsx": "dist/jsx"
|
|
55
50
|
}
|