Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #1432

Merged
merged 1 commit into from
Apr 22, 2024
Merged

Version Packages #1432

merged 1 commit into from
Apr 22, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 18, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@zag-js/[email protected]

Minor Changes

  • #1435 23ed828 Thanks @segunadebayo! - - Rename getItemState properties
    • isOpen -> expanded
    • isDisabled -> disabled
    • isFocused -> focused

Patch Changes

@zag-js/[email protected]

Minor Changes

  • #1435 23ed828 Thanks @segunadebayo! - - Rename api.isLoaded to api.loaded
    • Remove api.showFallback since it's equivalent to !api.loaded

Patch Changes

@zag-js/[email protected]

Minor Changes

  • #1435 23ed828 Thanks @segunadebayo! - - Rename api.getItemState properties

    • isCurrent to current
    • isNext to next
    • isPrevious to previous
    • isInView to inView
    • Rename api.isAutoPlay to api.autoPlaying

Patch Changes

@zag-js/[email protected]

Minor Changes

Patch Changes

@zag-js/[email protected]

Minor Changes

Patch Changes

@zag-js/[email protected]

Minor Changes

  • #1435 23ed828 Thanks @segunadebayo! - Rename api properties

    • isVisible -> visible
    • isDisabled -> disabled
    • isOpen -> open
    • open, close -> setOpen(true|false)

Patch Changes

@zag-js/[email protected]

Minor Changes

  • #1435 23ed828 Thanks @segunadebayo! - Rename api properties

    • isDragging -> dragging
    • isOpen -> open
    • open(), close() -> setOpen(true|false)

Patch Changes

@zag-js/[email protected]

Minor Changes

  • #1431 80b97a9 Thanks @segunadebayo! - - Add open and open.controlled property to programmatically control the combobox's open state

    • Add new openOnChange property to automatically open the combobox when the value changes. Value can be a boolean or a
      function that returns a boolean.
    const [state, send] = useMachine(
      combobox.machine({
        // openOnChange: true,
        openOnChange: ({ inputValue }) => inputValue.length > 2,
      }),
    );
    • Add new openOnKeypress property to automatically open the combobox when the arrow keys (up and down) are pressed.
    • Add getSelectionValue to the combobox's context to allow customizing the input value when an item is selected.
    const [state, send] = useMachine(
      combobox.machine({
        getSelectionValue({ inputValue, valueAsString }) {
          return `${inputValue} ${valueAsString}`;
        },
      }),
    );
    • Add new dismissable property to determine whether to add the combobox content to the dismissable stack.
    • Add popup attribute to allow rendering the combobox has a select with input within the content.
    • Add persistFocus to the item props to determine whether to clear the highlighted item on pointer leave.
  • #1435 23ed828 Thanks @segunadebayo! - Rename api properties

    • isFocused -> focused
    • isOpen -> open
    • isInputValueEmpty -> inputEmpty
    • open(), close() -> setOpen(true|false)
  • #1431 80b97a9 Thanks @segunadebayo! - Rename loop to loopFocus to better reflect its purpose

  • #1431 80b97a9 Thanks @segunadebayo! - - Fix issue where combobox could be composed with tags-input due to the way selectedItems and valueAsString was
    computed

    • Remove selectOnBlur to prevent accidental selection of options. Prefer explicit selection by user via click or enter
      key.
    • Update the details provided by onInputValueChange to from details.value to details.inputValue

Patch Changes

@zag-js/[email protected]

Minor Changes

Patch Changes

@zag-js/[email protected]

Minor Changes

Patch Changes

@zag-js/[email protected]

Minor Changes

  • #1435 23ed828 Thanks @segunadebayo! - Rename api properties

    • isDragging -> dragging
    • isFocused -> focused
    • open() -> openFilePicker()

Patch Changes

@zag-js/[email protected]

Minor Changes

Patch Changes

@zag-js/[email protected]

Minor Changes

Patch Changes

@zag-js/[email protected]

Minor Changes

  • #1431 80b97a9 Thanks @segunadebayo! - Rename loop to loopFocus to better reflect its purpose

  • #1431 80b97a9 Thanks @segunadebayo! - Remove selectOnBlur to prevent accidental selection of options. Prefer explicit selection by user via click or enter key.

Patch Changes

@zag-js/[email protected]

Minor Changes

Patch Changes

@zag-js/[email protected]

Minor Changes

Patch Changes

@zag-js/[email protected]

Minor Changes

Patch Changes

@zag-js/[email protected]

Minor Changes

Patch Changes

@zag-js/[email protected]

Minor Changes

  • c7b781c Thanks @segunadebayo! - - Rename some properties for better consistency:

    • id -> value
    • expandedIds -> expandedValue
    • selectedIds -> selectedValue
  • #1435 23ed828 Thanks @segunadebayo! - - Rename api.getItemState properties

    • isDisabled -> disabled

    • isFocused -> focused

    • isSelected -> selected

    • Rename api.getBranchState properties

      • isExpanded -> expanded

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

  • #1434 ed0ee38 Thanks @erm1116! - Fix issue where value is unintentionally sorted when highlighting item in the combobox and the select machine

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

Patch Changes

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

@zag-js/[email protected]

Patch Changes

Copy link

vercel bot commented Apr 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
zag-nextjs ✅ Ready (Inspect) Visit Preview Apr 22, 2024 4:25pm
zag-solid ✅ Ready (Inspect) Visit Preview Apr 22, 2024 4:25pm
zag-svelte ✅ Ready (Inspect) Visit Preview Apr 22, 2024 4:25pm
zag-vue ✅ Ready (Inspect) Visit Preview Apr 22, 2024 4:25pm
zag-website ✅ Ready (Inspect) Visit Preview Apr 22, 2024 4:25pm

@segunadebayo segunadebayo merged commit 04cf34f into main Apr 22, 2024
20 checks passed
@segunadebayo segunadebayo deleted the changeset-release/main branch April 22, 2024 17:17
colinlienard pushed a commit to colinlienard/zag that referenced this pull request Jun 18, 2024
ci(changesets): version packages

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant