yc-design-vue 1.5.8 → 1.6.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 (45) hide show
  1. package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  2. package/es/Transfer/TransferPanel.vue2.js +2 -2
  3. package/es/Typography/TypographyBase.vue2.js +2 -2
  4. package/es/_shared/icons/IconCopy.vue.js +16 -1
  5. package/es/_shared/icons/IconCopy.vue2.js +1 -16
  6. package/es/_shared/icons/IconDelete.vue.js +1 -16
  7. package/es/_shared/icons/IconDelete.vue2.js +16 -1
  8. package/es/_shared/icons/IconEdit.vue.js +16 -1
  9. package/es/_shared/icons/IconEdit.vue2.js +1 -16
  10. package/es/_shared/icons/IconSearch.vue.js +1 -16
  11. package/es/_shared/icons/IconSearch.vue2.js +16 -1
  12. package/es/_shared/icons/IconSeparator.vue.js +1 -16
  13. package/es/_shared/icons/IconSeparator.vue2.js +16 -1
  14. package/es/index.d.ts +1 -3
  15. package/es/index.js +0 -3
  16. package/es/style.css +1 -1
  17. package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  18. package/lib/Transfer/TransferPanel.vue2.js +1 -1
  19. package/lib/Typography/TypographyBase.vue2.js +1 -1
  20. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  21. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  22. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  23. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  24. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  25. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  26. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  27. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  28. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  29. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  30. package/lib/index.d.ts +1 -3
  31. package/lib/index.js +1 -1
  32. package/lib/style.css +1 -1
  33. package/package.json +6 -18
  34. package/es/Icon/index.d.ts +0 -38
  35. package/es/Icon/index.js +0 -29
  36. package/es/Icon/index.vue.d.ts +0 -18
  37. package/es/Icon/index.vue.js +0 -7
  38. package/es/Icon/index.vue2.js +0 -55
  39. package/es/Icon/type.d.ts +0 -15
  40. package/lib/Icon/index.d.ts +0 -38
  41. package/lib/Icon/index.js +0 -1
  42. package/lib/Icon/index.vue.d.ts +0 -18
  43. package/lib/Icon/index.vue.js +0 -1
  44. package/lib/Icon/index.vue2.js +0 -1
  45. package/lib/Icon/type.d.ts +0 -15
@@ -5,7 +5,7 @@ import { isUndefined } from "../_shared/utils/is.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
- import _sfc_main$1 from "../_shared/icons/IconSeparator.vue.js";
8
+ import _sfc_main$1 from "../_shared/icons/IconSeparator.vue2.js";
9
9
  const _hoisted_1 = { class: "yc-breadcrumb-item-separator" };
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  __name: "BreadcrumbSeparator",
@@ -5,8 +5,8 @@ import "../_shared/utils/time.js";
5
5
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  /* empty css */
7
7
  import _sfc_main$3 from "../_shared/icons/IconClose.vue.js";
8
- import _sfc_main$1 from "../_shared/icons/IconDelete.vue.js";
9
- import _sfc_main$2 from "../_shared/icons/IconSearch.vue.js";
8
+ import _sfc_main$1 from "../_shared/icons/IconDelete.vue2.js";
9
+ import _sfc_main$2 from "../_shared/icons/IconSearch.vue2.js";
10
10
  import useContext from "./hooks/useContext.js";
11
11
  import Checkbox from "../Checkbox/index.js";
12
12
  import Scrollbar from "../Scrollbar/index.js";
@@ -5,8 +5,8 @@ import { getDomText, sleep } from "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
- import _sfc_main$3 from "../_shared/icons/IconCopy.vue2.js";
9
- import _sfc_main$1 from "../_shared/icons/IconEdit.vue2.js";
8
+ import _sfc_main$3 from "../_shared/icons/IconCopy.vue.js";
9
+ import _sfc_main$1 from "../_shared/icons/IconEdit.vue.js";
10
10
  import _sfc_main$2 from "../_shared/icons/IconInfo.vue.js";
11
11
  import useControlValue from "../_shared/utils/control.js";
12
12
  import Input from "../Input/index.js";
@@ -1,4 +1,19 @@
1
- import _sfc_main from "./IconCopy.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "IconCopy",
5
+ setup(__props) {
6
+ return (_ctx, _cache) => {
7
+ return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
+ default: withCtx(() => _cache[0] || (_cache[0] = [
9
+ createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
10
+ ])),
11
+ _: 1,
12
+ __: [0]
13
+ }, 16);
14
+ };
15
+ }
16
+ });
2
17
  export {
3
18
  _sfc_main as default
4
19
  };
@@ -1,19 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "../components/Icon.vue2.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "IconCopy",
5
- setup(__props) {
6
- return (_ctx, _cache) => {
7
- return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
- default: withCtx(() => _cache[0] || (_cache[0] = [
9
- createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
10
- ])),
11
- _: 1,
12
- __: [0]
13
- }, 16);
14
- };
15
- }
16
- });
1
+ import _sfc_main from "./IconCopy.vue.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };
@@ -1,19 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "../components/Icon.vue2.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "IconDelete",
5
- setup(__props) {
6
- return (_ctx, _cache) => {
7
- return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
- default: withCtx(() => _cache[0] || (_cache[0] = [
9
- createElementVNode("path", { d: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, null, -1)
10
- ])),
11
- _: 1,
12
- __: [0]
13
- }, 16);
14
- };
15
- }
16
- });
1
+ import _sfc_main from "./IconDelete.vue2.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };
@@ -1,4 +1,19 @@
1
- import _sfc_main from "./IconDelete.vue.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "IconDelete",
5
+ setup(__props) {
6
+ return (_ctx, _cache) => {
7
+ return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
+ default: withCtx(() => _cache[0] || (_cache[0] = [
9
+ createElementVNode("path", { d: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, null, -1)
10
+ ])),
11
+ _: 1,
12
+ __: [0]
13
+ }, 16);
14
+ };
15
+ }
16
+ });
2
17
  export {
3
18
  _sfc_main as default
4
19
  };
