@hanzogui/tabs 3.0.2 → 7.3.0

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.
Files changed (43) hide show
  1. package/LICENSE +42 -21
  2. package/dist/cjs/StyledContext.cjs +14 -12
  3. package/dist/cjs/StyledContext.native.js +17 -15
  4. package/dist/cjs/StyledContext.native.js.map +1 -1
  5. package/dist/cjs/Tabs.cjs +63 -61
  6. package/dist/cjs/Tabs.native.js +63 -61
  7. package/dist/cjs/Tabs.native.js.map +1 -1
  8. package/dist/cjs/createTabs.cjs +248 -217
  9. package/dist/cjs/createTabs.native.js +260 -232
  10. package/dist/cjs/createTabs.native.js.map +1 -1
  11. package/dist/cjs/index.cjs +15 -13
  12. package/dist/cjs/index.native.js +15 -13
  13. package/dist/cjs/index.native.js.map +1 -1
  14. package/dist/esm/Tabs.mjs +48 -48
  15. package/dist/esm/Tabs.mjs.map +1 -1
  16. package/dist/esm/Tabs.native.js +48 -48
  17. package/dist/esm/Tabs.native.js.map +1 -1
  18. package/dist/esm/createTabs.mjs +210 -181
  19. package/dist/esm/createTabs.mjs.map +1 -1
  20. package/dist/esm/createTabs.native.js +222 -196
  21. package/dist/esm/createTabs.native.js.map +1 -1
  22. package/dist/jsx/StyledContext.native.js +17 -15
  23. package/dist/jsx/Tabs.mjs +48 -48
  24. package/dist/jsx/Tabs.mjs.map +1 -1
  25. package/dist/jsx/Tabs.native.js +63 -61
  26. package/dist/jsx/Tabs.native.js.map +1 -1
  27. package/dist/jsx/createTabs.mjs +210 -181
  28. package/dist/jsx/createTabs.mjs.map +1 -1
  29. package/dist/jsx/createTabs.native.js +260 -232
  30. package/dist/jsx/createTabs.native.js.map +1 -1
  31. package/dist/jsx/index.native.js +15 -13
  32. package/dist/jsx/index.native.js.map +1 -1
  33. package/package.json +23 -21
  34. package/src/Tabs.tsx +1 -1
  35. package/src/createTabs.tsx +6 -1
  36. package/types/StyledContext.d.ts +1 -1
  37. package/types/StyledContext.d.ts.map +1 -0
  38. package/types/Tabs.d.ts +11 -11
  39. package/types/Tabs.d.ts.map +1 -0
  40. package/types/createTabs.d.ts +134 -134
  41. package/types/createTabs.d.ts.map +1 -0
  42. package/types/index.d.ts +167 -167
  43. package/types/index.d.ts.map +1 -0
package/LICENSE CHANGED
@@ -1,21 +1,42 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 Radix
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026-present, Hanzo AI, Inc.
4
+
5
+ Portions of this software are derived from upstream code originally licensed under
6
+ the MIT License, with the following copyright notices retained per its terms:
7
+
8
+ Copyright (c) 2020 Nate Wienert
9
+ Copyright (c) 2015-present, Nicolas Gallagher.
10
+ Copyright (c) 2015-present, Facebook, Inc.
11
+ Copyright (c) 2021 Radix
12
+ Copyright (c) 2017 Carmelo Pullara
13
+ Copyright (c) 2018 Framer B.V.
14
+ Copyright (c) 2022 WorkOS
15
+
16
+ All rights reserved.
17
+
18
+ Redistribution and use in source and binary forms, with or without
19
+ modification, are permitted provided that the following conditions are met:
20
+
21
+ 1. Redistributions of source code must retain the above copyright notice, this
22
+ list of conditions and the following disclaimer.
23
+
24
+ 2. Redistributions in binary form must reproduce the above copyright notice,
25
+ this list of conditions and the following disclaimer in the documentation
26
+ and/or other materials provided with the distribution.
27
+
28
+ 3. Neither the name of the copyright holder nor the names of its contributors
29
+ may be used to endorse or promote products derived from this software
30
+ without specific prior written permission.
31
+
32
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
33
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
34
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
35
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
36
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
37
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
38
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
39
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
40
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42
+ POSSIBILITY OF SUCH DAMAGE.
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
14
  get: () => from[key],
14
15
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
16
  });
16
- return to;
17
- };
17
+ }
18
+ return to;
19
+ };
18
20
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
21
+ value: true
20
22
  }), mod);
