@steroidsjs/bootstrap 3.0.0-beta.12 → 3.0.0-beta.121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/content/Accordion/AccordionItemView.d.ts +2 -0
- package/content/{Collapse/CollapseItemView.js → Accordion/AccordionItemView.js} +47 -22
- package/content/Accordion/AccordionItemView.scss +262 -0
- package/content/Accordion/AccordionView.d.ts +2 -0
- package/content/{Collapse/CollapseView.js → Accordion/AccordionView.js} +3 -3
- package/content/Accordion/AccordionView.scss +28 -0
- package/content/Alert/AlertView.js +4 -3
- package/content/Alert/AlertView.scss +75 -24
- package/content/Avatar/AvatarView.js +2 -3
- package/content/Avatar/AvatarView.scss +43 -48
- package/content/Badge/BadgeView.d.ts +0 -1
- package/content/Badge/BadgeView.js +8 -7
- package/content/Badge/BadgeView.scss +135 -6
- package/content/Calendar/CalendarView.js +6 -3
- package/content/Calendar/CalendarView.scss +270 -175
- package/content/Calendar/CaptionElement.js +26 -15
- package/content/Calendar/CaptionElement.scss +168 -106
- package/content/CalendarSystem/AsideCalendars/AsideCalendars.d.ts +13 -0
- package/content/CalendarSystem/AsideCalendars/AsideCalendars.js +43 -0
- package/content/CalendarSystem/AsideCalendars/AsideCalendars.scss +107 -0
- package/content/CalendarSystem/AsideCalendars/index.d.ts +2 -0
- package/content/CalendarSystem/AsideCalendars/index.js +7 -0
- package/content/CalendarSystem/AsideHeader/AsideHeader.d.ts +9 -0
- package/content/CalendarSystem/AsideHeader/AsideHeader.js +40 -0
- package/content/CalendarSystem/AsideHeader/AsideHeader.scss +41 -0
- package/content/CalendarSystem/AsideHeader/index.d.ts +2 -0
- package/content/CalendarSystem/AsideHeader/index.js +7 -0
- package/content/CalendarSystem/CalendarSystemEventGroupModalView.d.ts +2 -0
- package/content/CalendarSystem/CalendarSystemEventGroupModalView.js +25 -0
- package/content/CalendarSystem/CalendarSystemEventGroupModalView.scss +53 -0
- package/content/CalendarSystem/CalendarSystemModalView.d.ts +2 -0
- package/content/CalendarSystem/CalendarSystemModalView.js +38 -0
- package/content/CalendarSystem/CalendarSystemModalView.scss +84 -0
- package/content/CalendarSystem/CalendarSystemView.d.ts +2 -0
- package/content/CalendarSystem/CalendarSystemView.js +28 -0
- package/content/CalendarSystem/CalendarSystemView.scss +50 -0
- package/content/CalendarSystem/ContentHeader/ContentHeader.d.ts +10 -0
- package/content/CalendarSystem/ContentHeader/ContentHeader.js +26 -0
- package/content/CalendarSystem/ContentHeader/ContentHeader.scss +57 -0
- package/content/CalendarSystem/ContentHeader/index.d.ts +2 -0
- package/content/CalendarSystem/ContentHeader/index.js +7 -0
- package/content/CalendarSystem/MonthGrid/MonthGrid.d.ts +14 -0
- package/content/CalendarSystem/MonthGrid/MonthGrid.js +39 -0
- package/content/CalendarSystem/MonthGrid/MonthGrid.scss +41 -0
- package/content/CalendarSystem/MonthGrid/index.d.ts +2 -0
- package/content/CalendarSystem/MonthGrid/index.js +7 -0
- package/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDay.d.ts +11 -0
- package/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDay.js +73 -0
- package/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDay.scss +126 -0
- package/content/CalendarSystem/MonthGrid/views/MonthDay/index.d.ts +2 -0
- package/content/CalendarSystem/MonthGrid/views/MonthDay/index.js +7 -0
- package/content/CalendarSystem/WeekGrid/WeekGrid.d.ts +14 -0
- package/content/CalendarSystem/WeekGrid/WeekGrid.js +25 -0
- package/content/CalendarSystem/WeekGrid/WeekGrid.scss +154 -0
- package/content/CalendarSystem/WeekGrid/index.d.ts +2 -0
- package/content/CalendarSystem/WeekGrid/index.js +7 -0
- package/content/CalendarSystem/WeekGrid/views/WeekHour/WeekHour.d.ts +12 -0
- package/content/CalendarSystem/WeekGrid/views/WeekHour/WeekHour.js +79 -0
- package/content/CalendarSystem/WeekGrid/views/WeekHour/WeekHour.scss +108 -0
- package/content/CalendarSystem/WeekGrid/views/WeekHour/index.d.ts +2 -0
- package/content/CalendarSystem/WeekGrid/views/WeekHour/index.js +7 -0
- package/content/Card/CardView.js +37 -14
- package/content/Card/CardView.scss +139 -108
- package/content/Chart/ChartView.d.ts +2 -0
- package/content/Chart/ChartView.js +57 -0
- package/content/Chart/ChartView.scss +39 -0
- package/content/Chat/ChatView.d.ts +2 -0
- package/content/Chat/ChatView.js +62 -0
- package/content/Chat/ChatView.scss +59 -0
- package/content/Chat/index.d.ts +2 -0
- package/content/Chat/index.js +7 -0
- package/content/Chat/views/BubbleMessage/BubbleMessageView.d.ts +16 -0
- package/content/Chat/views/BubbleMessage/BubbleMessageView.js +57 -0
- package/content/Chat/views/BubbleMessage/BubbleMessageView.scss +157 -0
- package/content/Chat/views/BubbleMessage/index.d.ts +2 -0
- package/content/Chat/views/BubbleMessage/index.js +7 -0
- package/content/Chat/views/BubblesDateGroup/BubblesDateGroup.d.ts +12 -0
- package/content/Chat/views/BubblesDateGroup/BubblesDateGroup.js +48 -0
- package/content/Chat/views/BubblesDateGroup/BubblesDateGroup.scss +78 -0
- package/content/Chat/views/BubblesDateGroup/index.d.ts +2 -0
- package/content/Chat/views/BubblesDateGroup/index.js +7 -0
- package/content/Chat/views/ChatInput/ChatInputView.d.ts +7 -0
- package/content/Chat/views/ChatInput/ChatInputView.js +41 -0
- package/content/Chat/views/ChatInput/ChatInputView.scss +36 -0
- package/content/Chat/views/ChatInput/index.d.ts +2 -0
- package/content/Chat/views/ChatInput/index.js +7 -0
- package/content/CopyToClipboard/CopyToClipboardView.d.ts +3 -0
- package/content/CopyToClipboard/CopyToClipboardView.js +19 -0
- package/content/CopyToClipboard/CopyToClipboardView.scss +41 -0
- package/content/Dashboard/DashboardItemView.d.ts +2 -0
- package/content/Dashboard/DashboardItemView.js +18 -0
- package/content/Dashboard/DashboardItemView.scss +47 -0
- package/content/Detail/DetailView.scss +79 -57
- package/content/DropDown/DropDownView.d.ts +0 -1
- package/content/DropDown/DropDownView.js +7 -4
- package/content/DropDown/DropDownView.scss +208 -27
- package/content/Icon/IconView.d.ts +1 -2
- package/content/Icon/IconView.js +18 -2
- package/content/Icon/IconView.scss +1 -23
- package/content/Kanban/KanbanView.d.ts +2 -0
- package/content/Kanban/KanbanView.js +29 -0
- package/content/Kanban/KanbanView.scss +12 -0
- package/content/Kanban/views/KanbanColumn/KanbanColumnView.d.ts +2 -0
- package/content/Kanban/views/KanbanColumn/KanbanColumnView.js +36 -0
- package/content/Kanban/views/KanbanColumn/KanbanColumnView.scss +75 -0
- package/content/Kanban/views/KanbanColumn/index.d.ts +2 -0
- package/content/Kanban/views/KanbanColumn/index.js +7 -0
- package/content/Kanban/views/KanbanModal/KanbanModalView.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/KanbanModalView.js +57 -0
- package/content/Kanban/views/KanbanModal/KanbanModalView.scss +210 -0
- package/content/Kanban/views/KanbanModal/index.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/index.js +7 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/CreateOrEditTaskModalContentView.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/CreateOrEditTaskModalContentView.js +95 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/index.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/index.js +7 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/Label.d.ts +6 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/Label.js +11 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/index.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/index.js +7 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.d.ts +8 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.js +49 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.scss +30 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/index.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/index.js +7 -0
- package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/TaskDetailsModalContentView.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/TaskDetailsModalContentView.js +53 -0
- package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/index.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/index.js +7 -0
- package/content/Kanban/views/KanbanTask/KanbanTaskView.d.ts +5 -0
- package/content/Kanban/views/KanbanTask/KanbanTaskView.js +66 -0
- package/content/Kanban/views/KanbanTask/KanbanTaskView.scss +110 -0
- package/content/Kanban/views/KanbanTask/index.d.ts +2 -0
- package/content/Kanban/views/KanbanTask/index.js +7 -0
- package/content/Kanban/views/TaskTags/TaskTags.d.ts +9 -0
- package/content/Kanban/views/TaskTags/TaskTags.js +14 -0
- package/content/Kanban/views/TaskTags/TaskTags.scss +7 -0
- package/content/Kanban/views/TaskTags/index.d.ts +2 -0
- package/content/Kanban/views/TaskTags/index.js +7 -0
- package/content/Menu/MenuItemView.d.ts +2 -0
- package/content/Menu/MenuItemView.js +15 -0
- package/content/Menu/MenuItemView.scss +67 -0
- package/content/Menu/MenuView.d.ts +2 -0
- package/content/Menu/MenuView.js +33 -0
- package/content/Menu/MenuView.scss +46 -0
- package/content/Slider/SliderView.d.ts +3 -0
- package/content/Slider/SliderView.js +21 -0
- package/content/Slider/SliderView.scss +5 -0
- package/form/AutoCompleteField/AutoCompleteFieldView.d.ts +1 -3
- package/form/AutoCompleteField/AutoCompleteFieldView.js +62 -9
- package/form/AutoCompleteField/AutoCompleteFieldView.scss +201 -142
- package/form/Button/ButtonView.d.ts +1 -2
- package/form/Button/ButtonView.js +13 -9
- package/form/Button/ButtonView.scss +176 -68
- package/form/CheckboxField/CheckboxFieldView.d.ts +1 -2
- package/form/CheckboxField/CheckboxFieldView.js +9 -4
- package/form/CheckboxField/CheckboxFieldView.scss +225 -37
- package/form/CheckboxListField/CheckboxListFieldView.d.ts +1 -2
- package/form/CheckboxListField/CheckboxListFieldView.js +19 -15
- package/form/CheckboxListField/CheckboxListFieldView.scss +7 -41
- package/form/DateField/DateFieldView.js +7 -6
- package/form/DateField/DateFieldView.scss +15 -70
- package/form/DateRangeField/DateRangeFieldView.js +10 -13
- package/form/DateRangeField/DateRangeFieldView.scss +41 -73
- package/form/DateTimeField/DateTimeFieldView.d.ts +1 -2
- package/form/DateTimeField/DateTimeFieldView.js +6 -6
- package/form/DateTimeField/DateTimeFieldView.scss +13 -107
- package/form/DateTimeRangeField/DateTimeRangeFieldView.js +10 -8
- package/form/DateTimeRangeField/DateTimeRangeFieldView.scss +32 -87
- package/form/DropDownField/DropDownFieldView.js +35 -47
- package/form/DropDownField/DropDownFieldView.scss +381 -179
- package/form/DropDownField/utils.d.ts +2 -0
- package/form/DropDownField/utils.js +15 -0
- package/form/DropDownFieldItem/DropDownFieldItemView.d.ts +2 -0
- package/form/DropDownFieldItem/DropDownFieldItemView.js +81 -0
- package/form/DropDownFieldItem/DropDownFieldItemView.scss +220 -0
- package/form/FieldLayout/FieldLayoutView.d.ts +1 -2
- package/form/FieldLayout/FieldLayoutView.js +13 -9
- package/form/FieldLayout/FieldLayoutView.scss +116 -19
- package/form/FieldList/FieldListItemView.js +6 -4
- package/form/FieldList/FieldListItemView.scss +18 -38
- package/form/FieldList/FieldListView.js +9 -8
- package/form/FieldList/FieldListView.scss +77 -24
- package/form/FieldSet/FieldSetView.js +4 -2
- package/form/FieldSet/FieldSetView.scss +42 -0
- package/form/FileField/FileFieldItemView.d.ts +1 -2
- package/form/FileField/FileFieldItemView.js +31 -6
- package/form/FileField/FileFieldItemView.scss +259 -14
- package/form/FileField/FileFieldView.d.ts +1 -2
- package/form/FileField/FileFieldView.js +6 -8
- package/form/FileField/FileFieldView.scss +46 -13
- package/form/Form/FormView.js +1 -4
- package/form/Form/FormView.scss +1 -14
- package/form/HtmlField/HtmlFieldView.d.ts +1 -2
- package/form/HtmlField/HtmlFieldView.scss +7 -1
- package/form/ImageField/ImageFieldModalView.js +3 -1
- package/form/ImageField/ImageFieldView.js +15 -3
- package/form/ImageField/ImageFieldView.scss +7 -24
- package/form/InputField/InputFieldView.d.ts +1 -2
- package/form/InputField/InputFieldView.js +33 -14
- package/form/InputField/InputFieldView.scss +277 -99
- package/form/NumberField/NumberFieldView.d.ts +1 -2
- package/form/NumberField/NumberFieldView.js +19 -24
- package/form/NumberField/NumberFieldView.scss +197 -89
- package/form/PasswordField/PasswordFieldView.d.ts +1 -2
- package/form/PasswordField/PasswordFieldView.js +14 -9
- package/form/PasswordField/PasswordFieldView.scss +253 -63
- package/form/RadioField/RadioFieldView.d.ts +2 -0
- package/form/RadioField/RadioFieldView.js +57 -0
- package/form/RadioField/RadioFieldView.scss +228 -0
- package/form/RadioListField/RadioListFieldView.d.ts +1 -2
- package/form/RadioListField/RadioListFieldView.js +18 -16
- package/form/RadioListField/RadioListFieldView.scss +11 -1
- package/form/RateField/RateFieldView.js +17 -10
- package/form/RateField/RateFieldView.scss +118 -40
- package/form/ReCaptchaField/ReCaptchaFieldView.d.ts +1 -2
- package/form/ReCaptchaField/ReCaptchaFieldView.js +18 -9
- package/form/ReCaptchaField/ReCaptchaFieldView.scss +1 -5
- package/form/SliderField/SliderFieldView.d.ts +1 -2
- package/form/SliderField/SliderFieldView.js +4 -2
- package/form/SliderField/SliderFieldView.scss +338 -299
- package/form/SwitcherField/SwitcherFieldView.d.ts +1 -2
- package/form/SwitcherField/SwitcherFieldView.js +12 -7
- package/form/SwitcherField/SwitcherFieldView.scss +192 -1
- package/form/TextField/TextFieldView.d.ts +1 -2
- package/form/TextField/TextFieldView.js +10 -2
- package/form/TextField/TextFieldView.scss +147 -2
- package/form/TimeField/TimeFieldView.d.ts +1 -2
- package/form/TimeField/TimeFieldView.js +16 -14
- package/form/TimeField/TimeFieldView.scss +22 -68
- package/form/TimeField/TimePanelView.scss +65 -68
- package/form/TimeRangeField/TimeRangeFieldView.d.ts +2 -0
- package/form/TimeRangeField/TimeRangeFieldView.js +67 -0
- package/form/TimeRangeField/TimeRangeFieldView.scss +81 -0
- package/icons/index.d.ts +2 -0
- package/icons/index.js +113 -0
- package/icons/svgs/add.svg +4 -0
- package/icons/svgs/add_16x16.svg +4 -0
- package/icons/svgs/add_square.svg +5 -0
- package/icons/svgs/arrow_down_18x18.svg +4 -0
- package/icons/svgs/arrow_down_24x24.svg +4 -0
- package/icons/svgs/arrow_drop_down_10x10.svg +3 -0
- package/icons/svgs/arrow_left_18x18.svg +4 -0
- package/icons/svgs/arrow_left_24x24.svg +4 -0
- package/icons/svgs/arrow_right_18x18.svg +4 -0
- package/icons/svgs/arrow_right_24x24.svg +5 -0
- package/icons/svgs/arrow_up_18x18.svg +4 -0
- package/icons/svgs/arrow_up_24x24.svg +4 -0
- package/icons/svgs/blank.svg +4 -0
- package/icons/svgs/burger.svg +5 -0
- package/icons/svgs/calendar_check.svg +5 -0
- package/icons/svgs/calendar_range.svg +8 -0
- package/icons/svgs/cancel_ellips.svg +4 -0
- package/icons/svgs/chart.svg +6 -0
- package/icons/svgs/checkmark_12x12.svg +4 -0
- package/icons/svgs/checkmark_8x8.svg +4 -0
- package/icons/svgs/circle_cross_12x12.svg +4 -0
- package/icons/svgs/circle_cross_16x16.svg +4 -0
- package/icons/svgs/circle_cross_18x18.svg +4 -0
- package/icons/svgs/clip.svg +3 -0
- package/icons/svgs/copy.svg +5 -0
- package/icons/svgs/cross_12x12.svg +4 -0
- package/icons/svgs/cross_4x4.svg +3 -0
- package/icons/svgs/cross_8x8.svg +4 -0
- package/icons/svgs/cut.svg +3 -0
- package/icons/svgs/date_range.svg +8 -0
- package/icons/svgs/default_16x16.svg +4 -0
- package/icons/svgs/default_24x24.svg +11 -0
- package/icons/svgs/done-all.svg +4 -0
- package/icons/svgs/double_arrow_down.svg +5 -0
- package/icons/svgs/double_arrow_left.svg +5 -0
- package/icons/svgs/double_arrow_right.svg +5 -0
- package/icons/svgs/double_arrow_up.svg +5 -0
- package/icons/svgs/doughnut_chart.svg +5 -0
- package/icons/svgs/edit.svg +4 -0
- package/icons/svgs/error_16x16.svg +5 -0
- package/icons/svgs/error_24x24.svg +12 -0
- package/icons/svgs/expand_down.svg +3 -0
- package/icons/svgs/expand_left.svg +3 -0
- package/icons/svgs/expand_left_double.svg +4 -0
- package/icons/svgs/expand_right.svg +3 -0
- package/icons/svgs/expand_right_double.svg +4 -0
- package/icons/svgs/expand_up.svg +3 -0
- package/icons/svgs/facebook.svg +3 -0
- package/icons/svgs/file_dock.svg +6 -0
- package/icons/svgs/filter.svg +3 -0
- package/icons/svgs/fluid.svg +4 -0
- package/icons/svgs/folder.svg +3 -0
- package/icons/svgs/group.svg +8 -0
- package/icons/svgs/home.svg +4 -0
- package/icons/svgs/img_box.svg +5 -0
- package/icons/svgs/import.svg +4 -0
- package/icons/svgs/info_16x16.svg +5 -0
- package/icons/svgs/info_24x24.svg +12 -0
- package/icons/svgs/instagram.svg +5 -0
- package/icons/svgs/left_12x12.svg +3 -0
- package/icons/svgs/loading_default.svg +3 -0
- package/icons/svgs/loading_icon_thick.svg +3 -0
- package/icons/svgs/loading_purple.svg +9 -0
- package/icons/svgs/map.svg +7 -0
- package/icons/svgs/menu_dots.svg +5 -0
- package/icons/svgs/menu_left.svg +5 -0
- package/icons/svgs/minis_sq.svg +4 -0
- package/icons/svgs/paste.svg +8 -0
- package/icons/svgs/pie_chart.svg +5 -0
- package/icons/svgs/pin.svg +4 -0
- package/icons/svgs/sad.svg +6 -0
- package/icons/svgs/search.svg +4 -0
- package/icons/svgs/send.svg +3 -0
- package/icons/svgs/setting_line.svg +3 -0
- package/icons/svgs/share.svg +7 -0
- package/icons/svgs/sort.svg +7 -0
- package/icons/svgs/star.svg +3 -0
- package/icons/svgs/success_16x16.svg +4 -0
- package/icons/svgs/success_24x24.svg +11 -0
- package/icons/svgs/support.svg +3 -0
- package/icons/svgs/telegram.svg +3 -0
- package/icons/svgs/trash.svg +6 -0
- package/icons/svgs/upload.svg +4 -0
- package/icons/svgs/user.svg +4 -0
- package/icons/svgs/view.svg +5 -0
- package/icons/svgs/view_hide.svg +5 -0
- package/icons/svgs/vk.svg +3 -0
- package/icons/svgs/warning_16x16.svg +7 -0
- package/icons/svgs/warning_24x24.svg +12 -0
- package/icons/svgs/whatsapp.svg +7 -0
- package/index.d.ts +65 -2
- package/index.js +67 -4
- package/index.scss +101 -69
- package/layout/Header/HeaderView.js +43 -6
- package/layout/Header/HeaderView.scss +137 -23
- package/layout/Loader/LoaderView.d.ts +2 -2
- package/layout/Loader/LoaderView.js +6 -2
- package/layout/Loader/LoaderView.scss +70 -22
- package/layout/Notifications/NotificationsItemView.d.ts +1 -2
- package/layout/Notifications/NotificationsItemView.js +9 -8
- package/layout/Notifications/NotificationsItemView.scss +56 -84
- package/layout/Notifications/NotificationsView.d.ts +1 -2
- package/layout/Notifications/NotificationsView.scss +4 -1
- package/layout/ProgressBar/CircleProgressBarView.d.ts +1 -2
- package/layout/ProgressBar/CircleProgressBarView.scss +9 -7
- package/layout/ProgressBar/LineProgressBarView.d.ts +1 -2
- package/layout/ProgressBar/LineProgressBarView.scss +10 -8
- package/layout/Sidebar/FooterIcons/FooterIcons.d.ts +10 -0
- package/layout/Sidebar/FooterIcons/FooterIcons.js +54 -0
- package/layout/Sidebar/FooterIcons/FooterIcons.scss +36 -0
- package/layout/Sidebar/FooterIcons/index.d.ts +2 -0
- package/layout/Sidebar/FooterIcons/index.js +7 -0
- package/layout/Sidebar/SidebarLogo/SidebarLogo.d.ts +10 -0
- package/layout/Sidebar/SidebarLogo/SidebarLogo.js +44 -0
- package/layout/Sidebar/SidebarLogo/SidebarLogo.scss +52 -0
- package/layout/Sidebar/SidebarLogo/index.d.ts +2 -0
- package/layout/Sidebar/SidebarLogo/index.js +7 -0
- package/layout/Sidebar/SidebarUser/SidebarUser.d.ts +11 -0
- package/layout/Sidebar/SidebarUser/SidebarUser.js +53 -0
- package/layout/Sidebar/SidebarUser/SidebarUser.scss +45 -0
- package/layout/Sidebar/SidebarUser/index.d.ts +2 -0
- package/layout/Sidebar/SidebarUser/index.js +7 -0
- package/layout/Sidebar/SidebarView.d.ts +2 -0
- package/layout/Sidebar/SidebarView.js +26 -0
- package/layout/Sidebar/SidebarView.scss +304 -0
- package/layout/Sidebar/index.d.ts +2 -0
- package/layout/Sidebar/index.js +7 -0
- package/layout/Skeleton/SkeletonView.scss +7 -5
- package/layout/Tooltip/TooltipView.d.ts +1 -2
- package/layout/Tooltip/TooltipView.js +5 -5
- package/layout/Tooltip/TooltipView.scss +46 -37
- package/list/CheckboxColumn/CheckboxColumnView.d.ts +1 -2
- package/list/CheckboxColumn/CheckboxColumnView.js +2 -1
- package/list/ControlsColumnView/ControlsColumnView.d.ts +1 -2
- package/list/ControlsColumnView/ControlsColumnView.scss +7 -1
- package/list/Empty/EmptyView.js +1 -1
- package/list/Empty/EmptyView.scss +5 -1
- package/list/FlexGrid/FlexGridView.d.ts +2 -0
- package/list/FlexGrid/FlexGridView.js +71 -0
- package/list/FlexGrid/FlexGridView.scss +53 -0
- package/list/Grid/GridView.js +10 -4
- package/list/Grid/GridView.scss +152 -37
- package/list/Grid/views/ContentColumnView/ContentColumnView.d.ts +2 -0
- package/list/Grid/views/ContentColumnView/ContentColumnView.js +50 -0
- package/list/Grid/views/ContentColumnView/ContentColumnView.scss +88 -0
- package/list/Grid/views/ContentColumnView/index.d.ts +2 -0
- package/list/Grid/views/ContentColumnView/index.js +7 -0
- package/list/Grid/views/DiagramColumnView/DiagramColumnView.d.ts +3 -0
- package/list/Grid/views/DiagramColumnView/DiagramColumnView.js +60 -0
- package/list/Grid/views/DiagramColumnView/DiagramColumnView.scss +170 -0
- package/list/Grid/views/DiagramColumnView/index.d.ts +2 -0
- package/list/Grid/views/DiagramColumnView/index.js +7 -0
- package/list/Grid/views/TreeColumnView/TreeColumnView.d.ts +2 -0
- package/list/Grid/views/TreeColumnView/TreeColumnView.js +41 -0
- package/list/Grid/views/TreeColumnView/TreeColumnView.scss +46 -0
- package/list/List/ListItemView.d.ts +1 -2
- package/list/List/ListView.js +5 -7
- package/list/List/ListView.scss +28 -1
- package/list/Pagination/PaginationButtonView.js +34 -5
- package/list/Pagination/PaginationButtonView.scss +277 -1
- package/list/Pagination/PaginationMoreView.js +1 -1
- package/list/Pagination/PaginationMoreView.scss +4 -1
- package/list/PaginationSize/PaginationSizeView.js +5 -5
- package/list/PaginationSize/PaginationSizeView.scss +0 -8
- package/list/Steps/StepItemView.scss +13 -12
- package/list/Steps/StepsView.scss +3 -1
- package/modal/Modal/ModalView.d.ts +1 -2
- package/modal/Modal/ModalView.js +5 -8
- package/modal/Modal/ModalView.scss +140 -93
- package/modal/TwoFactorModal/TwoFactorModalView.d.ts +1 -3
- package/modal/TwoFactorModal/TwoFactorModalView.js +0 -1
- package/modal/TwoFactorModal/TwoFactorModalView.scss +0 -2
- package/nav/Breadcrubms/BreadcrumbsView.js +9 -1
- package/nav/Breadcrubms/BreadcrumbsView.scss +49 -0
- package/nav/ButtonGroup/ButtonGroupView.d.ts +2 -0
- package/nav/ButtonGroup/ButtonGroupView.js +33 -0
- package/nav/ButtonGroup/ButtonGroupView.scss +84 -0
- package/nav/Controls/ControlsView.d.ts +1 -2
- package/nav/Controls/ControlsView.js +1 -1
- package/nav/Controls/ControlsView.scss +18 -3
- package/nav/Nav/NavBarView.d.ts +1 -2
- package/nav/Nav/NavBarView.js +9 -4
- package/nav/Nav/NavBarView.scss +35 -1
- package/nav/Nav/NavButtonView.d.ts +1 -2
- package/nav/Nav/NavButtonView.js +8 -2
- package/nav/Nav/NavButtonView.scss +6 -5
- package/nav/Nav/NavIconView.d.ts +1 -2
- package/nav/Nav/NavIconView.js +21 -2
- package/nav/Nav/NavIconView.scss +33 -6
- package/nav/Nav/NavLinkView.d.ts +1 -2
- package/nav/Nav/NavLinkView.js +9 -2
- package/nav/Nav/NavLinkView.scss +14 -5
- package/nav/Nav/NavListView.d.ts +1 -2
- package/nav/Nav/NavListView.js +11 -7
- package/nav/Nav/NavListView.scss +11 -10
- package/nav/Nav/NavTabsView.d.ts +1 -2
- package/nav/Nav/NavTabsView.js +9 -4
- package/nav/Nav/NavTabsView.scss +50 -1
- package/nav/Tree/TreeView.d.ts +1 -2
- package/nav/Tree/TreeView.scss +63 -54
- package/package.json +8 -6
- package/scss/animations/index.scss +1 -0
- package/scss/animations/loading.scss +13 -0
- package/scss/bootstrap-classes/flex.scss +42 -0
- package/scss/bootstrap-classes/index.scss +4 -0
- package/scss/bootstrap-classes/layout.scss +72 -0
- package/scss/bootstrap-classes/spacing.scss +97 -0
- package/scss/bootstrap-classes/typography.scss +25 -0
- package/scss/fonts.scss +6 -0
- package/scss/mixins/button.scss +99 -24
- package/scss/mixins/customMixins.scss +6 -0
- package/scss/mixins/date.scss +436 -0
- package/scss/mixins/index.scss +7 -2
- package/scss/mixins/navs.scss +39 -0
- package/scss/mixins/scroll.scss +31 -0
- package/scss/mixins/tooltip.scss +23 -0
- package/scss/mixins/typography.scss +29 -0
- package/scss/normalize.scss +25 -0
- package/scss/variables/common/colors.scss +202 -83
- package/scss/variables/common/flex.scss +5 -0
- package/scss/variables/common/media.scss +3 -0
- package/scss/variables/common/typography.scss +112 -28
- package/scss/variables/common/variables.scss +1 -0
- package/scss/variables/components/calendar.scss +8 -6
- package/scss/variables/components/input.scss +10 -7
- package/scss/variables/components/ratefield.scss +3 -1
- package/scss/variables/index.scss +11 -11
- package/typography/Text/TextView.d.ts +3 -0
- package/typography/Text/TextView.js +46 -0
- package/typography/Text/TextView.scss +19 -0
- package/typography/Title/TitleView.d.ts +3 -0
- package/typography/Title/TitleView.js +50 -0
- package/typography/Title/TitleView.scss +19 -0
- package/utils/getFormattedExpandLabel.d.ts +1 -0
- package/utils/getFormattedExpandLabel.js +5 -0
- package/utils/renderIcon.d.ts +9 -0
- package/utils/renderIcon.js +27 -0
- package/content/Collapse/CollapseItemView.d.ts +0 -2
- package/content/Collapse/CollapseItemView.scss +0 -88
- package/content/Collapse/CollapseView.d.ts +0 -2
- package/content/Collapse/CollapseView.scss +0 -15
- package/icons/fontawesome.d.ts +0 -2
- package/icons/fontawesome.js +0 -259
- package/list/List/ListItemView.scss +0 -3
- package/scss/mixins/card.scss +0 -26
- package/scss/variables/components/card.scss +0 -20
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
@use "../../../../scss/variables";
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--bubble-background-color: #6b76ad;
|
|
5
|
+
--bubble-border-color: #6b76ad;
|
|
6
|
+
--username-text-color: #fff;
|
|
7
|
+
--message-text-color: #fff;
|
|
8
|
+
--message-time-color: #fff;
|
|
9
|
+
|
|
10
|
+
--another-user-bubble-background-color: #f8f8f8;
|
|
11
|
+
--another-user-bubble-border-color: #f1f5f7;
|
|
12
|
+
--another-user-username-text-color: #fff;
|
|
13
|
+
--another-user-message-text-color: #323232;
|
|
14
|
+
--another-user-message-time-color: rgba(0, 0, 0, 0.30);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
html[data-theme="dark"] {
|
|
18
|
+
--bubble-background-color: #727EB7;
|
|
19
|
+
--bubble-border-color: #727EB7;
|
|
20
|
+
--message-text-color: #fff;
|
|
21
|
+
--message-time-color: #fff;
|
|
22
|
+
|
|
23
|
+
--another-user-bubble-background-color: #333646;
|
|
24
|
+
--another-user-bubble-border-color: #333646;
|
|
25
|
+
--another-user-message-text-color: #fff;
|
|
26
|
+
--another-user-message-time-color: rgba(255, 255, 255, 0.30);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
$bubble-background-color: var(--bubble-background-color);
|
|
30
|
+
$bubble-border-color: var(--bubble-border-color);
|
|
31
|
+
$message-text-color: var(--message-text-color);
|
|
32
|
+
$message-time-color: var(--message-time-color);
|
|
33
|
+
|
|
34
|
+
$another-user-bubble-background-color: var(--another-user-bubble-background-color);
|
|
35
|
+
$another-user-bubble-border-color: var(--another-user-bubble-border-color);
|
|
36
|
+
$another-user-message-text-color: var(--another-user-message-text-color);
|
|
37
|
+
$another-user-message-time-color: var(--another-user-message-time-color);
|
|
38
|
+
|
|
39
|
+
.BubbleMessageView {
|
|
40
|
+
$root: &;
|
|
41
|
+
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-flow: row nowrap;
|
|
44
|
+
justify-content: flex-end;
|
|
45
|
+
align-items: flex-end;
|
|
46
|
+
align-self: flex-end;
|
|
47
|
+
gap: 8px;
|
|
48
|
+
max-width: 548px;
|
|
49
|
+
width: 100%;
|
|
50
|
+
margin-bottom: 4px;
|
|
51
|
+
|
|
52
|
+
&_another-user {
|
|
53
|
+
justify-content: flex-start;
|
|
54
|
+
align-self: flex-start;
|
|
55
|
+
|
|
56
|
+
#{$root}__avatar {
|
|
57
|
+
order: -1;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
#{$root}__username {
|
|
61
|
+
color: $another-user-message-text-color;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
#{$root}__user-message {
|
|
65
|
+
border: 1px solid $another-user-bubble-border-color;
|
|
66
|
+
background: $another-user-bubble-background-color;
|
|
67
|
+
color: $another-user-message-text-color;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
#{$root}__text {
|
|
71
|
+
text-align: left;
|
|
72
|
+
color: $another-user-message-text-color;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
#{$root}__time {
|
|
76
|
+
color: $another-user-message-time-color;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&#{$root}_last-message {
|
|
80
|
+
#{$root}__user-message {
|
|
81
|
+
border-radius: 16px 16px 16px 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
#{$root}__avatar {
|
|
85
|
+
visibility: visible;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
#{$root}__username {
|
|
89
|
+
color: $another-user-message-text-color;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&_last-message {
|
|
95
|
+
margin-bottom: 8px;
|
|
96
|
+
|
|
97
|
+
#{$root}__user-message {
|
|
98
|
+
border-radius: 16px 16px 0 16px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
#{$root}__avatar {
|
|
102
|
+
visibility: visible;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&__avatar {
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
justify-content: center;
|
|
110
|
+
min-width: 36px;
|
|
111
|
+
min-height: 36px;
|
|
112
|
+
visibility: hidden;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&__username {
|
|
116
|
+
align-self: flex-start;
|
|
117
|
+
margin-bottom: 0;
|
|
118
|
+
color: $message-text-color;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&__user-message {
|
|
122
|
+
display: flex;
|
|
123
|
+
padding: 12px;
|
|
124
|
+
flex-flow: column nowrap;
|
|
125
|
+
justify-content: flex-end;
|
|
126
|
+
align-items: flex-end;
|
|
127
|
+
gap: 4px;
|
|
128
|
+
border-radius: 16px;
|
|
129
|
+
|
|
130
|
+
border: 1px solid $bubble-border-color;
|
|
131
|
+
background: $bubble-background-color;
|
|
132
|
+
color: $message-text-color;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&__text {
|
|
136
|
+
margin-bottom: 0;
|
|
137
|
+
white-space: break-spaces;
|
|
138
|
+
width: 100%;
|
|
139
|
+
text-align: left;
|
|
140
|
+
color: $message-text-color;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&__indicators {
|
|
144
|
+
display: flex;
|
|
145
|
+
flex-flow: row nowrap;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&__time {
|
|
149
|
+
margin-bottom: 0;
|
|
150
|
+
font-weight: 500;
|
|
151
|
+
color: $message-time-color;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
&__check {
|
|
155
|
+
margin-left: 4px;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
exports.__esModule = true;
|
|
6
|
+
var BubbleMessageView_1 = __importDefault(require("./BubbleMessageView"));
|
|
7
|
+
exports["default"] = BubbleMessageView_1["default"];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IGroupedMessage } from '@steroidsjs/core/ui/content/Chat/hooks/useChat';
|
|
3
|
+
import { IChatUser } from '@steroidsjs/core/ui/content/Chat/Chat';
|
|
4
|
+
import './BubblesDateGroup.scss';
|
|
5
|
+
interface IBubblesDateGroupProps {
|
|
6
|
+
date: string;
|
|
7
|
+
groupedMessages: IGroupedMessage[][];
|
|
8
|
+
currentUser: IChatUser;
|
|
9
|
+
}
|
|
10
|
+
declare function BubblesDateGroup(props: IBubblesDateGroupProps): JSX.Element;
|
|
11
|
+
declare const _default: React.MemoExoticComponent<typeof BubblesDateGroup>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
exports.__esModule = true;
|
|
29
|
+
var react_1 = __importStar(require("react"));
|
|
30
|
+
var useBem_1 = __importDefault(require("@steroidsjs/core/hooks/useBem"));
|
|
31
|
+
var utils_1 = require("@steroidsjs/core/ui/content/Chat/utils");
|
|
32
|
+
var BubbleMessage_1 = __importDefault(require("../BubbleMessage"));
|
|
33
|
+
require("./BubblesDateGroup.scss");
|
|
34
|
+
function BubblesDateGroup(props) {
|
|
35
|
+
var _a;
|
|
36
|
+
var bem = (0, useBem_1["default"])('BubblesDateGroup');
|
|
37
|
+
var toBubbles = (0, react_1.useCallback)(function (groupedMessages) { return (react_1["default"].createElement("div", { className: bem.element('bubbles') }, groupedMessages.map(function (bubbleMessage) { return (react_1["default"].createElement(BubbleMessage_1["default"], { key: bubbleMessage.id, user: bubbleMessage.user, text: bubbleMessage.text, timestamp: bubbleMessage.timestamp, timeAgo: (0, utils_1.calculateMessageTimeAgo)(bubbleMessage.timestamp), isTodayMessage: (0, utils_1.isTodayMessage)(bubbleMessage.timestamp), isCurrentUser: bubbleMessage.user.id === props.currentUser.id, isFirstMessage: bubbleMessage.isFirstMessage, isLastMessage: bubbleMessage.isLastMessage })); }))); }, [bem, props.currentUser.id]);
|
|
38
|
+
var renderDate = (0, react_1.useCallback)(function () { return (react_1["default"].createElement(react_1["default"].Fragment, null,
|
|
39
|
+
react_1["default"].createElement("div", { className: bem.element('date') },
|
|
40
|
+
react_1["default"].createElement("div", { className: bem.element('date-wrapper') },
|
|
41
|
+
react_1["default"].createElement("span", { className: bem.element('date-text') }, props.date))),
|
|
42
|
+
react_1["default"].createElement("div", { className: bem.element('date', 'invisible-date') },
|
|
43
|
+
react_1["default"].createElement("div", { className: bem.element('date-wrapper', 'invisible-date') }, props.date)))); }, [bem, props.date]);
|
|
44
|
+
return (react_1["default"].createElement("div", { className: bem.block() },
|
|
45
|
+
renderDate(), (_a = props.groupedMessages) === null || _a === void 0 ? void 0 :
|
|
46
|
+
_a.map(toBubbles)));
|
|
47
|
+
}
|
|
48
|
+
exports["default"] = (0, react_1.memo)(BubblesDateGroup);
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@use "../../../../scss/variables";
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--date-text-color: #191b1f;
|
|
5
|
+
--date-background-color: #f1f5f7;
|
|
6
|
+
--decorative-line-color: rgba(0, 0, 0, 0.10);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
html[data-theme="dark"] {
|
|
10
|
+
--date-text-color: #fff;
|
|
11
|
+
--date-background-color: #272a37;
|
|
12
|
+
--decorative-line-color: rgba(255, 255, 255, 0.10);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
$date-text-color: var(--date-text-color);
|
|
16
|
+
$date-background-color: var(--date-background-color);
|
|
17
|
+
$decorative-line-color: var(--decorative-line-color);
|
|
18
|
+
|
|
19
|
+
.BubblesDateGroup {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-flow: column nowrap;
|
|
22
|
+
position: relative;
|
|
23
|
+
|
|
24
|
+
&__date {
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
position: sticky;
|
|
28
|
+
top: 10px;
|
|
29
|
+
width: 100%;
|
|
30
|
+
text-align: center;
|
|
31
|
+
font-size: 12px;
|
|
32
|
+
line-height: 16px;
|
|
33
|
+
margin: 8px 0 16px 0;
|
|
34
|
+
|
|
35
|
+
&_invisible-date {
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 0;
|
|
38
|
+
|
|
39
|
+
&::before,
|
|
40
|
+
&::after {
|
|
41
|
+
content: "";
|
|
42
|
+
flex: 1 1;
|
|
43
|
+
border-bottom: 1px solid;
|
|
44
|
+
margin: auto;
|
|
45
|
+
color: $decorative-line-color;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&::before {
|
|
49
|
+
margin-right: 10px
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&::after {
|
|
53
|
+
margin-left: 10px
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&__date-wrapper {
|
|
59
|
+
padding: 8px;
|
|
60
|
+
border-radius: 16px;
|
|
61
|
+
background: $date-background-color;
|
|
62
|
+
|
|
63
|
+
&_invisible-date {
|
|
64
|
+
opacity: 0;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&__date-text {
|
|
69
|
+
font-weight: 700;
|
|
70
|
+
color: $date-text-color;
|
|
71
|
+
opacity: 0.4;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__bubbles {
|
|
75
|
+
display: flex;
|
|
76
|
+
flex-flow: column nowrap;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
exports.__esModule = true;
|
|
6
|
+
var BubblesDateGroup_1 = __importDefault(require("./BubblesDateGroup"));
|
|
7
|
+
exports["default"] = BubblesDateGroup_1["default"];
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
exports.__esModule = true;
|
|
29
|
+
var react_1 = __importStar(require("react"));
|
|
30
|
+
var useBem_1 = __importDefault(require("@steroidsjs/core/hooks/useBem"));
|
|
31
|
+
var form_1 = require("@steroidsjs/core/ui/form");
|
|
32
|
+
require("./ChatInputView.scss");
|
|
33
|
+
function ChatInputView(props) {
|
|
34
|
+
var bem = (0, useBem_1["default"])('ChatInputView');
|
|
35
|
+
var renderInputActions = (0, react_1.useCallback)(function () { return (react_1["default"].createElement("div", { className: bem.element('actions') },
|
|
36
|
+
react_1["default"].createElement(form_1.Button, { className: bem.element('action'), icon: "send", type: "submit" }))); }, [bem]);
|
|
37
|
+
return (react_1["default"].createElement("div", { className: bem.block() },
|
|
38
|
+
react_1["default"].createElement(form_1.Form, { formId: props.chatId, className: bem.element('form'), onSubmit: props.onSendMessage, useRedux: true },
|
|
39
|
+
react_1["default"].createElement(form_1.InputField, { className: bem.element('input'), attribute: "text", size: "lg", required: true, placeholder: __('Введите сообщение'), addonAfter: renderInputActions() }))));
|
|
40
|
+
}
|
|
41
|
+
exports["default"] = ChatInputView;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use "../../../../scss/variables";
|
|
2
|
+
|
|
3
|
+
.ChatInputView {
|
|
4
|
+
&__actions {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
gap: 24px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&__action {
|
|
12
|
+
svg > * {
|
|
13
|
+
stroke: variables.$text-color
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__input {
|
|
18
|
+
.InputFieldView__addon-after {
|
|
19
|
+
background-color: inherit;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.InputFieldView__input {
|
|
23
|
+
border: none;
|
|
24
|
+
padding: 16px 0 16px 16px;
|
|
25
|
+
font-size: 14px;
|
|
26
|
+
font-style: normal;
|
|
27
|
+
font-weight: 400;
|
|
28
|
+
line-height: 18px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ButtonView_button {
|
|
32
|
+
background-color: inherit;
|
|
33
|
+
padding: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
exports.__esModule = true;
|
|
6
|
+
var ChatInputView_1 = __importDefault(require("./ChatInputView"));
|
|
7
|
+
exports["default"] = ChatInputView_1["default"];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
exports.__esModule = true;
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var useBem_1 = __importDefault(require("@steroidsjs/core/hooks/useBem"));
|
|
8
|
+
var renderIcon_1 = __importDefault(require("../../utils/renderIcon"));
|
|
9
|
+
function CopyToClipboardView(props) {
|
|
10
|
+
var bem = (0, useBem_1["default"])('CopyToClipboardView');
|
|
11
|
+
return (react_1["default"].createElement("div", { className: bem(bem.block({
|
|
12
|
+
disabled: props.disabled
|
|
13
|
+
})), onClick: props.onClick },
|
|
14
|
+
props.children,
|
|
15
|
+
props.showCopyIcon && (0, renderIcon_1["default"])(props.icon || 'copy', {
|
|
16
|
+
className: bem.element('icon')
|
|
17
|
+
})));
|
|
18
|
+
}
|
|
19
|
+
exports["default"] = CopyToClipboardView;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--copy-icon-stroke: #323232;
|
|
3
|
+
--copy-disabled-stroke: rgba(0, 0, 0, 0.1);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
html[data-theme="dark"] {
|
|
7
|
+
--copy-icon-stroke: #FFFFFF;
|
|
8
|
+
--copy-disabled-stroke: rgba(255, 255, 255, 0.1);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
$copy-icon-stroke: var(--copy-icon-stroke);
|
|
12
|
+
$copy-disabled-stroke: var(--copy-disabled-stroke);
|
|
13
|
+
|
|
14
|
+
.CopyToClipboardView {
|
|
15
|
+
display: inline-block;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
|
|
18
|
+
.IconView {
|
|
19
|
+
width: 24px;
|
|
20
|
+
height: 24px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
svg {
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
|
|
27
|
+
path {
|
|
28
|
+
stroke: $copy-icon-stroke;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&_disabled {
|
|
33
|
+
cursor: not-allowed;
|
|
34
|
+
|
|
35
|
+
svg {
|
|
36
|
+
path {
|
|
37
|
+
stroke: $copy-disabled-stroke;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
exports.__esModule = true;
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
8
|
+
var typography_1 = require("@steroidsjs/core/ui/typography");
|
|
9
|
+
var content_1 = require("@steroidsjs/core/ui/content");
|
|
10
|
+
function DashboardItemView(props) {
|
|
11
|
+
var bem = (0, hooks_1.useBem)('DashboardItemView');
|
|
12
|
+
return (react_1["default"].createElement("div", { className: bem.block() },
|
|
13
|
+
react_1["default"].createElement("div", { className: bem.element('header') },
|
|
14
|
+
props.iconName && react_1["default"].createElement(content_1.Icon, { name: props.iconName }),
|
|
15
|
+
react_1["default"].createElement(typography_1.Title, { content: props.title, type: 'h3' })),
|
|
16
|
+
props.children));
|
|
17
|
+
}
|
|
18
|
+
exports["default"] = DashboardItemView;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@use "../../scss/variables";
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--dashboard-item-background-color: #fff;
|
|
5
|
+
--title-icon-color: #323232;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
html[data-theme="dark"] {
|
|
9
|
+
--dashboard-item-background-color: #191b1f;
|
|
10
|
+
--title-icon-color: #fff;
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
$dashboard-item-background-color: var(--dashboard-item-background-color);
|
|
15
|
+
$title-icon-color: var(--title-icon-color);
|
|
16
|
+
|
|
17
|
+
.DashboardItemView {
|
|
18
|
+
width: 100%;
|
|
19
|
+
overflow-x: auto;
|
|
20
|
+
overflow-y: hidden;
|
|
21
|
+
padding: 16px;
|
|
22
|
+
border-radius: 12px;
|
|
23
|
+
background-color: $dashboard-item-background-color;
|
|
24
|
+
box-shadow: 0 8px 20px 0 variables.$black-4;
|
|
25
|
+
|
|
26
|
+
&__header {
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-flow: row nowrap;
|
|
29
|
+
gap: 8px;
|
|
30
|
+
margin-bottom: 16px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__header,
|
|
34
|
+
.CardView {
|
|
35
|
+
svg {
|
|
36
|
+
path,
|
|
37
|
+
rect,
|
|
38
|
+
circle {
|
|
39
|
+
stroke: $title-icon-color;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.TitleView {
|
|
45
|
+
margin-bottom: 0;
|
|
46
|
+
}
|
|
47
|
+
}
|