@commercetools-uikit/select-utils 16.11.0 → 16.12.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.
@@ -369,7 +369,8 @@ const menuStyles = props => base => {
369
369
  if (props.hasWarning) return designSystem.designTokens.borderColorForSelectInputMenuWhenWarning;
370
370
  return base.borderColorForInput;
371
371
  })(),
372
- width: props.horizontalConstraint === 'auto' ? 'auto' : '100%'
372
+ width: props.horizontalConstraint === 'auto' ? 'auto' : '100%',
373
+ minWidth: designSystem.designTokens.constraint3
373
374
  });
374
375
  };
375
376
  const indicatorSeparatorStyles = () => base => {
@@ -603,7 +604,7 @@ const warnIfMenuPortalPropsAreMissing = props => {
603
604
  };
604
605
 
605
606
  // NOTE: This string will be replaced on build time with the package version.
606
- var version = "16.11.0";
607
+ var version = "16.12.0";
607
608
 
608
609
  exports.ClearIndicator = ClearIndicator$1;
609
610
  exports.CustomSelectInputOption = CustomSelectInputOption;
@@ -369,7 +369,8 @@ const menuStyles = props => base => {
369
369
  if (props.hasWarning) return designSystem.designTokens.borderColorForSelectInputMenuWhenWarning;
370
370
  return base.borderColorForInput;
371
371
  })(),
372
- width: props.horizontalConstraint === 'auto' ? 'auto' : '100%'
372
+ width: props.horizontalConstraint === 'auto' ? 'auto' : '100%',
373
+ minWidth: designSystem.designTokens.constraint3
373
374
  });
374
375
  };
375
376
  const indicatorSeparatorStyles = () => base => {
@@ -600,7 +601,7 @@ const warnIfMenuPortalPropsAreMissing = props => {
600
601
  };
601
602
 
602
603
  // NOTE: This string will be replaced on build time with the package version.
603
- var version = "16.11.0";
604
+ var version = "16.12.0";
604
605
 
605
606
  exports.ClearIndicator = ClearIndicator$1;
606
607
  exports.CustomSelectInputOption = CustomSelectInputOption;
@@ -349,7 +349,8 @@ const menuStyles = props => base => {
349
349
  if (props.hasWarning) return designTokens.borderColorForSelectInputMenuWhenWarning;
350
350
  return base.borderColorForInput;
351
351
  })(),
352
- width: props.horizontalConstraint === 'auto' ? 'auto' : '100%'
352
+ width: props.horizontalConstraint === 'auto' ? 'auto' : '100%',
353
+ minWidth: designTokens.constraint3
353
354
  });
354
355
  };
