hp-design-system 0.0.13 → 0.0.16

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.
@@ -1,23 +1,26 @@
1
- import { defineComponent as o, openBlock as r, createElementBlock as c, toDisplayString as p } from "vue";
2
- const u = /* @__PURE__ */ o({
1
+ import { defineComponent as o, openBlock as r, createElementBlock as c, Fragment as l, createTextVNode as u, createElementVNode as a, toDisplayString as p } from "vue";
2
+ const i = /* @__PURE__ */ o({
3
3
  __name: "Button",
4
4
  props: {
5
5
  text: { type: String, required: !0 }
6
6
  },
7
7
  setup(t) {
8
- return (e, a) => (r(), c("button", null, p(t.text), 1));
8
+ return (e, m) => (r(), c(l, null, [
9
+ u(" TESTE "),
10
+ a("button", null, p(t.text), 1)
11
+ ], 64));
9
12
  }
10
13
  }), n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11
14
  __proto__: null,
12
- HpButton: u
15
+ HpButton: i
13
16
  }, Symbol.toStringTag, { value: "Module" }));
14
- function l(t) {
17
+ function s(t) {
15
18
  Object.keys(n).forEach((e) => {
16
19
  t.component(e, n[e]);
17
20
  });
18
21
  }
19
- const s = { install: l };
22
+ const d = { install: s };
20
23
  export {
21
- u as HpButton,
22
- s as default
24
+ i as HpButton,
25
+ d as default
23
26
  };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ import './style.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hp-design-system",
3
- "version": "0.0.13",
3
+ "version": "0.0.16",
4
4
  "type": "module",
5
5
  "main": "dist/hp-design-system.umd.js",
6
6
  "scripts": {
@@ -27,11 +27,11 @@
27
27
  "src",
28
28
  "dist"
29
29
  ],
30
- "module": "./disthp-design-system.es.js",
30
+ "module": "./dist/hp-design-system.es.js",
31
31
  "exports": {
32
32
  ".": {
33
33
  "types": "./dist/types/index.d.ts",
34
- "import": "./disthp-design-system.es.js"
34
+ "import": "./dist/hp-design-system.es.js"
35
35
  },
36
36
  "./dist/style.css": "./dist/style.css"
37
37
  }
package/src/App.vue ADDED
@@ -0,0 +1,12 @@
1
+ <template>
2
+ <div>
3
+ OIEe
4
+ <HpButton :text="'Clique Aqui'"></HpButton>
5
+ </div>
6
+ </template>
7
+
8
+ <script setup lang="ts">
9
+ import { HpButton } from './components/index';
10
+
11
+ </script>
12
+
@@ -1,4 +1,5 @@
1
1
  <template>
2
+ TESTE
2
3
  <button>{{ text }}</button>
3
4
  </template>
4
5
 
package/src/main.ts ADDED
@@ -0,0 +1,6 @@
1
+ import { createApp } from 'vue';
2
+ import './style.css'
3
+ import App from './App.vue'
4
+
5
+ const app = createApp(App);
6
+ app.mount('#app');