@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.
- package/dist/components/1.Introduction.stories.mdx +1 -1
- package/dist/components/2.Changelog.stories.mdx +6 -0
- package/dist/components/DrawerPanel/DrawerPanel.css +4 -0
- package/dist/components/DrawerPanel/DrawerPanel.js +12 -3
- package/dist/components/InputText/InputText.js +6 -0
- package/package.json +1 -1
|
@@ -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
|
|
|
@@ -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)))
|
|
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
|
},
|