@fle-ui/next 1.0.0 → 1.0.4-alpha.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 (198) hide show
  1. package/.history/.gitignore_20210922213827 +27 -0
  2. package/.history/.gitignore_20211029154108 +29 -0
  3. package/.history/.gitignore_20211029154109 +29 -0
  4. package/.history/.gitignore_20211029173434 +29 -0
  5. package/.history/.umirc_20210922213827.ts +153 -0
  6. package/.history/.umirc_20211018162341.ts +153 -0
  7. package/.history/{package_20211018113630.json → package_20211213140100.json} +7 -3
  8. package/.history/{package_20211018113634.json → package_20211223145956.json} +8 -3
  9. package/.history/{package_20211013165524.json → package_20211223211341.json} +9 -4
  10. package/.history/{package_20211018101440.json → package_20211223220710.json} +9 -4
  11. package/.history/package_20211223221147.json +146 -0
  12. package/.history/package_20211223221328.json +146 -0
  13. package/.history/package_20211223221445.json +146 -0
  14. package/.umirc.ts +2 -0
  15. package/dist/@fle-ui/next.css +2304 -2261
  16. package/dist/@fle-ui/next.css.map +1 -1
  17. package/dist/@fle-ui/next.js +1166 -1248
  18. package/dist/@fle-ui/next.js.map +1 -1
  19. package/dist/@fle-ui/next.min.css +3 -3
  20. package/dist/@fle-ui/next.min.css.map +1 -1
  21. package/dist/@fle-ui/next.min.js +3 -3
  22. package/dist/@fle-ui/next.min.js.map +1 -1
  23. package/docs-dist/{components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~00d1741d.js → components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~31d645aa.js} +2690 -1940
  24. package/docs-dist/components__avatar__avatar.md.js +227 -372
  25. package/docs-dist/components__button__button.md.js +27 -27
  26. package/docs-dist/components__form__form.md.js +1 -1
  27. package/docs-dist/components__layout__layout.md.js +1 -1
  28. package/docs-dist/components__modal__modal.md.js +17 -11
  29. package/docs-dist/components__popconfirm__popconfirm.md.js +51 -51
  30. package/docs-dist/components__skeleton__skeleton.md.chunk.css +1 -0
  31. package/docs-dist/components__skeleton__skeleton.md.js +1080 -0
  32. package/docs-dist/components__slider__slider.md.js +1 -1
  33. package/docs-dist/components__space__space.md.js +1 -1
  34. package/docs-dist/components__spin__spin.md.js +1 -1
  35. package/docs-dist/components__statistic__statistic.md.js +1 -1
  36. package/docs-dist/components__steps__steps.md.js +1 -1
  37. package/docs-dist/components__switch__switch.md.js +1 -1
  38. package/docs-dist/components__table__table.md.js +1 -1
  39. package/docs-dist/components__tabs__tabs.md.js +1 -1
  40. package/docs-dist/components__tag__tag.md.js +1 -1
  41. package/docs-dist/components__time-picker__time-picker.md.js +1 -1
  42. package/docs-dist/components__timeline__timeline.md.js +1 -1
  43. package/docs-dist/components__tooltip__tooltip.md.js +1 -1
  44. package/docs-dist/components__transfer__transfer.md.js +1 -1
  45. package/docs-dist/components__tree-select__tree-select.md.js +1 -1
  46. package/docs-dist/components__tree__tree.md.chunk.css +1 -0
  47. package/docs-dist/components__tree__tree.md.js +1775 -0
  48. package/docs-dist/components__typography__typography.md.js +1 -1
  49. package/docs-dist/components__upload__upload.md.js +7 -11
  50. package/docs-dist/demos_bmurcdaerb.js +1 -1
  51. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_eert~demos_egami~demos_egas~1a5cf206.chunk.css +2 -0
  52. package/docs-dist/{demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.js → demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_eert~demos_egami~demos_egas~1a5cf206.js} +1536 -1843
  53. package/docs-dist/demos_citsitats.js +1 -1
  54. package/docs-dist/demos_daolpu.chunk.css +2 -2
  55. package/docs-dist/demos_daolpu.js +2598 -2905
  56. package/docs-dist/demos_dirg.js +1 -1
  57. package/docs-dist/demos_drac.js +1 -1
  58. package/docs-dist/demos_ecaps.js +1 -1
  59. package/docs-dist/demos_eert.chunk.css +1 -0
  60. package/docs-dist/demos_eert.js +1203 -0
  61. package/docs-dist/demos_egami.js +1 -1
  62. package/docs-dist/demos_egassem.js +1 -1
  63. package/docs-dist/demos_egdab.js +1 -1
  64. package/docs-dist/demos_elbat.chunk.css +2 -2
  65. package/docs-dist/demos_elbat.js +649 -956
  66. package/docs-dist/demos_enilemit.js +1 -1
  67. package/docs-dist/demos_espalloc.js +1 -1
  68. package/docs-dist/demos_etar.js +75 -70
  69. package/docs-dist/demos_etelpmoc-otua.js +1 -1
  70. package/docs-dist/demos_gat.js +1 -1
  71. package/docs-dist/demos_hctiws.js +1 -1
  72. package/docs-dist/demos_ladom.js +1 -1
  73. package/docs-dist/demos_lesuorac.js +1 -1
  74. package/docs-dist/demos_mrifnocpop.js +2 -2
  75. package/docs-dist/demos_mrof.js +1 -2
  76. package/docs-dist/demos_nips.js +1 -1
  77. package/docs-dist/demos_noitacifiton.js +2 -2
  78. package/docs-dist/demos_noitanigap.js +1 -1
  79. package/docs-dist/demos_noteleks.js +691 -0
  80. package/docs-dist/demos_nottub.js +1 -1
  81. package/docs-dist/demos_nwodpord.js +1 -1
  82. package/docs-dist/demos_oidar.js +1 -1
  83. package/docs-dist/demos_pitloot.js +1 -1
  84. package/docs-dist/demos_pot-kcab.js +10 -10
  85. package/docs-dist/demos_radnelac.js +1 -1
  86. package/docs-dist/demos_ratava.js +4 -4
  87. package/docs-dist/demos_rebmun-tupni.js +1 -1
  88. package/docs-dist/demos_redacsac.js +1 -1
  89. package/docs-dist/demos_redaeh-egap.js +1 -1
  90. package/docs-dist/demos_redils.js +1 -1
  91. package/docs-dist/demos_redivid.js +1 -1
  92. package/docs-dist/demos_redivorp-gifnoc.js +6 -6
  93. package/docs-dist/demos_refsnart.js +1 -1
  94. package/docs-dist/demos_rekcip-emit.js +1 -1
  95. package/docs-dist/demos_rekcip-etad.js +3 -3
  96. package/docs-dist/demos_revopop.js +1 -1
  97. package/docs-dist/demos_reward.js +1 -1
  98. package/docs-dist/demos_rohcna.js +1 -1
  99. package/docs-dist/demos_sbat.chunk.css +2 -2
  100. package/docs-dist/demos_sbat.js +2302 -2609
  101. package/docs-dist/demos_snoitnem.js +1 -1
  102. package/docs-dist/demos_snoitpircsed.js +1 -1
  103. package/docs-dist/demos_spets.js +1 -1
  104. package/docs-dist/demos_ssergorp.js +1 -1
  105. package/docs-dist/demos_tceles.js +1 -1
  106. package/docs-dist/demos_tluser.js +1 -1
  107. package/docs-dist/demos_tnemmoc.js +1 -1
  108. package/docs-dist/demos_trela.js +1 -1
  109. package/docs-dist/demos_tsil.js +1 -1
  110. package/docs-dist/demos_tuoyal.js +1 -1
  111. package/docs-dist/demos_tupni.js +2 -2
  112. package/docs-dist/demos_unem.js +1 -1
  113. package/docs-dist/demos_xiffa.js +1 -1
  114. package/docs-dist/demos_xobkcehc.js +1 -1
  115. package/docs-dist/demos_yhpargopyt.js +1 -1
  116. package/docs-dist/demos_ytpme.js +1 -1
  117. package/docs-dist/docs__document__getting-started.md.js +1 -1
  118. package/docs-dist/docs__document__introduce.md.js +1 -1
  119. package/docs-dist/docs__document__practical-projects.md.js +1 -1
  120. package/docs-dist/docs__index.md.js +1 -1
  121. package/docs-dist/docs__story__index.md.js +23 -1
  122. package/docs-dist/dumi_demos.js +1 -1
  123. package/docs-dist/umi.js +475 -242
  124. package/docs-dist/{vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.chunk.css → vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~06d8f7d3.chunk.css} +0 -0
  125. package/docs-dist/{vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.js → vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~06d8f7d3.js} +0 -0
  126. package/docs-dist/{vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~ac3aca9a.js → vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~11c8b8d8.js} +0 -0
  127. package/docs-dist/{vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~3ba4f4a1.js → vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~44483e31.js} +0 -0
  128. package/docs-dist/{vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_egami~~4cc402e9.js → vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_eert~d~f20ff6ec.js} +9204 -8936
  129. package/docs-dist/vendors~demos_gat.js +1 -1
  130. package/docs-dist/vendors~demos_ladom.js +1 -1
  131. package/docs-dist/vendors~demos_redivorp-gifnoc.js +1 -1
  132. package/docs-dist/vendors~demos_sbat.js +1 -1
  133. package/docs-dist/vendors~demos_trela.js +1 -1
  134. package/docs-dist/vendors~demos_tsil.js +1 -1
  135. package/docs-dist/vendors~demos_tuoyal.js +1 -1
  136. package/docs-dist/vendors~wrappers.js +1 -1
  137. package/docs-dist/wrappers.js +2 -2
  138. package/es/badge/style/index.css +5 -5
  139. package/es/cascader/index.d.ts +11 -129
  140. package/es/cascader/index.js +151 -534
  141. package/es/cascader/style/css.js +1 -1
  142. package/es/cascader/style/index.css +205 -180
  143. package/es/cascader/style/index.d.ts +1 -1
  144. package/es/cascader/style/index.js +1 -1
  145. package/es/cascader/style/index.less +66 -205
  146. package/es/cascader/style/rtl.less +10 -84
  147. package/es/drawer/style/index.css +1 -1
  148. package/es/input-number/style/index.css +18 -4
  149. package/es/input-number/style/index.less +15 -2
  150. package/es/input-number/style/rtl.less +24 -7
  151. package/es/modal/style/index.css +10 -9
  152. package/es/modal/style/modal.less +3 -2
  153. package/es/popover/style/index.css +2 -2
  154. package/es/progress/style/index.css +3 -3
  155. package/es/result/noFound.js +1 -1
  156. package/es/result/style/index.css +1 -1
  157. package/es/style/color/colors.less +3 -3
  158. package/es/style/theme.less +7 -4
  159. package/es/table/demo/drag-sorting/index.less +2 -2
  160. package/es/table/style/index.css +3 -0
  161. package/es/tag/style/index.css +5 -5
  162. package/es/tooltip/style/index.css +2 -2
  163. package/es/upload/style/index.css +2 -2
  164. package/es/upload/style/index.less +5 -3
  165. package/lib/badge/style/index.css +5 -5
  166. package/lib/cascader/index.d.ts +11 -129
  167. package/lib/cascader/index.js +153 -545
  168. package/lib/cascader/style/css.js +1 -1
  169. package/lib/cascader/style/index.css +205 -180
  170. package/lib/cascader/style/index.d.ts +1 -1
  171. package/lib/cascader/style/index.js +1 -1
  172. package/lib/cascader/style/index.less +66 -205
  173. package/lib/cascader/style/rtl.less +10 -84
  174. package/lib/drawer/style/index.css +1 -1
  175. package/lib/input-number/style/index.css +18 -4
  176. package/lib/input-number/style/index.less +15 -2
  177. package/lib/input-number/style/rtl.less +24 -7
  178. package/lib/modal/style/index.css +10 -9
  179. package/lib/modal/style/modal.less +3 -2
  180. package/lib/popover/style/index.css +2 -2
  181. package/lib/progress/style/index.css +3 -3
  182. package/lib/result/noFound.js +1 -1
  183. package/lib/result/style/index.css +1 -1
  184. package/lib/style/color/colors.less +3 -3
  185. package/lib/style/theme.less +7 -4
  186. package/lib/table/demo/drag-sorting/index.less +2 -2
  187. package/lib/table/style/index.css +3 -0
  188. package/lib/tag/style/index.css +5 -5
  189. package/lib/tooltip/style/index.css +2 -2
  190. package/lib/upload/style/index.css +2 -2
  191. package/lib/upload/style/index.less +5 -3
  192. package/package.json +3 -2
  193. package/report.html +2 -2
  194. package/.history/package_20211011190148.json +0 -141
  195. package/.history/package_20211011193053.json +0 -141
  196. package/.history/package_20211018113658.json +0 -141
  197. package/.history/package_20211018113740.json +0 -141
  198. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.chunk.css +0 -2
