@linzjs/lui 22.4.2 → 22.6.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.
package/dist/lui.esm.js CHANGED
@@ -253,6 +253,8 @@ iconMap['ic_clear'] = (React__default.createElement("svg", { xmlns: "http://www.
253
253
  React__default.createElement("path", { d: "M18.984 6.422 13.406 12l5.578 5.578-1.406 1.406L12 13.406l-5.578 5.578-1.406-1.406L10.594 12 5.016 6.422l1.406-1.406L12 10.594l5.578-5.578z" })));
254
254
  iconMap['ic_close_list'] = (React__default.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
255
255
  React__default.createElement("path", { d: "M9.8 16.275a.946.946 0 0 1-.288-.725c.009-.283.113-.525.313-.725L11.65 13H4a.967.967 0 0 1-.712-.287A.968.968 0 0 1 3 12a.97.97 0 0 1 .288-.713A.967.967 0 0 1 4 11h7.65L9.8 9.15c-.2-.2-.3-.438-.3-.713 0-.274.1-.512.3-.712.2-.2.438-.3.712-.3.275 0 .513.1.713.3L14.8 11.3c.1.1.17.208.212.325.042.117.063.242.063.375s-.02.258-.063.375a.877.877 0 0 1-.212.325l-3.6 3.6a.933.933 0 0 1-.688.275.973.973 0 0 1-.712-.3ZM5 21c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 3 19v-3a.97.97 0 0 1 .288-.713A.967.967 0 0 1 4 15c.283 0 .52.096.713.287.191.192.287.43.287.713v3h14V5H5v3c0 .283-.096.52-.287.713A.968.968 0 0 1 4 9a.968.968 0 0 1-.712-.287A.968.968 0 0 1 3 8V5c0-.55.196-1.02.587-1.413A1.926 1.926 0 0 1 5 3h14c.55 0 1.02.196 1.413.587.39.393.587.863.587 1.413v14c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0 1 19 21H5Z" })));
256
+ iconMap['ic_closest_match'] = (React__default.createElement("svg", { viewBox: "0 0 24 24" },
257
+ React__default.createElement("path", { d: "M1 19.025v-5h2v3h18v-3h2v5zM9.55 15v-.85h-.075a2.3 2.3 0 0 1-.875.787 2.66 2.66 0 0 1-1.25.288q-1.225 0-1.925-.638-.7-.637-.7-1.737 0-1.05.813-1.713.812-.662 2.087-.662.575 0 1.063.087.487.087.837.288v-.35q0-.675-.463-1.075-.462-.4-1.262-.4-.526 0-.987.225-.463.224-.788.65L4.95 9.1q.475-.675 1.2-1.025t1.675-.35q1.55 0 2.375.737.825.738.825 2.138V15zM7.9 11.65q-.8 0-1.225.312t-.425.888q0 .5.375.812t.975.313q.8 0 1.363-.563t.562-1.362a2.9 2.9 0 0 0-.8-.3q-.45-.1-.825-.1M12.525 15V4.975h1.55V7.8L14 8.8h.075q.075-.126.6-.638t1.65-.512q1.6 0 2.525 1.15t.925 2.65-.912 2.637-2.538 1.138q-1.025 0-1.562-.45t-.688-.7H14V15zM16.1 9.05q-1 0-1.55.737a2.68 2.68 0 0 0-.55 1.638q0 .924.55 1.65t1.55.725q1 0 1.563-.725a2.62 2.62 0 0 0 .562-1.65 2.62 2.62 0 0 0-.562-1.65Q17.1 9.049 16.1 9.05" })));
256
258
  iconMap['ic_columns'] = (React__default.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
257
259
  React__default.createElement("path", { d: "M14.67 6v12c0 .55-.45 1-1 1h-3.33c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h3.33c.55 0 1 .45 1 1Zm2 13H20c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1h-3.33c-.55 0-1 .45-1 1v12c0 .55.44 1 1 1Zm-8.34-1V6c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3.33c.56 0 1-.45 1-1Z" })));
