@cloudbase/weda-ui 3.9.5 → 3.9.6

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.
@@ -101,13 +101,10 @@ export function PureSelect({ params, selectedValue, updateValue, placeholder, si
101
101
  const option = isSearch && staticSearchable ? searchOptions : options;
102
102
  return platform === 'h5' ? option : transFormatTeaSelectKey(option);
103
103
  }, [isSearch, searchOptions, options, platform, staticSearchable]);
104
- const allOptions = useMemo(() => {
105
- return transFormatTeaSelectKey(options);
106
- }, [options]);
107
104
  useEffect(() => {
108
- allOption(options);
109
- recycleBack === null || recycleBack === void 0 ? void 0 : recycleBack(options);
110
- }, [options]);
105
+ allOption(currentOption);
106
+ recycleBack === null || recycleBack === void 0 ? void 0 : recycleBack(currentOption);
107
+ }, [currentOption]);
111
108
  useEffect(() => {
112
109
  // 本地搜索
113
110
  if (!isTurnPages || options.length < PAGE_SIZE) {
@@ -217,5 +214,5 @@ export function PureSelect({ params, selectedValue, updateValue, placeholder, si
217
214
  const getIsShow = () => {
218
215
  closeModal();
219
216
  };
220
- return platform === 'h5' ? (_jsx(SelectPickerH5, { updateValue: updateValue, options: currentOption, loadMore: loadMore, reTry: reTry, isTurnPages: isTurnPages, status: currentStatus, onSearchValue: onSearchValue, isShow: isShow, selectedValue: selectedValue, getIsShow: getIsShow, onSearchValueInput: onSearchValueInput })) : (_jsx(SelectPickerPc, { placeholder: placeholder, size: size, selectedValue: selectedValue, disabled: disabled, updateValue: updateValue, reTry: reTry, loadMore: loadMore, format: format, status: currentStatus, options: currentOption, allOptions: allOptions, onSearchValue: onSearchValue, defaultSearchValue: '', onSearchValueInput: onSearchValueInput }));
217
+ return platform === 'h5' ? (_jsx(SelectPickerH5, { updateValue: updateValue, options: currentOption, loadMore: loadMore, reTry: reTry, isTurnPages: isTurnPages, status: currentStatus, onSearchValue: onSearchValue, isShow: isShow, selectedValue: selectedValue, getIsShow: getIsShow, onSearchValueInput: onSearchValueInput })) : (_jsx(SelectPickerPc, { placeholder: placeholder, size: size, selectedValue: selectedValue, disabled: disabled, updateValue: updateValue, reTry: reTry, loadMore: loadMore, format: format, status: currentStatus, options: currentOption, allOptions: currentOption, onSearchValue: onSearchValue, defaultSearchValue: '', onSearchValueInput: onSearchValueInput }));
221
218
  }
@@ -143,7 +143,7 @@ export const WdCodeEditor: any;
143
143
  export const WdMember: any;
144
144
  export const WdLocation: any;
145
145
  export const WdRichText: any;
146
- export const WdMarkdown: any;
146
+ export { default as WdMarkdown } from "./wd-markdown";
147
147
  export { default as WdCanvas } from "./wd-canvas";
148
148
  export { default as WdAudio } from "./wd-audio";
149
149
  export { default as WdFormObj } from "./wd-form-obj";
@@ -202,9 +202,7 @@ export const WdLocation = loadable(() => import('./wd-location'), {
202
202
  export const WdRichText = loadable(() => import('./wd-rich-text'), {
203
203
  fallback,
204
204
  });
205
- export const WdMarkdown = loadable(() => import('./wd-markdown'), {
206
- fallback,
207
- });
205
+ export { default as WdMarkdown } from './wd-markdown';
208
206
  export { default as WdCanvas } from './wd-canvas';
209
207
  export { default as WdAudio } from './wd-audio';
210
208
  export { default as WdFormObj } from './wd-form-obj';
@@ -104,7 +104,7 @@
104
104
  .weda-RichTextView img {
105
105
  max-width: 100%;
106
106
  height: auto;
107
- vertical-align: unset;
107
+ vertical-align: middle;
108
108
  }
109
109
  .weda-RichTextView em,
110
110
  .weda-RichTextView i {
@@ -537,7 +537,9 @@
537
537
  .markdown-body div > ol:not([type]) {
538
538
  list-style-type: decimal;
539
539
  }
540
-
540
+ .markdown-body ul {
541
+ list-style-type: disc;
542
+ }
541
543
  .markdown-body ul ul,
542
544
  .markdown-body ul ol,
543
545
  .markdown-body ol ol,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/weda-ui",
3
- "version": "3.9.5",
3
+ "version": "3.9.6",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index",
6
6
  "miniprogram": "mpdist",
@@ -269,7 +269,7 @@
269
269
  "!.temp/dist/*.map"
270
270
  ],
271
271
  "webpack": false,
272
- "limit": "900 KB"
272
+ "limit": "1200 KB"
273
273
  }
274
274
  ],
275
275
  "nyc": {