@steroidsjs/bootstrap 3.0.0-beta.98 → 3.0.0

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.
Files changed (189) hide show
  1. package/content/Calendar/CalendarView.js +9 -4
  2. package/content/Calendar/CaptionElement.js +6 -3
  3. package/content/CalendarSystem/AsideCalendars/AsideCalendars.d.ts +12 -0
  4. package/content/CalendarSystem/AsideCalendars/AsideCalendars.js +43 -0
  5. package/content/CalendarSystem/AsideCalendars/AsideCalendars.scss +107 -0
  6. package/content/CalendarSystem/AsideCalendars/index.d.ts +2 -0
  7. package/content/CalendarSystem/AsideCalendars/index.js +7 -0
  8. package/content/CalendarSystem/AsideHeader/AsideHeader.d.ts +9 -0
  9. package/content/CalendarSystem/AsideHeader/AsideHeader.js +40 -0
  10. package/content/CalendarSystem/AsideHeader/AsideHeader.scss +41 -0
  11. package/content/CalendarSystem/AsideHeader/index.d.ts +2 -0
  12. package/content/CalendarSystem/AsideHeader/index.js +7 -0
  13. package/content/CalendarSystem/CalendarSystemEventGroupModalView.d.ts +2 -0
  14. package/content/CalendarSystem/CalendarSystemEventGroupModalView.js +25 -0
  15. package/content/CalendarSystem/CalendarSystemEventGroupModalView.scss +53 -0
  16. package/content/CalendarSystem/CalendarSystemModalView.d.ts +2 -0
  17. package/content/CalendarSystem/CalendarSystemModalView.js +54 -0
  18. package/content/CalendarSystem/CalendarSystemModalView.scss +84 -0
  19. package/content/CalendarSystem/CalendarSystemView.d.ts +2 -0
  20. package/content/CalendarSystem/CalendarSystemView.js +44 -0
  21. package/content/CalendarSystem/CalendarSystemView.scss +50 -0
  22. package/content/CalendarSystem/ContentHeader/ContentHeader.d.ts +10 -0
  23. package/content/CalendarSystem/ContentHeader/ContentHeader.js +26 -0
  24. package/content/CalendarSystem/ContentHeader/ContentHeader.scss +57 -0
  25. package/content/CalendarSystem/ContentHeader/index.d.ts +2 -0
  26. package/content/CalendarSystem/ContentHeader/index.js +7 -0
  27. package/content/CalendarSystem/MonthGrid/MonthGrid.d.ts +14 -0
  28. package/content/CalendarSystem/MonthGrid/MonthGrid.js +39 -0
  29. package/content/CalendarSystem/MonthGrid/MonthGrid.scss +41 -0
  30. package/content/CalendarSystem/MonthGrid/index.d.ts +2 -0
  31. package/content/CalendarSystem/MonthGrid/index.js +7 -0
  32. package/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDay.d.ts +11 -0
  33. package/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDay.js +73 -0
  34. package/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDay.scss +126 -0
  35. package/content/CalendarSystem/MonthGrid/views/MonthDay/index.d.ts +2 -0
  36. package/content/CalendarSystem/MonthGrid/views/MonthDay/index.js +7 -0
  37. package/content/CalendarSystem/WeekGrid/WeekGrid.d.ts +14 -0
  38. package/content/CalendarSystem/WeekGrid/WeekGrid.js +25 -0
  39. package/content/CalendarSystem/WeekGrid/WeekGrid.scss +154 -0
  40. package/content/CalendarSystem/WeekGrid/index.d.ts +2 -0
  41. package/content/CalendarSystem/WeekGrid/index.js +7 -0
  42. package/content/CalendarSystem/WeekGrid/views/WeekHour/WeekHour.d.ts +12 -0
  43. package/content/CalendarSystem/WeekGrid/views/WeekHour/WeekHour.js +79 -0
  44. package/content/CalendarSystem/WeekGrid/views/WeekHour/WeekHour.scss +108 -0
  45. package/content/CalendarSystem/WeekGrid/views/WeekHour/index.d.ts +2 -0
  46. package/content/CalendarSystem/WeekGrid/views/WeekHour/index.js +7 -0
  47. package/content/Chart/ChartView.js +12 -2
  48. package/content/Chart/ChartView.scss +35 -4
  49. package/content/Chat/ChatView.d.ts +2 -0
  50. package/content/Chat/ChatView.js +62 -0
  51. package/content/Chat/ChatView.scss +59 -0
  52. package/content/Chat/index.d.ts +2 -0
  53. package/content/Chat/index.js +7 -0
  54. package/content/Chat/views/BubbleMessage/BubbleMessageView.d.ts +17 -0
  55. package/content/Chat/views/BubbleMessage/BubbleMessageView.js +72 -0
  56. package/content/Chat/views/BubbleMessage/BubbleMessageView.scss +195 -0
  57. package/content/Chat/views/BubbleMessage/index.d.ts +2 -0
  58. package/content/Chat/views/BubbleMessage/index.js +7 -0
  59. package/content/Chat/views/BubblesDateGroup/BubblesDateGroup.d.ts +12 -0
  60. package/content/Chat/views/BubblesDateGroup/BubblesDateGroup.js +48 -0
  61. package/content/Chat/views/BubblesDateGroup/BubblesDateGroup.scss +78 -0
  62. package/content/Chat/views/BubblesDateGroup/index.d.ts +2 -0
  63. package/content/Chat/views/BubblesDateGroup/index.js +7 -0
  64. package/content/Chat/views/ChatFileItem/ChatFileItemView.d.ts +9 -0
  65. package/content/Chat/views/ChatFileItem/ChatFileItemView.js +50 -0
  66. package/content/Chat/views/ChatFileItem/ChatFileItemView.scss +184 -0
  67. package/content/Chat/views/ChatFileItem/index.d.ts +2 -0
  68. package/content/Chat/views/ChatFileItem/index.js +7 -0
  69. package/content/Chat/views/ChatInput/ChatInputView.d.ts +3 -0
  70. package/content/Chat/views/ChatInput/ChatInputView.js +64 -0
  71. package/content/Chat/views/ChatInput/ChatInputView.scss +82 -0
  72. package/content/Chat/views/ChatInput/index.d.ts +2 -0
  73. package/content/Chat/views/ChatInput/index.js +7 -0
  74. package/content/Dashboard/DashboardItemView.d.ts +2 -0
  75. package/content/Dashboard/DashboardItemView.js +18 -0
  76. package/content/Dashboard/DashboardItemView.scss +47 -0
  77. package/content/DropDown/DropDownView.js +12 -12
  78. package/content/DropDown/DropDownView.scss +34 -175
  79. package/content/Icon/IconView.js +18 -2
  80. package/content/Kanban/KanbanView.d.ts +2 -0
  81. package/content/Kanban/KanbanView.js +29 -0
  82. package/content/Kanban/KanbanView.scss +12 -0
  83. package/content/Kanban/views/KanbanColumn/KanbanColumnView.d.ts +2 -0
  84. package/content/Kanban/views/KanbanColumn/KanbanColumnView.js +36 -0
  85. package/content/Kanban/views/KanbanColumn/KanbanColumnView.scss +75 -0
  86. package/content/Kanban/views/KanbanColumn/index.d.ts +2 -0
  87. package/content/Kanban/views/KanbanColumn/index.js +7 -0
  88. package/content/Kanban/views/KanbanModal/KanbanModalView.d.ts +2 -0
  89. package/content/Kanban/views/KanbanModal/KanbanModalView.js +57 -0
  90. package/content/Kanban/views/KanbanModal/KanbanModalView.scss +210 -0
  91. package/content/Kanban/views/KanbanModal/index.d.ts +2 -0
  92. package/content/Kanban/views/KanbanModal/index.js +7 -0
  93. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/CreateOrEditTaskModalContentView.d.ts +2 -0
  94. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/CreateOrEditTaskModalContentView.js +95 -0
  95. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/index.d.ts +2 -0
  96. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/index.js +7 -0
  97. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/Label.d.ts +6 -0
  98. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/Label.js +11 -0
  99. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/index.d.ts +2 -0
  100. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/index.js +7 -0
  101. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.d.ts +8 -0
  102. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.js +49 -0
  103. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.scss +30 -0
  104. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/index.d.ts +2 -0
  105. package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/index.js +7 -0
  106. package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/TaskDetailsModalContentView.d.ts +2 -0
  107. package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/TaskDetailsModalContentView.js +53 -0
  108. package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/index.d.ts +2 -0
  109. package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/index.js +7 -0
  110. package/content/Kanban/views/KanbanTask/KanbanTaskView.d.ts +5 -0
  111. package/content/Kanban/views/KanbanTask/KanbanTaskView.js +66 -0
  112. package/content/Kanban/views/KanbanTask/KanbanTaskView.scss +110 -0
  113. package/content/Kanban/views/KanbanTask/index.d.ts +2 -0
  114. package/content/Kanban/views/KanbanTask/index.js +7 -0
  115. package/content/Kanban/views/TaskTags/TaskTags.d.ts +9 -0
  116. package/content/Kanban/views/TaskTags/TaskTags.js +14 -0
  117. package/content/Kanban/views/TaskTags/TaskTags.scss +7 -0
  118. package/content/Kanban/views/TaskTags/index.d.ts +2 -0
  119. package/content/Kanban/views/TaskTags/index.js +7 -0
  120. package/content/Menu/MenuItemView.js +4 -1
  121. package/content/Slider/SliderView.js +3 -1
  122. package/form/CheckboxField/CheckboxFieldView.js +5 -2
  123. package/form/CheckboxField/CheckboxFieldView.scss +27 -0
  124. package/form/CheckboxListField/CheckboxListFieldView.js +2 -1
  125. package/form/CheckboxTreeField/CheckboxTreeFieldView.d.ts +2 -0
  126. package/form/CheckboxTreeField/CheckboxTreeFieldView.js +30 -0
  127. package/form/CheckboxTreeField/CheckboxTreeFieldView.scss +5 -0
  128. package/form/CheckboxTreeField/index.d.ts +2 -0
  129. package/form/CheckboxTreeField/index.js +7 -0
  130. package/form/DateRangeField/DateRangeFieldView.js +2 -2
  131. package/form/DateTimeField/DateTimeFieldView.js +1 -1
  132. package/form/DateTimeRangeField/DateTimeRangeFieldView.js +2 -2
  133. package/form/DropDownField/DropDownFieldView.js +4 -3
  134. package/form/DropDownField/DropDownFieldView.scss +12 -2
  135. package/form/DropDownFieldItem/DropDownFieldItemView.js +1 -1
  136. package/form/Form/FormView.js +1 -0
  137. package/form/ImageField/ImageFieldModalView.js +3 -1
  138. package/form/InputField/InputFieldView.js +2 -2
  139. package/form/NumberField/NumberFieldView.js +5 -16
  140. package/form/PasswordField/PasswordFieldView.js +1 -1
  141. package/form/SliderField/SliderFieldView.js +3 -1
  142. package/form/WizardForm/WizardFormView.d.ts +2 -0
  143. package/form/WizardForm/WizardFormView.js +33 -0
  144. package/form/WizardForm/WizardFormView.scss +30 -0
  145. package/icons/index.js +3 -0
  146. package/icons/svgs/add_16x16.svg +4 -0
  147. package/icons/svgs/done-all.svg +4 -0
  148. package/icons/svgs/send.svg +3 -0
  149. package/icons/svgs/view.svg +1 -0
  150. package/icons/svgs/warning_16x16.svg +2 -0
  151. package/index.d.ts +36 -0
  152. package/index.js +36 -0
  153. package/index.scss +15 -0
  154. package/layout/ProgressBar/CircleProgressBarView.js +4 -1
  155. package/layout/ProgressBar/LineProgressBarView.js +4 -1
  156. package/layout/Skeleton/SkeletonView.js +4 -1
  157. package/layout/Tooltip/TooltipView.js +3 -3
  158. package/layout/Tooltip/TooltipView.scss +10 -77
  159. package/list/FlexGrid/FlexGridView.scss +6 -13
  160. package/list/Grid/GridView.scss +8 -10
  161. package/list/Grid/views/TreeColumnView/TreeColumnView.d.ts +2 -0
  162. package/list/Grid/views/TreeColumnView/TreeColumnView.js +27 -0
  163. package/list/Grid/views/TreeColumnView/TreeColumnView.scss +6 -0
  164. package/list/Steps/StepItemView.js +21 -10
  165. package/list/Steps/StepItemView.scss +113 -83
  166. package/list/Steps/StepsView.js +4 -24
  167. package/list/Steps/StepsView.scss +6 -15
  168. package/nav/Controls/ControlsView.scss +3 -3
  169. package/nav/Tree/TreeView.js +3 -9
  170. package/nav/Tree/TreeView.scss +10 -47
  171. package/nav/TreeItem/TreeItemView.d.ts +2 -0
  172. package/nav/TreeItem/TreeItemView.js +69 -0
  173. package/nav/TreeItem/TreeItemView.scss +60 -0
  174. package/package.json +3 -3
  175. package/scss/bootstrap-classes/flex.scss +42 -0
  176. package/scss/bootstrap-classes/index.scss +4 -0
  177. package/scss/bootstrap-classes/layout.scss +72 -0
  178. package/scss/bootstrap-classes/spacing.scss +181 -0
  179. package/scss/bootstrap-classes/typography.scss +25 -0
  180. package/scss/mixins/button.scss +24 -8
  181. package/scss/mixins/index.scss +1 -0
  182. package/scss/mixins/scroll.scss +6 -0
  183. package/scss/mixins/tooltip.scss +113 -0
  184. package/scss/variables/common/colors.scss +5 -2
  185. package/scss/variables/common/flex.scss +5 -0
  186. package/scss/variables/common/typography.scss +13 -0
  187. package/scss/variables/index.scss +1 -0
  188. package/utils/getFormattedExpandLabel.d.ts +1 -0
  189. package/utils/getFormattedExpandLabel.js +5 -0
