@temp-spotwork/ui 1.4.3
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/README.md +30 -0
- package/dist/Combination-BkpbjcWz.js +672 -0
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/addYears-D3POA9ql.js +7 -0
- package/dist/bundle-mjs-CAy1p0fn.js +2261 -0
- package/dist/card-Cc2Qkiqr.js +41 -0
- package/dist/components/atoms/avatar/Avatar.stories.d.ts +7 -0
- package/dist/components/atoms/avatar/Avatar.stories.js +22 -0
- package/dist/components/atoms/avatar/avatar.d.ts +39 -0
- package/dist/components/atoms/avatar/avatar.js +76 -0
- package/dist/components/atoms/avatar/index.d.ts +2 -0
- package/dist/components/atoms/avatar/index.js +4 -0
- package/dist/components/atoms/avatar/statusIndicatorIcon.d.ts +3 -0
- package/dist/components/atoms/avatar/statusIndicatorIcon.js +33 -0
- package/dist/components/atoms/avatar/styles.d.ts +14 -0
- package/dist/components/atoms/avatar/styles.js +47 -0
- package/dist/components/atoms/badge/badge.d.ts +25 -0
- package/dist/components/atoms/badge/badge.js +38 -0
- package/dist/components/atoms/badge/badge.stories.d.ts +7 -0
- package/dist/components/atoms/badge/badge.stories.js +23 -0
- package/dist/components/atoms/badge/index.d.ts +2 -0
- package/dist/components/atoms/badge/index.js +4 -0
- package/dist/components/atoms/card/card.d.ts +8 -0
- package/dist/components/atoms/card/card.js +12 -0
- package/dist/components/atoms/card/card.stories.d.ts +13 -0
- package/dist/components/atoms/card/card.stories.js +86 -0
- package/dist/components/atoms/card/index.d.ts +1 -0
- package/dist/components/atoms/card/index.js +4 -0
- package/dist/components/atoms/card-content/label-value-pair/index.d.ts +2 -0
- package/dist/components/atoms/card-content/label-value-pair/index.js +4 -0
- package/dist/components/atoms/card-content/label-value-pair/label-value-pair.d.ts +30 -0
- package/dist/components/atoms/card-content/label-value-pair/label-value-pair.js +22 -0
- package/dist/components/atoms/card-content/label-value-pair/label-value-pair.stories.d.ts +7 -0
- package/dist/components/atoms/card-content/label-value-pair/label-value-pair.stories.js +22 -0
- package/dist/components/atoms/card-content/label-value-pair/styles.d.ts +1 -0
- package/dist/components/atoms/card-content/label-value-pair/styles.js +4 -0
- package/dist/components/atoms/card-content/note/index.d.ts +2 -0
- package/dist/components/atoms/card-content/note/index.js +4 -0
- package/dist/components/atoms/card-content/note/note.d.ts +33 -0
- package/dist/components/atoms/card-content/note/note.js +30 -0
- package/dist/components/atoms/conversation/chatheader/chatheader.d.ts +11 -0
- package/dist/components/atoms/conversation/chatheader/chatheader.js +91 -0
- package/dist/components/atoms/conversation/chatheader/index.d.ts +2 -0
- package/dist/components/atoms/conversation/chatheader/index.js +4 -0
- package/dist/components/atoms/conversation/chatheader/styles.d.ts +4 -0
- package/dist/components/atoms/conversation/chatheader/styles.js +7 -0
- package/dist/components/atoms/daybubble/recurrence-day/RecurrenceDay.stories.d.ts +7 -0
- package/dist/components/atoms/daybubble/recurrence-day/RecurrenceDay.stories.js +20 -0
- package/dist/components/atoms/daybubble/recurrence-day/index.d.ts +2 -0
- package/dist/components/atoms/daybubble/recurrence-day/index.js +4 -0
- package/dist/components/atoms/daybubble/recurrence-day/recurrence-day.d.ts +27 -0
- package/dist/components/atoms/daybubble/recurrence-day/recurrence-day.js +86 -0
- package/dist/components/atoms/form/calendar/calendar-date-cell.d.ts +68 -0
- package/dist/components/atoms/form/calendar/calendar-date-cell.js +82 -0
- package/dist/components/atoms/form/calendar/calendar-month.d.ts +57 -0
- package/dist/components/atoms/form/calendar/calendar-month.js +148 -0
- package/dist/components/atoms/form/calendar/calendar-utils.d.ts +43 -0
- package/dist/components/atoms/form/calendar/calendar-utils.js +11 -0
- package/dist/components/atoms/form/calendar/calendar.d.ts +20 -0
- package/dist/components/atoms/form/calendar/calendar.js +106 -0
- package/dist/components/atoms/form/calendar/calendar.stories.d.ts +14 -0
- package/dist/components/atoms/form/calendar/calendar.stories.js +215 -0
- package/dist/components/atoms/form/calendar/index.d.ts +2 -0
- package/dist/components/atoms/form/calendar/index.js +4 -0
- package/dist/components/atoms/form/calendar/month-header.d.ts +13 -0
- package/dist/components/atoms/form/calendar/month-header.js +19 -0
- package/dist/components/atoms/form/calendar/sticky-button.d.ts +24 -0
- package/dist/components/atoms/form/calendar/sticky-button.js +24 -0
- package/dist/components/atoms/form/calendar/types.d.ts +50 -0
- package/dist/components/atoms/form/calendar/types.js +1 -0
- package/dist/components/atoms/form/checkbox/checkbox.d.ts +37 -0
- package/dist/components/atoms/form/checkbox/checkbox.js +67 -0
- package/dist/components/atoms/form/checkbox/index.d.ts +2 -0
- package/dist/components/atoms/form/checkbox/index.js +4 -0
- package/dist/components/atoms/form/chips/chips.d.ts +46 -0
- package/dist/components/atoms/form/chips/chips.js +177 -0
- package/dist/components/atoms/form/chips/chips.stories.d.ts +7 -0
- package/dist/components/atoms/form/chips/chips.stories.js +24 -0
- package/dist/components/atoms/form/chips/index.d.ts +2 -0
- package/dist/components/atoms/form/chips/index.js +4 -0
- package/dist/components/atoms/form/chips/styles.d.ts +77 -0
- package/dist/components/atoms/form/chips/styles.js +55 -0
- package/dist/components/atoms/form/dateselect/date-calendar.d.ts +34 -0
- package/dist/components/atoms/form/dateselect/date-calendar.js +85 -0
- package/dist/components/atoms/form/dateselect/date-dropdown-header.d.ts +21 -0
- package/dist/components/atoms/form/dateselect/date-dropdown-header.js +46 -0
- package/dist/components/atoms/form/dateselect/date-dropdown.d.ts +70 -0
- package/dist/components/atoms/form/dateselect/date-dropdown.js +92 -0
- package/dist/components/atoms/form/dateselect/date-input.d.ts +59 -0
- package/dist/components/atoms/form/dateselect/date-input.js +3240 -0
- package/dist/components/atoms/form/dateselect/date-month-year-switch.d.ts +38 -0
- package/dist/components/atoms/form/dateselect/date-month-year-switch.js +67 -0
- package/dist/components/atoms/form/dateselect/dateselect.d.ts +62 -0
- package/dist/components/atoms/form/dateselect/dateselect.js +164 -0
- package/dist/components/atoms/form/dateselect/helpers.d.ts +36 -0
- package/dist/components/atoms/form/dateselect/helpers.js +83 -0
- package/dist/components/atoms/form/dateselect/index.d.ts +2 -0
- package/dist/components/atoms/form/dateselect/index.js +4 -0
- package/dist/components/atoms/form/dateselect/month-switch.d.ts +10 -0
- package/dist/components/atoms/form/dateselect/month-switch.js +135 -0
- package/dist/components/atoms/form/dateselect/styles.d.ts +10 -0
- package/dist/components/atoms/form/dateselect/styles.js +14 -0
- package/dist/components/atoms/form/dateselect/year-switch.d.ts +8 -0
- package/dist/components/atoms/form/dateselect/year-switch.js +134 -0
- package/dist/components/atoms/form/dropdown/dropdown.d.ts +65 -0
- package/dist/components/atoms/form/dropdown/dropdown.js +182 -0
- package/dist/components/atoms/form/dropdown/index.d.ts +2 -0
- package/dist/components/atoms/form/dropdown/index.js +4 -0
- package/dist/components/atoms/form/dropdown/styles.d.ts +13 -0
- package/dist/components/atoms/form/dropdown/styles.js +20 -0
- package/dist/components/atoms/form/dropdown-search/dropdown-search.d.ts +93 -0
- package/dist/components/atoms/form/dropdown-search/dropdown-search.js +197 -0
- package/dist/components/atoms/form/dropdown-search/dropdown-search.stories.d.ts +24 -0
- package/dist/components/atoms/form/dropdown-search/dropdown-search.stories.js +362 -0
- package/dist/components/atoms/form/dropdown-search/index.d.ts +2 -0
- package/dist/components/atoms/form/dropdown-search/index.js +4 -0
- package/dist/components/atoms/form/form-helper-text/form-helper-text.d.ts +22 -0
- package/dist/components/atoms/form/form-helper-text/form-helper-text.js +13 -0
- package/dist/components/atoms/form/form-helper-text/index.d.ts +1 -0
- package/dist/components/atoms/form/form-helper-text/index.js +4 -0
- package/dist/components/atoms/form/form-types.d.ts +4 -0
- package/dist/components/atoms/form/form-types.js +1 -0
- package/dist/components/atoms/form/multiselect/index.d.ts +2 -0
- package/dist/components/atoms/form/multiselect/index.js +4 -0
- package/dist/components/atoms/form/multiselect/multiselect.d.ts +63 -0
- package/dist/components/atoms/form/multiselect/multiselect.js +109 -0
- package/dist/components/atoms/form/navigation/index.d.ts +2 -0
- package/dist/components/atoms/form/navigation/index.js +4 -0
- package/dist/components/atoms/form/navigation/navigation.d.ts +19 -0
- package/dist/components/atoms/form/navigation/navigation.js +35 -0
- package/dist/components/atoms/form/navigation/styles.d.ts +5 -0
- package/dist/components/atoms/form/navigation/styles.js +8 -0
- package/dist/components/atoms/form/radiobutton/index.d.ts +2 -0
- package/dist/components/atoms/form/radiobutton/index.js +4 -0
- package/dist/components/atoms/form/radiobutton/radiobutton.d.ts +41 -0
- package/dist/components/atoms/form/radiobutton/radiobutton.js +82 -0
- package/dist/components/atoms/form/recurrence-week/RecurrenceWeek.stories.d.ts +7 -0
- package/dist/components/atoms/form/recurrence-week/RecurrenceWeek.stories.js +37 -0
- package/dist/components/atoms/form/recurrence-week/index.d.ts +2 -0
- package/dist/components/atoms/form/recurrence-week/index.js +4 -0
- package/dist/components/atoms/form/recurrence-week/recurrence-week.d.ts +32 -0
- package/dist/components/atoms/form/recurrence-week/recurrence-week.js +34 -0
- package/dist/components/atoms/form/stepper/Stepper.stories.d.ts +7 -0
- package/dist/components/atoms/form/stepper/Stepper.stories.js +30 -0
- package/dist/components/atoms/form/stepper/index.d.ts +2 -0
- package/dist/components/atoms/form/stepper/index.js +4 -0
- package/dist/components/atoms/form/stepper/stepper.d.ts +50 -0
- package/dist/components/atoms/form/stepper/stepper.js +156 -0
- package/dist/components/atoms/form/stepper/styles.d.ts +3 -0
- package/dist/components/atoms/form/stepper/styles.js +6 -0
- package/dist/components/atoms/form/switch/index.d.ts +2 -0
- package/dist/components/atoms/form/switch/index.js +4 -0
- package/dist/components/atoms/form/switch/switch.d.ts +41 -0
- package/dist/components/atoms/form/switch/switch.js +184 -0
- package/dist/components/atoms/form/switch/switch.props.d.ts +26 -0
- package/dist/components/atoms/form/switch/switch.props.js +19 -0
- package/dist/components/atoms/form/textarea/Textarea.stories.d.ts +7 -0
- package/dist/components/atoms/form/textarea/Textarea.stories.js +22 -0
- package/dist/components/atoms/form/textarea/index.d.ts +2 -0
- package/dist/components/atoms/form/textarea/index.js +4 -0
- package/dist/components/atoms/form/textarea/styles.d.ts +6 -0
- package/dist/components/atoms/form/textarea/styles.js +9 -0
- package/dist/components/atoms/form/textarea/textarea.d.ts +53 -0
- package/dist/components/atoms/form/textarea/textarea.js +91 -0
- package/dist/components/atoms/form/textfield/index.d.ts +2 -0
- package/dist/components/atoms/form/textfield/index.js +4 -0
- package/dist/components/atoms/form/textfield/styles.d.ts +4 -0
- package/dist/components/atoms/form/textfield/styles.js +7 -0
- package/dist/components/atoms/form/textfield/textfield.d.ts +90 -0
- package/dist/components/atoms/form/textfield/textfield.js +144 -0
- package/dist/components/atoms/form/time-picker/index.d.ts +2 -0
- package/dist/components/atoms/form/time-picker/index.js +4 -0
- package/dist/components/atoms/form/time-picker/time-picker-dropdown.d.ts +77 -0
- package/dist/components/atoms/form/time-picker/time-picker-dropdown.js +193 -0
- package/dist/components/atoms/form/time-picker/time-picker-input.d.ts +107 -0
- package/dist/components/atoms/form/time-picker/time-picker-input.js +248 -0
- package/dist/components/atoms/form/time-picker/time-picker.d.ts +111 -0
- package/dist/components/atoms/form/time-picker/time-picker.js +126 -0
- package/dist/components/atoms/form/time-picker/time-picker.stories.d.ts +30 -0
- package/dist/components/atoms/form/time-picker/time-picker.stories.js +368 -0
- package/dist/components/atoms/form/timeselect/hours-switch.d.ts +21 -0
- package/dist/components/atoms/form/timeselect/hours-switch.js +88 -0
- package/dist/components/atoms/form/timeselect/index.d.ts +2 -0
- package/dist/components/atoms/form/timeselect/index.js +4 -0
- package/dist/components/atoms/form/timeselect/minutes-switch.d.ts +25 -0
- package/dist/components/atoms/form/timeselect/minutes-switch.js +88 -0
- package/dist/components/atoms/form/timeselect/styles.d.ts +13 -0
- package/dist/components/atoms/form/timeselect/styles.js +16 -0
- package/dist/components/atoms/form/timeselect/timeselect.d.ts +50 -0
- package/dist/components/atoms/form/timeselect/timeselect.js +220 -0
- package/dist/components/atoms/form/typeahead/index.d.ts +2 -0
- package/dist/components/atoms/form/typeahead/index.js +4 -0
- package/dist/components/atoms/form/typeahead/styles.d.ts +7 -0
- package/dist/components/atoms/form/typeahead/styles.js +11 -0
- package/dist/components/atoms/form/typeahead/typeahead.d.ts +83 -0
- package/dist/components/atoms/form/typeahead/typeahead.js +146 -0
- package/dist/components/atoms/form/utils-for-forms/state-functions.d.ts +6 -0
- package/dist/components/atoms/form/utils-for-forms/state-functions.js +8 -0
- package/dist/components/atoms/horizontal-border/horizontal-border.d.ts +21 -0
- package/dist/components/atoms/horizontal-border/horizontal-border.js +7 -0
- package/dist/components/atoms/horizontal-border/index.d.ts +1 -0
- package/dist/components/atoms/horizontal-border/index.js +4 -0
- package/dist/components/atoms/icons/iconMap.d.ts +313 -0
- package/dist/components/atoms/icons/iconMap.js +214 -0
- package/dist/components/atoms/icons/icons.d.ts +59 -0
- package/dist/components/atoms/icons/icons.js +78 -0
- package/dist/components/atoms/icons/icons.stories.d.ts +22 -0
- package/dist/components/atoms/icons/icons.stories.js +428 -0
- package/dist/components/atoms/icons/iconsSVGs/Countries/CAN.d.ts +2 -0
- package/dist/components/atoms/icons/iconsSVGs/Countries/CAN.js +12 -0
- package/dist/components/atoms/icons/iconsSVGs/Countries/USA.d.ts +2 -0
- package/dist/components/atoms/icons/iconsSVGs/Countries/USA.js +49 -0
- package/dist/components/atoms/icons/iconsSVGs/Countries/index.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Countries/index.js +6 -0
- package/dist/components/atoms/icons/iconsSVGs/ExtraLarge/EmptyTemplate.d.ts +2 -0
- package/dist/components/atoms/icons/iconsSVGs/ExtraLarge/EmptyTemplate.js +106 -0
- package/dist/components/atoms/icons/iconsSVGs/ExtraLarge/PostAShift.d.ts +2 -0
- package/dist/components/atoms/icons/iconsSVGs/ExtraLarge/PostAShift.js +112 -0
- package/dist/components/atoms/icons/iconsSVGs/ExtraLarge/index.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/ExtraLarge/index.js +6 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/AbnormalLastShift.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/AbnormalLastShift.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Add.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Add.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/AdvancedSearch.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/AdvancedSearch.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/ArrowLeft.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/ArrowLeft.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/ArrowRight.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/ArrowRight.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Ascending.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Ascending.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Attach.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Attach.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Bell.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Bell.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/BellUnread.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/BellUnread.js +26 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Building.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Building.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Calendar.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Calendar.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Cancellation.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Cancellation.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Chapters.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Chapters.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/CheckIn.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/CheckIn.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/ChevronDown.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/ChevronDown.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/ChevronLeft.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/ChevronLeft.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/ChevronRight.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/ChevronRight.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/ChevronUp.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/ChevronUp.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Clock.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Clock.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Contact.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Contact.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Copy.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Copy.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Cross.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Cross.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Descending.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Descending.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/DoubleTick.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/DoubleTick.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Duplicate.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Duplicate.js +24 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Edit.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Edit.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/EyeClose.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/EyeClose.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/EyeOpen.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/EyeOpen.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Feedback.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Feedback.js +25 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/File.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/File.js +12 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/FlaggedMessage.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/FlaggedMessage.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/HamburgerMenu.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/HamburgerMenu.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Jobs.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Jobs.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/KebabMenu.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/KebabMenu.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/LocationDisabled.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/LocationDisabled.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/MagnifyingGlass.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/MagnifyingGlass.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Maximize.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Maximize.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Maximize1.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Maximize1.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Minimize.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Minimize.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/NewSpotter.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/NewSpotter.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/OpenSeparately.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/OpenSeparately.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/PlaceholderIcon.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/PlaceholderIcon.js +16 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Profile.d.ts +6 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Profile.js +24 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Restore.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Restore.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Send.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Send.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Settings.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Settings.js +33 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Shifts.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Shifts.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Sidepeak.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Sidepeak.js +5 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Sort.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Sort.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Subtract.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Subtract.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Summary.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Summary.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Support.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Support.js +24 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/SwitchToClassic.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/SwitchToClassic.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Tick.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Tick.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Timer.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Timer.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Trash.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Trash.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Undo.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Undo.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Verification.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/Verification.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/index.d.ts +60 -0
- package/dist/components/atoms/icons/iconsSVGs/Large/index.js +118 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Add.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Add.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Alert.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Alert.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ArrowRight.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ArrowRight.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ArrowUp.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ArrowUp.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Ascending.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Ascending.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Calendar.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Calendar.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CaretDown.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CaretDown.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CaretRight.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CaretRight.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CheckIn.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CheckIn.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CheckInCircle.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CheckInCircle.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CheckOut.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CheckOut.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CheckedIn.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CheckedIn.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CheckedOut.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CheckedOut.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ChevronDown.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ChevronDown.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ChevronLeft.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ChevronLeft.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ChevronRight.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ChevronRight.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ChevronUp.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ChevronUp.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Collapse.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Collapse.js +22 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Copy.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Copy.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Cross.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Cross.js +21 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CrossInCircle.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/CrossInCircle.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Descending.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Descending.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/DistanceSmall.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/DistanceSmall.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Empty.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Empty.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Expand.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Expand.js +22 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Incomplete.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Incomplete.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Info.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Info.js +13 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/KebabMenu.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/KebabMenu.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/LocationPin.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/LocationPin.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/MagnifyingGlass.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/MagnifyingGlass.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Notes.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Notes.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/OpenSeparately.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/OpenSeparately.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/PlaceholderIcon.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/PlaceholderIcon.js +16 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Profile.d.ts +6 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Profile.js +24 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ReadStatus.d.ts +8 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/ReadStatus.js +37 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Shield.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Shield.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/SidepeakSmall.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/SidepeakSmall.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Sort.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Sort.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Success.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Success.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Tick.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Tick.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/UnsavedChanges.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/UnsavedChanges.js +32 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Upload.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Upload.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Waiting.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Waiting.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Warning.d.ts +4 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/Warning.js +23 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/index.d.ts +46 -0
- package/dist/components/atoms/icons/iconsSVGs/Small/index.js +90 -0
- package/dist/components/atoms/icons/index.d.ts +4 -0
- package/dist/components/atoms/icons/index.js +6 -0
- package/dist/components/atoms/icons/styles.d.ts +3 -0
- package/dist/components/atoms/icons/styles.js +6 -0
- package/dist/components/atoms/message/index.d.ts +2 -0
- package/dist/components/atoms/message/index.js +4 -0
- package/dist/components/atoms/message/message.d.ts +37 -0
- package/dist/components/atoms/message/message.js +60 -0
- package/dist/components/atoms/message/message.stories.d.ts +7 -0
- package/dist/components/atoms/message/message.stories.js +20 -0
- package/dist/components/atoms/message/styles.d.ts +15 -0
- package/dist/components/atoms/message/styles.js +20 -0
- package/dist/components/atoms/navigation/navigation-item/index.d.ts +2 -0
- package/dist/components/atoms/navigation/navigation-item/index.js +4 -0
- package/dist/components/atoms/navigation/navigation-item/navigation-item.d.ts +29 -0
- package/dist/components/atoms/navigation/navigation-item/navigation-item.js +64 -0
- package/dist/components/atoms/navigation/navigation-item/styles.d.ts +2 -0
- package/dist/components/atoms/navigation/navigation-item/styles.js +5 -0
- package/dist/components/atoms/small-large-text/index.d.ts +1 -0
- package/dist/components/atoms/small-large-text/index.js +4 -0
- package/dist/components/atoms/small-large-text/small-large-text.d.ts +17 -0
- package/dist/components/atoms/small-large-text/small-large-text.js +35 -0
- package/dist/components/atoms/tab/Tab.stories.d.ts +7 -0
- package/dist/components/atoms/tab/Tab.stories.js +20 -0
- package/dist/components/atoms/tab/index.d.ts +2 -0
- package/dist/components/atoms/tab/index.js +4 -0
- package/dist/components/atoms/tab/styles.d.ts +4 -0
- package/dist/components/atoms/tab/styles.js +7 -0
- package/dist/components/atoms/tab/tab.d.ts +34 -0
- package/dist/components/atoms/tab/tab.js +44 -0
- package/dist/components/atoms/tooltip/index.d.ts +1 -0
- package/dist/components/atoms/tooltip/index.js +4 -0
- package/dist/components/atoms/tooltip/tooltip.d.ts +54 -0
- package/dist/components/atoms/tooltip/tooltip.js +38 -0
- package/dist/components/atoms/tooltip/tooltip.stories.d.ts +18 -0
- package/dist/components/atoms/tooltip/tooltip.stories.js +150 -0
- package/dist/components/molecules/alert/alert.d.ts +24 -0
- package/dist/components/molecules/alert/alert.js +78 -0
- package/dist/components/molecules/alert/index.d.ts +1 -0
- package/dist/components/molecules/alert/index.js +4 -0
- package/dist/components/molecules/button/Button.stories.d.ts +7 -0
- package/dist/components/molecules/button/Button.stories.js +20 -0
- package/dist/components/molecules/button/button.d.ts +53 -0
- package/dist/components/molecules/button/button.js +91 -0
- package/dist/components/molecules/button/index.d.ts +2 -0
- package/dist/components/molecules/button/index.js +4 -0
- package/dist/components/molecules/button/loading-spinner.d.ts +7 -0
- package/dist/components/molecules/button/loading-spinner.js +44 -0
- package/dist/components/molecules/button/styles.d.ts +7 -0
- package/dist/components/molecules/button/styles.js +93 -0
- package/dist/components/molecules/card-content/notes-and-history/NotesAndHistory.stories.d.ts +7 -0
- package/dist/components/molecules/card-content/notes-and-history/NotesAndHistory.stories.js +24 -0
- package/dist/components/molecules/card-content/notes-and-history/index.d.ts +2 -0
- package/dist/components/molecules/card-content/notes-and-history/index.js +4 -0
- package/dist/components/molecules/card-content/notes-and-history/notes-and-history.d.ts +15 -0
- package/dist/components/molecules/card-content/notes-and-history/notes-and-history.js +29 -0
- package/dist/components/molecules/collapsible-card/Collapsiblecard.stories.d.ts +7 -0
- package/dist/components/molecules/collapsible-card/Collapsiblecard.stories.js +20 -0
- package/dist/components/molecules/collapsible-card/collapsible-card.d.ts +44 -0
- package/dist/components/molecules/collapsible-card/collapsible-card.js +87 -0
- package/dist/components/molecules/collapsible-card/index.d.ts +2 -0
- package/dist/components/molecules/collapsible-card/index.js +4 -0
- package/dist/components/molecules/conversation/contact/coloring.d.ts +6 -0
- package/dist/components/molecules/conversation/contact/coloring.js +7 -0
- package/dist/components/molecules/conversation/contact/contact.d.ts +25 -0
- package/dist/components/molecules/conversation/contact/contact.js +56 -0
- package/dist/components/molecules/conversation/contact/index.d.ts +2 -0
- package/dist/components/molecules/conversation/contact/index.js +4 -0
- package/dist/components/molecules/conversation/contact/styles.d.ts +18 -0
- package/dist/components/molecules/conversation/contact/styles.js +16 -0
- package/dist/components/molecules/conversation/message-editor/MessageEditor.stories.d.ts +7 -0
- package/dist/components/molecules/conversation/message-editor/MessageEditor.stories.js +20 -0
- package/dist/components/molecules/conversation/message-editor/index.d.ts +2 -0
- package/dist/components/molecules/conversation/message-editor/index.js +4 -0
- package/dist/components/molecules/conversation/message-editor/message-editor.d.ts +17 -0
- package/dist/components/molecules/conversation/message-editor/message-editor.js +38 -0
- package/dist/components/molecules/conversation/message-editor/styles.d.ts +1 -0
- package/dist/components/molecules/conversation/message-editor/styles.js +4 -0
- package/dist/components/molecules/conversation/message-group-composer/MessageGroupComposer.stories.d.ts +7 -0
- package/dist/components/molecules/conversation/message-group-composer/MessageGroupComposer.stories.js +20 -0
- package/dist/components/molecules/conversation/message-group-composer/index.d.ts +2 -0
- package/dist/components/molecules/conversation/message-group-composer/index.js +4 -0
- package/dist/components/molecules/conversation/message-group-composer/message-group-composer.d.ts +9 -0
- package/dist/components/molecules/conversation/message-group-composer/message-group-composer.js +41 -0
- package/dist/components/molecules/conversation/message-group-composer/styles.d.ts +4 -0
- package/dist/components/molecules/conversation/message-group-composer/styles.js +7 -0
- package/dist/components/molecules/datatables/cell/Cell.stories.d.ts +7 -0
- package/dist/components/molecules/datatables/cell/Cell.stories.js +20 -0
- package/dist/components/molecules/datatables/cell/cell.d.ts +62 -0
- package/dist/components/molecules/datatables/cell/cell.js +51 -0
- package/dist/components/molecules/datatables/cell/index.d.ts +2 -0
- package/dist/components/molecules/datatables/cell/index.js +4 -0
- package/dist/components/molecules/datatables/cell/styles.d.ts +3 -0
- package/dist/components/molecules/datatables/cell/styles.js +12 -0
- package/dist/components/molecules/datatables/row/Row.stories.d.ts +7 -0
- package/dist/components/molecules/datatables/row/Row.stories.js +20 -0
- package/dist/components/molecules/datatables/row/index.d.ts +2 -0
- package/dist/components/molecules/datatables/row/index.js +4 -0
- package/dist/components/molecules/datatables/row/row.d.ts +26 -0
- package/dist/components/molecules/datatables/row/row.js +21 -0
- package/dist/components/molecules/datatables/row/styles.d.ts +1 -0
- package/dist/components/molecules/datatables/row/styles.js +4 -0
- package/dist/components/molecules/datatables/row-header/RowHeader.stories.d.ts +7 -0
- package/dist/components/molecules/datatables/row-header/RowHeader.stories.js +20 -0
- package/dist/components/molecules/datatables/row-header/index.d.ts +2 -0
- package/dist/components/molecules/datatables/row-header/index.js +4 -0
- package/dist/components/molecules/datatables/row-header/row-header.d.ts +48 -0
- package/dist/components/molecules/datatables/row-header/row-header.js +63 -0
- package/dist/components/molecules/datatables/row-header/styles.d.ts +3 -0
- package/dist/components/molecules/datatables/row-header/styles.js +6 -0
- package/dist/components/molecules/dataviz/donut-chart/DonutChart.stories.d.ts +7 -0
- package/dist/components/molecules/dataviz/donut-chart/DonutChart.stories.js +20 -0
- package/dist/components/molecules/dataviz/donut-chart/donut-chart.d.ts +15 -0
- package/dist/components/molecules/dataviz/donut-chart/donut-chart.js +5519 -0
- package/dist/components/molecules/dataviz/donut-chart/index.d.ts +2 -0
- package/dist/components/molecules/dataviz/donut-chart/index.js +4 -0
- package/dist/components/molecules/dataviz/donut-chart/styles.d.ts +11 -0
- package/dist/components/molecules/dataviz/donut-chart/styles.js +14 -0
- package/dist/components/molecules/dataviz/dot-matrix/DotMatrix.stories.d.ts +7 -0
- package/dist/components/molecules/dataviz/dot-matrix/DotMatrix.stories.js +20 -0
- package/dist/components/molecules/dataviz/dot-matrix/dot-matrix.d.ts +14 -0
- package/dist/components/molecules/dataviz/dot-matrix/dot-matrix.js +67 -0
- package/dist/components/molecules/dataviz/dot-matrix/index.d.ts +2 -0
- package/dist/components/molecules/dataviz/dot-matrix/index.js +4 -0
- package/dist/components/molecules/dataviz/dot-matrix/styles.d.ts +8 -0
- package/dist/components/molecules/dataviz/dot-matrix/styles.js +11 -0
- package/dist/components/molecules/dataviz/legend/index.d.ts +2 -0
- package/dist/components/molecules/dataviz/legend/index.js +4 -0
- package/dist/components/molecules/dataviz/legend/legend.d.ts +12 -0
- package/dist/components/molecules/dataviz/legend/legend.js +53 -0
- package/dist/components/molecules/dataviz/progress-bar/ProgressBar.stories.d.ts +13 -0
- package/dist/components/molecules/dataviz/progress-bar/ProgressBar.stories.js +88 -0
- package/dist/components/molecules/dataviz/progress-bar/index.d.ts +2 -0
- package/dist/components/molecules/dataviz/progress-bar/index.js +4 -0
- package/dist/components/molecules/dataviz/progress-bar/progress-bar.d.ts +34 -0
- package/dist/components/molecules/dataviz/progress-bar/progress-bar.js +48 -0
- package/dist/components/molecules/dataviz/progress-bar/styles.d.ts +5 -0
- package/dist/components/molecules/dataviz/progress-bar/styles.js +8 -0
- package/dist/components/molecules/dataviz/single-stacked-bar/SingleStackedBar.stories.d.ts +7 -0
- package/dist/components/molecules/dataviz/single-stacked-bar/SingleStackedBar.stories.js +20 -0
- package/dist/components/molecules/dataviz/single-stacked-bar/index.d.ts +2 -0
- package/dist/components/molecules/dataviz/single-stacked-bar/index.js +4 -0
- package/dist/components/molecules/dataviz/single-stacked-bar/single-stacked-bar.d.ts +15 -0
- package/dist/components/molecules/dataviz/single-stacked-bar/single-stacked-bar.js +81 -0
- package/dist/components/molecules/dialog/dialog.d.ts +25 -0
- package/dist/components/molecules/dialog/dialog.js +100 -0
- package/dist/components/molecules/dialog/index.d.ts +1 -0
- package/dist/components/molecules/dialog/index.js +4 -0
- package/dist/components/molecules/dialog/use-ui-element-size.d.ts +31 -0
- package/dist/components/molecules/dialog/use-ui-element-size.js +24 -0
- package/dist/components/molecules/drawer/Drawer.stories.d.ts +22 -0
- package/dist/components/molecules/drawer/Drawer.stories.js +383 -0
- package/dist/components/molecules/drawer/drawer.d.ts +66 -0
- package/dist/components/molecules/drawer/drawer.js +126 -0
- package/dist/components/molecules/drawer/index.d.ts +2 -0
- package/dist/components/molecules/drawer/index.js +4 -0
- package/dist/components/molecules/filter/checkbox/checkbox.d.ts +19 -0
- package/dist/components/molecules/filter/checkbox/checkbox.js +45 -0
- package/dist/components/molecules/filter/checkbox/index.d.ts +2 -0
- package/dist/components/molecules/filter/checkbox/index.js +4 -0
- package/dist/components/molecules/filter/context-search/context-search.d.ts +19 -0
- package/dist/components/molecules/filter/context-search/context-search.js +58 -0
- package/dist/components/molecules/filter/context-search/index.d.ts +2 -0
- package/dist/components/molecules/filter/context-search/index.js +4 -0
- package/dist/components/molecules/filter/date-range-selector/date-range-selector.d.ts +28 -0
- package/dist/components/molecules/filter/date-range-selector/date-range-selector.js +306 -0
- package/dist/components/molecules/filter/date-range-selector/index.d.ts +2 -0
- package/dist/components/molecules/filter/date-range-selector/index.js +4 -0
- package/dist/components/molecules/filter/date-selector/DateSelector.stories.d.ts +7 -0
- package/dist/components/molecules/filter/date-selector/DateSelector.stories.js +20 -0
- package/dist/components/molecules/filter/date-selector/date-selector.d.ts +31 -0
- package/dist/components/molecules/filter/date-selector/date-selector.js +243 -0
- package/dist/components/molecules/filter/date-selector/index.d.ts +2 -0
- package/dist/components/molecules/filter/date-selector/index.js +4 -0
- package/dist/components/molecules/filter/dropdown-selector/dropdown-selector.d.ts +23 -0
- package/dist/components/molecules/filter/dropdown-selector/dropdown-selector.js +172 -0
- package/dist/components/molecules/filter/dropdown-selector/index.d.ts +2 -0
- package/dist/components/molecules/filter/dropdown-selector/index.js +4 -0
- package/dist/components/molecules/filter/dropdown-selector/styles.d.ts +13 -0
- package/dist/components/molecules/filter/dropdown-selector/styles.js +22 -0
- package/dist/components/molecules/filter/range-selector/RangeSelector.stories.d.ts +7 -0
- package/dist/components/molecules/filter/range-selector/RangeSelector.stories.js +20 -0
- package/dist/components/molecules/filter/range-selector/index.d.ts +2 -0
- package/dist/components/molecules/filter/range-selector/index.js +4 -0
- package/dist/components/molecules/filter/range-selector/range-selector.d.ts +33 -0
- package/dist/components/molecules/filter/range-selector/range-selector.js +630 -0
- package/dist/components/molecules/filter/range-selector/styles.d.ts +17 -0
- package/dist/components/molecules/filter/range-selector/styles.js +25 -0
- package/dist/components/molecules/filter/segmented-control/index.d.ts +2 -0
- package/dist/components/molecules/filter/segmented-control/index.js +4 -0
- package/dist/components/molecules/filter/segmented-control/segmented-control.d.ts +23 -0
- package/dist/components/molecules/filter/segmented-control/segmented-control.js +43 -0
- package/dist/components/molecules/filter/segmented-control/styles.d.ts +7 -0
- package/dist/components/molecules/filter/segmented-control/styles.js +11 -0
- package/dist/components/molecules/form/radiogroup/index.d.ts +2 -0
- package/dist/components/molecules/form/radiogroup/index.js +4 -0
- package/dist/components/molecules/form/radiogroup/radiogroup.d.ts +66 -0
- package/dist/components/molecules/form/radiogroup/radiogroup.js +80 -0
- package/dist/components/molecules/form/radiogroup/radiogroup.stories.d.ts +12 -0
- package/dist/components/molecules/form/radiogroup/radiogroup.stories.js +95 -0
- package/dist/components/molecules/link/Link.stories.d.ts +7 -0
- package/dist/components/molecules/link/Link.stories.js +20 -0
- package/dist/components/molecules/link/index.d.ts +2 -0
- package/dist/components/molecules/link/index.js +4 -0
- package/dist/components/molecules/link/link.d.ts +34 -0
- package/dist/components/molecules/link/link.js +78 -0
- package/dist/components/molecules/link/styles.d.ts +4 -0
- package/dist/components/molecules/link/styles.js +7 -0
- package/dist/components/molecules/navigation/context-menu/context-menu.d.ts +13 -0
- package/dist/components/molecules/navigation/context-menu/context-menu.js +28 -0
- package/dist/components/molecules/navigation/header/Header.stories.d.ts +7 -0
- package/dist/components/molecules/navigation/header/Header.stories.js +20 -0
- package/dist/components/molecules/navigation/header/header.d.ts +37 -0
- package/dist/components/molecules/navigation/header/header.js +38 -0
- package/dist/components/molecules/navigation/header/index.d.ts +2 -0
- package/dist/components/molecules/navigation/header/index.js +4 -0
- package/dist/components/molecules/navigation/header/styles.d.ts +6 -0
- package/dist/components/molecules/navigation/header/styles.js +9 -0
- package/dist/components/molecules/navigation/menubar/index.d.ts +2 -0
- package/dist/components/molecules/navigation/menubar/index.js +4 -0
- package/dist/components/molecules/navigation/menubar/menubar.d.ts +27 -0
- package/dist/components/molecules/navigation/menubar/menubar.js +27 -0
- package/dist/components/molecules/navigation/sidebar/Sidebar.stories.d.ts +7 -0
- package/dist/components/molecules/navigation/sidebar/Sidebar.stories.js +20 -0
- package/dist/components/molecules/navigation/sidebar/index.d.ts +2 -0
- package/dist/components/molecules/navigation/sidebar/index.js +4 -0
- package/dist/components/molecules/navigation/sidebar/sidebar.d.ts +33 -0
- package/dist/components/molecules/navigation/sidebar/sidebar.js +53 -0
- package/dist/components/molecules/notifications/content/Content.stories.d.ts +7 -0
- package/dist/components/molecules/notifications/content/Content.stories.js +20 -0
- package/dist/components/molecules/notifications/content/coloring.d.ts +7 -0
- package/dist/components/molecules/notifications/content/coloring.js +9 -0
- package/dist/components/molecules/notifications/content/content.d.ts +29 -0
- package/dist/components/molecules/notifications/content/content.js +51 -0
- package/dist/components/molecules/notifications/content/index.d.ts +2 -0
- package/dist/components/molecules/notifications/content/index.js +4 -0
- package/dist/components/molecules/snackbar/Snackbar.stories.d.ts +16 -0
- package/dist/components/molecules/snackbar/Snackbar.stories.js +170 -0
- package/dist/components/molecules/snackbar/index.d.ts +2 -0
- package/dist/components/molecules/snackbar/index.js +4 -0
- package/dist/components/molecules/snackbar/snackbar.d.ts +41 -0
- package/dist/components/molecules/snackbar/snackbar.js +31 -0
- package/dist/components/molecules/snackbar/styles.d.ts +5 -0
- package/dist/components/molecules/snackbar/styles.js +9 -0
- package/dist/components/molecules/tab-group/index.d.ts +3 -0
- package/dist/components/molecules/tab-group/index.js +4 -0
- package/dist/components/molecules/tab-group/styles.d.ts +3 -0
- package/dist/components/molecules/tab-group/styles.js +6 -0
- package/dist/components/molecules/tab-group/tab-group.d.ts +19 -0
- package/dist/components/molecules/tab-group/tab-group.js +23 -0
- package/dist/components/molecules/tab-group/tabgroup.stories.d.ts +12 -0
- package/dist/components/molecules/tab-group/tabgroup.stories.js +285 -0
- package/dist/components/styles/colors/colormap.d.ts +277 -0
- package/dist/components/styles/colors/colormap.js +279 -0
- package/dist/components/styles/colors/colors.d.ts +1 -0
- package/dist/components/styles/colors/colors.js +89 -0
- package/dist/components/styles/colors/index.d.ts +2 -0
- package/dist/components/styles/colors/index.js +26 -0
- package/dist/components/styles/dashedBorder/DashedLineSVG.d.ts +1 -0
- package/dist/components/styles/dashedBorder/DashedLineSVG.js +17 -0
- package/dist/components/styles/dashedBorder/index.d.ts +1 -0
- package/dist/components/styles/dashedBorder/index.js +4 -0
- package/dist/components/styles/defaults/defaults.d.ts +65 -0
- package/dist/components/styles/defaults/defaults.js +72 -0
- package/dist/components/styles/defaults/index.d.ts +1 -0
- package/dist/components/styles/defaults/index.js +9 -0
- package/dist/components/styles/tailwind-config/index.d.ts +3 -0
- package/dist/components/styles/tailwind-config/index.js +109 -0
- package/dist/components/styles/tool-tip/styles.d.ts +2 -0
- package/dist/components/styles/tool-tip/styles.js +5 -0
- package/dist/components/styles/typography/index.d.ts +3 -0
- package/dist/components/styles/typography/index.js +10 -0
- package/dist/components/styles/typography/style.d.ts +50 -0
- package/dist/components/styles/typography/style.js +48 -0
- package/dist/components/styles/typography/typography.d.ts +413 -0
- package/dist/components/styles/typography/typography.js +59 -0
- package/dist/constants-BfMb81ht.js +8 -0
- package/dist/format-BwmhcciO.js +1224 -0
- package/dist/hooks/use-sticky-z-index.d.ts +31 -0
- package/dist/hooks/use-sticky-z-index.js +37 -0
- package/dist/index-BKdkX0lZ.js +924 -0
- package/dist/index-BZPx6jYI.js +8 -0
- package/dist/index-C0ZrzaoZ.js +238 -0
- package/dist/index-CYyrKZeH.js +3716 -0
- package/dist/index-CnWyMXBX.js +824 -0
- package/dist/index-DNpMaKvH.js +347 -0
- package/dist/index-DfdAzObv.js +24167 -0
- package/dist/index-DotfMcM0.js +21051 -0
- package/dist/index-DrfOymtc.js +237 -0
- package/dist/index-OIdMhwsO.js +53 -0
- package/dist/index-fN7hCOo3.js +42 -0
- package/dist/index-rKs9bXHr.js +6 -0
- package/dist/isBefore-D0yKF9R5.js +8 -0
- package/dist/isToday-DmBTkQMq.js +1606 -0
- package/dist/isWithinInterval-BTUruC3j.js +11 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.js +20 -0
- package/dist/lodash-BRbpQ7iy.js +3676 -0
- package/dist/main.d.ts +102 -0
- package/dist/main.js +166 -0
- package/dist/purify.es-eYFoHPwR.js +528 -0
- package/dist/react-spring_web.modern-BLL8Qmtg.js +2345 -0
- package/dist/set-CXVt2sL3.js +20 -0
- package/dist/snackbar-BaF8Ts3S.js +505 -0
- package/dist/startOfToday-BPMZZniU.js +7 -0
- package/dist/startOfWeek-DBvLd9He.js +23 -0
- package/dist/toDate-DF9e2eS8.js +7 -0
- package/package.json +93 -0
|
@@ -0,0 +1,924 @@
|
|
|
1
|
+
import * as a from "react";
|
|
2
|
+
import { c as me, g as le, a as N, d as M, b as $, u as Pe, j as ve, f as De, R as gn, A as wn, P as te, h as hn, o as _n, k as Cn, D as Rn, C as In, l as En, q as ye } from "./index-DotfMcM0.js";
|
|
3
|
+
import { c as Te, u as xe } from "./index-OIdMhwsO.js";
|
|
4
|
+
import { h as bn, u as Sn, R as Pn, F as Dn } from "./Combination-BkpbjcWz.js";
|
|
5
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
6
|
+
var de = "rovingFocusGroup.onEntryFocus", yn = { bubbles: !1, cancelable: !0 }, z = "RovingFocusGroup", [fe, Ae, Tn] = Te(z), [xn, Ne] = me(
|
|
7
|
+
z,
|
|
8
|
+
[Tn]
|
|
9
|
+
), [An, Nn] = xn(z), Oe = a.forwardRef(
|
|
10
|
+
(e, o) => /* @__PURE__ */ s(fe.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ s(fe.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ s(On, { ...e, ref: o }) }) })
|
|
11
|
+
);
|
|
12
|
+
Oe.displayName = z;
|
|
13
|
+
var On = a.forwardRef((e, o) => {
|
|
14
|
+
const {
|
|
15
|
+
__scopeRovingFocusGroup: n,
|
|
16
|
+
orientation: t,
|
|
17
|
+
loop: r = !1,
|
|
18
|
+
dir: c,
|
|
19
|
+
currentTabStopId: d,
|
|
20
|
+
defaultCurrentTabStopId: l,
|
|
21
|
+
onCurrentTabStopIdChange: m,
|
|
22
|
+
onEntryFocus: v,
|
|
23
|
+
preventScrollOnEntryFocus: i = !1,
|
|
24
|
+
...u
|
|
25
|
+
} = e, f = a.useRef(null), w = $(o, f), g = xe(c), [E, h] = Pe({
|
|
26
|
+
prop: d,
|
|
27
|
+
defaultProp: l ?? null,
|
|
28
|
+
onChange: m,
|
|
29
|
+
caller: z
|
|
30
|
+
}), [I, x] = a.useState(!1), _ = ve(v), P = Ae(n), B = a.useRef(!1), [J, O] = a.useState(0);
|
|
31
|
+
return a.useEffect(() => {
|
|
32
|
+
const C = f.current;
|
|
33
|
+
if (C)
|
|
34
|
+
return C.addEventListener(de, _), () => C.removeEventListener(de, _);
|
|
35
|
+
}, [_]), /* @__PURE__ */ s(
|
|
36
|
+
An,
|
|
37
|
+
{
|
|
38
|
+
scope: n,
|
|
39
|
+
orientation: t,
|
|
40
|
+
dir: g,
|
|
41
|
+
loop: r,
|
|
42
|
+
currentTabStopId: E,
|
|
43
|
+
onItemFocus: a.useCallback(
|
|
44
|
+
(C) => h(C),
|
|
45
|
+
[h]
|
|
46
|
+
),
|
|
47
|
+
onItemShiftTab: a.useCallback(() => x(!0), []),
|
|
48
|
+
onFocusableItemAdd: a.useCallback(
|
|
49
|
+
() => O((C) => C + 1),
|
|
50
|
+
[]
|
|
51
|
+
),
|
|
52
|
+
onFocusableItemRemove: a.useCallback(
|
|
53
|
+
() => O((C) => C - 1),
|
|
54
|
+
[]
|
|
55
|
+
),
|
|
56
|
+
children: /* @__PURE__ */ s(
|
|
57
|
+
N.div,
|
|
58
|
+
{
|
|
59
|
+
tabIndex: I || J === 0 ? -1 : 0,
|
|
60
|
+
"data-orientation": t,
|
|
61
|
+
...u,
|
|
62
|
+
ref: w,
|
|
63
|
+
style: { outline: "none", ...e.style },
|
|
64
|
+
onMouseDown: M(e.onMouseDown, () => {
|
|
65
|
+
B.current = !0;
|
|
66
|
+
}),
|
|
67
|
+
onFocus: M(e.onFocus, (C) => {
|
|
68
|
+
const L = !B.current;
|
|
69
|
+
if (C.target === C.currentTarget && L && !I) {
|
|
70
|
+
const F = new CustomEvent(de, yn);
|
|
71
|
+
if (C.currentTarget.dispatchEvent(F), !F.defaultPrevented) {
|
|
72
|
+
const V = P().filter((y) => y.focusable), Y = V.find((y) => y.active), Q = V.find((y) => y.id === E), se = [Y, Q, ...V].filter(
|
|
73
|
+
Boolean
|
|
74
|
+
).map((y) => y.ref.current);
|
|
75
|
+
Ge(se, i);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
B.current = !1;
|
|
79
|
+
}),
|
|
80
|
+
onBlur: M(e.onBlur, () => x(!1))
|
|
81
|
+
}
|
|
82
|
+
)
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
}), Fe = "RovingFocusGroupItem", ke = a.forwardRef(
|
|
86
|
+
(e, o) => {
|
|
87
|
+
const {
|
|
88
|
+
__scopeRovingFocusGroup: n,
|
|
89
|
+
focusable: t = !0,
|
|
90
|
+
active: r = !1,
|
|
91
|
+
tabStopId: c,
|
|
92
|
+
children: d,
|
|
93
|
+
...l
|
|
94
|
+
} = e, m = le(), v = c || m, i = Nn(Fe, n), u = i.currentTabStopId === v, f = Ae(n), { onFocusableItemAdd: w, onFocusableItemRemove: g, currentTabStopId: E } = i;
|
|
95
|
+
return a.useEffect(() => {
|
|
96
|
+
if (t)
|
|
97
|
+
return w(), () => g();
|
|
98
|
+
}, [t, w, g]), /* @__PURE__ */ s(
|
|
99
|
+
fe.ItemSlot,
|
|
100
|
+
{
|
|
101
|
+
scope: n,
|
|
102
|
+
id: v,
|
|
103
|
+
focusable: t,
|
|
104
|
+
active: r,
|
|
105
|
+
children: /* @__PURE__ */ s(
|
|
106
|
+
N.span,
|
|
107
|
+
{
|
|
108
|
+
tabIndex: u ? 0 : -1,
|
|
109
|
+
"data-orientation": i.orientation,
|
|
110
|
+
...l,
|
|
111
|
+
ref: o,
|
|
112
|
+
onMouseDown: M(e.onMouseDown, (h) => {
|
|
113
|
+
t ? i.onItemFocus(v) : h.preventDefault();
|
|
114
|
+
}),
|
|
115
|
+
onFocus: M(e.onFocus, () => i.onItemFocus(v)),
|
|
116
|
+
onKeyDown: M(e.onKeyDown, (h) => {
|
|
117
|
+
if (h.key === "Tab" && h.shiftKey) {
|
|
118
|
+
i.onItemShiftTab();
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
if (h.target !== h.currentTarget) return;
|
|
122
|
+
const I = Gn(h, i.orientation, i.dir);
|
|
123
|
+
if (I !== void 0) {
|
|
124
|
+
if (h.metaKey || h.ctrlKey || h.altKey || h.shiftKey) return;
|
|
125
|
+
h.preventDefault();
|
|
126
|
+
let _ = f().filter((P) => P.focusable).map((P) => P.ref.current);
|
|
127
|
+
if (I === "last") _.reverse();
|
|
128
|
+
else if (I === "prev" || I === "next") {
|
|
129
|
+
I === "prev" && _.reverse();
|
|
130
|
+
const P = _.indexOf(h.currentTarget);
|
|
131
|
+
_ = i.loop ? Ln(_, P + 1) : _.slice(P + 1);
|
|
132
|
+
}
|
|
133
|
+
setTimeout(() => Ge(_));
|
|
134
|
+
}
|
|
135
|
+
}),
|
|
136
|
+
children: typeof d == "function" ? d({ isCurrentTabStop: u, hasTabStop: E != null }) : d
|
|
137
|
+
}
|
|
138
|
+
)
|
|
139
|
+
}
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
);
|
|
143
|
+
ke.displayName = Fe;
|
|
144
|
+
var Fn = {
|
|
145
|
+
ArrowLeft: "prev",
|
|
146
|
+
ArrowUp: "prev",
|
|
147
|
+
ArrowRight: "next",
|
|
148
|
+
ArrowDown: "next",
|
|
149
|
+
PageUp: "first",
|
|
150
|
+
Home: "first",
|
|
151
|
+
PageDown: "last",
|
|
152
|
+
End: "last"
|
|
153
|
+
};
|
|
154
|
+
function kn(e, o) {
|
|
155
|
+
return o !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
|
|
156
|
+
}
|
|
157
|
+
function Gn(e, o, n) {
|
|
158
|
+
const t = kn(e.key, n);
|
|
159
|
+
if (!(o === "vertical" && ["ArrowLeft", "ArrowRight"].includes(t)) && !(o === "horizontal" && ["ArrowUp", "ArrowDown"].includes(t)))
|
|
160
|
+
return Fn[t];
|
|
161
|
+
}
|
|
162
|
+
function Ge(e, o = !1) {
|
|
163
|
+
const n = document.activeElement;
|
|
164
|
+
for (const t of e)
|
|
165
|
+
if (t === n || (t.focus({ preventScroll: o }), document.activeElement !== n)) return;
|
|
166
|
+
}
|
|
167
|
+
function Ln(e, o) {
|
|
168
|
+
return e.map((n, t) => e[(o + t) % e.length]);
|
|
169
|
+
}
|
|
170
|
+
var Kn = Oe, Un = ke, pe = ["Enter", " "], $n = ["ArrowDown", "PageUp", "Home"], Le = ["ArrowUp", "PageDown", "End"], Bn = [...$n, ...Le], Vn = {
|
|
171
|
+
ltr: [...pe, "ArrowRight"],
|
|
172
|
+
rtl: [...pe, "ArrowLeft"]
|
|
173
|
+
}, Yn = {
|
|
174
|
+
ltr: ["ArrowLeft"],
|
|
175
|
+
rtl: ["ArrowRight"]
|
|
176
|
+
}, q = "Menu", [H, Xn, jn] = Te(q), [k, Ke] = me(q, [
|
|
177
|
+
jn,
|
|
178
|
+
De,
|
|
179
|
+
Ne
|
|
180
|
+
]), re = De(), Ue = Ne(), [Hn, G] = k(q), [Wn, Z] = k(q), $e = (e) => {
|
|
181
|
+
const { __scopeMenu: o, open: n = !1, children: t, dir: r, onOpenChange: c, modal: d = !0 } = e, l = re(o), [m, v] = a.useState(null), i = a.useRef(!1), u = ve(c), f = xe(r);
|
|
182
|
+
return a.useEffect(() => {
|
|
183
|
+
const w = () => {
|
|
184
|
+
i.current = !0, document.addEventListener("pointerdown", g, { capture: !0, once: !0 }), document.addEventListener("pointermove", g, { capture: !0, once: !0 });
|
|
185
|
+
}, g = () => i.current = !1;
|
|
186
|
+
return document.addEventListener("keydown", w, { capture: !0 }), () => {
|
|
187
|
+
document.removeEventListener("keydown", w, { capture: !0 }), document.removeEventListener("pointerdown", g, { capture: !0 }), document.removeEventListener("pointermove", g, { capture: !0 });
|
|
188
|
+
};
|
|
189
|
+
}, []), /* @__PURE__ */ s(gn, { ...l, children: /* @__PURE__ */ s(
|
|
190
|
+
Hn,
|
|
191
|
+
{
|
|
192
|
+
scope: o,
|
|
193
|
+
open: n,
|
|
194
|
+
onOpenChange: u,
|
|
195
|
+
content: m,
|
|
196
|
+
onContentChange: v,
|
|
197
|
+
children: /* @__PURE__ */ s(
|
|
198
|
+
Wn,
|
|
199
|
+
{
|
|
200
|
+
scope: o,
|
|
201
|
+
onClose: a.useCallback(() => u(!1), [u]),
|
|
202
|
+
isUsingKeyboardRef: i,
|
|
203
|
+
dir: f,
|
|
204
|
+
modal: d,
|
|
205
|
+
children: t
|
|
206
|
+
}
|
|
207
|
+
)
|
|
208
|
+
}
|
|
209
|
+
) });
|
|
210
|
+
};
|
|
211
|
+
$e.displayName = q;
|
|
212
|
+
var zn = "MenuAnchor", Me = a.forwardRef(
|
|
213
|
+
(e, o) => {
|
|
214
|
+
const { __scopeMenu: n, ...t } = e, r = re(n);
|
|
215
|
+
return /* @__PURE__ */ s(wn, { ...r, ...t, ref: o });
|
|
216
|
+
}
|
|
217
|
+
);
|
|
218
|
+
Me.displayName = zn;
|
|
219
|
+
var ge = "MenuPortal", [qn, Be] = k(ge, {
|
|
220
|
+
forceMount: void 0
|
|
221
|
+
}), Ve = (e) => {
|
|
222
|
+
const { __scopeMenu: o, forceMount: n, children: t, container: r } = e, c = G(ge, o);
|
|
223
|
+
return /* @__PURE__ */ s(qn, { scope: o, forceMount: n, children: /* @__PURE__ */ s(te, { present: n || c.open, children: /* @__PURE__ */ s(hn, { asChild: !0, container: r, children: t }) }) });
|
|
224
|
+
};
|
|
225
|
+
Ve.displayName = ge;
|
|
226
|
+
var S = "MenuContent", [Zn, we] = k(S), Ye = a.forwardRef(
|
|
227
|
+
(e, o) => {
|
|
228
|
+
const n = Be(S, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = G(S, e.__scopeMenu), d = Z(S, e.__scopeMenu);
|
|
229
|
+
return /* @__PURE__ */ s(H.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(te, { present: t || c.open, children: /* @__PURE__ */ s(H.Slot, { scope: e.__scopeMenu, children: d.modal ? /* @__PURE__ */ s(Jn, { ...r, ref: o }) : /* @__PURE__ */ s(Qn, { ...r, ref: o }) }) }) });
|
|
230
|
+
}
|
|
231
|
+
), Jn = a.forwardRef(
|
|
232
|
+
(e, o) => {
|
|
233
|
+
const n = G(S, e.__scopeMenu), t = a.useRef(null), r = $(o, t);
|
|
234
|
+
return a.useEffect(() => {
|
|
235
|
+
const c = t.current;
|
|
236
|
+
if (c) return bn(c);
|
|
237
|
+
}, []), /* @__PURE__ */ s(
|
|
238
|
+
he,
|
|
239
|
+
{
|
|
240
|
+
...e,
|
|
241
|
+
ref: r,
|
|
242
|
+
trapFocus: n.open,
|
|
243
|
+
disableOutsidePointerEvents: n.open,
|
|
244
|
+
disableOutsideScroll: !0,
|
|
245
|
+
onFocusOutside: M(
|
|
246
|
+
e.onFocusOutside,
|
|
247
|
+
(c) => c.preventDefault(),
|
|
248
|
+
{ checkForDefaultPrevented: !1 }
|
|
249
|
+
),
|
|
250
|
+
onDismiss: () => n.onOpenChange(!1)
|
|
251
|
+
}
|
|
252
|
+
);
|
|
253
|
+
}
|
|
254
|
+
), Qn = a.forwardRef((e, o) => {
|
|
255
|
+
const n = G(S, e.__scopeMenu);
|
|
256
|
+
return /* @__PURE__ */ s(
|
|
257
|
+
he,
|
|
258
|
+
{
|
|
259
|
+
...e,
|
|
260
|
+
ref: o,
|
|
261
|
+
trapFocus: !1,
|
|
262
|
+
disableOutsidePointerEvents: !1,
|
|
263
|
+
disableOutsideScroll: !1,
|
|
264
|
+
onDismiss: () => n.onOpenChange(!1)
|
|
265
|
+
}
|
|
266
|
+
);
|
|
267
|
+
}), eo = Cn("MenuContent.ScrollLock"), he = a.forwardRef(
|
|
268
|
+
(e, o) => {
|
|
269
|
+
const {
|
|
270
|
+
__scopeMenu: n,
|
|
271
|
+
loop: t = !1,
|
|
272
|
+
trapFocus: r,
|
|
273
|
+
onOpenAutoFocus: c,
|
|
274
|
+
onCloseAutoFocus: d,
|
|
275
|
+
disableOutsidePointerEvents: l,
|
|
276
|
+
onEntryFocus: m,
|
|
277
|
+
onEscapeKeyDown: v,
|
|
278
|
+
onPointerDownOutside: i,
|
|
279
|
+
onFocusOutside: u,
|
|
280
|
+
onInteractOutside: f,
|
|
281
|
+
onDismiss: w,
|
|
282
|
+
disableOutsideScroll: g,
|
|
283
|
+
...E
|
|
284
|
+
} = e, h = G(S, n), I = Z(S, n), x = re(n), _ = Ue(n), P = Xn(n), [B, J] = a.useState(null), O = a.useRef(null), C = $(o, O, h.onContentChange), L = a.useRef(0), F = a.useRef(""), V = a.useRef(0), Y = a.useRef(null), Q = a.useRef("right"), ee = a.useRef(0), se = g ? Pn : a.Fragment, y = g ? { as: eo, allowPinchZoom: !0 } : void 0, Mn = (p) => {
|
|
285
|
+
var U, Ee;
|
|
286
|
+
const b = F.current + p, D = P().filter((T) => !T.disabled), A = document.activeElement, ue = (U = D.find((T) => T.ref.current === A)) == null ? void 0 : U.textValue, ie = D.map((T) => T.textValue), Ie = po(ie, b, ue), X = (Ee = D.find((T) => T.textValue === Ie)) == null ? void 0 : Ee.ref.current;
|
|
287
|
+
(function T(be) {
|
|
288
|
+
F.current = be, window.clearTimeout(L.current), be !== "" && (L.current = window.setTimeout(() => T(""), 1e3));
|
|
289
|
+
})(b), X && setTimeout(() => X.focus());
|
|
290
|
+
};
|
|
291
|
+
a.useEffect(() => () => window.clearTimeout(L.current), []), Sn();
|
|
292
|
+
const K = a.useCallback((p) => {
|
|
293
|
+
var D, A;
|
|
294
|
+
return Q.current === ((D = Y.current) == null ? void 0 : D.side) && vo(p, (A = Y.current) == null ? void 0 : A.area);
|
|
295
|
+
}, []);
|
|
296
|
+
return /* @__PURE__ */ s(
|
|
297
|
+
Zn,
|
|
298
|
+
{
|
|
299
|
+
scope: n,
|
|
300
|
+
searchRef: F,
|
|
301
|
+
onItemEnter: a.useCallback(
|
|
302
|
+
(p) => {
|
|
303
|
+
K(p) && p.preventDefault();
|
|
304
|
+
},
|
|
305
|
+
[K]
|
|
306
|
+
),
|
|
307
|
+
onItemLeave: a.useCallback(
|
|
308
|
+
(p) => {
|
|
309
|
+
var b;
|
|
310
|
+
K(p) || ((b = O.current) == null || b.focus(), J(null));
|
|
311
|
+
},
|
|
312
|
+
[K]
|
|
313
|
+
),
|
|
314
|
+
onTriggerLeave: a.useCallback(
|
|
315
|
+
(p) => {
|
|
316
|
+
K(p) && p.preventDefault();
|
|
317
|
+
},
|
|
318
|
+
[K]
|
|
319
|
+
),
|
|
320
|
+
pointerGraceTimerRef: V,
|
|
321
|
+
onPointerGraceIntentChange: a.useCallback((p) => {
|
|
322
|
+
Y.current = p;
|
|
323
|
+
}, []),
|
|
324
|
+
children: /* @__PURE__ */ s(se, { ...y, children: /* @__PURE__ */ s(
|
|
325
|
+
Dn,
|
|
326
|
+
{
|
|
327
|
+
asChild: !0,
|
|
328
|
+
trapped: r,
|
|
329
|
+
onMountAutoFocus: M(c, (p) => {
|
|
330
|
+
var b;
|
|
331
|
+
p.preventDefault(), (b = O.current) == null || b.focus({ preventScroll: !0 });
|
|
332
|
+
}),
|
|
333
|
+
onUnmountAutoFocus: d,
|
|
334
|
+
children: /* @__PURE__ */ s(
|
|
335
|
+
Rn,
|
|
336
|
+
{
|
|
337
|
+
asChild: !0,
|
|
338
|
+
disableOutsidePointerEvents: l,
|
|
339
|
+
onEscapeKeyDown: v,
|
|
340
|
+
onPointerDownOutside: i,
|
|
341
|
+
onFocusOutside: u,
|
|
342
|
+
onInteractOutside: f,
|
|
343
|
+
onDismiss: w,
|
|
344
|
+
children: /* @__PURE__ */ s(
|
|
345
|
+
Kn,
|
|
346
|
+
{
|
|
347
|
+
asChild: !0,
|
|
348
|
+
..._,
|
|
349
|
+
dir: I.dir,
|
|
350
|
+
orientation: "vertical",
|
|
351
|
+
loop: t,
|
|
352
|
+
currentTabStopId: B,
|
|
353
|
+
onCurrentTabStopIdChange: J,
|
|
354
|
+
onEntryFocus: M(m, (p) => {
|
|
355
|
+
I.isUsingKeyboardRef.current || p.preventDefault();
|
|
356
|
+
}),
|
|
357
|
+
preventScrollOnEntryFocus: !0,
|
|
358
|
+
children: /* @__PURE__ */ s(
|
|
359
|
+
In,
|
|
360
|
+
{
|
|
361
|
+
role: "menu",
|
|
362
|
+
"aria-orientation": "vertical",
|
|
363
|
+
"data-state": cn(h.open),
|
|
364
|
+
"data-radix-menu-content": "",
|
|
365
|
+
dir: I.dir,
|
|
366
|
+
...x,
|
|
367
|
+
...E,
|
|
368
|
+
ref: C,
|
|
369
|
+
style: { outline: "none", ...E.style },
|
|
370
|
+
onKeyDown: M(E.onKeyDown, (p) => {
|
|
371
|
+
const D = p.target.closest("[data-radix-menu-content]") === p.currentTarget, A = p.ctrlKey || p.altKey || p.metaKey, ue = p.key.length === 1;
|
|
372
|
+
D && (p.key === "Tab" && p.preventDefault(), !A && ue && Mn(p.key));
|
|
373
|
+
const ie = O.current;
|
|
374
|
+
if (p.target !== ie || !Bn.includes(p.key)) return;
|
|
375
|
+
p.preventDefault();
|
|
376
|
+
const X = P().filter((U) => !U.disabled).map((U) => U.ref.current);
|
|
377
|
+
Le.includes(p.key) && X.reverse(), lo(X);
|
|
378
|
+
}),
|
|
379
|
+
onBlur: M(e.onBlur, (p) => {
|
|
380
|
+
p.currentTarget.contains(p.target) || (window.clearTimeout(L.current), F.current = "");
|
|
381
|
+
}),
|
|
382
|
+
onPointerMove: M(
|
|
383
|
+
e.onPointerMove,
|
|
384
|
+
W((p) => {
|
|
385
|
+
const b = p.target, D = ee.current !== p.clientX;
|
|
386
|
+
if (p.currentTarget.contains(b) && D) {
|
|
387
|
+
const A = p.clientX > ee.current ? "right" : "left";
|
|
388
|
+
Q.current = A, ee.current = p.clientX;
|
|
389
|
+
}
|
|
390
|
+
})
|
|
391
|
+
)
|
|
392
|
+
}
|
|
393
|
+
)
|
|
394
|
+
}
|
|
395
|
+
)
|
|
396
|
+
}
|
|
397
|
+
)
|
|
398
|
+
}
|
|
399
|
+
) })
|
|
400
|
+
}
|
|
401
|
+
);
|
|
402
|
+
}
|
|
403
|
+
);
|
|
404
|
+
Ye.displayName = S;
|
|
405
|
+
var no = "MenuGroup", _e = a.forwardRef(
|
|
406
|
+
(e, o) => {
|
|
407
|
+
const { __scopeMenu: n, ...t } = e;
|
|
408
|
+
return /* @__PURE__ */ s(N.div, { role: "group", ...t, ref: o });
|
|
409
|
+
}
|
|
410
|
+
);
|
|
411
|
+
_e.displayName = no;
|
|
412
|
+
var oo = "MenuLabel", Xe = a.forwardRef(
|
|
413
|
+
(e, o) => {
|
|
414
|
+
const { __scopeMenu: n, ...t } = e;
|
|
415
|
+
return /* @__PURE__ */ s(N.div, { ...t, ref: o });
|
|
416
|
+
}
|
|
417
|
+
);
|
|
418
|
+
Xe.displayName = oo;
|
|
419
|
+
var ne = "MenuItem", Se = "menu.itemSelect", ae = a.forwardRef(
|
|
420
|
+
(e, o) => {
|
|
421
|
+
const { disabled: n = !1, onSelect: t, ...r } = e, c = a.useRef(null), d = Z(ne, e.__scopeMenu), l = we(ne, e.__scopeMenu), m = $(o, c), v = a.useRef(!1), i = () => {
|
|
422
|
+
const u = c.current;
|
|
423
|
+
if (!n && u) {
|
|
424
|
+
const f = new CustomEvent(Se, { bubbles: !0, cancelable: !0 });
|
|
425
|
+
u.addEventListener(Se, (w) => t == null ? void 0 : t(w), { once: !0 }), _n(u, f), f.defaultPrevented ? v.current = !1 : d.onClose();
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
return /* @__PURE__ */ s(
|
|
429
|
+
je,
|
|
430
|
+
{
|
|
431
|
+
...r,
|
|
432
|
+
ref: m,
|
|
433
|
+
disabled: n,
|
|
434
|
+
onClick: M(e.onClick, i),
|
|
435
|
+
onPointerDown: (u) => {
|
|
436
|
+
var f;
|
|
437
|
+
(f = e.onPointerDown) == null || f.call(e, u), v.current = !0;
|
|
438
|
+
},
|
|
439
|
+
onPointerUp: M(e.onPointerUp, (u) => {
|
|
440
|
+
var f;
|
|
441
|
+
v.current || (f = u.currentTarget) == null || f.click();
|
|
442
|
+
}),
|
|
443
|
+
onKeyDown: M(e.onKeyDown, (u) => {
|
|
444
|
+
const f = l.searchRef.current !== "";
|
|
445
|
+
n || f && u.key === " " || pe.includes(u.key) && (u.currentTarget.click(), u.preventDefault());
|
|
446
|
+
})
|
|
447
|
+
}
|
|
448
|
+
);
|
|
449
|
+
}
|
|
450
|
+
);
|
|
451
|
+
ae.displayName = ne;
|
|
452
|
+
var je = a.forwardRef(
|
|
453
|
+
(e, o) => {
|
|
454
|
+
const { __scopeMenu: n, disabled: t = !1, textValue: r, ...c } = e, d = we(ne, n), l = Ue(n), m = a.useRef(null), v = $(o, m), [i, u] = a.useState(!1), [f, w] = a.useState("");
|
|
455
|
+
return a.useEffect(() => {
|
|
456
|
+
const g = m.current;
|
|
457
|
+
g && w((g.textContent ?? "").trim());
|
|
458
|
+
}, [c.children]), /* @__PURE__ */ s(
|
|
459
|
+
H.ItemSlot,
|
|
460
|
+
{
|
|
461
|
+
scope: n,
|
|
462
|
+
disabled: t,
|
|
463
|
+
textValue: r ?? f,
|
|
464
|
+
children: /* @__PURE__ */ s(Un, { asChild: !0, ...l, focusable: !t, children: /* @__PURE__ */ s(
|
|
465
|
+
N.div,
|
|
466
|
+
{
|
|
467
|
+
role: "menuitem",
|
|
468
|
+
"data-highlighted": i ? "" : void 0,
|
|
469
|
+
"aria-disabled": t || void 0,
|
|
470
|
+
"data-disabled": t ? "" : void 0,
|
|
471
|
+
...c,
|
|
472
|
+
ref: v,
|
|
473
|
+
onPointerMove: M(
|
|
474
|
+
e.onPointerMove,
|
|
475
|
+
W((g) => {
|
|
476
|
+
t ? d.onItemLeave(g) : (d.onItemEnter(g), g.defaultPrevented || g.currentTarget.focus({ preventScroll: !0 }));
|
|
477
|
+
})
|
|
478
|
+
),
|
|
479
|
+
onPointerLeave: M(
|
|
480
|
+
e.onPointerLeave,
|
|
481
|
+
W((g) => d.onItemLeave(g))
|
|
482
|
+
),
|
|
483
|
+
onFocus: M(e.onFocus, () => u(!0)),
|
|
484
|
+
onBlur: M(e.onBlur, () => u(!1))
|
|
485
|
+
}
|
|
486
|
+
) })
|
|
487
|
+
}
|
|
488
|
+
);
|
|
489
|
+
}
|
|
490
|
+
), to = "MenuCheckboxItem", He = a.forwardRef(
|
|
491
|
+
(e, o) => {
|
|
492
|
+
const { checked: n = !1, onCheckedChange: t, ...r } = e;
|
|
493
|
+
return /* @__PURE__ */ s(Je, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ s(
|
|
494
|
+
ae,
|
|
495
|
+
{
|
|
496
|
+
role: "menuitemcheckbox",
|
|
497
|
+
"aria-checked": oe(n) ? "mixed" : n,
|
|
498
|
+
...r,
|
|
499
|
+
ref: o,
|
|
500
|
+
"data-state": Re(n),
|
|
501
|
+
onSelect: M(
|
|
502
|
+
r.onSelect,
|
|
503
|
+
() => t == null ? void 0 : t(oe(n) ? !0 : !n),
|
|
504
|
+
{ checkForDefaultPrevented: !1 }
|
|
505
|
+
)
|
|
506
|
+
}
|
|
507
|
+
) });
|
|
508
|
+
}
|
|
509
|
+
);
|
|
510
|
+
He.displayName = to;
|
|
511
|
+
var We = "MenuRadioGroup", [ro, ao] = k(
|
|
512
|
+
We,
|
|
513
|
+
{ value: void 0, onValueChange: () => {
|
|
514
|
+
} }
|
|
515
|
+
), ze = a.forwardRef(
|
|
516
|
+
(e, o) => {
|
|
517
|
+
const { value: n, onValueChange: t, ...r } = e, c = ve(t);
|
|
518
|
+
return /* @__PURE__ */ s(ro, { scope: e.__scopeMenu, value: n, onValueChange: c, children: /* @__PURE__ */ s(_e, { ...r, ref: o }) });
|
|
519
|
+
}
|
|
520
|
+
);
|
|
521
|
+
ze.displayName = We;
|
|
522
|
+
var qe = "MenuRadioItem", Ze = a.forwardRef(
|
|
523
|
+
(e, o) => {
|
|
524
|
+
const { value: n, ...t } = e, r = ao(qe, e.__scopeMenu), c = n === r.value;
|
|
525
|
+
return /* @__PURE__ */ s(Je, { scope: e.__scopeMenu, checked: c, children: /* @__PURE__ */ s(
|
|
526
|
+
ae,
|
|
527
|
+
{
|
|
528
|
+
role: "menuitemradio",
|
|
529
|
+
"aria-checked": c,
|
|
530
|
+
...t,
|
|
531
|
+
ref: o,
|
|
532
|
+
"data-state": Re(c),
|
|
533
|
+
onSelect: M(
|
|
534
|
+
t.onSelect,
|
|
535
|
+
() => {
|
|
536
|
+
var d;
|
|
537
|
+
return (d = r.onValueChange) == null ? void 0 : d.call(r, n);
|
|
538
|
+
},
|
|
539
|
+
{ checkForDefaultPrevented: !1 }
|
|
540
|
+
)
|
|
541
|
+
}
|
|
542
|
+
) });
|
|
543
|
+
}
|
|
544
|
+
);
|
|
545
|
+
Ze.displayName = qe;
|
|
546
|
+
var Ce = "MenuItemIndicator", [Je, co] = k(
|
|
547
|
+
Ce,
|
|
548
|
+
{ checked: !1 }
|
|
549
|
+
), Qe = a.forwardRef(
|
|
550
|
+
(e, o) => {
|
|
551
|
+
const { __scopeMenu: n, forceMount: t, ...r } = e, c = co(Ce, n);
|
|
552
|
+
return /* @__PURE__ */ s(
|
|
553
|
+
te,
|
|
554
|
+
{
|
|
555
|
+
present: t || oe(c.checked) || c.checked === !0,
|
|
556
|
+
children: /* @__PURE__ */ s(
|
|
557
|
+
N.span,
|
|
558
|
+
{
|
|
559
|
+
...r,
|
|
560
|
+
ref: o,
|
|
561
|
+
"data-state": Re(c.checked)
|
|
562
|
+
}
|
|
563
|
+
)
|
|
564
|
+
}
|
|
565
|
+
);
|
|
566
|
+
}
|
|
567
|
+
);
|
|
568
|
+
Qe.displayName = Ce;
|
|
569
|
+
var so = "MenuSeparator", en = a.forwardRef(
|
|
570
|
+
(e, o) => {
|
|
571
|
+
const { __scopeMenu: n, ...t } = e;
|
|
572
|
+
return /* @__PURE__ */ s(
|
|
573
|
+
N.div,
|
|
574
|
+
{
|
|
575
|
+
role: "separator",
|
|
576
|
+
"aria-orientation": "horizontal",
|
|
577
|
+
...t,
|
|
578
|
+
ref: o
|
|
579
|
+
}
|
|
580
|
+
);
|
|
581
|
+
}
|
|
582
|
+
);
|
|
583
|
+
en.displayName = so;
|
|
584
|
+
var uo = "MenuArrow", nn = a.forwardRef(
|
|
585
|
+
(e, o) => {
|
|
586
|
+
const { __scopeMenu: n, ...t } = e, r = re(n);
|
|
587
|
+
return /* @__PURE__ */ s(En, { ...r, ...t, ref: o });
|
|
588
|
+
}
|
|
589
|
+
);
|
|
590
|
+
nn.displayName = uo;
|
|
591
|
+
var io = "MenuSub", [at, on] = k(io), j = "MenuSubTrigger", tn = a.forwardRef(
|
|
592
|
+
(e, o) => {
|
|
593
|
+
const n = G(j, e.__scopeMenu), t = Z(j, e.__scopeMenu), r = on(j, e.__scopeMenu), c = we(j, e.__scopeMenu), d = a.useRef(null), { pointerGraceTimerRef: l, onPointerGraceIntentChange: m } = c, v = { __scopeMenu: e.__scopeMenu }, i = a.useCallback(() => {
|
|
594
|
+
d.current && window.clearTimeout(d.current), d.current = null;
|
|
595
|
+
}, []);
|
|
596
|
+
return a.useEffect(() => i, [i]), a.useEffect(() => {
|
|
597
|
+
const u = l.current;
|
|
598
|
+
return () => {
|
|
599
|
+
window.clearTimeout(u), m(null);
|
|
600
|
+
};
|
|
601
|
+
}, [l, m]), /* @__PURE__ */ s(Me, { asChild: !0, ...v, children: /* @__PURE__ */ s(
|
|
602
|
+
je,
|
|
603
|
+
{
|
|
604
|
+
id: r.triggerId,
|
|
605
|
+
"aria-haspopup": "menu",
|
|
606
|
+
"aria-expanded": n.open,
|
|
607
|
+
"aria-controls": r.contentId,
|
|
608
|
+
"data-state": cn(n.open),
|
|
609
|
+
...e,
|
|
610
|
+
ref: ye(o, r.onTriggerChange),
|
|
611
|
+
onClick: (u) => {
|
|
612
|
+
var f;
|
|
613
|
+
(f = e.onClick) == null || f.call(e, u), !(e.disabled || u.defaultPrevented) && (u.currentTarget.focus(), n.open || n.onOpenChange(!0));
|
|
614
|
+
},
|
|
615
|
+
onPointerMove: M(
|
|
616
|
+
e.onPointerMove,
|
|
617
|
+
W((u) => {
|
|
618
|
+
c.onItemEnter(u), !u.defaultPrevented && !e.disabled && !n.open && !d.current && (c.onPointerGraceIntentChange(null), d.current = window.setTimeout(() => {
|
|
619
|
+
n.onOpenChange(!0), i();
|
|
620
|
+
}, 100));
|
|
621
|
+
})
|
|
622
|
+
),
|
|
623
|
+
onPointerLeave: M(
|
|
624
|
+
e.onPointerLeave,
|
|
625
|
+
W((u) => {
|
|
626
|
+
var w, g;
|
|
627
|
+
i();
|
|
628
|
+
const f = (w = n.content) == null ? void 0 : w.getBoundingClientRect();
|
|
629
|
+
if (f) {
|
|
630
|
+
const E = (g = n.content) == null ? void 0 : g.dataset.side, h = E === "right", I = h ? -5 : 5, x = f[h ? "left" : "right"], _ = f[h ? "right" : "left"];
|
|
631
|
+
c.onPointerGraceIntentChange({
|
|
632
|
+
area: [
|
|
633
|
+
// Apply a bleed on clientX to ensure that our exit point is
|
|
634
|
+
// consistently within polygon bounds
|
|
635
|
+
{ x: u.clientX + I, y: u.clientY },
|
|
636
|
+
{ x, y: f.top },
|
|
637
|
+
{ x: _, y: f.top },
|
|
638
|
+
{ x: _, y: f.bottom },
|
|
639
|
+
{ x, y: f.bottom }
|
|
640
|
+
],
|
|
641
|
+
side: E
|
|
642
|
+
}), window.clearTimeout(l.current), l.current = window.setTimeout(
|
|
643
|
+
() => c.onPointerGraceIntentChange(null),
|
|
644
|
+
300
|
|
645
|
+
);
|
|
646
|
+
} else {
|
|
647
|
+
if (c.onTriggerLeave(u), u.defaultPrevented) return;
|
|
648
|
+
c.onPointerGraceIntentChange(null);
|
|
649
|
+
}
|
|
650
|
+
})
|
|
651
|
+
),
|
|
652
|
+
onKeyDown: M(e.onKeyDown, (u) => {
|
|
653
|
+
var w;
|
|
654
|
+
const f = c.searchRef.current !== "";
|
|
655
|
+
e.disabled || f && u.key === " " || Vn[t.dir].includes(u.key) && (n.onOpenChange(!0), (w = n.content) == null || w.focus(), u.preventDefault());
|
|
656
|
+
})
|
|
657
|
+
}
|
|
658
|
+
) });
|
|
659
|
+
}
|
|
660
|
+
);
|
|
661
|
+
tn.displayName = j;
|
|
662
|
+
var rn = "MenuSubContent", an = a.forwardRef(
|
|
663
|
+
(e, o) => {
|
|
664
|
+
const n = Be(S, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = G(S, e.__scopeMenu), d = Z(S, e.__scopeMenu), l = on(rn, e.__scopeMenu), m = a.useRef(null), v = $(o, m);
|
|
665
|
+
return /* @__PURE__ */ s(H.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(te, { present: t || c.open, children: /* @__PURE__ */ s(H.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(
|
|
666
|
+
he,
|
|
667
|
+
{
|
|
668
|
+
id: l.contentId,
|
|
669
|
+
"aria-labelledby": l.triggerId,
|
|
670
|
+
...r,
|
|
671
|
+
ref: v,
|
|
672
|
+
align: "start",
|
|
673
|
+
side: d.dir === "rtl" ? "left" : "right",
|
|
674
|
+
disableOutsidePointerEvents: !1,
|
|
675
|
+
disableOutsideScroll: !1,
|
|
676
|
+
trapFocus: !1,
|
|
677
|
+
onOpenAutoFocus: (i) => {
|
|
678
|
+
var u;
|
|
679
|
+
d.isUsingKeyboardRef.current && ((u = m.current) == null || u.focus()), i.preventDefault();
|
|
680
|
+
},
|
|
681
|
+
onCloseAutoFocus: (i) => i.preventDefault(),
|
|
682
|
+
onFocusOutside: M(e.onFocusOutside, (i) => {
|
|
683
|
+
i.target !== l.trigger && c.onOpenChange(!1);
|
|
684
|
+
}),
|
|
685
|
+
onEscapeKeyDown: M(e.onEscapeKeyDown, (i) => {
|
|
686
|
+
d.onClose(), i.preventDefault();
|
|
687
|
+
}),
|
|
688
|
+
onKeyDown: M(e.onKeyDown, (i) => {
|
|
689
|
+
var w;
|
|
690
|
+
const u = i.currentTarget.contains(i.target), f = Yn[d.dir].includes(i.key);
|
|
691
|
+
u && f && (c.onOpenChange(!1), (w = l.trigger) == null || w.focus(), i.preventDefault());
|
|
692
|
+
})
|
|
693
|
+
}
|
|
694
|
+
) }) }) });
|
|
695
|
+
}
|
|
696
|
+
);
|
|
697
|
+
an.displayName = rn;
|
|
698
|
+
function cn(e) {
|
|
699
|
+
return e ? "open" : "closed";
|
|
700
|
+
}
|
|
701
|
+
function oe(e) {
|
|
702
|
+
return e === "indeterminate";
|
|
703
|
+
}
|
|
704
|
+
function Re(e) {
|
|
705
|
+
return oe(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
706
|
+
}
|
|
707
|
+
function lo(e) {
|
|
708
|
+
const o = document.activeElement;
|
|
709
|
+
for (const n of e)
|
|
710
|
+
if (n === o || (n.focus(), document.activeElement !== o)) return;
|
|
711
|
+
}
|
|
712
|
+
function fo(e, o) {
|
|
713
|
+
return e.map((n, t) => e[(o + t) % e.length]);
|
|
714
|
+
}
|
|
715
|
+
function po(e, o, n) {
|
|
716
|
+
const r = o.length > 1 && Array.from(o).every((v) => v === o[0]) ? o[0] : o, c = n ? e.indexOf(n) : -1;
|
|
717
|
+
let d = fo(e, Math.max(c, 0));
|
|
718
|
+
r.length === 1 && (d = d.filter((v) => v !== n));
|
|
719
|
+
const m = d.find(
|
|
720
|
+
(v) => v.toLowerCase().startsWith(r.toLowerCase())
|
|
721
|
+
);
|
|
722
|
+
return m !== n ? m : void 0;
|
|
723
|
+
}
|
|
724
|
+
function mo(e, o) {
|
|
725
|
+
const { x: n, y: t } = e;
|
|
726
|
+
let r = !1;
|
|
727
|
+
for (let c = 0, d = o.length - 1; c < o.length; d = c++) {
|
|
728
|
+
const l = o[c], m = o[d], v = l.x, i = l.y, u = m.x, f = m.y;
|
|
729
|
+
i > t != f > t && n < (u - v) * (t - i) / (f - i) + v && (r = !r);
|
|
730
|
+
}
|
|
731
|
+
return r;
|
|
732
|
+
}
|
|
733
|
+
function vo(e, o) {
|
|
734
|
+
if (!o) return !1;
|
|
735
|
+
const n = { x: e.clientX, y: e.clientY };
|
|
736
|
+
return mo(n, o);
|
|
737
|
+
}
|
|
738
|
+
function W(e) {
|
|
739
|
+
return (o) => o.pointerType === "mouse" ? e(o) : void 0;
|
|
740
|
+
}
|
|
741
|
+
var Mo = $e, go = Me, wo = Ve, ho = Ye, _o = _e, Co = Xe, Ro = ae, Io = He, Eo = ze, bo = Ze, So = Qe, Po = en, Do = nn, yo = tn, To = an, ce = "DropdownMenu", [xo, ct] = me(
|
|
742
|
+
ce,
|
|
743
|
+
[Ke]
|
|
744
|
+
), R = Ke(), [Ao, sn] = xo(ce), un = (e) => {
|
|
745
|
+
const {
|
|
746
|
+
__scopeDropdownMenu: o,
|
|
747
|
+
children: n,
|
|
748
|
+
dir: t,
|
|
749
|
+
open: r,
|
|
750
|
+
defaultOpen: c,
|
|
751
|
+
onOpenChange: d,
|
|
752
|
+
modal: l = !0
|
|
753
|
+
} = e, m = R(o), v = a.useRef(null), [i, u] = Pe({
|
|
754
|
+
prop: r,
|
|
755
|
+
defaultProp: c ?? !1,
|
|
756
|
+
onChange: d,
|
|
757
|
+
caller: ce
|
|
758
|
+
});
|
|
759
|
+
return /* @__PURE__ */ s(
|
|
760
|
+
Ao,
|
|
761
|
+
{
|
|
762
|
+
scope: o,
|
|
763
|
+
triggerId: le(),
|
|
764
|
+
triggerRef: v,
|
|
765
|
+
contentId: le(),
|
|
766
|
+
open: i,
|
|
767
|
+
onOpenChange: u,
|
|
768
|
+
onOpenToggle: a.useCallback(() => u((f) => !f), [u]),
|
|
769
|
+
modal: l,
|
|
770
|
+
children: /* @__PURE__ */ s(Mo, { ...m, open: i, onOpenChange: u, dir: t, modal: l, children: n })
|
|
771
|
+
}
|
|
772
|
+
);
|
|
773
|
+
};
|
|
774
|
+
un.displayName = ce;
|
|
775
|
+
var dn = "DropdownMenuTrigger", ln = a.forwardRef(
|
|
776
|
+
(e, o) => {
|
|
777
|
+
const { __scopeDropdownMenu: n, disabled: t = !1, ...r } = e, c = sn(dn, n), d = R(n);
|
|
778
|
+
return /* @__PURE__ */ s(go, { asChild: !0, ...d, children: /* @__PURE__ */ s(
|
|
779
|
+
N.button,
|
|
780
|
+
{
|
|
781
|
+
type: "button",
|
|
782
|
+
id: c.triggerId,
|
|
783
|
+
"aria-haspopup": "menu",
|
|
784
|
+
"aria-expanded": c.open,
|
|
785
|
+
"aria-controls": c.open ? c.contentId : void 0,
|
|
786
|
+
"data-state": c.open ? "open" : "closed",
|
|
787
|
+
"data-disabled": t ? "" : void 0,
|
|
788
|
+
disabled: t,
|
|
789
|
+
...r,
|
|
790
|
+
ref: ye(o, c.triggerRef),
|
|
791
|
+
onPointerDown: M(e.onPointerDown, (l) => {
|
|
792
|
+
!t && l.button === 0 && l.ctrlKey === !1 && (c.onOpenToggle(), c.open || l.preventDefault());
|
|
793
|
+
}),
|
|
794
|
+
onKeyDown: M(e.onKeyDown, (l) => {
|
|
795
|
+
t || (["Enter", " "].includes(l.key) && c.onOpenToggle(), l.key === "ArrowDown" && c.onOpenChange(!0), ["Enter", " ", "ArrowDown"].includes(l.key) && l.preventDefault());
|
|
796
|
+
})
|
|
797
|
+
}
|
|
798
|
+
) });
|
|
799
|
+
}
|
|
800
|
+
);
|
|
801
|
+
ln.displayName = dn;
|
|
802
|
+
var No = "DropdownMenuPortal", fn = (e) => {
|
|
803
|
+
const { __scopeDropdownMenu: o, ...n } = e, t = R(o);
|
|
804
|
+
return /* @__PURE__ */ s(wo, { ...t, ...n });
|
|
805
|
+
};
|
|
806
|
+
fn.displayName = No;
|
|
807
|
+
var pn = "DropdownMenuContent", mn = a.forwardRef(
|
|
808
|
+
(e, o) => {
|
|
809
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = sn(pn, n), c = R(n), d = a.useRef(!1);
|
|
810
|
+
return /* @__PURE__ */ s(
|
|
811
|
+
ho,
|
|
812
|
+
{
|
|
813
|
+
id: r.contentId,
|
|
814
|
+
"aria-labelledby": r.triggerId,
|
|
815
|
+
...c,
|
|
816
|
+
...t,
|
|
817
|
+
ref: o,
|
|
818
|
+
onCloseAutoFocus: M(e.onCloseAutoFocus, (l) => {
|
|
819
|
+
var m;
|
|
820
|
+
d.current || (m = r.triggerRef.current) == null || m.focus(), d.current = !1, l.preventDefault();
|
|
821
|
+
}),
|
|
822
|
+
onInteractOutside: M(e.onInteractOutside, (l) => {
|
|
823
|
+
const m = l.detail.originalEvent, v = m.button === 0 && m.ctrlKey === !0, i = m.button === 2 || v;
|
|
824
|
+
(!r.modal || i) && (d.current = !0);
|
|
825
|
+
}),
|
|
826
|
+
style: {
|
|
827
|
+
...e.style,
|
|
828
|
+
"--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
829
|
+
"--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
|
|
830
|
+
"--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
|
|
831
|
+
"--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
|
|
832
|
+
"--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
);
|
|
836
|
+
}
|
|
837
|
+
);
|
|
838
|
+
mn.displayName = pn;
|
|
839
|
+
var Oo = "DropdownMenuGroup", Fo = a.forwardRef(
|
|
840
|
+
(e, o) => {
|
|
841
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
|
|
842
|
+
return /* @__PURE__ */ s(_o, { ...r, ...t, ref: o });
|
|
843
|
+
}
|
|
844
|
+
);
|
|
845
|
+
Fo.displayName = Oo;
|
|
846
|
+
var ko = "DropdownMenuLabel", Go = a.forwardRef(
|
|
847
|
+
(e, o) => {
|
|
848
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
|
|
849
|
+
return /* @__PURE__ */ s(Co, { ...r, ...t, ref: o });
|
|
850
|
+
}
|
|
851
|
+
);
|
|
852
|
+
Go.displayName = ko;
|
|
853
|
+
var Lo = "DropdownMenuItem", vn = a.forwardRef(
|
|
854
|
+
(e, o) => {
|
|
855
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
|
|
856
|
+
return /* @__PURE__ */ s(Ro, { ...r, ...t, ref: o });
|
|
857
|
+
}
|
|
858
|
+
);
|
|
859
|
+
vn.displayName = Lo;
|
|
860
|
+
var Ko = "DropdownMenuCheckboxItem", Uo = a.forwardRef((e, o) => {
|
|
861
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
|
|
862
|
+
return /* @__PURE__ */ s(Io, { ...r, ...t, ref: o });
|
|
863
|
+
});
|
|
864
|
+
Uo.displayName = Ko;
|
|
865
|
+
var $o = "DropdownMenuRadioGroup", Bo = a.forwardRef((e, o) => {
|
|
866
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
|
|
867
|
+
return /* @__PURE__ */ s(Eo, { ...r, ...t, ref: o });
|
|
868
|
+
});
|
|
869
|
+
Bo.displayName = $o;
|
|
870
|
+
var Vo = "DropdownMenuRadioItem", Yo = a.forwardRef((e, o) => {
|
|
871
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
|
|
872
|
+
return /* @__PURE__ */ s(bo, { ...r, ...t, ref: o });
|
|
873
|
+
});
|
|
874
|
+
Yo.displayName = Vo;
|
|
875
|
+
var Xo = "DropdownMenuItemIndicator", jo = a.forwardRef((e, o) => {
|
|
876
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
|
|
877
|
+
return /* @__PURE__ */ s(So, { ...r, ...t, ref: o });
|
|
878
|
+
});
|
|
879
|
+
jo.displayName = Xo;
|
|
880
|
+
var Ho = "DropdownMenuSeparator", Wo = a.forwardRef((e, o) => {
|
|
881
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
|
|
882
|
+
return /* @__PURE__ */ s(Po, { ...r, ...t, ref: o });
|
|
883
|
+
});
|
|
884
|
+
Wo.displayName = Ho;
|
|
885
|
+
var zo = "DropdownMenuArrow", qo = a.forwardRef(
|
|
886
|
+
(e, o) => {
|
|
887
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
|
|
888
|
+
return /* @__PURE__ */ s(Do, { ...r, ...t, ref: o });
|
|
889
|
+
}
|
|
890
|
+
);
|
|
891
|
+
qo.displayName = zo;
|
|
892
|
+
var Zo = "DropdownMenuSubTrigger", Jo = a.forwardRef((e, o) => {
|
|
893
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
|
|
894
|
+
return /* @__PURE__ */ s(yo, { ...r, ...t, ref: o });
|
|
895
|
+
});
|
|
896
|
+
Jo.displayName = Zo;
|
|
897
|
+
var Qo = "DropdownMenuSubContent", et = a.forwardRef((e, o) => {
|
|
898
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = R(n);
|
|
899
|
+
return /* @__PURE__ */ s(
|
|
900
|
+
To,
|
|
901
|
+
{
|
|
902
|
+
...r,
|
|
903
|
+
...t,
|
|
904
|
+
ref: o,
|
|
905
|
+
style: {
|
|
906
|
+
...e.style,
|
|
907
|
+
"--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
908
|
+
"--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
|
|
909
|
+
"--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
|
|
910
|
+
"--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
|
|
911
|
+
"--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
);
|
|
915
|
+
});
|
|
916
|
+
et.displayName = Qo;
|
|
917
|
+
var st = un, ut = ln, it = fn, dt = mn, lt = vn;
|
|
918
|
+
export {
|
|
919
|
+
dt as C,
|
|
920
|
+
lt as I,
|
|
921
|
+
it as P,
|
|
922
|
+
st as R,
|
|
923
|
+
ut as T
|
|
924
|
+
};
|