@kjun-ui/native 0.5.1 → 0.6.1
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/README.md +1 -1
- package/dist/index.cjs +3 -2
- package/dist/index.js +3 -2
- package/dist/index.web.cjs +3 -2
- package/dist/index.web.js +3 -2
- package/dist/styles.css +0 -2579
- package/dist/types/shared/package-runtime/table-presentation.d.cts +1 -1
- package/dist/types/shared/package-runtime/table-presentation.d.ts +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ Card uses `surface` for its background/foreground roles, `padding` for section i
|
|
|
18
18
|
|
|
19
19
|
## Tab panel state
|
|
20
20
|
|
|
21
|
-
`KjunTabPane` children mount with their parent tabs and stay mounted when another tab is selected. Hidden panels are excluded from layout, keyboard navigation and accessibility navigation. Removing a pane or unmounting the tabs disposes its children. Effects and timers continue while a pane is hidden; use the controlled tab value to manage active requests or subscriptions. This contract is shared across React, Vue
|
|
21
|
+
`KjunTabPane` children mount with their parent tabs and stay mounted when another tab is selected. Hidden panels are excluded from layout, keyboard navigation and accessibility navigation. Removing a pane or unmounting the tabs disposes its children. Effects and timers continue while a pane is hidden; use the controlled tab value to manage active requests or subscriptions. This contract is shared across React, Vue 3 and Native. Native browser tests do not certify device behavior.
|
|
22
22
|
|
|
23
23
|
Disabled tabs block selection and auxiliary menu callbacks. Disabling or removing a tab during a press cancels its pending auxiliary action.
|
|
24
24
|
|
package/dist/index.cjs
CHANGED
|
@@ -4064,7 +4064,7 @@ function KjunTooltip({
|
|
|
4064
4064
|
}
|
|
4065
4065
|
};
|
|
4066
4066
|
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
|
|
4067
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_native29.View, { ref, collapsable: false, style: { alignSelf: "flex-start" }, children: child ? (0, import_react35.cloneElement)(child, handlers) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(AccessiblePressable, { ...handlers, children }) }),
|
|
4067
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_native29.View, { ref, collapsable: false, style: { alignSelf: (childProps == null ? void 0 : childProps.block) ? "stretch" : "flex-start" }, children: child ? (0, import_react35.cloneElement)(child, handlers) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(AccessiblePressable, { ...handlers, children }) }),
|
|
4068
4068
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
4069
4069
|
FloatingPanel,
|
|
4070
4070
|
{
|
|
@@ -9615,7 +9615,8 @@ function KjunQuantityStepper({ value, min = 0, max, step = 1, precision = 0, dis
|
|
|
9615
9615
|
};
|
|
9616
9616
|
}, []);
|
|
9617
9617
|
const surfaceBox = { position: "absolute", left: 0, right: 0, top: "50%", height: import_tokens60.tokens.input[size].height, marginTop: -import_tokens60.tokens.input[size].height / 2, borderRadius: surface.spec.radius };
|
|
9618
|
-
|
|
9618
|
+
const hug = import_react_native62.Platform.OS === "web" && !block ? { width: "fit-content" } : {};
|
|
9619
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(IconFallbacks, { icons: componentIcons, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_react_native62.View, { style: { flexDirection: "row", alignItems: "center", alignSelf: block ? "stretch" : "flex-start", maxWidth: "100%", borderRadius: surface.spec.radius, ...hug }, children: [
|
|
9619
9620
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_native62.View, { pointerEvents: "none", "aria-hidden": true, style: { ...surfaceBox, backgroundColor: colors.inputBg } }),
|
|
9620
9621
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(CompoundTarget, { square: true, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(KjunButton, { size, style: decreaseStyle, variant: "ghost", ariaLabel: "\uC218\uB7C9 \uC904\uC774\uAE30", disabled: blocked || value <= min, onPress: () => move(-1), prefixIcon: "minus" }) }),
|
|
9621
9622
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_native62.View, { style: { flex: block ? 1 : void 0, width: block ? void 0 : geometry2.valueWidth, minWidth: 0, minHeight: finePointer() ? void 0 : import_tokens60.tokens.native.minimumTouchTarget, justifyContent: "center" }, ...fieldTarget(() => {
|
package/dist/index.js
CHANGED
|
@@ -4079,7 +4079,7 @@ function KjunTooltip({
|
|
|
4079
4079
|
}
|
|
4080
4080
|
};
|
|
4081
4081
|
return /* @__PURE__ */ jsxs15(Fragment5, { children: [
|
|
4082
|
-
/* @__PURE__ */ jsx25(View19, { ref, collapsable: false, style: { alignSelf: "flex-start" }, children: child ? cloneElement3(child, handlers) : /* @__PURE__ */ jsx25(AccessiblePressable, { ...handlers, children }) }),
|
|
4082
|
+
/* @__PURE__ */ jsx25(View19, { ref, collapsable: false, style: { alignSelf: (childProps == null ? void 0 : childProps.block) ? "stretch" : "flex-start" }, children: child ? cloneElement3(child, handlers) : /* @__PURE__ */ jsx25(AccessiblePressable, { ...handlers, children }) }),
|
|
4083
4083
|
/* @__PURE__ */ jsx25(
|
|
4084
4084
|
FloatingPanel,
|
|
4085
4085
|
{
|
|
@@ -9666,7 +9666,8 @@ function KjunQuantityStepper({ value, min = 0, max, step = 1, precision = 0, dis
|
|
|
9666
9666
|
};
|
|
9667
9667
|
}, []);
|
|
9668
9668
|
const surfaceBox = { position: "absolute", left: 0, right: 0, top: "50%", height: tokens57.input[size].height, marginTop: -tokens57.input[size].height / 2, borderRadius: surface.spec.radius };
|
|
9669
|
-
|
|
9669
|
+
const hug = Platform27.OS === "web" && !block ? { width: "fit-content" } : {};
|
|
9670
|
+
return /* @__PURE__ */ jsx59(IconFallbacks, { icons: componentIcons, children: /* @__PURE__ */ jsxs45(View52, { style: { flexDirection: "row", alignItems: "center", alignSelf: block ? "stretch" : "flex-start", maxWidth: "100%", borderRadius: surface.spec.radius, ...hug }, children: [
|
|
9670
9671
|
/* @__PURE__ */ jsx59(View52, { pointerEvents: "none", "aria-hidden": true, style: { ...surfaceBox, backgroundColor: colors.inputBg } }),
|
|
9671
9672
|
/* @__PURE__ */ jsx59(CompoundTarget, { square: true, children: /* @__PURE__ */ jsx59(KjunButton, { size, style: decreaseStyle, variant: "ghost", ariaLabel: "\uC218\uB7C9 \uC904\uC774\uAE30", disabled: blocked || value <= min, onPress: () => move(-1), prefixIcon: "minus" }) }),
|
|
9672
9673
|
/* @__PURE__ */ jsx59(View52, { style: { flex: block ? 1 : void 0, width: block ? void 0 : geometry2.valueWidth, minWidth: 0, minHeight: finePointer() ? void 0 : tokens57.native.minimumTouchTarget, justifyContent: "center" }, ...fieldTarget(() => {
|
package/dist/index.web.cjs
CHANGED
|
@@ -4226,7 +4226,7 @@ function KjunTooltip({
|
|
|
4226
4226
|
}
|
|
4227
4227
|
};
|
|
4228
4228
|
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
|
|
4229
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_native29.View, { ref, collapsable: false, style: { alignSelf: "flex-start" }, children: child ? (0, import_react38.cloneElement)(child, handlers) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(AccessiblePressable, { ...handlers, children }) }),
|
|
4229
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_native29.View, { ref, collapsable: false, style: { alignSelf: (childProps == null ? void 0 : childProps.block) ? "stretch" : "flex-start" }, children: child ? (0, import_react38.cloneElement)(child, handlers) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(AccessiblePressable, { ...handlers, children }) }),
|
|
4230
4230
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
4231
4231
|
FloatingPanel,
|
|
4232
4232
|
{
|
|
@@ -9870,7 +9870,8 @@ function KjunQuantityStepper({ value, min = 0, max, step = 1, precision = 0, dis
|
|
|
9870
9870
|
};
|
|
9871
9871
|
}, []);
|
|
9872
9872
|
const surfaceBox = { position: "absolute", left: 0, right: 0, top: "50%", height: import_tokens61.tokens.input[size].height, marginTop: -import_tokens61.tokens.input[size].height / 2, borderRadius: surface.spec.radius };
|
|
9873
|
-
|
|
9873
|
+
const hug = import_react_native62.Platform.OS === "web" && !block ? { width: "fit-content" } : {};
|
|
9874
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(IconFallbacks, { icons: componentIcons, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_react_native62.View, { style: { flexDirection: "row", alignItems: "center", alignSelf: block ? "stretch" : "flex-start", maxWidth: "100%", borderRadius: surface.spec.radius, ...hug }, children: [
|
|
9874
9875
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_native62.View, { pointerEvents: "none", "aria-hidden": true, style: { ...surfaceBox, backgroundColor: colors.inputBg } }),
|
|
9875
9876
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(CompoundTarget, { square: true, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(KjunButton, { size, style: decreaseStyle, variant: "ghost", ariaLabel: "\uC218\uB7C9 \uC904\uC774\uAE30", disabled: blocked || value <= min, onPress: () => move(-1), prefixIcon: "minus" }) }),
|
|
9876
9877
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_native62.View, { style: { flex: block ? 1 : void 0, width: block ? void 0 : geometry2.valueWidth, minWidth: 0, minHeight: finePointer() ? void 0 : import_tokens61.tokens.native.minimumTouchTarget, justifyContent: "center" }, ...fieldTarget(() => {
|
package/dist/index.web.js
CHANGED
|
@@ -4241,7 +4241,7 @@ function KjunTooltip({
|
|
|
4241
4241
|
}
|
|
4242
4242
|
};
|
|
4243
4243
|
return /* @__PURE__ */ jsxs16(Fragment6, { children: [
|
|
4244
|
-
/* @__PURE__ */ jsx25(View20, { ref, collapsable: false, style: { alignSelf: "flex-start" }, children: child ? cloneElement3(child, handlers) : /* @__PURE__ */ jsx25(AccessiblePressable, { ...handlers, children }) }),
|
|
4244
|
+
/* @__PURE__ */ jsx25(View20, { ref, collapsable: false, style: { alignSelf: (childProps == null ? void 0 : childProps.block) ? "stretch" : "flex-start" }, children: child ? cloneElement3(child, handlers) : /* @__PURE__ */ jsx25(AccessiblePressable, { ...handlers, children }) }),
|
|
4245
4245
|
/* @__PURE__ */ jsx25(
|
|
4246
4246
|
FloatingPanel,
|
|
4247
4247
|
{
|
|
@@ -9921,7 +9921,8 @@ function KjunQuantityStepper({ value, min = 0, max, step = 1, precision = 0, dis
|
|
|
9921
9921
|
};
|
|
9922
9922
|
}, []);
|
|
9923
9923
|
const surfaceBox = { position: "absolute", left: 0, right: 0, top: "50%", height: tokens58.input[size].height, marginTop: -tokens58.input[size].height / 2, borderRadius: surface.spec.radius };
|
|
9924
|
-
|
|
9924
|
+
const hug = Platform27.OS === "web" && !block ? { width: "fit-content" } : {};
|
|
9925
|
+
return /* @__PURE__ */ jsx59(IconFallbacks, { icons: componentIcons, children: /* @__PURE__ */ jsxs46(View53, { style: { flexDirection: "row", alignItems: "center", alignSelf: block ? "stretch" : "flex-start", maxWidth: "100%", borderRadius: surface.spec.radius, ...hug }, children: [
|
|
9925
9926
|
/* @__PURE__ */ jsx59(View53, { pointerEvents: "none", "aria-hidden": true, style: { ...surfaceBox, backgroundColor: colors.inputBg } }),
|
|
9926
9927
|
/* @__PURE__ */ jsx59(CompoundTarget, { square: true, children: /* @__PURE__ */ jsx59(KjunButton, { size, style: decreaseStyle, variant: "ghost", ariaLabel: "\uC218\uB7C9 \uC904\uC774\uAE30", disabled: blocked || value <= min, onPress: () => move(-1), prefixIcon: "minus" }) }),
|
|
9927
9928
|
/* @__PURE__ */ jsx59(View53, { style: { flex: block ? 1 : void 0, width: block ? void 0 : geometry2.valueWidth, minWidth: 0, minHeight: finePointer() ? void 0 : tokens58.native.minimumTouchTarget, justifyContent: "center" }, ...fieldTarget(() => {
|