ab-ui-library 1.11.0 → 1.12.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.
@@ -0,0 +1,4 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { ISVGIconProps } from './types';
3
+ export declare const IconLockMultiple: ({ size, type, className, onClick, refHandler, id, dataId }: ISVGIconProps) => ReactElement;
4
+ export default IconLockMultiple;
@@ -0,0 +1,30 @@
1
+ import { _ as _defineProperty } from '../../defineProperty-dd1f6104.js';
2
+ import React from 'react';
3
+ import classNames from 'classnames';
4
+ import '../../typeof-02239c5f.js';
5
+
6
+ var IconLockMultiple = function IconLockMultiple(_ref) {
7
+ var size = _ref.size,
8
+ type = _ref.type,
9
+ _ref$className = _ref.className,
10
+ className = _ref$className === void 0 ? '' : _ref$className,
11
+ onClick = _ref.onClick,
12
+ refHandler = _ref.refHandler,
13
+ id = _ref.id,
14
+ dataId = _ref.dataId;
15
+ return /*#__PURE__*/React.createElement("svg", {
16
+ xmlns: "http://www.w3.org/2000/svg",
17
+ className: classNames('svg-icon', _defineProperty(_defineProperty(_defineProperty({}, "svg-icon__size-".concat(size), size), "svg-icon__type-".concat(type), type), className, className)),
18
+ viewBox: "0 0 24 24",
19
+ fill: "none",
20
+ onClick: onClick,
21
+ ref: refHandler,
22
+ id: id,
23
+ "data-id": dataId ? "".concat(dataId, "-svg-icon") : ''
24
+ }, /*#__PURE__*/React.createElement("path", {
25
+ d: "M10.4605 14.4868C11.2235 14.4868 11.8421 13.8683 11.8421 13.1052C11.8421 12.3422 11.2235 11.7237 10.4605 11.7237C9.69749 11.7237 9.07894 12.3422 9.07894 13.1052C9.07894 13.8683 9.69749 14.4868 10.4605 14.4868ZM6.5921 5.36842C6.5921 3.23195 8.32405 1.5 10.4605 1.5C12.597 1.5 14.3289 3.23195 14.3289 5.36842V6.47368H15.4342C16.8076 6.47368 17.921 7.58707 17.921 8.96052V17.25C17.921 18.6234 16.8076 19.7368 15.4342 19.7368H5.48684C4.1134 19.7368 3 18.6234 3 17.25V8.96052C3 7.58707 4.1134 6.47368 5.48684 6.47368H6.5921V5.36842ZM12.671 5.36842C12.671 4.14758 11.6814 3.15789 10.4605 3.15789C9.23968 3.15789 8.24999 4.14758 8.24999 5.36842V6.47368H12.671V5.36842ZM4.65789 8.96052V17.25C4.65789 17.7078 5.02902 18.0789 5.48684 18.0789H15.4342C15.892 18.0789 16.2631 17.7078 16.2631 17.25V8.96052C16.2631 8.5027 15.892 8.13157 15.4342 8.13157H5.48684C5.02902 8.13157 4.65789 8.5027 4.65789 8.96052ZM9.35515 22.5C8.27236 22.5 7.3512 21.808 7.00981 20.8421H15.9867C17.6654 20.8421 19.0262 19.4813 19.0262 17.8026V10.4836C19.9921 10.825 20.6841 11.7462 20.6841 12.829V17.8026C20.6841 20.3969 18.581 22.5 15.9867 22.5H9.35515Z",
26
+ fill: "#222222"
27
+ }));
28
+ };
29
+
30
+ export { IconLockMultiple, IconLockMultiple as default };
@@ -0,0 +1,4 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { ISVGIconProps } from './types';
3
+ export declare const IconLockMultipleFilled: ({ size, type, className, onClick, refHandler, id, dataId }: ISVGIconProps) => ReactElement;
4
+ export default IconLockMultipleFilled;
@@ -0,0 +1,30 @@
1
+ import { _ as _defineProperty } from '../../defineProperty-dd1f6104.js';
2
+ import React from 'react';
3
+ import classNames from 'classnames';
4
+ import '../../typeof-02239c5f.js';
5
+
6
+ var IconLockMultipleFilled = function IconLockMultipleFilled(_ref) {
7
+ var size = _ref.size,
8
+ type = _ref.type,
9
+ _ref$className = _ref.className,
10
+ className = _ref$className === void 0 ? '' : _ref$className,
11
+ onClick = _ref.onClick,
12
+ refHandler = _ref.refHandler,
13
+ id = _ref.id,
14
+ dataId = _ref.dataId;
15
+ return /*#__PURE__*/React.createElement("svg", {
16
+ xmlns: "http://www.w3.org/2000/svg",
17
+ className: classNames('svg-icon', _defineProperty(_defineProperty(_defineProperty({}, "svg-icon__size-".concat(size), size), "svg-icon__type-".concat(type), type), className, className)),
18
+ viewBox: "0 0 24 24",
19
+ fill: "none",
20
+ onClick: onClick,
21
+ ref: refHandler,
22
+ id: id,
23
+ "data-id": dataId ? "".concat(dataId, "-svg-icon") : ''
24
+ }, /*#__PURE__*/React.createElement("path", {
25
+ d: "M6.68397 5.36842C6.68397 3.23195 8.46022 1.5 10.6513 1.5C12.8424 1.5 14.6187 3.23195 14.6187 5.36842V6.47368H15.7522C17.1608 6.47368 18.3027 7.58707 18.3027 8.96052V17.25C18.3027 18.6234 17.1608 19.7368 15.7522 19.7368H5.55044C4.14187 19.7368 3 18.6234 3 17.25V8.96052C3 7.58707 4.14187 6.47368 5.55044 6.47368H6.68397V5.36842ZM12.9184 5.36842C12.9184 4.14758 11.9034 3.15789 10.6513 3.15789C9.39926 3.15789 8.38427 4.14758 8.38427 5.36842V6.47368H12.9184V5.36842ZM10.6513 14.4868C11.4339 14.4868 12.0682 13.8683 12.0682 13.1052C12.0682 12.3422 11.4339 11.7237 10.6513 11.7237C9.86879 11.7237 9.23441 12.3422 9.23441 13.1052C9.23441 13.8683 9.86879 14.4868 10.6513 14.4868ZM7.11237 20.8421C7.46249 21.808 8.40721 22.5 9.51768 22.5H16.3189C18.9795 22.5 21.1364 20.3969 21.1364 17.8026V12.829C21.1364 11.7462 20.4267 10.825 19.4361 10.4836V17.8026C19.4361 19.4813 18.0404 20.8421 16.3189 20.8421H7.11237Z",
26
+ fill: "#222222"
27
+ }));
28
+ };
29
+
30
+ export { IconLockMultipleFilled, IconLockMultipleFilled as default };
@@ -230,6 +230,8 @@ export * from './IconLocation';
230
230
  export * from './IconLocationFilled';
