@ironsource/shared-ui 1.4.2-test.15 → 1.4.2-test.17

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.
@@ -1 +1 @@
1
- .label[data-v-f8670990]{color:#41454d}.item-container-draggable[data-v-f8670990]{display:flex;align-items:center;cursor:grab;overflow-x:hidden;overflow:hidden;border:1px solid #DDDFE1;margin:.25rem 0;border-radius:.5rem;padding:.5rem .25rem .5rem .5rem}.item-container-draggable--disabled[data-v-f8670990]{cursor:not-allowed;opacity:.7}.item-container-draggable[data-v-f8670990]:focus{outline:none}.item-container-draggable[data-v-f8670990]:hover,.item-container-draggable--active[data-v-f8670990],.item-container-draggable[data-v-f8670990]:active{background-color:#f7f8f9}.item-container-draggable:hover .start-icon[data-v-f8670990],.item-container-draggable--active .start-icon[data-v-f8670990],.item-container-draggable:active .start-icon[data-v-f8670990]{color:#7b838c}.item-container-draggable:not(.item-container-draggable--multi).item-container-draggable--selected[data-v-f8670990]{color:#3083ff;background-color:#e2eeff;height:2rem}.item-container-draggable--multi[data-v-f8670990]{height:2rem}.item-container-draggable--two-lines[data-v-f8670990]{height:3rem}.text-container[data-v-f8670990]{color:#53575b;display:flex;flex-direction:column;line-height:normal;max-width:10.5rem;height:100%}.subtitle[data-v-f8670990]{margin-top:.125rem;color:#7b838c}.clear-button[data-v-f8670990]{padding:0 .25rem;display:flex;align-items:center;height:auto;background-image:none;min-width:auto;border:none;cursor:pointer;background-color:transparent;color:#d2d5d8}.clear-button[data-v-f8670990]:hover{color:#a9afb4}.item[data-v-f8670990]{width:100%;display:flex;flex-direction:column;justify-content:center;gap:.5rem;justify-content:flex-start}.item--with-icon[data-v-f8670990],.item--multi[data-v-f8670990]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item--without-icon[data-v-f8670990]{gap:.25rem}.checkbox[data-v-f8670990]{display:block;margin-right:.25rem}.image[data-v-f8670990]{align-items:center;justify-content:center;display:flex}.start-icon[data-v-f8670990]{display:flex;align-items:center;color:#d2d5d8}
1
+ .label[data-v-cc2c8ff8]{color:#41454d}.item-container-draggable[data-v-cc2c8ff8]{display:flex;align-items:center;cursor:grab;overflow-x:hidden;overflow:hidden;border:1px solid #DDDFE1;margin:.25rem 0;border-radius:.5rem;padding:.5rem .25rem .5rem .5rem}.item-container-draggable--disabled[data-v-cc2c8ff8]{cursor:not-allowed;opacity:.7}.item-container-draggable[data-v-cc2c8ff8]:focus{outline:none}.item-container-draggable[data-v-cc2c8ff8]:hover,.item-container-draggable--active[data-v-cc2c8ff8],.item-container-draggable[data-v-cc2c8ff8]:active{background-color:#f7f8f9}.item-container-draggable:hover .start-icon[data-v-cc2c8ff8],.item-container-draggable--active .start-icon[data-v-cc2c8ff8],.item-container-draggable:active .start-icon[data-v-cc2c8ff8]{color:#7b838c}.item-container-draggable:not(.item-container-draggable--multi).item-container-draggable--selected[data-v-cc2c8ff8]{color:#3083ff;background-color:#e2eeff;height:2rem}.item-container-draggable--multi[data-v-cc2c8ff8]{height:2rem}.item-container-draggable--two-lines[data-v-cc2c8ff8]{height:3rem}.text-container[data-v-cc2c8ff8]{color:#53575b;display:flex;flex-direction:column;line-height:normal;max-width:10.5rem;height:100%}.subtitle[data-v-cc2c8ff8]{margin-top:.125rem;color:#7b838c}.clear-button[data-v-cc2c8ff8]{padding:0 .25rem;display:flex;align-items:center;height:auto;background-image:none;min-width:auto;border:none;cursor:pointer;background-color:transparent;color:#d2d5d8}.clear-button[data-v-cc2c8ff8]:hover{color:#a9afb4}.item[data-v-cc2c8ff8]{width:100%;display:flex;flex-direction:column;justify-content:center;gap:.5rem;justify-content:flex-start}.item--with-icon[data-v-cc2c8ff8],.item--multi[data-v-cc2c8ff8]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item--without-icon[data-v-cc2c8ff8]{gap:.25rem}.checkbox[data-v-cc2c8ff8]{display:block;margin-right:.25rem}.image[data-v-cc2c8ff8]{align-items:center;justify-content:center;display:flex}.start-icon[data-v-cc2c8ff8]{display:flex;align-items:center;color:#d2d5d8}
@@ -1 +1 @@
1
- .label[data-v-b2c67e5a]{color:#41454d}.sticky[data-v-b2c67e5a]{position:sticky}.table-container[data-v-b2c67e5a]{width:100%;position:relative}.last.floating[data-v-b2c67e5a]{max-width:100%}.table-header[data-v-b2c67e5a]{display:flex;align-items:center;height:55px;border-bottom:1px solid #DDDFE1;background-color:#fff;position:sticky;left:0}.table-header .table-title[data-v-b2c67e5a]{display:flex;align-items:center;justify-content:center;height:100%;padding:1.25rem 1.5rem}.table-header .table-header-right[data-v-b2c67e5a]{display:flex;align-items:center;height:100%}.table-header .table-header-right.border-search[data-v-b2c67e5a]{border-left:1px solid #DDDFE1}.table-header.isStickyHeader[data-v-b2c67e5a]{z-index:199;top:0}.table-head-container[data-v-b2c67e5a]{display:flex;align-items:center;white-space:nowrap}.table-body-wrapper[data-v-b2c67e5a]{display:inline-table}.table-header-actions[data-v-b2c67e5a]{margin-left:auto;margin-right:1rem;display:flex;align-items:center}.table-row[data-v-b2c67e5a]{position:relative}.table-row.loading[data-v-b2c67e5a]{opacity:.7}.floating-actions[data-v-b2c67e5a]{position:absolute;z-index:10;max-width:max-content;transform:translateY(-50%) translate(calc(-100% - 12px));top:50%;left:0}table[data-v-b2c67e5a]{position:relative;display:block;overflow:auto;background:#FFFFFF;border:1px solid #DDDFE1;color:#53575b;text-align:left;table-layout:fixed;width:100%;max-height:100%;border-radius:1rem}table td[data-v-b2c67e5a],table th[data-v-b2c67e5a]{padding:0 1.5rem;line-height:normal}table thead[data-v-b2c67e5a]{border-bottom:none;z-index:101;display:inline-table;min-width:100%}table thead tr[data-v-b2c67e5a]{color:#626970;border-bottom:2px solid #DDDFE1;height:2.5rem;display:grid;grid-template-columns:var(--34f02729)}table thead tr th[data-v-b2c67e5a]{background:#FFFFFF;width:100%;display:flex;align-items:center;cursor:default}table thead tr th.bordered[data-v-b2c67e5a]{border-right:1px solid #DDDFE1}table thead tr th.isTextRight[data-v-b2c67e5a]{justify-content:flex-end}table thead tr th.isSortable[data-v-b2c67e5a]{cursor:pointer}table thead.sticky[data-v-b2c67e5a]{position:sticky;top:0;background:white}table thead.isStickyHeader[data-v-b2c67e5a]{z-index:198px;top:55px}table tbody[data-v-b2c67e5a]{height:100%;display:block}table tbody tr[data-v-b2c67e5a]{background-color:#fff;min-height:3rem;height:auto;display:grid;align-items:center;grid-template-columns:var(--34f02729)}table tbody tr:nth-of-type(even) td[data-v-b2c67e5a]{background-color:#fff}table tbody tr:hover:not(.loading) td[data-v-b2c67e5a]{background-color:#f7f8f9}table tbody td[data-v-b2c67e5a]{background-color:#fff;border:none;min-width:0;display:flex;height:100%;width:100%;place-items:center;border-bottom:1px solid #DDDFE1;justify-content:start}table tbody td.bordered[data-v-b2c67e5a]{border-right:1px solid #DDDFE1}table tbody td.isTextRight[data-v-b2c67e5a]{justify-content:flex-end}table tfoot[data-v-b2c67e5a]{display:block;height:4.5rem;background-color:#fff;border:none}.section-container[data-v-b2c67e5a]{left:0}.sections[data-v-b2c67e5a]{display:flex}.section[data-v-b2c67e5a]{padding:0 1.5rem;background:#FFFFFF;left:0;height:32px;display:flex;align-items:flex-end;border-right:1px solid #DDDFE1}
1
+ .label[data-v-7b2b8bf4]{color:#41454d}.sticky[data-v-7b2b8bf4]{position:sticky}.table-container[data-v-7b2b8bf4]{width:100%;position:relative}.last.floating[data-v-7b2b8bf4]{max-width:100%}.table-header[data-v-7b2b8bf4]{display:flex;align-items:center;height:55px;border-bottom:1px solid #DDDFE1;background-color:#fff;position:sticky;left:0}.table-header .table-title[data-v-7b2b8bf4]{display:flex;align-items:center;justify-content:center;height:100%;padding:1.25rem 1.5rem}.table-header .table-header-right[data-v-7b2b8bf4]{display:flex;align-items:center;height:100%}.table-header .table-header-right.border-search[data-v-7b2b8bf4]{border-left:1px solid #DDDFE1}.table-header.isStickyHeader[data-v-7b2b8bf4]{z-index:199;top:0}.table-head-container[data-v-7b2b8bf4]{display:flex;align-items:center;white-space:nowrap}.table-body-wrapper[data-v-7b2b8bf4]{display:inline-table}.table-header-actions[data-v-7b2b8bf4]{margin-left:auto;margin-right:1rem;display:flex;align-items:center}.table-row[data-v-7b2b8bf4]{position:relative}.table-row.loading[data-v-7b2b8bf4]{opacity:.7}.floating-actions[data-v-7b2b8bf4]{position:absolute;z-index:10;max-width:max-content;transform:translateY(-50%) translate(calc(-100% - 12px));top:50%;left:0}table[data-v-7b2b8bf4]{position:relative;display:block;overflow:auto;background:#FFFFFF;border:1px solid #DDDFE1;color:#53575b;text-align:left;table-layout:fixed;width:100%;max-height:100%;border-radius:1rem}table td[data-v-7b2b8bf4],table th[data-v-7b2b8bf4]{padding:0 1.5rem;line-height:normal}table thead[data-v-7b2b8bf4]{border-bottom:none;z-index:101;display:inline-table;min-width:100%}table thead tr[data-v-7b2b8bf4]{color:#626970;border-bottom:2px solid #DDDFE1;height:2.5rem;display:grid;grid-template-columns:var(--7b0d5a02)}table thead tr th[data-v-7b2b8bf4]{background:#FFFFFF;width:100%;display:flex;align-items:center;cursor:default}table thead tr th.bordered[data-v-7b2b8bf4]{border-right:1px solid #DDDFE1}table thead tr th.isTextRight[data-v-7b2b8bf4]{justify-content:flex-end}table thead tr th.isSortable[data-v-7b2b8bf4]{cursor:pointer}table thead.sticky[data-v-7b2b8bf4]{position:sticky;top:0;background:white}table thead.isStickyHeader[data-v-7b2b8bf4]{z-index:198px;top:55px}table tbody[data-v-7b2b8bf4]{height:100%;display:block}table tbody tr[data-v-7b2b8bf4]{background-color:#fff;min-height:3rem;height:auto;display:grid;align-items:center;grid-template-columns:var(--7b0d5a02)}table tbody tr:nth-of-type(even) td[data-v-7b2b8bf4]{background-color:#fff}table tbody tr:hover:not(.loading) td[data-v-7b2b8bf4]{background-color:#f7f8f9}table tbody td[data-v-7b2b8bf4]{background-color:#fff;border:none;min-width:0;display:flex;height:100%;width:100%;place-items:center;border-bottom:1px solid #DDDFE1;justify-content:start}table tbody td.bordered[data-v-7b2b8bf4]{border-right:1px solid #DDDFE1}table tbody td.isTextRight[data-v-7b2b8bf4]{justify-content:flex-end}table tfoot[data-v-7b2b8bf4]{display:block;height:4.5rem;background-color:#fff;border:none}.section-container[data-v-7b2b8bf4]{left:0}.sections[data-v-7b2b8bf4]{display:flex}.section[data-v-7b2b8bf4]{padding:0 1.5rem;background:#FFFFFF;left:0;height:32px;display:flex;align-items:flex-end;border-right:1px solid #DDDFE1}
@@ -111,6 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
111
111
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(api).removeSelection(__props.option), ["prevent", "stop"]))
112
112
  }, [
113
113
  createVNode(unref(Icon), {
114
+ "font-size": "sm",
114
115
  size: "sm",
115
116
  name: "close-bold"
116
117
  })
@@ -120,6 +121,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
120
121
  };
121
122
  }
