@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,38 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type DateMonthYearSwitchProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Current month in format 'yyyy-MM'
|
|
6
|
+
*/
|
|
7
|
+
currentMonth: string;
|
|
8
|
+
/**
|
|
9
|
+
* Current date value
|
|
10
|
+
*/
|
|
11
|
+
value: string | Date;
|
|
12
|
+
/**
|
|
13
|
+
* Minimum date allowed
|
|
14
|
+
*/
|
|
15
|
+
min: Date;
|
|
16
|
+
/**
|
|
17
|
+
* Maximum date allowed
|
|
18
|
+
*/
|
|
19
|
+
max: Date;
|
|
20
|
+
/**
|
|
21
|
+
* Callback when onChange is triggered
|
|
22
|
+
*/
|
|
23
|
+
onChange: React.Dispatch<React.SetStateAction<string | Date>>;
|
|
24
|
+
/**
|
|
25
|
+
* Callback to update current month
|
|
26
|
+
*/
|
|
27
|
+
onMonthChange: React.Dispatch<React.SetStateAction<string>>;
|
|
28
|
+
/**
|
|
29
|
+
* Callback to close the month/year switch
|
|
30
|
+
*/
|
|
31
|
+
onClose: () => void;
|
|
32
|
+
/**
|
|
33
|
+
* The timezone of the date selector.
|
|
34
|
+
* Must be a valid timezone string.
|
|
35
|
+
*/
|
|
36
|
+
timezone: string;
|
|
37
|
+
};
|
|
38
|
+
export declare const DateMonthYearSwitch: React.FC<DateMonthYearSwitchProps>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsxs as e, Fragment as a, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Icons as n } from "../../icons/icons.js";
|
|
3
|
+
import "../../icons/iconsSVGs/Large/Profile.js";
|
|
4
|
+
import "../../icons/iconsSVGs/Small/Profile.js";
|
|
5
|
+
import { Typography as f } from "../../../styles/typography/typography.js";
|
|
6
|
+
import { MonthSwitch as h } from "./month-switch.js";
|
|
7
|
+
import { YearSwitch as y } from "./year-switch.js";
|
|
8
|
+
import { m as p } from "../../../../index-CYyrKZeH.js";
|
|
9
|
+
const j = ({
|
|
10
|
+
currentMonth: t,
|
|
11
|
+
value: o,
|
|
12
|
+
min: i,
|
|
13
|
+
max: m,
|
|
14
|
+
onChange: s,
|
|
15
|
+
onMonthChange: l,
|
|
16
|
+
onClose: c,
|
|
17
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
18
|
+
timezone: d
|
|
19
|
+
}) => /* @__PURE__ */ e(a, { children: [
|
|
20
|
+
/* @__PURE__ */ e("div", { className: "h-[3rem] flex items-center w-full relative", children: [
|
|
21
|
+
/* @__PURE__ */ r(
|
|
22
|
+
f,
|
|
23
|
+
{
|
|
24
|
+
swStyle: 5,
|
|
25
|
+
children: p(t, "yyyy-MM").format("MMMM yyyy"),
|
|
26
|
+
className: "w-full text-center"
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
/* @__PURE__ */ r("div", { className: "absolute right-0 top-0", children: /* @__PURE__ */ r(
|
|
30
|
+
n,
|
|
31
|
+
{
|
|
32
|
+
disabled: !1,
|
|
33
|
+
button: !0,
|
|
34
|
+
handleClick: c,
|
|
35
|
+
icon: "Cross",
|
|
36
|
+
color: "active"
|
|
37
|
+
}
|
|
38
|
+
) })
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ e("div", { className: "flex justify-evenly min-w-[30rem]", children: [
|
|
41
|
+
/* @__PURE__ */ r(
|
|
42
|
+
h,
|
|
43
|
+
{
|
|
44
|
+
onChange: s,
|
|
45
|
+
currMonth: t,
|
|
46
|
+
setCurrMonth: l,
|
|
47
|
+
value: o,
|
|
48
|
+
min: i,
|
|
49
|
+
max: m
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
/* @__PURE__ */ r(
|
|
53
|
+
y,
|
|
54
|
+
{
|
|
55
|
+
onChange: s,
|
|
56
|
+
currMonth: t,
|
|
57
|
+
setCurrMonth: l,
|
|
58
|
+
value: o,
|
|
59
|
+
min: i,
|
|
60
|
+
max: m
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
] })
|
|
64
|
+
] });
|
|
65
|
+
export {
|
|
66
|
+
j as DateMonthYearSwitch
|
|
67
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type DateselectProps = {
|
|
4
|
+
/**
|
|
5
|
+
* the variable for the label string
|
|
6
|
+
*/
|
|
7
|
+
label?: string;
|
|
8
|
+
/**
|
|
9
|
+
* the variable for the hint string
|
|
10
|
+
*/
|
|
11
|
+
helperText?: string;
|
|
12
|
+
/**
|
|
13
|
+
* the date to display the calendar
|
|
14
|
+
*/
|
|
15
|
+
value: string | Date;
|
|
16
|
+
/**
|
|
17
|
+
* setState to control the state of the date to display the calendar
|
|
18
|
+
*/
|
|
19
|
+
onChange: React.Dispatch<React.SetStateAction<string | Date>>;
|
|
20
|
+
/**
|
|
21
|
+
* The timezone of the date selector.
|
|
22
|
+
* Must be a valid timezone string.
|
|
23
|
+
*/
|
|
24
|
+
timezone?: string;
|
|
25
|
+
/**
|
|
26
|
+
* pass onBlur func
|
|
27
|
+
*/
|
|
28
|
+
onBlur?: () => void;
|
|
29
|
+
/**
|
|
30
|
+
* error state for the component
|
|
31
|
+
*/
|
|
32
|
+
error?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* warning state for the component
|
|
35
|
+
*/
|
|
36
|
+
warning?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* disabled state for the component
|
|
39
|
+
*/
|
|
40
|
+
disabled?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* min date can be selected
|
|
43
|
+
*/
|
|
44
|
+
min?: Date;
|
|
45
|
+
/**
|
|
46
|
+
* max date can be selected
|
|
47
|
+
*/
|
|
48
|
+
max?: Date;
|
|
49
|
+
/**
|
|
50
|
+
* optional autoFocus
|
|
51
|
+
*/
|
|
52
|
+
autoFocus?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* position of the dropdown component
|
|
55
|
+
*/
|
|
56
|
+
isDropdownRightAligned?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* optional className for the component
|
|
59
|
+
*/
|
|
60
|
+
className?: string;
|
|
61
|
+
};
|
|
62
|
+
export declare const Dateselect: React.ForwardRefExoticComponent<DateselectProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { jsxs as z, jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import l, { useState as Y } from "react";
|
|
3
|
+
import { Icons as W } from "../../icons/icons.js";
|
|
4
|
+
import "../../icons/iconsSVGs/Large/Profile.js";
|
|
5
|
+
import "../../icons/iconsSVGs/Small/Profile.js";
|
|
6
|
+
import { getStyles as X } from "./styles.js";
|
|
7
|
+
import { t as k } from "../../../../bundle-mjs-CAy1p0fn.js";
|
|
8
|
+
import { m as n } from "../../../../index-CYyrKZeH.js";
|
|
9
|
+
import { Typography as A } from "../../../styles/typography/typography.js";
|
|
10
|
+
import { getLabelColor as Z, getInnerIconColor as tt, getBorderClasses as et, getHelperTextColor as ot } from "../utils-for-forms/state-functions.js";
|
|
11
|
+
import { FormHelperText as nt } from "../form-helper-text/form-helper-text.js";
|
|
12
|
+
import { DateInput as rt } from "./date-input.js";
|
|
13
|
+
import { DateDropdown as st } from "./date-dropdown.js";
|
|
14
|
+
import { s as at } from "../../../../startOfToday-BPMZZniU.js";
|
|
15
|
+
import { a as L } from "../../../../addYears-D3POA9ql.js";
|
|
16
|
+
import { f as b } from "../../../../format-BwmhcciO.js";
|
|
17
|
+
const zt = l.forwardRef(
|
|
18
|
+
({
|
|
19
|
+
label: R,
|
|
20
|
+
helperText: v,
|
|
21
|
+
value: r,
|
|
22
|
+
onChange: u,
|
|
23
|
+
timezone: j,
|
|
24
|
+
onBlur: M,
|
|
25
|
+
error: i = !1,
|
|
26
|
+
warning: m = !1,
|
|
27
|
+
disabled: e = !1,
|
|
28
|
+
autoFocus: F = !1,
|
|
29
|
+
min: h = L(/* @__PURE__ */ new Date(), -5),
|
|
30
|
+
max: d = L(/* @__PURE__ */ new Date(), 5),
|
|
31
|
+
isDropdownRightAligned: H,
|
|
32
|
+
className: I
|
|
33
|
+
}, V) => {
|
|
34
|
+
console.log("value", r);
|
|
35
|
+
const D = l.useRef(null), C = l.useRef(null), [s, c] = Y(!1), [_, w] = Y(!1), [p, g] = Y(!1), o = j || n.tz.guess(), T = (t) => {
|
|
36
|
+
D.current && !D.current.contains(t.target) && (s || p) && (g(!1), c(!1), w(!1), M == null || M());
|
|
37
|
+
};
|
|
38
|
+
l.useEffect(() => (document.addEventListener("mousedown", T), () => {
|
|
39
|
+
document.removeEventListener("mousedown", T);
|
|
40
|
+
}), [s, p]), l.useEffect(() => {
|
|
41
|
+
s && C.current && C.current.select();
|
|
42
|
+
}, [s]);
|
|
43
|
+
const x = X(), K = Z(p, m, i, e), $ = ot(m, i, e), E = et(p, m, i, e), N = tt(p, m, i, e), q = at(), [O, y] = l.useState(() => r ? n(r).tz(o).format("yyyy-MM") : n(q).tz(o).format("yyyy-MM")), B = () => {
|
|
44
|
+
const a = n.tz(O, o).clone().subtract(1, "month");
|
|
45
|
+
y(b(a.toDate(), "yyyy-MM"));
|
|
46
|
+
}, G = () => {
|
|
47
|
+
const a = n.tz(O, o).clone().add(1, "month");
|
|
48
|
+
y(b(a.toDate(), "yyyy-MM"));
|
|
49
|
+
}, P = (t) => {
|
|
50
|
+
const a = n(t), J = a.year(), Q = a.month(), U = a.date(), S = n(r).tz(o).year(J).month(Q).date(U).toDate();
|
|
51
|
+
if (S < h) {
|
|
52
|
+
u(h);
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
if (S > d) {
|
|
56
|
+
u(d);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
u(S);
|
|
60
|
+
};
|
|
61
|
+
return /* @__PURE__ */ z("div", { ref: D, className: k("w-[15.5rem]", I), children: [
|
|
62
|
+
R && /* @__PURE__ */ f(A, { swStyle: 3, color: K, children: R }),
|
|
63
|
+
/* @__PURE__ */ z(
|
|
64
|
+
"div",
|
|
65
|
+
{
|
|
66
|
+
className: "relative",
|
|
67
|
+
onKeyDown: (t) => {
|
|
68
|
+
t.key === "Escape" && c(!1);
|
|
69
|
+
},
|
|
70
|
+
onFocus: () => {
|
|
71
|
+
g(!0);
|
|
72
|
+
},
|
|
73
|
+
onBlur: () => {
|
|
74
|
+
c(!1);
|
|
75
|
+
},
|
|
76
|
+
children: [
|
|
77
|
+
s ? /* @__PURE__ */ f(
|
|
78
|
+
rt,
|
|
79
|
+
{
|
|
80
|
+
inputRef: C,
|
|
81
|
+
value: r,
|
|
82
|
+
min: h,
|
|
83
|
+
max: d,
|
|
84
|
+
disabled: e,
|
|
85
|
+
onDateChange: P,
|
|
86
|
+
onCloseDropdown: () => c(!1),
|
|
87
|
+
onMonthChange: y,
|
|
88
|
+
borderClasses: E,
|
|
89
|
+
containerClasses: x.container,
|
|
90
|
+
iconColor: N,
|
|
91
|
+
className: I,
|
|
92
|
+
timezone: o
|
|
93
|
+
}
|
|
94
|
+
) : /* @__PURE__ */ z(
|
|
95
|
+
"button",
|
|
96
|
+
{
|
|
97
|
+
autoFocus: F,
|
|
98
|
+
type: "button",
|
|
99
|
+
ref: V,
|
|
100
|
+
className: k(
|
|
101
|
+
`${s ? "hidden" : ""}`,
|
|
102
|
+
x.container,
|
|
103
|
+
E,
|
|
104
|
+
e ? "cursor-not-allowed bg-surface-disabled" : ""
|
|
105
|
+
),
|
|
106
|
+
onClick: (t) => {
|
|
107
|
+
t.stopPropagation(), c(!0);
|
|
108
|
+
},
|
|
109
|
+
onBlur: (t) => {
|
|
110
|
+
g(!1), t.stopPropagation();
|
|
111
|
+
},
|
|
112
|
+
disabled: e,
|
|
113
|
+
children: [
|
|
114
|
+
/* @__PURE__ */ f(
|
|
115
|
+
A,
|
|
116
|
+
{
|
|
117
|
+
swStyle: 5,
|
|
118
|
+
children: n(r).tz(o).format("MM/DD/YYYY"),
|
|
119
|
+
color: e ? "disabled" : "default"
|
|
120
|
+
}
|
|
121
|
+
),
|
|
122
|
+
/* @__PURE__ */ f(W, { disabled: !0, icon: "Calendar", color: N })
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
),
|
|
126
|
+
/* @__PURE__ */ f(
|
|
127
|
+
st,
|
|
128
|
+
{
|
|
129
|
+
isOpen: s,
|
|
130
|
+
isMonthYearSwitchOpen: _,
|
|
131
|
+
currentMonth: O,
|
|
132
|
+
value: r,
|
|
133
|
+
min: h,
|
|
134
|
+
max: d,
|
|
135
|
+
isDropdownRightAligned: H,
|
|
136
|
+
onDateChange: P,
|
|
137
|
+
onCloseDropdown: () => c(!1),
|
|
138
|
+
onMonthChange: y,
|
|
139
|
+
onToggleMonthYearSwitch: () => w(!0),
|
|
140
|
+
onCloseMonthYearSwitch: () => w(!1),
|
|
141
|
+
onPreviousMonth: B,
|
|
142
|
+
onNextMonth: G,
|
|
143
|
+
onChange: u,
|
|
144
|
+
timezone: o
|
|
145
|
+
}
|
|
146
|
+
)
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
),
|
|
150
|
+
v && /* @__PURE__ */ f(
|
|
151
|
+
nt,
|
|
152
|
+
{
|
|
153
|
+
helperText: v,
|
|
154
|
+
warning: m,
|
|
155
|
+
error: i,
|
|
156
|
+
helperTextAndIconColor: $
|
|
157
|
+
}
|
|
158
|
+
)
|
|
159
|
+
] });
|
|
160
|
+
}
|
|
161
|
+
);
|
|
162
|
+
export {
|
|
163
|
+
zt as Dateselect
|
|
164
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const formatShortMonthYear: (shortDate: string) => string;
|
|
2
|
+
export declare const parseShortMonthYear: (dateString: any) => Date;
|
|
3
|
+
export declare const formatDateToMonthYear: (date: any) => string;
|
|
4
|
+
/**
|
|
5
|
+
* Generates an array of the first day of each month within the specified date interval.
|
|
6
|
+
* This version minimizes reliance on the Date class for cross-browser compatibility (e.g. Safari).
|
|
7
|
+
*
|
|
8
|
+
* @param {Object} interval - The start and end of the interval.
|
|
9
|
+
* @param {Date} interval.start - The start date of the interval.
|
|
10
|
+
* @param {Date} interval.end - The end date of the interval.
|
|
11
|
+
* @returns {Date[]} - Array of dates representing the first day of each month.
|
|
12
|
+
*
|
|
13
|
+
* @throws {Error} - If the start date is after the end date.
|
|
14
|
+
*/
|
|
15
|
+
export declare const eachMonthOfInterval: (interval: {
|
|
16
|
+
start: Date;
|
|
17
|
+
end: Date;
|
|
18
|
+
}) => string[];
|
|
19
|
+
/**
|
|
20
|
+
* Generates an array of the first day of each year within the specified date interval.
|
|
21
|
+
* This version minimizes reliance on the Date class for cross-browser compatibility (e.g. Safari).
|
|
22
|
+
*
|
|
23
|
+
* @param {Object} interval - The start and end of the interval.
|
|
24
|
+
* @param {Date} interval.start - The start date of the interval.
|
|
25
|
+
* @param {Date} interval.end - The end date of the interval.
|
|
26
|
+
* @returns {Date[]} - Array of dates representing the first day of each year.
|
|
27
|
+
*
|
|
28
|
+
* @throws {Error} - If the start date is after the end date.
|
|
29
|
+
*/
|
|
30
|
+
export declare const eachYearOfInterval: (interval: {
|
|
31
|
+
start: Date;
|
|
32
|
+
end: Date;
|
|
33
|
+
}) => Date[];
|
|
34
|
+
export declare const isSameMonth: (shortDate: any, currentDay: any) => boolean;
|
|
35
|
+
export declare const isSameWeek: (dateLeft: any, dateRight: any, weekStartsOn?: number) => boolean;
|
|
36
|
+
export declare const endOfMonth: (date: Date) => Date;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
const g = (r) => {
|
|
2
|
+
const t = {
|
|
3
|
+
Jan: "January",
|
|
4
|
+
Feb: "February",
|
|
5
|
+
Mar: "March",
|
|
6
|
+
Apr: "April",
|
|
7
|
+
May: "May",
|
|
8
|
+
Jun: "June",
|
|
9
|
+
Jul: "July",
|
|
10
|
+
Aug: "August",
|
|
11
|
+
Sep: "September",
|
|
12
|
+
Oct: "October",
|
|
13
|
+
Nov: "November",
|
|
14
|
+
Dec: "December"
|
|
15
|
+
}, [e, n] = r.split("-"), o = t[e];
|
|
16
|
+
if (!o || !n)
|
|
17
|
+
throw new Error("Invalid date format");
|
|
18
|
+
return `${o} ${n}`;
|
|
19
|
+
}, d = (r) => {
|
|
20
|
+
const t = {
|
|
21
|
+
Jan: 0,
|
|
22
|
+
Feb: 1,
|
|
23
|
+
Mar: 2,
|
|
24
|
+
Apr: 3,
|
|
25
|
+
May: 4,
|
|
26
|
+
Jun: 5,
|
|
27
|
+
Jul: 6,
|
|
28
|
+
Aug: 7,
|
|
29
|
+
Sep: 8,
|
|
30
|
+
Oct: 9,
|
|
31
|
+
Nov: 10,
|
|
32
|
+
Dec: 11
|
|
33
|
+
}, [e, n] = r.split("-"), o = parseInt(n, 10), a = t[e];
|
|
34
|
+
return isNaN(o) || a === void 0 ? /* @__PURE__ */ new Date(NaN) : new Date(o, a);
|
|
35
|
+
}, p = (r) => {
|
|
36
|
+
const t = { month: "short", year: "numeric" }, [e, n] = r.toLocaleDateString("en-US", t).split(" ");
|
|
37
|
+
return `${e}-${n}`;
|
|
38
|
+
}, D = (r) => {
|
|
39
|
+
const { start: t, end: e } = r;
|
|
40
|
+
if (t > e)
|
|
41
|
+
throw new Error("The start of the interval cannot be after the end");
|
|
42
|
+
const n = t.getFullYear(), o = t.getMonth(), a = e.getFullYear(), s = e.getMonth(), h = [];
|
|
43
|
+
for (let c = n; c <= a; c++) {
|
|
44
|
+
const f = c === n ? o : 0, i = c === a ? s : 11;
|
|
45
|
+
for (let u = f; u <= i; u++) {
|
|
46
|
+
const M = String(u + 1).padStart(2, "0"), m = `${c}-${M}-01`;
|
|
47
|
+
h.push(m);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return h;
|
|
51
|
+
}, S = (r) => {
|
|
52
|
+
const { start: t, end: e } = r;
|
|
53
|
+
if (!(t instanceof Date) || !(e instanceof Date))
|
|
54
|
+
throw new Error("Invalid start or end date");
|
|
55
|
+
if (t > e)
|
|
56
|
+
throw new Error("The start date must be before or equal to the end date");
|
|
57
|
+
const n = [], o = t.getFullYear(), a = e.getFullYear();
|
|
58
|
+
for (let s = o; s <= a; s++)
|
|
59
|
+
n.push(new Date(s, 0, 1));
|
|
60
|
+
return n;
|
|
61
|
+
}, y = (r, t) => {
|
|
62
|
+
const [e, n] = g(r).split(" "), o = parseInt(n, 10), a = (/* @__PURE__ */ new Date(`${e} 1, ${o}`)).getMonth(), s = t.getMonth(), h = t.getFullYear();
|
|
63
|
+
return s === a && h === o;
|
|
64
|
+
}, l = (r, t) => {
|
|
65
|
+
const e = new Date(r), n = (e.getDay() - t + 7) % 7;
|
|
66
|
+
return e.setDate(e.getDate() - n), e.setHours(0, 0, 0, 0), e;
|
|
67
|
+
}, Y = (r, t, e = 0) => {
|
|
68
|
+
const n = l(r, e), o = l(t, e);
|
|
69
|
+
return n.getTime() === o.getTime();
|
|
70
|
+
}, w = (r) => {
|
|
71
|
+
const t = new Date(r);
|
|
72
|
+
return t.setMonth(t.getMonth() + 1), t.setDate(0), t.setHours(23, 59, 59, 999), t;
|
|
73
|
+
};
|
|
74
|
+
export {
|
|
75
|
+
D as eachMonthOfInterval,
|
|
76
|
+
S as eachYearOfInterval,
|
|
77
|
+
w as endOfMonth,
|
|
78
|
+
p as formatDateToMonthYear,
|
|
79
|
+
g as formatShortMonthYear,
|
|
80
|
+
y as isSameMonth,
|
|
81
|
+
Y as isSameWeek,
|
|
82
|
+
d as parseShortMonthYear
|
|
83
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const MonthSwitch: ({ onChange, currMonth, setCurrMonth, value, min, max, }: {
|
|
4
|
+
onChange: React.Dispatch<React.SetStateAction<string | Date>>;
|
|
5
|
+
currMonth: string | Date;
|
|
6
|
+
setCurrMonth: React.Dispatch<React.SetStateAction<string>>;
|
|
7
|
+
value: string | Date;
|
|
8
|
+
min: string | Date;
|
|
9
|
+
max: string | Date;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { jsxs as E, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as F, useCallback as D, useEffect as j } from "react";
|
|
3
|
+
import { Icons as S } from "../../icons/icons.js";
|
|
4
|
+
import "../../icons/iconsSVGs/Large/Profile.js";
|
|
5
|
+
import "../../icons/iconsSVGs/Small/Profile.js";
|
|
6
|
+
import { getStyles as I } from "./styles.js";
|
|
7
|
+
import { l as P } from "../../../../lodash-BRbpQ7iy.js";
|
|
8
|
+
import { t as V } from "../../../../bundle-mjs-CAy1p0fn.js";
|
|
9
|
+
import { eachMonthOfInterval as W } from "./helpers.js";
|
|
10
|
+
import { Typography as N } from "../../../styles/typography/typography.js";
|
|
11
|
+
import { m as k } from "../../../../index-CYyrKZeH.js";
|
|
12
|
+
import { b as L, a as x, f as p } from "../../../../format-BwmhcciO.js";
|
|
13
|
+
import { i as u } from "../../../../isWithinInterval-BTUruC3j.js";
|
|
14
|
+
import { s as w, a as R } from "../../../../set-CXVt2sL3.js";
|
|
15
|
+
function U(a, o) {
|
|
16
|
+
return L(a, -2);
|
|
17
|
+
}
|
|
18
|
+
const _ = ({
|
|
19
|
+
onChange: a,
|
|
20
|
+
currMonth: o,
|
|
21
|
+
setCurrMonth: l,
|
|
22
|
+
value: e,
|
|
23
|
+
min: c,
|
|
24
|
+
max: d
|
|
25
|
+
}) => {
|
|
26
|
+
const m = I(), y = F(null), C = W({
|
|
27
|
+
start: U(o),
|
|
28
|
+
end: L(o, 2)
|
|
29
|
+
}), r = u(
|
|
30
|
+
w(e, {
|
|
31
|
+
month: new Date(o).getMonth() ? new Date(o).getMonth() - 1 : 11
|
|
32
|
+
//
|
|
33
|
+
}),
|
|
34
|
+
{
|
|
35
|
+
start: c,
|
|
36
|
+
end: d
|
|
37
|
+
}
|
|
38
|
+
), i = u(
|
|
39
|
+
w(e, {
|
|
40
|
+
month: new Date(o).getMonth() == 11 ? 0 : new Date(o).getMonth() + 1
|
|
41
|
+
}),
|
|
42
|
+
{
|
|
43
|
+
start: c,
|
|
44
|
+
end: d
|
|
45
|
+
}
|
|
46
|
+
), b = D(
|
|
47
|
+
P.debounce((t) => {
|
|
48
|
+
t.deltaY < 0 && i ? g() : t.deltaY > 0 && r && M();
|
|
49
|
+
}, 35),
|
|
50
|
+
// Adjust the debounce delay as needed
|
|
51
|
+
[e, i, r]
|
|
52
|
+
), h = D(
|
|
53
|
+
(t) => {
|
|
54
|
+
t.preventDefault(), b(t);
|
|
55
|
+
},
|
|
56
|
+
[b]
|
|
57
|
+
);
|
|
58
|
+
j(() => {
|
|
59
|
+
const t = y.current;
|
|
60
|
+
return t && t.addEventListener("wheel", h), () => {
|
|
61
|
+
t && t.removeEventListener("wheel", h);
|
|
62
|
+
};
|
|
63
|
+
}, [h]);
|
|
64
|
+
const g = () => {
|
|
65
|
+
const t = x(e, { months: 1 }).setFullYear(new Date(e).getFullYear());
|
|
66
|
+
l(p(t, "yyyy-MM")), a(new Date(t));
|
|
67
|
+
}, Y = (t) => {
|
|
68
|
+
const n = R(e, t);
|
|
69
|
+
l(p(n, "yyyy-MM")), a(n);
|
|
70
|
+
}, M = () => {
|
|
71
|
+
const t = x(e, { months: -1 }).setFullYear(new Date(e).getFullYear());
|
|
72
|
+
l(p(t, "yyyy-MM")), a(new Date(t));
|
|
73
|
+
};
|
|
74
|
+
return /* @__PURE__ */ E("div", { className: m.switchIconsLists, ref: y, children: [
|
|
75
|
+
/* @__PURE__ */ s("div", { className: "h-[3rem] flex items-center justify-center", children: /* @__PURE__ */ s(
|
|
76
|
+
S,
|
|
77
|
+
{
|
|
78
|
+
button: !0,
|
|
79
|
+
handleClick: (t) => {
|
|
80
|
+
t.stopPropagation(), M();
|
|
81
|
+
},
|
|
82
|
+
icon: "ChevronUp",
|
|
83
|
+
color: r ? "active" : "disabled",
|
|
84
|
+
disabled: !r
|
|
85
|
+
}
|
|
86
|
+
) }),
|
|
87
|
+
/* @__PURE__ */ s("div", { className: m.timeFlex, children: C.map((t) => {
|
|
88
|
+
const n = k(t).toDate(), f = u(w(e, { month: n.getMonth() }), {
|
|
89
|
+
start: c,
|
|
90
|
+
end: d
|
|
91
|
+
}), v = k(t).isSame(o, "month");
|
|
92
|
+
return /* @__PURE__ */ s(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
"data-testid": n.toLocaleString(),
|
|
96
|
+
onClick: () => f && Y(n.getMonth()),
|
|
97
|
+
className: V(
|
|
98
|
+
m.hourStyle,
|
|
99
|
+
f ? "hover:bg-surface-active cursor-pointer" : "cursor-not-allowed",
|
|
100
|
+
`${v ? "bg-surface-active" : ""}`,
|
|
101
|
+
" rounded"
|
|
102
|
+
),
|
|
103
|
+
children: /* @__PURE__ */ s(
|
|
104
|
+
N,
|
|
105
|
+
{
|
|
106
|
+
color: f ? v ? "active" : "default" : "disabled",
|
|
107
|
+
children: n.toLocaleString("en-US", {
|
|
108
|
+
month: "long"
|
|
109
|
+
}),
|
|
110
|
+
swStyle: 5,
|
|
111
|
+
className: "text-center"
|
|
112
|
+
}
|
|
113
|
+
)
|
|
114
|
+
},
|
|
115
|
+
n.toLocaleString()
|
|
116
|
+
);
|
|
117
|
+
}) }),
|
|
118
|
+
/* @__PURE__ */ s("div", { className: "h-[3rem] flex items-center justify-center", children: /* @__PURE__ */ s(
|
|
119
|
+
S,
|
|
120
|
+
{
|
|
121
|
+
button: !0,
|
|
122
|
+
handleClick: (t) => {
|
|
123
|
+
t.stopPropagation(), g();
|
|
124
|
+
},
|
|
125
|
+
icon: "ChevronDown",
|
|
126
|
+
color: i ? "active" : "disabled",
|
|
127
|
+
disabled: !i
|
|
128
|
+
}
|
|
129
|
+
) }),
|
|
130
|
+
/* @__PURE__ */ s(N, { children: "Month", swStyle: 1, color: "subdued" })
|
|
131
|
+
] });
|
|
132
|
+
};
|
|
133
|
+
export {
|
|
134
|
+
_ as MonthSwitch
|
|
135
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { outlinedBorder as e } from "../../../styles/defaults/defaults.js";
|
|
2
|
+
const l = () => ({
|
|
3
|
+
container: "h-[4rem] w-full px-md flex items-center justify-between relative",
|
|
4
|
+
dropdownContainer: `flex flex-col justify-end items-center p-md gap-md absolute ${e.active} bg-surface-default z-50 min-w-[30rem] mt-xs`,
|
|
5
|
+
monthYearSwitch: "flex flex-col items-start gap-xs w-full",
|
|
6
|
+
MonthYearContainer: "h-[3rem] flex items-center w-full relative",
|
|
7
|
+
borderSwitches: "flex justify-evenly min-w-[30rem]",
|
|
8
|
+
switchIconsLists: "flex flex-col gap-xs items-center",
|
|
9
|
+
timeFlex: "flex flex-col justify-center items-center gap-xs w-[13rem]",
|
|
10
|
+
hourStyle: " h-[3rem] flex justify-center items-center w-full "
|
|
11
|
+
});
|
|
12
|
+
export {
|
|
13
|
+
l as getStyles
|
|
14
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const YearSwitch: ({ onChange, currMonth, setCurrMonth, value, min, max, }: {
|
|
2
|
+
onChange: React.Dispatch<React.SetStateAction<string | Date>>;
|
|
3
|
+
currMonth: string | Date;
|
|
4
|
+
setCurrMonth: React.Dispatch<React.SetStateAction<string>>;
|
|
5
|
+
value: string | Date;
|
|
6
|
+
min: string | Date;
|
|
7
|
+
max: string | Date;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|