@avakhula/ui 0.1.19 → 0.1.20

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.19",
3
+ "version": "0.1.20",
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,12 +1,16 @@
1
1
  <template>
2
+ <div style="display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh;">
3
+ <ib-select data-testid="tests" data-foo="sdf" dusk="asd" :options="[]" />
4
+ </div>
5
+
2
6
  </template>
3
7
 
4
8
  <script>
5
- import IbInput from "./components/Form/Input/Input.vue";
9
+ import IbSelect from "./components/TreeSelect/Select.vue";
6
10
 
7
11
  export default {
8
12
  components: {
9
- IbInput,
13
+ IbSelect,
10
14
  },
11
15
  };
12
16
  </script>
@@ -147,9 +147,9 @@
147
147
  }
148
148
 
149
149
  .Ib-P1-medium {
150
- @include Ib-P1-regular;
150
+ @include Ib-P1-medium;
151
151
  }
152
152
 
153
153
  .Ib-P1-regular {
154
- @include Ib-P1-medium;
155
- }
154
+ @include Ib-P1-regular;
155
+ }
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="dropdown-list-wrapper">
2
+ <div class="dropdown-list-wrapper" :class="class">
3
3
  <ib-dropdown
4
4
  :horizontal="horizontal"
5
5
  :vertical="vertical"
@@ -50,6 +50,10 @@ export default {
50
50
  type: Boolean,
51
51
  default: false,
52
52
  },
53
+ class: {
54
+ type: String,
55
+ default: "",
56
+ },
53
57
  },
54
58
  methods: {
55
59
  proxyEvents(eventInfo) {
File without changes
@@ -4,6 +4,7 @@
4
4
  </ib-alert>
5
5
 
6
6
  <div
7
+ v-bind="Object.fromEntries(Object.entries($attrs).filter(([key]) => key.startsWith('data-')))"
7
8
  class="tree-select"
8
9
  :class="{
9
10
  ...classList, 'tree-select-custom-trigger-content': hasTriggerContent