@ironsource/shared-ui 2.1.12-test.69 → 2.1.12-test.71

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 (45) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_03771fa3_lang.css +1 -0
  2. package/ChartPlane.vue_vue_type_style_index_0_scoped_903fc6ae_lang.css +1 -0
  3. package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +1 -0
  4. package/DataGrid.vue_vue_type_style_index_0_scoped_0dff3241_lang.css +1 -0
  5. package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +1 -0
  6. package/components/chart/Chart.vue.d.ts +26 -1
  7. package/components/chart/Chart.vue.js +4 -4
  8. package/components/chart/Chart.vue2.js +68 -56
  9. package/components/chart/ChartPlane.vue.d.ts +21 -1
  10. package/components/chart/ChartPlane.vue.js +4 -4
  11. package/components/chart/ChartPlane.vue2.js +152 -141
  12. package/components/chart/ChartStoryArgs.d.ts +20 -1
  13. package/components/chart/ChartTooltip.vue.d.ts +16 -1
  14. package/components/chart/ChartTooltip.vue.js +2 -2
  15. package/components/chart/ChartTooltip.vue2.js +33 -29
  16. package/components/chart/TooltipHeader.vue.d.ts +6 -1
  17. package/components/chart/TooltipHeader.vue.js +2 -2
  18. package/components/chart/TooltipHeader.vue2.js +37 -27
  19. package/components/chart/composables/useChartHeight.d.ts +1 -1
  20. package/components/chart/composables/useChartHeight.js +16 -14
  21. package/components/chart/consts.d.ts +3 -2
  22. package/components/chart/consts.js +13 -12
  23. package/components/chart/index.d.ts +96 -1
  24. package/components/chart/mockData.d.ts +8 -0
  25. package/components/chart/types.d.ts +6 -0
  26. package/components/chart/types.js +4 -3
  27. package/components/chart/utils/utils.d.ts +1 -1
  28. package/components/chart/utils/utils.js +10 -10
  29. package/components/table/common/Table.common.d.ts +0 -1
  30. package/components/table/common/Table.common.js +38 -39
  31. package/components/table/common/consts.d.ts +1 -0
  32. package/components/table/common/consts.js +2 -1
  33. package/components/table/v4/DataGrid.vue.d.ts +4 -0
  34. package/components/table/v4/DataGrid.vue.js +4 -4
  35. package/components/table/v4/DataGrid.vue2.js +268 -229
  36. package/components/table/v4/index.d.ts +14 -0
  37. package/components/table/v4/storyUtils.d.ts +2 -0
  38. package/index.d.ts +28 -0
  39. package/index.js +1 -1
  40. package/package.json +1 -1
  41. package/Chart.vue_vue_type_style_index_0_scoped_82f5b24e_lang.css +0 -1
  42. package/ChartPlane.vue_vue_type_style_index_0_scoped_5c80d8cd_lang.css +0 -1
  43. package/ChartTooltip.vue_vue_type_style_index_0_scoped_9e521454_lang.css +0 -1
  44. package/DataGrid.vue_vue_type_style_index_0_scoped_86ea5d2a_lang.css +0 -1
  45. package/TooltipHeader.vue_vue_type_style_index_0_scoped_9f6cf389_lang.css +0 -1
