ui-ingredients 0.0.45 → 0.0.47
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/accordion/context.svelte.d.ts +2 -2
- package/dist/accordion/item-content.svelte +7 -2
- package/dist/accordion/item-content.svelte.d.ts +4 -0
- package/dist/accordion/item-indicator.svelte +7 -2
- package/dist/accordion/item-indicator.svelte.d.ts +3 -0
- package/dist/accordion/item-trigger.svelte +7 -2
- package/dist/accordion/item-trigger.svelte.d.ts +3 -0
- package/dist/accordion/item.svelte +2 -2
- package/dist/accordion/item.svelte.d.ts +4 -0
- package/dist/accordion/root.svelte +61 -61
- package/dist/accordion/root.svelte.d.ts +5 -0
- package/dist/avatar/context.svelte.d.ts +1 -1
- package/dist/avatar/fallback.svelte +2 -2
- package/dist/avatar/fallback.svelte.d.ts +3 -0
- package/dist/avatar/image.svelte +2 -2
- package/dist/avatar/image.svelte.d.ts +3 -0
- package/dist/avatar/root.svelte +2 -2
- package/dist/avatar/root.svelte.d.ts +4 -0
- package/dist/carousel/context.svelte.d.ts +1 -1
- package/dist/carousel/indicator-group.svelte +7 -2
- package/dist/carousel/indicator-group.svelte.d.ts +3 -0
- package/dist/carousel/indicator.svelte +33 -33
- package/dist/carousel/indicator.svelte.d.ts +4 -0
- package/dist/carousel/item-group.svelte +2 -2
- package/dist/carousel/item-group.svelte.d.ts +3 -0
- package/dist/carousel/item.svelte +34 -34
- package/dist/carousel/item.svelte.d.ts +4 -0
- package/dist/carousel/next-trigger.svelte +7 -2
- package/dist/carousel/next-trigger.svelte.d.ts +3 -0
- package/dist/carousel/prev-trigger.svelte +7 -2
- package/dist/carousel/prev-trigger.svelte.d.ts +3 -0
- package/dist/carousel/root.svelte +51 -51
- package/dist/carousel/root.svelte.d.ts +4 -0
- package/dist/carousel/viewport.svelte +2 -2
- package/dist/carousel/viewport.svelte.d.ts +3 -0
- package/dist/checkbox/context.svelte.d.ts +1 -1
- package/dist/checkbox/control.svelte +2 -2
- package/dist/checkbox/control.svelte.d.ts +3 -0
- package/dist/checkbox/hidden-input.svelte +2 -2
- package/dist/checkbox/hidden-input.svelte.d.ts +3 -0
- package/dist/checkbox/indicator.svelte +2 -2
- package/dist/checkbox/indicator.svelte.d.ts +3 -0
- package/dist/checkbox/label.svelte +2 -2
- package/dist/checkbox/label.svelte.d.ts +3 -0
- package/dist/checkbox/root.svelte +2 -2
- package/dist/checkbox/root.svelte.d.ts +4 -0
- package/dist/clipboard/context.svelte.d.ts +1 -1
- package/dist/clipboard/control.svelte +2 -2
- package/dist/clipboard/control.svelte.d.ts +3 -0
- package/dist/clipboard/indicator.svelte +2 -1
- package/dist/clipboard/indicator.svelte.d.ts +4 -0
- package/dist/clipboard/input.svelte +2 -2
- package/dist/clipboard/input.svelte.d.ts +3 -0
- package/dist/clipboard/label.svelte +2 -2
- package/dist/clipboard/label.svelte.d.ts +3 -0
- package/dist/clipboard/root.svelte +2 -2
- package/dist/clipboard/root.svelte.d.ts +4 -0
- package/dist/clipboard/trigger.svelte +2 -2
- package/dist/clipboard/trigger.svelte.d.ts +3 -0
- package/dist/collapsible/content.svelte +7 -2
- package/dist/collapsible/content.svelte.d.ts +3 -0
- package/dist/collapsible/context.svelte.d.ts +1 -1
- package/dist/collapsible/root.svelte +2 -2
- package/dist/collapsible/root.svelte.d.ts +4 -0
- package/dist/collapsible/trigger.svelte +7 -2
- package/dist/collapsible/trigger.svelte.d.ts +3 -0
- package/dist/color-picker/area-background.svelte.d.ts +3 -0
- package/dist/color-picker/area-thumb.svelte.d.ts +3 -0
- package/dist/color-picker/area.svelte.d.ts +4 -0
- package/dist/color-picker/channel-input.svelte.d.ts +4 -0
- package/dist/color-picker/channel-slider-label.svelte.d.ts +4 -0
- package/dist/color-picker/channel-slider-thumb.svelte.d.ts +3 -0
- package/dist/color-picker/channel-slider-track.svelte.d.ts +3 -0
- package/dist/color-picker/channel-slider-value-text.svelte.d.ts +3 -0
- package/dist/color-picker/channel-slider.svelte.d.ts +4 -0
- package/dist/color-picker/content.svelte.d.ts +4 -0
- package/dist/color-picker/context.svelte.d.ts +5 -5
- package/dist/color-picker/control.svelte.d.ts +3 -0
- package/dist/color-picker/eye-dropper-trigger.svelte.d.ts +3 -0
- package/dist/color-picker/format-select.svelte.d.ts +3 -0
- package/dist/color-picker/format-trigger.svelte.d.ts +3 -0
- package/dist/color-picker/hidden-input.svelte.d.ts +3 -0
- package/dist/color-picker/label.svelte.d.ts +3 -0
- package/dist/color-picker/positioner.svelte.d.ts +3 -0
- package/dist/color-picker/root.svelte.d.ts +4 -0
- package/dist/color-picker/swatch-group.svelte.d.ts +3 -0
- package/dist/color-picker/swatch-indicator.svelte.d.ts +3 -0
- package/dist/color-picker/swatch-trigger.svelte.d.ts +4 -0
- package/dist/color-picker/swatch.svelte.d.ts +4 -0
- package/dist/color-picker/transparency-grid.svelte.d.ts +4 -0
- package/dist/color-picker/trigger.svelte.d.ts +3 -0
- package/dist/color-picker/value-text.svelte.d.ts +3 -0
- package/dist/combobox/clear-trigger.svelte +7 -2
- package/dist/combobox/clear-trigger.svelte.d.ts +3 -0
- package/dist/combobox/content.svelte +2 -2
- package/dist/combobox/content.svelte.d.ts +4 -0
- package/dist/combobox/context.svelte.d.ts +3 -3
- package/dist/combobox/control.svelte +2 -2
- package/dist/combobox/control.svelte.d.ts +3 -0
- package/dist/combobox/input.svelte +2 -2
- package/dist/combobox/input.svelte.d.ts +3 -0
- package/dist/combobox/item-group-label.svelte +7 -2
- package/dist/combobox/item-group-label.svelte.d.ts +3 -0
- package/dist/combobox/item-group.svelte +8 -2
- package/dist/combobox/item-group.svelte.d.ts +3 -0
- package/dist/combobox/item-indicator.svelte +7 -2
- package/dist/combobox/item-indicator.svelte.d.ts +3 -0
- package/dist/combobox/item-text.svelte +2 -2
- package/dist/combobox/item-text.svelte.d.ts +3 -0
- package/dist/combobox/item.svelte +2 -2
- package/dist/combobox/item.svelte.d.ts +4 -0
- package/dist/combobox/label.svelte +2 -2
- package/dist/combobox/label.svelte.d.ts +3 -0
- package/dist/combobox/list.svelte +2 -2
- package/dist/combobox/list.svelte.d.ts +3 -0
- package/dist/combobox/positioner.svelte +7 -2
- package/dist/combobox/positioner.svelte.d.ts +3 -0
- package/dist/combobox/root.svelte +2 -2
- package/dist/combobox/root.svelte.d.ts +6 -1
- package/dist/combobox/trigger.svelte +2 -2
- package/dist/combobox/trigger.svelte.d.ts +3 -0
- package/dist/create-context.svelte.d.ts +8 -3
- package/dist/create-context.svelte.js +15 -12
- package/dist/date-picker/clear-trigger.svelte +7 -2
- package/dist/date-picker/clear-trigger.svelte.d.ts +3 -0
- package/dist/date-picker/content.svelte +2 -2
- package/dist/date-picker/content.svelte.d.ts +4 -0
- package/dist/date-picker/context.svelte.d.ts +5 -5
- package/dist/date-picker/control.svelte +2 -2
- package/dist/date-picker/control.svelte.d.ts +3 -0
- package/dist/date-picker/day-table-cell-trigger.svelte +7 -3
- package/dist/date-picker/day-table-cell-trigger.svelte.d.ts +3 -0
- package/dist/date-picker/day-table-cell.svelte +7 -2
- package/dist/date-picker/day-table-cell.svelte.d.ts +4 -0
- package/dist/date-picker/input.svelte +2 -2
- package/dist/date-picker/input.svelte.d.ts +4 -0
- package/dist/date-picker/label.svelte +8 -2
- package/dist/date-picker/label.svelte.d.ts +4 -0
- package/dist/date-picker/month-select.svelte +7 -2
- package/dist/date-picker/month-select.svelte.d.ts +3 -0
- package/dist/date-picker/month-table-cell-trigger.svelte +7 -3
- package/dist/date-picker/month-table-cell-trigger.svelte.d.ts +3 -0
- package/dist/date-picker/month-table-cell.svelte +7 -2
- package/dist/date-picker/month-table-cell.svelte.d.ts +4 -0
- package/dist/date-picker/next-trigger.svelte +7 -2
- package/dist/date-picker/next-trigger.svelte.d.ts +3 -0
- package/dist/date-picker/positioner.svelte +7 -2
- package/dist/date-picker/positioner.svelte.d.ts +3 -0
- package/dist/date-picker/preset-trigger.svelte +8 -3
- package/dist/date-picker/preset-trigger.svelte.d.ts +4 -0
- package/dist/date-picker/prev-trigger.svelte +7 -2
- package/dist/date-picker/prev-trigger.svelte.d.ts +3 -0
- package/dist/date-picker/range-text.svelte +7 -2
- package/dist/date-picker/range-text.svelte.d.ts +3 -0
- package/dist/date-picker/root.svelte +2 -2
- package/dist/date-picker/root.svelte.d.ts +5 -0
- package/dist/date-picker/table-body.svelte +7 -2
- package/dist/date-picker/table-body.svelte.d.ts +3 -0
- package/dist/date-picker/table-head.svelte +7 -2
- package/dist/date-picker/table-head.svelte.d.ts +3 -0
- package/dist/date-picker/table-header.svelte +7 -2
- package/dist/date-picker/table-header.svelte.d.ts +3 -0
- package/dist/date-picker/table-row.svelte +7 -2
- package/dist/date-picker/table-row.svelte.d.ts +3 -0
- package/dist/date-picker/table.svelte +9 -3
- package/dist/date-picker/table.svelte.d.ts +4 -0
- package/dist/date-picker/trigger.svelte +2 -2
- package/dist/date-picker/trigger.svelte.d.ts +3 -0
- package/dist/date-picker/view-control.svelte +7 -2
- package/dist/date-picker/view-control.svelte.d.ts +3 -0
- package/dist/date-picker/view-trigger.svelte +7 -2
- package/dist/date-picker/view-trigger.svelte.d.ts +3 -0
- package/dist/date-picker/view.svelte +2 -1
- package/dist/date-picker/view.svelte.d.ts +4 -0
- package/dist/date-picker/year-select.svelte +7 -2
- package/dist/date-picker/year-select.svelte.d.ts +3 -0
- package/dist/date-picker/year-table-cell-trigger.svelte +7 -3
- package/dist/date-picker/year-table-cell-trigger.svelte.d.ts +3 -0
- package/dist/date-picker/year-table-cell.svelte +7 -2
- package/dist/date-picker/year-table-cell.svelte.d.ts +4 -0
- package/dist/dialog/backdrop.svelte +2 -2
- package/dist/dialog/backdrop.svelte.d.ts +4 -0
- package/dist/dialog/close-trigger.svelte +7 -2
- package/dist/dialog/close-trigger.svelte.d.ts +3 -0
- package/dist/dialog/content.svelte +2 -2
- package/dist/dialog/content.svelte.d.ts +4 -0
- package/dist/dialog/context.svelte.d.ts +1 -1
- package/dist/dialog/description.svelte +2 -2
- package/dist/dialog/description.svelte.d.ts +3 -0
- package/dist/dialog/positioner.svelte +2 -2
- package/dist/dialog/positioner.svelte.d.ts +3 -0
- package/dist/dialog/root.svelte.d.ts +6 -0
- package/dist/dialog/title.svelte +2 -2
- package/dist/dialog/title.svelte.d.ts +3 -0
- package/dist/dialog/trigger.svelte +2 -2
- package/dist/dialog/trigger.svelte.d.ts +3 -0
- package/dist/editable/area.svelte +2 -2
- package/dist/editable/area.svelte.d.ts +3 -0
- package/dist/editable/cancel-trigger.svelte +7 -2
- package/dist/editable/cancel-trigger.svelte.d.ts +3 -0
- package/dist/editable/context.svelte.d.ts +1 -1
- package/dist/editable/control.svelte +2 -2
- package/dist/editable/control.svelte.d.ts +3 -0
- package/dist/editable/edit-trigger.svelte +7 -2
- package/dist/editable/edit-trigger.svelte.d.ts +3 -0
- package/dist/editable/input.svelte +2 -2
- package/dist/editable/input.svelte.d.ts +3 -0
- package/dist/editable/label.svelte +2 -2
- package/dist/editable/label.svelte.d.ts +3 -0
- package/dist/editable/preview.svelte +2 -2
- package/dist/editable/preview.svelte.d.ts +3 -0
- package/dist/editable/root.svelte +2 -2
- package/dist/editable/root.svelte.d.ts +4 -0
- package/dist/editable/submit-trigger.svelte +7 -2
- package/dist/editable/submit-trigger.svelte.d.ts +3 -0
- package/dist/environment-provider/context.svelte.d.ts +1 -1
- package/dist/environment-provider/root.svelte.d.ts +5 -0
- package/dist/field/context.svelte.d.ts +1 -1
- package/dist/field/error-text.svelte +2 -2
- package/dist/field/error-text.svelte.d.ts +3 -0
- package/dist/field/helper-text.svelte +2 -2
- package/dist/field/helper-text.svelte.d.ts +3 -0
- package/dist/field/input.svelte +2 -2
- package/dist/field/input.svelte.d.ts +3 -0
- package/dist/field/label.svelte +2 -2
- package/dist/field/label.svelte.d.ts +3 -0
- package/dist/field/root.svelte +2 -2
- package/dist/field/root.svelte.d.ts +4 -0
- package/dist/field/select.svelte +2 -2
- package/dist/field/select.svelte.d.ts +3 -0
- package/dist/field/textarea.svelte +2 -2
- package/dist/field/textarea.svelte.d.ts +3 -0
- package/dist/file-upload/context.svelte.d.ts +2 -2
- package/dist/file-upload/dropzone.svelte +7 -2
- package/dist/file-upload/dropzone.svelte.d.ts +3 -0
- package/dist/file-upload/hidden-input.svelte +2 -2
- package/dist/file-upload/hidden-input.svelte.d.ts +3 -0
- package/dist/file-upload/item-delete-trigger.svelte +7 -3
- package/dist/file-upload/item-delete-trigger.svelte.d.ts +3 -0
- package/dist/file-upload/item-group.svelte +7 -2
- package/dist/file-upload/item-group.svelte.d.ts +3 -0
- package/dist/file-upload/item-name.svelte +7 -2
- package/dist/file-upload/item-name.svelte.d.ts +3 -0
- package/dist/file-upload/item-preview-image.svelte +2 -2
- package/dist/file-upload/item-preview-image.svelte.d.ts +3 -0
- package/dist/file-upload/item-preview.svelte +7 -2
- package/dist/file-upload/item-preview.svelte.d.ts +3 -0
- package/dist/file-upload/item-size-text.svelte +7 -2
- package/dist/file-upload/item-size-text.svelte.d.ts +3 -0
- package/dist/file-upload/item.svelte +2 -2
- package/dist/file-upload/item.svelte.d.ts +4 -0
- package/dist/file-upload/label.svelte +2 -2
- package/dist/file-upload/label.svelte.d.ts +3 -0
- package/dist/file-upload/root.svelte +2 -2
- package/dist/file-upload/root.svelte.d.ts +4 -0
- package/dist/file-upload/trigger.svelte +2 -2
- package/dist/file-upload/trigger.svelte.d.ts +3 -0
- package/dist/floating-panel/body.svelte +2 -2
- package/dist/floating-panel/body.svelte.d.ts +3 -0
- package/dist/floating-panel/close-trigger.svelte +7 -2
- package/dist/floating-panel/close-trigger.svelte.d.ts +3 -0
- package/dist/floating-panel/content.svelte +7 -2
- package/dist/floating-panel/content.svelte.d.ts +4 -0
- package/dist/floating-panel/context.svelte.d.ts +1 -1
- package/dist/floating-panel/drag-trigger.svelte +7 -2
- package/dist/floating-panel/drag-trigger.svelte.d.ts +3 -0
- package/dist/floating-panel/header.svelte +7 -2
- package/dist/floating-panel/header.svelte.d.ts +3 -0
- package/dist/floating-panel/maximize-trigger.svelte +7 -3
- package/dist/floating-panel/maximize-trigger.svelte.d.ts +3 -0
- package/dist/floating-panel/minimize-trigger.svelte +7 -3
- package/dist/floating-panel/minimize-trigger.svelte.d.ts +3 -0
- package/dist/floating-panel/positioner.svelte +7 -2
- package/dist/floating-panel/positioner.svelte.d.ts +3 -0
- package/dist/floating-panel/resize-trigger.svelte +7 -2
- package/dist/floating-panel/resize-trigger.svelte.d.ts +4 -0
- package/dist/floating-panel/restore-trigger.svelte +7 -3
- package/dist/floating-panel/restore-trigger.svelte.d.ts +3 -0
- package/dist/floating-panel/root.svelte.d.ts +6 -0
- package/dist/floating-panel/title.svelte +7 -2
- package/dist/floating-panel/title.svelte.d.ts +3 -0
- package/dist/floating-panel/trigger.svelte +7 -2
- package/dist/floating-panel/trigger.svelte.d.ts +3 -0
- package/dist/highlight/highlight.svelte +2 -2
- package/dist/highlight/highlight.svelte.d.ts +4 -0
- package/dist/hover-card/arrow-tip.svelte +2 -2
- package/dist/hover-card/arrow-tip.svelte.d.ts +3 -0
- package/dist/hover-card/arrow.svelte +2 -2
- package/dist/hover-card/arrow.svelte.d.ts +3 -0
- package/dist/hover-card/content.svelte +2 -2
- package/dist/hover-card/content.svelte.d.ts +4 -0
- package/dist/hover-card/context.svelte.d.ts +1 -1
- package/dist/hover-card/positioner.svelte +7 -2
- package/dist/hover-card/positioner.svelte.d.ts +3 -0
- package/dist/hover-card/root.svelte.d.ts +6 -0
- package/dist/hover-card/trigger.svelte +2 -2
- package/dist/hover-card/trigger.svelte.d.ts +3 -0
- package/dist/is-object.js +16 -2
- package/dist/locale-provider/context.svelte.d.ts +1 -1
- package/dist/locale-provider/root.svelte.d.ts +5 -0
- package/dist/menu/arrow-tip.svelte +2 -2
- package/dist/menu/arrow-tip.svelte.d.ts +3 -0
- package/dist/menu/arrow.svelte +2 -2
- package/dist/menu/arrow.svelte.d.ts +3 -0
- package/dist/menu/content.svelte +2 -2
- package/dist/menu/content.svelte.d.ts +4 -0
- package/dist/menu/context-trigger.svelte +7 -2
- package/dist/menu/context-trigger.svelte.d.ts +3 -0
- package/dist/menu/context.svelte.d.ts +3 -3
- package/dist/menu/indicator.svelte +2 -2
- package/dist/menu/indicator.svelte.d.ts +3 -0
- package/dist/menu/item-group-label.svelte +7 -2
- package/dist/menu/item-group-label.svelte.d.ts +3 -0
- package/dist/menu/item-group.svelte +2 -2
- package/dist/menu/item-group.svelte.d.ts +3 -0
- package/dist/menu/item.svelte +2 -2
- package/dist/menu/item.svelte.d.ts +4 -0
- package/dist/menu/option-item-indicator.svelte +7 -2
- package/dist/menu/option-item-indicator.svelte.d.ts +3 -0
- package/dist/menu/option-item-text.svelte +7 -2
- package/dist/menu/option-item-text.svelte.d.ts +3 -0
- package/dist/menu/option-item.svelte +2 -2
- package/dist/menu/option-item.svelte.d.ts +4 -0
- package/dist/menu/positioner.svelte +2 -2
- package/dist/menu/positioner.svelte.d.ts +3 -0
- package/dist/menu/root.svelte.d.ts +6 -0
- package/dist/menu/separator.svelte +2 -2
- package/dist/menu/separator.svelte.d.ts +3 -0
- package/dist/menu/trigger-item.svelte +7 -2
- package/dist/menu/trigger-item.svelte.d.ts +3 -0
- package/dist/menu/trigger.svelte +2 -2
- package/dist/menu/trigger.svelte.d.ts +3 -0
- package/dist/number-input/context.svelte.d.ts +1 -1
- package/dist/number-input/control.svelte +7 -2
- package/dist/number-input/control.svelte.d.ts +3 -0
- package/dist/number-input/decrement-trigger.svelte +7 -3
- package/dist/number-input/decrement-trigger.svelte.d.ts +3 -0
- package/dist/number-input/increment-trigger.svelte +7 -3
- package/dist/number-input/increment-trigger.svelte.d.ts +3 -0
- package/dist/number-input/input.svelte +2 -2
- package/dist/number-input/input.svelte.d.ts +3 -0
- package/dist/number-input/label.svelte +2 -2
- package/dist/number-input/label.svelte.d.ts +3 -0
- package/dist/number-input/root.svelte +2 -2
- package/dist/number-input/root.svelte.d.ts +4 -0
- package/dist/number-input/scrubber.svelte +7 -2
- package/dist/number-input/scrubber.svelte.d.ts +3 -0
- package/dist/pagination/context.svelte.d.ts +1 -1
- package/dist/pagination/ellipsis.svelte +8 -2
- package/dist/pagination/ellipsis.svelte.d.ts +4 -0
- package/dist/pagination/item.svelte +8 -2
- package/dist/pagination/item.svelte.d.ts +4 -0
- package/dist/pagination/next-trigger.svelte +7 -2
- package/dist/pagination/next-trigger.svelte.d.ts +3 -0
- package/dist/pagination/prev-trigger.svelte +7 -2
- package/dist/pagination/prev-trigger.svelte.d.ts +3 -0
- package/dist/pagination/root.svelte +2 -2
- package/dist/pagination/root.svelte.d.ts +4 -0
- package/dist/pin-input/clear-trigger.svelte +7 -2
- package/dist/pin-input/clear-trigger.svelte.d.ts +3 -0
- package/dist/pin-input/context.svelte.d.ts +1 -1
- package/dist/pin-input/hidden-input.svelte +2 -2
- package/dist/pin-input/hidden-input.svelte.d.ts +3 -0
- package/dist/pin-input/input.svelte +2 -2
- package/dist/pin-input/input.svelte.d.ts +4 -0
- package/dist/pin-input/label.svelte +2 -2
- package/dist/pin-input/label.svelte.d.ts +3 -0
- package/dist/pin-input/root.svelte +2 -2
- package/dist/pin-input/root.svelte.d.ts +4 -0
- package/dist/popover/arrow-tip.svelte +2 -2
- package/dist/popover/arrow-tip.svelte.d.ts +3 -0
- package/dist/popover/arrow.svelte +2 -2
- package/dist/popover/arrow.svelte.d.ts +3 -0
- package/dist/popover/close-trigger.svelte +7 -2
- package/dist/popover/close-trigger.svelte.d.ts +3 -0
- package/dist/popover/content.svelte +2 -2
- package/dist/popover/content.svelte.d.ts +4 -0
- package/dist/popover/context.svelte.d.ts +1 -1
- package/dist/popover/description.svelte +7 -2
- package/dist/popover/description.svelte.d.ts +3 -0
- package/dist/popover/positioner.svelte +2 -2
- package/dist/popover/positioner.svelte.d.ts +3 -0
- package/dist/popover/root.svelte.d.ts +6 -0
- package/dist/popover/title.svelte +2 -2
- package/dist/popover/title.svelte.d.ts +3 -0
- package/dist/popover/trigger.svelte +2 -2
- package/dist/popover/trigger.svelte.d.ts +3 -0
- package/dist/portal/root.svelte.d.ts +7 -0
- package/dist/presence/context.svelte.d.ts +2 -2
- package/dist/presence/root.svelte.d.ts +5 -0
- package/dist/progress/circle-range.svelte +7 -2
- package/dist/progress/circle-range.svelte.d.ts +3 -0
- package/dist/progress/circle-track.svelte +7 -2
- package/dist/progress/circle-track.svelte.d.ts +3 -0
- package/dist/progress/circle.svelte +2 -2
- package/dist/progress/circle.svelte.d.ts +3 -0
- package/dist/progress/context.svelte.d.ts +1 -1
- package/dist/progress/label.svelte +2 -2
- package/dist/progress/label.svelte.d.ts +3 -0
- package/dist/progress/range.svelte +2 -2
- package/dist/progress/range.svelte.d.ts +3 -0
- package/dist/progress/root.svelte +2 -2
- package/dist/progress/root.svelte.d.ts +4 -0
- package/dist/progress/track.svelte +2 -2
- package/dist/progress/track.svelte.d.ts +3 -0
- package/dist/progress/value-text.svelte +2 -2
- package/dist/progress/value-text.svelte.d.ts +3 -0
- package/dist/progress/view.svelte +8 -2
- package/dist/progress/view.svelte.d.ts +4 -0
- package/dist/qr-code/context.svelte.d.ts +1 -1
- package/dist/qr-code/frame.svelte +2 -2
- package/dist/qr-code/frame.svelte.d.ts +3 -0
- package/dist/qr-code/overlay.svelte +2 -2
- package/dist/qr-code/overlay.svelte.d.ts +3 -0
- package/dist/qr-code/pattern.svelte +2 -2
- package/dist/qr-code/pattern.svelte.d.ts +3 -0
- package/dist/qr-code/root.svelte +2 -2
- package/dist/qr-code/root.svelte.d.ts +4 -0
- package/dist/radio-group/context.svelte.d.ts +2 -2
- package/dist/radio-group/indicator.svelte +7 -2
- package/dist/radio-group/indicator.svelte.d.ts +3 -0
- package/dist/radio-group/item-control.svelte +7 -2
- package/dist/radio-group/item-control.svelte.d.ts +3 -0
- package/dist/radio-group/item-hidden-input.svelte +2 -2
- package/dist/radio-group/item-hidden-input.svelte.d.ts +3 -0
- package/dist/radio-group/item-text.svelte +7 -2
- package/dist/radio-group/item-text.svelte.d.ts +3 -0
- package/dist/radio-group/item.svelte +2 -2
- package/dist/radio-group/item.svelte.d.ts +4 -0
- package/dist/radio-group/label.svelte +2 -2
- package/dist/radio-group/label.svelte.d.ts +3 -0
- package/dist/radio-group/root.svelte +2 -2
- package/dist/radio-group/root.svelte.d.ts +4 -0
- package/dist/rating-group/context.svelte.d.ts +1 -1
- package/dist/rating-group/control.svelte +7 -2
- package/dist/rating-group/control.svelte.d.ts +3 -0
- package/dist/rating-group/hidden-input.svelte +2 -2
- package/dist/rating-group/hidden-input.svelte.d.ts +3 -0
- package/dist/rating-group/item.svelte +8 -2
- package/dist/rating-group/item.svelte.d.ts +4 -0
- package/dist/rating-group/label.svelte +2 -2
- package/dist/rating-group/label.svelte.d.ts +3 -0
- package/dist/rating-group/root.svelte +2 -2
- package/dist/rating-group/root.svelte.d.ts +4 -0
- package/dist/segment-group/context.svelte.d.ts +2 -2
- package/dist/segment-group/indicator.svelte +7 -2
- package/dist/segment-group/indicator.svelte.d.ts +3 -0
- package/dist/segment-group/item-control.svelte +7 -2
- package/dist/segment-group/item-control.svelte.d.ts +3 -0
- package/dist/segment-group/item-hidden-input.svelte +2 -2
- package/dist/segment-group/item-hidden-input.svelte.d.ts +3 -0
- package/dist/segment-group/item-text.svelte +7 -2
- package/dist/segment-group/item-text.svelte.d.ts +3 -0
- package/dist/segment-group/item.svelte +2 -2
- package/dist/segment-group/item.svelte.d.ts +4 -0
- package/dist/segment-group/label.svelte +2 -2
- package/dist/segment-group/label.svelte.d.ts +3 -0
- package/dist/segment-group/root.svelte +2 -2
- package/dist/segment-group/root.svelte.d.ts +4 -0
- package/dist/select/clear-trigger.svelte +7 -2
- package/dist/select/clear-trigger.svelte.d.ts +3 -0
- package/dist/select/content.svelte +2 -2
- package/dist/select/content.svelte.d.ts +4 -0
- package/dist/select/context.svelte.d.ts +3 -3
- package/dist/select/control.svelte +2 -2
- package/dist/select/control.svelte.d.ts +3 -0
- package/dist/select/create-select.svelte.js +2 -2
- package/dist/select/hidden-select.svelte +7 -2
- package/dist/select/hidden-select.svelte.d.ts +3 -0
- package/dist/select/indicator.svelte +2 -2
- package/dist/select/indicator.svelte.d.ts +3 -0
- package/dist/select/item-group-label.svelte +7 -2
- package/dist/select/item-group-label.svelte.d.ts +3 -0
- package/dist/select/item-group.svelte +8 -2
- package/dist/select/item-group.svelte.d.ts +3 -0
- package/dist/select/item-indicator.svelte +7 -2
- package/dist/select/item-indicator.svelte.d.ts +3 -0
- package/dist/select/item-text.svelte +2 -2
- package/dist/select/item-text.svelte.d.ts +3 -0
- package/dist/select/item.svelte +2 -2
- package/dist/select/item.svelte.d.ts +4 -0
- package/dist/select/label.svelte +2 -2
- package/dist/select/label.svelte.d.ts +3 -0
- package/dist/select/list.svelte +2 -2
- package/dist/select/list.svelte.d.ts +3 -0
- package/dist/select/positioner.svelte +2 -2
- package/dist/select/positioner.svelte.d.ts +3 -0
- package/dist/select/root.svelte +2 -2
- package/dist/select/root.svelte.d.ts +6 -1
- package/dist/select/trigger.svelte +2 -2
- package/dist/select/trigger.svelte.d.ts +3 -0
- package/dist/select/value-text.svelte +8 -3
- package/dist/select/value-text.svelte.d.ts +3 -0
- package/dist/signature-pad/clear-trigger.svelte +7 -2
- package/dist/signature-pad/clear-trigger.svelte.d.ts +3 -0
- package/dist/signature-pad/context.svelte.d.ts +1 -1
- package/dist/signature-pad/control.svelte +7 -2
- package/dist/signature-pad/control.svelte.d.ts +3 -0
- package/dist/signature-pad/current-segment-path.svelte +7 -3
- package/dist/signature-pad/current-segment-path.svelte.d.ts +3 -0
- package/dist/signature-pad/guide.svelte +2 -2
- package/dist/signature-pad/guide.svelte.d.ts +3 -0
- package/dist/signature-pad/hidden-input.svelte +7 -2
- package/dist/signature-pad/hidden-input.svelte.d.ts +4 -0
- package/dist/signature-pad/label.svelte +2 -2
- package/dist/signature-pad/label.svelte.d.ts +3 -0
- package/dist/signature-pad/root.svelte +2 -2
- package/dist/signature-pad/root.svelte.d.ts +4 -0
- package/dist/signature-pad/segment-path.svelte +8 -3
- package/dist/signature-pad/segment-path.svelte.d.ts +4 -0
- package/dist/signature-pad/segment.svelte +7 -2
- package/dist/signature-pad/segment.svelte.d.ts +3 -0
- package/dist/slider/context.svelte.d.ts +2 -2
- package/dist/slider/control.svelte +2 -2
- package/dist/slider/control.svelte.d.ts +3 -0
- package/dist/slider/hidden-input.svelte +2 -2
- package/dist/slider/hidden-input.svelte.d.ts +3 -0
- package/dist/slider/label.svelte +2 -2
- package/dist/slider/label.svelte.d.ts +3 -0
- package/dist/slider/marker-group.svelte +2 -2
- package/dist/slider/marker-group.svelte.d.ts +3 -0
- package/dist/slider/marker.svelte +8 -2
- package/dist/slider/marker.svelte.d.ts +4 -0
- package/dist/slider/range.svelte +2 -2
- package/dist/slider/range.svelte.d.ts +3 -0
- package/dist/slider/root.svelte +2 -2
- package/dist/slider/root.svelte.d.ts +4 -0
- package/dist/slider/thumb.svelte +2 -2
- package/dist/slider/thumb.svelte.d.ts +4 -0
- package/dist/slider/track.svelte +2 -2
- package/dist/slider/track.svelte.d.ts +3 -0
- package/dist/slider/value-text.svelte +2 -2
- package/dist/slider/value-text.svelte.d.ts +3 -0
- package/dist/splitter/context.svelte.d.ts +1 -1
- package/dist/splitter/panel.svelte +2 -2
- package/dist/splitter/panel.svelte.d.ts +4 -0
- package/dist/splitter/resize-trigger.svelte +7 -2
- package/dist/splitter/resize-trigger.svelte.d.ts +12 -0
- package/dist/splitter/root.svelte +2 -2
- package/dist/splitter/root.svelte.d.ts +4 -0
- package/dist/steps/completed-content.svelte +7 -2
- package/dist/steps/completed-content.svelte.d.ts +3 -0
- package/dist/steps/content.svelte +8 -2
- package/dist/steps/content.svelte.d.ts +4 -0
- package/dist/steps/context.svelte.d.ts +2 -2
- package/dist/steps/indicator.svelte +2 -2
- package/dist/steps/indicator.svelte.d.ts +3 -0
- package/dist/steps/item.svelte +2 -2
- package/dist/steps/item.svelte.d.ts +4 -0
- package/dist/steps/list.svelte +2 -2
- package/dist/steps/list.svelte.d.ts +3 -0
- package/dist/steps/next-trigger.svelte +2 -2
- package/dist/steps/next-trigger.svelte.d.ts +3 -0
- package/dist/steps/prev-trigger.svelte +2 -2
- package/dist/steps/prev-trigger.svelte.d.ts +3 -0
- package/dist/steps/progress.svelte +2 -2
- package/dist/steps/progress.svelte.d.ts +3 -0
- package/dist/steps/root.svelte +2 -2
- package/dist/steps/root.svelte.d.ts +4 -0
- package/dist/steps/separator.svelte +2 -2
- package/dist/steps/separator.svelte.d.ts +3 -0
- package/dist/steps/trigger.svelte +2 -2
- package/dist/steps/trigger.svelte.d.ts +3 -0
- package/dist/switch/context.svelte.d.ts +1 -1
- package/dist/switch/control.svelte +4 -4
- package/dist/switch/control.svelte.d.ts +3 -0
- package/dist/switch/create-switch.svelte.d.ts +3 -3
- package/dist/switch/create-switch.svelte.js +3 -3
- package/dist/switch/hidden-input.svelte +4 -4
- package/dist/switch/hidden-input.svelte.d.ts +3 -0
- package/dist/switch/label.svelte +4 -4
- package/dist/switch/label.svelte.d.ts +3 -0
- package/dist/switch/root.svelte +7 -7
- package/dist/switch/root.svelte.d.ts +4 -0
- package/dist/switch/thumb.svelte +4 -4
- package/dist/switch/thumb.svelte.d.ts +3 -0
- package/dist/tabs/content.svelte +2 -2
- package/dist/tabs/content.svelte.d.ts +4 -0
- package/dist/tabs/context.svelte.d.ts +1 -1
- package/dist/tabs/list.svelte +2 -2
- package/dist/tabs/list.svelte.d.ts +3 -0
- package/dist/tabs/root.svelte +2 -2
- package/dist/tabs/root.svelte.d.ts +4 -0
- package/dist/tabs/trigger.svelte +2 -2
- package/dist/tabs/trigger.svelte.d.ts +4 -0
- package/dist/tags-input/clear-trigger.svelte +7 -2
- package/dist/tags-input/clear-trigger.svelte.d.ts +3 -0
- package/dist/tags-input/context.svelte.d.ts +2 -2
- package/dist/tags-input/control.svelte +2 -2
- package/dist/tags-input/control.svelte.d.ts +3 -0
- package/dist/tags-input/hidden-input.svelte +2 -2
- package/dist/tags-input/hidden-input.svelte.d.ts +3 -0
- package/dist/tags-input/input.svelte +2 -2
- package/dist/tags-input/input.svelte.d.ts +3 -0
- package/dist/tags-input/item-delete-trigger.svelte +7 -2
- package/dist/tags-input/item-delete-trigger.svelte.d.ts +3 -0
- package/dist/tags-input/item-input.svelte +2 -2
- package/dist/tags-input/item-input.svelte.d.ts +3 -0
- package/dist/tags-input/item-preview.svelte +7 -2
- package/dist/tags-input/item-preview.svelte.d.ts +3 -0
- package/dist/tags-input/item-text.svelte +2 -2
- package/dist/tags-input/item-text.svelte.d.ts +3 -0
- package/dist/tags-input/item.svelte +2 -2
- package/dist/tags-input/item.svelte.d.ts +4 -0
- package/dist/tags-input/label.svelte +2 -2
- package/dist/tags-input/label.svelte.d.ts +3 -0
- package/dist/tags-input/root.svelte +2 -2
- package/dist/tags-input/root.svelte.d.ts +4 -0
- package/dist/time-picker/clear-trigger.svelte +7 -2
- package/dist/time-picker/clear-trigger.svelte.d.ts +3 -0
- package/dist/time-picker/column.svelte +8 -2
- package/dist/time-picker/column.svelte.d.ts +4 -0
- package/dist/time-picker/content.svelte +2 -2
- package/dist/time-picker/content.svelte.d.ts +4 -0
- package/dist/time-picker/context.svelte.d.ts +1 -1
- package/dist/time-picker/control.svelte +2 -2
- package/dist/time-picker/control.svelte.d.ts +3 -0
- package/dist/time-picker/hour-cell.svelte +8 -2
- package/dist/time-picker/hour-cell.svelte.d.ts +4 -0
- package/dist/time-picker/input.svelte +2 -2
- package/dist/time-picker/input.svelte.d.ts +3 -0
- package/dist/time-picker/label.svelte +2 -2
- package/dist/time-picker/label.svelte.d.ts +3 -0
- package/dist/time-picker/minute-cell.svelte +8 -3
- package/dist/time-picker/minute-cell.svelte.d.ts +4 -0
- package/dist/time-picker/period-cell.svelte +8 -3
- package/dist/time-picker/period-cell.svelte.d.ts +4 -0
- package/dist/time-picker/positioner.svelte +7 -2
- package/dist/time-picker/positioner.svelte.d.ts +3 -0
- package/dist/time-picker/root.svelte +2 -2
- package/dist/time-picker/root.svelte.d.ts +5 -0
- package/dist/time-picker/second-cell.svelte +8 -3
- package/dist/time-picker/second-cell.svelte.d.ts +4 -0
- package/dist/time-picker/spacer.svelte +2 -2
- package/dist/time-picker/spacer.svelte.d.ts +3 -0
- package/dist/time-picker/trigger.svelte +2 -2
- package/dist/time-picker/trigger.svelte.d.ts +3 -0
- package/dist/timer/action-trigger.svelte +8 -2
- package/dist/timer/action-trigger.svelte.d.ts +4 -0
- package/dist/timer/area.svelte +24 -0
- package/dist/timer/area.svelte.d.ts +21 -0
- package/dist/timer/context.svelte.d.ts +2 -2
- package/dist/timer/control.svelte +24 -0
- package/dist/timer/control.svelte.d.ts +21 -0
- package/dist/timer/index.d.ts +2 -0
- package/dist/timer/item-label.svelte +2 -2
- package/dist/timer/item-label.svelte.d.ts +3 -0
- package/dist/timer/item-value.svelte +2 -2
- package/dist/timer/item-value.svelte.d.ts +3 -0
- package/dist/timer/item.svelte +2 -2
- package/dist/timer/item.svelte.d.ts +4 -0
- package/dist/timer/root.svelte +2 -2
- package/dist/timer/root.svelte.d.ts +4 -0
- package/dist/timer/separator.svelte +2 -2
- package/dist/timer/separator.svelte.d.ts +3 -0
- package/dist/timer/timer.d.ts +2 -0
- package/dist/timer/timer.js +2 -0
- package/dist/toast/action-trigger.svelte +7 -2
- package/dist/toast/action-trigger.svelte.d.ts +3 -0
- package/dist/toast/close-trigger.svelte +2 -2
- package/dist/toast/close-trigger.svelte.d.ts +3 -0
- package/dist/toast/context.svelte.d.ts +1 -1
- package/dist/toast/description.svelte +2 -2
- package/dist/toast/description.svelte.d.ts +3 -0
- package/dist/toast/ghost-after.svelte +2 -2
- package/dist/toast/ghost-after.svelte.d.ts +3 -0
- package/dist/toast/ghost-before.svelte +2 -2
- package/dist/toast/ghost-before.svelte.d.ts +3 -0
- package/dist/toast/root.svelte +2 -2
- package/dist/toast/root.svelte.d.ts +4 -0
- package/dist/toast/title.svelte +2 -2
- package/dist/toast/title.svelte.d.ts +3 -0
- package/dist/toast/toaster.svelte +2 -2
- package/dist/toast/toaster.svelte.d.ts +6 -0
- package/dist/toggle-group/context.svelte.d.ts +1 -1
- package/dist/toggle-group/item.svelte +2 -2
- package/dist/toggle-group/item.svelte.d.ts +4 -0
- package/dist/toggle-group/root.svelte +2 -2
- package/dist/toggle-group/root.svelte.d.ts +4 -0
- package/dist/tooltip/arrow-tip.svelte +2 -2
- package/dist/tooltip/arrow-tip.svelte.d.ts +3 -0
- package/dist/tooltip/arrow.svelte +2 -2
- package/dist/tooltip/arrow.svelte.d.ts +3 -0
- package/dist/tooltip/content.svelte +2 -2
- package/dist/tooltip/content.svelte.d.ts +4 -0
- package/dist/tooltip/context.svelte.d.ts +1 -1
- package/dist/tooltip/positioner.svelte +2 -2
- package/dist/tooltip/positioner.svelte.d.ts +3 -0
- package/dist/tooltip/root.svelte.d.ts +6 -0
- package/dist/tooltip/trigger.svelte +2 -2
- package/dist/tooltip/trigger.svelte.d.ts +3 -0
- package/dist/tour/arrow-tip.svelte +2 -2
- package/dist/tour/arrow-tip.svelte.d.ts +3 -0
- package/dist/tour/arrow.svelte +2 -2
- package/dist/tour/arrow.svelte.d.ts +3 -0
- package/dist/tour/close-trigger.svelte +2 -2
- package/dist/tour/close-trigger.svelte.d.ts +3 -0
- package/dist/tour/content.svelte +2 -2
- package/dist/tour/content.svelte.d.ts +3 -0
- package/dist/tour/context.svelte.d.ts +1 -1
- package/dist/tour/description.svelte +2 -2
- package/dist/tour/description.svelte.d.ts +3 -0
- package/dist/tour/next-trigger.svelte +2 -2
- package/dist/tour/next-trigger.svelte.d.ts +3 -0
- package/dist/tour/overlay.svelte +2 -2
- package/dist/tour/overlay.svelte.d.ts +3 -0
- package/dist/tour/positioner.svelte +2 -2
- package/dist/tour/positioner.svelte.d.ts +3 -0
- package/dist/tour/prev-trigger.svelte +2 -2
- package/dist/tour/prev-trigger.svelte.d.ts +3 -0
- package/dist/tour/progress-text.svelte +2 -2
- package/dist/tour/progress-text.svelte.d.ts +3 -0
- package/dist/tour/root.svelte.d.ts +6 -0
- package/dist/tour/skip-trigger.svelte +2 -2
- package/dist/tour/skip-trigger.svelte.d.ts +3 -0
- package/dist/tour/spotlight.svelte +2 -2
- package/dist/tour/spotlight.svelte.d.ts +3 -0
- package/dist/tour/title.svelte +2 -2
- package/dist/tour/title.svelte.d.ts +3 -0
- package/dist/tree-view/branch-content.svelte +7 -2
- package/dist/tree-view/branch-content.svelte.d.ts +3 -0
- package/dist/tree-view/branch-control.svelte +7 -2
- package/dist/tree-view/branch-control.svelte.d.ts +3 -0
- package/dist/tree-view/branch-indicator.svelte +7 -2
- package/dist/tree-view/branch-indicator.svelte.d.ts +3 -0
- package/dist/tree-view/branch-text.svelte +7 -2
- package/dist/tree-view/branch-text.svelte.d.ts +3 -0
- package/dist/tree-view/branch-trigger.svelte +7 -2
- package/dist/tree-view/branch-trigger.svelte.d.ts +3 -0
- package/dist/tree-view/branch.svelte +2 -2
- package/dist/tree-view/branch.svelte.d.ts +4 -0
- package/dist/tree-view/context.svelte.d.ts +3 -3
- package/dist/tree-view/item-indicator.svelte +7 -2
- package/dist/tree-view/item-indicator.svelte.d.ts +3 -0
- package/dist/tree-view/item-text.svelte +2 -2
- package/dist/tree-view/item-text.svelte.d.ts +3 -0
- package/dist/tree-view/item.svelte +2 -2
- package/dist/tree-view/item.svelte.d.ts +4 -0
- package/dist/tree-view/label.svelte +2 -2
- package/dist/tree-view/label.svelte.d.ts +3 -0
- package/dist/tree-view/root.svelte +2 -2
- package/dist/tree-view/root.svelte.d.ts +4 -0
- package/dist/tree-view/tree.svelte +2 -2
- package/dist/tree-view/tree.svelte.d.ts +3 -0
- package/dist/types.d.ts +2 -1
- package/package.json +56 -53
@@ -9,7 +9,7 @@
|
|
9
9
|
import {mergeProps} from '../merge-props.js';
|
10
10
|
import {getFileUploadContext} from './context.svelte.js';
|
11
11
|
|
12
|
-
let {asChild, children, ...props}: FileUploadTriggerProps = $props();
|
12
|
+
let {this: e, asChild, children, ...props}: FileUploadTriggerProps = $props();
|
13
13
|
|
14
14
|
let fileUpload = getFileUploadContext();
|
15
15
|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
{#if asChild}
|
20
20
|
{@render asChild(mergedProps)}
|
21
21
|
{:else}
|
22
|
-
<button type="button" {...mergedProps}>
|
22
|
+
<button bind:this={e} type="button" {...mergedProps}>
|
23
23
|
{@render children?.()}
|
24
24
|
</button>
|
25
25
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface FileUploadTriggerProps extends HtmlIngredientProps<'button'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import {mergeProps} from '../merge-props.js';
|
9
9
|
import {getFloatingPanelContext} from './context.svelte.js';
|
10
10
|
|
11
|
-
let {asChild, children, ...props}: FloatingPanelBodyProps = $props();
|
11
|
+
let {this: e, asChild, children, ...props}: FloatingPanelBodyProps = $props();
|
12
12
|
|
13
13
|
let floatingPanel = getFloatingPanelContext();
|
14
14
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
{#if asChild}
|
19
19
|
{@render asChild(mergedProps)}
|
20
20
|
{:else}
|
21
|
-
<div {...mergedProps}>
|
21
|
+
<div bind:this={e} {...mergedProps}>
|
22
22
|
{@render children?.()}
|
23
23
|
</div>
|
24
24
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface FloatingPanelBodyProps extends HtmlIngredientProps<'div'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -9,7 +9,12 @@
|
|
9
9
|
import {mergeProps} from '../merge-props.js';
|
10
10
|
import {getFloatingPanelContext} from './context.svelte.js';
|
11
11
|
|
12
|
-
let {
|
12
|
+
let {
|
13
|
+
this: e,
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: FloatingPanelCloseTriggerProps = $props();
|
13
18
|
|
14
19
|
let floatingPanel = getFloatingPanelContext();
|
15
20
|
|
@@ -21,7 +26,7 @@
|
|
21
26
|
{#if asChild}
|
22
27
|
{@render asChild(mergedProps)}
|
23
28
|
{:else}
|
24
|
-
<button type="button" {...mergedProps}>
|
29
|
+
<button bind:this={e} type="button" {...mergedProps}>
|
25
30
|
{@render children?.()}
|
26
31
|
</button>
|
27
32
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface FloatingPanelCloseTriggerProps extends HtmlIngredientProps<'button'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -11,7 +11,12 @@
|
|
11
11
|
import {getPresenceContext} from '../presence/context.svelte.js';
|
12
12
|
import {getFloatingPanelContext} from './context.svelte.js';
|
13
13
|
|
14
|
-
let {
|
14
|
+
let {
|
15
|
+
this: e,
|
16
|
+
asChild,
|
17
|
+
children,
|
18
|
+
...props
|
19
|
+
}: FloatingPanelContentProps = $props();
|
15
20
|
|
16
21
|
let floatingPanel = getFloatingPanelContext();
|
17
22
|
let presence = getPresenceContext();
|
@@ -29,7 +34,7 @@
|
|
29
34
|
{#if asChild}
|
30
35
|
{@render asChild(presence.ref, mergedProps)}
|
31
36
|
{:else}
|
32
|
-
<div use:presence.ref {...mergedProps}>
|
37
|
+
<div bind:this={e} use:presence.ref {...mergedProps}>
|
33
38
|
{@render children?.()}
|
34
39
|
</div>
|
35
40
|
{/if}
|
@@ -1,3 +1,7 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
import type { Action } from 'svelte/action';
|
3
|
+
export interface FloatingPanelContentProps extends HtmlIngredientProps<'div', never, Action> {
|
4
|
+
}
|
1
5
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
6
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
7
|
$$bindings?: Bindings;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import type { CreateFloatingPanelReturn } from './create-floating-panel.svelte.js';
|
2
|
-
export declare const getFloatingPanelContext: () => CreateFloatingPanelReturn, setFloatingPanelContext: (context: CreateFloatingPanelReturn | (() => CreateFloatingPanelReturn)) =>
|
2
|
+
export declare const getFloatingPanelContext: () => CreateFloatingPanelReturn, setFloatingPanelContext: (context: CreateFloatingPanelReturn | (() => CreateFloatingPanelReturn)) => CreateFloatingPanelReturn;
|
@@ -9,7 +9,12 @@
|
|
9
9
|
import {mergeProps} from '../merge-props.js';
|
10
10
|
import {getFloatingPanelContext} from './context.svelte.js';
|
11
11
|
|
12
|
-
let {
|
12
|
+
let {
|
13
|
+
this: e,
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: FloatingPanelDragTriggerProps = $props();
|
13
18
|
|
14
19
|
let floatingPanel = getFloatingPanelContext();
|
15
20
|
|
@@ -21,7 +26,7 @@
|
|
21
26
|
{#if asChild}
|
22
27
|
{@render asChild(mergedProps)}
|
23
28
|
{:else}
|
24
|
-
<button type="button" {...mergedProps}>
|
29
|
+
<button bind:this={e} type="button" {...mergedProps}>
|
25
30
|
{@render children?.()}
|
26
31
|
</button>
|
27
32
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface FloatingPanelDragTriggerProps extends HtmlIngredientProps<'button'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -9,7 +9,12 @@
|
|
9
9
|
import {mergeProps} from '../merge-props.js';
|
10
10
|
import {getFloatingPanelContext} from './context.svelte.js';
|
11
11
|
|
12
|
-
let {
|
12
|
+
let {
|
13
|
+
this: e,
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: FloatingPanelHeaderProps = $props();
|
13
18
|
|
14
19
|
let floatingPanel = getFloatingPanelContext();
|
15
20
|
|
@@ -19,7 +24,7 @@
|
|
19
24
|
{#if asChild}
|
20
25
|
{@render asChild(mergedProps)}
|
21
26
|
{:else}
|
22
|
-
<div {...mergedProps}>
|
27
|
+
<div bind:this={e} {...mergedProps}>
|
23
28
|
{@render children?.()}
|
24
29
|
</div>
|
25
30
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface FloatingPanelHeaderProps extends HtmlIngredientProps<'div'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -9,8 +9,12 @@
|
|
9
9
|
import {mergeProps} from '../merge-props.js';
|
10
10
|
import {getFloatingPanelContext} from './context.svelte.js';
|
11
11
|
|
12
|
-
let {
|
13
|
-
|
12
|
+
let {
|
13
|
+
this: e,
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: FloatingPanelMaximizeTriggerProps = $props();
|
14
18
|
|
15
19
|
let floatingPanel = getFloatingPanelContext();
|
16
20
|
|
@@ -22,7 +26,7 @@
|
|
22
26
|
{#if asChild}
|
23
27
|
{@render asChild(mergedProps)}
|
24
28
|
{:else}
|
25
|
-
<button type="button" {...mergedProps}>
|
29
|
+
<button bind:this={e} type="button" {...mergedProps}>
|
26
30
|
{@render children?.()}
|
27
31
|
</button>
|
28
32
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface FloatingPanelMaximizeTriggerProps extends HtmlIngredientProps<'button'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -9,8 +9,12 @@
|
|
9
9
|
import {mergeProps} from '../merge-props.js';
|
10
10
|
import {getFloatingPanelContext} from './context.svelte.js';
|
11
11
|
|
12
|
-
let {
|
13
|
-
|
12
|
+
let {
|
13
|
+
this: e,
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: FloatingPanelMinimizeTriggerProps = $props();
|
14
18
|
|
15
19
|
let floatingPanel = getFloatingPanelContext();
|
16
20
|
|
@@ -22,7 +26,7 @@
|
|
22
26
|
{#if asChild}
|
23
27
|
{@render asChild(mergedProps)}
|
24
28
|
{:else}
|
25
|
-
<button type="button" {...mergedProps}>
|
29
|
+
<button bind:this={e} type="button" {...mergedProps}>
|
26
30
|
{@render children?.()}
|
27
31
|
</button>
|
28
32
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface FloatingPanelMinimizeTriggerProps extends HtmlIngredientProps<'button'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -10,7 +10,12 @@
|
|
10
10
|
import {getPresenceContext} from '../presence/context.svelte.js';
|
11
11
|
import {getFloatingPanelContext} from './context.svelte.js';
|
12
12
|
|
13
|
-
let {
|
13
|
+
let {
|
14
|
+
this: e,
|
15
|
+
asChild,
|
16
|
+
children,
|
17
|
+
...props
|
18
|
+
}: FloatingPanelPositionerProps = $props();
|
14
19
|
|
15
20
|
let floatingPanel = getFloatingPanelContext();
|
16
21
|
let presence = getPresenceContext();
|
@@ -28,7 +33,7 @@
|
|
28
33
|
{#if asChild}
|
29
34
|
{@render asChild(mergedProps)}
|
30
35
|
{:else}
|
31
|
-
<div {...mergedProps}>
|
36
|
+
<div bind:this={e} {...mergedProps}>
|
32
37
|
{@render children?.()}
|
33
38
|
</div>
|
34
39
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface FloatingPanelPositionerProps extends HtmlIngredientProps<'div'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -11,7 +11,12 @@
|
|
11
11
|
import {createSplitProps} from '@zag-js/utils';
|
12
12
|
import {getFloatingPanelContext} from './context.svelte.js';
|
13
13
|
|
14
|
-
let {
|
14
|
+
let {
|
15
|
+
this: e,
|
16
|
+
asChild,
|
17
|
+
children,
|
18
|
+
...props
|
19
|
+
}: FloatingPanelResizeTriggerProps = $props();
|
15
20
|
|
16
21
|
let floatingPanel = getFloatingPanelContext();
|
17
22
|
|
@@ -30,7 +35,7 @@
|
|
30
35
|
{#if asChild}
|
31
36
|
{@render asChild(mergedProps)}
|
32
37
|
{:else}
|
33
|
-
<button type="button" {...mergedProps}>
|
38
|
+
<button bind:this={e} type="button" {...mergedProps}>
|
34
39
|
{@render children?.()}
|
35
40
|
</button>
|
36
41
|
{/if}
|
@@ -1,3 +1,7 @@
|
|
1
|
+
import type { Assign, HtmlIngredientProps } from '../types.js';
|
2
|
+
import type { ResizeTriggerProps } from '@zag-js/floating-panel';
|
3
|
+
export interface FloatingPanelResizeTriggerProps extends Assign<HtmlIngredientProps<'button'>, ResizeTriggerProps> {
|
4
|
+
}
|
1
5
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
6
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
7
|
$$bindings?: Bindings;
|
@@ -9,8 +9,12 @@
|
|
9
9
|
import {mergeProps} from '../merge-props.js';
|
10
10
|
import {getFloatingPanelContext} from './context.svelte.js';
|
11
11
|
|
12
|
-
let {
|
13
|
-
|
12
|
+
let {
|
13
|
+
this: e,
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: FloatingPanelRestoreTriggerProps = $props();
|
14
18
|
|
15
19
|
let floatingPanel = getFloatingPanelContext();
|
16
20
|
|
@@ -22,7 +26,7 @@
|
|
22
26
|
{#if asChild}
|
23
27
|
{@render asChild(mergedProps)}
|
24
28
|
{:else}
|
25
|
-
<button type="button" {...mergedProps}>
|
29
|
+
<button bind:this={e} type="button" {...mergedProps}>
|
26
30
|
{@render children?.()}
|
27
31
|
</button>
|
28
32
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface FloatingPanelRestoreTriggerProps extends HtmlIngredientProps<'button'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -1,3 +1,9 @@
|
|
1
|
+
import type { PresenceStrategyProps } from '../presence/create-presence.svelte.js';
|
2
|
+
import type { Snippet } from 'svelte';
|
3
|
+
import type { CreateFloatingPanelProps, CreateFloatingPanelReturn } from './create-floating-panel.svelte.js';
|
4
|
+
export interface FloatingPanelProps extends CreateFloatingPanelProps, PresenceStrategyProps {
|
5
|
+
children?: Snippet<[CreateFloatingPanelReturn]>;
|
6
|
+
}
|
1
7
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
8
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
9
|
$$bindings?: Bindings;
|
@@ -9,7 +9,12 @@
|
|
9
9
|
import {mergeProps} from '../merge-props.js';
|
10
10
|
import {getFloatingPanelContext} from './context.svelte.js';
|
11
11
|
|
12
|
-
let {
|
12
|
+
let {
|
13
|
+
this: e,
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: FloatingPanelTitleProps = $props();
|
13
18
|
|
14
19
|
let floatingPanel = getFloatingPanelContext();
|
15
20
|
|
@@ -19,7 +24,7 @@
|
|
19
24
|
{#if asChild}
|
20
25
|
{@render asChild(mergedProps)}
|
21
26
|
{:else}
|
22
|
-
<span {...mergedProps}>
|
27
|
+
<span bind:this={e} {...mergedProps}>
|
23
28
|
{@render children?.()}
|
24
29
|
</span>
|
25
30
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface FloatingPanelTitleProps extends HtmlIngredientProps<'span'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -9,7 +9,12 @@
|
|
9
9
|
import {mergeProps} from '../merge-props.js';
|
10
10
|
import {getFloatingPanelContext} from './context.svelte.js';
|
11
11
|
|
12
|
-
let {
|
12
|
+
let {
|
13
|
+
this: e,
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: FloatingPanelTriggerProps = $props();
|
13
18
|
|
14
19
|
let floatingPanel = getFloatingPanelContext();
|
15
20
|
|
@@ -21,7 +26,7 @@
|
|
21
26
|
{#if asChild}
|
22
27
|
{@render asChild(mergedProps)}
|
23
28
|
{:else}
|
24
|
-
<button type="button" {...mergedProps}>
|
29
|
+
<button bind:this={e} type="button" {...mergedProps}>
|
25
30
|
{@render children?.()}
|
26
31
|
</button>
|
27
32
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface FloatingPanelTriggerProps extends HtmlIngredientProps<'button'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -13,7 +13,7 @@
|
|
13
13
|
import {highlightWord} from '@zag-js/highlight-word';
|
14
14
|
import {createSplitProps} from '@zag-js/utils';
|
15
15
|
|
16
|
-
let {asChild, ...props}: HighlightProps = $props();
|
16
|
+
let {this: e, asChild, ...props}: HighlightProps = $props();
|
17
17
|
|
18
18
|
let [highlightProps, localProps] = $derived(
|
19
19
|
createSplitProps<HighlightWordProps>([
|
@@ -30,7 +30,7 @@
|
|
30
30
|
{#if asChild}
|
31
31
|
{@render asChild(localProps)}
|
32
32
|
{:else}
|
33
|
-
<div {...localProps}>
|
33
|
+
<div bind:this={e} {...localProps}>
|
34
34
|
{#each chunks as chunk}
|
35
35
|
{#if chunk.match}
|
36
36
|
<mark>{chunk.text}</mark>
|
@@ -1,3 +1,7 @@
|
|
1
|
+
import type { Assign, HtmlIngredientProps } from '../types.js';
|
2
|
+
import type { HighlightWordProps } from '@zag-js/highlight-word';
|
3
|
+
export interface HighlightProps extends Assign<Omit<HtmlIngredientProps<'div'>, 'children'>, HighlightWordProps> {
|
4
|
+
}
|
1
5
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
6
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
7
|
$$bindings?: Bindings;
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import {mergeProps} from '../merge-props.js';
|
9
9
|
import {getHoverCardContext} from './context.svelte.js';
|
10
10
|
|
11
|
-
let {asChild, children, ...props}: HoverCardArrowTipProps = $props();
|
11
|
+
let {this: e, asChild, children, ...props}: HoverCardArrowTipProps = $props();
|
12
12
|
|
13
13
|
let hoverCard = getHoverCardContext();
|
14
14
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
{#if asChild}
|
19
19
|
{@render asChild(mergedProps)}
|
20
20
|
{:else}
|
21
|
-
<span {...mergedProps}>
|
21
|
+
<span bind:this={e} {...mergedProps}>
|
22
22
|
{@render children?.()}
|
23
23
|
</span>
|
24
24
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface HoverCardArrowTipProps extends HtmlIngredientProps<'span'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import {mergeProps} from '../merge-props.js';
|
9
9
|
import {getHoverCardContext} from './context.svelte.js';
|
10
10
|
|
11
|
-
let {asChild, children, ...props}: HoverCardArrowProps = $props();
|
11
|
+
let {this: e, asChild, children, ...props}: HoverCardArrowProps = $props();
|
12
12
|
|
13
13
|
let hoverCard = getHoverCardContext();
|
14
14
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
{#if asChild}
|
19
19
|
{@render asChild(mergedProps)}
|
20
20
|
{:else}
|
21
|
-
<span {...mergedProps}>
|
21
|
+
<span bind:this={e} {...mergedProps}>
|
22
22
|
{@render children?.()}
|
23
23
|
</span>
|
24
24
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface HoverCardArrowProps extends HtmlIngredientProps<'span'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -11,7 +11,7 @@
|
|
11
11
|
import {getPresenceContext} from '../presence/context.svelte.js';
|
12
12
|
import {getHoverCardContext} from './context.svelte.js';
|
13
13
|
|
14
|
-
let {asChild, children, ...props}: HoverCardContentProps = $props();
|
14
|
+
let {this: e, asChild, children, ...props}: HoverCardContentProps = $props();
|
15
15
|
|
16
16
|
let hoverCard = getHoverCardContext();
|
17
17
|
let presence = getPresenceContext();
|
@@ -25,7 +25,7 @@
|
|
25
25
|
{#if asChild}
|
26
26
|
{@render asChild(presence.ref, mergedProps)}
|
27
27
|
{:else}
|
28
|
-
<div use:presence.ref {...mergedProps}>
|
28
|
+
<div bind:this={e} use:presence.ref {...mergedProps}>
|
29
29
|
{@render children?.()}
|
30
30
|
</div>
|
31
31
|
{/if}
|
@@ -1,3 +1,7 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
import type { Action } from 'svelte/action';
|
3
|
+
export interface HoverCardContentProps extends HtmlIngredientProps<'div', never, Action> {
|
4
|
+
}
|
1
5
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
6
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
7
|
$$bindings?: Bindings;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import type { CreateHoverCardReturn } from './create-hover-card.svelte.js';
|
2
|
-
export declare const getHoverCardContext: () => CreateHoverCardReturn, setHoverCardContext: (context: CreateHoverCardReturn | (() => CreateHoverCardReturn)) =>
|
2
|
+
export declare const getHoverCardContext: () => CreateHoverCardReturn, setHoverCardContext: (context: CreateHoverCardReturn | (() => CreateHoverCardReturn)) => CreateHoverCardReturn;
|
@@ -10,7 +10,12 @@
|
|
10
10
|
import {getPresenceContext} from '../presence/context.svelte.js';
|
11
11
|
import {getHoverCardContext} from './context.svelte.js';
|
12
12
|
|
13
|
-
let {
|
13
|
+
let {
|
14
|
+
this: e,
|
15
|
+
asChild,
|
16
|
+
children,
|
17
|
+
...props
|
18
|
+
}: HoverCardPositionerProps = $props();
|
14
19
|
|
15
20
|
let hoverCard = getHoverCardContext();
|
16
21
|
let presence = getPresenceContext();
|
@@ -28,7 +33,7 @@
|
|
28
33
|
{#if asChild}
|
29
34
|
{@render asChild(mergedProps)}
|
30
35
|
{:else}
|
31
|
-
<div {...mergedProps}>
|
36
|
+
<div bind:this={e} {...mergedProps}>
|
32
37
|
{@render children?.()}
|
33
38
|
</div>
|
34
39
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface HoverCardPositionerProps extends HtmlIngredientProps<'div'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
@@ -1,3 +1,9 @@
|
|
1
|
+
import type { PresenceStrategyProps } from '../presence/create-presence.svelte.js';
|
2
|
+
import type { Snippet } from 'svelte';
|
3
|
+
import type { CreateHoverCardProps, CreateHoverCardReturn } from './create-hover-card.svelte.js';
|
4
|
+
export interface HoverCardProps extends CreateHoverCardProps, PresenceStrategyProps {
|
5
|
+
children?: Snippet<[CreateHoverCardReturn]>;
|
6
|
+
}
|
1
7
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
8
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
9
|
$$bindings?: Bindings;
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import {mergeProps} from '../merge-props.js';
|
9
9
|
import {getHoverCardContext} from './context.svelte.js';
|
10
10
|
|
11
|
-
let {asChild, children, ...props}: HoverCardTriggerProps = $props();
|
11
|
+
let {this: e, asChild, children, ...props}: HoverCardTriggerProps = $props();
|
12
12
|
|
13
13
|
let hoverCard = getHoverCardContext();
|
14
14
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
{#if asChild}
|
19
19
|
{@render asChild(mergedProps)}
|
20
20
|
{:else}
|
21
|
-
<a {...mergedProps}>
|
21
|
+
<a bind:this={e} {...mergedProps}>
|
22
22
|
{@render children?.()}
|
23
23
|
</a>
|
24
24
|
{/if}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface HoverCardTriggerProps extends HtmlIngredientProps<'a'> {
|
3
|
+
}
|
1
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
2
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
3
6
|
$$bindings?: Bindings;
|
package/dist/is-object.js
CHANGED
@@ -1,4 +1,18 @@
|
|
1
|
+
/* Credits: https://github.com/lodash/lodash/blob/main/src/isPlainObject.ts */
|
1
2
|
export function isObject(value) {
|
2
|
-
|
3
|
-
|
3
|
+
if (value === null) {
|
4
|
+
return false;
|
5
|
+
}
|
6
|
+
if (typeof value !== 'object' ||
|
7
|
+
Object.prototype.toString.call(value) !== '[object Object]') {
|
8
|
+
return false;
|
9
|
+
}
|
10
|
+
if (Object.getPrototypeOf(value) === null) {
|
11
|
+
return true;
|
12
|
+
}
|
13
|
+
let proto = value;
|
14
|
+
while (Object.getPrototypeOf(proto) !== null) {
|
15
|
+
proto = Object.getPrototypeOf(proto);
|
16
|
+
}
|
17
|
+
return Object.getPrototypeOf(value) === proto;
|
4
18
|
}
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import type { Locale } from '@zag-js/i18n-utils';
|
2
|
-
export declare const getLocaleContext: () => Locale, setLocaleContext: (context: Locale | (() => Locale)) =>
|
2
|
+
export declare const getLocaleContext: () => Locale, setLocaleContext: (context: Locale | (() => Locale)) => Locale;
|