21
23
  var StyledContext_exports = {};
22
24
  __export(StyledContext_exports, {
@@ -24,8 +26,8 @@ __export(StyledContext_exports, {
24
26
  useTabsContext: () => useTabsContext
25
27
  });
26
28
  module.exports = __toCommonJS(StyledContext_exports);
27
- var import_gui_core = require("@hanzogui/core");
29
+ var import_core = require("@hanzogui/core");
28
30
  const {
29
31
  Provider: TabsProvider,
30
32
  useStyledContext: useTabsContext
31
- } = (0, import_gui_core.createStyledContext)();
33
+ } = (0, import_core.createStyledContext)();
@@ -5,20 +5,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
16
  get: () => from[key],
16
17
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
18
  });
18
- return to;
19
- };
19
+ }
20
+ return to;
21
+ };
20
22
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
23
+ value: true
22
24
  }), mod);
23
25
  var StyledContext_exports = {};
24
26
  __export(StyledContext_exports, {
@@ -26,9 +28,9 @@ __export(StyledContext_exports, {
26
28
  useTabsContext: () => useTabsContext
27
29
  });
28
30
  module.exports = __toCommonJS(StyledContext_exports);
29
- var import_gui_core = require("@hanzogui/core"),
30
- {
31
- Provider: TabsProvider,
32
- useStyledContext: useTabsContext
33
- } = (0, import_gui_core.createStyledContext)();
31
+ var import_core = require("@hanzogui/core");
32
+ var {
33
+ Provider: TabsProvider,
34
+ useStyledContext: useTabsContext
35
+ } = (0, import_core.createStyledContext)();
34
36
  //# sourceMappingURL=StyledContext.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","StyledContext_exports","__export","TabsProvider","useTabsContext","module","exports","import_gui_core","require","Provider","useStyledContext","createStyledContext"],"sources":["../../src/StyledContext.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,qBAAA;AAAAC,QAAA,CAAAD,qBAAA;EAAAE,YAAA,EAAAA,CAAA,KAAAA,YAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAV,YAAoC,CAAAK,qBAAA;AAgB7B,IAAAM,eAAkB,GAAAC,OAAA,kBAAc;EAAkB;IAAAC,QAAA,EAAAN,YACvD;IAAAO,gBAAA,EAAAN;EAAA,CAAsC,OAAAG,eAAA,CAAAI,mBAAA","ignoreList":[]}
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","StyledContext_exports","__export","TabsProvider","useTabsContext","module","exports","import_core","require"],"sources":["../../src/StyledContext.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,qBAAA;AAAAC,QAAA,CAAAD,qBAAA;EAAAE,YAAA,EAAAA,CAAA,KAAAA,YAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAV,YAAoC,CAAAK,qBAAA;AAgB7B,IAAAM,WAAQ,GAAUC,OAAA,iBAAc","ignoreList":[]}
package/dist/cjs/Tabs.cjs CHANGED
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
14
  get: () => from[key],
14
15
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
16
  });
16
- return to;
17
- };
17
+ }
18
+ return to;
19
+ };
18
20
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
21
+ value: true
20
22
  }), mod);
21
23
  var Tabs_exports = {};
