naive-ui 2.25.1 → 2.25.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 (228) hide show
  1. package/es/_internal/select-menu/src/SelectMenu.d.ts +6 -1
  2. package/es/_internal/select-menu/src/SelectMenu.js +17 -8
  3. package/es/_internal/selection/src/Selection.d.ts +31 -26
  4. package/es/_internal/selection/src/Selection.js +78 -80
  5. package/es/_internal/selection/styles/dark.js +3 -3
  6. package/es/_internal/selection/styles/light.d.ts +6 -6
  7. package/es/_internal/selection/styles/light.js +3 -3
  8. package/es/_mixins/index.d.ts +1 -1
  9. package/es/_mixins/index.js +1 -1
  10. package/es/_mixins/use-css-vars-class.d.ts +9 -2
  11. package/es/_mixins/use-css-vars-class.js +29 -13
  12. package/es/_mixins/use-form-item.d.ts +1 -1
  13. package/es/_utils/css/color-to-class.d.ts +1 -0
  14. package/es/_utils/css/color-to-class.js +3 -0
  15. package/es/_utils/css/format-length.d.ts +2 -2
  16. package/es/_utils/css/format-length.js +1 -2
  17. package/es/_utils/css/index.d.ts +2 -1
  18. package/es/_utils/css/index.js +2 -1
  19. package/es/_utils/index.d.ts +1 -1
  20. package/es/_utils/index.js +1 -1
  21. package/es/_utils/vue/resolve-slot.js +0 -1
  22. package/es/alert/src/Alert.d.ts +4 -4
  23. package/es/auto-complete/src/AutoComplete.d.ts +1 -1
  24. package/es/badge/src/Badge.d.ts +4 -4
  25. package/es/button/src/Button.d.ts +3 -2
  26. package/es/button/src/Button.js +13 -24
  27. package/es/button/styles/index.d.ts +1 -1
  28. package/es/button/styles/index.js +1 -1
  29. package/es/button/styles/rtl.d.ts +2 -5
  30. package/es/button/styles/rtl.js +1 -1
  31. package/es/card/src/Card.d.ts +3 -1
  32. package/es/card/src/Card.js +41 -38
  33. package/es/card/styles/index.d.ts +1 -1
  34. package/es/card/styles/index.js +1 -1
  35. package/es/card/styles/rtl.d.ts +2 -5
  36. package/es/card/styles/rtl.js +1 -1
  37. package/es/cascader/src/Cascader.d.ts +30 -30
  38. package/es/cascader/src/CascaderMenu.d.ts +3 -3
  39. package/es/cascader/src/CascaderOption.d.ts +3 -3
  40. package/es/cascader/src/CascaderSelectMenu.d.ts +3 -3
  41. package/es/cascader/src/CascaderSubmenu.d.ts +3 -3
  42. package/es/cascader/styles/light.d.ts +3 -3
  43. package/es/checkbox/src/styles/index.cssr.js +12 -12
  44. package/es/data-table/src/DataTable.d.ts +34 -34
  45. package/es/data-table/src/HeaderButton/FilterButton.d.ts +6 -6
  46. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +6 -6
  47. package/es/data-table/src/TableParts/Body.d.ts +6 -6
  48. package/es/data-table/src/TableParts/Cell.d.ts +12 -12
  49. package/es/data-table/src/TableParts/Header.d.ts +6 -6
  50. package/es/data-table/styles/light.d.ts +3 -3
  51. package/es/descriptions/src/Descriptions.d.ts +1 -1
  52. package/es/dialog/src/Dialog.d.ts +4 -4
  53. package/es/dialog/src/DialogEnvironment.d.ts +5 -5
  54. package/es/dialog/src/DialogProvider.d.ts +2 -2
  55. package/es/dialog/src/dialogProps.d.ts +2 -2
  56. package/es/dynamic-tags/src/DynamicTags.d.ts +4 -4
  57. package/es/form/src/FormItem.d.ts +4 -4
  58. package/es/form/src/FormItemCol.d.ts +3 -3
  59. package/es/form/src/FormItemGridItem.d.ts +5 -5
  60. package/es/form/src/FormItemRow.d.ts +3 -3
  61. package/es/form/src/utils.d.ts +1 -1
  62. package/es/gradient-text/src/GradientText.d.ts +5 -5
  63. package/es/icon-wrapper/src/IconWrapper.js +7 -5
  64. package/es/image/src/Image.d.ts +1 -1
  65. package/es/input/src/Input.d.ts +1 -1
  66. package/es/input-number/src/InputNumber.d.ts +1 -1
  67. package/es/locales/common/eo.d.ts +109 -0
  68. package/es/locales/common/eo.js +109 -0
  69. package/es/locales/common/plPL.d.ts +3 -0
  70. package/es/locales/common/plPL.js +109 -0
  71. package/es/locales/date/eo.d.ts +3 -0
  72. package/es/locales/date/eo.js +6 -0
  73. package/es/locales/date/plPL.d.ts +3 -0
  74. package/es/locales/date/plPL.js +6 -0
  75. package/es/locales/index.d.ts +4 -0
  76. package/es/locales/index.js +4 -0
  77. package/es/mention/src/Mention.d.ts +1 -1
  78. package/es/menu/src/Menu.d.ts +1 -1
  79. package/es/modal/src/BodyWrapper.d.ts +6 -6
  80. package/es/modal/src/Modal.d.ts +8 -8
  81. package/es/modal/src/presetProps.d.ts +2 -2
  82. package/es/notification/src/Notification.d.ts +4 -4
  83. package/es/notification/src/NotificationEnvironment.d.ts +4 -4
  84. package/es/notification/src/NotificationProvider.d.ts +1 -1
  85. package/es/pagination/src/Pagination.d.ts +33 -33
  86. package/es/pagination/styles/light.d.ts +3 -3
  87. package/es/progress/src/Circle.d.ts +19 -3
  88. package/es/progress/src/Circle.js +41 -22
  89. package/es/progress/src/Progress.d.ts +14 -5
  90. package/es/progress/src/Progress.js +43 -29
  91. package/es/progress/src/styles/index.cssr.js +1 -1
  92. package/es/result/src/Result.d.ts +4 -4
  93. package/es/select/src/Select.d.ts +45 -31
  94. package/es/select/src/Select.js +13 -8
  95. package/es/select/styles/light.d.ts +3 -3
  96. package/es/tag/src/Tag.d.ts +7 -5
  97. package/es/tag/src/Tag.js +60 -40
  98. package/es/tag/src/common-props.d.ts +1 -1
  99. package/es/tag/src/styles/index.cssr.js +1 -1
  100. package/es/tag/styles/index.d.ts +1 -1
  101. package/es/tag/styles/index.js +1 -1
  102. package/es/tag/styles/rtl.d.ts +2 -5
  103. package/es/tag/styles/rtl.js +1 -1
  104. package/es/timeline/src/TimelineItem.d.ts +4 -4
  105. package/es/tree/src/utils.js +1 -1
  106. package/es/tree-select/src/TreeSelect.d.ts +30 -30
  107. package/es/tree-select/styles/light.d.ts +3 -3
  108. package/es/typography/src/create-header.d.ts +4 -4
  109. package/es/typography/src/headers.d.ts +18 -18
  110. package/es/upload/src/UploadFile.d.ts +1 -1
  111. package/es/upload/src/UploadProgress.d.ts +2 -2
  112. package/es/version.d.ts +1 -1
  113. package/es/version.js +1 -1
  114. package/lib/_internal/select-menu/src/SelectMenu.d.ts +6 -1
  115. package/lib/_internal/select-menu/src/SelectMenu.js +16 -7
  116. package/lib/_internal/selection/src/Selection.d.ts +31 -26
  117. package/lib/_internal/selection/src/Selection.js +77 -79
  118. package/lib/_internal/selection/styles/dark.js +3 -3
  119. package/lib/_internal/selection/styles/light.d.ts +6 -6
  120. package/lib/_internal/selection/styles/light.js +3 -3
  121. package/lib/_mixins/index.d.ts +1 -1
  122. package/lib/_mixins/index.js +3 -2
  123. package/lib/_mixins/use-css-vars-class.d.ts +9 -2
  124. package/lib/_mixins/use-css-vars-class.js +31 -15
  125. package/lib/_mixins/use-form-item.d.ts +1 -1
  126. package/lib/_utils/css/color-to-class.d.ts +1 -0
  127. package/lib/_utils/css/color-to-class.js +7 -0
  128. package/lib/_utils/css/format-length.d.ts +2 -2
  129. package/lib/_utils/css/format-length.js +2 -1
  130. package/lib/_utils/css/index.d.ts +2 -1
  131. package/lib/_utils/css/index.js +4 -5
  132. package/lib/_utils/index.d.ts +1 -1
  133. package/lib/_utils/index.js +2 -1
  134. package/lib/_utils/vue/resolve-slot.js +0 -1
  135. package/lib/alert/src/Alert.d.ts +4 -4
  136. package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
  137. package/lib/badge/src/Badge.d.ts +4 -4
  138. package/lib/button/src/Button.d.ts +3 -2
  139. package/lib/button/src/Button.js +11 -22
  140. package/lib/button/styles/index.d.ts +1 -1
  141. package/lib/button/styles/index.js +1 -1
  142. package/lib/button/styles/rtl.d.ts +2 -5
  143. package/lib/button/styles/rtl.js +2 -1
  144. package/lib/card/src/Card.d.ts +3 -1
  145. package/lib/card/src/Card.js +40 -37
  146. package/lib/card/styles/index.d.ts +1 -1
  147. package/lib/card/styles/index.js +1 -1
  148. package/lib/card/styles/rtl.d.ts +2 -5
  149. package/lib/card/styles/rtl.js +2 -1
  150. package/lib/cascader/src/Cascader.d.ts +30 -30
  151. package/lib/cascader/src/CascaderMenu.d.ts +3 -3
  152. package/lib/cascader/src/CascaderOption.d.ts +3 -3
  153. package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -3
  154. package/lib/cascader/src/CascaderSubmenu.d.ts +3 -3
  155. package/lib/cascader/styles/light.d.ts +3 -3
  156. package/lib/checkbox/src/styles/index.cssr.js +12 -12
  157. package/lib/data-table/src/DataTable.d.ts +34 -34
  158. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +6 -6
  159. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +6 -6
  160. package/lib/data-table/src/TableParts/Body.d.ts +6 -6
  161. package/lib/data-table/src/TableParts/Cell.d.ts +12 -12
  162. package/lib/data-table/src/TableParts/Header.d.ts +6 -6
  163. package/lib/data-table/styles/light.d.ts +3 -3
  164. package/lib/descriptions/src/Descriptions.d.ts +1 -1
  165. package/lib/dialog/src/Dialog.d.ts +4 -4
  166. package/lib/dialog/src/DialogEnvironment.d.ts +5 -5
  167. package/lib/dialog/src/DialogProvider.d.ts +2 -2
  168. package/lib/dialog/src/dialogProps.d.ts +2 -2
  169. package/lib/dynamic-tags/src/DynamicTags.d.ts +4 -4
  170. package/lib/form/src/FormItem.d.ts +4 -4
  171. package/lib/form/src/FormItemCol.d.ts +3 -3
  172. package/lib/form/src/FormItemGridItem.d.ts +5 -5
  173. package/lib/form/src/FormItemRow.d.ts +3 -3
  174. package/lib/form/src/utils.d.ts +1 -1
  175. package/lib/gradient-text/src/GradientText.d.ts +5 -5
  176. package/lib/icon-wrapper/src/IconWrapper.js +6 -4
  177. package/lib/image/src/Image.d.ts +1 -1
  178. package/lib/input/src/Input.d.ts +1 -1
  179. package/lib/input-number/src/InputNumber.d.ts +1 -1
  180. package/lib/locales/common/eo.d.ts +109 -0
  181. package/lib/locales/common/eo.js +111 -0
  182. package/lib/locales/common/plPL.d.ts +3 -0
  183. package/lib/locales/common/plPL.js +111 -0
  184. package/lib/locales/date/eo.d.ts +3 -0
  185. package/lib/locales/date/eo.js +11 -0
  186. package/lib/locales/date/plPL.d.ts +3 -0
  187. package/lib/locales/date/plPL.js +11 -0
  188. package/lib/locales/index.d.ts +4 -0
  189. package/lib/locales/index.js +9 -1
  190. package/lib/mention/src/Mention.d.ts +1 -1
  191. package/lib/menu/src/Menu.d.ts +1 -1
  192. package/lib/modal/src/BodyWrapper.d.ts +6 -6
  193. package/lib/modal/src/Modal.d.ts +8 -8
  194. package/lib/modal/src/presetProps.d.ts +2 -2
  195. package/lib/notification/src/Notification.d.ts +4 -4
  196. package/lib/notification/src/NotificationEnvironment.d.ts +4 -4
  197. package/lib/notification/src/NotificationProvider.d.ts +1 -1
  198. package/lib/pagination/src/Pagination.d.ts +33 -33
  199. package/lib/pagination/styles/light.d.ts +3 -3
  200. package/lib/progress/src/Circle.d.ts +19 -3
  201. package/lib/progress/src/Circle.js +40 -21
  202. package/lib/progress/src/Progress.d.ts +14 -5
  203. package/lib/progress/src/Progress.js +42 -28
  204. package/lib/progress/src/styles/index.cssr.js +1 -1
  205. package/lib/result/src/Result.d.ts +4 -4
  206. package/lib/select/src/Select.d.ts +45 -31
  207. package/lib/select/src/Select.js +13 -8
  208. package/lib/select/styles/light.d.ts +3 -3
  209. package/lib/tag/src/Tag.d.ts +7 -5
  210. package/lib/tag/src/Tag.js +58 -38
  211. package/lib/tag/src/common-props.d.ts +1 -1
  212. package/lib/tag/src/styles/index.cssr.js +1 -1
  213. package/lib/tag/styles/index.d.ts +1 -1
  214. package/lib/tag/styles/index.js +1 -1
  215. package/lib/tag/styles/rtl.d.ts +2 -5
  216. package/lib/tag/styles/rtl.js +2 -1
  217. package/lib/timeline/src/TimelineItem.d.ts +4 -4
  218. package/lib/tree/src/utils.js +1 -1
  219. package/lib/tree-select/src/TreeSelect.d.ts +30 -30
  220. package/lib/tree-select/styles/light.d.ts +3 -3
  221. package/lib/typography/src/create-header.d.ts +4 -4
  222. package/lib/typography/src/headers.d.ts +18 -18
  223. package/lib/upload/src/UploadFile.d.ts +1 -1
  224. package/lib/upload/src/UploadProgress.d.ts +2 -2
  225. package/lib/version.d.ts +1 -1
  226. package/lib/version.js +1 -1
  227. package/package.json +4 -4
  228. package/web-types.json +28 -1
