quasar-ui-sellmate-ui-kit 3.2.17 → 3.2.19

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar-ui-sellmate-ui-kit",
3
- "version": "3.2.17",
3
+ "version": "3.2.19",
4
4
  "author": "Sellmate Dev Team <dev@sellmate.co.kr>",
5
5
  "description": "Sellmate UI Kit",
6
6
  "license": "MIT",
@@ -7,7 +7,7 @@
7
7
  v-bind="$attrs"
8
8
  :columns="columns"
9
9
  :rows="rows"
10
- :pagination="tablePagination"
10
+ v-model:pagination="tablePagination"
11
11
  :no-data-label="noDataLabel"
12
12
  class="s-table"
13
13
  :class="{
@@ -211,9 +211,6 @@
211
211
  }
212
212
  }
213
213
  }
214
- function sort(col) {
215
- sTableRef.value.sort(col);
216
- }
217
214
  onMounted(() => {
218
215
  const { addResizable, addStickyResizable } = useResizable();
219
216
  if (props.resizable) {
@@ -241,7 +238,6 @@
241
238
  Math.ceil(props.rows.length / paginationModel.value.rowsPerPage),
242
239
  ),
243
240
  updatePagination,
244
- sort,
245
241
  };
246
242
  },
247
243
  });
@@ -269,17 +265,20 @@
269
265
  font-weight: $font-weight-md;
270
266
  word-break: keep-all;
271
267
  white-space: nowrap;
268
+
269
+ .sort-icon {
270
+ &.desc-sort {
271
+ transform: rotate(180deg);
272
+ }
273
+ transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
274
+ }
275
+
272
276
  &.sortable {
277
+ display: none;
273
278
  > .q-table__sort-icon {
274
- display: none;
275
- color: $Blue_B_Lighten-1;
279
+ color: $Grey_Lighten-1;
276
280
  font-size: 16px;
277
- }
278
- &:hover {
279
- > .q-table__sort-icon {
280
- display: inline-block;
281
- opacity: 1;
282
- }
281
+ opacity: 1;
283
282
  }
284
283
  }
285
284
  }