22
24
  __export(Tabs_exports, {
@@ -25,57 +27,57 @@ __export(Tabs_exports, {
25
27
  DefaultTabsTabFrame: () => DefaultTabsTabFrame
26
28
  });
27
29
  module.exports = __toCommonJS(Tabs_exports);
28
- var import_gui_core = require("@hanzogui/core"),
29
- import_gui_get_button_sized = require("@hanzogui/get-button-sized"),
30
- import_gui_stacks = require("@hanzogui/stacks");
31
- const TABS_NAME = "Tabs",
32
- DefaultTabsFrame = (0, import_gui_core.styled)(import_gui_stacks.SizableStack, {
33
- name: TABS_NAME
34
- }),
35
- TRIGGER_NAME = "TabsTrigger",
36
- DefaultTabsTabFrame = (0, import_gui_core.styled)(import_gui_core.View, {
37
- name: TRIGGER_NAME,
38
- role: "tab",
39
- variants: {
40
- size: {
41
- "...size": import_gui_get_button_sized.getButtonSized
42
- },
43
- disabled: {
44
- true: {
45
- pointerEvents: "none"
46
- }
47
- },
48
- unstyled: {
49
- false: {
50
- borderWidth: 0,
51
- backgroundColor: "$background",
52
- userSelect: "none",
53
- justifyContent: "center",
54
- alignItems: "center",
55
- flexWrap: "nowrap",
56
- flexDirection: "row",
57
- cursor: "pointer",
58
- pressStyle: {
59
- backgroundColor: "$backgroundPress"
60
- },
61
- focusVisibleStyle: {
62
- outlineColor: "$outlineColor",
63
- outlineWidth: 2,
64
- outlineStyle: "solid",
65
- zIndex: 10
66
- }
67
- }
30
+ var import_core = require("@hanzogui/core");
31
+ var import_get_button_sized = require("@hanzogui/get-button-sized");
32
+ var import_stacks = require("@hanzogui/stacks");
33
+ const TABS_NAME = "Tabs";
34
+ const DefaultTabsFrame = (0, import_core.styled)(import_stacks.SizableStack, {
35
+ name: TABS_NAME
36
+ });
37
+ const TRIGGER_NAME = "TabsTrigger";
38
+ const DefaultTabsTabFrame = (0, import_core.styled)(import_core.View, {
39
+ name: TRIGGER_NAME,
40
+ role: "tab",
41
+ variants: {
42
+ size: {
43
+ "...size": import_get_button_sized.getButtonSized
44
+ },
45
+ disabled: {
46
+ true: {
47
+ pointerEvents: "none"
68
48
  }
69
49
  },
70
- defaultVariants: {
71
- unstyled: process.env.HANZO_GUI_HEADLESS === "1"
72
- }
73
- }, {
74
- accept: {
75
- activeStyle: "style"
50
+ unstyled: {
51
+ false: {
52
+ borderWidth: 0,
53
+ backgroundColor: "$background",
54
+ userSelect: "none",
55
+ justifyContent: "center",
56
+ alignItems: "center",
57
+ flexWrap: "nowrap",
58
+ flexDirection: "row",
59
+ cursor: "pointer",
60
+ pressStyle: {
61
+ backgroundColor: "$backgroundPress"
62
+ },
63
+ focusVisibleStyle: {
64
+ outlineColor: "$outlineColor",
65
+ outlineWidth: 2,
66
+ outlineStyle: "solid",
67
+ zIndex: 10
68
+ }
69
+ }
76
70
  }
77
- }),
78
- CONTENT_NAME = "TabsContent",
79
- DefaultTabsContentFrame = (0, import_gui_core.styled)(import_gui_stacks.ThemeableStack, {
80
- name: CONTENT_NAME
81
- });
71
+ },
72
+ defaultVariants: {
73
+ unstyled: process.env.GUI_HEADLESS === "1"
74
+ }
75
+ }, {
76
+ accept: {
77
+ activeStyle: "style"
78
+ }
79
+ });
80
+ const CONTENT_NAME = "TabsContent";
81
+ const DefaultTabsContentFrame = (0, import_core.styled)(import_stacks.ThemeableStack, {
82
+ name: CONTENT_NAME
83
+ });
@@ -5,20 +5,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
16
  get: () => from[key],
16
17
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
18
  });
18
- return to;
19
- };
19
+ }
20
+ return to;
21
+ };
20
22
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
23
+ value: true
22
24
  }), mod);
23
25
  var Tabs_exports = {};
