@ironsource/shared-ui 2.1.11-rc.24 → 2.1.11-rc.26

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 (39) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_f9a13e27_lang.css +1 -0
  2. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_039dd922_lang.css +1 -0
  3. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_2aee12ad_lang.css +1 -0
  4. package/DataGrid.vue_vue_type_style_index_0_scoped_e7591db4_lang.css +1 -0
  5. package/DropdownV4.vue_vue_type_style_index_0_scoped_6466948d_lang.css +1 -0
  6. package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
  7. package/components/dropdown/common/Dropdown.common.js +141 -135
  8. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  9. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +6 -6
  10. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
  11. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  12. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +36 -32
  13. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +10 -0
  14. package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
  15. package/components/dropdown/v4/ConditionalDropdown.vue2.js +100 -77
  16. package/components/dropdown/v4/DropdownV4.vue.d.ts +11 -0
  17. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  18. package/components/dropdown/v4/DropdownV4.vue2.js +27 -25
  19. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  20. package/components/dropdown/v4/OptionV4.vue2.js +2 -2
  21. package/components/dropdown/v4/index.d.ts +81 -2
  22. package/components/table/common/Table.common.js +61 -61
  23. package/components/table/common/Table.types.d.ts +1 -1
  24. package/components/table/v3/Table.vue.d.ts +1 -1
  25. package/components/table/v3/index.d.ts +5 -5
  26. package/components/table/v4/DataGrid.vue.d.ts +6 -1
  27. package/components/table/v4/DataGrid.vue.js +4 -4
  28. package/components/table/v4/DataGrid.vue2.js +124 -117
  29. package/components/table/v4/index.d.ts +25 -6
  30. package/index.d.ts +222 -26
  31. package/index.js +1 -1
  32. package/mocks/words.d.ts +1 -1
  33. package/package.json +1 -1
  34. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
  35. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_ba28c717_lang.css +0 -1
  36. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_3d7ef976_lang.css +0 -1
  37. package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
  38. package/DropdownV4.vue_vue_type_style_index_0_scoped_b1bde483_lang.css +0 -1
  39. package/OptionV4.vue_vue_type_style_index_0_scoped_df830bf5_lang.css +0 -1
