@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,44 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ComboboxProps, ComboboxPortal, ComboboxInfiniteScroll } from '../ui/combobox.js';
|
|
3
|
+
import '../primitives/combobox.js';
|
|
4
|
+
import '@base-ui/react/combobox';
|
|
5
|
+
import 'motion/react';
|
|
6
|
+
import '../effects/highlight.js';
|
|
7
|
+
import '../ui/infinite-scroll.js';
|
|
8
|
+
import '../ui/input.js';
|
|
9
|
+
import 'class-variance-authority/types';
|
|
10
|
+
import 'class-variance-authority';
|
|
11
|
+
import '../ui/avatar.js';
|
|
12
|
+
import '../primitives/avatar.js';
|
|
13
|
+
import '@base-ui/react/avatar';
|
|
14
|
+
|
|
15
|
+
type ComboboxChipOutsideProps<Value> = Omit<ComboboxProps<Value, true>, "multiple"> & {
|
|
16
|
+
multiple?: boolean;
|
|
17
|
+
inputPlaceholder?: string;
|
|
18
|
+
container?: React.ComponentProps<typeof ComboboxPortal>["container"];
|
|
19
|
+
items: ({
|
|
20
|
+
label: string;
|
|
21
|
+
value: string;
|
|
22
|
+
}[]) | undefined;
|
|
23
|
+
infiniteScroll?: React.ComponentProps<typeof ComboboxInfiniteScroll>;
|
|
24
|
+
isPending?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* When true, enables creatable / taggable mode.
|
|
27
|
+
* If the typed value has no exact match in the current item list,
|
|
28
|
+
* a "Create \"…\"" option is shown at the top of the dropdown.
|
|
29
|
+
* Created items are appended to the value with `{ label, value, tag: true }`.
|
|
30
|
+
*/
|
|
31
|
+
taggable?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Maximum number of chips to show before collapsing the rest into a "+N" chip.
|
|
34
|
+
* When undefined, all chips are shown.
|
|
35
|
+
*/
|
|
36
|
+
maxVisible?: number;
|
|
37
|
+
};
|
|
38
|
+
declare function ComboboxChipOutside<Value extends {
|
|
39
|
+
label: string;
|
|
40
|
+
value: string;
|
|
41
|
+
tag?: true;
|
|
42
|
+
}>({ multiple, inputPlaceholder, container, items, infiniteScroll, isPending, taggable, maxVisible, ...props }: ComboboxChipOutsideProps<Value>): React.JSX.Element;
|
|
43
|
+
|
|
44
|
+
export { ComboboxChipOutside };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ComboboxProps, ComboboxPortal, ComboboxInfiniteScroll } from '../ui/combobox.js';
|
|
3
|
+
import '../primitives/combobox.js';
|
|
4
|
+
import '@base-ui/react/combobox';
|
|
5
|
+
import 'motion/react';
|
|
6
|
+
import '../effects/highlight.js';
|
|
7
|
+
import '../ui/infinite-scroll.js';
|
|
8
|
+
import '../ui/input.js';
|
|
9
|
+
import 'class-variance-authority/types';
|
|
10
|
+
import 'class-variance-authority';
|
|
11
|
+
import '../ui/avatar.js';
|
|
12
|
+
import '../primitives/avatar.js';
|
|
13
|
+
import '@base-ui/react/avatar';
|
|
14
|
+
|
|
15
|
+
type ComboboxChipProps<Value extends {
|
|
16
|
+
label: string;
|
|
17
|
+
value: string;
|
|
18
|
+
image?: string;
|
|
19
|
+
tag?: true;
|
|
20
|
+
}> = Omit<ComboboxProps<Value, true>, "multiple" | "items"> & {
|
|
21
|
+
multiple?: boolean;
|
|
22
|
+
inputPlaceholder?: string;
|
|
23
|
+
container?: React.ComponentProps<typeof ComboboxPortal>["container"];
|
|
24
|
+
items?: Value[] | undefined;
|
|
25
|
+
infiniteScroll?: React.ComponentProps<typeof ComboboxInfiniteScroll>;
|
|
26
|
+
isPending?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* When true, enables creatable / taggable mode.
|
|
29
|
+
* If the typed value has no exact match in the current item list,
|
|
30
|
+
* a "Create \"…\"" option is shown at the top of the dropdown.
|
|
31
|
+
* Created items are appended to the value with `{ label, value, tag: true }`.
|
|
32
|
+
*/
|
|
33
|
+
taggable?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Maximum number of chips to show before collapsing the rest into a "+N" chip.
|
|
36
|
+
* When undefined, all chips are shown.
|
|
37
|
+
*/
|
|
38
|
+
maxVisible?: number;
|
|
39
|
+
};
|
|
40
|
+
declare function ComboboxChip<Value extends {
|
|
41
|
+
label: string;
|
|
42
|
+
value: string;
|
|
43
|
+
image?: string;
|
|
44
|
+
tag?: true;
|
|
45
|
+
}>({ multiple, inputPlaceholder, container, items, infiniteScroll, isPending, taggable, maxVisible, ...props }: ComboboxChipProps<Value>): React.JSX.Element;
|
|
46
|
+
|
|
47
|
+
export { ComboboxChip, type ComboboxChipProps };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { inputVariants } from '../ui/input.js';
|
|
4
|
+
import { ComboboxProps, ComboboxPortal, ComboboxInfiniteScroll } from '../ui/combobox.js';
|
|
5
|
+
import 'class-variance-authority/types';
|
|
6
|
+
import '../primitives/combobox.js';
|
|
7
|
+
import '@base-ui/react/combobox';
|
|
8
|
+
import 'motion/react';
|
|
9
|
+
import '../effects/highlight.js';
|
|
10
|
+
import '../ui/infinite-scroll.js';
|
|
11
|
+
import '../ui/avatar.js';
|
|
12
|
+
import '../primitives/avatar.js';
|
|
13
|
+
import '@base-ui/react/avatar';
|
|
14
|
+
|
|
15
|
+
type ComboboxSimpleItem = {
|
|
16
|
+
label: string;
|
|
17
|
+
value: string;
|
|
18
|
+
};
|
|
19
|
+
type BaseProps = {
|
|
20
|
+
items: ComboboxSimpleItem[] | undefined;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
searchPlaceholder?: string;
|
|
23
|
+
icon?: React.ReactNode;
|
|
24
|
+
container?: React.ComponentProps<typeof ComboboxPortal>["container"];
|
|
25
|
+
isPending?: boolean;
|
|
26
|
+
className?: string;
|
|
27
|
+
triggerClassName?: string;
|
|
28
|
+
contentClassName?: string;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
size?: VariantProps<typeof inputVariants>["size"];
|
|
31
|
+
infiniteScroll?: React.ComponentProps<typeof ComboboxInfiniteScroll>;
|
|
32
|
+
showSearch?: boolean;
|
|
33
|
+
};
|
|
34
|
+
type ComboboxSimpleProps = Omit<ComboboxProps<ComboboxSimpleItem, false>, "multiple" | "items"> & BaseProps;
|
|
35
|
+
declare function ComboboxSimple({ items, value, defaultValue, onValueChange, placeholder, searchPlaceholder, icon, container, isPending, className, triggerClassName, contentClassName, disabled, size, infiniteScroll, showSearch, filter, ...props }: ComboboxSimpleProps): React.JSX.Element;
|
|
36
|
+
|
|
37
|
+
export { ComboboxSimple, type ComboboxSimpleItem, type ComboboxSimpleProps };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ComboboxProps, ComboboxPortal, ComboboxInfiniteScroll } from '../ui/combobox.js';
|
|
3
|
+
import '../primitives/combobox.js';
|
|
4
|
+
import '@base-ui/react/combobox';
|
|
5
|
+
import 'motion/react';
|
|
6
|
+
import '../effects/highlight.js';
|
|
7
|
+
import '../ui/infinite-scroll.js';
|
|
8
|
+
import '../ui/input.js';
|
|
9
|
+
import 'class-variance-authority/types';
|
|
10
|
+
import 'class-variance-authority';
|
|
11
|
+
import '../ui/avatar.js';
|
|
12
|
+
import '../primitives/avatar.js';
|
|
13
|
+
import '@base-ui/react/avatar';
|
|
14
|
+
|
|
15
|
+
type FilterComboboxItem = {
|
|
16
|
+
label: string;
|
|
17
|
+
value: string;
|
|
18
|
+
};
|
|
19
|
+
type BaseProps = {
|
|
20
|
+
items: FilterComboboxItem[] | undefined;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
icon?: React.ReactNode;
|
|
23
|
+
container?: React.ComponentProps<typeof ComboboxPortal>["container"];
|
|
24
|
+
isPending?: boolean;
|
|
25
|
+
className?: string;
|
|
26
|
+
triggerClassName?: string;
|
|
27
|
+
contentClassName?: string;
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
infiniteScroll?: React.ComponentProps<typeof ComboboxInfiniteScroll>;
|
|
30
|
+
showTitle?: boolean;
|
|
31
|
+
showSearch?: boolean;
|
|
32
|
+
};
|
|
33
|
+
type FilterComboboxProps<Value, Multiple extends boolean | undefined = false> = ComboboxProps<Value, Multiple> & BaseProps;
|
|
34
|
+
declare function FilterCombobox<Value extends FilterComboboxItem, Multiple extends boolean | undefined = false>({ multiple, items, placeholder, icon, container, isPending, className, triggerClassName, contentClassName, disabled, infiniteScroll, filter, ...props }: FilterComboboxProps<Value, Multiple>): React.JSX.Element;
|
|
35
|
+
|
|
36
|
+
export { FilterCombobox, type FilterComboboxItem, type FilterComboboxProps };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export { ComboboxChipOutside } from './combobox-chip-outside.js';
|
|
2
|
+
export { ComboboxChip } from './combobox-chip.js';
|
|
3
|
+
export { ComboboxSimple, ComboboxSimpleItem, ComboboxSimpleProps } from './combobox-simple.js';
|
|
4
|
+
export { PhoneInput } from './phone-input.js';
|
|
5
|
+
export { FilterCombobox, FilterComboboxItem, FilterComboboxProps } from './filter-combobox.js';
|
|
6
|
+
import * as React from 'react';
|
|
7
|
+
import { Input } from '../ui/input.js';
|
|
8
|
+
export { ProfileAvatar, ProfileAvatarStatus, ProfileAvatarVariant } from './profile-avatar.js';
|
|
9
|
+
import '../ui/combobox.js';
|
|
10
|
+
import '../primitives/combobox.js';
|
|
11
|
+
import '@base-ui/react/combobox';
|
|
12
|
+
import 'motion/react';
|
|
13
|
+
import '../effects/highlight.js';
|
|
14
|
+
import '../ui/infinite-scroll.js';
|
|
15
|
+
import '../ui/avatar.js';
|
|
16
|
+
import 'class-variance-authority/types';
|
|
17
|
+
import 'class-variance-authority';
|
|
18
|
+
import '../primitives/avatar.js';
|
|
19
|
+
import '@base-ui/react/avatar';
|
|
20
|
+
import 'react-phone-number-input';
|
|
21
|
+
|
|
22
|
+
interface FilterSearchProps extends Omit<React.ComponentProps<typeof Input>, "value" | "defaultValue" | "onChange" | "size"> {
|
|
23
|
+
value?: string;
|
|
24
|
+
defaultValue?: string;
|
|
25
|
+
onValueChange?: (value: string) => void;
|
|
26
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
27
|
+
onClear?: () => void;
|
|
28
|
+
icon?: React.ReactNode;
|
|
29
|
+
}
|
|
30
|
+
declare function FilterSearch({ className, value: valueProp, defaultValue, onValueChange, onChange, onClear, icon, disabled, ...props }: FilterSearchProps): React.JSX.Element;
|
|
31
|
+
|
|
32
|
+
type FilterSortOption = {
|
|
33
|
+
content?: React.ReactNode;
|
|
34
|
+
label?: string;
|
|
35
|
+
value: string;
|
|
36
|
+
};
|
|
37
|
+
type FilterSortProps = {
|
|
38
|
+
options: FilterSortOption[];
|
|
39
|
+
value?: FilterSortOption | string | null;
|
|
40
|
+
defaultValue?: FilterSortOption | string | null;
|
|
41
|
+
onValueChange?: (value: FilterSortOption | null) => void;
|
|
42
|
+
showLabel?: boolean;
|
|
43
|
+
label?: string;
|
|
44
|
+
className?: string;
|
|
45
|
+
triggerClassName?: string;
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
};
|
|
48
|
+
declare function FilterSort({ options, value, defaultValue, onValueChange, showLabel, label, className, triggerClassName, disabled, }: FilterSortProps): React.JSX.Element;
|
|
49
|
+
|
|
50
|
+
export { FilterSearch, type FilterSearchProps, FilterSort, type FilterSortOption, type FilterSortProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as RPNInput from 'react-phone-number-input';
|
|
3
|
+
import { inputVariants } from '../ui/input.js';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import 'class-variance-authority/types';
|
|
6
|
+
|
|
7
|
+
type PhoneInputSize = VariantProps<typeof inputVariants>["size"];
|
|
8
|
+
type PhoneInputProps = Omit<React.ComponentProps<"input">, "onChange" | "value" | "ref" | "size"> & Omit<RPNInput.Props<typeof RPNInput.default>, "onChange" | "size"> & {
|
|
9
|
+
onChange?: (value: RPNInput.Value) => void;
|
|
10
|
+
size?: PhoneInputSize;
|
|
11
|
+
};
|
|
12
|
+
declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps>;
|
|
13
|
+
|
|
14
|
+
export { PhoneInput, type PhoneInputProps };
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
type ProfileAvatarStatus = "open-to-all" | "open-to-work" | "open-to-freelance" | "open-to-coach" | undefined;
|
|
6
|
+
type ProfileAvatarVariant = "profile" | "company" | "university" | "group";
|
|
7
|
+
declare const profileAvatarVariants: (props?: ({
|
|
8
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
declare function ProfileAvatar({ avatarClassName, badgeClassName, imageSrc, avatarImageClassName, imageAlt, className, status, size, isVerified, onEdit, onClickAvatar, variant, isOnline, companyLogoSrc, bordered, badged, fallbackText, ...props }: React.ComponentProps<"div"> & {
|
|
11
|
+
avatarClassName?: string;
|
|
12
|
+
badgeClassName?: string;
|
|
13
|
+
imageSrc?: string | Blob;
|
|
14
|
+
imageAlt?: string;
|
|
15
|
+
isVerified?: boolean;
|
|
16
|
+
avatarImageClassName?: string;
|
|
17
|
+
size?: VariantProps<typeof profileAvatarVariants>["size"];
|
|
18
|
+
status?: ProfileAvatarStatus;
|
|
19
|
+
onEdit?: () => void;
|
|
20
|
+
onClickAvatar?: () => void;
|
|
21
|
+
variant?: ProfileAvatarVariant;
|
|
22
|
+
isOnline?: boolean;
|
|
23
|
+
companyLogoSrc?: string | Blob;
|
|
24
|
+
bordered?: boolean;
|
|
25
|
+
badged?: boolean;
|
|
26
|
+
fallbackText?: string;
|
|
27
|
+
}): React.JSX.Element;
|
|
28
|
+
|
|
29
|
+
export { ProfileAvatar, type ProfileAvatarStatus, type ProfileAvatarVariant };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TargetAndTransition, LegacyAnimationControls, Transition, HTMLMotionProps } from 'motion/react';
|
|
3
|
+
import { WithAsChild } from '../primitives/slot.js';
|
|
4
|
+
|
|
5
|
+
type AutoHeightProps = WithAsChild<{
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
deps?: React.DependencyList;
|
|
8
|
+
animate?: TargetAndTransition | LegacyAnimationControls;
|
|
9
|
+
transition?: Transition;
|
|
10
|
+
} & Omit<HTMLMotionProps<"div">, "animate">>;
|
|
11
|
+
declare function AutoHeight({ children, deps, transition, style, animate, asChild, ...props }: AutoHeightProps): React.JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { AutoHeight, type AutoHeightProps };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Transition } from 'motion/react';
|
|
3
|
+
|
|
4
|
+
type HighlightMode = 'children' | 'parent';
|
|
5
|
+
type Bounds = {
|
|
6
|
+
top: number;
|
|
7
|
+
left: number;
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
};
|
|
11
|
+
type HighlightContextType<T extends string> = {
|
|
12
|
+
as?: keyof HTMLElementTagNameMap;
|
|
13
|
+
mode: HighlightMode;
|
|
14
|
+
activeValue: T | null;
|
|
15
|
+
setActiveValue: (value: T | null) => void;
|
|
16
|
+
setBounds: (bounds: DOMRect) => void;
|
|
17
|
+
clearBounds: () => void;
|
|
18
|
+
id: string;
|
|
19
|
+
hover: boolean;
|
|
20
|
+
click: boolean;
|
|
21
|
+
className?: string;
|
|
22
|
+
style?: React.CSSProperties;
|
|
23
|
+
activeClassName?: string;
|
|
24
|
+
setActiveClassName: (className: string) => void;
|
|
25
|
+
transition?: Transition;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
enabled?: boolean;
|
|
28
|
+
exitDelay?: number;
|
|
29
|
+
forceUpdateBounds?: boolean;
|
|
30
|
+
};
|
|
31
|
+
declare function useHighlight<T extends string>(): HighlightContextType<T>;
|
|
32
|
+
type BaseHighlightProps<T extends React.ElementType = 'div'> = {
|
|
33
|
+
as?: T;
|
|
34
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
35
|
+
mode?: HighlightMode;
|
|
36
|
+
value?: string | null;
|
|
37
|
+
defaultValue?: string | null;
|
|
38
|
+
onValueChange?: (value: string | null) => void;
|
|
39
|
+
className?: string;
|
|
40
|
+
style?: React.CSSProperties;
|
|
41
|
+
transition?: Transition;
|
|
42
|
+
hover?: boolean;
|
|
43
|
+
click?: boolean;
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
enabled?: boolean;
|
|
46
|
+
exitDelay?: number;
|
|
47
|
+
};
|
|
48
|
+
type ParentModeHighlightProps = {
|
|
49
|
+
boundsOffset?: Partial<Bounds>;
|
|
50
|
+
containerClassName?: string;
|
|
51
|
+
forceUpdateBounds?: boolean;
|
|
52
|
+
};
|
|
53
|
+
type ControlledParentModeHighlightProps<T extends React.ElementType = 'div'> = BaseHighlightProps<T> & ParentModeHighlightProps & {
|
|
54
|
+
mode: 'parent';
|
|
55
|
+
controlledItems: true;
|
|
56
|
+
children: React.ReactNode;
|
|
57
|
+
};
|
|
58
|
+
type ControlledChildrenModeHighlightProps<T extends React.ElementType = 'div'> = BaseHighlightProps<T> & {
|
|
59
|
+
mode?: 'children' | undefined;
|
|
60
|
+
controlledItems: true;
|
|
61
|
+
children: React.ReactNode;
|
|
62
|
+
};
|
|
63
|
+
type UncontrolledParentModeHighlightProps<T extends React.ElementType = 'div'> = BaseHighlightProps<T> & ParentModeHighlightProps & {
|
|
64
|
+
mode: 'parent';
|
|
65
|
+
controlledItems?: false;
|
|
66
|
+
itemsClassName?: string;
|
|
67
|
+
children: React.ReactElement | React.ReactElement[];
|
|
68
|
+
};
|
|
69
|
+
type UncontrolledChildrenModeHighlightProps<T extends React.ElementType = 'div'> = BaseHighlightProps<T> & {
|
|
70
|
+
mode?: 'children';
|
|
71
|
+
controlledItems?: false;
|
|
72
|
+
itemsClassName?: string;
|
|
73
|
+
children: React.ReactElement | React.ReactElement[];
|
|
74
|
+
};
|
|
75
|
+
type HighlightProps<T extends React.ElementType = 'div'> = ControlledParentModeHighlightProps<T> | ControlledChildrenModeHighlightProps<T> | UncontrolledParentModeHighlightProps<T> | UncontrolledChildrenModeHighlightProps<T>;
|
|
76
|
+
declare function Highlight<T extends React.ElementType = 'div'>({ ref, ...props }: HighlightProps<T>): React.JSX.Element;
|
|
77
|
+
type HighlightItemProps<T extends React.ElementType = 'div'> = React.ComponentProps<T> & {
|
|
78
|
+
as?: T;
|
|
79
|
+
children: React.ReactElement;
|
|
80
|
+
id?: string;
|
|
81
|
+
value?: string;
|
|
82
|
+
className?: string;
|
|
83
|
+
style?: React.CSSProperties;
|
|
84
|
+
transition?: Transition;
|
|
85
|
+
activeClassName?: string;
|
|
86
|
+
disabled?: boolean;
|
|
87
|
+
exitDelay?: number;
|
|
88
|
+
asChild?: boolean;
|
|
89
|
+
forceUpdateBounds?: boolean;
|
|
90
|
+
};
|
|
91
|
+
declare function HighlightItem<T extends React.ElementType>({ ref, as, children, id, value, className, style, transition, disabled, activeClassName, exitDelay, asChild, forceUpdateBounds, ...props }: HighlightItemProps<T>): any;
|
|
92
|
+
|
|
93
|
+
export { Highlight, HighlightItem, type HighlightItemProps, type HighlightProps, useHighlight };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { FieldValues, FieldPath, UseControllerProps } from 'react-hook-form';
|
|
3
|
+
import { inputVariants, Input } from '../ui/input.js';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import 'class-variance-authority/types';
|
|
6
|
+
|
|
7
|
+
type FormInputProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = {
|
|
8
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
9
|
+
label?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
type?: React.HTMLInputTypeAttribute;
|
|
13
|
+
className?: string;
|
|
14
|
+
classNameInput?: string;
|
|
15
|
+
size?: VariantProps<typeof inputVariants>["size"];
|
|
16
|
+
} & UseControllerProps<TFieldValues, TName> & Omit<React.ComponentProps<typeof Input>, "size">;
|
|
17
|
+
declare function FormInput<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({ inputRef, name, label, control, description, size, type, variant, startContent, endContent, className, classNameInput, placeholder, disabled, }: FormInputProps<TFieldValues, TName>): React.JSX.Element;
|
|
18
|
+
|
|
19
|
+
export { FormInput, type FormInputProps };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { FieldValues, FieldPath, UseControllerProps, ControllerRenderProps } from 'react-hook-form';
|
|
3
|
+
import { textareaVariants, Textarea } from '../ui/textarea.js';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import 'class-variance-authority/types';
|
|
6
|
+
|
|
7
|
+
type FormTextareaProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = {
|
|
8
|
+
label?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
type?: React.HTMLInputTypeAttribute;
|
|
12
|
+
className?: string;
|
|
13
|
+
classNameTextarea?: string;
|
|
14
|
+
size?: VariantProps<typeof textareaVariants>["size"];
|
|
15
|
+
} & Pick<UseControllerProps<TFieldValues, TName>, "name" | "control" | "rules"> & Omit<React.ComponentProps<typeof Textarea>, keyof ControllerRenderProps | "size">;
|
|
16
|
+
declare function FormTextarea<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({ name, label, control, rules, description, size, className, classNameTextarea, ...props }: FormTextareaProps<TFieldValues, TName>): React.JSX.Element;
|
|
17
|
+
|
|
18
|
+
export { FormTextarea, type FormTextareaProps };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as react_hook_form from 'react-hook-form';
|
|
3
|
+
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
6
|
+
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
import { Label } from '../ui/label.js';
|
|
8
|
+
import '@radix-ui/react-label';
|
|
9
|
+
|
|
10
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, resetDefaultValues, handleSubmit, unregister, control, register, setFocus, subscribe, }: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
11
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React.JSX.Element;
|
|
12
|
+
declare const useFormField: () => {
|
|
13
|
+
invalid: boolean;
|
|
14
|
+
isDirty: boolean;
|
|
15
|
+
isTouched: boolean;
|
|
16
|
+
isValidating: boolean;
|
|
17
|
+
error?: react_hook_form.FieldError;
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
formItemId: string;
|
|
21
|
+
formDescriptionId: string;
|
|
22
|
+
formMessageId: string;
|
|
23
|
+
} | {
|
|
24
|
+
error: undefined;
|
|
25
|
+
invalid: boolean;
|
|
26
|
+
isDirty: boolean;
|
|
27
|
+
isTouched: boolean;
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
formItemId: string;
|
|
31
|
+
formDescriptionId: string;
|
|
32
|
+
formMessageId: string;
|
|
33
|
+
};
|
|
34
|
+
declare function FormItem({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
35
|
+
declare function FormLabel({ className, size, ...props }: React.ComponentProps<typeof Label>): React.JSX.Element;
|
|
36
|
+
declare function FormControl({ ...props }: React.ComponentProps<typeof Slot>): React.JSX.Element;
|
|
37
|
+
declare const formInformationVariants: (props?: ({
|
|
38
|
+
color?: "default" | "danger" | null | undefined;
|
|
39
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "3xs" | "2xs" | null | undefined;
|
|
40
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
41
|
+
declare function FormDescription({ className, size, ...props }: React.ComponentProps<"p"> & VariantProps<typeof formInformationVariants>): React.JSX.Element | null;
|
|
42
|
+
declare function FormMessage({ className, size, ...props }: React.ComponentProps<"p"> & VariantProps<typeof formInformationVariants>): React.JSX.Element | null;
|
|
43
|
+
|
|
44
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './form.js';
|
|
2
|
+
export { FormInput, FormInputProps } from './form-input.js';
|
|
3
|
+
export { FormTextarea, FormTextareaProps } from './form-textarea.js';
|
|
4
|
+
import 'class-variance-authority/types';
|
|
5
|
+
import 'react-hook-form';
|
|
6
|
+
import 'react';
|
|
7
|
+
import '@radix-ui/react-slot';
|
|
8
|
+
import 'class-variance-authority';
|
|
9
|
+
import '../ui/label.js';
|
|
10
|
+
import '@radix-ui/react-label';
|
|
11
|
+
import '../ui/input.js';
|
|
12
|
+
import '../ui/textarea.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { I as IconProps } from '../types-BLgXHroz.js';
|
|
3
|
+
|
|
4
|
+
declare function AcademicCapDualToneIcon({ color, size, strokeWidth, absoluteStrokeWidth, ...props }: IconProps): React.JSX.Element;
|
|
5
|
+
|
|
6
|
+
export { AcademicCapDualToneIcon as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { I as IconProps } from '../types-BLgXHroz.js';
|
|
3
|
+
|
|
4
|
+
declare function ActivityOnTabProfileIcon({ color, size, strokeWidth, absoluteStrokeWidth, ...props }: IconProps): React.JSX.Element;
|
|
5
|
+
|
|
6
|
+
export { ActivityOnTabProfileIcon as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { I as IconProps } from '../types-BLgXHroz.js';
|
|
3
|
+
|
|
4
|
+
declare function ApplicationStatusIcon({ color, size, strokeWidth, absoluteStrokeWidth, ...props }: IconProps): React.JSX.Element;
|
|
5
|
+
|
|
6
|
+
export { ApplicationStatusIcon as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { I as IconProps } from '../types-BLgXHroz.js';
|
|
3
|
+
|
|
4
|
+
declare function ArrowGoToLocationIcon({ color, size, strokeWidth, absoluteStrokeWidth, ...props }: IconProps): React.JSX.Element;
|
|
5
|
+
|
|
6
|
+
export { ArrowGoToLocationIcon as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { I as IconProps } from '../types-BLgXHroz.js';
|
|
3
|
+
|
|
4
|
+
declare function BriefMinimalisticDualToneIcon({ color, size, strokeWidth, absoluteStrokeWidth, ...props }: IconProps): React.JSX.Element;
|
|
5
|
+
|
|
6
|
+
export { BriefMinimalisticDualToneIcon as default };
|