@steroidsjs/bootstrap 3.0.0-beta.2 → 3.0.0-beta.21
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/Accordion/AccordionItemView.js +96 -0
- package/content/Accordion/AccordionItemView.scss +195 -0
- package/content/Accordion/AccordionView.d.ts +2 -0
- package/content/{Collapse/CollapseView.js → Accordion/AccordionView.js} +3 -3
- package/content/Accordion/AccordionView.scss +14 -0
- package/content/Alert/AlertView.d.ts +0 -1
- package/content/Alert/AlertView.js +12 -16
- package/content/Alert/AlertView.scss +46 -81
- package/content/Avatar/AvatarGroupView.d.ts +0 -1
- package/content/Avatar/AvatarView.d.ts +0 -1
- package/content/Avatar/AvatarView.js +4 -2
- package/content/Avatar/AvatarView.scss +139 -85
- package/content/Badge/BadgeView.d.ts +3 -0
- package/content/Badge/BadgeView.js +25 -0
- package/content/Badge/BadgeView.scss +107 -0
- package/content/Calendar/CalendarView.d.ts +0 -1
- package/content/Calendar/CaptionElement.d.ts +0 -1
- package/content/Calendar/CaptionElement.js +1 -1
- package/content/Calendar/CaptionElement.scss +2 -0
- package/content/Card/CardView.d.ts +0 -1
- package/content/Detail/DetailView.d.ts +0 -1
- package/content/DropDown/DropDownView.d.ts +0 -1
- package/content/DropDown/DropDownView.js +6 -3
- package/content/DropDown/DropDownView.scss +196 -27
- package/{icon → content}/Icon/IconView.d.ts +1 -2
- package/crud/Crud/CrudView.d.ts +0 -1
- package/form/AutoCompleteField/AutoCompleteFieldView.d.ts +0 -1
- package/form/Button/ButtonView.d.ts +0 -1
- package/form/Button/ButtonView.js +8 -8
- package/form/Button/ButtonView.scss +116 -78
- package/form/CheckboxField/CheckboxFieldView.d.ts +0 -1
- package/form/CheckboxField/CheckboxFieldView.js +3 -3
- package/form/CheckboxField/CheckboxFieldView.scss +121 -36
- package/form/CheckboxListField/CheckboxListFieldView.d.ts +0 -1
- package/form/DateField/DateFieldView.d.ts +0 -1
- package/form/DateField/DateFieldView.js +1 -1
- package/form/DateRangeField/DateRangeFieldView.d.ts +0 -1
- package/form/DateRangeField/DateRangeFieldView.js +1 -1
- package/form/DateTimeField/DateTimeFieldView.d.ts +0 -1
- package/form/DateTimeField/DateTimeFieldView.js +1 -1
- package/form/DateTimeRangeField/DateTimeRangeFieldView.d.ts +0 -1
- package/form/DateTimeRangeField/DateTimeRangeFieldView.js +1 -1
- package/form/DropDownField/DropDownFieldView.d.ts +0 -1
- package/form/DropDownField/DropDownFieldView.js +1 -1
- package/form/DropDownField/DropDownFieldView.scss +3 -0
- package/form/FieldLayout/FieldLayoutView.d.ts +0 -1
- package/form/FieldList/FieldListView.d.ts +0 -1
- package/form/FieldSet/FieldSetView.d.ts +0 -1
- package/form/FileField/FileFieldItemView.d.ts +0 -1
- package/form/FileField/FileFieldItemView.js +1 -1
- package/form/FileField/FileFieldView.d.ts +0 -1
- package/form/FileField/FileFieldView.js +1 -1
- package/form/HtmlField/HtmlFieldView.d.ts +0 -1
- package/form/ImageField/ImageFieldModalView.d.ts +0 -1
- package/form/ImageField/ImageFieldView.d.ts +1 -2
- package/form/ImageField/ImageFieldView.js +9 -9
- package/form/InputField/InputFieldView.d.ts +0 -1
- package/form/InputField/InputFieldView.scss +5 -4
- package/form/NumberField/NumberFieldView.d.ts +0 -1
- package/form/NumberField/NumberFieldView.scss +0 -1
- package/form/PasswordField/PasswordFieldView.d.ts +0 -1
- package/form/PasswordField/PasswordFieldView.js +11 -11
- package/form/PasswordField/PasswordFieldView.scss +221 -63
- package/form/RadioListField/RadioListFieldView.d.ts +0 -1
- package/form/RateField/RateFieldView.d.ts +0 -1
- package/form/RateField/RateFieldView.js +1 -1
- package/form/ReCaptchaField/ReCaptchaFieldView.d.ts +0 -1
- package/form/SliderField/SliderFieldView.d.ts +0 -1
- package/form/SwitcherField/SwitcherFieldView.d.ts +0 -1
- package/form/TextField/TextFieldView.d.ts +0 -1
- package/form/TimeField/TimeFieldView.d.ts +0 -1
- package/form/TimeField/TimeFieldView.js +1 -1
- package/form/TimeField/TimePanelView.d.ts +0 -1
- package/{icon/fontawesome.js → icons/index.js} +19 -6
- package/icons/svgs/accordion-chevron.svg +4 -0
- package/icons/svgs/badge-close.svg +3 -0
- package/icons/svgs/close.svg +4 -0
- package/icons/svgs/crossed-out-eye.svg +5 -0
- package/icons/svgs/default.svg +11 -0
- package/icons/svgs/error.svg +12 -0
- package/icons/svgs/info.svg +12 -0
- package/icons/svgs/loader.svg +3 -0
- package/icons/svgs/success.svg +4 -0
- package/icons/svgs/visible-eye.svg +4 -0
- package/icons/svgs/warning.svg +12 -0
- package/index.d.ts +14 -5
- package/index.js +16 -7
- package/index.scss +5 -3
- package/layout/Header/HeaderView.d.ts +0 -1
- package/layout/Header/HeaderView.js +1 -1
- package/layout/Header/HeaderView.scss +3 -3
- package/layout/Loader/LoaderView.d.ts +0 -1
- package/layout/Notifications/NotificationsItemView.d.ts +0 -1
- package/layout/Notifications/NotificationsView.d.ts +0 -1
- package/layout/ProgressBar/CircleProgressBarView.d.ts +0 -1
- package/layout/ProgressBar/CircleProgressBarView.js +5 -2
- package/layout/ProgressBar/LineProgressBarView.d.ts +0 -1
- package/layout/Skeleton/SkeletonView.d.ts +0 -1
- package/layout/Tooltip/TooltipView.d.ts +0 -1
- package/list/CheckboxColumn/CheckboxColumnView.d.ts +0 -1
- package/list/ControlsColumnView/ControlsColumnView.d.ts +0 -1
- package/list/Empty/EmptyView.d.ts +0 -1
- package/list/Grid/GridView.js +4 -4
- package/list/Grid/GridView.scss +28 -30
- package/list/List/ListItemView.d.ts +0 -1
- package/list/Pagination/PaginationButtonView.d.ts +0 -1
- package/list/Pagination/PaginationMoreView.d.ts +0 -1
- package/list/PaginationSize/PaginationSizeView.d.ts +0 -1
- package/list/Steps/StepItemView.d.ts +1 -2
- package/list/Steps/StepItemView.js +3 -3
- package/list/Steps/StepsView.d.ts +0 -1
- package/list/Steps/StepsView.js +1 -1
- package/modal/Modal/ModalView.d.ts +0 -1
- package/modal/TwoFactorModal/TwoFactorModalView.d.ts +0 -1
- package/nav/Breadcrubms/BreadcrumbsView.d.ts +0 -1
- package/nav/Controls/ControlsView.d.ts +0 -1
- package/nav/Nav/NavBarView.d.ts +0 -1
- package/nav/Nav/NavButtonView.d.ts +0 -1
- package/nav/Nav/NavIconView.d.ts +0 -1
- package/nav/Nav/NavLinkView.d.ts +0 -1
- package/nav/Nav/NavListView.d.ts +0 -1
- package/nav/Nav/NavTabsView.d.ts +0 -1
- package/nav/Tree/TreeView.d.ts +0 -1
- package/nav/Tree/TreeView.scss +9 -10
- package/package.json +55 -52
- package/scss/mixins/button.scss +50 -24
- package/scss/mixins/index.scss +2 -1
- package/scss/mixins/typography.scss +26 -0
- package/scss/variables/common/colors.scss +168 -0
- package/scss/variables/common/media.scss +2 -0
- package/scss/variables/common/old-variables.scss +24 -0
- package/scss/variables/common/radiuses.scss +5 -0
- package/scss/variables/common/spacing.scss +12 -0
- package/scss/variables/common/typography.scss +107 -0
- package/scss/variables/components/calendar.scss +1 -1
- package/scss/variables/components/card.scss +1 -1
- package/scss/variables/components/icon.scss +1 -1
- package/scss/variables/components/input.scss +3 -11
- package/scss/variables/components/ratefield.scss +1 -1
- package/scss/variables/index.scss +6 -3
- package/typography/Text/TextView.d.ts +3 -0
- package/typography/Text/TextView.js +46 -0
- package/typography/Text/TextView.scss +15 -0
- package/typography/Title/TitleView.d.ts +3 -0
- package/typography/Title/TitleView.js +50 -0
- package/typography/Title/TitleView.scss +15 -0
- package/content/Collapse/CollapseItemView.d.ts +0 -3
- package/content/Collapse/CollapseItemView.js +0 -64
- package/content/Collapse/CollapseItemView.scss +0 -88
- package/content/Collapse/CollapseView.d.ts +0 -3
- package/content/Collapse/CollapseView.scss +0 -15
- package/icon/Icon/IconView.scss +0 -25
- package/icon/Icon/index.d.ts +0 -1
- package/icon/Icon/index.js +0 -16
- package/scss/variables/colors.scss +0 -74
- package/scss/variables/components/alert.scss +0 -9
- package/scss/variables/components/avatar.scss +0 -17
- /package/{icon → content}/Icon/IconView.js +0 -0
- /package/{icon/fontawesome.d.ts → icons/index.d.ts} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_126_1068)">
|
|
3
|
+
<path d="M10.148 3C11.3027 0.999997 14.1895 1 15.3442 3L24.0044 18C25.1591 20 23.7157 22.5 21.4063 22.5H4.08584C1.77644 22.5 0.333063 20 1.48776 18L10.148 3Z" fill="#FFE457"/>
|
|
4
|
+
<circle cx="12.7461" cy="16.75" r="0.75" fill="white"/>
|
|
5
|
+
<line x1="12.7461" y1="7.25" x2="12.7461" y2="13.75" stroke="white" stroke-width="1.5" stroke-linecap="round"/>
|
|
6
|
+
</g>
|
|
7
|
+
<defs>
|
|
8
|
+
<clipPath id="clip0_126_1068">
|
|
9
|
+
<rect width="24" height="24" fill="white" transform="translate(0.746094)"/>
|
|
10
|
+
</clipPath>
|
|
11
|
+
</defs>
|
|
12
|
+
</svg>
|
package/index.d.ts
CHANGED
|
@@ -20,6 +20,12 @@ declare const _default: {
|
|
|
20
20
|
'content.DetailView': {
|
|
21
21
|
lazy: () => any;
|
|
22
22
|
};
|
|
23
|
+
'content.IconView': {
|
|
24
|
+
lazy: () => any;
|
|
25
|
+
};
|
|
26
|
+
'content.BadgeView': {
|
|
27
|
+
lazy: () => any;
|
|
28
|
+
};
|
|
23
29
|
'form.AutoCompleteFieldView': {
|
|
24
30
|
lazy: () => any;
|
|
25
31
|
};
|
|
@@ -29,10 +35,10 @@ declare const _default: {
|
|
|
29
35
|
'content.CardView': {
|
|
30
36
|
lazy: () => any;
|
|
31
37
|
};
|
|
32
|
-
'content.
|
|
38
|
+
'content.AccordionView': {
|
|
33
39
|
lazy: () => any;
|
|
34
40
|
};
|
|
35
|
-
'content.
|
|
41
|
+
'content.AccordionItemView': {
|
|
36
42
|
lazy: () => any;
|
|
37
43
|
};
|
|
38
44
|
'form.CheckboxFieldView': {
|
|
@@ -122,9 +128,6 @@ declare const _default: {
|
|
|
122
128
|
'format.DefaultFormatterView': {
|
|
123
129
|
lazy: () => any;
|
|
124
130
|
};
|
|
125
|
-
'icon.IconView': {
|
|
126
|
-
lazy: () => any;
|
|
127
|
-
};
|
|
128
131
|
'layout.HeaderView': {
|
|
129
132
|
lazy: () => any;
|
|
130
133
|
};
|
|
@@ -215,5 +218,11 @@ declare const _default: {
|
|
|
215
218
|
'nav.TreeView': {
|
|
216
219
|
lazy: () => any;
|
|
217
220
|
};
|
|
221
|
+
'typography.TextView': {
|
|
222
|
+
lazy: () => any;
|
|
223
|
+
};
|
|
224
|
+
'typography.TitleView': {
|
|
225
|
+
lazy: () => any;
|
|
226
|
+
};
|
|
218
227
|
};
|
|
219
228
|
export default _default;
|
package/index.js
CHANGED
|
@@ -23,6 +23,12 @@ exports["default"] = {
|
|
|
23
23
|
'content.DetailView': {
|
|
24
24
|
lazy: function () { return require('./content/Detail/DetailView')["default"]; }
|
|
25
25
|
},
|
|
26
|
+
'content.IconView': {
|
|
27
|
+
lazy: function () { return require('./content/Icon/IconView')["default"]; }
|
|
28
|
+
},
|
|
29
|
+
'content.BadgeView': {
|
|
30
|
+
lazy: function () { return require('./content/Badge/BadgeView')["default"]; }
|
|
31
|
+
},
|
|
26
32
|
'form.AutoCompleteFieldView': {
|
|
27
33
|
lazy: function () { return require('./form/AutoCompleteField/AutoCompleteFieldView')["default"]; }
|
|
28
34
|
},
|
|
@@ -32,11 +38,11 @@ exports["default"] = {
|
|
|
32
38
|
'content.CardView': {
|
|
33
39
|
lazy: function () { return require('./content/Card/CardView')["default"]; }
|
|
34
40
|
},
|
|
35
|
-
'content.
|
|
36
|
-
lazy: function () { return require('./content/
|
|
41
|
+
'content.AccordionView': {
|
|
42
|
+
lazy: function () { return require('./content/Accordion/AccordionView')["default"]; }
|
|
37
43
|
},
|
|
38
|
-
'content.
|
|
39
|
-
lazy: function () { return require('./content/
|
|
44
|
+
'content.AccordionItemView': {
|
|
45
|
+
lazy: function () { return require('./content/Accordion/AccordionItemView')["default"]; }
|
|
40
46
|
},
|
|
41
47
|
'form.CheckboxFieldView': {
|
|
42
48
|
lazy: function () { return require('./form/CheckboxField/CheckboxFieldView')["default"]; }
|
|
@@ -125,9 +131,6 @@ exports["default"] = {
|
|
|
125
131
|
'format.DefaultFormatterView': {
|
|
126
132
|
lazy: function () { return require('./format/DefaultFormatter/DefaultFormatterView')["default"]; }
|
|
127
133
|
},
|
|
128
|
-
'icon.IconView': {
|
|
129
|
-
lazy: function () { return require('./icon/Icon/IconView')["default"]; }
|
|
130
|
-
},
|
|
131
134
|
'layout.HeaderView': {
|
|
132
135
|
lazy: function () { return require('./layout/Header/HeaderView')["default"]; }
|
|
133
136
|
},
|
|
@@ -217,5 +220,11 @@ exports["default"] = {
|
|
|
217
220
|
},
|
|
218
221
|
'nav.TreeView': {
|
|
219
222
|
lazy: function () { return require('./nav/Tree/TreeView')["default"]; }
|
|
223
|
+
},
|
|
224
|
+
'typography.TextView': {
|
|
225
|
+
lazy: function () { return require('./typography/Text/TextView')["default"]; }
|
|
226
|
+
},
|
|
227
|
+
'typography.TitleView': {
|
|
228
|
+
lazy: function () { return require('./typography/Title/TitleView')["default"]; }
|
|
220
229
|
}
|
|
221
230
|
};
|
package/index.scss
CHANGED
|
@@ -5,11 +5,12 @@
|
|
|
5
5
|
@import './content/Alert/AlertView';
|
|
6
6
|
@import './content/Avatar/AvatarView';
|
|
7
7
|
@import './content/Avatar/AvatarGroupView';
|
|
8
|
+
@import './content/Badge/BadgeView';
|
|
8
9
|
@import './content/Calendar/CalendarView';
|
|
9
10
|
@import './content/Calendar/CaptionElement';
|
|
10
11
|
@import './content/Card/CardView';
|
|
11
|
-
@import './content/
|
|
12
|
-
@import './content/
|
|
12
|
+
@import './content/Accordion/AccordionView';
|
|
13
|
+
@import './content/Accordion/AccordionItemView';
|
|
13
14
|
@import './content/Detail/DetailView';
|
|
14
15
|
@import './form/AutoCompleteField/AutoCompleteFieldView';
|
|
15
16
|
@import './form/Button/ButtonView';
|
|
@@ -38,7 +39,6 @@
|
|
|
38
39
|
@import './form/TextField/TextFieldView';
|
|
39
40
|
@import './form/TimeField/TimeFieldView';
|
|
40
41
|
@import './form/TimeField/TimePanelView';
|
|
41
|
-
@import './icon/Icon/IconView';
|
|
42
42
|
@import './layout/Header/HeaderView';
|
|
43
43
|
@import './layout/Tooltip/TooltipView';
|
|
44
44
|
@import './layout/Notifications/NotificationsView';
|
|
@@ -67,3 +67,5 @@
|
|
|
67
67
|
@import './nav/Nav/NavListView';
|
|
68
68
|
@import './nav/Nav/NavTabsView';
|
|
69
69
|
@import './nav/Tree/TreeView';
|
|
70
|
+
@import './typography/Text/TextView';
|
|
71
|
+
@import './typography/Title/TitleView';
|
|
@@ -40,7 +40,7 @@ exports.__esModule = true;
|
|
|
40
40
|
var React = __importStar(require("react"));
|
|
41
41
|
var nav_1 = require("@steroidsjs/core/ui/nav");
|
|
42
42
|
var Nav_1 = __importDefault(require("@steroidsjs/core/ui/nav/Nav"));
|
|
43
|
-
var Icon_1 = __importDefault(require("@steroidsjs/core/ui/
|
|
43
|
+
var Icon_1 = __importDefault(require("@steroidsjs/core/ui/content/Icon"));
|
|
44
44
|
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
45
45
|
function HeaderView(props) {
|
|
46
46
|
var bem = (0, hooks_1.useBem)('HeaderView');
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IBemHocOutput } from '@steroidsjs/core/hoc/bem';
|
|
3
2
|
import { INotificationsItemViewProps } from '@steroidsjs/core/ui/layout/Notifications/Notifications';
|
|
4
3
|
export default function NotificationsItemView(props: INotificationsItemViewProps & IBemHocOutput): JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IBemHocOutput } from '@steroidsjs/core/hoc/bem';
|
|
3
2
|
import { INotificationsViewProps } from '@steroidsjs/core/ui/layout/Notifications/Notifications';
|
|
4
3
|
export default function NotificationsView(props: INotificationsViewProps & IBemHocOutput): JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IBemHocOutput } from '@steroidsjs/core/hoc/bem';
|
|
3
2
|
import { IProgressBarViewProps } from '@steroidsjs/core/ui/layout/ProgressBar/ProgressBar';
|
|
4
3
|
export default function CircleProgressBarView(props: IProgressBarViewProps & IBemHocOutput): JSX.Element;
|
|
@@ -37,8 +37,11 @@ function CircleProgressBarView(props) {
|
|
|
37
37
|
React.createElement("svg", null,
|
|
38
38
|
React.createElement("g", { className: bem.element('circles') },
|
|
39
39
|
React.createElement("circle", { className: bem.element('emptyCircle'), style: { strokeDasharray: getCircumference() } }),
|
|
40
|
-
React.createElement("circle", { className: bem.element('progressCircle'), style: {
|
|
41
|
-
|
|
40
|
+
React.createElement("circle", { className: bem.element('progressCircle'), style: {
|
|
41
|
+
// eslint-disable-next-line max-len
|
|
42
|
+
strokeDashoffset: getCircumference() - (Math.min(props.percent, 100) * getCircumference()) / 100,
|
|
43
|
+
strokeDasharray: getCircumference()
|
|
44
|
+
} }))),
|
|
42
45
|
React.createElement("div", { className: bem.element('content') }, props.label)));
|
|
43
46
|
}
|
|
44
47
|
exports["default"] = CircleProgressBarView;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IBemHocOutput } from '@steroidsjs/core/hoc/bem';
|
|
3
2
|
import { IProgressBarViewProps } from '@steroidsjs/core/ui/layout/ProgressBar/ProgressBar';
|
|
4
3
|
export default function LineProgressBarView(props: IProgressBarViewProps & IBemHocOutput): JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IBemHocOutput } from '@steroidsjs/core/hoc/bem';
|
|
3
2
|
import { ICheckboxColumnViewProps } from '@steroidsjs/core/ui/list/CheckboxColumn/CheckboxColumn';
|
|
4
3
|
export default function CheckboxColumnView(props: ICheckboxColumnViewProps & IBemHocOutput): JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IControlsColumnViewProps } from '@steroidsjs/core/ui/list/ControlsColumn/ControlsColumn';
|
|
3
2
|
import { IBemHocOutput } from '@steroidsjs/core/hoc/bem';
|
|
4
3
|
export default function ControlsColumnView(props: IControlsColumnViewProps & IBemHocOutput): JSX.Element;
|
package/list/Grid/GridView.js
CHANGED
|
@@ -49,7 +49,7 @@ var react_1 = require("react");
|
|
|
49
49
|
var getFormId = function (props) { return (0, get_1["default"])(props, 'searchForm.formId', props.listId); };
|
|
50
50
|
exports.getFormId = getFormId;
|
|
51
51
|
function GridView(props) {
|
|
52
|
-
var _a
|
|
52
|
+
var _a;
|
|
53
53
|
var bem = (0, hooks_1.useBem)('GridView');
|
|
54
54
|
var renderInsideSearchForm = (0, react_1.useCallback)(function () {
|
|
55
55
|
if (!props.searchForm || !props.searchForm.fields || props.searchForm.layout !== 'table') {
|
|
@@ -71,9 +71,9 @@ function GridView(props) {
|
|
|
71
71
|
e.preventDefault();
|
|
72
72
|
props.onSort(!isActive ? sortKey : null);
|
|
73
73
|
} }));
|
|
74
|
-
}, [
|
|
75
|
-
var emptyContent = (0, react_1.useMemo)(function () { return props.renderEmpty(); }, [props
|
|
76
|
-
return props.renderList(React.createElement("div", { className: bem(bem.block({ loading: props.isLoading || ((
|
|
74
|
+
}, [bem, props]);
|
|
75
|
+
var emptyContent = (0, react_1.useMemo)(function () { return props.renderEmpty(); }, [props]);
|
|
76
|
+
return props.renderList(React.createElement("div", { className: bem(bem.block({ loading: props.isLoading || ((_a = props.list) === null || _a === void 0 ? void 0 : _a.isLoading) }), props.className) },
|
|
77
77
|
props.renderSearchForm(),
|
|
78
78
|
props.renderPaginationSize(),
|
|
79
79
|
React.createElement("table", { className: 'table table-striped' },
|
package/list/Grid/GridView.scss
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@import '~bootstrap/scss/mixins/_breakpoints.scss';
|
|
2
|
-
|
|
3
1
|
.GridView {
|
|
4
2
|
opacity: 1;
|
|
5
3
|
transition: opacity .2s;
|
|
@@ -9,34 +7,34 @@
|
|
|
9
7
|
}
|
|
10
8
|
|
|
11
9
|
//adaptive styles
|
|
12
|
-
@include media-breakpoint-down(sm) {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
10
|
+
// @include media-breakpoint-down(sm) {
|
|
11
|
+
// thead, tbody, th, tr {
|
|
12
|
+
// display: block;
|
|
13
|
+
// }
|
|
14
|
+
|
|
15
|
+
// thead tr {
|
|
16
|
+
// position: absolute;
|
|
17
|
+
// top: -9999px;
|
|
18
|
+
// left: -9999px;
|
|
19
|
+
// }
|
|
20
|
+
|
|
21
|
+
// td {
|
|
22
|
+
// position: relative;
|
|
23
|
+
// width: 100% !important;
|
|
24
|
+
// text-align: left !important;
|
|
25
|
+
|
|
26
|
+
// display: flex;
|
|
27
|
+
// align-items: center;
|
|
28
|
+
// white-space: pre-wrap;
|
|
29
|
+
// }
|
|
30
|
+
|
|
31
|
+
// td:before {
|
|
32
|
+
// padding-right: 1rem;
|
|
33
|
+
// width: 50%;
|
|
34
|
+
// flex-shrink: 0;
|
|
35
|
+
// content: attr(data-label);
|
|
36
|
+
// }
|
|
37
|
+
// }
|
|
40
38
|
|
|
41
39
|
&__sort-button {
|
|
42
40
|
opacity: 0.5;
|
|
@@ -27,15 +27,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
exports.__esModule = true;
|
|
29
29
|
var React = __importStar(require("react"));
|
|
30
|
-
var Icon_1 = __importDefault(require("@steroidsjs/core/ui/
|
|
30
|
+
var Icon_1 = __importDefault(require("@steroidsjs/core/ui/content/Icon"));
|
|
31
31
|
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
32
32
|
function StepItemView(props) {
|
|
33
33
|
var _a;
|
|
34
|
-
var bem = (0, hooks_1.useBem)(
|
|
34
|
+
var bem = (0, hooks_1.useBem)('StepItemView');
|
|
35
35
|
return (React.createElement("div", { className: bem(props.className, bem.block((_a = {}, _a[props.status] = true, _a))) },
|
|
36
36
|
React.createElement("div", { className: bem.element('body', { disabled: props.disabled }), onClick: props.onChange },
|
|
37
37
|
React.createElement("div", { className: bem.element('header') },
|
|
38
|
-
React.createElement("span", { className: bem.element('icon') }, props.status === 'finish' ? React.createElement(Icon_1["default"], { name:
|
|
38
|
+
React.createElement("span", { className: bem.element('icon') }, props.status === 'finish' ? React.createElement(Icon_1["default"], { name: "check" }) : props.stepItem.icon || "0".concat(props.index)),
|
|
39
39
|
React.createElement("div", null,
|
|
40
40
|
React.createElement("div", { className: bem.element('title') }, props.stepItem.title),
|
|
41
41
|
React.createElement("div", { className: bem.element('subtitle') }, props.stepItem.subtitle))),
|
package/list/Steps/StepsView.js
CHANGED
|
@@ -26,7 +26,7 @@ exports.__esModule = true;
|
|
|
26
26
|
var React = __importStar(require("react"));
|
|
27
27
|
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
28
28
|
function StepsView(props) {
|
|
29
|
-
var bem = (0, hooks_1.useBem)(
|
|
29
|
+
var bem = (0, hooks_1.useBem)('StepsView');
|
|
30
30
|
return (React.createElement("div", { className: bem(props.className, bem.block()) }, props.children));
|
|
31
31
|
}
|
|
32
32
|
exports["default"] = StepsView;
|
package/nav/Nav/NavBarView.d.ts
CHANGED
package/nav/Nav/NavIconView.d.ts
CHANGED
package/nav/Nav/NavLinkView.d.ts
CHANGED
package/nav/Nav/NavListView.d.ts
CHANGED
package/nav/Nav/NavTabsView.d.ts
CHANGED
package/nav/Tree/TreeView.d.ts
CHANGED
package/nav/Tree/TreeView.scss
CHANGED
|
@@ -17,22 +17,22 @@
|
|
|
17
17
|
padding: 5px 10px;
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: row;
|
|
20
|
-
color: $
|
|
21
|
-
background-color: $
|
|
20
|
+
color: $text-color;
|
|
21
|
+
background-color: $background-color;
|
|
22
22
|
|
|
23
|
-
&:hover {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
23
|
+
// &:hover {
|
|
24
|
+
// color: $list-group-action-hover-color;
|
|
25
|
+
// background-color: $list-group-hover-bg;
|
|
26
|
+
// }
|
|
27
27
|
|
|
28
28
|
&, &:hover {
|
|
29
29
|
text-decoration: none !important;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
&__item_selected &__item-label {
|
|
33
|
-
background-color: $
|
|
33
|
+
background-color: $secondary;
|
|
34
34
|
&, &::before {
|
|
35
|
-
color: $
|
|
35
|
+
color: $text-color;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
&__item-label::before {
|
|
@@ -43,9 +43,8 @@
|
|
|
43
43
|
height: 20px;
|
|
44
44
|
font-size: 12px;
|
|
45
45
|
font-weight: bold;
|
|
46
|
-
font-family: $font-family-monospace;
|
|
47
46
|
margin-left: 10px;
|
|
48
|
-
color: $
|
|
47
|
+
color: $text-color;
|
|
49
48
|
position: relative;
|
|
50
49
|
top: 3px;
|
|
51
50
|
left: 3px;
|