@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,630 @@
|
|
|
1
|
+
import { jsx as s, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
+
import * as w from "react";
|
|
3
|
+
import fe, { useState as F } from "react";
|
|
4
|
+
import { c as Q } from "../../../../index-rKs9bXHr.js";
|
|
5
|
+
import { u as pe, c as he, d as T, a as k, b as B, e as Se } from "../../../../index-DotfMcM0.js";
|
|
6
|
+
import { c as ve, u as ge } from "../../../../index-OIdMhwsO.js";
|
|
7
|
+
import { u as be } from "../../../../index-BZPx6jYI.js";
|
|
8
|
+
import { Typography as K } from "../../../styles/typography/typography.js";
|
|
9
|
+
import { Badge as we } from "../../../atoms/badge/badge.js";
|
|
10
|
+
import { Icons as xe } from "../../../atoms/icons/icons.js";
|
|
11
|
+
import "../../../atoms/icons/iconsSVGs/Large/Profile.js";
|
|
12
|
+
import "../../../atoms/icons/iconsSVGs/Small/Profile.js";
|
|
13
|
+
import { styles as ye } from "./styles.js";
|
|
14
|
+
import { c as L } from "../../../../index-fN7hCOo3.js";
|
|
15
|
+
var Z = ["PageUp", "PageDown"], ee = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], te = {
|
|
16
|
+
"from-left": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
|
|
17
|
+
"from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
|
|
18
|
+
"from-bottom": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
|
|
19
|
+
"from-top": ["Home", "PageDown", "ArrowUp", "ArrowLeft"]
|
|
20
|
+
}, A = "Slider", [Y, Re, De] = ve(A), [ne, et] = he(A, [
|
|
21
|
+
De
|
|
22
|
+
]), [Pe, O] = ne(A), re = w.forwardRef(
|
|
23
|
+
(e, t) => {
|
|
24
|
+
const {
|
|
25
|
+
name: o,
|
|
26
|
+
min: n = 0,
|
|
27
|
+
max: l = 100,
|
|
28
|
+
step: c = 1,
|
|
29
|
+
orientation: r = "horizontal",
|
|
30
|
+
disabled: i = !1,
|
|
31
|
+
minStepsBetweenThumbs: f = 0,
|
|
32
|
+
defaultValue: S = [n],
|
|
33
|
+
value: v,
|
|
34
|
+
onValueChange: a = () => {
|
|
35
|
+
},
|
|
36
|
+
onValueCommit: u = () => {
|
|
37
|
+
},
|
|
38
|
+
inverted: g = !1,
|
|
39
|
+
form: D,
|
|
40
|
+
...R
|
|
41
|
+
} = e, y = w.useRef(/* @__PURE__ */ new Set()), x = w.useRef(0), b = r === "horizontal" ? Ce : Ne, [m = [], P] = pe({
|
|
42
|
+
prop: v,
|
|
43
|
+
defaultProp: S,
|
|
44
|
+
onChange: (d) => {
|
|
45
|
+
var I;
|
|
46
|
+
(I = [...y.current][x.current]) == null || I.focus(), a(d);
|
|
47
|
+
}
|
|
48
|
+
}), N = w.useRef(m);
|
|
49
|
+
function p(d) {
|
|
50
|
+
const E = Ve(m, d);
|
|
51
|
+
h(d, E);
|
|
52
|
+
}
|
|
53
|
+
function H(d) {
|
|
54
|
+
h(d, x.current);
|
|
55
|
+
}
|
|
56
|
+
function z() {
|
|
57
|
+
const d = N.current[x.current];
|
|
58
|
+
m[x.current] !== d && u(m);
|
|
59
|
+
}
|
|
60
|
+
function h(d, E, { commit: I } = { commit: !1 }) {
|
|
61
|
+
const W = $e(c), U = Ke(Math.round((d - n) / c) * c + n, W), $ = Q(U, [n, l]);
|
|
62
|
+
P((V = []) => {
|
|
63
|
+
const M = Me(V, $, E);
|
|
64
|
+
if (Ae(M, f * c)) {
|
|
65
|
+
x.current = M.indexOf($);
|
|
66
|
+
const q = String(M) !== String(V);
|
|
67
|
+
return q && I && u(M), q ? M : V;
|
|
68
|
+
} else
|
|
69
|
+
return V;
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
return /* @__PURE__ */ s(
|
|
73
|
+
Pe,
|
|
74
|
+
{
|
|
75
|
+
scope: e.__scopeSlider,
|
|
76
|
+
name: o,
|
|
77
|
+
disabled: i,
|
|
78
|
+
min: n,
|
|
79
|
+
max: l,
|
|
80
|
+
valueIndexToChangeRef: x,
|
|
81
|
+
thumbs: y.current,
|
|
82
|
+
values: m,
|
|
83
|
+
orientation: r,
|
|
84
|
+
form: D,
|
|
85
|
+
children: /* @__PURE__ */ s(Y.Provider, { scope: e.__scopeSlider, children: /* @__PURE__ */ s(Y.Slot, { scope: e.__scopeSlider, children: /* @__PURE__ */ s(
|
|
86
|
+
b,
|
|
87
|
+
{
|
|
88
|
+
"aria-disabled": i,
|
|
89
|
+
"data-disabled": i ? "" : void 0,
|
|
90
|
+
...R,
|
|
91
|
+
ref: t,
|
|
92
|
+
onPointerDown: T(R.onPointerDown, () => {
|
|
93
|
+
i || (N.current = m);
|
|
94
|
+
}),
|
|
95
|
+
min: n,
|
|
96
|
+
max: l,
|
|
97
|
+
inverted: g,
|
|
98
|
+
onSlideStart: i ? void 0 : p,
|
|
99
|
+
onSlideMove: i ? void 0 : H,
|
|
100
|
+
onSlideEnd: i ? void 0 : z,
|
|
101
|
+
onHomeKeyDown: () => !i && h(n, 0, { commit: !0 }),
|
|
102
|
+
onEndKeyDown: () => !i && h(l, m.length - 1, { commit: !0 }),
|
|
103
|
+
onStepKeyDown: ({ event: d, direction: E }) => {
|
|
104
|
+
if (!i) {
|
|
105
|
+
const U = Z.includes(d.key) || d.shiftKey && ee.includes(d.key) ? 10 : 1, $ = x.current, V = m[$], M = c * U * E;
|
|
106
|
+
h(V + M, $, { commit: !0 });
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
) }) })
|
|
111
|
+
}
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
);
|
|
115
|
+
re.displayName = A;
|
|
116
|
+
var [oe, ae] = ne(A, {
|
|
117
|
+
startEdge: "left",
|
|
118
|
+
endEdge: "right",
|
|
119
|
+
size: "width",
|
|
120
|
+
direction: 1
|
|
121
|
+
}), Ce = w.forwardRef(
|
|
122
|
+
(e, t) => {
|
|
123
|
+
const {
|
|
124
|
+
min: o,
|
|
125
|
+
max: n,
|
|
126
|
+
dir: l,
|
|
127
|
+
inverted: c,
|
|
128
|
+
onSlideStart: r,
|
|
129
|
+
onSlideMove: i,
|
|
130
|
+
onSlideEnd: f,
|
|
131
|
+
onStepKeyDown: S,
|
|
132
|
+
...v
|
|
133
|
+
} = e, [a, u] = w.useState(null), g = B(t, (b) => u(b)), D = w.useRef(void 0), R = ge(l), y = R === "ltr", x = y && !c || !y && c;
|
|
134
|
+
function C(b) {
|
|
135
|
+
const m = D.current || a.getBoundingClientRect(), P = [0, m.width], p = G(P, x ? [o, n] : [n, o]);
|
|
136
|
+
return D.current = m, p(b - m.left);
|
|
137
|
+
}
|
|
138
|
+
return /* @__PURE__ */ s(
|
|
139
|
+
oe,
|
|
140
|
+
{
|
|
141
|
+
scope: e.__scopeSlider,
|
|
142
|
+
startEdge: x ? "left" : "right",
|
|
143
|
+
endEdge: x ? "right" : "left",
|
|
144
|
+
direction: x ? 1 : -1,
|
|
145
|
+
size: "width",
|
|
146
|
+
children: /* @__PURE__ */ s(
|
|
147
|
+
ie,
|
|
148
|
+
{
|
|
149
|
+
dir: R,
|
|
150
|
+
"data-orientation": "horizontal",
|
|
151
|
+
...v,
|
|
152
|
+
ref: g,
|
|
153
|
+
style: {
|
|
154
|
+
...v.style,
|
|
155
|
+
"--radix-slider-thumb-transform": "translateX(-50%)"
|
|
156
|
+
},
|
|
157
|
+
onSlideStart: (b) => {
|
|
158
|
+
const m = C(b.clientX);
|
|
159
|
+
r == null || r(m);
|
|
160
|
+
},
|
|
161
|
+
onSlideMove: (b) => {
|
|
162
|
+
const m = C(b.clientX);
|
|
163
|
+
i == null || i(m);
|
|
164
|
+
},
|
|
165
|
+
onSlideEnd: () => {
|
|
166
|
+
D.current = void 0, f == null || f();
|
|
167
|
+
},
|
|
168
|
+
onStepKeyDown: (b) => {
|
|
169
|
+
const P = te[x ? "from-left" : "from-right"].includes(b.key);
|
|
170
|
+
S == null || S({ event: b, direction: P ? -1 : 1 });
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
)
|
|
174
|
+
}
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
), Ne = w.forwardRef(
|
|
178
|
+
(e, t) => {
|
|
179
|
+
const {
|
|
180
|
+
min: o,
|
|
181
|
+
max: n,
|
|
182
|
+
inverted: l,
|
|
183
|
+
onSlideStart: c,
|
|
184
|
+
onSlideMove: r,
|
|
185
|
+
onSlideEnd: i,
|
|
186
|
+
onStepKeyDown: f,
|
|
187
|
+
...S
|
|
188
|
+
} = e, v = w.useRef(null), a = B(t, v), u = w.useRef(void 0), g = !l;
|
|
189
|
+
function D(R) {
|
|
190
|
+
const y = u.current || v.current.getBoundingClientRect(), x = [0, y.height], b = G(x, g ? [n, o] : [o, n]);
|
|
191
|
+
return u.current = y, b(R - y.top);
|
|
192
|
+
}
|
|
193
|
+
return /* @__PURE__ */ s(
|
|
194
|
+
oe,
|
|
195
|
+
{
|
|
196
|
+
scope: e.__scopeSlider,
|
|
197
|
+
startEdge: g ? "bottom" : "top",
|
|
198
|
+
endEdge: g ? "top" : "bottom",
|
|
199
|
+
size: "height",
|
|
200
|
+
direction: g ? 1 : -1,
|
|
201
|
+
children: /* @__PURE__ */ s(
|
|
202
|
+
ie,
|
|
203
|
+
{
|
|
204
|
+
"data-orientation": "vertical",
|
|
205
|
+
...S,
|
|
206
|
+
ref: a,
|
|
207
|
+
style: {
|
|
208
|
+
...S.style,
|
|
209
|
+
"--radix-slider-thumb-transform": "translateY(50%)"
|
|
210
|
+
},
|
|
211
|
+
onSlideStart: (R) => {
|
|
212
|
+
const y = D(R.clientY);
|
|
213
|
+
c == null || c(y);
|
|
214
|
+
},
|
|
215
|
+
onSlideMove: (R) => {
|
|
216
|
+
const y = D(R.clientY);
|
|
217
|
+
r == null || r(y);
|
|
218
|
+
},
|
|
219
|
+
onSlideEnd: () => {
|
|
220
|
+
u.current = void 0, i == null || i();
|
|
221
|
+
},
|
|
222
|
+
onStepKeyDown: (R) => {
|
|
223
|
+
const x = te[g ? "from-bottom" : "from-top"].includes(R.key);
|
|
224
|
+
f == null || f({ event: R, direction: x ? -1 : 1 });
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
)
|
|
228
|
+
}
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
), ie = w.forwardRef(
|
|
232
|
+
(e, t) => {
|
|
233
|
+
const {
|
|
234
|
+
__scopeSlider: o,
|
|
235
|
+
onSlideStart: n,
|
|
236
|
+
onSlideMove: l,
|
|
237
|
+
onSlideEnd: c,
|
|
238
|
+
onHomeKeyDown: r,
|
|
239
|
+
onEndKeyDown: i,
|
|
240
|
+
onStepKeyDown: f,
|
|
241
|
+
...S
|
|
242
|
+
} = e, v = O(A, o);
|
|
243
|
+
return /* @__PURE__ */ s(
|
|
244
|
+
k.span,
|
|
245
|
+
{
|
|
246
|
+
...S,
|
|
247
|
+
ref: t,
|
|
248
|
+
onKeyDown: T(e.onKeyDown, (a) => {
|
|
249
|
+
a.key === "Home" ? (r(a), a.preventDefault()) : a.key === "End" ? (i(a), a.preventDefault()) : Z.concat(ee).includes(a.key) && (f(a), a.preventDefault());
|
|
250
|
+
}),
|
|
251
|
+
onPointerDown: T(e.onPointerDown, (a) => {
|
|
252
|
+
const u = a.target;
|
|
253
|
+
u.setPointerCapture(a.pointerId), a.preventDefault(), v.thumbs.has(u) ? u.focus() : n(a);
|
|
254
|
+
}),
|
|
255
|
+
onPointerMove: T(e.onPointerMove, (a) => {
|
|
256
|
+
a.target.hasPointerCapture(a.pointerId) && l(a);
|
|
257
|
+
}),
|
|
258
|
+
onPointerUp: T(e.onPointerUp, (a) => {
|
|
259
|
+
const u = a.target;
|
|
260
|
+
u.hasPointerCapture(a.pointerId) && (u.releasePointerCapture(a.pointerId), c(a));
|
|
261
|
+
})
|
|
262
|
+
}
|
|
263
|
+
);
|
|
264
|
+
}
|
|
265
|
+
), se = "SliderTrack", le = w.forwardRef(
|
|
266
|
+
(e, t) => {
|
|
267
|
+
const { __scopeSlider: o, ...n } = e, l = O(se, o);
|
|
268
|
+
return /* @__PURE__ */ s(
|
|
269
|
+
k.span,
|
|
270
|
+
{
|
|
271
|
+
"data-disabled": l.disabled ? "" : void 0,
|
|
272
|
+
"data-orientation": l.orientation,
|
|
273
|
+
...n,
|
|
274
|
+
ref: t
|
|
275
|
+
}
|
|
276
|
+
);
|
|
277
|
+
}
|
|
278
|
+
);
|
|
279
|
+
le.displayName = se;
|
|
280
|
+
var j = "SliderRange", ce = w.forwardRef(
|
|
281
|
+
(e, t) => {
|
|
282
|
+
const { __scopeSlider: o, ...n } = e, l = O(j, o), c = ae(j, o), r = w.useRef(null), i = B(t, r), f = l.values.length, S = l.values.map(
|
|
283
|
+
(u) => me(u, l.min, l.max)
|
|
284
|
+
), v = f > 1 ? Math.min(...S) : 0, a = 100 - Math.max(...S);
|
|
285
|
+
return /* @__PURE__ */ s(
|
|
286
|
+
k.span,
|
|
287
|
+
{
|
|
288
|
+
"data-orientation": l.orientation,
|
|
289
|
+
"data-disabled": l.disabled ? "" : void 0,
|
|
290
|
+
...n,
|
|
291
|
+
ref: i,
|
|
292
|
+
style: {
|
|
293
|
+
...e.style,
|
|
294
|
+
[c.startEdge]: v + "%",
|
|
295
|
+
[c.endEdge]: a + "%"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
);
|
|
299
|
+
}
|
|
300
|
+
);
|
|
301
|
+
ce.displayName = j;
|
|
302
|
+
var X = "SliderThumb", de = w.forwardRef(
|
|
303
|
+
(e, t) => {
|
|
304
|
+
const o = Re(e.__scopeSlider), [n, l] = w.useState(null), c = B(t, (i) => l(i)), r = w.useMemo(
|
|
305
|
+
() => n ? o().findIndex((i) => i.ref.current === n) : -1,
|
|
306
|
+
[o, n]
|
|
307
|
+
);
|
|
308
|
+
return /* @__PURE__ */ s(_e, { ...e, ref: c, index: r });
|
|
309
|
+
}
|
|
310
|
+
), _e = w.forwardRef(
|
|
311
|
+
(e, t) => {
|
|
312
|
+
const { __scopeSlider: o, index: n, name: l, ...c } = e, r = O(X, o), i = ae(X, o), [f, S] = w.useState(null), v = B(t, (C) => S(C)), a = f ? r.form || !!f.closest("form") : !0, u = Se(f), g = r.values[n], D = g === void 0 ? 0 : me(g, r.min, r.max), R = Ie(n, r.values.length), y = u == null ? void 0 : u[i.size], x = y ? Te(y, D, i.direction) : 0;
|
|
313
|
+
return w.useEffect(() => {
|
|
314
|
+
if (f)
|
|
315
|
+
return r.thumbs.add(f), () => {
|
|
316
|
+
r.thumbs.delete(f);
|
|
317
|
+
};
|
|
318
|
+
}, [f, r.thumbs]), /* @__PURE__ */ _(
|
|
319
|
+
"span",
|
|
320
|
+
{
|
|
321
|
+
style: {
|
|
322
|
+
transform: "var(--radix-slider-thumb-transform)",
|
|
323
|
+
position: "absolute",
|
|
324
|
+
[i.startEdge]: `calc(${D}% + ${x}px)`
|
|
325
|
+
},
|
|
326
|
+
children: [
|
|
327
|
+
/* @__PURE__ */ s(Y.ItemSlot, { scope: e.__scopeSlider, children: /* @__PURE__ */ s(
|
|
328
|
+
k.span,
|
|
329
|
+
{
|
|
330
|
+
role: "slider",
|
|
331
|
+
"aria-label": e["aria-label"] || R,
|
|
332
|
+
"aria-valuemin": r.min,
|
|
333
|
+
"aria-valuenow": g,
|
|
334
|
+
"aria-valuemax": r.max,
|
|
335
|
+
"aria-orientation": r.orientation,
|
|
336
|
+
"data-orientation": r.orientation,
|
|
337
|
+
"data-disabled": r.disabled ? "" : void 0,
|
|
338
|
+
tabIndex: r.disabled ? void 0 : 0,
|
|
339
|
+
...c,
|
|
340
|
+
ref: v,
|
|
341
|
+
style: g === void 0 ? { display: "none" } : e.style,
|
|
342
|
+
onFocus: T(e.onFocus, () => {
|
|
343
|
+
r.valueIndexToChangeRef.current = n;
|
|
344
|
+
})
|
|
345
|
+
}
|
|
346
|
+
) }),
|
|
347
|
+
a && /* @__PURE__ */ s(
|
|
348
|
+
ue,
|
|
349
|
+
{
|
|
350
|
+
name: l ?? (r.name ? r.name + (r.values.length > 1 ? "[]" : "") : void 0),
|
|
351
|
+
form: r.form,
|
|
352
|
+
value: g
|
|
353
|
+
},
|
|
354
|
+
n
|
|
355
|
+
)
|
|
356
|
+
]
|
|
357
|
+
}
|
|
358
|
+
);
|
|
359
|
+
}
|
|
360
|
+
);
|
|
361
|
+
de.displayName = X;
|
|
362
|
+
var Ee = "RadioBubbleInput", ue = w.forwardRef(
|
|
363
|
+
({ __scopeSlider: e, value: t, ...o }, n) => {
|
|
364
|
+
const l = w.useRef(null), c = B(l, n), r = be(t);
|
|
365
|
+
return w.useEffect(() => {
|
|
366
|
+
const i = l.current;
|
|
367
|
+
if (!i) return;
|
|
368
|
+
const f = window.HTMLInputElement.prototype, v = Object.getOwnPropertyDescriptor(f, "value").set;
|
|
369
|
+
if (r !== t && v) {
|
|
370
|
+
const a = new Event("input", { bubbles: !0 });
|
|
371
|
+
v.call(i, t), i.dispatchEvent(a);
|
|
372
|
+
}
|
|
373
|
+
}, [r, t]), /* @__PURE__ */ s(
|
|
374
|
+
k.input,
|
|
375
|
+
{
|
|
376
|
+
style: { display: "none" },
|
|
377
|
+
...o,
|
|
378
|
+
ref: c,
|
|
379
|
+
defaultValue: t
|
|
380
|
+
}
|
|
381
|
+
);
|
|
382
|
+
}
|
|
383
|
+
);
|
|
384
|
+
ue.displayName = Ee;
|
|
385
|
+
function Me(e = [], t, o) {
|
|
386
|
+
const n = [...e];
|
|
387
|
+
return n[o] = t, n.sort((l, c) => l - c);
|
|
388
|
+
}
|
|
389
|
+
function me(e, t, o) {
|
|
390
|
+
const c = 100 / (o - t) * (e - t);
|
|
391
|
+
return Q(c, [0, 100]);
|
|
392
|
+
}
|
|
393
|
+
function Ie(e, t) {
|
|
394
|
+
return t > 2 ? `Value ${e + 1} of ${t}` : t === 2 ? ["Minimum", "Maximum"][e] : void 0;
|
|
395
|
+
}
|
|
396
|
+
function Ve(e, t) {
|
|
397
|
+
if (e.length === 1) return 0;
|
|
398
|
+
const o = e.map((l) => Math.abs(l - t)), n = Math.min(...o);
|
|
399
|
+
return o.indexOf(n);
|
|
400
|
+
}
|
|
401
|
+
function Te(e, t, o) {
|
|
402
|
+
const n = e / 2, c = G([0, 50], [0, n]);
|
|
403
|
+
return (n - c(t) * o) * o;
|
|
404
|
+
}
|
|
405
|
+
function Be(e) {
|
|
406
|
+
return e.slice(0, -1).map((t, o) => e[o + 1] - t);
|
|
407
|
+
}
|
|
408
|
+
function Ae(e, t) {
|
|
409
|
+
if (t > 0) {
|
|
410
|
+
const o = Be(e);
|
|
411
|
+
return Math.min(...o) >= t;
|
|
412
|
+
}
|
|
413
|
+
return !0;
|
|
414
|
+
}
|
|
415
|
+
function G(e, t) {
|
|
416
|
+
return (o) => {
|
|
417
|
+
if (e[0] === e[1] || t[0] === t[1]) return t[0];
|
|
418
|
+
const n = (t[1] - t[0]) / (e[1] - e[0]);
|
|
419
|
+
return t[0] + n * (o - e[0]);
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
function $e(e) {
|
|
423
|
+
return (String(e).split(".")[1] || "").length;
|
|
424
|
+
}
|
|
425
|
+
function Ke(e, t) {
|
|
426
|
+
const o = Math.pow(10, t);
|
|
427
|
+
return Math.round(e * o) / o;
|
|
428
|
+
}
|
|
429
|
+
var ke = re, Fe = le, Oe = ce, J = de;
|
|
430
|
+
function tt({
|
|
431
|
+
range: e,
|
|
432
|
+
step: t,
|
|
433
|
+
defaultValue: o,
|
|
434
|
+
value: n,
|
|
435
|
+
label: l = "Rating",
|
|
436
|
+
disabled: c = !1,
|
|
437
|
+
handleChange: r = () => null
|
|
438
|
+
}) {
|
|
439
|
+
const [i, f] = fe.useState(!1), S = n[0], v = n[1], [a, u] = F(S), [g, D] = F(v), [R, y] = F(!1), [x, C] = F(!1), b = e[0], m = e[1], P = [];
|
|
440
|
+
let N = b;
|
|
441
|
+
for (; N <= m; )
|
|
442
|
+
P.push(N), N = t >= 0.5 ? N + t : N + 1;
|
|
443
|
+
const p = ye(c, i), H = (h) => {
|
|
444
|
+
const d = parseFloat(parseFloat(h.target.value).toFixed(1));
|
|
445
|
+
d <= g && d >= b && (r([d, g]), u(d)), d >= g && (r([g, g]), u(g));
|
|
446
|
+
}, z = (h) => {
|
|
447
|
+
const d = parseFloat(parseFloat(h.target.value).toFixed(1));
|
|
448
|
+
d >= a && d <= m && (r([a, d]), D(d)), d <= a && (r([a, a]), D(a));
|
|
449
|
+
};
|
|
450
|
+
return /* @__PURE__ */ _("div", { className: "flex relative bg-surface-default", children: [
|
|
451
|
+
/* @__PURE__ */ _(
|
|
452
|
+
"div",
|
|
453
|
+
{
|
|
454
|
+
"data-testid": "ratingDisplay",
|
|
455
|
+
onClick: () => !c && f(!i),
|
|
456
|
+
className: p.ratingContainter,
|
|
457
|
+
children: [
|
|
458
|
+
/* @__PURE__ */ _("div", { className: p.ratingDisplay, children: [
|
|
459
|
+
/* @__PURE__ */ s(
|
|
460
|
+
K,
|
|
461
|
+
{
|
|
462
|
+
children: l,
|
|
463
|
+
swStyle: 1,
|
|
464
|
+
color: c ? "disabled" : "default"
|
|
465
|
+
}
|
|
466
|
+
),
|
|
467
|
+
(b !== S || m !== v) && /* @__PURE__ */ s(
|
|
468
|
+
we,
|
|
469
|
+
{
|
|
470
|
+
text: `${S}-${v}`,
|
|
471
|
+
color: c ? "disabledInverted" : "affirmative"
|
|
472
|
+
}
|
|
473
|
+
)
|
|
474
|
+
] }),
|
|
475
|
+
/* @__PURE__ */ s(
|
|
476
|
+
xe,
|
|
477
|
+
{
|
|
478
|
+
disabled: !0,
|
|
479
|
+
icon: `Chevron${i ? "Up" : "Down"}`,
|
|
480
|
+
color: c ? "disabled" : i ? "active" : "default",
|
|
481
|
+
id: `Chevron${i ? "Up" : "Down"}-${b}-${m}`
|
|
482
|
+
},
|
|
483
|
+
`Chevron${i ? "Up" : "Down"}-${b}-${m}`
|
|
484
|
+
)
|
|
485
|
+
]
|
|
486
|
+
}
|
|
487
|
+
),
|
|
488
|
+
i && /* @__PURE__ */ _(
|
|
489
|
+
"div",
|
|
490
|
+
{
|
|
491
|
+
"data-testid": "rangeDropdown",
|
|
492
|
+
className: L(
|
|
493
|
+
p.rangeContainer,
|
|
494
|
+
`w-${P.length > 10 && t ? "fit" : "[22rem]"} resize-y`
|
|
495
|
+
),
|
|
496
|
+
children: [
|
|
497
|
+
/* @__PURE__ */ s("div", { className: p.sliderContainer, children: /* @__PURE__ */ _(
|
|
498
|
+
ke,
|
|
499
|
+
{
|
|
500
|
+
"data-testid": "sliderRoot",
|
|
501
|
+
"aria-valuemax": v,
|
|
502
|
+
"aria-valuemin": S,
|
|
503
|
+
className: p.sliderRoot,
|
|
504
|
+
defaultValue: o,
|
|
505
|
+
value: n,
|
|
506
|
+
max: m,
|
|
507
|
+
step: t || 0.1,
|
|
508
|
+
min: b,
|
|
509
|
+
onValueChange: (h) => {
|
|
510
|
+
r(h), u(h[0]), D(h[1]);
|
|
511
|
+
},
|
|
512
|
+
children: [
|
|
513
|
+
/* @__PURE__ */ _(Fe, { className: p.sliderTrack, children: [
|
|
514
|
+
/* @__PURE__ */ s(Oe, { className: p.sliderRangeOuter }),
|
|
515
|
+
t >= 0.5 && /* @__PURE__ */ s("div", { className: p.sliderRangeInner, children: P.map((h) => (
|
|
516
|
+
// place the dots on each step but skip the first and last values
|
|
517
|
+
h !== b && h !== m ? /* @__PURE__ */ _(
|
|
518
|
+
"div",
|
|
519
|
+
{
|
|
520
|
+
"aria-label": `step-${P[h]}`,
|
|
521
|
+
className: L(
|
|
522
|
+
p.rangeStep,
|
|
523
|
+
"bg-glyph-placeholder"
|
|
524
|
+
),
|
|
525
|
+
children: [
|
|
526
|
+
" ",
|
|
527
|
+
/* @__PURE__ */ s("div", { className: "rounded-full" })
|
|
528
|
+
]
|
|
529
|
+
},
|
|
530
|
+
P[h]
|
|
531
|
+
) : /* @__PURE__ */ s(
|
|
532
|
+
"div",
|
|
533
|
+
{
|
|
534
|
+
"aria-label": `step-${P[h]}`,
|
|
535
|
+
className: L(
|
|
536
|
+
p.rangeStep,
|
|
537
|
+
"bg-[disabledInverted]"
|
|
538
|
+
),
|
|
539
|
+
children: /* @__PURE__ */ s("div", { className: "rounded-full" })
|
|
540
|
+
},
|
|
541
|
+
P[h]
|
|
542
|
+
)
|
|
543
|
+
)) })
|
|
544
|
+
] }),
|
|
545
|
+
/* @__PURE__ */ s(
|
|
546
|
+
J,
|
|
547
|
+
{
|
|
548
|
+
className: p.sliderThumbOuter,
|
|
549
|
+
"data-testid": "thumb-min",
|
|
550
|
+
onFocus: () => y(!0),
|
|
551
|
+
onBlur: () => y(!1),
|
|
552
|
+
children: (t < 0.5 || !t) && R && /* @__PURE__ */ s("div", { className: p.sliderThumbInner, children: /* @__PURE__ */ s(
|
|
553
|
+
K,
|
|
554
|
+
{
|
|
555
|
+
children: `${S}`,
|
|
556
|
+
swStyle: 1,
|
|
557
|
+
color: "defaultInverted"
|
|
558
|
+
}
|
|
559
|
+
) })
|
|
560
|
+
}
|
|
561
|
+
),
|
|
562
|
+
/* @__PURE__ */ s(
|
|
563
|
+
J,
|
|
564
|
+
{
|
|
565
|
+
className: p.sliderThumbOuter,
|
|
566
|
+
onFocus: () => C(!0),
|
|
567
|
+
onBlur: () => C(!1),
|
|
568
|
+
"data-testid": "thumb-max",
|
|
569
|
+
children: (t < 0.5 || !t) && x && /* @__PURE__ */ s("div", { className: p.sliderThumbInner, children: /* @__PURE__ */ s(
|
|
570
|
+
K,
|
|
571
|
+
{
|
|
572
|
+
children: `${v}`,
|
|
573
|
+
swStyle: 1,
|
|
574
|
+
color: "defaultInverted"
|
|
575
|
+
}
|
|
576
|
+
) })
|
|
577
|
+
}
|
|
578
|
+
)
|
|
579
|
+
]
|
|
580
|
+
}
|
|
581
|
+
) }),
|
|
582
|
+
/* @__PURE__ */ s("div", { className: p.displayedValuesContainer, children: t >= 0.5 ? P.map((h) => /* @__PURE__ */ s("div", { className: p.displayedValues, children: /* @__PURE__ */ s(
|
|
583
|
+
K,
|
|
584
|
+
{
|
|
585
|
+
children: `${h}`,
|
|
586
|
+
swStyle: 1,
|
|
587
|
+
color: n.includes(h) ? "default" : "placeholder"
|
|
588
|
+
}
|
|
589
|
+
) })) : e.map((h, d) => /* @__PURE__ */ s("div", { className: p.displayedValues, children: /* @__PURE__ */ s(
|
|
590
|
+
K,
|
|
591
|
+
{
|
|
592
|
+
children: `${e[d]}`,
|
|
593
|
+
swStyle: 1,
|
|
594
|
+
color: n.includes(e[d]) ? "default" : "placeholder"
|
|
595
|
+
}
|
|
596
|
+
) })) }),
|
|
597
|
+
(t < 0.5 || !t) && /* @__PURE__ */ _("div", { className: p.inputContainer, children: [
|
|
598
|
+
/* @__PURE__ */ s(
|
|
599
|
+
"input",
|
|
600
|
+
{
|
|
601
|
+
"data-testid": "input-min",
|
|
602
|
+
className: p.inputDiv,
|
|
603
|
+
value: a,
|
|
604
|
+
type: "number",
|
|
605
|
+
min: b,
|
|
606
|
+
max: v,
|
|
607
|
+
onChange: H
|
|
608
|
+
}
|
|
609
|
+
),
|
|
610
|
+
/* @__PURE__ */ s(
|
|
611
|
+
"input",
|
|
612
|
+
{
|
|
613
|
+
"data-testid": "input-max",
|
|
614
|
+
className: p.inputDiv,
|
|
615
|
+
value: g,
|
|
616
|
+
type: "number",
|
|
617
|
+
min: S,
|
|
618
|
+
max: m,
|
|
619
|
+
onChange: z
|
|
620
|
+
}
|
|
621
|
+
)
|
|
622
|
+
] })
|
|
623
|
+
]
|
|
624
|
+
}
|
|
625
|
+
)
|
|
626
|
+
] });
|
|
627
|
+
}
|
|
628
|
+
export {
|
|
629
|
+
tt as RangeSelector
|
|
630
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const styles: (disabled: boolean, open: boolean) => {
|
|
2
|
+
ratingContainter: string;
|
|
3
|
+
ratingDisplay: string;
|
|
4
|
+
rangeContainer: string;
|
|
5
|
+
sliderContainer: string;
|
|
6
|
+
sliderRoot: string;
|
|
7
|
+
sliderTrack: string;
|
|
8
|
+
sliderRangeOuter: string;
|
|
9
|
+
sliderRangeInner: string;
|
|
10
|
+
sliderThumbOuter: string;
|
|
11
|
+
sliderThumbInner: string;
|
|
12
|
+
displayedValuesContainer: string;
|
|
13
|
+
displayedValues: string;
|
|
14
|
+
inputContainer: string;
|
|
15
|
+
inputDiv: string;
|
|
16
|
+
rangeStep: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { outlinedBorder as r, border as e } from "../../../styles/defaults/defaults.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../../purify.es-eYFoHPwR.js";
|
|
4
|
+
import { styleMap as n } from "../../../styles/typography/style.js";
|
|
5
|
+
import "../../../styles/colors/colormap.js";
|
|
6
|
+
const d = (t, l) => ({
|
|
7
|
+
ratingContainter: `flex h-[3rem] px-sm items-center gap-xs rounded w-fit ${t ? e.disabled : l ? r.active : e.default} ${t ? "cursor-not-allowed" : "cursor-pointer"}`,
|
|
8
|
+
ratingDisplay: "flex items-center gap-xxs",
|
|
9
|
+
rangeContainer: `flex flex-col py-md justify-center items-center gap-xs rounded absolute top-[3.325rem] ${t ? e.disabled : l ? r.active : e.default}`,
|
|
10
|
+
sliderContainer: "flex flex-col pt-md px-md justify-center items-center gap-3xs w-full self-stretch",
|
|
11
|
+
sliderRoot: "relative flex items-center select-none touch-none w-full h-5",
|
|
12
|
+
sliderTrack: "bg-glyph-disabledInverted relative z-0 w-full rounded-xs h-2",
|
|
13
|
+
sliderRangeOuter: "absolute z-20 bg-glyph-active rounded-full h-full",
|
|
14
|
+
sliderRangeInner: "flex absolute w-full z-10 justify-between items-center",
|
|
15
|
+
sliderThumbOuter: "flex justify-center w-4 h-4 bg-glyph-overlay z-30 relative rounded-full border-glyph-active focus:outline-none ring-[0.1rem] ring-glyph-active focus:w-[1.25rem] focus:h-[1.25rem] focus:ring-[0.15rem] focus:ring-glyph-active",
|
|
16
|
+
sliderThumbInner: "w-8 h-8 text-center rounded-xs absolute top-[1.6rem] inset-y-0 bg-glyph-default",
|
|
17
|
+
displayedValuesContainer: "flex w-full px-xxs justify-between items-center",
|
|
18
|
+
displayedValues: "w-8 h-8 text-center",
|
|
19
|
+
inputContainer: "flex px-md w-full pt-xs items-center gap-md self-stretch",
|
|
20
|
+
inputDiv: `flex focus:border-glyph-active h-[3rem] px-xs items-center gap-md border-[#B0B0B0] ${r.base} bg-[#FFF] w-1/2 ${n[1]} [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none`,
|
|
21
|
+
rangeStep: "w-2 h-2 rounded-full"
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
d as styles
|
|
25
|
+
};
|