ui-ingredients 0.0.65 → 0.0.67
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +0 -2
- package/dist/accordion/accordion-item-content.svelte +3 -3
- package/dist/accordion/accordion-item-indicator.svelte +1 -1
- package/dist/accordion/accordion-item-trigger.svelte +1 -1
- package/dist/accordion/accordion-item.svelte +1 -1
- package/dist/accordion/accordion-root.svelte +1 -1
- package/dist/accordion/avatar-context.svelte.d.ts +2 -2
- package/dist/accordion/create-accordion.svelte.d.ts +1 -1
- package/dist/avatar/avatar-context.svelte.d.ts +1 -1
- package/dist/avatar/avatar-fallback.svelte +1 -1
- package/dist/avatar/avatar-image.svelte +1 -1
- package/dist/avatar/avatar-root.svelte +1 -1
- package/dist/avatar/create-avatar.svelte.d.ts +1 -1
- package/dist/carousel/carousel-context.svelte.d.ts +1 -1
- package/dist/carousel/carousel-indicator-group.svelte +1 -1
- package/dist/carousel/carousel-indicator.svelte +1 -1
- package/dist/carousel/carousel-item-group.svelte +1 -1
- package/dist/carousel/carousel-item.svelte +1 -1
- package/dist/carousel/carousel-next-trigger.svelte +1 -1
- package/dist/carousel/carousel-prev-trigger.svelte +1 -1
- package/dist/carousel/carousel-root.svelte +1 -1
- package/dist/carousel/carousel-viewport.svelte +1 -1
- package/dist/carousel/create-carousel.svelte.d.ts +1 -1
- package/dist/checkbox/checkbox-context.svelte.d.ts +1 -1
- package/dist/checkbox/checkbox-control.svelte +1 -1
- package/dist/checkbox/checkbox-hidden-input.svelte +1 -1
- package/dist/checkbox/checkbox-indicator.svelte +1 -1
- package/dist/checkbox/checkbox-label.svelte +1 -1
- package/dist/checkbox/checkbox-root.svelte +1 -1
- package/dist/checkbox/create-checkbox.svelte.d.ts +1 -1
- package/dist/clipboard/clipboard-context.svelte.d.ts +1 -1
- package/dist/clipboard/clipboard-control.svelte +1 -1
- package/dist/clipboard/clipboard-indicator.svelte +1 -1
- package/dist/clipboard/clipboard-input.svelte +1 -1
- package/dist/clipboard/clipboard-label.svelte +1 -1
- package/dist/clipboard/clipboard-root.svelte +1 -1
- package/dist/clipboard/clipboard-trigger.svelte +1 -1
- package/dist/clipboard/create-clipboard.svelte.d.ts +1 -1
- package/dist/collapsible/collapsible-content.svelte +19 -8
- package/dist/collapsible/collapsible-content.svelte.d.ts +2 -1
- package/dist/collapsible/collapsible-context.svelte.d.ts +1 -1
- package/dist/collapsible/collapsible-root.svelte +24 -5
- package/dist/collapsible/collapsible-root.svelte.d.ts +2 -1
- package/dist/collapsible/collapsible-trigger.svelte +1 -2
- package/dist/color-picker/color-picker-area-background.svelte +1 -1
- package/dist/color-picker/color-picker-area-thumb.svelte +1 -1
- package/dist/color-picker/color-picker-area.svelte +1 -1
- package/dist/color-picker/color-picker-channel-input.svelte +1 -1
- package/dist/color-picker/color-picker-channel-slider-label.svelte +1 -1
- package/dist/color-picker/color-picker-channel-slider-thumb.svelte +1 -1
- package/dist/color-picker/color-picker-channel-slider-track.svelte +1 -1
- package/dist/color-picker/color-picker-channel-slider-value-text.svelte +5 -2
- package/dist/color-picker/color-picker-channel-slider.svelte +1 -1
- package/dist/color-picker/color-picker-content.svelte +3 -3
- package/dist/color-picker/color-picker-context.svelte.d.ts +6 -8
- package/dist/color-picker/color-picker-control.svelte +1 -1
- package/dist/color-picker/color-picker-eye-dropper-trigger.svelte +1 -1
- package/dist/color-picker/color-picker-format-select.svelte +1 -1
- package/dist/color-picker/color-picker-format-trigger.svelte +1 -1
- package/dist/color-picker/color-picker-hidden-input.svelte +1 -1
- package/dist/color-picker/color-picker-label.svelte +1 -1
- package/dist/color-picker/color-picker-positioner.svelte +1 -1
- package/dist/color-picker/color-picker-root.svelte +1 -1
- package/dist/color-picker/color-picker-swatch-group.svelte +1 -1
- package/dist/color-picker/color-picker-swatch-indicator.svelte +1 -1
- package/dist/color-picker/color-picker-swatch-trigger.svelte +1 -1
- package/dist/color-picker/color-picker-swatch.svelte +1 -1
- package/dist/color-picker/color-picker-transparency-grid.svelte +1 -1
- package/dist/color-picker/color-picker-trigger.svelte +1 -1
- package/dist/color-picker/color-picker-value-swatch.svelte +1 -1
- package/dist/color-picker/color-picker-value-text.svelte +1 -1
- package/dist/color-picker/color-picker-view.svelte +1 -1
- package/dist/combobox/combobox-clear-trigger.svelte +1 -1
- package/dist/combobox/combobox-content.svelte +3 -3
- package/dist/combobox/combobox-context.svelte.d.ts +3 -3
- package/dist/combobox/combobox-control.svelte +1 -1
- package/dist/combobox/combobox-input.svelte +1 -3
- package/dist/combobox/combobox-item-group-label.svelte +1 -1
- package/dist/combobox/combobox-item-group.svelte +1 -1
- package/dist/combobox/combobox-item-indicator.svelte +1 -1
- package/dist/combobox/combobox-item-text.svelte +1 -1
- package/dist/combobox/combobox-item.svelte +1 -1
- package/dist/combobox/combobox-label.svelte +1 -1
- package/dist/combobox/combobox-list.svelte +1 -1
- package/dist/combobox/combobox-positioner.svelte +1 -1
- package/dist/combobox/combobox-root.svelte +1 -1
- package/dist/combobox/combobox-trigger.svelte +1 -1
- package/dist/create-context.svelte.d.ts +7 -4
- package/dist/create-context.svelte.js +26 -15
- package/dist/date-picker/date-picker-clear-trigger.svelte +1 -1
- package/dist/date-picker/date-picker-content.svelte +3 -3
- package/dist/date-picker/date-picker-context.svelte.d.ts +5 -5
- package/dist/date-picker/date-picker-control.svelte +1 -1
- package/dist/date-picker/date-picker-day-table-cell-trigger.svelte +1 -1
- package/dist/date-picker/date-picker-day-table-cell.svelte +1 -1
- package/dist/date-picker/date-picker-input.svelte +1 -1
- package/dist/date-picker/date-picker-label.svelte +1 -1
- package/dist/date-picker/date-picker-month-select.svelte +1 -1
- package/dist/date-picker/date-picker-month-table-cell-trigger.svelte +1 -1
- package/dist/date-picker/date-picker-month-table-cell.svelte +1 -1
- package/dist/date-picker/date-picker-next-trigger.svelte +1 -1
- package/dist/date-picker/date-picker-positioner.svelte +1 -1
- package/dist/date-picker/date-picker-preset-trigger.svelte +1 -1
- package/dist/date-picker/date-picker-prev-trigger.svelte +1 -1
- package/dist/date-picker/date-picker-range-text.svelte +1 -1
- package/dist/date-picker/date-picker-root.svelte +1 -1
- package/dist/date-picker/date-picker-table-body.svelte +1 -1
- package/dist/date-picker/date-picker-table-head.svelte +1 -1
- package/dist/date-picker/date-picker-table-header.svelte +1 -1
- package/dist/date-picker/date-picker-table-row.svelte +1 -1
- package/dist/date-picker/date-picker-table.svelte +1 -1
- package/dist/date-picker/date-picker-trigger.svelte +1 -1
- package/dist/date-picker/date-picker-view-control.svelte +1 -1
- package/dist/date-picker/date-picker-view-trigger.svelte +1 -1
- package/dist/date-picker/date-picker-view.svelte +1 -1
- package/dist/date-picker/date-picker-year-select.svelte +1 -1
- package/dist/date-picker/date-picker-year-table-cell-trigger.svelte +1 -1
- package/dist/date-picker/date-picker-year-table-cell.svelte +1 -1
- package/dist/dialog/dialog-backdrop.svelte +3 -3
- package/dist/dialog/dialog-close-trigger.svelte +1 -1
- package/dist/dialog/dialog-content.svelte +3 -3
- package/dist/dialog/dialog-context.svelte.d.ts +1 -1
- package/dist/dialog/dialog-description.svelte +1 -1
- package/dist/dialog/dialog-positioner.svelte +1 -1
- package/dist/dialog/dialog-title.svelte +1 -1
- package/dist/dialog/dialog-trigger.svelte +1 -1
- package/dist/editable/editable-area.svelte +1 -1
- package/dist/editable/editable-cancel-trigger.svelte +1 -1
- package/dist/editable/editable-context.svelte.d.ts +1 -1
- package/dist/editable/editable-control.svelte +1 -1
- package/dist/editable/editable-edit-trigger.svelte +1 -1
- package/dist/editable/editable-input.svelte +1 -1
- package/dist/editable/editable-label.svelte +1 -1
- package/dist/editable/editable-preview.svelte +1 -1
- package/dist/editable/editable-root.svelte +1 -1
- package/dist/editable/editable-submit-trigger.svelte +1 -1
- package/dist/environment-provider/enviroment-provider-context.svelte.d.ts +1 -1
- package/dist/field/create-field.svelte.d.ts +1 -1
- package/dist/field/field-context.svelte.d.ts +1 -1
- package/dist/field/field-error-text.svelte +3 -1
- package/dist/field/field-helper-text.svelte +3 -1
- package/dist/field/field-input.svelte +1 -1
- package/dist/field/field-label.svelte +1 -1
- package/dist/field/field-root.svelte +1 -1
- package/dist/field/field-select.svelte +1 -1
- package/dist/field/field-textarea.svelte +3 -1
- package/dist/file-upload/create-file-upload.svelte.d.ts +1 -1
- package/dist/file-upload/file-upload-clear-trigger.svelte +1 -1
- package/dist/file-upload/file-upload-context.svelte.d.ts +2 -2
- package/dist/file-upload/file-upload-dropzone.svelte +1 -1
- package/dist/file-upload/file-upload-hidden-input.svelte +1 -1
- package/dist/file-upload/file-upload-item-delete-trigger.svelte +1 -1
- package/dist/file-upload/file-upload-item-group.svelte +1 -1
- package/dist/file-upload/file-upload-item-name.svelte +1 -1
- package/dist/file-upload/file-upload-item-preview-image.svelte +1 -1
- package/dist/file-upload/file-upload-item-preview.svelte +1 -1
- package/dist/file-upload/file-upload-item-size-text.svelte +1 -1
- package/dist/file-upload/file-upload-item.svelte +1 -1
- package/dist/file-upload/file-upload-label.svelte +1 -1
- package/dist/file-upload/file-upload-root.svelte +1 -1
- package/dist/file-upload/file-upload-trigger.svelte +1 -1
- package/dist/floating-panel/create-floating-panel.svelte.d.ts +1 -1
- package/dist/floating-panel/floating-panel-body.svelte +1 -1
- package/dist/floating-panel/floating-panel-close-trigger.svelte +1 -1
- package/dist/floating-panel/floating-panel-content.svelte +3 -3
- package/dist/floating-panel/floating-panel-context.svelte.d.ts +1 -1
- package/dist/floating-panel/floating-panel-drag-trigger.svelte +1 -1
- package/dist/floating-panel/floating-panel-header.svelte +1 -1
- package/dist/floating-panel/floating-panel-maximize-trigger.svelte +1 -1
- package/dist/floating-panel/floating-panel-minimize-trigger.svelte +1 -1
- package/dist/floating-panel/floating-panel-positioner.svelte +1 -1
- package/dist/floating-panel/floating-panel-resize-trigger.svelte +1 -1
- package/dist/floating-panel/floating-panel-restore-trigger.svelte +1 -1
- package/dist/floating-panel/floating-panel-title.svelte +1 -1
- package/dist/floating-panel/floating-panel-trigger.svelte +1 -1
- package/dist/hover-card/hover-card-arrow-tip.svelte +1 -1
- package/dist/hover-card/hover-card-arrow.svelte +1 -1
- package/dist/hover-card/hover-card-content.svelte +3 -3
- package/dist/hover-card/hover-card-context.svelte.d.ts +1 -1
- package/dist/hover-card/hover-card-positioner.svelte +1 -1
- package/dist/hover-card/hover-card-trigger.svelte +1 -1
- package/dist/is-pojo.d.ts +2 -0
- package/dist/{is-object.js → is-pojo.js} +1 -1
- package/dist/locale-provider/local-provider-context.svelte.d.ts +1 -1
- package/dist/menu/menu-arrow-tip.svelte +1 -1
- package/dist/menu/menu-arrow.svelte +1 -1
- package/dist/menu/menu-content.svelte +3 -3
- package/dist/menu/menu-context-trigger.svelte +1 -1
- package/dist/menu/menu-context.svelte.d.ts +5 -5
- package/dist/menu/menu-indicator.svelte +1 -1
- package/dist/menu/menu-item-group-label.svelte +2 -2
- package/dist/menu/menu-item-group.svelte +1 -1
- package/dist/menu/menu-item.svelte +2 -2
- package/dist/menu/menu-option-item-indicator.svelte +1 -1
- package/dist/menu/menu-option-item-text.svelte +1 -1
- package/dist/menu/menu-option-item.svelte +2 -2
- package/dist/menu/menu-positioner.svelte +1 -1
- package/dist/menu/menu-separator.svelte +1 -1
- package/dist/menu/menu-trigger-item.svelte +1 -1
- package/dist/menu/menu-trigger.svelte +1 -1
- package/dist/merge-props.js +2 -2
- package/dist/number-input/create-number-input.svelte.d.ts +1 -1
- package/dist/number-input/number-input-context.svelte.d.ts +1 -1
- package/dist/number-input/number-input-control.svelte +1 -1
- package/dist/number-input/number-input-decrement-trigger.svelte +1 -1
- package/dist/number-input/number-input-increment-trigger.svelte +1 -1
- package/dist/number-input/number-input-input.svelte +1 -1
- package/dist/number-input/number-input-label.svelte +1 -1
- package/dist/number-input/number-input-root.svelte +1 -1
- package/dist/number-input/number-input-scrubber.svelte +1 -1
- package/dist/pagination/create-pagination.svelte.d.ts +1 -1
- package/dist/pagination/pagination-context.svelte.d.ts +1 -1
- package/dist/pagination/pagination-ellipsis.svelte +1 -1
- package/dist/pagination/pagination-item.svelte +1 -1
- package/dist/pagination/pagination-next-trigger.svelte +1 -1
- package/dist/pagination/pagination-prev-trigger.svelte +1 -1
- package/dist/pagination/pagination-root.svelte +1 -1
- package/dist/pin-input/create-pin-input.svelte.d.ts +3 -3
- package/dist/pin-input/pin-input-clear-trigger.svelte +2 -2
- package/dist/pin-input/pin-input-context.svelte.d.ts +1 -1
- package/dist/pin-input/pin-input-hidden-input.svelte +1 -1
- package/dist/pin-input/pin-input-input.svelte +1 -1
- package/dist/pin-input/pin-input-label.svelte +1 -1
- package/dist/pin-input/pin-input-root.svelte +1 -1
- package/dist/popover/popover-arrow-tip.svelte +1 -1
- package/dist/popover/popover-arrow.svelte +1 -1
- package/dist/popover/popover-close-trigger.svelte +1 -1
- package/dist/popover/popover-content.svelte +3 -3
- package/dist/popover/popover-context.svelte.d.ts +1 -1
- package/dist/popover/popover-description.svelte +1 -1
- package/dist/popover/popover-positioner.svelte +1 -1
- package/dist/popover/popover-title.svelte +1 -1
- package/dist/popover/popover-trigger.svelte +1 -1
- package/dist/presence/create-presence.svelte.d.ts +2 -2
- package/dist/presence/create-presence.svelte.js +2 -2
- package/dist/presence/presence-context.svelte.d.ts +2 -2
- package/dist/presence/presence.svelte +3 -3
- package/dist/progress/create-progress.svelte.d.ts +1 -1
- package/dist/progress/progress-circle-range.svelte +1 -1
- package/dist/progress/progress-circle-track.svelte +1 -1
- package/dist/progress/progress-circle.svelte +1 -1
- package/dist/progress/progress-context.svelte.d.ts +1 -1
- package/dist/progress/progress-label.svelte +1 -1
- package/dist/progress/progress-range.svelte +1 -1
- package/dist/progress/progress-root.svelte +1 -1
- package/dist/progress/progress-track.svelte +1 -1
- package/dist/progress/progress-value-text.svelte +1 -1
- package/dist/progress/progress-view.svelte +1 -1
- package/dist/qr-code/create-qr-code.svelte.d.ts +1 -1
- package/dist/qr-code/qr-code-context.svelte.d.ts +1 -1
- package/dist/qr-code/qr-code-frame.svelte +1 -1
- package/dist/qr-code/qr-code-overlay.svelte +1 -1
- package/dist/qr-code/qr-code-pattern.svelte +1 -1
- package/dist/qr-code/qr-code-root.svelte +1 -1
- package/dist/radio-group/create-radio-group.svelte.d.ts +1 -1
- package/dist/radio-group/radio-group-context.svelte.d.ts +2 -2
- package/dist/radio-group/radio-group-indicator.svelte +1 -1
- package/dist/radio-group/radio-group-item-control.svelte +1 -1
- package/dist/radio-group/radio-group-item-hidden-input.svelte +1 -1
- package/dist/radio-group/radio-group-item-text.svelte +1 -1
- package/dist/radio-group/radio-group-item.svelte +1 -1
- package/dist/radio-group/radio-group-label.svelte +1 -1
- package/dist/radio-group/radio-group-root.svelte +1 -1
- package/dist/rating-group/create-rating-group.svelte.d.ts +1 -1
- package/dist/rating-group/rating-group-context.svelte.d.ts +1 -1
- package/dist/rating-group/rating-group-control.svelte +1 -1
- package/dist/rating-group/rating-group-hidden-input.svelte +1 -1
- package/dist/rating-group/rating-group-item.svelte +1 -1
- package/dist/rating-group/rating-group-label.svelte +1 -1
- package/dist/rating-group/rating-group-root.svelte +1 -1
- package/dist/segment-group/create-segment-group.svelte.d.ts +1 -1
- package/dist/segment-group/segment-group-context.svelte.d.ts +2 -2
- package/dist/segment-group/segment-group-indicator.svelte +1 -1
- package/dist/segment-group/segment-group-item-control.svelte +1 -1
- package/dist/segment-group/segment-group-item-hidden-input.svelte +1 -1
- package/dist/segment-group/segment-group-item-text.svelte +1 -1
- package/dist/segment-group/segment-group-item.svelte +1 -1
- package/dist/segment-group/segment-group-label.svelte +1 -1
- package/dist/segment-group/segment-group-root.svelte +1 -1
- package/dist/select/select-clear-trigger.svelte +1 -1
- package/dist/select/select-content.svelte +3 -3
- package/dist/select/select-context.svelte.d.ts +3 -3
- package/dist/select/select-control.svelte +1 -1
- package/dist/select/select-hidden-select.svelte +1 -1
- package/dist/select/select-indicator.svelte +1 -1
- package/dist/select/select-item-group-label.svelte +1 -1
- package/dist/select/select-item-group.svelte +1 -1
- package/dist/select/select-item-indicator.svelte +1 -1
- package/dist/select/select-item-text.svelte +1 -1
- package/dist/select/select-item.svelte +1 -1
- package/dist/select/select-label.svelte +1 -1
- package/dist/select/select-list.svelte +1 -1
- package/dist/select/select-positioner.svelte +1 -1
- package/dist/select/select-root.svelte +1 -1
- package/dist/select/select-trigger.svelte +1 -1
- package/dist/select/select-value-text.svelte +1 -1
- package/dist/signature-pad/create-signature-pad.svelte.d.ts +1 -1
- package/dist/signature-pad/signature-pad-clear-trigger.svelte +1 -1
- package/dist/signature-pad/signature-pad-context.svelte.d.ts +1 -1
- package/dist/signature-pad/signature-pad-control.svelte +1 -1
- package/dist/signature-pad/signature-pad-current-segment-path.svelte +1 -1
- package/dist/signature-pad/signature-pad-guide.svelte +1 -1
- package/dist/signature-pad/signature-pad-hidden-input.svelte +1 -1
- package/dist/signature-pad/signature-pad-label.svelte +1 -1
- package/dist/signature-pad/signature-pad-root.svelte +1 -1
- package/dist/signature-pad/signature-pad-segment-path.svelte +1 -1
- package/dist/signature-pad/signature-pad-segment.svelte +1 -1
- package/dist/slider/create-slider.svelte.d.ts +1 -1
- package/dist/slider/slider-context.svelte.d.ts +2 -2
- package/dist/slider/slider-control.svelte +1 -1
- package/dist/slider/slider-hidden-input.svelte +1 -1
- package/dist/slider/slider-label.svelte +1 -1
- package/dist/slider/slider-marker-group.svelte +1 -1
- package/dist/slider/slider-marker.svelte +1 -1
- package/dist/slider/slider-range.svelte +1 -1
- package/dist/slider/slider-root.svelte +1 -1
- package/dist/slider/slider-thumb.svelte +1 -1
- package/dist/slider/slider-track.svelte +1 -1
- package/dist/slider/slider-value-text.svelte +1 -1
- package/dist/splitter/create-splitter.svelte.d.ts +1 -1
- package/dist/splitter/splitter-context.svelte.d.ts +1 -1
- package/dist/splitter/splitter-panel.svelte +1 -1
- package/dist/splitter/splitter-resize-trigger.svelte +1 -1
- package/dist/splitter/splitter-root.svelte +1 -1
- package/dist/steps/create-steps.svelte.d.ts +1 -1
- package/dist/steps/steps-completed-content.svelte +1 -1
- package/dist/steps/steps-content.svelte +1 -1
- package/dist/steps/steps-context.svelte.d.ts +2 -2
- package/dist/steps/steps-indicator.svelte +1 -1
- package/dist/steps/steps-item.svelte +1 -1
- package/dist/steps/steps-list.svelte +1 -1
- package/dist/steps/steps-next-trigger.svelte +1 -1
- package/dist/steps/steps-prev-trigger.svelte +1 -1
- package/dist/steps/steps-progress.svelte +1 -1
- package/dist/steps/steps-root.svelte +1 -1
- package/dist/steps/steps-separator.svelte +1 -1
- package/dist/steps/steps-trigger.svelte +1 -1
- package/dist/switch/create-switch.svelte.d.ts +1 -1
- package/dist/switch/switch-context.svelte.d.ts +1 -1
- package/dist/switch/switch-control.svelte +1 -1
- package/dist/switch/switch-hidden-input.svelte +1 -1
- package/dist/switch/switch-label.svelte +1 -1
- package/dist/switch/switch-root.svelte +1 -1
- package/dist/switch/switch-thumb.svelte +1 -1
- package/dist/tabs/create-tabs.svelte.d.ts +1 -1
- package/dist/tabs/tabs-content.svelte +1 -1
- package/dist/tabs/tabs-context.svelte.d.ts +1 -1
- package/dist/tabs/tabs-list.svelte +1 -1
- package/dist/tabs/tabs-root.svelte +1 -1
- package/dist/tabs/tabs-trigger.svelte +1 -1
- package/dist/tags-input/create-tags-input.svelte.d.ts +1 -1
- package/dist/tags-input/tags-input-clear-trigger.svelte +1 -1
- package/dist/tags-input/tags-input-context.svelte.d.ts +2 -2
- package/dist/tags-input/tags-input-control.svelte +1 -1
- package/dist/tags-input/tags-input-hidden-input.svelte +1 -1
- package/dist/tags-input/tags-input-input.svelte +1 -1
- package/dist/tags-input/tags-input-item-delete-trigger.svelte +1 -1
- package/dist/tags-input/tags-input-item-input.svelte +1 -1
- package/dist/tags-input/tags-input-item-preview.svelte +1 -1
- package/dist/tags-input/tags-input-item-text.svelte +1 -1
- package/dist/tags-input/tags-input-item.svelte +1 -1
- package/dist/tags-input/tags-input-label.svelte +1 -1
- package/dist/tags-input/tags-input-root.svelte +1 -1
- package/dist/time-picker/time-picker-clear-trigger.svelte +1 -1
- package/dist/time-picker/time-picker-column.svelte +1 -1
- package/dist/time-picker/time-picker-content.svelte +3 -3
- package/dist/time-picker/time-picker-context.svelte.d.ts +1 -1
- package/dist/time-picker/time-picker-control.svelte +1 -1
- package/dist/time-picker/time-picker-hour-cell.svelte +1 -1
- package/dist/time-picker/time-picker-input.svelte +1 -1
- package/dist/time-picker/time-picker-label.svelte +1 -1
- package/dist/time-picker/time-picker-minute-cell.svelte +1 -1
- package/dist/time-picker/time-picker-period-cell.svelte +1 -1
- package/dist/time-picker/time-picker-positioner.svelte +1 -1
- package/dist/time-picker/time-picker-root.svelte +1 -1
- package/dist/time-picker/time-picker-second-cell.svelte +1 -1
- package/dist/time-picker/time-picker-spacer.svelte +1 -1
- package/dist/time-picker/time-picker-trigger.svelte +1 -1
- package/dist/timer/create-timer.svelte.d.ts +1 -1
- package/dist/timer/timer-action-trigger.svelte +1 -1
- package/dist/timer/timer-area.svelte +1 -1
- package/dist/timer/timer-context.svelte.d.ts +2 -2
- package/dist/timer/timer-control.svelte +1 -1
- package/dist/timer/timer-item-label.svelte +1 -1
- package/dist/timer/timer-item-value.svelte +1 -1
- package/dist/timer/timer-item.svelte +1 -1
- package/dist/timer/timer-root.svelte +1 -1
- package/dist/timer/timer-separator.svelte +1 -1
- package/dist/toast/create-toaster.svelte.d.ts +1 -1
- package/dist/toast/toast-action-trigger.svelte +1 -1
- package/dist/toast/toast-actor.svelte +3 -3
- package/dist/toast/toast-actor.svelte.d.ts +1 -1
- package/dist/toast/toast-close-trigger.svelte +1 -1
- package/dist/toast/toast-context.svelte.d.ts +1 -1
- package/dist/toast/toast-description.svelte +1 -1
- package/dist/toast/toast-ghost-after.svelte +1 -1
- package/dist/toast/toast-ghost-before.svelte +1 -1
- package/dist/toast/toast-root.svelte +1 -1
- package/dist/toast/toast-title.svelte +1 -1
- package/dist/toast/toaster.svelte +6 -4
- package/dist/toggle-group/create-toggle-group.svelte.d.ts +1 -1
- package/dist/toggle-group/toggle-group-context.svelte.d.ts +1 -1
- package/dist/toggle-group/toggle-group-item.svelte +1 -1
- package/dist/toggle-group/toggle-group-root.svelte +1 -1
- package/dist/tooltip/tooltip-arrow-tip.svelte +1 -1
- package/dist/tooltip/tooltip-arrow.svelte +1 -1
- package/dist/tooltip/tooltip-content.svelte +3 -3
- package/dist/tooltip/tooltip-context.svelte.d.ts +1 -1
- package/dist/tooltip/tooltip-positioner.svelte +1 -1
- package/dist/tooltip/tooltip-trigger.svelte +1 -1
- package/dist/tour/create-tour.svelte.d.ts +1 -1
- package/dist/tour/tour-arrow-tip.svelte +1 -1
- package/dist/tour/tour-arrow.svelte +1 -1
- package/dist/tour/tour-close-trigger.svelte +1 -1
- package/dist/tour/tour-content.svelte +2 -2
- package/dist/tour/tour-context.svelte.d.ts +1 -1
- package/dist/tour/tour-description.svelte +1 -1
- package/dist/tour/tour-next-trigger.svelte +1 -1
- package/dist/tour/tour-overlay.svelte +2 -2
- package/dist/tour/tour-positioner.svelte +1 -1
- package/dist/tour/tour-prev-trigger.svelte +1 -1
- package/dist/tour/tour-progress-text.svelte +1 -1
- package/dist/tour/tour-skip-trigger.svelte +1 -1
- package/dist/tour/tour-spotlight.svelte +1 -1
- package/dist/tour/tour-title.svelte +1 -1
- package/dist/tree-view/create-tree-view.svelte.d.ts +1 -1
- package/dist/tree-view/tree-view-branch-content.svelte +1 -1
- package/dist/tree-view/tree-view-branch-control.svelte +1 -1
- package/dist/tree-view/tree-view-branch-indicator.svelte +1 -1
- package/dist/tree-view/tree-view-branch-text.svelte +1 -1
- package/dist/tree-view/tree-view-branch-trigger.svelte +1 -1
- package/dist/tree-view/tree-view-branch.svelte +1 -1
- package/dist/tree-view/tree-view-context.svelte.d.ts +3 -3
- package/dist/tree-view/tree-view-item-indicator.svelte +1 -1
- package/dist/tree-view/tree-view-item-text.svelte +1 -1
- package/dist/tree-view/tree-view-item.svelte +1 -1
- package/dist/tree-view/tree-view-label.svelte +1 -1
- package/dist/tree-view/tree-view-root.svelte +1 -1
- package/dist/tree-view/tree-view-tree.svelte +1 -1
- package/package.json +5 -5
- package/dist/is-object.d.ts +0 -2
@@ -22,15 +22,15 @@
|
|
22
22
|
let presence = getPresenceContext();
|
23
23
|
|
24
24
|
let mergedProps = $derived(
|
25
|
-
mergeProps(
|
25
|
+
mergeProps(popover.getContentProps(), presence.getPresenceProps(), props),
|
26
26
|
);
|
27
27
|
</script>
|
28
28
|
|
29
29
|
{#if presence.mounted}
|
30
30
|
{#if asChild}
|
31
|
-
{@render asChild(presence.
|
31
|
+
{@render asChild(presence.setReference, mergedProps)}
|
32
32
|
{:else}
|
33
|
-
<div bind:this={ref} use:presence.
|
33
|
+
<div bind:this={ref} use:presence.setReference {...mergedProps}>
|
34
34
|
{@render children?.()}
|
35
35
|
</div>
|
36
36
|
{/if}
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import type { CreatePopoverReturn } from './create-popover.svelte.js';
|
2
|
-
export declare const getPopoverContext: () => CreatePopoverReturn, setPopoverContext: (context: CreatePopoverReturn | (() => CreatePopoverReturn)) =>
|
2
|
+
export declare const getPopoverContext: () => CreatePopoverReturn, setPopoverContext: (context: CreatePopoverReturn | (() => CreatePopoverReturn)) => void;
|
@@ -10,8 +10,8 @@ export interface CreatePresenceProps extends PresenceStrategyProps {
|
|
10
10
|
present: boolean;
|
11
11
|
}
|
12
12
|
export interface CreatePresenceReturn {
|
13
|
-
|
14
|
-
getPresenceProps
|
13
|
+
setReference: Action;
|
14
|
+
getPresenceProps(): HTMLAttributes<HTMLElement>;
|
15
15
|
mounted: boolean;
|
16
16
|
}
|
17
17
|
export declare function createPresence(props: CreatePresenceProps): CreatePresenceReturn;
|
@@ -34,11 +34,11 @@ export function createPresence(props) {
|
|
34
34
|
return true;
|
35
35
|
return false;
|
36
36
|
});
|
37
|
-
const
|
37
|
+
const setReference = (node) => {
|
38
38
|
api.setNode(node);
|
39
39
|
};
|
40
40
|
return {
|
41
|
-
|
41
|
+
setReference,
|
42
42
|
getPresenceProps,
|
43
43
|
get mounted() {
|
44
44
|
return !unmounted;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import type { CreatePresenceReturn, PresenceStrategyProps } from './create-presence.svelte.js';
|
2
|
-
export declare const getPresenceContext: () => CreatePresenceReturn, setPresenceContext: (context: CreatePresenceReturn | (() => CreatePresenceReturn)) =>
|
3
|
-
export declare const getPresenceStrategyPropsContext: () => PresenceStrategyProps, setPresenceStrategyPropsContext: (context: PresenceStrategyProps | (() => PresenceStrategyProps)) =>
|
2
|
+
export declare const getPresenceContext: () => CreatePresenceReturn, setPresenceContext: (context: CreatePresenceReturn | (() => CreatePresenceReturn)) => void;
|
3
|
+
export declare const getPresenceStrategyPropsContext: () => PresenceStrategyProps, setPresenceStrategyPropsContext: (context: PresenceStrategyProps | (() => PresenceStrategyProps)) => void;
|
@@ -29,15 +29,15 @@
|
|
29
29
|
let presence = createPresence(reflect(() => createPresenceProps));
|
30
30
|
|
31
31
|
let mergedProps = $derived(
|
32
|
-
mergeProps(
|
32
|
+
mergeProps(presence.getPresenceProps() as any, localProps),
|
33
33
|
);
|
34
34
|
</script>
|
35
35
|
|
36
36
|
{#if presence.mounted}
|
37
37
|
{#if asChild}
|
38
|
-
{@render asChild(presence.
|
38
|
+
{@render asChild(presence.setReference, mergedProps)}
|
39
39
|
{:else}
|
40
|
-
<div use:presence.
|
40
|
+
<div use:presence.setReference {...mergedProps}>
|
41
41
|
{@render children?.()}
|
42
42
|
</div>
|
43
43
|
{/if}
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import type { CreateProgressReturn } from './create-progress.svelte.js';
|
2
|
-
export declare const getProgressContext: () => CreateProgressReturn, setProgressContext: (context: CreateProgressReturn | (() => CreateProgressReturn)) =>
|
2
|
+
export declare const getProgressContext: () => CreateProgressReturn, setProgressContext: (context: CreateProgressReturn | (() => CreateProgressReturn)) => void;
|
@@ -40,7 +40,7 @@
|
|
40
40
|
|
41
41
|
let progress = createProgress(reflect(() => createProgressProps));
|
42
42
|
|
43
|
-
let mergedProps = $derived(mergeProps(
|
43
|
+
let mergedProps = $derived(mergeProps(progress.getRootProps(), localProps));
|
44
44
|
|
45
45
|
setProgressContext(progress);
|
46
46
|
</script>
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import type { CreateQrCodeReturn } from './create-qr-code.svelte.js';
|
2
|
-
export declare const getQrCodeContext: () => CreateQrCodeReturn, setQrCodeContext: (context: CreateQrCodeReturn | (() => CreateQrCodeReturn)) =>
|
2
|
+
export declare const getQrCodeContext: () => CreateQrCodeReturn, setQrCodeContext: (context: CreateQrCodeReturn | (() => CreateQrCodeReturn)) => void;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
let qrCode = createQRCode(reflect(() => createQrCodeProps));
|
36
36
|
|
37
|
-
let mergedProps = $derived(mergeProps(
|
37
|
+
let mergedProps = $derived(mergeProps(qrCode.getRootProps(), localProps));
|
38
38
|
|
39
39
|
setQrCodeContext(qrCode);
|
40
40
|
</script>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as radioGroup from '@zag-js/radio-group';
|
2
2
|
export interface CreateRadioGroupProps extends Omit<radioGroup.Context, 'id' | 'dir' | 'getRootNode'> {
|
3
|
-
id?: string
|
3
|
+
id?: string;
|
4
4
|
}
|
5
5
|
export interface CreateRadioGroupReturn extends radioGroup.Api {
|
6
6
|
}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import type { ItemProps } from '@zag-js/radio-group';
|
2
2
|
import type { CreateRadioGroupReturn } from './create-radio-group.svelte.js';
|
3
|
-
export declare const getRadioGroupContext: () => CreateRadioGroupReturn, setRadioGroupContext: (context: CreateRadioGroupReturn | (() => CreateRadioGroupReturn)) =>
|
4
|
-
export declare const getRadioGroupItemPropsContext: () => ItemProps, setRadioGroupItemPropsContext: (context: ItemProps | (() => ItemProps)) =>
|
3
|
+
export declare const getRadioGroupContext: () => CreateRadioGroupReturn, setRadioGroupContext: (context: CreateRadioGroupReturn | (() => CreateRadioGroupReturn)) => void;
|
4
|
+
export declare const getRadioGroupItemPropsContext: () => ItemProps, setRadioGroupItemPropsContext: (context: ItemProps | (() => ItemProps)) => void;
|
@@ -33,7 +33,7 @@
|
|
33
33
|
let itemState = $derived(radioGroup.getItemState(itemProps));
|
34
34
|
|
35
35
|
let mergedProps = $derived(
|
36
|
-
mergeProps(
|
36
|
+
mergeProps(radioGroup.getItemProps(itemProps), localProps),
|
37
37
|
);
|
38
38
|
|
39
39
|
setRadioGroupItemPropsContext(() => itemProps);
|
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
let radioGroup = createRadioGroup(reflect(() => createRadioGroupProps));
|
44
44
|
|
45
|
-
let mergedProps = $derived(mergeProps(
|
45
|
+
let mergedProps = $derived(mergeProps(radioGroup.getRootProps(), localProps));
|
46
46
|
|
47
47
|
setRadioGroupContext(radioGroup);
|
48
48
|
</script>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as ratingGroup from '@zag-js/rating-group';
|
2
2
|
export interface CreateRatingGroupProps extends Omit<ratingGroup.Context, 'id' | 'dir' | 'getRootNode'> {
|
3
|
-
id?: string
|
3
|
+
id?: string;
|
4
4
|
}
|
5
5
|
export interface CreateRatingGroupReturn extends ratingGroup.Api {
|
6
6
|
}
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import type { CreateRatingGroupReturn } from './create-rating-group.svelte.js';
|
2
|
-
export declare const getRatingGroupContext: () => CreateRatingGroupReturn, setRatingGroupContext: (context: CreateRatingGroupReturn | (() => CreateRatingGroupReturn)) =>
|
2
|
+
export declare const getRatingGroupContext: () => CreateRatingGroupReturn, setRatingGroupContext: (context: CreateRatingGroupReturn | (() => CreateRatingGroupReturn)) => void;
|
@@ -48,7 +48,7 @@
|
|
48
48
|
let ratingGroup = createRatingGroup(reflect(() => createRatingGroupProps));
|
49
49
|
|
50
50
|
let mergedProps = $derived(
|
51
|
-
mergeProps(
|
51
|
+
mergeProps(ratingGroup.getRootProps(), localProps),
|
52
52
|
);
|
53
53
|
|
54
54
|
setRatingGroupContext(ratingGroup);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as segmentGroup from '@zag-js/radio-group';
|
2
2
|
export interface CreateSegmentGroupProps extends Omit<segmentGroup.Context, 'id' | 'dir' | 'getRootNode'> {
|
3
|
-
id?: string
|
3
|
+
id?: string;
|
4
4
|
}
|
5
5
|
export interface CreateSegmentGroupReturn extends segmentGroup.Api {
|
6
6
|
}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import type { ItemProps } from '@zag-js/radio-group';
|
2
2
|
import type { CreateSegmentGroupReturn } from './create-segment-group.svelte.js';
|
3
|
-
export declare const getSegmentGroupContext: () => CreateSegmentGroupReturn, setSegmentGroupContext: (context: CreateSegmentGroupReturn | (() => CreateSegmentGroupReturn)) =>
|
4
|
-
export declare const getSegmentGroupItemPropsContext: () => ItemProps, setSegmentGroupItemPropsContext: (context: ItemProps | (() => ItemProps)) =>
|
3
|
+
export declare const getSegmentGroupContext: () => CreateSegmentGroupReturn, setSegmentGroupContext: (context: CreateSegmentGroupReturn | (() => CreateSegmentGroupReturn)) => void;
|
4
|
+
export declare const getSegmentGroupItemPropsContext: () => ItemProps, setSegmentGroupItemPropsContext: (context: ItemProps | (() => ItemProps)) => void;
|
@@ -20,7 +20,7 @@
|
|
20
20
|
let segmentGroup = getSegmentGroupContext();
|
21
21
|
|
22
22
|
let mergedProps = $derived(
|
23
|
-
mergeProps(
|
23
|
+
mergeProps(segmentGroup.getIndicatorProps(), parts.indicator.attrs, props),
|
24
24
|
);
|
25
25
|
</script>
|
26
26
|
|
@@ -44,7 +44,7 @@
|
|
44
44
|
let segmentGroup = createSegmentGroup(reflect(() => createSegmentGroupProps));
|
45
45
|
|
46
46
|
let mergedProps = $derived(
|
47
|
-
mergeProps(
|
47
|
+
mergeProps(segmentGroup.getRootProps(), parts.root.attrs, localProps),
|
48
48
|
);
|
49
49
|
|
50
50
|
setSegmentGroupContext(segmentGroup);
|
@@ -22,15 +22,15 @@
|
|
22
22
|
let presence = getPresenceContext();
|
23
23
|
|
24
24
|
let mergedProps = $derived(
|
25
|
-
mergeProps(
|
25
|
+
mergeProps(select.getContentProps(), presence.getPresenceProps(), props),
|
26
26
|
);
|
27
27
|
</script>
|
28
28
|
|
29
29
|
{#if presence.mounted}
|
30
30
|
{#if asChild}
|
31
|
-
{@render asChild(presence.
|
31
|
+
{@render asChild(presence.setReference, mergedProps)}
|
32
32
|
{:else}
|
33
|
-
<div bind:this={ref} use:presence.
|
33
|
+
<div bind:this={ref} use:presence.setReference {...mergedProps}>
|
34
34
|
{@render children?.()}
|
35
35
|
</div>
|
36
36
|
{/if}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ItemGroupProps, ItemProps } from '@zag-js/select';
|
2
2
|
import type { CreateSelectReturn } from './create-select.svelte.js';
|
3
|
-
export declare const getSelectContext: () => CreateSelectReturn, setSelectContext: (context: CreateSelectReturn | (() => CreateSelectReturn)) =>
|
4
|
-
export declare const getSelectItemPropsContext: () => ItemProps<any>, setSelectItemPropsContext: (context: ItemProps<any> | (() => ItemProps<any>)) =>
|
5
|
-
export declare const getSelectItemGroupPropsContext: () => ItemGroupProps, setSelectItemGroupPropsContext: (context: ItemGroupProps | (() => ItemGroupProps)) =>
|
3
|
+
export declare const getSelectContext: () => CreateSelectReturn, setSelectContext: (context: CreateSelectReturn | (() => CreateSelectReturn)) => void;
|
4
|
+
export declare const getSelectItemPropsContext: () => ItemProps<any>, setSelectItemPropsContext: (context: ItemProps<any> | (() => ItemProps<any>)) => void;
|
5
|
+
export declare const getSelectItemGroupPropsContext: () => ItemGroupProps, setSelectItemGroupPropsContext: (context: ItemGroupProps | (() => ItemGroupProps)) => void;
|