ninemoon-ui 0.1.9 → 0.1.11

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,9 +1,85 @@
1
+ @charset "UTF-8";
2
+ .alertOpecity-enter-from{
3
+ position: absolute;
4
+ opacity: 0.5
5
+ }
6
+ .alertOpecity-enter-active,
7
+ .alertOpecity-leave-active{
8
+ transition-property: opacity;
9
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
10
+ transition-duration: 300ms
11
+ /* 300ms 与 JS 清理时间一致 */
12
+ }
13
+ .alertOpecity-enter,
14
+ .alertOpecity-leave-to{
15
+ opacity: 0
16
+ }.circular {
17
+ animation: rotate 2s linear infinite;
18
+ position: absolute;
19
+ top: 0px;
20
+ right: 0px;
21
+ left: 0px;
22
+ bottom: 0px;
23
+ height: 100%;
24
+ width: 100%;
25
+ transform-origin: center;
26
+ }
27
+ .circular .path {
28
+ stroke-dasharray: 1, 200;
29
+ stroke-dashoffset: 0;
30
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
31
+ stroke-linecap: round;
32
+ }
33
+ @keyframes rotate {
34
+ 100% {
35
+ transform: rotate(360deg);
36
+ }
37
+ }
38
+ @keyframes dash {
39
+ 0% {
40
+ stroke-dasharray: 1, 200;
41
+ stroke-dashoffset: 0;
42
+ }
43
+ 50% {
44
+ stroke-dasharray: 89, 200;
45
+ stroke-dashoffset: -35px;
46
+ }
47
+ 100% {
48
+ stroke-dasharray: 89, 200;
49
+ stroke-dashoffset: -124px;
50
+ }
51
+ }
52
+ @keyframes color {
53
+ 100%, 0% {
54
+ stroke: #d62d20;
55
+ }
56
+ 40% {
57
+ stroke: #0057e7;
58
+ }
59
+ 66% {
60
+ stroke: #008744;
61
+ }
62
+ 80%, 90% {
63
+ stroke: #ffa700;
64
+ }
65
+ }.form-tick:checked {
66
+ background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
67
+ border-color: transparent;
68
+ background-size: 100% 100%;
69
+ background-position: 50%;
70
+ background-repeat: no-repeat;
71
+ }
72
+ .fade-enter-active,
73
+ .fade-leave-active {
74
+ transition: opacity 0.2s ease;
75
+ }
76
+
77
+ .fade-enter-from,
78
+ .fade-leave-to {
79
+ opacity: 0;
80
+ }
1
81
  .ETab {
2
- display: flex;
3
82
  width: 100%;
4
- min-width: -moz-max-content;
5
- min-width: max-content;
6
- flex-wrap: nowrap;
7
83
  --tw-text-opacity: 1;
8
84
  color: rgb(102 102 102 / var(--tw-text-opacity, 1))
9
85
  }
@@ -26,6 +102,7 @@
26
102
  --tw-text-opacity: 1;
27
103
  color: rgb(1 64 153 / var(--tw-text-opacity, 1))
28
104
  }
105
+
29
106
  .ETab_Card {
30
107
  --tw-bg-opacity: 1;
31
108
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1))
@@ -1157,6 +1157,7 @@ const createWheelDirective = (options) => {
1157
1157
  };
1158
1158
  };
1159
1159
  const tailwind = "";
1160
+ const tabs = "";
1160
1161
  const LibDialog = defineAsyncComponent(() => import("../dialog/dialog.js"));
1161
1162
  const LibForm = defineAsyncComponent(() => import("../form/form.js"));
1162
1163
  const LibFormLabel = defineAsyncComponent(() => import("../form/formlabel.js"));
@@ -1,4 +1,4 @@
1
- import { defineComponent, defineAsyncComponent, computed, ref, reactive, useSlots, onMounted, onUnmounted, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, normalizeStyle, createCommentVNode, h, normalizeClass, withDirectives, vShow } from "vue";
1
+ import { defineComponent, computed, ref, reactive, useSlots, onMounted, onUnmounted, openBlock, createElementBlock, createVNode, createElementVNode, normalizeStyle, createCommentVNode, h, normalizeClass, withDirectives, vShow } from "vue";
2
2
  import { S as ShapeFlags } from "../shapeFlag/shapeFlag.js";
3
3
  const _hoisted_1 = { class: "relative w-full overflow-hidden" };
4
4
  const _hoisted_2 = {
@@ -14,9 +14,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  },
15
15
  emits: ["update:active"],