@@ -108,7 +108,7 @@
108
108
  ? null
109
109
  : p,
110
110
  ),
111
- w = Object(o['useRiddle'])(
111
+ _ = Object(o['useRiddle'])(
112
112
  (
113
113
  null === (a = p.hideActions) || void 0 === a
114
114
  ? void 0
@@ -117,8 +117,8 @@
117
117
  ? null
118
118
  : p,
119
119
  ),
120
- _ = Object(o['useMotions'])(p.motions || [], d.current),
121
- y = u(_, 2),
120
+ w = Object(o['useMotions'])(p.motions || [], d.current),
121
+ y = u(w, 2),
122
122
  x = y[0],
123
123
  N = y[1],
124
124
  A = Object(o['useCopy'])(),
@@ -134,20 +134,20 @@
134
134
  T = R[0],
135
135
  B = R[1],
136
136
  U = Object(n['useState'])(Boolean(p.defaultShowCode)),
137
- Z = u(U, 2),
138
- q = Z[0],
139
- z = Z[1],
140
- H = Object(n['useState'])(Math.random()),
141
- D = u(H, 2),
142
- F = D[0],
143
- J = D[1],
137
+ q = u(U, 2),
138
+ Z = q[0],
139
+ z = q[1],
140
+ D = Object(n['useState'])(Math.random()),
141
+ F = u(D, 2),
142
+ H = F[0],
143
+ J = F[1],
144
144
  $ = p.sources[S][T] || p.sources[S].content,
145
145
  G = Object(o['useTSPlaygroundUrl'])(E, $),
146
- W = Object(n['useRef'])(),
147
- X = Object(o['usePrefersColor'])(),
148
- K = u(X, 1),
149
- Q = K[0];
150
- function V(e) {
146
+ X = Object(n['useRef'])(),
147
+ K = Object(o['usePrefersColor'])(),
148
+ Q = u(K, 1),
149
+ V = Q[0];
150
+ function W(e) {
151
151
  P(e), B(f(e, p.sources[e]));
152
152
  }
153
153
  return (
@@ -155,7 +155,7 @@
155
155
  function () {
156
156
  J(Math.random());
157
157
  },
158
- [Q],
158
+ [V],
159
159
  ),
160
160
  l.a.createElement(
161
161
  'div',
@@ -194,9 +194,9 @@
194
194
  style: {
195
195
  height: String(p.iframe).replace(/(\d)$/, '$1px'),
196
196
  },
197
- key: F,
197
+ key: H,
198
198
  src: h,
199
- ref: W,
199
+ ref: X,
200
200
  })
201
201
  : p.children,
202
202
  ),
@@ -227,12 +227,12 @@
227
227
  role: 'codesandbox',
228
228
  onClick: g,
229
229
  }),
