@solar-taro/ui-sun 3.1.1 → 3.2.0

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 (106) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/_color.scss +2 -2
  3. package/card/card-content.vue.d.ts +17 -0
  4. package/card/card-header.vue.d.ts +17 -0
  5. package/card/card-subtitle.vue.d.ts +17 -0
  6. package/card/card-title.vue.d.ts +17 -0
  7. package/card/card.vue.d.ts +23 -0
  8. package/card/index.d.ts +5 -0
  9. package/card/index.scss +90 -0
  10. package/chip/index.scss +5 -0
  11. package/index.d.ts +1 -0
  12. package/index.js +56 -46
  13. package/index10.js +16 -30
  14. package/index11.js +29 -17
  15. package/index12.js +17 -79
  16. package/index13.js +80 -24
  17. package/index14.js +24 -33
  18. package/index15.js +33 -75
  19. package/index16.js +75 -19
  20. package/index17.js +19 -49
  21. package/index18.js +46 -141
  22. package/index19.js +142 -27
  23. package/index20.js +27 -82
  24. package/index21.js +86 -23
  25. package/index22.js +20 -42
  26. package/index23.js +42 -23
  27. package/index24.js +21 -9
  28. package/index25.js +10 -27
  29. package/index26.js +29 -18
  30. package/index27.js +18 -30
  31. package/index28.js +30 -119
  32. package/index29.js +118 -9
  33. package/index30.js +7 -8
  34. package/index31.js +7 -8
  35. package/index32.js +6 -7
  36. package/index33.js +9 -7
  37. package/index34.js +14 -10
  38. package/index35.js +8 -7
  39. package/index36.js +11 -2
  40. package/index37.js +11 -2
  41. package/index38.js +8 -7
  42. package/index39.js +10 -2
  43. package/index4.js +1 -1
  44. package/index40.js +10 -2
  45. package/index41.js +1 -1
  46. package/index42.js +7 -2
  47. package/index43.js +1 -1
  48. package/index44.js +1 -1
  49. package/index45.js +1 -1
  50. package/index46.js +1 -1
  51. package/index47.js +1 -1
  52. package/index48.js +1 -1
  53. package/index49.js +1 -1
  54. package/index5.js +11 -14
  55. package/index50.js +1 -1
  56. package/index51.js +1 -1
  57. package/index52.js +1 -1
  58. package/index53.js +1 -1
  59. package/index54.js +1 -1
  60. package/index55.js +2 -526
  61. package/index56.js +2 -3
  62. package/index57.js +1 -1
  63. package/index58.js +1 -1
  64. package/index59.js +1 -1
  65. package/index6.js +16 -23
  66. package/index60.js +1 -1
  67. package/index61.js +1 -1
  68. package/index62.js +1 -1
  69. package/index63.js +1 -1
  70. package/index64.js +1 -1
  71. package/index65.js +1 -1
  72. package/index66.js +2 -66
  73. package/index67.js +2 -12
  74. package/index68.js +2 -25
  75. package/index69.js +2 -14
  76. package/index7.js +26 -17
  77. package/index70.js +3 -26
  78. package/index71.js +526 -2
  79. package/index72.js +63 -503
  80. package/index73.js +12 -79
  81. package/index74.js +23 -68
  82. package/index75.js +14 -69
  83. package/index76.js +24 -541
  84. package/index78.js +506 -2
  85. package/index79.js +79 -2
  86. package/index8.js +18 -17
  87. package/index80.js +69 -3
  88. package/index81.js +69 -2
  89. package/index82.js +543 -4
  90. package/index85.js +2 -2
  91. package/index86.js +3 -47
  92. package/index87.js +2 -82
  93. package/index88.js +4 -2
  94. package/index89.js +2 -2
  95. package/index9.js +13 -14
  96. package/index90.js +2 -2
  97. package/index91.js +2 -2
  98. package/index92.js +4 -0
  99. package/index93.js +50 -0
  100. package/index94.js +84 -0
  101. package/index95.js +4 -0
  102. package/index96.js +4 -0
  103. package/index97.js +4 -0
  104. package/item/index.scss +5 -2
  105. package/package.json +1 -1
  106. package/toggle/index.scss +35 -23
