@hanzogui/checkbox 2.0.0 → 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.
@@ -24,9 +24,9 @@ __export(Checkbox_exports, {
24
24
  CheckboxIndicatorFrame: () => CheckboxIndicatorFrame
25
25
  });
26
26
  module.exports = __toCommonJS(Checkbox_exports);
27
- var import_gui_core = require("@hanzo/gui-core"),
28
- import_gui_get_token = require("@hanzo/gui-get-token"),
29
- import_gui_stacks = require("@hanzo/gui-stacks"),
27
+ var import_gui_core = require("@hanzogui/core"),
28
+ import_gui_get_token = require("@hanzogui/get-token"),
29
+ import_gui_stacks = require("@hanzogui/stacks"),
30
30
  import_CheckboxStyledContext = require("./CheckboxStyledContext.cjs");
31
31
  const INDICATOR_NAME = "CheckboxIndicator",
32
32
  CheckboxIndicatorFrame = (0, import_gui_core.styled)(import_gui_stacks.YStack, {
@@ -26,9 +26,9 @@ __export(Checkbox_exports, {
26
26
  CheckboxIndicatorFrame: () => CheckboxIndicatorFrame
27
27
  });
28
28
  module.exports = __toCommonJS(Checkbox_exports);
29
- var import_gui_core = require("@hanzo/gui-core"),
30
- import_gui_get_token = require("@hanzo/gui-get-token"),
31
- import_gui_stacks = require("@hanzo/gui-stacks"),
29
+ var import_gui_core = require("@hanzogui/core"),
30
+ import_gui_get_token = require("@hanzogui/get-token"),
31
+ import_gui_stacks = require("@hanzogui/stacks"),
32
32
  import_CheckboxStyledContext = require("./CheckboxStyledContext.native.js"),
33
33
  INDICATOR_NAME = "CheckboxIndicator",
34
34
  CheckboxIndicatorFrame = (0, import_gui_core.styled)(import_gui_stacks.YStack, {
@@ -23,7 +23,7 @@ __export(CheckboxStyledContext_exports, {
23
23
  CheckboxStyledContext: () => CheckboxStyledContext
24
24
  });
25
25
  module.exports = __toCommonJS(CheckboxStyledContext_exports);
26
- var import_gui_core = require("@hanzo/gui-core");
26
+ var import_gui_core = require("@hanzogui/core");
27
27
  const CheckboxStyledContext = (0, import_gui_core.createStyledContext)({
28
28
  size: "$true",
29
29
  scaleIcon: 1,
@@ -25,7 +25,7 @@ __export(CheckboxStyledContext_exports, {
25
25
  CheckboxStyledContext: () => CheckboxStyledContext
26
26
  });
27
27
  module.exports = __toCommonJS(CheckboxStyledContext_exports);
28
- var import_gui_core = require("@hanzo/gui-core"),
28
+ var import_gui_core = require("@hanzogui/core"),
29
29
  CheckboxStyledContext = (0, import_gui_core.createStyledContext)({
30
30
  size: "$true",
31
31
  scaleIcon: 1,
@@ -35,13 +35,13 @@ __export(createCheckbox_exports, {
35
35
  createCheckbox: () => createCheckbox
36
36
  });
37
37
  module.exports = __toCommonJS(createCheckbox_exports);
38
- var import_gui_checkbox_headless = require("@hanzo/gui-checkbox-headless"),
39
- import_gui_core = require("@hanzo/gui-core"),
40
- import_gui_focusable = require("@hanzo/gui-focusable"),
41
- import_gui_font_size = require("@hanzo/gui-font-size"),
42
- import_gui_get_token = require("@hanzo/gui-get-token"),
43
- import_gui_helpers = require("@hanzo/gui-helpers"),
44
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
38
+ var import_gui_checkbox_headless = require("@hanzogui/checkbox-headless"),
39
+ import_gui_core = require("@hanzogui/core"),
40
+ import_gui_focusable = require("@hanzogui/focusable"),
41
+ import_gui_font_size = require("@hanzogui/font-size"),
42
+ import_gui_get_token = require("@hanzogui/get-token"),
43
+ import_gui_helpers = require("@hanzogui/helpers"),
44
+ import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
45
45
  import_react = __toESM(require("react"), 1),
46
46
  import_Checkbox = require("./Checkbox.cjs"),
47
47
  import_CheckboxStyledContext = require("./CheckboxStyledContext.cjs"),
@@ -38,13 +38,13 @@ __export(createCheckbox_exports, {
38
38
  });
39
39
  module.exports = __toCommonJS(createCheckbox_exports);
40
40
  var import_jsx_runtime = require("react/jsx-runtime"),
41
- import_gui_checkbox_headless = require("@hanzo/gui-checkbox-headless"),
42
- import_gui_core = require("@hanzo/gui-core"),
43
- import_gui_focusable = require("@hanzo/gui-focusable"),
44
- import_gui_font_size = require("@hanzo/gui-font-size"),
45
- import_gui_get_token = require("@hanzo/gui-get-token"),
46
- import_gui_helpers = require("@hanzo/gui-helpers"),
47
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
41
+ import_gui_checkbox_headless = require("@hanzogui/checkbox-headless"),
42
+ import_gui_core = require("@hanzogui/core"),
43
+ import_gui_focusable = require("@hanzogui/focusable"),
44
+ import_gui_font_size = require("@hanzogui/font-size"),
45
+ import_gui_get_token = require("@hanzogui/get-token"),
46
+ import_gui_helpers = require("@hanzogui/helpers"),
47
+ import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
48
48
  import_react = __toESM(require("react"), 1),
49
49
  import_Checkbox = require("./Checkbox.native.js"),
50
50
  import_CheckboxStyledContext = require("./CheckboxStyledContext.native.js"),
@@ -1,6 +1,6 @@
1
- import { getVariableValue, styled } from "@hanzo/gui-core";
2
- import { getSize } from "@hanzo/gui-get-token";
3
- import { YStack } from "@hanzo/gui-stacks";
1
+ import { getVariableValue, styled } from "@hanzogui/core";
2
+ import { getSize } from "@hanzogui/get-token";
3
+ import { YStack } from "@hanzogui/stacks";
4
4
  import { CheckboxStyledContext } from "./CheckboxStyledContext.mjs";
5
5
  const INDICATOR_NAME = "CheckboxIndicator",
6
6
  CheckboxIndicatorFrame = styled(YStack, {
@@ -1,6 +1,6 @@
1
- import { getVariableValue, styled } from "@hanzo/gui-core";
2
- import { getSize } from "@hanzo/gui-get-token";
3
- import { YStack } from "@hanzo/gui-stacks";
1
+ import { getVariableValue, styled } from "@hanzogui/core";
2
+ import { getSize } from "@hanzogui/get-token";
3
+ import { YStack } from "@hanzogui/stacks";
4
4
  import { CheckboxStyledContext } from "./CheckboxStyledContext.native.js";
5
5
  var INDICATOR_NAME = "CheckboxIndicator",
6
6
  CheckboxIndicatorFrame = styled(YStack, {
@@ -1,4 +1,4 @@
1
- import { createStyledContext } from "@hanzo/gui-core";
1
+ import { createStyledContext } from "@hanzogui/core";
2
2
  const CheckboxStyledContext = createStyledContext({
3
3
  size: "$true",
4
4
  scaleIcon: 1,
@@ -1,4 +1,4 @@
1
- import { createStyledContext } from "@hanzo/gui-core";
1
+ import { createStyledContext } from "@hanzogui/core";
2
2
  var CheckboxStyledContext = createStyledContext({
3
3
  size: "$true",
4
4
  scaleIcon: 1,
@@ -1,9 +1,9 @@
1
- import { isIndeterminate, useCheckbox } from "@hanzo/gui-checkbox-headless";
2
- import { getVariableValue, isWeb, shouldRenderNativePlatform, useProps, useTheme, withStaticProperties } from "@hanzo/gui-core";
3
- import { getFontSize } from "@hanzo/gui-font-size";
4
- import { getSize } from "@hanzo/gui-get-token";
5
- import { useGetThemedIcon } from "@hanzo/gui-helpers";
6
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
1
+ import { isIndeterminate, useCheckbox } from "@hanzogui/checkbox-headless";
2
+ import { getVariableValue, isWeb, shouldRenderNativePlatform, useProps, useTheme, withStaticProperties } from "@hanzogui/core";
3
+ import { getFontSize } from "@hanzogui/font-size";
4
+ import { getSize } from "@hanzogui/get-token";
5
+ import { useGetThemedIcon } from "@hanzogui/helpers";
6
+ import { useControllableState } from "@hanzogui/use-controllable-state";
7
7
  import React, { useMemo } from "react";
8
8
  import { CheckboxFrame, CheckboxIndicatorFrame } from "./Checkbox.mjs";
9
9
  import { CheckboxStyledContext } from "./CheckboxStyledContext.mjs";
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { isIndeterminate, useCheckbox } from "@hanzo/gui-checkbox-headless";
3
- import { getVariableValue, isWeb, shouldRenderNativePlatform, useProps, useTheme, withStaticProperties } from "@hanzo/gui-core";
4
- import { registerFocusable } from "@hanzo/gui-focusable";
5
- import { getFontSize } from "@hanzo/gui-font-size";
6
- import { getSize } from "@hanzo/gui-get-token";
7
- import { useGetThemedIcon } from "@hanzo/gui-helpers";
8
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
2
+ import { isIndeterminate, useCheckbox } from "@hanzogui/checkbox-headless";
3
+ import { getVariableValue, isWeb, shouldRenderNativePlatform, useProps, useTheme, withStaticProperties } from "@hanzogui/core";
4
+ import { registerFocusable } from "@hanzogui/focusable";
5
+ import { getFontSize } from "@hanzogui/font-size";
6
+ import { getSize } from "@hanzogui/get-token";
7
+ import { useGetThemedIcon } from "@hanzogui/helpers";
8
+ import { useControllableState } from "@hanzogui/use-controllable-state";
9
9
  import React, { useMemo } from "react";
10
10
  import { CheckboxFrame, CheckboxIndicatorFrame } from "./Checkbox.native.js";
11
11
  import { CheckboxStyledContext } from "./CheckboxStyledContext.native.js";
@@ -1,6 +1,6 @@
1
- import { getVariableValue, styled } from "@hanzo/gui-core";
2
- import { getSize } from "@hanzo/gui-get-token";
3
- import { YStack } from "@hanzo/gui-stacks";
1
+ import { getVariableValue, styled } from "@hanzogui/core";
2
+ import { getSize } from "@hanzogui/get-token";
3
+ import { YStack } from "@hanzogui/stacks";
4
4
  import { CheckboxStyledContext } from "./CheckboxStyledContext.mjs";
5
5
  const INDICATOR_NAME = "CheckboxIndicator",
6
6
  CheckboxIndicatorFrame = styled(YStack, {
@@ -26,9 +26,9 @@ __export(Checkbox_exports, {
26
26
  CheckboxIndicatorFrame: () => CheckboxIndicatorFrame
27
27
  });
28
28
  module.exports = __toCommonJS(Checkbox_exports);
29
- var import_gui_core = require("@hanzo/gui-core"),
30
- import_gui_get_token = require("@hanzo/gui-get-token"),
31
- import_gui_stacks = require("@hanzo/gui-stacks"),
29
+ var import_gui_core = require("@hanzogui/core"),
30
+ import_gui_get_token = require("@hanzogui/get-token"),
31
+ import_gui_stacks = require("@hanzogui/stacks"),
32
32
  import_CheckboxStyledContext = require("./CheckboxStyledContext.native.js"),
33
33
  INDICATOR_NAME = "CheckboxIndicator",
34
34
  CheckboxIndicatorFrame = (0, import_gui_core.styled)(import_gui_stacks.YStack, {
@@ -1,4 +1,4 @@
1
- import { createStyledContext } from "@hanzo/gui-core";
1
+ import { createStyledContext } from "@hanzogui/core";
2
2
  const CheckboxStyledContext = createStyledContext({
3
3
  size: "$true",
4
4
  scaleIcon: 1,
@@ -25,7 +25,7 @@ __export(CheckboxStyledContext_exports, {
25
25
  CheckboxStyledContext: () => CheckboxStyledContext
26
26
  });
27
27
  module.exports = __toCommonJS(CheckboxStyledContext_exports);
28
- var import_gui_core = require("@hanzo/gui-core"),
28
+ var import_gui_core = require("@hanzogui/core"),
29
29
  CheckboxStyledContext = (0, import_gui_core.createStyledContext)({
30
30
  size: "$true",
31
31
  scaleIcon: 1,
@@ -1,9 +1,9 @@
1
- import { isIndeterminate, useCheckbox } from "@hanzo/gui-checkbox-headless";
2
- import { getVariableValue, isWeb, shouldRenderNativePlatform, useProps, useTheme, withStaticProperties } from "@hanzo/gui-core";
3
- import { getFontSize } from "@hanzo/gui-font-size";
4
- import { getSize } from "@hanzo/gui-get-token";
5
- import { useGetThemedIcon } from "@hanzo/gui-helpers";
6
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
1
+ import { isIndeterminate, useCheckbox } from "@hanzogui/checkbox-headless";
2
+ import { getVariableValue, isWeb, shouldRenderNativePlatform, useProps, useTheme, withStaticProperties } from "@hanzogui/core";
3
+ import { getFontSize } from "@hanzogui/font-size";
4
+ import { getSize } from "@hanzogui/get-token";
5
+ import { useGetThemedIcon } from "@hanzogui/helpers";
6
+ import { useControllableState } from "@hanzogui/use-controllable-state";
7
7
  import React, { useMemo } from "react";
8
8
  import { CheckboxFrame, CheckboxIndicatorFrame } from "./Checkbox.mjs";
9
9
  import { CheckboxStyledContext } from "./CheckboxStyledContext.mjs";
@@ -38,13 +38,13 @@ __export(createCheckbox_exports, {
38
38
  });
39
39
  module.exports = __toCommonJS(createCheckbox_exports);
40
40
  var import_jsx_runtime = require("react/jsx-runtime"),
41
- import_gui_checkbox_headless = require("@hanzo/gui-checkbox-headless"),
42
- import_gui_core = require("@hanzo/gui-core"),
43
- import_gui_focusable = require("@hanzo/gui-focusable"),
44
- import_gui_font_size = require("@hanzo/gui-font-size"),
45
- import_gui_get_token = require("@hanzo/gui-get-token"),
46
- import_gui_helpers = require("@hanzo/gui-helpers"),
47
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
41
+ import_gui_checkbox_headless = require("@hanzogui/checkbox-headless"),
42
+ import_gui_core = require("@hanzogui/core"),
43
+ import_gui_focusable = require("@hanzogui/focusable"),
44
+ import_gui_font_size = require("@hanzogui/font-size"),
45
+ import_gui_get_token = require("@hanzogui/get-token"),
46
+ import_gui_helpers = require("@hanzogui/helpers"),
47
+ import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
48
48
  import_react = __toESM(require("react"), 1),
49
49
  import_Checkbox = require("./Checkbox.native.js"),
50
50
  import_CheckboxStyledContext = require("./CheckboxStyledContext.native.js"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/checkbox",
3
- "version": "2.0.0",
3
+ "version": "2.0.5",
4
4
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
5
5
  "source": "src/index.ts",
6
6
  "files": [
@@ -37,22 +37,22 @@
37
37
  "clean:build": "hanzo-gui-build clean:build"
38
38
  },
39
39
  "dependencies": {
40
- "@hanzogui/checkbox-headless": "2.0.0",
41
- "@hanzogui/compose-refs": "2.0.0-rc.29",
42
- "@hanzogui/constants": "2.0.0-rc.29",
43
- "@hanzogui/core": "2.0.0-rc.29",
44
- "@hanzogui/create-context": "2.0.0-rc.29",
45
- "@hanzogui/focusable": "2.0.0",
46
- "@hanzogui/get-token": "2.0.0-rc.29",
47
- "@hanzogui/helpers": "2.0.0-rc.29",
48
- "@hanzogui/label": "2.0.0",
49
- "@hanzogui/stacks": "2.0.0",
50
- "@hanzogui/use-controllable-state": "2.0.0-rc.29",
51
- "@hanzogui/font-size": "2.0.0-rc.29",
52
- "@hanzogui/use-previous": "2.0.0-rc.29"
40
+ "@hanzogui/checkbox-headless": "2.0.1",
41
+ "@hanzogui/compose-refs": "2.0.1",
42
+ "@hanzogui/constants": "2.0.1",
43
+ "@hanzogui/core": "2.0.1",
44
+ "@hanzogui/create-context": "2.0.1",
45
+ "@hanzogui/focusable": "2.0.1",
46
+ "@hanzogui/get-token": "2.0.1",
47
+ "@hanzogui/helpers": "2.0.1",
48
+ "@hanzogui/label": "2.0.1",
49
+ "@hanzogui/stacks": "2.0.1",
50
+ "@hanzogui/use-controllable-state": "2.0.1",
51
+ "@hanzogui/font-size": "2.0.1",
52
+ "@hanzogui/use-previous": "2.0.1"
53
53
  },
54
54
  "devDependencies": {
55
- "@hanzogui/build": "2.0.0-rc.29",
55
+ "@hanzogui/build": "2.0.1",
56
56
  "react": ">=19"
57
57
  },
58
58
  "peerDependencies": {