Skip to content

Latest commit

 

History

History
1573 lines (974 loc) · 109 KB

CHANGELOG.md

File metadata and controls

1573 lines (974 loc) · 109 KB

📓 Changelog

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.8.23 (2024-11-11)

Bug Fixes

  • deps: update React Compiler dependencies 🤖 ✨ (#1468) (2830b8b)

2.8.22 (2024-11-08)

Bug Fixes

2.8.21 (2024-11-07)

Bug Fixes

2.8.20 (2024-11-07)

Bug Fixes

  • deps: update React Compiler dependencies 🤖 ✨ (#1455) (5289a5b)

2.8.19 (2024-11-04)

Bug Fixes

  • deps: update dependency react-compiler-runtime to v19.0.0-beta-9ee70a1-20241017 (#1453) (d84a82f)

2.8.18 (2024-11-01)

Bug Fixes

  • expand react compiler to dialog, menu, theme provider (#1448) (05748bd)
  • performance: auto memoize TabList (#1449) (3713c2e)

2.8.17 (2024-10-31)

Bug Fixes

2.8.16 (2024-10-31)

Bug Fixes

  • deps: move react-compiler-runtime to regular deps (#1446) (8379b57)

2.8.15 (2024-10-31)

Bug Fixes

2.8.14 (2024-10-31)

Features

  • Input tokens: Bump input border colors for increased contrast (#1429) (239be91)

Bug Fixes

  • Dialog: start alignment on dialog header (#1440) (2f6f95e)

2.8.13 (2024-10-29)

Bug Fixes

2.8.12 (2024-10-29)

Bug Fixes

2.8.11 (2024-10-29)

Bug Fixes

  • deps: update dependency @floating-ui/react-dom to ^2.1.2 (#1431) (084ae8b)

2.8.10 (2024-10-22)

Bug Fixes

2.8.9 (2024-08-29)

Bug Fixes

  • deps: update dependency @sanity/icons to ^3.4.0 (#1428) (31409ee)

2.8.8 (2024-07-19)

Bug Fixes

  • deps: update dependency @sanity/icons to ^3.3.1 (#1402) (8614743)

2.8.7 (2024-07-19)

Bug Fixes

  • add displayName to all components to improve debugging (#1401) (1ab0c18)

2.8.6 (2024-07-18)

Bug Fixes

  • MenuGroup: reduce rerenders when opening groups (#1399) (9c982ea)
  • menu: refactor to useClickOutsideEvent (#1397) (b830db1)

2.8.5 (2024-07-18)

Bug Fixes

  • useClickOutsideEvent: implement useDebugValue to report enabled status (#1398) (67fe3de)

2.8.4 (2024-07-18)

Bug Fixes

  • dialog: refactor to useClickOutsideEvent (#1396) (375d83e)

2.8.3 (2024-07-18)

Bug Fixes

  • breadcrumbs: refactor to useClickOutsideEvent (#1395) (a4f313d)

2.8.2 (2024-07-17)

Bug Fixes

  • revert useClickOutside behaviour in dialog & menu (#1394) (686bd1f)

2.8.1 (2024-07-17)

Bug Fixes

  • restore useClickOutside behaviour, move new logic to useClickOutsideEvent (#1391) (d3ac101)

2.8.0 (2024-07-17)

Features

2.7.0 (2024-07-16)

Features

  • add useMatchMedia hook (0f61001)
  • usePrefersDark: support custom getServerSnapshot (3a02eeb)
  • usePrefersReducedMotion: support custom getServerSnapshot (5c45dac)

Bug Fixes

2.6.8 (2024-07-12)

Bug Fixes

  • tooltip: use layout effect to calculate width (#1373) (d27868e)

2.6.7 (2024-07-11)

Bug Fixes

2.6.6 (2024-07-11)

Bug Fixes

  • tooltip: regression where hover to open stops working (#1371) (038011b)

2.6.5 (2024-07-11)

Bug Fixes

  • tooltip: use layout effect to calculate width (#1370) (e39ddbe)

2.6.4 (2024-07-11)

Bug Fixes

2.6.3 (2024-07-08)

Bug Fixes

  • deps: update dependency @sanity/icons to ^3.3.0 (#1364) (4bf02f5)

2.6.2 (2024-07-08)

Bug Fixes

  • deps: update dependency @floating-ui/react-dom to ^2.1.1 (#1354) (4642d8e)

2.6.1 (2024-07-02)

Bug Fixes

2.6.0 (2024-07-02)

Features

  • textarea: support for disabled focus ring (#1353) (5fa6f31)

2.5.0 (2024-06-25)

Features

2.4.0 (2024-06-17)

Features

2.3.6 (2024-06-14)

Bug Fixes

2.3.5 (2024-06-13)

Bug Fixes

  • react 19 compat issues with children prop (#1349) (98cdd3f)

2.3.4 (2024-06-13)

Bug Fixes

  • menu: allow overriding selected property on MenuButton (eae34c1)

2.3.3 (2024-06-12)

Bug Fixes

  • theme: placeholder color in dark mode (94c5887)

2.3.2 (2024-06-10)

Bug Fixes

  • button: use JSX instead of createElement (d1f5648)
  • menu-button: handle child refs safely (9ca1312)
  • menu-group: use JSX instead of createElement (061f67d)
  • menu-item: use JSX instead of createElement (c61aa10)
  • text-input: use JSX instead of createElement (45c1fcf)
  • tooltip: handle child refs safely (92b12a7)
  • tree-item: use JSX instead of createElement (c4d66c5)

2.3.1 (2024-06-06)

Bug Fixes

  • deps: update dependency @sanity/icons to ^3.2.0 (#1342) (1a09676)

2.3.0 (2024-06-06)

Features

2.2.0 (2024-06-04)

Features

  • card: add muted property (f70bff6)

2.1.14 (2024-05-29)

Bug Fixes

  • deps: update dependency @sanity/icons to v3 (#1322) (b1b31c0)

2.1.13 (2024-05-28)

Bug Fixes

  • deps: update dependency react-refractor to ^2.2.0 (#1316) (a156277)

2.1.12 (2024-05-23)

Bug Fixes

  • deps: update dependency @floating-ui/react-dom to ^2.1.0 (#1309) (c0d4ee7)

2.1.11 (2024-05-19)

Bug Fixes

2.1.10 (2024-05-16)

Bug Fixes

  • deps: update dependency framer-motion to v11.2.3 (#1300) (d4b319f)

2.1.9 (2024-05-16)

Bug Fixes

  • deps: update dependency framer-motion to v11.2.2 (#1298) (398151a)

2.1.8 (2024-05-14)

Bug Fixes

  • deps: update dependency framer-motion to v11.2.0 (#1296) (8627815)

2.1.7 (2024-05-11)

Bug Fixes

  • menu: remove use of isElement (68f9620)

2.1.6 (2024-05-03)

Bug Fixes

  • deps: update dependency @floating-ui/react-dom to ^2.0.9 (#1281) (c7148d8)

2.1.5 (2024-05-03)

Bug Fixes

  • theme: align disabled input colors with button colors (98710cc)
  • theme: improve avatar colors (4bbb42a)
  • theme: improve code and muted colors (1e33341)
  • theme: use correct base bg for avatar (618c194)

2.1.4 (2024-04-17)

Bug Fixes

  • build: add aliases for named exports (767b7a7)
  • docs: refer to existing type (06ddbf2)

2.1.3 (2024-04-12)

Bug Fixes

  • remove ssr warning "Detected multiple renderers" (#1262) (c48155b)

2.1.2 (2024-04-09)

Bug Fixes

2.1.1 (2024-04-09)

Bug Fixes

2.1.0 (2024-04-08)

Features

  • ui: improve disabled button contrast (fc328b6)

2.0.16 (2024-04-05)

Bug Fixes

2.0.15 (2024-04-05)

Bug Fixes

2.0.14 (2024-04-03)

Bug Fixes

  • allow using Tooltips in SSR apps (889ea42)

2.0.13 (2024-04-02)

Bug Fixes

  • remove type: commonjs to fix regression affecting Next.js (#1247) (c7b7915)

2.0.12 (2024-03-20)

Bug Fixes

2.0.11 (2024-03-20)

Bug Fixes

  • ship ESM with .mjs extensions, import styled-components correctly (1ad5a02)

2.0.10 (2024-03-12)

Bug Fixes

  • deps: downgrade framer-motion as it breaks sanity/presentation (0b644dd)

2.0.9 (2024-03-12)

Bug Fixes

2.0.8 (2024-03-12)

Bug Fixes

  • add missing theme.js legacy export (7e04c57)

2.0.7 (2024-02-21)

Bug Fixes

2.0.6 (2024-02-21)

Bug Fixes

2.0.5 (2024-02-21)

Bug Fixes

2.0.4 (2024-02-21)

Bug Fixes

2.0.3 (2024-02-16)

Bug Fixes

  • a11y: support the prefers-reduced-motion: reduce media query (#1222) (c3f60a5)
  • reduce toast context rerenders (#1221) (9362961)

2.0.2 (2024-02-08)

Bug Fixes

  • deps: Update dependency framer-motion to v11 (#1220) (20e09ba)

2.0.1 (2024-01-18)

Bug Fixes

  • popover: default open popover has incorrect position (#1217) (953d789)

2.0.0 (2024-01-16)

⚠ BREAKING CHANGES

  • default-theme: add support for component-level focus ring configuration (#1140)
  • add inter to default (non-code) font stack

Features

  • add buildTheme function (b09226e)
  • add animate support to popovers, add custom origin middleware and animate from reference origin (#1194) (9ee54ba)
  • add inter to default (non-code) font stack (23baaa6)
  • add radius='full' support and supporting stories (#1150) (e9adb5b)
  • allow tooltip arrows to be hidden (22c6f73)
  • animations: add animations to dialog and tooltips. (#1187) (6cb872f)
  • avatar: implement avatar sizes (8deb370)
  • button: change focus ring width (#1158) (b4b14cc)
  • buttons: add support for width=fill prop (#1175) (a2006cd)
  • button: update defaults (e213d90)
  • button: update styles to match facelift designs (#1142) (836a506), closes #1143
  • cssvars: replace color theming through styled-components for css vars. (#1152) (bbb78e3)
  • default-theme: add support for component-level focus ring configuration (#1140) (eee10a1), closes #1141
  • default-theme: update color palette (#1137) (e01d0ad)
  • dialog: update styles and add corresponding stories (#1155) (5741633), closes #1156 #1161
  • figma: initialize figma plugin (c82b4ca)
  • force semibold on dialog headers (6303677)
  • introduce '@sanity/ui/theme' export (b38f35a)
  • kbd: update primitive style, minor storybook cleanup (#1157) (b0a4082)
  • menu: update menu and menu items styles (#1166) (c2e5ebc)
  • reduce autocomplete radii (db3484a)
  • reduce default button focus width (2ff2b63)
  • release 2.0 (0ac1c8f)
  • remove dialog header + footer borders (dd826ad)
  • tab: update styles and add corresponding stories (#1159) (2988785)
  • theme: add avatar size (9129e6f)
  • theme: add label font size (abb9bb2)
  • theme: parse parse compile color mix (2d049be)
  • tooltip: update styles and corresponding stories (#1160) (34bf88d)
  • tweak default avatar image sizes, fix avatar arrow stacking context (1c5348d)
  • update avatar styles (#1183) (f7d4b94)
  • update badge background colors (70b669c)
  • update default avatar sizes (a288f75)
  • update KBD styles and default props (7c837a0)
  • update select component icon (7366ef0)
  • update toast styles (0f89cc6)
  • update various input styles (#1147) (fe53370), closes #1144 #1145 #1146

Bug Fixes

  • add stretch fallbacks on card + selectable button styles, add mozilla fallback (981194d)
  • adjust colors (0e4cabe)
  • avatar: use label font (27e655d)
  • badge: set color using variable (ddeb0d8)
  • badge: use regular font weight (b72b338)
  • build: update keywords (74cfd4d)
  • build: update node version (ce69f9d)
  • build: update node version (e54707c)
  • button: button with right icon is pushed to the end (#1195) (ad87933)
  • button: default mode (e7e3d32)
  • button: render styles (35e0a91)
  • button: set vertical alignment to fix unwanted margin (4d7851f)
  • card: add color backdrop variable (dbcdccd)
  • card: only set focus ring variable when :focus-visible (757a0d0)
  • checkbox: adjust colors (7f2e7d3)
  • core: add font-weight for strong font in heading (#1204) (6c430b3)
  • core: improve defaults (8d4d5d9)
  • correctly prefix unstable props (4e30a56)
  • darken backdrop color in light mode (a12a0df)
  • deps: add react-is peer dependency (a9549a8)
  • deps: update @sanity/color (a357c77)
  • deps: update @sanity/color (2207abf)
  • deps: update @sanity/color (185d5a7)
  • deps: update @sanity/color (deeaed1)
  • deps: upgrade @sanity/color (780ee0b)
  • dialog: adjust padding (c4f7858)
  • dialog: fix padding (5ca95c5)
  • dialog: update dialog design (#1169) (477f495)
  • do not scale icon strokes (0740c6b)
  • ensure button primitives use the correct default mode (ccdb59e)
  • facelift: add unstableDisableFocusRing prop to text inputs (#1184) (6ded803)
  • figma: export muted bg (0a3a9e2)
  • figma: update plugin (5229ace)
  • improve scale transitions for non-retina screens (#1200) (3e52721)
  • kbd: vertical alignment (cc8bc61)
  • menu-button: close menus containing selected items when re-clicking the menu button (#1193) (7b60c32)
  • peer-deps: remove react-is from peer deps (49a832c)
  • popover: disable arrow by default (9c1548e)
  • remove unknown prop "animate" console warning (aaa353c)
  • remove crossfade pollution on fade in transitions (#1201) (591cea3)
  • remove unused focusRing from legacy ThemeColor interface (#1207) (2a4d9b6)
  • revert changes for css variables (#1172) (7cea0a3)
  • revert dialog padding, include margins, add hidden close button story (d0af39d)
  • revert rounded border style in tabs (a668b11)
  • select: default to radius=2 (8ac48c2)
  • simplify dialog header padding (2c5fee1)
  • switch: adjust handle shadow (604ac42)
  • switch: improve checked read-only state (6320d59)
  • text-input: improve styles (eacee35)
  • theme: add resolved key to v2 theme (#1203) (c81bc6d)
  • theme: adjust syntax colors (a264240)
  • theme: adjust vertical trimming (a00a989)
  • theme: improve backwards compatibility (01da5eb)
  • theme: improve backwards compatibility (54c80ba)
  • theme: improve color tokens (27bea7d)
  • theme: improve colors (6eed99d)
  • theme: increase switch padding (e99251d)
  • theme: re-introduce base focusRing value and mark as deprecated (#1162) (1fc3106)
  • theme: restore selectable in v0 theme (#1206) (98447fe)
  • theme: support 0 opacity (ce9929e)
  • theme: tweak colors (6bbfa8a)
  • theme: update avatar and badge ts descriptions, mark them as internal (ec329df)
  • theme: update container width size (#1198) (9ba891e)
  • tooltip: disable arrow by default (fabcbde)
  • tooltips: fixes for TooltipDelayGroup, onClose and nested (#1186) (345e887)
  • tooltips: update default fallback placements (#1185) (117fe85)
  • tree: default font size and padding (8c279b4)
  • tweak default tooltip motion values (608f66a)
  • update default values for (aaa5708)
  • update default values for , <TextArea> and (82dc8d2)
  • update legacy focusRing values (cc1c7be)
  • update types [skip ci] (4725af4)
  • vars: minimum implementation for colors legacy support (#1167) (aca0675)

2.0.0-beta.23 (2024-01-15)

Bug Fixes

  • ensure button primitives use the correct default mode (ccdb59e)

2.0.0-beta.22 (2024-01-15)

Bug Fixes

  • theme: update avatar and badge ts descriptions, mark them as internal (ec329df)

2.0.0-beta.21 (2024-01-15)

Bug Fixes

  • remove unused focusRing from legacy ThemeColor interface (#1207) (2a4d9b6)

2.0.0-beta.20 (2024-01-15)

Bug Fixes

2.0.0-beta.19 (2024-01-14)

Bug Fixes

  • darken backdrop color in light mode (a12a0df)
  • deps: update @sanity/color (a357c77)

2.0.0-beta.18 (2024-01-11)

Bug Fixes

  • core: add font-weight for strong font in heading (#1204) (6c430b3)

2.0.0-beta.17 (2024-01-10)

Bug Fixes

  • remove unknown prop "animate" console warning (aaa353c)

2.0.0-beta.16 (2024-01-09)

Bug Fixes

2.0.0-beta.15 (2024-01-05)

Bug Fixes

  • remove crossfade pollution on fade in transitions (#1201) (591cea3)

2.0.0-beta.14 (2024-01-03)

Bug Fixes

  • improve scale transitions for non-retina screens (#1200) (3e52721)

2.0.0-beta.13 (2023-12-17)

Bug Fixes

2.0.0-beta.12 (2023-12-15)

Bug Fixes

  • button: button with right icon is pushed to the end (#1195) (ad87933)

2.0.0-beta.11 (2023-12-15)

Bug Fixes

  • text-input: improve styles (eacee35)
  • theme: improve color tokens (27bea7d)

2.0.0-beta.10 (2023-12-14)

Bug Fixes

  • switch: improve checked read-only state (6320d59)

2.0.0-beta.9 (2023-12-14)

Bug Fixes

  • deps: add react-is peer dependency (a9549a8)

2.0.0-beta.8 (2023-12-14)

Features

  • theme: parse parse compile color mix (2d049be)

Bug Fixes

  • deps: update @sanity/color (2207abf)
  • switch: adjust handle shadow (604ac42)
  • theme: increase switch padding (e99251d)
  • theme: tweak colors (6bbfa8a)

2.0.0-beta.7 (2023-12-14)

Bug Fixes

  • build: update node version (ce69f9d)

2.0.0-beta.6 (2023-12-14)

Bug Fixes

  • badge: use regular font weight (b72b338)
  • build: update keywords (74cfd4d)
  • build: update node version (e54707c)
  • card: add color backdrop variable (dbcdccd)
  • peer-deps: remove react-is from peer deps (49a832c)
  • select: default to radius=2 (8ac48c2)
  • theme: adjust syntax colors (a264240)

2.0.0-beta.5 (2023-12-13)

Features

  • add animate support to popovers, add custom origin middleware and animate from reference origin (#1194) (9ee54ba)

2.0.0-beta.4 (2023-12-13)

Bug Fixes

  • menu-button: close menus containing selected items when re-clicking the menu button (#1193) (7b60c32)

2.0.0-beta.3 (2023-12-11)

Bug Fixes

2.0.0-beta.2 (2023-12-08)

Features

  • avatar: implement avatar sizes (8deb370)
  • theme: add avatar size (9129e6f)
  • theme: add label font size (abb9bb2)

2.0.0-beta.1 (2023-12-07)

⚠ BREAKING CHANGES

  • default-theme: add support for component-level focus ring configuration (#1140)
  • add inter to default (non-code) font stack

Features

  • add buildTheme function (b09226e)
  • add inter to default (non-code) font stack (23baaa6)
  • add radius='full' support and supporting stories (#1150) (e9adb5b)
  • allow tooltip arrows to be hidden (22c6f73)
  • animations: add animations to dialog and tooltips. (#1187) (6cb872f)
  • button: change focus ring width (#1158) (b4b14cc)
  • buttons: add support for width=fill prop (#1175) (a2006cd)
  • button: update defaults (e213d90)
  • button: update styles to match facelift designs (#1142) (836a506), closes #1143
  • cssvars: replace color theming through styled-components for css vars. (#1152) (bbb78e3)
  • default-theme: add support for component-level focus ring configuration (#1140) (eee10a1), closes #1141
  • default-theme: update color palette (#1137) (e01d0ad)
  • dialog: update styles and add corresponding stories (#1155) (5741633), closes #1156 #1161
  • figma: initialize figma plugin (c82b4ca)
  • force semibold on dialog headers (6303677)
  • introduce '@sanity/ui/theme' export (b38f35a)
  • kbd: update primitive style, minor storybook cleanup (#1157) (b0a4082)
  • menu: update menu and menu items styles (#1166) (c2e5ebc)
  • reduce autocomplete radii (db3484a)
  • reduce default button focus width (2ff2b63)
  • remove dialog header + footer borders (dd826ad)
  • tab: update styles and add corresponding stories (#1159) (2988785)
  • tooltip: update styles and corresponding stories (#1160) (34bf88d)
  • tweak default avatar image sizes, fix avatar arrow stacking context (1c5348d)
  • update avatar styles (#1183) (f7d4b94)
  • update badge background colors (70b669c)
  • update default avatar sizes (a288f75)
  • update KBD styles and default props (7c837a0)
  • update select component icon (7366ef0)
  • update toast styles (0f89cc6)
  • update various input styles (#1147) (fe53370), closes #1144 #1145 #1146

Bug Fixes

  • add stretch fallbacks on card + selectable button styles, add mozilla fallback (981194d)
  • adjust colors (0e4cabe)
  • avatar: use label font (27e655d)
  • badge: set color using variable (ddeb0d8)
  • button: default mode (e7e3d32)
  • button: render styles (35e0a91)
  • button: set vertical alignment to fix unwanted margin (4d7851f)
  • card: only set focus ring variable when :focus-visible (757a0d0)
  • checkbox: adjust colors (7f2e7d3)
  • core: improve defaults (8d4d5d9)
  • correctly prefix unstable props (4e30a56)
  • deps: update @sanity/color (185d5a7)
  • deps: update @sanity/color (deeaed1)
  • deps: upgrade @sanity/color (780ee0b)
  • dialog: adjust padding (c4f7858)
  • dialog: fix padding (5ca95c5)
  • dialog: update dialog design (#1169) (477f495)
  • do not scale icon strokes (0740c6b)
  • facelift: add unstableDisableFocusRing prop to text inputs (#1184) (6ded803)
  • figma: update plugin (5229ace)
  • popover: disable arrow by default (9c1548e)
  • revert changes for css variables (#1172) (7cea0a3)
  • revert dialog padding, include margins, add hidden close button story (d0af39d)
  • revert rounded border style in tabs (a668b11)
  • simplify dialog header padding (2c5fee1)
  • theme: adjust vertical trimming (a00a989)
  • theme: improve backwards compatibility (01da5eb)
  • theme: improve backwards compatibility (54c80ba)
  • theme: re-introduce base focusRing value and mark as deprecated (#1162) (1fc3106)
  • theme: support 0 opacity (ce9929e)
  • tooltip: disable arrow by default (fabcbde)
  • tooltips: fixes for TooltipDelayGroup, onClose and nested (#1186) (345e887)
  • tooltips: update default fallback placements (#1185) (117fe85)
  • tree: default font size and padding (8c279b4)
  • tweak default tooltip motion values (608f66a)
  • update default values for (aaa5708)
  • update default values for , <TextArea> and (82dc8d2)
  • update legacy focusRing values (cc1c7be)
  • update types [skip ci] (4725af4)
  • vars: minimum implementation for colors legacy support (#1167) (aca0675)

2.0.0-alpha.37 (2023-12-07)

Bug Fixes

  • theme: improve backwards compatibility (aa87abc)

2.0.0-alpha.36 (2023-12-07)

Bug Fixes

  • theme: improve backwards compatibility (bd6b517)

2.0.0-alpha.35 (2023-12-07)

Bug Fixes

2.0.0-alpha.34 (2023-12-06)

Features

  • update KBD styles and default props (f405b03)

2.0.0-alpha.33 (2023-12-05)

Features

  • reduce default button focus width (3dfd9d9)
  • update default avatar sizes (bca18e9)

2.0.0-alpha.32 (2023-11-30)

Features

  • force semibold on dialog headers (3c56396)

2.0.0-alpha.31 (2023-11-30)

Features

  • update select component icon (39bc446)

2.0.0-alpha.30 (2023-11-30)

Features

  • remove dialog header + footer borders (fc077a8)

2.0.0-alpha.29 (2023-11-29)

Bug Fixes

  • revert rounded border style in tabs (f811740)
  • tweak default tooltip motion values (6ba3913)
  • update legacy focusRing values (d976c65)

2.0.0-alpha.28 (2023-11-28)

Bug Fixes

  • deps: update @sanity/color (6b97f0a)

2.0.0-alpha.27 (2023-11-28)

Features

  • figma: initialize figma plugin (8e82caa)
  • introduce '@sanity/ui/theme' export (fdc6f71)

Bug Fixes

  • adjust colors (d2077c0)
  • avatar: use label font (66e2e70)
  • badge: set color using variable (8c2d472)
  • button: default mode (000d7ed)
  • button: render styles (018d1e5)
  • button: set vertical alignment to fix unwanted margin (438acd0)
  • checkbox: adjust colors (9c1941f)
  • deps: upgrade @sanity/ui-workshop (52f6a87)
  • dialog: adjust padding (6fb0828)
  • dialog: fix padding (02e3377)
  • popover: disable arrow by default (113e6cf)
  • tooltip: disable arrow by default (1b9fb7f)
  • tree: default font size and padding (1fb7330)

2.0.0-alpha.26 (2023-11-22)

Features

  • animations: add animations to dialog and tooltips. (#1187) (0e10f43)

2.0.0-alpha.25 (2023-11-22)

Bug Fixes

  • tooltips: update default fallback placements (#1185) (732d3a1)

2.0.0-alpha.24 (2023-11-22)

Bug Fixes

  • tooltips: fixes for TooltipDelayGroup, onClose and nested (#1186) (843c064)

2.0.0-alpha.23 (2023-11-17)

Features

  • tweak default avatar image sizes, fix avatar arrow stacking context (da5cdca)

2.0.0-alpha.22 (2023-11-16)

Features

  • allow tooltip arrows to be hidden (16d264c)
  • reduce autocomplete radii (27ca86e)
  • update badge background colors (960d1dd)
  • update toast styles (ce802b8)

2.0.0-alpha.21 (2023-11-16)

Bug Fixes

  • update tooltip position middleware, close tooltips on click (#1182) (a596700)

2.0.0-alpha.20 (2023-11-14)

Bug Fixes

  • correctly prefix unstable props (4e07db8)

2.0.0-alpha.19 (2023-11-14)

Bug Fixes

  • facelift: add unstableDisableFocusRing prop to text inputs (#1184) (a609fb3)

2.0.0-alpha.18 (2023-11-14)

Features

2.0.0-alpha.17 (2023-11-04)

Bug Fixes

  • add stretch fallbacks on card + selectable button styles, add mozilla fallback (c59c560)

2.0.0-alpha.16 (2023-11-03)

Bug Fixes

  • revert dialog padding, include margins, add hidden close button story (84ba800)

2.0.0-alpha.15 (2023-11-03)

Bug Fixes

  • simplify dialog header padding (a358ded)

2.0.0-alpha.14 (2023-11-01)

Features

  • add buildTheme function (ee6043f)

Bug Fixes

  • deps: upgrade @sanity/color (646633d)
  • theme: support 0 opacity (c9650ee)

2.0.0-alpha.13 (2023-10-31)

Features

  • buttons: add support for width=fill prop (#1175) (38afa84)

2.0.0-alpha.12 (2023-10-31)

Reverts

  • Revert "build: temporarily skip actions on current node version (21.0.0)" (#1174) (5e1b141), closes #1174

2.0.0-alpha.11 (2023-10-31)

Bug Fixes

2.0.0-alpha.10 (2023-10-25)

Bug Fixes

2.0.0-alpha.9 (2023-10-19)

Bug Fixes

  • update default values for (86fd92b)

2.0.0-alpha.8 (2023-10-19)

Bug Fixes

  • vars: minimum implementation for colors legacy support (#1167) (7cdd0cd)

2.0.0-alpha.7 (2023-10-18)

Features

2.0.0-alpha.6 (2023-10-18)

Features

  • cssvars: replace color theming through styled-components for css vars. (#1152) (384acf1)

2.0.0-alpha.5 (2023-10-13)

Bug Fixes

  • update default values for , <TextArea> and (a133b56)

2.0.0-alpha.4 (2023-10-11)

Features

2.0.0-alpha.3 (2023-10-11)

Bug Fixes

2.0.0-alpha.2 (2023-10-10)

Bug Fixes

  • theme: re-introduce base focusRing value and mark as deprecated (#1162) (d38b6b5)

2.0.0-alpha.1 (2023-10-10)

⚠ BREAKING CHANGES

  • default-theme: add support for component-level focus ring configuration (#1140)
  • add inter to default (non-code) font stack

Features

1.9.3 (2023-11-13)

Bug Fixes

  • update tooltip position middleware, close tooltips on click (#1182) (a596700)

1.9.2 (2023-11-10)

Reverts

  • Revert "fix(tooltip): update tooltip position middleware (#1171)" (ea68fde), closes #1171

1.9.1 (2023-11-10)

Bug Fixes

  • tooltip: update tooltip position middleware (#1171) (b00957c)

1.9.0 (2023-11-06)

Features

  • tooltip: allows for the tooltip to be dismissed on Escape (#1134) (b6db815)

1.8.3 (2023-10-23)

Bug Fixes

  • add width: stretch fallbacks (1588887)

1.8.2 (2023-09-01)

Bug Fixes

1.8.1 (2023-08-31)

Bug Fixes

  • textinput: correctly center clear button on smaller font sizes (#1127) (8a08209)

1.8.0 (2023-08-31)

Features

  • tooltip: adds support for custom delay, standalone and grouped (#1129) (36a2bb0)

1.7.12 (2023-08-31)

Reverts

  • Revert "fix: temporarily revert #1119 because of a regression bug" (d6f1f6d), closes #1119

1.7.11 (2023-08-24)

Bug Fixes

  • temporarily revert #1119 because of a regression bug (5478a72)

1.7.10 (2023-08-22)

Bug Fixes

  • add node.module export condition (4e4d414)
  • typings: handle styled-components v6 type definition changes (43cc758)

1.7.9 (2023-08-22)

Bug Fixes

  • deps: allow styled-components v6 (b6a27da)

1.7.8 (2023-08-16)

Bug Fixes

  • tooltip: use floatingStyles to prevent rerenders of tooltip (#1119) (d4c9d69)

1.7.7 (2023-08-14)

Bug Fixes

  • deps: Update dependency framer-motion to ^10.15.2 (#1118) (0a1e35b)

1.7.6 (2023-08-14)

Bug Fixes

1.7.5 (2023-07-25)

Bug Fixes

1.7.4 (2023-07-25)

Bug Fixes

1.7.3 (2023-07-13)

Bug Fixes

  • menu: remove focus first item on mouse leave (dcec93f)

1.7.2 (2023-07-10)

Bug Fixes

  • allow for enter to close / open items in treeItem (#1107) (aa8e34f)

1.7.1 (2023-07-06)

Bug Fixes

1.7.0 (2023-06-27)

Features

  • support passing custom component to tree item link (#1103) (217961e)

1.6.0 (2023-06-12)

Features

  • popover: add floatingBoundary and referenceBoundary props (ffb8d1d)
  • popover: add updateRef property (2bf1061)

Bug Fixes

  • deps: upgrade @floating-ui/react-dom (37814eb)
  • popover: fix width issues (ba0be52)

1.5.0 (2023-06-08)

Features

  • menu: add onOpen callback property (3b25d78)

1.3.4 (2023-06-08)

Bug Fixes

  • deps: update dependencies (0e33b90)

1.3.3 (2023-05-04)

Bug Fixes

1.3.2 (2023-04-14)

Bug Fixes

  • deps: update dependency framer-motion to v10 (#1075) (0a98681)

1.3.1 (2023-03-31)

Bug Fixes

  • add typeof window guard to ResizeObserver (6e84577)

1.3.0 (2023-02-27)

Features

  • allow hovered styles to be applied via the data-hovered attr (#1073) (f6ef012)

Bug Fixes

1.2.5 (2023-02-20)

Bug Fixes

  • deps: update dependencies (56320c6)

1.2.4 (2023-02-14)

Bug Fixes

  • deps: update dependency @sanity/color to ^2.2.3 (#1070) (fec31f8)

1.2.3 (2023-02-14)

Bug Fixes

1.2.2 (2023-02-02)

Bug Fixes

  • deps: update dependency framer-motion to ^9.0.1 (#1062) (382a204)

1.2.1 (2023-02-02)

Bug Fixes

1.2.0 (2023-01-26)

Features

1.1.0 (2023-01-24)

Features

  • add usePrefersReducedMotion hook (d6f6c35)

1.0.15 (2023-01-24)

Bug Fixes

  • deps: update dependencies (5d38821)

1.0.14 (2023-01-13)

Bug Fixes

  • deps: pin @floating-ui/react-dom to 1.1.1 (1eb56ef)

1.0.13 (2023-01-13)

Bug Fixes

  • deps: update dependencies (7c08eb9)

1.0.12 (2023-01-04)

Bug Fixes

  • deps: update dependencies (3576d2a)

1.0.11 (2023-01-03)

Bug Fixes

  • build: sort export properties (d524bf8)

1.0.10 (2023-01-03)

Bug Fixes

  • deps: update dependencies (840d9d5)
  • deps: upgrade to framer-motion@8 (7f9711a)

1.0.9 (2023-01-02)

Bug Fixes

  • build: provide Node ESM wrapper (645360b)

1.0.8 (2023-01-02)

Bug Fixes

1.0.7 (2023-01-02)

Bug Fixes

  • build: remove "type": "commonjs" for Next.js support (aa51484)
  • deps: update depdendencies (ca85065)

1.0.6 (2022-12-28)

Bug Fixes

  • deps: upgrade to @sanity/pkg-utils@2 (34f62fe)

1.0.5 (2022-12-27)

Bug Fixes

  • deps: update dependency @floating-ui/react-dom to ^1.1.0 (#1034) (238ecd1)

1.0.4 (2022-12-21)

Bug Fixes

  • apply display: inline to SVGs to be tailwind compatible (#1022) (efbb6ae)

1.0.2 (2022-12-16)

Bug Fixes

  • deps: update dependencies (0dc228d)

1.0.1 (2022-12-06)

Bug Fixes

  • a11y: add aria-label to TextInput clear button (#1020) (f226821)

1.0.0 (2022-11-24)

⚠ BREAKING CHANGES

  • ui: remove deprecated popover props
  • ui: migrate from react-popper to @floating-ui/react-dom

Features

  • improve read-only states (8a4a5ef)
  • react 18 (#990) (8d17405)
  • support 'color' type in TextInput component (21b9e95)
  • tsdoc-to-portable-text: initialize @sanity/tsdoc-to-portable-text (68b130d)
  • ui: add __unstable_disableRestoreFocusOnClose property to MenuButton (beta) (9376241)
  • ui: add Breadcrumbs component (1896fe7)
  • ui: add color.input.readOnly theme value (a58a503)
  • ui: add data-ui attribute on Layer (c962766)
  • ui: add gap property to Flex (264705a)
  • ui: add icon and space properties to MenuGroup (7cf2830)
  • ui: add listBox and renderPopover properties to Autocomplete (bfddeeb)
  • ui: add padding property to tooltip (964c251)
  • ui: add pressed property (7def820)
  • ui: add rgbToHsl function (@internal) (31ea14b)
  • ui: add scheme property to Tooltip (0b6fda2)
  • ui: add textAlign property to Button (a9358b0)
  • ui: add ThemeLayer type and property (d242594)
  • ui: add useArrayProp and useElementSize hooks (@beta) (e0ee6e2)
  • ui: add useArrayProp and useElementSize hooks (@beta) (bce7a4b)
  • ui: add useElementRect hook (2d94218)
  • ui: add useUnique hook (internal) (d9223f5)
  • ui: add VirtualList (7e1d7d2)
  • ui: add event handlers to renderPopover props (3d20ae5)
  • ui: add onClose property to MenuButton (b4a400e)
  • ui: add option to hide Dialog close button (#871) (7e8d0e4)
  • ui: cap overflowing text in MenuButton with ellipsis (73c9368)
  • ui: deprecate boundaryElement property on PortalProvider (18e347b)
  • ui: export rem as part of the public API (0a20dce)
  • ui: export SelectableTone type (9b38800)
  • ui: implement Inline using Flex (a963765)
  • ui: implement Stack using Flex (e3df327)
  • ui: impove theme colors (0d47c84)
  • ui: improve SrOnly typings (da2c025)
  • ui: improve base styles of Box (2dee33d)
  • ui: improve disabled placeholder color (fb48edf)
  • ui: improve link styling (03ddef3)
  • ui: improve menu focus behavior (fa3faf0)
  • ui: improve sizing of custom icons (2227635)
  • ui: optically align text (9f1b902)
  • ui: render focus ring on interactive Card primitives (ded1282)
  • ui: skeleton components (#833) (bad014f)
  • ui: support auto and initial flex values (38f3d50)
  • ui: support flex="none" (03387ad)
  • ui: support muted property on TreeItem (d87322b)
  • ui: support checkered cards (beta) (e195bbb)
  • ui: support empty tab list children (7efb8dd)
  • ui: support named portals (beta) (e06115a)
  • ui: support nested theme providers (e63da17)
  • ui: use zOffset as defined in theme (d474ec4)
  • ui: use default cursor on Badge (91d9ba2)

Bug Fixes

  • arcade crash issue (dc21227)
  • bug in useClickOutside (d8cbc57)
  • deps: update dependencies (74b8e06)
  • deps: upgrade dependencies (6aec461)
  • disabled inputs clear button and open button in restricted mode (39bcb1c)
  • Fixes a specific linux font selection issue in firefox (1afbfd3)
  • MenuItem: add data-disabled to MenuItem when it is disabled (#971) (8046f0b)
  • replace ComponentType with ElementType (82e5250)
  • revert "files" change (823abb1)
  • ui: add deprecated menu handlers for backwards-compatibility (4b9f757)
  • ui: add missing data-scheme property (0078e5e)
  • ui: add space between text and icon (d17e81d)
  • ui: avoid dispatching when unchanged (bdbe140)
  • ui: call forceUpdate in the next tick (6bd7735)
  • ui: catch error when force updating tooltip popper (5d55f3a)
  • ui: check if error.message is a string before rendering (#975) (ff24a0c)
  • ui: close tooltip when disabling or removing content (e77cbec)
  • ui: disable altAxis when combined with (06a395c)
  • ui: disable width when matchReferenceWidth prop is true (3a6fd1e)
  • ui: double-check whether the mouse is outside of reference (090bb17)
  • ui: export ThemeLayer interface (c583ae2)
  • ui: fix as property typings (8f07087)
  • ui: fix label property type of Tab (1fdc88d)
  • ui: fix TextInput theme issue (a2cc9af)
  • ui: fix issue with text input border property (b56a0c3)
  • ui: fix issues with size middleware (278a1d7)
  • ui: fix menu helper (bd223ed)
  • ui: fix monospace font in studio theme (71ae4b3)
  • ui: fix popover behavior (Safari) (aef5cbe)
  • ui: fix tone of prefix and suffix (0dfdb3a)
  • ui: fix typing issue after upgrade (9c91963)
  • ui: focus the first focusable element in dialogs (55555e4)
  • ui: hide dialog header in certain situations (182a5ed)
  • ui: hide popover when reference is out of view (a8c54ee)
  • ui: improve Autocomplete open button padding (2fcb89b)
  • ui: improve constrainSize behavior (a8c0ac2)
  • ui: improve TextInput clear button (784a14e)
  • ui: improve dark mode shadow colors (e217b96)
  • ui: improve placeholder color in read-only inputs (98064be)
  • ui: improve popover behavior (ed0460a)
  • ui: improve props and ref typings (1444a03)
  • ui: improve typings of ButtonProps (4b8a26e)
  • ui: improve typings of SpinnerProps (0373075)
  • ui: increase specificity to avoid unwanted overrides (79f765d)
  • ui: inherit tone for Popover (eac8845)
  • ui: inherit tone in clear button (5964869)
  • ui: make color.selectable optional for backwards compatibility (af1d0f3)
  • ui: make padding work for Button with children (661ee8f)
  • ui: make padding work for MenuItem with children (714d2bc)
  • ui: make skeleton theme optional for backwards compatibility (923cb47)
  • ui: make sure click events propagate (ebc6589)
  • ui: only publish media index on match (4c6a13d)
  • ui: only render button icon and text when children is not provided (9586280)
  • ui: pass remaining props to <ol> in Breadcrumbs (13ed7fe)
  • ui: prevent update loops in React v18 (7c71569)
  • ui: revert Inline and Stack (6a65eb8)
  • ui: revert breaking change (efa999c)
  • ui: set color-scheme (0c15c7d)
  • ui: set initial state of usePrefersDark (67dd8d8)
  • ui: set max-width to popover element (28b6797)
  • ui: support empty string as value property (5efc0f9)
  • ui: typings of tree components (a0ac67a)
  • ui: use ref argument in AvatarCounter (7f56a6e)
  • ui: use umbra for backdrop color (bc9dd40)
  • ui: use correct type of ref object in Tree (7c9b9c9)

Code Refactoring

  • ui: migrate from react-popper to @floating-ui/react-dom (6f74a82)
  • ui: remove deprecated popover props (8bf7722)

1.0.0-beta.35 (2022-11-24)

Bug Fixes

  • deps: update dependencies (74b8e06)

1.0.0-beta.34 (2022-11-24)

Bug Fixes

  • deps: upgrade dependencies (6aec461)

1.0.0-beta.33 (2022-11-24)

Bug Fixes

  • ui: fix issues with size middleware (278a1d7)