yc-design-vue 2.0.6 → 2.0.8

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 (71) hide show
  1. package/dist/index.umd.js +1 -1
  2. package/dist/style.css +1 -1
  3. package/es/Input/InputSuffix.vue.js +1 -1
  4. package/es/Progress/ProgressCircle.vue.js +1 -1
  5. package/es/Transfer/TransferPanel.vue.js +1 -1
  6. package/es/Typography/TypographyBase.vue.js +2 -2
  7. package/es/Upload/Upload.vue.d.ts +3 -0
  8. package/es/Upload/Upload.vue.js +15 -3
  9. package/es/Upload/UploadButton.vue.js +1 -1
  10. package/es/Upload/UploadFileList.vue.js +1 -1
  11. package/es/Upload/UploadFileList.vue2.js +4 -8
  12. package/es/Upload/UploadPictureCard.vue.js +1 -1
  13. package/es/Upload/UploadPictureCard.vue2.js +13 -17
  14. package/es/Upload/hooks/useContext.d.ts +8 -2
  15. package/es/Upload/hooks/useContext.js +22 -1
  16. package/es/Upload/hooks/useUpload.d.ts +11 -5
  17. package/es/Upload/hooks/useUpload.js +29 -6
  18. package/es/Upload/index.d.ts +9 -0
  19. package/es/Upload/type.d.ts +6 -0
  20. package/es/_shared/icons/IconCopy.vue.js +19 -1
  21. package/es/_shared/icons/IconCopy.vue2.js +1 -19
  22. package/es/_shared/icons/IconDelete.vue.js +1 -19
  23. package/es/_shared/icons/IconDelete.vue2.js +19 -1
  24. package/es/_shared/icons/IconEdit.vue.js +19 -1
  25. package/es/_shared/icons/IconEdit.vue2.js +1 -19
  26. package/es/_shared/icons/IconExclamation.vue.js +30 -1
  27. package/es/_shared/icons/IconExclamation.vue2.js +1 -30
  28. package/es/_shared/icons/IconEyeClose.vue.js +1 -23
  29. package/es/_shared/icons/IconEyeClose.vue2.js +23 -1
  30. package/es/_shared/icons/IconFile.vue.js +1 -19
  31. package/es/_shared/icons/IconFile.vue2.js +19 -1
  32. package/es/_shared/icons/IconUpload.vue.js +1 -19
  33. package/es/_shared/icons/IconUpload.vue2.js +19 -1
  34. package/es/index.d.ts +2 -1
  35. package/es/index.js +1 -0
  36. package/es/style.css +1 -1
  37. package/lib/Input/InputSuffix.vue.js +1 -1
  38. package/lib/Progress/ProgressCircle.vue.js +1 -1
  39. package/lib/Transfer/TransferPanel.vue.js +1 -1
  40. package/lib/Typography/TypographyBase.vue.js +1 -1
  41. package/lib/Upload/Upload.vue.d.ts +3 -0
  42. package/lib/Upload/Upload.vue.js +1 -1
  43. package/lib/Upload/UploadButton.vue.js +1 -1
  44. package/lib/Upload/UploadFileList.vue.js +1 -1
  45. package/lib/Upload/UploadFileList.vue2.js +1 -1
  46. package/lib/Upload/UploadPictureCard.vue.js +1 -1
  47. package/lib/Upload/UploadPictureCard.vue2.js +1 -1
  48. package/lib/Upload/hooks/useContext.d.ts +8 -2
  49. package/lib/Upload/hooks/useContext.js +1 -1
  50. package/lib/Upload/hooks/useUpload.d.ts +11 -5
  51. package/lib/Upload/hooks/useUpload.js +1 -1
  52. package/lib/Upload/index.d.ts +9 -0
  53. package/lib/Upload/type.d.ts +6 -0
  54. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  55. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  56. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  57. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  58. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  59. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  60. package/lib/_shared/icons/IconExclamation.vue.js +1 -1
  61. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  62. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  63. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  64. package/lib/_shared/icons/IconFile.vue.js +1 -1
  65. package/lib/_shared/icons/IconFile.vue2.js +1 -1
  66. package/lib/_shared/icons/IconUpload.vue.js +1 -1
  67. package/lib/_shared/icons/IconUpload.vue2.js +1 -1
  68. package/lib/index.d.ts +2 -1
  69. package/lib/index.js +1 -1
  70. package/lib/style.css +1 -1
  71. package/package.json +1 -1