258
260
  iconMap['ic_control_point'] = (React__default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
@@ -380,6 +382,8 @@ iconMap['ic_fast_forward'] = (React__default.createElement("svg", { viewBox: "0
380
382
  React__default.createElement("path", { d: "m5.58 16.89 5.77-4.07c.56-.4.56-1.24 0-1.63L5.58 7.11C4.91 6.65 4 7.12 4 7.93v8.14c0 .81.91 1.28 1.58.82ZM13 7.93v8.14c0 .81.91 1.28 1.58.82l5.77-4.07c.56-.4.56-1.24 0-1.63l-5.77-4.07c-.67-.47-1.58 0-1.58.81Z" })));
381
383
  iconMap['ic_fast_forward_outline'] = (React__default.createElement("svg", { viewBox: "0 0 24 24" },
382
384
  React__default.createElement("path", { d: "M20.88,10.37l-5.78-4.09c-.62-.43-1.42-.47-2.08-.12-.67.35-1.06,1.01-1.06,1.77v2.46l-.02-.02-5.78-4.09c-.62-.43-1.42-.47-2.08-.12-.67.35-1.06,1.01-1.06,1.77v8.14c0,.75.4,1.42,1.06,1.77.66.35,1.46.3,2.08-.12l5.79-4.08s.01,0,.02-.01v2.45c0,.75.4,1.42,1.06,1.77.3.16.62.23.94.23.4,0,.8-.12,1.14-.35l5.79-4.08c.53-.38.84-.99.84-1.64,0-.66-.31-1.25-.84-1.62ZM11.35,12.82l-5.77,4.07c-.32.21-.71.24-1.04.06-.33-.17-.53-.5-.53-.88V7.93c0-.38.2-.71.53-.88.15-.08.31-.12.48-.12.2,0,.4.06.58.18l5.77,4.08c.26.18.42.48.42.8,0,.33-.15.63-.42.82ZM20.3,12.82l-5.77,4.07h0c-.32.22-.71.24-1.05.06-.33-.17-.53-.5-.53-.88V7.93c0-.38.2-.71.53-.88.15-.08.31-.12.48-.12.2,0,.4.06.58.18l5.77,4.08c.26.18.42.48.42.8,0,.33-.15.63-.42.82Z" })));
385
+ iconMap['ic_feature_id'] = (React__default.createElement("svg", { viewBox: "0 0 24 24" },
386
+ React__default.createElement("path", { d: "M4 20q-.824 0-1.412-.587A1.93 1.93 0 0 1 2 18V6q0-.824.587-1.412A1.93 1.93 0 0 1 4 4h16q.824 0 1.413.588Q22 5.175 22 6v12q0 .824-.587 1.413A1.93 1.93 0 0 1 20 20zm2.5-5h1.15V9h-.9L5 10.25l.6.9.9-.65zm3.1 0h3.9v-1h-2.35l-.05-.05q.525-.5.863-.85t.537-.55q.45-.45.675-.9t.225-.95q0-.725-.55-1.212Q12.3 9 11.45 9q-.65 0-1.175.375t-.725.975l1 .4a1.17 1.17 0 0 1 .362-.512.85.85 0 0 1 .538-.188q.375 0 .613.2.237.2.237.5 0 .275-.1.512-.1.239-.45.588l-.8.8L9.6 14zm7.4 0q.9 0 1.45-.5t.55-1.3q0-.45-.25-.8a1.67 1.67 0 0 0-.7-.55v-.05q.35-.2.55-.513.2-.312.2-.737 0-.674-.525-1.113Q17.75 9 16.95 9q-.625 0-1.162.363-.538.362-.688.887l1 .4a.98.98 0 0 1 .325-.475.83.83 0 0 1 .525-.175q.325 0 .538.188.212.187.212.462a.67.67 0 0 1-.25.55q-.25.2-.65.2h-.45v1h.5q.5 0 .775.2a.64.64 0 0 1 .275.55.72.72 0 0 1-.275.563.93.93 0 0 1-.625.237q-.425 0-.65-.187-.225-.188-.4-.663l-1 .4q.175.724.713 1.113Q16.2 15 17 15M4 18h16V6H4z" })));
383
387
  iconMap['ic_feedback_lightbulb'] = (React__default.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
384
388
  React__default.createElement("path", { d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2Zm-3-3h6c.55 0 1-.45 1-1s-.45-1-1-1H9c-.55 0-1 .45-1 1s.45 1 1 1Zm3-17C7.86 2 4.5 5.36 4.5 9.5c0 3.82 2.66 5.86 3.77 6.5h7.46c1.11-.64 3.77-2.68 3.77-6.5C19.5 5.36 16.14 2 12 2Z" })));
385
389
  iconMap['ic_feedback_lightbulb_alt'] = (React__default.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
@@ -541,6 +545,8 @@ iconMap['ic_numbered_list'] = (React__default.createElement("svg", { xmlns: "htt
541
545
  React__default.createElement("path", { d: "M21 16h-2c-.28 0-.5.22-.5.5s.22.5.5.5h1.5v.5H20c-.28 0-.5.22-.5.5s.22.5.5.5h.5v.5H19c-.28 0-.5.22-.5.5s.22.5.5.5h2c.28 0 .5-.22.5-.5v-3c0-.28-.22-.5-.5-.5zM19 5h.5v2.5c0 .28.22.5.5.5s.5-.22.5-.5v-3c0-.28-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5zm2.5 5.72v-.22c0-.28-.22-.5-.5-.5h-2c-.28 0-.5.22-.5.5s.22.5.5.5h1.3l-1.68 1.96a.49.49 0 0 0-.12.32v.22c0 .28.22.5.5.5h2c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1.3l1.68-1.96a.49.49 0 0 0 .12-.32zM15.5 5h-12c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1zm0 12h-12c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1zm0-6h-12c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1z" })));
542
546
  iconMap['ic_office_building_corporate'] = (React__default.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
543
547
  React__default.createElement("path", { d: "M12 6.984V3H2.016v18h19.969V6.984H12Zm-2.016 12h-6v-1.969h6v1.969Zm0-3.984h-6v-2.016h6V15Zm0-3.984h-6V9h6v2.016Zm0-4.032h-6V5.015h6v1.969Zm10.032 12H12V9h8.016v9.984ZM18 11.016h-3.984v1.969H18v-1.969ZM18 15h-3.984v2.016H18V15Z" })));
548
+ iconMap['ic_opacity'] = (React__default.createElement("svg", { viewBox: "0 0 24 24" },
549
+ React__default.createElement("path", { d: "M12 21q-3.325 0-5.662-2.3Q4 16.4 4 13.1q0-1.625.625-3.037A8.2 8.2 0 0 1 6.35 7.55L12 2l5.65 5.55a8.2 8.2 0 0 1 1.725 2.513Q20 11.474 20 13.1q0 3.3-2.337 5.6T12 21m-5.95-7H17.9q.3-1.8-.337-3.075Q16.925 9.65 16.25 9L12 4.8 7.75 9q-.675.65-1.325 1.925T6.05 14" })));
544
550
  iconMap['ic_open_diagrams'] = (React__default.createElement("svg", { viewBox: "0 0 24 24" },
545
551
  React__default.createElement("path", { d: "M19 19V5H5v10H3V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2v14c0 1.1-.9 2-2 2H9v-2zM9 17h9l-3.86-5.14-3 3.87L9 13.14 7.554 15H9z" }),
546
552
  React__default.createElement("path", { d: "M5 17H1v2h2.586L.343 22.243l1.414 1.414L5 20.414V23h2v-6z" })));
@@ -708,6 +714,9 @@ iconMap['ic_survey'] = (React__default.createElement("svg", { viewBox: "0 0 24 2
708
714
  iconMap['ic_survey_checked'] = (React__default.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
709
715
  React__default.createElement("path", { d: "M11 14.9996C11 11.6876 13.688 8.99963 17 8.99963C20.312 8.99963 23 11.6876 23 14.9996C23 18.3116 20.312 20.9996 17 20.9996C13.688 20.9996 11 18.3116 11 14.9996ZM12.5 15.9096L14.8825 18.2921C15.2725 18.6821 15.9125 18.6821 16.2925 18.2921L20.8825 13.7021C21.2725 13.3121 21.2725 12.6821 20.8825 12.2921C20.4925 11.9021 19.8625 11.9021 19.4725 12.2921L15.5925 16.1721L13.91 14.4996C13.52 14.1096 12.89 14.1096 12.5 14.4996C12.11 14.8896 12.11 15.5196 12.5 15.9096Z" }),
710
716
  React__default.createElement("path", { d: "M8 4.99961H20C21.7 4.99961 23 6.29961 23 7.99961V9.70798C22.4281 9.06 21.7528 8.50537 21 8.06989V7.99961C21 7.39961 20.6 6.99961 20 6.99961H8V14.9996H5C3.9 14.9996 3 15.8996 3 16.9996C3 18.0996 3.9 18.9996 5 18.9996H9.98993L10 18.9996H10.0703C10.5057 19.7524 11.0603 20.4277 11.7083 20.9996H4C2.3 20.9996 1 19.7996 1 18.0996V4.09961C1 2.39961 2.3 1.09961 4 1.09961H8V4.99961ZM6 3.09961H4C3.4 3.09961 3 3.59961 3 4.09961V13.5996C3.6 13.1996 4.3 12.9996 5 12.9996H6V3.09961Z" })));
717
+ iconMap['ic_survey_data_extraction'] = (React__default.createElement("svg", { viewBox: "0 0 24 24" },
718
+ React__default.createElement("path", { d: "M7 14v-2.3h1.67c.3-.5.64-.97 1.03-1.4H7.01V6h5.2v2.4c.51-.26 1.05-.46 1.6-.61V6h5.2c.6 0 1 .4 1 1v1.5a8.3 8.3 0 0 1 2 1.48V7c0-1.7-1.3-3-3-3H7V0H4C1.79 0 0 1.79 0 4v12c0 2.21 1.79 4 4 4h4.5c-.34-.63-.59-1.3-.76-2H5.7v-4zm-2.8 4H4c-1.1 0-2-.9-2-2s.9-2 2-2h.2zm.8-6H4c-.7 0-1.4.2-2 .6V4c0-1.1.9-2 2-2h1z" }),
719
+ React__default.createElement("path", { d: "M16 9.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13M16 21l-4-5h3v-3c0-.55.45-1 1-1s1 .45 1 1v3h3z" })));
711
720
  iconMap['ic_survey_report'] = (React__default.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
712
721
  React__default.createElement("path", { d: "M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H4V5h16v14Z" }),
713
722
  React__default.createElement("path", { d: "M19.41 10.42 17.99 9l-3.17 3.17-1.41-1.42L12 12.16 14.82 15l4.59-4.58Z" }),
@@ -42835,7 +42844,10 @@ var renderSelectMenu = function (items, onClick, singleColumn) {
42835
42844
  return (React__default.createElement(React__default.Fragment, { key: item.value },
42836
42845
  item.groupDivider ? React__default.createElement(LuiSelectMenuDivider, null) : null,
42837
42846
  item.groupTitle ? (React__default.createElement(LuiSelectMenuHeader, null, item.groupTitle)) : null,
42838
- React__default.createElement(LuiSelectMenuItem, { "data-testid": "select-box-".concat(item.value), value: item.value, onClick: onClick, noPadding: true }, item.title)));
42847
+ React__default.createElement(LuiSelectMenuItem, { "data-testid": "select-box-".concat(item.value), value: item.value, onClick: onClick, noPadding: true },
42848
+ React__default.createElement("span", { style: { display: 'flex', alignItems: 'center' } },
42849
+ item.nestedIcon,
42850
+ item.title))));
42839
42851
  })));
42840
42852
  })));
42841
42853
  };