355
356
  const indicatorSeparatorStyles = () => base => {
@@ -583,6 +584,6 @@ const warnIfMenuPortalPropsAreMissing = props => {
583
584
  };
584
585
 
585
586
  // NOTE: This string will be replaced on build time with the package version.
586
- var version = "16.11.0";
587
+ var version = "16.12.0";
587
588
 
588
589
  export { ClearIndicator$1 as ClearIndicator, CustomSelectInputOption, DoublePropertySelectInputOption, DropdownIndicator$1 as DropdownIndicator, MultiplePropertiesSelectInputOption, SELECT_DROPDOWN_OPTION_TYPES, SearchIconDropdownIndicator$1 as SearchIconDropdownIndicator, TagRemove$1 as TagRemove, WrapperWithIcon$1 as ValueWrapperWithIcon, createSelectStyles, customComponents as customComponentsWithIcons, messages, version, warnIfMenuPortalPropsAreMissing };
@@ -1 +1 @@
1
- export { default } from './clear-indicator';
1
+ export { default } from "./clear-indicator.js";
@@ -65,6 +65,7 @@ export default function createSelectStyles(props: TProps): {
65
65
  margin: string;
66
66
  borderColor: string | undefined;
67
67
  width: string;
68
+ minWidth: "var(--constraint-3, 142px)";
68
69
  fontColorForInput?: string | undefined;
69
70
  borderColorForInput?: string | undefined;
70
71
  color?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import { OptionProps } from 'react-select';
2
- import { SELECT_DROPDOWN_OPTION_TYPES } from './constants';
2
+ import { SELECT_DROPDOWN_OPTION_TYPES } from "./constants.js";
3
3
  export type TData = {
4
4
  label?: string;
5
5
  key?: string;
@@ -1,2 +1,2 @@
1
- export { SELECT_DROPDOWN_OPTION_TYPES } from './constants';
2
- export * from './custom-styled-select-options';
1
+ export { SELECT_DROPDOWN_OPTION_TYPES } from "./constants.js";
2
+ export * from "./custom-styled-select-options.js";
@@ -1 +1 @@
1
- export { default } from './dropdown-indicator';
1
+ export { default } from "./dropdown-indicator.js";
@@ -1,3 +1,3 @@
1
- export type { TClearIndicatorProps } from './clear-indicator/clear-indicator';
2
- export type { TTagRemoveSelectProps, TTagRemoveProps, } from './tag-remove/tag-remove';
3
- export type { TWrapperWithIconProps, TWrapperWithIconSelectProps, TDefaultComponent, } from './wrapper-with-icon/wrapper-with-icon';
1
+ export type { TClearIndicatorProps } from "./clear-indicator/clear-indicator.js";
2
+ export type { TTagRemoveSelectProps, TTagRemoveProps, } from "./tag-remove/tag-remove.js";
3
+ export type { TWrapperWithIconProps, TWrapperWithIconSelectProps, TDefaultComponent, } from "./wrapper-with-icon/wrapper-with-icon.js";
@@ -1,12 +1,12 @@
1
- export { default as ClearIndicator } from './clear-indicator';
2
- export { default as TagRemove } from './tag-remove';
3
- export { default as DropdownIndicator } from './dropdown-indicator';
4
- export { default as SearchIconDropdownIndicator } from './search-icon-dropdown-indicator';
5
- export { default as ValueWrapperWithIcon } from './wrapper-with-icon';
6
- export { customComponents as customComponentsWithIcons } from './wrapper-with-icon';
7
- export * from './custom-styled-select-options';
8
- export * from './export-types';
9
- export { default as messages } from './messages';
10
- export { default as createSelectStyles } from './create-select-styles';
11
- export { warnIfMenuPortalPropsAreMissing } from './warning';
12
- export { default as version } from './version';
1
+ export { default as ClearIndicator } from "./clear-indicator/index.js";
2
+ export { default as TagRemove } from "./tag-remove/index.js";
3
+ export { default as DropdownIndicator } from "./dropdown-indicator/index.js";
4
+ export { default as SearchIconDropdownIndicator } from "./search-icon-dropdown-indicator/index.js";
5
+ export { default as ValueWrapperWithIcon } from "./wrapper-with-icon/index.js";
6
+ export { customComponents as customComponentsWithIcons } from "./wrapper-with-icon/index.js";
7
+ export * from "./custom-styled-select-options/index.js";
8
+ export * from "./export-types.js";
9
+ export { default as messages } from "./messages.js";
10
+ export { default as createSelectStyles } from "./create-select-styles.js";
11
+ export { warnIfMenuPortalPropsAreMissing } from "./warning.js";
12
+ export { default as version } from "./version.js";
@@ -1 +1 @@
1
- export { default } from './search-icon-dropdown-indicator';
1
+ export { default } from "./search-icon-dropdown-indicator.js";
@@ -1 +1 @@
1
- export { default } from './tag-remove';
1
+ export { default } from "./tag-remove.js";
@@ -1 +1 @@
1
- export { default, customComponents } from './wrapper-with-icon';
1
+ export { default, customComponents } from "./wrapper-with-icon.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/select-utils",
3
3
  "description": "Utilities for working with select components.",
4
- "version": "16.11.0",
4
+ "version": "16.12.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/accessible-button": "16.11.0",
25
- "@commercetools-uikit/design-system": "16.11.0",
26
- "@commercetools-uikit/icons": "16.11.0",
27
- "@commercetools-uikit/spacings": "16.11.0",
28
- "@commercetools-uikit/text": "16.11.0",
29
- "@commercetools-uikit/utils": "16.11.0",
24
+ "@commercetools-uikit/accessible-button": "16.12.0",
25
+ "@commercetools-uikit/design-system": "16.12.0",
26
+ "@commercetools-uikit/icons": "16.12.0",
27
+ "@commercetools-uikit/spacings": "16.12.0",
28
+ "@commercetools-uikit/text": "16.12.0",
29
+ "@commercetools-uikit/utils": "16.12.0",
30
30
  "@emotion/react": "^11.10.5",
31
31
  "@emotion/styled": "^11.10.5",
32
32
  "lodash": "4.17.21",
33
33
  "prop-types": "15.8.1",
34
- "react-select": "5.7.3"
34
+ "react-select": "5.8.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "react": "17.0.2",
@@ -1,8 +0,0 @@
1
- declare const _default: {
2
- clearButtonLabel: {
3
- id: string;
4
- description: string;
5
- defaultMessage: string;
6
- };
7
- };
8
- export default _default;