@zag-js/slider@2.0.0-next.1
Pre-release
Pre-release
Minor Changes
-
#3167
d2b9972Thanks
@github-actions! - Addget<Part>State()getters (e.g.getTriggerState,
getContentState,getRootState), extending the existinggetItemStateconvention to every part with derived state.const triggerState = dialog.getTriggerState({ value: "confirm" }) // { value: "confirm", current: true, open: true }
Patch Changes
- #3167
b274a15Thanks
@github-actions! - - Fixed issue whereorigin: "center"assumed the
neutral value was always the midpoint ofmin/maxoriginnow also accepts anumber, so the track can fill from that specific value instead
- Updated dependencies []:
- @zag-js/anatomy@2.0.0-next.1
- @zag-js/core@2.0.0-next.1
- @zag-js/types@2.0.0-next.1
- @zag-js/utils@2.0.0-next.1
- @zag-js/dom-query@2.0.0-next.1