@@ -78,5 +78,5 @@ export default cB('tag', `
78
78
  background-color: var(--n-color-checkable);
79
79
  `, [cNotM('disabled', [c('&:hover', 'background-color: var(--n-color-hover-checkable);', [cNotM('checked', 'color: var(--n-text-color-hover-checkable);')]), c('&:active', 'background-color: var(--n-color-pressed-checkable);', [cNotM('checked', 'color: var(--n-text-color-pressed-checkable);')])]), cM('checked', `
80
80
  color: var(--n-text-color-checked);
81
- background-color: 'var(--n-color-checked);
81
+ background-color: var(--n-color-checked);
82
82
  `, [cNotM('disabled', [c('&:hover', 'background-color: var(--n-color-checked-hover);'), c('&:active', 'background-color: var(--n-color-checked-pressed);')])])])]);
@@ -1,4 +1,4 @@
1
1
  export { default as tagDark } from './dark';
2
2
  export { default as tagLight } from './light';
3
- export { default as tagRtl } from './rtl';
3
+ export { tagRtl } from './rtl';
4
4
  export type { TagThemeVars, TagTheme } from './light';
@@ -1,3 +1,3 @@
1
1
  export { default as tagDark } from './dark';
2
2
  export { default as tagLight } from './light';
3
- export { default as tagRtl } from './rtl';
3
+ export { tagRtl } from './rtl';
@@ -1,5 +1,2 @@
1
- declare const _default: {
2
- name: string;
3
- style: import("css-render").CNode;
4
- };
5
- export default _default;
1
+ import type { RtlItem } from '../../config-provider/src/internal-interface';
2
+ export declare const tagRtl: RtlItem;
@@ -1,5 +1,5 @@
1
1
  import rtlStyle from '../src/styles/rtl.cssr';
