All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.10.12 (2024-12-19)
2.10.11 (2024-12-16)
- deps: update dependency @sanity/icons to ^3.5.3 (#1523) (d223f83)
- deps: update dependency framer-motion to ^11.15.0 (#1516) (fd2588b)
2.10.10 (2024-12-16)
2.10.9 (2024-12-11)
2.10.8 (2024-12-10)
2.10.7 (2024-12-10)
- deps: update dependency framer-motion to ^11.13.5 (19e049e)
- ensure
referenceElement
don't flash in the wrong position on mount (c95c1c0)
2.10.6 (2024-12-10)
- allow using
useGlobalKeyDown
withoutuseCallback
(263c0a6)
2.10.5 (2024-12-09)
2.10.4 (2024-12-09)
2.10.3 (2024-12-09)
2.10.2 (2024-12-09)
2.10.1 (2024-12-06)
2.10.0 (2024-12-06)
2.9.1 (2024-12-04)
- card: guard when picking new nested theme properties (963f09d)
2.9.0 (2024-11-29)
- figma: support new color tones (31d8c48)
- theme: adjust color tokens (d8b3181)
- theme: generate tones based on constants (7252249)
- theme: propagate hue based on tone setting (c11dc3d)
- theme: use legacy types correctly (79510fe)
- toast: use
neutral
tone forinfo
status (cb56633)
2.8.26 (2024-11-28)
- popover: render the child when a reference element is provided (2c1bf33)
2.8.25 (2024-11-25)
2.8.24 (2024-11-18)
2.8.23 (2024-11-11)
2.8.22 (2024-11-08)
2.8.21 (2024-11-07)
- performance: auto memoize
Autocomplete
(#1464) (9493837) - performance: auto memoize
AvatarStack
(#1462) (0ae47eb) - performance: auto memoize
ElementQuery
(#1461) (69a85b7) - performance: auto memoize
LayerProvider
(#1460) (4963838) - performance: auto memoize
MenuButton
(#1459) (098d859) - performance: auto memoize
ToastProvider
(#1463) (4f9aebf) - performance: auto memoize
useArrayProp
(#1465) (ce5d407)
2.8.20 (2024-11-07)
2.8.19 (2024-11-04)
2.8.18 (2024-11-01)
- expand react compiler to dialog, menu, theme provider (#1448) (05748bd)
- performance: auto memoize
TabList
(#1449) (3713c2e)
2.8.17 (2024-10-31)
2.8.16 (2024-10-31)
2.8.15 (2024-10-31)
2.8.14 (2024-10-31)
2.8.13 (2024-10-29)
2.8.12 (2024-10-29)
2.8.11 (2024-10-29)
2.8.10 (2024-10-22)
2.8.9 (2024-08-29)
2.8.8 (2024-07-19)
2.8.7 (2024-07-19)
2.8.6 (2024-07-18)
- MenuGroup: reduce rerenders when opening groups (#1399) (9c982ea)
- menu: refactor to
useClickOutsideEvent
(#1397) (b830db1)
2.8.5 (2024-07-18)
2.8.4 (2024-07-18)
2.8.3 (2024-07-18)
2.8.2 (2024-07-17)
2.8.1 (2024-07-17)
2.8.0 (2024-07-17)
2.7.0 (2024-07-16)
- add
useMatchMedia
hook (0f61001) - usePrefersDark: support custom getServerSnapshot (3a02eeb)
- usePrefersReducedMotion: support custom getServerSnapshot (5c45dac)
2.6.8 (2024-07-12)
2.6.7 (2024-07-11)
2.6.6 (2024-07-11)
2.6.5 (2024-07-11)
2.6.4 (2024-07-11)
2.6.3 (2024-07-08)
2.6.2 (2024-07-08)
2.6.1 (2024-07-02)
2.6.0 (2024-07-02)
2.5.0 (2024-06-25)
2.4.0 (2024-06-17)
2.3.6 (2024-06-14)
2.3.5 (2024-06-13)
2.3.4 (2024-06-13)
- menu: allow overriding
selected
property onMenuButton
(eae34c1)
2.3.3 (2024-06-12)
- theme: placeholder color in dark mode (94c5887)
2.3.2 (2024-06-10)
- 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)
2.3.0 (2024-06-06)
2.2.0 (2024-06-04)
- card: add
muted
property (f70bff6)
2.1.14 (2024-05-29)
2.1.13 (2024-05-28)
2.1.12 (2024-05-23)
2.1.11 (2024-05-19)
2.1.10 (2024-05-16)
2.1.9 (2024-05-16)
2.1.8 (2024-05-14)
2.1.7 (2024-05-11)
- menu: remove use of
isElement
(68f9620)
2.1.6 (2024-05-03)
2.1.5 (2024-05-03)
- 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)
2.1.3 (2024-04-12)
2.1.2 (2024-04-09)
2.1.1 (2024-04-09)
- better esm.sh support (60dc2a9)
2.1.0 (2024-04-08)
- ui: improve disabled button contrast (fc328b6)
2.0.16 (2024-04-05)
2.0.15 (2024-04-05)
2.0.14 (2024-04-03)
- allow using Tooltips in SSR apps (889ea42)
2.0.13 (2024-04-02)
2.0.12 (2024-03-20)
2.0.11 (2024-03-20)
- ship ESM with
.mjs
extensions, importstyled-components
correctly (1ad5a02)
2.0.10 (2024-03-12)
- deps: downgrade
framer-motion
as it breakssanity/presentation
(0b644dd)
2.0.9 (2024-03-12)
2.0.8 (2024-03-12)
- add missing
theme.js
legacy export (7e04c57)
2.0.7 (2024-02-21)
2.0.6 (2024-02-21)
2.0.5 (2024-02-21)
2.0.4 (2024-02-21)
- minify bundle (1a4cbfc)
2.0.3 (2024-02-16)
- a11y: support the
prefers-reduced-motion: reduce
media query (#1222) (c3f60a5) - reduce toast context rerenders (#1221) (9362961)
2.0.2 (2024-02-08)
2.0.1 (2024-01-18)
2.0.0 (2024-01-16)
- default-theme: add support for component-level focus ring configuration (#1140)
- add inter to default (non-code) font stack
- 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
- 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)
- ensure button primitives use the correct default mode (ccdb59e)
2.0.0-beta.22 (2024-01-15)
- theme: update avatar and badge ts descriptions, mark them as internal (ec329df)
2.0.0-beta.21 (2024-01-15)
2.0.0-beta.20 (2024-01-15)
2.0.0-beta.19 (2024-01-14)
2.0.0-beta.18 (2024-01-11)
2.0.0-beta.17 (2024-01-10)
- remove
unknown prop "animate"
console warning (aaa353c)
2.0.0-beta.16 (2024-01-09)
2.0.0-beta.15 (2024-01-05)
2.0.0-beta.14 (2024-01-03)
2.0.0-beta.13 (2023-12-17)
2.0.0-beta.12 (2023-12-15)
2.0.0-beta.11 (2023-12-15)
2.0.0-beta.10 (2023-12-14)
- switch: improve checked read-only state (6320d59)
2.0.0-beta.9 (2023-12-14)
- deps: add
react-is
peer dependency (a9549a8)
2.0.0-beta.8 (2023-12-14)
- theme: parse parse compile color mix (2d049be)
- 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)
- build: update node version (ce69f9d)
2.0.0-beta.6 (2023-12-14)
- 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)
- add animate support to popovers, add custom origin middleware and animate from reference origin (#1194) (9ee54ba)
2.0.0-beta.4 (2023-12-13)
- menu-button: close menus containing selected items when re-clicking the menu button (#1193) (7b60c32)
2.0.0-beta.3 (2023-12-11)
2.0.0-beta.2 (2023-12-08)
- avatar: implement avatar sizes (8deb370)
- theme: add avatar size (9129e6f)
- theme: add label font size (abb9bb2)
2.0.0-beta.1 (2023-12-07)
- default-theme: add support for component-level focus ring configuration (#1140)
- add inter to default (non-code) font stack
- 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
- 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)
- theme: improve backwards compatibility (aa87abc)
2.0.0-alpha.36 (2023-12-07)
- theme: improve backwards compatibility (bd6b517)
2.0.0-alpha.35 (2023-12-07)
- core: improve defaults (58459a7)
- deps: update
@sanity/color
(74181d7) - do not scale icon strokes (02b31c3)
- figma: update plugin (4b801d7)
2.0.0-alpha.34 (2023-12-06)
- update KBD styles and default props (f405b03)
2.0.0-alpha.33 (2023-12-05)
2.0.0-alpha.32 (2023-11-30)
- force semibold on dialog headers (3c56396)
2.0.0-alpha.31 (2023-11-30)
- update select component icon (39bc446)
2.0.0-alpha.30 (2023-11-30)
- remove dialog header + footer borders (fc077a8)
2.0.0-alpha.29 (2023-11-29)
- 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)
- deps: update
@sanity/color
(6b97f0a)
2.0.0-alpha.27 (2023-11-28)
- 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)
2.0.0-alpha.25 (2023-11-22)
2.0.0-alpha.24 (2023-11-22)
2.0.0-alpha.23 (2023-11-17)
- tweak default avatar image sizes, fix avatar arrow stacking context (da5cdca)
2.0.0-alpha.22 (2023-11-16)
- 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)
2.0.0-alpha.20 (2023-11-14)
- correctly prefix unstable props (4e07db8)
2.0.0-alpha.19 (2023-11-14)
2.0.0-alpha.18 (2023-11-14)
2.0.0-alpha.17 (2023-11-04)
- add stretch fallbacks on card + selectable button styles, add mozilla fallback (c59c560)
2.0.0-alpha.16 (2023-11-03)
- revert dialog padding, include margins, add hidden close button story (84ba800)
2.0.0-alpha.15 (2023-11-03)
- simplify dialog header padding (a358ded)
2.0.0-alpha.14 (2023-11-01)
- add
buildTheme
function (ee6043f)
2.0.0-alpha.13 (2023-10-31)
2.0.0-alpha.12 (2023-10-31)
- Revert "build: temporarily skip actions on current node version (21.0.0)" (#1174) (5e1b141), closes #1174
2.0.0-alpha.11 (2023-10-31)
2.0.0-alpha.10 (2023-10-25)
2.0.0-alpha.9 (2023-10-19)
- update default values for (86fd92b)
2.0.0-alpha.8 (2023-10-19)
2.0.0-alpha.7 (2023-10-18)
2.0.0-alpha.6 (2023-10-18)
2.0.0-alpha.5 (2023-10-13)
- update default values for , <TextArea> and (a133b56)
2.0.0-alpha.4 (2023-10-11)
2.0.0-alpha.3 (2023-10-11)
- update types [skip ci] (7cb1b68)
2.0.0-alpha.2 (2023-10-10)
2.0.0-alpha.1 (2023-10-10)
- default-theme: add support for component-level focus ring configuration (#1140)
- add inter to default (non-code) font stack
- add inter to default (non-code) font stack (877e678)
- add radius='full' support and supporting stories (#1150) (a2e93b1)
- button: change focus ring width (#1158) (59a0222)
- button: update defaults (116ec82)
- button: update styles to match facelift designs (#1142) (16644d4), closes #1143
- default-theme: add support for component-level focus ring configuration (#1140) (8d2038d), closes #1141
- default-theme: update color palette (#1137) (b2b442f)
- kbd: update primitive style, minor storybook cleanup (#1157) (3a41561)
- tab: update styles and add corresponding stories (#1159) (8a52be0)
- tooltip: update styles and corresponding stories (#1160) (c80e3a0)
- update various input styles (#1147) (cdb25e7), closes #1144 #1145 #1146
1.9.3 (2023-11-13)
1.9.2 (2023-11-10)
1.9.1 (2023-11-10)
1.9.0 (2023-11-06)
1.8.3 (2023-10-23)
- add
width: stretch
fallbacks (1588887)
1.8.2 (2023-09-01)
1.8.1 (2023-08-31)
1.8.0 (2023-08-31)
1.7.12 (2023-08-31)
1.7.11 (2023-08-24)
1.7.10 (2023-08-22)
- add
node.module
export condition (4e4d414) - typings: handle styled-components v6 type definition changes (43cc758)
1.7.9 (2023-08-22)
- deps: allow
styled-components
v6 (b6a27da)
1.7.8 (2023-08-16)
1.7.7 (2023-08-14)
1.7.6 (2023-08-14)
1.7.5 (2023-07-25)
- add provenance (bdeb189)
1.7.4 (2023-07-25)
1.7.3 (2023-07-13)
- menu: remove focus first item on mouse leave (dcec93f)
1.7.2 (2023-07-10)
1.7.1 (2023-07-06)
1.7.0 (2023-06-27)
1.6.0 (2023-06-12)
- popover: add
floatingBoundary
andreferenceBoundary
props (ffb8d1d) - popover: add
updateRef
property (2bf1061)
1.5.0 (2023-06-08)
- menu: add
onOpen
callback property (3b25d78)
1.3.4 (2023-06-08)
- deps: update dependencies (0e33b90)
1.3.3 (2023-05-04)
1.3.2 (2023-04-14)
1.3.1 (2023-03-31)
- add
typeof window
guard to ResizeObserver (6e84577)
1.3.0 (2023-02-27)
1.2.5 (2023-02-20)
- deps: update dependencies (56320c6)
1.2.4 (2023-02-14)
1.2.3 (2023-02-14)
1.2.2 (2023-02-02)
1.2.1 (2023-02-02)
- deps: update dependencies (non-major) (#1042) (51eb5ff)
- deps: update dependency framer-motion to v9 (#1056) (50bb1c5)
1.2.0 (2023-01-26)
1.1.0 (2023-01-24)
- add
usePrefersReducedMotion
hook (d6f6c35)
1.0.15 (2023-01-24)
- deps: update dependencies (5d38821)
1.0.14 (2023-01-13)
- deps: pin
@floating-ui/react-dom
to1.1.1
(1eb56ef)
1.0.13 (2023-01-13)
- deps: update dependencies (7c08eb9)
1.0.12 (2023-01-04)
- deps: update dependencies (3576d2a)
1.0.11 (2023-01-03)
- build: sort export properties (d524bf8)
1.0.10 (2023-01-03)
1.0.9 (2023-01-02)
- build: provide Node ESM wrapper (645360b)
1.0.8 (2023-01-02)
- deps: update dependency framer-motion to v8 (#1030) (6b169ae)
- full SSR hydration support (#1023) (6225ece)
1.0.7 (2023-01-02)
1.0.6 (2022-12-28)
- deps: upgrade to
@sanity/pkg-utils@2
(34f62fe)
1.0.5 (2022-12-27)
1.0.4 (2022-12-21)
1.0.2 (2022-12-16)
- deps: update dependencies (0dc228d)
1.0.1 (2022-12-06)
- ui: remove deprecated popover props
- ui: migrate from
react-popper
to@floating-ui/react-dom
- improve read-only states (8a4a5ef)
- react
18
(#990) (8d17405) - support
'color'
type inTextInput
component (21b9e95) - tsdoc-to-portable-text: initialize
@sanity/tsdoc-to-portable-text
(68b130d) - ui: add
__unstable_disableRestoreFocusOnClose
property toMenuButton
(beta) (9376241) - ui: add
Breadcrumbs
component (1896fe7) - ui: add
color.input.readOnly
theme value (a58a503) - ui: add
data-ui
attribute onLayer
(c962766) - ui: add
gap
property toFlex
(264705a) - ui: add
icon
andspace
properties toMenuGroup
(7cf2830) - ui: add
listBox
andrenderPopover
properties toAutocomplete
(bfddeeb) - ui: add
padding
property to tooltip (964c251) - ui: add
pressed
property (7def820) - ui: add
rgbToHsl
function (@internal) (31ea14b) - ui: add
scheme
property toTooltip
(0b6fda2) - ui: add
textAlign
property toButton
(a9358b0) - ui: add
ThemeLayer
type and property (d242594) - ui: add
useArrayProp
anduseElementSize
hooks (@beta) (e0ee6e2) - ui: add
useArrayProp
anduseElementSize
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 onPortalProvider
(18e347b) - ui: export
rem
as part of the public API (0a20dce) - ui: export
SelectableTone
type (9b38800) - ui: implement
Inline
usingFlex
(a963765) - ui: implement
Stack
usingFlex
(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
andinitial
flex values (38f3d50) - ui: support
flex="none"
(03387ad) - ui: support
muted
property onTreeItem
(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)
- 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
withElementType
(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
whenmatchReferenceWidth
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 ofTab
(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 forButton
withchildren
(661ee8f) - ui: make
padding
work forMenuItem
withchildren
(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>
inBreadcrumbs
(13ed7fe) - ui: prevent update loops in React v18 (7c71569)
- ui: revert
Inline
andStack
(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 inAvatarCounter
(7f56a6e) - ui: use
umbra
for backdrop color (bc9dd40) - ui: use correct type of ref object in
Tree
(7c9b9c9)
- 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)
- deps: update dependencies (74b8e06)
1.0.0-beta.34 (2022-11-24)
- deps: upgrade dependencies (6aec461)
1.0.0-beta.33 (2022-11-24)
- ui: fix issues with
size
middleware (278a1d7)