@avakhula/ui 0.1.3 → 0.1.5

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": "@avakhula/ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
package/src/App.vue CHANGED
@@ -1,23 +1,36 @@
1
1
  <template>
2
- <div class="test">
3
- <limit-selector />
2
+ <div class="page">
3
+
4
+ <sorting view="table-sorting" toggle-tip-title="hello" :table-name="'table'" :title="'test'">
5
+
6
+ <!-- <template #toggleTipBody>
7
+ <p>
8
+ test
9
+ </p>
10
+ </template>
11
+
12
+ <template #toggleTipButtons>
13
+ <p>
14
+ test
15
+ </p>
16
+ </template> -->
17
+
18
+
19
+ </sorting>
4
20
  </div>
5
21
  </template>
6
22
 
7
23
  <script>
8
- import LimitSelector from "./components/Pagination/LimitSelector.vue"
24
+ import Sorting from './components/Sorting/Sorting.vue';
9
25
  export default {
10
26
  components: {
11
- LimitSelector
12
- }
27
+ Sorting
28
+ }
13
29
  }
14
30
  </script>
15
31
 
16
-
17
32
  <style lang="scss">
18
- .test {
19
- height: 100vh;
20
- display: flex;
21
- align-items: end;
33
+ .page {
34
+ padding: 200px;
22
35
  }
23
- </style>
36
+ </style>
@@ -18,6 +18,10 @@ export default {
18
18
  control: { type: "select" },
19
19
  options: Object.keys(popoverPosition),
20
20
  },
21
+ tooltipIconPosition: {
22
+ control: { type: "select" },
23
+ options: Object.keys(popoverPosition),
24
+ },
21
25
  },
22
26
  };
23
27
 
@@ -38,7 +38,7 @@
38
38
 
39
39
  <ib-icon-button
40
40
  v-if="!hideSortingButton"
41
- v-tooltip="tooltipIconText"
41
+ v-tooltip:[tooltipIconPosition]="tooltipIconText"
42
42
  kind="white"
43
43
  size="s"
44
44
  @click="clickHandler"
@@ -88,6 +88,9 @@ export default {
88
88
  tooltipPosition: {
89
89
  type: String,
90
90
  },
91
+ tooltipIconPosition: {
92
+ type: String,
93
+ },
91
94
  tooltipIconSorting: {
92
95
  type: String,
93
96
  },