impact-ui 3.7.25 → 4.0.0-alpha.10
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/MIGRATION_GUIDE.md +328 -0
- package/README.md +154 -15
- package/bin/migrate-image-paths.cjs +127 -0
- package/bin/migrate.js +293 -0
- package/codemods/component-map.js +153 -0
- package/codemods/image-paths-transform.js +69 -0
- package/codemods/transform.js +136 -0
- package/dist/components/Accordion/index.js +2 -1
- package/dist/components/AccordionModern/index.js +2 -1
- package/dist/components/Alert/index.js +2 -1
- package/dist/components/Avatar/index.js +2 -1
- package/dist/components/Badge/filled/filledIconLabelBadges/index.js +2 -1
- package/dist/components/Badge/filled/filledOnlyIconBadges/index.js +2 -1
- package/dist/components/Badge/filled/filledOnlyLabelBadges/index.js +2 -1
- package/dist/components/Badge/index.js +3 -2
- package/dist/components/Badge/stroke/strokeIconLabelBadges/index.js +2 -1
- package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.js +2 -1
- package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.js +2 -1
- package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.js +2 -1
- package/dist/components/Badge/subtle/subtleIconLabelBadges/index.js +2 -1
- package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.js +2 -1
- package/dist/components/BottomSheet/index.js +2 -1
- package/dist/components/Breadcrumbs/index.js +2 -1
- package/dist/components/Button/index.js +2 -1
- package/dist/components/ButtonGroup/index.js +2 -1
- package/dist/components/Card/index.js +2 -1
- package/dist/components/Chart/index.js +2 -1
- package/dist/components/Chatbot/index.js +2 -1
- package/dist/components/Checkbox/index.js +2 -1
- package/dist/components/Chips/index.js +2 -1
- package/dist/components/CreateItemFlow/index.js +2 -1
- package/dist/components/DatePicker/datePickerDropdown.js +2 -1
- package/dist/components/DatePicker/index.js +3 -2
- package/dist/components/DateRangePicker/dateRangePickerDropdown.js +2 -1
- package/dist/components/DateRangePicker/index.js +3 -2
- package/dist/components/DynamicLayout/index.js +2 -1
- package/dist/components/EmptyState/EmptyStateImage.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyStateImage.js +3 -2
- package/dist/components/EmptyState/index.js +2 -1
- package/dist/components/FileUpload/index.js +2 -1
- package/dist/components/FilterPanel/index.js +2 -1
- package/dist/components/FiltersStrip/index.js +2 -1
- package/dist/components/Header/index.js +2 -1
- package/dist/components/HomePage/index.js +2 -1
- package/dist/components/Input/index.js +2 -1
- package/dist/components/Loader/index.js +2 -1
- package/dist/components/Menu/IconMenuItem.js +2 -1
- package/dist/components/Menu/MenuHeaderInfo.js +2 -1
- package/dist/components/Menu/NestedMenuItem.js +2 -1
- package/dist/components/Menu/index.js +2 -1
- package/dist/components/Menu/nestedMenuItemsFromObject.js +2 -1
- package/dist/components/Modal/index.js +2 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.js +2 -1
- package/dist/components/Notification/index.js +2 -1
- package/dist/components/Panel/index.js +2 -1
- package/dist/components/Popover/index.js +2 -1
- package/dist/components/ProgressBar/index.js +2 -1
- package/dist/components/Prompt/index.js +2 -1
- package/dist/components/RadioButtonGroup/index.js +2 -1
- package/dist/components/Select/index.js +2 -1
- package/dist/components/Sidebar/index.js +2 -1
- package/dist/components/Slider/index.js +2 -1
- package/dist/components/Stepper/index.js +2 -1
- package/dist/components/Switch/index.js +2 -1
- package/dist/components/Table/TableImpl.js +4 -3
- package/dist/components/TableChat/EmptyContainer.js +2 -1
- package/dist/components/TableChat/TableChatSidePanel.js +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.js +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.js +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.js +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.js +2 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +2 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +2 -1
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +2 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +2 -1
- package/dist/components/TableChat/components/TextEditor/MentionList.js +2 -1
- package/dist/components/Tabs/index.js +2 -1
- package/dist/components/Tag/index.js +2 -1
- package/dist/components/TagGroup/index.js +2 -1
- package/dist/components/TextArea/index.js +2 -1
- package/dist/components/Toast/index.js +2 -1
- package/dist/components/Tooltip/index.js +2 -1
- package/dist/components/common/HelperText/index.js +2 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +0 -1
- package/dist/mcp-component-registry.json +1 -1
- package/dist/styles/entry.d.ts +2 -0
- package/dist/styles/entry.d.ts.map +1 -0
- package/dist/styles/entry.js +1 -0
- package/dist/styles/style.css +1 -1
- package/eslint-plugin/index.js +91 -0
- package/eslint-plugin/rules/no-barrel-import.js +224 -0
- package/package.json +153 -89
- package/dist/0db32db10ae1525f.svg +0 -9
- package/dist/2bc76319b1fa572e.svg +0 -9
- package/dist/39d49e4daed1a992.svg +0 -9
- package/dist/44beedf64dc29d19.svg +0 -9
- package/dist/49a4f914058314f1.svg +0 -9
- package/dist/6fc8a59d621a04a1.svg +0 -13
- package/dist/78f845dcfc981491.svg +0 -9
- package/dist/b31c0c2a19c1c19a.svg +0 -9
- package/dist/index.js +0 -308
- package/dist/index.js.map +0 -1
- package/src/components/Accordion/Accordion.styles.scss +0 -118
- package/src/components/Accordion/index.js +0 -104
- package/src/components/AccordionModern/AccordionModern.styles.scss +0 -121
- package/src/components/AccordionModern/SortableAccordionComp.js +0 -156
- package/src/components/AccordionModern/index.js +0 -103
- package/src/components/Alert/Alert.styles.scss +0 -131
- package/src/components/Alert/index.js +0 -71
- package/src/components/Avatar/Avatar.styles.scss +0 -25
- package/src/components/Avatar/index.js +0 -58
- package/src/components/Badge/Badges.style.scss +0 -55
- package/src/components/Badge/filled/filledIconLabelBadges/filledIconLabelBadges.styles.scss +0 -32
- package/src/components/Badge/filled/filledIconLabelBadges/index.js +0 -38
- package/src/components/Badge/filled/filledOnlyIconBadges/filledOnlyIconBadges.styles.scss +0 -26
- package/src/components/Badge/filled/filledOnlyIconBadges/index.js +0 -31
- package/src/components/Badge/filled/filledOnlyLabelBadges/filledOnlyLabelBadges.styles.scss +0 -66
- package/src/components/Badge/filled/filledOnlyLabelBadges/index.js +0 -31
- package/src/components/Badge/filled/index.js +0 -30
- package/src/components/Badge/index.js +0 -53
- package/src/components/Badge/stroke/index.js +0 -43
- package/src/components/Badge/stroke/strokeIconLabelBadges/index.js +0 -38
- package/src/components/Badge/stroke/strokeIconLabelBadges/strokeIconLabelBadges.styles.scss +0 -33
- package/src/components/Badge/stroke/strokeOnlyIconBadges/index.js +0 -31
- package/src/components/Badge/stroke/strokeOnlyIconBadges/strokeOnlyIconBadges.styles.scss +0 -27
- package/src/components/Badge/stroke/strokeOnlyLabelBadges/index.js +0 -31
- package/src/components/Badge/stroke/strokeOnlyLabelBadges/strokeOnlyLabelBadges.styles.scss +0 -89
- package/src/components/Badge/styles.css +0 -52
- package/src/components/Badge/subtle/index.js +0 -41
- package/src/components/Badge/subtle/subtleIOnlyIconBadges/index.js +0 -31
- package/src/components/Badge/subtle/subtleIOnlyIconBadges/subtleIOnlyIconBadges.scss +0 -26
- package/src/components/Badge/subtle/subtleIconLabelBadges/index.js +0 -38
- package/src/components/Badge/subtle/subtleIconLabelBadges/subtleIconLabelBadges.scss +0 -56
- package/src/components/Badge/subtle/subtleOnlyLabelBadges/index.js +0 -31
- package/src/components/Badge/subtle/subtleOnlyLabelBadges/subtleOnlyLabelBadges.scss +0 -70
- package/src/components/BottomSheet/BottomSheet.styles.scss +0 -46
- package/src/components/BottomSheet/index.js +0 -60
- package/src/components/Breadcrumbs/Breadcrumbs.styles.scss +0 -65
- package/src/components/Breadcrumbs/index.js +0 -121
- package/src/components/Button/Button.styles.scss +0 -345
- package/src/components/Button/index.js +0 -171
- package/src/components/ButtonGroup/ButtonGroup.styles.scss +0 -125
- package/src/components/ButtonGroup/index.js +0 -84
- package/src/components/Card/Card.styles.scss +0 -33
- package/src/components/Card/index.js +0 -21
- package/src/components/Chart/Chart.style.scss +0 -142
- package/src/components/Chart/index.js +0 -752
- package/src/components/ChatBot/bookMarkPanel.js +0 -74
- package/src/components/ChatBot/chatBot.style.scss +0 -1295
- package/src/components/ChatBot/chatBotFooter.js +0 -14
- package/src/components/ChatBot/chatBotLandingScreen.js +0 -26
- package/src/components/ChatBot/chatInput.js +0 -206
- package/src/components/ChatBot/chatbotModuleMenu.js +0 -278
- package/src/components/ChatBot/constant.js +0 -32
- package/src/components/ChatBot/conversationScreen.js +0 -281
- package/src/components/ChatBot/customScreen.js +0 -69
- package/src/components/ChatBot/historyPanel.js +0 -579
- package/src/components/ChatBot/index.js +0 -473
- package/src/components/ChatBot/newChatComponent.js +0 -105
- package/src/components/ChatBot/utils.js +0 -27
- package/src/components/Checkbox/Checkbox.styles.scss +0 -232
- package/src/components/Checkbox/dashed/index.js +0 -34
- package/src/components/Checkbox/default/index.js +0 -70
- package/src/components/Checkbox/index.js +0 -50
- package/src/components/Checkbox/withDropDown/index.js +0 -96
- package/src/components/Checkbox/withoutFormLabel/index.js +0 -46
- package/src/components/Chips/Chip.style.scss +0 -134
- package/src/components/Chips/index.js +0 -34
- package/src/components/CreateItemFlow/CreateItemFlow.styles.scss +0 -37
- package/src/components/CreateItemFlow/index.js +0 -145
- package/src/components/DatePicker/DatePicker.styles.scss +0 -519
- package/src/components/DatePicker/datePickerDropdown.js +0 -282
- package/src/components/DatePicker/datePickerFooter.js +0 -76
- package/src/components/DatePicker/datePickerInput.js +0 -333
- package/src/components/DatePicker/index.js +0 -288
- package/src/components/DatePicker/showMonthYearSelect.js +0 -119
- package/src/components/DateRangePicker/DateRangePicker.styles.scss +0 -635
- package/src/components/DateRangePicker/dateRangePickerCustom.js +0 -22
- package/src/components/DateRangePicker/dateRangePickerDropdown.js +0 -320
- package/src/components/DateRangePicker/dateRangePickerFooter.js +0 -50
- package/src/components/DateRangePicker/dateRangePickerInput.js +0 -544
- package/src/components/DateRangePicker/index.js +0 -393
- package/src/components/DateRangePicker/showMonthYearSelect.js +0 -103
- package/src/components/DateRangePicker/utils.js +0 -71
- package/src/components/DynamicLayout/DynamicLayout.styles.scss +0 -153
- package/src/components/DynamicLayout/index.js +0 -73
- package/src/components/EmptyState/EmptyState.styles.scss +0 -88
- package/src/components/EmptyState/EmptyStateImageComponent.jsx +0 -36
- package/src/components/EmptyState/index.js +0 -54
- package/src/components/FileUpload/FileUpload.styles.scss +0 -449
- package/src/components/FileUpload/index.js +0 -641
- package/src/components/FilterPanel/FilterPanel.styles.scss +0 -241
- package/src/components/FilterPanel/FilterPanelHeader.js +0 -15
- package/src/components/FilterPanel/PanelFooter.js +0 -65
- package/src/components/FilterPanel/PanelSidebar.js +0 -85
- package/src/components/FilterPanel/index.js +0 -147
- package/src/components/FiltersStrip/FiltersStrip.styles.scss +0 -343
- package/src/components/FiltersStrip/Slider/FilterSlider.styles.scss +0 -85
- package/src/components/FiltersStrip/Slider/Portal.js +0 -59
- package/src/components/FiltersStrip/Slider/index.js +0 -233
- package/src/components/FiltersStrip/appliedFilter.js +0 -180
- package/src/components/FiltersStrip/filterDropDown.js +0 -96
- package/src/components/FiltersStrip/index.js +0 -127
- package/src/components/FiltersStrip/mockData.js +0 -227
- package/src/components/Header/Header.styles.scss +0 -223
- package/src/components/Header/index.js +0 -156
- package/src/components/HomePage/HomePage.styles.scss +0 -1638
- package/src/components/HomePage/constant.js +0 -331
- package/src/components/HomePage/index.js +0 -675
- package/src/components/Input/Input.styles.scss +0 -318
- package/src/components/Input/helperText.js +0 -19
- package/src/components/Input/index.js +0 -60
- package/src/components/Input/inputWithIcon.js +0 -134
- package/src/components/Input/vanilaInput.js +0 -68
- package/src/components/Loader/Loader.styles.scss +0 -90
- package/src/components/Loader/index.js +0 -69
- package/src/components/Menu/IconMenuItem.js +0 -100
- package/src/components/Menu/Menu.styles.scss +0 -190
- package/src/components/Menu/MenuHeader.jsx +0 -84
- package/src/components/Menu/MenuHeaderInfo.jsx +0 -319
- package/src/components/Menu/MenuHeaderInfo.styles.scss +0 -123
- package/src/components/Menu/NestedMenuItem.js +0 -189
- package/src/components/Menu/index.js +0 -254
- package/src/components/Menu/nestedMenuItemsFromObject.js +0 -100
- package/src/components/Modal/Modal.styles.scss +0 -129
- package/src/components/Modal/index.js +0 -141
- package/src/components/MonthPicker/MonthPicker.styles.scss +0 -255
- package/src/components/MonthPicker/constant.js +0 -1
- package/src/components/MonthPicker/index.js +0 -373
- package/src/components/MonthRangePicker/MonthRangePicker.styles.scss +0 -383
- package/src/components/MonthRangePicker/constant.js +0 -1
- package/src/components/MonthRangePicker/index.js +0 -574
- package/src/components/Notification/Notification.styles.scss +0 -594
- package/src/components/Notification/NotificationBody/NotificationInfoList/chipsLists.js +0 -144
- package/src/components/Notification/NotificationBody/NotificationInfoList/index.js +0 -128
- package/src/components/Notification/NotificationBody/NotificationInfoList/notificationList.js +0 -165
- package/src/components/Notification/NotificationBody/NotificationPanels/chipsLists.js +0 -85
- package/src/components/Notification/NotificationBody/NotificationPanels/index.js +0 -259
- package/src/components/Notification/NotificationBody/NotificationPanels/notificationList.js +0 -637
- package/src/components/Notification/NotificationBody/index.js +0 -117
- package/src/components/Notification/index.js +0 -128
- package/src/components/Notification/mockData.js +0 -389
- package/src/components/Notification/notificationFooter.js +0 -31
- package/src/components/Notification/notificationHeader.js +0 -28
- package/src/components/Panel/Panel.styles.scss +0 -71
- package/src/components/Panel/index.js +0 -144
- package/src/components/Popover/Popover.styles.scss +0 -52
- package/src/components/Popover/index.js +0 -71
- package/src/components/Portal/index.js +0 -31
- package/src/components/ProgressBar/ProgressBar.styles.scss +0 -62
- package/src/components/ProgressBar/index.js +0 -40
- package/src/components/Prompt/Prompt.styles.scss +0 -107
- package/src/components/Prompt/index.js +0 -107
- package/src/components/RadioButtonGroup/RadioButtonGroup.styles.scss +0 -136
- package/src/components/RadioButtonGroup/index.js +0 -107
- package/src/components/Select/SearchFilter.js +0 -72
- package/src/components/Select/Select.styles.scss +0 -748
- package/src/components/Select/customGroupHeading.js +0 -24
- package/src/components/Select/dropdown.js +0 -65
- package/src/components/Select/hooks/index.js +0 -2
- package/src/components/Select/hooks/useClickOutside.js +0 -61
- package/src/components/Select/hooks/useMenuPosition.js +0 -288
- package/src/components/Select/index.js +0 -1307
- package/src/components/Select/menuList.js +0 -119
- package/src/components/Select/optionList.js +0 -215
- package/src/components/Select/selected-option-tags.js +0 -99
- package/src/components/Select/utils.js +0 -232
- package/src/components/Sidebar/Menus/childMenu.js +0 -88
- package/src/components/Sidebar/Menus/index.js +0 -130
- package/src/components/Sidebar/Menus/parentMenu.js +0 -173
- package/src/components/Sidebar/Sidebar.styles.scss +0 -411
- package/src/components/Sidebar/actions.js +0 -31
- package/src/components/Sidebar/index.js +0 -84
- package/src/components/Sidebar/mock.js +0 -202
- package/src/components/Slider/Sliders.styles.scss +0 -260
- package/src/components/Slider/index.js +0 -314
- package/src/components/Stepper/Stepper.styles.scss +0 -355
- package/src/components/Stepper/index.js +0 -101
- package/src/components/Switch/Switch.styles.scss +0 -96
- package/src/components/Switch/index.js +0 -59
- package/src/components/Table/AdvanceSearchModalItem.js +0 -392
- package/src/components/Table/AdvanceSortModal.js +0 -332
- package/src/components/Table/AgGridHeader.js +0 -1009
- package/src/components/Table/CommentsPortal.js +0 -428
- package/src/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.js +0 -323
- package/src/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +0 -476
- package/src/components/Table/NoComments.js +0 -295
- package/src/components/Table/Table.styles.scss +0 -3859
- package/src/components/Table/actionBar.js +0 -43
- package/src/components/Table/advanceSearchModal.js +0 -797
- package/src/components/Table/commentPanel.js +0 -421
- package/src/components/Table/filterUtils.js +0 -850
- package/src/components/Table/index.js +0 -2175
- package/src/components/Table/mockData.js +0 -1344
- package/src/components/Table/tableFunctions.js +0 -1676
- package/src/components/Table/tableHeader.js +0 -476
- package/src/components/Table/tableIcons.js +0 -61
- package/src/components/Table/tableMoreOptions.js +0 -293
- package/src/components/Table/tablePagination.js +0 -63
- package/src/components/Table/tableSettings.js +0 -287
- package/src/components/Table/withCommentIcon.js +0 -107
- package/src/components/TableChat/EmptyContainer.jsx +0 -13
- package/src/components/TableChat/README.md +0 -588
- package/src/components/TableChat/TableChatSidePanel.jsx +0 -832
- package/src/components/TableChat/TableChatSidePanel.styles.scss +0 -57
- package/src/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.jsx +0 -43
- package/src/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.jsx +0 -55
- package/src/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.jsx +0 -94
- package/src/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.jsx +0 -22
- package/src/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.scss +0 -179
- package/src/components/TableChat/components/SkeletonList.jsx +0 -12
- package/src/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.jsx +0 -171
- package/src/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.styles.scss +0 -37
- package/src/components/TableChat/components/TableChatLeftSection/ChannelCheckbox/ChannelCheckbox.jsx +0 -28
- package/src/components/TableChat/components/TableChatLeftSection/ChatChannelItem.jsx +0 -116
- package/src/components/TableChat/components/TableChatLeftSection/ChatChannelList.jsx +0 -89
- package/src/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.jsx +0 -27
- package/src/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.jsx +0 -191
- package/src/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.jsx +0 -23
- package/src/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.jsx +0 -117
- package/src/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.styles.scss +0 -469
- package/src/components/TableChat/components/TableChatLeftSection/UnreadBadge/UnreadBadge.jsx +0 -16
- package/src/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.jsx +0 -119
- package/src/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.styles.scss +0 -87
- package/src/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.jsx +0 -216
- package/src/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.styles.scss +0 -291
- package/src/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.jsx +0 -19
- package/src/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/DeletedMessage.styles.scss +0 -55
- package/src/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.jsx +0 -61
- package/src/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.styles.scss +0 -13
- package/src/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.jsx +0 -432
- package/src/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.jsx +0 -365
- package/src/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.jsx +0 -42
- package/src/components/TableChat/components/TableChatRightSection/ChatHeader/chatHeader.styles.scss +0 -323
- package/src/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.jsx +0 -793
- package/src/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.styles.scss +0 -394
- package/src/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.jsx +0 -61
- package/src/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.styles.scss +0 -28
- package/src/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.jsx +0 -11
- package/src/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.styles.scss +0 -3
- package/src/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.jsx +0 -220
- package/src/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.styles.scss +0 -128
- package/src/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.jsx +0 -246
- package/src/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.styles.scss +0 -210
- package/src/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.jsx +0 -52
- package/src/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.styles.scss +0 -34
- package/src/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.jsx +0 -31
- package/src/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.jsx +0 -170
- package/src/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.jsx +0 -165
- package/src/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChat.styles.scss +0 -587
- package/src/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.jsx +0 -244
- package/src/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.jsx +0 -29
- package/src/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.styles.scss +0 -47
- package/src/components/TableChat/components/TableChatRightSection/TableChatRightSection.jsx +0 -1340
- package/src/components/TableChat/components/TableChatRightSection/TableChatRightSection.styles.scss +0 -147
- package/src/components/TableChat/components/TextEditor/EditorToolbar.jsx +0 -209
- package/src/components/TableChat/components/TextEditor/EditorToolbar.styles.scss +0 -61
- package/src/components/TableChat/components/TextEditor/Mention.jsx +0 -234
- package/src/components/TableChat/components/TextEditor/MentionList.jsx +0 -118
- package/src/components/TableChat/components/TextEditor/MentionList.scss +0 -146
- package/src/components/TableChat/components/TextEditor/styles.scss +0 -278
- package/src/components/TableChat/components/TextEditor/suggestion.js +0 -124
- package/src/components/TableChat/components/chatConfig.js +0 -64
- package/src/components/TableChat/hooks/useInfiniteScroll.js +0 -256
- package/src/components/TableOld/AgGridHeader.js +0 -545
- package/src/components/TableOld/Table.styles.scss +0 -2192
- package/src/components/TableOld/actionBar.js +0 -43
- package/src/components/TableOld/index.js +0 -598
- package/src/components/TableOld/mockData.js +0 -1344
- package/src/components/TableOld/tableFunctions.js +0 -1734
- package/src/components/TableOld/tableHeader.js +0 -251
- package/src/components/TableOld/tableIcons.js +0 -61
- package/src/components/TableOld/tablePagination.js +0 -64
- package/src/components/TableOld/tableSettings.js +0 -166
- package/src/components/Tabs/Tabs.styles.scss +0 -120
- package/src/components/Tabs/index.js +0 -91
- package/src/components/Tabs/tabPanel.js +0 -38
- package/src/components/Tag/Tags.styles.scss +0 -71
- package/src/components/Tag/filled.js +0 -48
- package/src/components/Tag/index.js +0 -54
- package/src/components/Tag/solid.js +0 -47
- package/src/components/Tag/stroke.js +0 -47
- package/src/components/Tag/utils.js +0 -12
- package/src/components/TagGroup/TagGroup.styles.scss +0 -7
- package/src/components/TagGroup/index.js +0 -6
- package/src/components/TextArea/TextArea.styles.scss +0 -158
- package/src/components/TextArea/index.js +0 -121
- package/src/components/Toast/Toast.styles.scss +0 -66
- package/src/components/Toast/index.js +0 -35
- package/src/components/Tooltip/Tooltips.styles.scss +0 -111
- package/src/components/Tooltip/index.js +0 -68
- package/src/components/common/HelperText/HelperText.styles.scss +0 -18
- package/src/components/common/HelperText/index.js +0 -44
- package/src/components/common/MentionEditor/MentionEditor.styles.scss +0 -301
- package/src/components/common/MentionEditor/MentionList/MentionList.styles.scss +0 -146
- package/src/components/common/MentionEditor/MentionList/index.js +0 -130
- package/src/components/common/MentionEditor/index.js +0 -246
- package/src/components/common/MentionEditor/suggestion.js +0 -124
- package/src/components/index.js +0 -53
- package/src/stories/Accordion.stories.js +0 -151
- package/src/stories/AccordionModern.stories.js +0 -263
- package/src/stories/Alert.stories.js +0 -103
- package/src/stories/Avatar.stories.js +0 -79
- package/src/stories/Badge.stories.js +0 -112
- package/src/stories/BottomSheet.stories.js +0 -224
- package/src/stories/Breadcrumbs.stories.js +0 -143
- package/src/stories/Button.stories.js +0 -190
- package/src/stories/ButtonGroup.stories.js +0 -123
- package/src/stories/Card.stories.js +0 -73
- package/src/stories/Changelog.mdx +0 -1006
- package/src/stories/Chart.stories.js +0 -2017
- package/src/stories/ChatBot.stories.js +0 -668
- package/src/stories/Checkbox.stories.js +0 -209
- package/src/stories/Chips.stories.js +0 -106
- package/src/stories/CreateItemFlow.stories.js +0 -255
- package/src/stories/DatePicker.stories.js +0 -311
- package/src/stories/DateRangePicker.stories.js +0 -364
- package/src/stories/EmptyState.stories.js +0 -110
- package/src/stories/FileUpload.stories.js +0 -169
- package/src/stories/FilterPanel.stories.js +0 -309
- package/src/stories/FiltersStrip.stories.js +0 -244
- package/src/stories/GettingStarted.mdx +0 -153
- package/src/stories/Header.stories.js +0 -185
- package/src/stories/HomePage.stories.js +0 -201
- package/src/stories/Input.stories.js +0 -165
- package/src/stories/Loader.stories.js +0 -33
- package/src/stories/Menu.stories.js +0 -309
- package/src/stories/Modal.stories.js +0 -185
- package/src/stories/MonthPicker.stories.js +0 -313
- package/src/stories/MonthRangePicker.stories.js +0 -255
- package/src/stories/Notification.stories.js +0 -500
- package/src/stories/Panel.stories.js +0 -179
- package/src/stories/Popover.stories.js +0 -125
- package/src/stories/ProgressBar.stories.js +0 -93
- package/src/stories/Prompt.stories.js +0 -120
- package/src/stories/RadioButtonGroup.stories.js +0 -83
- package/src/stories/Select.stories.js +0 -753
- package/src/stories/Sidebar.stories.js +0 -177
- package/src/stories/Slider.stories.js +0 -226
- package/src/stories/Stepper.stories.js +0 -158
- package/src/stories/Switch.stories.js +0 -72
- package/src/stories/Table.stories.js +0 -4323
- package/src/stories/TableChat.mdx +0 -992
- package/src/stories/TableChat.stories.js +0 -1712
- package/src/stories/TableOld.stories.js +0 -954
- package/src/stories/Tabs.stories.js +0 -253
- package/src/stories/Tag.stories.js +0 -92
- package/src/stories/TagGroup.stories.js +0 -39
- package/src/stories/TextArea.stories.js +0 -148
- package/src/stories/Toast.stories.js +0 -113
- package/src/stories/Tooltip.stories.js +0 -86
- package/src/stories/storybookLinks.mdx +0 -20
|
@@ -1,314 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useMemo, useState } from "react";
|
|
2
|
-
import MUISlider from "@mui/material/Slider";
|
|
3
|
-
import FormControl, { useFormControl } from "@mui/material/FormControl";
|
|
4
|
-
import OutlinedInput from "@mui/material/OutlinedInput";
|
|
5
|
-
import InfoIcon from "@mui/icons-material/InfoOutlined";
|
|
6
|
-
import "./Sliders.styles.scss";
|
|
7
|
-
|
|
8
|
-
const DEFAULT_BELOW_THRESHOLD_COLOR = "#4259ee";
|
|
9
|
-
const DEFAULT_ABOVE_THRESHOLD_COLOR = "#ED9998";
|
|
10
|
-
|
|
11
|
-
export function Slider({
|
|
12
|
-
headerOrientation = "top",
|
|
13
|
-
header,
|
|
14
|
-
label,
|
|
15
|
-
inputPlaceholder,
|
|
16
|
-
value = 0,
|
|
17
|
-
onChange,
|
|
18
|
-
required,
|
|
19
|
-
disabled,
|
|
20
|
-
min = 0,
|
|
21
|
-
max = 100,
|
|
22
|
-
variant = "default",
|
|
23
|
-
inputPosition = "inline",
|
|
24
|
-
colorChangeThreshold,
|
|
25
|
-
valueFormat,
|
|
26
|
-
messageTimeout = 5000,
|
|
27
|
-
...args
|
|
28
|
-
}) {
|
|
29
|
-
const [infoMessage, setInfoMessage] = useState("");
|
|
30
|
-
const [showInfo, setShowInfo] = useState(false);
|
|
31
|
-
|
|
32
|
-
const isRangedSlider =
|
|
33
|
-
Array.isArray(value) && variant == "ranged" && value.length == 2;
|
|
34
|
-
let primaryValue;
|
|
35
|
-
let secondaryValue;
|
|
36
|
-
|
|
37
|
-
const [focusedInput, setFocusedInput] = useState(null);
|
|
38
|
-
const [rightInputFocused, setRightInputFocused] = useState(false);
|
|
39
|
-
const [formattedValue, setFormattedValue] = useState(value);
|
|
40
|
-
|
|
41
|
-
if (Array.isArray(value) && value.length == 2) {
|
|
42
|
-
primaryValue = value[0];
|
|
43
|
-
secondaryValue = value[1];
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const {
|
|
47
|
-
valueForThreshold,
|
|
48
|
-
isAboveThreshold,
|
|
49
|
-
trackSplitPercent,
|
|
50
|
-
thresholdMarkerLeft,
|
|
51
|
-
} = useMemo(() => {
|
|
52
|
-
const valueForThresh = Array.isArray(value) ? Math.max(...value) : value;
|
|
53
|
-
if (colorChangeThreshold == null) {
|
|
54
|
-
return {
|
|
55
|
-
valueForThreshold: valueForThresh,
|
|
56
|
-
isAboveThreshold: false,
|
|
57
|
-
trackSplitPercent: 0,
|
|
58
|
-
thresholdMarkerLeft: null,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
const isRanged = Array.isArray(value) && value.length === 2;
|
|
62
|
-
const primary = isRanged ? value[0] : undefined;
|
|
63
|
-
const secondary = isRanged ? value[1] : undefined;
|
|
64
|
-
const aboveThresh = valueForThresh > colorChangeThreshold;
|
|
65
|
-
|
|
66
|
-
let split;
|
|
67
|
-
if (isRanged) {
|
|
68
|
-
if (colorChangeThreshold <= primary) split = 0;
|
|
69
|
-
else if (colorChangeThreshold >= secondary) split = 100;
|
|
70
|
-
else
|
|
71
|
-
split =
|
|
72
|
-
((colorChangeThreshold - primary) / (secondary - primary)) * 100;
|
|
73
|
-
} else {
|
|
74
|
-
split =
|
|
75
|
-
aboveThresh && valueForThresh > min
|
|
76
|
-
? ((colorChangeThreshold - min) / (valueForThresh - min)) * 100
|
|
77
|
-
: 0;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
const markerLeft =
|
|
81
|
-
colorChangeThreshold > min && colorChangeThreshold < max
|
|
82
|
-
? ((colorChangeThreshold - min) / (max - min)) * 100
|
|
83
|
-
: null;
|
|
84
|
-
return {
|
|
85
|
-
valueForThreshold: valueForThresh,
|
|
86
|
-
isAboveThreshold: aboveThresh,
|
|
87
|
-
trackSplitPercent: split,
|
|
88
|
-
thresholdMarkerLeft: markerLeft,
|
|
89
|
-
};
|
|
90
|
-
}, [value, min, max, colorChangeThreshold]);
|
|
91
|
-
|
|
92
|
-
const handleInputChange = (e, key) => {
|
|
93
|
-
const value = e.target.value;
|
|
94
|
-
|
|
95
|
-
// Clear info message when user starts typing
|
|
96
|
-
if (showInfo) {
|
|
97
|
-
setShowInfo(false);
|
|
98
|
-
setInfoMessage("");
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Ignore if the value is not a number
|
|
102
|
-
if (isNaN(value)) {
|
|
103
|
-
setInfoMessage("Please enter a valid number");
|
|
104
|
-
setShowInfo(true);
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
e.persist(); // unpool the event
|
|
108
|
-
|
|
109
|
-
// passing fakeEvent to maintain stability of values received from slider and input field
|
|
110
|
-
const fakeEvent = {
|
|
111
|
-
...e,
|
|
112
|
-
target: {
|
|
113
|
-
...e.target,
|
|
114
|
-
value: [],
|
|
115
|
-
},
|
|
116
|
-
};
|
|
117
|
-
if (key == "min") {
|
|
118
|
-
if (Number(value) < min || Number(value) > secondaryValue) {
|
|
119
|
-
const message =
|
|
120
|
-
Number(value) < min
|
|
121
|
-
? `Value must be at least ${min}`
|
|
122
|
-
: `Initial value must be less than the maximum value`;
|
|
123
|
-
setInfoMessage(message);
|
|
124
|
-
setShowInfo(true);
|
|
125
|
-
return;
|
|
126
|
-
}
|
|
127
|
-
fakeEvent.target.value = [Number(value), secondaryValue];
|
|
128
|
-
onChange(fakeEvent, key);
|
|
129
|
-
} else if (key == "max") {
|
|
130
|
-
if (Number(value) > max || Number(value) < primaryValue) {
|
|
131
|
-
const message =
|
|
132
|
-
Number(value) > max
|
|
133
|
-
? `Value must not exceed ${max}`
|
|
134
|
-
: `Maximum value must be greater than the initial value`;
|
|
135
|
-
setInfoMessage(message);
|
|
136
|
-
setShowInfo(true);
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
fakeEvent.target.value = [primaryValue, Number(value)];
|
|
140
|
-
onChange(fakeEvent, key);
|
|
141
|
-
} else {
|
|
142
|
-
onChange(e, key);
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
useEffect(() => {
|
|
147
|
-
if (!valueFormat) return;
|
|
148
|
-
|
|
149
|
-
const [pos, symbol] = valueFormat;
|
|
150
|
-
|
|
151
|
-
const format = (v) => {
|
|
152
|
-
const formatValue = (val) =>
|
|
153
|
-
pos === "left" ? `${symbol}${val}` : `${val}${symbol}`;
|
|
154
|
-
return Array.isArray(v) ? v.map(formatValue) : formatValue(v);
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
setFormattedValue(format(value));
|
|
158
|
-
}, [valueFormat, value]);
|
|
159
|
-
|
|
160
|
-
const handleFocusChange = (e) => {
|
|
161
|
-
setFocusedInput(true);
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
const handleBlurChange = (e) => {
|
|
165
|
-
setFocusedInput(null);
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
useEffect(() => {
|
|
169
|
-
if (showInfo) {
|
|
170
|
-
setTimeout(() => {
|
|
171
|
-
setShowInfo(false);
|
|
172
|
-
}, messageTimeout);
|
|
173
|
-
}
|
|
174
|
-
}, [showInfo]);
|
|
175
|
-
|
|
176
|
-
return (
|
|
177
|
-
<div className="slider-container">
|
|
178
|
-
<div
|
|
179
|
-
className={`impact_slider_layout slider-container${
|
|
180
|
-
headerOrientation === "top" ? "header-top" : "header-left"
|
|
181
|
-
} input-position-${inputPosition}`}
|
|
182
|
-
>
|
|
183
|
-
{isRangedSlider && inputPosition == "inline" && (
|
|
184
|
-
<div className="input_layout_style ranged ranged-start">
|
|
185
|
-
<form noValidate autoComplete="off">
|
|
186
|
-
<FormControl>
|
|
187
|
-
<OutlinedInput
|
|
188
|
-
value={
|
|
189
|
-
!focusedInput && valueFormat
|
|
190
|
-
? isRangedSlider
|
|
191
|
-
? formattedValue[0]
|
|
192
|
-
: formattedValue
|
|
193
|
-
: isRangedSlider
|
|
194
|
-
? primaryValue
|
|
195
|
-
: value
|
|
196
|
-
}
|
|
197
|
-
onChange={(e) => {
|
|
198
|
-
handleInputChange(e, isRangedSlider ? "min" : "");
|
|
199
|
-
}}
|
|
200
|
-
disabled={disabled}
|
|
201
|
-
onFocus={handleFocusChange}
|
|
202
|
-
onBlur={handleBlurChange}
|
|
203
|
-
/>
|
|
204
|
-
</FormControl>
|
|
205
|
-
</form>
|
|
206
|
-
</div>
|
|
207
|
-
)}
|
|
208
|
-
<div className="impact_slider_container">
|
|
209
|
-
{header && (
|
|
210
|
-
<div className="impact_slider_layout_heading">{header}</div>
|
|
211
|
-
)}
|
|
212
|
-
{label && (
|
|
213
|
-
<label className="impact_slider_labelname">
|
|
214
|
-
{label} {required && <span style={{ color: "red" }}>*</span>}
|
|
215
|
-
</label>
|
|
216
|
-
)}
|
|
217
|
-
<div
|
|
218
|
-
className={`impact_slider_main_container ${
|
|
219
|
-
disabled && "impact_slider_disabled"
|
|
220
|
-
}`}
|
|
221
|
-
>
|
|
222
|
-
{colorChangeThreshold && (
|
|
223
|
-
<span
|
|
224
|
-
className="impact_slider_threshold_marker"
|
|
225
|
-
style={{
|
|
226
|
-
left: `${thresholdMarkerLeft}%`,
|
|
227
|
-
}}
|
|
228
|
-
aria-hidden
|
|
229
|
-
/>
|
|
230
|
-
)}
|
|
231
|
-
<MUISlider
|
|
232
|
-
{...args}
|
|
233
|
-
defaultValue={value}
|
|
234
|
-
value={value}
|
|
235
|
-
onChange={onChange}
|
|
236
|
-
disabled={disabled}
|
|
237
|
-
max={max}
|
|
238
|
-
min={min}
|
|
239
|
-
aria-label="Default"
|
|
240
|
-
valueLabelDisplay="auto"
|
|
241
|
-
sx={
|
|
242
|
-
isAboveThreshold
|
|
243
|
-
? {
|
|
244
|
-
color: DEFAULT_BELOW_THRESHOLD_COLOR,
|
|
245
|
-
"& .MuiSlider-track": {
|
|
246
|
-
background: `linear-gradient(to right, ${DEFAULT_BELOW_THRESHOLD_COLOR} 0%, ${DEFAULT_BELOW_THRESHOLD_COLOR} ${trackSplitPercent}%, ${DEFAULT_ABOVE_THRESHOLD_COLOR} ${trackSplitPercent}%, ${DEFAULT_ABOVE_THRESHOLD_COLOR} 100%)`,
|
|
247
|
-
border: "none",
|
|
248
|
-
transition: "none",
|
|
249
|
-
},
|
|
250
|
-
"& .MuiSlider-thumb": {
|
|
251
|
-
backgroundColor: DEFAULT_BELOW_THRESHOLD_COLOR,
|
|
252
|
-
zIndex: 2,
|
|
253
|
-
},
|
|
254
|
-
}
|
|
255
|
-
: undefined
|
|
256
|
-
}
|
|
257
|
-
/>
|
|
258
|
-
</div>
|
|
259
|
-
</div>
|
|
260
|
-
|
|
261
|
-
<div
|
|
262
|
-
className={`input_layout_style ${
|
|
263
|
-
isRangedSlider ? "ranged" : "single"
|
|
264
|
-
}`}
|
|
265
|
-
>
|
|
266
|
-
<form noValidate autoComplete="off">
|
|
267
|
-
<FormControl>
|
|
268
|
-
{(!isRangedSlider || inputPosition == "bottom") && (
|
|
269
|
-
<OutlinedInput
|
|
270
|
-
value={
|
|
271
|
-
!focusedInput && valueFormat
|
|
272
|
-
? formattedValue
|
|
273
|
-
: isRangedSlider
|
|
274
|
-
? primaryValue
|
|
275
|
-
: value
|
|
276
|
-
}
|
|
277
|
-
onChange={(e) => {
|
|
278
|
-
handleInputChange(e, isRangedSlider ? "min" : "");
|
|
279
|
-
}}
|
|
280
|
-
disabled={disabled}
|
|
281
|
-
onFocus={handleFocusChange}
|
|
282
|
-
onBlur={handleBlurChange}
|
|
283
|
-
/>
|
|
284
|
-
)}
|
|
285
|
-
{isRangedSlider && (
|
|
286
|
-
<OutlinedInput
|
|
287
|
-
value={
|
|
288
|
-
!rightInputFocused && valueFormat
|
|
289
|
-
? formattedValue[1]
|
|
290
|
-
: secondaryValue
|
|
291
|
-
}
|
|
292
|
-
onChange={(e) => {
|
|
293
|
-
handleInputChange(e, "max");
|
|
294
|
-
}}
|
|
295
|
-
disabled={disabled}
|
|
296
|
-
onFocus={() => setRightInputFocused(true)}
|
|
297
|
-
onBlur={() => setRightInputFocused(false)}
|
|
298
|
-
/>
|
|
299
|
-
)}
|
|
300
|
-
</FormControl>
|
|
301
|
-
</form>
|
|
302
|
-
</div>
|
|
303
|
-
</div>
|
|
304
|
-
<div className={`slider-info-message ${!showInfo ? "hidden" : ""}`}>
|
|
305
|
-
{showInfo && (
|
|
306
|
-
<>
|
|
307
|
-
<InfoIcon className="slider-info-icon" />
|
|
308
|
-
<span className="slider-info-text">{infoMessage}</span>
|
|
309
|
-
</>
|
|
310
|
-
)}
|
|
311
|
-
</div>
|
|
312
|
-
</div>
|
|
313
|
-
);
|
|
314
|
-
}
|
|
@@ -1,355 +0,0 @@
|
|
|
1
|
-
@import "../../styles/index.scss";
|
|
2
|
-
|
|
3
|
-
.ia-styles.ia-stepper {
|
|
4
|
-
font-family: $fontFamily !important;
|
|
5
|
-
&.MuiStepContent-root {
|
|
6
|
-
margin-left: 12px;
|
|
7
|
-
padding-left: 20px;
|
|
8
|
-
padding-right: 8px;
|
|
9
|
-
border-left: none;
|
|
10
|
-
position: absolute;
|
|
11
|
-
bottom: 0;
|
|
12
|
-
}
|
|
13
|
-
&.MuiBox-root {
|
|
14
|
-
max-width: none;
|
|
15
|
-
}
|
|
16
|
-
&.ia-stepper {
|
|
17
|
-
font-family: $fontFamily;
|
|
18
|
-
|
|
19
|
-
.MuiStep-horizontal {
|
|
20
|
-
background: $whiteColor;
|
|
21
|
-
border-radius: 8px;
|
|
22
|
-
height: 44px;
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
padding-left: 12px;
|
|
26
|
-
padding-right: 12px;
|
|
27
|
-
position: relative;
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
width: 100%;
|
|
30
|
-
}
|
|
31
|
-
.MuiStepLabel-iconContainer {
|
|
32
|
-
.MuiSvgIcon-root.Mui-active {
|
|
33
|
-
color: $primaryColor;
|
|
34
|
-
background: $primaryColor;
|
|
35
|
-
border-radius: 8px;
|
|
36
|
-
width: 24px;
|
|
37
|
-
height: 24px;
|
|
38
|
-
.MuiStepIcon-text {
|
|
39
|
-
font-family: $fontFamily;
|
|
40
|
-
fill: $whiteColor;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
.MuiSvgIcon-root {
|
|
44
|
-
color: #d9dde7;
|
|
45
|
-
background: #d9dde7;
|
|
46
|
-
border-radius: 8px;
|
|
47
|
-
width: 24px;
|
|
48
|
-
height: 24px;
|
|
49
|
-
.MuiStepIcon-text {
|
|
50
|
-
font-family: $fontFamily;
|
|
51
|
-
fill: #7a8294;
|
|
52
|
-
font-weight: 800;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
.MuiSvgIcon-root.Mui-completed {
|
|
56
|
-
color: #3bb273;
|
|
57
|
-
background: #3bb273 url("../../assets/checkmark.svg") no-repeat;
|
|
58
|
-
background-size: 16px;
|
|
59
|
-
background-position: center;
|
|
60
|
-
border-radius: 8px;
|
|
61
|
-
width: 24px;
|
|
62
|
-
height: 24px;
|
|
63
|
-
position: relative;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.MuiStepLabel-vertical {
|
|
68
|
-
.MuiStepLabel-iconContainer {
|
|
69
|
-
.MuiSvgIcon-root.Mui-active {
|
|
70
|
-
color: $primaryColor;
|
|
71
|
-
background: $primaryColor;
|
|
72
|
-
width: 20px;
|
|
73
|
-
height: 20px;
|
|
74
|
-
.MuiStepIcon-text {
|
|
75
|
-
fill: $whiteColor;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.MuiSvgIcon-root {
|
|
80
|
-
color: #7a8294;
|
|
81
|
-
background: #7a8294;
|
|
82
|
-
width: 20px;
|
|
83
|
-
height: 20px;
|
|
84
|
-
.MuiStepIcon-text {
|
|
85
|
-
fill: #ffffff;
|
|
86
|
-
font-weight: 700;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.MuiSvgIcon-root.Mui-completed {
|
|
91
|
-
color: #3bb273;
|
|
92
|
-
background: #3bb273;
|
|
93
|
-
background-image: url("../../assets/checkmark.svg");
|
|
94
|
-
background-repeat: no-repeat;
|
|
95
|
-
background-position: center;
|
|
96
|
-
background-size: 12px;
|
|
97
|
-
width: 20px;
|
|
98
|
-
height: 20px;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.MuiStepLabel-labelContainer {
|
|
104
|
-
.MuiStepLabel-label {
|
|
105
|
-
font-family: $fontFamily;
|
|
106
|
-
font-weight: 500;
|
|
107
|
-
max-width: 200px;
|
|
108
|
-
text-overflow: ellipsis;
|
|
109
|
-
white-space: nowrap;
|
|
110
|
-
overflow: hidden;
|
|
111
|
-
&.Mui-active {
|
|
112
|
-
// color: $activeStepper;
|
|
113
|
-
}
|
|
114
|
-
&.Mui-completed {
|
|
115
|
-
color: #3bb273;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.MuiTypography-caption {
|
|
122
|
-
font-family: $fontFamily;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.MuiStepLabel-label.Mui-completed
|
|
126
|
-
+ .MuiTypography-root.MuiTypography-caption {
|
|
127
|
-
color: #3bb273;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.MuiStepLabel-label.Mui-active + .MuiTypography-root.MuiTypography-caption {
|
|
131
|
-
// color: $activeStepper;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.MuiStepConnector-line {
|
|
135
|
-
border-color: #b4bac7;
|
|
136
|
-
border-style: dashed;
|
|
137
|
-
width: 23px;
|
|
138
|
-
}
|
|
139
|
-
.MuiStep-horizontal:has(.Mui-active) {
|
|
140
|
-
border-bottom: 2px solid $primaryColor !important;
|
|
141
|
-
&::before {
|
|
142
|
-
content: " ";
|
|
143
|
-
width: 13px;
|
|
144
|
-
height: 10px;
|
|
145
|
-
position: absolute;
|
|
146
|
-
left: 18px;
|
|
147
|
-
bottom: -10px;
|
|
148
|
-
background: url("../../assets/stepper-triangle.svg") no-repeat;
|
|
149
|
-
background-size: 13px;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
.MuiStep-root:has(.Mui-completed) {
|
|
153
|
-
border-bottom: 2px solid $greenBadge !important;
|
|
154
|
-
}
|
|
155
|
-
.MuiStep-vertical {
|
|
156
|
-
padding: 10px 15px 10px 12px;
|
|
157
|
-
border-radius: 3px;
|
|
158
|
-
position: relative;
|
|
159
|
-
&.Mui-completed {
|
|
160
|
-
background: #ebf7f1;
|
|
161
|
-
border: 1px solid #ebf7f1 !important;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.MuiStep-vertical:has(.Mui-active) {
|
|
166
|
-
background: #eceefd;
|
|
167
|
-
border: 1px solid #eceefd !important;
|
|
168
|
-
&::before {
|
|
169
|
-
content: " ";
|
|
170
|
-
width: 5px;
|
|
171
|
-
height: 25px;
|
|
172
|
-
position: absolute;
|
|
173
|
-
top: 50%;
|
|
174
|
-
transform: translateY(-50%);
|
|
175
|
-
background: url("../../assets/stepper-vertical.svg") no-repeat;
|
|
176
|
-
background-size: contain;
|
|
177
|
-
margin-left: -20px;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.MuiStep-vertical:has(.Mui-disabled) {
|
|
182
|
-
background: #eff2fa;
|
|
183
|
-
border: 1px solid #eff2fa !important;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.css-14sza3e-MuiStepLabel-root {
|
|
187
|
-
padding: 0px !important;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
&.progress {
|
|
191
|
-
.progress-steps {
|
|
192
|
-
display: flex;
|
|
193
|
-
gap: 8px;
|
|
194
|
-
margin-bottom: 0px;
|
|
195
|
-
.step {
|
|
196
|
-
height: 8px;
|
|
197
|
-
border-radius: 4px;
|
|
198
|
-
background-color: $lightBlueColor;
|
|
199
|
-
transition: background-color 0.3s ease;
|
|
200
|
-
width: 132px;
|
|
201
|
-
|
|
202
|
-
&.active,
|
|
203
|
-
&.completed {
|
|
204
|
-
background-color: $primaryColor;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.step-labels {
|
|
210
|
-
display: flex;
|
|
211
|
-
justify-content: space-between;
|
|
212
|
-
|
|
213
|
-
.step-label {
|
|
214
|
-
font-size: 14px;
|
|
215
|
-
font-weight: 500;
|
|
216
|
-
color: #6b7280;
|
|
217
|
-
transition: color 0.3s ease;
|
|
218
|
-
cursor: pointer;
|
|
219
|
-
|
|
220
|
-
&.active {
|
|
221
|
-
color: #3649c6;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
&.completed {
|
|
225
|
-
color: #3649c6;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
&.numbered {
|
|
232
|
-
.numbered-steps {
|
|
233
|
-
display: flex;
|
|
234
|
-
gap: 16px;
|
|
235
|
-
margin-bottom: 32px;
|
|
236
|
-
align-items: center;
|
|
237
|
-
|
|
238
|
-
.step {
|
|
239
|
-
width: 32px;
|
|
240
|
-
height: 32px;
|
|
241
|
-
border-radius: 50%;
|
|
242
|
-
background-color: #e8e8e8;
|
|
243
|
-
color: #666;
|
|
244
|
-
display: flex;
|
|
245
|
-
align-items: center;
|
|
246
|
-
justify-content: center;
|
|
247
|
-
font-size: 14px;
|
|
248
|
-
font-weight: 600;
|
|
249
|
-
transition: all 0.3s ease;
|
|
250
|
-
|
|
251
|
-
&.active {
|
|
252
|
-
background-color: #3649c6;
|
|
253
|
-
color: #fff;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
&:not(:last-child)::after {
|
|
257
|
-
content: "";
|
|
258
|
-
position: absolute;
|
|
259
|
-
right: -16px;
|
|
260
|
-
width: 16px;
|
|
261
|
-
height: 2px;
|
|
262
|
-
background-color: #e8e8e8;
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
&.labeled {
|
|
269
|
-
.labeled-steps {
|
|
270
|
-
display: flex;
|
|
271
|
-
gap: 24px;
|
|
272
|
-
margin-bottom: 32px;
|
|
273
|
-
align-items: center;
|
|
274
|
-
|
|
275
|
-
.step {
|
|
276
|
-
display: flex;
|
|
277
|
-
align-items: center;
|
|
278
|
-
gap: 8px;
|
|
279
|
-
|
|
280
|
-
.step-number {
|
|
281
|
-
width: 24px;
|
|
282
|
-
height: 24px;
|
|
283
|
-
border-radius: 50%;
|
|
284
|
-
background-color: #e8e8e8;
|
|
285
|
-
color: #666;
|
|
286
|
-
display: flex;
|
|
287
|
-
align-items: center;
|
|
288
|
-
justify-content: center;
|
|
289
|
-
font-size: 12px;
|
|
290
|
-
font-weight: 600;
|
|
291
|
-
transition: all 0.3s ease;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.step-label {
|
|
295
|
-
font-size: 14px;
|
|
296
|
-
color: #666;
|
|
297
|
-
transition: color 0.3s ease;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
&.active {
|
|
301
|
-
.step-number {
|
|
302
|
-
background-color: #3649c6;
|
|
303
|
-
color: #fff;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.step-label {
|
|
307
|
-
color: #1a1a1a;
|
|
308
|
-
font-weight: 600;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
&:not(:last-child)::after {
|
|
313
|
-
content: "";
|
|
314
|
-
display: block;
|
|
315
|
-
width: 24px;
|
|
316
|
-
height: 1px;
|
|
317
|
-
background-color: #e8e8e8;
|
|
318
|
-
margin-left: 8px;
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
// Status config styles
|
|
324
|
-
.status-config {
|
|
325
|
-
flex: 1;
|
|
326
|
-
.MuiStepLabel-label {
|
|
327
|
-
display: flex;
|
|
328
|
-
align-items: center;
|
|
329
|
-
justify-content: space-between;
|
|
330
|
-
max-width: none !important;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
// For horizontal orientation
|
|
336
|
-
.ia-stepper.MuiStepper-horizontal {
|
|
337
|
-
.MuiStepLabel-label.Mui-active {
|
|
338
|
-
color: $darkColor;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.MuiStepLabel-label.Mui-active + .MuiTypography-root.MuiTypography-caption {
|
|
342
|
-
color: $darkColor;
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
// For vertical orientation
|
|
347
|
-
.ia-stepper.MuiStepper-vertical {
|
|
348
|
-
.MuiStepLabel-label.Mui-active {
|
|
349
|
-
color: $primaryColor;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
.MuiStepLabel-label.Mui-active + .MuiTypography-root.MuiTypography-caption {
|
|
353
|
-
color: $primaryColor;
|
|
354
|
-
}
|
|
355
|
-
}
|