@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.
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IconProps } from './types';
3
+ export declare const ExpandMoreIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
@@ -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
+ });
@@ -238,3 +238,4 @@ export { WebIcon } from './WebIcon';
238
238
  export { WebhookIcon } from './WebhookIcon';
239
239
  export { WidgetIcon } from './WidgetIcon';
240
240
  export { WritingAIAssitantIcon } from './WritingAIAssitantIcon';
241
+ export { ExpandMoreIcon } from './ExpandMoreIcon';
@@ -238,3 +238,4 @@ export { WebIcon } from './WebIcon';
238
238
  export { WebhookIcon } from './WebhookIcon';
239
239
  export { WidgetIcon } from './WidgetIcon';
240
240
  export { WritingAIAssitantIcon } from './WritingAIAssitantIcon';
241
+ export { ExpandMoreIcon } from './ExpandMoreIcon';
@@ -40,6 +40,7 @@ export const AccountSelectionStyled = styled.div `
40
40
  li {
41
41
  display: flex;
42
42
  justify-content: space-between;
43
+ align-items: center;
43
44
  padding: 5px 10px;
44
45
  margin-bottom: 6px;
45
46
  cursor: pointer;
@@ -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: 4px !important;
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-right: 4px !important;
198
+ //padding: 0px !important;
199
+ padding: 0px 4px !important;
200
200
  &::before {
201
- width: 0px !important;
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.595",
3
+ "version": "1.3.5-beta.597",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",