@avakhula/ui 0.0.65 → 0.0.67

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.65",
3
+ "version": "0.0.67",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
@@ -10,7 +10,7 @@
10
10
  }
11
11
 
12
12
  &.ib {
13
- &-top-Left {
13
+ &-top-left {
14
14
  bottom: calc(100% + 5px);
15
15
  right: calc(50% - 14px);
16
16
 
@@ -1,5 +1,5 @@
1
1
  export const popoverPosition = {
2
- topLeft: "top-Left",
2
+ topLeft: "top-left",
3
3
  topCenter: "top-center",
4
4
  topRight: "top-right",
5
5
  rightTop: "right-top",
@@ -10,7 +10,7 @@ export default {
10
10
  control: { type: "select" },
11
11
  options: Object.values(typesSorting),
12
12
  },
13
- viewSorting: {
13
+ view: {
14
14
  control: { type: "select" },
15
15
  options: Object.values(typesSortingView),
16
16
  },
@@ -35,7 +35,7 @@ const Template = (args) => ({
35
35
 
36
36
  export const Default = Template.bind({});
37
37
  Default.args = {
38
- viewSorting: typesSortingView.TABLE_VIEW,
38
+ view: typesSortingView.TABLE_VIEW,
39
39
  title: "sorting",
40
40
  tableName: "test",
41
41
  };
@@ -4,15 +4,15 @@
4
4
  class="table-sorting-wrapper"
5
5
  :class="{
6
6
  active: currentTypeSort,
7
- disabled: disableSorting,
7
+ disabled: disable,
8
8
  }"
9
- v-if="viewSorting === sortingTypesView.TABLE_VIEW"
9
+ v-if="view === sortingTypesView.TABLE_VIEW"
10
10
  >
11
11
  <button class="sorting-label" type="button">
12
12
  {{ title }}
13
13
  <ib-tooltip
14
- v-if="tooltipTextSorting"
15
- :text="tooltipTextSorting"
14
+ v-if="tooltipText"
15
+ :text="tooltipText"
16
16
  :position="tooltipPosition"
17
17
  >
18
18
  </ib-tooltip>
@@ -36,14 +36,14 @@
36
36
  @click="clickHandler"
37
37
  :class="{
38
38
  active: currentTypeSort,
39
- disabled: disableSorting,
39
+ disabled: disable,
40
40
  }"
41
41
  >
42
42
  {{ title }}
43
43
  <ib-icon v-if="iconType" :name="iconType"></ib-icon>
44
44
  <ib-tooltip
45
- v-if="tooltipTextSorting"
46
- :text="tooltipTextSorting"
45
+ v-if="tooltipText"
46
+ :text="tooltipText"
47
47
  :position="tooltipPosition"
48
48
  >
49
49
  </ib-tooltip>
@@ -60,7 +60,7 @@ import { typesSorting, typesSortingView } from "./constants.js";
60
60
  export default {
61
61
  name: "IbSorting",
62
62
  props: {
63
- tooltipTextSorting: {
63
+ tooltipText: {
64
64
  type: String,
65
65
  },
66
66
  tooltipPosition: {
@@ -78,11 +78,11 @@ export default {
78
78
  type: String,
79
79
  default: null,
80
80
  },
81
- viewSorting: {
81
+ view: {
82
82
  type: String,
83
83
  required: true,
84
84
  },
85
- disableSorting: {
85
+ disable: {
86
86
  type: Boolean,
87
87
  default: false,
88
88
  },
@@ -128,7 +128,7 @@ export default {
128
128
  return "arrow-up";
129
129
  } else if (this.currentTypeSort === this.sortingTypes.TYPE_DESC) {
130
130
  return "arrow-down";
131
- } else if (this.viewSorting !== this.sortingTypesView.GRID_VIEW) {
131
+ } else if (this.view !== this.sortingTypesView.GRID_VIEW) {
132
132
  return "swap-vertical";
133
133
  }
134
134
  return null;
@@ -25,7 +25,7 @@ button {
25
25
  padding: 0 4px;
26
26
  border-radius: 4px;
27
27
  margin-right: 2px;
28
- @include Ib-H4-regular;
28
+ @include Ib-H4-medium;
29
29
  color: $neutral-900;
30
30
  height: 24px;
31
31
  display: flex;
@@ -1,5 +1,5 @@
1
1
  export const toggleTipPosition = {
2
- topLeft: "top-Left",
2
+ topLeft: "top-left",
3
3
  topCenter: "top-center",
4
4
  topRight: "top-right",
5
5
  rightTop: "right-top",