@@ -1,4 +1,33 @@
1
- import _sfc_main from "./IconExclamation.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import "../utils/dom.js";
3
+ /* empty css */
4
+ /* empty css */
5
+ import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
+ /* empty css */
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "IconExclamation",
9
+ setup(__props) {
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
+ createElementVNode("path", { d: "M23 9h2v21h-2z" }, null, -1),
14
+ createElementVNode("path", {
15
+ fill: "currentColor",
16
+ stroke: "none",
17
+ d: "M23 9h2v21h-2z"
18
+ }, null, -1),
19
+ createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
20
+ createElementVNode("path", {
21
+ fill: "currentColor",
22
+ stroke: "none",
23
+ d: "M23 37h2v2h-2z"
24
+ }, null, -1)
25
+ ])]),
26
+ _: 1
27
+ }, 16);
28
+ };
29
+ }
30
+ });
2
31
  export {
3
32
  _sfc_main as default
4
33
  };
@@ -1,33 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import "../utils/dom.js";
3
- /* empty css */
4
- /* empty css */
5
- import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
- /* empty css */
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- __name: "IconExclamation",
9
- setup(__props) {
10
- return (_ctx, _cache) => {
11
- return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
- default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
- createElementVNode("path", { d: "M23 9h2v21h-2z" }, null, -1),
14
- createElementVNode("path", {
15
- fill: "currentColor",
16
- stroke: "none",
17
- d: "M23 9h2v21h-2z"
18
- }, null, -1),
19
- createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
20
- createElementVNode("path", {
21
- fill: "currentColor",
22
- stroke: "none",
23
- d: "M23 37h2v2h-2z"
24
- }, null, -1)
25
- ])]),
26
- _: 1
27
- }, 16);
28
- };
29
- }
30
- });
1
+ import _sfc_main from "./IconExclamation.vue.js";
31
2
  export {
32
3
  _sfc_main as default
33
4
  };
@@ -1,26 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import "../utils/dom.js";
3
- /* empty css */
4
- /* empty css */
5
- import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
- /* empty css */
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- __name: "IconEyeClose",
9
- setup(__props) {
10
- return (_ctx, _cache) => {
11
- return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
- default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
- createElementVNode("path", {
14
- d: "M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z",
15
- "clip-rule": "evenodd"
16
- }, null, -1),
17
- createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" }, null, -1)
18
- ])]),
19
- _: 1
20
- }, 16);
21
- };
22
- }
23
- });
1
+ import _sfc_main from "./IconEyeClose.vue2.js";
24
2
  export {
25
3
  _sfc_main as default
26
4
  };
@@ -1,4 +1,26 @@
1
- import _sfc_main from "./IconEyeClose.vue.js";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import "../utils/dom.js";
3
+ /* empty css */
4
+ /* empty css */
5
+ import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
+ /* empty css */
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "IconEyeClose",
9
+ setup(__props) {
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
+ createElementVNode("path", {
14
+ d: "M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z",
15
+ "clip-rule": "evenodd"
16
+ }, null, -1),
17
+ createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" }, null, -1)
18
+ ])]),
19
+ _: 1
20
+ }, 16);
21
+ };
22
+ }
23
+ });
2
24
  export {
3
25
  _sfc_main as default
4
26
  };
@@ -1,22 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import "../utils/dom.js";
3
- /* empty css */
4
- /* empty css */
5
- import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
- /* empty css */
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- __name: "IconFile",
9
- setup(__props) {
10
- return (_ctx, _cache) => {
11
- return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
- default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
- createElementVNode("path", { d: "M16 21h16m-16 8h10m11 13H11a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h21l7 7v27a2 2 0 0 1-2 2Z" }, null, -1)
14
- ])]),
15
- _: 1
16
- }, 16);
17
- };
18
- }
19
- });
1
+ import _sfc_main from "./IconFile.vue2.js";
20
2
  export {
21
3
  _sfc_main as default
22
4
  };
@@ -1,4 +1,22 @@
1
- import _sfc_main from "./IconFile.vue.js";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import "../utils/dom.js";
3
+ /* empty css */
4
+ /* empty css */
5
+ import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
+ /* empty css */
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "IconFile",
9
+ setup(__props) {
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
+ createElementVNode("path", { d: "M16 21h16m-16 8h10m11 13H11a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h21l7 7v27a2 2 0 0 1-2 2Z" }, null, -1)
14
+ ])]),
15
+ _: 1
16
+ }, 16);
17
+ };
18
+ }
19
+ });
2
20
  export {
3
21
  _sfc_main as default
4
22
  };
