@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.
@@ -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("@hanzo/gui-helpers"),
39
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
40
- import_gui_web = require("@hanzo/gui-web"),
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("@hanzo/gui-helpers"),
42
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
43
- import_gui_web = require("@hanzo/gui-web"),
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",
@@ -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("@hanzo/gui-constants"),
38
- import_gui_focusable = require("@hanzo/gui-focusable"),
39
- import_gui_helpers = require("@hanzo/gui-helpers"),
40
- import_gui_roving_focus = require("@hanzo/gui-roving-focus"),
41
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
42
- import_gui_use_direction = require("@hanzo/gui-use-direction"),
43
- import_gui_web = require("@hanzo/gui-web"),
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("@hanzo/gui-constants"),
41
- import_gui_focusable = require("@hanzo/gui-focusable"),
42
- import_gui_helpers = require("@hanzo/gui-helpers"),
43
- import_gui_roving_focus = require("@hanzo/gui-roving-focus"),
44
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
45
- import_gui_use_direction = require("@hanzo/gui-use-direction"),
46
- import_gui_web = require("@hanzo/gui-web"),
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"),
@@ -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("@hanzo/gui-web");
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("@hanzo/gui-web"),
29
+ var import_gui_web = require("@hanzogui/web"),
30
30
  context = (0, import_gui_web.createStyledContext)({
31
31
  color: "",
32
32
  active: !1
@@ -1,6 +1,6 @@
1
- import { composeEventHandlers } from "@hanzo/gui-helpers";
2
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
3
- import { styled, View } from "@hanzo/gui-web";
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 "@hanzo/gui-helpers";
3
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
4
- import { styled, View } from "@hanzo/gui-web";
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",
@@ -1,10 +1,10 @@
1
- import { isWeb } from "@hanzo/gui-constants";
2
- import { registerFocusable } from "@hanzo/gui-focusable";
3
- import { withStaticProperties } from "@hanzo/gui-helpers";
4
- import { RovingFocusGroup } from "@hanzo/gui-roving-focus";
5
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
6
- import { useDirection } from "@hanzo/gui-use-direction";
7
- import { createStyledContext, styled, View } from "@hanzo/gui-web";
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 "@hanzo/gui-constants";
3
- import { registerFocusable } from "@hanzo/gui-focusable";
4
- import { withStaticProperties } from "@hanzo/gui-helpers";
5
- import { RovingFocusGroup } from "@hanzo/gui-roving-focus";
6
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
7
- import { useDirection } from "@hanzo/gui-use-direction";
8
- import { createStyledContext, styled, View } from "@hanzo/gui-web";
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";
@@ -1,4 +1,4 @@
1
- import { createStyledContext } from "@hanzo/gui-web";
1
+ import { createStyledContext } from "@hanzogui/web";
2
2
  const context = createStyledContext({
3
3
  color: "",
4
4
  active: !1
@@ -1,4 +1,4 @@
1
- import { createStyledContext } from "@hanzo/gui-web";
1
+ import { createStyledContext } from "@hanzogui/web";
2
2
  var context = createStyledContext({
3
3
  color: "",
4
4
  active: !1
@@ -1,6 +1,6 @@
1
- import { composeEventHandlers } from "@hanzo/gui-helpers";
2
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
3
- import { styled, View } from "@hanzo/gui-web";
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("@hanzo/gui-helpers"),
42
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
43
- import_gui_web = require("@hanzo/gui-web"),
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",
@@ -1,10 +1,10 @@
1
- import { isWeb } from "@hanzo/gui-constants";
2
- import { registerFocusable } from "@hanzo/gui-focusable";
3
- import { withStaticProperties } from "@hanzo/gui-helpers";
4
- import { RovingFocusGroup } from "@hanzo/gui-roving-focus";
5
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
6
- import { useDirection } from "@hanzo/gui-use-direction";
7
- import { createStyledContext, styled, View } from "@hanzo/gui-web";
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("@hanzo/gui-constants"),
41
- import_gui_focusable = require("@hanzo/gui-focusable"),
42
- import_gui_helpers = require("@hanzo/gui-helpers"),
43
- import_gui_roving_focus = require("@hanzo/gui-roving-focus"),
44
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
45
- import_gui_use_direction = require("@hanzo/gui-use-direction"),
46
- import_gui_web = require("@hanzo/gui-web"),
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"),
@@ -1,4 +1,4 @@
1
- import { createStyledContext } from "@hanzo/gui-web";
1
+ import { createStyledContext } from "@hanzogui/web";
2
2
  const context = createStyledContext({
3
3
  color: "",
4
4
  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("@hanzo/gui-web"),
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/toggle-group",
3
- "version": "2.0.4",
3
+ "version": "2.0.7",
4
4
  "source": "src/index.ts",
5
5
  "files": [
6
6
  "src",
package/src/Toggle.tsx CHANGED
@@ -1,7 +1,7 @@
1
- import { composeEventHandlers } from '@hanzo/gui-helpers'
2
- import { useControllableState } from '@hanzo/gui-use-controllable-state'
3
- import type { GetProps, GuiElement, ViewStyle } from '@hanzo/gui-web'
4
- import { styled, View } from '@hanzo/gui-web'
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
 
@@ -1,11 +1,11 @@
1
- import { isWeb } from '@hanzo/gui-constants'
2
- import { registerFocusable } from '@hanzo/gui-focusable'
3
- import { withStaticProperties } from '@hanzo/gui-helpers'
4
- import { RovingFocusGroup } from '@hanzo/gui-roving-focus'
5
- import { useControllableState } from '@hanzo/gui-use-controllable-state'
6
- import { useDirection } from '@hanzo/gui-use-direction'
7
- import type { GetProps, GuiElement } from '@hanzo/gui-web'
8
- import { createStyledContext, styled, View } from '@hanzo/gui-web'
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
@@ -1,4 +1,4 @@
1
- import { createStyledContext } from '@hanzo/gui-web'
1
+ import { createStyledContext } from '@hanzogui/web'
2
2
 
3
3
  export const context = createStyledContext({
4
4
  color: '',
package/src/types.tsx CHANGED
@@ -1,3 +1,3 @@
1
- import type { ViewStyle } from '@hanzo/gui-web'
1
+ import type { ViewStyle } from '@hanzogui/web'
2
2
 
3
3
  export type ToggleStylesBase = ViewStyle & { color?: string }