@steroidsjs/bootstrap 3.0.0-beta.11 → 3.0.0-beta.110
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 +141 -0
- 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 +12 -0
- package/content/CalendarSystem/AsideCalendars/AsideCalendars.js +41 -0
- package/content/CalendarSystem/AsideCalendars/AsideCalendars.scss +81 -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/CalendarSystemModalView.d.ts +2 -0
- package/content/CalendarSystem/CalendarSystemModalView.js +39 -0
- package/content/CalendarSystem/CalendarSystemModalView.scss +80 -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 +69 -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 +13 -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 +75 -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 +47 -0
- package/content/Chart/ChartView.scss +8 -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/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 +199 -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 +93 -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 +110 -0
- package/icons/svgs/add.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/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/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 +4 -0
- package/icons/svgs/view_hide.svg +5 -0
- package/icons/svgs/vk.svg +3 -0
- package/icons/svgs/warning_16x16.svg +5 -0
- package/icons/svgs/warning_24x24.svg +12 -0
- package/icons/svgs/whatsapp.svg +7 -0
- package/index.d.ts +59 -2
- package/index.js +61 -4
- package/index.scss +97 -68
- 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 +60 -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/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/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 +10 -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,88 @@
|
|
|
1
|
+
@use "../../../../scss/variables";
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--grid-icon-color: #323232;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
html[data-theme="dark"] {
|
|
8
|
+
--grid-icon-color: #ffffff;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
$grid-icon-color: var(--grid-icon-color);
|
|
12
|
+
|
|
13
|
+
.ContentColumnView {
|
|
14
|
+
$root: &;
|
|
15
|
+
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-flow: row nowrap;
|
|
18
|
+
align-items: center;
|
|
19
|
+
column-gap: 8px;
|
|
20
|
+
|
|
21
|
+
> * {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__data {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-flow: column;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__subtitle {
|
|
31
|
+
color: variables.$element-placeholder-color;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__picture {
|
|
35
|
+
width: 24px;
|
|
36
|
+
height: 24px;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
border-radius: 4px;
|
|
39
|
+
|
|
40
|
+
img {
|
|
41
|
+
width: 100%;
|
|
42
|
+
height: 100%;
|
|
43
|
+
object-fit: cover;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__icon {
|
|
48
|
+
svg {
|
|
49
|
+
> * {
|
|
50
|
+
stroke: $grid-icon-color;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&_size {
|
|
56
|
+
&_lg {
|
|
57
|
+
#{$root}__subtitle {
|
|
58
|
+
font-size: variables.$font-size-base;
|
|
59
|
+
line-height: variables.$line-height-base;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
#{$root}__avatar-wrapper {
|
|
63
|
+
width: 56px;
|
|
64
|
+
height: 56px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&_md {
|
|
69
|
+
#{$root}__subtitle {
|
|
70
|
+
font-size: variables.$font-size-sm;
|
|
71
|
+
line-height: variables.$line-height-sm;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&_sm {
|
|
76
|
+
#{$root}__subtitle {
|
|
77
|
+
font-size: variables.$font-size-xs;
|
|
78
|
+
line-height: variables.$line-height-xs;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&_isLeft {
|
|
84
|
+
#{$root}__data {
|
|
85
|
+
order: 2;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -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 ContentColumnView_1 = __importDefault(require("./ContentColumnView"));
|
|
7
|
+
exports["default"] = ContentColumnView_1["default"];
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
require("./DiagramColumnView.scss");
|
|
9
|
+
var DiagramType;
|
|
10
|
+
(function (DiagramType) {
|
|
11
|
+
DiagramType["HORIZONTAL"] = "horizontal";
|
|
12
|
+
DiagramType["VERTICAL"] = "vertical";
|
|
13
|
+
DiagramType["CIRCLE"] = "circle";
|
|
14
|
+
})(DiagramType || (DiagramType = {}));
|
|
15
|
+
function DiagramColumnView(props) {
|
|
16
|
+
var _a, _b, _c, _d, _e, _f;
|
|
17
|
+
var bem = (0, useBem_1["default"])('DiagramColumnView');
|
|
18
|
+
var isHorizontal = ((_a = props.diagram) === null || _a === void 0 ? void 0 : _a.type) === DiagramType.HORIZONTAL;
|
|
19
|
+
var isVertical = ((_b = props.diagram) === null || _b === void 0 ? void 0 : _b.type) === DiagramType.VERTICAL;
|
|
20
|
+
var isCircle = ((_c = props.diagram) === null || _c === void 0 ? void 0 : _c.type) === DiagramType.CIRCLE;
|
|
21
|
+
var getItemData = function (item) { return ({
|
|
22
|
+
itemPercentage: props.item[item === null || item === void 0 ? void 0 : item.percentageAttribute],
|
|
23
|
+
itemColor: item === null || item === void 0 ? void 0 : item.color
|
|
24
|
+
}); };
|
|
25
|
+
var renderDiagram = function (diagramItems, hasPercentSign, hasSubtitle, fillingProperty) {
|
|
26
|
+
var _a;
|
|
27
|
+
if (fillingProperty === void 0) { fillingProperty = null; }
|
|
28
|
+
return (react_1["default"].createElement("div", { className: bem(bem.block({
|
|
29
|
+
size: props.size,
|
|
30
|
+
type: (_a = props.diagram) === null || _a === void 0 ? void 0 : _a.type
|
|
31
|
+
})) },
|
|
32
|
+
react_1["default"].createElement("div", { className: bem.element('wrapper') },
|
|
33
|
+
react_1["default"].createElement("div", { className: bem.element('wrapper-diagrams') }, diagramItems.map(function (item, itemIndex) {
|
|
34
|
+
var _a;
|
|
35
|
+
var _b;
|
|
36
|
+
var _c = getItemData(item), itemColor = _c.itemColor, itemPercentage = _c.itemPercentage;
|
|
37
|
+
return (react_1["default"].createElement("div", { key: itemIndex, className: bem.element('diagram', {
|
|
38
|
+
type: (_b = props.diagram) === null || _b === void 0 ? void 0 : _b.type
|
|
39
|
+
}) },
|
|
40
|
+
react_1["default"].createElement("span", { className: bem.element('diagram-percentage') },
|
|
41
|
+
itemPercentage,
|
|
42
|
+
hasPercentSign && ' %'),
|
|
43
|
+
react_1["default"].createElement("div", { className: bem.element('diagram-filling', {
|
|
44
|
+
color: itemColor
|
|
45
|
+
}), style: (_a = {}, _a[fillingProperty] = "".concat(itemPercentage, "%"), _a) })));
|
|
46
|
+
})),
|
|
47
|
+
hasSubtitle && (react_1["default"].createElement("span", { className: bem.element('subtitle') }, props.item[props.subtitleAttribute])))));
|
|
48
|
+
};
|
|
49
|
+
if (isHorizontal) {
|
|
50
|
+
return (renderDiagram((_d = props.diagram) === null || _d === void 0 ? void 0 : _d.items, true, false, 'width'));
|
|
51
|
+
}
|
|
52
|
+
if (isVertical) {
|
|
53
|
+
return (renderDiagram((_e = props.diagram) === null || _e === void 0 ? void 0 : _e.items, true, false, 'height'));
|
|
54
|
+
}
|
|
55
|
+
if (isCircle) {
|
|
56
|
+
return (renderDiagram((_f = props.diagram) === null || _f === void 0 ? void 0 : _f.items, false, !!props.subtitleAttribute));
|
|
57
|
+
}
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
exports["default"] = DiagramColumnView;
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
@use "../../../../scss/variables";
|
|
2
|
+
|
|
3
|
+
.DiagramColumnView {
|
|
4
|
+
$root: &;
|
|
5
|
+
|
|
6
|
+
&_size {
|
|
7
|
+
&_sm {
|
|
8
|
+
#{$root}__diagram_type_horizontal,
|
|
9
|
+
#{$root}__diagram_type_vertical {
|
|
10
|
+
min-height: 51px !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
#{$root}__diagram_type_circle {
|
|
14
|
+
width: 30px;
|
|
15
|
+
height: 30px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
&_md {
|
|
19
|
+
#{$root}__diagram_type_horizontal,
|
|
20
|
+
#{$root}__diagram_type_vertical {
|
|
21
|
+
min-height: 65px !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
#{$root}__diagram_type_circle {
|
|
25
|
+
width: 36px;
|
|
26
|
+
height: 36px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
&_lg {
|
|
30
|
+
#{$root}__diagram_type_horizontal,
|
|
31
|
+
#{$root}__diagram_type_vertical {
|
|
32
|
+
min-height: 73px !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#{$root}__diagram_type_circle {
|
|
36
|
+
width: 40px;
|
|
37
|
+
height: 40px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__diagram {
|
|
43
|
+
font-weight: variables.$font-weight-lg;
|
|
44
|
+
font-size: variables.$font-size-xs;
|
|
45
|
+
line-height: variables.$line-height-xs;
|
|
46
|
+
color: variables.$text-color;
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&_type_horizontal {
|
|
51
|
+
#{$root}__diagram {
|
|
52
|
+
position: relative;
|
|
53
|
+
|
|
54
|
+
&-percentage {
|
|
55
|
+
position: absolute;
|
|
56
|
+
z-index: 2;
|
|
57
|
+
left: 50%;
|
|
58
|
+
top: 50%;
|
|
59
|
+
transform: translateX(-50%) translateY(-50%);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&-filling {
|
|
63
|
+
height: 100%;
|
|
64
|
+
position: absolute;
|
|
65
|
+
left: 0;
|
|
66
|
+
top: 0;
|
|
67
|
+
|
|
68
|
+
&_color {
|
|
69
|
+
@each $color, $color-map in variables.$diagram-colors {
|
|
70
|
+
&_#{$color} {
|
|
71
|
+
background-color: map-get($color-map, color-themed);
|
|
72
|
+
border-right: 1px solid map-get($color-map, color);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&_type_vertical {
|
|
81
|
+
#{$root}__wrapper-diagrams {
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-flow: row nowrap;
|
|
84
|
+
height: 100%;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
#{$root}__diagram {
|
|
88
|
+
position: relative;
|
|
89
|
+
|
|
90
|
+
&-percentage {
|
|
91
|
+
position: absolute;
|
|
92
|
+
white-space: nowrap;
|
|
93
|
+
width: 100%;
|
|
94
|
+
text-align: center;
|
|
95
|
+
z-index: 2;
|
|
96
|
+
left: 50%;
|
|
97
|
+
top: 50%;
|
|
98
|
+
transform: translateX(-50%) translateY(-50%);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&-filling {
|
|
102
|
+
width: 100%;
|
|
103
|
+
position: absolute;
|
|
104
|
+
left: 0;
|
|
105
|
+
bottom: 0;
|
|
106
|
+
|
|
107
|
+
&_color {
|
|
108
|
+
@each $color, $color-map in variables.$diagram-colors {
|
|
109
|
+
&_#{$color} {
|
|
110
|
+
background-color: map-get($color-map, color-themed);
|
|
111
|
+
border-top: 1px solid map-get($color-map, color);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&_type_circle {
|
|
120
|
+
display: flex;
|
|
121
|
+
justify-content: center;
|
|
122
|
+
|
|
123
|
+
#{$root}__wrapper {
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-flow: column nowrap;
|
|
126
|
+
|
|
127
|
+
&-diagrams {
|
|
128
|
+
display: flex;
|
|
129
|
+
flex-flow: row nowrap;
|
|
130
|
+
justify-content: center;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
#{$root}__subtitle {
|
|
134
|
+
margin: 0 auto;
|
|
135
|
+
|
|
136
|
+
font-weight: variables.$font-weight-sm;
|
|
137
|
+
font-size: variables.$font-size-base;
|
|
138
|
+
line-height: variables.$line-height-base;
|
|
139
|
+
color: variables.$element-placeholder-color;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
#{$root}__diagram {
|
|
144
|
+
position: relative;
|
|
145
|
+
margin: -1px;
|
|
146
|
+
|
|
147
|
+
&-filling {
|
|
148
|
+
width: 100%;
|
|
149
|
+
height: 100%;
|
|
150
|
+
border-radius: 100%;
|
|
151
|
+
|
|
152
|
+
&_color {
|
|
153
|
+
@each $color, $color-map in variables.$diagram-colors {
|
|
154
|
+
&_#{$color} {
|
|
155
|
+
border: 2px solid map-get($color-map, color);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&-percentage {
|
|
162
|
+
position: absolute;
|
|
163
|
+
z-index: 2;
|
|
164
|
+
left: 50%;
|
|
165
|
+
top: 50%;
|
|
166
|
+
transform: translateX(-50%) translateY(-50%);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
@@ -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 DiagramColumnView_1 = __importDefault(require("./DiagramColumnView"));
|
|
7
|
+
exports["default"] = DiagramColumnView_1["default"];
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
exports.__esModule = true;
|
|
17
|
+
var react_1 = __importDefault(require("react"));
|
|
18
|
+
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
19
|
+
var Format_1 = __importDefault(require("@steroidsjs/core/ui/format/Format"));
|
|
20
|
+
var content_1 = require("@steroidsjs/core/ui/content");
|
|
21
|
+
var DEFAULT_PADDING_LEFT = 32;
|
|
22
|
+
var PADDING_WITH_ICON = 0;
|
|
23
|
+
var PADDING_WITHOUT_ICON = 24;
|
|
24
|
+
function TreeColumnView(props) {
|
|
25
|
+
var bem = (0, hooks_1.useBem)('TreeColumnView');
|
|
26
|
+
var levelPadding = props.levelPadding || DEFAULT_PADDING_LEFT;
|
|
27
|
+
var paddingBasedOnIcon = props.item.hasItems ? PADDING_WITH_ICON : PADDING_WITHOUT_ICON;
|
|
28
|
+
var renderFormat = function () { return (react_1["default"].createElement(Format_1["default"], __assign({}, props, (props.formatter || {}), { attribute: props.attribute }))); };
|
|
29
|
+
var renderValue = function () { return (react_1["default"].createElement("span", { className: bem.element('value') }, renderFormat())); };
|
|
30
|
+
return (react_1["default"].createElement("div", { className: bem.block(bem.block({
|
|
31
|
+
size: props.size
|
|
32
|
+
})) },
|
|
33
|
+
react_1["default"].createElement("div", { className: bem.element('data'), style: {
|
|
34
|
+
paddingLeft: "".concat(props.item.level * levelPadding + paddingBasedOnIcon, "px")
|
|
35
|
+
} },
|
|
36
|
+
props.item.hasItems && (react_1["default"].createElement(content_1.Icon, { name: 'expand_right', className: bem.element('icon', {
|
|
37
|
+
opened: props.item.isOpened
|
|
38
|
+
}), onClick: function () { return props.item.onTreeItemClick(props.item.uniqueId, props.item); } })),
|
|
39
|
+
renderValue())));
|
|
40
|
+
}
|
|
41
|
+
exports["default"] = TreeColumnView;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@use "../../../../scss/variables";
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--grid-icon-color: #323232;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
html[data-theme="dark"] {
|
|
8
|
+
--grid-icon-color: #ffffff;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
$grid-icon-color: var(--grid-icon-color);
|
|
12
|
+
|
|
13
|
+
.TreeColumnView {
|
|
14
|
+
&__data {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
|
|
18
|
+
.IconView {
|
|
19
|
+
min-width: 24px;
|
|
20
|
+
min-height: 24px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__value {
|
|
25
|
+
margin-left: 8px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__icon {
|
|
29
|
+
transform: rotate(0);
|
|
30
|
+
transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
31
|
+
|
|
32
|
+
&_opened {
|
|
33
|
+
transform: rotate(90deg);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
svg {
|
|
37
|
+
> * {
|
|
38
|
+
stroke: $grid-icon-color;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.TreeColumnHeader {
|
|
45
|
+
width: 40%;
|
|
46
|
+
}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { IListItemViewProps } from '@steroidsjs/core/ui/list/List/List';
|
|
2
|
-
|
|
3
|
-
export default function ListItemView(props: IListItemViewProps & IBemHocOutput): JSX.Element;
|
|
2
|
+
export default function ListItemView(props: IListItemViewProps): JSX.Element;
|
package/list/List/ListView.js
CHANGED
|
@@ -34,17 +34,15 @@ function ListView(props) {
|
|
|
34
34
|
if (!pagination && !paginationSize && !layout) {
|
|
35
35
|
return null;
|
|
36
36
|
}
|
|
37
|
-
return (React.createElement("div", { className: bem
|
|
38
|
-
React.createElement("div", { className: '
|
|
39
|
-
React.createElement("div", { className: '
|
|
40
|
-
React.createElement("div", { className: '
|
|
41
|
-
layout,
|
|
42
|
-
paginationSize)));
|
|
37
|
+
return (React.createElement("div", { className: bem.element('pagination') },
|
|
38
|
+
pagination && (React.createElement("div", { className: bem.element('pagination-button') }, pagination)),
|
|
39
|
+
paginationSize && (React.createElement("div", { className: bem.element('pagination-sizes') }, paginationSize)),
|
|
40
|
+
layout && (React.createElement("div", { className: bem.element('pagination-layout') }, layout))));
|
|
43
41
|
};
|
|
44
42
|
return props.renderList(React.createElement("div", { className: bem(bem.block({ loading: props.isLoading || props.list.isLoading }), props.className) },
|
|
45
43
|
props.renderSearchForm(),
|
|
46
44
|
renderPagination(['top', 'both'].includes(props.paginationPosition) && props.renderPagination(), ['top', 'both'].includes(props.paginationSizePosition) && props.renderPaginationSize(), ['top', 'both'].includes(props.layoutNamesPosition) && props.renderLayoutNames()),
|
|
47
|
-
React.createElement("div", { className: bem(
|
|
45
|
+
React.createElement("div", { className: bem(bem.element('content'), props.contentClassName) }, props.content),
|
|
48
46
|
renderPagination(['bottom', 'both'].includes(props.paginationPosition) && props.renderPagination(), ['bottom', 'both'].includes(props.paginationSizePosition) && props.renderPaginationSize(), ['bottom', 'both'].includes(props.layoutNamesPosition) && props.renderLayoutNames()),
|
|
49
47
|
props.renderEmpty()));
|
|
50
48
|
}
|
package/list/List/ListView.scss
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
@use "../../scss/variables";
|
|
2
|
+
|
|
1
3
|
.ListView {
|
|
4
|
+
color: variables.$text-color;
|
|
5
|
+
|
|
6
|
+
.FormView {
|
|
7
|
+
margin-bottom: 10px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&__pagination {
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
align-items: center;
|
|
14
|
+
flex-flow: row wrap;
|
|
15
|
+
margin-bottom: 3px;
|
|
16
|
+
|
|
17
|
+
&-sizes {
|
|
18
|
+
margin-bottom: 10px;
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-button {
|
|
23
|
+
margin: 16px auto 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
2
26
|
|
|
3
|
-
|
|
27
|
+
&__content {
|
|
28
|
+
margin-bottom: 3px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -25,12 +25,41 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
exports.__esModule = true;
|
|
26
26
|
var React = __importStar(require("react"));
|
|
27
27
|
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
28
|
+
var content_1 = require("@steroidsjs/core/ui/content");
|
|
29
|
+
var renderArrowStep = function (bem, onClick, iconName, rotate, rounding, disabled) {
|
|
30
|
+
if (rotate === void 0) { rotate = false; }
|
|
31
|
+
return (React.createElement("li", { className: bem.element('page', {
|
|
32
|
+
'rounding-left': rounding.left,
|
|
33
|
+
'rounding-right': rounding.right,
|
|
34
|
+
hasIcon: true,
|
|
35
|
+
disabled: disabled
|
|
36
|
+
}) },
|
|
37
|
+
React.createElement("button", { className: bem.element('page-button', {
|
|
38
|
+
hasIcon: true
|
|
39
|
+
}), onClick: function () { return onClick(); }, disabled: disabled },
|
|
40
|
+
React.createElement(content_1.Icon, { tabIndex: -1, className: bem.element('page-icon', {
|
|
41
|
+
rotate: rotate
|
|
42
|
+
}), name: iconName }))));
|
|
43
|
+
};
|
|
28
44
|
function PaginationButtonView(props) {
|
|
29
45
|
var bem = (0, hooks_1.useBem)('PaginationButtonView');
|
|
30
|
-
return (React.createElement("ul", { className: bem(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
46
|
+
return (React.createElement("ul", { className: bem(bem.block({
|
|
47
|
+
size: props.size
|
|
48
|
+
}), props.className) },
|
|
49
|
+
props.showEdgeSteps
|
|
50
|
+
&& renderArrowStep(bem, props.onSelectFirst, 'double_arrow_left', false, { left: true }, props.isFirstPage),
|
|
51
|
+
props.showSteps
|
|
52
|
+
&& renderArrowStep(bem, props.onSelectPrev, 'arrow_left_24x24', false, {}, props.isFirstPage),
|
|
53
|
+
props.pages.map(function (item, index) { return (React.createElement("li", { key: index, className: bem.element('page', {
|
|
54
|
+
hidden: !item.page,
|
|
55
|
+
active: item.isActive
|
|
56
|
+
}) },
|
|
57
|
+
React.createElement("button", { className: bem.element('page-button', {
|
|
58
|
+
hidden: !item.page
|
|
59
|
+
}), onClick: function () { return props.onSelect(item.page); } }, item.label))); }),
|
|
60
|
+
props.showSteps
|
|
61
|
+
&& renderArrowStep(bem, props.onSelectNext, 'arrow_left_24x24', true, {}, props.isLastPage),
|
|
62
|
+
props.showEdgeSteps
|
|
63
|
+
&& renderArrowStep(bem, props.onSelectLast, 'double_arrow_left', true, { right: true }, props.isLastPage)));
|
|
35
64
|
}
|
|
36
65
|
exports["default"] = PaginationButtonView;
|