@@ -1,22 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import "../utils/dom.js";
3
- /* empty css */
4
- /* empty css */
5
- import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
- /* empty css */
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- __name: "IconUpload",
9
- setup(__props) {
10
- return (_ctx, _cache) => {
11
- return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
- default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
- createElementVNode("path", { d: "M14.93 17.071 24.001 8l9.071 9.071m-9.07 16.071v-25M40 35v6H8v-6" }, null, -1)
14
- ])]),
15
- _: 1
16
- }, 16);
17
- };
18
- }
19
- });
1
+ import _sfc_main from "./IconUpload.vue2.js";
20
2
  export {
21
3
  _sfc_main as default
22
4
  };
@@ -1,4 +1,22 @@
1
- import _sfc_main from "./IconUpload.vue.js";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import "../utils/dom.js";
3
+ /* empty css */
4
+ /* empty css */
5
+ import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
+ /* empty css */
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "IconUpload",
9
+ setup(__props) {
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
+ createElementVNode("path", { d: "M14.93 17.071 24.001 8l9.071 9.071m-9.07 16.071v-25M40 35v6H8v-6" }, null, -1)
14
+ ])]),
15
+ _: 1
16
+ }, 16);
17
+ };
18
+ }
19
+ });
2
20
  export {
3
21
  _sfc_main as default
4
22
  };
package/es/index.d.ts CHANGED
@@ -64,6 +64,7 @@ import { default as Transfer } from './Transfer';
64
64
  import { default as Trigger } from './Trigger';
65
65
  import { default as Typography } from './Typography';
66
66
  import { default as Tabs } from './Tabs';
67
+ import { default as Upload } from './Upload';
67
68
  import { default as VerificationCode } from './VerificationCode';
68
69
  import { default as Watermark } from './Watermark';
69
70
  export * from './_shared/type';
@@ -135,7 +136,7 @@ export * from './Tabs';
135
136
  export * from './Upload';
136
137
  export * from './VerificationCode';
137
138
  export * from './Watermark';
138
- export { Affix, Alert, Anchor, AutoComplete, Avatar, BackTop, Badge, Button, Breadcrumb, Card, Calendar, Carousel, Checkbox, Collapse, ColorPicker, Cascader, Comment, ConfigProvider, Descriptions, Divider, Drawer, Dropdown, Empty, Grid, Image, Input, InputNumber, InputTag, Layout, Link, List, Menu, Mention, Modal, Message, Notification, OverflowList, PageHeader, Pagination, Popconfirm, Popover, Progress, Radio, Rate, ResizeBox, Result, Scrollbar, Select, Skeleton, Slider, Space, Split, Statistic, Steps, Spin, Switch, Tag, Timeline, Textarea, TimePicker, Tooltip, Transfer, Trigger, Typography, Tabs, VerificationCode, Watermark, };
139
+ export { Affix, Alert, Anchor, AutoComplete, Avatar, BackTop, Badge, Button, Breadcrumb, Card, Calendar, Carousel, Checkbox, Collapse, ColorPicker, Cascader, Comment, ConfigProvider, Descriptions, Divider, Drawer, Dropdown, Empty, Grid, Image, Input, InputNumber, InputTag, Layout, Link, List, Menu, Mention, Modal, Message, Notification, OverflowList, PageHeader, Pagination, Popconfirm, Popover, Progress, Radio, Rate, ResizeBox, Result, Scrollbar, Select, Skeleton, Slider, Space, Split, Statistic, Steps, Spin, Switch, Tag, Timeline, Textarea, TimePicker, Tooltip, Transfer, Trigger, Typography, Tabs, Upload, VerificationCode, Watermark, };
139
140
  export declare const components: Record<string, Plugin>;
140
141
  declare const YcDesignVue: {
141
142
  AnchorLink: {
package/es/index.js CHANGED
@@ -368,6 +368,7 @@ export {
368
368
  _sfc_main as TypographyParagraph,
369
369
  _sfc_main$2 as TypographyText,
370
370
  _sfc_main$1 as TypographyTitle,
371
+ Upload,
371
372
  VerificationCode,
372
373
  Watermark,
373
374
  components,