@councilbox/councilbox-ui 0.6.30 → 1.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.
@@ -16,7 +16,7 @@ a.noStyles:hover{
16
16
  `}</style>
17
17
 
18
18
 
19
- # Librería de componentes ui-councilbox v0.6.30
19
+ # Librería de componentes ui-councilbox v0.6.31
20
20
 
21
21
  <h2>Componentes:</h2>
22
22
  <div><a class='noStyles' href='/story/components-accordion--default'>Accordion</a></div>
@@ -24,6 +24,12 @@ a.noStyles:hover{
24
24
  <h2>v0.5.4</h2>
25
25
  <div>Fix zIndex label InputText y SelectInput</div>
26
26
  </div>
27
+ <h2>v1.0.0</h2>
28
+ <div>Fix variant standard inputTextArea</div>
29
+
30
+ <h2>v0.6.31</h2>
31
+ <div>Fix header DrawerPanel direction left</div>
32
+
27
33
  <h2>v0.6.30</h2>
28
34
  <div>Add Open DrawerPanel left direction</div>
29
35
 
@@ -31,6 +31,10 @@
31
31
  padding: 1.125rem!important;
32
32
  }
33
33
 
34
+ .cbx-DrawerPanel-typography-left.cbx-DrawerPanel-typography {
35
+ padding-left: 1.5rem!important;
36
+ }
37
+
34
38
  .cbx-DrawerPanel-typography span{
35
39
  padding-left: 1.5rem!important;
36
40
  }
@@ -122,7 +122,7 @@ var DrawerPanel = function DrawerPanel(_ref) {
122
122
  backgroundColor: 'var(--primary)'
123
123
  },
124
124
  elevation: 0
125
- }, !!requestClose && /*#__PURE__*/_react.default.createElement(_Toolbar.default, {
125
+ }, direction !== 'left' && !!requestClose && /*#__PURE__*/_react.default.createElement(_Toolbar.default, {
126
126
  className: "cbx-DrawerPanel-toolbar"
127
127
  }, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
128
128
  edge: "end",
@@ -134,7 +134,7 @@ var DrawerPanel = function DrawerPanel(_ref) {
134
134
  }))), !!title && /*#__PURE__*/_react.default.createElement(_Typography.default, {
135
135
  variant: "M",
136
136
  color: 'white',
137
- className: 'cbx-DrawerPanel-typography',
137
+ className: "cbx-DrawerPanel-typography ".concat(direction === 'left' ? 'cbx-DrawerPanel-typography-left' : ''),
138
138
  fontWeight: 'bold',
139
139
  styles: _objectSpread({
140
140
  fontSize: '1.125rem'
@@ -157,7 +157,16 @@ var DrawerPanel = function DrawerPanel(_ref) {
157
157
  onClick: acceptAction,
158
158
  variant: 'secondaryDark',
159
159
  endIcon: endIcon
160
- }, propsButton)))), /*#__PURE__*/_react.default.createElement(_AppBar.default, {
160
+ }, propsButton))), direction === 'left' && !!requestClose && /*#__PURE__*/_react.default.createElement(_Toolbar.default, {
161
+ className: "cbx-DrawerPanel-toolbar"
162
+ }, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
163
+ edge: "end",
164
+ id: "".concat(id, "-close"),
165
+ className: "cbx-DrawerPanel-iconButton",
166
+ onClick: requestClose
167
+ }, /*#__PURE__*/_react.default.createElement(_Icon.default, {
168
+ className: 'cbx-DrawerPanel-icon ri-close-line'
169
+ })))), /*#__PURE__*/_react.default.createElement(_AppBar.default, {
161
170
  sx: {
162
171
  position: 'relative',
163
172
  flexDirection: 'row',
@@ -154,6 +154,12 @@ var CssTextField = (0, _styled.default)(_TextField.default)(function () {
154
154
  padding: 'var(--spacing12) var(--spacing12) var(--spacing12) 0!important',
155
155
  paddingRight: 'var(--spacing8)!important'
156
156
  },
157
+ '& textarea.MuiInputBase-input.MuiInput-input.MuiInputBase-inputMultiline': {
158
+ padding: '0!important',
159
+ lineHeight: '1.125rem',
160
+ maxHeight: '2.25rem',
161
+ overflowY: 'auto!important'
162
+ },
157
163
  '& input.MuiInputBase-root.MuiOutlinedInput-root': {
158
164
  padding: '0'
159
165
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@councilbox/councilbox-ui",
3
- "version": "0.6.30",
3
+ "version": "1.0.0",
4
4
  "main": "dist/build-index.js",
5
5
  "files": [
6
6
  "dist",