@opendesign-plus/components 0.0.1-rc.95 → 0.0.1-rc.97

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.
@@ -56,6 +56,7 @@ declare function __VLS_template(): {
56
56
  readonly disableChangeCodeTheme?: boolean | undefined;
57
57
  readonly markdownBodyClass?: string | undefined;
58
58
  readonly hideFirstH1?: boolean | undefined;
59
+ readonly hideFirstElementMarginTop?: boolean | undefined;
59
60
  } & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps;
60
61
  $attrs: import('../../../vue/dist/vue.esm-bundler.js').Attrs;
61
62
  $refs: {
@@ -79,6 +80,7 @@ declare function __VLS_template(): {
79
80
  disableChangeCodeTheme?: boolean;
80
81
  markdownBodyClass?: string;
81
82
  hideFirstH1?: boolean;
83
+ hideFirstElementMarginTop?: boolean;
82
84
  }> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, {
83
85
  disableChangeCodeTheme: boolean;
84
86
  disableH2: boolean;
@@ -87,6 +89,7 @@ declare function __VLS_template(): {
87
89
  disableCode: boolean;
88
90
  markdownBodyClass: string;
89
91
  hideFirstH1: boolean;
92
+ hideFirstElementMarginTop: boolean;
90
93
  }, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & {
91
94
  beforeCreate?: (() => void) | (() => void)[];
92
95
  created?: (() => void) | (() => void)[];
@@ -115,6 +118,7 @@ declare function __VLS_template(): {
115
118
  disableCode: boolean;
116
119
  markdownBodyClass: string;
117
120
  hideFirstH1: boolean;
121
+ hideFirstElementMarginTop: boolean;
118
122
  }> & Omit<Readonly<{
119
123
  disableH2?: boolean;
120
124
  disableTable?: boolean;
@@ -123,7 +127,8 @@ declare function __VLS_template(): {
123
127
  disableChangeCodeTheme?: boolean;
124
128
  markdownBodyClass?: string;
125
129
  hideFirstH1?: boolean;
126
- }> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1"> & {} & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {} & {
130
+ hideFirstElementMarginTop?: boolean;
131
+ }> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1" | "hideFirstElementMarginTop"> & {} & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {} & {
127
132
  $slots: {
128
133
  header?(_: {
129
134
  h1: HTMLElement | undefined;
@@ -169,6 +174,7 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
169
174
  readonly disableChangeCodeTheme?: boolean | undefined;
170
175
  readonly markdownBodyClass?: string | undefined;
171
176
  readonly hideFirstH1?: boolean | undefined;
177
+ readonly hideFirstElementMarginTop?: boolean | undefined;
172
178
  } & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps;
173
179
  $attrs: import('../../../vue/dist/vue.esm-bundler.js').Attrs;
174
180
  $refs: {
@@ -192,6 +198,7 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
192
198
  disableChangeCodeTheme?: boolean;
193
199
  markdownBodyClass?: string;
194
200
  hideFirstH1?: boolean;
201
+ hideFirstElementMarginTop?: boolean;
195
202
  }> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, {
196
203
  disableChangeCodeTheme: boolean;
197
204
  disableH2: boolean;
@@ -200,6 +207,7 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
200
207
  disableCode: boolean;
201
208
  markdownBodyClass: string;
202
209
  hideFirstH1: boolean;
210
+ hideFirstElementMarginTop: boolean;
203
211
  }, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & {
204
212
  beforeCreate?: (() => void) | (() => void)[];
205
213
  created?: (() => void) | (() => void)[];
@@ -228,6 +236,7 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
228
236
  disableCode: boolean;
229
237
  markdownBodyClass: string;
230
238
  hideFirstH1: boolean;
239
+ hideFirstElementMarginTop: boolean;
231
240
  }> & Omit<Readonly<{
232
241
  disableH2?: boolean;
233
242
  disableTable?: boolean;
@@ -236,7 +245,8 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
236
245
  disableChangeCodeTheme?: boolean;
237
246
  markdownBodyClass?: string;
238
247
  hideFirstH1?: boolean;
239
- }> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1"> & {} & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {} & {
248
+ hideFirstElementMarginTop?: boolean;
249
+ }> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1" | "hideFirstElementMarginTop"> & {} & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {} & {
240
250
  $slots: {
241
251
  header?(_: {
242
252
  h1: HTMLElement | undefined;
@@ -53,6 +53,7 @@ declare const OArticle: {
53
53
  readonly disableChangeCodeTheme?: boolean | undefined;
54
54
  readonly markdownBodyClass?: string | undefined;
55
55
  readonly hideFirstH1?: boolean | undefined;
56
+ readonly hideFirstElementMarginTop?: boolean | undefined;
56
57
  } & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps;
57
58
  $attrs: import('../../../vue/dist/vue.esm-bundler.js').Attrs;
58
59
  $refs: {
@@ -76,6 +77,7 @@ declare const OArticle: {
76
77
  disableChangeCodeTheme?: boolean;
77
78
  markdownBodyClass?: string;
78
79
  hideFirstH1?: boolean;
80
+ hideFirstElementMarginTop?: boolean;
79
81
  }> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, {
80
82
  disableChangeCodeTheme: boolean;
81
83
  disableH2: boolean;
@@ -84,6 +86,7 @@ declare const OArticle: {
84
86
  disableCode: boolean;
85
87
  markdownBodyClass: string;
86
88
  hideFirstH1: boolean;
89
+ hideFirstElementMarginTop: boolean;
87
90
  }, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & {
88
91
  beforeCreate?: (() => void) | (() => void)[];
89
92
  created?: (() => void) | (() => void)[];
@@ -112,6 +115,7 @@ declare const OArticle: {
112
115
  disableCode: boolean;
113
116
  markdownBodyClass: string;
114
117
  hideFirstH1: boolean;
118
+ hideFirstElementMarginTop: boolean;
115
119
  }> & Omit<Readonly<{
116
120
  disableH2?: boolean;
117
121
  disableTable?: boolean;
@@ -120,7 +124,8 @@ declare const OArticle: {
120
124
  disableChangeCodeTheme?: boolean;
121
125
  markdownBodyClass?: string;
122
126
  hideFirstH1?: boolean;
123
- }> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1"> & {} & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {} & {
127
+ hideFirstElementMarginTop?: boolean;
128
+ }> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1" | "hideFirstElementMarginTop"> & {} & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {} & {
124
129
  $slots: {
125
130
  header?(_: {
126
131
  h1: HTMLElement | undefined;
@@ -1,8 +1,14 @@
1
1
  import { Component } from '../../../vue/dist/vue.esm-bundler.js';
2
- /** 文章类型标签(卡片详情区顶部展示) */
2
+ import { TagColorT, TagVariantT } from '@opensig/opendesign';
3
+ import { RoundT, SizeT } from '@opensig/opendesign/es/_utils/types';
4
+ /** 文章类型标签(卡片详情区顶部展示,从左往右排列可换行,间距 --o-gap-2) */
3
5
  export interface ArticleTagT {
4
6
  label: string;
5
7
  icon?: Component;
8
+ color?: TagColorT;
9
+ variant?: TagVariantT;
10
+ size?: SizeT;
11
+ round?: RoundT;
6
12
  }
7
13
  /** 文章列表项(新闻/博客通用) */
8
14
  export interface ArticleItemT {
@@ -13,7 +19,7 @@ export interface ArticleItemT {
13
19
  date?: string;
14
20
  author?: string | string[];
15
21
  location?: string;
16
- tag?: ArticleTagT;
22
+ tags?: ArticleTagT[];
17
23
  [key: string]: any;
18
24
  }
19
25
  export interface ArticleListPropsT {
@@ -6,6 +6,7 @@ type __VLS_Props = {
6
6
  disableChangeCodeTheme?: boolean;
7
7
  markdownBodyClass?: string;
8
8
  hideFirstH1?: boolean;
9
+ hideFirstElementMarginTop?: boolean;
9
10
  };
10
11
  declare function __VLS_template(): {
11
12
  attrs: Partial<{}>;
@@ -30,6 +31,7 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
30
31
  disableCode: boolean;
31
32
  markdownBodyClass: string;
32
33
  hideFirstH1: boolean;
34
+ hideFirstElementMarginTop: boolean;
33
35
  }, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
34
36
  markdownBodyRef: HTMLDivElement;
35
37
  }, HTMLDivElement>;
@@ -8,6 +8,7 @@ declare const OMarkdown: {
8
8
  disableChangeCodeTheme?: boolean;
9
9
  markdownBodyClass?: string;
10
10
  hideFirstH1?: boolean;
11
+ hideFirstElementMarginTop?: boolean;
11
12
  }> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {
12
13
  disableChangeCodeTheme: boolean;
13
14
  disableH2: boolean;
@@ -16,6 +17,7 @@ declare const OMarkdown: {
16
17
  disableCode: boolean;
17
18
  markdownBodyClass: string;
18
19
  hideFirstH1: boolean;
20
+ hideFirstElementMarginTop: boolean;
19
21
  }, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {
20
22
  markdownBodyRef: HTMLDivElement;
21
23
  }, HTMLDivElement, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
@@ -33,6 +35,7 @@ declare const OMarkdown: {
33
35
  disableChangeCodeTheme?: boolean;
34
36
  markdownBodyClass?: string;
35
37
  hideFirstH1?: boolean;
38
+ hideFirstElementMarginTop?: boolean;
36
39
  }> & Readonly<{}>, {}, {}, {}, {}, {
37
40
  disableChangeCodeTheme: boolean;
38
41
  disableH2: boolean;
@@ -41,6 +44,7 @@ declare const OMarkdown: {
41
44
  disableCode: boolean;
42
45
  markdownBodyClass: string;
43
46
  hideFirstH1: boolean;
47
+ hideFirstElementMarginTop: boolean;
44
48
  }>;
45
49
  __isFragment?: never;
46
50
  __isTeleport?: never;
@@ -53,6 +57,7 @@ declare const OMarkdown: {
53
57
  disableChangeCodeTheme?: boolean;
54
58
  markdownBodyClass?: string;
55
59
  hideFirstH1?: boolean;
60
+ hideFirstElementMarginTop?: boolean;
56
61
  }> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, {
57
62
  disableChangeCodeTheme: boolean;
58
63
  disableH2: boolean;
@@ -61,6 +66,7 @@ declare const OMarkdown: {
61
66
  disableCode: boolean;
62
67
  markdownBodyClass: string;
63
68
  hideFirstH1: boolean;
69
+ hideFirstElementMarginTop: boolean;
64
70
  }, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & (new () => {
65
71
  $slots: {
66
72
  header?(_: {