@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,156 @@
|
|
|
1
|
+
import { jsxs as I, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import x, { useState as v, useEffect as _ } from "react";
|
|
3
|
+
import { c as E } from "../../../../index-fN7hCOo3.js";
|
|
4
|
+
import { textFieldContainer as $ } from "./styles.js";
|
|
5
|
+
import { Icons as R } from "../../icons/icons.js";
|
|
6
|
+
import "../../icons/iconsSVGs/Large/Profile.js";
|
|
7
|
+
import "../../icons/iconsSVGs/Small/Profile.js";
|
|
8
|
+
import { Typography as D } from "../../../styles/typography/typography.js";
|
|
9
|
+
import { styleMap as F } from "../../../styles/typography/style.js";
|
|
10
|
+
import { getLabelColor as q, getBorderClasses as z, getHelperTextColor as G } from "../utils-for-forms/state-functions.js";
|
|
11
|
+
import { FormHelperText as J } from "../form-helper-text/form-helper-text.js";
|
|
12
|
+
const C = x.forwardRef(
|
|
13
|
+
({
|
|
14
|
+
error: i = !1,
|
|
15
|
+
warning: s = !1,
|
|
16
|
+
helperText: k,
|
|
17
|
+
label: m,
|
|
18
|
+
placeholder: S,
|
|
19
|
+
value: r = 1,
|
|
20
|
+
step: l = 1,
|
|
21
|
+
onChange: t,
|
|
22
|
+
disabled: e = !1,
|
|
23
|
+
onFocus: d,
|
|
24
|
+
onBlur: p,
|
|
25
|
+
autoFocus: T = !1
|
|
26
|
+
}, b) => {
|
|
27
|
+
const [f, w] = v(!1), a = x.useRef(null), [n, u] = v(r);
|
|
28
|
+
_(() => {
|
|
29
|
+
u(r);
|
|
30
|
+
}, [r]);
|
|
31
|
+
const A = () => {
|
|
32
|
+
w(!1);
|
|
33
|
+
const c = Math.round(r / l) * l;
|
|
34
|
+
t == null || t(c), u(c), p == null || p();
|
|
35
|
+
}, y = (c) => {
|
|
36
|
+
a.current && !a.current.contains(c.target) && f && A();
|
|
37
|
+
};
|
|
38
|
+
x.useEffect(() => (document.addEventListener("mousedown", y), () => {
|
|
39
|
+
document.removeEventListener("mousedown", y);
|
|
40
|
+
}), [f, r]);
|
|
41
|
+
const L = q(f, s, i, e), O = G(s, i, e), V = z(f, s, i, e), j = () => {
|
|
42
|
+
if (!e) {
|
|
43
|
+
if (n === "") {
|
|
44
|
+
t == null || t(0 + l);
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
if (typeof r == "number") {
|
|
48
|
+
t == null || t(r + l);
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}, H = () => {
|
|
53
|
+
if (!e) {
|
|
54
|
+
if (n === "") {
|
|
55
|
+
t == null || t(0);
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
if (typeof r == "number") {
|
|
59
|
+
if (r - l < 0) {
|
|
60
|
+
t == null || t(0);
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
t == null || t(r - l);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}, M = (c) => {
|
|
68
|
+
if (c.target.value === "") {
|
|
69
|
+
u(c.target.value);
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
u(c.target.value), t == null || t(parseInt(c.target.value));
|
|
73
|
+
}, N = (c) => {
|
|
74
|
+
c.currentTarget.select();
|
|
75
|
+
};
|
|
76
|
+
return /* @__PURE__ */ I(
|
|
77
|
+
"div",
|
|
78
|
+
{
|
|
79
|
+
onFocus: () => {
|
|
80
|
+
!e && w(!0), !e && (d == null || d());
|
|
81
|
+
},
|
|
82
|
+
ref: a,
|
|
83
|
+
children: [
|
|
84
|
+
m && /* @__PURE__ */ o("label", { "data-testid": "textfield-label-test", htmlFor: `${m}`, children: /* @__PURE__ */ o(D, { swStyle: 3, children: m, color: L }) }),
|
|
85
|
+
/* @__PURE__ */ I(
|
|
86
|
+
"div",
|
|
87
|
+
{
|
|
88
|
+
"data-testid": "textfield",
|
|
89
|
+
className: E(
|
|
90
|
+
V,
|
|
91
|
+
"inline-flex",
|
|
92
|
+
e ? "bg-surface-disabled cursor-not-allowed" : "bg-white",
|
|
93
|
+
$
|
|
94
|
+
),
|
|
95
|
+
children: [
|
|
96
|
+
/* @__PURE__ */ o(
|
|
97
|
+
R,
|
|
98
|
+
{
|
|
99
|
+
id: "decrease-stepper",
|
|
100
|
+
color: f ? "active" : i ? "alert" : s ? "warning" : "default",
|
|
101
|
+
icon: "Subtract",
|
|
102
|
+
disabled: r === 0 || e,
|
|
103
|
+
handleClick: H
|
|
104
|
+
}
|
|
105
|
+
),
|
|
106
|
+
/* @__PURE__ */ o(
|
|
107
|
+
"input",
|
|
108
|
+
{
|
|
109
|
+
type: "number",
|
|
110
|
+
autoFocus: T,
|
|
111
|
+
name: m,
|
|
112
|
+
min: 0,
|
|
113
|
+
ref: b,
|
|
114
|
+
id: m,
|
|
115
|
+
className: E(
|
|
116
|
+
`w-[3.5rem] focus:outline-none [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none text-center ${F[5]}`,
|
|
117
|
+
e ? "bg-surface-disabled cursor-not-allowed" : ""
|
|
118
|
+
),
|
|
119
|
+
placeholder: S,
|
|
120
|
+
onChange: M,
|
|
121
|
+
value: n,
|
|
122
|
+
onClick: N,
|
|
123
|
+
"data-testid": "stepper-test",
|
|
124
|
+
disabled: e
|
|
125
|
+
}
|
|
126
|
+
),
|
|
127
|
+
/* @__PURE__ */ o(
|
|
128
|
+
R,
|
|
129
|
+
{
|
|
130
|
+
disabled: e,
|
|
131
|
+
id: "stepper-increment",
|
|
132
|
+
icon: "Add",
|
|
133
|
+
color: f ? "active" : i ? "alert" : s ? "warning" : "default",
|
|
134
|
+
handleClick: j
|
|
135
|
+
}
|
|
136
|
+
)
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
),
|
|
140
|
+
k && /* @__PURE__ */ o(
|
|
141
|
+
J,
|
|
142
|
+
{
|
|
143
|
+
helperText: k,
|
|
144
|
+
warning: s,
|
|
145
|
+
error: i,
|
|
146
|
+
helperTextAndIconColor: O
|
|
147
|
+
}
|
|
148
|
+
)
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
);
|
|
154
|
+
export {
|
|
155
|
+
C as Stepper
|
|
156
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const textFieldContainer = "h-[4rem] items-center gap-xs p-sm border-[0.1rem]";
|
|
2
|
+
export declare const iconSize = "h-[2rem]";
|
|
3
|
+
export declare const textFieldMessageEditor = "flex h-[4rem] px-5 items-center space-x-2.5 border-t border-transparent border-bcolor-subdued text-xl font-medium [&_path]:fill-surface-active";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = "h-[4rem] items-center gap-xs p-sm border-[0.1rem]", t = "h-[2rem]", r = "flex h-[4rem] px-5 items-center space-x-2.5 border-t border-transparent border-bcolor-subdued text-xl font-medium [&_path]:fill-surface-active";
|
|
2
|
+
export {
|
|
3
|
+
t as iconSize,
|
|
4
|
+
e as textFieldContainer,
|
|
5
|
+
r as textFieldMessageEditor
|
|
6
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type SwitchProps = {
|
|
4
|
+
/**
|
|
5
|
+
* A main, large title on the side of the switch
|
|
6
|
+
*/
|
|
7
|
+
label?: string | React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* A smaller text at the bottom of label
|
|
10
|
+
*/
|
|
11
|
+
helperText?: string | React.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Layout of the element: swicth on the left, and text on the right. Or vise-versa.
|
|
14
|
+
*/
|
|
15
|
+
labelPosition?: 'left' | 'right';
|
|
16
|
+
/**
|
|
17
|
+
* Whether element is turned on by default or not
|
|
18
|
+
*/
|
|
19
|
+
checked?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* variable to determine error state
|
|
22
|
+
*/
|
|
23
|
+
error?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* variable to determine warning state
|
|
26
|
+
*/
|
|
27
|
+
warning?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Whether element is interactable or not
|
|
30
|
+
*/
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Function to fire on switch change
|
|
34
|
+
*/
|
|
35
|
+
onChange?: () => void;
|
|
36
|
+
/**
|
|
37
|
+
* optional autoFocus
|
|
38
|
+
*/
|
|
39
|
+
autoFocus?: boolean;
|
|
40
|
+
};
|
|
41
|
+
export declare function Switch({ label, helperText, labelPosition, checked, error, warning, onChange, disabled, autoFocus, }: SwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { jsxs as x, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import H, { useId as M } from "react";
|
|
4
|
+
import { b as k, u as A, c as j, a as P, d as F, e as U } from "../../../../index-DotfMcM0.js";
|
|
5
|
+
import { u as q } from "../../../../index-BZPx6jYI.js";
|
|
6
|
+
import { Typography as z } from "../../../styles/typography/typography.js";
|
|
7
|
+
import { FormHelperText as L } from "../form-helper-text/form-helper-text.js";
|
|
8
|
+
import { getHelperTextColor as O } from "../utils-for-forms/state-functions.js";
|
|
9
|
+
import { t as w } from "../../../../bundle-mjs-CAy1p0fn.js";
|
|
10
|
+
var b = "Switch", [D, oe] = j(b), [V, W] = D(b), R = d.forwardRef(
|
|
11
|
+
(e, c) => {
|
|
12
|
+
const {
|
|
13
|
+
__scopeSwitch: r,
|
|
14
|
+
name: a,
|
|
15
|
+
checked: s,
|
|
16
|
+
defaultChecked: u,
|
|
17
|
+
required: n,
|
|
18
|
+
disabled: t,
|
|
19
|
+
value: l = "on",
|
|
20
|
+
onCheckedChange: f,
|
|
21
|
+
form: i,
|
|
22
|
+
...S
|
|
23
|
+
} = e, [p, m] = d.useState(null), g = k(c, (v) => m(v)), C = d.useRef(!1), y = p ? i || !!p.closest("form") : !0, [h, T] = A({
|
|
24
|
+
prop: s,
|
|
25
|
+
defaultProp: u ?? !1,
|
|
26
|
+
onChange: f,
|
|
27
|
+
caller: b
|
|
28
|
+
});
|
|
29
|
+
return /* @__PURE__ */ x(V, { scope: r, checked: h, disabled: t, children: [
|
|
30
|
+
/* @__PURE__ */ o(
|
|
31
|
+
P.button,
|
|
32
|
+
{
|
|
33
|
+
type: "button",
|
|
34
|
+
role: "switch",
|
|
35
|
+
"aria-checked": h,
|
|
36
|
+
"aria-required": n,
|
|
37
|
+
"data-state": E(h),
|
|
38
|
+
"data-disabled": t ? "" : void 0,
|
|
39
|
+
disabled: t,
|
|
40
|
+
value: l,
|
|
41
|
+
...S,
|
|
42
|
+
ref: g,
|
|
43
|
+
onClick: F(e.onClick, (v) => {
|
|
44
|
+
T((B) => !B), y && (C.current = v.isPropagationStopped(), C.current || v.stopPropagation());
|
|
45
|
+
})
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
y && /* @__PURE__ */ o(
|
|
49
|
+
_,
|
|
50
|
+
{
|
|
51
|
+
control: p,
|
|
52
|
+
bubbles: !C.current,
|
|
53
|
+
name: a,
|
|
54
|
+
value: l,
|
|
55
|
+
checked: h,
|
|
56
|
+
required: n,
|
|
57
|
+
disabled: t,
|
|
58
|
+
form: i,
|
|
59
|
+
style: { transform: "translateX(-100%)" }
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
] });
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
R.displayName = b;
|
|
66
|
+
var I = "SwitchThumb", N = d.forwardRef(
|
|
67
|
+
(e, c) => {
|
|
68
|
+
const { __scopeSwitch: r, ...a } = e, s = W(I, r);
|
|
69
|
+
return /* @__PURE__ */ o(
|
|
70
|
+
P.span,
|
|
71
|
+
{
|
|
72
|
+
"data-state": E(s.checked),
|
|
73
|
+
"data-disabled": s.disabled ? "" : void 0,
|
|
74
|
+
...a,
|
|
75
|
+
ref: c
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
);
|
|
80
|
+
N.displayName = I;
|
|
81
|
+
var X = "SwitchBubbleInput", _ = d.forwardRef(
|
|
82
|
+
({
|
|
83
|
+
__scopeSwitch: e,
|
|
84
|
+
control: c,
|
|
85
|
+
checked: r,
|
|
86
|
+
bubbles: a = !0,
|
|
87
|
+
...s
|
|
88
|
+
}, u) => {
|
|
89
|
+
const n = d.useRef(null), t = k(n, u), l = q(r), f = U(c);
|
|
90
|
+
return d.useEffect(() => {
|
|
91
|
+
const i = n.current;
|
|
92
|
+
if (!i) return;
|
|
93
|
+
const S = window.HTMLInputElement.prototype, m = Object.getOwnPropertyDescriptor(
|
|
94
|
+
S,
|
|
95
|
+
"checked"
|
|
96
|
+
).set;
|
|
97
|
+
if (l !== r && m) {
|
|
98
|
+
const g = new Event("click", { bubbles: a });
|
|
99
|
+
m.call(i, r), i.dispatchEvent(g);
|
|
100
|
+
}
|
|
101
|
+
}, [l, r, a]), /* @__PURE__ */ o(
|
|
102
|
+
"input",
|
|
103
|
+
{
|
|
104
|
+
type: "checkbox",
|
|
105
|
+
"aria-hidden": !0,
|
|
106
|
+
defaultChecked: r,
|
|
107
|
+
...s,
|
|
108
|
+
tabIndex: -1,
|
|
109
|
+
ref: t,
|
|
110
|
+
style: {
|
|
111
|
+
...s.style,
|
|
112
|
+
...f,
|
|
113
|
+
position: "absolute",
|
|
114
|
+
pointerEvents: "none",
|
|
115
|
+
opacity: 0,
|
|
116
|
+
margin: 0
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
);
|
|
122
|
+
_.displayName = X;
|
|
123
|
+
function E(e) {
|
|
124
|
+
return e ? "checked" : "unchecked";
|
|
125
|
+
}
|
|
126
|
+
var $ = R, G = N;
|
|
127
|
+
function ae({
|
|
128
|
+
label: e,
|
|
129
|
+
helperText: c,
|
|
130
|
+
labelPosition: r = "left",
|
|
131
|
+
checked: a = !1,
|
|
132
|
+
error: s = !1,
|
|
133
|
+
warning: u = !1,
|
|
134
|
+
onChange: n,
|
|
135
|
+
disabled: t,
|
|
136
|
+
autoFocus: l = !1
|
|
137
|
+
}) {
|
|
138
|
+
const f = M(), i = O(u, s, !!t);
|
|
139
|
+
return /* @__PURE__ */ o("div", { children: /* @__PURE__ */ x("div", { className: w(" w-full flex gap-md", r === "right" && "flex-row-reverse justify-between"), children: [
|
|
140
|
+
/* @__PURE__ */ o("div", { className: w("pt-[0.2rem]"), children: /* @__PURE__ */ o(
|
|
141
|
+
$,
|
|
142
|
+
{
|
|
143
|
+
autoFocus: l,
|
|
144
|
+
className: w(
|
|
145
|
+
"w-[3.5rem] h-[2.1rem] rounded-[1.2rem] relative outline-none cursor-default",
|
|
146
|
+
a ? "bg-surface-activeInverted" : " bg-surface-defaultInverted",
|
|
147
|
+
t && "cursor-not-allowed bg-surface-disabled",
|
|
148
|
+
t && a && "bg-surface-disabledActive"
|
|
149
|
+
),
|
|
150
|
+
id: f,
|
|
151
|
+
checked: a,
|
|
152
|
+
onCheckedChange: () => {
|
|
153
|
+
n && n();
|
|
154
|
+
},
|
|
155
|
+
disabled: t,
|
|
156
|
+
"data-testid": "switchRoot",
|
|
157
|
+
children: /* @__PURE__ */ o(
|
|
158
|
+
G,
|
|
159
|
+
{
|
|
160
|
+
className: w(
|
|
161
|
+
"block w-[1.6rem] h-[1.6rem] rounded-full transition-transform duration-100 translate-x-[0.3rem] will-change-transform data-[state=checked]:translate-x-[1.6rem] bg-glyph-defaultInverted",
|
|
162
|
+
t && "bg-glyph-disabled"
|
|
163
|
+
)
|
|
164
|
+
}
|
|
165
|
+
)
|
|
166
|
+
}
|
|
167
|
+
) }),
|
|
168
|
+
/* @__PURE__ */ x("div", { className: "flex flex-col", children: [
|
|
169
|
+
e && /* @__PURE__ */ o("label", { htmlFor: f, children: H.isValidElement(e) ? e : /* @__PURE__ */ o(z, { swStyle: 5, children: e }) }),
|
|
170
|
+
c && /* @__PURE__ */ o(
|
|
171
|
+
L,
|
|
172
|
+
{
|
|
173
|
+
helperText: c,
|
|
174
|
+
warning: u,
|
|
175
|
+
error: s,
|
|
176
|
+
helperTextAndIconColor: i
|
|
177
|
+
}
|
|
178
|
+
)
|
|
179
|
+
] })
|
|
180
|
+
] }) });
|
|
181
|
+
}
|
|
182
|
+
export {
|
|
183
|
+
ae as Switch
|
|
184
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const switchPropDefs: {
|
|
2
|
+
size: {
|
|
3
|
+
type: string;
|
|
4
|
+
values: readonly ["1", "2", "3"];
|
|
5
|
+
default: string;
|
|
6
|
+
responsive: boolean;
|
|
7
|
+
};
|
|
8
|
+
variant: {
|
|
9
|
+
type: string;
|
|
10
|
+
values: readonly ["classic", "surface", "soft"];
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
color: {
|
|
14
|
+
type: string;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
highContrast: {
|
|
18
|
+
type: string;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
radius: {
|
|
22
|
+
type: string;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export { switchPropDefs };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const e = ["1", "2", "3"], t = ["classic", "surface", "soft"], s = {
|
|
2
|
+
size: { type: "enum", values: e, default: "2", responsive: !0 },
|
|
3
|
+
variant: { type: "enum", values: t, default: "surface" },
|
|
4
|
+
color: {
|
|
5
|
+
type: "enum",
|
|
6
|
+
default: "red"
|
|
7
|
+
},
|
|
8
|
+
highContrast: {
|
|
9
|
+
type: "boolean",
|
|
10
|
+
default: void 0
|
|
11
|
+
},
|
|
12
|
+
radius: {
|
|
13
|
+
type: "enum",
|
|
14
|
+
default: void 0
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
s as switchPropDefs
|
|
19
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { f as o } from "../../../../index-DfdAzObv.js";
|
|
2
|
+
import { Textarea as a } from "./textarea.js";
|
|
3
|
+
const e = {
|
|
4
|
+
title: "@spotwork-ui/Textarea",
|
|
5
|
+
component: a,
|
|
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
|
+
label: "Textarea"
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as Primary,
|
|
21
|
+
e as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const t = (e) => ({
|
|
2
|
+
container: "flex flex-col w-full",
|
|
3
|
+
subContainer: "flex flex-col justify-center items-start gap-xs self-stretch",
|
|
4
|
+
helperContainer: "flex justify-start items-center gap-xs",
|
|
5
|
+
textarea: `self-stretch ${e ? "bg-surface-disabled" : "bg-surface-default"} opacity-100 px-[1rem] py-[0.75rem] focus:outline-none ${e && "cursor-not-allowed"}`
|
|
6
|
+
});
|
|
7
|
+
export {
|
|
8
|
+
t as styles
|
|
9
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type TextareaProps = {
|
|
4
|
+
/**
|
|
5
|
+
* The variable to store typed in text
|
|
6
|
+
*/
|
|
7
|
+
value: string;
|
|
8
|
+
/**
|
|
9
|
+
* placeholder
|
|
10
|
+
*/
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
/**
|
|
13
|
+
* inital amount of rows wants for the textarea
|
|
14
|
+
*/
|
|
15
|
+
rows?: number;
|
|
16
|
+
/**
|
|
17
|
+
* The inital amount of columns wanted for the textarea
|
|
18
|
+
*/
|
|
19
|
+
cols?: number;
|
|
20
|
+
/**
|
|
21
|
+
* the hint test that is at the bottom of the component
|
|
22
|
+
*/
|
|
23
|
+
helperText?: string;
|
|
24
|
+
/**
|
|
25
|
+
* variable to determine error state
|
|
26
|
+
*/
|
|
27
|
+
error?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* variable to determine warning state
|
|
30
|
+
*/
|
|
31
|
+
warning?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* variable to determine disabled state
|
|
34
|
+
*/
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* the handle change to determine the action of when a value is typed into the textarea
|
|
38
|
+
*/
|
|
39
|
+
onChange: (value: string) => void;
|
|
40
|
+
/**
|
|
41
|
+
* The label that is placed at the top of the component
|
|
42
|
+
*/
|
|
43
|
+
label?: string;
|
|
44
|
+
/**
|
|
45
|
+
* pass onBlur func
|
|
46
|
+
*/
|
|
47
|
+
onBlur?: () => void;
|
|
48
|
+
/**
|
|
49
|
+
* optional?: autoFocus
|
|
50
|
+
*/
|
|
51
|
+
autoFocus?: boolean;
|
|
52
|
+
};
|
|
53
|
+
export declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { jsxs as l, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import A, { useState as I } from "react";
|
|
3
|
+
import { Icons as j } from "../../icons/icons.js";
|
|
4
|
+
import "../../icons/iconsSVGs/Large/Profile.js";
|
|
5
|
+
import "../../icons/iconsSVGs/Small/Profile.js";
|
|
6
|
+
import { styles as F } from "./styles.js";
|
|
7
|
+
import { c as f } from "../../../../index-fN7hCOo3.js";
|
|
8
|
+
import { Typography as p } from "../../../styles/typography/typography.js";
|
|
9
|
+
import { styleMap as H } from "../../../styles/typography/style.js";
|
|
10
|
+
import { getLabelColor as R, getBorderClasses as _, getHelperTextColor as b } from "../utils-for-forms/state-functions.js";
|
|
11
|
+
const J = A.forwardRef(
|
|
12
|
+
({
|
|
13
|
+
value: d,
|
|
14
|
+
placeholder: x,
|
|
15
|
+
rows: h = 6,
|
|
16
|
+
cols: C = 50,
|
|
17
|
+
helperText: c,
|
|
18
|
+
error: t = !1,
|
|
19
|
+
warning: a = !1,
|
|
20
|
+
disabled: e = !1,
|
|
21
|
+
label: u,
|
|
22
|
+
onChange: v,
|
|
23
|
+
onBlur: r,
|
|
24
|
+
autoFocus: y = !1
|
|
25
|
+
}, T) => {
|
|
26
|
+
const [i, m] = I(!1), o = F(e), S = R(i, a, t, e), n = b(a, t, e), g = _(i, a, t, e);
|
|
27
|
+
return /* @__PURE__ */ l("div", { className: o.container, children: [
|
|
28
|
+
/* @__PURE__ */ s(
|
|
29
|
+
p,
|
|
30
|
+
{
|
|
31
|
+
swStyle: 3,
|
|
32
|
+
"data-testid": "labelTextarea",
|
|
33
|
+
color: S,
|
|
34
|
+
children: u
|
|
35
|
+
}
|
|
36
|
+
),
|
|
37
|
+
/* @__PURE__ */ l("div", { className: f(o.subContainer), children: [
|
|
38
|
+
/* @__PURE__ */ s(
|
|
39
|
+
"textarea",
|
|
40
|
+
{
|
|
41
|
+
autoFocus: y,
|
|
42
|
+
ref: T,
|
|
43
|
+
onFocus: () => {
|
|
44
|
+
m(!0);
|
|
45
|
+
},
|
|
46
|
+
onBlur: () => {
|
|
47
|
+
m(!1), r == null || r();
|
|
48
|
+
},
|
|
49
|
+
"data-testid": "textarea",
|
|
50
|
+
disabled: !!e,
|
|
51
|
+
onChange: (N) => {
|
|
52
|
+
!e && v(N.target.value);
|
|
53
|
+
},
|
|
54
|
+
className: f(
|
|
55
|
+
g,
|
|
56
|
+
o.textarea,
|
|
57
|
+
H[5]
|
|
58
|
+
),
|
|
59
|
+
value: d,
|
|
60
|
+
placeholder: x,
|
|
61
|
+
rows: h,
|
|
62
|
+
cols: C
|
|
63
|
+
}
|
|
64
|
+
),
|
|
65
|
+
c && /* @__PURE__ */ l("div", { className: o.helperContainer, children: [
|
|
66
|
+
(t || a) && /* @__PURE__ */ s(
|
|
67
|
+
j,
|
|
68
|
+
{
|
|
69
|
+
disabled: !0,
|
|
70
|
+
icon: t ? "AlertSmall" : "WarningSmall",
|
|
71
|
+
color: n,
|
|
72
|
+
id: "IconHintTextarea"
|
|
73
|
+
}
|
|
74
|
+
),
|
|
75
|
+
/* @__PURE__ */ s(
|
|
76
|
+
p,
|
|
77
|
+
{
|
|
78
|
+
"data-testid": "hintTextarea",
|
|
79
|
+
color: n,
|
|
80
|
+
children: c,
|
|
81
|
+
swStyle: 1
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
] })
|
|
85
|
+
] })
|
|
86
|
+
] });
|
|
87
|
+
}
|
|
88
|
+
);
|
|
89
|
+
export {
|
|
90
|
+
J as Textarea
|
|
91
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const textFieldContainer = "h-[4rem] flex items-center self-stretch gap-md";
|
|
2
|
+
export declare const iconSize = "h-[2rem] w-[2rem]";
|
|
3
|
+
export declare const helperTextContainer = "flex items-center self-stretch gap-xs";
|
|
4
|
+
export declare const textFieldMessageEditor = "flex h-[4rem] px-5 items-center space-x-2.5 self-stretch border-t border-transparent border-bcolor-subdued text-xl font-medium [&_path]:fill-surface-active";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const e = "h-[4rem] flex items-center self-stretch gap-md", t = "h-[2rem] w-[2rem]", r = "flex items-center self-stretch gap-xs", s = "flex h-[4rem] px-5 items-center space-x-2.5 self-stretch border-t border-transparent border-bcolor-subdued text-xl font-medium [&_path]:fill-surface-active";
|
|
2
|
+
export {
|
|
3
|
+
r as helperTextContainer,
|
|
4
|
+
t as iconSize,
|
|
5
|
+
e as textFieldContainer,
|
|
6
|
+
s as textFieldMessageEditor
|
|
7
|
+
};
|