@avakhula/ui 0.0.216 → 0.0.217

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.0.216",
3
+ "version": "0.0.217",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
@@ -29,7 +29,16 @@ const Template = (args) => ({
29
29
  template: `
30
30
  <ib-sorting
31
31
  v-bind="args"
32
- />
32
+ toggle-tip-title="test"
33
+ >
34
+ <template #toggleTipBody>
35
+ dfsdfsdf
36
+ </template>
37
+
38
+ <template #toggleTipButtons>
39
+ fsdfsd
40
+ </template>
41
+ </ib-sorting>
33
42
  `,
34
43
  });
35
44
 
@@ -12,8 +12,9 @@
12
12
  <button
13
13
  v-tooltip:[tooltipPosition]="tooltipText"
14
14
  class="sorting-label"
15
+ :class="{'sorting-label-active': isOpenToggleTip}"
15
16
  type="button"
16
- @click="isOpenToggleTip = true"
17
+ @click="isOpenToggleTip = !isOpenToggleTip"
17
18
  >
18
19
  {{ title }}
19
20
  </button>
@@ -40,6 +40,7 @@ button {
40
40
  background-color: $blue-100;
41
41
  }
42
42
 
43
+ &.sorting-label-active,
43
44
  &:active {
44
45
  border-color: transparent;
45
46
  color: $blue-900;