melta-app 0.1.0 → 0.1.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 CHANGED
@@ -188,7 +188,8 @@ import { Icon } from "melta-app/icons";
188
188
  - 既知の割り切り: Screen の SafeArea は RN core の SafeAreaView(deprecated / iOS のみの最小対応)。依存ゼロ方針を優先した判断で、精度が必要になれば react-native-safe-area-context への adapter 化を検討
189
189
  - ✅ form / feedback 10 個(TextField / Toggle / Checkbox / Radio / Alert / Toast / Progress / Modal / ActionSheet / BottomSheet)— checkbox / radio は Pressable + 描画(svg 非依存)、ActionSheet / BottomSheet は select / dropdown の adapted 変換先の受け皿
190
190
  - ✅ showcase(https://app.melta.tsubotax.com — melta-ui 様式シェル + 実 RN カタログの Live 埋め込み。表・統計は契約からビルド時生成)
191
- - 0.1.0 publish → React Native Directory 登録
191
+ - [npm publish(0.1.0)](https://www.npmjs.com/package/melta-app)
192
+ - ⬜ React Native Directory 登録([PR #2606](https://github.com/react-native-community/directory/pull/2606) レビュー待ち)
192
193
 
193
194
  詳細は D2I リポの `.team/specs/requirements-melta-app.md`。
194
195
 
@@ -63,7 +63,7 @@ export function resolveAvatarStyle(theme, mode, variant, size) {
63
63
  })
64
64
  },
65
65
  text: {
66
- color: theme.color.primary["500"],
66
+ color: theme.color.primary["600"],
67
67
  fontWeight: theme.typography.fontWeight.medium,
68
68
  fontSize: theme.typography.fontSize[s.fontSize].fontSize
69
69
  },
@@ -69,7 +69,7 @@ export function resolveVariant(theme, mode, variant) {
69
69
  return {
70
70
  bg: c.primary["50"],
71
71
  pressedBg: c.primary["100"],
72
- textColor: c.primary["500"]
72
+ textColor: c.primary["600"]
73
73
  };
74
74
  case "danger":
75
75
  return {
@@ -66,10 +66,10 @@ export const nativeTheme = {
66
66
  "textDark": "#fcd34d"
67
67
  },
68
68
  "danger": {
69
- "base": "#ef4444",
69
+ "base": "#dc2626",
70
70
  "subtleLight": "#fef2f2",
71
- "textLight": "#dc2626",
72
- "subtleDark": "rgba(239,68,68,0.12)",
71
+ "textLight": "#b91c1c",
72
+ "subtleDark": "rgba(220,38,38,0.12)",
73
73
  "textDark": "#fca5a5"
74
74
  }
75
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "melta-app",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "melta for APP — melta デザインシステムの React Native UI kit。melta-contracts(デザイン契約)を single source of truth に RN 実装でその契約を満たす。アプリ本体ではなくライブラリ。",
5
5
  "license": "MIT",
6
6
  "homepage": "https://app.melta.tsubotax.com",
@@ -62,7 +62,7 @@
62
62
  "@types/react": "~19.2.2",
63
63
  "eslint": "^10.4.1",
64
64
  "jest": "^29.7.0",
65
- "melta-contracts": "^0.4.0",
65
+ "melta-contracts": "^0.4.1",
66
66
  "react": "19.2.3",
67
67
  "react-native": "0.85.3",
68
68
  "react-native-builder-bob": "^0.40.13",
@@ -76,7 +76,7 @@ export function resolveAvatarStyle(
76
76
  }),
77
77
  },
78
78
  text: {
79
- color: theme.color.primary["500"],
79
+ color: theme.color.primary["600"],
80
80
  fontWeight: theme.typography.fontWeight.medium,
81
81
  fontSize: theme.typography.fontSize[s.fontSize].fontSize,
82
82
  },
@@ -60,7 +60,7 @@ export function resolveVariant(
60
60
  case "neutral":
61
61
  return { bg: sem["bg-surface-alt"], pressedBg: sem["border-default"], textColor: sem["text-default"] };
62
62
  case "lighted":
63
- return { bg: c.primary["50"], pressedBg: c.primary["100"], textColor: c.primary["500"] };
63
+ return { bg: c.primary["50"], pressedBg: c.primary["100"], textColor: c.primary["600"] };
64
64
  case "danger":
65
65
  return { bg: c.status.danger.base, pressedBg: c.status.danger.textLight, textColor: sem["text-on-accent"] };
66
66
  case "subtle":
@@ -66,10 +66,10 @@ export const nativeTheme: NativeTheme = {
66
66
  "textDark": "#fcd34d"
67
67
  },
68
68
  "danger": {
69
- "base": "#ef4444",
69
+ "base": "#dc2626",
70
70
  "subtleLight": "#fef2f2",
71
- "textLight": "#dc2626",
72
- "subtleDark": "rgba(239,68,68,0.12)",
71
+ "textLight": "#b91c1c",
72
+ "subtleDark": "rgba(220,38,38,0.12)",
73
73
  "textDark": "#fca5a5"
74
74
  }
75
75
  }