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,66 +0,0 @@
|
|
|
1
|
-
@import "../../styles/index.scss";
|
|
2
|
-
|
|
3
|
-
.ia-styles.ia-snackbar {
|
|
4
|
-
.MuiPaper-root {
|
|
5
|
-
height: 51px;
|
|
6
|
-
text-align: center;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.15);
|
|
9
|
-
border-radius: 4px;
|
|
10
|
-
|
|
11
|
-
&::after {
|
|
12
|
-
content: " ";
|
|
13
|
-
height: 4px;
|
|
14
|
-
position: absolute;
|
|
15
|
-
background: tomato;
|
|
16
|
-
left: 0;
|
|
17
|
-
right: 0;
|
|
18
|
-
bottom: 0;
|
|
19
|
-
border-radius: 0 0 4px 4px;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
.css-1arijsr-MuiSnackbar-root {
|
|
23
|
-
z-index: 999999;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.MuiSnackbarContent-message {
|
|
27
|
-
font-size: 14px;
|
|
28
|
-
font-weight: $normalFontWeight;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.ia-snackbar-success {
|
|
32
|
-
.MuiPaper-root {
|
|
33
|
-
background: $successIconColor;
|
|
34
|
-
&::after {
|
|
35
|
-
background: $successToastStroke;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
&.ia-snackbar-info {
|
|
40
|
-
.MuiPaper-root {
|
|
41
|
-
background: $primaryColor;
|
|
42
|
-
&::after {
|
|
43
|
-
background: #687af1;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
&.ia-snackbar-warning {
|
|
48
|
-
.MuiPaper-root {
|
|
49
|
-
background: $warningToastText;
|
|
50
|
-
&::after {
|
|
51
|
-
background: $warningToastStroke;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
.MuiSnackbarContent-message {
|
|
55
|
-
color: $darkColor;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
&.ia-snackbar-error {
|
|
59
|
-
.MuiPaper-root {
|
|
60
|
-
background: $redBadge;
|
|
61
|
-
&::after {
|
|
62
|
-
background: #ed9998;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import Snackbar from "@mui/material/Snackbar";
|
|
3
|
-
|
|
4
|
-
import "./Toast.styles.scss";
|
|
5
|
-
|
|
6
|
-
export const Toast = ({
|
|
7
|
-
isOpen = true,
|
|
8
|
-
position = "top-right",
|
|
9
|
-
message = "This is a toast",
|
|
10
|
-
variant = "success",
|
|
11
|
-
|
|
12
|
-
// autoHideDuration is dependent on onClose because it calls onClose after the duration is over
|
|
13
|
-
onClose,
|
|
14
|
-
autoHideDuration = 5000,
|
|
15
|
-
zIndex = 1400,
|
|
16
|
-
...args
|
|
17
|
-
}) => {
|
|
18
|
-
const [vertical, horizontal] = position.split("-");
|
|
19
|
-
|
|
20
|
-
return (
|
|
21
|
-
<Snackbar
|
|
22
|
-
{...args}
|
|
23
|
-
anchorOrigin={{ vertical, horizontal }}
|
|
24
|
-
className={`ia-styles ia-snackbar ia-snackbar-${variant}`}
|
|
25
|
-
open={isOpen}
|
|
26
|
-
onClose={onClose}
|
|
27
|
-
autoHideDuration={autoHideDuration}
|
|
28
|
-
message={message}
|
|
29
|
-
key={vertical + horizontal}
|
|
30
|
-
sx={{
|
|
31
|
-
zIndex: zIndex,
|
|
32
|
-
}}
|
|
33
|
-
/>
|
|
34
|
-
);
|
|
35
|
-
};
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
@import "../../styles/index.scss";
|
|
2
|
-
|
|
3
|
-
.impact-tooltip-container {
|
|
4
|
-
.MuiTooltip-tooltip {
|
|
5
|
-
font-family: $fontFamily;
|
|
6
|
-
font-size: 14px;
|
|
7
|
-
line-height: 21px;
|
|
8
|
-
display: flex;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
align-items: center;
|
|
11
|
-
padding: 8px;
|
|
12
|
-
border-radius: 8px;
|
|
13
|
-
min-height: 30px;
|
|
14
|
-
// min-width: 50px;
|
|
15
|
-
box-shadow: 0px 0px 12px 0px #1a277c24;
|
|
16
|
-
word-break: break-word;
|
|
17
|
-
white-space: pre-wrap;
|
|
18
|
-
text-align: left;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.MuiTooltip-arrow {
|
|
22
|
-
margin-bottom: -0.65em !important;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.primary-tooltip {
|
|
27
|
-
.MuiTooltip-tooltip {
|
|
28
|
-
background: $primaryColor;
|
|
29
|
-
color: $whiteColor;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.MuiTooltip-arrow {
|
|
33
|
-
color: $primaryColor;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.secondary-tooltip {
|
|
38
|
-
.MuiTooltip-tooltip {
|
|
39
|
-
background: $whiteColor;
|
|
40
|
-
color: $primaryColor;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.MuiTooltip-arrow {
|
|
44
|
-
color: $whiteColor;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.tertiary-tooltip {
|
|
49
|
-
.MuiTooltip-tooltip {
|
|
50
|
-
background: $offDarkColor;
|
|
51
|
-
color: $offWhiteColor;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.MuiTooltip-arrow {
|
|
55
|
-
color: $offDarkColor;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Feature tooltip: gradient border, gradient background, title + description (matches "New feature" design)
|
|
60
|
-
.feature-tooltip {
|
|
61
|
-
.MuiTooltip-tooltip {
|
|
62
|
-
padding: 0;
|
|
63
|
-
min-height: unset;
|
|
64
|
-
border-radius: 12px;
|
|
65
|
-
background: linear-gradient(274.01deg, #fdf0ec 0.91%, #fcf8ea 103.39%)
|
|
66
|
-
padding-box,
|
|
67
|
-
linear-gradient(270deg, #687af1 0%, #ed7955 100%) border-box;
|
|
68
|
-
border: 1px solid transparent;
|
|
69
|
-
box-shadow: 0 0 20px rgba(104, 122, 241, 0.2),
|
|
70
|
-
0 0 40px rgba(237, 121, 85, 0.12);
|
|
71
|
-
color: #1e293b;
|
|
72
|
-
font-size: 14px;
|
|
73
|
-
line-height: 1.4;
|
|
74
|
-
max-width: 280px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.impact-tooltip-feature-content {
|
|
78
|
-
display: flex;
|
|
79
|
-
flex-direction: column;
|
|
80
|
-
gap: 6px;
|
|
81
|
-
padding: 12px 16px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.impact-tooltip-feature-title {
|
|
85
|
-
font-weight: 700;
|
|
86
|
-
font-size: 15px;
|
|
87
|
-
color: #0f172a;
|
|
88
|
-
line-height: 1.3;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.impact-tooltip-feature-description {
|
|
92
|
-
font-weight: 400;
|
|
93
|
-
font-size: 14px;
|
|
94
|
-
color: #1e293b;
|
|
95
|
-
line-height: 1.45;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.MuiTooltip-arrow {
|
|
99
|
-
color: #fdf0ec;
|
|
100
|
-
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// tooltip wrapper
|
|
105
|
-
//MuiTooltip-popper MuiTooltip-popperInteractive MuiTooltip-popperArrow css-1avkpwt-MuiPopper-root-MuiTooltip-popper MuiPopper-root
|
|
106
|
-
|
|
107
|
-
//inside tooltip class used
|
|
108
|
-
//MuiTooltip-tooltip MuiTooltip-tooltipArrow MuiTooltip-tooltipPlacementTop css-1k51tf5-MuiTooltip-tooltip
|
|
109
|
-
|
|
110
|
-
//tool-tip arrow
|
|
111
|
-
//MuiTooltip-arrow css-kudwh-MuiTooltip-arrow
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from "react";
|
|
2
|
-
import MuiTooltip from "@mui/material/Tooltip";
|
|
3
|
-
import "./Tooltips.styles.scss";
|
|
4
|
-
|
|
5
|
-
export const Tooltip = forwardRef((props, ref) => {
|
|
6
|
-
const {
|
|
7
|
-
title,
|
|
8
|
-
description,
|
|
9
|
-
orientation = "top",
|
|
10
|
-
variant = "primary-tooltip",
|
|
11
|
-
children,
|
|
12
|
-
isHoverEnabled = true,
|
|
13
|
-
className,
|
|
14
|
-
...args
|
|
15
|
-
} = props;
|
|
16
|
-
|
|
17
|
-
const getVariant = (variantName) => {
|
|
18
|
-
switch (variantName) {
|
|
19
|
-
case "secondary":
|
|
20
|
-
return "secondary-tooltip";
|
|
21
|
-
case "tertiary":
|
|
22
|
-
return "tertiary-tooltip";
|
|
23
|
-
case "feature":
|
|
24
|
-
return "feature-tooltip";
|
|
25
|
-
default:
|
|
26
|
-
return "primary-tooltip";
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
const tooltipTitle =
|
|
31
|
-
variant === "feature" ? (
|
|
32
|
-
<span className="impact-tooltip-feature-content">
|
|
33
|
-
<span className="impact-tooltip-feature-title">{title}</span>
|
|
34
|
-
{description ? (
|
|
35
|
-
<span className="impact-tooltip-feature-description">
|
|
36
|
-
{description}
|
|
37
|
-
</span>
|
|
38
|
-
) : null}
|
|
39
|
-
</span>
|
|
40
|
-
) : (
|
|
41
|
-
title
|
|
42
|
-
);
|
|
43
|
-
|
|
44
|
-
return (
|
|
45
|
-
<MuiTooltip
|
|
46
|
-
ref={ref}
|
|
47
|
-
title={tooltipTitle}
|
|
48
|
-
placement={orientation}
|
|
49
|
-
arrow
|
|
50
|
-
classes={{
|
|
51
|
-
popper: `impact-tooltip-container ${getVariant(variant)} ${
|
|
52
|
-
className ?? ""
|
|
53
|
-
}`.trim(),
|
|
54
|
-
}}
|
|
55
|
-
disableFocusListener={!isHoverEnabled}
|
|
56
|
-
disableHoverListener={!isHoverEnabled}
|
|
57
|
-
disableTouchListener={!isHoverEnabled}
|
|
58
|
-
PopperProps={{
|
|
59
|
-
sx: {
|
|
60
|
-
zIndex: 9999,
|
|
61
|
-
},
|
|
62
|
-
}}
|
|
63
|
-
{...args}
|
|
64
|
-
>
|
|
65
|
-
{children}
|
|
66
|
-
</MuiTooltip>
|
|
67
|
-
);
|
|
68
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@import "../../../styles/index.scss";
|
|
2
|
-
|
|
3
|
-
.MuiFormHelperText-root {
|
|
4
|
-
font-family: $fontFamily !important;
|
|
5
|
-
color: $inputInfoColor !important;
|
|
6
|
-
background: url("../../../assets/info-icon.svg") no-repeat;
|
|
7
|
-
background-position: 0 center;
|
|
8
|
-
margin-left: 0 !important;
|
|
9
|
-
padding-left: 14px;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
text-overflow: ellipsis;
|
|
12
|
-
white-space: nowrap;
|
|
13
|
-
&.Mui-error {
|
|
14
|
-
color: $destructiveBg !important;
|
|
15
|
-
background: url("../../../assets/info-red.svg") no-repeat;
|
|
16
|
-
background-position: 0 center;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import React, { useRef, useState, useEffect } from "react";
|
|
2
|
-
import MuiFormHelperText from "@mui/material/FormHelperText";
|
|
3
|
-
import { Tooltip } from "../../Tooltip";
|
|
4
|
-
import "./HelperText.styles.scss";
|
|
5
|
-
|
|
6
|
-
export const HelperText = ({ helper, error, className = "", minWidth }) => {
|
|
7
|
-
const textRef = useRef(null);
|
|
8
|
-
const [isTruncated, setIsTruncated] = useState(false);
|
|
9
|
-
|
|
10
|
-
useEffect(() => {
|
|
11
|
-
if (textRef.current) {
|
|
12
|
-
const element = textRef.current;
|
|
13
|
-
setIsTruncated(element.scrollWidth > element.clientWidth);
|
|
14
|
-
}
|
|
15
|
-
}, [helper]);
|
|
16
|
-
|
|
17
|
-
if (!helper) return null;
|
|
18
|
-
|
|
19
|
-
const textElement = (
|
|
20
|
-
<MuiFormHelperText
|
|
21
|
-
ref={textRef}
|
|
22
|
-
error={error}
|
|
23
|
-
className={`ia-select-helper-text ${className} ${
|
|
24
|
-
error ? "Mui-error" : ""
|
|
25
|
-
}`}
|
|
26
|
-
style={{
|
|
27
|
-
width: minWidth || "240px",
|
|
28
|
-
}}
|
|
29
|
-
>
|
|
30
|
-
{helper}
|
|
31
|
-
</MuiFormHelperText>
|
|
32
|
-
);
|
|
33
|
-
|
|
34
|
-
// tooltip visible only when text is truncated
|
|
35
|
-
return isTruncated ? (
|
|
36
|
-
<Tooltip title={helper} variant="tertiary" orientation="right">
|
|
37
|
-
{textElement}
|
|
38
|
-
</Tooltip>
|
|
39
|
-
) : (
|
|
40
|
-
textElement
|
|
41
|
-
);
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export default HelperText;
|
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
@import "../../../styles/index.scss";
|
|
2
|
-
|
|
3
|
-
.ProseMirror-focused {
|
|
4
|
-
outline: none;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.tiptap {
|
|
8
|
-
:first-child {
|
|
9
|
-
margin-top: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
p {
|
|
13
|
-
margin: 0;
|
|
14
|
-
word-wrap: break-word;
|
|
15
|
-
overflow-wrap: break-word;
|
|
16
|
-
hyphens: auto;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* Heading styles */
|
|
20
|
-
h1 {
|
|
21
|
-
font-size: 2em;
|
|
22
|
-
font-weight: 600;
|
|
23
|
-
margin: 1em 0 0.5em;
|
|
24
|
-
color: #1a202c;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
h2 {
|
|
28
|
-
font-size: 1.5em;
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
margin: 0.83em 0 0.5em;
|
|
31
|
-
color: #1a202c;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
h3 {
|
|
35
|
-
font-size: 1.17em;
|
|
36
|
-
font-weight: 600;
|
|
37
|
-
margin: 0.67em 0 0.5em;
|
|
38
|
-
color: #1a202c;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
h4 {
|
|
42
|
-
font-size: 1em;
|
|
43
|
-
font-weight: 600;
|
|
44
|
-
margin: 0.5em 0;
|
|
45
|
-
color: #1a202c;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
h5 {
|
|
49
|
-
font-size: 0.83em;
|
|
50
|
-
font-weight: 600;
|
|
51
|
-
margin: 0.5em 0;
|
|
52
|
-
color: #1a202c;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
h6 {
|
|
56
|
-
font-size: 0.67em;
|
|
57
|
-
font-weight: 600;
|
|
58
|
-
margin: 0.5em 0;
|
|
59
|
-
color: #1a202c;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/* Text formatting styles */
|
|
63
|
-
strong {
|
|
64
|
-
font-weight: 600;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
em {
|
|
68
|
-
font-style: italic;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
s {
|
|
72
|
-
text-decoration: line-through;
|
|
73
|
-
text-decoration-thickness: 0.1em;
|
|
74
|
-
color: #666666;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.highlight {
|
|
78
|
-
background-color: #fef3c7 !important;
|
|
79
|
-
border-radius: 4px;
|
|
80
|
-
padding: 2px 4px;
|
|
81
|
-
margin: 0 2px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
mark {
|
|
85
|
-
background-color: #fef3c7;
|
|
86
|
-
border-radius: 4px;
|
|
87
|
-
padding: 2px 4px;
|
|
88
|
-
margin: 0 2px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
a {
|
|
92
|
-
color: #2b6cb0;
|
|
93
|
-
text-decoration: none;
|
|
94
|
-
border-bottom: 1px solid #2b6cb0;
|
|
95
|
-
transition: all 0.2s ease;
|
|
96
|
-
|
|
97
|
-
&:hover {
|
|
98
|
-
color: #1a4971;
|
|
99
|
-
border-bottom-color: #1a4971;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
img {
|
|
104
|
-
max-width: 100%;
|
|
105
|
-
height: auto;
|
|
106
|
-
border-radius: 4px;
|
|
107
|
-
margin: 0.5em 0;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/* Mention styles */
|
|
111
|
-
.mention {
|
|
112
|
-
background-color: #f0f4f8;
|
|
113
|
-
border-radius: 4px;
|
|
114
|
-
box-decoration-break: clone;
|
|
115
|
-
color: #2b6cb0;
|
|
116
|
-
font-weight: 500;
|
|
117
|
-
padding: 2px 6px;
|
|
118
|
-
text-decoration: none;
|
|
119
|
-
transition: background-color 0.2s ease;
|
|
120
|
-
white-space: nowrap;
|
|
121
|
-
|
|
122
|
-
&:hover {
|
|
123
|
-
background-color: #e2e8f0;
|
|
124
|
-
cursor: pointer;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/* Active state styles */
|
|
129
|
-
.is-active {
|
|
130
|
-
background-color: #f0f4f8;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/* List styles */
|
|
134
|
-
ul,
|
|
135
|
-
ol {
|
|
136
|
-
padding-left: 1.2em;
|
|
137
|
-
margin: 0.5em 0;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
ul li,
|
|
141
|
-
ol li {
|
|
142
|
-
margin: 0.2em 0;
|
|
143
|
-
padding-left: 0;
|
|
144
|
-
line-height: 1.2;
|
|
145
|
-
|
|
146
|
-
p {
|
|
147
|
-
margin: 0; /* Remove paragraph margins inside list items */
|
|
148
|
-
display: inline-block; /* Better handling of nested content */
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
ul li {
|
|
153
|
-
list-style-type: disc;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
ol li {
|
|
157
|
-
list-style-type: decimal;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/* Nested list styles */
|
|
161
|
-
ul ul,
|
|
162
|
-
ol ol,
|
|
163
|
-
ul ol,
|
|
164
|
-
ol ul {
|
|
165
|
-
margin: 0.2em 0 0.2em 0.5em; /* Add indentation for nested lists */
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
ul ul li {
|
|
169
|
-
list-style-type: circle;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
ul ul ul li {
|
|
173
|
-
list-style-type: square;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
ol ol li {
|
|
177
|
-
list-style-type: lower-alpha;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
ol ol ol li {
|
|
181
|
-
list-style-type: lower-roman;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/* Active list styles */
|
|
185
|
-
ul[data-type="bulletList"],
|
|
186
|
-
ol[data-type="orderedList"] {
|
|
187
|
-
li {
|
|
188
|
-
position: relative;
|
|
189
|
-
|
|
190
|
-
&::before {
|
|
191
|
-
content: "";
|
|
192
|
-
position: absolute;
|
|
193
|
-
left: -1em;
|
|
194
|
-
top: 50%;
|
|
195
|
-
transform: translateY(-50%);
|
|
196
|
-
width: 4px;
|
|
197
|
-
height: 4px;
|
|
198
|
-
border-radius: 50%;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.highlight {
|
|
204
|
-
background-color: #fef3c7;
|
|
205
|
-
border-radius: 2px;
|
|
206
|
-
padding: 0 2px;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/* Code block styles */
|
|
210
|
-
code {
|
|
211
|
-
background-color: #f7fafc;
|
|
212
|
-
border-radius: 4px;
|
|
213
|
-
padding: 0.2em 0.4em;
|
|
214
|
-
font-family: monospace;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
/* Blockquote styles */
|
|
218
|
-
blockquote {
|
|
219
|
-
border-left: 3px solid #e2e8f0;
|
|
220
|
-
margin: 0.5em 0;
|
|
221
|
-
padding-left: 1em;
|
|
222
|
-
color: #4a5568;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
/* Character count */
|
|
227
|
-
.character-count {
|
|
228
|
-
align-items: center;
|
|
229
|
-
color: var(--gray-5);
|
|
230
|
-
display: flex;
|
|
231
|
-
font-size: 0.75rem;
|
|
232
|
-
gap: 0.5rem;
|
|
233
|
-
margin: 1.5rem;
|
|
234
|
-
|
|
235
|
-
svg {
|
|
236
|
-
color: var(--purple);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
&--warning,
|
|
240
|
-
&--warning svg {
|
|
241
|
-
color: var(--red);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
// main container styles
|
|
246
|
-
|
|
247
|
-
.tiptap-editor {
|
|
248
|
-
width: 100%;
|
|
249
|
-
flex: 1;
|
|
250
|
-
resize: none;
|
|
251
|
-
border: none;
|
|
252
|
-
outline: none;
|
|
253
|
-
font-size: 14px;
|
|
254
|
-
padding: 0;
|
|
255
|
-
background: transparent;
|
|
256
|
-
line-height: 160%;
|
|
257
|
-
max-height: 130px;
|
|
258
|
-
min-height: 20px; // Ensure minimum height for single line
|
|
259
|
-
font-family: $fontFamily;
|
|
260
|
-
font-weight: 400;
|
|
261
|
-
color: $mainFontColor;
|
|
262
|
-
transition: all 0.2s ease-in-out;
|
|
263
|
-
overflow-y: auto;
|
|
264
|
-
|
|
265
|
-
&::placeholder {
|
|
266
|
-
color: $lightGrayColor;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.ProseMirror {
|
|
270
|
-
outline: none;
|
|
271
|
-
padding: 0px !important;
|
|
272
|
-
min-height: 40px;
|
|
273
|
-
max-height: 100px;
|
|
274
|
-
overflow-y: auto;
|
|
275
|
-
word-wrap: break-word;
|
|
276
|
-
|
|
277
|
-
&::-webkit-scrollbar {
|
|
278
|
-
width: 4px;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
&::-webkit-scrollbar-track {
|
|
282
|
-
background: transparent;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
&::-webkit-scrollbar-thumb {
|
|
286
|
-
background: rgba(0, 0, 0, 0.2);
|
|
287
|
-
border-radius: 2px;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
&::-webkit-scrollbar-thumb:hover {
|
|
291
|
-
background: rgba(0, 0, 0, 0.3);
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.single-line {
|
|
297
|
-
.tiptap {
|
|
298
|
-
// min-height: 28px;
|
|
299
|
-
line-height: 24px;
|
|
300
|
-
}
|
|
301
|
-
}
|