@hanzo/gui 8.1.1 → 8.2.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/cjs/views/GuiProvider.native.js.map +1 -1
- package/dist/esm/views/GuiProvider.mjs.map +1 -1
- package/dist/esm/views/GuiProvider.native.js.map +1 -1
- package/dist/jsx/views/GuiProvider.mjs.map +1 -1
- package/dist/jsx/views/GuiProvider.native.js.map +1 -1
- package/dist/native.cjs +37 -15
- package/dist/test.cjs +37 -15
- package/package.json +67 -67
- package/src/views/GuiProvider.tsx +5 -2
- package/types/views/GuiProvider.d.ts +1 -1
- package/types/views/GuiProvider.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","GuiProvider_exports","__export","GuiProvider","module","exports","import_jsx_runtime","require","import_core","import_portal","import_telemetry","import_z_index_stack","_type_of","obj","Symbol","constructor"],"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,YAA0C,CAAAK,mBAAA;AAC1C,IAAAK,kBAA+B,GAAAC,OAAA;AAC/B,IAAAC,WAAA,GAAAD,OAAwD;AACxD,IAAAE,aAAA,GAAAF,OAAmC;AAyB3B,IAAAG,gBAAA,GAAAH,OAAA;AAJD,IAAAI,oBAAuB,GAAAJ,OAAU,0BAA4C;AAClF,SAAMK,QACJA,CAAAC,GAAA;EAOF,uBAAkB;;EAWlB,OACEA,GAAA,WAAAC,MAAA,oBAAAD,GAAA,
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","GuiProvider_exports","__export","GuiProvider","module","exports","import_jsx_runtime","require","import_core","import_portal","import_telemetry","import_z_index_stack","_type_of","obj","Symbol","constructor","param","children","telemetry","props","tree","jsx","ZIndexStackContext","Provider","PortalProvider"],"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,YAA0C,CAAAK,mBAAA;AAC1C,IAAAK,kBAA+B,GAAAC,OAAA;AAC/B,IAAAC,WAAA,GAAAD,OAAwD;AACxD,IAAAE,aAAA,GAAAF,OAAmC;AAyB3B,IAAAG,gBAAA,GAAAH,OAAA;AAJD,IAAAI,oBAAuB,GAAAJ,OAAU,0BAA4C;AAClF,SAAMK,QACJA,CAAAC,GAAA;EAOF,uBAAkB;;EAWlB,OACEA,GAAA,WAAAC,MAAA,oBAAAD,GAAA,CAAAE,WAAA,KAAAD,MAAA,qBAAAD,GAAA;AAAA;AAAC,IAAAV,WAAA,YAAAA,CAAAa,KAAA;EAAA,IACC;IAAAC,QAAM;IAAAC,SAAA;IAAA,GAAAC;EAAA,IAAAH,KAAA;EAAA,IACLI,IAAI,kBAAO,CAAc,GAAAd,kBAAW,CAAAe,GAAY,EAAAb,WAAA,CAAAL,WAAA;IAAA,GAEhDgB,KAAA;IAAAF,QAAA,qBAAAX,kBAAA,CAAAe,GAAA,EAAAV,oBAAA,CAAAW,kBAAA,CAAAC,QAAA;MACHvB,KAAA;MAEJiB,QAAA,qBAAAX,kBAAA,CAAAe,GAAA,EAAAZ,aAAA,CAAAe,cAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["GuiProvider","OGProvider","PortalProvider","TelemetryProvider","ZIndexStackContext","jsx","children","telemetry","props","tree","Provider","value","shouldAddRootHost","owner"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,WAAA,IAAeC,UAAA,QAAkB;AAC1C,SAASC,cAAA,QAAsB;AAC/B,SAASC,iBAAA,QAA+C;AACxD,SAASC,kBAAA,QAA0B;AAyB3B,SAAAC,GAAA;AAJD,MAAML,WAAA,GAAcA,CAAC;EAAEM,QAAA;EAAUC,SAAA;EAAW,GAAGC;AAAM,MAAwB;EAClF,MAAMC,IAAA,GACJ,eAAAJ,GAAA,CAACJ,UAAA;IAAY,GAAGO,KAAA;IACdF,QAAA,iBAAAD,GAAA,CAACD,kBAAA,CAAmBM,QAAA,EAAnB;MAA4BC,KAAA,EAAO;MAClCL,QAAA,iBAAAD,GAAA,CAACH,cAAA;QAAeU,iBAAA,EAAiB;QAAEN;MAAA,CAAS;IAAA,CAC9C;EAAA,CACF;EAGF,IAAIC,SAAA,KAAc,OAAO,OAAOE,IAAA;EAWhC,OACE,eAAAJ,GAAA,CAACF,iBAAA;
|
|
1
|
+
{"version":3,"names":["GuiProvider","OGProvider","PortalProvider","TelemetryProvider","ZIndexStackContext","jsx","children","telemetry","props","tree","Provider","value","shouldAddRootHost","owner"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,WAAA,IAAeC,UAAA,QAAkB;AAC1C,SAASC,cAAA,QAAsB;AAC/B,SAASC,iBAAA,QAA+C;AACxD,SAASC,kBAAA,QAA0B;AAyB3B,SAAAC,GAAA;AAJD,MAAML,WAAA,GAAcA,CAAC;EAAEM,QAAA;EAAUC,SAAA;EAAW,GAAGC;AAAM,MAAwB;EAClF,MAAMC,IAAA,GACJ,eAAAJ,GAAA,CAACJ,UAAA;IAAY,GAAGO,KAAA;IACdF,QAAA,iBAAAD,GAAA,CAACD,kBAAA,CAAmBM,QAAA,EAAnB;MAA4BC,KAAA,EAAO;MAClCL,QAAA,iBAAAD,GAAA,CAACH,cAAA;QAAeU,iBAAA,EAAiB;QAAEN;MAAA,CAAS;IAAA,CAC9C;EAAA,CACF;EAGF,IAAIC,SAAA,KAAc,OAAO,OAAOE,IAAA;EAWhC,OACE,eAAAJ,GAAA,CAACF,iBAAA;IACCU,KAAA,EAAM;IACL,IAAI,OAAON,SAAA,KAAc,WAAWA,SAAA,GAAY;IAEhDD,QAAA,EAAAG;EAAA,CACH;AAEJ","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["jsx","_jsx","GuiProvider","OGProvider","PortalProvider","TelemetryProvider","ZIndexStackContext","_type_of","obj","Symbol","constructor","param"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,GAAA,IAAAC,IAAA,QAAe,mBAAkB;AAC1C,SAASC,WAAA,IAAAC,UAAsB;AAC/B,SAASC,cAAA,0BAA+C;AACxD,SAASC,iBAAA,6BAA0B;AAyB3B,SAAAC,kBAAA;AAJD,SAAMC,SAAAC,GAAe,EAAE;EAC5B,uBACE;;EAOF,OAAIA,GAAA,WAAcC,MAAO,KAAO,eAAAD,GAAA,CAAAE,WAAA,KAAAD,MAAA,qBAAAD,GAAA;AAWhC;
|
|
1
|
+
{"version":3,"names":["jsx","_jsx","GuiProvider","OGProvider","PortalProvider","TelemetryProvider","ZIndexStackContext","_type_of","obj","Symbol","constructor","param","children","telemetry","props","tree","Provider","value","shouldAddRootHost"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,GAAA,IAAAC,IAAA,QAAe,mBAAkB;AAC1C,SAASC,WAAA,IAAAC,UAAsB;AAC/B,SAASC,cAAA,0BAA+C;AACxD,SAASC,iBAAA,6BAA0B;AAyB3B,SAAAC,kBAAA;AAJD,SAAMC,SAAAC,GAAe,EAAE;EAC5B,uBACE;;EAOF,OAAIA,GAAA,WAAcC,MAAO,KAAO,eAAAD,GAAA,CAAAE,WAAA,KAAAD,MAAA,qBAAAD,GAAA;AAWhC;AACE,IAACN,WAAA,YAAAA,CAAAS,KAAA;EAAA;IAAAC,QAAA;IAAAC,SAAA;IAAA,GAAAC;EAAA,IAAAH,KAAA;EAAA,IACCI,IAAA,GAAM,eAAAd,IAAA,CAAAE,UAAA;IAAA,GACLW,KAAI;IAA4CF,QAEhD,iBAAAX,IAAA,CAAAK,kBAAA,CAAAU,QAAA;MAAAC,KAAA;MACHL,QAAA,iBAAAX,IAAA,CAAAG,cAAA;QAEJc,iBAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["GuiProvider","OGProvider","PortalProvider","TelemetryProvider","ZIndexStackContext","jsx","children","telemetry","props","tree","Provider","value","shouldAddRootHost","owner"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,WAAA,IAAeC,UAAA,QAAkB;AAC1C,SAASC,cAAA,QAAsB;AAC/B,SAASC,iBAAA,QAA+C;AACxD,SAASC,kBAAA,QAA0B;AAyB3B,SAAAC,GAAA;AAJD,MAAML,WAAA,GAAcA,CAAC;EAAEM,QAAA;EAAUC,SAAA;EAAW,GAAGC;AAAM,MAAwB;EAClF,MAAMC,IAAA,GACJ,eAAAJ,GAAA,CAACJ,UAAA;IAAY,GAAGO,KAAA;IACdF,QAAA,iBAAAD,GAAA,CAACD,kBAAA,CAAmBM,QAAA,EAAnB;MAA4BC,KAAA,EAAO;MAClCL,QAAA,iBAAAD,GAAA,CAACH,cAAA;QAAeU,iBAAA,EAAiB;QAAEN;MAAA,CAAS;IAAA,CAC9C;EAAA,CACF;EAGF,IAAIC,SAAA,KAAc,OAAO,OAAOE,IAAA;EAWhC,OACE,eAAAJ,GAAA,CAACF,iBAAA;
|
|
1
|
+
{"version":3,"names":["GuiProvider","OGProvider","PortalProvider","TelemetryProvider","ZIndexStackContext","jsx","children","telemetry","props","tree","Provider","value","shouldAddRootHost","owner"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,WAAA,IAAeC,UAAA,QAAkB;AAC1C,SAASC,cAAA,QAAsB;AAC/B,SAASC,iBAAA,QAA+C;AACxD,SAASC,kBAAA,QAA0B;AAyB3B,SAAAC,GAAA;AAJD,MAAML,WAAA,GAAcA,CAAC;EAAEM,QAAA;EAAUC,SAAA;EAAW,GAAGC;AAAM,MAAwB;EAClF,MAAMC,IAAA,GACJ,eAAAJ,GAAA,CAACJ,UAAA;IAAY,GAAGO,KAAA;IACdF,QAAA,iBAAAD,GAAA,CAACD,kBAAA,CAAmBM,QAAA,EAAnB;MAA4BC,KAAA,EAAO;MAClCL,QAAA,iBAAAD,GAAA,CAACH,cAAA;QAAeU,iBAAA,EAAiB;QAAEN;MAAA,CAAS;IAAA,CAC9C;EAAA,CACF;EAGF,IAAIC,SAAA,KAAc,OAAO,OAAOE,IAAA;EAWhC,OACE,eAAAJ,GAAA,CAACF,iBAAA;IACCU,KAAA,EAAM;IACL,IAAI,OAAON,SAAA,KAAc,WAAWA,SAAA,GAAY;IAEhDD,QAAA,EAAAG;EAAA,CACH;AAEJ","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"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,YAAS;;AACT,IAAAA,SAAS,GAAAC,MAAA,CAAAC,cAAsB;AAC/B,IAAAC,gBAAS,GAAAF,MAAA,CAAAG,wBAA+C;AACxD,IAAAC,iBAAS,GAAAJ,MAAA,CAAAK,mBAA0B;AAyB3B,IAAAC,YAAA,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAJD,IAAAC,QAAM,GAAAA,CAAAC,MAAe,EAAEC,GAAA;EAC5B,SAAMC,IACJ,IAAAD,GAAA,EAOFZ,SAAI,CAAAW,MAAc,EAAAE,IAAO;IAAAC,GAAA,EAAOF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAWhC;
|
|
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"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,YAAS;;AACT,IAAAA,SAAS,GAAAC,MAAA,CAAAC,cAAsB;AAC/B,IAAAC,gBAAS,GAAAF,MAAA,CAAAG,wBAA+C;AACxD,IAAAC,iBAAS,GAAAJ,MAAA,CAAAK,mBAA0B;AAyB3B,IAAAC,YAAA,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAJD,IAAAC,QAAM,GAAAA,CAAAC,MAAe,EAAEC,GAAA;EAC5B,SAAMC,IACJ,IAAAD,GAAA,EAOFZ,SAAI,CAAAW,MAAc,EAAAE,IAAO;IAAAC,GAAA,EAAOF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAWhC;AACE,IAACC,WAAA,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EAAA,IAAAF,IAAA,WAAAA,IAAA,wBAAAA,IAAA;IAAA,KACC,IAAMG,GAAA,IAAAhB,iBAAA,CAAAa,IAAA,GACL,IAAI,CAAAX,YAAO,CAAAe,IAAA,CAAAL,EAAc,EAAAI,GAAA,KAAWA,GAAA,KAAAF,MAAY,EAEhDnB,SAAA,CAAAiB,EAAA,EAAAI,GAAA;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;EAAA;EACH,OAAAE,EAAA;AAEJ","ignoreList":[]}
|
package/dist/native.cjs
CHANGED
|
@@ -12523,9 +12523,7 @@ var init_validStyleProps_native = require_objectSpread2.__esmMin((() => {
|
|
|
12523
12523
|
};
|
|
12524
12524
|
nonAnimatableUnitlessProps = {
|
|
12525
12525
|
WebkitLineClamp: true,
|
|
12526
|
-
lineClamp: true
|
|
12527
|
-
gridTemplateColumns: true,
|
|
12528
|
-
gridTemplateAreas: true
|
|
12526
|
+
lineClamp: true
|
|
12529
12527
|
};
|
|
12530
12528
|
nonAnimatableStyleProps = require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, nonAnimatableViewProps), nonAnimatableFontProps), nonAnimatableTextOnlyProps), nonAnimatableUnitlessProps);
|
|
12531
12529
|
stylePropsUnitless = require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, nonAnimatableUnitlessProps), {}, {
|
|
@@ -12542,14 +12540,6 @@ var init_validStyleProps_native = require_objectSpread2.__esmMin((() => {
|
|
|
12542
12540
|
flexShrink: true,
|
|
12543
12541
|
flexNegative: true,
|
|
12544
12542
|
fontWeight: true,
|
|
12545
|
-
gridRow: true,
|
|
12546
|
-
gridRowEnd: true,
|
|
12547
|
-
gridRowGap: true,
|
|
12548
|
-
gridRowStart: true,
|
|
12549
|
-
gridColumn: true,
|
|
12550
|
-
gridColumnEnd: true,
|
|
12551
|
-
gridColumnGap: true,
|
|
12552
|
-
gridColumnStart: true,
|
|
12553
12543
|
opacity: true,
|
|
12554
12544
|
order: true,
|
|
12555
12545
|
orphans: true,
|
|
@@ -12694,10 +12684,35 @@ var init_withStaticProperties_native = require_objectSpread2.__esmMin((() => {
|
|
|
12694
12684
|
}));
|
|
12695
12685
|
//#endregion
|
|
12696
12686
|
//#region ../../core/helpers/dist/esm/webOnlyStyleProps.native.js
|
|
12697
|
-
var nonAnimatableWebViewProps, nonAnimatableWebTextProps, webOnlyStylePropsView, webOnlyStylePropsText;
|
|
12687
|
+
var gridTracks, gridUnitless, gridProps, nonAnimatableWebViewProps, nonAnimatableWebTextProps, webOnlyStylePropsView, webOnlyStylePropsText;
|
|
12698
12688
|
var init_webOnlyStyleProps_native = require_objectSpread2.__esmMin((() => {
|
|
12699
12689
|
require_objectSpread2.init_objectSpread2();
|
|
12700
|
-
|
|
12690
|
+
gridTracks = {
|
|
12691
|
+
gridAutoColumns: true,
|
|
12692
|
+
gridAutoRows: true,
|
|
12693
|
+
gridTemplateColumns: true,
|
|
12694
|
+
gridTemplateRows: true
|
|
12695
|
+
};
|
|
12696
|
+
gridUnitless = {
|
|
12697
|
+
grid: true,
|
|
12698
|
+
gridArea: true,
|
|
12699
|
+
gridAutoFlow: true,
|
|
12700
|
+
gridColumn: true,
|
|
12701
|
+
gridColumnEnd: true,
|
|
12702
|
+
gridColumnStart: true,
|
|
12703
|
+
gridRow: true,
|
|
12704
|
+
gridRowEnd: true,
|
|
12705
|
+
gridRowStart: true,
|
|
12706
|
+
gridTemplate: true,
|
|
12707
|
+
gridTemplateAreas: true,
|
|
12708
|
+
justifyItems: true,
|
|
12709
|
+
justifySelf: true,
|
|
12710
|
+
placeContent: true,
|
|
12711
|
+
placeItems: true,
|
|
12712
|
+
placeSelf: true
|
|
12713
|
+
};
|
|
12714
|
+
gridProps = require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, gridTracks), gridUnitless);
|
|
12715
|
+
nonAnimatableWebViewProps = require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, gridProps), {}, {
|
|
12701
12716
|
backgroundAttachment: true,
|
|
12702
12717
|
backgroundBlendMode: true,
|
|
12703
12718
|
backgroundClip: true,
|
|
@@ -12730,7 +12745,7 @@ var init_webOnlyStyleProps_native = require_objectSpread2.__esmMin((() => {
|
|
|
12730
12745
|
touchAction: true,
|
|
12731
12746
|
transformStyle: true,
|
|
12732
12747
|
willChange: true
|
|
12733
|
-
};
|
|
12748
|
+
});
|
|
12734
12749
|
nonAnimatableWebTextProps = {
|
|
12735
12750
|
whiteSpace: true,
|
|
12736
12751
|
wordWrap: true,
|
|
@@ -14498,6 +14513,10 @@ function expandStyle(key, value) {
|
|
|
14498
14513
|
case "position":
|
|
14499
14514
|
if (value === "fixed" || value === "sticky") return [["position", "absolute"]];
|
|
14500
14515
|
return;
|
|
14516
|
+
case "display":
|
|
14517
|
+
if (value === "grid" || value === "inline-grid") return [["display", "flex"]];
|
|
14518
|
+
if (value === "list-item") return [["display", "flex"]];
|
|
14519
|
+
return;
|
|
14501
14520
|
case "backgroundImage": return [["experimental_backgroundImage", value]];
|
|
14502
14521
|
case "border":
|
|
14503
14522
|
if (typeof value === "string") {
|
|
@@ -27809,7 +27828,7 @@ var Separator = styledExport(View, {
|
|
|
27809
27828
|
name: "Separator",
|
|
27810
27829
|
variants: {
|
|
27811
27830
|
unstyled: { false: {
|
|
27812
|
-
borderColor: "$
|
|
27831
|
+
borderColor: "$borderColor",
|
|
27813
27832
|
flexShrink: 0,
|
|
27814
27833
|
borderWidth: 0,
|
|
27815
27834
|
flex: 1,
|
|
@@ -28040,6 +28059,7 @@ var _excluded$18 = [
|
|
|
28040
28059
|
"unstyled"
|
|
28041
28060
|
];
|
|
28042
28061
|
var TRIGGER_NAME = "SelectTrigger";
|
|
28062
|
+
typeof window !== "undefined" && window.matchMedia;
|
|
28043
28063
|
var SelectTrigger = /* @__PURE__ */ react$1.forwardRef(function SelectTrigger2(props, forwardedRef) {
|
|
28044
28064
|
var _context_floatingContext;
|
|
28045
28065
|
var { scope, disabled = false, unstyled = false } = props, triggerProps = _objectWithoutProperties(props, _excluded$18);
|
|
@@ -35884,6 +35904,8 @@ exports.getVariable = getVariable;
|
|
|
35884
35904
|
exports.getVariableName = getVariableName;
|
|
35885
35905
|
exports.getVariableValue = getVariableValue;
|
|
35886
35906
|
exports.getWebElement = getWebElement;
|
|
35907
|
+
exports.gridProps = gridProps;
|
|
35908
|
+
exports.gridUnitless = gridUnitless;
|
|
35887
35909
|
exports.hasOpenPopovers = hasOpenPopovers;
|
|
35888
35910
|
exports.inputSizeVariant = inputSizeVariant;
|
|
35889
35911
|
exports.insertFont = insertFont;
|
package/dist/test.cjs
CHANGED
|
@@ -12701,9 +12701,7 @@ var init_validStyleProps_native = require_objectSpread2.__esmMin((() => {
|
|
|
12701
12701
|
};
|
|
12702
12702
|
nonAnimatableUnitlessProps = {
|
|
12703
12703
|
WebkitLineClamp: true,
|
|
12704
|
-
lineClamp: true
|
|
12705
|
-
gridTemplateColumns: true,
|
|
12706
|
-
gridTemplateAreas: true
|
|
12704
|
+
lineClamp: true
|
|
12707
12705
|
};
|
|
12708
12706
|
nonAnimatableStyleProps = require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, nonAnimatableViewProps), nonAnimatableFontProps), nonAnimatableTextOnlyProps), nonAnimatableUnitlessProps);
|
|
12709
12707
|
stylePropsUnitless = require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, nonAnimatableUnitlessProps), {}, {
|
|
@@ -12720,14 +12718,6 @@ var init_validStyleProps_native = require_objectSpread2.__esmMin((() => {
|
|
|
12720
12718
|
flexShrink: true,
|
|
12721
12719
|
flexNegative: true,
|
|
12722
12720
|
fontWeight: true,
|
|
12723
|
-
gridRow: true,
|
|
12724
|
-
gridRowEnd: true,
|
|
12725
|
-
gridRowGap: true,
|
|
12726
|
-
gridRowStart: true,
|
|
12727
|
-
gridColumn: true,
|
|
12728
|
-
gridColumnEnd: true,
|
|
12729
|
-
gridColumnGap: true,
|
|
12730
|
-
gridColumnStart: true,
|
|
12731
12721
|
opacity: true,
|
|
12732
12722
|
order: true,
|
|
12733
12723
|
orphans: true,
|
|
@@ -12872,10 +12862,35 @@ var init_withStaticProperties_native = require_objectSpread2.__esmMin((() => {
|
|
|
12872
12862
|
}));
|
|
12873
12863
|
//#endregion
|
|
12874
12864
|
//#region ../../core/helpers/dist/esm/webOnlyStyleProps.native.js
|
|
12875
|
-
var nonAnimatableWebViewProps, nonAnimatableWebTextProps, webOnlyStylePropsView, webOnlyStylePropsText;
|
|
12865
|
+
var gridTracks, gridUnitless, gridProps, nonAnimatableWebViewProps, nonAnimatableWebTextProps, webOnlyStylePropsView, webOnlyStylePropsText;
|
|
12876
12866
|
var init_webOnlyStyleProps_native = require_objectSpread2.__esmMin((() => {
|
|
12877
12867
|
require_objectSpread2.init_objectSpread2();
|
|
12878
|
-
|
|
12868
|
+
gridTracks = {
|
|
12869
|
+
gridAutoColumns: true,
|
|
12870
|
+
gridAutoRows: true,
|
|
12871
|
+
gridTemplateColumns: true,
|
|
12872
|
+
gridTemplateRows: true
|
|
12873
|
+
};
|
|
12874
|
+
gridUnitless = {
|
|
12875
|
+
grid: true,
|
|
12876
|
+
gridArea: true,
|
|
12877
|
+
gridAutoFlow: true,
|
|
12878
|
+
gridColumn: true,
|
|
12879
|
+
gridColumnEnd: true,
|
|
12880
|
+
gridColumnStart: true,
|
|
12881
|
+
gridRow: true,
|
|
12882
|
+
gridRowEnd: true,
|
|
12883
|
+
gridRowStart: true,
|
|
12884
|
+
gridTemplate: true,
|
|
12885
|
+
gridTemplateAreas: true,
|
|
12886
|
+
justifyItems: true,
|
|
12887
|
+
justifySelf: true,
|
|
12888
|
+
placeContent: true,
|
|
12889
|
+
placeItems: true,
|
|
12890
|
+
placeSelf: true
|
|
12891
|
+
};
|
|
12892
|
+
gridProps = require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, gridTracks), gridUnitless);
|
|
12893
|
+
nonAnimatableWebViewProps = require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, gridProps), {}, {
|
|
12879
12894
|
backgroundAttachment: true,
|
|
12880
12895
|
backgroundBlendMode: true,
|
|
12881
12896
|
backgroundClip: true,
|
|
@@ -12908,7 +12923,7 @@ var init_webOnlyStyleProps_native = require_objectSpread2.__esmMin((() => {
|
|
|
12908
12923
|
touchAction: true,
|
|
12909
12924
|
transformStyle: true,
|
|
12910
12925
|
willChange: true
|
|
12911
|
-
};
|
|
12926
|
+
});
|
|
12912
12927
|
nonAnimatableWebTextProps = {
|
|
12913
12928
|
whiteSpace: true,
|
|
12914
12929
|
wordWrap: true,
|
|
@@ -14676,6 +14691,10 @@ function expandStyle(key, value) {
|
|
|
14676
14691
|
case "position":
|
|
14677
14692
|
if (value === "fixed" || value === "sticky") return [["position", "absolute"]];
|
|
14678
14693
|
return;
|
|
14694
|
+
case "display":
|
|
14695
|
+
if (value === "grid" || value === "inline-grid") return [["display", "flex"]];
|
|
14696
|
+
if (value === "list-item") return [["display", "flex"]];
|
|
14697
|
+
return;
|
|
14679
14698
|
case "backgroundImage": return [["experimental_backgroundImage", value]];
|
|
14680
14699
|
case "border":
|
|
14681
14700
|
if (typeof value === "string") {
|
|
@@ -27876,7 +27895,7 @@ var Separator = styledExport(View, {
|
|
|
27876
27895
|
name: "Separator",
|
|
27877
27896
|
variants: {
|
|
27878
27897
|
unstyled: { false: {
|
|
27879
|
-
borderColor: "$
|
|
27898
|
+
borderColor: "$borderColor",
|
|
27880
27899
|
flexShrink: 0,
|
|
27881
27900
|
borderWidth: 0,
|
|
27882
27901
|
flex: 1,
|
|
@@ -28107,6 +28126,7 @@ var _excluded$18 = [
|
|
|
28107
28126
|
"unstyled"
|
|
28108
28127
|
];
|
|
28109
28128
|
var TRIGGER_NAME = "SelectTrigger";
|
|
28129
|
+
typeof window !== "undefined" && window.matchMedia;
|
|
28110
28130
|
var SelectTrigger = /* @__PURE__ */ react$1.forwardRef(function SelectTrigger2(props, forwardedRef) {
|
|
28111
28131
|
var _context_floatingContext;
|
|
28112
28132
|
var { scope, disabled = false, unstyled = false } = props, triggerProps = _objectWithoutProperties(props, _excluded$18);
|
|
@@ -35951,6 +35971,8 @@ exports.getVariable = getVariable;
|
|
|
35951
35971
|
exports.getVariableName = getVariableName;
|
|
35952
35972
|
exports.getVariableValue = getVariableValue;
|
|
35953
35973
|
exports.getWebElement = getWebElement;
|
|
35974
|
+
exports.gridProps = gridProps;
|
|
35975
|
+
exports.gridUnitless = gridUnitless;
|
|
35954
35976
|
exports.hasOpenPopovers = hasOpenPopovers;
|
|
35955
35977
|
exports.inputSizeVariant = inputSizeVariant;
|
|
35956
35978
|
exports.insertFont = insertFont;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/gui",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.1",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"description": "Style and UI for React (web and native) meet an optimizing compiler",
|
|
6
6
|
"repository": {
|
|
@@ -101,74 +101,74 @@
|
|
|
101
101
|
"test": "node --test css-check.test.mjs"
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
|
-
"@hanzogui/accordion": "8.
|
|
105
|
-
"@hanzogui/adapt": "8.
|
|
106
|
-
"@hanzogui/alert-dialog": "8.
|
|
107
|
-
"@hanzogui/animate": "8.
|
|
108
|
-
"@hanzogui/animate-presence": "8.
|
|
109
|
-
"@hanzogui/avatar": "8.
|
|
110
|
-
"@hanzogui/button": "8.
|
|
111
|
-
"@hanzogui/card": "8.
|
|
112
|
-
"@hanzogui/checkbox": "8.
|
|
113
|
-
"@hanzogui/collapsible": "8.
|
|
114
|
-
"@hanzogui/component-helpers": "8.
|
|
115
|
-
"@hanzogui/compose-refs": "8.
|
|
116
|
-
"@hanzogui/constants": "8.
|
|
117
|
-
"@hanzogui/context-menu": "8.
|
|
118
|
-
"@hanzogui/core": "8.
|
|
119
|
-
"@hanzogui/create-context": "8.
|
|
120
|
-
"@hanzogui/create-menu": "8.
|
|
121
|
-
"@hanzogui/dialog": "8.
|
|
122
|
-
"@hanzogui/element": "8.
|
|
123
|
-
"@hanzogui/elements": "8.
|
|
124
|
-
"@hanzogui/fake-react-native": "8.
|
|
125
|
-
"@hanzogui/focusable": "8.
|
|
126
|
-
"@hanzogui/font-size": "8.
|
|
127
|
-
"@hanzogui/form": "8.
|
|
128
|
-
"@hanzogui/get-button-sized": "8.
|
|
129
|
-
"@hanzogui/get-font-sized": "8.
|
|
130
|
-
"@hanzogui/get-token": "8.
|
|
131
|
-
"@hanzogui/group": "8.
|
|
132
|
-
"@hanzogui/image": "8.
|
|
133
|
-
"@hanzogui/input": "8.
|
|
134
|
-
"@hanzogui/label": "8.
|
|
135
|
-
"@hanzogui/linear-gradient": "8.
|
|
136
|
-
"@hanzogui/list-item": "8.
|
|
137
|
-
"@hanzogui/menu": "8.
|
|
138
|
-
"@hanzogui/polyfill-dev": "8.
|
|
139
|
-
"@hanzogui/popover": "8.
|
|
140
|
-
"@hanzogui/popper": "8.
|
|
141
|
-
"@hanzogui/portal": "8.
|
|
142
|
-
"@hanzogui/progress": "8.
|
|
143
|
-
"@hanzogui/radio-group": "8.
|
|
144
|
-
"@hanzogui/react-native-media-driver": "8.
|
|
145
|
-
"@hanzogui/scroll-view": "8.
|
|
146
|
-
"@hanzogui/select": "8.
|
|
147
|
-
"@hanzogui/separator": "8.
|
|
148
|
-
"@hanzogui/shapes": "8.
|
|
149
|
-
"@hanzogui/sheet": "8.
|
|
150
|
-
"@hanzogui/slider": "8.
|
|
151
|
-
"@hanzogui/spacer": "8.
|
|
152
|
-
"@hanzogui/spinner": "8.
|
|
153
|
-
"@hanzogui/stacks": "8.
|
|
154
|
-
"@hanzogui/switch": "8.
|
|
155
|
-
"@hanzogui/tabs": "8.
|
|
156
|
-
"@hanzogui/telemetry": "8.
|
|
157
|
-
"@hanzogui/text": "8.
|
|
158
|
-
"@hanzogui/theme": "8.
|
|
159
|
-
"@hanzogui/toast": "8.
|
|
160
|
-
"@hanzogui/toggle-group": "8.
|
|
161
|
-
"@hanzogui/tooltip": "8.
|
|
162
|
-
"@hanzogui/use-controllable-state": "8.
|
|
163
|
-
"@hanzogui/use-debounce": "8.
|
|
164
|
-
"@hanzogui/use-force-update": "8.
|
|
165
|
-
"@hanzogui/use-window-dimensions": "8.
|
|
166
|
-
"@hanzogui/visually-hidden": "8.
|
|
167
|
-
"@hanzogui/web": "8.
|
|
168
|
-
"@hanzogui/z-index-stack": "8.
|
|
104
|
+
"@hanzogui/accordion": "8.2.1",
|
|
105
|
+
"@hanzogui/adapt": "8.2.1",
|
|
106
|
+
"@hanzogui/alert-dialog": "8.2.1",
|
|
107
|
+
"@hanzogui/animate": "8.2.1",
|
|
108
|
+
"@hanzogui/animate-presence": "8.2.1",
|
|
109
|
+
"@hanzogui/avatar": "8.2.1",
|
|
110
|
+
"@hanzogui/button": "8.2.1",
|
|
111
|
+
"@hanzogui/card": "8.2.1",
|
|
112
|
+
"@hanzogui/checkbox": "8.2.1",
|
|
113
|
+
"@hanzogui/collapsible": "8.2.1",
|
|
114
|
+
"@hanzogui/component-helpers": "8.2.1",
|
|
115
|
+
"@hanzogui/compose-refs": "8.2.1",
|
|
116
|
+
"@hanzogui/constants": "8.2.1",
|
|
117
|
+
"@hanzogui/context-menu": "8.2.1",
|
|
118
|
+
"@hanzogui/core": "8.2.1",
|
|
119
|
+
"@hanzogui/create-context": "8.2.1",
|
|
120
|
+
"@hanzogui/create-menu": "8.2.1",
|
|
121
|
+
"@hanzogui/dialog": "8.2.1",
|
|
122
|
+
"@hanzogui/element": "8.2.1",
|
|
123
|
+
"@hanzogui/elements": "8.2.1",
|
|
124
|
+
"@hanzogui/fake-react-native": "8.2.1",
|
|
125
|
+
"@hanzogui/focusable": "8.2.1",
|
|
126
|
+
"@hanzogui/font-size": "8.2.1",
|
|
127
|
+
"@hanzogui/form": "8.2.1",
|
|
128
|
+
"@hanzogui/get-button-sized": "8.2.1",
|
|
129
|
+
"@hanzogui/get-font-sized": "8.2.1",
|
|
130
|
+
"@hanzogui/get-token": "8.2.1",
|
|
131
|
+
"@hanzogui/group": "8.2.1",
|
|
132
|
+
"@hanzogui/image": "8.2.1",
|
|
133
|
+
"@hanzogui/input": "8.2.1",
|
|
134
|
+
"@hanzogui/label": "8.2.1",
|
|
135
|
+
"@hanzogui/linear-gradient": "8.2.1",
|
|
136
|
+
"@hanzogui/list-item": "8.2.1",
|
|
137
|
+
"@hanzogui/menu": "8.2.1",
|
|
138
|
+
"@hanzogui/polyfill-dev": "8.2.1",
|
|
139
|
+
"@hanzogui/popover": "8.2.1",
|
|
140
|
+
"@hanzogui/popper": "8.2.1",
|
|
141
|
+
"@hanzogui/portal": "8.2.1",
|
|
142
|
+
"@hanzogui/progress": "8.2.1",
|
|
143
|
+
"@hanzogui/radio-group": "8.2.1",
|
|
144
|
+
"@hanzogui/react-native-media-driver": "8.2.1",
|
|
145
|
+
"@hanzogui/scroll-view": "8.2.1",
|
|
146
|
+
"@hanzogui/select": "8.2.1",
|
|
147
|
+
"@hanzogui/separator": "8.2.1",
|
|
148
|
+
"@hanzogui/shapes": "8.2.1",
|
|
149
|
+
"@hanzogui/sheet": "8.2.1",
|
|
150
|
+
"@hanzogui/slider": "8.2.1",
|
|
151
|
+
"@hanzogui/spacer": "8.2.1",
|
|
152
|
+
"@hanzogui/spinner": "8.2.1",
|
|
153
|
+
"@hanzogui/stacks": "8.2.1",
|
|
154
|
+
"@hanzogui/switch": "8.2.1",
|
|
155
|
+
"@hanzogui/tabs": "8.2.1",
|
|
156
|
+
"@hanzogui/telemetry": "8.2.1",
|
|
157
|
+
"@hanzogui/text": "8.2.1",
|
|
158
|
+
"@hanzogui/theme": "8.2.1",
|
|
159
|
+
"@hanzogui/toast": "8.2.1",
|
|
160
|
+
"@hanzogui/toggle-group": "8.2.1",
|
|
161
|
+
"@hanzogui/tooltip": "8.2.1",
|
|
162
|
+
"@hanzogui/use-controllable-state": "8.2.1",
|
|
163
|
+
"@hanzogui/use-debounce": "8.2.1",
|
|
164
|
+
"@hanzogui/use-force-update": "8.2.1",
|
|
165
|
+
"@hanzogui/use-window-dimensions": "8.2.1",
|
|
166
|
+
"@hanzogui/visually-hidden": "8.2.1",
|
|
167
|
+
"@hanzogui/web": "8.2.1",
|
|
168
|
+
"@hanzogui/z-index-stack": "8.2.1"
|
|
169
169
|
},
|
|
170
170
|
"devDependencies": {
|
|
171
|
-
"@hanzogui/build": "8.
|
|
171
|
+
"@hanzogui/build": "8.2.1",
|
|
172
172
|
"react": ">=19",
|
|
173
173
|
"react-native": "0.83.2",
|
|
174
174
|
"react-native-web": "^0.21.0"
|
|
@@ -7,7 +7,7 @@ import { ZIndexStackContext } from '@hanzogui/z-index-stack'
|
|
|
7
7
|
/** Telemetry posture for a gui app.
|
|
8
8
|
*
|
|
9
9
|
* Omit it and you get telemetry: pageviews, unhandled errors, React render
|
|
10
|
-
* errors and interaction capture, POSTed to the one Hanzo
|
|
10
|
+
* errors and interaction capture, POSTed to the one Hanzo endpoint
|
|
11
11
|
* (`api.hanzo.ai/v1/event`), with the product name inferred from the runtime
|
|
12
12
|
* and the publishable ingest key read from the environment. Nothing to wire,
|
|
13
13
|
* on web, on desktop and on native alike.
|
|
@@ -44,7 +44,10 @@ export const GuiProvider = ({ children, telemetry, ...props }: GuiProviderProps)
|
|
|
44
44
|
// startup or on a lazy route — takes the stream, and this one goes inert. One
|
|
45
45
|
// client, one stream, never two.
|
|
46
46
|
return (
|
|
47
|
-
<TelemetryProvider
|
|
47
|
+
<TelemetryProvider
|
|
48
|
+
owner="gui"
|
|
49
|
+
{...(typeof telemetry === 'object' ? telemetry : null)}
|
|
50
|
+
>
|
|
48
51
|
{tree}
|
|
49
52
|
</TelemetryProvider>
|
|
50
53
|
)
|
|
@@ -3,7 +3,7 @@ import { type TelemetryConfig } from '@hanzogui/telemetry';
|
|
|
3
3
|
/** Telemetry posture for a gui app.
|
|
4
4
|
*
|
|
5
5
|
* Omit it and you get telemetry: pageviews, unhandled errors, React render
|
|
6
|
-
* errors and interaction capture, POSTed to the one Hanzo
|
|
6
|
+
* errors and interaction capture, POSTed to the one Hanzo endpoint
|
|
7
7
|
* (`api.hanzo.ai/v1/event`), with the product name inferred from the runtime
|
|
8
8
|
* and the publishable ingest key read from the environment. Nothing to wire,
|
|
9
9
|
* on web, on desktop and on native alike.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GuiProvider.d.ts","sourceRoot":"","sources":["../../src/views/GuiProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAG9E,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAG7E;;;;;;;;;wDASwD;AACxD,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,eAAe,CAAA;AAEpD;kFACkF;AAClF,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GAAG;IACpD,gDAAgD;IAChD,SAAS,CAAC,EAAE,YAAY,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,mCAAmC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"GuiProvider.d.ts","sourceRoot":"","sources":["../../src/views/GuiProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAG9E,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAG7E;;;;;;;;;wDASwD;AACxD,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,eAAe,CAAA;AAEpD;kFACkF;AAClF,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GAAG;IACpD,gDAAgD;IAChD,SAAS,CAAC,EAAE,YAAY,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,mCAAmC,gBAAgB,4CA4B9E,CAAA"}
|