@steroidsjs/bootstrap 3.0.44 → 3.0.45
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/content/Accordion/AccordionItemView.js +15 -7
- package/content/Accordion/AccordionView.js +1 -1
- package/content/Alert/AlertView.js +1 -1
- package/content/Avatar/AvatarGroupView.js +1 -1
- package/content/Avatar/AvatarView.js +3 -4
- package/content/Badge/BadgeView.js +1 -1
- package/content/Calendar/CalendarView.js +9 -6
- package/content/Calendar/CaptionElement.d.ts +1 -1
- package/content/Calendar/CaptionElement.js +6 -4
- package/content/CalendarSystem/AsideCalendars/AsideCalendars.d.ts +1 -1
- package/content/CalendarSystem/AsideCalendars/AsideCalendars.js +1 -1
- package/content/CalendarSystem/AsideHeader/AsideHeader.d.ts +1 -1
- package/content/CalendarSystem/AsideHeader/AsideHeader.js +2 -2
- package/content/CalendarSystem/CalendarSystemEventGroupModalView.js +2 -2
- package/content/CalendarSystem/CalendarSystemModalView.js +13 -13
- package/content/CalendarSystem/CalendarSystemView.js +2 -2
- package/content/CalendarSystem/ContentHeader/ContentHeader.d.ts +1 -1
- package/content/CalendarSystem/ContentHeader/ContentHeader.js +4 -4
- package/content/CalendarSystem/DayGrid/DayGrid.d.ts +1 -1
- package/content/CalendarSystem/DayGrid/DayGrid.js +1 -1
- package/content/CalendarSystem/DayGrid/views/DayHour/DayHour.d.ts +1 -1
- package/content/CalendarSystem/DayGrid/views/DayHour/DayHour.js +2 -2
- package/content/CalendarSystem/DayGrid/views/DayHour/views/DayEvent/DayEvent.js +1 -1
- package/content/CalendarSystem/MonthGrid/MonthGrid.d.ts +1 -1
- package/content/CalendarSystem/MonthGrid/MonthGrid.js +1 -1
- package/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDay.d.ts +1 -1
- package/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDay.js +4 -4
- package/content/CalendarSystem/MonthGrid/views/MonthDay/views/MonthEvent/MonthEvent.js +4 -2
- package/content/CalendarSystem/WeekGrid/WeekGrid.d.ts +1 -1
- package/content/CalendarSystem/WeekGrid/WeekGrid.js +1 -1
- package/content/CalendarSystem/WeekGrid/views/WeekHour/WeekHour.d.ts +1 -1
- package/content/CalendarSystem/WeekGrid/views/WeekHour/WeekHour.js +3 -3
- package/content/CalendarSystem/WeekGrid/views/WeekHour/views/WeekEvent/WeekEvent.js +1 -1
- package/content/Card/CardView.js +3 -3
- package/content/Chart/ChartView.js +9 -5
- package/content/Chat/ChatView.js +1 -1
- package/content/Chat/views/BubbleMessage/BubbleMessageView.d.ts +1 -1
- package/content/Chat/views/BubbleMessage/BubbleMessageView.js +7 -7
- package/content/Chat/views/BubblesDateGroup/BubblesDateGroup.d.ts +2 -2
- package/content/Chat/views/BubblesDateGroup/BubblesDateGroup.js +1 -1
- package/content/Chat/views/ChatFileItem/ChatFileItemView.d.ts +1 -1
- package/content/Chat/views/ChatFileItem/ChatFileItemView.js +8 -4
- package/content/Chat/views/ChatInput/ChatInputView.js +1 -1
- package/content/CopyToClipboard/CopyToClipboardView.js +1 -1
- package/content/Dashboard/DashboardItemView.js +2 -2
- package/content/Detail/DetailView.js +1 -1
- package/content/DropDown/DropDownView.js +5 -3
- package/content/Icon/IconView.js +6 -2
- package/content/Kanban/KanbanView.js +1 -1
- package/content/Kanban/views/KanbanColumn/KanbanColumnView.js +2 -2
- package/content/Kanban/views/KanbanModal/KanbanModalView.js +3 -3
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/CreateOrEditTaskModalContentView.js +3 -3
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/Label.js +1 -1
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.js +1 -1
- package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/TaskDetailsModalContentView.js +2 -2
- package/content/Kanban/views/KanbanTask/KanbanTaskView.d.ts +1 -1
- package/content/Kanban/views/KanbanTask/KanbanTaskView.js +1 -1
- package/content/Kanban/views/TaskTags/TaskTags.js +2 -2
- package/content/Menu/MenuItemView.js +3 -1
- package/content/Menu/MenuView.js +6 -4
- package/content/Slider/SliderView.js +2 -2
- package/crud/Crud/CrudView.js +2 -2
- package/form/AutoCompleteField/AutoCompleteFieldView.js +4 -4
- package/form/Button/ButtonView.js +3 -3
- package/form/CheckboxField/CheckboxFieldView.js +7 -3
- package/form/CheckboxListField/CheckboxListFieldView.js +1 -1
- package/form/CheckboxTreeField/CheckboxTreeFieldView.js +2 -2
- package/form/DateField/DateFieldView.js +4 -4
- package/form/DateRangeField/DateRangeFieldView.js +4 -4
- package/form/DateRangeField/views/RangeButtons/RangeButtons.js +4 -2
- package/form/DateTimeField/DateTimeFieldView.js +3 -3
- package/form/DateTimeRangeField/DateTimeRangeFieldView.js +5 -5
- package/form/DropDownField/DropDownFieldView.js +2 -2
- package/form/DropDownFieldItem/DropDownFieldItemView.js +7 -5
- package/form/FieldLayout/FieldLayoutView.js +6 -4
- package/form/FieldList/FieldListItemView.d.ts +1 -1
- package/form/FieldList/FieldListItemView.js +2 -2
- package/form/FieldList/FieldListView.js +4 -2
- package/form/FieldSet/FieldSetView.js +1 -1
- package/form/FileField/FileFieldItemView.js +11 -5
- package/form/FileField/FileFieldView.js +5 -3
- package/form/Form/FormView.d.ts +1 -1
- package/form/Form/FormView.js +7 -5
- package/form/HtmlField/HtmlFieldView.js +1 -1
- package/form/ImageField/ImageFieldModalView.js +2 -2
- package/form/ImageField/ImageFieldView.js +1 -1
- package/form/InputField/InputFieldView.js +1 -1
- package/form/NumberField/NumberFieldView.js +2 -2
- package/form/PasswordField/PasswordFieldView.js +3 -3
- package/form/RadioField/RadioFieldView.js +1 -1
- package/form/RadioListField/RadioListFieldView.js +1 -1
- package/form/RateField/RateFieldView.js +1 -1
- package/form/ReCaptchaField/ReCaptchaFieldView.js +1 -1
- package/form/SliderField/SliderFieldView.js +1 -1
- package/form/SwitcherField/SwitcherFieldView.js +4 -2
- package/form/SwitcherListField/SwitcherListFieldView.js +1 -1
- package/form/TextField/TextFieldView.js +1 -1
- package/form/TimeField/TimeFieldView.js +3 -3
- package/form/TimeField/TimePanelView.js +5 -3
- package/form/TimeField/views/TimePanelColumn/TimePanelColumn.js +1 -1
- package/form/TimeRangeField/TimeRangeFieldView.js +1 -1
- package/form/WizardForm/WizardFormView.js +2 -2
- package/hooks/useHideScroll.js +5 -4
- package/layout/Header/HeaderView.js +6 -6
- package/layout/Loader/LoaderView.js +1 -1
- package/layout/Notifications/NotificationsItemView.js +2 -2
- package/layout/Notifications/NotificationsView.js +1 -1
- package/layout/ProgressBar/CircleProgressBarView.js +13 -5
- package/layout/ProgressBar/LineProgressBarView.js +4 -2
- package/layout/Sidebar/FooterIcons/FooterIcons.d.ts +1 -1
- package/layout/Sidebar/FooterIcons/FooterIcons.js +1 -1
- package/layout/Sidebar/SidebarLogo/SidebarLogo.js +1 -1
- package/layout/Sidebar/SidebarUser/SidebarUser.d.ts +1 -1
- package/layout/Sidebar/SidebarUser/SidebarUser.js +2 -2
- package/layout/Sidebar/SidebarView.js +3 -3
- package/layout/Skeleton/SkeletonView.js +1 -1
- package/layout/Tooltip/TooltipView.js +4 -2
- package/list/CheckboxColumn/CheckboxColumnView.js +2 -2
- package/list/ControlsColumnView/ControlsColumnView.js +2 -2
- package/list/Empty/EmptyView.js +1 -1
- package/list/FlexGrid/FlexGridView.js +1 -1
- package/list/Grid/GridView.js +8 -6
- package/list/Grid/views/ContentColumnView/ContentColumnView.js +3 -3
- package/list/Grid/views/DiagramColumnView/DiagramColumnView.js +4 -2
- package/list/Grid/views/TreeColumnView/TreeColumnView.js +1 -1
- package/list/List/ListItemView.js +1 -1
- package/list/List/ListView.js +11 -10
- package/list/Pagination/PaginationButtonView.js +10 -4
- package/list/Pagination/PaginationMoreView.js +2 -2
- package/list/PaginationSize/PaginationSizeView.js +1 -1
- package/list/Steps/StepItemView.js +6 -4
- package/list/Steps/StepsView.js +1 -1
- package/modal/Modal/ModalView.js +5 -3
- package/modal/TwoFactorModal/TwoFactorModalView.js +3 -3
- package/nav/Breadcrubms/BreadcrumbsView.js +5 -3
- package/nav/ButtonGroup/ButtonGroupView.js +1 -1
- package/nav/Controls/ControlsView.js +2 -2
- package/nav/Nav/NavBarView.js +2 -2
- package/nav/Nav/NavButtonView.js +2 -2
- package/nav/Nav/NavIconView.js +2 -2
- package/nav/Nav/NavLinkView.js +2 -2
- package/nav/Nav/NavListView.js +2 -2
- package/nav/Nav/NavTabsView.js +2 -2
- package/nav/Tree/TreeView.js +2 -2
- package/nav/TreeItem/TreeItemView.js +1 -1
- package/package.json +3 -3
- package/typography/Text/TextView.d.ts +1 -1
- package/typography/Text/TextView.js +1 -1
- package/typography/Title/TitleView.d.ts +1 -1
- package/typography/Title/TitleView.js +1 -1
- package/utils/renderIcon.d.ts +1 -1
- package/utils/renderIcon.js +1 -1
package/nav/Tree/TreeView.js
CHANGED
|
@@ -37,9 +37,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
37
37
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
38
|
};
|
|
39
39
|
exports.__esModule = true;
|
|
40
|
-
var React = __importStar(require("react"));
|
|
41
|
-
var Link_1 = __importDefault(require("@steroidsjs/core/ui/nav/Link"));
|
|
42
40
|
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
41
|
+
var Link_1 = __importDefault(require("@steroidsjs/core/ui/nav/Link"));
|
|
42
|
+
var React = __importStar(require("react"));
|
|
43
43
|
var TreeItemView_1 = __importDefault(require("../TreeItem/TreeItemView"));
|
|
44
44
|
function TreeView(props) {
|
|
45
45
|
var bem = (0, hooks_1.useBem)('TreeView');
|
|
@@ -37,9 +37,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
37
37
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
38
|
};
|
|
39
39
|
exports.__esModule = true;
|
|
40
|
-
var React = __importStar(require("react"));
|
|
41
40
|
var useBem_1 = __importDefault(require("@steroidsjs/core/hooks/useBem"));
|
|
42
41
|
var content_1 = require("@steroidsjs/core/ui/content");
|
|
42
|
+
var React = __importStar(require("react"));
|
|
43
43
|
var react_1 = require("react");
|
|
44
44
|
var PADDING_WITH_ICON = 0;
|
|
45
45
|
var PADDING_WITHOUT_ICON = 24;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steroidsjs/bootstrap",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.45",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Vladimir Kozhin <hello@kozhindev.com>",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"react-use": "^17.4.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@steroidsjs/core": "3.0.
|
|
39
|
-
"@steroidsjs/eslint-config": "
|
|
38
|
+
"@steroidsjs/core": "3.0.94",
|
|
39
|
+
"@steroidsjs/eslint-config": "3.0.5",
|
|
40
40
|
"@types/enzyme": "^3.10.8",
|
|
41
41
|
"@types/googlemaps": "^3.43.3",
|
|
42
42
|
"@types/jest": "^26.0.22",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ITextViewProps } from '@steroidsjs/core/ui/typography/Text/Text';
|
|
2
|
+
import * as React from 'react';
|
|
3
3
|
export default function TextView(props: ITextViewProps): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
exports.__esModule = true;
|
|
26
|
-
var React = __importStar(require("react"));
|
|
27
26
|
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
27
|
+
var React = __importStar(require("react"));
|
|
28
28
|
var TYPE_MAPPING = {
|
|
29
29
|
body: 'p',
|
|
30
30
|
span: 'span',
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ITitleViewProps } from '@steroidsjs/core/ui/typography/Title/Title';
|
|
2
|
+
import * as React from 'react';
|
|
3
3
|
export default function TitleView(props: ITitleViewProps): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
exports.__esModule = true;
|
|
26
|
-
var React = __importStar(require("react"));
|
|
27
26
|
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
27
|
+
var React = __importStar(require("react"));
|
|
28
28
|
var TYPE_MAPPING = {
|
|
29
29
|
h1: 'h1',
|
|
30
30
|
h2: 'h2',
|
package/utils/renderIcon.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IIconProps } from '@steroidsjs/core/ui/content/Icon/Icon';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
/**
|
|
4
4
|
* Функция которая проверяет соответствует ли typeof icon === 'string', если да - то вернет компонент Icon
|
|
5
5
|
* с переданным в него iconProps, если нет то вернется span с классом iconProps.className со вложенным {icon}
|
package/utils/renderIcon.js
CHANGED
|
@@ -15,8 +15,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
15
15
|
};
|
|
16
16
|
exports.__esModule = true;
|
|
17
17
|
/* eslint-disable valid-typeof */
|
|
18
|
-
var react_1 = __importDefault(require("react"));
|
|
19
18
|
var Icon_1 = __importDefault(require("@steroidsjs/core/ui/content/Icon/Icon"));
|
|
19
|
+
var react_1 = __importDefault(require("react"));
|
|
20
20
|
/**
|
|
21
21
|
* Функция которая проверяет соответствует ли typeof icon === 'string', если да - то вернет компонент Icon
|
|
22
22
|
* с переданным в него iconProps, если нет то вернется span с классом iconProps.className со вложенным {icon}
|