16
16
  setup(__props, { emit: __emit }) {
17
- const LibScrollBar = defineAsyncComponent(
18
- () => import("../scrollBar/scrollBar.js")
19
- );
20
17
  const props = __props;
21
18
  const showBaseline = computed(() => props.type === "line");
22
19
  const emit = __emit;
@@ -153,24 +150,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
153
150
  });
154
151
  return (_ctx, _cache) => {
155
152
  return openBlock(), createElementBlock("div", _hoisted_1, [
156
- createVNode(unref(LibScrollBar), null, {
157
- default: withCtx(() => [
158
- createVNode(renderBar, {
159
- ref_key: "observerRef",
160
- ref: observerRef
161
- }, null, 512),
162
- showBaseline.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
163
- createElementVNode("div", {
164
- class: "absolute bottom-0 border-t-2 border-solid border-blue-brand transition",
165
- style: normalizeStyle({
166
- transform: `translateX(${indicatorPos.left}px`,
167
- width: `${indicatorPos.width}px`
168
- })
169
- }, null, 4)
170
- ])) : createCommentVNode("", true)
171
- ]),
172
- _: 1
173
- }),
153
+ createVNode(renderBar, {
154
+ ref_key: "observerRef",
155
+ ref: observerRef
156
+ }, null, 512),
157
+ showBaseline.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
158
+ createElementVNode("div", {
159
+ class: "absolute bottom-0 border-t-2 border-solid border-blue-brand transition",
160
+ style: normalizeStyle({
161
+ transform: `translateX(${indicatorPos.left}px`,
162
+ width: `${indicatorPos.width}px`
163
+ })
164
+ }, null, 4)
165
+ ])) : createCommentVNode("", true),
174
166
  createElementVNode("div", _hoisted_3, [
175
167
  createVNode(renderContent)
176
168
  ])
@@ -178,7 +170,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
178
170
  };
179
171
  }
180
172
  });
181
- const tabs_vue_vue_type_style_index_0_lang = "";
182
173
  export {
183
174
  _sfc_main as default
184
175
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninemoon-ui",
3
3
  "private": false,
4
- "version": "0.1.9",
4
+ "version": "0.1.11",
5
5
  "author": "zhuboy",
6
6
  "keywords": [
7
7
  "vue3",
package/dist/index.css DELETED
@@ -1,80 +0,0 @@
1
- @charset "UTF-8";
2
- .alertOpecity-enter-from{
3
- position: absolute;
4
- opacity: 0.5
5
- }
6
- .alertOpecity-enter-active,
7
- .alertOpecity-leave-active{
8
- transition-property: opacity;
9
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
10
- transition-duration: 300ms
11
- /* 300ms 与 JS 清理时间一致 */
12
- }
13
- .alertOpecity-enter,
14
- .alertOpecity-leave-to{
15
- opacity: 0
16
- }.circular {
17
- animation: rotate 2s linear infinite;
18
- position: absolute;
19
- top: 0px;
20
- right: 0px;
21
- left: 0px;
22
- bottom: 0px;
23
- height: 100%;
24
- width: 100%;
25
- transform-origin: center;
26
- }
27
- .circular .path {
28
- stroke-dasharray: 1, 200;
29
- stroke-dashoffset: 0;
30
- animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
31
- stroke-linecap: round;
32
- }
33
- @keyframes rotate {
34
- 100% {
35
- transform: rotate(360deg);
36
- }
37
- }
38
- @keyframes dash {
39
- 0% {
40
- stroke-dasharray: 1, 200;
41
- stroke-dashoffset: 0;
42
- }
43
- 50% {
44
- stroke-dasharray: 89, 200;
45
- stroke-dashoffset: -35px;
46
- }
47
- 100% {
48
- stroke-dasharray: 89, 200;
49
- stroke-dashoffset: -124px;
50
- }
51
- }
52
- @keyframes color {
53
- 100%, 0% {
54
- stroke: #d62d20;
55
- }
56
- 40% {
57
- stroke: #0057e7;
58
- }
59
- 66% {
60
- stroke: #008744;
61
- }
62
- 80%, 90% {
63
- stroke: #ffa700;
64
- }
65
- }.form-tick:checked {
66
- background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
67
- border-color: transparent;
68
- background-size: 100% 100%;
69
- background-position: 50%;
70
- background-repeat: no-repeat;
71
- }
72
- .fade-enter-active,
73
- .fade-leave-active {
74
- transition: opacity 0.2s ease;
75
- }
76
-
77
- .fade-enter-from,
78
- .fade-leave-to {
79
- opacity: 0;
80
- }