@julingbase/jly-arco-design 0.0.1 → 0.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 (77) hide show
  1. package/README.md +8 -113
  2. package/dist/arco-vue.js +6 -1
  3. package/dist/arco-vue.js.map +1 -1
  4. package/dist/arco-vue.min.js +2 -2
  5. package/dist/arco-vue.min.js.map +1 -1
  6. package/es/_components/input-label/input-label.d.ts +3 -3
  7. package/es/_components/picker/input-range.d.ts +4 -4
  8. package/es/_components/picker/input.d.ts +2 -2
  9. package/es/_components/select-view/select-view.d.ts +1 -1
  10. package/es/auto-complete/auto-complete.d.ts +3 -3
  11. package/es/auto-complete/index.d.ts +9 -9
  12. package/es/calendar/calendar.d.ts +1 -1
  13. package/es/calendar/index.d.ts +3 -3
  14. package/es/cascader/cascader-panel.d.ts +1 -1
  15. package/es/cascader/cascader.d.ts +5 -5
  16. package/es/cascader/index.d.ts +15 -15
  17. package/es/checkbox/checkbox-group.d.ts +2 -2
  18. package/es/checkbox/checkbox.d.ts +1 -1
  19. package/es/checkbox/index.d.ts +5 -5
  20. package/es/color-picker/color-picker.d.ts +1 -1
  21. package/es/color-picker/index.d.ts +3 -3
  22. package/es/date-picker/index.d.ts +8 -8
  23. package/es/date-picker/picker.d.ts +6 -6
  24. package/es/date-picker/range-picker.d.ts +8 -8
  25. package/es/dropdown/dropdown-button.d.ts +9 -0
  26. package/es/dropdown/dropdown.d.ts +9 -0
  27. package/es/dropdown/dropdown.js +6 -1
  28. package/es/dropdown/index.d.ts +24 -0
  29. package/es/form/form-item.d.ts +3 -3
  30. package/es/form/index.d.ts +3 -3
  31. package/es/input/index.d.ts +12 -12
  32. package/es/input/input-password.d.ts +3 -3
  33. package/es/input/input.d.ts +3 -3
  34. package/es/input-number/index.d.ts +3 -3
  35. package/es/input-number/input-number.d.ts +1 -1
  36. package/es/input-tag/index.d.ts +21 -21
  37. package/es/input-tag/input-tag.d.ts +7 -7
  38. package/es/mention/index.d.ts +9 -9
  39. package/es/mention/mention.d.ts +3 -3
  40. package/es/pagination/page-jumper.d.ts +3 -3
  41. package/es/pagination/page-options.d.ts +16 -16
  42. package/es/radio/index.d.ts +9 -9
  43. package/es/radio/radio-group.d.ts +3 -3
  44. package/es/radio/radio.d.ts +2 -2
  45. package/es/rate/index.d.ts +9 -9
  46. package/es/rate/rate.d.ts +3 -3
  47. package/es/select/index.d.ts +16 -16
  48. package/es/select/option.d.ts +5 -5
  49. package/es/select/select.d.ts +4 -4
  50. package/es/slider/index.d.ts +12 -12
  51. package/es/slider/slider-input.d.ts +3 -3
  52. package/es/slider/slider.d.ts +5 -5
  53. package/es/switch/index.d.ts +6 -6
  54. package/es/switch/switch.d.ts +2 -2
  55. package/es/table/table-operation-td.d.ts +14 -14
  56. package/es/textarea/index.d.ts +6 -6
  57. package/es/textarea/textarea.d.ts +2 -2
  58. package/es/time-picker/index.d.ts +18 -18
  59. package/es/time-picker/time-picker.d.ts +8 -8
  60. package/es/transfer/index.d.ts +16 -16
  61. package/es/transfer/transfer-view.d.ts +5 -5
  62. package/es/transfer/transfer.d.ts +7 -7
  63. package/es/tree/base-node.d.ts +5 -5
  64. package/es/tree/transition-node-list.d.ts +5 -5
  65. package/es/tree-select/index.d.ts +5 -5
  66. package/es/tree-select/tree-select.d.ts +2 -2
  67. package/es/typography/edit-content.d.ts +36 -36
  68. package/es/upload/index.d.ts +3 -3
  69. package/es/upload/upload.d.ts +1 -1
  70. package/es/verification-code/index.d.ts +6 -6
  71. package/es/verification-code/verification-code.d.ts +2 -2
  72. package/json/vetur-attributes.json +849 -845
  73. package/json/vetur-tags.json +322 -321
  74. package/json/web-types.json +2602 -2594
  75. package/lib/dropdown/dropdown.js +6 -1
  76. package/package.json +2 -2
  77. package/README.zh-CN.md +0 -110
@@ -39,6 +39,10 @@ const _sfc_main = vue.defineComponent({
39
39
  hideOnSelect: {
40
40
  type: Boolean,
41
41
  default: true
42
+ },
43
+ triggerAutoFixPosition: {
44
+ type: Boolean,
45
+ default: true
42
46
  }
43
47
  },
44
48
  emits: {
@@ -79,6 +83,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
79
83
  "popup-visible": _ctx.computedPopupVisible,
80
84
  "animation-name": "slide-dynamic-origin",
81
85
  "auto-fit-transform-origin": "",
86
+ "auto-fit-position": _ctx.triggerAutoFixPosition,
82
87
  trigger: _ctx.trigger,
83
88
  position: _ctx.position,
84
89
  "popup-offset": 4,
@@ -106,7 +111,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
106
111
  vue.renderSlot(_ctx.$slots, "default")
107
112
  ]),
