antdv-next 1.4.2 → 1.4.4

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 (48) hide show
  1. package/dist/_util/statusUtils.d.ts +1 -1
  2. package/dist/_util/wave/index.js +1 -1
  3. package/dist/antd-with-locales.esm.js +10362 -10320
  4. package/dist/antd-with-locales.js +78 -78
  5. package/dist/antd.css +1 -1
  6. package/dist/antd.esm.js +9259 -9217
  7. package/dist/antd.js +53 -53
  8. package/dist/border-beam/style/index.js +2 -2
  9. package/dist/checkbox/style/index.js +3 -3
  10. package/dist/collapse/style/index.js +1 -1
  11. package/dist/descriptions/hooks/useItems.d.ts +8 -8
  12. package/dist/form/Form.js +23 -6
  13. package/dist/form/FormItem/index.js +25 -2
  14. package/dist/form/context.d.ts +3 -1
  15. package/dist/form/hooks/useVariant.d.ts +1 -1
  16. package/dist/form/util.d.ts +7 -1
  17. package/dist/form/util.js +9 -1
  18. package/dist/grid/col.js +2 -2
  19. package/dist/image/hooks/usePreviewConfig.d.ts +2 -2
  20. package/dist/input/Search.js +19 -13
  21. package/dist/layout/style/sider.js +1 -1
  22. package/dist/package.js +1 -1
  23. package/dist/radio/style/index.js +1 -5
  24. package/dist/segmented/style/index.js +2 -7
  25. package/dist/splitter/SplitBar.js +1 -12
  26. package/dist/splitter/Splitter.js +6 -4
  27. package/dist/style/motion/index.d.ts +2 -2
  28. package/dist/style/motion/index.js +2 -2
  29. package/dist/style/motion/util.d.ts +8 -1
  30. package/dist/style/motion/util.js +13 -1
  31. package/dist/switch/style/index.js +2 -2
  32. package/dist/tabs/index.d.ts +33 -10
  33. package/dist/tabs/index.js +3 -2
  34. package/dist/tag/hooks/useColor.d.ts +1 -1
  35. package/dist/tag/index.js +1 -0
  36. package/dist/timeline/Timeline.d.ts +6 -6
  37. package/dist/timeline/Timeline.js +21 -4
  38. package/dist/timeline/useItems.d.ts +7 -2
  39. package/dist/timeline/useItems.js +14 -4
  40. package/dist/tour/panelRender.js +2 -8
  41. package/dist/tree/DirectoryTree.js +4 -4
  42. package/dist/tree/Tree.d.ts +3 -1
  43. package/dist/tree/Tree.js +10 -7
  44. package/dist/tree/style/index.js +4 -4
  45. package/dist/typography/style/mixins.js +3 -3
  46. package/package.json +3 -3
  47. package/web-tags.json +1420 -1416
  48. package/web-types.json +4335 -4321
@@ -4,6 +4,6 @@ import { ValidateStatus } from "../form/FormItem/index.js";
4
4
  declare const _InputStatuses: readonly ["warning", "error", "", "success", "validating"];
5
5
  type InputStatus = (typeof _InputStatuses)[number];
6
6
  declare function getStatusClassNames(prefixCls: string, status?: ValidateStatus, hasFeedback?: boolean): string;
7
- declare function getMergedStatus(contextStatus?: ValidateStatus, customStatus?: InputStatus): "" | "success" | "warning" | "error" | "validating" | undefined;
7
+ declare function getMergedStatus(contextStatus?: ValidateStatus, customStatus?: InputStatus): "" | "success" | "error" | "warning" | "validating" | undefined;
8
8
  //#endregion
9
9
  export { InputStatus, getMergedStatus, getStatusClassNames };
@@ -43,7 +43,7 @@ var wave_default = /* @__PURE__ */ defineComponent((props, { slots }) => {
43
43
  teardown?.();
44
44
  teardown = null;
45
45
  const node = containerRef.value;
46
- if (!node || node.nodeType !== window.Node.ELEMENT_NODE || props.disabled) return;
46
+ if (!node || node.nodeType !== 1 || props.disabled) return;
47
47
  const triggerType = configCtx.value.wave?.triggerType;
48
48
  const eventName = triggerType && triggerType in TRIGGER_TYPE_TO_EVENT_MAP ? TRIGGER_TYPE_TO_EVENT_MAP[triggerType] : "click";
49
49
  node.addEventListener(eventName, handleEvent, true);