@novu/js 2.0.1 → 2.1.1
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/dist/cjs/{chunk-PMLVIUWC.cjs → chunk-D7P7KCZI.js} +342 -255
- package/dist/cjs/index.d.ts +8 -0
- package/dist/cjs/index.js +58 -0
- package/dist/cjs/novu-04KlkBy4.d.ts +528 -0
- package/dist/cjs/ui/index.d.ts +145 -0
- package/dist/cjs/ui/{index.cjs → index.js} +218 -141
- package/dist/esm/{chunk-LDGUT6MH.mjs → chunk-APRCCICD.mjs} +342 -256
- package/dist/esm/index.d.mts +8 -0
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/novu-04KlkBy4.d.mts +528 -0
- package/dist/esm/ui/index.d.mts +145 -0
- package/dist/esm/ui/index.mjs +131 -54
- package/dist/novu.min.js +10 -10
- package/dist/novu.min.js.gz +0 -0
- package/package.json +24 -16
- package/ui/package.json +5 -0
- package/dist/cjs/index.cjs +0 -50
- package/dist/types/api/inbox-service.d.ts +0 -65
- package/dist/types/api/inbox-service.d.ts.map +0 -1
- package/dist/types/api/index.d.ts +0 -2
- package/dist/types/api/index.d.ts.map +0 -1
- package/dist/types/base-module.d.ts +0 -13
- package/dist/types/base-module.d.ts.map +0 -1
- package/dist/types/cache/in-memory-cache.d.ts +0 -13
- package/dist/types/cache/in-memory-cache.d.ts.map +0 -1
- package/dist/types/cache/index.d.ts +0 -2
- package/dist/types/cache/index.d.ts.map +0 -1
- package/dist/types/cache/notifications-cache.d.ts +0 -22
- package/dist/types/cache/notifications-cache.d.ts.map +0 -1
- package/dist/types/cache/preferences-cache.d.ts +0 -11
- package/dist/types/cache/preferences-cache.d.ts.map +0 -1
- package/dist/types/cache/types.d.ts +0 -10
- package/dist/types/cache/types.d.ts.map +0 -1
- package/dist/types/event-emitter/index.d.ts +0 -3
- package/dist/types/event-emitter/index.d.ts.map +0 -1
- package/dist/types/event-emitter/novu-event-emitter.d.ts +0 -14
- package/dist/types/event-emitter/novu-event-emitter.d.ts.map +0 -1
- package/dist/types/event-emitter/types.d.ts +0 -85
- package/dist/types/event-emitter/types.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -3
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/notifications/helpers.d.ts +0 -57
- package/dist/types/notifications/helpers.d.ts.map +0 -1
- package/dist/types/notifications/index.d.ts +0 -4
- package/dist/types/notifications/index.d.ts.map +0 -1
- package/dist/types/notifications/notification.d.ts +0 -33
- package/dist/types/notifications/notification.d.ts.map +0 -1
- package/dist/types/notifications/notifications.d.ts +0 -44
- package/dist/types/notifications/notifications.d.ts.map +0 -1
- package/dist/types/notifications/types.d.ts +0 -55
- package/dist/types/notifications/types.d.ts.map +0 -1
- package/dist/types/novu.d.ts +0 -14
- package/dist/types/novu.d.ts.map +0 -1
- package/dist/types/preferences/helpers.d.ts +0 -11
- package/dist/types/preferences/helpers.d.ts.map +0 -1
- package/dist/types/preferences/index.d.ts +0 -2
- package/dist/types/preferences/index.d.ts.map +0 -1
- package/dist/types/preferences/preference.d.ts +0 -15
- package/dist/types/preferences/preference.d.ts.map +0 -1
- package/dist/types/preferences/preferences.d.ts +0 -15
- package/dist/types/preferences/preferences.d.ts.map +0 -1
- package/dist/types/preferences/types.d.ts +0 -15
- package/dist/types/preferences/types.d.ts.map +0 -1
- package/dist/types/session/index.d.ts +0 -3
- package/dist/types/session/index.d.ts.map +0 -1
- package/dist/types/session/session.d.ts +0 -7
- package/dist/types/session/session.d.ts.map +0 -1
- package/dist/types/session/types.d.ts +0 -6
- package/dist/types/session/types.d.ts.map +0 -1
- package/dist/types/types.d.ts +0 -150
- package/dist/types/types.d.ts.map +0 -1
- package/dist/types/ui/api/hooks/index.d.ts +0 -6
- package/dist/types/ui/api/hooks/index.d.ts.map +0 -1
- package/dist/types/ui/api/hooks/useArchiveAll.d.ts +0 -10
- package/dist/types/ui/api/hooks/useArchiveAll.d.ts.map +0 -1
- package/dist/types/ui/api/hooks/useArchiveAllRead.d.ts +0 -10
- package/dist/types/ui/api/hooks/useArchiveAllRead.d.ts.map +0 -1
- package/dist/types/ui/api/hooks/useNotifications.d.ts +0 -17
- package/dist/types/ui/api/hooks/useNotifications.d.ts.map +0 -1
- package/dist/types/ui/api/hooks/usePreferences.d.ts +0 -9
- package/dist/types/ui/api/hooks/usePreferences.d.ts.map +0 -1
- package/dist/types/ui/api/hooks/useReadAll.d.ts +0 -10
- package/dist/types/ui/api/hooks/useReadAll.d.ts.map +0 -1
- package/dist/types/ui/api/index.d.ts +0 -2
- package/dist/types/ui/api/index.d.ts.map +0 -1
- package/dist/types/ui/components/ExternalElementRenderer.d.ts +0 -7
- package/dist/types/ui/components/ExternalElementRenderer.d.ts.map +0 -1
- package/dist/types/ui/components/Inbox.d.ts +0 -24
- package/dist/types/ui/components/Inbox.d.ts.map +0 -1
- package/dist/types/ui/components/InboxTabs/InboxTab.d.ts +0 -16
- package/dist/types/ui/components/InboxTabs/InboxTab.d.ts.map +0 -1
- package/dist/types/ui/components/InboxTabs/InboxTabs.d.ts +0 -11
- package/dist/types/ui/components/InboxTabs/InboxTabs.d.ts.map +0 -1
- package/dist/types/ui/components/InboxTabs/index.d.ts +0 -2
- package/dist/types/ui/components/InboxTabs/index.d.ts.map +0 -1
- package/dist/types/ui/components/InboxTabs/useTabsDropdown.d.ts +0 -11
- package/dist/types/ui/components/InboxTabs/useTabsDropdown.d.ts.map +0 -1
- package/dist/types/ui/components/Notification/DefaultNotification.d.ts +0 -12
- package/dist/types/ui/components/Notification/DefaultNotification.d.ts.map +0 -1
- package/dist/types/ui/components/Notification/NewMessagesCta.d.ts +0 -6
- package/dist/types/ui/components/Notification/NewMessagesCta.d.ts.map +0 -1
- package/dist/types/ui/components/Notification/Notification.d.ts +0 -12
- package/dist/types/ui/components/Notification/Notification.d.ts.map +0 -1
- package/dist/types/ui/components/Notification/NotificationList.d.ts +0 -14
- package/dist/types/ui/components/Notification/NotificationList.d.ts.map +0 -1
- package/dist/types/ui/components/Notification/NotificationListSkeleton.d.ts +0 -7
- package/dist/types/ui/components/Notification/NotificationListSkeleton.d.ts.map +0 -1
- package/dist/types/ui/components/Notification/index.d.ts +0 -3
- package/dist/types/ui/components/Notification/index.d.ts.map +0 -1
- package/dist/types/ui/components/Renderer.d.ts +0 -44
- package/dist/types/ui/components/Renderer.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Bell/Bell.d.ts +0 -8
- package/dist/types/ui/components/elements/Bell/Bell.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Bell/DefaultBellContainer.d.ts +0 -6
- package/dist/types/ui/components/elements/Bell/DefaultBellContainer.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Bell/index.d.ts +0 -2
- package/dist/types/ui/components/elements/Bell/index.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Footer.d.ts +0 -2
- package/dist/types/ui/components/elements/Footer.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Header/ActionsContainer.d.ts +0 -6
- package/dist/types/ui/components/elements/Header/ActionsContainer.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Header/Header.d.ts +0 -6
- package/dist/types/ui/components/elements/Header/Header.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Header/MoreActionsDropdown.d.ts +0 -2
- package/dist/types/ui/components/elements/Header/MoreActionsDropdown.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Header/MoreActionsOptions.d.ts +0 -9
- package/dist/types/ui/components/elements/Header/MoreActionsOptions.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Header/PreferencesHeader.d.ts +0 -6
- package/dist/types/ui/components/elements/Header/PreferencesHeader.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Header/index.d.ts +0 -3
- package/dist/types/ui/components/elements/Header/index.d.ts.map +0 -1
- package/dist/types/ui/components/elements/InboxStatus/InboxStatusDropdown.d.ts +0 -2
- package/dist/types/ui/components/elements/InboxStatus/InboxStatusDropdown.d.ts.map +0 -1
- package/dist/types/ui/components/elements/InboxStatus/InboxStatusOptions.d.ts +0 -14
- package/dist/types/ui/components/elements/InboxStatus/InboxStatusOptions.d.ts.map +0 -1
- package/dist/types/ui/components/elements/InboxStatus/constants.d.ts +0 -11
- package/dist/types/ui/components/elements/InboxStatus/constants.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Preferences/ChannelRow.d.ts +0 -18
- package/dist/types/ui/components/elements/Preferences/ChannelRow.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Preferences/LoadingScreen.d.ts +0 -2
- package/dist/types/ui/components/elements/Preferences/LoadingScreen.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Preferences/Preferences.d.ts +0 -2
- package/dist/types/ui/components/elements/Preferences/Preferences.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Preferences/Switch.d.ts +0 -8
- package/dist/types/ui/components/elements/Preferences/Switch.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Preferences/index.d.ts +0 -2
- package/dist/types/ui/components/elements/Preferences/index.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Root.d.ts +0 -3
- package/dist/types/ui/components/elements/Root.d.ts.map +0 -1
- package/dist/types/ui/components/elements/index.d.ts +0 -6
- package/dist/types/ui/components/elements/index.d.ts.map +0 -1
- package/dist/types/ui/components/index.d.ts +0 -4
- package/dist/types/ui/components/index.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Button.d.ts +0 -13
- package/dist/types/ui/components/primitives/Button.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Dropdown/DropdownContent.d.ts +0 -8
- package/dist/types/ui/components/primitives/Dropdown/DropdownContent.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Dropdown/DropdownItem.d.ts +0 -9
- package/dist/types/ui/components/primitives/Dropdown/DropdownItem.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Dropdown/DropdownRoot.d.ts +0 -4
- package/dist/types/ui/components/primitives/Dropdown/DropdownRoot.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Dropdown/DropdownTrigger.d.ts +0 -8
- package/dist/types/ui/components/primitives/Dropdown/DropdownTrigger.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Dropdown/index.d.ts +0 -44
- package/dist/types/ui/components/primitives/Dropdown/index.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Popover/PopoverClose.d.ts +0 -7
- package/dist/types/ui/components/primitives/Popover/PopoverClose.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Popover/PopoverContent.d.ts +0 -9
- package/dist/types/ui/components/primitives/Popover/PopoverContent.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Popover/PopoverRoot.d.ts +0 -23
- package/dist/types/ui/components/primitives/Popover/PopoverRoot.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Popover/PopoverTrigger.d.ts +0 -9
- package/dist/types/ui/components/primitives/Popover/PopoverTrigger.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Popover/index.d.ts +0 -28
- package/dist/types/ui/components/primitives/Popover/index.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Skeleton.d.ts +0 -14
- package/dist/types/ui/components/primitives/Skeleton.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tabs/TabsContent.d.ts +0 -10
- package/dist/types/ui/components/primitives/Tabs/TabsContent.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tabs/TabsList.d.ts +0 -11
- package/dist/types/ui/components/primitives/Tabs/TabsList.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tabs/TabsRoot.d.ts +0 -20
- package/dist/types/ui/components/primitives/Tabs/TabsRoot.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tabs/TabsTrigger.d.ts +0 -13
- package/dist/types/ui/components/primitives/Tabs/TabsTrigger.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tabs/index.d.ts +0 -35
- package/dist/types/ui/components/primitives/Tabs/index.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tabs/useKeyboardNavigation.d.ts +0 -7
- package/dist/types/ui/components/primitives/Tabs/useKeyboardNavigation.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tooltip/TooltipContent.d.ts +0 -9
- package/dist/types/ui/components/primitives/Tooltip/TooltipContent.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tooltip/TooltipRoot.d.ts +0 -21
- package/dist/types/ui/components/primitives/Tooltip/TooltipRoot.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tooltip/TooltipTrigger.d.ts +0 -9
- package/dist/types/ui/components/primitives/Tooltip/TooltipTrigger.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tooltip/index.d.ts +0 -21
- package/dist/types/ui/components/primitives/Tooltip/index.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/index.d.ts +0 -5
- package/dist/types/ui/components/primitives/index.d.ts.map +0 -1
- package/dist/types/ui/config/appearanceKeys.d.ts +0 -2
- package/dist/types/ui/config/appearanceKeys.d.ts.map +0 -1
- package/dist/types/ui/config/defaultLocalization.d.ts +0 -26
- package/dist/types/ui/config/defaultLocalization.d.ts.map +0 -1
- package/dist/types/ui/config/defaultVariables.d.ts +0 -3
- package/dist/types/ui/config/defaultVariables.d.ts.map +0 -1
- package/dist/types/ui/config/index.d.ts +0 -4
- package/dist/types/ui/config/index.d.ts.map +0 -1
- package/dist/types/ui/context/AppearanceContext.d.ts +0 -17
- package/dist/types/ui/context/AppearanceContext.d.ts.map +0 -1
- package/dist/types/ui/context/CountContext.d.ts +0 -23
- package/dist/types/ui/context/CountContext.d.ts.map +0 -1
- package/dist/types/ui/context/FocusManagerContext.d.ts +0 -12
- package/dist/types/ui/context/FocusManagerContext.d.ts.map +0 -1
- package/dist/types/ui/context/InboxContext.d.ts +0 -25
- package/dist/types/ui/context/InboxContext.d.ts.map +0 -1
- package/dist/types/ui/context/LocalizationContext.d.ts +0 -24
- package/dist/types/ui/context/LocalizationContext.d.ts.map +0 -1
- package/dist/types/ui/context/NovuContext.d.ts +0 -11
- package/dist/types/ui/context/NovuContext.d.ts.map +0 -1
- package/dist/types/ui/context/index.d.ts +0 -7
- package/dist/types/ui/context/index.d.ts.map +0 -1
- package/dist/types/ui/helpers/browser.d.ts +0 -2
- package/dist/types/ui/helpers/browser.d.ts.map +0 -1
- package/dist/types/ui/helpers/constants.d.ts +0 -5
- package/dist/types/ui/helpers/constants.d.ts.map +0 -1
- package/dist/types/ui/helpers/createDelayedLoading.d.ts +0 -3
- package/dist/types/ui/helpers/createDelayedLoading.d.ts.map +0 -1
- package/dist/types/ui/helpers/createInfiniteScroll.d.ts +0 -19
- package/dist/types/ui/helpers/createInfiniteScroll.d.ts.map +0 -1
- package/dist/types/ui/helpers/formatToRelativeTime.d.ts +0 -6
- package/dist/types/ui/helpers/formatToRelativeTime.d.ts.map +0 -1
- package/dist/types/ui/helpers/index.d.ts +0 -7
- package/dist/types/ui/helpers/index.d.ts.map +0 -1
- package/dist/types/ui/helpers/types.d.ts +0 -4
- package/dist/types/ui/helpers/types.d.ts.map +0 -1
- package/dist/types/ui/helpers/useBrowserTabsChannel.d.ts +0 -7
- package/dist/types/ui/helpers/useBrowserTabsChannel.d.ts.map +0 -1
- package/dist/types/ui/helpers/useFocusTrap.d.ts +0 -7
- package/dist/types/ui/helpers/useFocusTrap.d.ts.map +0 -1
- package/dist/types/ui/helpers/useNovuEvent.d.ts +0 -6
- package/dist/types/ui/helpers/useNovuEvent.d.ts.map +0 -1
- package/dist/types/ui/helpers/useStyle.d.ts +0 -3
- package/dist/types/ui/helpers/useStyle.d.ts.map +0 -1
- package/dist/types/ui/helpers/useUncontrolledState.d.ts +0 -9
- package/dist/types/ui/helpers/useUncontrolledState.d.ts.map +0 -1
- package/dist/types/ui/helpers/useWebSocketEvent.d.ts +0 -6
- package/dist/types/ui/helpers/useWebSocketEvent.d.ts.map +0 -1
- package/dist/types/ui/helpers/utils.d.ts +0 -33
- package/dist/types/ui/helpers/utils.d.ts.map +0 -1
- package/dist/types/ui/icons/Archive.d.ts +0 -3
- package/dist/types/ui/icons/Archive.d.ts.map +0 -1
- package/dist/types/ui/icons/ArchiveRead.d.ts +0 -3
- package/dist/types/ui/icons/ArchiveRead.d.ts.map +0 -1
- package/dist/types/ui/icons/ArrowDropDown.d.ts +0 -3
- package/dist/types/ui/icons/ArrowDropDown.d.ts.map +0 -1
- package/dist/types/ui/icons/ArrowLeft.d.ts +0 -3
- package/dist/types/ui/icons/ArrowLeft.d.ts.map +0 -1
- package/dist/types/ui/icons/BellIcon.d.ts +0 -3
- package/dist/types/ui/icons/BellIcon.d.ts.map +0 -1
- package/dist/types/ui/icons/Chat.d.ts +0 -3
- package/dist/types/ui/icons/Chat.d.ts.map +0 -1
- package/dist/types/ui/icons/Check.d.ts +0 -3
- package/dist/types/ui/icons/Check.d.ts.map +0 -1
- package/dist/types/ui/icons/Dots.d.ts +0 -3
- package/dist/types/ui/icons/Dots.d.ts.map +0 -1
- package/dist/types/ui/icons/Email.d.ts +0 -3
- package/dist/types/ui/icons/Email.d.ts.map +0 -1
- package/dist/types/ui/icons/EmptyIcon.d.ts +0 -3
- package/dist/types/ui/icons/EmptyIcon.d.ts.map +0 -1
- package/dist/types/ui/icons/InApp.d.ts +0 -3
- package/dist/types/ui/icons/InApp.d.ts.map +0 -1
- package/dist/types/ui/icons/Inbox.d.ts +0 -3
- package/dist/types/ui/icons/Inbox.d.ts.map +0 -1
- package/dist/types/ui/icons/Lock.d.ts +0 -2
- package/dist/types/ui/icons/Lock.d.ts.map +0 -1
- package/dist/types/ui/icons/Novu.d.ts +0 -3
- package/dist/types/ui/icons/Novu.d.ts.map +0 -1
- package/dist/types/ui/icons/Push.d.ts +0 -3
- package/dist/types/ui/icons/Push.d.ts.map +0 -1
- package/dist/types/ui/icons/ReadAll.d.ts +0 -3
- package/dist/types/ui/icons/ReadAll.d.ts.map +0 -1
- package/dist/types/ui/icons/Settings.d.ts +0 -3
- package/dist/types/ui/icons/Settings.d.ts.map +0 -1
- package/dist/types/ui/icons/Sms.d.ts +0 -3
- package/dist/types/ui/icons/Sms.d.ts.map +0 -1
- package/dist/types/ui/icons/Unarchive.d.ts +0 -3
- package/dist/types/ui/icons/Unarchive.d.ts.map +0 -1
- package/dist/types/ui/icons/Unread.d.ts +0 -3
- package/dist/types/ui/icons/Unread.d.ts.map +0 -1
- package/dist/types/ui/icons/index.d.ts +0 -20
- package/dist/types/ui/icons/index.d.ts.map +0 -1
- package/dist/types/ui/index.d.ts +0 -6
- package/dist/types/ui/index.d.ts.map +0 -1
- package/dist/types/ui/novuUI.d.ts +0 -25
- package/dist/types/ui/novuUI.d.ts.map +0 -1
- package/dist/types/ui/themes/dark.d.ts +0 -3
- package/dist/types/ui/themes/dark.d.ts.map +0 -1
- package/dist/types/ui/themes/index.d.ts +0 -2
- package/dist/types/ui/themes/index.d.ts.map +0 -1
- package/dist/types/ui/types.d.ts +0 -57
- package/dist/types/ui/types.d.ts.map +0 -1
- package/dist/types/umd.d.ts +0 -2
- package/dist/types/umd.d.ts.map +0 -1
- package/dist/types/utils/arrays.d.ts +0 -2
- package/dist/types/utils/arrays.d.ts.map +0 -1
- package/dist/types/utils/config.d.ts +0 -2
- package/dist/types/utils/config.d.ts.map +0 -1
- package/dist/types/utils/errors.d.ts +0 -5
- package/dist/types/utils/errors.d.ts.map +0 -1
- package/dist/types/utils/inbox-service-singleton.d.ts +0 -6
- package/dist/types/utils/inbox-service-singleton.d.ts.map +0 -1
- package/dist/types/utils/notification-utils.d.ts +0 -6
- package/dist/types/utils/notification-utils.d.ts.map +0 -1
- package/dist/types/ws/index.d.ts +0 -2
- package/dist/types/ws/index.d.ts.map +0 -1
- package/dist/types/ws/socket.d.ts +0 -13
- package/dist/types/ws/socket.d.ts.map +0 -1
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import type { NotificationFilter } from '../../../types';
|
|
3
|
-
import type { NotificationActionClickHandler, NotificationClickHandler, NotificationRenderer } from '../../types';
|
|
4
|
-
type NotificationListProps = {
|
|
5
|
-
renderNotification?: NotificationRenderer;
|
|
6
|
-
onNotificationClick?: NotificationClickHandler;
|
|
7
|
-
onPrimaryActionClick?: NotificationActionClickHandler;
|
|
8
|
-
onSecondaryActionClick?: NotificationActionClickHandler;
|
|
9
|
-
limit?: number | undefined;
|
|
10
|
-
filter?: NotificationFilter;
|
|
11
|
-
};
|
|
12
|
-
export declare const NotificationList: (props: NotificationListProps) => JSX.Element;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=NotificationList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationList.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Notification/NotificationList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,GAAG,EAAQ,MAAM,UAAU,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAKzD,OAAO,KAAK,EAAE,8BAA8B,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAwBlH,KAAK,qBAAqB,GAAG;IAC3B,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;IAC1C,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C,oBAAoB,CAAC,EAAE,8BAA8B,CAAC;IACtD,sBAAsB,CAAC,EAAE,8BAA8B,CAAC;IACxD,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,qBAAqB,gBAwD5D,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const NotificationSkeleton: () => import("solid-js").JSX.Element;
|
|
2
|
-
type NotificationListSkeletonProps = {
|
|
3
|
-
count: number;
|
|
4
|
-
};
|
|
5
|
-
export declare const NotificationListSkeleton: (props: NotificationListSkeletonProps) => import("solid-js").JSX.Element;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=NotificationListSkeleton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationListSkeleton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Notification/NotificationListSkeleton.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,sCAuBhC,CAAC;AAEF,KAAK,6BAA6B,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AACF,eAAO,MAAM,wBAAwB,UAAW,6BAA6B,mCAE5E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Notification/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { MountableElement } from 'solid-js/web';
|
|
2
|
-
import { NovuUI } from '..';
|
|
3
|
-
import type { NovuOptions } from '../../types';
|
|
4
|
-
import type { Appearance, Localization, RouterPush, Tab } from '../types';
|
|
5
|
-
import { InboxContentProps } from './Inbox';
|
|
6
|
-
export declare const novuComponents: {
|
|
7
|
-
Inbox: (props: import("./Inbox").InboxProps) => import("solid-js").JSX.Element;
|
|
8
|
-
Bell: import("solid-js").Component<{
|
|
9
|
-
renderBell?: import("..").BellRenderer | undefined;
|
|
10
|
-
}>;
|
|
11
|
-
Notifications: (props: Omit<InboxContentProps, 'hideNav' | 'initialPage'>) => import("solid-js").JSX.Element;
|
|
12
|
-
Preferences: (props: Omit<InboxContentProps, 'hideNav' | 'initialPage'>) => import("solid-js").JSX.Element;
|
|
13
|
-
};
|
|
14
|
-
export type NovuComponent = {
|
|
15
|
-
name: NovuComponentName;
|
|
16
|
-
props?: any;
|
|
17
|
-
};
|
|
18
|
-
export type NovuMounterProps = NovuComponent & {
|
|
19
|
-
element: MountableElement;
|
|
20
|
-
};
|
|
21
|
-
export type NovuComponentName = keyof typeof novuComponents;
|
|
22
|
-
export type NovuComponentControls = {
|
|
23
|
-
mount: (params: NovuMounterProps) => void;
|
|
24
|
-
unmount: (params: {
|
|
25
|
-
element: MountableElement;
|
|
26
|
-
}) => void;
|
|
27
|
-
updateProps: (params: {
|
|
28
|
-
element: MountableElement;
|
|
29
|
-
props: unknown;
|
|
30
|
-
}) => void;
|
|
31
|
-
};
|
|
32
|
-
type RendererProps = {
|
|
33
|
-
novuUI: NovuUI;
|
|
34
|
-
cssHref: string;
|
|
35
|
-
appearance?: Appearance;
|
|
36
|
-
nodes: Map<MountableElement, NovuComponent>;
|
|
37
|
-
localization?: Localization;
|
|
38
|
-
options: NovuOptions;
|
|
39
|
-
tabs: Array<Tab>;
|
|
40
|
-
routerPush?: RouterPush;
|
|
41
|
-
};
|
|
42
|
-
export declare const Renderer: (props: RendererProps) => import("solid-js").JSX.Element;
|
|
43
|
-
export {};
|
|
44
|
-
//# sourceMappingURL=Renderer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Renderer.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Renderer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAU,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAC5B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAS/C,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE1E,OAAO,EAAuB,iBAAiB,EAAa,MAAM,SAAS,CAAC;AAE5E,eAAO,MAAM,cAAc;;;;;2BAIF,KAAK,iBAAiB,EAAE,SAAS,GAAG,aAAa,CAAC;yBAGpD,KAAK,iBAAiB,EAAE,SAAS,GAAG,aAAa,CAAC;CAGxE,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAAE,IAAI,EAAE,iBAAiB,CAAC;IAAC,KAAK,CAAC,EAAE,GAAG,CAAA;CAAE,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG;IAAE,OAAO,EAAE,gBAAgB,CAAA;CAAE,CAAC;AAE7E,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,cAAc,CAAC;AAE5D,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC1C,OAAO,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,gBAAgB,CAAA;KAAE,KAAK,IAAI,CAAC;IACzD,WAAW,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,gBAAgB,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;CAC9E,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,KAAK,EAAE,GAAG,CAAC,gBAAgB,EAAE,aAAa,CAAC,CAAC;IAC5C,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACjB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAW,aAAa,mCAiE5C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bell.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Bell/Bell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAQ,MAAM,UAAU,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAI9C,KAAK,SAAS,GAAG;IACf,UAAU,CAAC,EAAE,YAAY,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,SAAS,CAAC,SAAS,CAQrC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultBellContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Bell/DefaultBellContainer.tsx"],"names":[],"mappings":"AAIA,KAAK,yBAAyB,GAAG;IAC/B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,yBAAyB,mCAqB7D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Bell/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/elements/Footer.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,sCAOlB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActionsContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Header/ActionsContainer.tsx"],"names":[],"mappings":"AAMA,KAAK,qBAAqB,GAAG;IAC3B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,qBAAqB,mCAe5D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Header/Header.tsx"],"names":[],"mappings":"AAIA,KAAK,WAAW,GAAG;IACjB,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,MAAM,UAAW,WAAW,mCAcxC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MoreActionsDropdown.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Header/MoreActionsDropdown.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,mBAAmB,sCAqB/B,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import { StringLocalizationKey } from '../../../context';
|
|
3
|
-
export declare const MoreActionsOptions: () => JSX.Element;
|
|
4
|
-
export declare const ActionsItem: (props: {
|
|
5
|
-
localizationKey: StringLocalizationKey;
|
|
6
|
-
onClick: () => void;
|
|
7
|
-
icon: () => JSX.Element;
|
|
8
|
-
}) => JSX.Element;
|
|
9
|
-
//# sourceMappingURL=MoreActionsOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MoreActionsOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Header/MoreActionsOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,OAAO,EAAE,qBAAqB,EAAoC,MAAM,kBAAkB,CAAC;AAK3F,eAAO,MAAM,kBAAkB,mBAyB9B,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW;IACjC,eAAe,EAAE,qBAAqB,CAAC;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,WAAW,CAAC;CACzB,gBAeA,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreferencesHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Header/PreferencesHeader.tsx"],"names":[],"mappings":"AAKA,KAAK,sBAAsB,GAAG;IAC5B,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAW,sBAAsB,mCA2B9D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Header/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InboxStatusDropdown.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/InboxStatus/InboxStatusDropdown.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc,sCA+B1B,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js/jsx-runtime';
|
|
2
|
-
import { StringLocalizationKey } from '../../../context';
|
|
3
|
-
import { NotificationStatus } from '../../../types';
|
|
4
|
-
export declare const StatusOptions: (props: {
|
|
5
|
-
setStatus: (status: NotificationStatus) => void;
|
|
6
|
-
status: NotificationStatus;
|
|
7
|
-
}) => JSX.Element;
|
|
8
|
-
export declare const StatusItem: (props: {
|
|
9
|
-
localizationKey: StringLocalizationKey;
|
|
10
|
-
onClick: () => void;
|
|
11
|
-
isSelected?: boolean;
|
|
12
|
-
icon: () => JSX.Element;
|
|
13
|
-
}) => JSX.Element;
|
|
14
|
-
//# sourceMappingURL=InboxStatusOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InboxStatusOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/InboxStatus/InboxStatusOptions.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAmB,MAAM,kBAAkB,CAAC;AAG1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAmBpD,eAAO,MAAM,aAAa;wBACJ,kBAAkB,KAAK,IAAI;YACvC,kBAAkB;iBAgB3B,CAAC;AAEF,eAAO,MAAM,UAAU,UAAW;IAChC,eAAe,EAAE,qBAAqB,CAAC;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,MAAM,WAAW,CAAC;CACzB,gBAsBA,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const notificationStatusOptionsLocalizationKeys: {
|
|
2
|
-
readonly unreadRead: "inbox.filters.dropdownOptions.default";
|
|
3
|
-
readonly unread: "inbox.filters.dropdownOptions.unread";
|
|
4
|
-
readonly archived: "inbox.filters.dropdownOptions.archived";
|
|
5
|
-
};
|
|
6
|
-
export declare const inboxFilterLocalizationKeys: {
|
|
7
|
-
readonly unreadRead: "inbox.filters.labels.default";
|
|
8
|
-
readonly unread: "inbox.filters.labels.unread";
|
|
9
|
-
readonly archived: "inbox.filters.labels.archived";
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/InboxStatus/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yCAAyC;;;;CAIU,CAAC;AAEjE,eAAO,MAAM,2BAA2B;;;;CAIwB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import { ChannelType } from '../../../../types';
|
|
3
|
-
type ChannelRowProps = {
|
|
4
|
-
channel: ChannelType;
|
|
5
|
-
enabled: boolean;
|
|
6
|
-
channelIcon?: () => JSX.Element;
|
|
7
|
-
workflowId?: string;
|
|
8
|
-
onChange: ({ channel, enabled, workflowId }: {
|
|
9
|
-
workflowId?: string;
|
|
10
|
-
channel: ChannelType;
|
|
11
|
-
enabled: boolean;
|
|
12
|
-
}) => void;
|
|
13
|
-
isCritical?: boolean;
|
|
14
|
-
};
|
|
15
|
-
export declare const ChannelRow: (props: ChannelRowProps) => JSX.Element;
|
|
16
|
-
export declare const getLabel: (channel: ChannelType) => "" | "In-App" | "Email" | "Push" | "SMS" | "Chat";
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=ChannelRow.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelRow.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Preferences/ChannelRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE;QAAE,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,WAAW,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;IACtH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,UAAU,UAAW,eAAe,gBAkChD,CAAC;AAmBF,eAAO,MAAM,QAAQ,YAAa,WAAW,sDAe5C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Preferences/LoadingScreen.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa,sCAEzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Preferences.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Preferences/Preferences.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,sCAgEvB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Preferences/Switch.tsx"],"names":[],"mappings":"AAEA,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,MAAM,UAAW,WAAW,mCAuCxC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/elements/Preferences/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Root.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/elements/Root.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAK3C,eAAO,MAAM,IAAI,4DAQhB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/elements/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { JSX } from 'solid-js/jsx-runtime';
|
|
3
|
-
import type { AppearanceKey } from '../../types';
|
|
4
|
-
export declare const buttonVariants: (props?: ({
|
|
5
|
-
variant?: "default" | "secondary" | "icon" | "ghost" | "unstyled" | null | undefined;
|
|
6
|
-
size?: "default" | "none" | "icon" | "sm" | "lg" | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
8
|
-
type ButtonProps = JSX.IntrinsicElements['button'] & {
|
|
9
|
-
appearanceKey?: AppearanceKey;
|
|
10
|
-
} & VariantProps<typeof buttonVariants>;
|
|
11
|
-
export declare const Button: (props: ButtonProps) => JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/primitives/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,eAAO,MAAM,cAAc;;;mFAwB1B,CAAC;AAEF,KAAK,WAAW,GAAG,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,GAAG;IAAE,aAAa,CAAC,EAAE,aAAa,CAAA;CAAE,GAAG,YAAY,CACjG,OAAO,cAAc,CACtB,CAAC;AACJ,eAAO,MAAM,MAAM,UAAW,WAAW,gBAexC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from 'solid-js';
|
|
2
|
-
import type { AppearanceKey } from '../../../types';
|
|
3
|
-
import { Popover } from '../Popover';
|
|
4
|
-
export declare const dropdownContentVariants: () => string;
|
|
5
|
-
export declare const DropdownContent: (props: ComponentProps<typeof Popover.Content> & {
|
|
6
|
-
appearanceKey?: AppearanceKey;
|
|
7
|
-
}) => import("solid-js").JSX.Element;
|
|
8
|
-
//# sourceMappingURL=DropdownContent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownContent.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/primitives/Dropdown/DropdownContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAc,MAAM,UAAU,CAAC;AAEtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,eAAO,MAAM,uBAAuB,cACmH,CAAC;AAExJ,eAAO,MAAM,eAAe,UAAW,eAAe,OAAO,QAAQ,OAAO,CAAC,GAAG;IAAE,aAAa,CAAC,EAAE,aAAa,CAAA;CAAE,mCAOhH,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js/jsx-runtime';
|
|
2
|
-
import type { AppearanceKey } from '../../../types';
|
|
3
|
-
export declare const dropdownItemVariants: () => string;
|
|
4
|
-
type DropdownItemProps = JSX.IntrinsicElements['button'] & {
|
|
5
|
-
appearanceKey?: AppearanceKey;
|
|
6
|
-
};
|
|
7
|
-
export declare const DropdownItem: (props: DropdownItemProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=DropdownItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/primitives/Dropdown/DropdownItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpD,eAAO,MAAM,oBAAoB,cACwG,CAAC;AAE1I,KAAK,iBAAiB,GAAG,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,GAAG;IAAE,aAAa,CAAC,EAAE,aAAa,CAAA;CAAE,CAAC;AAC7F,eAAO,MAAM,YAAY,UAAW,iBAAiB,gBAiBpD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownRoot.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/primitives/Dropdown/DropdownRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,eAAO,MAAM,YAAY,UAAW,eAAe,OAAO,QAAQ,IAAI,CAAC,mCAEtE,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from 'solid-js';
|
|
2
|
-
import type { AppearanceKey } from '../../../types';
|
|
3
|
-
import { Popover } from '../Popover';
|
|
4
|
-
export declare const dropdownTriggerButtonVariants: () => string;
|
|
5
|
-
export declare const DropdownTrigger: (props: ComponentProps<typeof Popover.Trigger> & {
|
|
6
|
-
appearanceKey?: AppearanceKey;
|
|
7
|
-
}) => import("solid-js").JSX.Element;
|
|
8
|
-
//# sourceMappingURL=DropdownTrigger.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownTrigger.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/primitives/Dropdown/DropdownTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAc,MAAM,UAAU,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,eAAO,MAAM,6BAA6B,cAE8C,CAAC;AAEzF,eAAO,MAAM,eAAe,UAAW,eAAe,OAAO,QAAQ,OAAO,CAAC,GAAG;IAAE,aAAa,CAAC,EAAE,aAAa,CAAA;CAAE,mCAUhH,CAAC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export { dropdownItemVariants } from './DropdownItem';
|
|
2
|
-
export { dropdownContentVariants } from './DropdownContent';
|
|
3
|
-
export { dropdownTriggerButtonVariants } from './DropdownTrigger';
|
|
4
|
-
export declare const Dropdown: {
|
|
5
|
-
Root: (props: {
|
|
6
|
-
open?: boolean | undefined;
|
|
7
|
-
children?: import("solid-js").JSX.Element;
|
|
8
|
-
fallbackPlacements?: import("@floating-ui/dom").Placement[] | undefined;
|
|
9
|
-
placement?: import("@floating-ui/dom").Placement | undefined;
|
|
10
|
-
onOpenChange?: import("solid-js").Setter<boolean> | undefined;
|
|
11
|
-
}) => import("solid-js").JSX.Element;
|
|
12
|
-
/**
|
|
13
|
-
* Dropdown.Trigger renders a `button` and has no default styling.
|
|
14
|
-
*/
|
|
15
|
-
Trigger: (props: import("solid-js").JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
16
|
-
appearanceKey?: "notification" | "button" | "popoverContent" | "popoverTrigger" | "dropdownContent" | "dropdownTrigger" | "dropdownItem" | "dropdownItemLabel" | "dropdownItemLabelContainer" | "dropdownItemLeftIcon" | "dropdownItemRightIcon" | "tooltipContent" | "tooltipTrigger" | "back__button" | "skeletonText" | "skeletonAvatar" | "tabsRoot" | "tabsList" | "tabsContent" | "tabsTrigger" | "dots" | "root" | "bellIcon" | "bellContainer" | "bellDot" | "preferences__button" | "preferencesContainer" | "inboxHeader" | "loading" | "inboxContent" | "inbox__popoverTrigger" | "inbox__popoverContent" | "notificationListContainer" | "notificationList" | "notificationListEmptyNoticeContainer" | "notificationListEmptyNotice" | "notificationListEmptyNoticeIcon" | "notificationListNewNotificationsNotice__button" | "notificationDot" | "notificationSubject" | "notificationBody" | "notificationBodyContainer" | "notificationImage" | "notificationDate" | "notificationDefaultActions" | "notificationCustomActions" | "notificationPrimaryAction__button" | "notificationSecondaryAction__button" | "notificationRead__button" | "notificationUnread__button" | "notificationArchive__button" | "notificationUnarchive__button" | "notificationsTabs__tabsRoot" | "notificationsTabs__tabsList" | "notificationsTabs__tabsContent" | "notificationsTabs__tabsTrigger" | "notificationsTabsTriggerLabel" | "notificationsTabsTriggerCount" | "inboxStatus__title" | "inboxStatus__dropdownTrigger" | "inboxStatus__dropdownContent" | "inboxStatus__dropdownItem" | "inboxStatus__dropdownItemLabel" | "inboxStatus__dropdownItemLabelContainer" | "inboxStatus__dropdownItemLeft__icon" | "inboxStatus__dropdownItemRight__icon" | "moreActionsContainer" | "moreActions__dropdownTrigger" | "moreActions__dropdownContent" | "moreActions__dropdownItem" | "moreActions__dropdownItemLabel" | "moreActions__dropdownItemLeft__icon" | "moreActions__dots" | "moreTabs__button" | "moreTabs__dots" | "moreTabs__dropdownTrigger" | "moreTabs__dropdownContent" | "moreTabs__dropdownItem" | "moreTabs__dropdownItemLabel" | "moreTabs__dropdownItemRight__icon" | "workflowContainer" | "workflowLabel" | "workflowLabelContainer" | "workflowContainerDisabledNotice" | "workflowLabelDisabled__icon" | "workflowContainerRight__icon" | "workflowArrow__icon" | "channelContainer" | "channelsContainer" | "channelLabel" | "channelLabelContainer" | "channelDescription" | "channelName" | "channelSwitchContainer" | "channelSwitch" | "channelSwitchThumb" | "preferencesHeader" | "preferencesHeader__back__button" | "preferencesHeader__title" | "preferencesLoadingContainer" | undefined;
|
|
17
|
-
asChild?: ((props: any) => import("solid-js").JSX.Element) | undefined;
|
|
18
|
-
} & {
|
|
19
|
-
appearanceKey?: "notification" | "button" | "popoverContent" | "popoverTrigger" | "dropdownContent" | "dropdownTrigger" | "dropdownItem" | "dropdownItemLabel" | "dropdownItemLabelContainer" | "dropdownItemLeftIcon" | "dropdownItemRightIcon" | "tooltipContent" | "tooltipTrigger" | "back__button" | "skeletonText" | "skeletonAvatar" | "tabsRoot" | "tabsList" | "tabsContent" | "tabsTrigger" | "dots" | "root" | "bellIcon" | "bellContainer" | "bellDot" | "preferences__button" | "preferencesContainer" | "inboxHeader" | "loading" | "inboxContent" | "inbox__popoverTrigger" | "inbox__popoverContent" | "notificationListContainer" | "notificationList" | "notificationListEmptyNoticeContainer" | "notificationListEmptyNotice" | "notificationListEmptyNoticeIcon" | "notificationListNewNotificationsNotice__button" | "notificationDot" | "notificationSubject" | "notificationBody" | "notificationBodyContainer" | "notificationImage" | "notificationDate" | "notificationDefaultActions" | "notificationCustomActions" | "notificationPrimaryAction__button" | "notificationSecondaryAction__button" | "notificationRead__button" | "notificationUnread__button" | "notificationArchive__button" | "notificationUnarchive__button" | "notificationsTabs__tabsRoot" | "notificationsTabs__tabsList" | "notificationsTabs__tabsContent" | "notificationsTabs__tabsTrigger" | "notificationsTabsTriggerLabel" | "notificationsTabsTriggerCount" | "inboxStatus__title" | "inboxStatus__dropdownTrigger" | "inboxStatus__dropdownContent" | "inboxStatus__dropdownItem" | "inboxStatus__dropdownItemLabel" | "inboxStatus__dropdownItemLabelContainer" | "inboxStatus__dropdownItemLeft__icon" | "inboxStatus__dropdownItemRight__icon" | "moreActionsContainer" | "moreActions__dropdownTrigger" | "moreActions__dropdownContent" | "moreActions__dropdownItem" | "moreActions__dropdownItemLabel" | "moreActions__dropdownItemLeft__icon" | "moreActions__dots" | "moreTabs__button" | "moreTabs__dots" | "moreTabs__dropdownTrigger" | "moreTabs__dropdownContent" | "moreTabs__dropdownItem" | "moreTabs__dropdownItemLabel" | "moreTabs__dropdownItemRight__icon" | "workflowContainer" | "workflowLabel" | "workflowLabelContainer" | "workflowContainerDisabledNotice" | "workflowLabelDisabled__icon" | "workflowContainerRight__icon" | "workflowArrow__icon" | "channelContainer" | "channelsContainer" | "channelLabel" | "channelLabelContainer" | "channelDescription" | "channelName" | "channelSwitchContainer" | "channelSwitch" | "channelSwitchThumb" | "preferencesHeader" | "preferencesHeader__back__button" | "preferencesHeader__title" | "preferencesLoadingContainer" | undefined;
|
|
20
|
-
}) => import("solid-js").JSX.Element;
|
|
21
|
-
/**
|
|
22
|
-
* Dropdown.Content renders a `Popover.Content` by default.
|
|
23
|
-
*/
|
|
24
|
-
Content: (props: import("solid-js").JSX.HTMLAttributes<HTMLDivElement> & {
|
|
25
|
-
appearanceKey?: "notification" | "button" | "popoverContent" | "popoverTrigger" | "dropdownContent" | "dropdownTrigger" | "dropdownItem" | "dropdownItemLabel" | "dropdownItemLabelContainer" | "dropdownItemLeftIcon" | "dropdownItemRightIcon" | "tooltipContent" | "tooltipTrigger" | "back__button" | "skeletonText" | "skeletonAvatar" | "tabsRoot" | "tabsList" | "tabsContent" | "tabsTrigger" | "dots" | "root" | "bellIcon" | "bellContainer" | "bellDot" | "preferences__button" | "preferencesContainer" | "inboxHeader" | "loading" | "inboxContent" | "inbox__popoverTrigger" | "inbox__popoverContent" | "notificationListContainer" | "notificationList" | "notificationListEmptyNoticeContainer" | "notificationListEmptyNotice" | "notificationListEmptyNoticeIcon" | "notificationListNewNotificationsNotice__button" | "notificationDot" | "notificationSubject" | "notificationBody" | "notificationBodyContainer" | "notificationImage" | "notificationDate" | "notificationDefaultActions" | "notificationCustomActions" | "notificationPrimaryAction__button" | "notificationSecondaryAction__button" | "notificationRead__button" | "notificationUnread__button" | "notificationArchive__button" | "notificationUnarchive__button" | "notificationsTabs__tabsRoot" | "notificationsTabs__tabsList" | "notificationsTabs__tabsContent" | "notificationsTabs__tabsTrigger" | "notificationsTabsTriggerLabel" | "notificationsTabsTriggerCount" | "inboxStatus__title" | "inboxStatus__dropdownTrigger" | "inboxStatus__dropdownContent" | "inboxStatus__dropdownItem" | "inboxStatus__dropdownItemLabel" | "inboxStatus__dropdownItemLabelContainer" | "inboxStatus__dropdownItemLeft__icon" | "inboxStatus__dropdownItemRight__icon" | "moreActionsContainer" | "moreActions__dropdownTrigger" | "moreActions__dropdownContent" | "moreActions__dropdownItem" | "moreActions__dropdownItemLabel" | "moreActions__dropdownItemLeft__icon" | "moreActions__dots" | "moreTabs__button" | "moreTabs__dots" | "moreTabs__dropdownTrigger" | "moreTabs__dropdownContent" | "moreTabs__dropdownItem" | "moreTabs__dropdownItemLabel" | "moreTabs__dropdownItemRight__icon" | "workflowContainer" | "workflowLabel" | "workflowLabelContainer" | "workflowContainerDisabledNotice" | "workflowLabelDisabled__icon" | "workflowContainerRight__icon" | "workflowArrow__icon" | "channelContainer" | "channelsContainer" | "channelLabel" | "channelLabelContainer" | "channelDescription" | "channelName" | "channelSwitchContainer" | "channelSwitch" | "channelSwitchThumb" | "preferencesHeader" | "preferencesHeader__back__button" | "preferencesHeader__title" | "preferencesLoadingContainer" | undefined;
|
|
26
|
-
} & {
|
|
27
|
-
appearanceKey?: "notification" | "button" | "popoverContent" | "popoverTrigger" | "dropdownContent" | "dropdownTrigger" | "dropdownItem" | "dropdownItemLabel" | "dropdownItemLabelContainer" | "dropdownItemLeftIcon" | "dropdownItemRightIcon" | "tooltipContent" | "tooltipTrigger" | "back__button" | "skeletonText" | "skeletonAvatar" | "tabsRoot" | "tabsList" | "tabsContent" | "tabsTrigger" | "dots" | "root" | "bellIcon" | "bellContainer" | "bellDot" | "preferences__button" | "preferencesContainer" | "inboxHeader" | "loading" | "inboxContent" | "inbox__popoverTrigger" | "inbox__popoverContent" | "notificationListContainer" | "notificationList" | "notificationListEmptyNoticeContainer" | "notificationListEmptyNotice" | "notificationListEmptyNoticeIcon" | "notificationListNewNotificationsNotice__button" | "notificationDot" | "notificationSubject" | "notificationBody" | "notificationBodyContainer" | "notificationImage" | "notificationDate" | "notificationDefaultActions" | "notificationCustomActions" | "notificationPrimaryAction__button" | "notificationSecondaryAction__button" | "notificationRead__button" | "notificationUnread__button" | "notificationArchive__button" | "notificationUnarchive__button" | "notificationsTabs__tabsRoot" | "notificationsTabs__tabsList" | "notificationsTabs__tabsContent" | "notificationsTabs__tabsTrigger" | "notificationsTabsTriggerLabel" | "notificationsTabsTriggerCount" | "inboxStatus__title" | "inboxStatus__dropdownTrigger" | "inboxStatus__dropdownContent" | "inboxStatus__dropdownItem" | "inboxStatus__dropdownItemLabel" | "inboxStatus__dropdownItemLabelContainer" | "inboxStatus__dropdownItemLeft__icon" | "inboxStatus__dropdownItemRight__icon" | "moreActionsContainer" | "moreActions__dropdownTrigger" | "moreActions__dropdownContent" | "moreActions__dropdownItem" | "moreActions__dropdownItemLabel" | "moreActions__dropdownItemLeft__icon" | "moreActions__dots" | "moreTabs__button" | "moreTabs__dots" | "moreTabs__dropdownTrigger" | "moreTabs__dropdownContent" | "moreTabs__dropdownItem" | "moreTabs__dropdownItemLabel" | "moreTabs__dropdownItemRight__icon" | "workflowContainer" | "workflowLabel" | "workflowLabelContainer" | "workflowContainerDisabledNotice" | "workflowLabelDisabled__icon" | "workflowContainerRight__icon" | "workflowArrow__icon" | "channelContainer" | "channelsContainer" | "channelLabel" | "channelLabelContainer" | "channelDescription" | "channelName" | "channelSwitchContainer" | "channelSwitch" | "channelSwitchThumb" | "preferencesHeader" | "preferencesHeader__back__button" | "preferencesHeader__title" | "preferencesLoadingContainer" | undefined;
|
|
28
|
-
}) => import("solid-js").JSX.Element;
|
|
29
|
-
/**
|
|
30
|
-
* Dropdown.Close renders a `Popover.Close` by default.
|
|
31
|
-
*/
|
|
32
|
-
Close: (props: import("solid-js").JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
33
|
-
asChild?: ((props: any) => import("solid-js").JSX.Element) | undefined;
|
|
34
|
-
}) => import("solid-js").JSX.Element;
|
|
35
|
-
/**
|
|
36
|
-
* Dropdown.Item renders a `Popover.Close` with dropdown specific styling.
|
|
37
|
-
* Closes the popover when clicked.
|
|
38
|
-
* `onClick` function is propagated.
|
|
39
|
-
*/
|
|
40
|
-
Item: (props: import("solid-js").JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
41
|
-
appearanceKey?: "notification" | "button" | "popoverContent" | "popoverTrigger" | "dropdownContent" | "dropdownTrigger" | "dropdownItem" | "dropdownItemLabel" | "dropdownItemLabelContainer" | "dropdownItemLeftIcon" | "dropdownItemRightIcon" | "tooltipContent" | "tooltipTrigger" | "back__button" | "skeletonText" | "skeletonAvatar" | "tabsRoot" | "tabsList" | "tabsContent" | "tabsTrigger" | "dots" | "root" | "bellIcon" | "bellContainer" | "bellDot" | "preferences__button" | "preferencesContainer" | "inboxHeader" | "loading" | "inboxContent" | "inbox__popoverTrigger" | "inbox__popoverContent" | "notificationListContainer" | "notificationList" | "notificationListEmptyNoticeContainer" | "notificationListEmptyNotice" | "notificationListEmptyNoticeIcon" | "notificationListNewNotificationsNotice__button" | "notificationDot" | "notificationSubject" | "notificationBody" | "notificationBodyContainer" | "notificationImage" | "notificationDate" | "notificationDefaultActions" | "notificationCustomActions" | "notificationPrimaryAction__button" | "notificationSecondaryAction__button" | "notificationRead__button" | "notificationUnread__button" | "notificationArchive__button" | "notificationUnarchive__button" | "notificationsTabs__tabsRoot" | "notificationsTabs__tabsList" | "notificationsTabs__tabsContent" | "notificationsTabs__tabsTrigger" | "notificationsTabsTriggerLabel" | "notificationsTabsTriggerCount" | "inboxStatus__title" | "inboxStatus__dropdownTrigger" | "inboxStatus__dropdownContent" | "inboxStatus__dropdownItem" | "inboxStatus__dropdownItemLabel" | "inboxStatus__dropdownItemLabelContainer" | "inboxStatus__dropdownItemLeft__icon" | "inboxStatus__dropdownItemRight__icon" | "moreActionsContainer" | "moreActions__dropdownTrigger" | "moreActions__dropdownContent" | "moreActions__dropdownItem" | "moreActions__dropdownItemLabel" | "moreActions__dropdownItemLeft__icon" | "moreActions__dots" | "moreTabs__button" | "moreTabs__dots" | "moreTabs__dropdownTrigger" | "moreTabs__dropdownContent" | "moreTabs__dropdownItem" | "moreTabs__dropdownItemLabel" | "moreTabs__dropdownItemRight__icon" | "workflowContainer" | "workflowLabel" | "workflowLabelContainer" | "workflowContainerDisabledNotice" | "workflowLabelDisabled__icon" | "workflowContainerRight__icon" | "workflowArrow__icon" | "channelContainer" | "channelsContainer" | "channelLabel" | "channelLabelContainer" | "channelDescription" | "channelName" | "channelSwitchContainer" | "channelSwitch" | "channelSwitchThumb" | "preferencesHeader" | "preferencesHeader__back__button" | "preferencesHeader__title" | "preferencesLoadingContainer" | undefined;
|
|
42
|
-
}) => import("solid-js").JSX.Element;
|
|
43
|
-
};
|
|
44
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/primitives/Dropdown/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAElE,eAAO,MAAM,QAAQ;;;;;;;;IAEnB;;OAEG;;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;IAEH;;;;OAIG;;;;CAEJ,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
type PopoverCloseProps = JSX.IntrinsicElements['button'] & {
|
|
3
|
-
asChild?: (props: any) => JSX.Element;
|
|
4
|
-
};
|
|
5
|
-
export declare const PopoverClose: (props: PopoverCloseProps) => JSX.Element;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=PopoverClose.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverClose.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/primitives/Popover/PopoverClose.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAc,MAAM,UAAU,CAAC;AAI3C,KAAK,iBAAiB,GAAG,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,GAAG;IACzD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,CAAC,OAAO,CAAC;CACvC,CAAC;AACF,eAAO,MAAM,YAAY,UAAW,iBAAiB,gBAgBpD,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import type { AppearanceKey } from '../../../types';
|
|
3
|
-
export declare const popoverContentVariants: () => string;
|
|
4
|
-
type PopoverContentProps = JSX.IntrinsicElements['div'] & {
|
|
5
|
-
appearanceKey?: AppearanceKey;
|
|
6
|
-
};
|
|
7
|
-
export declare const PopoverContent: (props: PopoverContentProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=PopoverContent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverContent.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/primitives/Popover/PopoverContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAwC,MAAM,UAAU,CAAC;AAGrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKpD,eAAO,MAAM,sBAAsB,cAIhC,CAAC;AA4BJ,KAAK,mBAAmB,GAAG,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,GAAG;IAAE,aAAa,CAAC,EAAE,aAAa,CAAA;CAAE,CAAC;AAC5F,eAAO,MAAM,cAAc,UAAW,mBAAmB,gBA8CxD,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Placement } from '@floating-ui/dom';
|
|
2
|
-
import { Accessor, JSX, Setter } from 'solid-js';
|
|
3
|
-
type PopoverRootProps = {
|
|
4
|
-
open?: boolean;
|
|
5
|
-
children?: JSX.Element;
|
|
6
|
-
fallbackPlacements?: Placement[];
|
|
7
|
-
placement?: Placement;
|
|
8
|
-
onOpenChange?: Setter<boolean>;
|
|
9
|
-
};
|
|
10
|
-
type PopoverContextValue = {
|
|
11
|
-
open: Accessor<boolean>;
|
|
12
|
-
reference: Accessor<HTMLElement | null>;
|
|
13
|
-
floating: Accessor<HTMLElement | null>;
|
|
14
|
-
setReference: Setter<HTMLElement | null>;
|
|
15
|
-
setFloating: Setter<HTMLElement | null>;
|
|
16
|
-
onToggle: () => void;
|
|
17
|
-
onClose: () => void;
|
|
18
|
-
floatingStyles: () => Record<any, any>;
|
|
19
|
-
};
|
|
20
|
-
export declare function PopoverRoot(props: PopoverRootProps): JSX.Element;
|
|
21
|
-
export declare function usePopover(): PopoverContextValue;
|
|
22
|
-
export {};
|
|
23
|
-
//# sourceMappingURL=PopoverRoot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverRoot.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/primitives/Popover/PopoverRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,SAAS,EAAS,MAAM,kBAAkB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAA+B,GAAG,EAAE,MAAM,EAAc,MAAM,UAAU,CAAC;AAE1F,KAAK,gBAAgB,GAAG;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACvB,kBAAkB,CAAC,EAAE,SAAS,EAAE,CAAC;IACjC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;CAChC,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IACxB,SAAS,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACxC,QAAQ,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACvC,YAAY,EAAE,MAAM,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACzC,WAAW,EAAE,MAAM,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,EAAE,MAAM,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;CACxC,CAAC;AAIF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,eA+ClD;AAED,wBAAgB,UAAU,wBAOzB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import type { AppearanceKey } from '../../../types';
|
|
3
|
-
type PopoverTriggerProps = JSX.IntrinsicElements['button'] & {
|
|
4
|
-
appearanceKey?: AppearanceKey;
|
|
5
|
-
asChild?: (props: any) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export declare const PopoverTrigger: (props: PopoverTriggerProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=PopoverTrigger.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverTrigger.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/primitives/Popover/PopoverTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAc,MAAM,UAAU,CAAC;AAG3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpD,KAAK,mBAAmB,GAAG,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,GAAG;IAC3D,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,CAAC,OAAO,CAAC;CACvC,CAAC;AACF,eAAO,MAAM,cAAc,UAAW,mBAAmB,gBAsBxD,CAAC"}
|