@ironsource/shared-ui 1.4.0 → 1.4.1-andyk.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.
Files changed (52) hide show
  1. package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  2. package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  3. package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  4. package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  5. package/EmptyState.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  6. package/FiltersPanel.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  7. package/README.md +11 -6
  8. package/Tooltip.vue_vue_type_style_index_0_lang.css +1 -1
  9. package/components/appTrigger/AppTrigger.vue.d.ts +5 -0
  10. package/components/appTrigger/AppTrigger.vue.js +23 -7
  11. package/components/appTrigger/index.d.ts +11 -0
  12. package/components/banner/Banner.vue.d.ts +12 -3
  13. package/components/banner/Banner.vue.js +16 -7
  14. package/components/banner/index.d.ts +12 -3
  15. package/components/button/index.d.ts +6 -6
  16. package/components/dateRange/CalendarMonth.vue.js +2 -2
  17. package/components/dateRange/DateRange.vue.js +2 -2
  18. package/components/dialog/Dialog.vue.js +5 -4
  19. package/components/dropdown/Dropdown.vue.d.ts +10 -0
  20. package/components/dropdown/Dropdown.vue.js +56 -35
  21. package/components/dropdown/index.d.ts +22 -0
  22. package/components/emptyState/EmptyState.vue.js +8 -8
  23. package/components/emptyState/index.d.ts +3 -3
  24. package/components/filtersPanel/FilterSearchInput.vue.js +5 -5
  25. package/components/filtersPanel/FiltersPanel.vue.d.ts +4 -2
  26. package/components/filtersPanel/FiltersPanel.vue.js +4 -3
  27. package/components/icon/Icon.vue.js +6 -0
  28. package/components/icon/icons/Adjust.vue.d.ts +2 -0
  29. package/components/icon/icons/Adjust.vue.js +52 -0
  30. package/components/icon/icons/CopyToClipboardFilled.vue.d.ts +2 -0
  31. package/components/icon/icons/CopyToClipboardFilled.vue.js +24 -0
  32. package/components/icon/icons/Cube.vue.d.ts +2 -0
  33. package/components/icon/icons/Cube.vue.js +27 -0
  34. package/components/icon/icons/CubeBackground.vue.d.ts +2 -0
  35. package/components/icon/icons/CubeBackground.vue.js +34 -0
  36. package/components/icon/icons/Marketing.vue.d.ts +2 -0
  37. package/components/icon/icons/Marketing.vue.js +30 -0
  38. package/components/icon/icons/WidgetsFlatSquares.vue.d.ts +2 -0
  39. package/components/icon/icons/WidgetsFlatSquares.vue.js +58 -0
  40. package/components/icon/icons/index.d.ts +18 -0
  41. package/components/icon/icons/index.vue.js +18 -0
  42. package/components/icon/index.d.ts +18 -0
  43. package/components/includeExclude/IncludeExclude.vue.js +2 -2
  44. package/components/includeExclude/IncludeExcludeChipFilter.vue.js +2 -2
  45. package/components/includeExclude/index.d.ts +16 -16
  46. package/components/tooltip/Tooltip.vue.js +2 -2
  47. package/index.vue.js +1 -1
  48. package/package.json +4 -3
  49. package/utils/array.d.ts +1 -0
  50. package/utils/array.vue.js +13 -0
  51. package/utils/object.d.ts +1 -0
  52. package/utils/object.vue.js +10 -0
