@avakhula/ui 0.1.0 → 0.1.1

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.0",
3
+ "version": "0.1.1",
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,34 +1,19 @@
1
1
  <template>
2
- <div style="width: 200px;height: 200px;display: flex;align-items: center;justify-content: center;">
3
- <ib-dropdown-list
4
- >
5
- <template #trigger>
6
- <ib-icon-button
7
- kind="ghost"
8
- v-tooltip="'test'"
9
- >
10
- X
11
- </ib-icon-button>
12
- </template>
13
-
14
- <template #body>
15
- test
16
- </template>
17
- </ib-dropdown-list>
18
- </div>
19
2
 
3
+ <ib-input
4
+ type="email"
5
+ name="email"
6
+ @input="val => console.log(val)"
7
+ @blur="val => console.log(val)"
8
+ />
20
9
  </template>
21
10
 
22
11
  <script>
23
- import IbIconButton from "./components/IconButton/IconButton.vue";
24
- import IbDropdownList from "./components/Dropdown/DropdownList.vue"
25
- import { TooltipDirective as Tooltip } from "./directives/tooltip/tooltip"
12
+ import IbInput from "./components/Form/Input/Input.vue"
26
13
 
27
14
  export default {
28
15
  components: {
29
- IbDropdownList,
30
- IbIconButton,
31
- },
32
- directives: { Tooltip },
16
+ IbInput
17
+ }
33
18
  }
34
19
  </script>
@@ -36,9 +36,9 @@
36
36
  </ib-toggle-tip>
37
37
  </div>
38
38
 
39
- <!-- v-tooltip="tooltipIconText" -->
40
39
  <ib-icon-button
41
40
  v-if="!hideSortingButton"
41
+ v-tooltip="tooltipIconText"
42
42
  kind="white"
43
43
  size="s"
44
44
  @click="clickHandler"