@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,50 @@
|
|
|
1
|
+
import { GlyphColor } from '../../../styles/colors';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents a date in the calendar with optional metadata
|
|
5
|
+
* Used for both selected dates and date state management
|
|
6
|
+
*/
|
|
7
|
+
export type CalendarDate = {
|
|
8
|
+
/** The actual date value */
|
|
9
|
+
date: Date;
|
|
10
|
+
/** Optional color state for visual indication (warning, alert, etc.) */
|
|
11
|
+
color?: GlyphColor;
|
|
12
|
+
/** Whether this specific date is disabled regardless of min/max constraints */
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
/** Optional tooltip content to display on hover */
|
|
15
|
+
tooltip?: string | React.ReactNode;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Props for the main Calendar component
|
|
19
|
+
* Defines all configuration options and callbacks for calendar functionality
|
|
20
|
+
*/
|
|
21
|
+
export type CalendarProps = {
|
|
22
|
+
/** Optional header content to display above the calendar */
|
|
23
|
+
header?: React.ReactNode;
|
|
24
|
+
/** Array of currently selected dates with their metadata */
|
|
25
|
+
selectedDates?: CalendarDate[];
|
|
26
|
+
/** Callback triggered when date selection changes */
|
|
27
|
+
onDateChange?: (date: CalendarDate[]) => void;
|
|
28
|
+
/** Callback triggered when navigating to a different month */
|
|
29
|
+
onCurrentMonthChange?: (date: Date) => void;
|
|
30
|
+
/** The month currently being displayed (controls the calendar view) */
|
|
31
|
+
currentMonth?: Date;
|
|
32
|
+
/** Whether the entire calendar is disabled */
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
/** Function to override tooltip content for selected dates */
|
|
35
|
+
overrideTooltip?: (date: CalendarDate) => string | React.ReactNode;
|
|
36
|
+
/** Minimum date that can be selected */
|
|
37
|
+
minDate?: Date;
|
|
38
|
+
/** Maximum date that can be selected */
|
|
39
|
+
maxDate?: Date;
|
|
40
|
+
/**
|
|
41
|
+
* The timezone for all date operations
|
|
42
|
+
* Must be a valid timezone string (e.g., 'America/New_York', 'UTC')
|
|
43
|
+
* If not provided, will auto-detect the user's timezone
|
|
44
|
+
*/
|
|
45
|
+
timezone?: string;
|
|
46
|
+
/** Additional CSS classes to apply to the calendar container */
|
|
47
|
+
className?: string;
|
|
48
|
+
/** Whether the calendar is in read-only mode (no selection allowed) */
|
|
49
|
+
readOnly?: boolean;
|
|
50
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type CheckboxProps = {
|
|
4
|
+
/**
|
|
5
|
+
* a variable containing a true or false state that is changed when the checkbox is clicked or unclicked
|
|
6
|
+
*/
|
|
7
|
+
checked: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* the handleChange that changes the checkboxOption state by taking the event of the checkbox and setting setstate action accordingly
|
|
10
|
+
*/
|
|
11
|
+
onChange?: () => void;
|
|
12
|
+
/**
|
|
13
|
+
* a customizable string that is displayed as a label for the checkbox
|
|
14
|
+
*/
|
|
15
|
+
label?: string | React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* a customizable string that is displayed as a hint for the checkbox
|
|
18
|
+
*/
|
|
19
|
+
helperText?: string;
|
|
20
|
+
/**
|
|
21
|
+
* variable to determine error state
|
|
22
|
+
*/
|
|
23
|
+
error?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* variable to determine warning state
|
|
26
|
+
*/
|
|
27
|
+
warning?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* option disabled state
|
|
30
|
+
*/
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* optional?: autoFocus
|
|
34
|
+
*/
|
|
35
|
+
autoFocus?: boolean;
|
|
36
|
+
};
|
|
37
|
+
export declare function Checkbox({ label, onChange, checked, helperText, error, warning, disabled, autoFocus, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { C as f, a as b } from "../../../../index-DrfOymtc.js";
|
|
3
|
+
import { Icons as p } from "../../icons/icons.js";
|
|
4
|
+
import "../../icons/iconsSVGs/Large/Profile.js";
|
|
5
|
+
import "../../icons/iconsSVGs/Small/Profile.js";
|
|
6
|
+
import { Typography as u } from "../../../styles/typography/typography.js";
|
|
7
|
+
import { FormHelperText as x } from "../form-helper-text/form-helper-text.js";
|
|
8
|
+
import { getHelperTextColor as g } from "../utils-for-forms/state-functions.js";
|
|
9
|
+
import h, { useId as v } from "react";
|
|
10
|
+
import { t as C } from "../../../../bundle-mjs-CAy1p0fn.js";
|
|
11
|
+
function _({
|
|
12
|
+
label: t,
|
|
13
|
+
onChange: i,
|
|
14
|
+
checked: e,
|
|
15
|
+
helperText: a,
|
|
16
|
+
error: l = !1,
|
|
17
|
+
warning: s = !1,
|
|
18
|
+
disabled: o = !1,
|
|
19
|
+
autoFocus: d = !1
|
|
20
|
+
}) {
|
|
21
|
+
const n = v(), c = g(s, l, o);
|
|
22
|
+
return /* @__PURE__ */ m("div", { className: "flex items-start gap-md", children: [
|
|
23
|
+
/* @__PURE__ */ r("div", { className: "flex w-[2.5rem] h-[2.5rem] justify-center items-center gap-md", children: /* @__PURE__ */ r(
|
|
24
|
+
f,
|
|
25
|
+
{
|
|
26
|
+
disabled: o,
|
|
27
|
+
autoFocus: d,
|
|
28
|
+
checked: e,
|
|
29
|
+
onCheckedChange: i,
|
|
30
|
+
className: C(
|
|
31
|
+
"w-[2rem] h-[2rem] border rounded border-bcolor-default flex items-center justify-centers",
|
|
32
|
+
e && "border-none bg-surface-activeInverted",
|
|
33
|
+
s && e && "border-none bg-surface-warningInverted",
|
|
34
|
+
s && !e && "border-bcolor-warning",
|
|
35
|
+
l && e && "border-none bg-surface-alertInverted",
|
|
36
|
+
l && !e && "border-bcolor-alert ",
|
|
37
|
+
o && e && "border-none bg-surface-disabledActive cursor-not-allowed",
|
|
38
|
+
o && !e && "border-bcolor-default bg-surface-disabled cursor-not-allowed"
|
|
39
|
+
),
|
|
40
|
+
id: n,
|
|
41
|
+
children: /* @__PURE__ */ r(b, { children: /* @__PURE__ */ r(
|
|
42
|
+
p,
|
|
43
|
+
{
|
|
44
|
+
disabled: !0,
|
|
45
|
+
icon: "TickSmall",
|
|
46
|
+
color: o ? "disabled" : "overlay"
|
|
47
|
+
}
|
|
48
|
+
) })
|
|
49
|
+
}
|
|
50
|
+
) }),
|
|
51
|
+
/* @__PURE__ */ m("div", { className: "flex flex-col", children: [
|
|
52
|
+
t && /* @__PURE__ */ r("label", { htmlFor: n, children: h.isValidElement(t) ? t : /* @__PURE__ */ r(u, { swStyle: 5, children: t }) }),
|
|
53
|
+
a && /* @__PURE__ */ r(
|
|
54
|
+
x,
|
|
55
|
+
{
|
|
56
|
+
helperText: a,
|
|
57
|
+
warning: s,
|
|
58
|
+
error: l,
|
|
59
|
+
helperTextAndIconColor: c
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
] })
|
|
63
|
+
] });
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
_ as Checkbox
|
|
67
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ColorVariants } from './styles';
|
|
2
|
+
import { SvgKey } from '../../icons';
|
|
3
|
+
|
|
4
|
+
export type ChipsProps = {
|
|
5
|
+
/**
|
|
6
|
+
* chip id
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* chip state, works for largeActionable and smallActionable variants
|
|
11
|
+
*/
|
|
12
|
+
chipSelected?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* return the element ID, works for largeActionable and smallActionable variants
|
|
15
|
+
*/
|
|
16
|
+
setChipSelected?: (id: string) => void;
|
|
17
|
+
/**
|
|
18
|
+
* chip text
|
|
19
|
+
*/
|
|
20
|
+
chipText: string;
|
|
21
|
+
/**
|
|
22
|
+
* hover text
|
|
23
|
+
*/
|
|
24
|
+
hoverText?: string;
|
|
25
|
+
/**
|
|
26
|
+
* only for actionable chips
|
|
27
|
+
*/
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* chip color. In figma it is defined as Affirmative | Warning | Alert | Success | Disabled correspondingly
|
|
31
|
+
*/
|
|
32
|
+
color: ColorVariants;
|
|
33
|
+
/**
|
|
34
|
+
* chip variant
|
|
35
|
+
*/
|
|
36
|
+
variant?: 'largeActionable' | 'smallActionable' | 'largeReadOnly' | 'smallReadOnly' | 'pill' | 'largeActionablePill';
|
|
37
|
+
/**
|
|
38
|
+
* you can define letter or our svg key, for example 'icons:Tick'
|
|
39
|
+
*/
|
|
40
|
+
infoBubbleContent?: string | `icons:${SvgKey}`;
|
|
41
|
+
/**
|
|
42
|
+
* optional autoFocus
|
|
43
|
+
*/
|
|
44
|
+
autoFocus?: boolean;
|
|
45
|
+
};
|
|
46
|
+
export declare function Chips({ id, chipText, hoverText, setChipSelected, chipSelected, disabled, color, variant, infoBubbleContent, autoFocus, }: ChipsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { jsx as t, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import { colorVariants as A, badgeColorMapInverted as k, classesMap as O } from "./styles.js";
|
|
3
|
+
import { Icons as x } from "../../icons/icons.js";
|
|
4
|
+
import { svgs as b } from "../../icons/iconMap.js";
|
|
5
|
+
import { c as w } from "../../../../index-fN7hCOo3.js";
|
|
6
|
+
import { Typography as m } from "../../../styles/typography/typography.js";
|
|
7
|
+
import { Badge as R } from "../../badge/badge.js";
|
|
8
|
+
import { t as v } from "../../../../bundle-mjs-CAy1p0fn.js";
|
|
9
|
+
import { Tooltip as j } from "../../tooltip/tooltip.js";
|
|
10
|
+
function z({
|
|
11
|
+
id: l,
|
|
12
|
+
chipText: c,
|
|
13
|
+
hoverText: N,
|
|
14
|
+
setChipSelected: y,
|
|
15
|
+
chipSelected: e,
|
|
16
|
+
disabled: g = !1,
|
|
17
|
+
color: d,
|
|
18
|
+
variant: n = "largeActionable",
|
|
19
|
+
infoBubbleContent: r,
|
|
20
|
+
autoFocus: p = !1
|
|
21
|
+
}) {
|
|
22
|
+
const $ = "default", u = () => {
|
|
23
|
+
y && y(l);
|
|
24
|
+
}, i = A[d], h = n === "smallReadOnly" ? d : k[d], a = O[n](i), s = typeof r == "string" && r.startsWith("icons:") && Object.keys(b).includes(r.split("icons:")[1]) ? /* @__PURE__ */ t(
|
|
25
|
+
x,
|
|
26
|
+
{
|
|
27
|
+
disabled: !0,
|
|
28
|
+
icon: r.split("icons:")[1],
|
|
29
|
+
color: i,
|
|
30
|
+
id: r.split("icons:")[1]
|
|
31
|
+
}
|
|
32
|
+
) : r && typeof r == "string" ? /* @__PURE__ */ t(R, { text: r, color: h }) : null;
|
|
33
|
+
let o = null;
|
|
34
|
+
return n === "pill" && (o = /* @__PURE__ */ t(
|
|
35
|
+
"div",
|
|
36
|
+
{
|
|
37
|
+
"data-testid": `pill-${l}`,
|
|
38
|
+
"aria-selected": e,
|
|
39
|
+
className: v(a.container, "h-[2rem]", "min-w-0", "max-w-full"),
|
|
40
|
+
children: /* @__PURE__ */ t(
|
|
41
|
+
m,
|
|
42
|
+
{
|
|
43
|
+
"data-testid": `chip-text-${l}`,
|
|
44
|
+
children: c,
|
|
45
|
+
color: i,
|
|
46
|
+
swStyle: 1,
|
|
47
|
+
className: "truncate w-full"
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
}
|
|
51
|
+
)), n === "largeReadOnly" && (o = /* @__PURE__ */ f(
|
|
52
|
+
"div",
|
|
53
|
+
{
|
|
54
|
+
"data-testid": `largeReadOnly-${l}`,
|
|
55
|
+
className: w(a.container, "min-w-0", "max-w-full", `${s ? "pl-xxs pr-md" : "px-md"} `),
|
|
56
|
+
children: [
|
|
57
|
+
s && /* @__PURE__ */ t("div", { "data-testid": `leading-icon-${l}`, children: s }),
|
|
58
|
+
/* @__PURE__ */ t(
|
|
59
|
+
m,
|
|
60
|
+
{
|
|
61
|
+
"data-testid": `chip-text-${l}`,
|
|
62
|
+
children: c,
|
|
63
|
+
swStyle: 3,
|
|
64
|
+
color: i,
|
|
65
|
+
className: "truncate w-full"
|
|
66
|
+
}
|
|
67
|
+
)
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
)), n === "largeActionablePill" && (o = /* @__PURE__ */ f(
|
|
71
|
+
"button",
|
|
72
|
+
{
|
|
73
|
+
autoFocus: p,
|
|
74
|
+
type: "button",
|
|
75
|
+
"data-testid": `largeActionablePill-${l}`,
|
|
76
|
+
"aria-selected": e,
|
|
77
|
+
onClick: d === "disabled" ? () => {
|
|
78
|
+
} : u,
|
|
79
|
+
disabled: g,
|
|
80
|
+
className: w(
|
|
81
|
+
a.container,
|
|
82
|
+
"min-w-0",
|
|
83
|
+
"max-w-full",
|
|
84
|
+
`${s ? "pl-xxs pr-md" : "px-md"} `,
|
|
85
|
+
e ? a.containerSelected : a.containerUnselected
|
|
86
|
+
),
|
|
87
|
+
children: [
|
|
88
|
+
s && /* @__PURE__ */ t("div", { "data-testid": `leading-icon-${l}`, children: s }),
|
|
89
|
+
/* @__PURE__ */ t(
|
|
90
|
+
m,
|
|
91
|
+
{
|
|
92
|
+
"data-testid": `chip-text-${l}`,
|
|
93
|
+
children: c,
|
|
94
|
+
swStyle: 3,
|
|
95
|
+
color: i,
|
|
96
|
+
className: "truncate w-full"
|
|
97
|
+
}
|
|
98
|
+
)
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
)), n === "smallReadOnly" && (o = /* @__PURE__ */ f("div", { "data-testid": `smallReadOnly-${l}`, className: w(a.container, "min-w-0", "max-w-full"), children: [
|
|
102
|
+
s && /* @__PURE__ */ t("div", { "data-testid": `leading-icon-${l}`, children: s }),
|
|
103
|
+
/* @__PURE__ */ t(
|
|
104
|
+
m,
|
|
105
|
+
{
|
|
106
|
+
"data-testid": `chip-text-${l}`,
|
|
107
|
+
children: c,
|
|
108
|
+
swStyle: 1,
|
|
109
|
+
color: i,
|
|
110
|
+
className: "truncate w-full"
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
] })), n === "smallActionable" && (o = /* @__PURE__ */ f(
|
|
114
|
+
"button",
|
|
115
|
+
{
|
|
116
|
+
autoFocus: p,
|
|
117
|
+
type: "button",
|
|
118
|
+
"data-testid": `smallActionable-${l}`,
|
|
119
|
+
"aria-selected": e,
|
|
120
|
+
onClick: d === "disabled" ? () => {
|
|
121
|
+
} : u,
|
|
122
|
+
disabled: g,
|
|
123
|
+
className: w(
|
|
124
|
+
a.container,
|
|
125
|
+
"min-w-0",
|
|
126
|
+
"max-w-full",
|
|
127
|
+
e ? a.containerSelected : a.containerUnselected
|
|
128
|
+
),
|
|
129
|
+
children: [
|
|
130
|
+
e && s && /* @__PURE__ */ t("div", { "data-testid": `leading-icon-${l}`, children: s }),
|
|
131
|
+
/* @__PURE__ */ t(
|
|
132
|
+
m,
|
|
133
|
+
{
|
|
134
|
+
"data-testid": `chip-text-${l}`,
|
|
135
|
+
children: c,
|
|
136
|
+
swStyle: 3,
|
|
137
|
+
color: e ? i : $,
|
|
138
|
+
className: "truncate w-full"
|
|
139
|
+
}
|
|
140
|
+
)
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
)), (n === "largeActionable" || n === void 0) && (o = /* @__PURE__ */ f(
|
|
144
|
+
"button",
|
|
145
|
+
{
|
|
146
|
+
autoFocus: p,
|
|
147
|
+
"data-testid": `largeActionable-${l}`,
|
|
148
|
+
type: "button",
|
|
149
|
+
"aria-selected": e,
|
|
150
|
+
onClick: d === "disabled" ? () => {
|
|
151
|
+
} : u,
|
|
152
|
+
disabled: g,
|
|
153
|
+
className: w(
|
|
154
|
+
a.container,
|
|
155
|
+
"min-w-0",
|
|
156
|
+
"max-w-full",
|
|
157
|
+
e ? a.containerSelected : a.containerUnselected
|
|
158
|
+
),
|
|
159
|
+
children: [
|
|
160
|
+
e && /* @__PURE__ */ t(x, { disabled: !0, icon: "TickSmall", color: i }),
|
|
161
|
+
/* @__PURE__ */ t(
|
|
162
|
+
m,
|
|
163
|
+
{
|
|
164
|
+
"data-testid": `chip-text-${l}`,
|
|
165
|
+
children: c,
|
|
166
|
+
swStyle: 3,
|
|
167
|
+
color: e ? i : $,
|
|
168
|
+
className: "truncate w-full"
|
|
169
|
+
}
|
|
170
|
+
)
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
)), /* @__PURE__ */ t(j, { trigger: o, content: N || c });
|
|
174
|
+
}
|
|
175
|
+
export {
|
|
176
|
+
z as Chips
|
|
177
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { f as o } from "../../../../index-DfdAzObv.js";
|
|
2
|
+
import { Chips as r } from "./chips.js";
|
|
3
|
+
const a = {
|
|
4
|
+
title: "@spotwork-ui/chips",
|
|
5
|
+
component: r,
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: "centered"
|
|
8
|
+
},
|
|
9
|
+
tags: ["autodocs"],
|
|
10
|
+
argTypes: {
|
|
11
|
+
backgroundColor: { control: "color" }
|
|
12
|
+
},
|
|
13
|
+
args: { onClick: o() }
|
|
14
|
+
}, s = {
|
|
15
|
+
args: {
|
|
16
|
+
chipText: "some chips",
|
|
17
|
+
color: "affirmative",
|
|
18
|
+
chipSelected: !1
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
s as Primary,
|
|
23
|
+
a as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { BadgeColorVariants } from '../../badge/badge';
|
|
2
|
+
|
|
3
|
+
export declare const largeActionable: (secondary: string) => {
|
|
4
|
+
container: string;
|
|
5
|
+
containerSelected: string;
|
|
6
|
+
containerUnselected: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const smallActionable: (secondary: string) => {
|
|
9
|
+
container: string;
|
|
10
|
+
containerSelected: string;
|
|
11
|
+
containerUnselected: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const pill: (secondary: string) => {
|
|
14
|
+
container: string;
|
|
15
|
+
containerSelected: string;
|
|
16
|
+
containerUnselected: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const largeReadOnly: (secondary: string) => {
|
|
19
|
+
container: string;
|
|
20
|
+
containerSelected: string;
|
|
21
|
+
containerUnselected: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const largeActionablePill: (secondary: string) => {
|
|
24
|
+
container: string;
|
|
25
|
+
containerSelected: string;
|
|
26
|
+
containerUnselected: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const smallReadOnly: () => {
|
|
29
|
+
container: string;
|
|
30
|
+
containerSelected: string;
|
|
31
|
+
containerUnselected: string;
|
|
32
|
+
};
|
|
33
|
+
export declare const classesMap: {
|
|
34
|
+
largeReadOnly: (secondary: string) => {
|
|
35
|
+
container: string;
|
|
36
|
+
containerSelected: string;
|
|
37
|
+
containerUnselected: string;
|
|
38
|
+
};
|
|
39
|
+
smallReadOnly: () => {
|
|
40
|
+
container: string;
|
|
41
|
+
containerSelected: string;
|
|
42
|
+
containerUnselected: string;
|
|
43
|
+
};
|
|
44
|
+
largeActionable: (secondary: string) => {
|
|
45
|
+
container: string;
|
|
46
|
+
containerSelected: string;
|
|
47
|
+
containerUnselected: string;
|
|
48
|
+
};
|
|
49
|
+
smallActionable: (secondary: string) => {
|
|
50
|
+
container: string;
|
|
51
|
+
containerSelected: string;
|
|
52
|
+
containerUnselected: string;
|
|
53
|
+
};
|
|
54
|
+
pill: (secondary: string) => {
|
|
55
|
+
container: string;
|
|
56
|
+
containerSelected: string;
|
|
57
|
+
containerUnselected: string;
|
|
58
|
+
};
|
|
59
|
+
largeActionablePill: (secondary: string) => {
|
|
60
|
+
container: string;
|
|
61
|
+
containerSelected: string;
|
|
62
|
+
containerUnselected: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export declare const colorVariants: {
|
|
66
|
+
affirmative: string;
|
|
67
|
+
success: string;
|
|
68
|
+
warning: string;
|
|
69
|
+
alert: string;
|
|
70
|
+
disabled: string;
|
|
71
|
+
};
|
|
72
|
+
export type ColorVariants = keyof typeof colorVariants;
|
|
73
|
+
type BadgeColor = {
|
|
74
|
+
[key: string]: BadgeColorVariants;
|
|
75
|
+
};
|
|
76
|
+
export declare const badgeColorMapInverted: BadgeColor;
|
|
77
|
+
export {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
const n = (e) => ({
|
|
2
|
+
container: "w-max max-w-full h-[2.5 rem] border-[0.1rem] rounded-xs px-sm py-xxs inline-flex flex-row items-center gap-xs",
|
|
3
|
+
containerSelected: `bg-surface-${e} border-none`,
|
|
4
|
+
containerUnselected: "bg-surface-default border-bcolor-default"
|
|
5
|
+
}), r = (e) => ({
|
|
6
|
+
container: "w-max max-w-full h-[2.5 rem] border-[0.1rem] rounded-xs flex flex-row items-center gap-xs",
|
|
7
|
+
containerSelected: `bg-surface-${e} border-none pr-sm pl-xs`,
|
|
8
|
+
containerUnselected: "bg-surface-default border-bcolor-default px-sm"
|
|
9
|
+
}), a = (e) => ({
|
|
10
|
+
container: `w-max max-w-full h-[2.5rem] inline-flex rounded-xs px-xxs bg-surface-${e}`,
|
|
11
|
+
containerSelected: "",
|
|
12
|
+
containerUnselected: ""
|
|
13
|
+
}), l = (e) => ({
|
|
14
|
+
container: `w-max max-w-full h-[2.5rem] rounded-xxl inline-flex flex-row items-center gap-xxs bg-surface-${e}`,
|
|
15
|
+
containerSelected: "",
|
|
16
|
+
containerUnselected: ""
|
|
17
|
+
}), t = (e) => ({
|
|
18
|
+
container: `w-max max-w-full h-[2.5rem] rounded-xxl inline-flex flex-row items-center gap-xxs bg-surface-${e}`,
|
|
19
|
+
containerSelected: `bg-surface-${e} border-none`,
|
|
20
|
+
containerUnselected: `bg-surface-${e} border-none`
|
|
21
|
+
}), c = () => ({
|
|
22
|
+
container: "w-max max-w-full h-[2.5rem] rounded-xxl inline-flex flex-row items-center gap-xxs bg-[transparent]",
|
|
23
|
+
containerSelected: "",
|
|
24
|
+
containerUnselected: ""
|
|
25
|
+
}), s = {
|
|
26
|
+
largeReadOnly: l,
|
|
27
|
+
smallReadOnly: c,
|
|
28
|
+
largeActionable: n,
|
|
29
|
+
smallActionable: r,
|
|
30
|
+
pill: a,
|
|
31
|
+
largeActionablePill: t
|
|
32
|
+
}, o = {
|
|
33
|
+
affirmative: "active",
|
|
34
|
+
success: "success",
|
|
35
|
+
warning: "warning",
|
|
36
|
+
alert: "alert",
|
|
37
|
+
disabled: "disabled"
|
|
38
|
+
}, i = {
|
|
39
|
+
affirmative: "affirmativeInverted",
|
|
40
|
+
success: "successInverted",
|
|
41
|
+
warning: "warningInverted",
|
|
42
|
+
alert: "alertInverted",
|
|
43
|
+
disabled: "disabledInverted"
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
i as badgeColorMapInverted,
|
|
47
|
+
s as classesMap,
|
|
48
|
+
o as colorVariants,
|
|
49
|
+
n as largeActionable,
|
|
50
|
+
t as largeActionablePill,
|
|
51
|
+
l as largeReadOnly,
|
|
52
|
+
a as pill,
|
|
53
|
+
r as smallActionable,
|
|
54
|
+
c as smallReadOnly
|
|
55
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type DateCalendarProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Current month in format 'yyyy-MM'
|
|
6
|
+
*/
|
|
7
|
+
currentMonth: string;
|
|
8
|
+
/**
|
|
9
|
+
* Current date value
|
|
10
|
+
*/
|
|
11
|
+
value: string | Date;
|
|
12
|
+
/**
|
|
13
|
+
* Minimum date allowed
|
|
14
|
+
*/
|
|
15
|
+
min: Date;
|
|
16
|
+
/**
|
|
17
|
+
* Maximum date allowed
|
|
18
|
+
*/
|
|
19
|
+
max: Date;
|
|
20
|
+
/**
|
|
21
|
+
* Callback when date changes
|
|
22
|
+
*/
|
|
23
|
+
onDateChange: (date: string) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Callback to close the dropdown
|
|
26
|
+
*/
|
|
27
|
+
onCloseDropdown: () => void;
|
|
28
|
+
/**
|
|
29
|
+
* The timezone of the date selector.
|
|
30
|
+
* Must be a valid timezone string.
|
|
31
|
+
*/
|
|
32
|
+
timezone: string;
|
|
33
|
+
};
|
|
34
|
+
export declare const DateCalendar: React.FC<DateCalendarProps>;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { jsxs as Y, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { t as M } from "../../../../bundle-mjs-CAy1p0fn.js";
|
|
3
|
+
import { Typography as p } from "../../../styles/typography/typography.js";
|
|
4
|
+
import { m as e } from "../../../../index-CYyrKZeH.js";
|
|
5
|
+
const T = ({
|
|
6
|
+
currentMonth: l,
|
|
7
|
+
value: i,
|
|
8
|
+
min: m,
|
|
9
|
+
max: c,
|
|
10
|
+
onDateChange: d,
|
|
11
|
+
onCloseDropdown: s,
|
|
12
|
+
timezone: t
|
|
13
|
+
}) => {
|
|
14
|
+
const f = S({
|
|
15
|
+
start: e(l).startOf("month").format("YYYY-MM-DD"),
|
|
16
|
+
end: e(l).endOf("month").format("YYYY-MM-DD"),
|
|
17
|
+
interval: "days",
|
|
18
|
+
timezone: t
|
|
19
|
+
}), y = e.tz(f[0], t).startOf("day").get("day");
|
|
20
|
+
f.unshift(...new Array(y).fill(null));
|
|
21
|
+
const D = ["S", "M", "T", "W", "T", "F", "S"], w = () => /* @__PURE__ */ a("div", { className: "flex justify-center items-center gap-xl bg-surface-disabled rounded w-full h-[3rem]", children: D.map((r, n) => /* @__PURE__ */ a(
|
|
22
|
+
p,
|
|
23
|
+
{
|
|
24
|
+
swStyle: 1,
|
|
25
|
+
color: n === 0 || n === 6 ? "subdued" : "default",
|
|
26
|
+
children: r,
|
|
27
|
+
className: "min-w-[3rem] text-center"
|
|
28
|
+
},
|
|
29
|
+
r + n
|
|
30
|
+
)) }), b = e.tz(i, t), x = () => /* @__PURE__ */ a("div", { className: "flex flex-row flex-wrap gap-xl justify-start items-start", children: f.map((r, n) => {
|
|
31
|
+
if (r === null)
|
|
32
|
+
return /* @__PURE__ */ a("div", { className: "w-[3rem] h-[3rem]" }, `null-${n}`);
|
|
33
|
+
const o = e.tz(r, t), u = o.isBetween(
|
|
34
|
+
e.tz(m, t),
|
|
35
|
+
e.tz(c, t),
|
|
36
|
+
"day",
|
|
37
|
+
"[]"
|
|
38
|
+
), h = o.isSame(b, "day"), g = o.isSame(
|
|
39
|
+
e().tz(t),
|
|
40
|
+
"day"
|
|
41
|
+
);
|
|
42
|
+
return /* @__PURE__ */ a(
|
|
43
|
+
"div",
|
|
44
|
+
{
|
|
45
|
+
className: M(
|
|
46
|
+
"rounded w-[3rem] h-[3rem] ",
|
|
47
|
+
u ? "cursor-pointer hover:bg-surface-active" : "cursor-not-allowed ",
|
|
48
|
+
g && "border border-bcolor-subdued rounded",
|
|
49
|
+
h && "bg-surface-active border-bcolor-active"
|
|
50
|
+
),
|
|
51
|
+
onClick: (v) => {
|
|
52
|
+
v.stopPropagation(), u && (d(o.format("MM/DD/YYYY")), s());
|
|
53
|
+
},
|
|
54
|
+
children: /* @__PURE__ */ a(
|
|
55
|
+
p,
|
|
56
|
+
{
|
|
57
|
+
swStyle: 5,
|
|
58
|
+
color: u ? h ? "active" : "default" : "disabled",
|
|
59
|
+
children: o.format("D"),
|
|
60
|
+
className: "min-w-[3rem] min-h-[3rem] flex items-center justify-center"
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
},
|
|
64
|
+
r.getDate()
|
|
65
|
+
);
|
|
66
|
+
}) });
|
|
67
|
+
return /* @__PURE__ */ Y("div", { className: "flex flex-col justify-center items-center gap-md", children: [
|
|
68
|
+
w(),
|
|
69
|
+
x()
|
|
70
|
+
] });
|
|
71
|
+
};
|
|
72
|
+
function S({
|
|
73
|
+
start: l,
|
|
74
|
+
end: i,
|
|
75
|
+
interval: m,
|
|
76
|
+
timezone: c
|
|
77
|
+
}) {
|
|
78
|
+
const d = [], s = e.tz(l, c), t = e.tz(i, c);
|
|
79
|
+
for (; s.isSameOrBefore(t); )
|
|
80
|
+
d.push(s.toDate()), s.add(1, m);
|
|
81
|
+
return d;
|
|
82
|
+
}
|
|
83
|
+
export {
|
|
84
|
+
T as DateCalendar
|
|
85
|
+
};
|