@councilbox/councilbox-ui 1.0.1 → 2.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 (132) hide show
  1. package/dist/HOCs/useDynamicStyles.js +99 -0
  2. package/dist/HOCs/useRipple.js +91 -0
  3. package/dist/build-index.js +8 -0
  4. package/dist/components/1.Introduction.stories.mdx +2 -1
  5. package/dist/components/2.Changelog.stories.mdx +3 -0
  6. package/dist/components/3.Guide.stories.mdx +56 -0
  7. package/dist/components/Accordion/Accordion.css +39 -1
  8. package/dist/components/Accordion/Accordion.js +84 -45
  9. package/dist/components/Accordion/Accordion.stories.js +4 -2
  10. package/dist/components/Accordion/AccordionOld.css +16 -0
  11. package/dist/components/Accordion/AccordionOld.js +115 -0
  12. package/dist/components/Accordion/DesignAccordion.stories.js +38 -0
  13. package/dist/components/Alert/Alert.css +5 -0
  14. package/dist/components/Alert/Alert.js +17 -6
  15. package/dist/components/Avatar/Avatar.css +3 -3
  16. package/dist/components/Avatar/Avatar.js +36 -20
  17. package/dist/components/Avatar/AvatarOld.js +138 -0
  18. package/dist/components/Avatar/DesignAvatar.stories.js +1 -1
  19. package/dist/components/Block/Block.js +17 -2
  20. package/dist/components/ButtonBasic/ButtonBasic.css +264 -20
  21. package/dist/components/ButtonBasic/ButtonBasic.js +85 -110
  22. package/dist/components/ButtonBasic/ButtonBasicOld.css +41 -0
  23. package/dist/components/ButtonBasic/ButtonBasicOld.js +231 -0
  24. package/dist/components/Checkbox/Checkbox.css +101 -22
  25. package/dist/components/Checkbox/Checkbox.js +119 -63
  26. package/dist/components/Checkbox/CheckboxOld.css +31 -0
  27. package/dist/components/Checkbox/CheckboxOld.js +112 -0
  28. package/dist/components/DragDrop/DragDrop.js +24 -9
  29. package/dist/components/DrawerPanel/DesignDrawerPanel.js +4 -2
  30. package/dist/components/DrawerPanel/DrawerPanel.css +76 -36
  31. package/dist/components/DrawerPanel/DrawerPanel.js +137 -115
  32. package/dist/components/DrawerPanel/DrawerPanelOld.css +56 -0
  33. package/dist/components/DrawerPanel/DrawerPanelOld.js +233 -0
  34. package/dist/components/DropDown/DesignDropDown.stories.js +146 -17
  35. package/dist/components/DropDown/DropDown.css +96 -1
  36. package/dist/components/DropDown/DropDown.js +363 -82
  37. package/dist/components/DropDown/DropDown.stories.js +1 -0
  38. package/dist/components/DropDown/DropDownOld.css +3 -0
  39. package/dist/components/DropDown/DropDownOld.js +186 -0
  40. package/dist/components/DropDown/PopoverPlayground.css +22 -0
  41. package/dist/components/DropDown/PopoverPlayground.js +235 -0
  42. package/dist/components/EnhancedTable/EnhancedTable.js +5 -6
  43. package/dist/components/FabButton/DesignFabButton.stories.js +3 -1
  44. package/dist/components/FabButton/FabButton.js +25 -5
  45. package/dist/components/Grid/DesignGrid.stories.js +9 -3
  46. package/dist/components/Grid/Grid.css +325 -0
  47. package/dist/components/Grid/Grid.js +57 -16
  48. package/dist/components/Grid/GridItem.js +31 -13
  49. package/dist/components/Grid/GridItemOld.js +43 -0
  50. package/dist/components/Grid/GridOld.css +0 -0
  51. package/dist/components/Grid/GridOld.js +53 -0
  52. package/dist/components/Header/Header.js +95 -116
  53. package/dist/components/IconButton/DesignIconButton.stories.js +22 -2
  54. package/dist/components/IconButton/IconButton.css +121 -1
  55. package/dist/components/IconButton/IconButton.js +98 -53
  56. package/dist/components/IconButton/IconButtonOld.css +0 -0
  57. package/dist/components/IconButton/IconButtonOld.js +138 -0
  58. package/dist/components/IconButtonSquare/IconButtonSquare.js +20 -90
  59. package/dist/components/IconButtonSquare/IconButtonSquareOld.css +43 -0
  60. package/dist/components/IconButtonSquare/IconButtonSquareOld.js +133 -0
  61. package/dist/components/InputAutocomplete/InputAutocomplete.css +109 -0
  62. package/dist/components/InputAutocomplete/InputAutocomplete.js +316 -77
  63. package/dist/components/InputAutocomplete/InputAutocomplete.stories.js +118 -6
  64. package/dist/components/InputAutocomplete/InputAutocompleteOld.css +5 -0
  65. package/dist/components/InputAutocomplete/InputAutocompleteOld.js +178 -0
  66. package/dist/components/InputPassword/InputPassword.js +10 -20
  67. package/dist/components/InputText/InputText.css +442 -1
  68. package/dist/components/InputText/InputText.js +298 -239
  69. package/dist/components/InputText/InputText.stories.js +12 -3
  70. package/dist/components/InputText/InputTextOld.css +10 -0
  71. package/dist/components/InputText/InputTextOld.js +340 -0
  72. package/dist/components/InputTextArea/DesignInputTextArea.stories.js +30 -4
  73. package/dist/components/InputTextArea/InputTextArea.js +13 -6
  74. package/dist/components/LoadingSection/LoadingSection.css +44 -2
  75. package/dist/components/LoadingSection/LoadingSection.js +63 -9
  76. package/dist/components/MenuItem/DesignMenuItem.stories.js +1 -0
  77. package/dist/components/MenuItem/MenuItem.css +31 -6
  78. package/dist/components/MenuItem/MenuItem.js +95 -50
  79. package/dist/components/MenuItem/MenuItemOld.js +139 -0
  80. package/dist/components/MenuLateralLeft/MenuLateralLeft.js +60 -40
  81. package/dist/components/MenuLateralRight/MenuLateralRight.js +23 -8
  82. package/dist/components/Modal/DesignModal.stories.js +54 -0
  83. package/dist/components/Modal/Modal.css +81 -2
  84. package/dist/components/Modal/Modal.js +112 -80
  85. package/dist/components/Modal/Modal.stories.js +13 -2
  86. package/dist/components/Modal/ModalOld.css +3 -0
  87. package/dist/components/Modal/ModalOld.js +230 -0
  88. package/dist/components/PaginationFooter/DesignPaginationFooter.stories.js +9 -1
  89. package/dist/components/PaginationFooter/PaginationFooter.css +73 -0
  90. package/dist/components/PaginationFooter/PaginationFooter.js +45 -87
  91. package/dist/components/RadioButton/Radio.css +115 -16
  92. package/dist/components/RadioButton/Radio.js +70 -94
  93. package/dist/components/RadioButton/Radio.stories.js +42 -18
  94. package/dist/components/RadioButton/RadioOld.css +31 -0
  95. package/dist/components/RadioButton/RadioOld.js +142 -0
  96. package/dist/components/Ripple/DesignRipple.js +77 -0
  97. package/dist/components/Ripple/Ripple.stories.js +45 -0
  98. package/dist/components/Scrollbar/Scrollbar.js +21 -6
  99. package/dist/components/SelectInput/DesignSelectInput.js +62 -23
  100. package/dist/components/SelectInput/SelectInput.css +128 -10
  101. package/dist/components/SelectInput/SelectInput.js +233 -246
  102. package/dist/components/SelectInput/SelectInputOld.css +17 -0
  103. package/dist/components/SelectInput/SelectInputOld.js +325 -0
  104. package/dist/components/Stars/Stars.css +28 -28
  105. package/dist/components/Stars/Stars.js +22 -12
  106. package/dist/components/Stepper/Stepper.css +1 -0
  107. package/dist/components/Stepper/Stepper.js +81 -24
  108. package/dist/components/Table/DesignTable.stories.js +1 -0
  109. package/dist/components/Table/Table.css +56 -53
  110. package/dist/components/Table/Table.js +55 -75
  111. package/dist/components/Table/TableOld.css +79 -0
  112. package/dist/components/Table/TableOld.js +165 -0
  113. package/dist/components/Tabs/DesignTabs.js +37 -12
  114. package/dist/components/Tabs/Tabs.css +39 -4
  115. package/dist/components/Tabs/Tabs.js +194 -30
  116. package/dist/components/Tabs/Tabs.stories.js +8 -1
  117. package/dist/components/Tabs/TabsOld.js +92 -0
  118. package/dist/components/Tag/Tag.js +19 -9
  119. package/dist/components/Toggle/Toggle.css +122 -3
  120. package/dist/components/Toggle/Toggle.js +95 -68
  121. package/dist/components/Tooltip/DesignTooltip.stories.js +48 -0
  122. package/dist/components/Tooltip/Tooltip.css +75 -0
  123. package/dist/components/Tooltip/Tooltip.js +126 -0
  124. package/dist/components/Tooltip/Tooltip.stories.js +40 -0
  125. package/dist/components/Typography/Typography.css +9 -0
  126. package/dist/components/Typography/Typography.js +30 -21
  127. package/dist/components/Typography/TypographyOld.js +132 -0
  128. package/dist/styles/colorConsts.css +24 -0
  129. package/dist/styles/main.css +41 -49
  130. package/dist/styles/scpacingConsts.css +26 -0
  131. package/dist/styles/zIndexConsts.css +9 -0
  132. package/package.json +2 -1
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _propTypes = _interopRequireDefault(require("prop-types"));
11
+
12
+ var _Checkbox = _interopRequireDefault(require("@mui/material/Checkbox"));
13
+
14
+ require("../../styles/main.css");
15
+
16
+ require("./Checkbox.css");
17
+
18
+ var _FormControlLabel = _interopRequireDefault(require("@mui/material/FormControlLabel"));
19
+
20
+ var _styled = _interopRequireDefault(require("@mui/material/styles/styled"));
21
+
22
+ var _excluded = ["id", "className", "disabled", "indeterminate", "label", "onChange"];
23
+
24
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
+
26
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
27
+
28
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
29
+
30
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
31
+
32
+ var CssFormControlLabel = (0, _styled.default)(_FormControlLabel.default)(function () {
33
+ return {
34
+ '& .MuiFormControlLabel-label': {
35
+ marginLeft: 'var(--spacing12)',
36
+ transition: '0.2s'
37
+ },
38
+ '& .MuiCheckbox-root.Mui-disabled': {
39
+ color: '#acadce'
40
+ },
41
+ '& .MuiCheckbox-root': {
42
+ transition: 'all .2s',
43
+ width: '1.188rem',
44
+ height: '1.125rem'
45
+ },
46
+ '.MuiButtonBase-root.Mui-disabled, .MuiFormControlLabel-label.Mui-disabled': {
47
+ color: 'var(--gray3)',
48
+ fontWeight: '700'
49
+ },
50
+ '& .MuiButtonBase-root.Mui-checked + span': {
51
+ color: 'var(--primary)',
52
+ fontWeight: '700'
53
+ },
54
+ '& .MuiCheckbox-root.Mui-disabled.Mui-checked + span': {
55
+ color: 'var(--gray3)',
56
+ fontWeight: '700'
57
+ }
58
+ };
59
+ });
60
+
61
+ var CheckboxOld = function CheckboxOld(_ref) {
62
+ var id = _ref.id,
63
+ className = _ref.className,
64
+ disabled = _ref.disabled,
65
+ indeterminate = _ref.indeterminate,
66
+ label = _ref.label,
67
+ onChange = _ref.onChange,
68
+ props = _objectWithoutProperties(_ref, _excluded);
69
+
70
+ return /*#__PURE__*/_react.default.createElement(CssFormControlLabel, _extends({
71
+ id: id,
72
+ className: className,
73
+ style: {
74
+ margin: '0px'
75
+ },
76
+ onChange: onChange,
77
+ control: /*#__PURE__*/_react.default.createElement(_Checkbox.default, {
78
+ className: 'cbx-checkbox-container',
79
+ indeterminate: indeterminate,
80
+ style: {
81
+ padding: '0px'
82
+ },
83
+ sx: {
84
+ '& .MuiSvgIcon-root': {
85
+ fontSize: '1.5rem',
86
+ zIndex: '1'
87
+ },
88
+ '.MuiTouchRipple-child': {
89
+ backgroundColor: 'var(--accent25)'
90
+ }
91
+ }
92
+ }),
93
+ disabled: disabled,
94
+ label: label
95
+ }, props));
96
+ };
97
+
98
+ CheckboxOld.displayName = "CheckboxOld";
99
+ CheckboxOld.propTypes = {
100
+ onChange: _propTypes.default.func,
101
+ disabled: _propTypes.default.bool,
102
+ indeterminate: _propTypes.default.bool,
103
+ label: _propTypes.default.string
104
+ };
105
+ CheckboxOld.defaultProps = {
106
+ onChange: undefined,
107
+ disabled: false,
108
+ indeterminate: false,
109
+ label: ''
110
+ };
111
+ var _default = CheckboxOld;
112
+ exports.default = _default;
@@ -21,12 +21,20 @@ var _IconButton = _interopRequireDefault(require("../IconButton/IconButton"));
21
21
 
