@antscorp/antsomi-ui 1.5.3 → 1.5.4

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.
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import i18nInstance from '@antscorp/antsomi-ui/es/locales/i18n';
4
4
  // Atoms
5
- import { Tag } from '@antscorp/antsomi-ui/es/components/atoms';
5
+ import { StyledTag as Tag } from '@antscorp/antsomi-ui/es/components/molecules/SelectV2/styled';
6
6
  import { StyledSelect } from './styled';
7
7
  // Translations
8
8
  import { translations } from '@antscorp/antsomi-ui/es/locales/translations';
@@ -29,9 +29,10 @@ import get from 'lodash/get';
29
29
  // Icons
30
30
  import Icon from '@antscorp/icons';
31
31
  // Atoms
32
- import { Button, Text, Tag } from '@antscorp/antsomi-ui/es/components/atoms';
32
+ import { Button, Text } from '@antscorp/antsomi-ui/es/components/atoms';
33
33
  // Molecules
34
34
  import { Modal, SelectV2 as Select, RadioGroup, TreeSelect, } from '@antscorp/antsomi-ui/es/components/molecules';
35
+ import { StyledTag as Tag } from '@antscorp/antsomi-ui/es/components/molecules/SelectV2/styled';
35
36
  // Translations
36
37
  import { translations } from '@antscorp/antsomi-ui/es/locales/translations';
37
38
  // Queries
@@ -485,6 +486,10 @@ export const StyledDropdown = styled.div `
485
486
  }
486
487
  `;
487
488
  export const StyledSelect = styled(Select) `
489
+ .antsomi-select-selection-search {
490
+ width: fit-content !important;
491
+ }
492
+
488
493
  .antsomi-select-selection-placeholder {
489
494
  ${props => {
490
495
  var _a;
@@ -28,9 +28,10 @@ import styled from 'styled-components';
28
28
  import { Popover, Input } from 'antd';
29
29
  import i18nInstance from '@antscorp/antsomi-ui/es/locales/i18n';
30
30
  // Atoms
31
- import { Button, Divider, Icon, Text, Tag } from '@antscorp/antsomi-ui/es/components/atoms';
31
+ import { Button, Divider, Icon, Text } from '@antscorp/antsomi-ui/es/components/atoms';
32
32
  // Molecules
33
33
  import { ModalSelect, StyledTreeSelect } from '../InputOrSelect';
34
+ import { StyledTag as Tag } from '@antscorp/antsomi-ui/es/components/molecules/SelectV2/styled';
34
35
  // Components
35
36
  import { TreeContentWrapper } from './Tree';
36
37
  import { ColumnSuggestion } from './ColumnSuggestion';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",