@@ -38,38 +38,27 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
38
38
  };
39
39
  exports.__esModule = true;
40
40
  var React = __importStar(require("react"));
41
- var react_1 = require("react");
42
41
  var isNumber_1 = __importDefault(require("lodash-es/isNumber"));
43
42
  var hooks_1 = require("@steroidsjs/core/hooks");
44
43
  var Icon_1 = __importDefault(require("@steroidsjs/core/ui/content/Icon"));
45
44
  function NumberFieldView(props) {
46
- var _a;
47
- // Input ref
48
- var inputRef = (0, react_1.useRef)(null);
49
- var onStepUp = (0, react_1.useCallback)(function () {
50
- inputRef.current.stepUp();
51
- props.inputProps.onChange(inputRef.current.value);
52
- }, [props.inputProps]);
53
- var onStepDown = (0, react_1.useCallback)(function () {
54
- inputRef.current.stepDown();
55
- props.inputProps.onChange(inputRef.current.value);
56
- }, [props.inputProps]);
45
+ var _a, _b;
57
46
  var bem = (0, hooks_1.useBem)('NumberFieldView');
58
47
  return (React.createElement("div", { className: bem(bem.block({
59
48
  disabled: props.inputProps.disabled,
60
49
  size: props.size,
61
50
  hasErrors: !!props.errors,
62
- filled: !!((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.value)
51
+ filled: !!((_b = (_a = props.inputRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.value)
63
52
  }), props.className) },
64
- React.createElement("input", __assign({ ref: inputRef, className: bem(bem.element('input')) }, props.inputProps, { onChange: function (e) { return props.input.onChange(e.target.value); }, onWheel: function (event) { return event.currentTarget.blur(); }, id: props.id })),
53
+ React.createElement("input", __assign({ ref: props.inputRef, className: bem(bem.element('input')) }, props.inputProps, { onWheel: function (event) { return event.currentTarget.blur(); }, id: props.id })),
65
54
  !props.disabled && !props.errors && (React.createElement("div", { className: bem.element('arrows-container') },
66
55
  React.createElement("button", { className: bem.element('arrow', {
67
56
  disabled: (0, isNumber_1["default"])(props.inputProps.max) && props.inputProps.value >= props.inputProps.max
68
- }), type: 'button', onClick: onStepUp },
57
+ }), type: 'button', onClick: props.onStepUp },
69
58
  React.createElement(Icon_1["default"], { name: 'expand_up', tabIndex: -1 })),
70
59
  React.createElement("button", { className: bem.element('arrow', {
71
60
  disabled: (0, isNumber_1["default"])(props.inputProps.min) && props.inputProps.value <= props.inputProps.min
72
- }), type: 'button', onClick: onStepDown },
61
+ }), type: 'button', onClick: props.onStepDown },
73
62
  React.createElement(Icon_1["default"], { name: 'expand_up', tabIndex: -1 })))),
