@steroidsjs/bootstrap 3.0.1 → 3.0.3
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/CalendarSystem/AsideCalendars/AsideCalendars.scss +8 -3
- package/content/Chat/views/BubbleMessage/BubbleMessageView.js +1 -1
- package/content/Chat/views/BubbleMessage/BubbleMessageView.scss +15 -0
- package/content/Kanban/views/KanbanModal/KanbanModalView.js +3 -3
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/CreateOrEditTaskModalContentView.js +12 -1
- package/content/Slider/SliderView.js +1 -1
- package/form/CheckboxListField/CheckboxListFieldView.js +2 -1
- package/form/DropDownField/DropDownFieldView.scss +2 -0
- package/form/FileField/FileFieldView.js +4 -1
- package/form/FileField/FileFieldView.scss +3 -0
- package/form/HtmlField/HtmlFieldView.js +4 -28
- package/form/ImageField/ImageFieldModalView.js +1 -1
- package/form/ImageField/ImageFieldView.js +10 -3
- package/form/ImageField/ImageFieldView.scss +85 -7
- package/form/RadioListField/RadioListFieldView.js +2 -1
- package/form/SwitcherField/SwitcherFieldView.js +1 -1
- package/icons/index.js +1 -1
- package/icons/svgs/add_16x16.svg +3 -3
- package/icons/svgs/copy.svg +4 -4
- package/icons/svgs/cut.svg +2 -2
- package/icons/svgs/done-all_16x16.svg +4 -0
- package/icons/svgs/edit.svg +3 -3
- package/icons/svgs/expand_down.svg +2 -2
- package/icons/svgs/expand_up.svg +2 -2
- package/icons/svgs/paste.svg +7 -7
- package/icons/svgs/pin.svg +3 -3
- package/icons/svgs/trash.svg +5 -5
- package/package.json +2 -4
- package/scss/bootstrap-classes/flex.scss +8 -0
- package/scss/bootstrap-classes/spacing.scss +102 -164
- package/scss/mixins/index.scss +2 -1
- package/scss/mixins/invalidField.scss +16 -0
- package/scss/variables/common/spacing.scss +7 -0
- package/scss/variables/index.scss +1 -0
- package/icons/svgs/done-all.svg +0 -4
|
@@ -59,9 +59,8 @@ $calendar-system-separator-color: var(--calendar-system-separator-color);
|
|
|
59
59
|
|
|
60
60
|
&__content {
|
|
61
61
|
padding: 0;
|
|
62
|
-
padding-top: 0;
|
|
63
62
|
|
|
64
|
-
> .FieldLayoutView {
|
|
63
|
+
> .FieldLayoutView {
|
|
65
64
|
margin-bottom: 0;
|
|
66
65
|
}
|
|
67
66
|
}
|
|
@@ -97,11 +96,17 @@ $calendar-system-separator-color: var(--calendar-system-separator-color);
|
|
|
97
96
|
svg {
|
|
98
97
|
position: absolute;
|
|
99
98
|
width: 100%;
|
|
100
|
-
width: 100%;
|
|
101
99
|
top: 0;
|
|
102
100
|
left: 0;
|
|
103
101
|
right: 0;
|
|
104
102
|
bottom: 0;
|
|
103
|
+
|
|
104
|
+
rect {
|
|
105
|
+
fill: $calendar-system-icon-background-color;
|
|
106
|
+
}
|
|
107
|
+
path {
|
|
108
|
+
stroke: variables.$icon-color;
|
|
109
|
+
}
|
|
105
110
|
}
|
|
106
111
|
}
|
|
107
112
|
}
|
|
@@ -65,7 +65,7 @@ function BubbleMessageView(props) {
|
|
|
65
65
|
!(0, isEmpty_1["default"])(props.files) && (react_1["default"].createElement("div", { className: bem.element('files') }, props.files.map(function (file) { return (react_1["default"].createElement(ChatFileItem_1["default"], __assign({ key: file.uid, isFileByAnotherUser: isMessageByAnotherUser, isFileFromMessage: true }, file))); }))),
|
|
66
66
|
react_1["default"].createElement("div", { className: bem.element('indicators') },
|
|
67
67
|
react_1["default"].createElement(typography_1.Text, { className: bem.element('time'), type: "body3", content: timeAgo }),
|
|
68
|
-
props.isCurrentUser && (react_1["default"].createElement(Icon_1["default"], { className: bem.element('check'), name: "done-
|
|
68
|
+
props.isCurrentUser && (react_1["default"].createElement(Icon_1["default"], { className: bem.element('check'), name: "done-all_16x16" })))),
|
|
69
69
|
props.user && (react_1["default"].createElement("div", { className: bem.element('avatar') },
|
|
70
70
|
react_1["default"].createElement(Avatar_1.Avatar, { src: (_a = props.user.avatar) === null || _a === void 0 ? void 0 : _a.src, title: "".concat(props.user.firstName, " ").concat(props.user.lastName), status: (_b = props.user.avatar) === null || _b === void 0 ? void 0 : _b.status, size: 'sm' })))));
|
|
71
71
|
}
|
|
@@ -187,6 +187,21 @@ $another-user-message-time-color: var(--another-user-message-time-color);
|
|
|
187
187
|
|
|
188
188
|
&__check {
|
|
189
189
|
margin-left: 4px;
|
|
190
|
+
|
|
191
|
+
svg {
|
|
192
|
+
width: 16px;
|
|
193
|
+
height: 17px;
|
|
194
|
+
|
|
195
|
+
path {
|
|
196
|
+
&:first-child {
|
|
197
|
+
stroke: $message-text-color;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&:last-child {
|
|
201
|
+
fill: $message-text-color;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
190
205
|
}
|
|
191
206
|
|
|
192
207
|
.ChatFileItemView {
|
|
@@ -37,15 +37,15 @@ function KanbanModalView(props) {
|
|
|
37
37
|
var renderModalContent = (0, react_1.useCallback)(function (modalType) {
|
|
38
38
|
switch (modalType) {
|
|
39
39
|
case enums_1.KanbanModalTypeEnum.CREATE:
|
|
40
|
-
return (react_1["default"].createElement(CreateOrEditTaskModalContent_1["default"], { bem: bem, formId: props.formId, columns: props.columns, columnId: props.columnId, tags: props.tags, assigners: props.assigners, submitButtonLabel: __('Создать'), onSubmit: props.onSubmit }));
|
|
40
|
+
return (react_1["default"].createElement(CreateOrEditTaskModalContent_1["default"], { bem: bem, formId: props.formId, columns: props.columns, columnId: props.columnId, tags: props.tags, assigners: props.assigners, createTaskEditorConfig: props.createTaskEditorConfig, submitButtonLabel: __('Создать'), onSubmit: props.onSubmit }));
|
|
41
41
|
case enums_1.KanbanModalTypeEnum.DETAILS:
|
|
42
42
|
return (react_1["default"].createElement(TaskDetailsModalContent_1["default"], { bem: bem, task: props.task }));
|
|
43
43
|
case enums_1.KanbanModalTypeEnum.EDIT:
|
|
44
|
-
return (react_1["default"].createElement(CreateOrEditTaskModalContent_1["default"], { bem: bem, formId: props.formId, task: props.task, columns: props.columns, columnId: props.columnId, tags: props.tags, assigners: props.assigners, submitButtonLabel: __('Сохранить'), onSubmit: props.onSubmit }));
|
|
44
|
+
return (react_1["default"].createElement(CreateOrEditTaskModalContent_1["default"], { bem: bem, formId: props.formId, task: props.task, columns: props.columns, columnId: props.columnId, tags: props.tags, assigners: props.assigners, createTaskEditorConfig: props.createTaskEditorConfig, submitButtonLabel: __('Сохранить'), onSubmit: props.onSubmit }));
|
|
45
45
|
default:
|
|
46
46
|
return null;
|
|
47
47
|
}
|
|
48
|
-
}, [bem, props.assigners, props.columnId, props.columns, props.formId, props.onSubmit, props.tags, props.task]);
|
|
48
|
+
}, [bem, props.assigners, props.columnId, props.columns, props.createTaskEditorConfig, props.formId, props.onSubmit, props.tags, props.task]);
|
|
49
49
|
var renderModalButton = (0, react_1.useCallback)(function (modalType) { return modalType !== enums_1.KanbanModalTypeEnum.CREATE
|
|
50
50
|
? [{
|
|
51
51
|
icon: enums_1.KanbanModalTypeEnum.getModalIconByType(modalType),
|
|
@@ -1,4 +1,15 @@
|
|
|
1
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
|
+
};
|
|
2
13
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
14
|
if (k2 === undefined) k2 = k;
|
|
4
15
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -74,7 +85,7 @@ function CreateOrEditTaskModalContentView(props) {
|
|
|
74
85
|
react_1["default"].createElement("div", { className: props.bem.element('row') },
|
|
75
86
|
react_1["default"].createElement("div", { className: props.bem.element('label') }),
|
|
76
87
|
react_1["default"].createElement("div", { className: props.bem.element('right', 'html-field') },
|
|
77
|
-
react_1["default"].createElement(form_1.HtmlField, { attribute: "fullDescription", size: "md" }))),
|
|
88
|
+
react_1["default"].createElement(form_1.HtmlField, __assign({}, props.createTaskEditorConfig, { attribute: "fullDescription", size: "md" })))),
|
|
78
89
|
!!((_d = props.tags) === null || _d === void 0 ? void 0 : _d.length) && (react_1["default"].createElement("div", { className: props.bem.element('row', 'tags-field') },
|
|
79
90
|
react_1["default"].createElement(Label_1["default"], { className: props.bem.element('label'), content: __('Добавить теги') }),
|
|
80
91
|
react_1["default"].createElement("div", { className: props.bem.element('right', 'column') },
|
|
@@ -15,7 +15,7 @@ function SliderView(props) {
|
|
|
15
15
|
var Splide = react_splide_1.Splide;
|
|
16
16
|
var ItemView = props.itemView;
|
|
17
17
|
return (react_1["default"].createElement("div", { className: bem(bem.block(), props.className), style: props.style },
|
|
18
|
-
react_1["default"].createElement(Splide, { options: props.sliderOptions, extensions: props.extensions, hasTrack: props.hasTrack, tag: props.tag, transition: props.transition }, (_a = props.items) === null || _a === void 0 ? void 0 : _a.map(function (item, itemIndex) { return (react_1["default"].createElement(react_splide_1.SplideSlide, { key: itemIndex },
|
|
18
|
+
react_1["default"].createElement(Splide, { options: props.sliderOptions, extensions: props.extensions, hasTrack: props.hasTrack, tag: props.tag, transition: props.transition, ref: props.ref }, (_a = props.items) === null || _a === void 0 ? void 0 : _a.map(function (item, itemIndex) { return (react_1["default"].createElement(react_splide_1.SplideSlide, { key: itemIndex },
|
|
19
19
|
react_1["default"].createElement(ItemView, { item: item }))); }))));
|
|
20
20
|
}
|
|
21
21
|
exports["default"] = SliderView;
|
|
@@ -46,7 +46,10 @@ function FileFieldView(props) {
|
|
|
46
46
|
var ButtonView = props.buttonView || Button_1["default"];
|
|
47
47
|
var FileItemView = props.itemView;
|
|
48
48
|
var isWall = props.filesLayout === FileField_1.FilesLayout.wall;
|
|
49
|
-
return (React.createElement("div", { className: bem(bem.block({
|
|
49
|
+
return (React.createElement("div", { className: bem(bem.block({
|
|
50
|
+
isWall: isWall,
|
|
51
|
+
'is-invalid': !!props.errors
|
|
52
|
+
}), props.className) },
|
|
50
53
|
React.createElement(ButtonView, __assign({ className: bem.element('button', { isWall: isWall }), icon: isWall ? 'add' : 'import' }, props.buttonProps)),
|
|
51
54
|
React.createElement("div", { className: bem(bem.element('files')) }, props.items.map(function (item) { return (React.createElement(FileItemView, __assign({ key: item.uid, filesLayout: props.filesLayout, imagesOnly: props.imagesOnly, customRemoveIcon: props.customRemoveIcon }, item, props.itemProps))); }))));
|
|
52
55
|
}
|
|
@@ -1,41 +1,17 @@
|
|
|
1
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
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
4
|
};
|
|
28
5
|
exports.__esModule = true;
|
|
29
|
-
var
|
|
30
|
-
var ckeditor5_react_1 = require("@ckeditor/ckeditor5-react");
|
|
31
|
-
var ckeditor5_build_classic_1 = __importDefault(require("@steroidsjs/ckeditor5/packages/ckeditor5-build-classic"));
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
32
7
|
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
33
8
|
function HtmlFieldView(props) {
|
|
34
9
|
var bem = (0, hooks_1.useBem)('HtmlFieldView');
|
|
10
|
+
var HtmlComponent = props.htmlComponent;
|
|
35
11
|
if (process.env.IS_SSR) {
|
|
36
12
|
return null;
|
|
37
13
|
}
|
|
38
|
-
return (
|
|
39
|
-
|
|
14
|
+
return (react_1["default"].createElement("div", { className: bem.block() },
|
|
15
|
+
react_1["default"].createElement(HtmlComponent, { editor: props.editorConstructor, disabled: props.disabled, config: props.editorProps, data: !props.input.value ? '' : props.input.value, onChange: props.onChange, onFocus: props.onFocus, onBlur: props.onBlur })));
|
|
40
16
|
}
|
|
41
17
|
exports["default"] = HtmlFieldView;
|
|
@@ -48,7 +48,7 @@ function ImageFieldModalView(props) {
|
|
|
48
48
|
//TODO Исправить тип, связано с yarn tsc в action publish.yml
|
|
49
49
|
var ReactCrop = react_image_crop_1["default"];
|
|
50
50
|
var _a = (0, react_1.useState)(props.crop.initialValues), crop = _a[0], setCrop = _a[1];
|
|
51
|
-
return (React.createElement(Modal_1["default"], { className: bem.block(), title: props.title || __('Выберите область изображения'), onClose: props.onClose,
|
|
51
|
+
return (React.createElement(Modal_1["default"], { className: bem.block(), title: props.title || __('Выберите область изображения'), onClose: props.onClose, buttons: [{
|
|
52
52
|
label: __(('Сохранить')),
|
|
53
53
|
onClick: function () {
|
|
54
54
|
props.onClose();
|
|
@@ -42,18 +42,25 @@ var hooks_1 = require("@steroidsjs/core/hooks");
|
|
|
42
42
|
var Icon_1 = __importDefault(require("@steroidsjs/core/ui/content/Icon"));
|
|
43
43
|
var form_1 = require("@steroidsjs/core/ui/form");
|
|
44
44
|
function ImageFieldView(props) {
|
|
45
|
+
var _a;
|
|
45
46
|
var bem = (0, hooks_1.useBem)('ImageFieldView');
|
|
46
47
|
var item = props.item;
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
var srcImage = React.useMemo(function () { return (item === null || item === void 0 ? void 0 : item.image) ? item.image.url + '?w=' + item.image.width + '&h=' + item.image.height : ''; }, [item]);
|
|
49
|
+
return (React.createElement("div", { className: bem(bem.block({
|
|
50
|
+
'is-invalid': !!props.errors
|
|
51
|
+
}), props.className) }, !item || !item.image ? (React.createElement(form_1.Button, __assign({ className: bem.element('button', {
|
|
52
|
+
loading: item ? item.progress : false,
|
|
53
|
+
hasErrors: !!props.errors
|
|
49
54
|
}), onClick: props.onClick }, props.buttonProps),
|
|
50
55
|
!item || !item.progress ? (React.createElement(Icon_1["default"], { className: bem.element('button-icon'), name: 'add' })) : (React.createElement("div", { className: bem.element('progress-bar') },
|
|
51
56
|
React.createElement("div", { className: bem.element('progress-slider'), style: {
|
|
52
57
|
width: "".concat(item ? item.progress.percent : 0, "%")
|
|
53
58
|
} }))),
|
|
54
59
|
React.createElement("span", { className: bem.element('button-label') }, !item || !item.progress ? props.label : 'Uploading...'))) : (React.createElement("div", { className: bem.element('content') },
|
|
55
|
-
React.createElement("img", { className: bem.element('image'), src:
|
|
60
|
+
React.createElement("img", { className: bem.element('image'), src: srcImage, width: item.image.width, height: item.image.height, alt: item.title }),
|
|
56
61
|
React.createElement("div", { className: bem.element('image-controls') },
|
|
62
|
+
React.createElement("a", { className: bem.element('show-icon'), href: (_a = item.image.url) !== null && _a !== void 0 ? _a : '#', target: 'blank' },
|
|
63
|
+
React.createElement(Icon_1["default"], { name: 'view' })),
|
|
57
64
|
React.createElement(Icon_1["default"], { className: bem.element('delete-icon'), name: 'trash', onClick: item.onRemove }))))));
|
|
58
65
|
}
|
|
59
66
|
exports["default"] = ImageFieldView;
|
|
@@ -1,21 +1,75 @@
|
|
|
1
1
|
@use "../../scss/variables";
|
|
2
|
+
@use '../../scss/mixins';
|
|
3
|
+
|
|
4
|
+
:root {
|
|
5
|
+
--image-field-bottom-border-color: #9088a1;
|
|
6
|
+
--image-field-bottom-hover-border-color: #6f6b76;
|
|
7
|
+
--image-controls-icon-color: #ffffff;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
$image-field-bottom-border-color: var(--image-field-bottom-border-color);
|
|
11
|
+
$image-field-bottom-hover-border-color: var(
|
|
12
|
+
--image-field-bottom-hover-border-color
|
|
13
|
+
);
|
|
14
|
+
$image-controls-icon-color: var(--image-controls-icon-color);
|
|
2
15
|
|
|
3
16
|
.ImageFieldView {
|
|
4
17
|
$root: &;
|
|
18
|
+
width: 128px;
|
|
19
|
+
height: 128px;
|
|
20
|
+
|
|
21
|
+
@include mixins.invalid-button-field($root);
|
|
5
22
|
|
|
6
23
|
&__button {
|
|
7
24
|
display: flex;
|
|
8
25
|
align-items: center;
|
|
9
|
-
|
|
26
|
+
background-color: variables.$gray;
|
|
27
|
+
width: 100%;
|
|
28
|
+
height: 100%;
|
|
29
|
+
border-radius: 20px;
|
|
30
|
+
border: 1px dashed $image-field-bottom-border-color;
|
|
31
|
+
|
|
32
|
+
&:hover {
|
|
33
|
+
background-color: variables.$gray-dark;
|
|
34
|
+
border-color: $image-field-bottom-hover-border-color;
|
|
35
|
+
|
|
36
|
+
svg path {
|
|
37
|
+
stroke: variables.$text-color;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
10
40
|
|
|
11
41
|
&_loading {
|
|
12
42
|
pointer-events: none;
|
|
13
43
|
}
|
|
44
|
+
|
|
45
|
+
&_hasErrors {
|
|
46
|
+
border-color: variables.$danger;
|
|
47
|
+
border-style: solid;
|
|
48
|
+
background-color: variables.$background-color;
|
|
49
|
+
|
|
50
|
+
#{$root}__button-label {
|
|
51
|
+
color: variables.$danger;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
svg path {
|
|
55
|
+
stroke: variables.$danger;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:hover {
|
|
59
|
+
border-color: variables.$danger;
|
|
60
|
+
|
|
61
|
+
svg path {
|
|
62
|
+
stroke: variables.$danger;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
14
66
|
}
|
|
15
67
|
|
|
16
68
|
.ButtonView__text {
|
|
17
69
|
display: flex;
|
|
18
|
-
|
|
70
|
+
gap: 6px;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
align-items: center;
|
|
19
73
|
}
|
|
20
74
|
|
|
21
75
|
&__button-label {
|
|
@@ -24,7 +78,7 @@
|
|
|
24
78
|
}
|
|
25
79
|
|
|
26
80
|
&__progress-bar {
|
|
27
|
-
width:
|
|
81
|
+
width: 40px;
|
|
28
82
|
height: 4px;
|
|
29
83
|
border-radius: 100px;
|
|
30
84
|
background: #cccccc;
|
|
@@ -39,7 +93,7 @@
|
|
|
39
93
|
|
|
40
94
|
&__content {
|
|
41
95
|
position: relative;
|
|
42
|
-
border-radius:
|
|
96
|
+
border-radius: 20px;
|
|
43
97
|
width: 100%;
|
|
44
98
|
height: 100%;
|
|
45
99
|
border: 1px solid #cccccc;
|
|
@@ -59,21 +113,41 @@
|
|
|
59
113
|
align-items: center;
|
|
60
114
|
justify-content: center;
|
|
61
115
|
opacity: 0;
|
|
116
|
+
gap: 16px;
|
|
62
117
|
transition: opacity 0.15s;
|
|
63
118
|
|
|
119
|
+
.IconView {
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
svg {
|
|
122
|
+
z-index: 1;
|
|
123
|
+
rect {
|
|
124
|
+
fill: $image-controls-icon-color;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
path,
|
|
128
|
+
circle {
|
|
129
|
+
stroke: $image-controls-icon-color;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.MenuView__button svg {
|
|
135
|
+
width: 20px;
|
|
136
|
+
height: 24px;
|
|
137
|
+
}
|
|
138
|
+
|
|
64
139
|
&:before {
|
|
65
140
|
content: '';
|
|
66
141
|
position: absolute;
|
|
67
142
|
inset: 0;
|
|
68
143
|
opacity: 0.6;
|
|
69
144
|
background: #343a40;
|
|
70
|
-
border-radius:
|
|
145
|
+
border-radius: 16px;
|
|
71
146
|
}
|
|
72
147
|
}
|
|
73
148
|
|
|
74
|
-
|
|
75
149
|
&__image {
|
|
76
|
-
border-radius:
|
|
150
|
+
border-radius: 16px;
|
|
77
151
|
display: block;
|
|
78
152
|
width: 100%;
|
|
79
153
|
height: 100%;
|
|
@@ -88,4 +162,8 @@
|
|
|
88
162
|
fill: #ffffff;
|
|
89
163
|
}
|
|
90
164
|
}
|
|
165
|
+
|
|
166
|
+
&__show-icon {
|
|
167
|
+
display: flex;
|
|
168
|
+
}
|
|
91
169
|
}
|
|
@@ -48,7 +48,7 @@ function SwitcherFieldView(props) {
|
|
|
48
48
|
return (React.createElement("div", { className: bem(bem.block(), props.className), style: props.style }, props.items.map(function (switcher, switcherIndex) { return (React.createElement("label", { key: switcherIndex, className: bem.element('switcher', {
|
|
49
49
|
size: props.size
|
|
50
50
|
}), htmlFor: "".concat(prefix, "_").concat(switcher.id) },
|
|
51
|
-
React.createElement("input", __assign({}, props.inputProps, { id: "".concat(prefix, "_").concat(switcher.id), onChange: function () { return props.onItemSelect(switcher.id); }, checked: props.selectedIds.includes(switcher.id), className: bem.element('input') })),
|
|
51
|
+
React.createElement("input", __assign({}, props.inputProps, { id: "".concat(prefix, "_").concat(switcher.id), onChange: function () { return props.onItemSelect(switcher.id); }, checked: props.selectedIds.includes(switcher.id), className: bem.element('input'), required: switcher.required })),
|
|
52
52
|
React.createElement("span", { className: bem.element('slider') }),
|
|
53
53
|
React.createElement("span", { className: bem.element('label') }, renderLabel(switcher)))); })));
|
|
54
54
|
}
|
package/icons/index.js
CHANGED
package/icons/svgs/add_16x16.svg
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="16" height="
|
|
2
|
-
<path d="M8
|
|
3
|
-
<path d="M12
|
|
1
|
+
<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8 4.44916L8 12.4492" stroke="#323232" stroke-linecap="round"/>
|
|
3
|
+
<path d="M12 8.44916L4 8.44916" stroke="#323232" stroke-linecap="round"/>
|
|
4
4
|
</svg>
|
package/icons/svgs/copy.svg
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path d="
|
|
3
|
-
<path d="
|
|
4
|
-
<path d="
|
|
1
|
+
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M7 5.64922C7 4.52911 7 3.96906 7.21799 3.54124C7.40973 3.16491 7.71569 2.85895 8.09202 2.66721C8.51984 2.44922 9.07989 2.44922 10.2 2.44922H13.6745C14.1637 2.44922 14.4083 2.44922 14.6385 2.50448C14.8425 2.55347 15.0376 2.63428 15.2166 2.74394C15.4184 2.86762 15.5914 3.04057 15.9373 3.38648L19.0627 6.51196C19.4086 6.85786 19.5816 7.03082 19.7053 7.23265C19.8149 7.41159 19.8957 7.60668 19.9447 7.81076C20 8.04093 20 8.28552 20 8.7747V16.2492C20 17.3693 20 17.9294 19.782 18.3572C19.5903 18.7335 19.2843 19.0395 18.908 19.2312C18.4802 19.4492 17.9201 19.4492 16.8 19.4492H10.2C9.07989 19.4492 8.51984 19.4492 8.09202 19.2312C7.71569 19.0395 7.40973 18.7335 7.21799 18.3572C7 17.9294 7 17.3693 7 16.2492V5.64922Z" stroke="#323232"/>
|
|
3
|
+
<path d="M4 5.44922V16.0492C4 18.2894 4 19.4095 4.43597 20.2652C4.81947 21.0178 5.43139 21.6298 6.18404 22.0132C7.03968 22.4492 8.15979 22.4492 10.4 22.4492H17" stroke="#323232" stroke-linecap="round"/>
|
|
4
|
+
<path d="M14 2.44922V6.04922C14 6.8893 14 7.30934 14.1635 7.6302C14.3073 7.91245 14.5368 8.14192 14.819 8.28573C15.1399 8.44922 15.5599 8.44922 16.4 8.44922H20" stroke="#323232"/>
|
|
5
5
|
</svg>
|
package/icons/svgs/cut.svg
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path d="
|
|
1
|
+
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.616 16.7349C8.76 17.0206 8.76 17.3064 8.76 17.5921C8.76 19.1635 7.464 20.4492 5.88 20.4492C4.296 20.4492 3 19.1635 3 17.5921C3 16.0206 4.296 14.7349 5.88 14.7349C6.168 14.7349 6.312 14.7349 6.456 14.8778M10.776 14.5921L16.824 20.4492H20.856L8.616 8.30636C8.76 8.02065 8.76 7.87779 8.76 7.59208C8.76 6.02065 7.464 4.73493 5.88 4.73493C4.296 4.73493 3 6.02065 3 7.59208C3 9.1635 4.296 10.4492 5.88 10.4492C6.168 10.4492 6.456 10.4492 6.6 10.3064L8.76 12.5921M10.776 14.5921L8.76 12.5921M10.776 14.5921L7.752 15.5921L8.76 12.5921M12.216 9.02065L16.968 4.44922H21L14.376 11.1635" stroke="#323232" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
3
|
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M0.999998 9.54013L3.04198 10.9479C3.45739 11.2342 4.02106 11.1663 4.35652 10.7894L10 4.44922" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.51172 11.0044L7.80074 11.2332C8.4406 11.74 9.36817 11.6421 9.88816 11.0129L15.05 4.76777C15.2259 4.55493 15.196 4.23976 14.9831 4.06384C14.7703 3.88791 14.4551 3.91784 14.2792 4.13069L9.11737 10.3759C8.94404 10.5856 8.63485 10.6182 8.42156 10.4493L8.17769 10.2562L7.51172 11.0044Z" fill="#323232"/>
|
|
4
|
+
</svg>
|
package/icons/svgs/edit.svg
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path d="
|
|
3
|
-
<path d="
|
|
1
|
+
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M5.92971 19.7322L5.92972 19.7322L5.95149 19.7267L5.95151 19.7267L8.58384 19.0686C8.59896 19.0649 8.61396 19.0611 8.62885 19.0574C8.85159 19.002 9.04877 18.9529 9.2278 18.8516C9.40683 18.7502 9.55035 18.6064 9.71248 18.4439C9.72332 18.433 9.73425 18.4221 9.74527 18.4111L16.9393 11.217L16.9393 11.217L16.9626 11.1937C17.2761 10.8803 17.5461 10.6103 17.7333 10.3649C17.9339 10.102 18.0858 9.8096 18.0858 9.44922C18.0858 9.08883 17.9339 8.79641 17.7333 8.53349C17.5461 8.28816 17.276 8.01812 16.9626 7.70472L16.9393 7.68145L16.5858 8.035L16.9393 7.68145L16.7678 7.50988L16.7445 7.4866C16.4311 7.17317 16.1611 6.9031 15.9157 6.71592C15.6528 6.51532 15.3604 6.36343 15 6.36343C14.6396 6.36343 14.3472 6.51532 14.0843 6.71592C13.8389 6.9031 13.5689 7.17317 13.2555 7.48661L13.2322 7.50988L6.03816 14.704C6.02714 14.715 6.01619 14.7259 6.00533 14.7367C5.84286 14.8989 5.69903 15.0424 5.59766 15.2214C5.4963 15.4005 5.44723 15.5976 5.39179 15.8204C5.38809 15.8353 5.38435 15.8503 5.38057 15.8654L4.71704 18.5195C4.71483 18.5284 4.7126 18.5373 4.71036 18.5462C4.67112 18.7029 4.62921 18.8702 4.61546 19.0108C4.60032 19.1655 4.60385 19.4265 4.81326 19.636C5.02267 19.8454 5.28373 19.8489 5.43846 19.8338C5.57899 19.82 5.74633 19.7781 5.90301 19.7389C5.91195 19.7366 5.92085 19.7344 5.92971 19.7322Z" stroke="#323232"/>
|
|
3
|
+
<path d="M12.5 7.94922L16.5 11.9492" stroke="#323232"/>
|
|
4
4
|
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="24" height="
|
|
2
|
-
<path d="
|
|
1
|
+
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16 10.4492L12 14.4492L8 10.4492" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
3
|
</svg>
|
package/icons/svgs/expand_up.svg
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path d="
|
|
1
|
+
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16 14.4492L12 10.4492L8 14.4492" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
3
|
</svg>
|
package/icons/svgs/paste.svg
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path d="
|
|
3
|
-
<rect x="
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
6
|
-
<path d="
|
|
7
|
-
<rect x="
|
|
1
|
+
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M6.4158 21.4492C4.94921 21.4492 4.21591 21.4492 3.7603 20.8634C3.30469 20.2776 3.30469 19.3348 3.30469 17.4492V7.44922C3.30469 5.5636 3.30469 4.62079 3.7603 4.03501C4.21591 3.44922 4.94921 3.44922 6.4158 3.44922M14.1936 3.44922C15.6602 3.44922 16.3935 3.44922 16.8491 4.03501C17.3047 4.62079 17.3047 5.5636 17.3047 7.44922" stroke="#323232"/>
|
|
3
|
+
<rect x="8.69531" y="9.53784" width="12" height="14" rx="3" stroke="#323232"/>
|
|
4
|
+
<path d="M11.6953 12.5378L15.6953 12.5378" stroke="#323232" stroke-linecap="round"/>
|
|
5
|
+
<path d="M11.6953 20.5378L14.6953 20.5378" stroke="#323232" stroke-linecap="round"/>
|
|
6
|
+
<path d="M11.6953 16.5378L17.6953 16.5378" stroke="#323232" stroke-linecap="round"/>
|
|
7
|
+
<rect x="6.30469" y="1.44922" width="8" height="4" rx="2" stroke="#323232"/>
|
|
8
8
|
</svg>
|
package/icons/svgs/pin.svg
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path d="
|
|
3
|
-
<path d="
|
|
1
|
+
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.6358 4.35871C15.2888 3.92334 15.6153 3.70565 15.9711 3.74088C16.3269 3.77611 16.6044 4.05361 17.1594 4.6086L19.8406 7.28984C20.3956 7.84483 20.6731 8.12233 20.7083 8.4781C20.7436 8.83387 20.5259 9.1604 20.0905 9.81345L18.4419 12.2864C17.88 13.1292 17.5991 13.5506 17.3749 14.0003C17.2086 14.3337 17.0659 14.6784 16.9476 15.0317C16.7882 15.5083 16.6889 16.0049 16.4902 16.9981L16.2992 17.953C16.2986 17.9564 16.2982 17.9581 16.298 17.9593C16.1556 18.6622 15.3414 18.9911 14.7508 18.5844C14.7497 18.5836 14.7483 18.5827 14.7455 18.5807V18.5807C14.7322 18.5715 14.7255 18.5669 14.7189 18.5623C11.2692 16.1717 8.27754 13.18 5.88691 9.7303C5.88233 9.72369 5.87772 9.71704 5.86851 9.70373V9.70373C5.86655 9.70091 5.86558 9.6995 5.86486 9.69846C5.45815 9.1078 5.78704 8.29366 6.4899 8.15124C6.49113 8.15099 6.49282 8.15066 6.49618 8.14998L7.45114 7.95899C8.44433 7.76035 8.94092 7.66103 9.4175 7.50158C9.77083 7.38337 10.1155 7.24061 10.4489 7.07436C10.8987 6.85011 11.32 6.5692 12.1628 6.00737L14.6358 4.35871Z" stroke="#323232"/>
|
|
3
|
+
<path d="M5 19.4492L9.5 14.9492" stroke="#323232" stroke-linecap="round"/>
|
|
4
4
|
</svg>
|
package/icons/svgs/trash.svg
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path d="
|
|
3
|
-
<path d="
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
1
|
+
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M9.5 14.9492L9.5 11.9492" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M14.5 14.9492L14.5 11.9492" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M3 6.94922H21V6.94922C19.5955 6.94922 18.8933 6.94922 18.3889 7.28628C18.1705 7.4322 17.983 7.6197 17.8371 7.83808C17.5 8.34253 17.5 9.04476 17.5 10.4492V15.9492C17.5 17.8348 17.5 18.7776 16.9142 19.3634C16.3284 19.9492 15.3856 19.9492 13.5 19.9492H10.5C8.61438 19.9492 7.67157 19.9492 7.08579 19.3634C6.5 18.7776 6.5 17.8348 6.5 15.9492V10.4492C6.5 9.04476 6.5 8.34253 6.16294 7.83808C6.01702 7.6197 5.82952 7.4322 5.61114 7.28628C5.10669 6.94922 4.40446 6.94922 3 6.94922V6.94922Z" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M9.5 3.94946C9.5 3.94946 10 2.94922 12 2.94922C14 2.94922 14.5 3.94922 14.5 3.94922" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
6
|
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steroidsjs/bootstrap",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Vladimir Kozhin <hello@kozhindev.com>",
|
|
@@ -18,9 +18,7 @@
|
|
|
18
18
|
"url": "https://github.com/steroids/react-bootstrap/issues"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-react": "^3.0.2",
|
|
22
21
|
"@splidejs/react-splide": "^0.7.12",
|
|
23
|
-
"@steroidsjs/ckeditor5": "^27.0.2-rc.2",
|
|
24
22
|
"date-fns": "^2.29.3",
|
|
25
23
|
"lodash": "^4.17.20",
|
|
26
24
|
"lodash-es": "^4.17.20",
|
|
@@ -37,7 +35,7 @@
|
|
|
37
35
|
"react-use": "^17.4.0"
|
|
38
36
|
},
|
|
39
37
|
"devDependencies": {
|
|
40
|
-
"@steroidsjs/core": "^3.0.
|
|
38
|
+
"@steroidsjs/core": "^3.0.3",
|
|
41
39
|
"@steroidsjs/eslint-config": "^2.1.6",
|
|
42
40
|
"@types/enzyme": "^3.10.8",
|
|
43
41
|
"@types/googlemaps": "^3.43.3",
|
|
@@ -1,181 +1,119 @@
|
|
|
1
|
-
|
|
2
|
-
.m-1 {
|
|
3
|
-
margin: 0.25rem;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.m-2 {
|
|
7
|
-
margin: 0.5rem;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.m-3 {
|
|
11
|
-
margin: 1rem;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.m-horizontal-1 {
|
|
15
|
-
margin-left: 0.25rem;
|
|
16
|
-
margin-right: 0.25rem;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.m-horizontal-2 {
|
|
20
|
-
margin-left: 0.5rem;
|
|
21
|
-
margin-right: 0.5rem;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.m-horizontal-3 {
|
|
25
|
-
margin-left: 1rem;
|
|
26
|
-
margin-right: 1rem;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.m-vertical-1 {
|
|
30
|
-
margin-top: 0.25rem;
|
|
31
|
-
margin-bottom: 0.25rem;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.m-vertical-2 {
|
|
35
|
-
margin-top: 0.5rem;
|
|
36
|
-
margin-bottom: 0.5rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.m-vertical-3 {
|
|
40
|
-
margin-top: 1rem;
|
|
41
|
-
margin-bottom: 1rem;
|
|
42
|
-
}
|
|
1
|
+
@use "../variables";
|
|
43
2
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.mb-3 {
|
|
53
|
-
margin-bottom: 1rem;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.mt-1 {
|
|
57
|
-
margin-top: 0.25rem;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.mt-2 {
|
|
61
|
-
margin-top: 0.5rem;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.mt-3 {
|
|
65
|
-
margin-top: 1rem;
|
|
3
|
+
// margin
|
|
4
|
+
.m {
|
|
5
|
+
@each $key, $value in variables.$spacing {
|
|
6
|
+
&-#{$key} {
|
|
7
|
+
margin: $value;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
66
10
|
}
|
|
67
11
|
|
|
68
|
-
.
|
|
69
|
-
|
|
12
|
+
.m-horizontal {
|
|
13
|
+
@each $key, $value in variables.$spacing {
|
|
14
|
+
&-#{$key} {
|
|
15
|
+
margin-left: $value;
|
|
16
|
+
margin-right: $value;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
70
19
|
}
|
|
71
20
|
|
|
72
|
-
.
|
|
73
|
-
|
|
21
|
+
.m-vertical {
|
|
22
|
+
@each $key, $value in variables.$spacing {
|
|
23
|
+
&-#{$key} {
|
|
24
|
+
margin-top: $value;
|
|
25
|
+
margin-bottom: $value;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
74
28
|
}
|
|
75
29
|
|
|
76
|
-
.
|
|
77
|
-
|
|
30
|
+
.mb {
|
|
31
|
+
@each $key, $value in variables.$spacing {
|
|
32
|
+
&-#{$key} {
|
|
33
|
+
margin-bottom: $value;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
78
36
|
}
|
|
79
37
|
|
|
80
|
-
.
|
|
81
|
-
|
|
38
|
+
.mt {
|
|
39
|
+
@each $key, $value in variables.$spacing {
|
|
40
|
+
&-#{$key} {
|
|
41
|
+
margin-top: $value;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
82
44
|
}
|
|
83
45
|
|
|
84
|
-
.
|
|
85
|
-
|
|
46
|
+
.mr {
|
|
47
|
+
@each $key, $value in variables.$spacing {
|
|
48
|
+
&-#{$key} {
|
|
49
|
+
margin-right: $value;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
86
52
|
}
|
|
87
53
|
|
|
88
|
-
.ml
|
|
89
|
-
|
|
54
|
+
.ml {
|
|
55
|
+
@each $key, $value in variables.$spacing {
|
|
56
|
+
&-#{$key} {
|
|
57
|
+
margin-left: $value;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
90
60
|
}
|
|
91
61
|
|
|
92
62
|
// padding
|
|
93
|
-
.p
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.p-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.p-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.pt-2 {
|
|
152
|
-
padding-top: 0.5rem;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.pt-3 {
|
|
156
|
-
padding-top: 1rem;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.pr-1 {
|
|
160
|
-
padding-right: 0.25rem;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.pr-2 {
|
|
164
|
-
padding-right: 0.5rem;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.pr-3 {
|
|
168
|
-
padding-right: 1rem;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.pl-1 {
|
|
172
|
-
padding-left: 0.25rem;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.pl-2 {
|
|
176
|
-
padding-left: 0.5rem;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.pl-3 {
|
|
180
|
-
padding-left: 1rem;
|
|
63
|
+
.p {
|
|
64
|
+
@each $key, $value in variables.$spacing {
|
|
65
|
+
&-#{$key} {
|
|
66
|
+
margin-left: $value;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.p-horizontal {
|
|
72
|
+
@each $key, $value in variables.$spacing {
|
|
73
|
+
&-#{$key} {
|
|
74
|
+
padding-left: $value;
|
|
75
|
+
padding-right: $value;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.p-vertical {
|
|
81
|
+
@each $key, $value in variables.$spacing {
|
|
82
|
+
&-#{$key} {
|
|
83
|
+
padding-top: $value;
|
|
84
|
+
padding-bottom: $value;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.pb {
|
|
90
|
+
@each $key, $value in variables.$spacing {
|
|
91
|
+
&-#{$key} {
|
|
92
|
+
padding-bottom: $value;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.pt {
|
|
98
|
+
@each $key, $value in variables.$spacing {
|
|
99
|
+
&-#{$key} {
|
|
100
|
+
padding-top: $value;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.pr {
|
|
106
|
+
@each $key, $value in variables.$spacing {
|
|
107
|
+
&-#{$key} {
|
|
108
|
+
padding-right: $value;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.pl {
|
|
114
|
+
@each $key, $value in variables.$spacing {
|
|
115
|
+
&-#{$key} {
|
|
116
|
+
padding-left: $value;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
181
119
|
}
|
package/scss/mixins/index.scss
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../variables/index" as variables;
|
|
3
|
+
|
|
4
|
+
@mixin invalid-field($root) {
|
|
5
|
+
&_is-invalid {
|
|
6
|
+
border: 1px solid variables.$danger !important;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@mixin invalid-button-field($root) {
|
|
11
|
+
&_is-invalid {
|
|
12
|
+
button {
|
|
13
|
+
border-color: variables.$danger !important;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
package/icons/svgs/done-all.svg
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
2
|
-
<path d="M0.999998 9.09091L3.04198 10.4986C3.45739 10.785 4.02106 10.7171 4.35652 10.3402L10 4" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.51367 10.5551L7.80269 10.784C8.44255 11.2907 9.37013 11.1928 9.89012 10.5637L15.0519 4.31856C15.2279 4.10571 15.1979 3.79054 14.9851 3.61462C14.7722 3.43869 14.4571 3.46862 14.2811 3.68147L9.11932 9.92663C8.94599 10.1363 8.6368 10.169 8.42351 10.0001L8.17965 9.80694L7.51367 10.5551Z" fill="white"/>
|
|
4
|
-
</svg>
|