2
- export default {
2
+ export const tagRtl = {
3
3
  name: 'Tag',
4
4
  style: rtlStyle
5
5
  };
@@ -6,7 +6,7 @@ declare const timelineItemProps: {
6
6
  content: StringConstructor;
7
7
  color: StringConstructor;
8
8
  type: {
9
- type: PropType<"default" | "success" | "error" | "warning" | "info">;
9
+ type: PropType<"default" | "error" | "info" | "success" | "warning">;
10
10
  default: string;
11
11
  };
12
12
  };
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
17
17
  content: StringConstructor;
18
18
  color: StringConstructor;
19
19
  type: {
20
- type: PropType<"default" | "success" | "error" | "warning" | "info">;
20
+ type: PropType<"default" | "error" | "info" | "success" | "warning">;
21
21
  default: string;
22
22
  };
23
23
  }, {
@@ -42,10 +42,10 @@ declare const _default: import("vue").DefineComponent<{
42
42
  content: StringConstructor;
43
43
  color: StringConstructor;
44
44
  type: {
45
- type: PropType<"default" | "success" | "error" | "warning" | "info">;
45
+ type: PropType<"default" | "error" | "info" | "success" | "warning">;
46
46
  default: string;
47
47
  };
48
48
  }>>, {
49
- type: "default" | "success" | "error" | "warning" | "info";
49
+ type: "default" | "error" | "info" | "success" | "warning";
50
50
  }>;
51
51
  export default _default;
@@ -31,7 +31,7 @@ export function keysWithFilter(nodes, pattern, keyField, childrenField, filter)
31
31
  };
