sakana-element 2.0.0 → 2.0.2

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.
Files changed (30) hide show
  1. package/README.md +79 -0
  2. package/dist/es/{Alert-BwsYUIWy.js → Alert-D4jZO-Gv.js} +4 -4
  3. package/dist/es/{Button-CnvCaCzU.js → Button-l3ljgd74.js} +10 -10
  4. package/dist/es/{Collapse-Bk2BCI4a.js → Collapse-CgadjkRS.js} +7 -7
  5. package/dist/es/{ConfigProvider-CUrWy8A9.js → ConfigProvider-BPm3h9RG.js} +9 -9
  6. package/dist/es/{Dropdown-DEj9nHTt.js → Dropdown-DBqye5wx.js} +12 -12
  7. package/dist/es/{Form-BT5Z74rO.js → Form-X4dNzwFt.js} +29 -29
  8. package/dist/es/{Icon-C3O4WXPI.js → Icon-4XdUD4qc.js} +5 -5
  9. package/dist/es/{Input-Cp-yw_0p.js → Input-C0g1h9x2.js} +11 -11
  10. package/dist/es/{Loading-DJTZWbfP.js → Loading-Cv4Fsu-C.js} +24 -24
  11. package/dist/es/{Message-De2t5_rA.js → Message-BuoSEEVc.js} +40 -40
  12. package/dist/es/{Notification-CD8ac7r3.js → Notification-Bv_vDOpB.js} +17 -17
  13. package/dist/es/{Overlay-BV2EC6JK.js → Overlay-C1k4Jcl7.js} +1 -1
  14. package/dist/es/Popconfirm-mMYpa7O6.js +22 -0
  15. package/dist/es/{Select-DFJEKuB2.js → Select-SRw_b6I2.js} +40 -40
  16. package/dist/es/{Switch-CXGkwfBF.js → Switch-bhJBaSI7.js} +6 -6
  17. package/dist/es/{Tooltip-D7Zr3a2n.js → Tooltip-CUOZC7JN.js} +22 -22
  18. package/dist/es/{hooks-C72Muvqa.js → hooks-qpAqkY5H.js} +18 -18
  19. package/dist/es/index.js +25 -25
  20. package/dist/es/{utils-2gdi1aKj.js → utils-340oIQ8K.js} +1 -1
  21. package/dist/es/{vendor-D87k329e.js → vendor-DXmGx29U.js} +152 -152
  22. package/dist/index.css +1 -1
  23. package/dist/theme/fonts/zpix.ttf +0 -0
  24. package/dist/theme/index.css +1 -1
  25. package/dist/umd/index.css +1 -1
  26. package/dist/umd/index.css.gz +0 -0
  27. package/dist/umd/index.umd.cjs +3 -3
  28. package/dist/umd/index.umd.cjs.gz +0 -0
  29. package/package.json +5 -5
  30. package/dist/es/Popconfirm-D7-O60LO.js +0 -22
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sakana-element",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Components library by Vue3 + Ts",
5
5
  "type": "module",
6
6
  "main": "./dist/umd/index.umd.cjs",
@@ -11,10 +11,11 @@
11
11
  ],
12
12
  "exports": {
13
13
  ".": {
14
- "import": "./index.ts",
14
+ "import": "./dist/es/index.js",
15
15
  "require": "./dist/umd/index.umd.cjs",
16
16
  "types": "./dist/types/core/index.d.ts"
17
17
  },
18
+ "./dist/index.css": "./dist/index.css",
18
19
  "./dist/": {
19
20
  "import": "./dist/",
20
21
  "require": "./dist/"
@@ -41,12 +42,11 @@
41
42
  },
42
43
  "devDependencies": {
43
44
  "@rollup/plugin-terser": "^0.4.4",
44
- "@sakana-element/components": "2.0.0",
45
+ "@sakana-element/components": "workspace:*",
45
46
  "terser": "^5.39.0",
46
47
  "vite-plugin-compression2": "^1.3.3"
47
48
  },
48
49
  "peerDependencies": {
49
50
  "vue": "^3.4.19"
50
- },
51
- "gitHead": "ee4f8fb9f46fe80f96bb1845cc269932a297ebf4"
51
+ }
52
52
  }
@@ -1,22 +0,0 @@
1
- import { b as o, _ as e, w as t } from "./utils-2gdi1aKj.js";
2
- import { defineComponent as n, ref as i, computed as c, createBlock as l, openBlock as a, createSlots as r, withCtx as f, createElementVNode as s, normalizeStyle as p, createCommentVNode as m, createTextVNode as u, toDisplayString as d, createVNode as _, renderSlot as y } from "vue";
3
- import { b as v } from "./Button-CnvCaCzU.js";
4
- import { P as x } from "./Icon-C3O4WXPI.js";
5
- import { T as h } from "./Tooltip-D7Zr3a2n.js";
6
- const B = { class: "px-popconfirm__main" }, T = { class: "px-popconfirm__action" }, k = t(e(n({ name: "PxPopconfirm", __name: "Popconfirm", props: { title: { default: "" }, confirmButtonText: {}, cancelButtonText: {}, confirmButtonType: { default: "primary" }, cancelButtonType: {}, icon: { default: "question-circle" }, iconColor: { default: "#f90" }, hideIcon: { type: Boolean }, hideAfter: { default: 200 }, width: { default: 150 } }, emits: ["confirm", "cancel"], setup(e2, { emit: t2 }) {
7
- const n2 = e2, k2 = t2, C = i(), P = c(() => ({ width: o(n2.width) }));
8
- function j() {
9
- var _a;
10
- (_a = C.value) == null ? void 0 : _a.hide();
11
- }
12
- function w(o2) {
13
- k2("confirm", o2), j();
14
- }
15
- function I(o2) {
16
- k2("cancel", o2), j();
17
- }
18
- return (o2, e3) => (a(), l(h, { ref_key: "tooltipRef", ref: C, trigger: "click", "hide-timeout": o2.hideAfter }, r({ content: f(() => [s("div", { class: "px-popconfirm", style: p(P.value) }, [s("div", B, [!o2.hideIcon && o2.icon ? (a(), l(x, { key: 0, icon: o2.icon, color: o2.iconColor }, null, 8, ["icon", "color"])) : m("", true), u(" " + d(o2.title), 1)])], 4), s("div", T, [_(v, { class: "px-popconfirm__cancel", size: "small", type: o2.cancelButtonType, onClick: I }, { default: f(() => [u(d(o2.cancelButtonText || "Cancel"), 1)]), _: 1 }, 8, ["type"]), _(v, { class: "px-popconfirm__confirm", size: "small", type: o2.confirmButtonType, onClick: w }, { default: f(() => [u(d(o2.confirmButtonText || "Confirm"), 1)]), _: 1 }, 8, ["type"])])]), _: 2 }, [o2.$slots.default ? { name: "default", fn: f(() => [y(o2.$slots, "default", {}, void 0, true)]), key: "0" } : void 0, o2.$slots.reference ? { name: "default", fn: f(() => [y(o2.$slots, "reference", {}, void 0, true)]), key: "1" } : void 0]), 1032, ["hide-timeout"]));
19
- } }), [["__scopeId", "data-v-72e03259"]]));
20
- export {
21
- k as P
22
- };