@commercetools-uikit/select-utils 20.3.0 → 20.3.1

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.
@@ -46,9 +46,11 @@ var CheckboxInput__default = /*#__PURE__*/_interopDefault(CheckboxInput);
46
46
 
47
47
  var messages$1 = reactIntl.defineMessages({
48
48
  clearButtonLabel: {
49
- id: 'UIKit.ClearButton.clearButtonLabel',
50
- description: 'Label for the clear button',
51
- defaultMessage: 'Clear'
49
+ id: "UIKit.ClearButton.clearButtonLabel",
50
+ defaultMessage: [{
51
+ "type": 0,
52
+ "value": "Clear"
53
+ }]
52
54
  }
53
55
  });
54
56
 
@@ -278,34 +280,52 @@ const optionsStyleCheckboxSelectProps = () => {
278
280
 
279
281
  var messages = reactIntl.defineMessages({
280
282
  createLabel: {
281
- id: 'UIKit.CreatableSelectInput.createLabel',
282
- description: 'Text of dropdown when creating option',
283
- defaultMessage: 'Create "{inputValue}"'
283
+ id: "UIKit.CreatableSelectInput.createLabel",
284
+ defaultMessage: [{
285
+ "type": 0,
286
+ "value": "Create \""
287
+ }, {
288
+ "type": 1,
289
+ "value": "inputValue"
290
+ }, {
291
+ "type": 0,
292
+ "value": "\""
293
+ }]
284
294
  },
285
295
  noOptionsMessageWithInputValue: {
286
- id: 'UIKit.SelectInput.noOptionsMessageWithInputValue',
287
- description: 'Text of dropdown when no options match search text',
288
- defaultMessage: 'No options'
296
+ id: "UIKit.SelectInput.noOptionsMessageWithInputValue",
297
+ defaultMessage: [{
298
+ "type": 0,
299
+ "value": "No options"
300
+ }]
289
301
  },
290
302
  noOptionsMessageWithoutInputValue: {
291
- id: 'UIKit.SelectInput.noOptionsMessageWithoutInputValue',
292
- description: 'Text of dropdown when no options exist',
293
- defaultMessage: 'No options'
303
+ id: "UIKit.SelectInput.noOptionsMessageWithoutInputValue",
304
+ defaultMessage: [{
305
+ "type": 0,
306
+ "value": "No options"
307
+ }]
294
308
  },
295
309
  placeholder: {
296
- id: 'UIKit.SelectInput.placeholder',
297
- description: 'Default input placeholder text',
298
- defaultMessage: 'Select...'
310
+ id: "UIKit.SelectInput.placeholder",
311
+ defaultMessage: [{
312
+ "type": 0,
313
+ "value": "Select..."
314
+ }]
299
315
  },
300
316
  selectInputAsFilterPlaceholder: {
301
- id: 'UIKit.SelectInput.selectInputAsFilterPlaceholder',
302
- description: 'Default input placeholder text when used as filter',
303
- defaultMessage: 'Search'
317
+ id: "UIKit.SelectInput.selectInputAsFilterPlaceholder",
318
+ defaultMessage: [{
319
+ "type": 0,
320
+ "value": "Search"
321
+ }]
304
322
  },
305
323
  loadingOptions: {
306
- id: 'UIKit.SelectInput.loadingOptions',
307
- description: 'Default input loading text',
308
- defaultMessage: 'Loading...'
324
+ id: "UIKit.SelectInput.loadingOptions",
325
+ defaultMessage: [{
326
+ "type": 0,
327
+ "value": "Loading..."
328
+ }]
309
329
  }
310
330
  });
311
331
 
@@ -693,7 +713,7 @@ const warnIfMenuPortalPropsAreMissing = props => {
693
713
  };
694
714
 
695
715
  // NOTE: This string will be replaced on build time with the package version.
696
- var version = "20.3.0";
716
+ var version = "20.3.1";
697
717
 
698
718
  exports.ClearIndicator = ClearIndicator$1;
699
719
  exports.CustomSelectInputOption = CustomSelectInputOption;
@@ -46,9 +46,11 @@ var CheckboxInput__default = /*#__PURE__*/_interopDefault(CheckboxInput);
46
46
 
47
47
  var messages$1 = reactIntl.defineMessages({
48
48
  clearButtonLabel: {
49
- id: 'UIKit.ClearButton.clearButtonLabel',
50
- description: 'Label for the clear button',
51
- defaultMessage: 'Clear'
49
+ id: "UIKit.ClearButton.clearButtonLabel",
50
+ defaultMessage: [{
51
+ "type": 0,
52
+ "value": "Clear"
53
+ }]
52
54
  }
53
55
  });
54
56
 
@@ -278,34 +280,52 @@ const optionsStyleCheckboxSelectProps = () => {
278
280
 
279
281
  var messages = reactIntl.defineMessages({
280
282
  createLabel: {
281
- id: 'UIKit.CreatableSelectInput.createLabel',
282
- description: 'Text of dropdown when creating option',
283
- defaultMessage: 'Create "{inputValue}"'
283
+ id: "UIKit.CreatableSelectInput.createLabel",
284
+ defaultMessage: [{
285
+ "type": 0,
286
+ "value": "Create \""
287
+ }, {
288
+ "type": 1,
289
+ "value": "inputValue"
290
+ }, {
291
+ "type": 0,
292
+ "value": "\""
293
+ }]
284
294
  },
285
295
  noOptionsMessageWithInputValue: {
286
- id: 'UIKit.SelectInput.noOptionsMessageWithInputValue',
287
- description: 'Text of dropdown when no options match search text',
288
- defaultMessage: 'No options'
296
+ id: "UIKit.SelectInput.noOptionsMessageWithInputValue",
297
+ defaultMessage: [{
298
+ "type": 0,
299
+ "value": "No options"
300
+ }]
289
301
  },
290
302
  noOptionsMessageWithoutInputValue: {
291
- id: 'UIKit.SelectInput.noOptionsMessageWithoutInputValue',
292
- description: 'Text of dropdown when no options exist',
293
- defaultMessage: 'No options'
303
+ id: "UIKit.SelectInput.noOptionsMessageWithoutInputValue",
304
+ defaultMessage: [{
305
+ "type": 0,
306
+ "value": "No options"
307
+ }]
294
308
  },
295
309
  placeholder: {
296
- id: 'UIKit.SelectInput.placeholder',
297
- description: 'Default input placeholder text',
298
- defaultMessage: 'Select...'
310
+ id: "UIKit.SelectInput.placeholder",
311
+ defaultMessage: [{
312
+ "type": 0,
313
+ "value": "Select..."
314
+ }]
299
315
  },
300
316
  selectInputAsFilterPlaceholder: {
301
- id: 'UIKit.SelectInput.selectInputAsFilterPlaceholder',
302
- description: 'Default input placeholder text when used as filter',
303
- defaultMessage: 'Search'
317
+ id: "UIKit.SelectInput.selectInputAsFilterPlaceholder",
318
+ defaultMessage: [{
319
+ "type": 0,
320
+ "value": "Search"
321
+ }]
304
322
  },
305
323
  loadingOptions: {
306
- id: 'UIKit.SelectInput.loadingOptions',
307
- description: 'Default input loading text',
308
- defaultMessage: 'Loading...'
324
+ id: "UIKit.SelectInput.loadingOptions",
325
+ defaultMessage: [{
326
+ "type": 0,
327
+ "value": "Loading..."
328
+ }]
309
329
  }
310
330
  });
311
331
 
@@ -690,7 +710,7 @@ const warnIfMenuPortalPropsAreMissing = props => {
690
710
  };
691
711
 
692
712
  // NOTE: This string will be replaced on build time with the package version.
693
- var version = "20.3.0";
713
+ var version = "20.3.1";
694
714
 
695
715
  exports.ClearIndicator = ClearIndicator$1;
696
716
  exports.CustomSelectInputOption = CustomSelectInputOption;
@@ -25,9 +25,11 @@ import CheckboxInput from '@commercetools-uikit/checkbox-input';
25
25
 
26
26
  var messages$1 = defineMessages({
27
27
  clearButtonLabel: {
28
- id: 'UIKit.ClearButton.clearButtonLabel',
29
- description: 'Label for the clear button',
30
- defaultMessage: 'Clear'
28
+ id: "UIKit.ClearButton.clearButtonLabel",
29
+ defaultMessage: [{
30
+ "type": 0,
31
+ "value": "Clear"
32
+ }]
31
33
  }
32
34
  });
33
35
 
@@ -257,34 +259,52 @@ const optionsStyleCheckboxSelectProps = () => {
257
259
 
258
260
  var messages = defineMessages({
259
261
  createLabel: {
260
- id: 'UIKit.CreatableSelectInput.createLabel',
261
- description: 'Text of dropdown when creating option',
262
- defaultMessage: 'Create "{inputValue}"'
262
+ id: "UIKit.CreatableSelectInput.createLabel",
263
+ defaultMessage: [{
264
+ "type": 0,
265
+ "value": "Create \""
266
+ }, {
267
+ "type": 1,
268
+ "value": "inputValue"
269
+ }, {
270
+ "type": 0,
271
+ "value": "\""
272
+ }]
263
273
  },
264
274
  noOptionsMessageWithInputValue: {
265
- id: 'UIKit.SelectInput.noOptionsMessageWithInputValue',
266
- description: 'Text of dropdown when no options match search text',
267
- defaultMessage: 'No options'
275
+ id: "UIKit.SelectInput.noOptionsMessageWithInputValue",
276
+ defaultMessage: [{
277
+ "type": 0,
278
+ "value": "No options"
279
+ }]
268
280
  },
269
281
  noOptionsMessageWithoutInputValue: {
270
- id: 'UIKit.SelectInput.noOptionsMessageWithoutInputValue',
271
- description: 'Text of dropdown when no options exist',
272
- defaultMessage: 'No options'
282
+ id: "UIKit.SelectInput.noOptionsMessageWithoutInputValue",
283
+ defaultMessage: [{
284
+ "type": 0,
285
+ "value": "No options"
286
+ }]
273
287
  },
274
288
  placeholder: {
275
- id: 'UIKit.SelectInput.placeholder',
276
- description: 'Default input placeholder text',
277
- defaultMessage: 'Select...'
289
+ id: "UIKit.SelectInput.placeholder",
290
+ defaultMessage: [{
291
+ "type": 0,
292
+ "value": "Select..."
293
+ }]
278
294
  },
279
295
  selectInputAsFilterPlaceholder: {
280
- id: 'UIKit.SelectInput.selectInputAsFilterPlaceholder',
281
- description: 'Default input placeholder text when used as filter',
282
- defaultMessage: 'Search'
296
+ id: "UIKit.SelectInput.selectInputAsFilterPlaceholder",
297
+ defaultMessage: [{
298
+ "type": 0,
299
+ "value": "Search"
300
+ }]
283
301
  },
284
302
  loadingOptions: {
285
- id: 'UIKit.SelectInput.loadingOptions',
286
- description: 'Default input loading text',
287
- defaultMessage: 'Loading...'
303
+ id: "UIKit.SelectInput.loadingOptions",
304
+ defaultMessage: [{
305
+ "type": 0,
306
+ "value": "Loading..."
307
+ }]
288
308
  }
289
309
  });
290
310
 
@@ -672,6 +692,6 @@ const warnIfMenuPortalPropsAreMissing = props => {
672
692
  };
673
693
 
674
694
  // NOTE: This string will be replaced on build time with the package version.
675
- var version = "20.3.0";
695
+ var version = "20.3.1";
676
696
 
677
697
  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, optionStyleCheckboxComponents, optionsStyleCheckboxSelectProps, version, warnIfMenuPortalPropsAreMissing };
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": "20.3.0",
4
+ "version": "20.3.1",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,16 +21,16 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/accessible-button": "20.3.0",
25
- "@commercetools-uikit/checkbox-input": "20.3.0",
26
- "@commercetools-uikit/design-system": "20.3.0",
27
- "@commercetools-uikit/icons": "20.3.0",
28
- "@commercetools-uikit/spacings": "20.3.0",
29
- "@commercetools-uikit/text": "20.3.0",
30
- "@commercetools-uikit/utils": "20.3.0",
24
+ "@commercetools-uikit/accessible-button": "20.3.1",
25
+ "@commercetools-uikit/checkbox-input": "20.3.1",
26
+ "@commercetools-uikit/design-system": "20.3.1",
27
+ "@commercetools-uikit/icons": "20.3.1",
28
+ "@commercetools-uikit/spacings": "20.3.1",
29
+ "@commercetools-uikit/text": "20.3.1",
30
+ "@commercetools-uikit/utils": "20.3.1",
31
31
  "@emotion/react": "^11.10.5",
32
32
  "@emotion/styled": "^11.10.5",
33
- "lodash": "4.17.21",
33
+ "lodash": "4.17.23",
34
34
  "react-select": "5.10.2"
35
35
  },
36
36
  "devDependencies": {