@@ -29,6 +29,7 @@ declare const DataGridTypes: () => (({
29
29
  getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
30
30
  getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
31
31
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
32
+ isSelectionSticky: boolean;
32
33
  emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
33
34
  zIndexBase: number;
34
35
  rowCustomClassKey: string;
@@ -130,6 +131,10 @@ declare const DataGridTypes: () => (({
130
131
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
131
132
  default: (rowId: any, selectedItem: any) => boolean;
132
133
  };
134
+ isSelectionSticky: {
135
+ type: import("vue").PropType<boolean>;
136
+ default: boolean;
137
+ };
133
138
  emptyStateVariant: {
134
139
  type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
135
140
  default: any;
@@ -148,16 +153,16 @@ declare const DataGridTypes: () => (({
148
153
  };
149
154
  }>> & {
150
155
  onSelectAll?: (value: boolean) => any;
156
+ onLoadMore?: () => any;
151
157
  "onUpdate:search"?: (query: string) => any;
152
158
  onOnScroll?: (event: Event) => any;
153
159
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
154
160
  onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
155
- onLoadMore?: () => any;
156
161
  onOnClearSearch?: () => any;
157
162
  "onUpdate:selection"?: (selection: unknown[]) => any;
158
163
  onSelectRow?: (value: boolean) => any;
159
164
  onClickRow?: (rowIndex: number) => any;
160
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "selectedMatcher" | "emptyStateVariant" | "zIndexBase" | "rowCustomClassKey" | "rowDataKey">;
165
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "selectedMatcher" | "isSelectionSticky" | "emptyStateVariant" | "zIndexBase" | "rowCustomClassKey" | "rowDataKey">;
161
166
  $attrs: {
162
167
  [x: string]: unknown;
163
168
  };
@@ -169,7 +174,7 @@ declare const DataGridTypes: () => (({
169
174
  }>;
170
175
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
171
176
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
172
- $emit: ((event: "onScroll", event: Event) => void) & ((event: "selectAll", value: boolean) => void) & ((event: "onClearSearch") => void) & ((event: "update:search", query: string) => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent) => void) & ((event: "loadMore") => void) & ((event: "update:selection", selection: unknown[]) => void) & ((event: "selectRow", value: boolean) => void) & ((event: "clickRow", rowIndex: number) => void);
177
+ $emit: ((event: "onScroll", event: Event) => void) & ((event: "selectAll", value: boolean) => void) & ((event: "loadMore") => void) & ((event: "onClearSearch") => void) & ((event: "update:search", query: string) => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent) => void) & ((event: "update:selection", selection: unknown[]) => void) & ((event: "selectRow", value: boolean) => void) & ((event: "clickRow", rowIndex: number) => void);
173
178
  $el: any;
174
179
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
175
180
  sort: {
@@ -268,6 +273,10 @@ declare const DataGridTypes: () => (({
268
273
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
269
274
  default: (rowId: any, selectedItem: any) => boolean;
270
275
  };
276
+ isSelectionSticky: {
277
+ type: import("vue").PropType<boolean>;
278
+ default: boolean;
279
+ };
271
280
  emptyStateVariant: {
272
281
  type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
273
282
  default: any;
@@ -286,11 +295,11 @@ declare const DataGridTypes: () => (({
286
295
  };
287
296
  }>> & {
288
297
  onSelectAll?: (value: boolean) => any;
298
+ onLoadMore?: () => any;
289
299
  "onUpdate:search"?: (query: string) => any;
290
300
  onOnScroll?: (event: Event) => any;
291
301
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
292
302
  onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
293
- onLoadMore?: () => any;
294
303
  onOnClearSearch?: () => any;
295
304
  "onUpdate:selection"?: (selection: unknown[]) => any;
296
305
  onSelectRow?: (value: boolean) => any;
@@ -331,6 +340,7 @@ declare const DataGridTypes: () => (({
331
340
  getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
332
341
  getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
333
342
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
343
+ isSelectionSticky: boolean;
334
344
  emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
335
345
  zIndexBase: number;
336
346
  rowCustomClassKey: string;
@@ -452,6 +462,10 @@ declare const DataGridTypes: () => (({
452
462
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
453
463
  default: (rowId: any, selectedItem: any) => boolean;
454
464
  };
465
+ isSelectionSticky: {
466
+ type: import("vue").PropType<boolean>;
467
+ default: boolean;
468
+ };
455
469
  emptyStateVariant: {
456
470
  type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
457
471
  default: any;
@@ -470,11 +484,11 @@ declare const DataGridTypes: () => (({
470
484
  };
471
485
  }>> & {
472
486
  onSelectAll?: (value: boolean) => any;
487
+ onLoadMore?: () => any;
473
488
  "onUpdate:search"?: (query: string) => any;
474
489
  onOnScroll?: (event: Event) => any;
475
490
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
476
491
  onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
477
- onLoadMore?: () => any;
478
492
  onOnClearSearch?: () => any;
479
493
  "onUpdate:selection"?: (selection: unknown[]) => any;
480
494
  onSelectRow?: (value: boolean) => any;
@@ -582,6 +596,10 @@ declare const DataGridTypes: () => (({
582
596
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
583
597
  default: (rowId: any, selectedItem: any) => boolean;
584
598
  };
599
+ isSelectionSticky: {
600
+ type: import("vue").PropType<boolean>;
601
+ default: boolean;
602
+ };
585
603
  emptyStateVariant: {
586
604
  type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
587
605
  default: any;
@@ -600,11 +618,11 @@ declare const DataGridTypes: () => (({
600
618
  };
601
619
  }>> & {
602
620
  onSelectAll?: (value: boolean) => any;
621
+ onLoadMore?: () => any;
603
622
  "onUpdate:search"?: (query: string) => any;
604
623
  onOnScroll?: (event: Event) => any;
605
624
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
606
625
  onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
607
- onLoadMore?: () => any;
608
626
  onOnClearSearch?: () => any;
609
627
  "onUpdate:selection"?: (selection: unknown[]) => any;
610
628
  onSelectRow?: (value: boolean) => any;
@@ -645,6 +663,7 @@ declare const DataGridTypes: () => (({
645
663
  getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
646
664
  getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
647
665
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
666
+ isSelectionSticky: boolean;
648
667
  emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
649
668
  zIndexBase: number;
650
669
  rowCustomClassKey: string;