package/index31.js CHANGED
@@ -1,13 +1,12 @@
1
- import { renderSlot as t, openBlock as n, createElementBlock as r } from "vue";
2
- import s from "./index38.js";
3
- const c = {}, o = t, l = n, _ = r, d = { class: "sun-list-header" };
4
- function a(e, f) {
5
- return l(), _("view", d, [
6
- o(e.$slots, "default"),
7
- o(e.$slots, "end")
1
+ import { renderSlot as r, openBlock as o, createElementBlock as t } from "vue";
2
+ import c from "./index42.js";
3
+ const n = {}, s = r, a = o, l = t, _ = { class: "sun-card-header" };
4
+ function d(e, f) {
5
+ return a(), l("view", _, [
6
+ s(e.$slots, "default")
8
7
  ]);
9
8
  }
10
- const p = /* @__PURE__ */ s(c, [["render", a]]);
9
+ const p = /* @__PURE__ */ c(n, [["render", d]]);
11
10
  export {
12
11
  p as default
13
12
  };
package/index32.js CHANGED
@@ -1,13 +1,12 @@
1
- import { renderSlot as t, openBlock as n, createElementBlock as r } from "vue";
2
- import c from "./index38.js";
3
- const s = {}, o = t, l = n, _ = r, a = { class: "sun-page-header" };
1
+ import { renderSlot as t, openBlock as o, createElementBlock as r } from "vue";
2
+ import c from "./index42.js";
3
+ const n = {}, s = t, l = o, _ = r, a = { class: "sun-card-subtitle" };
4
4
  function d(e, f) {
5
5
  return l(), _("view", a, [
6
- o(e.$slots, "default"),
7
- o(e.$slots, "end")
6
+ s(e.$slots, "default")
8
7
  ]);
9
8
  }
10
- const p = /* @__PURE__ */ c(s, [["render", d]]);
9
+ const u = /* @__PURE__ */ c(n, [["render", d]]);
11
10
  export {
12
- p as default
11
+ u as default
13
12
  };
package/index33.js CHANGED
@@ -1,10 +1,12 @@
1
- import { mergeProps as o, openBlock as r, createElementBlock as t } from "vue";
2
- import c from "./index38.js";
3
- const n = {}, s = o, _ = r, l = t;
4
- function m(e, a) {
5
- return _(), l("view", s(e.$attrs, { class: "sun-skeleton" }), " ", 16);
1
+ import { renderSlot as t, openBlock as o, createElementBlock as r } from "vue";
2
+ import c from "./index42.js";
3
+ const n = {}, l = t, s = o, _ = r, a = { class: "sun-card-title" };
4
+ function d(e, f) {
5
+ return s(), _("view", a, [
6
+ l(e.$slots, "default")
7
+ ]);
6
8
  }
7
- const i = /* @__PURE__ */ c(n, [["render", m]]);
9
+ const p = /* @__PURE__ */ c(n, [["render", d]]);
8
10
  export {
9
- i as default
11
+ p as default
10
12
  };
package/index34.js CHANGED
@@ -1,12 +1,16 @@
1
- import { renderSlot as o, mergeProps as r, openBlock as t, createElementBlock as s } from "vue";
2
- import n from "./index38.js";
3
- const c = {}, l = o, m = r, _ = t, a = s;
4
- function u(e, d) {
5
- return _(), a("view", m(e.$attrs, { class: "sun-sudoku-item" }), [
6
- l(e.$slots, "default")
7
- ], 16);
8
- }
9
- const i = /* @__PURE__ */ n(c, [["render", u]]);
1
+ import { defineComponent as c, computed as s, normalizeClass as t, openBlock as a, createElementBlock as l } from "vue";
2
+ const r = t, i = a, m = l, d = /* @__PURE__ */ c({
3
+ __name: "index",
4
+ props: {
5
+ name: {}
6
+ },
7
+ setup(e) {
8
+ const n = e, o = s(() => `ionicon-${n.name}`);
9
+ return (p, _) => (i(), m("view", {
10
+ class: r(["sun-icon ionicon", o.value])
11
+ }, null, 2));
12
+ }
13
+ });
10
14
  export {
11
- i as default
15
+ d as default
12
16
  };
package/index35.js CHANGED
@@ -1,12 +1,13 @@
1
- import { renderSlot as t, openBlock as o, createElementBlock as n } from "vue";
2
- import r from "./index38.js";
3
- const c = {}, s = t, l = o, _ = n, a = { class: "sun-title" };
4
- function d(e, f) {
5
- return l(), _("view", a, [
6
- s(e.$slots, "default")
1
+ import { renderSlot as t, openBlock as n, createElementBlock as r } from "vue";
2
+ import c from "./index42.js";
3
+ const s = {}, o = t, l = n, d = r, _ = { class: "sun-item-divider" };
4
+ function i(e, a) {
5
+ return l(), d("view", _, [
6
+ o(e.$slots, "default"),
7
+ o(e.$slots, "end")
7
8
  ]);
8
9
  }
9
- const p = /* @__PURE__ */ r(c, [["render", d]]);
10
+ const p = /* @__PURE__ */ c(s, [["render", i]]);
10
11
  export {
11
12
  p as default
12
13
  };
package/index36.js CHANGED
@@ -1,4 +1,13 @@
1
- import f from "./index11.js";
1
+ import { renderSlot as t, openBlock as n, createElementBlock as r } from "vue";
2
+ import s from "./index42.js";
3
+ const c = {}, o = t, l = n, _ = r, d = { class: "sun-list-header" };
4
+ function a(e, f) {
5
+ return l(), _("view", d, [
6
+ o(e.$slots, "default"),
7
+ o(e.$slots, "end")
8
+ ]);
9
+ }
10
+ const p = /* @__PURE__ */ s(c, [["render", a]]);
2
11
  export {
3
- f as default
12
+ p as default
4
13
  };
package/index37.js CHANGED
@@ -1,4 +1,13 @@
1
- import f from "./index5.js";
1
+ import { renderSlot as t, openBlock as n, createElementBlock as r } from "vue";
2
+ import c from "./index42.js";
3
+ const s = {}, o = t, l = n, _ = r, a = { class: "sun-page-header" };
4
+ function d(e, f) {
5
+ return l(), _("view", a, [
6
+ o(e.$slots, "default"),
7
+ o(e.$slots, "end")
8
+ ]);
9
+ }
10
+ const p = /* @__PURE__ */ c(s, [["render", d]]);
2
11
  export {
3
- f as default
12
+ p as default
4
13
  };
package/index38.js CHANGED
@@ -1,9 +1,10 @@
1
- const s = (t, e) => {
2
- const o = t.__vccOpts || t;
3
- for (const [r, c] of e)
4
- o[r] = c;
5
- return o;
6
- };
1
+ import { mergeProps as o, openBlock as r, createElementBlock as t } from "vue";
2
+ import c from "./index42.js";
3
+ const n = {}, s = o, _ = r, l = t;
4
+ function m(e, a) {
5
+ return _(), l("view", s(e.$attrs, { class: "sun-skeleton" }), " ", 16);
6
+ }
7
+ const i = /* @__PURE__ */ c(n, [["render", m]]);
7
8
  export {
8
- s as default
9
+ i as default
9
10
  };
package/index39.js CHANGED
@@ -1,4 +1,12 @@
1
- import f from "./index29.js";
1
+ import { renderSlot as o, mergeProps as r, openBlock as t, createElementBlock as s } from "vue";
2
+ import n from "./index42.js";
3
+ const c = {}, l = o, m = r, _ = t, a = s;
4
+ function u(e, d) {
5
+ return _(), a("view", m(e.$attrs, { class: "sun-sudoku-item" }), [
6
+ l(e.$slots, "default")
7
+ ], 16);
8
+ }
9
+ const i = /* @__PURE__ */ n(c, [["render", u]]);
2
10
  export {
3
- f as default
11
+ i as default
4
12
  };
package/index4.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as o, unref as r, openBlock as t, createBlock as c } from "vue";
2
2
  import { router as a } from "@solar-taro/core";
3
- import m from "./index29.js";
3
+ import m from "./index34.js";
4
4
  const n = r, p = t, _ = c, b = /* @__PURE__ */ o({
5
5
  __name: "index",
6
6
  setup(s) {
package/index40.js CHANGED
@@ -1,4 +1,12 @@
1
- import f from "./index4.js";
1
+ import { renderSlot as t, openBlock as o, createElementBlock as n } from "vue";
2
+ import r from "./index42.js";
3
+ const c = {}, s = t, l = o, _ = n, a = { class: "sun-title" };
4
+ function d(e, f) {
5
+ return l(), _("view", a, [
6
+ s(e.$slots, "default")
7
+ ]);
8
+ }
9
+ const p = /* @__PURE__ */ r(c, [["render", d]]);
2
10
  export {
3
- f as default
11
+ p as default
4
12
  };
package/index41.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index3.js";
1
+ import f from "./index4.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index42.js CHANGED
@@ -1,4 +1,9 @@
1
- import f from "./index7.js";
1
+ const s = (t, e) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [r, c] of e)
4
+ o[r] = c;
5
+ return o;
6
+ };
2
7
  export {
3
- f as default
8
+ s as default
4
9
  };
package/index43.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index10.js";
1
+ import f from "./index5.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index44.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index15.js";
1
+ import f from "./index3.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index45.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index16.js";
1
+ import f from "./index6.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index46.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index17.js";
1
+ import f from "./index9.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index47.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index8.js";
1
+ import f from "./index10.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index48.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index9.js";
1
+ import f from "./index7.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index49.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index12.js";
1
+ import f from "./index15.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index5.js CHANGED
@@ -1,21 +1,18 @@
1
- import { defineComponent as n, computed as l, renderSlot as c, normalizeClass as r, openBlock as a, createElementBlock as p } from "vue";
2
- const u = c, i = r, d = a, m = p, h = /* @__PURE__ */ n({
3
- __name: "index",
1
+ import { defineComponent as c, computed as l, renderSlot as t, normalizeClass as n, openBlock as a, createElementBlock as p } from "vue";
2
+ const d = t, m = n, u = a, _ = p, h = /* @__PURE__ */ c({
3
+ __name: "card",
4
4
  props: {
5
- type: { default: "translucent" },
6
- size: { default: "default" },
7
- color: {}
5
+ color: { default: "white" }
8
6
  },
9
- setup(o) {
10
- const e = o, s = l(() => [
11
- `sun-chip-${e.size}`,
12
- `sun-chip-${e.type}`,
13
- `sun-chip-${e.color}`
7
+ setup(e) {
8
+ const o = e, r = l(() => [
9
+ `sun-card-${o.color}`
14
10
  ]);
15
- return (t, _) => (d(), m("view", {
16
- class: i(["sun-chip", s.value])
11
+ return (s, i) => (u(), _("view", {
12
+ class: m(["sun-card", r.value]),
13
+ "hover-class": "hover"
17
14
  }, [
18
- u(t.$slots, "default")
15
+ d(s.$slots, "default")
19
16
  ], 2));
20
17
  }
21
18
  });
package/index50.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index13.js";
1
+ import f from "./index34.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index51.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index6.js";
1
+ import f from "./index17.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index52.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index14.js";
1
+ import f from "./index18.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index53.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index18.js";
1
+ import f from "./index13.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index54.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index19.js";
1
+ import f from "./index12.js";
2
2
  export {
3
3
  f as default
4
4
  };