Hoppa till huvudinnehĂĄll
<- Tillbaka till index

10.0.0

🚀 Features​

  • ⚠️ accordion: remove deprecated prop type='multiple', use allowsMultipleExpanded instead (8c82cbd681)
  • button: add size property, a story and style (946bd9aa7d)
  • button: add back the small variant (2112557050)
  • ⚠️ button: remove small size variant from button (06430f2df2)
  • combobox: add size prop (e64826ab11)
  • date-field: ✨ medium size (#558)
  • date-picker: add size prop (c1e1a04444)
  • file-upload: use button size medium instead of small (c4351ff469)
  • ⚠️ label: remove deprecated variants (36c893a748)
  • ⚠️ modal: remove deprecated ModalTrigger and Dialog (9789773886)
  • progress-bar: use button size medium instead of small (24dad8eb80)
  • search-field: add size prop (4dab7eea96)
  • search-field: use button size medium instead of small (a5f6020bbd)
  • select: add size property (b1519f00cd)
  • select: add medium size variant (f66c23929e)
  • skeleton: allow for more semantically correct props (703237ec04)
  • ⚠️ skeleton: remove deprecated props (cf5b52095c)
  • ⚠️ spinner: remove deprecated prop dark (309da278c9)
  • ⚠️ table: remove deprecated prop narrow from table (2b61d27b75)
  • table: remove deprecation of prop narrow and update documentation (4cbbb8efd9)
  • ⚠️ tabs: remove deprecated prop defaultSelected (5271e93984)
  • tag: use button size medium instead of small (731df78796)
  • theme: add full scale of signal-red tokens (abdca1e267)
  • ⚠️ theme: remove deprecated tokens borderInvalid and textInvalid (d2f1620dc4)
  • ⚠️ tokens: rename tokens blue140 & blue170 and add new tokens blue110, blue120, rename purple140 to purple110 (b79d586d53)
  • tokens: add new tokens blue50 and blue70, update link colors (d814a4c961)

🩹 Fixes​

  • replace unsupported characters in chromatic permalink (d653d10e69)
  • accordion: set correct height on uncontained variant (#557)
  • calendar: add cursor: not-allowed on disabled dates (6592b4fb15)
  • select: increase the margin top to give more space between tag group and select (5514f642b0)

📖 Documentation changes​

  • truly responsive propstable (#554)
  • swizzle admonitions (#538)
  • add language page (60497665a3)
  • add untracked changelog files and update tsconfig (9527e80ac0)
  • add migration guide from 8 to 9 (777e92b2f0)
  • add Ui-kit for Adobe XD (version 22) (8a28a6012f)
  • add migration guides (c523716e06)
  • fix various typos + minor fixes to wording and styling of docs ✏️ (3eb230305f)
  • render jsdoc links as markdown in component api description field (c2699b66a1)
  • add migration guide for v8.3.0 (#585)
  • changelog: add docusaurus style changelog and release notes (cba214be09)
  • layout: update docs on clientSideHref prop (6f1e0807ad)
  • release: update release notes for 10.0.0 with migrations for button (44a6347896)
  • release: update release notes for 10.0.0 with migrations for accordion (ac9007c8d1)
  • release: update release notes for migrations of modals (748bbcb298)
  • release: add migrations for deprecated prop for spinner (e042b919ed)
  • release: update release notes for deprecated props for Tabs (d83ad7cb6c)
  • release: update release notes for <Table> (823dc5526c)
  • release: update release notes for token removal (2f9b8314c5)
  • release: migration information for removal of useMessageStringFormatter (0f18dd9824)
  • release: add migration info for Label (b0f79ef73b)
  • release: add migration info for skeleton component (afeab9f602)
  • release: link to changelog instead of specific version to avoid broken links while developing (ada5d715b3)
  • release: remove reference to table and fix minor issues (810321bbf3)
  • release: update release notes with info on medium size components (d6e70a99b5)
  • release: update release notes with tokens breaking changes (a45ef9cbf6)
  • release: update release notes with breaking changes purple140 -> purple110 (22f685ae97)
  • tokens: fix typo (d55e6f224b)

🔧 Maintenance​

  • update version in eslint config (93edc05f7c)
  • add new eslint rules (#545)
  • add npm provenance flag (039f1daa0d)
  • remove max height from card-guidelines (02a65e19bf)
  • use medium sized buttons (7d55406881)
  • disable snapshots for duplicate states (52197ad135)
  • button: fix code documentation (28974126de)
  • deps: bump vite in the npm_and_yarn group across 1 directory (193b8d80b5)
  • deps: bump undici in the npm_and_yarn group across 1 directory (63e9f61a23)
  • ⚠️ useMessageFormatter: remove useMessageFormatter since deprecation (01d94a8d75)

🧪 Tests updated​

⚠️ Breaking Changes​

  • ⚠️ tokens: rename tokens blue140 & blue170 and add new tokens blue110, blue120, rename purple140 to purple110 (b79d586d53)
  • skeleton: variant rectangular is no longer available, use rectangle instead. Animation is now a boolean and the prop to use is isAnimated
  • label: label variants are no longer available, use component Text instead
  • useMessageFormatter: Adobe has deprecated this hook in favour of useLocalizedStringFormatter. Use that instead!
  • theme: use supportBorderWarning and textWarning instead
  • table: prop narrow is no longer available
  • tabs: defaultSelected no longer works, use defaultSelectedKey instead
  • spinner: prop dark no longer works, use isOnColor instead
  • modal: ModalTrigger and Dialog no longer works, use DialogTrigger and Modal instead
  • accordion: API now conforms to React Aria standard. Same behavior is accomplished using allowsMultipleExpanded
  • button: size='small' no longer has any effect on button size. Allowed sizes are 'medium' | 'large'