@hanzo/gui 2.0.0-rc.29 → 2.0.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/bundle-native.mjs +1 -1
- package/dist/cjs/createGui.cjs +3 -3
- package/dist/cjs/createGui.native.js +3 -3
- package/dist/cjs/createGui.native.js.map +1 -1
- package/dist/cjs/index.cjs +71 -71
- package/dist/cjs/index.native.js +71 -71
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/setup.cjs +1 -1
- package/dist/cjs/setup.native.js +1 -1
- package/dist/cjs/setup.native.js.map +1 -1
- package/dist/cjs/views/EnsureFlexed.cjs +2 -2
- package/dist/cjs/views/EnsureFlexed.native.js +2 -2
- package/dist/cjs/views/EnsureFlexed.native.js.map +1 -1
- package/dist/cjs/views/GuiProvider.cjs +2 -2
- package/dist/cjs/views/GuiProvider.native.js +2 -2
- package/dist/cjs/views/GuiProvider.native.js.map +1 -1
- package/dist/cjs/views/Text.cjs +2 -2
- package/dist/cjs/views/Text.native.js +2 -2
- package/dist/cjs/views/Text.native.js.map +1 -1
- package/dist/cjs/views/VisuallyHidden.cjs +2 -2
- package/dist/cjs/views/VisuallyHidden.native.js +2 -2
- package/dist/cjs/views/VisuallyHidden.native.js.map +1 -1
- package/dist/esm/createGui.mjs +1 -1
- package/dist/esm/createGui.native.js +1 -1
- package/dist/esm/index.js +12 -12
- package/dist/esm/index.mjs +12 -12
- package/dist/esm/index.native.js +12 -12
- package/dist/esm/views/EnsureFlexed.mjs +1 -1
- package/dist/esm/views/EnsureFlexed.native.js +1 -1
- package/dist/esm/views/GuiProvider.mjs +1 -1
- package/dist/esm/views/GuiProvider.native.js +1 -1
- package/dist/esm/views/Text.mjs +1 -1
- package/dist/esm/views/Text.native.js +1 -1
- package/dist/esm/views/VisuallyHidden.mjs +1 -1
- package/dist/esm/views/VisuallyHidden.native.js +1 -1
- package/dist/jsx/createGui.mjs +1 -1
- package/dist/jsx/createGui.native.js +3 -3
- package/dist/jsx/createGui.native.js.map +1 -1
- package/dist/jsx/index.js +12 -12
- package/dist/jsx/index.mjs +12 -12
- package/dist/jsx/index.native.js +71 -71
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/setup.native.js +1 -1
- package/dist/jsx/views/EnsureFlexed.mjs +1 -1
- package/dist/jsx/views/EnsureFlexed.native.js +2 -2
- package/dist/jsx/views/GuiProvider.mjs +1 -1
- package/dist/jsx/views/GuiProvider.native.js +2 -2
- package/dist/jsx/views/Text.mjs +1 -1
- package/dist/jsx/views/Text.native.js +2 -2
- package/dist/jsx/views/VisuallyHidden.mjs +1 -1
- package/dist/jsx/views/VisuallyHidden.native.js +2 -2
- package/dist/jsx/views/VisuallyHidden.native.js.map +1 -1
- package/gui.config.ts +2 -2
- package/package.json +20 -20
- package/src/createGui.ts +1 -1
- package/src/index.ts +13 -13
- package/src/setup.ts +1 -1
- package/src/views/EnsureFlexed.tsx +1 -1
- package/src/views/GuiProvider.tsx +2 -2
- package/src/views/Text.tsx +1 -1
- package/src/views/VisuallyHidden.tsx +1 -1
- package/types/createGui.d.ts +1 -1
- package/types/index.d.ts +13 -13
- package/types/setup.d.ts +1 -1
- package/types/views/EnsureFlexed.d.ts +1 -1
- package/types/views/GuiProvider.d.ts +1 -1
- package/types/views/Text.d.ts +2 -2
- package/types/views/VisuallyHidden.d.ts +2 -2
- package/types/createGui.d.ts.map +0 -1
- package/types/index.d.ts.map +0 -1
- package/types/setup.d.ts.map +0 -1
- package/types/viewTypes.d.ts.map +0 -1
- package/types/views/EnsureFlexed.d.ts.map +0 -1
- package/types/views/GuiProvider.d.ts.map +0 -1
- package/types/views/Text.d.ts.map +0 -1
- package/types/views/VisuallyHidden.d.ts.map +0 -1
package/bundle-native.mjs
CHANGED
package/dist/cjs/createGui.cjs
CHANGED
|
@@ -23,11 +23,11 @@ __export(createGui_exports, {
|
|
|
23
23
|
createGui: () => createGui
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(createGui_exports);
|
|
26
|
-
var
|
|
27
|
-
const createGui = process.env.NODE_ENV !== "development" ?
|
|
26
|
+
var import_core = require("@hanzogui/core");
|
|
27
|
+
const createGui = process.env.NODE_ENV !== "development" ? import_core.createGui : conf => {
|
|
28
28
|
const sizeTokenKeys = ["$true"],
|
|
29
29
|
hasKeys = (expectedKeys, obj) => expectedKeys.every(k => typeof obj[k] < "u"),
|
|
30
|
-
guiConfig = (0,
|
|
30
|
+
guiConfig = (0, import_core.createGui)(conf);
|
|
31
31
|
for (const name of ["size", "space"]) {
|
|
32
32
|
const tokenSet = guiConfig.tokensParsed[name];
|
|
33
33
|
if (!tokenSet) throw new Error(`Expected tokens for "${name}" in ${Object.keys(guiConfig.tokensParsed).join(", ")}`);
|
|
@@ -25,13 +25,13 @@ __export(createGui_exports, {
|
|
|
25
25
|
createGui: () => createGui
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(createGui_exports);
|
|
28
|
-
var
|
|
29
|
-
createGui = process.env.NODE_ENV !== "development" ?
|
|
28
|
+
var import_core = require("@hanzogui/core"),
|
|
29
|
+
createGui = process.env.NODE_ENV !== "development" ? import_core.createGui : function (conf) {
|
|
30
30
|
for (var sizeTokenKeys = ["$true"], hasKeys = function (expectedKeys, obj) {
|
|
31
31
|
return expectedKeys.every(function (k) {
|
|
32
32
|
return typeof obj[k] < "u";
|
|
33
33
|
});
|
|
34
|
-
}, guiConfig = (0,
|
|
34
|
+
}, guiConfig = (0, import_core.createGui)(conf), _i = 0, _iter = ["size", "space"]; _i < _iter.length; _i++) {
|
|
35
35
|
var name = _iter[_i],
|
|
36
36
|
tokenSet = guiConfig.tokensParsed[name];
|
|
37
37
|
if (!tokenSet) throw new Error(`Expected tokens for "${name}" in ${Object.keys(guiConfig.tokensParsed).join(", ")}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","createGui_exports","__export","createGui","module","exports","
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","createGui_exports","__export","createGui","module","exports","import_core","require","process","env","NODE_ENV","conf","sizeTokenKeys","hasKeys","expectedKeys","obj","every","k","guiConfig","_i","_iter","length","name","tokenSet","tokensParsed","Error","Object","keys","join","expected","size","_i1","_iter1","name1","tokenSet1","received","hasSomeOverlap","some","rk","includes"],"sources":["../../src/createGui.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,iBAAA;AAAAC,QAAA,CAAAD,iBAAA;EAAAE,SAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAA2C,CAAAK,iBAAA;AAMpC,IAAAK,WAAM,GACXC,OAAA,CAAQ,gBAAI,CAAa;EAAAJ,SAAA,GAAAK,OACrB,CAAAC,GAAA,CAAAC,QAAA,kBACU,GAAAJ,WAAA,CAAAH,SAAA,aAAAQ,IAAA;IACR,SAAMC,aAAgB,GAAC,CASvB,QACE,EAAAC,OAAM,YAAAA,CAAWC,YAAU,EAAAC,GAAA;QAC3B,OAAKD,YAAA,CAAAE,KAAA,WAAAC,CAAA;UACH,OAAM,OAAIF,GAAA,CAAAE,CAAA;QAAA;MACmC,GAAAC,SACzC,OAAUZ,WAAA,CAAAH,SAAA,EAAAQ,IAAA,GAAAQ,EAAA,MAAAC,KAAA,UACV,EAAU,OACd,CAEF,EAAAD,EAAA,GAAKC,KAAA,CAAAC,MAAQ,EAAAF,EAAA;MACX,IAAAG,IAAM,GAAAF,KAAI,CAAAD,EAAM;QAAAI,QAAA,GAAAL,SAAA,CAAAM,YAAA,CAAAF,IAAA;MAAA,KAAAC,QAAA,EACc,UAAAE,KAAA,yBAAAH,IAAA,QAAAI,MAAA,CAAAC,IAAA,CAAAT,SAAA,CAAAM,YAAA,EAAAI,IAAA;MAAA,KAAAf,OAE9B,CAAAD,aAAY,EAAQW,QAAO,GAAK,UAAAE,KAAA;AAAA,sCAERH,IAAA;AAAA;AAAA,YAAAI,MAAA,CAAAC,IAAA,CAAAJ,QAAA,EAAAK,IAAA;AAAA;AAAA,YAAAhB,aAAA,CAAAgB,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcnC;AAKO;AACA;AACE;IAGA;IACE,SAAAC,QAAU,GAAMH,MAAA,CAAAC,IAAA,CAAAT,SAAA,CAAAM,YAAA,CAAAM,IAAA,GAAAC,GAAA,MAAAC,MAAA,cACK,WAAAD,GAAA,GAAAC,MAErB,CAAAX,MAAS,EAAKU,GAAA,EAAK;MAAA,IAAAE,KAAA,GAAAD,MAAA,CAAAD,GAAA;QAAAG,SAAA,GAAAhB,SAAA,CAAAM,YAAA,CAAAS,KAAA;QAAAE,QAAA,GAAAT,MAAA,CAAAC,IAAA,CAAAO,SAAA;QAAAE,cAAA,GAAAD,QAAA,CAAAE,IAAA,WAAAC,EAAA;UAAA,OAAAT,QAAA,CAAAU,QAEP,CAAAD,EAAS;QAAU;MAE1C,KAAAF,cAAA,EAEO,UAAAX,KAAA;AAEA,6BAAOQ,KAAA;AACT","ignoreList":[]}
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -21,82 +21,82 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
|
21
21
|
}), mod);
|
|
22
22
|
var index_exports = {};
|
|
23
23
|
__export(index_exports, {
|
|
24
|
-
ClientOnly: () =>
|
|
25
|
-
ComponentContext: () =>
|
|
26
|
-
Configuration: () =>
|
|
27
|
-
FontLanguage: () =>
|
|
28
|
-
GroupContext: () =>
|
|
29
|
-
Theme: () =>
|
|
30
|
-
View: () =>
|
|
31
|
-
_withStableStyle: () =>
|
|
32
|
-
createComponent: () =>
|
|
33
|
-
createFont: () =>
|
|
34
|
-
createShorthands: () =>
|
|
35
|
-
createStyledContext: () =>
|
|
36
|
-
createTokens: () =>
|
|
37
|
-
createVariable: () =>
|
|
38
|
-
getCSSStylesAtomic: () =>
|
|
39
|
-
getConfig: () =>
|
|
40
|
-
getMedia: () =>
|
|
41
|
-
getThemes: () =>
|
|
42
|
-
getToken: () =>
|
|
43
|
-
getTokenValue: () =>
|
|
44
|
-
getTokens: () =>
|
|
45
|
-
getVariable: () =>
|
|
46
|
-
getVariableName: () =>
|
|
47
|
-
getVariableValue: () =>
|
|
48
|
-
insertFont: () =>
|
|
49
|
-
isBrowser: () =>
|
|
50
|
-
isChrome: () =>
|
|
51
|
-
isClient: () =>
|
|
52
|
-
isGuiComponent: () =>
|
|
53
|
-
isGuiElement: () =>
|
|
54
|
-
isServer: () =>
|
|
55
|
-
isTouchable: () =>
|
|
56
|
-
isVariable: () =>
|
|
57
|
-
isWeb: () =>
|
|
58
|
-
isWebTouchable: () =>
|
|
59
|
-
matchMedia: () =>
|
|
60
|
-
mediaObjectToString: () =>
|
|
61
|
-
mediaQueryConfig: () =>
|
|
62
|
-
mediaState: () =>
|
|
63
|
-
setConfig: () =>
|
|
64
|
-
setOnLayoutStrategy: () =>
|
|
65
|
-
setupDev: () =>
|
|
66
|
-
styled: () =>
|
|
67
|
-
themeable: () =>
|
|
68
|
-
useClientValue: () =>
|
|
69
|
-
useConfiguration: () =>
|
|
70
|
-
useDidFinishSSR: () =>
|
|
71
|
-
useEvent: () =>
|
|
72
|
-
useGet: () =>
|
|
73
|
-
useIsTouchDevice: () =>
|
|
74
|
-
useIsomorphicLayoutEffect: () =>
|
|
75
|
-
useMedia: () =>
|
|
76
|
-
useProps: () =>
|
|
77
|
-
usePropsAndStyle: () =>
|
|
78
|
-
useStyle: () =>
|
|
79
|
-
useTheme: () =>
|
|
80
|
-
useThemeName: () =>
|
|
81
|
-
variableToString: () =>
|
|
82
|
-
withStaticProperties: () =>
|
|
24
|
+
ClientOnly: () => import_core.ClientOnly,
|
|
25
|
+
ComponentContext: () => import_core.ComponentContext,
|
|
26
|
+
Configuration: () => import_core.Configuration,
|
|
27
|
+
FontLanguage: () => import_core.FontLanguage,
|
|
28
|
+
GroupContext: () => import_core.GroupContext,
|
|
29
|
+
Theme: () => import_core.Theme,
|
|
30
|
+
View: () => import_core.View,
|
|
31
|
+
_withStableStyle: () => import_core._withStableStyle,
|
|
32
|
+
createComponent: () => import_core.createComponent,
|
|
33
|
+
createFont: () => import_core.createFont,
|
|
34
|
+
createShorthands: () => import_core.createShorthands,
|
|
35
|
+
createStyledContext: () => import_core.createStyledContext,
|
|
36
|
+
createTokens: () => import_core.createTokens,
|
|
37
|
+
createVariable: () => import_core.createVariable,
|
|
38
|
+
getCSSStylesAtomic: () => import_core.getCSSStylesAtomic,
|
|
39
|
+
getConfig: () => import_core.getConfig,
|
|
40
|
+
getMedia: () => import_core.getMedia,
|
|
41
|
+
getThemes: () => import_core.getThemes,
|
|
42
|
+
getToken: () => import_core.getToken,
|
|
43
|
+
getTokenValue: () => import_core.getTokenValue,
|
|
44
|
+
getTokens: () => import_core.getTokens,
|
|
45
|
+
getVariable: () => import_core.getVariable,
|
|
46
|
+
getVariableName: () => import_core.getVariableName,
|
|
47
|
+
getVariableValue: () => import_core.getVariableValue,
|
|
48
|
+
insertFont: () => import_core.insertFont,
|
|
49
|
+
isBrowser: () => import_core.isBrowser,
|
|
50
|
+
isChrome: () => import_core.isChrome,
|
|
51
|
+
isClient: () => import_core.isClient,
|
|
52
|
+
isGuiComponent: () => import_core.isGuiComponent,
|
|
53
|
+
isGuiElement: () => import_core.isGuiElement,
|
|
54
|
+
isServer: () => import_core.isServer,
|
|
55
|
+
isTouchable: () => import_core.isTouchable,
|
|
56
|
+
isVariable: () => import_core.isVariable,
|
|
57
|
+
isWeb: () => import_core.isWeb,
|
|
58
|
+
isWebTouchable: () => import_core.isWebTouchable,
|
|
59
|
+
matchMedia: () => import_core.matchMedia,
|
|
60
|
+
mediaObjectToString: () => import_core.mediaObjectToString,
|
|
61
|
+
mediaQueryConfig: () => import_core.mediaQueryConfig,
|
|
62
|
+
mediaState: () => import_core.mediaState,
|
|
63
|
+
setConfig: () => import_core.setConfig,
|
|
64
|
+
setOnLayoutStrategy: () => import_core.setOnLayoutStrategy,
|
|
65
|
+
setupDev: () => import_core.setupDev,
|
|
66
|
+
styled: () => import_core.styled,
|
|
67
|
+
themeable: () => import_core.themeable,
|
|
68
|
+
useClientValue: () => import_core.useClientValue,
|
|
69
|
+
useConfiguration: () => import_core.useConfiguration,
|
|
70
|
+
useDidFinishSSR: () => import_core.useDidFinishSSR,
|
|
71
|
+
useEvent: () => import_core.useEvent,
|
|
72
|
+
useGet: () => import_core.useGet,
|
|
73
|
+
useIsTouchDevice: () => import_core.useIsTouchDevice,
|
|
74
|
+
useIsomorphicLayoutEffect: () => import_core.useIsomorphicLayoutEffect,
|
|
75
|
+
useMedia: () => import_core.useMedia,
|
|
76
|
+
useProps: () => import_core.useProps,
|
|
77
|
+
usePropsAndStyle: () => import_core.usePropsAndStyle,
|
|
78
|
+
useStyle: () => import_core.useStyle,
|
|
79
|
+
useTheme: () => import_core.useTheme,
|
|
80
|
+
useThemeName: () => import_core.useThemeName,
|
|
81
|
+
variableToString: () => import_core.variableToString,
|
|
82
|
+
withStaticProperties: () => import_core.withStaticProperties
|
|
83
83
|
});
|
|
84
84
|
module.exports = __toCommonJS(index_exports);
|
|
85
85
|
var import_setup = require("./setup.cjs");
|
|
86
|
-
__reExport(index_exports, require("@
|
|
87
|
-
__reExport(index_exports, require("@
|
|
88
|
-
__reExport(index_exports, require("@
|
|
89
|
-
__reExport(index_exports, require("@
|
|
90
|
-
__reExport(index_exports, require("@
|
|
91
|
-
__reExport(index_exports, require("@
|
|
92
|
-
__reExport(index_exports, require("@
|
|
93
|
-
__reExport(index_exports, require("@
|
|
94
|
-
__reExport(index_exports, require("@
|
|
95
|
-
__reExport(index_exports, require("@
|
|
96
|
-
__reExport(index_exports, require("@
|
|
86
|
+
__reExport(index_exports, require("@hanzogui/compose-refs"), module.exports);
|
|
87
|
+
__reExport(index_exports, require("@hanzogui/create-context"), module.exports);
|
|
88
|
+
__reExport(index_exports, require("@hanzogui/font-size"), module.exports);
|
|
89
|
+
__reExport(index_exports, require("@hanzogui/react-native-media-driver"), module.exports);
|
|
90
|
+
__reExport(index_exports, require("@hanzogui/helpers"), module.exports);
|
|
91
|
+
__reExport(index_exports, require("@hanzogui/theme"), module.exports);
|
|
92
|
+
__reExport(index_exports, require("@hanzogui/use-controllable-state"), module.exports);
|
|
93
|
+
__reExport(index_exports, require("@hanzogui/use-debounce"), module.exports);
|
|
94
|
+
__reExport(index_exports, require("@hanzogui/use-force-update"), module.exports);
|
|
95
|
+
__reExport(index_exports, require("@hanzogui/element"), module.exports);
|
|
96
|
+
__reExport(index_exports, require("@hanzogui/use-window-dimensions"), module.exports);
|
|
97
97
|
__reExport(index_exports, require("./createGui.cjs"), module.exports);
|
|
98
98
|
__reExport(index_exports, require("./viewTypes.cjs"), module.exports);
|
|
99
99
|
__reExport(index_exports, require("./views/GuiProvider.cjs"), module.exports);
|
|
100
100
|
__reExport(index_exports, require("./views/EnsureFlexed.cjs"), module.exports);
|
|
101
101
|
__reExport(index_exports, require("./views/Text.cjs"), module.exports);
|
|
102
|
-
var
|
|
102
|
+
var import_core = require("@hanzogui/core");
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -23,83 +23,83 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
|
23
23
|
}), mod);
|
|
24
24
|
var index_exports = {};
|
|
25
25
|
__export(index_exports, {
|
|
26
|
-
ClientOnly: () =>
|
|
27
|
-
ComponentContext: () =>
|
|
28
|
-
Configuration: () =>
|
|
29
|
-
FontLanguage: () =>
|
|
30
|
-
GroupContext: () =>
|
|
31
|
-
Theme: () =>
|
|
32
|
-
View: () =>
|
|
33
|
-
_withStableStyle: () =>
|
|
34
|
-
createComponent: () =>
|
|
35
|
-
createFont: () =>
|
|
36
|
-
createShorthands: () =>
|
|
37
|
-
createStyledContext: () =>
|
|
38
|
-
createTokens: () =>
|
|
39
|
-
createVariable: () =>
|
|
40
|
-
getCSSStylesAtomic: () =>
|
|
41
|
-
getConfig: () =>
|
|
42
|
-
getMedia: () =>
|
|
43
|
-
getThemes: () =>
|
|
44
|
-
getToken: () =>
|
|
45
|
-
getTokenValue: () =>
|
|
46
|
-
getTokens: () =>
|
|
47
|
-
getVariable: () =>
|
|
48
|
-
getVariableName: () =>
|
|
49
|
-
getVariableValue: () =>
|
|
50
|
-
insertFont: () =>
|
|
51
|
-
isBrowser: () =>
|
|
52
|
-
isChrome: () =>
|
|
53
|
-
isClient: () =>
|
|
54
|
-
isGuiComponent: () =>
|
|
55
|
-
isGuiElement: () =>
|
|
56
|
-
isServer: () =>
|
|
57
|
-
isTouchable: () =>
|
|
58
|
-
isVariable: () =>
|
|
59
|
-
isWeb: () =>
|
|
60
|
-
isWebTouchable: () =>
|
|
61
|
-
matchMedia: () =>
|
|
62
|
-
mediaObjectToString: () =>
|
|
63
|
-
mediaQueryConfig: () =>
|
|
64
|
-
mediaState: () =>
|
|
65
|
-
setConfig: () =>
|
|
66
|
-
setOnLayoutStrategy: () =>
|
|
67
|
-
setupDev: () =>
|
|
68
|
-
styled: () =>
|
|
69
|
-
themeable: () =>
|
|
70
|
-
useClientValue: () =>
|
|
71
|
-
useConfiguration: () =>
|
|
72
|
-
useDidFinishSSR: () =>
|
|
73
|
-
useEvent: () =>
|
|
74
|
-
useGet: () =>
|
|
75
|
-
useIsTouchDevice: () =>
|
|
76
|
-
useIsomorphicLayoutEffect: () =>
|
|
77
|
-
useMedia: () =>
|
|
78
|
-
useProps: () =>
|
|
79
|
-
usePropsAndStyle: () =>
|
|
80
|
-
useStyle: () =>
|
|
81
|
-
useTheme: () =>
|
|
82
|
-
useThemeName: () =>
|
|
83
|
-
variableToString: () =>
|
|
84
|
-
withStaticProperties: () =>
|
|
26
|
+
ClientOnly: () => import_core.ClientOnly,
|
|
27
|
+
ComponentContext: () => import_core.ComponentContext,
|
|
28
|
+
Configuration: () => import_core.Configuration,
|
|
29
|
+
FontLanguage: () => import_core.FontLanguage,
|
|
30
|
+
GroupContext: () => import_core.GroupContext,
|
|
31
|
+
Theme: () => import_core.Theme,
|
|
32
|
+
View: () => import_core.View,
|
|
33
|
+
_withStableStyle: () => import_core._withStableStyle,
|
|
34
|
+
createComponent: () => import_core.createComponent,
|
|
35
|
+
createFont: () => import_core.createFont,
|
|
36
|
+
createShorthands: () => import_core.createShorthands,
|
|
37
|
+
createStyledContext: () => import_core.createStyledContext,
|
|
38
|
+
createTokens: () => import_core.createTokens,
|
|
39
|
+
createVariable: () => import_core.createVariable,
|
|
40
|
+
getCSSStylesAtomic: () => import_core.getCSSStylesAtomic,
|
|
41
|
+
getConfig: () => import_core.getConfig,
|
|
42
|
+
getMedia: () => import_core.getMedia,
|
|
43
|
+
getThemes: () => import_core.getThemes,
|
|
44
|
+
getToken: () => import_core.getToken,
|
|
45
|
+
getTokenValue: () => import_core.getTokenValue,
|
|
46
|
+
getTokens: () => import_core.getTokens,
|
|
47
|
+
getVariable: () => import_core.getVariable,
|
|
48
|
+
getVariableName: () => import_core.getVariableName,
|
|
49
|
+
getVariableValue: () => import_core.getVariableValue,
|
|
50
|
+
insertFont: () => import_core.insertFont,
|
|
51
|
+
isBrowser: () => import_core.isBrowser,
|
|
52
|
+
isChrome: () => import_core.isChrome,
|
|
53
|
+
isClient: () => import_core.isClient,
|
|
54
|
+
isGuiComponent: () => import_core.isGuiComponent,
|
|
55
|
+
isGuiElement: () => import_core.isGuiElement,
|
|
56
|
+
isServer: () => import_core.isServer,
|
|
57
|
+
isTouchable: () => import_core.isTouchable,
|
|
58
|
+
isVariable: () => import_core.isVariable,
|
|
59
|
+
isWeb: () => import_core.isWeb,
|
|
60
|
+
isWebTouchable: () => import_core.isWebTouchable,
|
|
61
|
+
matchMedia: () => import_core.matchMedia,
|
|
62
|
+
mediaObjectToString: () => import_core.mediaObjectToString,
|
|
63
|
+
mediaQueryConfig: () => import_core.mediaQueryConfig,
|
|
64
|
+
mediaState: () => import_core.mediaState,
|
|
65
|
+
setConfig: () => import_core.setConfig,
|
|
66
|
+
setOnLayoutStrategy: () => import_core.setOnLayoutStrategy,
|
|
67
|
+
setupDev: () => import_core.setupDev,
|
|
68
|
+
styled: () => import_core.styled,
|
|
69
|
+
themeable: () => import_core.themeable,
|
|
70
|
+
useClientValue: () => import_core.useClientValue,
|
|
71
|
+
useConfiguration: () => import_core.useConfiguration,
|
|
72
|
+
useDidFinishSSR: () => import_core.useDidFinishSSR,
|
|
73
|
+
useEvent: () => import_core.useEvent,
|
|
74
|
+
useGet: () => import_core.useGet,
|
|
75
|
+
useIsTouchDevice: () => import_core.useIsTouchDevice,
|
|
76
|
+
useIsomorphicLayoutEffect: () => import_core.useIsomorphicLayoutEffect,
|
|
77
|
+
useMedia: () => import_core.useMedia,
|
|
78
|
+
useProps: () => import_core.useProps,
|
|
79
|
+
usePropsAndStyle: () => import_core.usePropsAndStyle,
|
|
80
|
+
useStyle: () => import_core.useStyle,
|
|
81
|
+
useTheme: () => import_core.useTheme,
|
|
82
|
+
useThemeName: () => import_core.useThemeName,
|
|
83
|
+
variableToString: () => import_core.variableToString,
|
|
84
|
+
withStaticProperties: () => import_core.withStaticProperties
|
|
85
85
|
});
|
|
86
86
|
module.exports = __toCommonJS(index_exports);
|
|
87
87
|
var import_setup = require("./setup.native.js");
|
|
88
|
-
__reExport(index_exports, require("@
|
|
89
|
-
__reExport(index_exports, require("@
|
|
90
|
-
__reExport(index_exports, require("@
|
|
91
|
-
__reExport(index_exports, require("@
|
|
92
|
-
__reExport(index_exports, require("@
|
|
93
|
-
__reExport(index_exports, require("@
|
|
94
|
-
__reExport(index_exports, require("@
|
|
95
|
-
__reExport(index_exports, require("@
|
|
96
|
-
__reExport(index_exports, require("@
|
|
97
|
-
__reExport(index_exports, require("@
|
|
98
|
-
__reExport(index_exports, require("@
|
|
88
|
+
__reExport(index_exports, require("@hanzogui/compose-refs"), module.exports);
|
|
89
|
+
__reExport(index_exports, require("@hanzogui/create-context"), module.exports);
|
|
90
|
+
__reExport(index_exports, require("@hanzogui/font-size"), module.exports);
|
|
91
|
+
__reExport(index_exports, require("@hanzogui/react-native-media-driver"), module.exports);
|
|
92
|
+
__reExport(index_exports, require("@hanzogui/helpers"), module.exports);
|
|
93
|
+
__reExport(index_exports, require("@hanzogui/theme"), module.exports);
|
|
94
|
+
__reExport(index_exports, require("@hanzogui/use-controllable-state"), module.exports);
|
|
95
|
+
__reExport(index_exports, require("@hanzogui/use-debounce"), module.exports);
|
|
96
|
+
__reExport(index_exports, require("@hanzogui/use-force-update"), module.exports);
|
|
97
|
+
__reExport(index_exports, require("@hanzogui/element"), module.exports);
|
|
98
|
+
__reExport(index_exports, require("@hanzogui/use-window-dimensions"), module.exports);
|
|
99
99
|
__reExport(index_exports, require("./createGui.native.js"), module.exports);
|
|
100
100
|
__reExport(index_exports, require("./viewTypes.native.js"), module.exports);
|
|
101
101
|
__reExport(index_exports, require("./views/GuiProvider.native.js"), module.exports);
|
|
102
102
|
__reExport(index_exports, require("./views/EnsureFlexed.native.js"), module.exports);
|
|
103
103
|
__reExport(index_exports, require("./views/Text.native.js"), module.exports);
|
|
104
|
-
var
|
|
104
|
+
var import_core = require("@hanzogui/core");
|
|
105
105
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","__export","ClientOnly","
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","__export","ClientOnly","import_core","ComponentContext","Configuration","FontLanguage","GroupContext","Theme","View","_withStableStyle","createComponent","createFont","createShorthands","createStyledContext","createTokens","createVariable","getCSSStylesAtomic","getConfig","getMedia","getThemes","getToken","getTokenValue","getTokens","getVariable","getVariableName","getVariableValue","insertFont","isBrowser","isChrome","isClient","isGuiComponent","isGuiElement","isServer","isTouchable","isVariable","isWeb","isWebTouchable","matchMedia","mediaObjectToString","mediaQueryConfig","mediaState","setConfig","setOnLayoutStrategy","setupDev","styled","themeable","useClientValue","useConfiguration","useDidFinishSSR","useEvent","useGet","useIsTouchDevice","useIsomorphicLayoutEffect","useMedia","useProps","usePropsAndStyle","useStyle","useTheme","useThemeName","variableToString","withStaticProperties","module","exports","import_setup","require","__reExport"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,QAAA,CAAAD,aAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAC,WAAA,CAAAD,UAAA;EAAAE,gBAAA,EAAAA,CAAA,KAAAD,WAAA,CAAAC,gBAAA;EAAAC,aAAA,EAAAA,CAAA,KAAAF,WAAA,CAAAE,aAAA;EAAAC,YAAA,EAAAA,CAAA,KAAAH,WAAA,CAAAG,YAAA;EAAAC,YAAA,EAAAA,CAAA,KAAAJ,WAAA,CAAAI,YAAA;EAAAC,KAAA,EAAAA,CAAA,KAAAL,WAAA,CAAAK,KAAA;EAAAC,IAAA,EAAAA,CAAA,KAAAN,WAAA,CAAAM,IAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAP,WAAA,CAAAO,gBAAA;EAAAC,eAAA,EAAAA,CAAA,KAAAR,WAAA,CAAAQ,eAAA;EAAAC,UAAA,EAAAA,CAAA,KAAAT,WAAA,CAAAS,UAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAV,WAAA,CAAAU,gBAAA;EAAAC,mBAAA,EAAAA,CAAA,KAAAX,WAAA,CAAAW,mBAAA;EAAAC,YAAA,EAAAA,CAAA,KAAAZ,WAAA,CAAAY,YAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAb,WAAA,CAAAa,cAAA;EAAAC,kBAAA,EAAAA,CAAA,KAAAd,WAAA,CAAAc,kBAAA;EAAAC,SAAA,EAAAA,CAAA,K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@@ -20,7 +20,7 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
|
20
20
|
value: mod,
|
|
21
21
|
enumerable: !0
|
|
22
22
|
}) : target, mod));
|
|
23
|
-
var
|
|
23
|
+
var import_polyfill_dev = require("@hanzogui/polyfill-dev"),
|
|
24
24
|
React = __toESM(require("react"), 1);
|
|
25
25
|
globalThis.React ||= React;
|
|
26
26
|
typeof requestAnimationFrame > "u" && (globalThis.requestAnimationFrame = typeof setImmediate > "u" ? setTimeout : setImmediate);
|
package/dist/cjs/setup.native.js
CHANGED
|
@@ -22,7 +22,7 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
|
22
22
|
value: mod,
|
|
23
23
|
enumerable: !0
|
|
24
24
|
}) : target, mod));
|
|
25
|
-
var
|
|
25
|
+
var import_polyfill_dev = require("@hanzogui/polyfill-dev"),
|
|
26
26
|
React = __toESM(require("react"), 1),
|
|
27
27
|
_globalThis,
|
|
28
28
|
_React;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["import_polyfill_dev","require","React","__toESM","_globalThis","_React","globalThis"],"sources":["../../src/setup.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;gBAAA;AAMA,IAAAA,mBAAwB,GAAAC,OAAA;EAAAC,KAAA,GAAAC,OAAA,CAAAF,OAAA;EAAAG,WAAA;EAAAC,MAAA;AAGpB,CAAAD,WAAO,GAAAE,UAAA,EAAAD,MAA0B,UACnC,MAAAD,WAAW,CAAAC,MAAA,IAAAH,KACT","ignoreList":[]}
|
|
@@ -23,8 +23,8 @@ __export(EnsureFlexed_exports, {
|
|
|
23
23
|
EnsureFlexed: () => EnsureFlexed
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(EnsureFlexed_exports);
|
|
26
|
-
var
|
|
27
|
-
const EnsureFlexed = (0,
|
|
26
|
+
var import_core = require("@hanzogui/core");
|
|
27
|
+
const EnsureFlexed = (0, import_core.styled)(import_core.Text, {
|
|
28
28
|
opacity: 0,
|
|
29
29
|
lineHeight: 0,
|
|
30
30
|
height: 0,
|
|
@@ -25,8 +25,8 @@ __export(EnsureFlexed_exports, {
|
|
|
25
25
|
EnsureFlexed: () => EnsureFlexed
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(EnsureFlexed_exports);
|
|
28
|
-
var
|
|
29
|
-
EnsureFlexed = (0,
|
|
28
|
+
var import_core = require("@hanzogui/core"),
|
|
29
|
+
EnsureFlexed = (0, import_core.styled)(import_core.Text, {
|
|
30
30
|
opacity: 0,
|
|
31
31
|
lineHeight: 0,
|
|
32
32
|
height: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","EnsureFlexed_exports","__export","EnsureFlexed","module","exports","
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","EnsureFlexed_exports","__export","EnsureFlexed","module","exports","import_core","require","styled","Text","opacity","lineHeight","height","display","fontSize","children","pointerEvents","isVisuallyHidden"],"sources":["../../../src/views/EnsureFlexed.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,YAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAA6B,CAAAK,oBAAA;AAItB,IAAAK,WAAM,GAAAC,OAAe;EAAOJ,YAAA,OAAMG,WAAA,CAAAE,MAAA,EAAAF,WAAA,CAAAG,IAAA;IACvCC,OAAA,EAAS;IACTC,UAAA,EAAY;IACZC,MAAA,EAAQ;IACRC,OAAA,EAAS;IACTC,QAAA,EAAU;IACVC,QAAA,EAAU;IACVC,aAAA,EAAe;EACjB,CAAC;AAIDb,YAAA,CAAac,gBAAA,GAAsB","ignoreList":[]}
|
|
@@ -23,5 +23,5 @@ __export(GuiProvider_exports, {
|
|
|
23
23
|
GuiProvider: () => GuiProvider
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(GuiProvider_exports);
|
|
26
|
-
var
|
|
27
|
-
const GuiProvider =
|
|
26
|
+
var import_core = require("@hanzogui/core");
|
|
27
|
+
const GuiProvider = import_core.GuiProvider;
|
|
@@ -25,6 +25,6 @@ __export(GuiProvider_exports, {
|
|
|
25
25
|
GuiProvider: () => GuiProvider
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(GuiProvider_exports);
|
|
28
|
-
var
|
|
29
|
-
GuiProvider =
|
|
28
|
+
var import_core = require("@hanzogui/core"),
|
|
29
|
+
GuiProvider = import_core.GuiProvider;
|
|
30
30
|
//# sourceMappingURL=GuiProvider.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","GuiProvider_exports","__export","GuiProvider","module","exports","
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","GuiProvider_exports","__export","GuiProvider","module","exports","import_core","require"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,mBAAA;AAAAC,QAAA,CAAAD,mBAAA;EAAAE,WAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAT,YAA+C,CAAAK,mBAAA;AAExC,IAAAK,WAAM,GAAAC,OAAc;EAAAJ,WAAA,GAAAG,WAAA,CAAAH,WAAA","ignoreList":[]}
|
package/dist/cjs/views/Text.cjs
CHANGED
|
@@ -23,8 +23,8 @@ __export(Text_exports, {
|
|
|
23
23
|
Text: () => Text
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(Text_exports);
|
|
26
|
-
var
|
|
27
|
-
const Text = (0,
|
|
26
|
+
var import_core = require("@hanzogui/core");
|
|
27
|
+
const Text = (0, import_core.styled)(import_core.Text, {
|
|
28
28
|
variants: {
|
|
29
29
|
unstyled: {
|
|
30
30
|
false: {
|
|
@@ -25,8 +25,8 @@ __export(Text_exports, {
|
|
|
25
25
|
Text: () => Text
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(Text_exports);
|
|
28
|
-
var
|
|
29
|
-
Text = (0,
|
|
28
|
+
var import_core = require("@hanzogui/core"),
|
|
29
|
+
Text = (0, import_core.styled)(import_core.Text, {
|
|
30
30
|
variants: {
|
|
31
31
|
unstyled: {
|
|
32
32
|
false: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Text_exports","__export","Text","module","exports","
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Text_exports","__export","Text","module","exports","import_core","require","styled","variants","unstyled","false","color","defaultVariants","process","env","HANZO_GUI_HEADLESS"],"sources":["../../../src/views/Text.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,YAAA;AAAAC,QAAA,CAAAD,YAAA;EAAAE,IAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAwC,CAAAK,YAAA;AAEjC,IAAAK,WAAM,GAAOC,OAAA,iBAAO;EAAAJ,IAAA,OAASG,WAAA,CAAAE,MAAA,EAAAF,WAAA,CAAAH,IAAA;IAClCM,QAAA,EAAU;MACRC,QAAA,EAAU;QACRC,KAAA,EAAO;UACLC,KAAA,EAAO;QACT;MACF;IACF;IAEAC,eAAA,EAAiB;MACfH,QAAA,EAAUI,OAAA,CAAQC,GAAA,CAAIC,kBAAA,KAAuB;IAC/C;EACF,CAAC","ignoreList":[]}
|
|
@@ -23,8 +23,8 @@ __export(VisuallyHidden_exports, {
|
|
|
23
23
|
VisuallyHidden: () => VisuallyHidden
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(VisuallyHidden_exports);
|
|
26
|
-
var
|
|
27
|
-
const VisuallyHidden = (0,
|
|
26
|
+
var import_core = require("@hanzogui/core");
|
|
27
|
+
const VisuallyHidden = (0, import_core.styled)(import_core.View, {
|
|
28
28
|
position: "absolute",
|
|
29
29
|
width: 1,
|
|
30
30
|
height: 1,
|
|
@@ -25,8 +25,8 @@ __export(VisuallyHidden_exports, {
|
|
|
25
25
|
VisuallyHidden: () => VisuallyHidden
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(VisuallyHidden_exports);
|
|
28
|
-
var
|
|
29
|
-
VisuallyHidden = (0,
|
|
28
|
+
var import_core = require("@hanzogui/core"),
|
|
29
|
+
VisuallyHidden = (0, import_core.styled)(import_core.View, {
|
|
30
30
|
position: "absolute",
|
|
31
31
|
width: 1,
|
|
32
32
|
height: 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","VisuallyHidden_exports","__export","VisuallyHidden","module","exports","
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","VisuallyHidden_exports","__export","VisuallyHidden","module","exports","import_core","require","styled","View","position","width","height","margin","zIndex","overflow","opacity","pointerEvents","variants","preserveDimensions","true","visible","isVisuallyHidden"],"sources":["../../../src/views/VisuallyHidden.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,sBAAA;AAAAC,QAAA,CAAAD,sBAAA;EAAAE,cAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAA6B,CAAAK,sBAAA;AAEtB,IAAAK,WAAM,GAAAC,OAAA,iBAAiB;EAAAJ,cAAO,OAAMG,WAAA,CAAAE,MAAA,EAAAF,WAAA,CAAAG,IAAA;IACzCC,QAAA,EAAU;IACVC,KAAA,EAAO;IACPC,MAAA,EAAQ;IACRC,MAAA,EAAQ;IACRC,MAAA,EAAQ;IACRC,QAAA,EAAU;IACVC,OAAA,EAAS;IACTC,aAAA,EAAe;IAEfC,QAAA,EAAU;MACRC,kBAAA,EAAoB;QAClBC,IAAA,EAAM;UACJV,QAAA,EAAU;UACVC,KAAA,EAAO;UACPC,MAAA,EAAQ;QACV;MACF;MAEAS,OAAA,EAAS;QACPD,IAAA,EAAM;UACJV,QAAA,EAAU;UACVC,KAAA,EAAO;UACPC,MAAA,EAAQ;UACRC,MAAA,EAAQ;UACRC,MAAA,EAAQ;UACRC,QAAA,EAAU;UACVC,OAAA,EAAS;UACTC,aAAA,EAAe;QACjB;MACF;IACF;EACF,CAAC;AAGDd,cAAA,CAAemB,gBAAA,GAAsB","ignoreList":[]}
|
package/dist/esm/createGui.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createGui as createGuiCore } from "@
|
|
1
|
+
import { createGui as createGuiCore } from "@hanzogui/core";
|
|
2
2
|
const createGui = process.env.NODE_ENV !== "development" ? createGuiCore : conf => {
|
|
3
3
|
const sizeTokenKeys = ["$true"],
|
|
4
4
|
hasKeys = (expectedKeys, obj) => expectedKeys.every(k => typeof obj[k] < "u"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createGui as createGuiCore } from "@
|
|
1
|
+
import { createGui as createGuiCore } from "@hanzogui/core";
|
|
2
2
|
var createGui = process.env.NODE_ENV !== "development" ? createGuiCore : function (conf) {
|
|
3
3
|
for (var sizeTokenKeys = ["$true"], hasKeys = function (expectedKeys, obj) {
|
|
4
4
|
return expectedKeys.every(function (k) {
|