@bbl-digital/snorre 2.2.132 → 2.2.133

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.
package/dist/bundle.js CHANGED
@@ -31970,7 +31970,7 @@
31970
31970
  })]
31971
31971
  }), (props.values?.length || props.renderCustomValueInput) && !props.loading && showValues && jsxRuntime$1.jsxs("div", {
31972
31972
  ref: valuesRef,
31973
- css: () => [styles.listWrapper, props.dynamicallyPlaceInput && Boolean(optionsHeight) && styles.listWrapperTopPosition(optionsHeight), props.dynamicallyPlaceInput && Boolean(optionsHeight) && props.invalidMessage && styles.listWrapperTopPosition(optionsHeight + 30), props.inputValuesMaxWidth && styles.listWrapperMaxWidth(props.inputValuesMaxWidth)],
31973
+ css: () => [!props.renderCustomValueInput && styles.listWrapper, props.dynamicallyPlaceInput && Boolean(optionsHeight) && styles.listWrapperTopPosition(optionsHeight), props.dynamicallyPlaceInput && Boolean(optionsHeight) && props.invalidMessage && styles.listWrapperTopPosition(optionsHeight + 30), props.inputValuesMaxWidth && styles.listWrapperMaxWidth(props.inputValuesMaxWidth)],
31974
31974
  children: [props.values?.length && jsxRuntime$1.jsx("ul", {
31975
31975
  css: theme => [styles.list(theme)],
31976
31976
  children: props.values.map((item, index) => jsxRuntime$1.jsx("li", {
@@ -252,7 +252,7 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(({
252
252
  })]
253
253
  }), (props.values?.length || props.renderCustomValueInput) && !props.loading && showValues && _jsxs("div", {
254
254
  ref: valuesRef,
255
- css: () => [styles.listWrapper, props.dynamicallyPlaceInput && Boolean(optionsHeight) && styles.listWrapperTopPosition(optionsHeight), props.dynamicallyPlaceInput && Boolean(optionsHeight) && props.invalidMessage && styles.listWrapperTopPosition(optionsHeight + 30), props.inputValuesMaxWidth && styles.listWrapperMaxWidth(props.inputValuesMaxWidth)],
255
+ css: () => [!props.renderCustomValueInput && styles.listWrapper, props.dynamicallyPlaceInput && Boolean(optionsHeight) && styles.listWrapperTopPosition(optionsHeight), props.dynamicallyPlaceInput && Boolean(optionsHeight) && props.invalidMessage && styles.listWrapperTopPosition(optionsHeight + 30), props.inputValuesMaxWidth && styles.listWrapperMaxWidth(props.inputValuesMaxWidth)],
256
256
  children: [props.values?.length && _jsx("ul", {
257
257
  css: theme => [styles.list(theme)],
258
258
  children: props.values.map((item, index) => _jsx("li", {
@@ -252,7 +252,7 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(({
252
252
  })]
253
253
  }), (props.values?.length || props.renderCustomValueInput) && !props.loading && showValues && _jsxs("div", {
254
254
  ref: valuesRef,
255
- css: () => [styles.listWrapper, props.dynamicallyPlaceInput && Boolean(optionsHeight) && styles.listWrapperTopPosition(optionsHeight), props.dynamicallyPlaceInput && Boolean(optionsHeight) && props.invalidMessage && styles.listWrapperTopPosition(optionsHeight + 30), props.inputValuesMaxWidth && styles.listWrapperMaxWidth(props.inputValuesMaxWidth)],
255
+ css: () => [!props.renderCustomValueInput && styles.listWrapper, props.dynamicallyPlaceInput && Boolean(optionsHeight) && styles.listWrapperTopPosition(optionsHeight), props.dynamicallyPlaceInput && Boolean(optionsHeight) && props.invalidMessage && styles.listWrapperTopPosition(optionsHeight + 30), props.inputValuesMaxWidth && styles.listWrapperMaxWidth(props.inputValuesMaxWidth)],
256
256
  children: [props.values?.length && _jsx("ul", {
257
257
  css: theme => [styles.list(theme)],
258
258
  children: props.values.map((item, index) => _jsx("li", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "2.2.132",
3
+ "version": "2.2.133",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",