230
- w &&
230
+ _ &&
231
231
  l.a.createElement('button', {
232
232
  title: 'Open demo on Riddle',
233
233
  className: '__dumi-default-icon',
234
234
  role: 'riddle',
235
- onClick: w,
235
+ onClick: _,
236
236
  }),
237
237
  p.motions &&
238
238
  l.a.createElement('button', {
@@ -277,7 +277,7 @@
277
277
  },
278
278
  }),
279
279
  'tsx' === T &&
280
- q &&
280
+ Z &&
281
281
  l.a.createElement(
282
282
  o['Link'],
283
283
  { target: '_blank', to: G },
@@ -291,16 +291,16 @@
291
291
  l.a.createElement('button', {
292
292
  title: 'Toggle source code panel',
293
293
  className: '__dumi-default-icon'.concat(
294
- q ? ' __dumi-default-btn-expand' : '',
294
+ Z ? ' __dumi-default-btn-expand' : '',
295
295
  ),
296
296
  role: 'source',
297
297
  type: 'button',
298
298
  onClick: function () {
299
- return z(!q);
299
+ return z(!Z);
300
300
  },
301
301
  }),
302
302
  ),
303
- q &&
303
+ Z &&
304
304
  l.a.createElement(
305
305
  'div',
306
306
  { className: '__dumi-default-previewer-source-wrapper' },
@@ -312,7 +312,7 @@
312
312
  prefixCls: '__dumi-default-tabs',
313
313
  moreIcon: '\xb7\xb7\xb7',
314
314
  defaultActiveKey: S,
315
- onChange: V,
315
+ onChange: W,
316
316
  },
