@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,41 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
import { cn as t } from "./lib/utils.js";
|
|
4
|
+
const d = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: t("rounded-xl border border-bcolor-subdued bg-surface-default", e), ...a }));
|
|
5
|
+
d.displayName = "Card";
|
|
6
|
+
const l = r.forwardRef(
|
|
7
|
+
({ className: e, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: t("flex flex-col gap-y-xs p-xl", e), ...a })
|
|
8
|
+
);
|
|
9
|
+
l.displayName = "Header";
|
|
10
|
+
const c = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: t("", e), ...a }));
|
|
11
|
+
c.displayName = "Title";
|
|
12
|
+
const i = r.forwardRef(
|
|
13
|
+
({ className: e, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: t("", e), ...a })
|
|
14
|
+
);
|
|
15
|
+
i.displayName = "Description";
|
|
16
|
+
const f = r.forwardRef(
|
|
17
|
+
({ className: e, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: t("p-xl pt-0", e), ...a })
|
|
18
|
+
);
|
|
19
|
+
f.displayName = "Content";
|
|
20
|
+
const p = r.forwardRef(
|
|
21
|
+
({ className: e, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: t("flex items-center justify-between px-xl pt-0 pb-xs", e), ...a })
|
|
22
|
+
);
|
|
23
|
+
p.displayName = "Footer";
|
|
24
|
+
const x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
|
+
__proto__: null,
|
|
26
|
+
Content: f,
|
|
27
|
+
Description: i,
|
|
28
|
+
Footer: p,
|
|
29
|
+
Header: l,
|
|
30
|
+
Root: d,
|
|
31
|
+
Title: c
|
|
32
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
33
|
+
export {
|
|
34
|
+
f as C,
|
|
35
|
+
i as D,
|
|
36
|
+
p as F,
|
|
37
|
+
l as H,
|
|
38
|
+
d as R,
|
|
39
|
+
c as T,
|
|
40
|
+
x as c
|
|
41
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { f as r } from "../../../index-DfdAzObv.js";
|
|
2
|
+
import { Avatar as o } from "./avatar.js";
|
|
3
|
+
const c = {
|
|
4
|
+
title: "@spotwork-ui/Avatar",
|
|
5
|
+
component: o,
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: "centered"
|
|
8
|
+
},
|
|
9
|
+
tags: ["autodocs"],
|
|
10
|
+
argTypes: {
|
|
11
|
+
backgroundColor: { control: "color" }
|
|
12
|
+
},
|
|
13
|
+
args: { onClick: r() }
|
|
14
|
+
}, e = {
|
|
15
|
+
args: {
|
|
16
|
+
variant: "circular"
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
e as Circular,
|
|
21
|
+
c as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type AvatarProps = {
|
|
2
|
+
/**
|
|
3
|
+
* Unique identifier for the avatar.
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* Determines whether to display a border around the avatar.
|
|
8
|
+
*/
|
|
9
|
+
hasBorder?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Variant of the avatar, which can be 'curvedCorner', 'circular', or 'square'.
|
|
12
|
+
*/
|
|
13
|
+
variant: 'curvedCorner' | 'circular' | 'square';
|
|
14
|
+
/**
|
|
15
|
+
* URL of the image for the avatar.
|
|
16
|
+
*/
|
|
17
|
+
image?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Text abbreviation for the avatar. Preferably a 2-letter code. Renders if the 'image' prop is not provided.
|
|
20
|
+
*/
|
|
21
|
+
textView?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Works for circular variant and square variants if the 'border' prop is 'true'. Displays a blue border.
|
|
24
|
+
*/
|
|
25
|
+
isActive?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Works for circular components and displays a blue circle.
|
|
28
|
+
*/
|
|
29
|
+
isOnline?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Callback function invoked when the avatar is clicked, providing the element ID as an argument.
|
|
32
|
+
*/
|
|
33
|
+
onClick?: (id: string) => void;
|
|
34
|
+
/**
|
|
35
|
+
* Size of the avatar container in rem. Default is 5.5rem for square and 5rem for circular.
|
|
36
|
+
*/
|
|
37
|
+
size?: number;
|
|
38
|
+
};
|
|
39
|
+
export declare function Avatar({ id, hasBorder, variant, image, textView, isActive, isOnline, onClick, size, }: AvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { jsx as r, Fragment as b, jsxs as U } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as _ } from "../../styles/typography/typography.js";
|
|
3
|
+
import { classesMap as I } from "./styles.js";
|
|
4
|
+
import y from "./statusIndicatorIcon.js";
|
|
5
|
+
import { t as s } from "../../../bundle-mjs-CAy1p0fn.js";
|
|
6
|
+
function Z({
|
|
7
|
+
id: p,
|
|
8
|
+
hasBorder: l = !1,
|
|
9
|
+
variant: i,
|
|
10
|
+
image: d,
|
|
11
|
+
textView: E = "NN",
|
|
12
|
+
isActive: o,
|
|
13
|
+
isOnline: v = !1,
|
|
14
|
+
onClick: c,
|
|
15
|
+
size: t
|
|
16
|
+
}) {
|
|
17
|
+
const e = i === "circular", a = e ? 5 : 5.5, n = t ? t / a : 1, m = I[i](l), u = !e && l && o ? "border-bcolor-active" : "border-bcolor-divider", S = t && a > t ? 1 : 7, g = () => {
|
|
18
|
+
c && c(p);
|
|
19
|
+
}, x = d ? /* @__PURE__ */ r(b, { children: /* @__PURE__ */ r(
|
|
20
|
+
"img",
|
|
21
|
+
{
|
|
22
|
+
className: s(m.image, u),
|
|
23
|
+
src: d,
|
|
24
|
+
alt: "avatar-image"
|
|
25
|
+
}
|
|
26
|
+
) }) : /* @__PURE__ */ r(b, { children: /* @__PURE__ */ r(
|
|
27
|
+
"div",
|
|
28
|
+
{
|
|
29
|
+
"data-testid": "avatar-text-box",
|
|
30
|
+
className: s(m.textBox, u),
|
|
31
|
+
children: /* @__PURE__ */ r(
|
|
32
|
+
_,
|
|
33
|
+
{
|
|
34
|
+
swStyle: S,
|
|
35
|
+
children: E,
|
|
36
|
+
color: "visualPlaceholderDefault"
|
|
37
|
+
}
|
|
38
|
+
)
|
|
39
|
+
}
|
|
40
|
+
) }), f = 0.25, A = e && v && !o && /* @__PURE__ */ r(
|
|
41
|
+
"div",
|
|
42
|
+
{
|
|
43
|
+
className: "absolute",
|
|
44
|
+
style: {
|
|
45
|
+
bottom: `${n * f}rem`,
|
|
46
|
+
right: `${n * f}rem`
|
|
47
|
+
},
|
|
48
|
+
"data-testid": "avatar-online-status",
|
|
49
|
+
children: /* @__PURE__ */ r(y, { scalingFactor: n })
|
|
50
|
+
}
|
|
51
|
+
), h = c ? "button" : "div", C = () => e && o ? "border-bcolor-active" : "border-[transparent]";
|
|
52
|
+
return /* @__PURE__ */ U(
|
|
53
|
+
h,
|
|
54
|
+
{
|
|
55
|
+
"data-testid": "avatar-container",
|
|
56
|
+
onClick: g,
|
|
57
|
+
style: {
|
|
58
|
+
width: `${t || a}rem`,
|
|
59
|
+
height: `${t || a}rem`
|
|
60
|
+
},
|
|
61
|
+
className: s(
|
|
62
|
+
"flex items-center justify-center flex-shrink-0 flex-grow-0 relative",
|
|
63
|
+
C(),
|
|
64
|
+
"aspect-square"
|
|
65
|
+
),
|
|
66
|
+
...h === "button" ? { type: "button" } : {},
|
|
67
|
+
children: [
|
|
68
|
+
x,
|
|
69
|
+
A
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
export {
|
|
75
|
+
Z as Avatar
|
|
76
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import "../../styles/colors/colors.js";
|
|
3
|
+
import { glyph as r } from "../../styles/colors/colormap.js";
|
|
4
|
+
function d({
|
|
5
|
+
scalingFactor: t
|
|
6
|
+
}) {
|
|
7
|
+
return /* @__PURE__ */ i(
|
|
8
|
+
"svg",
|
|
9
|
+
{
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: t * 11,
|
|
12
|
+
height: t * 11,
|
|
13
|
+
viewBox: "0 0 11 11",
|
|
14
|
+
fill: "none",
|
|
15
|
+
"data-testid": "StatusIndicator-icon",
|
|
16
|
+
children: /* @__PURE__ */ i(
|
|
17
|
+
"circle",
|
|
18
|
+
{
|
|
19
|
+
cx: "5.5",
|
|
20
|
+
cy: "5.5",
|
|
21
|
+
r: "4.25",
|
|
22
|
+
fill: r.active,
|
|
23
|
+
stroke: "white",
|
|
24
|
+
strokeWidth: "1.5",
|
|
25
|
+
"data-testid": "StatusIndicator-path"
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
d as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const classesMap: {
|
|
2
|
+
curvedCorner: (border?: boolean) => {
|
|
3
|
+
image: string;
|
|
4
|
+
textBox: string;
|
|
5
|
+
};
|
|
6
|
+
circular: (border?: boolean) => {
|
|
7
|
+
image: string;
|
|
8
|
+
textBox: string;
|
|
9
|
+
};
|
|
10
|
+
square: (border?: boolean) => {
|
|
11
|
+
image: string;
|
|
12
|
+
textBox: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
const r = (e = !1) => ({
|
|
2
|
+
image: `
|
|
3
|
+
flex items-center justify-center
|
|
4
|
+
max-w-[100%] max-h-[100%]
|
|
5
|
+
${e ? "border-[0.05rem]" : "border-[0]"}
|
|
6
|
+
rounded
|
|
7
|
+
|
|
8
|
+
`,
|
|
9
|
+
textBox: `
|
|
10
|
+
flex items-center justify-center
|
|
11
|
+
w-full h-full
|
|
12
|
+
${e ? "border-[0.05rem]" : "border-[0]"}
|
|
13
|
+
rounded
|
|
14
|
+
bg-surface-visualPlaceholderDefault
|
|
15
|
+
`
|
|
16
|
+
}), l = (e = !1) => ({
|
|
17
|
+
image: `
|
|
18
|
+
flex items-center justify-center
|
|
19
|
+
max-w-[100%] max-h-[100%]
|
|
20
|
+
${e ? "border-[0.05rem]" : "border-[0]"}
|
|
21
|
+
`,
|
|
22
|
+
textBox: `
|
|
23
|
+
flex items-center justify-center
|
|
24
|
+
w-full h-full
|
|
25
|
+
${e ? "border-[0.05rem]" : "border-[0]"}
|
|
26
|
+
bg-surface-visualPlaceholderDefault
|
|
27
|
+
`
|
|
28
|
+
}), t = (e = !1) => ({
|
|
29
|
+
image: `
|
|
30
|
+
rounded-full
|
|
31
|
+
w-full h-full object-cover object-center
|
|
32
|
+
`,
|
|
33
|
+
textBox: `
|
|
34
|
+
flex items-center justify-center
|
|
35
|
+
w-full h-full
|
|
36
|
+
rounded-full
|
|
37
|
+
${e ? "border-[0.05rem]" : "border-[0]"}
|
|
38
|
+
bg-surface-visualPlaceholderDefault
|
|
39
|
+
`
|
|
40
|
+
}), u = {
|
|
41
|
+
curvedCorner: r,
|
|
42
|
+
circular: t,
|
|
43
|
+
square: l
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
u as classesMap
|
|
47
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type BadgeProps = {
|
|
2
|
+
/**
|
|
3
|
+
* text in the Badge
|
|
4
|
+
*/
|
|
5
|
+
text: string;
|
|
6
|
+
/**
|
|
7
|
+
* badge color
|
|
8
|
+
*/
|
|
9
|
+
color: BadgeColorVariants;
|
|
10
|
+
};
|
|
11
|
+
export declare const badgeColorVariants: {
|
|
12
|
+
active: string;
|
|
13
|
+
affirmative: string;
|
|
14
|
+
affirmativeInverted: string;
|
|
15
|
+
success: string;
|
|
16
|
+
successInverted: string;
|
|
17
|
+
warning: string;
|
|
18
|
+
warningInverted: string;
|
|
19
|
+
alert: string;
|
|
20
|
+
alertInverted: string;
|
|
21
|
+
disabled: string;
|
|
22
|
+
disabledInverted: string;
|
|
23
|
+
};
|
|
24
|
+
export type BadgeColorVariants = keyof typeof badgeColorVariants;
|
|
25
|
+
export declare function Badge({ text, color }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as i } from "../../styles/typography/typography.js";
|
|
3
|
+
const t = {
|
|
4
|
+
active: "active",
|
|
5
|
+
affirmative: "active",
|
|
6
|
+
affirmativeInverted: "activeInverted",
|
|
7
|
+
success: "success",
|
|
8
|
+
successInverted: "successInverted",
|
|
9
|
+
warning: "warning",
|
|
10
|
+
warningInverted: "warningInverted",
|
|
11
|
+
alert: "alert",
|
|
12
|
+
alertInverted: "alertInverted",
|
|
13
|
+
disabled: "disabled",
|
|
14
|
+
disabledInverted: "disabledInverted"
|
|
15
|
+
};
|
|
16
|
+
function c({ text: a, color: r }) {
|
|
17
|
+
const n = t[r];
|
|
18
|
+
return /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
19
|
+
"div",
|
|
20
|
+
{
|
|
21
|
+
"data-testid": "Badge-container",
|
|
22
|
+
className: `px-[0.5rem] py-[0.2rem] bg-surface-${t[r]} rounded-[0.9rem] min-w-[1.8rem] max-w-max h-[1.8rem] flex items-center place-content-around m-[0.1rem]`,
|
|
23
|
+
children: /* @__PURE__ */ e(
|
|
24
|
+
i,
|
|
25
|
+
{
|
|
26
|
+
children: `${a}`.trim().toUpperCase(),
|
|
27
|
+
color: n,
|
|
28
|
+
swStyle: 6,
|
|
29
|
+
lineHeight: 1.4
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
}
|
|
33
|
+
) });
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
c as Badge,
|
|
37
|
+
t as badgeColorVariants
|
|
38
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { f as o } from "../../../index-DfdAzObv.js";
|
|
2
|
+
import { Badge as t } from "./badge.js";
|
|
3
|
+
const e = {
|
|
4
|
+
title: "@spotwork-ui/badge",
|
|
5
|
+
component: t,
|
|
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
|
+
text: "badge item",
|
|
17
|
+
color: "affirmative"
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
s as Primary,
|
|
22
|
+
e as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare const Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const Title: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const Description: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const Content: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export { Root, Header, Footer, Title, Description, Content };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../lib/utils.js";
|
|
4
|
+
import { C as s, D as i, F as p, H as m, R as n, T as C } from "../../../card-Cc2Qkiqr.js";
|
|
5
|
+
export {
|
|
6
|
+
s as Content,
|
|
7
|
+
i as Description,
|
|
8
|
+
p as Footer,
|
|
9
|
+
m as Header,
|
|
10
|
+
n as Root,
|
|
11
|
+
C as Title
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
import * as Card from './card';
|
|
4
|
+
declare const meta: Meta<typeof Card.Root>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Simple: Story;
|
|
9
|
+
export declare const WithHeader: Story;
|
|
10
|
+
export declare const WithFooter: Story;
|
|
11
|
+
export declare const Complete: Story;
|
|
12
|
+
export declare const CustomStyling: Story;
|
|
13
|
+
export declare const MultipleCards: Story;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { R as n, H as c, T as d, D as a, C as t, F as l } from "../../../card-Cc2Qkiqr.js";
|
|
3
|
+
const o = {
|
|
4
|
+
title: "@spotwork-ui/atoms/Card",
|
|
5
|
+
component: n,
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: "centered"
|
|
8
|
+
},
|
|
9
|
+
tags: ["autodocs"],
|
|
10
|
+
argTypes: {
|
|
11
|
+
className: {
|
|
12
|
+
control: "text",
|
|
13
|
+
description: "Additional CSS classes to apply to the card"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}, h = {
|
|
17
|
+
render: () => /* @__PURE__ */ r(n, { className: "w-[350px]", children: [
|
|
18
|
+
/* @__PURE__ */ r(c, { children: [
|
|
19
|
+
/* @__PURE__ */ e(d, { children: "Card Title" }),
|
|
20
|
+
/* @__PURE__ */ e(a, { children: "Card Description" })
|
|
21
|
+
] }),
|
|
22
|
+
/* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("p", { children: "Card Content" }) }),
|
|
23
|
+
/* @__PURE__ */ e(l, { children: /* @__PURE__ */ e("p", { children: "Card Footer" }) })
|
|
24
|
+
] })
|
|
25
|
+
}, p = {
|
|
26
|
+
render: () => /* @__PURE__ */ e(n, { className: "w-[350px]", children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("p", { children: "This is a simple card with just content." }) }) })
|
|
27
|
+
}, m = {
|
|
28
|
+
render: () => /* @__PURE__ */ r(n, { className: "w-[350px]", children: [
|
|
29
|
+
/* @__PURE__ */ r(c, { children: [
|
|
30
|
+
/* @__PURE__ */ e(d, { children: "Card with Header" }),
|
|
31
|
+
/* @__PURE__ */ e(a, { children: "This card has a header with title and description" })
|
|
32
|
+
] }),
|
|
33
|
+
/* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("p", { children: "Card content goes here." }) })
|
|
34
|
+
] })
|
|
35
|
+
}, C = {
|
|
36
|
+
render: () => /* @__PURE__ */ r(n, { className: "w-[350px]", children: [
|
|
37
|
+
/* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("p", { children: "Card content with footer below." }) }),
|
|
38
|
+
/* @__PURE__ */ e(l, { children: /* @__PURE__ */ e("p", { children: "Footer content" }) })
|
|
39
|
+
] })
|
|
40
|
+
}, u = {
|
|
41
|
+
render: () => /* @__PURE__ */ r(n, { className: "w-[350px]", children: [
|
|
42
|
+
/* @__PURE__ */ r(c, { children: [
|
|
43
|
+
/* @__PURE__ */ e(d, { children: "Complete Card" }),
|
|
44
|
+
/* @__PURE__ */ e(a, { children: "This card has all components: header, content, and footer" })
|
|
45
|
+
] }),
|
|
46
|
+
/* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("p", { children: "This is the main content area of the card. It can contain any type of content including text, images, forms, or other components." }) }),
|
|
47
|
+
/* @__PURE__ */ e(l, { children: /* @__PURE__ */ e("p", { children: "Footer content with additional information or actions" }) })
|
|
48
|
+
] })
|
|
49
|
+
}, x = {
|
|
50
|
+
render: () => /* @__PURE__ */ r(n, { className: "w-[400px] border-2 border-blue-500 bg-blue-50", children: [
|
|
51
|
+
/* @__PURE__ */ r(c, { className: "bg-blue-100", children: [
|
|
52
|
+
/* @__PURE__ */ e(d, { className: "text-blue-900", children: "Custom Styled Card" }),
|
|
53
|
+
/* @__PURE__ */ e(a, { className: "text-blue-700", children: "This card has custom styling applied" })
|
|
54
|
+
] }),
|
|
55
|
+
/* @__PURE__ */ e(t, { className: "bg-white", children: /* @__PURE__ */ e("p", { className: "text-gray-800", children: "Content with custom background and text colors." }) }),
|
|
56
|
+
/* @__PURE__ */ e(l, { className: "bg-blue-100", children: /* @__PURE__ */ e("p", { className: "text-blue-900", children: "Custom styled footer" }) })
|
|
57
|
+
] })
|
|
58
|
+
}, w = {
|
|
59
|
+
render: () => /* @__PURE__ */ r("div", { className: "flex gap-4", children: [
|
|
60
|
+
/* @__PURE__ */ r(n, { className: "w-[200px]", children: [
|
|
61
|
+
/* @__PURE__ */ e(c, { children: /* @__PURE__ */ e(d, { children: "Card 1" }) }),
|
|
62
|
+
/* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("p", { children: "First card content" }) })
|
|
63
|
+
] }),
|
|
64
|
+
/* @__PURE__ */ r(n, { className: "w-[200px]", children: [
|
|
65
|
+
/* @__PURE__ */ e(c, { children: /* @__PURE__ */ e(d, { children: "Card 2" }) }),
|
|
66
|
+
/* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("p", { children: "Second card content" }) })
|
|
67
|
+
] }),
|
|
68
|
+
/* @__PURE__ */ r(n, { className: "w-[200px]", children: [
|
|
69
|
+
/* @__PURE__ */ e(c, { children: /* @__PURE__ */ e(d, { children: "Card 3" }) }),
|
|
70
|
+
/* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("p", { children: "Third card content" }) })
|
|
71
|
+
] })
|
|
72
|
+
] }),
|
|
73
|
+
parameters: {
|
|
74
|
+
layout: "padded"
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
export {
|
|
78
|
+
u as Complete,
|
|
79
|
+
x as CustomStyling,
|
|
80
|
+
h as Default,
|
|
81
|
+
w as MultipleCards,
|
|
82
|
+
p as Simple,
|
|
83
|
+
C as WithFooter,
|
|
84
|
+
m as WithHeader,
|
|
85
|
+
o as default
|
|
86
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as Card from './card';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ChipsProps } from '../../form/chips';
|
|
2
|
+
import { GlyphColor } from '../../../styles/colors';
|
|
3
|
+
|
|
4
|
+
export type LabelValuePairProps = {
|
|
5
|
+
/**
|
|
6
|
+
* The main text of the component - displays below the label
|
|
7
|
+
*/
|
|
8
|
+
value: string;
|
|
9
|
+
/**
|
|
10
|
+
* text to display when hovering over the value
|
|
11
|
+
*/
|
|
12
|
+
hoverText?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Label of thecomponent - displayed on top of main text and is smaller and grey
|
|
15
|
+
*/
|
|
16
|
+
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* Optional chip to display at the bottom - takes chip props type
|
|
19
|
+
*/
|
|
20
|
+
color?: GlyphColor;
|
|
21
|
+
/**
|
|
22
|
+
* Optional color display for the bottom text
|
|
23
|
+
*/
|
|
24
|
+
chipsProps?: ChipsProps;
|
|
25
|
+
/**
|
|
26
|
+
* Optional class name
|
|
27
|
+
*/
|
|
28
|
+
className?: string;
|
|
29
|
+
};
|
|
30
|
+
export declare function LabelValuePair({ value, label, chipsProps, color, hoverText, className, }: LabelValuePairProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Chips as d } from "../../form/chips/chips.js";
|
|
3
|
+
import { container as p } from "./styles.js";
|
|
4
|
+
import { Typography as i } from "../../../styles/typography/typography.js";
|
|
5
|
+
import { t as s } from "../../../../bundle-mjs-CAy1p0fn.js";
|
|
6
|
+
function v({
|
|
7
|
+
value: t,
|
|
8
|
+
label: o,
|
|
9
|
+
chipsProps: e,
|
|
10
|
+
color: l = "default",
|
|
11
|
+
hoverText: a,
|
|
12
|
+
className: m
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ n("div", { className: s(p, m), children: [
|
|
15
|
+
/* @__PURE__ */ r(i, { swStyle: 1, color: "subdued", children: o }),
|
|
16
|
+
/* @__PURE__ */ r(i, { swStyle: 3, color: l, title: a, children: t }),
|
|
17
|
+
e && /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(d, { variant: "pill", ...e }) })
|
|
18
|
+
] });
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
v as LabelValuePair
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { f as o } from "../../../../index-DfdAzObv.js";
|
|
2
|
+
import { LabelValuePair as r } from "./label-value-pair.js";
|
|
3
|
+
import "../../../styles/colors/colors.js";
|
|
4
|
+
import { glyphColorsKeys as a } from "../../../styles/colors/colormap.js";
|
|
5
|
+
const l = {
|
|
6
|
+
title: "@spotwork-ui/LabelValuePair",
|
|
7
|
+
component: r,
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: "centered"
|
|
10
|
+
},
|
|
11
|
+
tags: ["autodocs"],
|
|
12
|
+
argTypes: {
|
|
13
|
+
color: { options: a }
|
|
14
|
+
},
|
|
15
|
+
args: { onClick: o() }
|
|
16
|
+
}, m = {
|
|
17
|
+
args: {}
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
m as Primary,
|
|
21
|
+
l as default
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const container = "flex flex-col min-w-[15rem]";
|