@@ -1,4 +1,19 @@
1
- import _sfc_main from "./IconEdit.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "IconEdit",
5
+ setup(__props) {
6
+ return (_ctx, _cache) => {
7
+ return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
+ default: withCtx(() => _cache[0] || (_cache[0] = [
9
+ createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
10
+ ])),
11
+ _: 1,
12
+ __: [0]
13
+ }, 16);
14
+ };
15
+ }
16
+ });
2
17
  export {
3
18
  _sfc_main as default
4
19
  };
@@ -1,19 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "../components/Icon.vue2.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "IconEdit",
5
- setup(__props) {
6
- return (_ctx, _cache) => {
7
- return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
- default: withCtx(() => _cache[0] || (_cache[0] = [
9
- createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
10
- ])),
11
- _: 1,
12
- __: [0]
13
- }, 16);
14
- };
15
- }
16
- });
1
+ import _sfc_main from "./IconEdit.vue.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };
@@ -1,19 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "../components/Icon.vue2.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "IconSearch",
5
- setup(__props) {
6
- return (_ctx, _cache) => {
7
- return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
- default: withCtx(() => _cache[0] || (_cache[0] = [
9
- createElementVNode("path", { d: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, null, -1)
10
- ])),
11
- _: 1,
12
- __: [0]
13
- }, 16);
14
- };
15
- }
16
- });
1
+ import _sfc_main from "./IconSearch.vue2.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };
@@ -1,4 +1,19 @@
1
- import _sfc_main from "./IconSearch.vue.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "IconSearch",
5
+ setup(__props) {
6
+ return (_ctx, _cache) => {
7
+ return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
+ default: withCtx(() => _cache[0] || (_cache[0] = [
9
+ createElementVNode("path", { d: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, null, -1)
10
+ ])),
11
+ _: 1,
12
+ __: [0]
13
+ }, 16);
14
+ };
15
+ }
16
+ });
2
17
  export {
3
18
  _sfc_main as default
4
19
  };
@@ -1,19 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "../components/Icon.vue2.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "IconSeparator",
5
- setup(__props) {
6
- return (_ctx, _cache) => {
7
- return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
- default: withCtx(() => _cache[0] || (_cache[0] = [
9
- createElementVNode("path", { d: "M29.506 6.502 18.493 41.498" }, null, -1)
10
- ])),
11
- _: 1,
12
- __: [0]
13
- }, 16);
14
- };
15
- }
16
- });
1
+ import _sfc_main from "./IconSeparator.vue2.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };
@@ -1,4 +1,19 @@
1
- import _sfc_main from "./IconSeparator.vue.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "IconSeparator",
5
+ setup(__props) {
6
+ return (_ctx, _cache) => {
7
+ return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
+ default: withCtx(() => _cache[0] || (_cache[0] = [
9
+ createElementVNode("path", { d: "M29.506 6.502 18.493 41.498" }, null, -1)
10
+ ])),
11
+ _: 1,
12
+ __: [0]
13
+ }, 16);
14
+ };
15
+ }
16
+ });
2
17
  export {
3
18
  _sfc_main as default
4
19
  };
package/es/index.d.ts CHANGED
@@ -23,7 +23,6 @@ import { default as Drawer } from './Drawer';
23
23
  import { default as Dropdown } from './Dropdown';
24
24
  import { default as Empty } from './Empty';
25
25
  import { default as Grid } from './Grid';
26
- import { default as Icon } from './Icon';
27
26
  import { default as Image } from './Image';
28
27
  import { default as Input } from './Input';
29
28
  import { default as InputNumber } from './InputNumber';
@@ -92,7 +91,6 @@ export * from './Drawer';
92
91
  export * from './Dropdown';
93
92
  export * from './Empty';
94
93
  export * from './Grid';
95
- export * from './Icon';
96
94
  export * from './Image';
97
95
  export * from './Input';
98
96
  export * from './InputNumber';
@@ -136,7 +134,7 @@ export * from './Typography';
136
134
  export * from './Tabs';
137
135
  export * from './VerificationCode';
138
136
  export * from './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, Icon, 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, };
137
+ 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, };
140
138
  export declare const components: Record<string, Plugin>;
141
139
  declare const _default: {
142
140
  AnchorLink: {
package/es/index.js CHANGED
@@ -23,7 +23,6 @@ import Drawer from "./Drawer/index.js";
23
23
  import Dropdown from "./Dropdown/index.js";
24
24
  import Empty from "./Empty/index.js";
25
25
  import Grid from "./Grid/index.js";
26
- import Icon from "./Icon/index.js";
27
26
  import Image from "./Image/index.js";
28
27
  import Input from "./Input/index.js";
29
28
  import InputNumber from "./InputNumber/index.js";
@@ -137,7 +136,6 @@ const components = {
137
136
  Dropdown,
138
137
  Empty,
139
138
  Grid,
140
- Icon,
141
139
  Image,
142
140
  Input,
143
141
  InputNumber,
@@ -274,7 +272,6 @@ export {
274
272
  _sfc_main$5 as GridCol,
275
273
  _sfc_main$4 as GridItem,
276
274
  GridRow,
277
- Icon,
278
275
  Image,
279
276
  ImagePreview,
280
277
  ImagePreviewAction,