@opentiny/vue-renderless 3.26.0 → 3.27.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 (43) hide show
  1. package/calendar-view/index.js +6 -3
  2. package/calendar-view/vue.js +9 -5
  3. package/color-picker/vue.js +4 -0
  4. package/color-select-panel/alpha-select/index.js +17 -12
  5. package/color-select-panel/alpha-select/vue.js +4 -2
  6. package/color-select-panel/hue-select/index.js +42 -11
  7. package/color-select-panel/hue-select/vue.js +32 -6
  8. package/color-select-panel/index.js +223 -39
  9. package/color-select-panel/linear-gradient/index.js +131 -0
  10. package/color-select-panel/linear-gradient/vue.js +21 -0
  11. package/color-select-panel/sv-select/index.js +12 -9
  12. package/color-select-panel/sv-select/vue.js +4 -2
  13. package/color-select-panel/utils/color-map.js +154 -0
  14. package/color-select-panel/utils/color-points.js +86 -0
  15. package/color-select-panel/utils/color.js +1 -1
  16. package/color-select-panel/utils/context.js +14 -0
  17. package/color-select-panel/vue.js +3 -3
  18. package/common/deps/infinite-scroll.js +1 -1
  19. package/dialog-box/index.js +3 -3
  20. package/dialog-box/vue.js +1 -0
  21. package/file-upload/index.js +3 -2
  22. package/form-item/vue.js +1 -1
  23. package/guide/index.js +3 -3
  24. package/input/vue.js +2 -1
  25. package/package.json +3 -3
  26. package/picker/vue.js +10 -0
  27. package/select/index.js +30 -13
  28. package/select/vue.js +29 -9
  29. package/slider/vue.js +7 -0
  30. package/space/index.js +30 -0
  31. package/space/vue.js +39 -0
  32. package/tab-nav/index.js +2 -2
  33. package/tabs-mf/vue-nav.js +9 -18
  34. package/tabs-mf/vue-slider-bar.js +24 -0
  35. package/tabs-mf/vue.js +3 -1
  36. package/tag/index.js +1 -1
  37. package/tree-menu/index.js +4 -0
  38. package/tree-menu/vue.js +3 -0
  39. package/types/color-select-panel.type.d.ts +197 -1
  40. package/types/numeric.type.d.ts +1 -1
  41. package/types/picker.type.d.ts +4 -0
  42. package/types/space.type.d.ts +31 -0
  43. package/types/switch.type.d.ts +1 -1
@@ -57,6 +57,10 @@ declare const pickerProps: {
57
57
  type: BooleanConstructor;
58
58
  default: boolean;
59
59
  };
60
+ popperOptions: {
61
+ type: ObjectConstructor;
62
+ default: () => {};
63
+ };
60
64
  align: {
61
65
  type: StringConstructor;
62
66
  default: string;
@@ -0,0 +1,31 @@
1
+ /** 支持的 size 类型定义:预设值或 px 数字,或水平/垂直间距数组 */
2
+ type SpaceSize = 'small' | 'medium' | 'large' | string | number | Array<string | number>;
3
+ /** 交叉轴对齐方式 */
4
+ type SpaceAlign = 'stretch' | 'start' | 'center' | 'end' | 'baseline';
5
+ /** 主轴对齐方式 */
6
+ type SpaceJustify = 'start' | 'center' | 'end' | 'space-around' | 'space-between' | 'space-evenly';
7
+ /** 布局方向:横向还是纵向 */
8
+ type SpaceDirection = 'row' | 'column';
9
+ /** Space 组件 props 接口定义 */
10
+ interface ISpaceProps {
11
+ size?: SpaceSize;
12
+ align?: SpaceAlign;
13
+ justify?: SpaceJustify;
14
+ direction?: SpaceDirection;
15
+ wrap?: boolean;
16
+ order?: any[];
17
+ customClass?: string;
18
+ customStyle?: string | Record<string, any>;
19
+ }
20
+ /** renderless 返回的响应式数据结构 */
21
+ interface ISpaceApi {
22
+ state: {
23
+ direction: SpaceDirection;
24
+ align: SpaceAlign;
25
+ justify: SpaceJustify;
26
+ wrap: boolean;
27
+ gapStyle: Record<string, string>;
28
+ };
29
+ }
30
+
31
+ export { ISpaceApi, ISpaceProps, SpaceAlign, SpaceDirection, SpaceJustify, SpaceSize };
@@ -23,7 +23,7 @@ declare const switchProps: {
23
23
  };
24
24
  showText: {
25
25
  type: BooleanConstructor;
26
- default: undefined;
26
+ default: boolean;
27
27
  };
28
28
  types: {
29
29
  type: StringConstructor;