@antscorp/antsomi-ui 1.3.5-beta.595 → 1.3.5-beta.597
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/es/components/icons/ExpandMoreIcon.d.ts +3 -0
- package/es/components/icons/ExpandMoreIcon.js +7 -0
- package/es/components/icons/index.d.ts +1 -0
- package/es/components/icons/index.js +1 -0
- package/es/components/molecules/AccountSelection/styled.js +1 -0
- package/es/providers/ConfigProvider/GlobalStyle.js +24 -4
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
import { useIcon } from './hooks/useIcon';
|
|
3
|
+
export const ExpandMoreIcon = forwardRef((props, ref) => {
|
|
4
|
+
const { width, height } = useIcon(props);
|
|
5
|
+
return (React.createElement("svg", Object.assign({ viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { ref: ref, width: width, height: height }),
|
|
6
|
+
React.createElement("path", { d: "M16.5938 8.57812L18 9.98438L12 15.9844L6 9.98438L7.40625 8.57812L12 13.1719L16.5938 8.57812Z", fill: "currentColor" })));
|
|
7
|
+
});
|
|
@@ -191,14 +191,34 @@ export const GlobalStyle = () => {
|
|
|
191
191
|
|
|
192
192
|
// NOTE: Just hot fix for easy looking
|
|
193
193
|
.antsomi-btn-primary.antsomi-btn-compact-item.antsomi-btn-compact-first-item {
|
|
194
|
-
padding-right:
|
|
194
|
+
padding-right: 6px !important;
|
|
195
195
|
}
|
|
196
196
|
.antsomi-btn-compact-item.antsomi-btn-primary.antsomi-btn-compact-last-item {
|
|
197
197
|
width: fit-content;
|
|
198
|
-
padding: 0px !important;
|
|
199
|
-
padding
|
|
198
|
+
//padding: 0px !important;
|
|
199
|
+
padding: 0px 4px !important;
|
|
200
200
|
&::before {
|
|
201
|
-
|
|
201
|
+
content: '';
|
|
202
|
+
position: absolute;
|
|
203
|
+
left: 0px;
|
|
204
|
+
background-color: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.blue5} !important;
|
|
205
|
+
top: auto !important;
|
|
206
|
+
height: 80% !important;
|
|
207
|
+
width: 1px !important;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
&:disabled {
|
|
211
|
+
&::before {
|
|
212
|
+
background-color: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.bw4} !important;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
&:not(:disabled) {
|
|
217
|
+
&:hover {
|
|
218
|
+
&:: before {
|
|
219
|
+
opacity: 0;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
202
222
|
}
|
|
203
223
|
}
|
|
204
224
|
|