74
63
  React.createElement("span", { className: bem.element('input-effects') })));
75
64
  }
@@ -51,7 +51,7 @@ function PasswordFieldView(props) {
51
51
  React.createElement("div", { className: bem.element('container', {
52
52
  disabled: props.inputProps.disabled
53
53
  }) },
54
- React.createElement("input", __assign({ className: bem.element('input') }, props.inputProps, { id: props.id })),
54
+ React.createElement("input", __assign({ className: bem.element('input') }, props.inputProps, { id: props.id, required: props.required })),
55
55
  props.showSecurityIcon && (React.createElement("span", { className: bem(bem.element('icon-eye', {
56
56
  viewHide: props.inputProps.type === PasswordField_1.InputType.PASSWORD
57
57
  })), onClick: props.onShowButtonClick },
@@ -43,10 +43,12 @@ var RangeComponent = createRangeWithTooltip(rc_slider_1.Range);
43
43
  var SliderComponent = createSliderWithTooltip(rc_slider_1["default"]);
44
44
  function SliderFieldView(props) {
45
45
  var bem = (0, hooks_1.useBem)('SliderFieldView');
46
+ //TODO Исправить тип, связано с yarn tsc в action publish.yml
47
+ var Handle = rc_slider_1.Handle;
46
48
  var handle = function (prevProps) {
47
49
  var value = prevProps.value;
48
50
  return (React.createElement(rc_slider_1.SliderTooltip, { prefixCls: 'rc-slider-tooltip', placement: 'top', overlay: "".concat(value) },
49
- React.createElement(rc_slider_1.Handle, { value: value })));
51
+ React.createElement(Handle, { value: value })));
50
52
  };
51
53
  var commonProps = {
52
54
  slider: props.slider,
@@ -0,0 +1,2 @@
1
+ import { IWizardFormViewProps } from '@steroidsjs/core/ui/form/WizardForm/WizardForm';
2
+ export default function WizardFormView(props: IWizardFormViewProps): JSX.Element;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ exports.__esModule = true;
17
+ var react_1 = __importDefault(require("react"));
18
+ var useBem_1 = __importDefault(require("@steroidsjs/core/hooks/useBem"));
19
+ var Steps_1 = __importDefault(require("@steroidsjs/core/ui/list/Steps/Steps"));
20
+ var form_1 = require("@steroidsjs/core/ui/form");
21
+ var TitleView_1 = __importDefault(require("../../typography/Title/TitleView"));
22
+ function WizardFormView(props) {
23
+ var _a;
24
+ var bem = (0, useBem_1["default"])('WizardFormView');
25
+ return (props.renderStep(react_1["default"].createElement("div", { className: bem.element('header') },
26
+ props.showSteps && (react_1["default"].createElement(Steps_1["default"], __assign({}, props.stepsProps, { className: bem.element('steps'), stepItems: (_a = props.stepItems) !== null && _a !== void 0 ? _a : props.totalSteps, currentStep: props.currentStep }))),
27
+ props.stepTitle && (react_1["default"].createElement(TitleView_1["default"], { type: 'h3', content: props.stepTitle, className: bem.element('title') }))), react_1["default"].createElement("div", { className: bem.element('buttons') },
28
+ props.currentStep > 0 && (react_1["default"].createElement(form_1.Button, __assign({}, props.prevStepButtonProps, { onClick: props.onPrevStep }))),
29
+ react_1["default"].createElement(form_1.Button, __assign({ type: 'submit' }, props.nextStepButtonProps))), {
30
+ className: bem.block()
31
+ }));
32
+ }
33
+ exports["default"] = WizardFormView;
@@ -0,0 +1,30 @@
1
+ @use "../../scss/variables";
2
+ @use '../../scss/mixins';
3
+
4
+ .WizardFormView {
5
+ display: flex;
6
+ flex-flow: column nowrap;
7
+
8
+ &__header {
9
+ display: flex;
10
+ flex-flow: column nowrap;
11
+ }
12
+
13
+ &__title {
14
+ text-align: left;
15
+ }
16
+
17
+ &__steps {
18
+ margin-bottom: 32px;
19
+ }
20
+
21
+ &__buttons {
22
+ @include mixins.svg-color(variables.$primary);
23
+
24
+ display: flex;
25
+ flex-flow: row nowrap;
26
+ align-items: center;
27
+ justify-content: space-between;
28
+ margin-top: 16px;
29
+ }
30
+ }
package/icons/index.js CHANGED
@@ -17,6 +17,7 @@ exports["default"] = (function (customIcons) {
17
17
  var icons = {};
18
18
  var steroidsIcons = [
19
19
  'add',
20
+ 'add_16x16',
20
21
  'add_square',
21
22
  'arrow_down_18x18',
22
23
  'arrow_down_24x24',
@@ -40,6 +41,7 @@ exports["default"] = (function (customIcons) {
40
41
  'cross_8x8',
41
42
  'default_16x16',
42
43
  'default_24x24',
44
+ 'done-all',
43
45
  'cut',
44
46
  'error_16x16',
45
47
  'error_24x24',
@@ -77,6 +79,7 @@ exports["default"] = (function (customIcons) {
77
79
  'pin',
78
80
  'sad',
79
81
  'search',
82
+ 'send',
80
83
  'setting_line',
81
84
  'share',
82
85
  'star',
@@ -0,0 +1,4 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 4L8 12" stroke="white" stroke-width="2" stroke-linecap="round"/>
3
+ <path d="M12 8L4 8" stroke="white" stroke-width="2" stroke-linecap="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
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>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
2
+ <path d="M6.99811 10.2467L7.43298 11.0077C7.70983 11.4922 7.84825 11.7344 7.84825 12C7.84825 12.2656 7.70983 12.5078 7.43299 12.9923L7.43298 12.9923L6.99811 13.7533C5.75981 15.9203 5.14066 17.0039 5.62348 17.5412C6.1063 18.0785 7.24961 17.5783 9.53623 16.5779L15.8119 13.8323C17.6074 13.0468 18.5051 12.654 18.5051 12C18.5051 11.346 17.6074 10.9532 15.8119 10.1677L9.53624 7.4221C7.24962 6.42171 6.1063 5.92151 5.62348 6.45883C5.14066 6.99615 5.75981 8.07966 6.99811 10.2467Z" stroke="#323232"/>
3
+ </svg>
@@ -1,3 +1,4 @@
1
+
1
2
  <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
3
  <circle cx="12" cy="12.4492" r="3.5" stroke="#323232"/>
3
4
  <path d="M20.188 11.3834C20.5762 11.8547 20.7703 12.0904 20.7703 12.4492C20.7703 12.808 20.5762 13.0436 20.188 13.5149C18.7679 15.239 15.6357 18.4492 12 18.4492C8.36427 18.4492 5.23206 15.239 3.81197 13.5149C3.42381 13.0436 3.22973 12.808 3.22973 12.4492C3.22973 12.0904 3.42381 11.8547 3.81197 11.3834C5.23206 9.6593 8.36427 6.44916 12 6.44916C15.6357 6.44916 18.7679 9.6593 20.188 11.3834Z" stroke="#323232"/>
@@ -1,3 +1,5 @@
1
+
2
+
1
3
  <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
4
  <path d="M10.2679 5.86768C11.0377 4.53434 12.9623 4.53434 13.7321 5.86768L18.9282 14.8677C19.698 16.201 18.7358 17.8677 17.1962 17.8677H6.80385C5.26425 17.8677 4.302 16.201 5.0718 14.8677L10.2679 5.86768Z" fill="#FFE457"/>
3
5
  <circle cx="12" cy="14.8687" r="0.5" fill="white"/>
package/index.d.ts CHANGED
@@ -23,6 +23,9 @@ declare const _default: {
23
23
  'content.CalendarView': {
24
24
  lazy: () => any;
25
25
  };
26
+ 'content.DashboardItemView': {
27
+ lazy: () => any;
28
+ };
26
29
  'content.DetailView': {
27
30
  lazy: () => any;
28
31
  };
@@ -41,6 +44,27 @@ declare const _default: {
41
44
  'content.SliderView': {
42
45
  lazy: () => any;
43
46
  };
47
+ 'content.KanbanView': {
48
+ lazy: () => any;
49
+ };
50
+ 'content.KanbanColumnView': {
51
+ lazy: () => any;
52
+ };
53
+ 'content.KanbanTaskView': {
54
+ lazy: () => any;
55
+ };
56
+ 'content.KanbanModalView': {
57
+ lazy: () => any;
58
+ };
59
+ 'content.CalendarSystemView': {
60
+ lazy: () => any;
61
+ };
62
+ 'content.ChatView': {
63
+ lazy: () => any;
64
+ };
65
+ 'content.ChatInputView': {
66
+ lazy: () => any;
67
+ };
44
68
  'form.AutoCompleteFieldView': {
45
69
  lazy: () => any;
46
70
  };
@@ -62,6 +86,9 @@ declare const _default: {
62
86
  'form.CheckboxListFieldView': {
63
87
  lazy: () => any;
64
88
  };
89
+ 'form.CheckboxTreeFieldView': {
90
+ lazy: () => any;
91
+ };
65
92
  'form.DateFieldView': {
66
93
  lazy: () => any;
67
94
  };
@@ -98,6 +125,9 @@ declare const _default: {
98
125
  'form.FormView': {
99
126
  lazy: () => any;
100
127
  };
128
+ 'form.WizardFormView': {
129
+ lazy: () => any;
130
+ };
101
131
  'form.HtmlFieldView': {
102
132
  lazy: () => any;
103
133
  };
@@ -194,6 +224,9 @@ declare const _default: {
194
224
  'list.DiagramColumnView': {
195
225
  lazy: () => any;
196
226
  };
227
+ 'list.TreeColumnView': {
228
+ lazy: () => any;
229
+ };
197
230
  'list.ListView': {
198
231
  lazy: () => any;
199
232
  };
@@ -248,6 +281,9 @@ declare const _default: {
248
281
  'nav.TreeView': {
249
282
  lazy: () => any;
250
283
  };
284
+ 'nav.TreeItemView': {
285
+ lazy: () => any;
286
+ };
251
287
  'nav.ButtonGroupView': {
252
288
  lazy: () => any;
253
289
  };
package/index.js CHANGED
@@ -26,6 +26,9 @@ exports["default"] = {
26
26
  'content.CalendarView': {
27
27
  lazy: function () { return require('./content/Calendar/CalendarView')["default"]; }
28
28
  },
29
+ 'content.DashboardItemView': {
30
+ lazy: function () { return require('./content/Dashboard/DashboardItemView')["default"]; }
31
+ },
29
32
  'content.DetailView': {
30
33
  lazy: function () { return require('./content/Detail/DetailView')["default"]; }
31
34
  },
@@ -44,6 +47,27 @@ exports["default"] = {
44
47
  'content.SliderView': {
45
48
  lazy: function () { return require('./content/Slider/SliderView')["default"]; }
46
49
  },
50
+ 'content.KanbanView': {
51
+ lazy: function () { return require('./content/Kanban/KanbanView')["default"]; }
52
+ },
53
+ 'content.KanbanColumnView': {
54
+ lazy: function () { return require('./content/Kanban/views/KanbanColumn/KanbanColumnView')["default"]; }
55
+ },
56
+ 'content.KanbanTaskView': {
57
+ lazy: function () { return require('./content/Kanban/views/KanbanTask/KanbanTaskView')["default"]; }
58
+ },
59
+ 'content.KanbanModalView': {
60
+ lazy: function () { return require('./content/Kanban/views/KanbanModal/KanbanModalView')["default"]; }
61
+ },
62
+ 'content.CalendarSystemView': {
63
+ lazy: function () { return require('./content/CalendarSystem/CalendarSystemView')["default"]; }
64
+ },
65
+ 'content.ChatView': {
66
+ lazy: function () { return require('./content/Chat/ChatView')["default"]; }
67
+ },
68
+ 'content.ChatInputView': {
69
+ lazy: function () { return require('./content/Chat/views/ChatInput/ChatInputView')["default"]; }
70
+ },
47
71
  'form.AutoCompleteFieldView': {
48
72
  lazy: function () { return require('./form/AutoCompleteField/AutoCompleteFieldView')["default"]; }
49
73
  },
@@ -65,6 +89,9 @@ exports["default"] = {
65
89
  'form.CheckboxListFieldView': {
66
90
  lazy: function () { return require('./form/CheckboxListField/CheckboxListFieldView')["default"]; }
67
91
  },
92
+ 'form.CheckboxTreeFieldView': {
93
+ lazy: function () { return require('./form/CheckboxTreeField/CheckboxTreeFieldView')["default"]; }
94
+ },
68
95
  'form.DateFieldView': {
69
96
  lazy: function () { return require('./form/DateField/DateFieldView')["default"]; }
70
97
  },
@@ -101,6 +128,9 @@ exports["default"] = {
101
128
  'form.FormView': {
102
129
  lazy: function () { return require('./form/Form/FormView')["default"]; }
103
130
  },
131
+ 'form.WizardFormView': {
132
+ lazy: function () { return require('./form/WizardForm/WizardFormView')["default"]; }
133
+ },
104
134
  'form.HtmlFieldView': {
105
135
  lazy: function () { return require('./form/HtmlField/HtmlFieldView')["default"]; }
106
136
  },
@@ -197,6 +227,9 @@ exports["default"] = {
197
227
  'list.DiagramColumnView': {
198
228
  lazy: function () { return require('./list/Grid/views/DiagramColumnView/DiagramColumnView')["default"]; }
199
229
  },
230
+ 'list.TreeColumnView': {
231
+ lazy: function () { return require('./list/Grid/views/TreeColumnView/TreeColumnView')["default"]; }
232
+ },
200
233
  'list.ListView': {
201
234
  lazy: function () { return require('./list/List/ListView')["default"]; }
202
235
  },
@@ -251,6 +284,9 @@ exports["default"] = {
251
284
  'nav.TreeView': {
252
285
  lazy: function () { return require('./nav/Tree/TreeView')["default"]; }
253
286
  },
287
+ 'nav.TreeItemView': {
288
+ lazy: function () { return require('./nav/TreeItem/TreeItemView')["default"]; }
289
+ },
254
290
  'nav.ButtonGroupView': {
255
291
  lazy: function () { return require('./nav/ButtonGroup/ButtonGroupView')["default"]; }
256
292
  },
package/index.scss CHANGED
@@ -5,6 +5,7 @@
5
5
  @include meta.load-css('scss/variables');
6
6
  @include meta.load-css('scss/mixins');
7
7
  @include meta.load-css('scss/fonts');
8
+ @include meta.load-css('scss/bootstrap-classes');
8
9
 
9
10
  @include meta.load-css('content/Accordion/AccordionView');
10
11
  @include meta.load-css('content/Accordion/AccordionItemView');
@@ -14,7 +15,11 @@
14
15
  @include meta.load-css('content/Badge/BadgeView');
15
16
  @include meta.load-css('content/Calendar/CalendarView');
16
17
  @include meta.load-css('content/Calendar/CaptionElement');
18
+ @include meta.load-css('content/CalendarSystem/CalendarSystemView');
19
+ @include meta.load-css('content/CalendarSystem/CalendarSystemModalView');
20
+ @include meta.load-css('content/CalendarSystem/CalendarSystemEventGroupModalView');
17
21
  @include meta.load-css('content/Card/CardView');
22
+ @include meta.load-css('content/Dashboard/DashboardItemView');
18
23
  @include meta.load-css('content/Detail/DetailView');
19
24
  @include meta.load-css('content/DropDown/DropDownView');
20
25
  @include meta.load-css('content/Menu/MenuItemView');
@@ -22,11 +27,18 @@
22
27
  @include meta.load-css('content/Icon/IconView');
23
28
  @include meta.load-css('content/Slider/SliderView');
24
29
  @include meta.load-css('content/CopyToClipboard/CopyToClipboardView');
30
+ @include meta.load-css('content/Kanban/KanbanView');
31
+ @include meta.load-css('content/Kanban/views/KanbanColumn/KanbanColumnView');
32
+ @include meta.load-css('content/Kanban/views/KanbanTask/KanbanTaskView');
33
+ @include meta.load-css('content/Kanban/views/KanbanModal/KanbanModalView');
34
+ @include meta.load-css('content/Chat/ChatView');
35
+ @include meta.load-css('content/Chat/views/ChatInput/ChatInputView');
25
36
  @include meta.load-css('crud/Crud/CrudView');
26
37
  @include meta.load-css('form/AutoCompleteField/AutoCompleteFieldView');
27
38
  @include meta.load-css('form/Button/ButtonView');
28
39
  @include meta.load-css('form/CheckboxField/CheckboxFieldView');
29
40
  @include meta.load-css('form/CheckboxListField/CheckboxListFieldView');
41
+ @include meta.load-css('form/CheckboxTreeField/CheckboxTreeFieldView');
30
42
  @include meta.load-css('form/DateField/DateFieldView');
31
43
  @include meta.load-css('form/DateRangeField/DateRangeFieldView');
32
44
  @include meta.load-css('form/DateTimeField/DateTimeFieldView');
@@ -42,6 +54,7 @@
42
54
  @include meta.load-css('form/FileField/FileFieldItemView');
43
55
  @include meta.load-css('form/FieldSet/FieldSetView');
44
56
  @include meta.load-css('form/Form/FormView');
57
+ @include meta.load-css('form/WizardForm/WizardFormView');
45
58
  @include meta.load-css('form/HtmlField/HtmlFieldView');
46
59
  @include meta.load-css('form/InputField/InputFieldView');
47
60
  @include meta.load-css('form/NumberField/NumberFieldView');
@@ -71,6 +84,7 @@
71
84
  @include meta.load-css('list/FlexGrid/FlexGridView');
72
85
  @include meta.load-css('list/List/ListView');
73
86
  @include meta.load-css('list/Grid/views/ContentColumnView/ContentColumnView');
87
+ @include meta.load-css('list/Grid/views/TreeColumnView/TreeColumnView');
74
88
  @include meta.load-css('list/Pagination/PaginationButtonView');
75
89
  @include meta.load-css('list/Pagination/PaginationMoreView');
76
90
  @include meta.load-css('list/PaginationSize/PaginationSizeView');
@@ -86,6 +100,7 @@
86
100
  @include meta.load-css('nav/Nav/NavListView');
87
101
  @include meta.load-css('nav/Nav/NavTabsView');
88
102
  @include meta.load-css('nav/Tree/TreeView');
103
+ @include meta.load-css('nav/TreeItem/TreeItemView');
89
104
  @include meta.load-css('nav/ButtonGroup/ButtonGroupView');
90
105
  @include meta.load-css('typography/Text/TextView');
91
106
  @include meta.load-css('typography/Title/TitleView');
@@ -33,7 +33,10 @@ function CircleProgressBarView(props) {
33
33
  small: { radius: 32 }
34
34
  };
35
35
  var getCircumference = function () { return 2 * Math.PI * size[props.size].radius; };
36
- return (React.createElement("div", { className: bem.block({ size: props.size, status: props.status }) },
36
+ return (React.createElement("div", { className: bem.block({
37
+ size: props.size,
38
+ status: props.status
39
+ }) },
37
40
  React.createElement("svg", null,
38
41
  React.createElement("g", { className: bem.element('circles') },
39
42
  React.createElement("circle", { className: bem.element('emptyCircle'), style: { strokeDasharray: getCircumference() } }),
@@ -27,7 +27,10 @@ var React = __importStar(require("react"));
27
27
  var hooks_1 = require("@steroidsjs/core/hooks");
28
28
  function LineProgressBarView(props) {
29
29
  var bem = (0, hooks_1.useBem)('LineProgressBarView');
30
- return (React.createElement("div", { className: bem.block({ size: props.size, status: props.status }) },
30
+ return (React.createElement("div", { className: bem.block({
31
+ size: props.size,
32
+ status: props.status
33
+ }) },
31
34
  React.createElement("div", { className: bem.element('emptyLine') },
32
35
  React.createElement("div", { className: bem.element('progressLine'), style: { width: "".concat(props.percent, "%") } })),
33
36
  React.createElement("div", { className: bem.element('text') }, props.label)));
@@ -30,6 +30,9 @@ function SkeletonView(props) {
30
30
  return (React.createElement("span", { className: bem(props.className, bem.block({
31
31
  type: props.children ? null : props.type,
32
32
  animation: props.animation
33
- })), style: { height: props.height, width: props.width } }, props.children));
33
+ })), style: {
34
+ height: props.height,
35
+ width: props.width
36
+ } }, props.children));
34
37
  }
35
38
  exports["default"] = SkeletonView;
@@ -27,16 +27,16 @@ var React = __importStar(require("react"));
27
27
  var react_1 = require("react");
28
28
  var hooks_1 = require("@steroidsjs/core/hooks");
29
29
  function TooltipView(props) {
30
+ var bem = (0, hooks_1.useBem)('TooltipView');
30
31
  var tooltipRef = (0, react_1.useRef)(null);
31
32
  var arrowRef = (0, react_1.useRef)(null);
32
33
  (0, react_1.useEffect)(function () {
33
34
  props.calculatePosition(tooltipRef.current.getBoundingClientRect(), arrowRef.current.getBoundingClientRect());
34
35
  }, [props.calculatePosition]);
35
- var bem = (0, hooks_1.useBem)('TooltipView');
36
- return (React.createElement("div", { ref: tooltipRef, className: bem.block({
36
+ return (React.createElement("div", { ref: tooltipRef, className: bem(bem.block({
37
37
  show: props.isTooltipVisible,
38
38
  position: props.position
39
- }), style: props.style },
39
+ }), props.className), style: props.style },
40
40
  React.createElement("div", { ref: arrowRef, className: bem.element('arrow', { position: props.position }), style: props.arrowPosition }),
41
41
  React.createElement("div", { className: bem.element('content') },
42
42
  React.createElement("span", null, props.content))));
@@ -1,5 +1,6 @@
1
1
  @use 'sass:math';
2
2
  @use "../../scss/variables";
3
+ @use '../../scss/mixins';
3
4
 
4
5
  $tooltip-arrow-width: 10px;
5
6
  $tooltip-arrow-height: 10px;
@@ -17,6 +18,7 @@ $tooltip-background-color: rgba(65, 65, 65, 0.95);
17
18
  top: 0;
18
19
  left: 0;
19
20
  max-width: 300px;
21
+ width: fit-content;
20
22
  word-break: break-all;
21
23
  padding: 8px 12px;
22
24
  border-radius: 6px;
@@ -31,27 +33,11 @@ $tooltip-background-color: rgba(65, 65, 65, 0.95);
31
33
  opacity: 1;
32
34
  }
33
35
 
34
- &_position{
35
- &_top, &_topLeft, &_topRight {
36
- transform: translateY(-$tooltip-gap);
37
- }
38
-
39
- &_bottom, &_bottomLeft, &_bottomRight {
40
- transform: translateY($tooltip-gap);
41
- }
42
-
43
- &_left, &_leftTop, &_leftBottom {
44
- transform: translateX(-$tooltip-gap);
45
- }
46
-
47
- &_right, &_rightTop, &_rightBottom {
48
- transform: translateX($tooltip-gap);
49
- }
50
- }
36
+ @include mixins.absolute-position($tooltip-gap);
51
37
 
52
38
  &__arrow{
53
39
  position: absolute;
54
-
40
+
55
41
  width: $tooltip-arrow-width;
56
42
  height: $tooltip-arrow-height;
57
43
 
@@ -60,65 +46,12 @@ $tooltip-background-color: rgba(65, 65, 65, 0.95);
60
46
  border-color: $tooltip-background-color;
61
47
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
62
48
 
63
- &_position_top, &_position_topLeft, &_position_topRight{
64
- bottom: -$tooltip-arrow-border;
65
- left: 50%;
66
- border-top-color: transparent;
67
- border-left-color: transparent;
68
- transform: translateX(-50%) rotate(45deg);
69
- }
70
- &_position_topLeft{
71
- left: $tooltip-arrow-offset-horizontal;
72
- }
73
- &_position_topRight{
74
- left: unset;
75
- right: $tooltip-arrow-offset-horizontal;
76
- }
77
-
78
- &_position_bottom, &_position_bottomLeft, &_position_bottomRight{
79
- top: -$tooltip-arrow-border;
80
- left: 50%;
81
- border-right-color: transparent;
82
- border-bottom-color: transparent;
83
- transform: translateX(-50%) rotate(45deg);
84
- }
85
- &_position_bottomLeft{
86
- left: $tooltip-arrow-offset-horizontal;
87
- }
88
- &_position_bottomRight{
89
- left: unset;
90
- right: $tooltip-arrow-offset-horizontal;
91
- }
92
-
93
- &_position_left, &_position_leftTop, &_position_leftBottom{
94
- right: -$tooltip-arrow-border;
95
- top: 50%;
96
- border-left-color: transparent;
97
- border-bottom-color: transparent;
98
- transform: translateY(-50%) rotate(45deg);
99
- }
100
- &_position_leftTop{
101
- top: $tooltip-arrow-offset-vertical-top;
102
- }
103
- &_position_leftBottom{
104
- top: unset;
105
- bottom: $tooltip-arrow-offset-vertical-bottom;
106
- }
107
-
108
- &_position_right, &_position_rightTop, &_position_rightBottom{
109
- left: -$tooltip-arrow-border;
110
- top: 50%;
111
- border-top-color: transparent;
112
- border-right-color: transparent;
113
- transform: translateY(-50%) rotate(45deg);
114
- }
115
- &_position_rightTop{
116
- top: $tooltip-arrow-offset-vertical-top;
117
- }
118
- &_position_rightBottom{
119
- top: unset;
120
- bottom: $tooltip-arrow-offset-vertical-bottom;
121
- }
49
+ @include mixins.arrow-position(
50
+ $tooltip-arrow-border,
51
+ $tooltip-arrow-offset-horizontal,
52
+ $tooltip-arrow-offset-vertical-top,
53
+ $tooltip-arrow-offset-vertical-bottom
54
+ );
122
55
  }
123
56
 
124
57
  &__content{
@@ -1,16 +1,9 @@
1
1
  @use "../../scss/variables";
2
2
 
3
-
4
- $justifyValues: center, end, start, stretch, flex-start, flex-end, left, right, space-between, space-around, space-evenly;
5
- $alignValues: center, end, start, stretch, flex-start, flex-end;
6
- $directionValues: column-reverse column row-reverse row;
7
- $colValues: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12;
8
- $colMaxValue: 12;
9
-
10
3
  @mixin col($className, $root, $property: flex-basis) {
11
- @each $colValue in $colValues {
4
+ @each $colValue in variables.$colValues {
12
5
  &_#{$className}_#{$colValue} {
13
- #{$property}: calc((100% / $colMaxValue) * $colValue);
6
+ #{$property}: calc((100% / variables.$colMaxValue) * $colValue);
14
7
  }
15
8
  }
16
9
  }
@@ -25,19 +18,19 @@ $colMaxValue: 12;
25
18
  flex-wrap: wrap;
26
19
  }
27
20
 
28
- @each $alignValue in $alignValues {
21
+ @each $alignValue in variables.$alignValues {
29
22
  &_align_#{$alignValue} {
30
23
  align-items: $alignValue;
31
24
  }
32
25
  }
33
26
 
34
- @each $justifyValue in $justifyValues {
27
+ @each $justifyValue in variables.$justifyValues {
35
28
  &_justify_#{$justifyValue} {
36
29
  justify-content: $justifyValue;
37
30
  }
38
31
  }
39
32
 
40
- @each $directionValue in $directionValues {
33
+ @each $directionValue in variables.$directionValues {
41
34
  &_direction_#{$directionValue} {
42
35
  flex-direction: $directionValue;
43
36
  }
@@ -57,4 +50,4 @@ $colMaxValue: 12;
57
50
  @include col(sm, $root);
58
51
  }
59
52
  }
60
- }
53
+ }