hp-design-system 0.0.15 → 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.
- package/dist/hp-design-system.es.js +11 -8
- package/dist/types/App.vue.d.ts +2 -0
- package/dist/types/main.d.ts +1 -0
- package/package.json +1 -1
- package/src/App.vue +12 -0
- package/src/components/Button.vue +1 -0
- package/src/main.ts +6 -0
@@ -1,23 +1,26 @@
|
|
1
|
-
import { defineComponent as o, openBlock as r, createElementBlock as c, toDisplayString as p } from "vue";
|
2
|
-
const
|
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,
|
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:
|
15
|
+
HpButton: i
|
13
16
|
}, Symbol.toStringTag, { value: "Module" }));
|
14
|
-
function
|
17
|
+
function s(t) {
|
15
18
|
Object.keys(n).forEach((e) => {
|
16
19
|
t.component(e, n[e]);
|
17
20
|
});
|
18
21
|
}
|
19
|
-
const
|
22
|
+
const d = { install: s };
|
20
23
|
export {
|
21
|
-
|
22
|
-
|
24
|
+
i as HpButton,
|
25
|
+
d as default
|
23
26
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
import './style.css';
|
package/package.json
CHANGED
package/src/App.vue
ADDED