@@ -0,0 +1,24 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
3
+
4
+ ////import "../../CopyToClipboardFilled.vue_vue_type_style_index_0_scoped_true_lang.css";
5
+ const _sfc_main = {};
6
+
7
+ const _hoisted_1 = {
8
+ viewBox: "0 0 20 20",
9
+ fill: "currentColor"
10
+ };
11
+ const _hoisted_2 = /*#__PURE__*/createElementVNode("path", {
12
+ d: "M12.1491 3.33334H5.30702C4.67983 3.33334 4.16667 3.84471 4.16667 4.46971V12.4243H5.30702V4.46971H12.1491V3.33334ZM11.5789 5.60607L15 9.01516V14.697C15 15.322 14.4868 15.8333 13.8597 15.8333H7.58202C6.95483 15.8333 6.44737 15.322 6.44737 14.697L6.45307 6.74243C6.45307 6.11743 6.96053 5.60607 7.58772 5.60607H11.5789ZM11.0088 9.58334H14.1447L11.0088 6.45834V9.58334Z",
13
+ fill: "currentColor"
14
+ }, null, -1);
15
+ const _hoisted_3 = [
16
+ _hoisted_2
17
+ ];
18
+
19
+ function _sfc_render(_ctx, _cache) {
20
+ return (openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3))
21
+ }
22
+ var CopyToClipboardFilled = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
23
+
24
+ export { CopyToClipboardFilled as default };
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
3
+
4
+ ////import "../../Cube.vue_vue_type_style_index_0_scoped_true_lang.css";
5
+ const _sfc_main = {};
6
+
7
+ const _hoisted_1 = {
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ fill: "currentColor",
10
+ viewBox: "0 0 20 20"
11
+ };
12
+ const _hoisted_2 = /*#__PURE__*/createElementVNode("path", {
13
+ fill: "currentColor",
14
+ "fill-rule": "evenodd",
15
+ d: "M9.386 1.191a1.234 1.234 0 0 1 1.228 0l6.874 3.867c.167.095.31.226.417.384a.625.625 0 0 1 .084.141c.088.174.135.367.136.562v7.71a1.258 1.258 0 0 1-.637 1.087l-.002.001-6.872 3.866a1.235 1.235 0 0 1-1.228 0l-6.872-3.866-.002-.001a1.258 1.258 0 0 1-.637-1.087v-7.71c.001-.196.048-.388.136-.562a.632.632 0 0 1 .084-.142c.108-.157.25-.288.417-.383l.002-.001L9.386 1.19ZM3.125 6.844v7.005a.008.008 0 0 0 .004.006l6.254 3.518.06-7.008-6.318-3.52Zm7.567 3.522-.059 6.998 6.238-3.509a.01.01 0 0 0 .003-.003l.001-.003V6.853l-6.183 3.513Zm5.536-4.583L10 2.28 3.78 5.78l6.287 3.504 6.16-3.5Z",
16
+ "clip-rule": "evenodd"
17
+ }, null, -1);
18
+ const _hoisted_3 = [
19
+ _hoisted_2
20
+ ];
21
+
22
+ function _sfc_render(_ctx, _cache) {
23
+ return (openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3))
24
+ }
25
+ var Cube = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
26
+
27
+ export { Cube as default };
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,34 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
3
+
4
+ ////import "../../CubeBackground.vue_vue_type_style_index_0_scoped_true_lang.css";
5
+ const _sfc_main = {};
6
+
7
+ const _hoisted_1 = {
8
+ viewBox: "0 0 32 32",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg"
11
+ };
12
+ const _hoisted_2 = /*#__PURE__*/createElementVNode("rect", {
13
+ width: "32",
14
+ height: "32",
15
+ rx: "8",
16
+ fill: "#F2F3F4"
17
+ }, null, -1);
18
+ const _hoisted_3 = /*#__PURE__*/createElementVNode("path", {
19
+ "fill-rule": "evenodd",
20
+ "clip-rule": "evenodd",
21
+ d: "M15.3864 7.19107C15.5731 7.08406 15.7847 7.02774 16 7.02774C16.2153 7.02774 16.4268 7.08406 16.6136 7.19107L23.4883 11.0581C23.6549 11.1527 23.7974 11.2839 23.9052 11.4414C23.9243 11.4657 23.9418 11.4917 23.9575 11.5194C23.9694 11.5403 23.9799 11.5616 23.9891 11.5832C24.0773 11.7571 24.1239 11.9494 24.125 12.1451L24.125 12.1484L24.125 19.8549C24.1238 20.0761 24.0643 20.293 23.9525 20.4839C23.8408 20.6747 23.6806 20.8327 23.4883 20.9419L23.4861 20.9432L16.6136 24.809C16.4268 24.916 16.2153 24.9723 16 24.9723C15.7847 24.9723 15.5732 24.916 15.3864 24.809L8.5139 20.9432L8.51168 20.9419C8.31936 20.8327 8.15924 20.6747 8.04746 20.4839C7.93568 20.293 7.8762 20.0761 7.87501 19.8549L7.875 19.8516V12.1451C7.87605 11.9494 7.92274 11.757 8.01091 11.5831C8.01948 11.5631 8.02917 11.5433 8.04002 11.5238C8.05638 11.4945 8.07475 11.467 8.09487 11.4414C8.20265 11.2839 8.34508 11.1527 8.51168 11.0581L8.5139 11.0568L15.3864 7.19107ZM9.125 12.8441V19.8485C9.12506 19.8498 9.12542 19.851 9.12606 19.8521C9.12671 19.8532 9.12762 19.8542 9.12871 19.8548L15.3832 23.3729L15.4422 16.3654L9.125 12.8441ZM16.6923 16.3655L16.6333 23.3637L22.8711 19.855C22.8721 19.8543 22.8733 19.8532 22.8739 19.8521C22.8746 19.851 22.8749 19.8498 22.875 19.8486V12.8532L16.6923 16.3655ZM22.2278 11.7832L16 8.28009L9.78059 11.7785L16.0674 15.2828L22.2278 11.7832Z",
22
+ fill: "currentColor"
23
+ }, null, -1);
24
+ const _hoisted_4 = [
25
+ _hoisted_2,
26
+ _hoisted_3
27
+ ];
28
+
29
+ function _sfc_render(_ctx, _cache) {
30
+ return (openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_4))
31
+ }
32
+ var CubeBackground = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
33
+
34
+ export { CubeBackground as default };
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
3
+
4
+ ////import "../../Marketing.vue_vue_type_style_index_0_scoped_true_lang.css";
5
+ const _sfc_main = {};
6
+
7
+ const _hoisted_1 = {
8
+ viewBox: "0 0 51 51",
9
+ fill: "currentColor",
10
+ xmlns: "http://www.w3.org/2000/svg"
11
+ };
12
+ const _hoisted_2 = /*#__PURE__*/createElementVNode("path", {
13
+ d: "M23.6081 21.2169C24.8698 20.465 26.4419 20.465 27.7036 21.2169L39.456 28.2206C42.059 29.7719 42.059 33.5416 39.456 35.0928L27.7036 42.0966C26.4419 42.8484 24.8698 42.8484 23.6081 42.0966L11.8557 35.0928C9.25267 33.5416 9.25267 29.7719 11.8557 28.2206L23.6081 21.2169Z",
14
+ fill: "currentColor"
15
+ }, null, -1);
16
+ const _hoisted_3 = /*#__PURE__*/createElementVNode("path", {
17
+ d: "M23.6081 8.3707C24.8698 7.61885 26.4419 7.61885 27.7036 8.3707L39.456 15.3744C42.059 16.9257 42.059 20.6954 39.456 22.2466L27.7036 29.2504C26.4419 30.0022 24.8698 30.0022 23.6081 29.2504L11.8557 22.2466C9.25267 20.6954 9.25267 16.9257 11.8557 15.3744L23.6081 8.3707Z",
18
+ fill: "#9AA4B0"
19
+ }, null, -1);
20
+ const _hoisted_4 = [
21
+ _hoisted_2,
22
+ _hoisted_3
23
+ ];
24
+
25
+ function _sfc_render(_ctx, _cache) {
26
+ return (openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_4))
27
+ }
28
+ var Marketing = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
29
+
30
+ export { Marketing as default };
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,58 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
3
+
4
+ ////import "../../WidgetsFlatSquares.vue_vue_type_style_index_0_scoped_true_lang.css";
5
+ const _sfc_main = {};
6
+
7
+ const _hoisted_1 = {
8
+ viewBox: "0 0 51 51",
9
+ fill: "currentColor"
10
+ };
11
+ const _hoisted_2 = /*#__PURE__*/createElementVNode("rect", {
12
+ x: "6.4043",
13
+ y: "6.53043",
14
+ width: "16.9043",
15
+ height: "16.9043",
16
+ rx: "4",
17
+ fill: "currentColor",
18
+ opacity: ".4"
19
+ }, null, -1);
20
+ const _hoisted_3 = /*#__PURE__*/createElementVNode("rect", {
21
+ x: "6.4043",
22
+ y: "27.1913",
23
+ width: "16.9043",
24
+ height: "16.9043",
25
+ rx: "4",
26
+ fill: "currentColor",
27
+ opacity: ".4"
28
+ }, null, -1);
29
+ const _hoisted_4 = /*#__PURE__*/createElementVNode("rect", {
30
+ x: "27.0649",
31
+ y: "6.53043",
32
+ width: "16.9043",
33
+ height: "16.9043",
34
+ rx: "4",
35
+ fill: "currentColor"
36
+ }, null, -1);
37
+ const _hoisted_5 = /*#__PURE__*/createElementVNode("rect", {
38
+ x: "27.0649",
39
+ y: "27.1913",
40
+ width: "16.9043",
41
+ height: "16.9043",
42
+ rx: "4",
43
+ fill: "currentColor",
44
+ opacity: ".4"
45
+ }, null, -1);
46
+ const _hoisted_6 = [
47
+ _hoisted_2,
48
+ _hoisted_3,
49
+ _hoisted_4,
50
+ _hoisted_5
51
+ ];
52
+
53
+ function _sfc_render(_ctx, _cache) {
54
+ return (openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_6))
55
+ }
56
+ var WidgetsFlatSquares = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
57
+
58
+ export { WidgetsFlatSquares as default };
@@ -155,6 +155,24 @@ export declare const icons: {
155
155
  'copy-to-clipboard': {
156
156
  fileName: string;
157
157
  };
158
+ 'widgets-flat-squares': {
159
+ fileName: string;
160
+ };
161
+ adjust: {
162
+ fileName: string;
163
+ };
164
+ 'copy-to-clipboard-filled': {
165
+ fileName: string;
166
+ };
167
+ cube: {
168
+ fileName: string;
169
+ };
170
+ 'cube-background': {
171
+ fileName: string;
172
+ };
173
+ marketing: {
174
+ fileName: string;
175
+ };
158
176
  create: {
159
177
  fileName: string;
160
178
  };
@@ -155,6 +155,24 @@ const icons = {
155
155
  "copy-to-clipboard": {
156
156
  fileName: "CopyTo-Clipboard"
157
157
  },
158
+ "widgets-flat-squares": {
159
+ fileName: "WidgetsFlatSquares"
160
+ },
161
+ adjust: {
162
+ fileName: "Adjust"
163
+ },
164
+ "copy-to-clipboard-filled": {
165
+ fileName: "CopyToClipboardFilled"
166
+ },
167
+ cube: {
168
+ fileName: "Cube"
169
+ },
170
+ "cube-background": {
171
+ fileName: "CubeBackground"
172
+ },
173
+ marketing: {
174
+ fileName: "Marketing"
175
+ },
158
176
  create: {
159
177
  fileName: "Create"
160
178
  },
@@ -156,6 +156,24 @@ declare const IconTypes: () => ({
156
156
  'copy-to-clipboard': {
157
157
  fileName: string;
158
158
  };
159
+ 'widgets-flat-squares': {
160
+ fileName: string;
161
+ };
162
+ adjust: {
163
+ fileName: string;
164
+ };
165
+ 'copy-to-clipboard-filled': {
166
+ fileName: string;
167
+ };
168
+ cube: {
169
+ fileName: string;
170
+ };
171
+ 'cube-background': {
172
+ fileName: string;
173
+ };
174
+ marketing: {
175
+ fileName: string;
176
+ };
159
177
  create: {
160
178
  fileName: string;
161
179
  };
@@ -3,8 +3,8 @@ import _sfc_main$1 from '../popover/Popover.vue.js';
3
3
  import Button from '../button/Button.vue.js';
4
4
  /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
5
5
  /* empty css */import Text from '../typography/Text.vue.js';
6
- /* empty css *//* empty css */import 'floating-vue';
7
- /* empty css *//* empty css *//* empty css */import Search from '../search/Search.vue.js';
6
+ /* empty css *//* empty css *//* empty css */import 'floating-vue';
7
+ /* empty css *//* empty css */import Search from '../search/Search.vue.js';
8
8
  import Checkbox from '../checkbox/Checkbox.vue.js';
9
9
  import Skeleton from '../skeleton/Skeleton.vue.js';
10
10
  import EmptyState from '../emptyState/EmptyState.vue.js';
@@ -5,8 +5,8 @@ import { useSearch } from '../../composables/useSearch.vue.js';
5
5
  import IncludeExclude from './IncludeExclude.vue.js';
6
6
  import IncludeExcludeOption from './IncludeExcludeOption.vue.js';
7
7
  /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
8
- /* empty css *//* empty css *//* empty css *//* empty css */import 'floating-vue';
9
- /* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */
8
+ /* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import 'floating-vue';
9
+ /* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */
10
10
  import "../../IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_true_lang.css";
11
11
  const _hoisted_1 = ["src"];
12
12
  const _hoisted_2 = ["src"];
@@ -310,15 +310,15 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
310
310
  selected: import("./includeExcludeMocks").Application[];
311
311
  options: import("./includeExcludeMocks").Application[];
312
312
  }> | import("vue").DefineComponent<{
313
+ modelValue: {
314
+ type: import("vue").PropType<import("./includeExcludeMocks").Application[]>;
315
+ required: true;
316
+ };
313
317
  searchAttribute: {
314
318
  type: import("vue").PropType<string>;
315
319
  } & {
316
320
  default: string;
317
321
  };
318
- modelValue: {
319
- type: import("vue").PropType<import("./includeExcludeMocks").Application[]>;
320
- required: true;
321
- };
322
322
  searchPlaceholder: {
323
323
  type: import("vue").PropType<string>;
324
324
  } & {
@@ -383,15 +383,15 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
383
383
  required: true;
384
384
  };
385
385
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
386
+ modelValue: {
387
+ type: import("vue").PropType<import("./includeExcludeMocks").Application[]>;
388
+ required: true;
389
+ };
386
390
  searchAttribute: {
387
391
  type: import("vue").PropType<string>;
388
392
  } & {
389
393
  default: string;
390
394
  };
391
- modelValue: {
392
- type: import("vue").PropType<import("./includeExcludeMocks").Application[]>;
393
- required: true;
394
- };
395
395
  searchPlaceholder: {
396
396
  type: import("vue").PropType<string>;
397
397
  } & {
@@ -473,15 +473,15 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
473
473
  type: import("vue").PropType<unknown[]>;
474
474
  required: true;
475
475
  };
476
+ modelValue: {
477
+ type: import("vue").PropType<unknown[]>;
478
+ required: true;
479
+ };
476
480
  searchAttribute: {
477
481
  type: import("vue").PropType<string>;
478
482
  } & {
479
483
  default: string;
480
484
  };
481
- modelValue: {
482
- type: import("vue").PropType<unknown[]>;
483
- required: true;
484
- };
485
485
  searchPlaceholder: {
486
486
  type: import("vue").PropType<string>;
487
487
  } & {
@@ -574,15 +574,15 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
574
574
  type: import("vue").PropType<unknown[]>;
575
575
  required: true;
576
576
  };
577
+ modelValue: {
578
+ type: import("vue").PropType<unknown[]>;
579
+ required: true;
580
+ };
577
581
  searchAttribute: {
578
582
  type: import("vue").PropType<string>;
579
583
  } & {
580
584
  default: string;
581
585
  };
582
- modelValue: {
583
- type: import("vue").PropType<unknown[]>;
584
- required: true;
585
- };
586
586
  searchPlaceholder: {
587
587
  type: import("vue").PropType<string>;
588
588
  } & {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, useSlots, watch, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createTextVNode, toDisplayString, createElementVNode, nextTick } from 'vue';
2
- import { Tooltip } from 'floating-vue';
3
- /* empty css */import Text from '../typography/Text.vue.js';
4
2
  import TextWithTitleContent from './TextWithTitleContent.vue.js';
3
+ /* empty css */import Text from '../typography/Text.vue.js';
4
+ import { Tooltip } from 'floating-vue';
5
5
  /* empty css */
6
6
  import "../../Tooltip.vue_vue_type_style_index_0_lang.css";
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
package/index.vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import './TextArea.vue_vue_type_style_index_0_scoped_true_lang.css';
1
+ import './Menu.vue_vue_type_style_index_0_scoped_true_lang.css';
2
2
  export { AppTriggerTypes } from './components/appTrigger/index.vue.js';
3
3
  export { AutocompleteDropdownTypes } from './components/autocompleteDropdown/index.vue.js';
4
4
  export { MenuItemTypes } from './components/menuItem/index.vue.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "1.4.0",
3
+ "version": "1.4.1-andyk.0",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -62,8 +62,6 @@
62
62
  "@babel/core": "7.17.9",
63
63
  "@babel/node": "7.16.8",
64
64
  "@commitlint/cli": "^17.0.3",
65
- "i": "^0.3.7",
66
- "npm": "^8.19.2",
67
65
  "@commitlint/config-conventional": "^17.0.3",
68
66
  "@figus/cli": "^2.0.8",
69
67
  "@mdx-js/react": "^2.1.2",
@@ -78,6 +76,7 @@
78
76
  "@storybook/mdx2-csf": "^0.0.3",
79
77
  "@storybook/test-runner": "^0.5.0",
80
78
  "@storybook/vue3": "^6.5.9",
79
+ "@ironsource/storybook-addon-stackblitz": "^0.1.5",
81
80
  "@types/download": "^8.0.1",
82
81
  "@types/node": "^18.0.0",
83
82
  "@types/prismjs": "^1.26.0",
@@ -103,6 +102,7 @@
103
102
  "happy-dom": "^2.49.0",
104
103
  "http-server": "^14.1.1",
105
104
  "husky": "^8.0.1",
105
+ "i": "^0.3.7",
106
106
  "jest": "^27.5.1",
107
107
  "jest-image-snapshot": "^6.1.0",
108
108
  "jest-puppeteer": "^6.2.0",
@@ -110,6 +110,7 @@
110
110
  "lodash.kebabcase": "^4.1.1",
111
111
  "mustache": "^4.2.0",
112
112
  "nodejs-file-downloader": "^4.10.1",
113
+ "npm": "^8.19.2",
113
114
  "postcss": "^8.4.14",
114
115
  "prettier": "^2.6.0",
115
116
  "prismjs": "^1.29.0",
@@ -0,0 +1 @@
1
+ export declare const isObjectInArray: (array: any, element: any) => boolean;
@@ -0,0 +1,13 @@
1
+ const isObjectInArray = (array, element) => {
2
+ const foundObject = array.find((obj) => {
3
+ for (const key in element) {
4
+ if (obj[key] !== element[key]) {
5
+ return false;
6
+ }
7
+ }
8
+ return true;
9
+ });
10
+ return !!foundObject;
11
+ };
12
+
13
+ export { isObjectInArray };
@@ -0,0 +1 @@
1
+ export declare const objectsEqual: (objA: any, objB: any) => boolean;
@@ -0,0 +1,10 @@
1
+ const objectsEqual = (objA, objB) => {
2
+ for (const key in objA) {
3
+ if (objA[key] !== objB[key]) {
4
+ return false;
5
+ }
6
+ }
7
+ return true;
8
+ };
9
+
10
+ export { objectsEqual };