diff --git a/CHANGELOG.md b/CHANGELOG.md index 713eb740..fdcf00d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.14.4] - 2026-07-06 - -### Changed - -- Updated readme.md - -## [0.14.3] - 2026-07-06 +## [0.14.5] - 2026-07-06 ### Added @@ -22,17 +16,35 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - `DateTimeInput` popup `data-mode` attribute for mode-specific dialog sizing - `TabPanel` `data-in-custom-tab-view` attribute so panels skip default padding when portaled into a custom `TabView` - `DateTimePickerDialog` Storybook story -- `TabSwitcher` `tabSwitcherWithTabView` Storybook story demonstrating a custom `TabView` layout -- `Browser Compatibility/Safari` Storybook story with demos for CSS that requires WebKit prefixes (`sticky`, `user-select`, `appearance`, `touch-action`, `transform`, `::-webkit-scrollbar`) ### Changed - Date/time picker family (`DatePicker`, `DateTimePicker`, `DateTimePickerDialog`, `DayPicker`, `YearMonthPicker`, `DateTimeField`, `DateTimeInput`) migrated from `data-name` selectors to class-based CSS -- `FormFieldLayout` migrated from `data-name` to class-based CSS (`.form-field-container`, `.form-field-label`, `.form-field-description`, `.form-field-error`) -- `TabSwitcher` (`TabList`, `TabListItem`, `TabPanel`) migrated from `data-name` to class-based CSS - `DatePicker` always shows today/previous/next navigation buttons (disabled outside day view); month label uses short month format - `DateTimeInput` dialog popup uses a viewport-capped `min-width` and applies the wider tablet width only for `dateTime` mode - `FormFieldLayout` error message moved from absolute positioning to in-flow layout with padding + +### Fixed + +- `TableProvider`'s `computeWidth` method not checking whether a float was parsed correctly +- Add missing enum value "time" to the translation for key `sDateTimeSelect` + +## [0.14.4] - 2026-07-06 + +### Changed + +- Updated readme.md + +## [0.14.3] - 2026-07-06 + +### Added + +- `TabSwitcher` `tabSwitcherWithTabView` Storybook story demonstrating a custom `TabView` layout +- `Browser Compatibility/Safari` Storybook story with demos for CSS that requires WebKit prefixes (`sticky`, `user-select`, `appearance`, `touch-action`, `transform`, `::-webkit-scrollbar`) + +### Changed + +- `TabSwitcher` (`TabList`, `TabListItem`, `TabPanel`) migrated from `data-name` to class-based CSS - `TabPanel` default padding only applied when not rendered inside a custom `TabView` - `TimeInput` layout no longer wraps stepper segments - `NumberStepperInput` increment/decrement buttons use `tabIndex={-1}` diff --git a/locales/de-DE.arb b/locales/de-DE.arb index b705f9d2..7763c813 100644 --- a/locales/de-DE.arb +++ b/locales/de-DE.arb @@ -195,7 +195,7 @@ "theme": {} } }, - "sDateTimeSelect": "{datetimeMode, select, date{Datum auswählen} dateTime{Datum und Uhrzeit auswählen}}", + "sDateTimeSelect": "{datetimeMode, select, time{Zeit auswählen} date{Datum auswählen} dateTime{Datum und Uhrzeit auswählen}}", "@sDateTimeSelect": { "placeholders": { "datetimeMode": {} diff --git a/locales/en-US.arb b/locales/en-US.arb index b0c5c9fb..bbb4a7e2 100644 --- a/locales/en-US.arb +++ b/locales/en-US.arb @@ -196,7 +196,7 @@ "theme": {} } }, - "sDateTimeSelect": "{datetimeMode, select, date{Select Date} dateTime{Select Date and Time}}", + "sDateTimeSelect": "{datetimeMode, select, time{Select Time} date{Select Date} dateTime{Select Date and Time}}", "@sDateTimeSelect": { "placeholders": { "datetimeMode": {} diff --git a/package.json b/package.json index cdb44517..c3d2ba0f 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "access": "public" }, "license": "MPL-2.0", - "version": "0.14.4", + "version": "0.14.5", "browserslist": [ "> 0.2%", "last 3 versions", diff --git a/src/components/form/FieldLayout.tsx b/src/components/form/FieldLayout.tsx index d1e34795..91ff86e9 100644 --- a/src/components/form/FieldLayout.tsx +++ b/src/components/form/FieldLayout.tsx @@ -92,14 +92,14 @@ export const FormFieldLayout = forwardRef( {...props} ref={ref} - data-name={props['data-name'] ?? 'form-field-container'} + data-name="form-field-container" > {label && (