@bbl-digital/snorre 2.2.125 → 2.2.126

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
@@ -23980,7 +23980,7 @@
23980
23980
  }, [open, ref]); // Handles if open state is set externally
23981
23981
 
23982
23982
  React.useEffect(() => {
23983
- toggleOpen(!!isOpen);
23983
+ toggleOpen(!!open); // eslint-disable-next-line react-hooks/exhaustive-deps
23984
23984
  }, [isOpen]);
23985
23985
 
23986
23986
  const onChange = value => {
@@ -24011,7 +24011,7 @@
24011
24011
  tabIndex: disabled ? -1 : undefined,
24012
24012
  children: props.selectedValue ? props.selectedValue : props.text
24013
24013
  }), jsxRuntime$1.jsx(OptionsWrapper$1, {
24014
- css: [input && styles$f.inputstyle(!!label), optionsWidth && styles$f.optionsWidth(optionsWidth), process.env.NODE_ENV === "production" ? "" : ";label:NonNative;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NlbGVjdC9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0pRIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NlbGVjdC9pbmRleC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeEltcG9ydFNvdXJjZSBAZW1vdGlvbi9yZWFjdCAqL1xuaW1wb3J0IFJlYWN0LCB7XG4gIFJlYWN0Tm9kZUFycmF5LFxuICBSZWFjdEVsZW1lbnQsXG4gIHVzZVN0YXRlLFxuICBjcmVhdGVSZWYsXG4gIHVzZUVmZmVjdCxcbn0gZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBTZXJpYWxpemVkU3R5bGVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgT3B0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lcigoeCkgPT4geClcbiAgICAgICAgICAgICAgLm1hcCgoY2hpbGQsIGtleSkgPT4ge1xuICAgICAgICAgICAgICAgIGlmICghY2hpbGQpIHtcbiAgICAgICAgICAgICAgICAgIHJldHVybiBudWxsXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHJldHVybiBSZWFjdC5jbG9uZUVsZW1lbnQoY2hpbGQgYXMgUmVhY3RFbGVtZW50LCB7XG4gICAgICAgICAgICAgICAgICBvbkNoYW5nZTogb25DaGFuZ2UsXG4gICAgICAgICAgICAgICAgICBrZXksXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgfSl9XG4gICAgICAgICAgPC9MaXN0PlxuICAgICAgICApIDogbnVsbH1cbiAgICAgIDwvT3B0aW9uc1dyYXBwZXI+XG4gICAgPC9TZWxlY3RXcmFwcGVyPlxuICApXG5cbiAgY29uc3QgTmF0aXZlID0gKFxuICAgIDxzZWxlY3RcbiAgICAgIGNzcz17KHRoZW1lKSA9PiBbXG4gICAgICAgIHN0eWxlcy5kZWZhdWx0LFxuICAgICAgICBpbnB1dCAmJiBzdHlsZXMuaW5wdXQodGhlbWUpLFxuICAgICAgICBpbnB1dCAmJiBvcGVuICYmIHN0eWxlcy5vcGVuKHRoZW1lKSxcbiAgICAgICAgdHlwZSA9PT0gJ3ByaW1hcnkxMCcgJiYgc3R5bGVzLnByaW1hcnkxMCh0aGVtZSksXG4gICAgICAgIGljb24gJiYgc3R5bGVzLndpdGhJY29uLFxuICAgICAgXX1cbiAgICAgIHZhbHVlPXtwcm9wcy5zZWxlY3RlZFZhbHVlID8gcHJvcHMuc2VsZWN0ZWRWYWx1ZSA6IHByb3BzLnRleHR9XG4gICAgICBvbkNoYW5nZT17KGUpID0+IG9uQ2hhbmdlKGUudGFyZ2V0LnZhbHVlKX1cbiAgICA+XG4gICAgICB7cHJvcHMuY2hpbGRyZW5cbiAgICAgICAgLmZpbHRlcigoeCkgPT4geClcbiAgICAgICAgLm1hcCgoY2hpbGQ6IGFueSwga2V5OiBhbnkpID0+IHtcbiAgICAgICAgICBpZiAoIWNoaWxkKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbFxuICAgICAgICAgIH1cbiAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgPG9wdGlvbiBrZXk9e2tleX0gdmFsdWU9e2NoaWxkLnByb3BzLnZhbHVlfT5cbiAgICAgICAgICAgICAge2NoaWxkLnByb3BzLmNoaWxkcmVufVxuICAgICAgICAgICAgPC9vcHRpb24+XG4gICAgICAgICAgKVxuICAgICAgICB9KX1cbiAgICA8L3NlbGVjdD5cbiAgKVxuXG4gIHJldHVybiBuYXRpdmUgPyBOYXRpdmUgOiBOb25OYXRpdmVcbn1cblxuZXhwb3J0IGRlZmF1bHQgU2VsZWN0XG4iXX0= */"],
24014
+ css: [input && styles$f.inputstyle(!!label), optionsWidth && styles$f.optionsWidth(optionsWidth), process.env.NODE_ENV === "production" ? "" : ";label:NonNative;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NlbGVjdC9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBbUpRIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NlbGVjdC9pbmRleC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeEltcG9ydFNvdXJjZSBAZW1vdGlvbi9yZWFjdCAqL1xuaW1wb3J0IFJlYWN0LCB7XG4gIFJlYWN0Tm9kZUFycmF5LFxuICBSZWFjdEVsZW1lbnQsXG4gIHVzZVN0YXRlLFxuICBjcmVhdGVSZWYsXG4gIHVzZUVmZmVjdCxcbn0gZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBTZXJpYWxpemVkU3R5bGVzIH0gZnJvbSAnQGVt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AgID5cbiAgICAgICAge29wZW4gPyAoXG4gICAgICAgICAgPExpc3Qgc2VsZWN0TGlzdD5cbiAgICAgICAgICAgIHtwcm9wcy5jaGlsZHJlblxuICAgICAgICAgICAgICAuZmlsdGVyKCh4KSA9PiB4KVxuICAgICAgICAgICAgICAubWFwKChjaGlsZCwga2V5KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFjaGlsZCkge1xuICAgICAgICAgICAgICAgICAgcmV0dXJuIG51bGxcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIFJlYWN0LmNsb25lRWxlbWVudChjaGlsZCBhcyBSZWFjdEVsZW1lbnQsIHtcbiAgICAgICAgICAgICAgICAgIG9uQ2hhbmdlOiBvbkNoYW5nZSxcbiAgICAgICAgICAgICAgICAgIGtleSxcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICA8L0xpc3Q+XG4gICAgICAgICkgOiBudWxsfVxuICAgICAgPC9PcHRpb25zV3JhcHBlcj5cbiAgICA8L1NlbGVjdFdyYXBwZXI+XG4gIClcblxuICBjb25zdCBOYXRpdmUgPSAoXG4gICAgPHNlbGVjdFxuICAgICAgY3NzPXsodGhlbWUpID0+IFtcbiAgICAgICAgc3R5bGVzLmRlZmF1bHQsXG4gICAgICAgIGlucHV0ICYmIHN0eWxlcy5pbnB1dCh0aGVtZSksXG4gICAgICAgIGlucHV0ICYmIG9wZW4gJiYgc3R5bGVzLm9wZW4odGhlbWUpLFxuICAgICAgICB0eXBlID09PSAncHJpbWFyeTEwJyAmJiBzdHlsZXMucHJpbWFyeTEwKHRoZW1lKSxcbiAgICAgICAgaWNvbiAmJiBzdHlsZXMud2l0aEljb24sXG4gICAgICBdfVxuICAgICAgdmFsdWU9e3Byb3BzLnNlbGVjdGVkVmFsdWUgPyBwcm9wcy5zZWxlY3RlZFZhbHVlIDogcHJvcHMudGV4dH1cbiAgICAgIG9uQ2hhbmdlPXsoZSkgPT4gb25DaGFuZ2UoZS50YXJnZXQudmFsdWUpfVxuICAgID5cbiAgICAgIHtwcm9wcy5jaGlsZHJlblxuICAgICAgICAuZmlsdGVyKCh4KSA9PiB4KVxuICAgICAgICAubWFwKChjaGlsZDogYW55LCBrZXk6IGFueSkgPT4ge1xuICAgICAgICAgIGlmICghY2hpbGQpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsXG4gICAgICAgICAgfVxuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8b3B0aW9uIGtleT17a2V5fSB2YWx1ZT17Y2hpbGQucHJvcHMudmFsdWV9PlxuICAgICAgICAgICAgICB7Y2hpbGQucHJvcHMuY2hpbGRyZW59XG4gICAgICAgICAgICA8L29wdGlvbj5cbiAgICAgICAgICApXG4gICAgICAgIH0pfVxuICAgIDwvc2VsZWN0PlxuICApXG5cbiAgcmV0dXJuIG5hdGl2ZSA/IE5hdGl2ZSA6IE5vbk5hdGl2ZVxufVxuXG5leHBvcnQgZGVmYXVsdCBTZWxlY3RcbiJdfQ== */"],
24015
24015
  children: open ? jsxRuntime$1.jsx(List, {
24016
24016
  selectList: true,
24017
24017
  children: props.children.filter(x => x).map((child, key) => {
@@ -55,7 +55,7 @@ const Select = ({
55
55
  }, [open, ref]); // Handles if open state is set externally
56
56
 
57
57
  useEffect(() => {
58
- toggleOpen(!!isOpen);
58
+ toggleOpen(!!open); // eslint-disable-next-line react-hooks/exhaustive-deps
59
59
  }, [isOpen]);
60
60
 
61
61
  const onChange = value => {
@@ -86,7 +86,7 @@ const Select = ({
86
86
  tabIndex: disabled ? -1 : undefined,
87
87
  children: props.selectedValue ? props.selectedValue : props.text
88
88
  }), _jsx(OptionsWrapper, {
89
- css: [input && styles.inputstyle(!!label), optionsWidth && styles.optionsWidth(optionsWidth), process.env.NODE_ENV === "production" ? "" : ";label:NonNative;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb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17ZGlzYWJsZWQgPyAtMSA6IHVuZGVmaW5lZH1cbiAgICAgID5cbiAgICAgICAge3Byb3BzLnNlbGVjdGVkVmFsdWUgPyBwcm9wcy5zZWxlY3RlZFZhbHVlIDogcHJvcHMudGV4dH1cbiAgICAgIDwvQnV0dG9uPlxuICAgICAgPE9wdGlvbnNXcmFwcGVyXG4gICAgICAgIGNzcz17W1xuICAgICAgICAgIGlucHV0ICYmIHN0eWxlcy5pbnB1dHN0eWxlKCEhbGFiZWwpLFxuICAgICAgICAgIG9wdGlvbnNXaWR0aCAmJiBzdHlsZXMub3B0aW9uc1dpZHRoKG9wdGlvbnNXaWR0aCksXG4gICAgICAgIF19XG4gICAgICA+XG4gICAgICAgIHtvcGVuID8gKFxuICAgICAgICAgIDxMaXN0IHNlbGVjdExpc3Q+XG4gICAgICAgICAgICB7cHJvcHMuY2hpbGRyZW5cbiAgICAgICAgICAgICAgLmZpbHRlcigoeCkgPT4geClcbiAgICAgICAgICAgICAgLm1hcCgoY2hpbGQsIGtleSkgPT4ge1xuICAgICAgICAgICAgICAgIGlmICghY2hpbGQpIHtcbiAgICAgICAgICAgICAgICAgIHJldHVybiBudWxsXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHJldHVybiBSZWFjdC5jbG9uZUVsZW1lbnQoY2hpbGQgYXMgUmVhY3RFbGVtZW50LCB7XG4gICAgICAgICAgICAgICAgICBvbkNoYW5nZTogb25DaGFuZ2UsXG4gICAgICAgICAgICAgICAgICBrZXksXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgfSl9XG4gICAgICAgICAgPC9MaXN0PlxuICAgICAgICApIDogbnVsbH1cbiAgICAgIDwvT3B0aW9uc1dyYXBwZXI+XG4gICAgPC9TZWxlY3RXcmFwcGVyPlxuICApXG5cbiAgY29uc3QgTmF0aXZlID0gKFxuICAgIDxzZWxlY3RcbiAgICAgIGNzcz17KHRoZW1lKSA9PiBbXG4gICAgICAgIHN0eWxlcy5kZWZhdWx0LFxuICAgICAgICBpbnB1dCAmJiBzdHlsZXMuaW5wdXQodGhlbWUpLFxuICAgICAgICBpbnB1dCAmJiBvcGVuICYmIHN0eWxlcy5vcGVuKHRoZW1lKSxcbiAgICAgICAgdHlwZSA9PT0gJ3ByaW1hcnkxMCcgJiYgc3R5bGVzLnByaW1hcnkxMCh0aGVtZSksXG4gICAgICAgIGljb24gJiYgc3R5bGVzLndpdGhJY29uLFxuICAgICAgXX1cbiAgICAgIHZhbHVlPXtwcm9wcy5zZWxlY3RlZFZhbHVlID8gcHJvcHMuc2VsZWN0ZWRWYWx1ZSA6IHByb3BzLnRleHR9XG4gICAgICBvbkNoYW5nZT17KGUpID0+IG9uQ2hhbmdlKGUudGFyZ2V0LnZhbHVlKX1cbiAgICA+XG4gICAgICB7cHJvcHMuY2hpbGRyZW5cbiAgICAgICAgLmZpbHRlcigoeCkgPT4geClcbiAgICAgICAgLm1hcCgoY2hpbGQ6IGFueSwga2V5OiBhbnkpID0+IHtcbiAgICAgICAgICBpZiAoIWNoaWxkKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbFxuICAgICAgICAgIH1cbiAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgPG9wdGlvbiBrZXk9e2tleX0gdmFsdWU9e2NoaWxkLnByb3BzLnZhbHVlfT5cbiAgICAgICAgICAgICAge2NoaWxkLnByb3BzLmNoaWxkcmVufVxuICAgICAgICAgICAgPC9vcHRpb24+XG4gICAgICAgICAgKVxuICAgICAgICB9KX1cbiAgICA8L3NlbGVjdD5cbiAgKVxuXG4gIHJldHVybiBuYXRpdmUgPyBOYXRpdmUgOiBOb25OYXRpdmVcbn1cblxuZXhwb3J0IGRlZmF1bHQgU2VsZWN0XG4iXX0= */"],
89
+ css: [input && styles.inputstyle(!!label), optionsWidth && styles.optionsWidth(optionsWidth), process.env.NODE_ENV === "production" ? "" : ";label:NonNative;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-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31cbiAgICAgICAgdHJhY2tpbmdOYW1lPXt0cmFja2luZ05hbWV9XG4gICAgICAgIHRyYWNraW5nRXZlbnQ9e3RyYWNraW5nRXZlbnR9XG4gICAgICAgIHRhYkluZGV4PXtkaXNhYmxlZCA/IC0xIDogdW5kZWZpbmVkfVxuICAgICAgPlxuICAgICAgICB7cHJvcHMuc2VsZWN0ZWRWYWx1ZSA/IHByb3BzLnNlbGVjdGVkVmFsdWUgOiBwcm9wcy50ZXh0fVxuICAgICAgPC9CdXR0b24+XG4gICAgICA8T3B0aW9uc1dyYXBwZXJcbiAgICAgICAgY3NzPXtbXG4gICAgICAgICAgaW5wdXQgJiYgc3R5bGVzLmlucHV0c3R5bGUoISFsYWJlbCksXG4gICAgICAgICAgb3B0aW9uc1dpZHRoICYmIHN0eWxlcy5vcHRpb25zV2lkdGgob3B0aW9uc1dpZHRoKSxcbiAgICAgICAgXX1cbiAgICAgID5cbiAgICAgICAge29wZW4gPyAoXG4gICAgICAgICAgPExpc3Qgc2VsZWN0TGlzdD5cbiAgICAgICAgICAgIHtwcm9wcy5jaGlsZHJlblxuICAgICAgICAgICAgICAuZmlsdGVyKCh4KSA9PiB4KVxuICAgICAgICAgICAgICAubWFwKChjaGlsZCwga2V5KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFjaGlsZCkge1xuICAgICAgICAgICAgICAgICAgcmV0dXJuIG51bGxcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIFJlYWN0LmNsb25lRWxlbWVudChjaGlsZCBhcyBSZWFjdEVsZW1lbnQsIHtcbiAgICAgICAgICAgICAgICAgIG9uQ2hhbmdlOiBvbkNoYW5nZSxcbiAgICAgICAgICAgICAgICAgIGtleSxcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICA8L0xpc3Q+XG4gICAgICAgICkgOiBudWxsfVxuICAgICAgPC9PcHRpb25zV3JhcHBlcj5cbiAgICA8L1NlbGVjdFdyYXBwZXI+XG4gIClcblxuICBjb25zdCBOYXRpdmUgPSAoXG4gICAgPHNlbGVjdFxuICAgICAgY3NzPXsodGhlbWUpID0+IFtcbiAgICAgICAgc3R5bGVzLmRlZmF1bHQsXG4gICAgICAgIGlucHV0ICYmIHN0eWxlcy5pbnB1dCh0aGVtZSksXG4gICAgICAgIGlucHV0ICYmIG9wZW4gJiYgc3R5bGVzLm9wZW4odGhlbWUpLFxuICAgICAgICB0eXBlID09PSAncHJpbWFyeTEwJyAmJiBzdHlsZXMucHJpbWFyeTEwKHRoZW1lKSxcbiAgICAgICAgaWNvbiAmJiBzdHlsZXMud2l0aEljb24sXG4gICAgICBdfVxuICAgICAgdmFsdWU9e3Byb3BzLnNlbGVjdGVkVmFsdWUgPyBwcm9wcy5zZWxlY3RlZFZhbHVlIDogcHJvcHMudGV4dH1cbiAgICAgIG9uQ2hhbmdlPXsoZSkgPT4gb25DaGFuZ2UoZS50YXJnZXQudmFsdWUpfVxuICAgID5cbiAgICAgIHtwcm9wcy5jaGlsZHJlblxuICAgICAgICAuZmlsdGVyKCh4KSA9PiB4KVxuICAgICAgICAubWFwKChjaGlsZDogYW55LCBrZXk6IGFueSkgPT4ge1xuICAgICAgICAgIGlmICghY2hpbGQpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsXG4gICAgICAgICAgfVxuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8b3B0aW9uIGtleT17a2V5fSB2YWx1ZT17Y2hpbGQucHJvcHMudmFsdWV9PlxuICAgICAgICAgICAgICB7Y2hpbGQucHJvcHMuY2hpbGRyZW59XG4gICAgICAgICAgICA8L29wdGlvbj5cbiAgICAgICAgICApXG4gICAgICAgIH0pfVxuICAgIDwvc2VsZWN0PlxuICApXG5cbiAgcmV0dXJuIG5hdGl2ZSA/IE5hdGl2ZSA6IE5vbk5hdGl2ZVxufVxuXG5leHBvcnQgZGVmYXVsdCBTZWxlY3RcbiJdfQ== */"],
90
90
  children: open ? _jsx(List, {
91
91
  selectList: true,
92
92
  children: props.children.filter(x => x).map((child, key) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Select/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,EAAE,EACZ,cAAc,EAKf,MAAM,OAAO,CAAA;AACd,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,MAAM,MAAM,UAAU,CAAA;AAI7B,OAAO,EAAE,MAAM,EAAE,CAAA;AAEjB,UAAU,MAAM;IACd,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,4DAA4D;IAC5D,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wBAAwB;IACxB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,yDAAyD;IACzD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,GAAG,CAAA;IACjC,2CAA2C;IAC3C,QAAQ,EAAE,cAAc,CAAA;IACxB,2BAA2B;IAC3B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,gGAAgG;IAChG,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,WAAW,CAAA;IAC5C,0BAA0B;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4BAA4B;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB;IAChB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,kDAAkD;IAClD,eAAe,CAAC,EAAE,gBAAgB,CAAA;IAClC,+BAA+B;IAC/B,WAAW,CAAC,EAAE,gBAAgB,CAAA;IAC9B,2CAA2C;IAC3C,aAAa,CAAC,EAAE,M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AA;IAClB,gBAAgB;IAChB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,kDAAkD;IAClD,eAAe,CAAC,EAAE,gBAAgB,CAAA;IAClC,+BAA+B;IAC/B,WAAW,CAAC,EAAE,gBAAgB,CAAA;IAC9B,2CAA2C;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA+I5B,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -55,7 +55,7 @@ const Select = ({
55
55
  }, [open, ref]); // Handles if open state is set externally
56
56
 
57
57
  useEffect(() => {
58
- toggleOpen(!!isOpen);
58
+ toggleOpen(!!open); // eslint-disable-next-line react-hooks/exhaustive-deps
59
59
  }, [isOpen]);
60
60
 
61
61
  const onChange = value => {
@@ -86,7 +86,7 @@ const Select = ({
86
86
  tabIndex: disabled ? -1 : undefined,
87
87
  children: props.selectedValue ? props.selectedValue : props.text
88
88
  }), _jsx(OptionsWrapper, {
89
- css: [input && styles.inputstyle(!!label), optionsWidth && styles.optionsWidth(optionsWidth), process.env.NODE_ENV === "production" ? "" : ";label:NonNative;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NlbGVjdC9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0pRIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NlbGVjdC9pbmRleC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeEltcG9ydFNvd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IHN0eWxlcy5pbnB1dHN0eWxlKCEhbGFiZWwpLFxuICAgICAgICAgIG9wdGlvbnNXaWR0aCAmJiBzdHlsZXMub3B0aW9uc1dpZHRoKG9wdGlvbnNXaWR0aCksXG4gICAgICAgIF19XG4gICAgICA+XG4gICAgICAgIHtvcGVuID8gKFxuICAgICAgICAgIDxMaXN0IHNlbGVjdExpc3Q+XG4gICAgICAgICAgICB7cHJvcHMuY2hpbGRyZW5cbiAgICAgICAgICAgICAgLmZpbHRlcigoeCkgPT4geClcbiAgICAgICAgICAgICAgLm1hcCgoY2hpbGQsIGtleSkgPT4ge1xuICAgICAgICAgICAgICAgIGlmICghY2hpbGQpIHtcbiAgICAgICAgICAgICAgICAgIHJldHVybiBudWxsXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHJldHVybiBSZWFjdC5jbG9uZUVsZW1lbnQoY2hpbGQgYXMgUmVhY3RFbGVtZW50LCB7XG4gICAgICAgICAgICAgICAgICBvbkNoYW5nZTogb25DaGFuZ2UsXG4gICAgICAgICAgICAgICAgICBrZXksXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgfSl9XG4gICAgICAgICAgPC9MaXN0PlxuICAgICAgICApIDogbnVsbH1cbiAgICAgIDwvT3B0aW9uc1dyYXBwZXI+XG4gICAgPC9TZWxlY3RXcmFwcGVyPlxuICApXG5cbiAgY29uc3QgTmF0aXZlID0gKFxuICAgIDxzZWxlY3RcbiAgICAgIGNzcz17KHRoZW1lKSA9PiBbXG4gICAgICAgIHN0eWxlcy5kZWZhdWx0LFxuICAgICAgICBpbnB1dCAmJiBzdHlsZXMuaW5wdXQodGhlbWUpLFxuICAgICAgICBpbnB1dCAmJiBvcGVuICYmIHN0eWxlcy5vcGVuKHRoZW1lKSxcbiAgICAgICAgdHlwZSA9PT0gJ3ByaW1hcnkxMCcgJiYgc3R5bGVzLnByaW1hcnkxMCh0aGVtZSksXG4gICAgICAgIGljb24gJiYgc3R5bGVzLndpdGhJY29uLFxuICAgICAgXX1cbiAgICAgIHZhbHVlPXtwcm9wcy5zZWxlY3RlZFZhbHVlID8gcHJvcHMuc2VsZWN0ZWRWYWx1ZSA6IHByb3BzLnRleHR9XG4gICAgICBvbkNoYW5nZT17KGUpID0+IG9uQ2hhbmdlKGUudGFyZ2V0LnZhbHVlKX1cbiAgICA+XG4gICAgICB7cHJvcHMuY2hpbGRyZW5cbiAgICAgICAgLmZpbHRlcigoeCkgPT4geClcbiAgICAgICAgLm1hcCgoY2hpbGQ6IGFueSwga2V5OiBhbnkpID0+IHtcbiAgICAgICAgICBpZiAoIWNoaWxkKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbFxuICAgICAgICAgIH1cbiAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgPG9wdGlvbiBrZXk9e2tleX0gdmFsdWU9e2NoaWxkLnByb3BzLnZhbHVlfT5cbiAgICAgICAgICAgICAge2NoaWxkLnByb3BzLmNoaWxkcmVufVxuICAgICAgICAgICAgPC9vcHRpb24+XG4gICAgICAgICAgKVxuICAgICAgICB9KX1cbiAgICA8L3NlbGVjdD5cbiAgKVxuXG4gIHJldHVybiBuYXRpdmUgPyBOYXRpdmUgOiBOb25OYXRpdmVcbn1cblxuZXhwb3J0IGRlZmF1bHQgU2VsZWN0XG4iXX0= */"],
89
+ css: [input && styles.inputstyle(!!label), optionsWidth && styles.optionsWidth(optionsWidth), process.env.NODE_ENV === "production" ? "" : ";label:NonNative;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NlbGVjdC9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBbUpRIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NlbGVjdC9pbmRleC50c3giLCJzb3VyY2VzQ29udGV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VkVmFsdWUgOiBwcm9wcy50ZXh0fVxuICAgICAgPC9CdXR0b24+XG4gICAgICA8T3B0aW9uc1dyYXBwZXJcbiAgICAgICAgY3NzPXtbXG4gICAgICAgICAgaW5wdXQgJiYgc3R5bGVzLmlucHV0c3R5bGUoISFsYWJlbCksXG4gICAgICAgICAgb3B0aW9uc1dpZHRoICYmIHN0eWxlcy5vcHRpb25zV2lkdGgob3B0aW9uc1dpZHRoKSxcbiAgICAgICAgXX1cbiAgICAgID5cbiAgICAgICAge29wZW4gPyAoXG4gICAgICAgICAgPExpc3Qgc2VsZWN0TGlzdD5cbiAgICAgICAgICAgIHtwcm9wcy5jaGlsZHJlblxuICAgICAgICAgICAgICAuZmlsdGVyKCh4KSA9PiB4KVxuICAgICAgICAgICAgICAubWFwKChjaGlsZCwga2V5KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFjaGlsZCkge1xuICAgICAgICAgICAgICAgICAgcmV0dXJuIG51bGxcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIFJlYWN0LmNsb25lRWxlbWVudChjaGlsZCBhcyBSZWFjdEVsZW1lbnQsIHtcbiAgICAgICAgICAgICAgICAgIG9uQ2hhbmdlOiBvbkNoYW5nZSxcbiAgICAgICAgICAgICAgICAgIGtleSxcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICA8L0xpc3Q+XG4gICAgICAgICkgOiBudWxsfVxuICAgICAgPC9PcHRpb25zV3JhcHBlcj5cbiAgICA8L1NlbGVjdFdyYXBwZXI+XG4gIClcblxuICBjb25zdCBOYXRpdmUgPSAoXG4gICAgPHNlbGVjdFxuICAgICAgY3NzPXsodGhlbWUpID0+IFtcbiAgICAgICAgc3R5bGVzLmRlZmF1bHQsXG4gICAgICAgIGlucHV0ICYmIHN0eWxlcy5pbnB1dCh0aGVtZSksXG4gICAgICAgIGlucHV0ICYmIG9wZW4gJiYgc3R5bGVzLm9wZW4odGhlbWUpLFxuICAgICAgICB0eXBlID09PSAncHJpbWFyeTEwJyAmJiBzdHlsZXMucHJpbWFyeTEwKHRoZW1lKSxcbiAgICAgICAgaWNvbiAmJiBzdHlsZXMud2l0aEljb24sXG4gICAgICBdfVxuICAgICAgdmFsdWU9e3Byb3BzLnNlbGVjdGVkVmFsdWUgPyBwcm9wcy5zZWxlY3RlZFZhbHVlIDogcHJvcHMudGV4dH1cbiAgICAgIG9uQ2hhbmdlPXsoZSkgPT4gb25DaGFuZ2UoZS50YXJnZXQudmFsdWUpfVxuICAgID5cbiAgICAgIHtwcm9wcy5jaGlsZHJlblxuICAgICAgICAuZmlsdGVyKCh4KSA9PiB4KVxuICAgICAgICAubWFwKChjaGlsZDogYW55LCBrZXk6IGFueSkgPT4ge1xuICAgICAgICAgIGlmICghY2hpbGQpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsXG4gICAgICAgICAgfVxuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8b3B0aW9uIGtleT17a2V5fSB2YWx1ZT17Y2hpbGQucHJvcHMudmFsdWV9PlxuICAgICAgICAgICAgICB7Y2hpbGQucHJvcHMuY2hpbGRyZW59XG4gICAgICAgICAgICA8L29wdGlvbj5cbiAgICAgICAgICApXG4gICAgICAgIH0pfVxuICAgIDwvc2VsZWN0PlxuICApXG5cbiAgcmV0dXJuIG5hdGl2ZSA/IE5hdGl2ZSA6IE5vbk5hdGl2ZVxufVxuXG5leHBvcnQgZGVmYXVsdCBTZWxlY3RcbiJdfQ== */"],
90
90
  children: open ? _jsx(List, {
91
91
  selectList: true,
92
92
  children: props.children.filter(x => x).map((child, key) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "2.2.125",
3
+ "version": "2.2.126",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",