@geckou/ui-core 0.7.0 → 0.8.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
@@ -171,6 +171,15 @@ import type { Validates, Option, StateVariation, DateObject } from '@geckou/ui-c
171
171
 
172
172
  型の一覧は [Vue パッケージの README](../vue/README.md#types) を参照してください。
173
173
 
174
+ ## 0.8.1 の変更
175
+
176
+ - `sideEffects: false` を宣言した。副作用のある import は無いので、
177
+ 利用側のバンドラが未使用の export を落とせる
178
+
179
+ ## 0.8.0 の変更
180
+
181
+ - `RadioButtonStyle` に `textColor` を追加(選択中のラベル色。実装は両フレームワークとも
182
+ `--text-color` として出しているのに、型で渡せなかった)
174
183
  ## 0.7.0 の変更
175
184
 
176
185
  - `normalizeDateObject()` を追加(`DatePicker` が blur 時の正規化に使う)
package/dist/types.d.ts CHANGED
@@ -26,6 +26,8 @@ export type CheckBoxStyleForEachStatus = StyleForEachStatus<CheckBoxStyle>;
26
26
  export type RadioButtonStyle = {
27
27
  border?: Omit<BorderStyle, 'radius'>;
28
28
  backgroundColor?: string;
29
+ /** 選択中のラベルの色(--text-color) */
30
+ textColor?: string;
29
31
  };
30
32
  export type RadioButtonStyleForEachStatus = StyleForEachStatus<RadioButtonStyle>;
31
33
  export type SelectValue = string | number;
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@geckou/ui-core",
3
- "version": "0.7.0",
3
+ "version": "0.8.1",
4
4
  "description": "Framework-agnostic logic shared by @geckou/ui-vue and @geckou/ui-react",
5
5
  "type": "module",
6
+ "sideEffects": false,
6
7
  "main": "dist/index.js",
7
8
  "module": "dist/index.js",
8
9
  "types": "dist/index.d.ts",