@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,197 @@
|
|
|
1
|
+
import { jsx as f, jsxs as N } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as T, useCallback as a, useState as S, useEffect as O, useMemo as ee } from "react";
|
|
3
|
+
import { t as j } from "../../../../bundle-mjs-CAy1p0fn.js";
|
|
4
|
+
import { Textfield as te } from "../textfield/textfield.js";
|
|
5
|
+
import { Icons as re } from "../../icons/icons.js";
|
|
6
|
+
import "../../icons/iconsSVGs/Large/Profile.js";
|
|
7
|
+
import "../../icons/iconsSVGs/Small/Profile.js";
|
|
8
|
+
import { Typography as A } from "../../../styles/typography/typography.js";
|
|
9
|
+
import { outlinedBorder as oe } from "../../../styles/defaults/defaults.js";
|
|
10
|
+
const h = {
|
|
11
|
+
outDiv: "relative flex gap-md w-full",
|
|
12
|
+
dropdown: `flex flex-col items-start max-h-[24rem] min-h-[4rem] w-full overflow-x-hidden absolute ${oe.active} bg-surface-default z-50 overflow-y-auto`,
|
|
13
|
+
itemContainer: "w-full gap-md flex items-center border-b border-bcolor-subdued hover:cursor-pointer py-[0.75rem] px-[1rem] first:rounded-t last:rounded-b",
|
|
14
|
+
addValue: "flex flex-row items-center gap-xs self-stretch py-[0.75rem] px-[1rem] w-[full] h-[4rem] cursor-pointer"
|
|
15
|
+
};
|
|
16
|
+
function pe({
|
|
17
|
+
error: C = !1,
|
|
18
|
+
warning: F = !1,
|
|
19
|
+
helperText: H,
|
|
20
|
+
label: M,
|
|
21
|
+
placeholder: K = "",
|
|
22
|
+
disabled: R = !1,
|
|
23
|
+
options: d = [],
|
|
24
|
+
value: r,
|
|
25
|
+
selectValue: o,
|
|
26
|
+
onChange: s,
|
|
27
|
+
addValue: y,
|
|
28
|
+
inputRef: $,
|
|
29
|
+
onBlur: c,
|
|
30
|
+
autoFocus: z,
|
|
31
|
+
notFoundText: G = "No results found",
|
|
32
|
+
renderOption: k,
|
|
33
|
+
loadingIcon: q,
|
|
34
|
+
noFilter: J = !1,
|
|
35
|
+
addValueLabel: P = "Add value",
|
|
36
|
+
preventBrowserSuggestions: Q = !1
|
|
37
|
+
}) {
|
|
38
|
+
const I = T(null), U = T(null), w = $ || U, W = a(() => {
|
|
39
|
+
var e;
|
|
40
|
+
return r && ((e = d.find((t) => t.value === r)) == null ? void 0 : e.label) || "";
|
|
41
|
+
}, [r, d]), [m, b] = S(!1), [i, p] = S(W()), [u, l] = S(-1);
|
|
42
|
+
O(() => {
|
|
43
|
+
const e = d.find((t) => t.value === r);
|
|
44
|
+
r && d.length > 0 && e && i === "" && (p(e.label), s == null || s(e.label));
|
|
45
|
+
}, [r, d, i, s]);
|
|
46
|
+
const n = ee(() => {
|
|
47
|
+
if (!i.trim() || J) return d;
|
|
48
|
+
const e = i.toLowerCase();
|
|
49
|
+
return [...d].filter((t) => t.label.toLowerCase().includes(e)).sort((t, E) => t.label.toLowerCase().localeCompare(E.label.toLowerCase()));
|
|
50
|
+
}, [d, i]), X = a(
|
|
51
|
+
(e) => {
|
|
52
|
+
p(e), s == null || s(e), b(!0), l(-1), e || o == null || o("");
|
|
53
|
+
},
|
|
54
|
+
[s, o, r]
|
|
55
|
+
), x = a(
|
|
56
|
+
(e) => {
|
|
57
|
+
o == null || o(e.value), p(e.label), b(!1), l(-1), c == null || c();
|
|
58
|
+
},
|
|
59
|
+
[o, c]
|
|
60
|
+
), Y = a(() => {
|
|
61
|
+
var e;
|
|
62
|
+
p(""), b(!0), o == null || o(""), l(-1), s == null || s(""), (e = w == null ? void 0 : w.current) == null || e.focus();
|
|
63
|
+
}, [w, o, s]), Z = a(() => {
|
|
64
|
+
b(!0), l(-1);
|
|
65
|
+
}, []), v = a(() => {
|
|
66
|
+
if (b(!1), l(-1), r) {
|
|
67
|
+
const e = d.find((t) => t.value === r);
|
|
68
|
+
p(e ? e.label : "");
|
|
69
|
+
} else
|
|
70
|
+
p("");
|
|
71
|
+
c == null || c();
|
|
72
|
+
}, [c, r, d]), g = a(
|
|
73
|
+
(e) => {
|
|
74
|
+
if (!(!m || !n.length))
|
|
75
|
+
switch (e.key) {
|
|
76
|
+
case "ArrowDown":
|
|
77
|
+
e.preventDefault(), l((t) => t < n.length - 1 ? t + 1 : 0);
|
|
78
|
+
break;
|
|
79
|
+
case "ArrowUp":
|
|
80
|
+
e.preventDefault(), l((t) => t > 0 ? t - 1 : n.length - 1);
|
|
81
|
+
break;
|
|
82
|
+
case "Enter":
|
|
83
|
+
e.preventDefault(), u >= 0 && u < n.length && x(n[u]);
|
|
84
|
+
break;
|
|
85
|
+
case "Escape":
|
|
86
|
+
e.preventDefault(), v();
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
[m, n, u, x, v]
|
|
91
|
+
), D = a(
|
|
92
|
+
(e) => {
|
|
93
|
+
I.current && !I.current.contains(e.target) && v();
|
|
94
|
+
},
|
|
95
|
+
[v]
|
|
96
|
+
);
|
|
97
|
+
O(() => {
|
|
98
|
+
if (m)
|
|
99
|
+
return document.addEventListener("mousedown", D, { passive: !0 }), document.addEventListener("keydown", g), () => {
|
|
100
|
+
document.removeEventListener("mousedown", D), document.removeEventListener("keydown", g);
|
|
101
|
+
};
|
|
102
|
+
}, [m, D, g]), O(() => {
|
|
103
|
+
l(-1);
|
|
104
|
+
}, [n]);
|
|
105
|
+
const _ = i ? "Cross" : "MagnifyingGlass", B = a(
|
|
106
|
+
(e, t) => {
|
|
107
|
+
const E = t === u, L = e.value === r, V = k ? k(e) : /* @__PURE__ */ f(A, { swStyle: 5, children: e.label, color: "default" });
|
|
108
|
+
return /* @__PURE__ */ f(
|
|
109
|
+
"div",
|
|
110
|
+
{
|
|
111
|
+
"data-testid": `dropdown-search-${e.value}`,
|
|
112
|
+
onClick: () => x(e),
|
|
113
|
+
onMouseEnter: () => l(t),
|
|
114
|
+
className: j(
|
|
115
|
+
h.itemContainer,
|
|
116
|
+
L ? "bg-surface-active" : "bg-white",
|
|
117
|
+
E && !L ? "bg-gray-50" : ""
|
|
118
|
+
),
|
|
119
|
+
role: "option",
|
|
120
|
+
"aria-selected": L,
|
|
121
|
+
children: V
|
|
122
|
+
},
|
|
123
|
+
e.value
|
|
124
|
+
);
|
|
125
|
+
},
|
|
126
|
+
[u, r, k, x]
|
|
127
|
+
);
|
|
128
|
+
return /* @__PURE__ */ N(
|
|
129
|
+
"div",
|
|
130
|
+
{
|
|
131
|
+
className: "flex flex-col w-full relative",
|
|
132
|
+
onFocus: Z,
|
|
133
|
+
ref: I,
|
|
134
|
+
role: "combobox",
|
|
135
|
+
"aria-expanded": m,
|
|
136
|
+
"aria-haspopup": "listbox",
|
|
137
|
+
children: [
|
|
138
|
+
/* @__PURE__ */ f("div", { className: h.outDiv, children: /* @__PURE__ */ f(
|
|
139
|
+
te,
|
|
140
|
+
{
|
|
141
|
+
ref: w,
|
|
142
|
+
autoFocus: z,
|
|
143
|
+
fieldType: "text",
|
|
144
|
+
placeholder: K,
|
|
145
|
+
value: i,
|
|
146
|
+
endIcon: {
|
|
147
|
+
icon: _,
|
|
148
|
+
handleClick: Y
|
|
149
|
+
},
|
|
150
|
+
onChange: X,
|
|
151
|
+
label: M,
|
|
152
|
+
helperText: H,
|
|
153
|
+
error: C,
|
|
154
|
+
warning: F,
|
|
155
|
+
disabled: R,
|
|
156
|
+
externalActive: m,
|
|
157
|
+
loadingIcon: q,
|
|
158
|
+
"aria-autocomplete": "list",
|
|
159
|
+
"aria-controls": "dropdown-options",
|
|
160
|
+
preventBrowserSuggestions: Q
|
|
161
|
+
}
|
|
162
|
+
) }),
|
|
163
|
+
m && /* @__PURE__ */ N(
|
|
164
|
+
"div",
|
|
165
|
+
{
|
|
166
|
+
id: "dropdown-options",
|
|
167
|
+
"data-testid": "dropdown-search-dropdown",
|
|
168
|
+
className: j(h.dropdown, M ? "top-[6.8rem]" : "top-[4.5rem]"),
|
|
169
|
+
role: "listbox",
|
|
170
|
+
children: [
|
|
171
|
+
n.length > 0 ? n.map(B) : /* @__PURE__ */ f("div", { className: h.itemContainer, role: "option", children: /* @__PURE__ */ f(A, { swStyle: 5, color: "default", children: G }) }),
|
|
172
|
+
y && /* @__PURE__ */ N(
|
|
173
|
+
"div",
|
|
174
|
+
{
|
|
175
|
+
className: h.addValue,
|
|
176
|
+
onClick: () => y(i),
|
|
177
|
+
role: "button",
|
|
178
|
+
tabIndex: 0,
|
|
179
|
+
onKeyDown: (e) => {
|
|
180
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), y(i));
|
|
181
|
+
},
|
|
182
|
+
children: [
|
|
183
|
+
/* @__PURE__ */ f(re, { disabled: !0, id: "addvalue", color: "active", icon: "Add" }),
|
|
184
|
+
/* @__PURE__ */ f(A, { children: P, swStyle: 5, color: "active" })
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
)
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
)
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
);
|
|
194
|
+
}
|
|
195
|
+
export {
|
|
196
|
+
pe as DropdownSearch
|
|
197
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { DropdownSearch } from './dropdown-search';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof DropdownSearch>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const WithLabel: Story;
|
|
9
|
+
export declare const WithHelperText: Story;
|
|
10
|
+
export declare const ErrorState: Story;
|
|
11
|
+
export declare const WarningState: Story;
|
|
12
|
+
export declare const Disabled: Story;
|
|
13
|
+
export declare const Loading: Story;
|
|
14
|
+
export declare const EmptyState: Story;
|
|
15
|
+
export declare const Controlled: Story;
|
|
16
|
+
export declare const ControlledWithExternalState: Story;
|
|
17
|
+
export declare const WithAddValue: Story;
|
|
18
|
+
export declare const CustomRenderOption: Story;
|
|
19
|
+
export declare const LargeDataset: Story;
|
|
20
|
+
export declare const AutoFocus: Story;
|
|
21
|
+
export declare const CustomNotFoundText: Story;
|
|
22
|
+
export declare const WithPreselectedValue: Story;
|
|
23
|
+
export declare const KeyboardNavigation: Story;
|
|
24
|
+
export declare const Accessibility: Story;
|
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
import { jsx as o, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { f as b } from "../../../../index-DfdAzObv.js";
|
|
3
|
+
import { useState as u } from "react";
|
|
4
|
+
import { DropdownSearch as c } from "./dropdown-search.js";
|
|
5
|
+
import { Typography as p } from "../../../styles/typography/typography.js";
|
|
6
|
+
import { Icons as h } from "../../icons/icons.js";
|
|
7
|
+
import "../../icons/iconsSVGs/Large/Profile.js";
|
|
8
|
+
import "../../icons/iconsSVGs/Small/Profile.js";
|
|
9
|
+
const t = [
|
|
10
|
+
{ label: "Apple", value: "apple" },
|
|
11
|
+
{ label: "Banana", value: "banana" },
|
|
12
|
+
{ label: "Cherry", value: "cherry" },
|
|
13
|
+
{ label: "Date", value: "date" },
|
|
14
|
+
{ label: "Elderberry", value: "elderberry" },
|
|
15
|
+
{ label: "Fig", value: "fig" },
|
|
16
|
+
{ label: "Grape", value: "grape" },
|
|
17
|
+
{ label: "Honeydew", value: "honeydew" }
|
|
18
|
+
], g = [
|
|
19
|
+
{ label: "Canada", value: "CA" },
|
|
20
|
+
{ label: "United States", value: "US" },
|
|
21
|
+
{ label: "United Kingdom", value: "UK" },
|
|
22
|
+
{ label: "Germany", value: "DE" },
|
|
23
|
+
{ label: "France", value: "FR" },
|
|
24
|
+
{ label: "Spain", value: "ES" },
|
|
25
|
+
{ label: "Italy", value: "IT" },
|
|
26
|
+
{ label: "Japan", value: "JP" },
|
|
27
|
+
{ label: "Australia", value: "AU" },
|
|
28
|
+
{ label: "Brazil", value: "BR" }
|
|
29
|
+
], m = (e) => /* @__PURE__ */ l("div", { className: "flex items-center gap-2", children: [
|
|
30
|
+
/* @__PURE__ */ o(h, { icon: "Building" }),
|
|
31
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col", children: [
|
|
32
|
+
/* @__PURE__ */ o(p, { swStyle: 5, color: "default", children: e.label }),
|
|
33
|
+
/* @__PURE__ */ l(p, { swStyle: 6, color: "subdued", children: [
|
|
34
|
+
"Code: ",
|
|
35
|
+
e.value
|
|
36
|
+
] })
|
|
37
|
+
] })
|
|
38
|
+
] }), d = (e) => {
|
|
39
|
+
var r, s;
|
|
40
|
+
const [a, n] = u(e.value || "");
|
|
41
|
+
return /* @__PURE__ */ l("div", { className: "space-y-4", children: [
|
|
42
|
+
/* @__PURE__ */ o(
|
|
43
|
+
c,
|
|
44
|
+
{
|
|
45
|
+
...e,
|
|
46
|
+
value: a,
|
|
47
|
+
onChange: e.onChange,
|
|
48
|
+
selectValue: n
|
|
49
|
+
}
|
|
50
|
+
),
|
|
51
|
+
/* @__PURE__ */ l("div", { className: "text-sm text-gray-600", children: [
|
|
52
|
+
/* @__PURE__ */ l("p", { children: [
|
|
53
|
+
"External value: ",
|
|
54
|
+
/* @__PURE__ */ o("strong", { children: a || "none" })
|
|
55
|
+
] }),
|
|
56
|
+
/* @__PURE__ */ l("p", { children: [
|
|
57
|
+
"Selected option: ",
|
|
58
|
+
/* @__PURE__ */ o("strong", { children: a ? ((s = (r = e.options) == null ? void 0 : r.find((i) => i.value === a)) == null ? void 0 : s.label) || "not found" : "none" })
|
|
59
|
+
] })
|
|
60
|
+
] })
|
|
61
|
+
] });
|
|
62
|
+
}, A = {
|
|
63
|
+
title: "@spotwork-ui/atoms/form/DropdownSearch",
|
|
64
|
+
component: c,
|
|
65
|
+
parameters: {
|
|
66
|
+
layout: "centered",
|
|
67
|
+
docs: {
|
|
68
|
+
description: {
|
|
69
|
+
component: "A searchable dropdown component with keyboard navigation, accessibility features, and customizable rendering options."
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
tags: ["autodocs"],
|
|
74
|
+
argTypes: {
|
|
75
|
+
error: {
|
|
76
|
+
control: "boolean",
|
|
77
|
+
description: "Trigger error state"
|
|
78
|
+
},
|
|
79
|
+
warning: {
|
|
80
|
+
control: "boolean",
|
|
81
|
+
description: "Trigger warning state"
|
|
82
|
+
},
|
|
83
|
+
disabled: {
|
|
84
|
+
control: "boolean",
|
|
85
|
+
description: "Disable input field"
|
|
86
|
+
},
|
|
87
|
+
autoFocus: {
|
|
88
|
+
control: "boolean",
|
|
89
|
+
description: "Auto focus the input field"
|
|
90
|
+
},
|
|
91
|
+
isLoading: {
|
|
92
|
+
control: "boolean",
|
|
93
|
+
description: "Show loading icon"
|
|
94
|
+
},
|
|
95
|
+
label: {
|
|
96
|
+
control: "text",
|
|
97
|
+
description: "A label to be displayed above the input field"
|
|
98
|
+
},
|
|
99
|
+
placeholder: {
|
|
100
|
+
control: "text",
|
|
101
|
+
description: "A placeholder to be displayed in the input field"
|
|
102
|
+
},
|
|
103
|
+
helperText: {
|
|
104
|
+
control: "text",
|
|
105
|
+
description: "Display helper text"
|
|
106
|
+
},
|
|
107
|
+
notFoundText: {
|
|
108
|
+
control: "text",
|
|
109
|
+
description: "Text to show when no results are found"
|
|
110
|
+
},
|
|
111
|
+
value: {
|
|
112
|
+
control: "text",
|
|
113
|
+
description: "Set value for controlled components"
|
|
114
|
+
},
|
|
115
|
+
options: {
|
|
116
|
+
control: "object",
|
|
117
|
+
description: "An Array of options"
|
|
118
|
+
},
|
|
119
|
+
onChange: {
|
|
120
|
+
action: "changed",
|
|
121
|
+
description: "Function called when the input field changes"
|
|
122
|
+
},
|
|
123
|
+
selectValue: {
|
|
124
|
+
action: "selected",
|
|
125
|
+
description: "Function called when an option is selected"
|
|
126
|
+
},
|
|
127
|
+
addValue: {
|
|
128
|
+
action: "add value",
|
|
129
|
+
description: "Function called when add value button is clicked"
|
|
130
|
+
},
|
|
131
|
+
onBlur: {
|
|
132
|
+
action: "blurred",
|
|
133
|
+
description: "Function called when the input loses focus"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
args: {
|
|
137
|
+
placeholder: "Search options...",
|
|
138
|
+
notFoundText: "No results found"
|
|
139
|
+
}
|
|
140
|
+
}, F = {
|
|
141
|
+
args: {
|
|
142
|
+
options: t,
|
|
143
|
+
label: "Select a fruit"
|
|
144
|
+
}
|
|
145
|
+
}, N = {
|
|
146
|
+
args: {
|
|
147
|
+
options: t,
|
|
148
|
+
label: "Choose your favorite fruit",
|
|
149
|
+
placeholder: "Type to search fruits..."
|
|
150
|
+
}
|
|
151
|
+
}, E = {
|
|
152
|
+
args: {
|
|
153
|
+
options: t,
|
|
154
|
+
label: "Fruit Selection",
|
|
155
|
+
helperText: "Select a fruit from the dropdown or search for one",
|
|
156
|
+
placeholder: "Search fruits..."
|
|
157
|
+
}
|
|
158
|
+
}, k = {
|
|
159
|
+
args: {
|
|
160
|
+
options: t,
|
|
161
|
+
label: "Fruit Selection",
|
|
162
|
+
error: !0,
|
|
163
|
+
helperText: "Please select a valid fruit",
|
|
164
|
+
placeholder: "Search fruits..."
|
|
165
|
+
}
|
|
166
|
+
}, D = {
|
|
167
|
+
args: {
|
|
168
|
+
options: t,
|
|
169
|
+
label: "Fruit Selection",
|
|
170
|
+
warning: !0,
|
|
171
|
+
helperText: "Consider selecting a seasonal fruit",
|
|
172
|
+
placeholder: "Search fruits..."
|
|
173
|
+
}
|
|
174
|
+
}, V = {
|
|
175
|
+
args: {
|
|
176
|
+
options: t,
|
|
177
|
+
label: "Fruit Selection",
|
|
178
|
+
disabled: !0,
|
|
179
|
+
value: "apple",
|
|
180
|
+
placeholder: "Search fruits..."
|
|
181
|
+
}
|
|
182
|
+
}, U = {
|
|
183
|
+
args: {
|
|
184
|
+
options: t,
|
|
185
|
+
label: "Loading Options",
|
|
186
|
+
isLoading: !0,
|
|
187
|
+
loadingIcon: /* @__PURE__ */ o(h, { icon: "Clock" }),
|
|
188
|
+
placeholder: "Loading..."
|
|
189
|
+
}
|
|
190
|
+
}, L = {
|
|
191
|
+
args: {
|
|
192
|
+
options: [],
|
|
193
|
+
label: "No Options",
|
|
194
|
+
placeholder: "No options available",
|
|
195
|
+
notFoundText: "No options match your search"
|
|
196
|
+
}
|
|
197
|
+
}, O = {
|
|
198
|
+
render: (e) => /* @__PURE__ */ o(d, { ...e }),
|
|
199
|
+
args: {
|
|
200
|
+
options: t,
|
|
201
|
+
label: "Controlled Dropdown",
|
|
202
|
+
placeholder: "Type to search..."
|
|
203
|
+
}
|
|
204
|
+
}, I = {
|
|
205
|
+
render: (e) => {
|
|
206
|
+
var r, s;
|
|
207
|
+
const [a, n] = u("banana");
|
|
208
|
+
return /* @__PURE__ */ l("div", { className: "space-y-4", children: [
|
|
209
|
+
/* @__PURE__ */ l("div", { className: "flex gap-2", children: [
|
|
210
|
+
/* @__PURE__ */ o(
|
|
211
|
+
"button",
|
|
212
|
+
{
|
|
213
|
+
onClick: () => n("apple"),
|
|
214
|
+
className: "px-3 py-1 bg-blue-500 text-white rounded text-sm",
|
|
215
|
+
children: "Set to Apple"
|
|
216
|
+
}
|
|
217
|
+
),
|
|
218
|
+
/* @__PURE__ */ o(
|
|
219
|
+
"button",
|
|
220
|
+
{
|
|
221
|
+
onClick: () => n("cherry"),
|
|
222
|
+
className: "px-3 py-1 bg-blue-500 text-white rounded text-sm",
|
|
223
|
+
children: "Set to Cherry"
|
|
224
|
+
}
|
|
225
|
+
),
|
|
226
|
+
/* @__PURE__ */ o(
|
|
227
|
+
"button",
|
|
228
|
+
{
|
|
229
|
+
onClick: () => n(""),
|
|
230
|
+
className: "px-3 py-1 bg-red-500 text-white rounded text-sm",
|
|
231
|
+
children: "Clear"
|
|
232
|
+
}
|
|
233
|
+
)
|
|
234
|
+
] }),
|
|
235
|
+
/* @__PURE__ */ o(
|
|
236
|
+
c,
|
|
237
|
+
{
|
|
238
|
+
...e,
|
|
239
|
+
value: a,
|
|
240
|
+
selectValue: n
|
|
241
|
+
}
|
|
242
|
+
),
|
|
243
|
+
/* @__PURE__ */ l("div", { className: "text-sm text-gray-600", children: [
|
|
244
|
+
/* @__PURE__ */ l("p", { children: [
|
|
245
|
+
"External value: ",
|
|
246
|
+
/* @__PURE__ */ o("strong", { children: a || "none" })
|
|
247
|
+
] }),
|
|
248
|
+
/* @__PURE__ */ l("p", { children: [
|
|
249
|
+
"Selected option: ",
|
|
250
|
+
/* @__PURE__ */ o("strong", { children: a ? ((s = (r = e.options) == null ? void 0 : r.find((i) => i.value === a)) == null ? void 0 : s.label) || "not found" : "none" })
|
|
251
|
+
] })
|
|
252
|
+
] })
|
|
253
|
+
] });
|
|
254
|
+
},
|
|
255
|
+
args: {
|
|
256
|
+
options: t,
|
|
257
|
+
label: "External State Control",
|
|
258
|
+
placeholder: "Type to search or use buttons above..."
|
|
259
|
+
},
|
|
260
|
+
parameters: {
|
|
261
|
+
docs: {
|
|
262
|
+
description: {
|
|
263
|
+
story: "This story demonstrates that the component properly handles external state changes. Use the buttons above to change the external value and see that the input field updates correctly."
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}, R = {
|
|
268
|
+
render: (e) => /* @__PURE__ */ o(d, { ...e }),
|
|
269
|
+
args: {
|
|
270
|
+
options: t,
|
|
271
|
+
label: "Add Custom Value",
|
|
272
|
+
placeholder: "Search or add new value...",
|
|
273
|
+
addValue: b()
|
|
274
|
+
}
|
|
275
|
+
}, W = {
|
|
276
|
+
args: {
|
|
277
|
+
options: g,
|
|
278
|
+
label: "Select Country",
|
|
279
|
+
placeholder: "Search countries...",
|
|
280
|
+
renderOption: m
|
|
281
|
+
}
|
|
282
|
+
}, B = {
|
|
283
|
+
args: {
|
|
284
|
+
options: Array.from({ length: 100 }, (e, a) => ({
|
|
285
|
+
label: `Option ${a + 1}`,
|
|
286
|
+
value: `option-${a + 1}`
|
|
287
|
+
})),
|
|
288
|
+
label: "Large Dataset",
|
|
289
|
+
placeholder: "Search through 100 options..."
|
|
290
|
+
}
|
|
291
|
+
}, K = {
|
|
292
|
+
args: {
|
|
293
|
+
options: t,
|
|
294
|
+
label: "Auto Focus",
|
|
295
|
+
autoFocus: !0,
|
|
296
|
+
placeholder: "This field is auto-focused"
|
|
297
|
+
}
|
|
298
|
+
}, P = {
|
|
299
|
+
args: {
|
|
300
|
+
options: [],
|
|
301
|
+
label: "Custom Not Found",
|
|
302
|
+
placeholder: "Search for something...",
|
|
303
|
+
notFoundText: "Sorry, we couldn't find what you're looking for. Try a different search term."
|
|
304
|
+
}
|
|
305
|
+
}, j = {
|
|
306
|
+
args: {
|
|
307
|
+
options: t,
|
|
308
|
+
label: "Preselected Value",
|
|
309
|
+
value: "banana",
|
|
310
|
+
placeholder: "Search fruits..."
|
|
311
|
+
}
|
|
312
|
+
}, z = {
|
|
313
|
+
render: (e) => /* @__PURE__ */ o(d, { ...e }),
|
|
314
|
+
args: {
|
|
315
|
+
options: t,
|
|
316
|
+
label: "Try Keyboard Navigation",
|
|
317
|
+
placeholder: "Use arrow keys, Enter, and Escape",
|
|
318
|
+
helperText: "Use ↑↓ arrows to navigate, Enter to select, Escape to close"
|
|
319
|
+
},
|
|
320
|
+
parameters: {
|
|
321
|
+
docs: {
|
|
322
|
+
description: {
|
|
323
|
+
story: "This story demonstrates keyboard navigation. Use arrow keys to navigate through options, Enter to select, and Escape to close the dropdown."
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}, G = {
|
|
328
|
+
args: {
|
|
329
|
+
options: t,
|
|
330
|
+
label: "Accessible Dropdown",
|
|
331
|
+
placeholder: "Search with screen reader support",
|
|
332
|
+
helperText: "This component includes proper ARIA attributes and keyboard navigation"
|
|
333
|
+
},
|
|
334
|
+
parameters: {
|
|
335
|
+
docs: {
|
|
336
|
+
description: {
|
|
337
|
+
story: "This component includes comprehensive accessibility features including ARIA attributes, keyboard navigation, and screen reader support."
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
};
|
|
342
|
+
export {
|
|
343
|
+
G as Accessibility,
|
|
344
|
+
K as AutoFocus,
|
|
345
|
+
O as Controlled,
|
|
346
|
+
I as ControlledWithExternalState,
|
|
347
|
+
P as CustomNotFoundText,
|
|
348
|
+
W as CustomRenderOption,
|
|
349
|
+
F as Default,
|
|
350
|
+
V as Disabled,
|
|
351
|
+
L as EmptyState,
|
|
352
|
+
k as ErrorState,
|
|
353
|
+
z as KeyboardNavigation,
|
|
354
|
+
B as LargeDataset,
|
|
355
|
+
U as Loading,
|
|
356
|
+
D as WarningState,
|
|
357
|
+
R as WithAddValue,
|
|
358
|
+
E as WithHelperText,
|
|
359
|
+
N as WithLabel,
|
|
360
|
+
j as WithPreselectedValue,
|
|
361
|
+
A as default
|
|
362
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { GlyphColor } from '../../../styles/colors';
|
|
3
|
+
|
|
4
|
+
export type FormHelperText = {
|
|
5
|
+
/**
|
|
6
|
+
* the variable for the hint string
|
|
7
|
+
*/
|
|
8
|
+
helperText?: string | React.ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* error state for the component
|
|
11
|
+
*/
|
|
12
|
+
error?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* warning state for the component
|
|
15
|
+
*/
|
|
16
|
+
warning?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* GlyphColor for the icons and the text
|
|
19
|
+
*/
|
|
20
|
+
helperTextAndIconColor?: GlyphColor;
|
|
21
|
+
};
|
|
22
|
+
export declare const FormHelperText: ({ helperText, error, warning, helperTextAndIconColor }: FormHelperText) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsxs as s, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import a from "react";
|
|
3
|
+
import { Icons as l } from "../../icons/icons.js";
|
|
4
|
+
import "../../icons/iconsSVGs/Large/Profile.js";
|
|
5
|
+
import "../../icons/iconsSVGs/Small/Profile.js";
|
|
6
|
+
import { Typography as c } from "../../../styles/typography/typography.js";
|
|
7
|
+
const g = ({ helperText: t, error: r, warning: o, helperTextAndIconColor: m }) => /* @__PURE__ */ s("div", { className: "flex justify-start items-start gap-xs mt-xs", children: [
|
|
8
|
+
(r || o) && /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(l, { disabled: !0, icon: r ? "AlertSmall" : "WarningSmall", color: m }) }),
|
|
9
|
+
typeof t == "string" && !a.isValidElement(t) ? /* @__PURE__ */ i(c, { children: t, swStyle: 1, color: m }) : t
|
|
10
|
+
] });
|
|
11
|
+
export {
|
|
12
|
+
g as FormHelperText
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './form-helper-text';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|