@qualcomm-ui/react-core 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +31 -0
- package/dist/accordion/accordion-context.d.ts +5 -0
- package/dist/accordion/accordion-context.d.ts.map +1 -0
- package/dist/accordion/index.d.ts +3 -0
- package/dist/accordion/index.d.ts.map +1 -0
- package/dist/accordion/index.js +2 -0
- package/dist/accordion/index.js.map +7 -0
- package/dist/accordion/use-accordion.d.ts +10 -0
- package/dist/accordion/use-accordion.d.ts.map +1 -0
- package/dist/avatar/avatar-context.d.ts +3 -0
- package/dist/avatar/avatar-context.d.ts.map +1 -0
- package/dist/avatar/index.d.ts +3 -0
- package/dist/avatar/index.d.ts.map +1 -0
- package/dist/avatar/index.js +2 -0
- package/dist/avatar/index.js.map +7 -0
- package/dist/avatar/use-avatar.d.ts +7 -0
- package/dist/avatar/use-avatar.d.ts.map +1 -0
- package/dist/checkbox/checkbox-context.d.ts +5 -0
- package/dist/checkbox/checkbox-context.d.ts.map +1 -0
- package/dist/checkbox/index.d.ts +3 -0
- package/dist/checkbox/index.d.ts.map +1 -0
- package/dist/checkbox/index.js +2 -0
- package/dist/checkbox/index.js.map +7 -0
- package/dist/checkbox/use-checkbox.d.ts +13 -0
- package/dist/checkbox/use-checkbox.d.ts.map +1 -0
- package/dist/classes/index.d.ts +2 -0
- package/dist/classes/index.d.ts.map +1 -0
- package/dist/classes/index.js +2 -0
- package/dist/classes/index.js.map +7 -0
- package/dist/classes/state-classes.d.ts +4 -0
- package/dist/classes/state-classes.d.ts.map +1 -0
- package/dist/collapsible/collapsible-context.d.ts +3 -0
- package/dist/collapsible/collapsible-context.d.ts.map +1 -0
- package/dist/collapsible/core-collapsible.d.ts +43 -0
- package/dist/collapsible/core-collapsible.d.ts.map +1 -0
- package/dist/collapsible/index.d.ts +12 -0
- package/dist/collapsible/index.d.ts.map +1 -0
- package/dist/collapsible/index.js +2 -0
- package/dist/collapsible/index.js.map +7 -0
- package/dist/collection/index.d.ts +3 -0
- package/dist/collection/index.d.ts.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +7 -0
- package/dist/collection/use-async-list-collection.d.ts +38 -0
- package/dist/collection/use-async-list-collection.d.ts.map +1 -0
- package/dist/collection/use-list-collection.d.ts +88 -0
- package/dist/collection/use-list-collection.d.ts.map +1 -0
- package/dist/combobox/combobox-context.d.ts +3 -0
- package/dist/combobox/combobox-context.d.ts.map +1 -0
- package/dist/combobox/combobox-item-context.d.ts +3 -0
- package/dist/combobox/combobox-item-context.d.ts.map +1 -0
- package/dist/combobox/combobox-item-group-context.d.ts +3 -0
- package/dist/combobox/combobox-item-group-context.d.ts.map +1 -0
- package/dist/combobox/core-combobox.d.ts +62 -0
- package/dist/combobox/core-combobox.d.ts.map +1 -0
- package/dist/combobox/index.d.ts +26 -0
- package/dist/combobox/index.d.ts.map +1 -0
- package/dist/combobox/index.js +2 -0
- package/dist/combobox/index.js.map +7 -0
- package/dist/context/create-guarded-context.d.ts +19 -0
- package/dist/context/create-guarded-context.d.ts.map +1 -0
- package/dist/context/index.d.ts +3 -0
- package/dist/context/index.d.ts.map +1 -0
- package/dist/context/index.js +2 -0
- package/dist/context/index.js.map +7 -0
- package/dist/context/use-context-id.d.ts +29 -0
- package/dist/context/use-context-id.d.ts.map +1 -0
- package/dist/descendants/index.d.ts +2 -0
- package/dist/descendants/index.d.ts.map +1 -0
- package/dist/descendants/index.js +2 -0
- package/dist/descendants/index.js.map +7 -0
- package/dist/descendants/use-descendants.d.ts +10 -0
- package/dist/descendants/use-descendants.d.ts.map +1 -0
- package/dist/dialog/core-dialog.d.ts +81 -0
- package/dist/dialog/core-dialog.d.ts.map +1 -0
- package/dist/dialog/dialog-context.d.ts +3 -0
- package/dist/dialog/dialog-context.d.ts.map +1 -0
- package/dist/dialog/index.d.ts +17 -0
- package/dist/dialog/index.d.ts.map +1 -0
- package/dist/dialog/index.js +2 -0
- package/dist/dialog/index.js.map +7 -0
- package/dist/dom/get-valid-children.d.ts +9 -0
- package/dist/dom/get-valid-children.d.ts.map +1 -0
- package/dist/dom/index.d.ts +10 -0
- package/dist/dom/index.d.ts.map +1 -0
- package/dist/dom/index.js +2 -0
- package/dist/dom/index.js.map +7 -0
- package/dist/dom/is-action-element.d.ts +2 -0
- package/dist/dom/is-action-element.d.ts.map +1 -0
- package/dist/dom/use-clickable.d.ts +52 -0
- package/dist/dom/use-clickable.d.ts.map +1 -0
- package/dist/dom/use-event-listeners.d.ts +9 -0
- package/dist/dom/use-event-listeners.d.ts.map +1 -0
- package/dist/dom/use-grouped-children.d.ts +21 -0
- package/dist/dom/use-grouped-children.d.ts.map +1 -0
- package/dist/dom/use-intersection-observer.d.ts +72 -0
- package/dist/dom/use-intersection-observer.d.ts.map +1 -0
- package/dist/dom/use-mutation-observer.d.ts +12 -0
- package/dist/dom/use-mutation-observer.d.ts.map +1 -0
- package/dist/dom/use-real-shape.d.ts +9 -0
- package/dist/dom/use-real-shape.d.ts.map +1 -0
- package/dist/dom/use-sizes.d.ts +20 -0
- package/dist/dom/use-sizes.d.ts.map +1 -0
- package/dist/effects/index.d.ts +8 -0
- package/dist/effects/index.d.ts.map +1 -0
- package/dist/effects/index.js +2 -0
- package/dist/effects/index.js.map +7 -0
- package/dist/effects/use-debounce.d.ts +8 -0
- package/dist/effects/use-debounce.d.ts.map +1 -0
- package/dist/effects/use-effect-once.d.ts +2 -0
- package/dist/effects/use-effect-once.d.ts.map +1 -0
- package/dist/effects/use-enhanced-effect.d.ts +6 -0
- package/dist/effects/use-enhanced-effect.d.ts.map +1 -0
- package/dist/effects/use-event-callback.d.ts +8 -0
- package/dist/effects/use-event-callback.d.ts.map +1 -0
- package/dist/effects/use-on-destroy-when.d.ts +14 -0
- package/dist/effects/use-on-destroy-when.d.ts.map +1 -0
- package/dist/effects/use-on-destroy.d.ts +12 -0
- package/dist/effects/use-on-destroy.d.ts.map +1 -0
- package/dist/effects/use-safe-layout-effect.d.ts +3 -0
- package/dist/effects/use-safe-layout-effect.d.ts.map +1 -0
- package/dist/events/index.d.ts +2 -0
- package/dist/events/index.d.ts.map +1 -0
- package/dist/events/index.js +2 -0
- package/dist/events/index.js.map +7 -0
- package/dist/events/use-event.d.ts +12 -0
- package/dist/events/use-event.d.ts.map +1 -0
- package/dist/field/field-context.d.ts +5 -0
- package/dist/field/field-context.d.ts.map +1 -0
- package/dist/field/fieldset-context.d.ts +10 -0
- package/dist/field/fieldset-context.d.ts.map +1 -0
- package/dist/field/index.d.ts +5 -0
- package/dist/field/index.d.ts.map +1 -0
- package/dist/field/index.js +2 -0
- package/dist/field/index.js.map +7 -0
- package/dist/field/use-field.d.ts +9 -0
- package/dist/field/use-field.d.ts.map +1 -0
- package/dist/field/use-fieldset.d.ts +4 -0
- package/dist/field/use-fieldset.d.ts.map +1 -0
- package/dist/highlight/highlight-text.d.ts +6 -0
- package/dist/highlight/highlight-text.d.ts.map +1 -0
- package/dist/highlight/index.d.ts +3 -0
- package/dist/highlight/index.d.ts.map +1 -0
- package/dist/highlight/index.js +2 -0
- package/dist/highlight/index.js.map +7 -0
- package/dist/highlight/use-highlight.d.ts +6 -0
- package/dist/highlight/use-highlight.d.ts.map +1 -0
- package/dist/inline-notification/core-inline-notification.d.ts +25 -0
- package/dist/inline-notification/core-inline-notification.d.ts.map +1 -0
- package/dist/inline-notification/index.d.ts +11 -0
- package/dist/inline-notification/index.d.ts.map +1 -0
- package/dist/inline-notification/index.js +2 -0
- package/dist/inline-notification/index.js.map +7 -0
- package/dist/inline-notification/inline-notification-context.d.ts +3 -0
- package/dist/inline-notification/inline-notification-context.d.ts.map +1 -0
- package/dist/inline-notification/use-inline-notification.d.ts +4 -0
- package/dist/inline-notification/use-inline-notification.d.ts.map +1 -0
- package/dist/locale/index.d.ts +3 -0
- package/dist/locale/index.d.ts.map +1 -0
- package/dist/locale/index.js +2 -0
- package/dist/locale/index.js.map +7 -0
- package/dist/locale/locale-context.d.ts +3 -0
- package/dist/locale/locale-context.d.ts.map +1 -0
- package/dist/locale/use-filter.d.ts +7 -0
- package/dist/locale/use-filter.d.ts.map +1 -0
- package/dist/lorem-ipsum/index.d.ts +2 -0
- package/dist/lorem-ipsum/index.d.ts.map +1 -0
- package/dist/lorem-ipsum/index.js +2 -0
- package/dist/lorem-ipsum/index.js.map +7 -0
- package/dist/lorem-ipsum/lorem-ipsum.d.ts +10 -0
- package/dist/lorem-ipsum/lorem-ipsum.d.ts.map +1 -0
- package/dist/lucide/icon.types.d.ts +15 -0
- package/dist/lucide/icon.types.d.ts.map +1 -0
- package/dist/lucide/index.d.ts +2 -0
- package/dist/lucide/index.d.ts.map +1 -0
- package/dist/lucide/index.js +1 -0
- package/dist/lucide/index.js.map +7 -0
- package/dist/machine/index.d.ts +9 -0
- package/dist/machine/index.d.ts.map +1 -0
- package/dist/machine/index.js +2 -0
- package/dist/machine/index.js.map +7 -0
- package/dist/machine/normalize-props.d.ts +2 -0
- package/dist/machine/normalize-props.d.ts.map +1 -0
- package/dist/machine/use-bindable-id-collection.d.ts +3 -0
- package/dist/machine/use-bindable-id-collection.d.ts.map +1 -0
- package/dist/machine/use-bindable-id.d.ts +3 -0
- package/dist/machine/use-bindable-id.d.ts.map +1 -0
- package/dist/machine/use-bindable.d.ts +3 -0
- package/dist/machine/use-bindable.d.ts.map +1 -0
- package/dist/machine/use-machine.d.ts +11 -0
- package/dist/machine/use-machine.d.ts.map +1 -0
- package/dist/machine/use-optional-content-id.d.ts +11 -0
- package/dist/machine/use-optional-content-id.d.ts.map +1 -0
- package/dist/machine/use-prop.d.ts +15 -0
- package/dist/machine/use-prop.d.ts.map +1 -0
- package/dist/machine/use-track.d.ts +2 -0
- package/dist/machine/use-track.d.ts.map +1 -0
- package/dist/menu/index.d.ts +8 -0
- package/dist/menu/index.d.ts.map +1 -0
- package/dist/menu/index.js +2 -0
- package/dist/menu/index.js.map +7 -0
- package/dist/menu/menu-context.d.ts +16 -0
- package/dist/menu/menu-context.d.ts.map +1 -0
- package/dist/menu/menu-item-context.d.ts +4 -0
- package/dist/menu/menu-item-context.d.ts.map +1 -0
- package/dist/menu/menu-item-group-context.d.ts +4 -0
- package/dist/menu/menu-item-group-context.d.ts.map +1 -0
- package/dist/menu/menu-machine-context.d.ts +4 -0
- package/dist/menu/menu-machine-context.d.ts.map +1 -0
- package/dist/menu/menu-trigger-context.d.ts +3 -0
- package/dist/menu/menu-trigger-context.d.ts.map +1 -0
- package/dist/menu/use-menu-item.d.ts +38 -0
- package/dist/menu/use-menu-item.d.ts.map +1 -0
- package/dist/menu/use-menu.d.ts +22 -0
- package/dist/menu/use-menu.d.ts.map +1 -0
- package/dist/number-input/core-number-input.d.ts +57 -0
- package/dist/number-input/core-number-input.d.ts.map +1 -0
- package/dist/number-input/index.d.ts +16 -0
- package/dist/number-input/index.d.ts.map +1 -0
- package/dist/number-input/index.js +2 -0
- package/dist/number-input/index.js.map +7 -0
- package/dist/number-input/number-input-context.d.ts +3 -0
- package/dist/number-input/number-input-context.d.ts.map +1 -0
- package/dist/pagination/index.d.ts +3 -0
- package/dist/pagination/index.d.ts.map +1 -0
- package/dist/pagination/index.js +2 -0
- package/dist/pagination/index.js.map +7 -0
- package/dist/pagination/pagination-context.d.ts +3 -0
- package/dist/pagination/pagination-context.d.ts.map +1 -0
- package/dist/pagination/use-pagination.d.ts +25 -0
- package/dist/pagination/use-pagination.d.ts.map +1 -0
- package/dist/password-input/index.d.ts +3 -0
- package/dist/password-input/index.d.ts.map +1 -0
- package/dist/password-input/index.js +2 -0
- package/dist/password-input/index.js.map +7 -0
- package/dist/password-input/password-input-context.d.ts +3 -0
- package/dist/password-input/password-input-context.d.ts.map +1 -0
- package/dist/password-input/use-password-input.d.ts +12 -0
- package/dist/password-input/use-password-input.d.ts.map +1 -0
- package/dist/popover/index.d.ts +3 -0
- package/dist/popover/index.d.ts.map +1 -0
- package/dist/popover/index.js +2 -0
- package/dist/popover/index.js.map +7 -0
- package/dist/popover/popover-context.d.ts +3 -0
- package/dist/popover/popover-context.d.ts.map +1 -0
- package/dist/popover/use-popover.d.ts +12 -0
- package/dist/popover/use-popover.d.ts.map +1 -0
- package/dist/portal/index.d.ts +3 -0
- package/dist/portal/index.d.ts.map +1 -0
- package/dist/portal/index.js +2 -0
- package/dist/portal/index.js.map +7 -0
- package/dist/portal/portal-context.d.ts +10 -0
- package/dist/portal/portal-context.d.ts.map +1 -0
- package/dist/portal/portal.d.ts +19 -0
- package/dist/portal/portal.d.ts.map +1 -0
- package/dist/position/index.d.ts +2 -0
- package/dist/position/index.d.ts.map +1 -0
- package/dist/position/index.js +1 -0
- package/dist/position/index.js.map +7 -0
- package/dist/position/position.types.d.ts +2 -0
- package/dist/position/position.types.d.ts.map +1 -0
- package/dist/presence/index.d.ts +5 -0
- package/dist/presence/index.d.ts.map +1 -0
- package/dist/presence/index.js +2 -0
- package/dist/presence/index.js.map +7 -0
- package/dist/presence/presence-context.d.ts +3 -0
- package/dist/presence/presence-context.d.ts.map +1 -0
- package/dist/presence/presence.d.ts +11 -0
- package/dist/presence/presence.d.ts.map +1 -0
- package/dist/presence/render-strategy.d.ts +3 -0
- package/dist/presence/render-strategy.d.ts.map +1 -0
- package/dist/presence/use-presence.d.ts +18 -0
- package/dist/presence/use-presence.d.ts.map +1 -0
- package/dist/progress/core-progress.d.ts +53 -0
- package/dist/progress/core-progress.d.ts.map +1 -0
- package/dist/progress/index.d.ts +14 -0
- package/dist/progress/index.d.ts.map +1 -0
- package/dist/progress/index.js +2 -0
- package/dist/progress/index.js.map +7 -0
- package/dist/progress/progress-context.d.ts +3 -0
- package/dist/progress/progress-context.d.ts.map +1 -0
- package/dist/progress-ring/core-progress-ring.d.ts +45 -0
- package/dist/progress-ring/core-progress-ring.d.ts.map +1 -0
- package/dist/progress-ring/index.d.ts +14 -0
- package/dist/progress-ring/index.d.ts.map +1 -0
- package/dist/progress-ring/index.js +2 -0
- package/dist/progress-ring/index.js.map +7 -0
- package/dist/progress-ring/progress-ring-context.d.ts +3 -0
- package/dist/progress-ring/progress-ring-context.d.ts.map +1 -0
- package/dist/props/index.d.ts +2 -0
- package/dist/props/index.d.ts.map +1 -0
- package/dist/props/index.js +2 -0
- package/dist/props/index.js.map +7 -0
- package/dist/props/use-previous-props.d.ts +2 -0
- package/dist/props/use-previous-props.d.ts.map +1 -0
- package/dist/radio/index.d.ts +3 -0
- package/dist/radio/index.d.ts.map +1 -0
- package/dist/radio/index.js +2 -0
- package/dist/radio/index.js.map +7 -0
- package/dist/radio/radio-context.d.ts +4 -0
- package/dist/radio/radio-context.d.ts.map +1 -0
- package/dist/radio/use-radio.d.ts +14 -0
- package/dist/radio/use-radio.d.ts.map +1 -0
- package/dist/refs/compose-refs.d.ts +5 -0
- package/dist/refs/compose-refs.d.ts.map +1 -0
- package/dist/refs/get-child-ref.d.ts +4 -0
- package/dist/refs/get-child-ref.d.ts.map +1 -0
- package/dist/refs/index.d.ts +5 -0
- package/dist/refs/index.d.ts.map +1 -0
- package/dist/refs/index.js +2 -0
- package/dist/refs/index.js.map +7 -0
- package/dist/refs/set-ref.d.ts +15 -0
- package/dist/refs/set-ref.d.ts.map +1 -0
- package/dist/refs/use-merged-ref.d.ts +9 -0
- package/dist/refs/use-merged-ref.d.ts.map +1 -0
- package/dist/segmented-control/index.d.ts +3 -0
- package/dist/segmented-control/index.d.ts.map +1 -0
- package/dist/segmented-control/index.js +2 -0
- package/dist/segmented-control/index.js.map +7 -0
- package/dist/segmented-control/segmented-control-context.d.ts +3 -0
- package/dist/segmented-control/segmented-control-context.d.ts.map +1 -0
- package/dist/segmented-control/use-segmented-control.d.ts +7 -0
- package/dist/segmented-control/use-segmented-control.d.ts.map +1 -0
- package/dist/select/core-select.d.ts +29 -0
- package/dist/select/core-select.d.ts.map +1 -0
- package/dist/select/index.d.ts +16 -0
- package/dist/select/index.d.ts.map +1 -0
- package/dist/select/index.js +2 -0
- package/dist/select/index.js.map +7 -0
- package/dist/select/select-context.d.ts +4 -0
- package/dist/select/select-context.d.ts.map +1 -0
- package/dist/select/use-select.d.ts +7 -0
- package/dist/select/use-select.d.ts.map +1 -0
- package/dist/side-nav/core-side-nav.d.ts +39 -0
- package/dist/side-nav/core-side-nav.d.ts.map +1 -0
- package/dist/side-nav/index.d.ts +14 -0
- package/dist/side-nav/index.d.ts.map +1 -0
- package/dist/side-nav/index.js +2 -0
- package/dist/side-nav/index.js.map +7 -0
- package/dist/side-nav/side-nav-context.d.ts +3 -0
- package/dist/side-nav/side-nav-context.d.ts.map +1 -0
- package/dist/slider/index.d.ts +3 -0
- package/dist/slider/index.d.ts.map +1 -0
- package/dist/slider/index.js +2 -0
- package/dist/slider/index.js.map +7 -0
- package/dist/slider/slider-context.d.ts +4 -0
- package/dist/slider/slider-context.d.ts.map +1 -0
- package/dist/slider/use-slider.d.ts +22 -0
- package/dist/slider/use-slider.d.ts.map +1 -0
- package/dist/state/controlled-open.d.ts +23 -0
- package/dist/state/controlled-open.d.ts.map +1 -0
- package/dist/state/index.d.ts +4 -0
- package/dist/state/index.d.ts.map +1 -0
- package/dist/state/index.js +3 -0
- package/dist/state/index.js.map +7 -0
- package/dist/state/use-controlled-id.d.ts +8 -0
- package/dist/state/use-controlled-id.d.ts.map +1 -0
- package/dist/state/use-controlled-state.d.ts +35 -0
- package/dist/state/use-controlled-state.d.ts.map +1 -0
- package/dist/switch/index.d.ts +3 -0
- package/dist/switch/index.d.ts.map +1 -0
- package/dist/switch/index.js +2 -0
- package/dist/switch/index.js.map +7 -0
- package/dist/switch/switch-context.d.ts +3 -0
- package/dist/switch/switch-context.d.ts.map +1 -0
- package/dist/switch/use-switch.d.ts +9 -0
- package/dist/switch/use-switch.d.ts.map +1 -0
- package/dist/system/index.d.ts +5 -0
- package/dist/system/index.d.ts.map +1 -0
- package/dist/system/index.js +2 -0
- package/dist/system/index.js.map +7 -0
- package/dist/system/polymorphic-as-element.d.ts +20 -0
- package/dist/system/polymorphic-as-element.d.ts.map +1 -0
- package/dist/system/polymorphic-element.d.ts +13 -0
- package/dist/system/polymorphic-element.d.ts.map +1 -0
- package/dist/system/system.types.d.ts +69 -0
- package/dist/system/system.types.d.ts.map +1 -0
- package/dist/system/system.utils.d.ts +31 -0
- package/dist/system/system.utils.d.ts.map +1 -0
- package/dist/tabs/core-tabs.d.ts +60 -0
- package/dist/tabs/core-tabs.d.ts.map +1 -0
- package/dist/tabs/index.d.ts +16 -0
- package/dist/tabs/index.d.ts.map +1 -0
- package/dist/tabs/index.js +2 -0
- package/dist/tabs/index.js.map +7 -0
- package/dist/tabs/tab-prop-context.d.ts +3 -0
- package/dist/tabs/tab-prop-context.d.ts.map +1 -0
- package/dist/tabs/tabs-context.d.ts +3 -0
- package/dist/tabs/tabs-context.d.ts.map +1 -0
- package/dist/text-area/index.d.ts +2 -0
- package/dist/text-area/index.d.ts.map +1 -0
- package/dist/text-area/index.js +1 -0
- package/dist/text-area/index.js.map +7 -0
- package/dist/text-input/index.d.ts +3 -0
- package/dist/text-input/index.d.ts.map +1 -0
- package/dist/text-input/index.js +2 -0
- package/dist/text-input/index.js.map +7 -0
- package/dist/text-input/text-input-context.d.ts +3 -0
- package/dist/text-input/text-input-context.d.ts.map +1 -0
- package/dist/text-input/use-text-input.d.ts +10 -0
- package/dist/text-input/use-text-input.d.ts.map +1 -0
- package/dist/toast/core-toast.d.ts +35 -0
- package/dist/toast/core-toast.d.ts.map +1 -0
- package/dist/toast/index.d.ts +13 -0
- package/dist/toast/index.d.ts.map +1 -0
- package/dist/toast/index.js +2 -0
- package/dist/toast/index.js.map +7 -0
- package/dist/toast/toast-context.d.ts +3 -0
- package/dist/toast/toast-context.d.ts.map +1 -0
- package/dist/toast/toaster.d.ts +19 -0
- package/dist/toast/toaster.d.ts.map +1 -0
- package/dist/tooltip/index.d.ts +3 -0
- package/dist/tooltip/index.d.ts.map +1 -0
- package/dist/tooltip/index.js +2 -0
- package/dist/tooltip/index.js.map +7 -0
- package/dist/tooltip/tooltip-context.d.ts +3 -0
- package/dist/tooltip/tooltip-context.d.ts.map +1 -0
- package/dist/tooltip/use-tooltip.d.ts +9 -0
- package/dist/tooltip/use-tooltip.d.ts.map +1 -0
- package/dist/transitions/get-transition-props.d.ts +25 -0
- package/dist/transitions/get-transition-props.d.ts.map +1 -0
- package/dist/transitions/index.d.ts +3 -0
- package/dist/transitions/index.d.ts.map +1 -0
- package/dist/transitions/index.js +2 -0
- package/dist/transitions/index.js.map +7 -0
- package/dist/transitions/transitions.types.d.ts +119 -0
- package/dist/transitions/transitions.types.d.ts.map +1 -0
- package/dist/tree/core-tree.d.ts +63 -0
- package/dist/tree/core-tree.d.ts.map +1 -0
- package/dist/tree/index.d.ts +20 -0
- package/dist/tree/index.d.ts.map +1 -0
- package/dist/tree/index.js +2 -0
- package/dist/tree/index.js.map +7 -0
- package/dist/tree/tree-context.d.ts +7 -0
- package/dist/tree/tree-context.d.ts.map +1 -0
- package/dist/tree/tree-node-context.d.ts +4 -0
- package/dist/tree/tree-node-context.d.ts.map +1 -0
- package/dist/tree/use-tree.d.ts +5 -0
- package/dist/tree/use-tree.d.ts.map +1 -0
- package/dist/tsbuildinfo +1 -0
- package/package.json +50 -0
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
|
|
3
|
+
Redistribution and use in source and binary forms, with or without
|
|
4
|
+
modification, are permitted (subject to the limitations in the
|
|
5
|
+
disclaimer below) provided that the following conditions are met:
|
|
6
|
+
|
|
7
|
+
* Redistributions of source code must retain the above copyright
|
|
8
|
+
notice, this list of conditions and the following disclaimer.
|
|
9
|
+
|
|
10
|
+
* Redistributions in binary form must reproduce the above
|
|
11
|
+
copyright notice, this list of conditions and the following
|
|
12
|
+
disclaimer in the documentation and/or other materials provided
|
|
13
|
+
with the distribution.
|
|
14
|
+
|
|
15
|
+
* Neither the name of Qualcomm Technologies, Inc. nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived
|
|
17
|
+
from this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
|
|
20
|
+
GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
|
|
21
|
+
HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
|
|
22
|
+
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
23
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
24
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
|
25
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
26
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
|
27
|
+
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
28
|
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
|
29
|
+
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
30
|
+
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
|
31
|
+
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { AccordionApi, AccordionItemApiProps } from "@qualcomm-ui/core/accordion";
|
|
2
|
+
export declare const AccordionContextProvider: import("react").Provider<AccordionApi>, useAccordionContext: (requireContext?: boolean) => AccordionApi;
|
|
3
|
+
export declare const AccordionItemContextProvider: import("react").Provider<AccordionItemApiProps>, useAccordionItemContext: (requireContext?: boolean) => AccordionItemApiProps;
|
|
4
|
+
export declare function useAccordionItemState(): import("@qualcomm-ui/core/accordion").AccordionItemState;
|
|
5
|
+
//# sourceMappingURL=accordion-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion-context.d.ts","sourceRoot":"","sources":["../../src/accordion/accordion-context.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,qBAAqB,EACtB,MAAM,6BAA6B,CAAA;AAGpC,eAAO,MAAO,wBAAwB,0CAAE,mBAAmB,4CAKvD,CAAA;AAEJ,eAAO,MAAO,4BAA4B,mDAAE,uBAAuB,qDAK/D,CAAA;AAEJ,wBAAgB,qBAAqB,6DAIpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/accordion/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{c as x}from"react/compiler-runtime";import{createGuardedContext as m}from"@qualcomm-ui/react-core/context";var[g,c]=m({hookName:"useAccordionContext",providerName:"<AccordionContextProvider>",strict:!0}),[l,r]=m({hookName:"useAccordionItemContext",providerName:"<AccordionItemContextProvider>",strict:!0});function v(){let t=x(3),e=c(),n=r(),o;return t[0]!==e||t[1]!==n?(o=e.getAccordionItemState(n),t[0]=e,t[1]=n,t[2]=o):o=t[2],o}import{c as i}from"react/compiler-runtime";import{accordionMachine as u,createAccordionApi as A}from"@qualcomm-ui/core/accordion";import{useOnDestroy as s}from"@qualcomm-ui/react-core/effects";import{normalizeProps as p,useMachine as a}from"@qualcomm-ui/react-core/machine";import{useControlledId as d}from"@qualcomm-ui/react-core/state";function N(t){let e=i(2),n=a(u,t),o;return e[0]!==n?(o=A(n,p),e[0]=n,e[1]=o):o=e[1],o}function S(t){let{disabled:e,id:n,value:o}=t;return c().getAccordionItemBindings({disabled:e,id:d(n),onDestroy:s(),value:o})}function k(t){let{id:e}=t,n=c(),o=r();return n.getAccordionItemTriggerBindings({id:d(e),onDestroy:s(),...o})}function M(){let t=i(3),e=c(),n=r(),o;return t[0]!==e||t[1]!==n?(o=e.getAccordionItemTextBindings(n),t[0]=e,t[1]=n,t[2]=o):o=t[2],o}function _(){let t=i(3),e=c(),n=r(),o;return t[0]!==e||t[1]!==n?(o=e.getAccordionItemSecondaryTextBindings(n),t[0]=e,t[1]=n,t[2]=o):o=t[2],o}function b(){let t=i(3),e=c(),n=r(),o;return t[0]!==e||t[1]!==n?(o=e.getAccordionItemIndicatorBindings(n),t[0]=e,t[1]=n,t[2]=o):o=t[2],o}function z(t){let{id:e}=t,n=c(),o=r();return n.getAccordionItemContentBindings({id:d(e),onDestroy:s(),...o})}export{g as AccordionContextProvider,l as AccordionItemContextProvider,N as useAccordion,c as useAccordionContext,S as useAccordionItem,z as useAccordionItemContent,r as useAccordionItemContext,b as useAccordionItemIndicator,_ as useAccordionItemSecondaryText,v as useAccordionItemState,M as useAccordionItemText,k as useAccordionItemTrigger};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/accordion/accordion-context.ts", "../../src/accordion/use-accordion.ts"],
|
|
4
|
+
"sourcesContent": ["import { c as _c } from \"react/compiler-runtime\";\nimport { createGuardedContext } from \"@qualcomm-ui/react-core/context\";\nexport const [AccordionContextProvider, useAccordionContext] = createGuardedContext({\n hookName: \"useAccordionContext\",\n providerName: \"<AccordionContextProvider>\",\n strict: true\n});\nexport const [AccordionItemContextProvider, useAccordionItemContext] = createGuardedContext({\n hookName: \"useAccordionItemContext\",\n providerName: \"<AccordionItemContextProvider>\",\n strict: true\n});\nexport function useAccordionItemState() {\n const $ = _c(3);\n const accordionContext = useAccordionContext();\n const context = useAccordionItemContext();\n let t0;\n if ($[0] !== accordionContext || $[1] !== context) {\n t0 = accordionContext.getAccordionItemState(context);\n $[0] = accordionContext;\n $[1] = context;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { accordionMachine, createAccordionApi } from \"@qualcomm-ui/core/accordion\";\nimport { useOnDestroy } from \"@qualcomm-ui/react-core/effects\";\nimport { normalizeProps, useMachine } from \"@qualcomm-ui/react-core/machine\";\nimport { useControlledId } from \"@qualcomm-ui/react-core/state\";\nimport { useAccordionContext, useAccordionItemContext } from \"./accordion-context\";\nexport function useAccordion(props) {\n const $ = _c(2);\n const machine = useMachine(accordionMachine, props);\n let t0;\n if ($[0] !== machine) {\n t0 = createAccordionApi(machine, normalizeProps);\n $[0] = machine;\n $[1] = t0;\n } else {\n t0 = $[1];\n }\n return t0;\n}\nexport function useAccordionItem(t0) {\n const {\n disabled,\n id,\n value\n } = t0;\n const context = useAccordionContext();\n return context.getAccordionItemBindings({\n disabled,\n id: useControlledId(id),\n onDestroy: useOnDestroy(),\n value\n });\n}\nexport function useAccordionItemTrigger(t0) {\n const {\n id\n } = t0;\n const context = useAccordionContext();\n const itemContext = useAccordionItemContext();\n return context.getAccordionItemTriggerBindings({\n id: useControlledId(id),\n onDestroy: useOnDestroy(),\n ...itemContext\n });\n}\nexport function useAccordionItemText() {\n const $ = _c(3);\n const context = useAccordionContext();\n const itemContext = useAccordionItemContext();\n let t0;\n if ($[0] !== context || $[1] !== itemContext) {\n t0 = context.getAccordionItemTextBindings(itemContext);\n $[0] = context;\n $[1] = itemContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}\nexport function useAccordionItemSecondaryText() {\n const $ = _c(3);\n const context = useAccordionContext();\n const itemContext = useAccordionItemContext();\n let t0;\n if ($[0] !== context || $[1] !== itemContext) {\n t0 = context.getAccordionItemSecondaryTextBindings(itemContext);\n $[0] = context;\n $[1] = itemContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}\nexport function useAccordionItemIndicator() {\n const $ = _c(3);\n const context = useAccordionContext();\n const itemContext = useAccordionItemContext();\n let t0;\n if ($[0] !== context || $[1] !== itemContext) {\n t0 = context.getAccordionItemIndicatorBindings(itemContext);\n $[0] = context;\n $[1] = itemContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}\nexport function useAccordionItemContent(t0) {\n const {\n id\n } = t0;\n const context = useAccordionContext();\n const itemContext = useAccordionItemContext();\n return context.getAccordionItemContentBindings({\n id: useControlledId(id),\n onDestroy: useOnDestroy(),\n ...itemContext\n });\n}"],
|
|
5
|
+
"mappings": "AAAA,OAAS,KAAKA,MAAU,yBACxB,OAAS,wBAAAC,MAA4B,kCAC9B,GAAM,CAACC,EAA0BC,CAAmB,EAAIF,EAAqB,CAClF,SAAU,sBACV,aAAc,6BACd,OAAQ,EACV,CAAC,EACY,CAACG,EAA8BC,CAAuB,EAAIJ,EAAqB,CAC1F,SAAU,0BACV,aAAc,iCACd,OAAQ,EACV,CAAC,EACM,SAASK,GAAwB,CACtC,IAAMC,EAAIP,EAAG,CAAC,EACRQ,EAAmBL,EAAoB,EACvCM,EAAUJ,EAAwB,EACpCK,EACJ,OAAIH,EAAE,CAAC,IAAMC,GAAoBD,EAAE,CAAC,IAAME,GACxCC,EAAKF,EAAiB,sBAAsBC,CAAO,EACnDF,EAAE,CAAC,EAAIC,EACPD,EAAE,CAAC,EAAIE,EACPF,EAAE,CAAC,EAAIG,GAEPA,EAAKH,EAAE,CAAC,EAEHG,CACT,CC1BA,OAAS,KAAKC,MAAU,yBACxB,OAAS,oBAAAC,EAAkB,sBAAAC,MAA0B,8BACrD,OAAS,gBAAAC,MAAoB,kCAC7B,OAAS,kBAAAC,EAAgB,cAAAC,MAAkB,kCAC3C,OAAS,mBAAAC,MAAuB,gCAEzB,SAASC,EAAaC,EAAO,CAClC,IAAMC,EAAIC,EAAG,CAAC,EACRC,EAAUC,EAAWC,EAAkBL,CAAK,EAC9CM,EACJ,OAAIL,EAAE,CAAC,IAAME,GACXG,EAAKC,EAAmBJ,EAASK,CAAc,EAC/CP,EAAE,CAAC,EAAIE,EACPF,EAAE,CAAC,EAAIK,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OAAIL,EAAE,CAAC,IAAMgB,GAAWhB,EAAE,CAAC,IAAMiB,GAC/BZ,EAAKW,EAAQ,kCAAkCC,CAAW,EAC1DjB,EAAE,CAAC,EAAIgB,EACPhB,EAAE,CAAC,EAAIiB,EACPjB,EAAE,CAAC,EAAIK,GAEPA,EAAKL,EAAE,CAAC,EAEHK,CACT,CACO,SAASiB,EAAwBjB,EAAI,CAC1C,GAAM,CACJ,GAAAK,CACF,EAAIL,EACEW,EAAUJ,EAAoB,EAC9BK,EAAcC,EAAwB,EAC5C,OAAOF,EAAQ,gCAAgC,CAC7C,GAAIH,EAAgBH,CAAE,EACtB,UAAWI,EAAa,EACxB,GAAGG,CACL,CAAC,CACH",
|
|
6
|
+
"names": ["_c", "createGuardedContext", "AccordionContextProvider", "useAccordionContext", "AccordionItemContextProvider", "useAccordionItemContext", "useAccordionItemState", "$", "accordionContext", "context", "t0", "_c", "accordionMachine", "createAccordionApi", "useOnDestroy", "normalizeProps", "useMachine", "useControlledId", "useAccordion", "props", "$", "_c", "machine", "useMachine", "accordionMachine", "t0", "createAccordionApi", "normalizeProps", "useAccordionItem", "disabled", "id", "value", "useAccordionContext", "useControlledId", "useOnDestroy", "useAccordionItemTrigger", "context", "itemContext", "useAccordionItemContext", "useAccordionItemText", "useAccordionItemSecondaryText", "useAccordionItemIndicator", "useAccordionItemContent"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type AccordionApi, type AccordionApiProps, type AccordionItemApiProps, type AccordionItemBindings, type AccordionItemContentBindings, type AccordionItemIndicatorBindings, type AccordionItemSecondaryTextBindings, type AccordionItemTextBindings, type AccordionItemTriggerBindings } from "@qualcomm-ui/core/accordion";
|
|
2
|
+
import type { IdProp } from "@qualcomm-ui/react-core/system";
|
|
3
|
+
export declare function useAccordion(props: AccordionApiProps): AccordionApi;
|
|
4
|
+
export declare function useAccordionItem({ disabled, id, value, }: IdProp & AccordionItemApiProps): AccordionItemBindings;
|
|
5
|
+
export declare function useAccordionItemTrigger({ id, }: IdProp): AccordionItemTriggerBindings;
|
|
6
|
+
export declare function useAccordionItemText(): AccordionItemTextBindings;
|
|
7
|
+
export declare function useAccordionItemSecondaryText(): AccordionItemSecondaryTextBindings;
|
|
8
|
+
export declare function useAccordionItemIndicator(): AccordionItemIndicatorBindings;
|
|
9
|
+
export declare function useAccordionItemContent({ id, }: IdProp): AccordionItemContentBindings;
|
|
10
|
+
//# sourceMappingURL=use-accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-accordion.d.ts","sourceRoot":"","sources":["../../src/accordion/use-accordion.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EAGlC,MAAM,6BAA6B,CAAA;AAIpC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,gCAAgC,CAAA;AAI1D,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,YAAY,CAGnE;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,EAAE,EACF,KAAK,GACN,EAAE,MAAM,GAAG,qBAAqB,GAAG,qBAAqB,CAQxD;AAED,wBAAgB,uBAAuB,CAAC,EACtC,EAAE,GACH,EAAE,MAAM,GAAG,4BAA4B,CAQvC;AAED,wBAAgB,oBAAoB,IAAI,yBAAyB,CAIhE;AAED,wBAAgB,6BAA6B,IAAI,kCAAkC,CAIlF;AAED,wBAAgB,yBAAyB,IAAI,8BAA8B,CAI1E;AAED,wBAAgB,uBAAuB,CAAC,EACtC,EAAE,GACH,EAAE,MAAM,GAAG,4BAA4B,CAQvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar-context.d.ts","sourceRoot":"","sources":["../../src/avatar/avatar-context.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAA;AAGvD,eAAO,MAAO,qBAAqB,uCAAE,gBAAgB,yCAKjD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/avatar/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{createGuardedContext as s}from"@qualcomm-ui/react-core/context";var[f,n]=s({hookName:"useAvatarContext",providerName:"<AvatarContextProvider>",strict:!0});import{c}from"react/compiler-runtime";import{avatarMachine as m,createAvatarApi as u}from"@qualcomm-ui/core/avatar";import{useOnDestroy as a}from"@qualcomm-ui/react-core/effects";import{normalizeProps as x,useMachine as p}from"@qualcomm-ui/react-core/machine";import{useControlledId as i}from"@qualcomm-ui/react-core/state";function D(o){let t=c(2),e=p(m,o),r;return t[0]!==e?(r=u(e,x),t[0]=e,t[1]=r):r=t[1],r}function B(o){let{id:t}=o;return n().getImageBindings({id:i(t),onDestroy:a()})}function I(o){let{id:t}=o;return n().getContentBindings({id:i(t),onDestroy:a()})}function P(o){let{id:t}=o;return n().getStatusBindings({id:i(t),onDestroy:a()})}export{f as AvatarContextProvider,D as useAvatar,I as useAvatarContent,n as useAvatarContext,B as useAvatarImage,P as useAvatarStatus};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/avatar/avatar-context.ts", "../../src/avatar/use-avatar.ts"],
|
|
4
|
+
"sourcesContent": ["import { createGuardedContext } from \"@qualcomm-ui/react-core/context\";\nexport const [AvatarContextProvider, useAvatarContext] = createGuardedContext({\n hookName: \"useAvatarContext\",\n providerName: \"<AvatarContextProvider>\",\n strict: true\n});", "import { c as _c } from \"react/compiler-runtime\";\nimport { avatarMachine, createAvatarApi } from \"@qualcomm-ui/core/avatar\";\nimport { useOnDestroy } from \"@qualcomm-ui/react-core/effects\";\nimport { normalizeProps, useMachine } from \"@qualcomm-ui/react-core/machine\";\nimport { useControlledId } from \"@qualcomm-ui/react-core/state\";\nimport { useAvatarContext } from \"./avatar-context\";\nexport function useAvatar(props) {\n const $ = _c(2);\n const machine = useMachine(avatarMachine, props);\n let t0;\n if ($[0] !== machine) {\n t0 = createAvatarApi(machine, normalizeProps);\n $[0] = machine;\n $[1] = t0;\n } else {\n t0 = $[1];\n }\n return t0;\n}\nexport function useAvatarImage(t0) {\n const {\n id\n } = t0;\n const context = useAvatarContext();\n return context.getImageBindings({\n id: useControlledId(id),\n onDestroy: useOnDestroy()\n });\n}\nexport function useAvatarContent(t0) {\n const {\n id\n } = t0;\n const context = useAvatarContext();\n return context.getContentBindings({\n id: useControlledId(id),\n onDestroy: useOnDestroy()\n });\n}\nexport function useAvatarStatus(t0) {\n const {\n id\n } = t0;\n const context = useAvatarContext();\n return context.getStatusBindings({\n id: useControlledId(id),\n onDestroy: useOnDestroy()\n });\n}"],
|
|
5
|
+
"mappings": "AAAA,OAAS,wBAAAA,MAA4B,kCAC9B,GAAM,CAACC,EAAuBC,CAAgB,EAAIF,EAAqB,CAC5E,SAAU,mBACV,aAAc,0BACd,OAAQ,EACV,CAAC,ECLD,OAAS,MAAe,yBACxB,OAAS,iBAAAG,EAAe,mBAAAC,MAAuB,2BAC/C,OAAS,gBAAAC,MAAoB,kCAC7B,OAAS,kBAAAC,EAAgB,cAAAC,MAAkB,kCAC3C,OAAS,mBAAAC,MAAuB,gCAEzB,SAASC,EAAUC,EAAO,CAC/B,IAAMC,EAAIC,EAAG,CAAC,EACRC,EAAUC,EAAWC,EAAeL,CAAK,EAC3CM,EACJ,OAAIL,EAAE,CAAC,IAAME,GACXG,EAAKC,EAAgBJ,EAASK,CAAc,EAC5CP,EAAE,CAAC,EAAIE,EACPF,EAAE,CAAC,EAAIK,GAEPA,EAAKL,EAAE,CAAC,EAEHK,CACT,CACO,SAASG,EAAeH,EAAI,CACjC,GAAM,CACJ,GAAAI,CACF,EAAIJ,EAEJ,OADgBK,EAAiB,EAClB,iBAAiB,CAC9B,GAAIC,EAAgBF,CAAE,EACtB,UAAWG,EAAa,CAC1B,CAAC,CACH,CACO,SAASC,EAAiBR,EAAI,CACnC,GAAM,CACJ,GAAAI,CACF,EAAIJ,EAEJ,OADgBK,EAAiB,EAClB,mBAAmB,CAChC,GAAIC,EAAgBF,CAAE,EACtB,UAAWG,EAAa,CAC1B,CAAC,CACH,CACO,SAASE,EAAgBT,EAAI,CAClC,GAAM,CACJ,GAAAI,CACF,EAAIJ,EAEJ,OADgBK,EAAiB,EAClB,kBAAkB,CAC/B,GAAIC,EAAgBF,CAAE,EACtB,UAAWG,EAAa,CAC1B,CAAC,CACH",
|
|
6
|
+
"names": ["createGuardedContext", "AvatarContextProvider", "useAvatarContext", "avatarMachine", "createAvatarApi", "useOnDestroy", "normalizeProps", "useMachine", "useControlledId", "useAvatar", "props", "$", "_c", "machine", "useMachine", "avatarMachine", "t0", "createAvatarApi", "normalizeProps", "useAvatarImage", "id", "useAvatarContext", "useControlledId", "useOnDestroy", "useAvatarContent", "useAvatarStatus"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type AvatarApi, type AvatarApiProps, type AvatarContentBindings, type AvatarImageBindings, type AvatarStatusBindings } from "@qualcomm-ui/core/avatar";
|
|
2
|
+
import type { IdProp } from "@qualcomm-ui/react-core/system";
|
|
3
|
+
export declare function useAvatar(props: AvatarApiProps): AvatarApi;
|
|
4
|
+
export declare function useAvatarImage({ id }: IdProp): AvatarImageBindings;
|
|
5
|
+
export declare function useAvatarContent({ id }: IdProp): AvatarContentBindings;
|
|
6
|
+
export declare function useAvatarStatus({ id }: IdProp): AvatarStatusBindings;
|
|
7
|
+
//# sourceMappingURL=use-avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-avatar.d.ts","sourceRoot":"","sources":["../../src/avatar/use-avatar.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EAExB,KAAK,oBAAoB,EAE1B,MAAM,0BAA0B,CAAA;AAIjC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,gCAAgC,CAAA;AAI1D,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS,CAG1D;AAED,wBAAgB,cAAc,CAAC,EAAC,EAAE,EAAC,EAAE,MAAM,GAAG,mBAAmB,CAMhE;AAED,wBAAgB,gBAAgB,CAAC,EAAC,EAAE,EAAC,EAAE,MAAM,GAAG,qBAAqB,CAMpE;AAED,wBAAgB,eAAe,CAAC,EAAC,EAAE,EAAC,EAAE,MAAM,GAAG,oBAAoB,CAMlE"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { CheckboxApi } from "@qualcomm-ui/core/checkbox";
|
|
2
|
+
export interface CheckboxContextValue extends CheckboxApi {
|
|
3
|
+
}
|
|
4
|
+
export declare const CheckboxContextProvider: import("react").Provider<CheckboxContextValue>, useCheckboxContext: (requireContext?: boolean) => CheckboxContextValue;
|
|
5
|
+
//# sourceMappingURL=checkbox-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-context.d.ts","sourceRoot":"","sources":["../../src/checkbox/checkbox-context.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAA;AAG3D,MAAM,WAAW,oBAAqB,SAAQ,WAAW;CAAG;AAE5D,eAAO,MAAO,uBAAuB,kDAAE,kBAAkB,oDAKrD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/checkbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{createGuardedContext as x}from"@qualcomm-ui/react-core/context";var[a,r]=x({hookName:"useCheckboxContext",providerName:"<CheckboxContextProvider>",strict:!0});import{c as s}from"react/compiler-runtime";import{checkboxMachine as d,createCheckboxApi as u}from"@qualcomm-ui/core/checkbox";import{useOnDestroy as i}from"@qualcomm-ui/react-core/effects";import{normalizeProps as m,useMachine as p}from"@qualcomm-ui/react-core/machine";import{useControlledId as c}from"@qualcomm-ui/react-core/state";function B(t){let e=s(2),o=p(d,t),n;return e[0]!==o?(n=u(o,m),e[0]=o,e[1]=n):n=e[1],n}function D(t){let{id:e}=t;return r().getLabelBindings({id:c(e),onDestroy:i()})}function I(t){let{id:e}=t;return r().getHiddenInputBindings({id:c(e),onDestroy:i()})}function P(t){let{id:e}=t;return r().getControlBindings({id:c(e),onDestroy:i()})}function v(){let t=s(5),e=r(),o;t[0]!==e?(o=e.getIndicatorBindings(),t[0]=e,t[1]=o):o=t[1];let n;return t[2]!==e.indeterminate||t[3]!==o?(n={contextProps:o,indeterminate:e.indeterminate},t[2]=e.indeterminate,t[3]=o,t[4]=n):n=t[4],n}function E(t){let{id:e}=t;return r().getErrorTextBindings({id:c(e),onDestroy:i()})}export{a as CheckboxContextProvider,B as useCheckbox,r as useCheckboxContext,P as useCheckboxControl,E as useCheckboxErrorText,I as useCheckboxHiddenInput,v as useCheckboxIndicator,D as useCheckboxLabel};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/checkbox/checkbox-context.ts", "../../src/checkbox/use-checkbox.ts"],
|
|
4
|
+
"sourcesContent": ["import { createGuardedContext } from \"@qualcomm-ui/react-core/context\";\nexport const [CheckboxContextProvider, useCheckboxContext] = createGuardedContext({\n hookName: \"useCheckboxContext\",\n providerName: \"<CheckboxContextProvider>\",\n strict: true\n});", "import { c as _c } from \"react/compiler-runtime\";\nimport { checkboxMachine, createCheckboxApi } from \"@qualcomm-ui/core/checkbox\";\nimport { useOnDestroy } from \"@qualcomm-ui/react-core/effects\";\nimport { normalizeProps, useMachine } from \"@qualcomm-ui/react-core/machine\";\nimport { useControlledId } from \"@qualcomm-ui/react-core/state\";\nimport { useCheckboxContext } from \"./checkbox-context\";\nexport function useCheckbox(props) {\n const $ = _c(2);\n const machine = useMachine(checkboxMachine, props);\n let t0;\n if ($[0] !== machine) {\n t0 = createCheckboxApi(machine, normalizeProps);\n $[0] = machine;\n $[1] = t0;\n } else {\n t0 = $[1];\n }\n return t0;\n}\nexport function useCheckboxLabel(t0) {\n const {\n id\n } = t0;\n const context = useCheckboxContext();\n return context.getLabelBindings({\n id: useControlledId(id),\n onDestroy: useOnDestroy()\n });\n}\nexport function useCheckboxHiddenInput(t0) {\n const {\n id\n } = t0;\n const context = useCheckboxContext();\n return context.getHiddenInputBindings({\n id: useControlledId(id),\n onDestroy: useOnDestroy()\n });\n}\nexport function useCheckboxControl(t0) {\n const {\n id\n } = t0;\n const context = useCheckboxContext();\n return context.getControlBindings({\n id: useControlledId(id),\n onDestroy: useOnDestroy()\n });\n}\nexport function useCheckboxIndicator() {\n const $ = _c(5);\n const context = useCheckboxContext();\n let t0;\n if ($[0] !== context) {\n t0 = context.getIndicatorBindings();\n $[0] = context;\n $[1] = t0;\n } else {\n t0 = $[1];\n }\n let t1;\n if ($[2] !== context.indeterminate || $[3] !== t0) {\n t1 = {\n contextProps: t0,\n indeterminate: context.indeterminate\n };\n $[2] = context.indeterminate;\n $[3] = t0;\n $[4] = t1;\n } else {\n t1 = $[4];\n }\n return t1;\n}\nexport function useCheckboxErrorText(t0) {\n const {\n id\n } = t0;\n const context = useCheckboxContext();\n return context.getErrorTextBindings({\n id: useControlledId(id),\n onDestroy: useOnDestroy()\n });\n}"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EAAIgB,EACPhB,EAAE,CAAC,EAAIK,GAEPA,EAAKL,EAAE,CAAC,EAEV,IAAIiB,EACJ,OAAIjB,EAAE,CAAC,IAAMgB,EAAQ,eAAiBhB,EAAE,CAAC,IAAMK,GAC7CY,EAAK,CACH,aAAcZ,EACd,cAAeW,EAAQ,aACzB,EACAhB,EAAE,CAAC,EAAIgB,EAAQ,cACfhB,EAAE,CAAC,EAAIK,EACPL,EAAE,CAAC,EAAIiB,GAEPA,EAAKjB,EAAE,CAAC,EAEHiB,CACT,CACO,SAASC,EAAqBb,EAAI,CACvC,GAAM,CACJ,GAAAI,CACF,EAAIJ,EAEJ,OADgBK,EAAmB,EACpB,qBAAqB,CAClC,GAAIC,EAAgBF,CAAE,EACtB,UAAWG,EAAa,CAC1B,CAAC,CACH",
|
|
6
|
+
"names": ["createGuardedContext", "CheckboxContextProvider", "useCheckboxContext", "_c", "checkboxMachine", "createCheckboxApi", "useOnDestroy", "normalizeProps", "useMachine", "useControlledId", "useCheckbox", "props", "$", "_c", "machine", "useMachine", "checkboxMachine", "t0", "createCheckboxApi", "normalizeProps", "useCheckboxLabel", "id", "useCheckboxContext", "useControlledId", "useOnDestroy", "useCheckboxHiddenInput", "useCheckboxControl", "useCheckboxIndicator", "context", "t1", "useCheckboxErrorText"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type CheckboxApi, type CheckboxApiProps, type CheckboxErrorTextBindings, type CheckboxIndicatorBindings } from "@qualcomm-ui/core/checkbox";
|
|
2
|
+
import type { IdProp } from "@qualcomm-ui/react-core/system";
|
|
3
|
+
export declare function useCheckbox(props: CheckboxApiProps): CheckboxApi;
|
|
4
|
+
export declare function useCheckboxLabel({ id }: IdProp): import("@qualcomm-ui/core/checkbox").CheckboxLabelBindings;
|
|
5
|
+
export declare function useCheckboxHiddenInput({ id }: IdProp): import("@qualcomm-ui/core/checkbox").CheckboxHiddenInputBindings;
|
|
6
|
+
export declare function useCheckboxControl({ id }: IdProp): import("@qualcomm-ui/core/checkbox").CheckboxControlBindings;
|
|
7
|
+
export interface UseCheckboxIndicator {
|
|
8
|
+
contextProps: CheckboxIndicatorBindings;
|
|
9
|
+
indeterminate: boolean | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare function useCheckboxIndicator(): UseCheckboxIndicator;
|
|
12
|
+
export declare function useCheckboxErrorText({ id }: IdProp): CheckboxErrorTextBindings;
|
|
13
|
+
//# sourceMappingURL=use-checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-checkbox.d.ts","sourceRoot":"","sources":["../../src/checkbox/use-checkbox.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAG/B,MAAM,4BAA4B,CAAA;AAInC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,gCAAgC,CAAA;AAI1D,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,WAAW,CAIhE;AAED,wBAAgB,gBAAgB,CAAC,EAAC,EAAE,EAAC,EAAE,MAAM,8DAM5C;AAED,wBAAgB,sBAAsB,CAAC,EAAC,EAAE,EAAC,EAAE,MAAM,oEAMlD;AAED,wBAAgB,kBAAkB,CAAC,EAAC,EAAE,EAAC,EAAE,MAAM,gEAM9C;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,yBAAyB,CAAA;IACvC,aAAa,EAAE,OAAO,GAAG,SAAS,CAAA;CACnC;AAED,wBAAgB,oBAAoB,IAAI,oBAAoB,CAM3D;AAED,wBAAgB,oBAAoB,CAAC,EAAC,EAAE,EAAC,EAAE,MAAM,GAAG,yBAAyB,CAM5E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/classes/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/classes/state-classes.ts"],
|
|
4
|
+
"sourcesContent": ["export const stateClasses = {\n disabled: disabled => disabled ? \"state-disabled\" : null\n};"],
|
|
5
|
+
"mappings": "AAAO,IAAMA,EAAe,CAC1B,SAAUC,GAAYA,EAAW,iBAAmB,IACtD",
|
|
6
|
+
"names": ["stateClasses", "disabled"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state-classes.d.ts","sourceRoot":"","sources":["../../src/classes/state-classes.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;yBACF,OAAO,GAAG,SAAS;CAEzC,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { CollapsibleApi } from "@qualcomm-ui/core/collapsible";
|
|
2
|
+
export declare const CollapsibleContextProvider: import("react").Provider<CollapsibleApi>, useCollapsibleContext: (requireContext?: boolean) => CollapsibleApi;
|
|
3
|
+
//# sourceMappingURL=collapsible-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collapsible-context.d.ts","sourceRoot":"","sources":["../../src/collapsible/collapsible-context.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAA;AAGjE,eAAO,MAAO,0BAA0B,4CAAE,qBAAqB,8CAK3D,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from "react";
|
|
2
|
+
import { type CollapsibleApi, type CollapsibleApiProps } from "@qualcomm-ui/core/collapsible";
|
|
3
|
+
import { type ElementRenderProp, type IdProp, type RenderProp } from "@qualcomm-ui/react-core/system";
|
|
4
|
+
export interface CoreCollapsibleRootProviderProps extends CollapsibleApiProps {
|
|
5
|
+
/**
|
|
6
|
+
* React {@link https://react.dev/learn/passing-props-to-a-component#passing-jsx-as-children children} prop.
|
|
7
|
+
*/
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare function CoreCollapsibleRootProvider({ children, ...props }: CoreCollapsibleRootProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export interface CoreCollapsibleRootProps extends CollapsibleApiProps, Omit<ElementRenderProp<"div">, "dir"> {
|
|
12
|
+
/**
|
|
13
|
+
* React {@link https://react.dev/learn/passing-props-to-a-component#passing-jsx-as-children children} prop.
|
|
14
|
+
*/
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export declare function CoreCollapsibleRoot({ children, ...props }: CoreCollapsibleRootProps): ReactElement;
|
|
18
|
+
export interface CoreCollapsibleContentProps extends IdProp, ElementRenderProp<"div"> {
|
|
19
|
+
/**
|
|
20
|
+
* React {@link https://react.dev/learn/passing-props-to-a-component#passing-jsx-as-children children} prop.
|
|
21
|
+
*/
|
|
22
|
+
children?: ReactNode;
|
|
23
|
+
}
|
|
24
|
+
export declare function CoreCollapsibleContent({ children, id, ...props }: CoreCollapsibleContentProps): ReactElement;
|
|
25
|
+
export interface CoreCollapsibleTriggerProps extends IdProp, ElementRenderProp<"button"> {
|
|
26
|
+
/**
|
|
27
|
+
* React {@link https://react.dev/learn/passing-props-to-a-component#passing-jsx-as-children children} prop.
|
|
28
|
+
*/
|
|
29
|
+
children?: ReactNode;
|
|
30
|
+
}
|
|
31
|
+
export declare function CoreCollapsibleTrigger({ children, id, ...props }: CoreCollapsibleTriggerProps): ReactElement;
|
|
32
|
+
export interface CoreCollapsibleContextProps {
|
|
33
|
+
/**
|
|
34
|
+
* {@link
|
|
35
|
+
* https://react-next.qui.qualcomm.com/render-props#render-prop
|
|
36
|
+
* Render Prop}
|
|
37
|
+
*
|
|
38
|
+
* @inheritDoc
|
|
39
|
+
*/
|
|
40
|
+
children: RenderProp<CollapsibleApi>;
|
|
41
|
+
}
|
|
42
|
+
export declare function CoreCollapsibleContext({ children, }: CoreCollapsibleContextProps): ReactNode;
|
|
43
|
+
//# sourceMappingURL=core-collapsible.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-collapsible.d.ts","sourceRoot":"","sources":["../../src/collapsible/core-collapsible.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,YAAY,EAAE,SAAS,EAAC,MAAM,OAAO,CAAA;AAElD,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EAIzB,MAAM,+BAA+B,CAAA;AAItC,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,MAAM,EAEX,KAAK,UAAU,EAEhB,MAAM,gCAAgC,CAAA;AAQvC,MAAM,WAAW,gCAAiC,SAAQ,mBAAmB;IAC3E;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,gCAAgC,2CASlC;AAED,MAAM,WAAW,wBACf,SAAQ,mBAAmB,EACzB,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;IACvC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,wBAAwB,GAAG,YAAY,CAezC;AAED,MAAM,WAAW,2BACf,SAAQ,MAAM,EACZ,iBAAiB,CAAC,KAAK,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,EAAE,EACF,GAAG,KAAK,EACT,EAAE,2BAA2B,GAAG,YAAY,CAgB5C;AAED,MAAM,WAAW,2BACf,SAAQ,MAAM,EACZ,iBAAiB,CAAC,QAAQ,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,EAAE,EACF,GAAG,KAAK,EACT,EAAE,2BAA2B,GAAG,YAAY,CAgB5C;AAED,MAAM,WAAW,2BAA2B;IAC1C;;;;;;OAMG;IACH,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC,CAAA;CACrC;AAED,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,GACT,EAAE,2BAA2B,GAAG,SAAS,CAGzC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CoreCollapsibleContent, type CoreCollapsibleContentProps, CoreCollapsibleContext, type CoreCollapsibleContextProps, CoreCollapsibleRoot, type CoreCollapsibleRootProps, CoreCollapsibleRootProvider, type CoreCollapsibleRootProviderProps, CoreCollapsibleTrigger, type CoreCollapsibleTriggerProps } from "./core-collapsible";
|
|
2
|
+
export * from "./collapsible-context";
|
|
3
|
+
export type { CoreCollapsibleRootProviderProps, CoreCollapsibleRootProps, CoreCollapsibleContentProps, CoreCollapsibleTriggerProps, CoreCollapsibleContextProps, };
|
|
4
|
+
type CoreCollapsibleComponent = {
|
|
5
|
+
Content: typeof CoreCollapsibleContent;
|
|
6
|
+
Context: typeof CoreCollapsibleContext;
|
|
7
|
+
Root: typeof CoreCollapsibleRoot;
|
|
8
|
+
RootProvider: typeof CoreCollapsibleRootProvider;
|
|
9
|
+
Trigger: typeof CoreCollapsibleTrigger;
|
|
10
|
+
};
|
|
11
|
+
export declare const CoreCollapsible: CoreCollapsibleComponent;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/collapsible/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,KAAK,2BAA2B,EAChC,sBAAsB,EACtB,KAAK,2BAA2B,EAChC,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,2BAA2B,EAC3B,KAAK,gCAAgC,EACrC,sBAAsB,EACtB,KAAK,2BAA2B,EACjC,MAAM,oBAAoB,CAAA;AAE3B,cAAc,uBAAuB,CAAA;AAErC,YAAY,EACV,gCAAgC,EAChC,wBAAwB,EACxB,2BAA2B,EAC3B,2BAA2B,EAC3B,2BAA2B,GAC5B,CAAA;AAED,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,OAAO,sBAAsB,CAAA;IACtC,OAAO,EAAE,OAAO,sBAAsB,CAAA;IACtC,IAAI,EAAE,OAAO,mBAAmB,CAAA;IAChC,YAAY,EAAE,OAAO,2BAA2B,CAAA;IAChD,OAAO,EAAE,OAAO,sBAAsB,CAAA;CACvC,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,wBAM7B,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{c as m}from"react/compiler-runtime";import{jsx as n}from"react/jsx-runtime";import{collapsibleMachine as d,createCollapsibleApi as b,splitCollapsibleProps as D}from"@qualcomm-ui/core/collapsible";import{useOnDestroy as x}from"@qualcomm-ui/react-core/effects";import{normalizeProps as u,useMachine as f}from"@qualcomm-ui/react-core/machine";import{useControlledId as g}from"@qualcomm-ui/react-core/state";import{PolymorphicElement as C,renderProp as A}from"@qualcomm-ui/react-core/system";import{mergeProps as a}from"@qualcomm-ui/utils/merge-props";import{createGuardedContext as B}from"@qualcomm-ui/react-core/context";var[c,p]=B({hookName:"useCollapsibleContext",providerName:"<CollapsibleContextProvider>",strict:!0});function P(l){let o=m(6),e,r;o[0]!==l?({children:e,...r}=l,o[0]=l,o[1]=e,o[2]=r):(e=o[1],r=o[2]);let t=f(d,r),i;if(o[3]!==e||o[4]!==t){let s=b(t,u);i=n(c,{value:s,children:e}),o[3]=e,o[4]=t,o[5]=i}else i=o[5];return i}function h(l){let{children:o,...e}=l,[r,t]=D(e),i=f(d,r),s=b(i,u),T=a(s.getRootBindings(),t);return n(c,{value:s,children:n(C,{as:"div",...T,children:o})})}function v(l){let{children:o,id:e,...r}=l,t=p(),i=a(t.getContentBindings({id:g(e),onDestroy:x()}),r);return n(C,{as:"div",...i,children:o})}function R(l){let{children:o,id:e,...r}=l,t=p(),i=a(t.getTriggerBindings({id:g(e),onDestroy:x()}),r);return n(C,{as:"button",...i,children:o})}function y(l){let o=m(3),{children:e}=l,r=p(),t;return o[0]!==e||o[1]!==r?(t=A(e,r),o[0]=e,o[1]=r,o[2]=t):t=o[2],t}var F={Content:v,Context:y,Root:h,RootProvider:P,Trigger:R};export{c as CollapsibleContextProvider,F as CoreCollapsible,p as useCollapsibleContext};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/collapsible/core-collapsible.tsx", "../../src/collapsible/collapsible-context.ts", "../../src/collapsible/index.ts"],
|
|
4
|
+
"sourcesContent": ["import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { collapsibleMachine, createCollapsibleApi, splitCollapsibleProps } from \"@qualcomm-ui/core/collapsible\";\nimport { useOnDestroy } from \"@qualcomm-ui/react-core/effects\";\nimport { normalizeProps, useMachine } from \"@qualcomm-ui/react-core/machine\";\nimport { useControlledId } from \"@qualcomm-ui/react-core/state\";\nimport { PolymorphicElement, renderProp } from \"@qualcomm-ui/react-core/system\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { CollapsibleContextProvider, useCollapsibleContext } from \"./collapsible-context\";\nexport function CoreCollapsibleRootProvider(t0) {\n const $ = _c(6);\n let children;\n let props;\n if ($[0] !== t0) {\n ({\n children,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = children;\n $[2] = props;\n } else {\n children = $[1];\n props = $[2];\n }\n const machine = useMachine(collapsibleMachine, props);\n let t1;\n if ($[3] !== children || $[4] !== machine) {\n const api = createCollapsibleApi(machine, normalizeProps);\n t1 = jsx(CollapsibleContextProvider, {\n value: api,\n children\n });\n $[3] = children;\n $[4] = machine;\n $[5] = t1;\n } else {\n t1 = $[5];\n }\n return t1;\n}\nexport function CoreCollapsibleRoot(t0) {\n const {\n children,\n ...props\n } = t0;\n const [collapsibleApiProps, localProps] = splitCollapsibleProps(props);\n const machine = useMachine(collapsibleMachine, collapsibleApiProps);\n const api = createCollapsibleApi(machine, normalizeProps);\n const mergedProps = mergeProps(api.getRootBindings(), localProps);\n return jsx(CollapsibleContextProvider, {\n value: api,\n children: jsx(PolymorphicElement, {\n as: \"div\",\n ...mergedProps,\n children\n })\n });\n}\nexport function CoreCollapsibleContent(t0) {\n const {\n children,\n id,\n ...props\n } = t0;\n const context = useCollapsibleContext();\n const mergedProps = mergeProps(context.getContentBindings({\n id: useControlledId(id),\n onDestroy: useOnDestroy()\n }), props);\n return jsx(PolymorphicElement, {\n as: \"div\",\n ...mergedProps,\n children\n });\n}\nexport function CoreCollapsibleTrigger(t0) {\n const {\n children,\n id,\n ...props\n } = t0;\n const context = useCollapsibleContext();\n const mergedProps = mergeProps(context.getTriggerBindings({\n id: useControlledId(id),\n onDestroy: useOnDestroy()\n }), props);\n return jsx(PolymorphicElement, {\n as: \"button\",\n ...mergedProps,\n children\n });\n}\nexport function CoreCollapsibleContext(t0) {\n const $ = _c(3);\n const {\n children\n } = t0;\n const context = useCollapsibleContext();\n let t1;\n if ($[0] !== children || $[1] !== context) {\n t1 = renderProp(children, context);\n $[0] = children;\n $[1] = context;\n $[2] = t1;\n } else {\n t1 = $[2];\n }\n return t1;\n}", "import { createGuardedContext } from \"@qualcomm-ui/react-core/context\";\nexport const [CollapsibleContextProvider, useCollapsibleContext] = createGuardedContext({\n hookName: \"useCollapsibleContext\",\n providerName: \"<CollapsibleContextProvider>\",\n strict: true\n});", "import { CoreCollapsibleContent, CoreCollapsibleContext, CoreCollapsibleRoot, CoreCollapsibleRootProvider, CoreCollapsibleTrigger } from \"./core-collapsible\";\nexport * from \"./collapsible-context\";\nexport const CoreCollapsible = {\n Content: CoreCollapsibleContent,\n Context: CoreCollapsibleContext,\n Root: CoreCollapsibleRoot,\n RootPro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,QAASC,EACT,QAASC,EACT,KAAMC,EACN,aAAcC,EACd,QAASC,CACX",
|
|
6
|
+
"names": ["_c", "jsx", "collapsibleMachine", "createCollapsibleApi", "splitCollapsibleProps", "useOnDestroy", "normalizeProps", "useMachine", "useControlledId", "PolymorphicElement", "renderProp", "mergeProps", "createGuardedContext", "CollapsibleContextProvider", "useCollapsibleContext", "CoreCollapsibleRootProvider", "t0", "$", "_c", "children", "props", "machine", "useMachine", "collapsibleMachine", "t1", "api", "createCollapsibleApi", "normalizeProps", "jsx", "CollapsibleContextProvider", "CoreCollapsibleRoot", "collapsibleApiProps", "localProps", "splitCollapsibleProps", "mergedProps", "mergeProps", "PolymorphicElement", "CoreCollapsibleContent", "id", "context", "useCollapsibleContext", "useControlledId", "useOnDestroy", "CoreCollapsibleTrigger", "CoreCollapsibleContext", "renderProp", "CoreCollapsible", "CoreCollapsibleContent", "CoreCollapsibleContext", "CoreCollapsibleRoot", "CoreCollapsibleRootProvider", "CoreCollapsibleTrigger"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/collection/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{useCallback as B,useMemo as L,useRef as O}from"react";import{ListCollection as v}from"@qualcomm-ui/utils/collection";function y(a){let{filter:m,filterText:l,items:c=[],limit:f,...o}=a,p=O(o);p.current=o;let u=B(s=>new v({...p.current,items:s}),[]);return{collection:L(()=>{let s=c;l&&m&&(s=u(c).filter((r,d,e)=>m(r,l,e)).items);let I=f==null?s:s.slice(0,f);return new v({...p.current,items:I})},[c,l,m,f,u])}}import{useCallback as R,useMemo as T,useRef as b,useState as x}from"react";import{useEvent as i}from"@qualcomm-ui/react-core/events";import{ListCollection as C}from"@qualcomm-ui/utils/collection";function h(a){let{filter:m,initialItems:l=[],limit:c,...f}=a,[o,p]=x(l),[u,w]=x(""),s=i(e=>{p(e),w("")}),I=b(f);I.current=f;let r=R(e=>new C({...I.current,items:e}),[]),d=T(()=>{let e=o;u&&m&&(e=r(o).filter((n,_,A)=>m(n,u,A)).items);let t=c==null?e:e.slice(0,c);return new C({...I.current,items:t})},[o,u,m,c,r]);return{append:i((...e)=>{let t=r(o).append(...e).items;s(t)}),clear:i(()=>{s([])}),collection:d,filter:i(e=>{w(e||"")}),insert:i((e,...t)=>{let n=r(o).insert(e,...t).items;s(n)}),insertAfter:i((e,...t)=>{let n=r(o).insertAfter(e,...t).items;s(n)}),insertBefore:i((e,...t)=>{let n=r(o).insertBefore(e,...t).items;s(n)}),move:i((e,t)=>{let n=r(o).move(e,t).items;s(n)}),moveAfter:i((e,...t)=>{let n=r(o).moveAfter(e,...t).items;s(n)}),moveBefore:i((e,...t)=>{let n=r(o).moveBefore(e,...t).items;s(n)}),prepend:i((...e)=>{let t=r(o).prepend(...e).items;s(t)}),remove:i((...e)=>{let t=r(o).remove(...e).items;s(t)}),reorder:i((e,t)=>{let n=r(o).reorder(e,t).items;s(n)}),reset:i(()=>{s(l)}),set:i(e=>{s(e)}),update:i((e,t)=>{let n=r(o).update(e,t).items;s(n)}),upsert:i((e,t,n="append")=>{let _=r(o).upsert(e,t,n).items;s(_)})}}export{y as useAsyncListCollection,h as useListCollection};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/collection/use-async-list-collection.ts", "../../src/collection/use-list-collection.ts"],
|
|
4
|
+
"sourcesContent": ["import { useCallback, useMemo, useRef } from \"react\";\nimport { ListCollection } from \"@qualcomm-ui/utils/collection\";\nexport function useAsyncListCollection(props) {\n const {\n filter,\n filterText,\n items = [],\n limit,\n ...collectionOptions\n } = props;\n const collectionOptionsRef = useRef(collectionOptions);\n collectionOptionsRef.current = collectionOptions;\n const create = useCallback(items2 => {\n return new ListCollection({\n ...collectionOptionsRef.current,\n items: items2\n });\n }, []);\n const collection = useMemo(() => {\n let activeItems = items;\n if (filterText && filter) {\n activeItems = create(items).filter((itemString, _index, item) => filter(itemString, filterText, item)).items;\n }\n const limitedItems = limit == null ? activeItems : activeItems.slice(0, limit);\n return new ListCollection({\n ...collectionOptionsRef.current,\n items: limitedItems\n });\n }, [items, filterText, filter, limit, create]);\n return {\n collection\n };\n}", "import { useCallback, useMemo, useRef, useState } from \"react\";\nimport { useEvent } from \"@qualcomm-ui/react-core/events\";\nimport { ListCollection } from \"@qualcomm-ui/utils/collection\";\nexport function useListCollection(props) {\n const {\n filter,\n initialItems = [],\n limit,\n ...collectionOptions\n } = props;\n const [items, setItemsImpl] = useState(initialItems);\n const [filterText, setFilterText] = useState(\"\");\n const setItems = useEvent(items2 => {\n setItemsImpl(items2);\n setFilterText(\"\");\n });\n const collectionOptionsRef = useRef(collectionOptions);\n collectionOptionsRef.current = collectionOptions;\n const create = useCallback(items2_0 => {\n return new ListCollection({\n ...collectionOptionsRef.current,\n items: items2_0\n });\n }, []);\n const collection = useMemo(() => {\n let activeItems = items;\n if (filterText && filter) {\n activeItems = create(items).filter((itemString, _index, item) => filter(itemString, filterText, item)).items;\n }\n const limitedItems = limit == null ? activeItems : activeItems.slice(0, limit);\n return new ListCollection({\n ...collectionOptionsRef.current,\n items: limitedItems\n });\n }, [items, filterText, filter, limit, create]);\n return {\n append: useEvent((...itemsToAppend) => {\n const newItems = create(items).append(...itemsToAppend).items;\n setItems(newItems);\n }),\n clear: useEvent(() => {\n setItems([]);\n }),\n collection,\n filter: useEvent(inputValue => {\n setFilterText(inputValue || \"\");\n }),\n insert: useEvent((index, ...itemsToInsert) => {\n const newItems_0 = create(items).insert(index, ...itemsToInsert).items;\n setItems(newItems_0);\n }),\n insertAfter: useEvent((value, ...itemsToInsert_0) => {\n const newItems_1 = create(items).insertAfter(value, ...itemsToInsert_0).items;\n setItems(newItems_1);\n }),\n insertBefore: useEvent((value_0, ...itemsToInsert_1) => {\n const newItems_2 = create(items).insertBefore(value_0, ...itemsToInsert_1).items;\n setItems(newItems_2);\n }),\n move: useEvent((value_1, to) => {\n const newItems_3 = create(items).move(value_1, to).items;\n setItems(newItems_3);\n }),\n moveAfter: useEvent((value_2, ...values) => {\n const newItems_4 = create(items).moveAfter(value_2, ...values).items;\n setItems(newItems_4);\n }),\n moveBefore: useEvent((value_3, ...values_0) => {\n const newItems_5 = create(items).moveBefore(value_3, ...values_0).items;\n setItems(newItems_5);\n }),\n prepend: useEvent((...itemsToPrepend) => {\n const newItems_6 = create(items).prepend(...itemsToPrepend).items;\n setItems(newItems_6);\n }),\n remove: useEvent((...itemOrValues) => {\n const newItems_7 = create(items).remove(...itemOrValues).items;\n setItems(newItems_7);\n }),\n reorder: useEvent((from, to_0) => {\n const newItems_8 = create(items).reorder(from, to_0).items;\n setItems(newItems_8);\n }),\n reset: useEvent(() => {\n setItems(initialItems);\n }),\n set: useEvent(newItems_9 => {\n setItems(newItems_9);\n }),\n update: useEvent((value_4, item_0) => {\n const newItems_10 = create(items).update(value_4, item_0).items;\n setItems(newItems_10);\n }),\n upsert: useEvent((value_5, item_1, mode = \"append\") => {\n const newItems_11 = create(items).upsert(value_5, item_1, mode).items;\n setItems(newItems_11);\n })\n };\n}"],
|
|
5
|
+
"mappings": "AAAA,OAAS,eAAAA,EAAa,WAAAC,EAAS,UAAAC,MAAc,QAC7C,OAAS,kBAAAC,MAAsB,gCACxB,SAASC,EAAuBC,EAAO,CAC5C,GAAM,CACJ,OAAAC,EACA,WAAAC,EACA,MAAAC,EAAQ,CAAC,EACT,MAAAC,EACA,GAAGC,CACL,EAAIL,EACEM,EAAuBT,EAAOQ,CAAiB,EACrDC,EAAqB,QAAUD,EAC/B,IAAME,EAASZ,EAAYa,GAClB,IAAIV,EAAe,CACxB,GAAGQ,EAAqB,QACxB,MAAOE,CACT,CAAC,EACA,CAAC,CAAC,EAYL,MAAO,CACL,WAZiBZ,E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CACrB,CAAC,EACD,QAAS3C,EAAS,IAAI4C,IAAmB,CACvC,IAAMC,EAAa9B,EAAOP,CAAK,EAAE,QAAQ,GAAGoC,CAAc,EAAE,MAC5DhC,EAASiC,CAAU,CACrB,CAAC,EACD,OAAQ7C,EAAS,IAAI8C,IAAiB,CACpC,IAAMC,EAAahC,EAAOP,CAAK,EAAE,OAAO,GAAGsC,CAAY,EAAE,MACzDlC,EAASmC,CAAU,CACrB,CAAC,EACD,QAAS/C,EAAS,CAACgD,EAAMC,IAAS,CAChC,IAAMC,EAAanC,EAAOP,CAAK,EAAE,QAAQwC,EAAMC,CAAI,EAAE,MACrDrC,EAASsC,CAAU,CACrB,CAAC,EACD,MAAOlD,EAAS,IAAM,CACpBY,EAASP,CAAY,CACvB,CAAC,EACD,IAAKL,EAASmD,GAAc,CAC1BvC,EAASuC,CAAU,CACrB,CAAC,EACD,OAAQnD,EAAS,CAACoD,EAASC,IAAW,CACpC,IAAMC,EAAcvC,EAAOP,CAAK,EAAE,OAAO4C,EAASC,CAAM,EAAE,MAC1DzC,EAAS0C,CAAW,CACtB,CAAC,EACD,OAAQtD,EAAS,CAACuD,EAASC,EAAQC,EAAO,WAAa,CACrD,IAAMC,EAAc3C,EAAOP,CAAK,EAAE,OAAO+C,EAASC,EAAQC,CAAI,EAAE,MAChE7C,EAAS8C,CAAW,CACtB,CAAC,CACH,CACF",
|
|
6
|
+
"names": ["useCallback", "useMemo", "useRef", "ListCollection", "useAsyncListCollection", "props", "filter", "filterText", "items", "limit", "collectionOptions", "collectionOptionsRef", "create", "items2", "activeItems", "itemString", "_index", "item", "limitedItems", "useCallback", "useMemo", "useRef", "useState", "useEvent", "ListCollection", "useListCollection", "props", "filter", "initialItems", "limit", "collectionOptions", "items", "setItemsImpl", "filterText", "setFilterText", "setItems", "items2", "collectionOptionsRef", "create", "items2_0", "collection", "activeItems", "itemString", "_index", "item", "limitedItems", "itemsToAppend", "newItems", "inputValue", "index", "itemsToInsert", "newItems_0", "value", "itemsToInsert_0", "newItems_1", "value_0", "itemsToInsert_1", "newItems_2", "value_1", "to", "newItems_3", "value_2", "values", "newItems_4", "value_3", "values_0", "newItems_5", "itemsToPrepend", "newItems_6", "itemOrValues", "newItems_7", "from", "to_0", "newItems_8", "newItems_9", "value_4", "item_0", "newItems_10", "value_5", "item_1", "mode", "newItems_11"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ListCollection, type ListCollectionOptions } from "@qualcomm-ui/utils/collection";
|
|
2
|
+
export interface UseAsyncListCollectionProps<T> extends Omit<ListCollectionOptions<T>, "items"> {
|
|
3
|
+
/**
|
|
4
|
+
* Filter function to determine which items match the filter text. This is
|
|
5
|
+
* typically one of the functions returned from the `useFilter` hook.
|
|
6
|
+
*/
|
|
7
|
+
filter?: (itemText: string, filterText: string, item: T) => boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Current filter text to apply
|
|
10
|
+
*/
|
|
11
|
+
filterText?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Source items to filter and limit
|
|
14
|
+
*/
|
|
15
|
+
items: T[];
|
|
16
|
+
/**
|
|
17
|
+
* Maximum number of items to include in the collection
|
|
18
|
+
*/
|
|
19
|
+
limit?: number;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Creates a filtered and limited ListCollection from source items. Dynamically updates when source items change. Great for filtering static data.
|
|
23
|
+
* @template T - The type of items in the collection
|
|
24
|
+
* @param props - Configuration options
|
|
25
|
+
* @returns Object containing the filtered and limited collection
|
|
26
|
+
*/
|
|
27
|
+
export declare function useAsyncListCollection<T>(props: UseAsyncListCollectionProps<T>): UseAsyncListCollectionReturn<T>;
|
|
28
|
+
/**
|
|
29
|
+
* Return type for useAsyncListCollection hook
|
|
30
|
+
* @template T - The type of items in the collection
|
|
31
|
+
*/
|
|
32
|
+
export interface UseAsyncListCollectionReturn<T> {
|
|
33
|
+
/**
|
|
34
|
+
* The filtered and limited collection
|
|
35
|
+
*/
|
|
36
|
+
collection: ListCollection<T>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=use-async-list-collection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-async-list-collection.d.ts","sourceRoot":"","sources":["../../src/collection/use-async-list-collection.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,cAAc,EACd,KAAK,qBAAqB,EAC3B,MAAM,+BAA+B,CAAA;AAEtC,MAAM,WAAW,2BAA2B,CAAC,CAAC,CAC5C,SAAQ,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC;IAC/C;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,KAAK,OAAO,CAAA;IACnE;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,KAAK,EAAE,CAAC,EAAE,CAAA;IACV;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,EACtC,KAAK,EAAE,2BAA2B,CAAC,CAAC,CAAC,GACpC,4BAA4B,CAAC,CAAC,CAAC,CA+BjC;AAED;;;GAGG;AACH,MAAM,WAAW,4BAA4B,CAAC,CAAC;IAC7C;;OAEG;IACH,UAAU,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;CAC9B"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { ListCollection, type ListCollectionOptions } from "@qualcomm-ui/utils/collection";
|
|
2
|
+
export interface UseListCollectionProps<T> extends Omit<ListCollectionOptions<T>, "items"> {
|
|
3
|
+
/**
|
|
4
|
+
* The filter function to use to filter the items.
|
|
5
|
+
*/
|
|
6
|
+
filter?: (itemText: string, filterText: string, item: T) => boolean;
|
|
7
|
+
/**
|
|
8
|
+
* The initial items to display in the collection.
|
|
9
|
+
*/
|
|
10
|
+
initialItems: T[];
|
|
11
|
+
/**
|
|
12
|
+
* The maximum number of items to display in the collection.
|
|
13
|
+
* Useful for performance when you have a large number of items.
|
|
14
|
+
*/
|
|
15
|
+
limit?: number;
|
|
16
|
+
}
|
|
17
|
+
export declare function useListCollection<T>(props: UseListCollectionProps<T>): UseListCollectionReturn<T>;
|
|
18
|
+
export interface UseListCollectionReturn<T> {
|
|
19
|
+
/**
|
|
20
|
+
* The function to append items.
|
|
21
|
+
*/
|
|
22
|
+
append: (...items: T[]) => void;
|
|
23
|
+
/**
|
|
24
|
+
* The function to clear the items.
|
|
25
|
+
*/
|
|
26
|
+
clear: () => void;
|
|
27
|
+
/**
|
|
28
|
+
* The collection of items.
|
|
29
|
+
*/
|
|
30
|
+
collection: ListCollection<T>;
|
|
31
|
+
/**
|
|
32
|
+
* The function to filter the items.
|
|
33
|
+
*/
|
|
34
|
+
filter: (inputValue: string) => void;
|
|
35
|
+
/**
|
|
36
|
+
* The function to insert items at a specific index.
|
|
37
|
+
*/
|
|
38
|
+
insert: (index: number, ...items: T[]) => void;
|
|
39
|
+
/**
|
|
40
|
+
* The function to insert items after a specific value.
|
|
41
|
+
*/
|
|
42
|
+
insertAfter: (value: string, ...items: T[]) => void;
|
|
43
|
+
/**
|
|
44
|
+
* The function to insert items before a specific value.
|
|
45
|
+
*/
|
|
46
|
+
insertBefore: (value: string, ...items: T[]) => void;
|
|
47
|
+
/**
|
|
48
|
+
* The function to move an item to a specific index.
|
|
49
|
+
*/
|
|
50
|
+
move: (value: string, to: number) => void;
|
|
51
|
+
/**
|
|
52
|
+
* The function to move an item after a specific value.
|
|
53
|
+
*/
|
|
54
|
+
moveAfter: (value: string, ...values: string[]) => void;
|
|
55
|
+
/**
|
|
56
|
+
* The function to move an item before a specific value.
|
|
57
|
+
*/
|
|
58
|
+
moveBefore: (value: string, ...values: string[]) => void;
|
|
59
|
+
/**
|
|
60
|
+
* The function to prepend items.
|
|
61
|
+
*/
|
|
62
|
+
prepend: (...items: T[]) => void;
|
|
63
|
+
/**
|
|
64
|
+
* The function to remove items.
|
|
65
|
+
*/
|
|
66
|
+
remove: (...itemOrValues: Array<T | string>) => void;
|
|
67
|
+
/**
|
|
68
|
+
* The function to reorder items.
|
|
69
|
+
*/
|
|
70
|
+
reorder: (from: number, to: number) => void;
|
|
71
|
+
/**
|
|
72
|
+
* The function to reset the items.
|
|
73
|
+
*/
|
|
74
|
+
reset: () => void;
|
|
75
|
+
/**
|
|
76
|
+
* The function to set the items.
|
|
77
|
+
*/
|
|
78
|
+
set: (items: T[]) => void;
|
|
79
|
+
/**
|
|
80
|
+
* The function to update an item.
|
|
81
|
+
*/
|
|
82
|
+
update: (value: string, item: T) => void;
|
|
83
|
+
/**
|
|
84
|
+
* The function to upsert an item.
|
|
85
|
+
*/
|
|
86
|
+
upsert: (value: string, item: T, mode?: "append" | "prepend") => void;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=use-list-collection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-list-collection.d.ts","sourceRoot":"","sources":["../../src/collection/use-list-collection.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,cAAc,EACd,KAAK,qBAAqB,EAC3B,MAAM,+BAA+B,CAAA;AAEtC,MAAM,WAAW,sBAAsB,CAAC,CAAC,CACvC,SAAQ,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC;IAC/C;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,KAAK,OAAO,CAAA;IACnE;;OAEG;IACH,YAAY,EAAE,CAAC,EAAE,CAAA;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EACjC,KAAK,EAAE,sBAAsB,CAAC,CAAC,CAAC,GAC/B,uBAAuB,CAAC,CAAC,CAAC,CAqG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AA;IAC3C;;OAEG;IACH,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB;;OAEG;IACH,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAA;IACzB;;OAEG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,KAAK,IAAI,CAAA;IACxC;;OAEG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAA;CACtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-context.d.ts","sourceRoot":"","sources":["../../src/combobox/combobox-context.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAA;AAG3D,eAAO,MAAO,uBAAuB,8CAAE,kBAAkB,gDAKrD,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ComboboxItemContext } from "@qualcomm-ui/core/combobox";
|
|
2
|
+
export declare const ComboboxItemContextProvider: import("react").Provider<ComboboxItemContext>, useComboboxItemContext: (requireContext?: boolean) => ComboboxItemContext;
|
|
3
|
+
//# sourceMappingURL=combobox-item-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-item-context.d.ts","sourceRoot":"","sources":["../../src/combobox/combobox-item-context.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,4BAA4B,CAAA;AAGnE,eAAO,MAAO,2BAA2B,iDAAE,sBAAsB,mDAK7D,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ComboboxApiItemGroupProps } from "@qualcomm-ui/core/combobox";
|
|
2
|
+
export declare const ComboboxItemGroupContextProvider: import("react").Provider<ComboboxApiItemGroupProps>, useComboboxItemGroupContext: (requireContext?: boolean) => ComboboxApiItemGroupProps;
|
|
3
|
+
//# sourceMappingURL=combobox-item-group-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-item-group-context.d.ts","sourceRoot":"","sources":["../../src/combobox/combobox-item-group-context.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,4BAA4B,CAAA;AAGzE,eAAO,MAAO,gCAAgC,uDAAE,2BAA2B,yDAKvE,CAAA"}
|