317
317
  Object.keys(p.sources).map(function (e) {
318
318
  return l.a.createElement(r['a'], {
@@ -1018,8 +1018,8 @@
1018
1018
  '\u3002',
1019
1019
  ),
1020
1020
  l.a.createElement('img', {
1021
- src: 'https://gw.alipayobjects.com/zos/antfincdn/MY%26THAPZrW/38f06cb9-293a-4b42-b183-9f443e79ffea.png',
1022
- style: { boxShadow: 'none', margin: '0', width: '100px' },
1021
+ src: 'https://oss.elebuys.com/resource/fle-ui/202112231711360003662499.png',
1022
+ style: { boxShadow: 'none', margin: '0', width: '300px' },
1023
1023
  alt: '\u79fb\u9664\u4e24\u4e2a\u6c49\u5b57\u4e4b\u95f4\u7684\u7a7a\u683c',
1024
1024
  }),
1025
1025
  l.a.createElement('style', {
@@ -3588,7 +3588,7 @@
3588
3588
  n.a.createElement('style', {
3589
3589
  dangerouslySetInnerHTML: {
3590
3590
  __html:
3591
- '\n.ant-form:not(.ant-form-inline):not(.ant-form-vertical) {\n max-width: 600px;\n}\n.markdown.api-container table td:nth-of-type(4) {\n white-space: nowrap;\n word-wrap: break-word;\n}\n.ant-btn {\n margin-right: 8px;\n}\n',
3591
+ '\n.ant-form:not(.ant-form-inline):not(.ant-form-vertical) {\n max-width: 600px;\n}\n.markdown.api-container table td:nth-of-type(4) {\n white-space: nowrap;\n word-wrap: break-word;\n}\n.__dumi-default-previewer-demo .ant-btn {\n margin-right: 8px;\n}\n\n',
3592
3592
  },
3593
3593
  }),
3594
3594
  n.a.createElement(
@@ -876,7 +876,7 @@
876
876
  l.a.createElement('style', {
877
877
  dangerouslySetInnerHTML: {
878
878
  __html:
879
- '\n [data-theme="dark"] .site-layout-background {\n background: #141414;\n }\n [data-theme="dark"] .site-layout-header-background {\n background: #1f1f1f;\n }\n\n [data-theme="dark"] .site-layout-content {\n background: #141414;\n }\n\n [data-theme="dark"] .site-layout .site-layout-background {\n background: #141414;\n }\n\n [data-theme="dark"] .site-layout-sub-header-background {\n background: #141414;\n }\n\n #layout-basic {\n text-align: center;\n}\n#layout-basic .ant-layout-header,\n#layout-basic .ant-layout-footer {\n color: #fff;\n background: #7dbcea;\n}\n[data-theme="dark"] #layout-basic .ant-layout-header {\n background: #6aa0c7;\n}\n[data-theme="dark"] #layout-basic .ant-layout-footer {\n background: #6aa0c7;\n}\n#layout-basic .ant-layout-footer {\n line-height: 1.5;\n}\n#layout-basic .ant-layout-sider {\n color: #fff;\n line-height: 120px;\n background: #3ba0e9;\n}\n[data-theme="dark"] #layout-basic .ant-layout-sider {\n background: #3499ec;\n}\n#layout-basic .ant-layout-content {\n min-height: 120px;\n color: #fff;\n line-height: 120px;\n background: rgba(16, 142, 233, 1);\n}\n[data-theme="dark"] #layout-basic .ant-layout-content {\n background: #107bcb;\n}\n#layout-basic .ant-layout + .ant-layout {\n margin-top: 48px;\n}\n\n.site-layout-content {\n min-height: 280px;\n padding: 24px;\n background: #fff;\n}\n#layout-top .logo {\n float: left;\n width: 120px;\n height: 31px;\n margin: 16px 24px 16px 0;\n background: rgba(255, 255, 255, 0.3);\n}\n.ant-row-rtl #layout-top .logo {\n float: right;\n margin: 16px 0 16px 24px;\n}\n\n#layout-topside2 .logo {\n float: left;\n width: 120px;\n height: 31px;\n margin: 16px 24px 16px 0;\n background: rgba(255, 255, 255, 0.3);\n}\n\n.ant-row-rtl #layout-topside2 .logo {\n float: right;\n margin: 16px 0 16px 24px;\n}\n\n.site-layout-background {\n background: #fff;\n}\n \n\n#layout-topside .logo {\n float: left;\n width: 120px;\n height: 31px;\n margin: 16px 24px 16px 0;\n background: rgba(255, 255, 255, 0.3);\n}\n\n.ant-row-rtl #layout-topside .logo {\n float: right;\n margin: 16px 0 16px 24px;\n}\n\n.site-layout-background {\n background: #fff;\n}\n\n\n#layout-customtrigger .trigger {\n padding: 0 24px;\n font-size: 18px;\n line-height: 64px;\n cursor: pointer;\n transition: color 0.3s;\n}\n\n#layout-customtrigger .trigger:hover {\n color: #1890ff;\n}\n\n#layout-customtrigger .logo {\n height: 32px;\n margin: 16px;\n background: rgba(255, 255, 255, 0.3);\n}\n\n.site-layout .site-layout-background {\n background: #fff;\n}\n\n\n#layout-responsive .logo {\n height: 32px;\n margin: 16px;\n background: rgba(255, 255, 255, 0.2);\n}\n\n.site-layout-sub-header-background {\n background: #fff;\n}\n\n.site-layout-background {\n background: #fff;\n}\n\n',
879
+ '\n [data-theme="dark"] .site-layout-background {\n background: #141414;\n }\n [data-theme="dark"] .site-layout-header-background {\n background: #1f1f1f;\n }\n\n [data-theme="dark"] .site-layout-content {\n background: #141414;\n }\n\n [data-theme="dark"] .site-layout .site-layout-background {\n background: #141414;\n }\n\n [data-theme="dark"] .site-layout-sub-header-background {\n background: #141414;\n }\n\n #layout-basic {\n text-align: center;\n}\n#layout-basic .ant-layout-header,\n#layout-basic .ant-layout-footer {\n color: #fff;\n background: #7dbcea;\n}\n[data-theme="dark"] #layout-basic .ant-layout-header {\n background: #6aa0c7;\n}\n[data-theme="dark"] #layout-basic .ant-layout-footer {\n background: #6aa0c7;\n}\n#layout-basic .ant-layout-footer {\n line-height: 1.5;\n}\n#layout-basic .ant-layout-sider {\n color: #fff;\n line-height: 120px;\n background: #3ba0e9;\n}\n[data-theme="dark"] #layout-basic .ant-layout-sider {\n background: #3499ec;\n}\n#layout-basic .ant-layout-content {\n min-height: 120px;\n color: #fff;\n line-height: 120px;\n background: rgba(16, 142, 233, 1);\n}\n[data-theme="dark"] #layout-basic .ant-layout-content {\n background: #107bcb;\n}\n#layout-basic .ant-layout + .ant-layout {\n margin-top: 48px;\n}\n\n.site-layout-content {\n min-height: 280px;\n padding: 24px;\n background: #fff;\n}\n#layout-top .logo {\n float: left;\n width: 120px;\n height: 31px;\n margin: 16px 24px 16px 0;\n background: rgba(255, 255, 255, 0.3);\n}\n.ant-row-rtl #layout-top .logo {\n float: right;\n margin: 16px 0 16px 24px;\n}\n\n#layout-topside2 .logo {\n float: left;\n width: 120px;\n height: 31px;\n margin: 16px 24px 16px 0;\n background: rgba(255, 255, 255, 0.3);\n}\n\n.ant-row-rtl #layout-topside2 .logo {\n float: right;\n margin: 16px 0 16px 24px;\n}\n\n.site-layout-background {\n background: #fff;\n}\n \n\n#layout-topside .logo {\n float: left;\n width: 120px;\n height: 31px;\n margin: 16px 24px 16px 0;\n background: rgba(255, 255, 255, 0.3);\n}\n\n.ant-row-rtl #layout-topside .logo {\n float: right;\n margin: 16px 0 16px 24px;\n}\n\n.site-layout-background {\n background: #fff;\n}\n\n\n#layout-customtrigger .trigger {\n padding: 0 24px;\n font-size: 18px;\n line-height: 64px;\n cursor: pointer;\n transition: color 0.3s;\n}\n\n#layout-customtrigger .trigger:hover {\n color: #2c68ff;\n}\n\n#layout-customtrigger .logo {\n height: 32px;\n margin: 16px;\n background: rgba(255, 255, 255, 0.3);\n}\n\n.site-layout .site-layout-background {\n background: #fff;\n}\n\n\n#layout-responsive .logo {\n height: 32px;\n margin: 16px;\n background: rgba(255, 255, 255, 0.2);\n}\n\n.site-layout-sub-header-background {\n background: #fff;\n}\n\n.site-layout-background {\n background: #fff;\n}\n\n',
880
880
  },
881
881
  }),
882
882
  ),
@@ -30,7 +30,7 @@
30
30
  k = n.a.memo(o['default']['modal-button-props'].component),
31
31
  v = n.a.memo(o['default']['modal-hooks'].component),
32
32
  x = n.a.memo(o['default']['modal-modal-render'].component),
33
- N = n.a.memo(o['default']['modal-width'].component);
33
+ y = n.a.memo(o['default']['modal-width'].component);
34
34
  t['default'] = (e) => (
35
35
  n.a.useEffect(() => {
36
36
  var t;
@@ -405,7 +405,7 @@
405
405
  n.a.createElement(
406
406
  c['default'],
407
407
  o['default']['modal-width'].previewerProps,
408
- n.a.createElement(N, null),
408
+ n.a.createElement(y, null),
409
409
  ),
410
410
  n.a.createElement(
411
411
  'div',
@@ -1475,6 +1475,12 @@
1475
1475
  ),
1476
1476
  ' \u8fdb\u884c\u8bbe\u7f6e\u3002',
1477
1477
  ),
1478
+ n.a.createElement('style', {
1479
+ dangerouslySetInnerHTML: {
1480
+ __html:
1481
+ '\n\n .ant-modal-confirm-content p {\n margin-bottom: 3px !important;\n}\n\n',
1482
+ },
1483
+ }),
1478
1484
  ),
1479
1485
  ),
1480
1486
  )
@@ -1579,7 +1585,7 @@
1579
1585
  ? null
1580
1586
  : f,
1581
1587
  ),
1582
- N = Object(m['useRiddle'])(
1588
+ y = Object(m['useRiddle'])(
1583
1589
  (
1584
1590
  null === (l = f.hideActions) || void 0 === l
1585
1591
  ? void 0
@@ -1588,16 +1594,16 @@
1588
1594
  ? null
1589
1595
  : f,
1590
1596
  ),
1591
- y = Object(m['useMotions'])(f.motions || [], E.current),
1592
- M = d(y, 2),
1597
+ N = Object(m['useMotions'])(f.motions || [], E.current),
1598
+ M = d(N, 2),
1593
1599
  g = M[0],
1594
1600
  w = M[1],
1595
1601
  C = Object(m['useCopy'])(),
1596
1602
  A = d(C, 2),
1597
1603
  L = A[0],
1598
- P = A[1],
1599
- _ = Object(a['useState'])('_'),
1600
- I = d(_, 2),
1604
+ _ = A[1],
1605
+ P = Object(a['useState'])('_'),
1606
+ I = d(P, 2),
1601
1607
  S = I[0],
1602
1608
  O = I[1],
1603
1609
  R = Object(a['useState'])(p(S, f.sources[S])),
@@ -1698,12 +1704,12 @@
1698
1704
  role: 'codesandbox',
1699
1705
  onClick: x,
1700
1706
  }),
1701
- N &&
1707
+ y &&
1702
1708
  n.a.createElement('button', {
1703
1709
  title: 'Open demo on Riddle',
1704
1710
  className: '__dumi-default-icon',
1705
1711
  role: 'riddle',
1706
- onClick: N,
1712
+ onClick: y,
1707
1713
  }),
1708
1714
  f.motions &&
1709
1715
  n.a.createElement('button', {
@@ -1742,7 +1748,7 @@
1742
1748
  title: 'Copy source code',
1743
1749
  className: '__dumi-default-icon',
1744
1750
  role: 'copy',
1745
- 'data-status': P,
1751
+ 'data-status': _,
1746
1752
  onClick: function () {
1747
1753
  return L(z);
1748
1754
  },
@@ -1,14 +1,14 @@
1
1
  (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
2
  [46],
3
3
  {
4
- Hh86: function (e, t, a) {
4
+ Hh86: function (e, t, n) {
5
5
  'use strict';
6
- a.r(t);
7
- var n = a('q1tI'),
8
- l = a.n(n),
9
- r = a('dEAq'),
10
- c = a('Zxc8'),
11
- o = a('JjdP'),
6
+ n.r(t);
7
+ var a = n('q1tI'),
8
+ l = n.n(a),
9
+ r = n('dEAq'),
10
+ c = n('Zxc8'),
11
+ o = n('JjdP'),
12
12
  i = l.a.memo(o['default']['popconfirm-basic'].component),
13
13
  m = l.a.memo(o['default']['popconfirm-locale'].component),
14
14
  d = l.a.memo(o['default']['popconfirm-placement'].component),
@@ -448,7 +448,7 @@
448
448
  l.a.createElement('style', {
449
449
  dangerouslySetInnerHTML: {
450
450
  __html:
451
- '\n.demo {\n overflow: auto;\n}\n.ant-popover-wrap > a {\n margin-right: 8px;\n}\n.ant-btn {\n margin-right: 8px;\n margin-bottom: 8px;\n}\n#popconfirm-placement .ant-btn {\n width: 70px;\n text-align: center;\n padding: 0;\n}\n',
451
+ '\n.demo {\n overflow: auto;\n}\n.ant-popover-wrap > a {\n margin-right: 8px;\n}\n\n.popconfirm-placement-demo .ant-btn {\n margin-right: 8px;\n margin-bottom: 8px;\n} \n \n#popconfirm-placement .ant-btn {\n width: 70px;\n text-align: center;\n padding: 0;\n}\n',
452
452
  },
453
453
  }),
454
454
  ),
@@ -456,25 +456,25 @@
456
456
  )
457
457
  );
458
458
  },
459
- MZF8: function (e, t, a) {
459
+ MZF8: function (e, t, n) {
460
460
  'use strict';
461
- var n = a('ogwx');
462
- a.d(t, 'a', function () {
463
- return n['b'];
461
+ var a = n('ogwx');
462
+ n.d(t, 'a', function () {
463
+ return a['b'];
464
464
  });
465
- a('VCU9');
465
+ n('VCU9');
466
466
  },
467
- RZMt: function (e, t, a) {},
468
- Zxc8: function (e, t, a) {
467
+ RZMt: function (e, t, n) {},
468
+ Zxc8: function (e, t, n) {
469
469
  'use strict';
470
- a.r(t);
471
- var n = a('q1tI'),
472
- l = a.n(n),
473
- r = a('k3GJ'),
474
- c = a('MZF8'),
475
- o = a('dEAq'),
476
- i = a('H1Ra');
477
- a('RZMt');
470
+ n.r(t);
471
+ var a = n('q1tI'),
472
+ l = n.n(a),
473
+ r = n('k3GJ'),
474
+ c = n('MZF8'),
475
+ o = n('dEAq'),
476
+ i = n('H1Ra');
477
+ n('RZMt');
478
478
  function m(e, t) {
479
479
  return p(e) || E(e, t) || u(e, t) || d();
480
480
  }
@@ -486,13 +486,13 @@
486
486
  function u(e, t) {
487
487
  if (e) {
488
488
  if ('string' === typeof e) return s(e, t);
489
- var a = Object.prototype.toString.call(e).slice(8, -1);
489
+ var n = Object.prototype.toString.call(e).slice(8, -1);
490
490
  return (
491
- 'Object' === a && e.constructor && (a = e.constructor.name),
492
- 'Map' === a || 'Set' === a
491
+ 'Object' === n && e.constructor && (n = e.constructor.name),
492
+ 'Map' === n || 'Set' === n
493
493
  ? Array.from(e)
494
- : 'Arguments' === a ||
495
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
494
+ : 'Arguments' === n ||
495
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
496
496
  ? s(e, t)
497
497
  : void 0
498
498
  );
@@ -500,29 +500,29 @@
500
500
  }
501
501
  function s(e, t) {
502
502
  (null == t || t > e.length) && (t = e.length);
503
- for (var a = 0, n = new Array(t); a < t; a++) n[a] = e[a];
504
- return n;
503
+ for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n];
504
+ return a;
505
505
  }
506
506
  function E(e, t) {
507
- var a =
507
+ var n =
508
508
  null == e
509
509
  ? null
510
510
  : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
511
511
  e['@@iterator'];
512
- if (null != a) {
513
- var n,
512
+ if (null != n) {
513
+ var a,
514
514
  l,
515
515
  r = [],
516
516
  c = !0,
517
517
  o = !1;
518
518
  try {
519
- for (a = a.call(e); !(c = (n = a.next()).done); c = !0)
520
- if ((r.push(n.value), t && r.length === t)) break;
519
+ for (n = n.call(e); !(c = (a = n.next()).done); c = !0)
520
+ if ((r.push(a.value), t && r.length === t)) break;
521
521
  } catch (i) {
522
522
  (o = !0), (l = i);
523
523
  } finally {
524
524
  try {
525
- c || null == a['return'] || a['return']();
525
+ c || null == n['return'] || n['return']();
526
526
  } finally {
527
527
  if (o) throw l;
528
528
  }
@@ -534,17 +534,17 @@
534
534
  if (Array.isArray(e)) return e;
535
535
  }
536
536
  function f(e, t) {
537
- var a,
538
- n =
539
- null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
540
- return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
537
+ var n,
538
+ a =
539
+ null === (n = e.match(/\.(\w+)$/)) || void 0 === n ? void 0 : n[1];
540
+ return a || (a = t.tsx ? 'tsx' : 'jsx'), a;
541
541
  }
542
542
  var h = function (e) {
543
543
  var t,
544
- a,
544
+ n,
545
545
  d,
546
- u = Object(n['useRef'])(),
547
- s = Object(n['useContext'])(o['context']),
546
+ u = Object(a['useRef'])(),
547
+ s = Object(a['useContext'])(o['context']),
548
548
  E = s.locale,
549
549
  p = Object(o['useLocaleProps'])(E, e),
550
550
  h = Object(o['useDemoUrl'])(p.identifier),
@@ -565,9 +565,9 @@
565
565
  ),
566
566
  _ = Object(o['useRiddle'])(
567
567
  (
568
- null === (a = p.hideActions) || void 0 === a
568
+ null === (n = p.hideActions) || void 0 === n
569
569
  ? void 0
570
- : a.includes('RIDDLE')
570
+ : n.includes('RIDDLE')
571
571
  )
572
572
  ? null
573
573
  : p,
@@ -580,25 +580,25 @@
580
580
  I = m(A, 2),
581
581
  j = I[0],
582
582
  C = I[1],
583
- L = Object(n['useState'])('_'),
583
+ L = Object(a['useState'])('_'),
584
584
  O = m(L, 2),
585
585
  P = O[0],
586
586
  S = O[1],
587
- R = Object(n['useState'])(f(P, p.sources[P])),
587
+ R = Object(a['useState'])(f(P, p.sources[P])),
588
588
  M = m(R, 2),
589
589
  T = M[0],
590
590
  B = M[1],
591
- U = Object(n['useState'])(Boolean(p.defaultShowCode)),
591
+ U = Object(a['useState'])(Boolean(p.defaultShowCode)),
592
592
  Z = m(U, 2),
593
593
  F = Z[0],
594
594
  J = Z[1],
595
- q = Object(n['useState'])(Math.random()),
595
+ q = Object(a['useState'])(Math.random()),
596
596
  H = m(q, 2),
597
597
  $ = H[0],
598
598
  D = H[1],
599
599
  G = p.sources[P][T] || p.sources[P].content,
600
600
  X = Object(o['useTSPlaygroundUrl'])(E, G),
601
- K = Object(n['useRef'])(),
601
+ K = Object(a['useRef'])(),
602
602
  V = Object(o['usePrefersColor'])(),
603
603
  z = m(V, 1),
604
604
  Q = z[0];
@@ -606,7 +606,7 @@
606
606
  S(e), B(f(e, p.sources[e]));
607
607
  }
608
608
  return (
609
- Object(n['useEffect'])(
609
+ Object(a['useEffect'])(
610
610
  function () {
611
611
  D(Math.random());
612
612
  },
@@ -0,0 +1 @@
1
+ .__dumi-default-previewer{background-color:#fff;border:1px solid #ebedf1;border-radius:1px}[data-prefers-color=dark] .__dumi-default-previewer{background-color:#141414;border-color:#6b6c6d}.__dumi-default-previewer[data-debug]{margin-top:32px;border-color:#ffcb00}.__dumi-default-previewer[data-debug]:before{content:"DEV ONLY";float:left;margin-left:-1px;margin-top:-18px;padding:3px 6px;font-size:12px;line-height:1;background-color:#ffcb00;color:#735600;text-shadow:.5px .5px 0 hsla(0,0%,100%,.5);border-top-left-radius:1px;border-top-right-radius:1px}.__dumi-default-previewer[data-iframe] .__dumi-default-previewer-browser-nav{padding:2px 6px;background-color:#ebedf1}.__dumi-default-previewer[data-iframe] .__dumi-default-previewer-browser-nav:before{content:"";display:inline-block;width:12px;height:12px;border-radius:50%;background-color:#fd6458;box-shadow:20px 0 0 #ffbf2b,40px 0 0 #24cc3d}.__dumi-default-previewer[data-iframe] .__dumi-default-previewer-demo>iframe{border:0;width:100%;height:300px}.__dumi-default-previewer+.__dumi-default-previewer{margin-top:32px}.__dumi-default-previewer-demo{padding:40px 24px}.__dumi-default-previewer-target{border-color:rgba(69,105,212,.5);box-shadow:0 0 0 5px rgba(69,105,212,.05)}.__dumi-default-previewer-desc>div:last-child{padding:1.2em 1em 1em;color:#454d64;border-top:1px solid #ebedf1}[data-prefers-color=dark] .__dumi-default-previewer-desc>div:last-child{border-color:#6b6c6d}.__dumi-default-previewer-desc .markdown>p:first-child{margin-top:0}.__dumi-default-previewer-desc .markdown>p:last-child{margin-bottom:0}.__dumi-default-previewer-desc[data-title]{position:relative}.__dumi-default-previewer-desc[data-title]>a:first-child{position:absolute;top:0;left:1em;margin-left:-4px;padding:0 4px;color:#454d64;font-size:inherit;font-weight:500;background:linear-gradient(0deg,#fff,#fff 50%,hsla(0,0%,100%,0)) 100%;transform:translateY(-50%);pointer-events:auto;cursor:pointer}[data-prefers-color=dark] .__dumi-default-previewer-desc[data-title]>a:first-child{color:hsla(0,0%,100%,.85);background:linear-gradient(0deg,#141414,#141414 50%,hsla(0,0%,100%,0)) 100%}.__dumi-default-previewer-desc[data-title]:empty{padding-top:0}.__dumi-default-previewer-desc[data-title]:empty+.__dumi-default-previewer-actions{height:46px;border-top-style:solid}.__dumi-default-previewer-actions{display:flex;height:40px;padding:0 1em;align-items:center;border-top:1px dashed #ebedf1}[data-prefers-color=dark] .__dumi-default-previewer-actions{border-color:#6b6c6d}.__dumi-default-previewer-actions>a:not(:last-child),.__dumi-default-previewer-actions>button:not(:last-child){margin-right:8px}.__dumi-default-previewer-actions>a{display:flex}.__dumi-default-previewer-actions button{position:relative;display:inline-block;width:16px;height:16px;padding:0;border:0;box-sizing:border-box;cursor:pointer;opacity:.6;outline:none;transition:opacity .2s,background .2s}[data-prefers-color=dark] .__dumi-default-previewer-actions button{opacity:1}.__dumi-default-previewer-actions button:after{content:"";position:absolute;top:-8px;left:-8px;right:-8px;bottom:-8px}.__dumi-default-previewer-actions button:hover{opacity:.8}.__dumi-default-previewer-actions button:active{opacity:.9}.__dumi-default-previewer-actions button:disabled{opacity:.2;cursor:not-allowed}.__dumi-default-previewer-actions button[role=codesandbox]{background-position:-18px 0}.__dumi-default-previewer-actions button[role=codepen]{background-position:-36px 0}.__dumi-default-previewer-actions button[role=source]{background-position:-72px 0}.__dumi-default-previewer-actions button[role=change-jsx]{background-position:-90px 0}.__dumi-default-previewer-actions button[role=change-tsx]{background-position:-108px 0}.__dumi-default-previewer-actions button[role=open-demo]{background-position:-126px 0}.__dumi-default-previewer-actions button[role=motions]{background-position:-162px 0}.__dumi-default-previewer-actions button[role=sketch-component]{background-position:-182px 0}.__dumi-default-previewer-actions button[role=sketch-group]{background-position:-200px 0}.__dumi-default-previewer-actions button[role=copy][data-status=ready]{background-position:-54px 0}.__dumi-default-previewer-actions button[role=copy][data-status=copied]{pointer-events:none;background-position:-54px -16px}.__dumi-default-previewer-actions button[role=refresh]{background-position-x:-144px}.__dumi-default-previewer-actions>span{flex:1 1;display:inline-block}.__dumi-default-previewer-source{border-top:1px dashed #ebedf1}[data-prefers-color=dark] .__dumi-default-previewer-source{border-color:#6b6c6d}.__dumi-default-previewer-source-tab{border-top:1px dashed #ebedf1}[data-prefers-color=dark] .__dumi-default-previewer-source-tab{border-color:#6b6c6d}.__dumi-default-previewer-source-tab .__dumi-default-tabs-tab-btn{position:relative;padding-left:32px}.__dumi-default-previewer-source-tab .__dumi-default-tabs-tab-btn:after,.__dumi-default-previewer-source-tab .__dumi-default-tabs-tab-btn:before{content:"";position:absolute;margin-right:4px;display:inline-block;box-sizing:border-box}.__dumi-default-previewer-source-tab .__dumi-default-tabs-tab-btn:before{left:16px;top:50%;margin-top:-6px;width:10px;height:12px;border:1px solid #717484}.__dumi-default-previewer-source-tab .__dumi-default-tabs-tab-btn:after{top:50%;left:23px;margin-top:-7px;width:4px;height:4px;background:#fff;border-bottom:1px solid #717484;transform:rotate(45deg)}[data-prefers-color=dark] .__dumi-default-previewer-source-tab .__dumi-default-tabs-tab-btn:after{background:#141414}.__dumi-default-tabs{overflow:hidden}.__dumi-default-tabs.__dumi-default-tabs-top{flex-direction:column}.__dumi-default-tabs.__dumi-default-tabs-top .__dumi-default-tabs-ink-bar{bottom:0}.__dumi-default-tabs-nav{display:flex}.__dumi-default-tabs-nav-wrap{display:flex;white-space:nowrap;overflow:hidden}.__dumi-default-tabs-nav-wrap.__dumi-default-tabs-nav-wrap-ping-left{box-shadow:inset 5px 0 5px -5px rgba(0,0,0,.1)}.__dumi-default-tabs-nav-wrap.__dumi-default-tabs-nav-wrap-ping-right~*>.__dumi-default-tabs-nav-more{box-shadow:0 0 5px rgba(0,0,0,.1)}.__dumi-default-tabs-nav-list{position:relative;display:flex;transition:transform .2s}.__dumi-default-tabs-nav-more{height:100%;cursor:pointer;background:none;border:0;transition:box-shadow .2s}.__dumi-default-tabs-tab{display:flex}.__dumi-default-tabs-tab-btn{padding:0 16px;font-size:14px;line-height:36px;border:0;outline:none;background:transparent;box-sizing:border-box;cursor:pointer}.__dumi-default-tabs-tab-btn:hover{color:#4569d4}.__dumi-default-tabs-ink-bar{position:absolute;height:2px;background:#4569d4;transition:left .2s,width .2s;pointer-events:none}[data-prefers-color=dark] .__dumi-default-tabs-ink-bar{background:#7395f7}.__dumi-default-tabs-dropdown{position:absolute;background:#fff;border:1px solid #ebedf1;max-height:200px;overflow:auto}.__dumi-default-tabs-dropdown>ul{list-style:none;margin:0;padding:0}.__dumi-default-tabs-dropdown>ul>li{padding:4px 12px;font-size:14px;cursor:pointer}.__dumi-default-tabs-dropdown>ul>li:hover{color:#4569d4}.__dumi-default-tabs-dropdown>ul>li:not(:last-child){border-bottom:1px dashed #ebedf1}.__dumi-default-tabs-dropdown-hidden{display:none}