@@ -140,6 +140,9 @@ declare const DataGridTypes: () => (({
140
140
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
141
141
  default: any;
142
142
  };
143
+ showTotalsRow: {
144
+ type: import("vue").PropType<boolean>;
145
+ };
143
146
  rowCustomClassKey: {
144
147
  type: import("vue").PropType<string>;
145
148
  default: string;
@@ -286,6 +289,9 @@ declare const DataGridTypes: () => (({
286
289
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
287
290
  default: any;
288
291
  };
292
+ showTotalsRow: {
293
+ type: import("vue").PropType<boolean>;
294
+ };
289
295
  rowCustomClassKey: {
290
296
  type: import("vue").PropType<string>;
291
297
  default: string;
@@ -480,6 +486,9 @@ declare const DataGridTypes: () => (({
480
486
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
481
487
  default: any;
482
488
  };
489
+ showTotalsRow: {
490
+ type: import("vue").PropType<boolean>;
491
+ };
483
492
  rowCustomClassKey: {
484
493
  type: import("vue").PropType<string>;
485
494
  default: string;
@@ -618,6 +627,9 @@ declare const DataGridTypes: () => (({
618
627
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
619
628
  default: any;
620
629
  };
630
+ showTotalsRow: {
631
+ type: import("vue").PropType<boolean>;
632
+ };
621
633
  rowCustomClassKey: {
622
634
  type: import("vue").PropType<string>;
623
635
  default: string;
@@ -690,6 +702,8 @@ declare const DataGridTypes: () => (({
690
702
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
691
703
  $slots: Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
692
704
  column: import("../common/Table.types").Column;
705
+ }) => any>> & Partial<Record<`total-${string}`, (_: {
706
+ column: import("../common/Table.types").Column;
693
707
  }) => any>> & Partial<Record<`cell-${string}`, (_: {
694
708
  cell: unknown;
695
709
  isLoading: boolean;
@@ -11,3 +11,5 @@ export declare const exampleObjectRows: {
11
11
  rowData: string[];
12
12
  customClass: string;
13
13
  }[];
14
+ export declare const exampleNumbersRows: string[][];
15
+ export declare const exampleNumbersRowsExtra: string[][];
package/index.d.ts CHANGED
@@ -5901,6 +5901,9 @@ declare const _default: {
5901
5901
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
5902
5902
  default: any;
5903
5903
  };
5904
+ showTotalsRow: {
5905
+ type: import("vue").PropType<boolean>;
5906
+ };
5904
5907
  rowCustomClassKey: {
5905
5908
  type: import("vue").PropType<string>;
5906
5909
  default: string;
@@ -6047,6 +6050,9 @@ declare const _default: {
6047
6050
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
6048
6051
  default: any;
6049
6052
  };
6053
+ showTotalsRow: {
6054
+ type: import("vue").PropType<boolean>;
6055
+ };
6050
6056
  rowCustomClassKey: {
6051
6057
  type: import("vue").PropType<string>;
6052
6058
  default: string;
@@ -6241,6 +6247,9 @@ declare const _default: {
6241
6247
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
6242
6248
  default: any;
6243
6249
  };
6250
+ showTotalsRow: {
6251
+ type: import("vue").PropType<boolean>;
6252
+ };
6244
6253
  rowCustomClassKey: {
6245
6254
  type: import("vue").PropType<string>;
6246
6255
  default: string;
@@ -6379,6 +6388,9 @@ declare const _default: {
6379
6388
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
6380
6389
  default: any;
6381
6390
  };
6391
+ showTotalsRow: {
6392
+ type: import("vue").PropType<boolean>;
6393
+ };
6382
6394
  rowCustomClassKey: {
6383
6395
  type: import("vue").PropType<string>;
6384
6396
  default: string;
@@ -6451,6 +6463,8 @@ declare const _default: {
6451
6463
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
6452
6464
  $slots: Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
6453
6465
  column: tableV3.Column;
6466
+ }) => any>> & Partial<Record<`total-${string}`, (_: {
6467
+ column: tableV3.Column;
6454
6468
  }) => any>> & Partial<Record<`cell-${string}`, (_: {
6455
6469
  cell: unknown;
6456
6470
  isLoading: boolean;
@@ -6709,6 +6723,9 @@ declare const _default: {
6709
6723
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
6710
6724
  default: any;
6711
6725
  };
6726
+ showTotalsRow: {
6727
+ type: import("vue").PropType<boolean>;
6728
+ };
6712
6729
  rowCustomClassKey: {
6713
6730
  type: import("vue").PropType<string>;
6714
6731
  default: string;
@@ -6855,6 +6872,9 @@ declare const _default: {
6855
6872
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
6856
6873
  default: any;
6857
6874
  };
6875
+ showTotalsRow: {
6876
+ type: import("vue").PropType<boolean>;
6877
+ };
6858
6878
  rowCustomClassKey: {
6859
6879
  type: import("vue").PropType<string>;
6860
6880
  default: string;
@@ -7049,6 +7069,9 @@ declare const _default: {
7049
7069
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
7050
7070
  default: any;
7051
7071
  };
7072
+ showTotalsRow: {
7073
+ type: import("vue").PropType<boolean>;
7074
+ };
7052
7075
  rowCustomClassKey: {
7053
7076
  type: import("vue").PropType<string>;
7054
7077
  default: string;
@@ -7187,6 +7210,9 @@ declare const _default: {
7187
7210
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
7188
7211
  default: any;
7189
7212
  };
7213
+ showTotalsRow: {
7214
+ type: import("vue").PropType<boolean>;
7215
+ };
7190
7216
  rowCustomClassKey: {
7191
7217
  type: import("vue").PropType<string>;
7192
7218
  default: string;
@@ -7259,6 +7285,8 @@ declare const _default: {
7259
7285
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
7260
7286
  $slots: Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
7261
7287
  column: tableV3.Column;
7288
+ }) => any>> & Partial<Record<`total-${string}`, (_: {
7289
+ column: tableV3.Column;
7262
7290
  }) => any>> & Partial<Record<`cell-${string}`, (_: {
7263
7291
  cell: unknown;
7264
7292
  isLoading: boolean;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css';
1
+ import './MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css';
2
2
  import { AppTriggerTypes as eo } from "./components/appTrigger/index.js";
3
3
  import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
4
4
  import { MenuItemTypes as ao } from "./components/menuItem/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.12-test.69",
3
+ "version": "2.1.12-test.71",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .chart-container[data-v-82f5b24e]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%}.chart-planes[data-v-82f5b24e]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-82f5b24e]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-82f5b24e]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-82f5b24e]{border-left:1px solid var(--common-divider)}
@@ -1 +0,0 @@
1
- .chart-plane-container[data-v-5c80d8cd]{--headerHeight: var(--1ae03326);width:100%;height:var(--42303d50);position:relative}.header-wrapper[data-v-5c80d8cd]{position:absolute;width:100%;height:var(--headerHeight);top:0;z-index:1}.chart-plane[data-v-5c80d8cd]{padding-top:var(--headerHeight);height:100%}.chart[data-v-5c80d8cd]{width:100%;height:100%;position:relative}.chart__canvas[data-v-5c80d8cd]{width:100%;height:100%}.chart__tooltip[data-v-5c80d8cd]{position:absolute;pointer-events:none;transition:all .1s ease;min-width:214px;max-width:270px;z-index:1}
@@ -1 +0,0 @@
1
- .chart-tooltip[data-v-9e521454]{color:var(--text-primary);background:var(--common-white);box-shadow:0 4px 8px -2px #1018281f;border:1px solid var(--common-divider-elevation-0);border-radius:var(--border-radius-md);width:280px;padding:calc(var(--spacing-100) - 1px)}.color-box[data-v-9e521454]{width:12px;height:12px;border-radius:2px;display:inline-block;margin-right:var(--spacing-100)}.color-box+.platform-icon[data-v-9e521454]{margin-left:calc(var(--spacing-50) - var(--spacing-100))}.list[data-v-9e521454]{list-style:none;margin:0;padding:0}.list__item[data-v-9e521454]{display:flex;align-items:center;margin-bottom:var(--spacing-50);color:var(--text-secondary)}.list__item[data-v-9e521454]:last-child{margin-bottom:0}.platform-icon[data-v-9e521454]{color:var(--action-active);margin-right:var(--spacing-50)}.popover-label-wrapper[data-v-9e521454]{display:flex;width:200px;flex-grow:1}.truncated-label[data-v-9e521454]{max-width:90%}.tooltip-footer[data-v-9e521454]{display:flex;align-items:center;margin-top:var(--spacing-100);color:var(--text-primary)}.flex-grow[data-v-9e521454]{flex-grow:1}
@@ -1 +0,0 @@
1
- .sticky[data-v-86ea5d2a]{position:sticky}.table-container[data-v-86ea5d2a]{width:100%;position:relative;display:flex;flex-direction:column}.table-header[data-v-86ea5d2a]{display:flex;align-items:center;height:calc(var(--spacing-800) - 1px);border-bottom:1px solid var(--common-divider);background-color:var(--background-paper-elevation-0);position:sticky;left:0;padding:var(--spacing-300)}.table-header .table-title[data-v-86ea5d2a]{display:flex;flex:1;align-items:center;justify-content:flex-start;height:100%;color:var(--text-primary)}.table-header .table-header-right[data-v-86ea5d2a]{display:flex;align-items:center;height:100%}.table-header .search-wrapper[data-v-86ea5d2a]{width:13.75rem}.table-header.isStickyHeader[data-v-86ea5d2a]{z-index:calc(var(--1d1d1477) + 3);top:0}.table-head-container[data-v-86ea5d2a]{display:flex;align-items:center;white-space:nowrap;color:var(--text-primary)}.table-footer[data-v-86ea5d2a]{color:var(--text-primary);background-color:var(--background-paper-elevation-0);padding:0 var(--spacing-300);display:flex;align-items:center;min-height:var(--spacing-600);border:1px solid var(--common-divider);border-radius:var(--border-radius-md);border-top-right-radius:0;border-top-left-radius:0}.table-body-wrapper[data-v-86ea5d2a]{display:inline-table}.table-header-pre-search-content[data-v-86ea5d2a]{margin-right:var(--spacing-100);display:flex;align-items:center}.table-header-actions[data-v-86ea5d2a]{margin-left:var(--spacing-100);display:flex;align-items:center}.table-row[data-v-86ea5d2a]{position:relative}.table-row.loading[data-v-86ea5d2a]{opacity:.7}.table-row:not(.expanded):last-child>td[data-v-86ea5d2a]{border-bottom:none}.table-row.expanded:last-child>.expanded-row[data-v-86ea5d2a]{border-bottom:none}.expanded-row[data-v-86ea5d2a]{grid-column:var(--2f1951ab);border-bottom:1px solid var(--common-divider);background-color:var(--background-default)}table[data-v-86ea5d2a]{position:relative;display:block;overflow:auto;background:var(--background-paper-elevation-0);border:1px solid var(--common-divider);color:var(--text-primary);text-align:left;table-layout:fixed;width:100%;max-height:100%;border-radius:var(--border-radius-md);border-collapse:collapse;border-spacing:0}table.hasFooter[data-v-86ea5d2a]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}table td[data-v-86ea5d2a],table th[data-v-86ea5d2a]{line-height:normal;padding:0 var(--spacing-200)}table td[data-v-86ea5d2a]:first-of-type,table th[data-v-86ea5d2a]:first-of-type{padding-left:var(--spacing-300)}table td[data-v-86ea5d2a]:last-of-type,table th[data-v-86ea5d2a]:last-of-type{padding-right:var(--spacing-300)}table td.expand-toggle-cell[data-v-86ea5d2a],table th.expand-toggle-cell[data-v-86ea5d2a]{padding-left:var(--spacing-150);padding-right:var(--spacing-75)}table>thead[data-v-86ea5d2a]{border-bottom:none;z-index:calc(var(--1d1d1477) + 1);display:inline-table;min-width:100%}table>thead>tr[data-v-86ea5d2a]{color:var(--text-primary);border-bottom:1px solid var(--common-divider);height:var(--spacing-500);display:grid;grid-template-columns:var(--d450b438)}table>thead>tr>th[data-v-86ea5d2a]{background:var(--background-paper-elevation-0);width:100%;display:flex;align-items:center;cursor:default}table>thead>tr>th.bordered[data-v-86ea5d2a]{border-right:1px solid var(--common-divider)}table>thead>tr>th.bordered.isStickyRight[data-v-86ea5d2a]{border-right:none;border-left:1px solid var(--common-divider)}table>thead>tr>th.isTextRight[data-v-86ea5d2a]{justify-content:flex-end}table>thead>tr>th.isSortable[data-v-86ea5d2a]{cursor:pointer}table>thead.sticky[data-v-86ea5d2a]{position:sticky;top:0;background:white}table>thead.isStickyHeader[data-v-86ea5d2a]{z-index:calc(var(--1d1d1477) + 2);top:calc(var(--spacing-800) - 1px)}table>tbody[data-v-86ea5d2a]{display:block}table>tbody>*>tr[data-v-86ea5d2a]{background-color:var(--background-default);min-height:var(--43af326c);height:auto;display:grid;align-items:center;grid-template-columns:var(--d450b438)}table>tbody>*>tr:nth-of-type(2n)>td[data-v-86ea5d2a]{background-color:var(--background-default)}table>tbody>*>tr:hover:not(.loading)>td[data-v-86ea5d2a],table>tbody>*>tr.activeMenu>td[data-v-86ea5d2a]{background-color:var(--background-paper-elevation-1)}table>tbody td[data-v-86ea5d2a]{background-color:var(--background-default);border:none;min-width:0;display:flex;min-height:var(--43af326c);height:auto;width:100%;place-items:center;border-bottom:1px solid var(--common-divider);justify-content:start}table>tbody td.bordered[data-v-86ea5d2a]{border-right:1px solid var(--common-divider)}table>tbody td.bordered.isStickyRight[data-v-86ea5d2a]{border-right:none;border-left:1px solid var(--common-divider)}table>tbody td.isTextRight[data-v-86ea5d2a]{justify-content:flex-end;text-align:right}.section-container[data-v-86ea5d2a]{left:0}.sections[data-v-86ea5d2a]{display:flex}.section[data-v-86ea5d2a]{padding:0 1.5rem;background:var(--background-default);left:0;height:32px;display:flex;align-items:flex-end;border-right:1px solid var(--common-divider)}.table-cell[data-v-86ea5d2a]{width:100%}.empty-state[data-v-86ea5d2a]{min-height:250px}.floating-row[data-v-86ea5d2a]{display:flex;inset:0;pointer-events:none;position:absolute;z-index:calc(var(--1d1d1477) + 1)}.floating-row *[data-v-86ea5d2a-s]{pointer-events:auto}
@@ -1 +0,0 @@
1
- .tooltip-title-wrapper[data-v-9f6cf389]{display:flex;flex-direction:column;color:var(--text-primary);margin-bottom:var(--spacing-100)}.tooltip-title-wrapper .main-title[data-v-9f6cf389]{display:flex;align-items:center;gap:.25rem}.tooltip-title-wrapper .title-text[data-v-9f6cf389]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tooltip-title-wrapper .title-image[data-v-9f6cf389]{width:20px;height:20px;border-radius:4px}.tooltip-title-wrapper .tooltip-sub-title[data-v-9f6cf389]{color:var(--text-secondary)}.tooltip-title-wrapper .platform-icon[data-v-9f6cf389]{color:var(--action-active)}