231
231
  export * from './IconLockClosed';
232
232
  export * from './IconLockClosedFilled';
233
+ export * from './IconLockMultiple';
234
+ export * from './IconLockMultipleFilled';
233
235
  export * from './IconLockOpen';
234
236
  export * from './IconLockOpenFilled';
235
237
  export * from './IconMail';
@@ -230,6 +230,8 @@ export { IconLocation } from './IconLocation.js';
230
230
  export { IconLocationFilled } from './IconLocationFilled.js';
231
231
  export { IconLockClosed } from './IconLockClosed.js';
232
232
  export { IconLockClosedFilled } from './IconLockClosedFilled.js';
233
+ export { IconLockMultiple } from './IconLockMultiple.js';
234
+ export { IconLockMultipleFilled } from './IconLockMultipleFilled.js';
233
235
  export { IconLockOpen } from './IconLockOpen.js';
234
236
  export { IconLockOpenFilled } from './IconLockOpenFilled.js';
235
237
  export { IconMail } from './IconMail.js';
@@ -158,7 +158,7 @@ var MultiSelect = function MultiSelect(props) {
158
158
  })) !== -1;
159
159
  }, [selectedValues, initialSelected]);
160
160
  useEffect(function () {
161
- if (!isOpen && autoApplyOnClose) {
161
+ if (selectedValues.length && !isOpen && autoApplyOnClose) {
162
162
  submitSelectedValue(selectedValues, false);
163
163
  }
164
164
  }, [isOpen]);
package/index.js CHANGED
@@ -296,6 +296,8 @@ export { IconLocation } from './components/SVGIcons/IconLocation.js';
296
296
  export { IconLocationFilled } from './components/SVGIcons/IconLocationFilled.js';
297
297
  export { IconLockClosed } from './components/SVGIcons/IconLockClosed.js';
298
298
  export { IconLockClosedFilled } from './components/SVGIcons/IconLockClosedFilled.js';
299
+ export { IconLockMultiple } from './components/SVGIcons/IconLockMultiple.js';
300
+ export { IconLockMultipleFilled } from './components/SVGIcons/IconLockMultipleFilled.js';
299
301
  export { IconLockOpen } from './components/SVGIcons/IconLockOpen.js';
300
302
  export { IconLockOpenFilled } from './components/SVGIcons/IconLockOpenFilled.js';
301
303
  export { IconMail } from './components/SVGIcons/IconMail.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ab-ui-library",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "description": "UI library for AM",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",