122
123
  });
123
- var IncludeExcludeOptionDraggable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f8670990"]]);
124
+ var IncludeExcludeOptionDraggable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cc2c8ff8"]]);
124
125
 
125
126
  export { IncludeExcludeOptionDraggable as default };
@@ -40,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
40
  setup(__props, { emit }) {
41
41
  const props = __props;
42
42
  useCssVars((_ctx) => ({
43
- "34f02729": unref(gridColumnTemplate)
43
+ "7b0d5a02": unref(gridColumnTemplate)
44
44
  }));
45
45
  const savingRows = ref([]);
46
46
  provide(TableContext, {
@@ -60,6 +60,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
60
  });
61
61
  const gridColumnTemplate = computed(() => {
62
62
  return props.columns.reduce((acc, column) => {
63
+ if (column === props.columns[props.columns.length - 1] && column.width) {
64
+ return `${acc} minmax(${column.width}px, 1fr)`;
65
+ }
63
66
  const columnTemplate = column.width ? `${column.width}px` : `${column.colSpan || 1}fr`;
64
67
  return `${acc} ${columnTemplate}`;
65
68
  }, "");
@@ -88,10 +91,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
88
91
  onMounted(() => {
89
92
  floatingActionPosition.value = containerProps.ref.value?.getBoundingClientRect().width;
90
93
  if (props.defaultScrollPosition) {
91
- containerProps.ref.value.scrollTo({
92
- top: props.defaultScrollPosition,
93
- behavior: "smooth"
94
- });
94
+ setTimeout(() => {
95
+ containerProps.ref.value.scrollTo({
96
+ top: props.defaultScrollPosition,
97
+ behavior: "smooth"
98
+ });
99
+ }, 300);
95
100
  }
96
101
  });
97
102
  const showBackToTopButton = computed(() => {
@@ -336,6 +341,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
336
341
  };
337
342
  }
338
343
  });
339
- var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b2c67e5a"]]);
344
+ var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7b2b8bf4"]]);
340
345
 
341
346
  export { Table as default };
package/index.vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import './MenuItem.vue_vue_type_style_index_0_scoped_true_lang.css';
1
+ import './FilterSearchInput.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.2-test.15",
3
+ "version": "1.4.2-test.17",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"