32
32
  }
33
33
  const emptyImage = null;
34
- if (typeof window !== 'undefined') {
34
+ if (typeof window !== 'undefined' && Image) {
35
35
  const emptyImage = new Image();
36
36
  emptyImage.src =
37
37
  'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';
@@ -188,7 +188,7 @@ declare const props: {
188
188
  borderHover: string;
189
189
  borderActive: string;
190
190
  borderFocus: string;
191
- boxShadowHover: null;
191
+ boxShadowHover: string;
192
192
  boxShadowActive: string;
193
193
  boxShadowFocus: string;
194
194
  caretColor: string;
@@ -199,7 +199,7 @@ declare const props: {
199
199
  borderHoverWarning: string;
200
200
  borderActiveWarning: string;
201
201
  borderFocusWarning: string;
202
- boxShadowHoverWarning: null;
202
+ boxShadowHoverWarning: string;
203
203
  boxShadowActiveWarning: string;
204
204
  boxShadowFocusWarning: string;
205
205
  colorActiveWarning: string;
@@ -208,7 +208,7 @@ declare const props: {
208
208
  borderHoverError: string;
209
209
  borderActiveError: string;
210
210
  borderFocusError: string;
211
- boxShadowHoverError: null;
211
+ boxShadowHoverError: string;
212
212
  boxShadowActiveError: string;
213
213
  boxShadowFocusError: string;
214
214
  colorActiveError: string;
@@ -326,7 +326,7 @@ declare const props: {
326
326
  borderHover: string;
327
327
  borderActive: string;
328
328
  borderFocus: string;
329
- boxShadowHover: null;
329
+ boxShadowHover: string;
330
330
  boxShadowActive: string;
331
331
  boxShadowFocus: string;
332
332
  caretColor: string;
@@ -337,7 +337,7 @@ declare const props: {
337
337
  borderHoverWarning: string;
338
338
  borderActiveWarning: string;
339
339
  borderFocusWarning: string;
340
- boxShadowHoverWarning: null;
340
+ boxShadowHoverWarning: string;
341
341
  boxShadowActiveWarning: string;
342
342
  boxShadowFocusWarning: string;
343
343
  colorActiveWarning: string;
@@ -346,7 +346,7 @@ declare const props: {
346
346
  borderHoverError: string;
347
347
  borderActiveError: string;
348
348
  borderFocusError: string;
349
- boxShadowHoverError: null;
349
+ boxShadowHoverError: string;
350
350
  boxShadowActiveError: string;
351
351
  boxShadowFocusError: string;
352
352
  colorActiveError: string;
@@ -464,7 +464,7 @@ declare const props: {
464
464
  borderHover: string;
465
465
  borderActive: string;
466
466
  borderFocus: string;
467
- boxShadowHover: null;
467
+ boxShadowHover: string;
468
468
  boxShadowActive: string;
469
469
  boxShadowFocus: string;
470
470
  caretColor: string;
@@ -475,7 +475,7 @@ declare const props: {
475
475
  borderHoverWarning: string;
476
476
  borderActiveWarning: string;
477
477
  borderFocusWarning: string;
478
- boxShadowHoverWarning: null;
478
+ boxShadowHoverWarning: string;
479
479
  boxShadowActiveWarning: string;
480
480
  boxShadowFocusWarning: string;
481
481
  colorActiveWarning: string;
@@ -484,7 +484,7 @@ declare const props: {
484
484
  borderHoverError: string;
485
485
  borderActiveError: string;
486
486
  borderFocusError: string;
487
- boxShadowHoverError: null;
487
+ boxShadowHoverError: string;
488
488
  boxShadowActiveError: string;
489
489
  boxShadowFocusError: string;
490
490
  colorActiveError: string;
@@ -698,7 +698,7 @@ declare const _default: import("vue").DefineComponent<{
698
698
  borderHover: string;
699
699
  borderActive: string;
700
700
  borderFocus: string;
701
- boxShadowHover: null;
701
+ boxShadowHover: string;
702
702
  boxShadowActive: string;
703
703
  boxShadowFocus: string;
704
704
  caretColor: string;
@@ -709,7 +709,7 @@ declare const _default: import("vue").DefineComponent<{
709
709
  borderHoverWarning: string;
710
710
  borderActiveWarning: string;
711
711
  borderFocusWarning: string;
712
- boxShadowHoverWarning: null;
712
+ boxShadowHoverWarning: string;
713
713
  boxShadowActiveWarning: string;
714
714
  boxShadowFocusWarning: string;
715
715
  colorActiveWarning: string;
@@ -718,7 +718,7 @@ declare const _default: import("vue").DefineComponent<{
718
718
  borderHoverError: string;
719
719
  borderActiveError: string;
720
720
  borderFocusError: string;
721
- boxShadowHoverError: null;
721
+ boxShadowHoverError: string;
722
722
  boxShadowActiveError: string;
723
723
  boxShadowFocusError: string;
724
724
  colorActiveError: string;
@@ -836,7 +836,7 @@ declare const _default: import("vue").DefineComponent<{
836
836
  borderHover: string;
837
837
  borderActive: string;
838
838
  borderFocus: string;
839
- boxShadowHover: null;
839
+ boxShadowHover: string;
840
840
  boxShadowActive: string;
841
841
  boxShadowFocus: string;
842
842
  caretColor: string;
@@ -847,7 +847,7 @@ declare const _default: import("vue").DefineComponent<{
847
847
  borderHoverWarning: string;
848
848
  borderActiveWarning: string;
849
849
  borderFocusWarning: string;
850
- boxShadowHoverWarning: null;
850
+ boxShadowHoverWarning: string;
851
851
  boxShadowActiveWarning: string;
852
852
  boxShadowFocusWarning: string;
853
853
  colorActiveWarning: string;
@@ -856,7 +856,7 @@ declare const _default: import("vue").DefineComponent<{
856
856
  borderHoverError: string;
857
857
  borderActiveError: string;
858
858
  borderFocusError: string;
859
- boxShadowHoverError: null;
859
+ boxShadowHoverError: string;
860
860
  boxShadowActiveError: string;
861
861
  boxShadowFocusError: string;
862
862
  colorActiveError: string;
@@ -974,7 +974,7 @@ declare const _default: import("vue").DefineComponent<{
974
974
  borderHover: string;
975
975
  borderActive: string;
976
976
  borderFocus: string;
977
- boxShadowHover: null;
977
+ boxShadowHover: string;
978
978
  boxShadowActive: string;
979
979
  boxShadowFocus: string;
980
980
  caretColor: string;
@@ -985,7 +985,7 @@ declare const _default: import("vue").DefineComponent<{
985
985
  borderHoverWarning: string;
986
986
  borderActiveWarning: string;
987
987
  borderFocusWarning: string;
988
- boxShadowHoverWarning: null;
988
+ boxShadowHoverWarning: string;
989
989
  boxShadowActiveWarning: string;
990
990
  boxShadowFocusWarning: string;
991
991
  colorActiveWarning: string;
@@ -994,7 +994,7 @@ declare const _default: import("vue").DefineComponent<{
994
994
  borderHoverError: string;
995
995
  borderActiveError: string;
996
996
  borderFocusError: string;
997
- boxShadowHoverError: null;
997
+ boxShadowHoverError: string;
998
998
  boxShadowActiveError: string;
999
999
  boxShadowFocusError: string;
1000
1000
  colorActiveError: string;
@@ -1287,7 +1287,7 @@ declare const _default: import("vue").DefineComponent<{
1287
1287
  borderHover: string;
1288
1288
  borderActive: string;
1289
1289
  borderFocus: string;
1290
- boxShadowHover: null;
1290
+ boxShadowHover: string;
1291
1291
  boxShadowActive: string;
1292
1292
  boxShadowFocus: string;
1293
1293
  caretColor: string;
@@ -1298,7 +1298,7 @@ declare const _default: import("vue").DefineComponent<{
1298
1298
  borderHoverWarning: string;
1299
1299
  borderActiveWarning: string;
1300
1300
  borderFocusWarning: string;
1301
- boxShadowHoverWarning: null;
1301
+ boxShadowHoverWarning: string;
1302
1302
  boxShadowActiveWarning: string;
1303
1303
  boxShadowFocusWarning: string;
1304
1304
  colorActiveWarning: string;
@@ -1307,7 +1307,7 @@ declare const _default: import("vue").DefineComponent<{
1307
1307
  borderHoverError: string;
1308
1308
  borderActiveError: string;
1309
1309
  borderFocusError: string;
1310
- boxShadowHoverError: null;
1310
+ boxShadowHoverError: string;
1311
1311
  boxShadowActiveError: string;
1312
1312
  boxShadowFocusError: string;
1313
1313
  colorActiveError: string;
@@ -1581,7 +1581,7 @@ declare const _default: import("vue").DefineComponent<{
1581
1581
  borderHover: string;
1582
1582
  borderActive: string;
1583
1583
  borderFocus: string;
1584
- boxShadowHover: null;
1584
+ boxShadowHover: string;
1585
1585
  boxShadowActive: string;
1586
1586
  boxShadowFocus: string;
1587
1587
  caretColor: string;
@@ -1592,7 +1592,7 @@ declare const _default: import("vue").DefineComponent<{
1592
1592
  borderHoverWarning: string;
1593
1593
  borderActiveWarning: string;
1594
1594
  borderFocusWarning: string;
1595
- boxShadowHoverWarning: null;
1595
+ boxShadowHoverWarning: string;
1596
1596
  boxShadowActiveWarning: string;
1597
1597
  boxShadowFocusWarning: string;
1598
1598
  colorActiveWarning: string;
@@ -1601,7 +1601,7 @@ declare const _default: import("vue").DefineComponent<{
1601
1601
  borderHoverError: string;
1602
1602
  borderActiveError: string;
1603
1603
  borderFocusError: string;
1604
- boxShadowHoverError: null;
1604
+ boxShadowHoverError: string;
1605
1605
  boxShadowActiveError: string;
1606
1606
  boxShadowFocusError: string;
1607
1607
  colorActiveError: string;
@@ -1719,7 +1719,7 @@ declare const _default: import("vue").DefineComponent<{
1719
1719
  borderHover: string;
1720
1720
  borderActive: string;
1721
1721
  borderFocus: string;
1722
- boxShadowHover: null;
1722
+ boxShadowHover: string;
1723
1723
  boxShadowActive: string;
1724
1724
  boxShadowFocus: string;
1725
1725
  caretColor: string;
@@ -1730,7 +1730,7 @@ declare const _default: import("vue").DefineComponent<{
1730
1730
  borderHoverWarning: string;
1731
1731
  borderActiveWarning: string;
1732
1732
  borderFocusWarning: string;
1733
- boxShadowHoverWarning: null;
1733
+ boxShadowHoverWarning: string;
1734
1734
  boxShadowActiveWarning: string;
1735
1735
  boxShadowFocusWarning: string;
1736
1736
  colorActiveWarning: string;
@@ -1739,7 +1739,7 @@ declare const _default: import("vue").DefineComponent<{
1739
1739
  borderHoverError: string;
1740
1740
  borderActiveError: string;
1741
1741
  borderFocusError: string;
1742
- boxShadowHoverError: null;
1742
+ boxShadowHoverError: string;
1743
1743
  boxShadowActiveError: string;
1744
1744
  boxShadowFocusError: string;
1745
1745
  colorActiveError: string;
@@ -1857,7 +1857,7 @@ declare const _default: import("vue").DefineComponent<{
1857
1857
  borderHover: string;
1858
1858
  borderActive: string;
1859
1859
  borderFocus: string;
1860
- boxShadowHover: null;
1860
+ boxShadowHover: string;
1861
1861
  boxShadowActive: string;
1862
1862
  boxShadowFocus: string;
1863
1863
  caretColor: string;
@@ -1868,7 +1868,7 @@ declare const _default: import("vue").DefineComponent<{
1868
1868
  borderHoverWarning: string;
1869
1869
  borderActiveWarning: string;
1870
1870
  borderFocusWarning: string;
1871
- boxShadowHoverWarning: null;
1871
+ boxShadowHoverWarning: string;
1872
1872
  boxShadowActiveWarning: string;
1873
1873
  boxShadowFocusWarning: string;
1874
1874
  colorActiveWarning: string;
@@ -1877,7 +1877,7 @@ declare const _default: import("vue").DefineComponent<{
1877
1877
  borderHoverError: string;
1878
1878
  borderActiveError: string;
1879
1879
  borderFocusError: string;
1880
- boxShadowHoverError: null;
1880
+ boxShadowHoverError: string;
1881
1881
  boxShadowActiveError: string;
1882
1882
  boxShadowFocusError: string;
1883
1883
  colorActiveError: string;
@@ -99,7 +99,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
99
99
  borderHover: string;
100
100
  borderActive: string;
101
101
  borderFocus: string;
102
- boxShadowHover: null;
102
+ boxShadowHover: string;
103
103
  boxShadowActive: string;
104
104
  boxShadowFocus: string;
105
105
  caretColor: string;
@@ -110,7 +110,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
110
110
  borderHoverWarning: string;
111
111
  borderActiveWarning: string;
112
112
  borderFocusWarning: string;
113
- boxShadowHoverWarning: null;
113
+ boxShadowHoverWarning: string;
114
114
  boxShadowActiveWarning: string;
115
115
  boxShadowFocusWarning: string;
116
116
  colorActiveWarning: string;
@@ -119,7 +119,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
119
119
  borderHoverError: string;
120
120
  borderActiveError: string;
121
121
  borderFocusError: string;
122
- boxShadowHoverError: null;
122
+ boxShadowHoverError: string;
123
123
  boxShadowActiveError: string;
124
124
  boxShadowFocusError: string;
125
125
  colorActiveError: string;
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
2
2
  import { ExtractPublicPropTypes } from '../../_utils';
3
3
  declare const headerProps: {
4
4
  readonly type: {
5
- readonly type: PropType<"default" | "success" | "error" | "warning" | "info">;
5
+ readonly type: PropType<"default" | "error" | "info" | "success" | "warning">;
6
6
  readonly default: "default";
7
7
  };
8
8
  readonly prefix: StringConstructor;
@@ -209,7 +209,7 @@ declare const headerProps: {
209
209
  export declare type HeaderProps = ExtractPublicPropTypes<typeof headerProps>;
210
210
  declare const _default: (level: '1' | '2' | '3' | '4' | '5' | '6') => import("vue").DefineComponent<{
211
211
  readonly type: {
212
- readonly type: PropType<"default" | "success" | "error" | "warning" | "info">;
212
+ readonly type: PropType<"default" | "error" | "info" | "success" | "warning">;
213
213
  readonly default: "default";
214
214
  };
215
215
  readonly prefix: StringConstructor;
@@ -426,7 +426,7 @@ declare const _default: (level: '1' | '2' | '3' | '4' | '5' | '6') => import("vu
426
426
  }>;
427
427
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
428
428
  readonly type: {
429
- readonly type: PropType<"default" | "success" | "error" | "warning" | "info">;
429
+ readonly type: PropType<"default" | "error" | "info" | "success" | "warning">;
430
430
  readonly default: "default";
431
431
  };
432
432
  readonly prefix: StringConstructor;
@@ -630,7 +630,7 @@ declare const _default: (level: '1' | '2' | '3' | '4' | '5' | '6') => import("vu
630
630
  ulPadding: string;
631
631
  }, any>>>;
632
632
  }>>, {
633
- type: "default" | "success" | "error" | "warning" | "info";
633
+ type: "default" | "error" | "info" | "success" | "warning";
634
634
  alignText: boolean;
635
635
  }>;
636
636
  export default _default;
@@ -1,6 +1,6 @@
1
1
  export declare const NH1: import("vue").DefineComponent<{
2
2
  readonly type: {
3
- readonly type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
3
+ readonly type: import("vue").PropType<"default" | "error" | "info" | "success" | "warning">;
4
4
  readonly default: "default";
5
5
  };
6
6
  readonly prefix: StringConstructor;
@@ -217,7 +217,7 @@ export declare const NH1: import("vue").DefineComponent<{
217
217
  }>;
218
218
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
219
219
  readonly type: {
220
- readonly type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
220
+ readonly type: import("vue").PropType<"default" | "error" | "info" | "success" | "warning">;
221
221
  readonly default: "default";
222
222
  };
223
223
  readonly prefix: StringConstructor;
@@ -421,12 +421,12 @@ export declare const NH1: import("vue").DefineComponent<{
421
421
  ulPadding: string;
422
422
  }, any>>>;
423
423
  }>>, {
424
- type: "default" | "success" | "error" | "warning" | "info";
424
+ type: "default" | "error" | "info" | "success" | "warning";
425
425
  alignText: boolean;
426
426
  }>;
427
427
  export declare const NH2: import("vue").DefineComponent<{
428
428
  readonly type: {
429
- readonly type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
429
+ readonly type: import("vue").PropType<"default" | "error" | "info" | "success" | "warning">;
430
430
  readonly default: "default";
431
431
  };
432
432
  readonly prefix: StringConstructor;
@@ -643,7 +643,7 @@ export declare const NH2: import("vue").DefineComponent<{
643
643
  }>;
644
644
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
645
645
  readonly type: {
646
- readonly type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
646
+ readonly type: import("vue").PropType<"default" | "error" | "info" | "success" | "warning">;
647
647
  readonly default: "default";
648
648
  };
649
649
  readonly prefix: StringConstructor;
@@ -847,12 +847,12 @@ export declare const NH2: import("vue").DefineComponent<{
847
847
  ulPadding: string;
848
848
  }, any>>>;
849
849
  }>>, {
850
- type: "default" | "success" | "error" | "warning" | "info";
850
+ type: "default" | "error" | "info" | "success" | "warning";
851
851
  alignText: boolean;
852
852
  }>;
853
853
  export declare const NH3: import("vue").DefineComponent<{
854
854
  readonly type: {
855
- readonly type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
855
+ readonly type: import("vue").PropType<"default" | "error" | "info" | "success" | "warning">;
856
856
  readonly default: "default";
857
857
  };
858
858
  readonly prefix: StringConstructor;
@@ -1069,7 +1069,7 @@ export declare const NH3: import("vue").DefineComponent<{
1069
1069
  }>;
1070
1070
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1071
1071
  readonly type: {
1072
- readonly type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
1072
+ readonly type: import("vue").PropType<"default" | "error" | "info" | "success" | "warning">;
1073
1073
  readonly default: "default";
1074
1074
  };
1075
1075
  readonly prefix: StringConstructor;
@@ -1273,12 +1273,12 @@ export declare const NH3: import("vue").DefineComponent<{
1273
1273
  ulPadding: string;
1274
1274
  }, any>>>;
1275
1275
  }>>, {
1276
- type: "default" | "success" | "error" | "warning" | "info";
1276
+ type: "default" | "error" | "info" | "success" | "warning";
1277
1277
  alignText: boolean;
1278
1278
  }>;
1279
1279
  export declare const NH4: import("vue").DefineComponent<{
1280
1280
  readonly type: {
1281
- readonly type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
1281
+ readonly type: import("vue").PropType<"default" | "error" | "info" | "success" | "warning">;
1282
1282
  readonly default: "default";
1283
1283
  };
1284
1284
  readonly prefix: StringConstructor;
@@ -1495,7 +1495,7 @@ export declare const NH4: import("vue").DefineComponent<{
1495
1495
  }>;
1496
1496
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1497
1497
  readonly type: {
1498
- readonly type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
1498
+ readonly type: import("vue").PropType<"default" | "error" | "info" | "success" | "warning">;
1499
1499
  readonly default: "default";
1500
1500
  };
1501
1501
  readonly prefix: StringConstructor;
@@ -1699,12 +1699,12 @@ export declare const NH4: import("vue").DefineComponent<{
1699
1699
  ulPadding: string;
1700
1700
  }, any>>>;
1701
1701
  }>>, {
1702
- type: "default" | "success" | "error" | "warning" | "info";
1702
+ type: "default" | "error" | "info" | "success" | "warning";
1703
1703
  alignText: boolean;
1704
1704
  }>;
1705
1705
  export declare const NH5: import("vue").DefineComponent<{
1706
1706
  readonly type: {
1707
- readonly type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
1707
+ readonly type: import("vue").PropType<"default" | "error" | "info" | "success" | "warning">;
1708
1708
  readonly default: "default";
1709
1709
  };
1710
1710
  readonly prefix: StringConstructor;
@@ -1921,7 +1921,7 @@ export declare const NH5: import("vue").DefineComponent<{
1921
1921
  }>;
1922
1922
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1923
1923
  readonly type: {
1924
- readonly type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
1924
+ readonly type: import("vue").PropType<"default" | "error" | "info" | "success" | "warning">;
1925
1925
  readonly default: "default";
1926
1926
  };
1927
1927
  readonly prefix: StringConstructor;
@@ -2125,12 +2125,12 @@ export declare const NH5: import("vue").DefineComponent<{
2125
2125
  ulPadding: string;
2126
2126
  }, any>>>;
2127
2127
  }>>, {
2128
- type: "default" | "success" | "error" | "warning" | "info";
2128
+ type: "default" | "error" | "info" | "success" | "warning";
2129
2129
  alignText: boolean;
2130
2130
  }>;
2131
2131
  export declare const NH6: import("vue").DefineComponent<{
2132
2132
  readonly type: {
2133
- readonly type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
2133
+ readonly type: import("vue").PropType<"default" | "error" | "info" | "success" | "warning">;
2134
2134
  readonly default: "default";
2135
2135
  };
2136
2136
  readonly prefix: StringConstructor;
@@ -2347,7 +2347,7 @@ export declare const NH6: import("vue").DefineComponent<{
2347
2347
  }>;
2348
2348
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2349
2349
  readonly type: {
2350
- readonly type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
2350
+ readonly type: import("vue").PropType<"default" | "error" | "info" | "success" | "warning">;
2351
2351
  readonly default: "default";
2352
2352
  };
2353
2353
  readonly prefix: StringConstructor;
@@ -2551,6 +2551,6 @@ export declare const NH6: import("vue").DefineComponent<{
2551
2551
  ulPadding: string;
2552
2552
  }, any>>>;
2553
2553
  }>>, {
2554
- type: "default" | "success" | "error" | "warning" | "info";
2554
+ type: "default" | "error" | "info" | "success" | "warning";
2555
2555
  alignText: boolean;
2556
2556
  }>;
@@ -377,7 +377,7 @@ declare const _default: import("vue").DefineComponent<{
377
377
  } | undefined;
378
378
  };
379
379
  }>;
380
- progressStatus: import("vue").ComputedRef<"success" | "error" | "info">;
380
+ progressStatus: import("vue").ComputedRef<"error" | "info" | "success">;
381
381
  buttonType: import("vue").ComputedRef<"error" | undefined>;
382
382
  showProgress: import("vue").ComputedRef<boolean>;
383
383
  disabled: import("vue").Ref<boolean>;
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
6
6
  required: true;
7
7
  };
8
8
  status: {
9
- type: PropType<"success" | "error" | "info">;
9
+ type: PropType<"error" | "info" | "success">;
10
10
  required: true;
11
11
  };
12
12
  }, {
@@ -380,7 +380,7 @@ declare const _default: import("vue").DefineComponent<{
380
380
  required: true;
381
381
  };
382
382
  status: {
383
- type: PropType<"success" | "error" | "info">;
383
+ type: PropType<"error" | "info" | "success">;
384
384
  required: true;
385
385
  };
386
386
  }>>, {
package/es/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "2.25.1";
1
+ declare const _default: "2.25.2";
2
2
  export default _default;
package/es/version.js CHANGED
@@ -1 +1 @@
1
- export default '2.25.1';
1
+ export default '2.25.2';
@@ -51,6 +51,7 @@ declare const _default: import("vue").DefineComponent<{
51
51
  type: BooleanConstructor;
52
52
  default: boolean;
53
53
  };
54
+ disableInlineTheme: BooleanConstructor;
54
55
  onToggle: PropType<(tmNode: TreeNode<SelectOption>) => void>;
55
56
  theme: PropType<import("../../../_mixins").Theme<"InternalSelectMenu", {
56
57
  optionFontSizeSmall: string;
@@ -209,6 +210,8 @@ declare const _default: import("vue").DefineComponent<{
209
210
  }, any>;
210
211
  }>>>;
211
212
  }, {
213
+ themeClass?: import("vue").Ref<string> | undefined;
214
+ onRender?: (() => void) | undefined;
212
215
  selfRef: import("vue").Ref<HTMLElement | null>;
213
216
  getPendingTmNode: () => TreeNode<import("../../../select/src/interface").SelectBaseOption<string | number, string | ((option: import("../../../select/src/interface").SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>, import("../../../select/src/interface").SelectBaseOption<string | number, string | ((option: import("../../../select/src/interface").SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>, import("../../../select/src/interface").SelectBaseOption<string | number, string | ((option: import("../../../select/src/interface").SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>> | null;
214
217
  prev: () => void;
@@ -422,7 +425,7 @@ declare const _default: import("vue").DefineComponent<{
422
425
  '--n-loading-size': string;
423
426
  } | {
424
427
  width: string | undefined;
425
- })[]>;
428
+ } | undefined)[]>;
426
429
  itemSize: import("vue").ComputedRef<number>;
427
430
  padding: import("vue").ComputedRef<import("seemly").Margin>;
428
431
  flattenedNodes: import("vue").ComputedRef<TreeNode<import("../../../select/src/interface").SelectBaseOption<string | number, string | ((option: import("../../../select/src/interface").SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>, SelectGroupOption, SelectIgnoredOption>[]>;
@@ -486,6 +489,7 @@ declare const _default: import("vue").DefineComponent<{
486
489
  type: BooleanConstructor;
487
490
  default: boolean;
488
491
  };
492
+ disableInlineTheme: BooleanConstructor;
489
493
  onToggle: PropType<(tmNode: TreeNode<SelectOption>) => void>;
490
494
  theme: PropType<import("../../../_mixins").Theme<"InternalSelectMenu", {
491
495
  optionFontSizeSmall: string;
@@ -650,6 +654,7 @@ declare const _default: import("vue").DefineComponent<{
650
654
  multiple: boolean;
651
655
  focusable: boolean;
652
656
  loading: boolean;
657
+ disableInlineTheme: boolean;
653
658
  scrollable: boolean;
654
659
  autoPending: boolean;
655
660
  virtualScroll: boolean;