@kjun-ui/native 0.12.1 → 0.12.2

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/index.cjs CHANGED
@@ -5342,7 +5342,7 @@ function KjunSelect({
5342
5342
  ...compound ? { paddingHorizontal: import_tokens31.tokens.extensions.timePicker.segmentPadding, paddingRight: import_tokens31.tokens.extensions.timePicker.segmentPadding, paddingLeft: compound.leading ? spec.padding - import_tokens31.tokens.border.controlWidth : import_tokens31.tokens.extensions.timePicker.segmentPadding, gap: import_tokens31.tokens.extensions.timePicker.segmentPadding, backgroundColor: !disabled && (surface.active || surface.hovered) ? colors.hover : "transparent", borderColor: "transparent", outlineWidth: 0 } : {}
5343
5343
  },
5344
5344
  children: [
5345
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react_native36.View, { style: { flex: 1, minWidth: 0, paddingRight: clearable && label ? import_tokens31.tokens.native.minimumTouchTarget + spec.affixGap : 0 }, children: [
5345
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react_native36.View, { style: { ...compound ? { flexGrow: 1, flexShrink: 0 } : { flex: 1, minWidth: 0 }, paddingRight: clearable && label ? import_tokens31.tokens.native.minimumTouchTarget + spec.affixGap : 0 }, children: [
5346
5346
  compound && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(KText, { "aria-hidden": true, importantForAccessibility: "no-hide-descendants", style: { ...inputTypeStyle(size), fontVariant: ["tabular-nums"], opacity: 0 }, children: "00" }),
5347
5347
  (renderSelected == null ? void 0 : renderSelected(selectedOption)) || /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(KText, { numberOfLines: 1, style: {
5348
5348
  ...inputTypeStyle(size),
package/dist/index.js CHANGED
@@ -5354,7 +5354,7 @@ function KjunSelect({
5354
5354
  ...compound ? { paddingHorizontal: tokens29.extensions.timePicker.segmentPadding, paddingRight: tokens29.extensions.timePicker.segmentPadding, paddingLeft: compound.leading ? spec.padding - tokens29.border.controlWidth : tokens29.extensions.timePicker.segmentPadding, gap: tokens29.extensions.timePicker.segmentPadding, backgroundColor: !disabled && (surface.active || surface.hovered) ? colors.hover : "transparent", borderColor: "transparent", outlineWidth: 0 } : {}
5355
5355
  },
5356
5356
  children: [
5357
- /* @__PURE__ */ jsxs20(View26, { style: { flex: 1, minWidth: 0, paddingRight: clearable && label ? tokens29.native.minimumTouchTarget + spec.affixGap : 0 }, children: [
5357
+ /* @__PURE__ */ jsxs20(View26, { style: { ...compound ? { flexGrow: 1, flexShrink: 0 } : { flex: 1, minWidth: 0 }, paddingRight: clearable && label ? tokens29.native.minimumTouchTarget + spec.affixGap : 0 }, children: [
5358
5358
  compound && /* @__PURE__ */ jsx33(KText, { "aria-hidden": true, importantForAccessibility: "no-hide-descendants", style: { ...inputTypeStyle(size), fontVariant: ["tabular-nums"], opacity: 0 }, children: "00" }),
5359
5359
  (renderSelected == null ? void 0 : renderSelected(selectedOption)) || /* @__PURE__ */ jsx33(KText, { numberOfLines: 1, style: {
5360
5360
  ...inputTypeStyle(size),
@@ -5504,7 +5504,7 @@ function KjunSelect({
5504
5504
  ...compound ? { paddingHorizontal: import_tokens32.tokens.extensions.timePicker.segmentPadding, paddingRight: import_tokens32.tokens.extensions.timePicker.segmentPadding, paddingLeft: compound.leading ? spec.padding - import_tokens32.tokens.border.controlWidth : import_tokens32.tokens.extensions.timePicker.segmentPadding, gap: import_tokens32.tokens.extensions.timePicker.segmentPadding, backgroundColor: !disabled && (surface.active || surface.hovered) ? colors.hover : "transparent", borderColor: "transparent", outlineWidth: 0 } : {}
5505
5505
  },
5506
5506
  children: [
5507
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react_native36.View, { style: { flex: 1, minWidth: 0, paddingRight: clearable && label ? import_tokens32.tokens.native.minimumTouchTarget + spec.affixGap : 0 }, children: [
5507
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react_native36.View, { style: { ...compound ? { flexGrow: 1, flexShrink: 0 } : { flex: 1, minWidth: 0 }, paddingRight: clearable && label ? import_tokens32.tokens.native.minimumTouchTarget + spec.affixGap : 0 }, children: [
5508
5508
  compound && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(KText, { "aria-hidden": true, importantForAccessibility: "no-hide-descendants", style: { ...inputTypeStyle(size), fontVariant: ["tabular-nums"], opacity: 0 }, children: "00" }),
5509
5509
  (renderSelected == null ? void 0 : renderSelected(selectedOption)) || /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(KText, { numberOfLines: 1, style: {
5510
5510
  ...inputTypeStyle(size),
package/dist/index.web.js CHANGED
@@ -5516,7 +5516,7 @@ function KjunSelect({
5516
5516
  ...compound ? { paddingHorizontal: tokens30.extensions.timePicker.segmentPadding, paddingRight: tokens30.extensions.timePicker.segmentPadding, paddingLeft: compound.leading ? spec.padding - tokens30.border.controlWidth : tokens30.extensions.timePicker.segmentPadding, gap: tokens30.extensions.timePicker.segmentPadding, backgroundColor: !disabled && (surface.active || surface.hovered) ? colors.hover : "transparent", borderColor: "transparent", outlineWidth: 0 } : {}
5517
5517
  },
5518
5518
  children: [
5519
- /* @__PURE__ */ jsxs21(View27, { style: { flex: 1, minWidth: 0, paddingRight: clearable && label ? tokens30.native.minimumTouchTarget + spec.affixGap : 0 }, children: [
5519
+ /* @__PURE__ */ jsxs21(View27, { style: { ...compound ? { flexGrow: 1, flexShrink: 0 } : { flex: 1, minWidth: 0 }, paddingRight: clearable && label ? tokens30.native.minimumTouchTarget + spec.affixGap : 0 }, children: [
5520
5520
  compound && /* @__PURE__ */ jsx33(KText, { "aria-hidden": true, importantForAccessibility: "no-hide-descendants", style: { ...inputTypeStyle(size), fontVariant: ["tabular-nums"], opacity: 0 }, children: "00" }),
5521
5521
  (renderSelected == null ? void 0 : renderSelected(selectedOption)) || /* @__PURE__ */ jsx33(KText, { numberOfLines: 1, style: {
5522
5522
  ...inputTypeStyle(size),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kjun-ui/native",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "license": "MIT",
5
5
  "homepage": "https://ui.kjun.dev",
6
6
  "repository": {
@@ -47,8 +47,8 @@
47
47
  "./package.json": "./package.json"
48
48
  },
49
49
  "dependencies": {
50
- "@kjun-ui/tokens": "0.12.1",
51
- "@kjun-ui/icons": "0.12.1"
50
+ "@kjun-ui/tokens": "0.12.2",
51
+ "@kjun-ui/icons": "0.12.2"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react": "^19.2.3",