@xploreu/components 0.4.47 → 0.4.48
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/composites/combobox-chip-outside.d.ts +44 -0
- package/dist/composites/combobox-chip.d.ts +47 -0
- package/dist/composites/combobox-simple.d.ts +37 -0
- package/dist/composites/filter-combobox.d.ts +36 -0
- package/dist/composites/index.d.ts +50 -0
- package/dist/composites/phone-input.d.ts +14 -0
- package/dist/composites/profile-avatar.d.ts +29 -0
- package/dist/effects/auto-height.d.ts +13 -0
- package/dist/effects/highlight.d.ts +93 -0
- package/dist/effects/index.d.ts +5 -0
- package/dist/form/form-input.d.ts +19 -0
- package/dist/form/form-textarea.d.ts +18 -0
- package/dist/form/form.d.ts +44 -0
- package/dist/form/index.d.ts +12 -0
- package/dist/icons/about-me-icon.d.ts +6 -0
- package/dist/icons/academic-cap-dual-tone-icon.d.ts +6 -0
- package/dist/icons/academic-cap-icon.d.ts +6 -0
- package/dist/icons/activity-on-tab-profile-icon.d.ts +6 -0
- package/dist/icons/add-connect-icon.d.ts +6 -0
- package/dist/icons/alert-jobs-icon.d.ts +6 -0
- package/dist/icons/applicants-icon.d.ts +6 -0
- package/dist/icons/application-status-icon.d.ts +6 -0
- package/dist/icons/archive-message-icon.d.ts +6 -0
- package/dist/icons/arrow-go-to-location-icon.d.ts +6 -0
- package/dist/icons/bag-icon.d.ts +6 -0
- package/dist/icons/bag2-icon.d.ts +6 -0
- package/dist/icons/bag3-icon.d.ts +6 -0
- package/dist/icons/bell-icon.d.ts +6 -0
- package/dist/icons/birthday-date-icon.d.ts +6 -0
- package/dist/icons/book-dual-tone-icon.d.ts +6 -0
- package/dist/icons/book-open.d.ts +6 -0
- package/dist/icons/bookmark-filled-icon.d.ts +6 -0
- package/dist/icons/bookmark-icon.d.ts +6 -0
- package/dist/icons/brief-dual-tone-icon.d.ts +6 -0
- package/dist/icons/brief-minimalistic-dual-tone-icon.d.ts +6 -0
- package/dist/icons/brief-minimalistic-icon.d.ts +6 -0
- package/dist/icons/building-dual-tone-icon.d.ts +6 -0
- package/dist/icons/building-icon.d.ts +6 -0
- package/dist/icons/building-infrastructure-icon.d.ts +6 -0
- package/dist/icons/calendar-icon.d.ts +6 -0
- package/dist/icons/case-icon.d.ts +6 -0
- package/dist/icons/certificate-icon.d.ts +6 -0
- package/dist/icons/certificate-on-profile-icon.d.ts +6 -0
- package/dist/icons/chart-square-icon.d.ts +6 -0
- package/dist/icons/chat-round-dots-icon.d.ts +6 -0
- package/dist/icons/check-square-icon.d.ts +6 -0
- package/dist/icons/checkbox-base-icon.d.ts +6 -0
- package/dist/icons/checkbox-new-icon.d.ts +6 -0
- package/dist/icons/checkbox-select-icon.d.ts +6 -0
- package/dist/icons/checklist-icon.d.ts +6 -0
- package/dist/icons/checklist-minimalist-icon.d.ts +6 -0
- package/dist/icons/circle-quarter-icon.d.ts +6 -0
- package/dist/icons/city-icon.d.ts +6 -0
- package/dist/icons/clear-icon.d.ts +6 -0
- package/dist/icons/clipboard-icon.d.ts +6 -0
- package/dist/icons/clock-min.d.ts +6 -0
- package/dist/icons/clock-plus.d.ts +6 -0
- package/dist/icons/close-square-icon.d.ts +6 -0
- package/dist/icons/cloud-upload-icon.d.ts +6 -0
- package/dist/icons/comment-icon.d.ts +6 -0
- package/dist/icons/company-industry-icon.d.ts +6 -0
- package/dist/icons/company-on-job-description-icon.d.ts +6 -0
- package/dist/icons/company-on-job-preferences-icon.d.ts +6 -0
- package/dist/icons/company-post-icon.d.ts +6 -0
- package/dist/icons/connection-company-icon.d.ts +6 -0
- package/dist/icons/connections-icon.d.ts +6 -0
- package/dist/icons/contact-on-settings-icon.d.ts +6 -0
- package/dist/icons/copy-icon.d.ts +6 -0
- package/dist/icons/course-icon-search-icon.d.ts +6 -0
- package/dist/icons/create-free-jobs-with-ai-icon.d.ts +6 -0
- package/dist/icons/create-group-message-icon.d.ts +6 -0
- package/dist/icons/create-job-icon.d.ts +6 -0
- package/dist/icons/danger-triangle-icon.d.ts +6 -0
- package/dist/icons/delete-icon.d.ts +6 -0
- package/dist/icons/document-add-icon.d.ts +6 -0
- package/dist/icons/document-notes-icon.d.ts +6 -0
- package/dist/icons/dots-icon.d.ts +6 -0
- package/dist/icons/download-cv-icon.d.ts +6 -0
- package/dist/icons/download-minimalistic-icon.d.ts +6 -0
- package/dist/icons/drive-db.d.ts +6 -0
- package/dist/icons/duration-of-work-icon.d.ts +6 -0
- package/dist/icons/duration-open-to-offer-icon.d.ts +6 -0
- package/dist/icons/edit-icon.d.ts +6 -0
- package/dist/icons/edit-on-button-profile-icon.d.ts +6 -0
- package/dist/icons/edit-on-section-profile-icon.d.ts +6 -0
- package/dist/icons/education-icon.d.ts +6 -0
- package/dist/icons/education-on-card-icon.d.ts +6 -0
- package/dist/icons/employment-type-on-job-preferences-icon.d.ts +6 -0
- package/dist/icons/evaluation-icon.d.ts +6 -0
- package/dist/icons/expected-salary-on-job-preferences-icon.d.ts +6 -0
- package/dist/icons/experience-icon.d.ts +6 -0
- package/dist/icons/female-on-summary-profile-icon.d.ts +6 -0
- package/dist/icons/file-default-icon.d.ts +6 -0
- package/dist/icons/file-doc-icon.d.ts +6 -0
- package/dist/icons/file-docx-icon.d.ts +6 -0
- package/dist/icons/file-jpg-icon.d.ts +6 -0
- package/dist/icons/file-mkv-icon.d.ts +6 -0
- package/dist/icons/file-mov-icon.d.ts +6 -0
- package/dist/icons/file-mp4-icon.d.ts +6 -0
- package/dist/icons/file-pdf-icon.d.ts +6 -0
- package/dist/icons/file-png-icon.d.ts +6 -0
- package/dist/icons/file-ppt-icon.d.ts +6 -0
- package/dist/icons/file-text-icon.d.ts +6 -0
- package/dist/icons/file-video-icon.d.ts +6 -0
- package/dist/icons/fire-icon.d.ts +6 -0
- package/dist/icons/flag-icon.d.ts +6 -0
- package/dist/icons/folder-icon.d.ts +6 -0
- package/dist/icons/followers-on-connections-icon.d.ts +6 -0
- package/dist/icons/following-on-connections-icon.d.ts +6 -0
- package/dist/icons/forward-icon.d.ts +6 -0
- package/dist/icons/funnel-icon.d.ts +6 -0
- package/dist/icons/gallery-add-icon.d.ts +6 -0
- package/dist/icons/gallery-favorite-icon.d.ts +6 -0
- package/dist/icons/gallery-icon.d.ts +6 -0
- package/dist/icons/general-preference-on-settings-icon.d.ts +6 -0
- package/dist/icons/globe-dual-tone-icon.d.ts +6 -0
- package/dist/icons/hand-stars-icon.d.ts +6 -0
- package/dist/icons/hard-skill-on-profile-icon.d.ts +6 -0
- package/dist/icons/help-icon.d.ts +6 -0
- package/dist/icons/hidden-icon.d.ts +6 -0
- package/dist/icons/hide-passwords-icon.d.ts +6 -0
- package/dist/icons/hired-by-others-icon.d.ts +6 -0
- package/dist/icons/home-icon.d.ts +6 -0
- package/dist/icons/home-smile-icon.d.ts +6 -0
- package/dist/icons/home-table.d.ts +6 -0
- package/dist/icons/icon-component.d.ts +6 -0
- package/dist/icons/image-on-message-icon.d.ts +6 -0
- package/dist/icons/index.d.ts +282 -0
- package/dist/icons/info-icon.d.ts +6 -0
- package/dist/icons/info-square-icon.d.ts +6 -0
- package/dist/icons/interested-of-industry-icon.d.ts +6 -0
- package/dist/icons/invitations-on-connections-icon.d.ts +6 -0
- package/dist/icons/job-description-icon.d.ts +6 -0
- package/dist/icons/job-preference-icon.d.ts +6 -0
- package/dist/icons/jobs-category-icon.d.ts +6 -0
- package/dist/icons/jobseeker-status-on-job-preferences-icon.d.ts +6 -0
- package/dist/icons/key-icon.d.ts +6 -0
- package/dist/icons/language-on-profile-icon.d.ts +6 -0
- package/dist/icons/layers-icon.d.ts +6 -0
- package/dist/icons/layout-icon.d.ts +6 -0
- package/dist/icons/like-filled-icon.d.ts +6 -0
- package/dist/icons/like-icon.d.ts +6 -0
- package/dist/icons/link-copy.d.ts +6 -0
- package/dist/icons/list-icon.d.ts +6 -0
- package/dist/icons/list-option-feedback-icon.d.ts +6 -0
- package/dist/icons/living-on-summary-profile-icon.d.ts +6 -0
- package/dist/icons/location-company-on-card-icon.d.ts +6 -0
- package/dist/icons/location-on-search-icon.d.ts +6 -0
- package/dist/icons/lock-icon.d.ts +6 -0
- package/dist/icons/logo-icon.d.ts +6 -0
- package/dist/icons/logout-icon.d.ts +6 -0
- package/dist/icons/lonceng-z-icon.d.ts +6 -0
- package/dist/icons/mail-icon.d.ts +6 -0
- package/dist/icons/mailbox-icon.d.ts +6 -0
- package/dist/icons/male-on-summary-profile-icon.d.ts +6 -0
- package/dist/icons/map-cluster-marker-icon.d.ts +6 -0
- package/dist/icons/map-marker-icon.d.ts +6 -0
- package/dist/icons/map-pin-icon.d.ts +6 -0
- package/dist/icons/map-pin-icon2.d.ts +6 -0
- package/dist/icons/map-pin2-icon.d.ts +6 -0
- package/dist/icons/mark-as-read-icon.d.ts +6 -0
- package/dist/icons/media-icon.d.ts +6 -0
- package/dist/icons/message-on-card-icon.d.ts +6 -0
- package/dist/icons/messages-icon.d.ts +6 -0
- package/dist/icons/mic-record-icon.d.ts +6 -0
- package/dist/icons/mini-sidebar-icon.d.ts +6 -0
- package/dist/icons/money-bill-icon.d.ts +6 -0
- package/dist/icons/mute-message-icon.d.ts +6 -0
- package/dist/icons/my-connecions-icon.d.ts +6 -0
- package/dist/icons/my-connections-on-tab-profile-icon.d.ts +6 -0
- package/dist/icons/my-cover-letter-icon.d.ts +6 -0
- package/dist/icons/my-dashboard-icon.d.ts +6 -0
- package/dist/icons/my-dashboards-icon.d.ts +6 -0
- package/dist/icons/my-drive-icon.d.ts +6 -0
- package/dist/icons/my-portofolio-icon.d.ts +6 -0
- package/dist/icons/my-resume-icon.d.ts +6 -0
- package/dist/icons/new-message-icon.d.ts +6 -0
- package/dist/icons/new-post-icon.d.ts +6 -0
- package/dist/icons/news-icon.d.ts +6 -0
- package/dist/icons/notification-icon.d.ts +6 -0
- package/dist/icons/notification-on-settings-icon.d.ts +6 -0
- package/dist/icons/offered-by-others-icon.d.ts +6 -0
- package/dist/icons/office-open-to-offer-icon.d.ts +6 -0
- package/dist/icons/office-opent-to-offer-section-icon.d.ts +6 -0
- package/dist/icons/open-another-page-icon.d.ts +6 -0
- package/dist/icons/open-preview-my-profile-icon.d.ts +6 -0
- package/dist/icons/open-to-offer-section-icon.d.ts +6 -0
- package/dist/icons/open-to-opportunities-icon.d.ts +6 -0
- package/dist/icons/other-job-for-you-icon.d.ts +6 -0
- package/dist/icons/other-job-from-this-company-icon.d.ts +6 -0
- package/dist/icons/passwords-icon.d.ts +6 -0
- package/dist/icons/pdf-on-apply-job-icon.d.ts +6 -0
- package/dist/icons/pen-new-square-icon.d.ts +6 -0
- package/dist/icons/people-you-may-know-icon.d.ts +6 -0
- package/dist/icons/people-your-company-icon.d.ts +6 -0
- package/dist/icons/phone-dual-tone-icon.d.ts +6 -0
- package/dist/icons/phone-icon.d.ts +6 -0
- package/dist/icons/pin-location-new-icon.d.ts +6 -0
- package/dist/icons/pin-message-icon.d.ts +6 -0
- package/dist/icons/plain-icon.d.ts +6 -0
- package/dist/icons/plus-square-icon.d.ts +6 -0
- package/dist/icons/posts-icon-search-icon.d.ts +6 -0
- package/dist/icons/priority-by-icon.d.ts +6 -0
- package/dist/icons/private-post-icon.d.ts +6 -0
- package/dist/icons/profile-icon.d.ts +6 -0
- package/dist/icons/public-post-icon.d.ts +6 -0
- package/dist/icons/public-post-on-card-icon.d.ts +6 -0
- package/dist/icons/repeat-icon.d.ts +6 -0
- package/dist/icons/reply-icon.d.ts +6 -0
- package/dist/icons/report-icon.d.ts +6 -0
- package/dist/icons/repost-icon.d.ts +6 -0
- package/dist/icons/reposted-icon.d.ts +6 -0
- package/dist/icons/save-jobs-icon.d.ts +6 -0
- package/dist/icons/save-post-menu-icon.d.ts +6 -0
- package/dist/icons/search-bar-icon.d.ts +6 -0
- package/dist/icons/search-icon.d.ts +6 -0
- package/dist/icons/search-with-date-icon.d.ts +6 -0
- package/dist/icons/send-comment-icon.d.ts +6 -0
- package/dist/icons/settings-icon.d.ts +6 -0
- package/dist/icons/share-circle-icon.d.ts +6 -0
- package/dist/icons/share-icon.d.ts +6 -0
- package/dist/icons/share-link.d.ts +6 -0
- package/dist/icons/shield-dualtone.d.ts +6 -0
- package/dist/icons/show-passwords-icon.d.ts +6 -0
- package/dist/icons/size-company-icon.d.ts +6 -0
- package/dist/icons/skill-on-tab-profile-icon.d.ts +6 -0
- package/dist/icons/skills-icon.d.ts +6 -0
- package/dist/icons/smile-icon.d.ts +6 -0
- package/dist/icons/soft-skill-icon.d.ts +6 -0
- package/dist/icons/sort-ascending-icon.d.ts +6 -0
- package/dist/icons/sort-by-icon.d.ts +6 -0
- package/dist/icons/sort-default-icon.d.ts +6 -0
- package/dist/icons/sort-descending-icon.d.ts +6 -0
- package/dist/icons/sort-horizontal-icon.d.ts +6 -0
- package/dist/icons/sosial-media-section-icon.d.ts +6 -0
- package/dist/icons/sparkle-star-icon.d.ts +6 -0
- package/dist/icons/sparkles-icon.d.ts +6 -0
- package/dist/icons/speech-icon.d.ts +6 -0
- package/dist/icons/stacked-layout-dual-tone-icon.d.ts +6 -0
- package/dist/icons/star-icon.d.ts +6 -0
- package/dist/icons/stars-icon.d.ts +6 -0
- package/dist/icons/sugested-company-icon.d.ts +6 -0
- package/dist/icons/suitcase-icon.d.ts +6 -0
- package/dist/icons/technical-skill-icon.d.ts +6 -0
- package/dist/icons/theme-icon.d.ts +6 -0
- package/dist/icons/themes-icon.d.ts +6 -0
- package/dist/icons/translate-icon.d.ts +6 -0
- package/dist/icons/trash-icon.d.ts +6 -0
- package/dist/icons/unarchive-message-icon.d.ts +6 -0
- package/dist/icons/unfollow-icon.d.ts +6 -0
- package/dist/icons/unmute-message-icon.d.ts +6 -0
- package/dist/icons/unpin-message-icon.d.ts +6 -0
- package/dist/icons/unsave-job-icon.d.ts +6 -0
- package/dist/icons/upload-document-icon.d.ts +6 -0
- package/dist/icons/upload-document-new-icon.d.ts +6 -0
- package/dist/icons/upload-event-icon.d.ts +6 -0
- package/dist/icons/upload-file-placeholder-icon.d.ts +6 -0
- package/dist/icons/upload-generate-image-icon.d.ts +6 -0
- package/dist/icons/upload-generate-post-icon.d.ts +6 -0
- package/dist/icons/upload-media-icon.d.ts +6 -0
- package/dist/icons/upload-media-new-icon.d.ts +6 -0
- package/dist/icons/upload-pictures-on-profile-icon.d.ts +6 -0
- package/dist/icons/upload-pollingt-new-icon.d.ts +6 -0
- package/dist/icons/upload-pooling-icon.d.ts +6 -0
- package/dist/icons/upload-reels-icon.d.ts +6 -0
- package/dist/icons/user-check-icon.d.ts +6 -0
- package/dist/icons/user-connections.d.ts +6 -0
- package/dist/icons/user-dual-tone-icon.d.ts +6 -0
- package/dist/icons/user-hands-up.d.ts +6 -0
- package/dist/icons/user-heart-rounded.d.ts +6 -0
- package/dist/icons/user-icon.d.ts +6 -0
- package/dist/icons/user-unfollow.d.ts +6 -0
- package/dist/icons/users-dual-tone-icon.d.ts +6 -0
- package/dist/icons/users-group-icon.d.ts +6 -0
- package/dist/icons/users-group-rounded-icon.d.ts +6 -0
- package/dist/icons/users-group-two-rounded-icon.d.ts +6 -0
- package/dist/icons/verified-icon.d.ts +6 -0
- package/dist/icons/video-on-message-icon.d.ts +6 -0
- package/dist/icons/view-grid-row-icon.d.ts +6 -0
- package/dist/icons/view-grid1-icon.d.ts +6 -0
- package/dist/icons/view-grid2-icon.d.ts +6 -0
- package/dist/icons/view-grid3-icon.d.ts +6 -0
- package/dist/icons/view-grid4-icon.d.ts +6 -0
- package/dist/icons/volume-icon.d.ts +6 -0
- package/dist/icons/volume-off-icon.d.ts +6 -0
- package/dist/icons/widget-four-icon.d.ts +6 -0
- package/dist/icons/widget-icon.d.ts +6 -0
- package/dist/icons/working-at-summary-profile-icon.d.ts +6 -0
- package/dist/icons/workplace-on-job-preferences-icon.d.ts +6 -0
- package/dist/icons/workplace-open-to-offers-icon.d.ts +6 -0
- package/dist/icons/x-square-icon.d.ts +6 -0
- package/dist/icons/your-summary-profile-icon.d.ts +6 -0
- package/dist/primitives/accordion.d.ts +33 -0
- package/dist/primitives/alert-dialog.d.ts +34 -0
- package/dist/primitives/avatar.d.ts +11 -0
- package/dist/primitives/checkbox.d.ts +16 -0
- package/dist/primitives/collapsible.d.ts +22 -0
- package/dist/primitives/combobox.d.ts +79 -0
- package/dist/primitives/dialog.d.ts +34 -0
- package/dist/primitives/index.d.ts +47 -0
- package/dist/primitives/menu.d.ts +61 -0
- package/dist/primitives/popover.d.ts +31 -0
- package/dist/primitives/sheet.d.ts +33 -0
- package/dist/primitives/slider.d.ts +18 -0
- package/dist/primitives/slot.d.ts +19 -0
- package/dist/primitives/tabs.d.ts +35 -0
- package/dist/primitives/toast.d.ts +27 -0
- package/dist/primitives/tooltip.d.ts +32 -0
- package/dist/types-BLgXHroz.d.ts +6 -0
- package/dist/ui/accordion.d.ts +20 -0
- package/dist/ui/alert-dialog.d.ts +39 -0
- package/dist/ui/alert.d.ts +19 -0
- package/dist/ui/alerter.d.ts +43 -0
- package/dist/ui/avatar.d.ts +17 -0
- package/dist/ui/badge.d.ts +30 -0
- package/dist/ui/button.d.ts +16 -0
- package/dist/ui/calendar.d.ts +40 -0
- package/dist/ui/carousel.d.ts +35 -0
- package/dist/ui/checkbox.d.ts +16 -0
- package/dist/ui/collapsible.d.ts +15 -0
- package/dist/ui/combobox.d.ts +105 -0
- package/dist/ui/date-multiple-picker.d.ts +26 -0
- package/dist/ui/date-picker.d.ts +23 -0
- package/dist/ui/date-range-picker.d.ts +23 -0
- package/dist/ui/dialog.d.ts +40 -0
- package/dist/ui/index.d.ts +112 -0
- package/dist/ui/infinite-scroll.d.ts +15 -0
- package/dist/ui/input.d.ts +17 -0
- package/dist/ui/label.d.ts +13 -0
- package/dist/ui/menu.d.ts +50 -0
- package/dist/ui/pagination.d.ts +15 -0
- package/dist/ui/popover.d.ts +26 -0
- package/dist/ui/sheet.d.ts +31 -0
- package/dist/ui/slider.d.ts +14 -0
- package/dist/ui/table.d.ts +27 -0
- package/dist/ui/tabs.d.ts +26 -0
- package/dist/ui/textarea.d.ts +10 -0
- package/dist/ui/toast.d.ts +39 -0
- package/dist/ui/tooltip.d.ts +17 -0
- package/package.json +1 -1
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
|
|
3
|
+
import { HTMLMotionProps } from 'motion/react';
|
|
4
|
+
import { HighlightProps, HighlightItemProps } from '../effects/highlight.js';
|
|
5
|
+
|
|
6
|
+
type ComboboxContextType = {
|
|
7
|
+
open: boolean;
|
|
8
|
+
setOpen: (open: boolean, eventDetails: Combobox$1.Root.ChangeEventDetails) => void;
|
|
9
|
+
inputValue: string;
|
|
10
|
+
setInputValue: (inputValue: string, eventDetails: Combobox$1.Root.ChangeEventDetails) => void;
|
|
11
|
+
};
|
|
12
|
+
type ComboboxActiveValueContextType = {
|
|
13
|
+
highlightedValue: string | null;
|
|
14
|
+
setHighlightedValue: (value: string | null) => void;
|
|
15
|
+
};
|
|
16
|
+
declare const useCombobox: () => ComboboxContextType;
|
|
17
|
+
declare const useComboboxActiveValue: () => ComboboxActiveValueContextType;
|
|
18
|
+
type ComboboxProps<Value, Multiple extends boolean | undefined = false> = Combobox$1.Root.Props<Value, Multiple> & {
|
|
19
|
+
behavior?: "default" | "chip-outside";
|
|
20
|
+
};
|
|
21
|
+
declare function Combobox<Value, Multiple extends boolean | undefined = false>({ behavior, ...props }: ComboboxProps<Value, Multiple>): React.JSX.Element;
|
|
22
|
+
type ComboboxTriggerProps = Combobox$1.Trigger.Props;
|
|
23
|
+
declare function ComboboxTrigger(props: ComboboxTriggerProps): React.JSX.Element;
|
|
24
|
+
type ComboboxLabelProps = Combobox$1.Label.Props;
|
|
25
|
+
declare function ComboboxLabel(props: ComboboxLabelProps): React.JSX.Element;
|
|
26
|
+
type ComboboxInputGroupProps = Combobox$1.InputGroup.Props;
|
|
27
|
+
declare function ComboboxInputGroup(props: ComboboxInputGroupProps): React.JSX.Element;
|
|
28
|
+
type ComboboxInputProps = Combobox$1.Input.Props;
|
|
29
|
+
declare function ComboboxInput(props: ComboboxInputProps): React.JSX.Element;
|
|
30
|
+
type ComboboxIconProps = Combobox$1.Icon.Props;
|
|
31
|
+
declare function ComboboxIcon(props: ComboboxIconProps): React.JSX.Element;
|
|
32
|
+
type ComboboxClearProps = Combobox$1.Clear.Props;
|
|
33
|
+
declare function ComboboxClear(props: ComboboxClearProps): React.JSX.Element;
|
|
34
|
+
type ComboboxValueProps = Combobox$1.Value.Props;
|
|
35
|
+
declare function ComboboxValue(props: ComboboxValueProps): React.JSX.Element;
|
|
36
|
+
type ComboboxChipsProps = Combobox$1.Chips.Props;
|
|
37
|
+
declare function ComboboxChips(props: ComboboxChipsProps): React.JSX.Element;
|
|
38
|
+
type ComboboxChipProps = Combobox$1.Chip.Props;
|
|
39
|
+
declare function ComboboxChip(props: ComboboxChipProps): React.JSX.Element;
|
|
40
|
+
type ComboboxChipRemoveProps = Combobox$1.ChipRemove.Props;
|
|
41
|
+
declare function ComboboxChipRemove(props: ComboboxChipRemoveProps): React.JSX.Element;
|
|
42
|
+
type ComboboxPortalProps = Omit<Combobox$1.Portal.Props, "keepMounted">;
|
|
43
|
+
declare function ComboboxPortal(props: ComboboxPortalProps): React.JSX.Element;
|
|
44
|
+
type ComboboxPositionerProps = Combobox$1.Positioner.Props;
|
|
45
|
+
declare function ComboboxPositioner(props: ComboboxPositionerProps): React.JSX.Element;
|
|
46
|
+
type ComboboxPopupProps = Omit<Combobox$1.Popup.Props, "render"> & HTMLMotionProps<"div">;
|
|
47
|
+
declare function ComboboxPopup({ initialFocus, finalFocus, transition, ...props }: ComboboxPopupProps): React.JSX.Element;
|
|
48
|
+
type ComboboxBackdropProps = Combobox$1.Backdrop.Props;
|
|
49
|
+
declare function ComboboxBackdrop(props: ComboboxBackdropProps): React.JSX.Element;
|
|
50
|
+
type ComboboxStatusProps = Combobox$1.Status.Props;
|
|
51
|
+
declare function ComboboxStatus(props: ComboboxStatusProps): React.JSX.Element;
|
|
52
|
+
type ComboboxEmptyProps = Combobox$1.Empty.Props;
|
|
53
|
+
declare function ComboboxEmpty(props: ComboboxEmptyProps): React.JSX.Element;
|
|
54
|
+
type ComboboxListProps = Combobox$1.List.Props;
|
|
55
|
+
declare function ComboboxList(props: ComboboxListProps): React.JSX.Element;
|
|
56
|
+
type ComboboxHighlightProps = Omit<HighlightProps, "controlledItems" | "enabled" | "hover">;
|
|
57
|
+
declare function ComboboxHighlight({ transition, ...props }: ComboboxHighlightProps): React.JSX.Element;
|
|
58
|
+
type ComboboxHighlightItemProps = HighlightItemProps;
|
|
59
|
+
declare function ComboboxHighlightItem(props: ComboboxHighlightItemProps): React.JSX.Element;
|
|
60
|
+
type ComboboxRowProps = Combobox$1.Row.Props;
|
|
61
|
+
declare function ComboboxRow(props: ComboboxRowProps): React.JSX.Element;
|
|
62
|
+
type ComboboxItemProps = Combobox$1.Item.Props;
|
|
63
|
+
declare function ComboboxItem(props: ComboboxItemProps): React.JSX.Element;
|
|
64
|
+
type ComboboxItemIndicatorProps = Combobox$1.ItemIndicator.Props;
|
|
65
|
+
declare function ComboboxItemIndicator(props: ComboboxItemIndicatorProps): React.JSX.Element;
|
|
66
|
+
type ComboboxSeparatorProps = Combobox$1.Separator.Props;
|
|
67
|
+
declare function ComboboxSeparator(props: ComboboxSeparatorProps): React.JSX.Element;
|
|
68
|
+
type ComboboxGroupProps = Combobox$1.Group.Props;
|
|
69
|
+
declare function ComboboxGroup(props: ComboboxGroupProps): React.JSX.Element;
|
|
70
|
+
type ComboboxGroupLabelProps = Combobox$1.GroupLabel.Props;
|
|
71
|
+
declare function ComboboxGroupLabel(props: ComboboxGroupLabelProps): React.JSX.Element;
|
|
72
|
+
type ComboboxCollectionProps = Combobox$1.Collection.Props;
|
|
73
|
+
declare function ComboboxCollection(props: ComboboxCollectionProps): React.JSX.Element;
|
|
74
|
+
type ComboboxArrowProps = Combobox$1.Arrow.Props;
|
|
75
|
+
declare function ComboboxArrow(props: ComboboxArrowProps): React.JSX.Element;
|
|
76
|
+
declare const useFilteredItems: typeof Combobox$1.useFilteredItems;
|
|
77
|
+
declare const useFilter: typeof Combobox$1.useFilter;
|
|
78
|
+
|
|
79
|
+
export { Combobox, type ComboboxActiveValueContextType, ComboboxArrow, type ComboboxArrowProps, ComboboxBackdrop, type ComboboxBackdropProps, ComboboxChip, type ComboboxChipProps, ComboboxChipRemove, type ComboboxChipRemoveProps, ComboboxChips, type ComboboxChipsProps, ComboboxClear, type ComboboxClearProps, ComboboxCollection, type ComboboxCollectionProps, type ComboboxContextType, ComboboxEmpty, type ComboboxEmptyProps, ComboboxGroup, ComboboxGroupLabel, type ComboboxGroupLabelProps, type ComboboxGroupProps, ComboboxHighlight, ComboboxHighlightItem, type ComboboxHighlightItemProps, type ComboboxHighlightProps, ComboboxIcon, type ComboboxIconProps, ComboboxInput, ComboboxInputGroup, type ComboboxInputGroupProps, type ComboboxInputProps, ComboboxItem, ComboboxItemIndicator, type ComboboxItemIndicatorProps, type ComboboxItemProps, ComboboxLabel, type ComboboxLabelProps, ComboboxList, type ComboboxListProps, ComboboxPopup, type ComboboxPopupProps, ComboboxPortal, type ComboboxPortalProps, ComboboxPositioner, type ComboboxPositionerProps, type ComboboxProps, ComboboxRow, type ComboboxRowProps, ComboboxSeparator, type ComboboxSeparatorProps, ComboboxStatus, type ComboboxStatusProps, ComboboxTrigger, type ComboboxTriggerProps, ComboboxValue, type ComboboxValueProps, useCombobox, useComboboxActiveValue, useFilter, useFilteredItems };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
3
|
+
import { HTMLMotionProps } from 'motion/react';
|
|
4
|
+
|
|
5
|
+
type DialogContextType = {
|
|
6
|
+
open: boolean;
|
|
7
|
+
setOpen: DialogProps['onOpenChange'];
|
|
8
|
+
};
|
|
9
|
+
declare const useDialog: () => DialogContextType;
|
|
10
|
+
type DialogProps = React.ComponentProps<typeof Dialog$1.Root>;
|
|
11
|
+
declare function Dialog({ open: openProp, defaultOpen, onOpenChange, ...props }: DialogProps): React.JSX.Element;
|
|
12
|
+
type DialogTriggerProps = React.ComponentProps<typeof Dialog$1.Trigger>;
|
|
13
|
+
declare function DialogTrigger(props: DialogTriggerProps): React.JSX.Element;
|
|
14
|
+
type DialogPortalProps = Omit<React.ComponentProps<typeof Dialog$1.Portal>, 'keepMounted'>;
|
|
15
|
+
declare function DialogPortal(props: DialogPortalProps): React.JSX.Element;
|
|
16
|
+
type DialogBackdropProps = Omit<React.ComponentProps<typeof Dialog$1.Backdrop>, 'render'> & HTMLMotionProps<'div'>;
|
|
17
|
+
declare function DialogBackdrop({ transition, ...props }: DialogBackdropProps): React.JSX.Element;
|
|
18
|
+
type DialogFlipDirection = 'top' | 'bottom' | 'left' | 'right';
|
|
19
|
+
type DialogPopupProps = Omit<React.ComponentProps<typeof Dialog$1.Popup>, 'render'> & HTMLMotionProps<'div'> & {
|
|
20
|
+
from?: DialogFlipDirection;
|
|
21
|
+
};
|
|
22
|
+
declare function DialogPopup({ from, initialFocus, finalFocus, transition, className, ...props }: DialogPopupProps): React.JSX.Element;
|
|
23
|
+
type DialogCloseProps = React.ComponentProps<typeof Dialog$1.Close>;
|
|
24
|
+
declare function DialogClose(props: DialogCloseProps): React.JSX.Element;
|
|
25
|
+
type DialogHeaderProps = React.ComponentProps<'div'>;
|
|
26
|
+
declare function DialogHeader(props: DialogHeaderProps): React.JSX.Element;
|
|
27
|
+
type DialogFooterProps = React.ComponentProps<'div'>;
|
|
28
|
+
declare function DialogFooter(props: DialogFooterProps): React.JSX.Element;
|
|
29
|
+
type DialogTitleProps = React.ComponentProps<typeof Dialog$1.Title>;
|
|
30
|
+
declare function DialogTitle(props: DialogTitleProps): React.JSX.Element;
|
|
31
|
+
type DialogDescriptionProps = React.ComponentProps<typeof Dialog$1.Description>;
|
|
32
|
+
declare function DialogDescription(props: DialogDescriptionProps): React.JSX.Element;
|
|
33
|
+
|
|
34
|
+
export { Dialog, DialogBackdrop, type DialogBackdropProps, DialogClose, type DialogCloseProps, type DialogContextType, DialogDescription, type DialogDescriptionProps, type DialogFlipDirection, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogPopup, type DialogPopupProps, DialogPortal, type DialogPortalProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, useDialog };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export { Combobox, ComboboxActiveValueContextType, ComboboxArrow, ComboboxArrowProps, ComboboxBackdrop, ComboboxBackdropProps, ComboboxChip, ComboboxChipProps, ComboboxChipRemove, ComboboxChipRemoveProps, ComboboxChips, ComboboxChipsProps, ComboboxClear, ComboboxClearProps, ComboboxCollection, ComboboxCollectionProps, ComboboxContextType, ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupLabel, ComboboxGroupLabelProps, ComboboxGroupProps, ComboboxHighlight, ComboboxHighlightItem, ComboboxHighlightItemProps, ComboboxHighlightProps, ComboboxIcon, ComboboxIconProps, ComboboxInput, ComboboxInputGroup, ComboboxInputGroupProps, ComboboxInputProps, ComboboxItem, ComboboxItemIndicator, ComboboxItemIndicatorProps, ComboboxItemProps, ComboboxLabel, ComboboxLabelProps, ComboboxList, ComboboxListProps, ComboboxPopup, ComboboxPopupProps, ComboboxPortal, ComboboxPortalProps, ComboboxPositioner, ComboboxPositionerProps, ComboboxProps, ComboboxRow, ComboboxRowProps, ComboboxSeparator, ComboboxSeparatorProps, ComboboxStatus, ComboboxStatusProps, ComboboxTrigger, ComboboxTriggerProps, ComboboxValue, ComboboxValueProps, useCombobox, useComboboxActiveValue, useFilter, useFilteredItems } from './combobox.js';
|
|
2
|
+
export { AnyProps, DOMMotionProps, Slot, SlotProps, WithAsChild } from './slot.js';
|
|
3
|
+
export { Dialog, DialogBackdrop, DialogBackdropProps, DialogClose, DialogCloseProps, DialogContextType, DialogDescription, DialogDescriptionProps, DialogFlipDirection, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogPopup, DialogPopupProps, DialogPortal, DialogPortalProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, useDialog } from './dialog.js';
|
|
4
|
+
export { AlertDialog, AlertDialogBackdrop, AlertDialogBackdropProps, AlertDialogClose, AlertDialogCloseProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogPopup, AlertDialogPopupProps, AlertDialogPortal, AlertDialogPortalProps, AlertDialogProps, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AlertDialogTriggerProps, useAlertDialog } from './alert-dialog.js';
|
|
5
|
+
export { Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetOverlay, SheetOverlayProps, SheetPopup, SheetPopupProps, SheetPortal, SheetPortalProps, SheetProps, SheetSide, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps, useSheet } from './sheet.js';
|
|
6
|
+
export { Popover, PopoverArrow, PopoverArrowProps, PopoverBackdrop, PopoverBackdropProps, PopoverClose, PopoverCloseProps, PopoverContextType, PopoverDescription, PopoverDescriptionProps, PopoverPopup, PopoverPopupProps, PopoverPortal, PopoverPortalProps, PopoverPositioner, PopoverPositionerProps, PopoverProps, PopoverTitle, PopoverTitleProps, PopoverTrigger, PopoverTriggerProps, usePopover } from './popover.js';
|
|
7
|
+
export { Menu, MenuActiveValueContextType, MenuArrow, MenuArrowProps, MenuCheckboxItem, MenuCheckboxItemIndicator, MenuCheckboxItemIndicatorProps, MenuCheckboxItemProps, MenuContextType, MenuGroup, MenuGroupLabel, MenuGroupLabelProps, MenuGroupProps, MenuHighlight, MenuHighlightItem, MenuHighlightItemProps, MenuHighlightProps, MenuItem, MenuItemProps, MenuPopup, MenuPopupProps, MenuPortal, MenuPortalProps, MenuPositioner, MenuPositionerProps, MenuProps, MenuRadioGroup, MenuRadioGroupProps, MenuRadioItem, MenuRadioItemIndicator, MenuRadioItemIndicatorProps, MenuRadioItemProps, MenuSeparator, MenuSeparatorProps, MenuShortcut, MenuShortcutProps, MenuSubmenu, MenuSubmenuProps, MenuSubmenuTrigger, MenuSubmenuTriggerProps, MenuTrigger, MenuTriggerProps, useMenu, useMenuActiveValue } from './menu.js';
|
|
8
|
+
export { Tabs, TabsHighlight, TabsHighlightItem, TabsHighlightItemProps, TabsHighlightProps, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsPanels, TabsPanelsProps, TabsProps, TabsTab, TabsTabProps } from './tabs.js';
|
|
9
|
+
export { Tooltip, TooltipArrow, TooltipArrowProps, TooltipContextType, TooltipPopup, TooltipPopupProps, TooltipPortal, TooltipPortalProps, TooltipPositioner, TooltipPositionerProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipTrigger, TooltipTriggerProps, useTooltip } from './tooltip.js';
|
|
10
|
+
export { SliderControlPrimitive, SliderControlPrimitiveProps, SliderIndicatorPrimitive, SliderIndicatorPrimitiveProps, SliderPrimitive, SliderPrimitiveProps, SliderThumbPrimitive, SliderThumbPrimitiveProps, SliderTrackPrimitive, SliderTrackPrimitiveProps, SliderValuePrimitive, SliderValuePrimitiveProps } from './slider.js';
|
|
11
|
+
export { Accordion, AccordionContextType, AccordionHeader, AccordionHeaderProps, AccordionItem, AccordionItemContextType, AccordionItemProps, AccordionPanel, AccordionPanelProps, AccordionProps, AccordionTrigger, AccordionTriggerProps, useAccordion, useAccordionItem } from './accordion.js';
|
|
12
|
+
export { Collapsible, CollapsibleContextType, CollapsiblePanel, CollapsiblePanelProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps, useCollapsible } from './collapsible.js';
|
|
13
|
+
export { Toast, ToastAction, ToastActionProps, ToastClose, ToastCloseProps, ToastContent, ToastContentProps, ToastDescription, ToastDescriptionProps, ToastPortal, ToastPortalProps, ToastProps, ToastProvider, ToastProviderProps, ToastTitle, ToastTitleProps, ToastViewport, ToastViewportProps, createToastManager, toast, useToastManager } from './toast.js';
|
|
14
|
+
export { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps } from './avatar.js';
|
|
15
|
+
import * as React from 'react';
|
|
16
|
+
import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
|
|
17
|
+
import '@base-ui/react/combobox';
|
|
18
|
+
import 'motion/react';
|
|
19
|
+
import '../effects/highlight.js';
|
|
20
|
+
import '@base-ui/react/dialog';
|
|
21
|
+
import '@base-ui/react/alert-dialog';
|
|
22
|
+
import '@base-ui/react/popover';
|
|
23
|
+
import '@base-ui/react/menu';
|
|
24
|
+
import '@base-ui/react/tabs';
|
|
25
|
+
import '../effects/auto-height.js';
|
|
26
|
+
import '@base-ui/react/tooltip';
|
|
27
|
+
import '@base-ui/react/slider';
|
|
28
|
+
import '@base-ui/react/accordion';
|
|
29
|
+
import '@base-ui/react/collapsible';
|
|
30
|
+
import '@base-ui/react';
|
|
31
|
+
import '@base-ui/react/toast';
|
|
32
|
+
import '@base-ui/react/avatar';
|
|
33
|
+
|
|
34
|
+
type ScrollAreaProps = React.ComponentProps<typeof ScrollArea$1.Root>;
|
|
35
|
+
declare function ScrollArea(props: ScrollAreaProps): React.JSX.Element;
|
|
36
|
+
type ScrollAreaViewportProps = React.ComponentProps<typeof ScrollArea$1.Viewport>;
|
|
37
|
+
declare function ScrollAreaViewport(props: ScrollAreaViewportProps): React.JSX.Element;
|
|
38
|
+
type ScrollAreaContentProps = React.ComponentProps<typeof ScrollArea$1.Content>;
|
|
39
|
+
declare function ScrollAreaContent(props: ScrollAreaContentProps): React.JSX.Element;
|
|
40
|
+
type ScrollAreaScrollbarProps = React.ComponentProps<typeof ScrollArea$1.Scrollbar>;
|
|
41
|
+
declare function ScrollAreaScrollbar(props: ScrollAreaScrollbarProps): React.JSX.Element;
|
|
42
|
+
type ScrollAreaThumbProps = React.ComponentProps<typeof ScrollArea$1.Thumb>;
|
|
43
|
+
declare function ScrollAreaThumb(props: ScrollAreaThumbProps): React.JSX.Element;
|
|
44
|
+
type ScrollAreaCornerProps = React.ComponentProps<typeof ScrollArea$1.Corner>;
|
|
45
|
+
declare function ScrollAreaCorner(props: ScrollAreaCornerProps): React.JSX.Element;
|
|
46
|
+
|
|
47
|
+
export { ScrollArea, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaCornerProps, type ScrollAreaProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, ScrollAreaViewport, type ScrollAreaViewportProps };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Menu as Menu$1 } from '@base-ui/react/menu';
|
|
3
|
+
import { HTMLMotionProps } from 'motion/react';
|
|
4
|
+
import { HighlightProps, HighlightItemProps } from '../effects/highlight.js';
|
|
5
|
+
|
|
6
|
+
type MenuActiveValueContextType = {
|
|
7
|
+
highlightedValue: string | null;
|
|
8
|
+
setHighlightedValue: (value: string | null) => void;
|
|
9
|
+
};
|
|
10
|
+
type MenuContextType = {
|
|
11
|
+
isOpen: boolean;
|
|
12
|
+
setIsOpen: MenuProps["onOpenChange"];
|
|
13
|
+
};
|
|
14
|
+
declare const useMenuActiveValue: () => MenuActiveValueContextType;
|
|
15
|
+
declare const useMenu: () => MenuContextType;
|
|
16
|
+
type MenuProps = React.ComponentProps<typeof Menu$1.Root>;
|
|
17
|
+
declare function Menu(props: MenuProps): React.JSX.Element;
|
|
18
|
+
type MenuTriggerProps = React.ComponentProps<typeof Menu$1.Trigger>;
|
|
19
|
+
declare function MenuTrigger(props: MenuTriggerProps): React.JSX.Element;
|
|
20
|
+
type MenuPortalProps = Omit<React.ComponentProps<typeof Menu$1.Portal>, "keepMounted">;
|
|
21
|
+
declare function MenuPortal(props: MenuPortalProps): React.JSX.Element;
|
|
22
|
+
type MenuPositionerProps = React.ComponentProps<typeof Menu$1.Positioner>;
|
|
23
|
+
declare function MenuPositioner(props: MenuPositionerProps): React.JSX.Element;
|
|
24
|
+
type MenuPopupProps = Omit<React.ComponentProps<typeof Menu$1.Popup>, "render"> & HTMLMotionProps<"div">;
|
|
25
|
+
declare function MenuPopup({ finalFocus, id, transition, style, ...props }: MenuPopupProps): React.JSX.Element;
|
|
26
|
+
type MenuGroupProps = React.ComponentProps<typeof Menu$1.Group>;
|
|
27
|
+
declare function MenuGroup(props: MenuGroupProps): React.JSX.Element;
|
|
28
|
+
type MenuGroupLabelProps = React.ComponentProps<typeof Menu$1.GroupLabel>;
|
|
29
|
+
declare function MenuGroupLabel(props: MenuGroupLabelProps): React.JSX.Element;
|
|
30
|
+
type MenuSeparatorProps = React.ComponentProps<typeof Menu$1.Separator>;
|
|
31
|
+
declare function MenuSeparator(props: MenuSeparatorProps): React.JSX.Element;
|
|
32
|
+
type MenuShortcutProps = React.ComponentProps<"span">;
|
|
33
|
+
declare function MenuShortcut(props: MenuShortcutProps): React.JSX.Element;
|
|
34
|
+
type MenuArrowProps = React.ComponentProps<typeof Menu$1.Arrow>;
|
|
35
|
+
declare function MenuArrow(props: MenuArrowProps): React.JSX.Element;
|
|
36
|
+
type MenuHighlightProps = Omit<HighlightProps, "controlledItems" | "enabled" | "hover"> & {
|
|
37
|
+
animateOnHover?: boolean;
|
|
38
|
+
};
|
|
39
|
+
declare function MenuHighlight({ transition, ...props }: MenuHighlightProps): React.JSX.Element;
|
|
40
|
+
type MenuHighlightItemProps = HighlightItemProps;
|
|
41
|
+
declare function MenuHighlightItem(props: MenuHighlightItemProps): React.JSX.Element;
|
|
42
|
+
type MenuItemProps = Omit<React.ComponentProps<typeof Menu$1.Item>, "render"> & HTMLMotionProps<"div">;
|
|
43
|
+
declare function MenuItem({ disabled, label, closeOnClick, nativeButton, id, ...props }: MenuItemProps): React.JSX.Element;
|
|
44
|
+
type MenuCheckboxItemProps = Omit<React.ComponentProps<typeof Menu$1.CheckboxItem>, "render">;
|
|
45
|
+
declare function MenuCheckboxItem({ label, defaultChecked, checked, onCheckedChange, disabled, closeOnClick, nativeButton, id, ...props }: MenuCheckboxItemProps): React.JSX.Element;
|
|
46
|
+
type MenuCheckboxItemIndicatorProps = Omit<React.ComponentProps<typeof Menu$1.CheckboxItemIndicator>, "render"> & HTMLMotionProps<"div">;
|
|
47
|
+
declare function MenuCheckboxItemIndicator({ keepMounted, ...props }: MenuCheckboxItemIndicatorProps): React.JSX.Element;
|
|
48
|
+
type MenuRadioGroupProps = React.ComponentProps<typeof Menu$1.RadioGroup>;
|
|
49
|
+
declare function MenuRadioGroup(props: MenuRadioGroupProps): React.JSX.Element;
|
|
50
|
+
type MenuRadioItemProps = Omit<React.ComponentProps<typeof Menu$1.RadioItem>, "render">;
|
|
51
|
+
declare function MenuRadioItem({ value, disabled, label, closeOnClick, nativeButton, id, ...props }: MenuRadioItemProps): React.JSX.Element;
|
|
52
|
+
type MenuRadioItemIndicatorProps = Omit<React.ComponentProps<typeof Menu$1.RadioItemIndicator>, "render"> & HTMLMotionProps<"div">;
|
|
53
|
+
declare function MenuRadioItemIndicator({ keepMounted, ...props }: MenuRadioItemIndicatorProps): React.JSX.Element;
|
|
54
|
+
type MenuSubmenuProps = React.ComponentProps<typeof Menu$1.SubmenuRoot>;
|
|
55
|
+
declare function MenuSubmenu(props: MenuSubmenuProps): React.JSX.Element;
|
|
56
|
+
type MenuSubmenuTriggerProps = Omit<React.ComponentProps<typeof Menu$1.SubmenuTrigger>, "render"> & HTMLMotionProps<"div"> & {
|
|
57
|
+
disabled?: boolean;
|
|
58
|
+
};
|
|
59
|
+
declare function MenuSubmenuTrigger({ label, id, nativeButton, ...props }: MenuSubmenuTriggerProps): React.JSX.Element;
|
|
60
|
+
|
|
61
|
+
export { Menu, type MenuActiveValueContextType, MenuArrow, type MenuArrowProps, MenuCheckboxItem, MenuCheckboxItemIndicator, type MenuCheckboxItemIndicatorProps, type MenuCheckboxItemProps, type MenuContextType, MenuGroup, MenuGroupLabel, type MenuGroupLabelProps, type MenuGroupProps, MenuHighlight, MenuHighlightItem, type MenuHighlightItemProps, type MenuHighlightProps, MenuItem, type MenuItemProps, MenuPopup, type MenuPopupProps, MenuPortal, type MenuPortalProps, MenuPositioner, type MenuPositionerProps, type MenuProps, MenuRadioGroup, type MenuRadioGroupProps, MenuRadioItem, MenuRadioItemIndicator, type MenuRadioItemIndicatorProps, type MenuRadioItemProps, MenuSeparator, type MenuSeparatorProps, MenuShortcut, type MenuShortcutProps, MenuSubmenu, type MenuSubmenuProps, MenuSubmenuTrigger, type MenuSubmenuTriggerProps, MenuTrigger, type MenuTriggerProps, useMenu, useMenuActiveValue };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Popover as Popover$1 } from '@base-ui/react/popover';
|
|
3
|
+
import { HTMLMotionProps } from 'motion/react';
|
|
4
|
+
|
|
5
|
+
type PopoverContextType = {
|
|
6
|
+
open: boolean;
|
|
7
|
+
setOpen: PopoverProps["onOpenChange"];
|
|
8
|
+
};
|
|
9
|
+
declare const usePopover: () => PopoverContextType;
|
|
10
|
+
type PopoverProps = React.ComponentProps<typeof Popover$1.Root>;
|
|
11
|
+
declare function Popover(props: PopoverProps): React.JSX.Element;
|
|
12
|
+
type PopoverTriggerProps = React.ComponentProps<typeof Popover$1.Trigger>;
|
|
13
|
+
declare function PopoverTrigger(props: PopoverTriggerProps): React.JSX.Element;
|
|
14
|
+
type PopoverPortalProps = Omit<React.ComponentProps<typeof Popover$1.Portal>, "keepMounted">;
|
|
15
|
+
declare function PopoverPortal(props: PopoverPortalProps): React.JSX.Element;
|
|
16
|
+
type PopoverPositionerProps = React.ComponentProps<typeof Popover$1.Positioner>;
|
|
17
|
+
declare function PopoverPositioner(props: PopoverPositionerProps): React.JSX.Element;
|
|
18
|
+
type PopoverPopupProps = Omit<React.ComponentProps<typeof Popover$1.Popup>, "render"> & HTMLMotionProps<"div">;
|
|
19
|
+
declare function PopoverPopup({ initialFocus, finalFocus, transition, ...props }: PopoverPopupProps): React.JSX.Element;
|
|
20
|
+
type PopoverBackdropProps = React.ComponentProps<typeof Popover$1.Backdrop>;
|
|
21
|
+
declare function PopoverBackdrop(props: PopoverBackdropProps): React.JSX.Element;
|
|
22
|
+
type PopoverArrowProps = React.ComponentProps<typeof Popover$1.Arrow>;
|
|
23
|
+
declare function PopoverArrow(props: PopoverArrowProps): React.JSX.Element;
|
|
24
|
+
type PopoverTitleProps = React.ComponentProps<typeof Popover$1.Title>;
|
|
25
|
+
declare function PopoverTitle(props: PopoverTitleProps): React.JSX.Element;
|
|
26
|
+
type PopoverDescriptionProps = React.ComponentProps<typeof Popover$1.Description>;
|
|
27
|
+
declare function PopoverDescription(props: PopoverDescriptionProps): React.JSX.Element;
|
|
28
|
+
type PopoverCloseProps = React.ComponentProps<typeof Popover$1.Close>;
|
|
29
|
+
declare function PopoverClose(props: PopoverCloseProps): React.JSX.Element;
|
|
30
|
+
|
|
31
|
+
export { Popover, PopoverArrow, type PopoverArrowProps, PopoverBackdrop, type PopoverBackdropProps, PopoverClose, type PopoverCloseProps, type PopoverContextType, PopoverDescription, type PopoverDescriptionProps, PopoverPopup, type PopoverPopupProps, PopoverPortal, type PopoverPortalProps, PopoverPositioner, type PopoverPositionerProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, usePopover };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DialogProps, DialogCloseProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogBackdropProps, DialogTitleProps, DialogTriggerProps, Dialog as Dialog$1, DialogClose, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop, DialogPortal, DialogPortalProps, DialogTitle, DialogTrigger, DialogContextType } from './dialog.js';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Dialog } from '@base-ui/react/dialog';
|
|
4
|
+
import { HTMLMotionProps } from 'motion/react';
|
|
5
|
+
|
|
6
|
+
declare const Sheet: typeof Dialog$1;
|
|
7
|
+
declare const SheetTrigger: typeof DialogTrigger;
|
|
8
|
+
declare const SheetPortal: typeof DialogPortal;
|
|
9
|
+
declare const SheetOverlay: typeof DialogBackdrop;
|
|
10
|
+
declare const SheetClose: typeof DialogClose;
|
|
11
|
+
declare const SheetHeader: typeof DialogHeader;
|
|
12
|
+
declare const SheetFooter: typeof DialogFooter;
|
|
13
|
+
declare const SheetTitle: typeof DialogTitle;
|
|
14
|
+
declare const SheetDescription: typeof DialogDescription;
|
|
15
|
+
declare const useSheet: () => DialogContextType;
|
|
16
|
+
type SheetSide = 'top' | 'bottom' | 'left' | 'right';
|
|
17
|
+
type SheetPopupProps = Omit<React.ComponentProps<typeof Dialog.Popup>, 'render'> & HTMLMotionProps<'div'> & {
|
|
18
|
+
side?: SheetSide;
|
|
19
|
+
};
|
|
20
|
+
declare function SheetPopup({ side, initialFocus, finalFocus, transition, className, ...props }: SheetPopupProps): React.JSX.Element;
|
|
21
|
+
type SheetContentProps = React.HTMLAttributes<HTMLDivElement>;
|
|
22
|
+
declare function SheetContent({ className, ...props }: SheetContentProps): React.JSX.Element;
|
|
23
|
+
type SheetProps = DialogProps;
|
|
24
|
+
type SheetTriggerProps = DialogTriggerProps;
|
|
25
|
+
type SheetPortalProps = DialogPortalProps;
|
|
26
|
+
type SheetCloseProps = DialogCloseProps;
|
|
27
|
+
type SheetOverlayProps = DialogBackdropProps;
|
|
28
|
+
type SheetHeaderProps = DialogHeaderProps;
|
|
29
|
+
type SheetFooterProps = DialogFooterProps;
|
|
30
|
+
type SheetTitleProps = DialogTitleProps;
|
|
31
|
+
type SheetDescriptionProps = DialogDescriptionProps;
|
|
32
|
+
|
|
33
|
+
export { Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, SheetOverlay, type SheetOverlayProps, SheetPopup, type SheetPopupProps, SheetPortal, type SheetPortalProps, type SheetProps, type SheetSide, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, useSheet };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Slider as Slider$1 } from '@base-ui/react/slider';
|
|
3
|
+
|
|
4
|
+
declare function Slider(props: React.ComponentProps<typeof Slider$1.Root>): React.JSX.Element;
|
|
5
|
+
declare function Control(props: React.ComponentProps<typeof Slider$1.Control>): React.JSX.Element;
|
|
6
|
+
declare function Track(props: React.ComponentProps<typeof Slider$1.Track>): React.JSX.Element;
|
|
7
|
+
declare function Thumb(props: React.ComponentProps<typeof Slider$1.Thumb>): React.JSX.Element;
|
|
8
|
+
declare function Indicator(props: React.ComponentProps<typeof Slider$1.Indicator>): React.JSX.Element;
|
|
9
|
+
declare function Value(props: React.ComponentProps<typeof Slider$1.Value>): React.JSX.Element;
|
|
10
|
+
|
|
11
|
+
type SliderProps = React.ComponentProps<typeof Slider$1.Root>;
|
|
12
|
+
type SliderControlProps = React.ComponentProps<typeof Slider$1.Control>;
|
|
13
|
+
type SliderTrackProps = React.ComponentProps<typeof Slider$1.Track>;
|
|
14
|
+
type SliderThumbProps = React.ComponentProps<typeof Slider$1.Thumb>;
|
|
15
|
+
type SliderIndicatorProps = React.ComponentProps<typeof Slider$1.Indicator>;
|
|
16
|
+
type SliderValueProps = React.ComponentProps<typeof Slider$1.Value>;
|
|
17
|
+
|
|
18
|
+
export { Control as SliderControlPrimitive, type SliderControlProps as SliderControlPrimitiveProps, Indicator as SliderIndicatorPrimitive, type SliderIndicatorProps as SliderIndicatorPrimitiveProps, Slider as SliderPrimitive, type SliderProps as SliderPrimitiveProps, Thumb as SliderThumbPrimitive, type SliderThumbProps as SliderThumbPrimitiveProps, Track as SliderTrackPrimitive, type SliderTrackProps as SliderTrackPrimitiveProps, Value as SliderValuePrimitive, type SliderValueProps as SliderValuePrimitiveProps };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { HTMLMotionProps, motion } from 'motion/react';
|
|
3
|
+
|
|
4
|
+
type AnyProps = Record<string, unknown>;
|
|
5
|
+
type DOMMotionProps<T extends HTMLElement = HTMLElement> = Omit<HTMLMotionProps<Extract<keyof HTMLElementTagNameMap, keyof typeof motion>>, "ref"> & {
|
|
6
|
+
ref?: React.Ref<T>;
|
|
7
|
+
};
|
|
8
|
+
type WithAsChild<Base extends object> = (Base & {
|
|
9
|
+
asChild: true;
|
|
10
|
+
children: React.ReactElement;
|
|
11
|
+
}) | (Base & {
|
|
12
|
+
asChild?: false | undefined;
|
|
13
|
+
});
|
|
14
|
+
type SlotProps<T extends HTMLElement = HTMLElement> = {
|
|
15
|
+
children?: any;
|
|
16
|
+
} & DOMMotionProps<T>;
|
|
17
|
+
declare function Slot<T extends HTMLElement = HTMLElement>({ children, ref, ...props }: SlotProps<T>): React.JSX.Element | null;
|
|
18
|
+
|
|
19
|
+
export { type AnyProps, type DOMMotionProps, Slot, type SlotProps, type WithAsChild };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
3
|
+
import { HTMLMotionProps, Transition } from 'motion/react';
|
|
4
|
+
import { HighlightProps, HighlightItemProps } from '../effects/highlight.js';
|
|
5
|
+
import { AutoHeightProps } from '../effects/auto-height.js';
|
|
6
|
+
import './slot.js';
|
|
7
|
+
|
|
8
|
+
type TabsProps = React.ComponentProps<typeof Tabs$1.Root>;
|
|
9
|
+
declare function Tabs(props: TabsProps): React.JSX.Element;
|
|
10
|
+
type TabsHighlightProps = Omit<HighlightProps, 'controlledItems' | 'value'>;
|
|
11
|
+
declare function TabsHighlight({ transition, ...props }: TabsHighlightProps): React.JSX.Element;
|
|
12
|
+
type TabsListProps = React.ComponentProps<typeof Tabs$1.List>;
|
|
13
|
+
declare function TabsList(props: TabsListProps): React.JSX.Element;
|
|
14
|
+
type TabsHighlightItemProps = HighlightItemProps & {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
17
|
+
declare function TabsHighlightItem(props: TabsHighlightItemProps): React.JSX.Element;
|
|
18
|
+
type TabsTabProps = React.ComponentProps<typeof Tabs$1.Tab>;
|
|
19
|
+
declare function TabsTab(props: TabsTabProps): React.JSX.Element;
|
|
20
|
+
type TabsPanelProps = React.ComponentProps<typeof Tabs$1.Panel> & HTMLMotionProps<'div'>;
|
|
21
|
+
declare function TabsPanel({ value, keepMounted, transition, ...props }: TabsPanelProps): React.JSX.Element;
|
|
22
|
+
type TabsPanelsAutoProps = Omit<AutoHeightProps, 'children'> & {
|
|
23
|
+
mode?: 'auto-height';
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
transition?: Transition;
|
|
26
|
+
};
|
|
27
|
+
type TabsPanelsLayoutProps = Omit<HTMLMotionProps<'div'>, 'children'> & {
|
|
28
|
+
mode: 'layout';
|
|
29
|
+
children: React.ReactNode;
|
|
30
|
+
transition?: Transition;
|
|
31
|
+
};
|
|
32
|
+
type TabsPanelsProps = TabsPanelsAutoProps | TabsPanelsLayoutProps;
|
|
33
|
+
declare function TabsPanels(props: TabsPanelsProps): React.JSX.Element;
|
|
34
|
+
|
|
35
|
+
export { Tabs, TabsHighlight, TabsHighlightItem, type TabsHighlightItemProps, type TabsHighlightProps, TabsList, type TabsListProps, TabsPanel, type TabsPanelProps, TabsPanels, type TabsPanelsProps, type TabsProps, TabsTab, type TabsTabProps };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as _base_ui_react from '@base-ui/react';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Toast as Toast$1 } from '@base-ui/react/toast';
|
|
4
|
+
|
|
5
|
+
declare const toast: _base_ui_react.ToastManager<any>;
|
|
6
|
+
type ToastProviderProps = React.ComponentProps<typeof Toast$1.Provider>;
|
|
7
|
+
declare function ToastProvider(props: ToastProviderProps): React.JSX.Element;
|
|
8
|
+
type ToastProps = React.ComponentProps<typeof Toast$1.Root>;
|
|
9
|
+
declare function Toast(props: ToastProps): React.JSX.Element;
|
|
10
|
+
type ToastPortalProps = React.ComponentProps<typeof Toast$1.Portal>;
|
|
11
|
+
declare function ToastPortal(props: ToastPortalProps): React.JSX.Element;
|
|
12
|
+
type ToastViewportProps = React.ComponentProps<typeof Toast$1.Viewport>;
|
|
13
|
+
declare function ToastViewport(props: ToastViewportProps): React.JSX.Element;
|
|
14
|
+
type ToastContentProps = React.ComponentProps<typeof Toast$1.Content>;
|
|
15
|
+
declare function ToastContent(props: ToastContentProps): React.JSX.Element;
|
|
16
|
+
type ToastTitleProps = React.ComponentProps<typeof Toast$1.Title>;
|
|
17
|
+
declare function ToastTitle(props: ToastTitleProps): React.JSX.Element;
|
|
18
|
+
type ToastDescriptionProps = React.ComponentProps<typeof Toast$1.Description>;
|
|
19
|
+
declare function ToastDescription(props: ToastDescriptionProps): React.JSX.Element;
|
|
20
|
+
type ToastActionProps = React.ComponentProps<typeof Toast$1.Action>;
|
|
21
|
+
declare function ToastAction(props: ToastActionProps): React.JSX.Element;
|
|
22
|
+
type ToastCloseProps = React.ComponentProps<typeof Toast$1.Close>;
|
|
23
|
+
declare function ToastClose(props: ToastCloseProps): React.JSX.Element;
|
|
24
|
+
declare const createToastManager: typeof Toast$1.createToastManager;
|
|
25
|
+
declare const useToastManager: typeof Toast$1.useToastManager;
|
|
26
|
+
|
|
27
|
+
export { Toast, ToastAction, type ToastActionProps, ToastClose, type ToastCloseProps, ToastContent, type ToastContentProps, ToastDescription, type ToastDescriptionProps, ToastPortal, type ToastPortalProps, type ToastProps, ToastProvider, type ToastProviderProps, ToastTitle, type ToastTitleProps, ToastViewport, type ToastViewportProps, createToastManager, toast, useToastManager };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
3
|
+
import { SpringOptions, HTMLMotionProps, MotionValue } from 'motion/react';
|
|
4
|
+
|
|
5
|
+
type TooltipContextType = {
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
setIsOpen: TooltipProps['onOpenChange'];
|
|
8
|
+
x: MotionValue<number>;
|
|
9
|
+
y: MotionValue<number>;
|
|
10
|
+
followCursor?: boolean | 'x' | 'y';
|
|
11
|
+
followCursorSpringOptions?: SpringOptions;
|
|
12
|
+
};
|
|
13
|
+
declare const useTooltip: () => TooltipContextType;
|
|
14
|
+
type TooltipProviderProps = React.ComponentProps<typeof Tooltip$1.Provider>;
|
|
15
|
+
declare function TooltipProvider(props: TooltipProviderProps): React.JSX.Element;
|
|
16
|
+
type TooltipProps = React.ComponentProps<typeof Tooltip$1.Root> & {
|
|
17
|
+
followCursor?: boolean | 'x' | 'y';
|
|
18
|
+
followCursorSpringOptions?: SpringOptions;
|
|
19
|
+
};
|
|
20
|
+
declare function Tooltip({ followCursor, followCursorSpringOptions, ...props }: TooltipProps): React.JSX.Element;
|
|
21
|
+
type TooltipTriggerProps = React.ComponentProps<typeof Tooltip$1.Trigger>;
|
|
22
|
+
declare function TooltipTrigger({ onMouseMove, ...props }: TooltipTriggerProps): React.JSX.Element;
|
|
23
|
+
type TooltipPortalProps = Omit<React.ComponentProps<typeof Tooltip$1.Portal>, 'keepMounted'>;
|
|
24
|
+
declare function TooltipPortal(props: TooltipPortalProps): React.JSX.Element;
|
|
25
|
+
type TooltipPositionerProps = React.ComponentProps<typeof Tooltip$1.Positioner>;
|
|
26
|
+
declare function TooltipPositioner(props: TooltipPositionerProps): React.JSX.Element;
|
|
27
|
+
type TooltipPopupProps = Omit<React.ComponentProps<typeof Tooltip$1.Popup>, 'render'> & HTMLMotionProps<'div'>;
|
|
28
|
+
declare function TooltipPopup({ transition, style, ...props }: TooltipPopupProps): React.JSX.Element;
|
|
29
|
+
type TooltipArrowProps = React.ComponentProps<typeof Tooltip$1.Arrow>;
|
|
30
|
+
declare function TooltipArrow(props: TooltipArrowProps): React.JSX.Element;
|
|
31
|
+
|
|
32
|
+
export { Tooltip, TooltipArrow, type TooltipArrowProps, type TooltipContextType, TooltipPopup, type TooltipPopupProps, TooltipPortal, type TooltipPortalProps, TooltipPositioner, type TooltipPositionerProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, useTooltip };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AccordionProps as AccordionProps$1, AccordionPanelProps, AccordionItemProps as AccordionItemProps$1, AccordionTriggerProps as AccordionTriggerProps$1 } from '../primitives/accordion.js';
|
|
3
|
+
import '@base-ui/react/accordion';
|
|
4
|
+
import 'motion/react';
|
|
5
|
+
|
|
6
|
+
type AccordionProps = AccordionProps$1;
|
|
7
|
+
declare function Accordion(props: AccordionProps): React.JSX.Element;
|
|
8
|
+
type AccordionItemProps = AccordionItemProps$1;
|
|
9
|
+
declare function AccordionItem({ className, ...props }: AccordionItemProps): React.JSX.Element;
|
|
10
|
+
type AccordionTriggerProps = AccordionTriggerProps$1 & {
|
|
11
|
+
/** Whether to show the chevron icon. */
|
|
12
|
+
showArrow?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare function AccordionTrigger({ className, children, showArrow, ...props }: AccordionTriggerProps): React.JSX.Element;
|
|
15
|
+
type AccordionContentProps = AccordionPanelProps & {
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
};
|
|
18
|
+
declare function AccordionContent({ className, children, ...props }: AccordionContentProps): React.JSX.Element;
|
|
19
|
+
|
|
20
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AlertDialogProps as AlertDialogProps$1, AlertDialogBackdropProps as AlertDialogBackdropProps$1, AlertDialogCloseProps as AlertDialogCloseProps$1, AlertDialogDescriptionProps as AlertDialogDescriptionProps$1, AlertDialogFooterProps as AlertDialogFooterProps$1, AlertDialogPopupProps as AlertDialogPopupProps$1, AlertDialogTitleProps as AlertDialogTitleProps$1, AlertDialogTriggerProps as AlertDialogTriggerProps$1 } from '../primitives/alert-dialog.js';
|
|
3
|
+
import { Button } from './button.js';
|
|
4
|
+
import '@base-ui/react/alert-dialog';
|
|
5
|
+
import 'motion/react';
|
|
6
|
+
import 'class-variance-authority/types';
|
|
7
|
+
import 'class-variance-authority';
|
|
8
|
+
import '@base-ui/react/button';
|
|
9
|
+
|
|
10
|
+
type AlertDialogProps = AlertDialogProps$1;
|
|
11
|
+
declare function AlertDialog(props: AlertDialogProps): React.JSX.Element;
|
|
12
|
+
type AlertDialogTriggerProps = AlertDialogTriggerProps$1;
|
|
13
|
+
declare function AlertDialogTrigger(props: AlertDialogTriggerProps): React.JSX.Element;
|
|
14
|
+
type AlertDialogCloseProps = AlertDialogCloseProps$1;
|
|
15
|
+
declare function AlertDialogClose(props: AlertDialogCloseProps): React.JSX.Element;
|
|
16
|
+
type AlertDialogBackdropProps = AlertDialogBackdropProps$1;
|
|
17
|
+
declare function AlertDialogBackdrop({ className, ...props }: AlertDialogBackdropProps): React.JSX.Element;
|
|
18
|
+
type AlertDialogPopupProps = AlertDialogPopupProps$1;
|
|
19
|
+
declare function AlertDialogPopup({ className, children, ...props }: AlertDialogPopupProps): React.JSX.Element;
|
|
20
|
+
type AlertDialogHeaderProps = React.HTMLAttributes<HTMLDivElement>;
|
|
21
|
+
declare function AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): React.JSX.Element;
|
|
22
|
+
type AlertDialogContentProps = React.HTMLAttributes<HTMLDivElement>;
|
|
23
|
+
declare function AlertDialogContent({ className, ...props }: AlertDialogContentProps): React.JSX.Element;
|
|
24
|
+
type AlertDialogFooterProps = AlertDialogFooterProps$1;
|
|
25
|
+
declare function AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): React.JSX.Element;
|
|
26
|
+
type AlertDialogTitleProps = AlertDialogTitleProps$1;
|
|
27
|
+
declare function AlertDialogTitle({ className, ...props }: AlertDialogTitleProps): React.JSX.Element;
|
|
28
|
+
type AlertDialogDescriptionProps = AlertDialogDescriptionProps$1;
|
|
29
|
+
declare function AlertDialogDescription({ className, ...props }: AlertDialogDescriptionProps): React.JSX.Element;
|
|
30
|
+
type AlertDialogIconProps = React.ComponentProps<"div"> & {
|
|
31
|
+
variant?: "brand" | "error";
|
|
32
|
+
};
|
|
33
|
+
declare function AlertDialogIcon({ className, variant, ...props }: AlertDialogIconProps): React.JSX.Element;
|
|
34
|
+
type AlertDialogActionProps = React.ComponentProps<typeof Button>;
|
|
35
|
+
declare function AlertDialogAction({ color, variant, ...props }: AlertDialogActionProps): React.JSX.Element;
|
|
36
|
+
type AlertDialogCancelProps = AlertDialogCloseProps$1 & Pick<React.ComponentProps<typeof Button>, "color" | "variant" | "size">;
|
|
37
|
+
declare function AlertDialogCancel({ color, variant, size, ...props }: AlertDialogCancelProps): React.JSX.Element;
|
|
38
|
+
|
|
39
|
+
export { AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogBackdrop, type AlertDialogBackdropProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogClose, type AlertDialogCloseProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogIcon, type AlertDialogIconProps, AlertDialogPopup, type AlertDialogPopupProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const alertVariants: (props?: ({
|
|
6
|
+
variant?: "default" | "error" | "warning" | "success" | "info" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
type AlertProps = React.ComponentProps<"div"> & VariantProps<typeof alertVariants>;
|
|
9
|
+
declare function Alert({ className, variant, ...props }: AlertProps): React.JSX.Element;
|
|
10
|
+
type AlertIconProps = React.ComponentProps<"div">;
|
|
11
|
+
declare function AlertIcon({ className, ...props }: AlertIconProps): React.JSX.Element;
|
|
12
|
+
type AlertTitleProps = React.ComponentProps<"div">;
|
|
13
|
+
declare function AlertTitle({ className, ...props }: AlertTitleProps): React.JSX.Element;
|
|
14
|
+
type AlertDescriptionProps = React.ComponentProps<"div">;
|
|
15
|
+
declare function AlertDescription({ className, ...props }: AlertDescriptionProps): React.JSX.Element;
|
|
16
|
+
type AlertActionProps = React.ComponentProps<"div">;
|
|
17
|
+
declare function AlertAction({ className, ...props }: AlertActionProps): React.JSX.Element;
|
|
18
|
+
|
|
19
|
+
export { Alert, AlertAction, type AlertActionProps, AlertDescription, type AlertDescriptionProps, AlertIcon, type AlertIconProps, type AlertProps, AlertTitle, type AlertTitleProps, alertVariants };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AlertDialogActionProps, AlertDialogCancelProps } from './alert-dialog.js';
|
|
3
|
+
import '../primitives/alert-dialog.js';
|
|
4
|
+
import '@base-ui/react/alert-dialog';
|
|
5
|
+
import 'motion/react';
|
|
6
|
+
import './button.js';
|
|
7
|
+
import 'class-variance-authority/types';
|
|
8
|
+
import 'class-variance-authority';
|
|
9
|
+
import '@base-ui/react/button';
|
|
10
|
+
|
|
11
|
+
type AlertPosition = "top-start" | "top-center" | "top-end" | "bottom-start" | "bottom-center" | "bottom-end" | "center";
|
|
12
|
+
interface AlertOptions {
|
|
13
|
+
title: React.ReactNode;
|
|
14
|
+
description?: React.ReactNode;
|
|
15
|
+
icon?: React.ReactNode;
|
|
16
|
+
confirmText?: string;
|
|
17
|
+
cancelText?: string;
|
|
18
|
+
denyText?: string;
|
|
19
|
+
variant?: "default" | "destructive";
|
|
20
|
+
showCancel?: boolean;
|
|
21
|
+
showDeny?: boolean;
|
|
22
|
+
position?: AlertPosition;
|
|
23
|
+
textAlign?: "left" | "center" | "right";
|
|
24
|
+
footerLayout?: "row" | "col";
|
|
25
|
+
showCloseButton?: boolean;
|
|
26
|
+
closeAriaLabel?: string;
|
|
27
|
+
confirmButtonProps?: AlertDialogActionProps;
|
|
28
|
+
cancelButtonProps?: AlertDialogCancelProps;
|
|
29
|
+
denyButtonProps?: AlertDialogActionProps;
|
|
30
|
+
onConfirm?: () => void | Promise<void>;
|
|
31
|
+
onCancel?: () => void;
|
|
32
|
+
onDeny?: () => void | Promise<void>;
|
|
33
|
+
className?: string;
|
|
34
|
+
additionalContents?: React.ReactNode;
|
|
35
|
+
}
|
|
36
|
+
type AlertResult = "confirm" | "deny" | "cancel";
|
|
37
|
+
declare const alert: {
|
|
38
|
+
add: (options: AlertOptions) => void;
|
|
39
|
+
confirm: (options: AlertOptions) => Promise<AlertResult>;
|
|
40
|
+
};
|
|
41
|
+
declare function Alerter(): React.JSX.Element;
|
|
42
|
+
|
|
43
|
+
export { type AlertOptions, type AlertPosition, type AlertResult, Alerter, alert };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { AvatarProps as AvatarProps$1, AvatarFallbackProps as AvatarFallbackProps$1, AvatarImageProps as AvatarImageProps$1 } from '../primitives/avatar.js';
|
|
5
|
+
import '@base-ui/react/avatar';
|
|
6
|
+
|
|
7
|
+
declare const avatarVariants: (props?: ({
|
|
8
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
type AvatarProps = AvatarProps$1 & VariantProps<typeof avatarVariants>;
|
|
11
|
+
declare function Avatar({ className, size, ...props }: AvatarProps): React.JSX.Element;
|
|
12
|
+
type AvatarImageProps = AvatarImageProps$1;
|
|
13
|
+
declare function AvatarImage({ className, alt, ...props }: AvatarImageProps): React.JSX.Element;
|
|
14
|
+
type AvatarFallbackProps = AvatarFallbackProps$1;
|
|
15
|
+
declare function AvatarFallback({ className, ...props }: AvatarFallbackProps): React.JSX.Element;
|
|
16
|
+
|
|
17
|
+
export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, avatarVariants };
|