@bolttech/molecules-input-combo 0.1.1 → 0.1.3

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.
Files changed (2) hide show
  1. package/index.cjs.js +13 -8
  2. package/package.json +7 -9
package/index.cjs.js CHANGED
@@ -53,7 +53,7 @@ var fails$a = fails$c;
53
53
 
54
54
  var functionBindNative = !fails$a(function () {
55
55
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
56
- var test = (function () { /* empty */ }).bind();
56
+ var test = function () { /* empty */ }.bind();
57
57
  // eslint-disable-next-line no-prototype-builtins -- safe
58
58
  return typeof test != 'function' || test.hasOwnProperty('prototype');
59
59
  });
@@ -331,10 +331,10 @@ var SHARED = '__core-js_shared__';
331
331
  var store$3 = sharedStore.exports = globalThis$8[SHARED] || defineGlobalProperty$2(SHARED, {});
332
332
 
333
333
  (store$3.versions || (store$3.versions = [])).push({
334
- version: '3.48.0',
334
+ version: '3.49.0',
335
335
  mode: 'global',
336
336
  copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
337
- license: 'https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE',
337
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
338
338
  source: 'https://github.com/zloirock/core-js'
339
339
  });
340
340
 
@@ -1338,7 +1338,9 @@ var iterate$1 = function (iterable, unboundFunction, options) {
1338
1338
  var iterator, iterFn, index, length, result, next, step;
1339
1339
 
1340
1340
  var stop = function (condition) {
1341
- if (iterator) iteratorClose$1(iterator, 'normal');
1341
+ var $iterator = iterator;
1342
+ iterator = undefined;
1343
+ if ($iterator) iteratorClose$1($iterator, 'normal');
1342
1344
  return new Result(true, condition);
1343
1345
  };
1344
1346
 
@@ -1368,10 +1370,13 @@ var iterate$1 = function (iterable, unboundFunction, options) {
1368
1370
 
1369
1371
  next = IS_RECORD ? iterable.next : iterator.next;
1370
1372
  while (!(step = call$2(next, iterator)).done) {
1373
+ // `IteratorValue` errors should propagate without closing the iterator
1374
+ var value = step.value;
1371
1375
  try {
1372
- result = callFn(step.value);
1376
+ result = callFn(value);
1373
1377
  } catch (error) {
1374
- iteratorClose$1(iterator, 'throw', error);
1378
+ if (iterator) iteratorClose$1(iterator, 'throw', error);
1379
+ else throw error;
1375
1380
  }
1376
1381
  if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
1377
1382
  } return new Result(false);
@@ -1597,7 +1602,7 @@ const Container = /*#__PURE__*/styled__default.default.div.withConfig({
1597
1602
  const DropdownSection = /*#__PURE__*/styled__default.default.div.withConfig({
1598
1603
  displayName: "molecules-input-combostyles__DropdownSection",
1599
1604
  componentId: "sc-14wxneq-2"
1600
- })(["position:relative;display:flex;flex-shrink:0;& > section{position:static;width:auto;height:100%;}& > section > section{outline:none;box-shadow:none;border-radius:0;background-color:transparent;margin-bottom:0;height:100%;box-sizing:border-box;align-items:center;padding-top:0;padding-bottom:0;padding-left:", ";padding-right:", ";gap:", ";}& > section > section .fieldLabel,& > section > section .requiredLabel{display:none;}& > section > section > div{flex:0 0 auto;}& > section > section input{width:auto;min-width:20px;max-width:30px;color:", ";}& section > section span.material-symbols-sharp{color:", ";font-size:", ";}& > section > .errorMessage,& > section > .helperMessage{display:none;}& > section > ul,& > section > section ~ ul{min-width:100%;}"], ({
1605
+ })(["position:relative;display:flex;flex-shrink:0;& > div[class]{position:static;width:auto;height:100%;}& > div[class] > div[class]{outline:none;box-shadow:none;border-radius:0;background-color:transparent;margin-bottom:0;height:100%;box-sizing:border-box;align-items:center;padding-top:0;padding-bottom:0;padding-left:", ";padding-right:", ";gap:", ";}& > div[class] > div[class] .fieldLabel,& > div[class] > div[class] .requiredLabel{display:none;}& > div[class] > div[class] > div{flex:0 0 auto;}& > div[class] > div[class] input{width:auto;min-width:20px;max-width:30px;color:", ";}& div[class] > div[class] span.material-symbols-sharp{color:", ";font-size:", ";}& > div[class] > .errorMessage,& > div[class] > .helperMessage{display:none;}& > div[class] > ul,& > div[class] > div[class] ~ ul{min-width:100%;}"], ({
1601
1606
  theme
1602
1607
  }) => theme.components.inputCombo.paddingHorizontal, ({
1603
1608
  theme
@@ -1761,7 +1766,7 @@ const InputCombo = /*#__PURE__*/react.forwardRef((_a, ref) => {
1761
1766
  children: jsxRuntime.jsx(moleculesDropdown.Dropdown, {
1762
1767
  id: `${id}-dropdown`,
1763
1768
  dataTestId: `${dataTestId}-dropdown`,
1764
- label: dropdownLabel,
1769
+ label: dropdownLabel || 'Select option',
1765
1770
  variant: variant,
1766
1771
  optionList: dropdownOptions,
1767
1772
  disabled: disabled,
package/package.json CHANGED
@@ -1,16 +1,14 @@
1
1
  {
2
2
  "name": "@bolttech/molecules-input-combo",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "dependencies": {
5
- "react": "19.1.2",
6
- "react-dom": "19.1.2",
7
5
  "styled-components": "6.1.1",
8
- "@bolttech/atoms-icon": "0.24.8",
9
- "@bolttech/atoms-select": "0.27.2",
10
- "@bolttech/atoms-tooltip": "0.24.8",
11
- "@bolttech/molecules-dropdown": "0.37.2",
12
- "@bolttech/ui-utils": "0.6.5",
13
- "@bolttech/default-theme": "0.18.2"
6
+ "react": "19.1.2",
7
+ "@bolttech/atoms-select": "0.27.4",
8
+ "@bolttech/molecules-dropdown": "0.37.4",
9
+ "@bolttech/atoms-input": "0.30.4",
10
+ "@bolttech/divider": "0.22.3",
11
+ "@bolttech/ui-utils": "0.6.7"
14
12
  },
15
13
  "main": "./index.cjs.js",
16
14
  "type": "commonjs",