@steroidsjs/bootstrap 3.0.32 → 3.0.35
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.d.ts +2 -2
- package/content/Accordion/AccordionView.d.ts +2 -2
- package/content/Alert/AlertView.d.ts +2 -2
- package/content/Avatar/AvatarGroupView.d.ts +2 -2
- package/content/Avatar/AvatarView.d.ts +2 -2
- package/content/Badge/BadgeView.d.ts +2 -2
- package/content/Calendar/CalendarView.d.ts +2 -2
- package/content/Calendar/CaptionElement.d.ts +2 -2
- package/content/CalendarSystem/AsideCalendars/AsideCalendars.d.ts +1 -1
- package/content/CalendarSystem/AsideHeader/AsideHeader.d.ts +1 -1
- package/content/CalendarSystem/CalendarSystemEventGroupModalView.d.ts +2 -2
- package/content/CalendarSystem/CalendarSystemModalView.d.ts +2 -2
- package/content/CalendarSystem/CalendarSystemView.d.ts +2 -2
- package/content/CalendarSystem/ContentHeader/ContentHeader.d.ts +1 -1
- package/content/CalendarSystem/DayGrid/DayGrid.d.ts +1 -1
- package/content/CalendarSystem/DayGrid/views/DayHour/DayHour.d.ts +1 -1
- package/content/CalendarSystem/DayGrid/views/DayHour/views/DayEvent/DayEvent.d.ts +2 -2
- package/content/CalendarSystem/MonthGrid/MonthGrid.d.ts +1 -1
- package/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDay.d.ts +1 -1
- package/content/CalendarSystem/MonthGrid/views/MonthDay/views/MonthEvent/MonthEvent.d.ts +2 -2
- package/content/CalendarSystem/WeekGrid/WeekGrid.d.ts +1 -1
- package/content/CalendarSystem/WeekGrid/views/WeekHour/WeekHour.d.ts +1 -1
- package/content/CalendarSystem/WeekGrid/views/WeekHour/views/WeekEvent/WeekEvent.d.ts +2 -2
- package/content/Card/CardView.d.ts +2 -2
- package/content/Chart/ChartView.d.ts +2 -2
- package/content/Chat/ChatView.d.ts +2 -2
- package/content/Chat/views/BubbleMessage/BubbleMessageView.d.ts +1 -1
- package/content/Chat/views/BubblesDateGroup/BubblesDateGroup.d.ts +1 -1
- package/content/Chat/views/ChatFileItem/ChatFileItemView.d.ts +2 -2
- package/content/Chat/views/ChatInput/ChatInputView.d.ts +2 -2
- package/content/CopyToClipboard/CopyToClipboardView.d.ts +2 -2
- package/content/Dashboard/DashboardItemView.d.ts +2 -2
- package/content/Detail/DetailView.d.ts +2 -2
- package/content/DropDown/DropDownView.d.ts +2 -2
- package/content/Icon/IconView.d.ts +2 -2
- package/content/Kanban/KanbanView.d.ts +2 -2
- package/content/Kanban/views/KanbanColumn/KanbanColumnView.d.ts +2 -2
- package/content/Kanban/views/KanbanModal/KanbanModalView.d.ts +2 -2
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/CreateOrEditTaskModalContentView.d.ts +2 -2
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/Label.d.ts +2 -2
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.d.ts +2 -2
- package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/TaskDetailsModalContentView.d.ts +2 -2
- package/content/Kanban/views/KanbanTask/KanbanTaskView.d.ts +1 -1
- package/content/Kanban/views/TaskTags/TaskTags.d.ts +2 -2
- package/content/Menu/MenuItemView.d.ts +2 -2
- package/content/Menu/MenuView.d.ts +2 -2
- package/content/Slider/SliderView.d.ts +2 -2
- package/crud/Crud/CrudView.d.ts +2 -2
- package/form/AutoCompleteField/AutoCompleteFieldView.d.ts +2 -2
- package/form/Button/ButtonView.d.ts +2 -2
- package/form/CheckboxField/CheckboxFieldView.d.ts +2 -2
- package/form/CheckboxListField/CheckboxListFieldView.d.ts +2 -2
- package/form/CheckboxListField/CheckboxListFieldView.js +1 -1
- package/form/CheckboxTreeField/CheckboxTreeFieldView.d.ts +2 -2
- package/form/DateField/DateFieldView.d.ts +2 -2
- package/form/DateRangeField/DateRangeFieldView.d.ts +2 -2
- package/form/DateRangeField/views/RangeButtons/RangeButtons.d.ts +2 -2
- package/form/DateRangeField/views/RangeButtons/consts.js +3 -3
- package/form/DateRangeField/views/RangeButtons/utils.d.ts +4 -0
- package/form/DateRangeField/views/RangeButtons/utils.js +12 -1
- package/form/DateTimeField/DateTimeFieldView.d.ts +2 -2
- package/form/DateTimeRangeField/DateTimeRangeFieldView.d.ts +2 -2
- package/form/DropDownField/DropDownFieldView.d.ts +2 -2
- package/form/DropDownField/DropDownFieldView.js +54 -36
- package/form/DropDownField/DropDownFieldView.scss +45 -45
- package/form/DropDownFieldItem/DropDownFieldItemView.d.ts +2 -2
- package/form/FieldLayout/FieldLayoutView.d.ts +2 -2
- package/form/FieldList/FieldListItemView.d.ts +1 -1
- package/form/FieldList/FieldListView.d.ts +2 -2
- package/form/FieldSet/FieldSetView.d.ts +2 -2
- package/form/FileField/FileFieldItemView.d.ts +2 -2
- package/form/FileField/FileFieldView.d.ts +2 -2
- package/form/Form/FormView.d.ts +1 -1
- package/form/HtmlField/HtmlFieldView.d.ts +2 -2
- package/form/ImageField/ImageFieldModalView.d.ts +2 -2
- package/form/ImageField/ImageFieldView.d.ts +2 -2
- package/form/InputField/InputFieldView.d.ts +2 -2
- package/form/NumberField/NumberFieldView.d.ts +2 -2
- package/form/PasswordField/PasswordFieldView.d.ts +2 -2
- package/form/RadioField/RadioFieldView.d.ts +3 -3
- package/form/RadioListField/RadioListFieldView.d.ts +3 -3
- package/form/RadioListField/RadioListFieldView.js +1 -1
- package/form/RateField/RateFieldView.d.ts +2 -2
- package/form/ReCaptchaField/ReCaptchaFieldView.d.ts +2 -2
- package/form/SliderField/SliderFieldView.d.ts +2 -2
- package/form/SwitcherField/SwitcherFieldView.d.ts +3 -3
- package/form/SwitcherField/SwitcherFieldView.js +17 -35
- package/form/SwitcherField/SwitcherFieldView.scss +63 -69
- package/form/SwitcherListField/SwitcherListFieldView.d.ts +3 -0
- package/form/SwitcherListField/SwitcherListFieldView.js +54 -0
- package/form/SwitcherListField/SwitcherListFieldView.scss +9 -0
- package/form/TextField/TextFieldView.d.ts +2 -2
- package/form/TimeField/TimeFieldView.d.ts +2 -2
- package/form/TimeField/TimePanelView.d.ts +2 -2
- package/form/TimeField/views/TimePanelColumn/TimePanelColumn.d.ts +2 -2
- package/form/TimeRangeField/TimeRangeFieldView.d.ts +2 -2
- package/format/DefaultFormatter/DefaultFormatterView.d.ts +1 -1
- package/index.d.ts +3 -0
- package/index.js +3 -0
- package/index.scss +1 -0
- package/layout/Header/HeaderView.d.ts +2 -2
- package/layout/Loader/LoaderView.d.ts +2 -2
- package/layout/Notifications/NotificationsItemView.d.ts +2 -2
- package/layout/Notifications/NotificationsView.d.ts +2 -2
- package/layout/ProgressBar/CircleProgressBarView.d.ts +2 -2
- package/layout/ProgressBar/LineProgressBarView.d.ts +2 -2
- package/layout/Sidebar/FooterIcons/FooterIcons.d.ts +1 -1
- package/layout/Sidebar/SidebarLogo/SidebarLogo.d.ts +1 -1
- package/layout/Sidebar/SidebarUser/SidebarUser.d.ts +1 -1
- package/layout/Sidebar/SidebarView.d.ts +2 -2
- package/layout/Skeleton/SkeletonView.d.ts +2 -2
- package/layout/Tooltip/TooltipView.d.ts +2 -2
- package/list/CheckboxColumn/CheckboxColumnView.d.ts +2 -2
- package/list/ControlsColumnView/ControlsColumnView.d.ts +2 -2
- package/list/Empty/EmptyView.d.ts +2 -2
- package/list/FlexGrid/FlexGridView.d.ts +2 -2
- package/list/Grid/views/ContentColumnView/ContentColumnView.d.ts +2 -2
- package/list/Grid/views/DiagramColumnView/DiagramColumnView.d.ts +2 -2
- package/list/Grid/views/TreeColumnView/TreeColumnView.d.ts +2 -2
- package/list/List/ListItemView.d.ts +2 -2
- package/list/Pagination/PaginationButtonView.d.ts +2 -2
- package/list/Pagination/PaginationMoreView.d.ts +2 -2
- package/list/PaginationSize/PaginationSizeView.d.ts +2 -2
- package/list/Steps/StepItemView.d.ts +2 -2
- package/list/Steps/StepsView.d.ts +2 -2
- package/modal/Modal/ModalView.d.ts +2 -2
- package/modal/TwoFactorModal/TwoFactorModalView.d.ts +2 -2
- package/nav/Breadcrubms/BreadcrumbsView.d.ts +2 -2
- package/nav/ButtonGroup/ButtonGroupView.d.ts +2 -2
- package/nav/Controls/ControlsView.d.ts +2 -2
- package/nav/Nav/NavBarView.d.ts +2 -2
- package/nav/Nav/NavButtonView.d.ts +2 -2
- package/nav/Nav/NavIconView.d.ts +2 -2
- package/nav/Nav/NavLinkView.d.ts +2 -2
- package/nav/Nav/NavListView.d.ts +2 -2
- package/nav/Nav/NavTabsView.d.ts +2 -2
- package/nav/Tree/TreeView.d.ts +2 -2
- package/nav/TreeItem/TreeItemView.d.ts +2 -2
- package/package.json +6 -17
- package/utils/renderIcon.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
@use
|
|
2
|
+
@use 'style/variables';
|
|
3
3
|
|
|
4
4
|
:root {
|
|
5
5
|
--switcher-dot-disabled-color: #dbe2e6;
|
|
@@ -11,85 +11,79 @@ html[data-theme="dark"] {
|
|
|
11
11
|
--switcher-slider-disabled-color: #5b5c6b;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
|
|
14
15
|
$switcher-dot-disabled-color: var(--switcher-dot-disabled-color);
|
|
15
16
|
$switcher-slider-disabled-color: var(--switcher-slider-disabled-color);
|
|
16
17
|
|
|
17
18
|
$background-color-transition-timing: 150ms;
|
|
18
19
|
|
|
19
|
-
|
|
20
20
|
.SwitcherFieldView {
|
|
21
21
|
$root: &;
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-flow: column nowrap;
|
|
24
|
-
align-items: flex-start;
|
|
25
|
-
row-gap: 10px;
|
|
26
|
-
|
|
27
|
-
&__switcher {
|
|
28
|
-
display: inline-flex;
|
|
29
|
-
column-gap: 12px;
|
|
30
|
-
align-items: center;
|
|
31
|
-
position: relative;
|
|
32
|
-
cursor: pointer;
|
|
33
22
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"dotTranslateActive": translateY(-50%) translateX(15px),
|
|
52
|
-
"font-size": variables.$font-size-base,
|
|
53
|
-
"line-height": variables.$line-height-base,
|
|
54
|
-
),
|
|
55
|
-
"sm": (
|
|
56
|
-
"width": 28px,
|
|
57
|
-
"height": 16px,
|
|
58
|
-
"dotSize": 12px,
|
|
59
|
-
"dotTranslateDefault": translateY(-50%) translateX(2px),
|
|
60
|
-
"dotTranslateActive": translateY(-50%) translateX(12px),
|
|
61
|
-
"font-size": variables.$font-size-sm,
|
|
62
|
-
"line-height": variables.$line-height-sm,
|
|
63
|
-
),
|
|
23
|
+
display: inline-flex;
|
|
24
|
+
column-gap: 12px;
|
|
25
|
+
align-items: center;
|
|
26
|
+
position: relative;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
|
|
29
|
+
$sizes: () !default;
|
|
30
|
+
$sizes: map.merge(
|
|
31
|
+
(
|
|
32
|
+
"lg": (
|
|
33
|
+
"width": 40px,
|
|
34
|
+
"height": 24px,
|
|
35
|
+
"dotSize": 18px,
|
|
36
|
+
"dotTranslateDefault": translateY(-50%) translateX(4px),
|
|
37
|
+
"dotTranslateActive": translateY(-50%) translateX(16px),
|
|
38
|
+
"font-size": variables.$font-size-lg,
|
|
39
|
+
"line-height": variables.$line-height-lg,
|
|
64
40
|
),
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
41
|
+
"md": (
|
|
42
|
+
"width": 34px,
|
|
43
|
+
"height": 20px,
|
|
44
|
+
"dotSize": 14px,
|
|
45
|
+
"dotTranslateDefault": translateY(-50%) translateX(3px),
|
|
46
|
+
"dotTranslateActive": translateY(-50%) translateX(15px),
|
|
47
|
+
"font-size": variables.$font-size-base,
|
|
48
|
+
"line-height": variables.$line-height-base,
|
|
49
|
+
),
|
|
50
|
+
"sm": (
|
|
51
|
+
"width": 28px,
|
|
52
|
+
"height": 16px,
|
|
53
|
+
"dotSize": 12px,
|
|
54
|
+
"dotTranslateDefault": translateY(-50%) translateX(2px),
|
|
55
|
+
"dotTranslateActive": translateY(-50%) translateX(12px),
|
|
56
|
+
"font-size": variables.$font-size-sm,
|
|
57
|
+
"line-height": variables.$line-height-sm,
|
|
58
|
+
),
|
|
59
|
+
),
|
|
60
|
+
$sizes
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
&_size {
|
|
64
|
+
@each $size, $sizeMap in $sizes {
|
|
65
|
+
&_#{$size} {
|
|
66
|
+
#{$root}__slider {
|
|
67
|
+
width: map.get($sizeMap, width);
|
|
68
|
+
height: map.get($sizeMap, height);
|
|
69
|
+
|
|
70
|
+
&::before {
|
|
71
|
+
width: map.get($sizeMap, dotSize);
|
|
72
|
+
height: map.get($sizeMap, dotSize);
|
|
73
|
+
transform: map.get($sizeMap, dotTranslateDefault);
|
|
86
74
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
#{$root}__input:checked + #{$root}__slider {
|
|
78
|
+
&::before {
|
|
79
|
+
transform: map.get($sizeMap, dotTranslateActive);
|
|
91
80
|
}
|
|
92
81
|
}
|
|
82
|
+
|
|
83
|
+
#{$root}__label {
|
|
84
|
+
font-size: map.get($sizeMap, font-size);
|
|
85
|
+
line-height: map.get($sizeMap, line-height);
|
|
86
|
+
}
|
|
93
87
|
}
|
|
94
88
|
}
|
|
95
89
|
}
|
|
@@ -190,4 +184,4 @@ $background-color-transition-timing: 150ms;
|
|
|
190
184
|
&__label {
|
|
191
185
|
color: variables.$text-color;
|
|
192
186
|
}
|
|
193
|
-
}
|
|
187
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 = __importStar(require("react"));
|
|
30
|
+
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
31
|
+
var SwitcherFieldView_1 = __importDefault(require("../SwitcherField/SwitcherFieldView"));
|
|
32
|
+
function SwitcherListFieldView(props) {
|
|
33
|
+
var bem = (0, hooks_1.useBem)('SwitcherListFieldView');
|
|
34
|
+
var prefix = (0, hooks_1.useUniqueId)('switcher');
|
|
35
|
+
return (React.createElement("div", { className: bem(bem.block(), props.className), style: props.style }, props.items.map(function (checkbox, checkboxIndex) { return props.renderItem({
|
|
36
|
+
key: checkboxIndex,
|
|
37
|
+
id: "".concat(prefix, "_").concat(checkbox.id),
|
|
38
|
+
label: checkbox.label,
|
|
39
|
+
inputProps: {
|
|
40
|
+
name: "".concat(prefix, "_").concat(checkbox.id),
|
|
41
|
+
type: 'checkbox',
|
|
42
|
+
checked: props.selectedIds.includes(checkbox.id),
|
|
43
|
+
onChange: function () {
|
|
44
|
+
props.onItemSelect(checkbox.id);
|
|
45
|
+
},
|
|
46
|
+
disabled: props.disabled || checkbox.disabled
|
|
47
|
+
},
|
|
48
|
+
size: checkbox.size || props.size,
|
|
49
|
+
color: checkbox.color,
|
|
50
|
+
required: checkbox.required,
|
|
51
|
+
view: SwitcherFieldView_1["default"]
|
|
52
|
+
}); })));
|
|
53
|
+
}
|
|
54
|
+
exports["default"] = SwitcherListFieldView;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ITextFieldViewProps } from '@steroidsjs/core/ui/form/TextField/TextField';
|
|
3
|
-
export default function TextFieldView(props: ITextFieldViewProps): JSX.Element;
|
|
3
|
+
export default function TextFieldView(props: ITextFieldViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ITimeFieldViewProps } from '@steroidsjs/core/ui/form/TimeField/TimeField';
|
|
3
|
-
export default function TimeFieldView(props: ITimeFieldViewProps): JSX.Element;
|
|
3
|
+
export default function TimeFieldView(props: ITimeFieldViewProps): React.JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ITimePanelViewProps } from '@steroidsjs/core/ui/form/TimeField/TimeField';
|
|
3
3
|
export interface ITimePanelColumn {
|
|
4
4
|
values: string[];
|
|
5
5
|
currentValueKey: string;
|
|
6
6
|
onUpdate: (value: string) => void;
|
|
7
7
|
}
|
|
8
|
-
declare function TimePanelView(props: ITimePanelViewProps): JSX.Element;
|
|
8
|
+
declare function TimePanelView(props: ITimePanelViewProps): React.JSX.Element;
|
|
9
9
|
declare namespace TimePanelView {
|
|
10
10
|
var defaultProps: {
|
|
11
11
|
showHeader: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ITimePanelColumn } from '../../TimePanelView';
|
|
3
3
|
import './TimePanelColumn.scss';
|
|
4
4
|
export interface ITimePanelColumnProps {
|
|
5
5
|
column: ITimePanelColumn;
|
|
6
6
|
currentValue: string;
|
|
7
7
|
}
|
|
8
|
-
export default function TimePanelColumn(props: ITimePanelColumnProps): JSX.Element;
|
|
8
|
+
export default function TimePanelColumn(props: ITimePanelColumnProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ITimeRangeFieldViewProps } from '@steroidsjs/core/ui/form/TimeRangeField/TimeRangeField';
|
|
3
|
-
export default function TimeRangeFieldView(props: ITimeRangeFieldViewProps): JSX.Element;
|
|
3
|
+
export default function TimeRangeFieldView(props: ITimeRangeFieldViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBooleanFormatterPropsView } from '@steroidsjs/core/ui/format/BooleanFormatter/BooleanFormatter';
|
|
3
|
-
export default function DefaultFormatterView(props: IBooleanFormatterPropsView): string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").
|
|
3
|
+
export default function DefaultFormatterView(props: IBooleanFormatterPropsView): string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>;
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -164,6 +164,9 @@ exports["default"] = {
|
|
|
164
164
|
'form.SwitcherFieldView': {
|
|
165
165
|
lazy: function () { return require('./form/SwitcherField/SwitcherFieldView')["default"]; }
|
|
166
166
|
},
|
|
167
|
+
'form.SwitcherListFieldView': {
|
|
168
|
+
lazy: function () { return require('./form/SwitcherListField/SwitcherListFieldView')["default"]; }
|
|
169
|
+
},
|
|
167
170
|
'form.TextFieldView': {
|
|
168
171
|
lazy: function () { return require('./form/TextField/TextFieldView')["default"]; }
|
|
169
172
|
},
|
package/index.scss
CHANGED
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
@include meta.load-css('form/ReCaptchaField/ReCaptchaFieldView');
|
|
66
66
|
@include meta.load-css('form/SliderField/SliderFieldView');
|
|
67
67
|
@include meta.load-css('form/SwitcherField/SwitcherFieldView');
|
|
68
|
+
@include meta.load-css('form/SwitcherListField/SwitcherListFieldView');
|
|
68
69
|
@include meta.load-css('form/TextField/TextFieldView');
|
|
69
70
|
@include meta.load-css('form/TimeField/TimeFieldView');
|
|
70
71
|
@include meta.load-css('form/TimeField/TimePanelView');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IHeaderViewProps } from '@steroidsjs/core/ui/layout/Header/Header';
|
|
3
|
-
export default function HeaderView(props: IHeaderViewProps): JSX.Element;
|
|
3
|
+
export default function HeaderView(props: IHeaderViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ILoaderViewProps } from '@steroidsjs/core/ui/layout/Loader/Loader';
|
|
3
|
-
export default function LoaderView(props: ILoaderViewProps): JSX.Element;
|
|
3
|
+
export default function LoaderView(props: ILoaderViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { INotificationsItemViewProps } from '@steroidsjs/core/ui/layout/Notifications/Notifications';
|
|
3
|
-
export default function NotificationsItemView(props: INotificationsItemViewProps): JSX.Element;
|
|
3
|
+
export default function NotificationsItemView(props: INotificationsItemViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { INotificationsViewProps } from '@steroidsjs/core/ui/layout/Notifications/Notifications';
|
|
3
|
-
export default function NotificationsView(props: INotificationsViewProps): JSX.Element;
|
|
3
|
+
export default function NotificationsView(props: INotificationsViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IProgressBarViewProps } from '@steroidsjs/core/ui/layout/ProgressBar/ProgressBar';
|
|
3
|
-
export default function CircleProgressBarView(props: IProgressBarViewProps): JSX.Element;
|
|
3
|
+
export default function CircleProgressBarView(props: IProgressBarViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IProgressBarViewProps } from '@steroidsjs/core/ui/layout/ProgressBar/ProgressBar';
|
|
3
|
-
export default function LineProgressBarView(props: IProgressBarViewProps): JSX.Element;
|
|
3
|
+
export default function LineProgressBarView(props: IProgressBarViewProps): React.JSX.Element;
|
|
@@ -5,6 +5,6 @@ interface IFooterIconsProps {
|
|
|
5
5
|
footerIcons?: IIconProps[];
|
|
6
6
|
isShink?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare function FooterIcons(props: IFooterIconsProps): JSX.Element;
|
|
8
|
+
declare function FooterIcons(props: IFooterIconsProps): React.JSX.Element;
|
|
9
9
|
declare const _default: React.MemoExoticComponent<typeof FooterIcons>;
|
|
10
10
|
export default _default;
|
|
@@ -5,6 +5,6 @@ interface ISidebarLogoProps {
|
|
|
5
5
|
label: string;
|
|
6
6
|
toggleSidebar: () => void;
|
|
7
7
|
}
|
|
8
|
-
declare function SidebarLogo(props: ISidebarLogoProps): JSX.Element;
|
|
8
|
+
declare function SidebarLogo(props: ISidebarLogoProps): React.JSX.Element;
|
|
9
9
|
declare const _default: React.MemoExoticComponent<typeof SidebarLogo>;
|
|
10
10
|
export default _default;
|
|
@@ -6,6 +6,6 @@ interface ISidebarUserProps {
|
|
|
6
6
|
name: string;
|
|
7
7
|
picture: string;
|
|
8
8
|
}
|
|
9
|
-
declare function SidebarUser(props: ISidebarUserProps): JSX.Element;
|
|
9
|
+
declare function SidebarUser(props: ISidebarUserProps): React.JSX.Element;
|
|
10
10
|
declare const _default: React.MemoExoticComponent<typeof SidebarUser>;
|
|
11
11
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ISidebarViewProps } from '@steroidsjs/core/ui/layout/Sidebar/Sidebar';
|
|
3
|
-
export default function SidebarView(props: ISidebarViewProps): JSX.Element;
|
|
3
|
+
export default function SidebarView(props: ISidebarViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ISkeletonViewProps } from '@steroidsjs/core/ui/layout/Skeleton/Skeleton';
|
|
3
|
-
export default function SkeletonView(props: ISkeletonViewProps): JSX.Element;
|
|
3
|
+
export default function SkeletonView(props: ISkeletonViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ITooltipViewProps } from '@steroidsjs/core/ui/layout/Tooltip/Tooltip';
|
|
3
|
-
export default function TooltipView(props: ITooltipViewProps): JSX.Element;
|
|
3
|
+
export default function TooltipView(props: ITooltipViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ICheckboxColumnViewProps } from '@steroidsjs/core/ui/list/CheckboxColumn/CheckboxColumn';
|
|
3
|
-
export default function CheckboxColumnView(props: ICheckboxColumnViewProps): JSX.Element;
|
|
3
|
+
export default function CheckboxColumnView(props: ICheckboxColumnViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IControlsColumnViewProps } from '@steroidsjs/core/ui/list/ControlsColumn/ControlsColumn';
|
|
3
|
-
export default function ControlsColumnView(props: IControlsColumnViewProps): JSX.Element;
|
|
3
|
+
export default function ControlsColumnView(props: IControlsColumnViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IEmptyViewProps } from '@steroidsjs/core/ui/list/Empty/Empty';
|
|
3
|
-
export default function EmptyView(props: IEmptyViewProps): JSX.Element;
|
|
3
|
+
export default function EmptyView(props: IEmptyViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IFlexGridViewProps } from '@steroidsjs/core/ui/list/FlexGrid/FlexGrid';
|
|
3
|
-
export default function FlexGridView(props: IFlexGridViewProps): JSX.Element;
|
|
3
|
+
export default function FlexGridView(props: IFlexGridViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IColumnViewProps } from '@steroidsjs/core/ui/list/Grid/Grid';
|
|
3
|
-
export default function ContentColumnView(props: IColumnViewProps): JSX.Element;
|
|
3
|
+
export default function ContentColumnView(props: IColumnViewProps): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IColumnViewProps } from '@steroidsjs/core/ui/list/Grid/Grid';
|
|
3
3
|
import './DiagramColumnView.scss';
|
|
4
|
-
export default function DiagramColumnView(props: IColumnViewProps): JSX.Element;
|
|
4
|
+
export default function DiagramColumnView(props: IColumnViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ITreeColumnViewProps } from '@steroidsjs/core/ui/list/TreeTable/TreeTable';
|
|
3
|
-
export default function TreeColumnView(props: ITreeColumnViewProps): JSX.Element;
|
|
3
|
+
export default function TreeColumnView(props: ITreeColumnViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IListItemViewProps } from '@steroidsjs/core/ui/list/List/List';
|
|
3
|
-
export default function ListItemView(props: IListItemViewProps): JSX.Element;
|
|
3
|
+
export default function ListItemView(props: IListItemViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IPaginationViewProps } from '@steroidsjs/core/ui/list/Pagination/Pagination';
|
|
3
|
-
export default function PaginationButtonView(props: IPaginationViewProps): JSX.Element;
|
|
3
|
+
export default function PaginationButtonView(props: IPaginationViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IPaginationViewProps } from '@steroidsjs/core/ui/list/Pagination/Pagination';
|
|
3
|
-
export default function PaginationMoreView(props: IPaginationViewProps): JSX.Element;
|
|
3
|
+
export default function PaginationMoreView(props: IPaginationViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IPaginationSizeViewProps } from '@steroidsjs/core/ui/list/PaginationSize/PaginationSize';
|
|
3
|
-
export default function PaginationSizeView(props: IPaginationSizeViewProps): JSX.Element;
|
|
3
|
+
export default function PaginationSizeView(props: IPaginationSizeViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IStepItemViewProps } from '@steroidsjs/core/ui/list/Steps/Steps';
|
|
3
|
-
export default function StepItemView(props: IStepItemViewProps): JSX.Element;
|
|
3
|
+
export default function StepItemView(props: IStepItemViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IStepsViewProps } from '@steroidsjs/core/ui/list/Steps/Steps';
|
|
3
|
-
export default function StepsView(props: IStepsViewProps): JSX.Element;
|
|
3
|
+
export default function StepsView(props: IStepsViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IModalViewProps } from '@steroidsjs/core/ui/modal/Modal/Modal';
|
|
3
|
-
export default function ModalView(props: IModalViewProps): JSX.Element;
|
|
3
|
+
export default function ModalView(props: IModalViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ITwoFactorModalViewProps } from '@steroidsjs/core/ui/modal/TwoFactorModal/TwoFactorModal';
|
|
3
|
-
export default function TwoFactorModalView(props: ITwoFactorModalViewProps): JSX.Element;
|
|
3
|
+
export default function TwoFactorModalView(props: ITwoFactorModalViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IBreadcrumbsViewProps } from '@steroidsjs/core/ui/nav/Breadcrumbs/Breadcrumbs';
|
|
3
|
-
export default function BreadcrumbsView(props: IBreadcrumbsViewProps): JSX.Element;
|
|
3
|
+
export default function BreadcrumbsView(props: IBreadcrumbsViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IButtonGroupViewProps } from '@steroidsjs/core/ui/nav/ButtonGroup/ButtonGroup';
|
|
3
|
-
export default function ButtonGroupView(props: IButtonGroupViewProps): JSX.Element;
|
|
3
|
+
export default function ButtonGroupView(props: IButtonGroupViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IControlsViewProps } from '@steroidsjs/core/ui/nav/Controls/Controls';
|
|
3
|
-
export default function ControlsView(props: IControlsViewProps): JSX.Element;
|
|
3
|
+
export default function ControlsView(props: IControlsViewProps): React.JSX.Element;
|
package/nav/Nav/NavBarView.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { INavViewProps } from '@steroidsjs/core/ui/nav/Nav/Nav';
|
|
3
|
-
export default function NavBarView(props: INavViewProps): JSX.Element;
|
|
3
|
+
export default function NavBarView(props: INavViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { INavViewProps } from '@steroidsjs/core/ui/nav/Nav/Nav';
|
|
3
|
-
export default function NavButtonView(props: INavViewProps): JSX.Element;
|
|
3
|
+
export default function NavButtonView(props: INavViewProps): React.JSX.Element;
|
package/nav/Nav/NavIconView.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { INavViewProps } from '@steroidsjs/core/ui/nav/Nav/Nav';
|
|
3
|
-
export default function NavIconView(props: INavViewProps): JSX.Element;
|
|
3
|
+
export default function NavIconView(props: INavViewProps): React.JSX.Element;
|
package/nav/Nav/NavLinkView.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { INavViewProps } from '@steroidsjs/core/ui/nav/Nav/Nav';
|
|
3
|
-
export default function NavLinkView(props: INavViewProps): JSX.Element;
|
|
3
|
+
export default function NavLinkView(props: INavViewProps): React.JSX.Element;
|
package/nav/Nav/NavListView.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { INavViewProps } from '@steroidsjs/core/ui/nav/Nav/Nav';
|
|
3
|
-
export default function NavListView(props: INavViewProps): JSX.Element;
|
|
3
|
+
export default function NavListView(props: INavViewProps): React.JSX.Element;
|
package/nav/Nav/NavTabsView.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { INavViewProps } from '@steroidsjs/core/ui/nav/Nav/Nav';
|
|
3
|
-
export default function NavTabsView(props: INavViewProps): JSX.Element;
|
|
3
|
+
export default function NavTabsView(props: INavViewProps): React.JSX.Element;
|
package/nav/Tree/TreeView.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ITreeViewProps } from '@steroidsjs/core/ui/nav/Tree/Tree';
|
|
3
|
-
export default function TreeView(props: ITreeViewProps): JSX.Element;
|
|
3
|
+
export default function TreeView(props: ITreeViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ITreeItemViewProps } from '@steroidsjs/core/ui/nav/Tree/Tree';
|
|
3
|
-
export default function TreeItemView(props: ITreeItemViewProps): JSX.Element;
|
|
3
|
+
export default function TreeItemView(props: ITreeItemViewProps): React.JSX.Element;
|