Releases: kufu/smarthr-ui
Releases · kufu/smarthr-ui
smarthr-ui: v95.0.1
smarthr-ui: v95.0.0
95.0.0 (2026-05-21)
プロダクト側で対応が必要な事項
LanguageSwitcher
decorators propsが削除されました。
decorators属性を使用している箇所を削除してください- トリガーラベルは常に
'Language'で固定されます - チェックアイコンのaltはsmarthr-uiの翻訳が自動的に適用されます(全9言語対応済み)
AppLauncher
decorators propsが削除されました。
decorators属性を使用している箇所を削除してください- トリガーラベルは smarthr-uiの翻訳が自動的に適用されます(全9言語対応済み)
- 動的な値(例: featureName)を渡す必要がある場合のみ、
triggerLabel属性を使用してください
InputFile
decorators属性を使用している場合は削除してください。削除ボタンのラベルはsmarthr-uiが提供する翻訳が自動的に適用されます(IntlProvider経由)。
FormDialog
以下のpropsが削除されました:
actionText→actionButtonで指定してくださいactionTheme→actionButton={{ text: "...", theme: "..." }}で指定してくださいactionDisabled→actionButton={{ text: "...", disabled: true }}で指定してくださいcloseDisabled→closeButton={{ text: "...", disabled: true }}で指定してくださいdecorators.closeButtonLabel→closeButton="キャンセル"で指定してください
シンプルな使い方(文字列のみ指定)の場合:
actionButton="保存"
closeButton="キャンセル"詳細な設定が必要な場合:
actionButton={{ text: "削除", theme: "danger", disabled: false }}
closeButton={{ text: "閉じる", disabled: true }}MessageDialog
以下のpropsが削除されました:
decorators.closeButtonLabel→closeButtonで指定してください
デフォルトラベル使用の場合(省略可能):
<MessageDialog heading="確認">
メッセージ本文
</MessageDialog>カスタムラベルが必要な場合:
<MessageDialog heading="確認" closeButton="OK">
メッセージ本文
</MessageDialog>ActionDialog
以下のpropsが削除されました:
actionText→actionButtonで指定してくださいactionTheme→actionButton={{ text: "...", theme: "..." }}で指定してくださいactionDisabled→actionButton={{ text: "...", disabled: true }}で指定してくださいcloseDisabled→closeButton={{ text: "...", disabled: true }}で指定してくださいdecorators.closeButtonLabel→closeButton="キャンセル"で指定してください
シンプルな使い方(文字列のみ指定)の場合:
actionButton="保存"
closeButton="キャンセル"詳細な設定が必要な場合:
actionButton={{ text: "削除", theme: "danger", disabled: false }}
closeButton={{ text: "閉じる", disabled: true }}⚠ BREAKING CHANGES
- LanguageSwitcher,AppLauncher: decorators属性を削除 (#6233)
- InputFile: decorators属性を削除しIntlProviderのみを使用 (#6234)
- FormDialogのボタン属性をObject形式に統合 (#6229)
- MessageDialogのdecorators削除とcloseButton属性への統一 (#6230)
- ActionDialogのボタン属性をObject形式に統合 (#6228)
Bug Fixes
- DropZone: ファイル以外のドロップ時にonSelectFilesを呼ばないように修正 (#6347) (929dd94)
- SegmentedControl/SideNav: フォーカス中でフォーカスリングと選択中の要素を見分けれない (#6291) (199b030)
- TimeFormatter,TimestampFormatter: パッケージからexport (#6349) (ac67f95)
Code Refactoring
smarthr-ui-charts: v0.1.4
smarthr-ui: v94.0.0
94.0.0 (2026-05-13)
⚠ BREAKING CHANGES
- ThCheckbox: decorators属性を削除しIntlProviderのみを使用 (#6235)
Features
- BulkActionRow: BulkActionRow内にButton[variant="tertiary"]がある場合コントラスト比を上げるスタイル追加 (#6285) (f9fb34a)
- TimeFormatter, TimestampFormatter: 時間とタイムスタンプを言語に合った形式に変換できるようにしたい (#6013) (e6ea561)
Bug Fixes
- Icon: generateIconから'use client'を削除してサーバーコンポーネント対応 (#6310) (a0e4e31)
- RadioButtonPanel: onClick属性を正しく処理し二重実行を防止 (#6327) (1fc6239)
Code Refactoring
smarthr-ui-charts: v0.1.3
smarthr-ui: v93.1.2
smarthr-ui: v93.1.1
smarthr-ui: v93.1.0
93.1.0 (2026-04-24)
プロダクト側で対応が必要な事項
ErrorScreen
- ErrorScreen に padding がデフォルトで設定されるようになりました。プロダクト側で指定がある場合は削除してください。
- プロダクト側で独自実装しているErrorScreenについて、置き換えられるErrorScreenは下記に置き換えてください!
Features
smarthr-ui: v93.0.1
smarthr-ui: v93.0.0
93.0.0 (2026-04-16)
⚠ BREAKING CHANGES
- DropZone: decorators属性を削除しIntlProviderのみを使用 (#6236)
Features
Bug Fixes
tv() の className 上書きが効かない不具合の根本対応
package.json の sideEffects に ./lib/index.js / ./lib/index.cjs を追加し、バンドラーがエントリポイントをスキップしないよう修正しました(#6273)。v92.0.0 で追加した以下のワークアラウンドは不要なため、本バージョンへの更新と同時に削除してください。
import 'smarthr-ui/lib/configureTwMerge'