22
22
  var _Alert = _interopRequireDefault(require("../Alert/Alert"));
23
23
 
24
- var _excluded = ["text", "id", "icon", "iconButtonProps", "alertProps", "actionButtons", "inputProps"];
24
+ var _useDynamicStyles2 = _interopRequireDefault(require("../../HOCs/useDynamicStyles"));
25
+
26
+ var _excluded = ["text", "id", "icon", "iconButtonProps", "alertProps", "actionButtons", "inputProps", "sx", "style"];
25
27
 
26
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
29
 
28
30
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
29
31
 
32
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
33
+
34
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
35
+
36
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
37
+
30
38
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
31
39
 
32
40
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -39,8 +47,14 @@ var DragDrop = function DragDrop(_ref) {
39
47
  alertProps = _ref.alertProps,
40
48
  actionButtons = _ref.actionButtons,
41
49
  inputProps = _ref.inputProps,
50
+ sx = _ref.sx,
51
+ style = _ref.style,
42
52
  props = _objectWithoutProperties(_ref, _excluded);
43
53
 
54
+ var _useDynamicStyles = (0, _useDynamicStyles2.default)(sx),
55
+ stylesInLine = _useDynamicStyles.stylesInLine,
56
+ prefixClass = _useDynamicStyles.prefixClass;
57
+
44
58
  var _useDropzone = (0, _reactDropzone.useDropzone)({
45
59
  multiple: true
46
60
  }),
@@ -48,14 +62,15 @@ var DragDrop = function DragDrop(_ref) {
48
62
  getInputProps = _useDropzone.getInputProps;
49
63
 
50
64
  return /*#__PURE__*/_react.default.createElement("div", {
51
- className: 'cbx-dragDrop-container'
65
+ className: prefixClass('cbx-dragDrop-container')
52
66
  }, /*#__PURE__*/_react.default.createElement("div", _extends({
53
67
  id: id,
54
- className: 'cbx-dragDrop-principal-container'
68
+ className: prefixClass('cbx-dragDrop-principal-container')
55
69
  }, getRootProps(), {
56
- title: ''
70
+ title: '',
71
+ style: _objectSpread(_objectSpread({}, style), stylesInLine)
57
72
  }, props), /*#__PURE__*/_react.default.createElement("div", {
58
- className: 'cbx-dragDrop-container-button'
73
+ className: prefixClass('cbx-dragDrop-container-button')
59
74
  }, /*#__PURE__*/_react.default.createElement(_IconButton.default, _extends({
60
75
  backgroundColor: inputProps !== null && inputProps !== void 0 && inputProps.disabled ? 'var(--gray2) !important' : 'var(--primary)',
61
76
  icon: /*#__PURE__*/_react.default.createElement("i", {
@@ -70,23 +85,23 @@ var DragDrop = function DragDrop(_ref) {
70
85
  }, iconButtonProps))), /*#__PURE__*/_react.default.createElement("input", _extends({}, getInputProps(), {
71
86
  title: ''
72
87
  }, inputProps, {
73
- className: 'cbx-dragDrop-input'
88
+ className: prefixClass('cbx-dragDrop-input')
74
89
  })), /*#__PURE__*/_react.default.createElement("div", {
75
90
  onClick: function onClick(e) {
76
91
  e.stopPropagation();
77
92
  e.preventDefault();
78
93
  },
79
- className: 'cbx-dragDrop-container-items'
94
+ className: prefixClass('cbx-dragDrop-container-items')
80
95
  }, text && /*#__PURE__*/_react.default.createElement(_Typography.default, {
81
96
  textAlign: 'center'
82
97
  }, text), actionButtons && /*#__PURE__*/_react.default.createElement("div", {
83
- className: 'cbx-dragDrop-container-actionbuttons'
98
+ className: prefixClass('cbx-dragDrop-container-actionbuttons')
84
99
  }, actionButtons)), alertProps && /*#__PURE__*/_react.default.createElement("div", {
85
100
  onClick: function onClick(e) {
86
101
  e.stopPropagation();
87
102
  e.preventDefault();
88
103
  },
89
- className: 'cbx-dragDrop-container-alertProps'
104
+ className: prefixClass('cbx-dragDrop-container-alertProps')
90
105
  }, /*#__PURE__*/_react.default.createElement(_Alert.default, alertProps))));
91
106
  };
92
107
 
@@ -75,8 +75,10 @@ var DesignDrawerPanel = function DesignDrawerPanel(_ref) {
75
75
  title: 'titulo',
76
76
  subTitle: 'subtitulo',
77
77
  open: open,
78
- requestClose: function requestClose() {
79
- return _requestClose(false);
78
+ requestClose: function requestClose(e) {
79
+ e.preventDefault();
80
+
81
+ _requestClose(false);
80
82
  },
81
83
  acceptAction: function acceptAction() {
82
84
  return _requestClose(false);
@@ -1,64 +1,104 @@
1
- .cbx-DrawerPanel-dialog {
1
+ .cbx-drawerPanel-block {
2
+ height: 100%;
3
+ width: 40%;
4
+ position: fixed;
5
+ top: 0;
6
+ right: 0;
7
+ background-color: white;
8
+ overflow-x: hidden;
9
+ transition: transform 0.3s, box-shadow 0.3s;
10
+ position: fixed;
11
+ z-index: var(--zIdxDrawerPanel);
12
+ transform: translateX(100%);
2
13
  display: flex;
3
- align-items: center;
4
- justify-content: flex-end;
14
+ flex-direction: column;
15
+ max-width: 75rem;
5
16
  }
6
17
 
7
- .cbx-DrawerPanel-dialog.cbx-DrawerPanel-dialog-left{
8
- justify-content: flex-start;
18
+ .cbx-drawerPanel-block-open {
19
+ box-shadow: rgba(0, 0, 0, 0.2) 0rem 0.688rem 0.938rem -0.438rem, rgba(0, 0, 0, 0.14) 0rem 1.5rem 2.375rem 0.188rem, rgba(0, 0, 0, 0.12) 0rem 0.563rem 2.875rem 0.5rem;
9
20
  }
10
21
 
11
- .cbx-DrawerPanel-toolbar {
12
- padding: 0 1rem
22
+ .cbx-drawerPanel-block.cbx-drawerPanel-block-open {
23
+ transform: translateX(0);
13
24
  }
14
25
 
15
- .cbx-DrawerPanel-iconButton {
16
- outline: none!important;
17
- height: 1.5em;
18
- padding: 0!important;
19
- margin: 0!important;
20
- width: 1.5em;
26
+ .cbx-drawerPanel-block-left {
27
+ left: 0;
28
+ right: auto;
29
+ transform: translateX(-100%);
21
30
  }
22
31
 
23
- .cbx-DrawerPanel-icon {
24
- color: #fff;
25
- height: auto!important;
32
+ .cbx-drawerPanel-block-left.cbx-drawerPanel-block-open {
33
+ transform: translateX(0);
26
34
  }
27
35
 
28
- .cbx-DrawerPanel-typography {
29
- color:#fff;
30
- flex: 1!important;
31
- padding: 1.125rem!important;
36
+ .cbx-drawerPanel-backdrop {
37
+ position: fixed;
38
+ display: flex;
39
+ -webkit-box-align: center;
40
+ align-items: center;
41
+ -webkit-box-pack: center;
42
+ justify-content: center;
43
+ inset: 0rem;
44
+ background-color: rgba(0, 0, 0, 0.5);
45
+ -webkit-tap-highlight-color: transparent;
46
+ z-index: var(--zIdxDrawerPanelBackdrop);
47
+ opacity: 0;
48
+ transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
32
49
  }
33
50
 
34
- .cbx-DrawerPanel-typography-left.cbx-DrawerPanel-typography {
35
- padding-left: 1.5rem!important;
51
+ .cbx-drawerPanel-backdrop-open {
52
+ opacity: 1;
36
53
  }
37
54
 
38
- .cbx-DrawerPanel-typography span{
39
- padding-left: 1.5rem!important;
55
+ .cbx-drawerPanel-typography {
56
+ color: #fff;
57
+ flex: 1 !important;
58
+ padding: 1.125rem !important;
59
+ text-overflow: ellipsis;
60
+ overflow: hidden;
61
+ white-space: nowrap;
40
62
  }
41
63
 
42
- .cbx-DrawerPanel-container-tabs {
43
- width: 100%;
44
- margin-right: 4.25rem;
45
- margin-left: 4.25rem;
64
+ .cbx-drawerPanel-typography span {
65
+ padding-left: 1.5rem !important;
66
+ }
67
+
68
+ .cbx-drawerPanel-header {
69
+ display: flex;
70
+ align-items: center;
71
+ background-color: var(--primary);
72
+ height: 4rem;
73
+ }
74
+
75
+ .cbx-drawerPanel-title {
76
+ flex: 1 1;
46
77
  overflow: hidden;
47
78
  }
48
79
 
49
- .cbx-DrawerPanel-tabs {
50
- color: var(--white)!important;
80
+ .cbx-drawerPanel-buttonAccept,
81
+ .cbx-drawerPanel-requestClose {
82
+ padding: 0 1rem
51
83
  }
52
84
 
53
- .cbx-DrawerPanel-tabs:focus {
54
- outline: none;
85
+ .cbx-drawerPanel-tabs-container {
86
+ display: flex;
87
+ align-items: center;
88
+ background-color: var(--primary);
55
89
  }
56
90
 
57
- .cbx-DrawerPanel-tabs-opacity {
58
- opacity: 50%!important
91
+ .cbx-drawerPanel-tabs-block {
92
+ width: 100%;
93
+ margin-right: 4.25rem;
94
+ margin-left: 4.25rem;
95
+ overflow: hidden;
59
96
  }
60
97
 
61
- .cbx-DrawerPanel-dialogContent {
98
+ .cbx-drawerPanel-tabs-bodyText {
99
+ flex: 1 1 auto;
100
+ overflow-y: auto;
101
+ padding: 20px 24px;
62
102
  min-width: 40vw;
63
103
  max-width: 95vw;
64
- }
104
+ }