diff --git a/.changeset/pre.json b/.changeset/pre.json index 9cb10728d4..64f5e20dbd 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -18,21 +18,25 @@ "chilly-gorillas-wonder", "chilly-scissors-remember", "clever-pugs-sing", + "cuddly-worms-love", "dry-cheetahs-tap", "dry-melons-bake", "eleven-moons-hear", "five-elephants-travel", "flat-steaks-itch", "fluffy-lobsters-sin", + "four-geckos-complain", "friendly-falcons-turn", "gold-worms-worry", "great-kiwis-compare", "grumpy-coins-sip", "heavy-chairs-repeat", + "hip-comics-agree", "hip-spies-lick", "hip-weeks-happen", "hot-toys-compare", "itchy-geckos-protect", + "large-adults-dance", "late-books-attack", "late-feet-attack", "lazy-icons-beg", @@ -52,8 +56,11 @@ "tall-sheep-provide", "tasty-pugs-sort", "thirty-lions-yawn", + "tiny-jars-knock", "tiny-suits-smile", + "wet-avocados-speak", "wise-emus-count", + "witty-rabbits-collect", "yellow-moose-push" ] } diff --git a/packages/circuit-ui/CHANGELOG.md b/packages/circuit-ui/CHANGELOG.md index c4bc4bde94..b5dd1c7cd2 100644 --- a/packages/circuit-ui/CHANGELOG.md +++ b/packages/circuit-ui/CHANGELOG.md @@ -1,5 +1,39 @@ # @sumup-oss/circuit-ui +## 9.0.0-next.4 + +### Major Changes + +- [#2741](https://github.com/sumup-oss/circuit-ui/pull/2741) [`1251f90`](https://github.com/sumup-oss/circuit-ui/commit/1251f90a4befc09a6b62fdd0f57e4e7cb9356b66) Thanks [@connor-baer](https://github.com/connor-baer)! - Changed the `PlainDateRange` type from a tuple to an object with `start` and `end` properties. This affects the Calendar component's `selection` prop. Use the new `updatePlainDateRange` helper function to update a date range when a user selects a date. + +- [#2731](https://github.com/sumup-oss/circuit-ui/pull/2731) [`a4b5d2c`](https://github.com/sumup-oss/circuit-ui/commit/a4b5d2c95abd93afe7da3aa877172782f4f52e48) Thanks [@sirineJ](https://github.com/sirineJ)! - Marked the `ColorInput` and `PhoneNumberInput` components as stable. Update the related imports: + + ```diff + - import { ColorInput, type ColorInputProps } from '@sumup-oss/circuit-ui/experimental'; + + import { ColorInput, type ColorInputProps } from '@sumup-oss/circuit-ui'; + ``` + + ```diff + - import { PhoneNumberInput, type PhoneNumberInputProps } from '@sumup-oss/circuit-ui/experimental'; + + import { PhoneNumberInput, type PhoneNumberInputProps } from '@sumup-oss/circuit-ui'; + ``` + +- [#2677](https://github.com/sumup-oss/circuit-ui/pull/2677) [`4a2f1a6`](https://github.com/sumup-oss/circuit-ui/commit/4a2f1a6635c8d818d3774ff16b234141e5875285) Thanks [@connor-baer](https://github.com/connor-baer)! - Removed the legacy RangePicker, RangePickerController, SingleDayPicker, CalendarTag, and CalendarTagTwoStep components. Use the updated DateInput component instead. + +- [#2645](https://github.com/sumup-oss/circuit-ui/pull/2645) [`4f11234`](https://github.com/sumup-oss/circuit-ui/commit/4f11234159c1aa25d12d3e7521371d4e1a2bb6b9) Thanks [@connor-baer](https://github.com/connor-baer)! - Rewrote the DateInput component and replaced the native date input with a custom implementation to improve its usability and accessibility. The component now requires additional localized label props. + +- [#2743](https://github.com/sumup-oss/circuit-ui/pull/2743) [`12a201a`](https://github.com/sumup-oss/circuit-ui/commit/12a201a2f751e0b44265d12cd46232df14f55ecc) Thanks [@sirineJ](https://github.com/sirineJ)! - Marked the `Tooltip` and `Toggletip` components as stable. Update the related imports: + + ```diff + - import { Tooltip, type TooltipProps, type TooltipReferenceProps } from '@sumup-oss/circuit-ui/experimental'; + + import { Tooltip, type TooltipProps, type TooltipReferenceProps } from '@sumup-oss/circuit-ui'; + ``` + + ```diff + - import { Toggletip, type ToggletipProps } from '@sumup-oss/circuit-ui/experimental'; + + import { Toggletip, type ToggletipProps } from '@sumup-oss/circuit-ui'; + ``` + ## 9.0.0-next.3 ### Patch Changes diff --git a/packages/circuit-ui/package.json b/packages/circuit-ui/package.json index 5c766f0562..fb9f867553 100644 --- a/packages/circuit-ui/package.json +++ b/packages/circuit-ui/package.json @@ -1,6 +1,6 @@ { "name": "@sumup-oss/circuit-ui", - "version": "9.0.0-next.3", + "version": "9.0.0-next.4", "description": "SumUp's React UI component library", "type": "module", "main": "./dist/index.js", diff --git a/packages/eslint-plugin-circuit-ui/CHANGELOG.md b/packages/eslint-plugin-circuit-ui/CHANGELOG.md index 4423860d76..33786f6b8e 100644 --- a/packages/eslint-plugin-circuit-ui/CHANGELOG.md +++ b/packages/eslint-plugin-circuit-ui/CHANGELOG.md @@ -1,5 +1,13 @@ # @sumup-oss/eslint-plugin-circuit-ui +## 5.0.0-next.5 + +### Minor Changes + +- [#2743](https://github.com/sumup-oss/circuit-ui/pull/2743) [`12a201a`](https://github.com/sumup-oss/circuit-ui/commit/12a201a2f751e0b44265d12cd46232df14f55ecc) Thanks [@sirineJ](https://github.com/sirineJ)! - Updated the `component-lifecycle-imports` ESLint rule to flag imports of stable components Tooltip and Toggletip from `@sumup-oss/circuit-ui/experimental`. + +- [#2731](https://github.com/sumup-oss/circuit-ui/pull/2731) [`a4b5d2c`](https://github.com/sumup-oss/circuit-ui/commit/a4b5d2c95abd93afe7da3aa877172782f4f52e48) Thanks [@sirineJ](https://github.com/sirineJ)! - Updated the `component-lifecycle-imports` ESLint rule to handle imports of `ColorInput` and `PhoneNumberInput` as experimental components. + ## 5.0.0-next.4 ### Minor Changes diff --git a/packages/eslint-plugin-circuit-ui/package.json b/packages/eslint-plugin-circuit-ui/package.json index 9bdc3e7ba6..b303955352 100644 --- a/packages/eslint-plugin-circuit-ui/package.json +++ b/packages/eslint-plugin-circuit-ui/package.json @@ -1,6 +1,6 @@ { "name": "@sumup-oss/eslint-plugin-circuit-ui", - "version": "5.0.0-next.4", + "version": "5.0.0-next.5", "description": "ESLint rules to lint Circuit UI.", "keywords": [ "sumup",