@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.
- package/dist/cjs/Checkbox.cjs +3 -3
- package/dist/cjs/Checkbox.native.js +3 -3
- package/dist/cjs/CheckboxStyledContext.cjs +1 -1
- package/dist/cjs/CheckboxStyledContext.native.js +1 -1
- package/dist/cjs/createCheckbox.cjs +7 -7
- package/dist/cjs/createCheckbox.native.js +7 -7
- package/dist/esm/Checkbox.mjs +3 -3
- package/dist/esm/Checkbox.native.js +3 -3
- package/dist/esm/CheckboxStyledContext.mjs +1 -1
- package/dist/esm/CheckboxStyledContext.native.js +1 -1
- package/dist/esm/createCheckbox.mjs +6 -6
- package/dist/esm/createCheckbox.native.js +7 -7
- package/dist/jsx/Checkbox.mjs +3 -3
- package/dist/jsx/Checkbox.native.js +3 -3
- package/dist/jsx/CheckboxStyledContext.mjs +1 -1
- package/dist/jsx/CheckboxStyledContext.native.js +1 -1
- package/dist/jsx/createCheckbox.mjs +6 -6
- package/dist/jsx/createCheckbox.native.js +7 -7
- package/package.json +15 -15
package/dist/cjs/Checkbox.cjs
CHANGED
|
@@ -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("@
|
|
28
|
-
import_gui_get_token = require("@
|
|
29
|
-
import_gui_stacks = require("@
|
|
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("@
|
|
30
|
-
import_gui_get_token = require("@
|
|
31
|
-
import_gui_stacks = require("@
|
|
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("@
|
|
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("@
|
|
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("@
|
|
39
|
-
import_gui_core = require("@
|
|
40
|
-
import_gui_focusable = require("@
|
|
41
|
-
import_gui_font_size = require("@
|
|
42
|
-
import_gui_get_token = require("@
|
|
43
|
-
import_gui_helpers = require("@
|
|
44
|
-
import_gui_use_controllable_state = require("@
|
|
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("@
|
|
42
|
-
import_gui_core = require("@
|
|
43
|
-
import_gui_focusable = require("@
|
|
44
|
-
import_gui_font_size = require("@
|
|
45
|
-
import_gui_get_token = require("@
|
|
46
|
-
import_gui_helpers = require("@
|
|
47
|
-
import_gui_use_controllable_state = require("@
|
|
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/dist/esm/Checkbox.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getVariableValue, styled } from "@
|
|
2
|
-
import { getSize } from "@
|
|
3
|
-
import { YStack } from "@
|
|
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 "@
|
|
2
|
-
import { getSize } from "@
|
|
3
|
-
import { YStack } from "@
|
|
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,9 +1,9 @@
|
|
|
1
|
-
import { isIndeterminate, useCheckbox } from "@
|
|
2
|
-
import { getVariableValue, isWeb, shouldRenderNativePlatform, useProps, useTheme, withStaticProperties } from "@
|
|
3
|
-
import { getFontSize } from "@
|
|
4
|
-
import { getSize } from "@
|
|
5
|
-
import { useGetThemedIcon } from "@
|
|
6
|
-
import { useControllableState } from "@
|
|
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 "@
|
|
3
|
-
import { getVariableValue, isWeb, shouldRenderNativePlatform, useProps, useTheme, withStaticProperties } from "@
|
|
4
|
-
import { registerFocusable } from "@
|
|
5
|
-
import { getFontSize } from "@
|
|
6
|
-
import { getSize } from "@
|
|
7
|
-
import { useGetThemedIcon } from "@
|
|
8
|
-
import { useControllableState } from "@
|
|
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";
|
package/dist/jsx/Checkbox.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getVariableValue, styled } from "@
|
|
2
|
-
import { getSize } from "@
|
|
3
|
-
import { YStack } from "@
|
|
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("@
|
|
30
|
-
import_gui_get_token = require("@
|
|
31
|
-
import_gui_stacks = require("@
|
|
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, {
|
|
@@ -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("@
|
|
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 "@
|
|
2
|
-
import { getVariableValue, isWeb, shouldRenderNativePlatform, useProps, useTheme, withStaticProperties } from "@
|
|
3
|
-
import { getFontSize } from "@
|
|
4
|
-
import { getSize } from "@
|
|
5
|
-
import { useGetThemedIcon } from "@
|
|
6
|
-
import { useControllableState } from "@
|
|
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("@
|
|
42
|
-
import_gui_core = require("@
|
|
43
|
-
import_gui_focusable = require("@
|
|
44
|
-
import_gui_font_size = require("@
|
|
45
|
-
import_gui_get_token = require("@
|
|
46
|
-
import_gui_helpers = require("@
|
|
47
|
-
import_gui_use_controllable_state = require("@
|
|
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.
|
|
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.
|
|
41
|
-
"@hanzogui/compose-refs": "2.0.
|
|
42
|
-
"@hanzogui/constants": "2.0.
|
|
43
|
-
"@hanzogui/core": "2.0.
|
|
44
|
-
"@hanzogui/create-context": "2.0.
|
|
45
|
-
"@hanzogui/focusable": "2.0.
|
|
46
|
-
"@hanzogui/get-token": "2.0.
|
|
47
|
-
"@hanzogui/helpers": "2.0.
|
|
48
|
-
"@hanzogui/label": "2.0.
|
|
49
|
-
"@hanzogui/stacks": "2.0.
|
|
50
|
-
"@hanzogui/use-controllable-state": "2.0.
|
|
51
|
-
"@hanzogui/font-size": "2.0.
|
|
52
|
-
"@hanzogui/use-previous": "2.0.
|
|
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.
|
|
55
|
+
"@hanzogui/build": "2.0.1",
|
|
56
56
|
"react": ">=19"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|