@hanzogui/toggle-group 2.0.4 → 2.0.7
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/Toggle.cjs +3 -3
- package/dist/cjs/Toggle.native.js +3 -3
- package/dist/cjs/ToggleGroup.cjs +7 -7
- package/dist/cjs/ToggleGroup.native.js +7 -7
- package/dist/cjs/context.cjs +1 -1
- package/dist/cjs/context.native.js +1 -1
- package/dist/esm/Toggle.mjs +3 -3
- package/dist/esm/Toggle.native.js +3 -3
- package/dist/esm/ToggleGroup.mjs +7 -7
- package/dist/esm/ToggleGroup.native.js +7 -7
- package/dist/esm/context.mjs +1 -1
- package/dist/esm/context.native.js +1 -1
- package/dist/jsx/Toggle.mjs +3 -3
- package/dist/jsx/Toggle.native.js +3 -3
- package/dist/jsx/ToggleGroup.mjs +7 -7
- package/dist/jsx/ToggleGroup.native.js +7 -7
- package/dist/jsx/context.mjs +1 -1
- package/dist/jsx/context.native.js +1 -1
- package/package.json +1 -1
- package/src/Toggle.tsx +4 -4
- package/src/ToggleGroup.tsx +8 -8
- package/src/context.tsx +1 -1
- package/src/types.tsx +1 -1
package/dist/cjs/Toggle.cjs
CHANGED
|
@@ -35,9 +35,9 @@ __export(Toggle_exports, {
|
|
|
35
35
|
ToggleFrame: () => ToggleFrame
|
|
36
36
|
});
|
|
37
37
|
module.exports = __toCommonJS(Toggle_exports);
|
|
38
|
-
var import_gui_helpers = require("@
|
|
39
|
-
import_gui_use_controllable_state = require("@
|
|
40
|
-
import_gui_web = require("@
|
|
38
|
+
var import_gui_helpers = require("@hanzogui/helpers"),
|
|
39
|
+
import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
|
|
40
|
+
import_gui_web = require("@hanzogui/web"),
|
|
41
41
|
React = __toESM(require("react"), 1),
|
|
42
42
|
import_context = require("./context.cjs"),
|
|
43
43
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -38,9 +38,9 @@ __export(Toggle_exports, {
|
|
|
38
38
|
});
|
|
39
39
|
module.exports = __toCommonJS(Toggle_exports);
|
|
40
40
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
41
|
-
import_gui_helpers = require("@
|
|
42
|
-
import_gui_use_controllable_state = require("@
|
|
43
|
-
import_gui_web = require("@
|
|
41
|
+
import_gui_helpers = require("@hanzogui/helpers"),
|
|
42
|
+
import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
|
|
43
|
+
import_gui_web = require("@hanzogui/web"),
|
|
44
44
|
React = __toESM(require("react"), 1),
|
|
45
45
|
import_context = require("./context.native.js"),
|
|
46
46
|
NAME = "Toggle",
|
package/dist/cjs/ToggleGroup.cjs
CHANGED
|
@@ -34,13 +34,13 @@ __export(ToggleGroup_exports, {
|
|
|
34
34
|
ToggleGroup: () => ToggleGroup
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(ToggleGroup_exports);
|
|
37
|
-
var import_gui_constants = require("@
|
|
38
|
-
import_gui_focusable = require("@
|
|
39
|
-
import_gui_helpers = require("@
|
|
40
|
-
import_gui_roving_focus = require("@
|
|
41
|
-
import_gui_use_controllable_state = require("@
|
|
42
|
-
import_gui_use_direction = require("@
|
|
43
|
-
import_gui_web = require("@
|
|
37
|
+
var import_gui_constants = require("@hanzogui/constants"),
|
|
38
|
+
import_gui_focusable = require("@hanzogui/focusable"),
|
|
39
|
+
import_gui_helpers = require("@hanzogui/helpers"),
|
|
40
|
+
import_gui_roving_focus = require("@hanzogui/roving-focus"),
|
|
41
|
+
import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
|
|
42
|
+
import_gui_use_direction = require("@hanzogui/use-direction"),
|
|
43
|
+
import_gui_web = require("@hanzogui/web"),
|
|
44
44
|
import_react = __toESM(require("react"), 1),
|
|
45
45
|
import_Toggle = require("./Toggle.cjs"),
|
|
46
46
|
import_context = require("./context.cjs"),
|
|
@@ -37,13 +37,13 @@ __export(ToggleGroup_exports, {
|
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(ToggleGroup_exports);
|
|
39
39
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
40
|
-
import_gui_constants = require("@
|
|
41
|
-
import_gui_focusable = require("@
|
|
42
|
-
import_gui_helpers = require("@
|
|
43
|
-
import_gui_roving_focus = require("@
|
|
44
|
-
import_gui_use_controllable_state = require("@
|
|
45
|
-
import_gui_use_direction = require("@
|
|
46
|
-
import_gui_web = require("@
|
|
40
|
+
import_gui_constants = require("@hanzogui/constants"),
|
|
41
|
+
import_gui_focusable = require("@hanzogui/focusable"),
|
|
42
|
+
import_gui_helpers = require("@hanzogui/helpers"),
|
|
43
|
+
import_gui_roving_focus = require("@hanzogui/roving-focus"),
|
|
44
|
+
import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
|
|
45
|
+
import_gui_use_direction = require("@hanzogui/use-direction"),
|
|
46
|
+
import_gui_web = require("@hanzogui/web"),
|
|
47
47
|
import_react = __toESM(require("react"), 1),
|
|
48
48
|
import_Toggle = require("./Toggle.native.js"),
|
|
49
49
|
import_context = require("./context.native.js"),
|
package/dist/cjs/context.cjs
CHANGED
|
@@ -24,7 +24,7 @@ __export(context_exports, {
|
|
|
24
24
|
useToggleGroupItem: () => useToggleGroupItem
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(context_exports);
|
|
27
|
-
var import_gui_web = require("@
|
|
27
|
+
var import_gui_web = require("@hanzogui/web");
|
|
28
28
|
const context = (0, import_gui_web.createStyledContext)({
|
|
29
29
|
color: "",
|
|
30
30
|
active: !1
|
|
@@ -26,7 +26,7 @@ __export(context_exports, {
|
|
|
26
26
|
useToggleGroupItem: () => useToggleGroupItem
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(context_exports);
|
|
29
|
-
var import_gui_web = require("@
|
|
29
|
+
var import_gui_web = require("@hanzogui/web"),
|
|
30
30
|
context = (0, import_gui_web.createStyledContext)({
|
|
31
31
|
color: "",
|
|
32
32
|
active: !1
|
package/dist/esm/Toggle.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { composeEventHandlers } from "@
|
|
2
|
-
import { useControllableState } from "@
|
|
3
|
-
import { styled, View } from "@
|
|
1
|
+
import { composeEventHandlers } from "@hanzogui/helpers";
|
|
2
|
+
import { useControllableState } from "@hanzogui/use-controllable-state";
|
|
3
|
+
import { styled, View } from "@hanzogui/web";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { context } from "./context.mjs";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { composeEventHandlers } from "@
|
|
3
|
-
import { useControllableState } from "@
|
|
4
|
-
import { styled, View } from "@
|
|
2
|
+
import { composeEventHandlers } from "@hanzogui/helpers";
|
|
3
|
+
import { useControllableState } from "@hanzogui/use-controllable-state";
|
|
4
|
+
import { styled, View } from "@hanzogui/web";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { context } from "./context.native.js";
|
|
7
7
|
var NAME = "Toggle",
|
package/dist/esm/ToggleGroup.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { isWeb } from "@
|
|
2
|
-
import { registerFocusable } from "@
|
|
3
|
-
import { withStaticProperties } from "@
|
|
4
|
-
import { RovingFocusGroup } from "@
|
|
5
|
-
import { useControllableState } from "@
|
|
6
|
-
import { useDirection } from "@
|
|
7
|
-
import { createStyledContext, styled, View } from "@
|
|
1
|
+
import { isWeb } from "@hanzogui/constants";
|
|
2
|
+
import { registerFocusable } from "@hanzogui/focusable";
|
|
3
|
+
import { withStaticProperties } from "@hanzogui/helpers";
|
|
4
|
+
import { RovingFocusGroup } from "@hanzogui/roving-focus";
|
|
5
|
+
import { useControllableState } from "@hanzogui/use-controllable-state";
|
|
6
|
+
import { useDirection } from "@hanzogui/use-direction";
|
|
7
|
+
import { createStyledContext, styled, View } from "@hanzogui/web";
|
|
8
8
|
import React from "react";
|
|
9
9
|
import { Toggle, ToggleFrame } from "./Toggle.mjs";
|
|
10
10
|
import { context as ToggleContext } from "./context.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { isWeb } from "@
|
|
3
|
-
import { registerFocusable } from "@
|
|
4
|
-
import { withStaticProperties } from "@
|
|
5
|
-
import { RovingFocusGroup } from "@
|
|
6
|
-
import { useControllableState } from "@
|
|
7
|
-
import { useDirection } from "@
|
|
8
|
-
import { createStyledContext, styled, View } from "@
|
|
2
|
+
import { isWeb } from "@hanzogui/constants";
|
|
3
|
+
import { registerFocusable } from "@hanzogui/focusable";
|
|
4
|
+
import { withStaticProperties } from "@hanzogui/helpers";
|
|
5
|
+
import { RovingFocusGroup } from "@hanzogui/roving-focus";
|
|
6
|
+
import { useControllableState } from "@hanzogui/use-controllable-state";
|
|
7
|
+
import { useDirection } from "@hanzogui/use-direction";
|
|
8
|
+
import { createStyledContext, styled, View } from "@hanzogui/web";
|
|
9
9
|
import React from "react";
|
|
10
10
|
import { Toggle, ToggleFrame } from "./Toggle.native.js";
|
|
11
11
|
import { context as ToggleContext } from "./context.native.js";
|
package/dist/esm/context.mjs
CHANGED
package/dist/jsx/Toggle.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { composeEventHandlers } from "@
|
|
2
|
-
import { useControllableState } from "@
|
|
3
|
-
import { styled, View } from "@
|
|
1
|
+
import { composeEventHandlers } from "@hanzogui/helpers";
|
|
2
|
+
import { useControllableState } from "@hanzogui/use-controllable-state";
|
|
3
|
+
import { styled, View } from "@hanzogui/web";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { context } from "./context.mjs";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -38,9 +38,9 @@ __export(Toggle_exports, {
|
|
|
38
38
|
});
|
|
39
39
|
module.exports = __toCommonJS(Toggle_exports);
|
|
40
40
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
41
|
-
import_gui_helpers = require("@
|
|
42
|
-
import_gui_use_controllable_state = require("@
|
|
43
|
-
import_gui_web = require("@
|
|
41
|
+
import_gui_helpers = require("@hanzogui/helpers"),
|
|
42
|
+
import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
|
|
43
|
+
import_gui_web = require("@hanzogui/web"),
|
|
44
44
|
React = __toESM(require("react"), 1),
|
|
45
45
|
import_context = require("./context.native.js"),
|
|
46
46
|
NAME = "Toggle",
|
package/dist/jsx/ToggleGroup.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { isWeb } from "@
|
|
2
|
-
import { registerFocusable } from "@
|
|
3
|
-
import { withStaticProperties } from "@
|
|
4
|
-
import { RovingFocusGroup } from "@
|
|
5
|
-
import { useControllableState } from "@
|
|
6
|
-
import { useDirection } from "@
|
|
7
|
-
import { createStyledContext, styled, View } from "@
|
|
1
|
+
import { isWeb } from "@hanzogui/constants";
|
|
2
|
+
import { registerFocusable } from "@hanzogui/focusable";
|
|
3
|
+
import { withStaticProperties } from "@hanzogui/helpers";
|
|
4
|
+
import { RovingFocusGroup } from "@hanzogui/roving-focus";
|
|
5
|
+
import { useControllableState } from "@hanzogui/use-controllable-state";
|
|
6
|
+
import { useDirection } from "@hanzogui/use-direction";
|
|
7
|
+
import { createStyledContext, styled, View } from "@hanzogui/web";
|
|
8
8
|
import React from "react";
|
|
9
9
|
import { Toggle, ToggleFrame } from "./Toggle.mjs";
|
|
10
10
|
import { context as ToggleContext } from "./context.mjs";
|
|
@@ -37,13 +37,13 @@ __export(ToggleGroup_exports, {
|
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(ToggleGroup_exports);
|
|
39
39
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
40
|
-
import_gui_constants = require("@
|
|
41
|
-
import_gui_focusable = require("@
|
|
42
|
-
import_gui_helpers = require("@
|
|
43
|
-
import_gui_roving_focus = require("@
|
|
44
|
-
import_gui_use_controllable_state = require("@
|
|
45
|
-
import_gui_use_direction = require("@
|
|
46
|
-
import_gui_web = require("@
|
|
40
|
+
import_gui_constants = require("@hanzogui/constants"),
|
|
41
|
+
import_gui_focusable = require("@hanzogui/focusable"),
|
|
42
|
+
import_gui_helpers = require("@hanzogui/helpers"),
|
|
43
|
+
import_gui_roving_focus = require("@hanzogui/roving-focus"),
|
|
44
|
+
import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
|
|
45
|
+
import_gui_use_direction = require("@hanzogui/use-direction"),
|
|
46
|
+
import_gui_web = require("@hanzogui/web"),
|
|
47
47
|
import_react = __toESM(require("react"), 1),
|
|
48
48
|
import_Toggle = require("./Toggle.native.js"),
|
|
49
49
|
import_context = require("./context.native.js"),
|
package/dist/jsx/context.mjs
CHANGED
|
@@ -26,7 +26,7 @@ __export(context_exports, {
|
|
|
26
26
|
useToggleGroupItem: () => useToggleGroupItem
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(context_exports);
|
|
29
|
-
var import_gui_web = require("@
|
|
29
|
+
var import_gui_web = require("@hanzogui/web"),
|
|
30
30
|
context = (0, import_gui_web.createStyledContext)({
|
|
31
31
|
color: "",
|
|
32
32
|
active: !1
|
package/package.json
CHANGED
package/src/Toggle.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { composeEventHandlers } from '@
|
|
2
|
-
import { useControllableState } from '@
|
|
3
|
-
import type { GetProps, GuiElement, ViewStyle } from '@
|
|
4
|
-
import { styled, View } from '@
|
|
1
|
+
import { composeEventHandlers } from '@hanzogui/helpers'
|
|
2
|
+
import { useControllableState } from '@hanzogui/use-controllable-state'
|
|
3
|
+
import type { GetProps, GuiElement, ViewStyle } from '@hanzogui/web'
|
|
4
|
+
import { styled, View } from '@hanzogui/web'
|
|
5
5
|
import * as React from 'react'
|
|
6
6
|
import { context } from './context'
|
|
7
7
|
|
package/src/ToggleGroup.tsx
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { isWeb } from '@
|
|
2
|
-
import { registerFocusable } from '@
|
|
3
|
-
import { withStaticProperties } from '@
|
|
4
|
-
import { RovingFocusGroup } from '@
|
|
5
|
-
import { useControllableState } from '@
|
|
6
|
-
import { useDirection } from '@
|
|
7
|
-
import type { GetProps, GuiElement } from '@
|
|
8
|
-
import { createStyledContext, styled, View } from '@
|
|
1
|
+
import { isWeb } from '@hanzogui/constants'
|
|
2
|
+
import { registerFocusable } from '@hanzogui/focusable'
|
|
3
|
+
import { withStaticProperties } from '@hanzogui/helpers'
|
|
4
|
+
import { RovingFocusGroup } from '@hanzogui/roving-focus'
|
|
5
|
+
import { useControllableState } from '@hanzogui/use-controllable-state'
|
|
6
|
+
import { useDirection } from '@hanzogui/use-direction'
|
|
7
|
+
import type { GetProps, GuiElement } from '@hanzogui/web'
|
|
8
|
+
import { createStyledContext, styled, View } from '@hanzogui/web'
|
|
9
9
|
import React from 'react'
|
|
10
10
|
|
|
11
11
|
import type { ToggleProps } from './Toggle'
|
package/src/context.tsx
CHANGED
package/src/types.tsx
CHANGED