@hanzogui/tabs 2.0.4 → 2.0.5
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/StyledContext.cjs +1 -1
- package/dist/cjs/StyledContext.native.js +1 -1
- package/dist/cjs/Tabs.cjs +3 -3
- package/dist/cjs/Tabs.native.js +3 -3
- package/dist/cjs/createTabs.cjs +9 -9
- package/dist/cjs/createTabs.native.js +9 -9
- package/dist/esm/StyledContext.mjs +1 -1
- package/dist/esm/StyledContext.native.js +1 -1
- package/dist/esm/Tabs.mjs +3 -3
- package/dist/esm/Tabs.native.js +3 -3
- package/dist/esm/createTabs.mjs +9 -9
- package/dist/esm/createTabs.native.js +9 -9
- package/dist/jsx/StyledContext.mjs +1 -1
- package/dist/jsx/StyledContext.native.js +1 -1
- package/dist/jsx/Tabs.mjs +3 -3
- package/dist/jsx/Tabs.native.js +3 -3
- package/dist/jsx/createTabs.mjs +9 -9
- package/dist/jsx/createTabs.native.js +9 -9
- package/package.json +1 -1
- package/src/StyledContext.tsx +2 -2
- package/src/Tabs.tsx +3 -3
- package/src/createTabs.tsx +11 -11
|
@@ -24,7 +24,7 @@ __export(StyledContext_exports, {
|
|
|
24
24
|
useTabsContext: () => useTabsContext
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(StyledContext_exports);
|
|
27
|
-
var import_gui_core = require("@
|
|
27
|
+
var import_gui_core = require("@hanzogui/core");
|
|
28
28
|
const {
|
|
29
29
|
Provider: TabsProvider,
|
|
30
30
|
useStyledContext: useTabsContext
|
|
@@ -26,7 +26,7 @@ __export(StyledContext_exports, {
|
|
|
26
26
|
useTabsContext: () => useTabsContext
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(StyledContext_exports);
|
|
29
|
-
var import_gui_core = require("@
|
|
29
|
+
var import_gui_core = require("@hanzogui/core"),
|
|
30
30
|
{
|
|
31
31
|
Provider: TabsProvider,
|
|
32
32
|
useStyledContext: useTabsContext
|
package/dist/cjs/Tabs.cjs
CHANGED
|
@@ -25,9 +25,9 @@ __export(Tabs_exports, {
|
|
|
25
25
|
DefaultTabsTabFrame: () => DefaultTabsTabFrame
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(Tabs_exports);
|
|
28
|
-
var import_gui_core = require("@
|
|
29
|
-
import_gui_get_button_sized = require("@
|
|
30
|
-
import_gui_stacks = require("@
|
|
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
31
|
const TABS_NAME = "Tabs",
|
|
32
32
|
DefaultTabsFrame = (0, import_gui_core.styled)(import_gui_stacks.SizableStack, {
|
|
33
33
|
name: TABS_NAME
|
package/dist/cjs/Tabs.native.js
CHANGED
|
@@ -27,9 +27,9 @@ __export(Tabs_exports, {
|
|
|
27
27
|
DefaultTabsTabFrame: () => DefaultTabsTabFrame
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(Tabs_exports);
|
|
30
|
-
var import_gui_core = require("@
|
|
31
|
-
import_gui_get_button_sized = require("@
|
|
32
|
-
import_gui_stacks = require("@
|
|
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
33
|
TABS_NAME = "Tabs",
|
|
34
34
|
DefaultTabsFrame = (0, import_gui_core.styled)(import_gui_stacks.SizableStack, {
|
|
35
35
|
name: TABS_NAME
|
package/dist/cjs/createTabs.cjs
CHANGED
|
@@ -34,15 +34,15 @@ __export(createTabs_exports, {
|
|
|
34
34
|
createTabs: () => createTabs
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(createTabs_exports);
|
|
37
|
-
var import_gui_compose_refs = require("@
|
|
38
|
-
import_gui_constants = require("@
|
|
39
|
-
import_gui_group = require("@
|
|
40
|
-
import_gui_helpers = require("@
|
|
41
|
-
import_gui_roving_focus = require("@
|
|
42
|
-
import_gui_sizable_context = require("@
|
|
43
|
-
import_gui_use_controllable_state = require("@
|
|
44
|
-
import_gui_use_direction = require("@
|
|
45
|
-
import_gui_web = require("@
|
|
37
|
+
var import_gui_compose_refs = require("@hanzogui/compose-refs"),
|
|
38
|
+
import_gui_constants = require("@hanzogui/constants"),
|
|
39
|
+
import_gui_group = require("@hanzogui/group"),
|
|
40
|
+
import_gui_helpers = require("@hanzogui/helpers"),
|
|
41
|
+
import_gui_roving_focus = require("@hanzogui/roving-focus"),
|
|
42
|
+
import_gui_sizable_context = require("@hanzogui/sizable-context"),
|
|
43
|
+
import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
|
|
44
|
+
import_gui_use_direction = require("@hanzogui/use-direction"),
|
|
45
|
+
import_gui_web = require("@hanzogui/web"),
|
|
46
46
|
React = __toESM(require("react"), 1),
|
|
47
47
|
import_StyledContext = require("./StyledContext.cjs"),
|
|
48
48
|
import_Tabs = require("./Tabs.cjs"),
|
|
@@ -37,15 +37,15 @@ __export(createTabs_exports, {
|
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(createTabs_exports);
|
|
39
39
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
40
|
-
import_gui_compose_refs = require("@
|
|
41
|
-
import_gui_constants = require("@
|
|
42
|
-
import_gui_group = require("@
|
|
43
|
-
import_gui_helpers = require("@
|
|
44
|
-
import_gui_roving_focus = require("@
|
|
45
|
-
import_gui_sizable_context = require("@
|
|
46
|
-
import_gui_use_controllable_state = require("@
|
|
47
|
-
import_gui_use_direction = require("@
|
|
48
|
-
import_gui_web = require("@
|
|
40
|
+
import_gui_compose_refs = require("@hanzogui/compose-refs"),
|
|
41
|
+
import_gui_constants = require("@hanzogui/constants"),
|
|
42
|
+
import_gui_group = require("@hanzogui/group"),
|
|
43
|
+
import_gui_helpers = require("@hanzogui/helpers"),
|
|
44
|
+
import_gui_roving_focus = require("@hanzogui/roving-focus"),
|
|
45
|
+
import_gui_sizable_context = require("@hanzogui/sizable-context"),
|
|
46
|
+
import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
|
|
47
|
+
import_gui_use_direction = require("@hanzogui/use-direction"),
|
|
48
|
+
import_gui_web = require("@hanzogui/web"),
|
|
49
49
|
React = __toESM(require("react"), 1),
|
|
50
50
|
import_StyledContext = require("./StyledContext.native.js"),
|
|
51
51
|
import_Tabs = require("./Tabs.native.js");
|
package/dist/esm/Tabs.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { styled, View } from "@
|
|
2
|
-
import { getButtonSized } from "@
|
|
3
|
-
import { SizableStack, ThemeableStack } from "@
|
|
1
|
+
import { styled, View } from "@hanzogui/core";
|
|
2
|
+
import { getButtonSized } from "@hanzogui/get-button-sized";
|
|
3
|
+
import { SizableStack, ThemeableStack } from "@hanzogui/stacks";
|
|
4
4
|
const TABS_NAME = "Tabs",
|
|
5
5
|
DefaultTabsFrame = styled(SizableStack, {
|
|
6
6
|
name: TABS_NAME
|
package/dist/esm/Tabs.native.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { styled, View } from "@
|
|
2
|
-
import { getButtonSized } from "@
|
|
3
|
-
import { SizableStack, ThemeableStack } from "@
|
|
1
|
+
import { styled, View } from "@hanzogui/core";
|
|
2
|
+
import { getButtonSized } from "@hanzogui/get-button-sized";
|
|
3
|
+
import { SizableStack, ThemeableStack } from "@hanzogui/stacks";
|
|
4
4
|
var TABS_NAME = "Tabs",
|
|
5
5
|
DefaultTabsFrame = styled(SizableStack, {
|
|
6
6
|
name: TABS_NAME
|
package/dist/esm/createTabs.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { composeRefs } from "@
|
|
2
|
-
import { isWeb } from "@
|
|
3
|
-
import { Group, useGroupItem } from "@
|
|
4
|
-
import { composeEventHandlers, withStaticProperties } from "@
|
|
5
|
-
import { RovingFocusGroup } from "@
|
|
6
|
-
import { SizableContext } from "@
|
|
7
|
-
import { useControllableState } from "@
|
|
8
|
-
import { useDirection } from "@
|
|
9
|
-
import { useEvent } from "@
|
|
1
|
+
import { composeRefs } from "@hanzogui/compose-refs";
|
|
2
|
+
import { isWeb } from "@hanzogui/constants";
|
|
3
|
+
import { Group, useGroupItem } from "@hanzogui/group";
|
|
4
|
+
import { composeEventHandlers, withStaticProperties } from "@hanzogui/helpers";
|
|
5
|
+
import { RovingFocusGroup } from "@hanzogui/roving-focus";
|
|
6
|
+
import { SizableContext } from "@hanzogui/sizable-context";
|
|
7
|
+
import { useControllableState } from "@hanzogui/use-controllable-state";
|
|
8
|
+
import { useDirection } from "@hanzogui/use-direction";
|
|
9
|
+
import { useEvent } from "@hanzogui/web";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { TabsProvider, useTabsContext } from "./StyledContext.mjs";
|
|
12
12
|
import { DefaultTabsContentFrame, DefaultTabsFrame, DefaultTabsTabFrame } from "./Tabs.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { composeRefs } from "@
|
|
3
|
-
import { isWeb } from "@
|
|
4
|
-
import { Group, useGroupItem } from "@
|
|
5
|
-
import { composeEventHandlers, withStaticProperties } from "@
|
|
6
|
-
import { RovingFocusGroup } from "@
|
|
7
|
-
import { SizableContext } from "@
|
|
8
|
-
import { useControllableState } from "@
|
|
9
|
-
import { useDirection } from "@
|
|
10
|
-
import { useEvent } from "@
|
|
2
|
+
import { composeRefs } from "@hanzogui/compose-refs";
|
|
3
|
+
import { isWeb } from "@hanzogui/constants";
|
|
4
|
+
import { Group, useGroupItem } from "@hanzogui/group";
|
|
5
|
+
import { composeEventHandlers, withStaticProperties } from "@hanzogui/helpers";
|
|
6
|
+
import { RovingFocusGroup } from "@hanzogui/roving-focus";
|
|
7
|
+
import { SizableContext } from "@hanzogui/sizable-context";
|
|
8
|
+
import { useControllableState } from "@hanzogui/use-controllable-state";
|
|
9
|
+
import { useDirection } from "@hanzogui/use-direction";
|
|
10
|
+
import { useEvent } from "@hanzogui/web";
|
|
11
11
|
import * as React from "react";
|
|
12
12
|
import { TabsProvider, useTabsContext } from "./StyledContext.native.js";
|
|
13
13
|
import { DefaultTabsContentFrame, DefaultTabsFrame, DefaultTabsTabFrame } from "./Tabs.native.js";
|
|
@@ -26,7 +26,7 @@ __export(StyledContext_exports, {
|
|
|
26
26
|
useTabsContext: () => useTabsContext
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(StyledContext_exports);
|
|
29
|
-
var import_gui_core = require("@
|
|
29
|
+
var import_gui_core = require("@hanzogui/core"),
|
|
30
30
|
{
|
|
31
31
|
Provider: TabsProvider,
|
|
32
32
|
useStyledContext: useTabsContext
|
package/dist/jsx/Tabs.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { styled, View } from "@
|
|
2
|
-
import { getButtonSized } from "@
|
|
3
|
-
import { SizableStack, ThemeableStack } from "@
|
|
1
|
+
import { styled, View } from "@hanzogui/core";
|
|
2
|
+
import { getButtonSized } from "@hanzogui/get-button-sized";
|
|
3
|
+
import { SizableStack, ThemeableStack } from "@hanzogui/stacks";
|
|
4
4
|
const TABS_NAME = "Tabs",
|
|
5
5
|
DefaultTabsFrame = styled(SizableStack, {
|
|
6
6
|
name: TABS_NAME
|
package/dist/jsx/Tabs.native.js
CHANGED
|
@@ -27,9 +27,9 @@ __export(Tabs_exports, {
|
|
|
27
27
|
DefaultTabsTabFrame: () => DefaultTabsTabFrame
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(Tabs_exports);
|
|
30
|
-
var import_gui_core = require("@
|
|
31
|
-
import_gui_get_button_sized = require("@
|
|
32
|
-
import_gui_stacks = require("@
|
|
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
33
|
TABS_NAME = "Tabs",
|
|
34
34
|
DefaultTabsFrame = (0, import_gui_core.styled)(import_gui_stacks.SizableStack, {
|
|
35
35
|
name: TABS_NAME
|
package/dist/jsx/createTabs.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { composeRefs } from "@
|
|
2
|
-
import { isWeb } from "@
|
|
3
|
-
import { Group, useGroupItem } from "@
|
|
4
|
-
import { composeEventHandlers, withStaticProperties } from "@
|
|
5
|
-
import { RovingFocusGroup } from "@
|
|
6
|
-
import { SizableContext } from "@
|
|
7
|
-
import { useControllableState } from "@
|
|
8
|
-
import { useDirection } from "@
|
|
9
|
-
import { useEvent } from "@
|
|
1
|
+
import { composeRefs } from "@hanzogui/compose-refs";
|
|
2
|
+
import { isWeb } from "@hanzogui/constants";
|
|
3
|
+
import { Group, useGroupItem } from "@hanzogui/group";
|
|
4
|
+
import { composeEventHandlers, withStaticProperties } from "@hanzogui/helpers";
|
|
5
|
+
import { RovingFocusGroup } from "@hanzogui/roving-focus";
|
|
6
|
+
import { SizableContext } from "@hanzogui/sizable-context";
|
|
7
|
+
import { useControllableState } from "@hanzogui/use-controllable-state";
|
|
8
|
+
import { useDirection } from "@hanzogui/use-direction";
|
|
9
|
+
import { useEvent } from "@hanzogui/web";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { TabsProvider, useTabsContext } from "./StyledContext.mjs";
|
|
12
12
|
import { DefaultTabsContentFrame, DefaultTabsFrame, DefaultTabsTabFrame } from "./Tabs.mjs";
|
|
@@ -37,15 +37,15 @@ __export(createTabs_exports, {
|
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(createTabs_exports);
|
|
39
39
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
40
|
-
import_gui_compose_refs = require("@
|
|
41
|
-
import_gui_constants = require("@
|
|
42
|
-
import_gui_group = require("@
|
|
43
|
-
import_gui_helpers = require("@
|
|
44
|
-
import_gui_roving_focus = require("@
|
|
45
|
-
import_gui_sizable_context = require("@
|
|
46
|
-
import_gui_use_controllable_state = require("@
|
|
47
|
-
import_gui_use_direction = require("@
|
|
48
|
-
import_gui_web = require("@
|
|
40
|
+
import_gui_compose_refs = require("@hanzogui/compose-refs"),
|
|
41
|
+
import_gui_constants = require("@hanzogui/constants"),
|
|
42
|
+
import_gui_group = require("@hanzogui/group"),
|
|
43
|
+
import_gui_helpers = require("@hanzogui/helpers"),
|
|
44
|
+
import_gui_roving_focus = require("@hanzogui/roving-focus"),
|
|
45
|
+
import_gui_sizable_context = require("@hanzogui/sizable-context"),
|
|
46
|
+
import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
|
|
47
|
+
import_gui_use_direction = require("@hanzogui/use-direction"),
|
|
48
|
+
import_gui_web = require("@hanzogui/web"),
|
|
49
49
|
React = __toESM(require("react"), 1),
|
|
50
50
|
import_StyledContext = require("./StyledContext.native.js"),
|
|
51
51
|
import_Tabs = require("./Tabs.native.js");
|
package/package.json
CHANGED
package/src/StyledContext.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SizeTokens } from '@
|
|
2
|
-
import { createStyledContext } from '@
|
|
1
|
+
import type { SizeTokens } from '@hanzogui/core'
|
|
2
|
+
import { createStyledContext } from '@hanzogui/core'
|
|
3
3
|
import type { TabsProps } from './createTabs'
|
|
4
4
|
|
|
5
5
|
export type TabsContextValue = {
|
package/src/Tabs.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { styled, View } from '@
|
|
2
|
-
import { getButtonSized } from '@
|
|
3
|
-
import { SizableStack, ThemeableStack } from '@
|
|
1
|
+
import { styled, View } from '@hanzogui/core'
|
|
2
|
+
import { getButtonSized } from '@hanzogui/get-button-sized'
|
|
3
|
+
import { SizableStack, ThemeableStack } from '@hanzogui/stacks'
|
|
4
4
|
|
|
5
5
|
const TABS_NAME = 'Tabs'
|
|
6
6
|
export const DefaultTabsFrame = styled(SizableStack, {
|
package/src/createTabs.tsx
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { composeRefs } from '@
|
|
2
|
-
import { isWeb } from '@
|
|
3
|
-
import type { GroupProps } from '@
|
|
4
|
-
import { Group, useGroupItem } from '@
|
|
5
|
-
import { composeEventHandlers, withStaticProperties } from '@
|
|
6
|
-
import { RovingFocusGroup, type RovingFocusGroupProps } from '@
|
|
7
|
-
import { SizableContext } from '@
|
|
8
|
-
import { useControllableState } from '@
|
|
9
|
-
import { useDirection } from '@
|
|
10
|
-
import type { GetProps, GuiElement, ViewProps } from '@
|
|
11
|
-
import { useEvent } from '@
|
|
1
|
+
import { composeRefs } from '@hanzogui/compose-refs'
|
|
2
|
+
import { isWeb } from '@hanzogui/constants'
|
|
3
|
+
import type { GroupProps } from '@hanzogui/group'
|
|
4
|
+
import { Group, useGroupItem } from '@hanzogui/group'
|
|
5
|
+
import { composeEventHandlers, withStaticProperties } from '@hanzogui/helpers'
|
|
6
|
+
import { RovingFocusGroup, type RovingFocusGroupProps } from '@hanzogui/roving-focus'
|
|
7
|
+
import { SizableContext } from '@hanzogui/sizable-context'
|
|
8
|
+
import { useControllableState } from '@hanzogui/use-controllable-state'
|
|
9
|
+
import { useDirection } from '@hanzogui/use-direction'
|
|
10
|
+
import type { GetProps, GuiElement, ViewProps } from '@hanzogui/web'
|
|
11
|
+
import { useEvent } from '@hanzogui/web'
|
|
12
12
|
import * as React from 'react'
|
|
13
13
|
import type { LayoutRectangle } from 'react-native'
|
|
14
14
|
import { TabsProvider, useTabsContext } from './StyledContext'
|