108
113
  _: 3
109
- }, 8, ["popup-visible", "trigger", "position", "popup-container", "opened-class", "onPopupVisibleChange"]);
114
+ }, 8, ["popup-visible", "auto-fit-position", "trigger", "position", "popup-container", "opened-class", "onPopupVisibleChange"]);
110
115
  }
111
116
  var _Dropdown = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["render", _sfc_render]]);
112
117
  module.exports = _Dropdown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@julingbase/jly-arco-design",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "基于arco-design-vue的二次封装组件库",
5
5
  "author": "lzh",
6
6
  "license": "MIT",
@@ -97,5 +97,5 @@
97
97
  "scroll-into-view-if-needed": "^2.2.31",
98
98
  "vue": "^3.1.0"
99
99
  },
100
- "gitHead": "47eb63453e57acf3ff18b60837a299a6a235ed1a"
100
+ "gitHead": "a98b8d158cafb11ee8b4b8beab1c979a955c92fe"
101
101
  }
package/README.zh-CN.md DELETED
@@ -1,110 +0,0 @@
1
- <div align="center">
2
- <a href="https://arco.design" target="_blank">
3
- <img alt="Arco Design Logo" width="200" src="https://avatars.githubusercontent.com/u/64576149?s=200&v=4"/>
4
- </a>
5
- </div>
6
-
7
- <div align="center">
8
- <h1>Arco Design</h1>
9
- </div>
10
-
11
- <div align="center">
12
-
13
- 基于 [Arco Design](https://arco.design/) 的 Vue UI 组件库。
14
-
15
- [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/arco-design/arco-design-vue/blob/main/LICENSE)
16
-
17
- </div>
18
-
19
- <div align="center">
20
-
21
- [English](./README.md) | 简体中文
22
-
23
- </div>
24
-
25
- # 特性
26
-
27
- ## 全面
28
-
29
- 60多个开箱即用的高质量组件, 可以覆盖绝大部份的业务场景。
30
-
31
- ## 主题配置
32
-
33
- 海量的样式 tokens, 支持全局以及组件级别的主题配置。有以下2种方式可以定制主题:
34
-
35
- * [Less-loader](https://arco.design/vue/docs/theme)
36
- * [风格配置平台](https://arco.design/themes) - 推荐!
37
-
38
- ## TypeScript 友好
39
-
40
- 所有组件都是用 TypeScript 编写的,所以天然的类型友好。
41
-
42
- # 安装
43
-
44
- [npm package](https://www.npmjs.com/package/@arco-design/web-vue)
45
-
46
- ```bash
47
- // npm
48
- npm install @arco-design/web-vue
49
-
50
- // yarn
51
- yarn add @arco-design/web-vue
52
- ```
53
-
54
- # 例子
55
-
56
- ```typescript
57
- import { createApp } from 'vue'
58
- import ArcoVue from '@arco-design/web-vue';
59
- import App from './App.vue';
60
- import '@arco-design/web-vue/dist/arco.css';
61
-
62
- const app = createApp(App);
63
- app.use(ArcoVue);
64
- app.mount('#app');
65
- ```
66
-
67
- ## 开发
68
-
69
- 1. 使用 `npm install -g` 安装 `lerna` 和 `yarn` 等基础包
70
-
71
- 2. 使用 `yarn install` 安装 `workspaces` 中各个包的依赖(如果遇到 `YN0018` 错误,可以使用 `YARN_CHECKSUM_BEHAVIOR=update yarn` 进行安装)
72
-
73
- 3. 使用 `npm run init` 初始化项目
74
-
75
-
76
- # 相关链接
77
-
78
- * [官网](https://arco.design/)
79
- * [暗黑模式](https://arco.design/vue/docs/dark)
80
- * [主题配置](https://arco.design/vue/docs/theme)
81
- * [Figma 设计资源](https://www.figma.com/file/FVu1DydEeXvJqXrkOb90Oi/ArcoDesign%E7%BB%84%E4%BB%B6%E8%AE%BE%E8%AE%A1_2.0?node-id=5472%3A308)
82
- * [Awesome Arco](https://github.com/arco-design/awesome-arco)
83
-
84
- # 生态
85
-
86
- | 项目 | 介绍 |
87
- | --------------------- | ------------------------------------------------------- |
88
- | [React 组件库] | 基于 [Arco Design](https://arco.design/) 的 React UI 组件库。 |
89
- | [风格配置平台] | 精确到组件级的主题视觉配置平台 |
90
- | [物料平台] | 丰富可共享的业务定制物料,让效率突破猛进 |
91
- | [图标平台] | 一站式图标管理平台 |
92
- | [Arco Pro] | 快速构建中后台的前端解决方案 |
93
-
94
- [React 组件库]: https://arco.design/react/docs/start
95
- [风格配置平台]: https://arco.design/themes
96
- [物料平台]: https://arco.design/material
97
- [图标平台]: https://arco.design/iconbox
98
- [Arco Pro]: https://arco.design/pro/
99
-
100
- # 参与贡献
101
-
102
- 贡献之前请先阅读 [行为准则](./CODE_OF_CONDUCT.md) 和 [贡献指南](./CONTRIBUTING.zh-CN.md)。
103
-
104
- 感谢所有为 ArcoDesign 做过贡献的人!
105
-
106
- <a href="https://github.com/arco-design/arco-design-vue/graphs/contributors"><img src="https://contrib.rocks/image?repo=arco-design/arco-design-vue" /></a>
107
-
108
- # License
109
-
110
- [MIT 协议](./LICENSE)