24
26
  __export(Tabs_exports, {
@@ -27,58 +29,58 @@ __export(Tabs_exports, {
27
29
  DefaultTabsTabFrame: () => DefaultTabsTabFrame
28
30
  });
29
31
  module.exports = __toCommonJS(Tabs_exports);
30
- var import_gui_core = require("@hanzogui/core"),
31
- import_gui_get_button_sized = require("@hanzogui/get-button-sized"),
32
- import_gui_stacks = require("@hanzogui/stacks"),
33
- TABS_NAME = "Tabs",
34
- DefaultTabsFrame = (0, import_gui_core.styled)(import_gui_stacks.SizableStack, {
35
- name: TABS_NAME
36
- }),
37
- TRIGGER_NAME = "TabsTrigger",
38
- DefaultTabsTabFrame = (0, import_gui_core.styled)(import_gui_core.View, {
39
- name: TRIGGER_NAME,
40
- role: "tab",
41
- variants: {
42
- size: {
43
- "...size": import_gui_get_button_sized.getButtonSized
44
- },
45
- disabled: {
46
- true: {
47
- pointerEvents: "none"
48
- }
49
- },
50
- unstyled: {
51
- false: {
52
- borderWidth: 0,
53
- backgroundColor: "$background",
54
- userSelect: "none",
55
- justifyContent: "center",
56
- alignItems: "center",
57
- flexWrap: "nowrap",
58
- flexDirection: "row",
59
- cursor: "pointer",
60
- pressStyle: {
61
- backgroundColor: "$backgroundPress"
62
- },
63
- focusVisibleStyle: {
64
- outlineColor: "$outlineColor",
65
- outlineWidth: 2,
66
- outlineStyle: "solid",
67
- zIndex: 10
68
- }
69
- }
32
+ var import_core = require("@hanzogui/core");
33
+ var import_get_button_sized = require("@hanzogui/get-button-sized");
34
+ var import_stacks = require("@hanzogui/stacks");
35
+ var TABS_NAME = "Tabs";
36
+ var DefaultTabsFrame = (0, import_core.styled)(import_stacks.SizableStack, {
37
+ name: TABS_NAME
38
+ });
39
+ var TRIGGER_NAME = "TabsTrigger";
40
+ var DefaultTabsTabFrame = (0, import_core.styled)(import_core.View, {
41
+ name: TRIGGER_NAME,
42
+ role: "tab",
43
+ variants: {
44
+ size: {
45
+ "...size": import_get_button_sized.getButtonSized
46
+ },
47
+ disabled: {
48
+ true: {
49
+ pointerEvents: "none"
70
50
  }
71
51
  },
72
- defaultVariants: {
73
- unstyled: process.env.HANZO_GUI_HEADLESS === "1"
74
- }
75
- }, {
76
- accept: {
77
- activeStyle: "style"
52
+ unstyled: {
53
+ false: {
54
+ borderWidth: 0,
55
+ backgroundColor: "$background",
56
+ userSelect: "none",
57
+ justifyContent: "center",
58
+ alignItems: "center",
59
+ flexWrap: "nowrap",
60
+ flexDirection: "row",
61
+ cursor: "pointer",
62
+ pressStyle: {
63
+ backgroundColor: "$backgroundPress"
64
+ },
65
+ focusVisibleStyle: {
66
+ outlineColor: "$outlineColor",
67
+ outlineWidth: 2,
68
+ outlineStyle: "solid",
69
+ zIndex: 10
70
+ }
71
+ }
78
72
  }
79
- }),
80
- CONTENT_NAME = "TabsContent",
81
- DefaultTabsContentFrame = (0, import_gui_core.styled)(import_gui_stacks.ThemeableStack, {
82
- name: CONTENT_NAME
83
- });
73
+ },
74
+ defaultVariants: {
75
+ unstyled: process.env.GUI_HEADLESS === "1"
76
+ }
77
+ }, {
78
+ accept: {
79
+ activeStyle: "style"
80
+ }
81
+ });
82
+ var CONTENT_NAME = "TabsContent";
83
+ var DefaultTabsContentFrame = (0, import_core.styled)(import_stacks.ThemeableStack, {
84
+ name: CONTENT_NAME
85
+ });
84
86
  //# sourceMappingURL=Tabs.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Tabs_exports","__export","DefaultTabsContentFrame","DefaultTabsFrame","DefaultTabsTabFrame","module","exports","import_gui_core","require","import_gui_get_button_sized","import_gui_stacks","TABS_NAME","styled","SizableStack","name","TRIGGER_NAME","View","role","variants","size","getButtonSized","disabled","true","pointerEvents","unstyled","false","borderWidth","backgroundColor","userSelect","justifyContent","alignItems","flexWrap","flexDirection","cursor","pressStyle","focusVisibleStyle","outlineColor","outlineWidth","outlineStyle","zIndex","defaultVariants","process","env","HANZO_GUI_HEADLESS","accept","activeStyle","CONTENT_NAME","ThemeableStack"],"sources":["../../src/Tabs.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,uBAAA,EAAAA,CAAA,KAAAA,uBAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAA,gBAAA;EAAAC,mBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAX,YAA6B,CAAAK,YAAA;AAI7B,IAAAO,eAAkB,GAAAC,OACL;EAAmBC,2BAAO,GAAAD,OAAA,8BAAc;EAAAE,iBAAA,GAAAF,OAAA;EAAAG,SAAA;EAAAR,gBAAA,OAAAI,eAAA,CAAAK,MAAA,EAAAF,iBAAA,CAAAG,YAAA;IACnDC,IAAA,EAAMH;EACR,CAAC;EAEKI,YAAA,GAAe;EAERX,mBAAA,OAAsBG,eAAA,CAAAK,MAAA,EAAAL,eAAA,CAAAS,IAAA;IACjCF,IAAA,EAAAC,YAAA;IACAE,IAAA;IAAAC,QACQ;MACNC,IAAA,EAAM;QAEN,SAAU,EAAAV,2BAAA,CAAAW;MAAA;MACFC,QACJ;QACFC,IAAA;UAEAC,aAAU;QAAA;MACF;MACWC,QACjB;QACFC,KAAA;UAEAC,WAAU;UACRC,eAAO;UAAAC,UACL,QAAa;UAAAC,cACb,UAAiB;UAAAC,UACjB,UAAY;UAAAC,QACZ,UAAgB;UAAAC,aAChB,EAAY;UAAAC,MACZ,WAAU;UAAAC,UACV;YACAP,eAAQ;UAAA;UAEIQ,iBACV;YACFC,YAAA;YAEAC,YAAA;YAAmBC,YACjB,SAAc;YAAAC,MACd;UAAc;QACA;MACN;IACV;IACFC,eACF;MACFhB,QAAA,EAAAiB,OAAA,CAAAC,GAAA,CAAAC,kBAAA;IAAA;EAEiB;IAC8BC,MAC/C;MACFC,WAAA;IACA;EAAA;EACEC,YAAQ;EAAA5C,uBAAA,OAAAK,eAAA,CAAAK,MAAA,EAAAF,iBAAA,CAAAqC,cAAA;IAAAjC,IACN,EAAAgC;EAAa","ignoreList":[]}
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Tabs_exports","__export","DefaultTabsContentFrame","DefaultTabsFrame","DefaultTabsTabFrame","module","exports","import_core","require","import_get_button_sized","import_stacks","TABS_NAME","styled","SizableStack","name","TRIGGER_NAME","View","role","variants","size","getButtonSized","disabled","true","pointerEvents","unstyled","false","borderWidth","backgroundColor","userSelect","justifyContent","alignItems","flexWrap","flexDirection","cursor","pressStyle","focusVisibleStyle","outlineColor","outlineWidth","outlineStyle","zIndex","defaultVariants","process","env","GUI_HEADLESS","accept","activeStyle","CONTENT_NAME","ThemeableStack"],"sources":["../../src/Tabs.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,uBAAA,EAAAA,CAAA,KAAAA,uBAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAA,gBAAA;EAAAC,mBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAX,YAA6B,CAAAK,YAAA;AAC7B,IAAAO,WAAA,GAAAC,OAAA,iBAA+B;AAC/B,IAAAC,uBAA6C,GAAAD,OAAA;AAE7C,IAAAE,aAAM,GAAYF,OAAA;AACX,IAAAG,SAAM;AAAwC,IACnDR,gBAAM,OAAAI,WAAA,CAAAK,MAAA,EAAAF,aAAA,CAAAG,YAAA;EACPC,IAAA,EAAAH;AAED;AAEO,IAAAI,YAAM,gBAAsB;AAAA,IACjCX,mBAAA,OAAAG,WAAA,CAAAK,MAAA,EAAAL,WAAA,CAAAS,IAAA;EACAF,IAAA,EAAAC,YAAA;EAAAE,IACE,OAAM;EAAAC,QACA;IAENC,IAAA;MACE,SAAM,EAAAV,uBAAA,CAAAW;IAAA;IACOC,QACb;MAEAC,IAAA;QACEC,aAAM;MAAA;IACW;IACjBC,QACF;MAEAC,KAAA;QACEC,WAAO;QAAAC,eACQ;QAAAC,UACb;QAAiBC,cACL;QAAAC,UACZ,UAAgB;QAAAC,QAChB,UAAY;QAAAC,aACF;QAAAC,MACV,WAAe;QAAAC,UACP;UAERP,eAAY;QAAA;QACOQ,iBACnB;UAEAC,YAAA,iBAAmB;UAAAC,YACjB;UAAcC,YACd,SAAc;UAAAC,MACd;QAAc;MACN;IACV;EACF;EACFC,eACF;IAEAhB,QAAA,EAAAiB,OAAiB,CAAAC,GAAA,CAAAC,YAAA;EAAA;AACwB;EAE3CC,MAAA;IACAC,WAAA;EAAA;AACU;AACO,IACfC,YAAA;AAAA,IACF5C,uBAAA,OAAAK,WAAA,CAAAK,MAAA,EAAAF,aAAA,CAAAqC,cAAA;EACFjC,IAAA,EAAAgC;AAEA","ignoreList":[]}