@unicom-cloud/ui 0.8.70 → 0.8.71

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 (257) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +2 -2
  3. package/AutoComplete.js +1 -1
  4. package/BackTop.js +2 -2
  5. package/Badge.js +2 -2
  6. package/Breadcrumb.js +2 -2
  7. package/Button.js +1 -1
  8. package/Calendar.js +1 -1
  9. package/Card.js +1 -1
  10. package/Carousel.js +1 -1
  11. package/Cascader.js +1 -1
  12. package/Checkbox.js +1 -1
  13. package/Collapse.js +1 -1
  14. package/ColorPicker.js +1 -1
  15. package/Comment.js +1 -1
  16. package/ConfigProvider.js +1 -1
  17. package/Copy.js +1 -1
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +1 -1
  20. package/Divider.js +1 -1
  21. package/Draggable.js +1 -1
  22. package/Dropdown.js +2 -2
  23. package/Empty.js +1 -1
  24. package/Icon.js +1 -1
  25. package/IconHover.js +1 -1
  26. package/Image.js +1 -1
  27. package/InputNumber.js +1 -1
  28. package/Layout.js +1 -1
  29. package/Link.js +1 -1
  30. package/List.js +1 -1
  31. package/Mentions.js +1 -1
  32. package/Menu.js +1 -1
  33. package/Message.js +2 -2
  34. package/Modal.js +1 -1
  35. package/Notice.js +2 -2
  36. package/Notification.js +2 -2
  37. package/OverflowEllipsis.js +1 -1
  38. package/PageHeader.js +1 -1
  39. package/Popconfirm.js +1 -1
  40. package/Popover.js +1 -1
  41. package/Progress.js +1 -1
  42. package/Radio.js +1 -1
  43. package/Rate.js +1 -1
  44. package/ResizeBox.js +1 -1
  45. package/Result.js +1 -1
  46. package/Skeleton.js +1 -1
  47. package/Slider.js +1 -1
  48. package/Space.js +1 -1
  49. package/SpeechSynthesis.js +3 -3
  50. package/Spin.js +1 -1
  51. package/Statistic.js +1 -1
  52. package/Steps.js +1 -1
  53. package/Switch.js +2 -2
  54. package/Table.js +1 -1
  55. package/Tabs.js +1 -1
  56. package/Tag.js +1 -1
  57. package/Tooltip.js +1 -1
  58. package/Transfer.js +1 -1
  59. package/Tree.js +1 -1
  60. package/Trigger.js +3 -3
  61. package/affix/index.js +1 -1
  62. package/alert/index.js +2 -2
  63. package/anchor/Anchor.js +1 -1
  64. package/anchor/Link.js +1 -1
  65. package/auto-complete/index.js +1 -1
  66. package/avatar/Avatar.js +1 -1
  67. package/avatar/Group.js +1 -1
  68. package/back-top/index.js +2 -2
  69. package/badge/Count.js +1 -1
  70. package/badge/index.js +2 -2
  71. package/breadcrumb/index.js +2 -2
  72. package/button/Group.js +1 -1
  73. package/button/index.js +1 -1
  74. package/calendar/index.js +2 -2
  75. package/card/Grid.js +1 -1
  76. package/card/Meta.js +1 -1
  77. package/card/index.js +1 -1
  78. package/carousel/Arrow.js +1 -1
  79. package/carousel/Indicator.js +1 -1
  80. package/carousel/index.js +1 -1
  81. package/cascader/Cascader.js +2 -2
  82. package/cascader/index.js +1 -1
  83. package/cascader/util.js +1 -1
  84. package/checkbox/Checkbox.js +2 -2
  85. package/checkbox/Group.js +2 -2
  86. package/checkbox/index.js +1 -1
  87. package/chunk/{Cm9BS47C.js → 8V534cS3.js} +3 -3
  88. package/chunk/{CCv-5KFt.js → BHL-PzAD.js} +149 -152
  89. package/chunk/{B80D01PB.js → BlElSWJg.js} +2 -2
  90. package/chunk/{Bh8AO6R8.js → BzPNDYAX.js} +1 -1
  91. package/chunk/{tIRvN_q7.js → C5X9bDyX.js} +3 -3
  92. package/chunk/C6AJxF7d.js +1820 -0
  93. package/chunk/CQTxhsUk.js +170 -0
  94. package/chunk/{DFf75sXd.js → CUs1AOCZ.js} +2 -2
  95. package/chunk/{CASwN1hB.js → CZWGeRVA.js} +188 -183
  96. package/chunk/{C48SmsN-.js → ClaNycDy.js} +27 -18
  97. package/chunk/{-C2QiGwq.js → D2DSUGNT.js} +1 -1
  98. package/chunk/{DonYzv30.js → DV7ywe_q.js} +1 -1
  99. package/chunk/{YUHbzjGj.js → Dm1NCTkX.js} +3 -3
  100. package/chunk/{CSk3yQDO.js → EHx6bIK_.js} +3 -3
  101. package/chunk/{iOWILwNv.js → I1dqAgn_.js} +3 -3
  102. package/chunk/{DzVH9IBy.js → fFjj2KuF.js} +1 -1
  103. package/chunk/{bgmEVbGy.js → pEI3aB9Z.js} +2 -2
  104. package/collapse/Collapse.js +2 -2
  105. package/collapse/Item.js +3 -3
  106. package/collapse/index.js +1 -1
  107. package/color-picker/ControlBar.js +1 -1
  108. package/color-picker/InputAlpha.js +1 -1
  109. package/color-picker/InputHex.js +1 -1
  110. package/color-picker/InputRgb.js +1 -1
  111. package/color-picker/Palette.js +1 -1
  112. package/color-picker/Panel.js +2 -2
  113. package/color-picker/index.js +1 -1
  114. package/comment/index.js +1 -1
  115. package/config-provider/ConfigProvider.js +1 -1
  116. package/config-provider/context.js +1 -1
  117. package/config-provider/index.js +2 -2
  118. package/copy/index.js +1 -1
  119. package/date-picker/Picker.js +1 -1
  120. package/date-picker/PickerRange.js +2 -2
  121. package/date-picker/index.js +1 -1
  122. package/descriptions/index.js +1 -1
  123. package/divider/index.js +1 -1
  124. package/draggable/index.js +1 -1
  125. package/drawer/Drawer.js +3 -3
  126. package/dropdown/Button.js +1 -1
  127. package/dropdown/index.js +2 -2
  128. package/empty/index.js +1 -1
  129. package/form/Form.js +1 -1
  130. package/form/FormItem.js +2 -2
  131. package/form/util.js +11 -11
  132. package/grid/Col.js +1 -1
  133. package/grid/Row.js +1 -1
  134. package/grid/grid-item.js +1 -1
  135. package/grid/grid.js +1 -1
  136. package/hooks/index.js +1 -1
  137. package/hooks/useOverrideRef.js +1 -1
  138. package/icon/index.js +1 -1
  139. package/icon-hover/index.js +1 -1
  140. package/image/Image.js +2 -2
  141. package/image/ImagePreview.js +4 -4
  142. package/image/ImagePreviewArrow.js +1 -1
  143. package/image/ImagePreviewGroup.js +1 -1
  144. package/image/index.js +1 -1
  145. package/index.js +16 -16
  146. package/input/Group.js +1 -1
  147. package/input/Input.js +1 -1
  148. package/input/InputElement.js +1 -1
  149. package/input/Password.js +1 -1
  150. package/input/Search.js +1 -1
  151. package/input/Textarea.js +1 -1
  152. package/input-number/index.js +1 -1
  153. package/input-tag/InputTag.js +2 -2
  154. package/layout/Content.js +1 -1
  155. package/layout/Footer.js +1 -1
  156. package/layout/Header.js +1 -1
  157. package/layout/Sider.js +1 -1
  158. package/layout/index.js +1 -1
  159. package/link/index.js +1 -1
  160. package/list/Item.js +1 -1
  161. package/list/Meta.js +1 -1
  162. package/list/index.js +1 -1
  163. package/locale/en-US.js +1 -1
  164. package/locale/tr-TR.js +1 -1
  165. package/mentions/index.js +1 -1
  166. package/menu/Menu.js +2 -2
  167. package/menu/OverflowWrap.js +1 -1
  168. package/menu/index.js +2 -2
  169. package/message/index.js +2 -2
  170. package/message/useMessage.js +1 -1
  171. package/modal/Confirm.js +2 -2
  172. package/modal/Modal.js +4 -4
  173. package/modal/index.js +1 -1
  174. package/notice/index.js +2 -2
  175. package/notification/index.js +2 -2
  176. package/notification/useNotification.js +1 -1
  177. package/overflow-ellipsis/OverflowItem.js +1 -1
  178. package/overflow-ellipsis/index.js +1 -1
  179. package/package.json +1 -1
  180. package/page-header/index.js +1 -1
  181. package/pagination/PageItem.js +1 -1
  182. package/pagination/PageJumper.js +1 -1
  183. package/pagination/PageOption.js +1 -1
  184. package/pagination/Pagination.js +1 -1
  185. package/picker/Input.js +1 -1
  186. package/picker/InputRange.js +1 -1
  187. package/popconfirm/index.js +1 -1
  188. package/popover/index.js +1 -1
  189. package/progress/index.js +1 -1
  190. package/radio/Group.js +2 -2
  191. package/radio/Radio.js +2 -2
  192. package/radio/index.js +2 -2
  193. package/rate/index.js +1 -1
  194. package/resize-box/ResizeTrigger.js +1 -1
  195. package/resize-box/Split.js +1 -1
  196. package/resize-box/SplitGroup.js +1 -1
  197. package/resize-box/index.js +1 -1
  198. package/result/index.js +1 -1
  199. package/select/Option.js +1 -1
  200. package/select/Select.js +2 -2
  201. package/select-view/Core.js +1 -1
  202. package/skeleton/index.js +1 -1
  203. package/slider/Button.js +1 -1
  204. package/slider/index.js +1 -1
  205. package/space/index.js +1 -1
  206. package/speech-synthesis/index.js +39 -39
  207. package/spin/DotLoading.js +1 -1
  208. package/spin/index.js +1 -1
  209. package/statistic/Countdown.js +1 -1
  210. package/statistic/index.js +1 -1
  211. package/steps/index.js +1 -1
  212. package/switch/index.js +2 -2
  213. package/table/Table.js +2 -2
  214. package/table/index.js +3 -3
  215. package/tabs/Tab.js +2 -2
  216. package/tabs/TabContent.js +2 -2
  217. package/tabs/TabPane.js +1 -1
  218. package/tabs/index.js +2 -2
  219. package/tag/index.js +1 -1
  220. package/time-picker/Picker.js +1 -1
  221. package/time-picker/TimePicker.js +1 -1
  222. package/timeline/Item.js +1 -1
  223. package/timeline/Timeline.js +1 -1
  224. package/tooltip/index.js +1 -1
  225. package/transfer/Item.js +2 -2
  226. package/transfer/List.js +2 -2
  227. package/transfer/index.js +1 -1
  228. package/tree/Animation.js +3 -3
  229. package/tree/Node.js +3 -3
  230. package/tree/NodeList.js +1 -1
  231. package/tree/Tree.js +2 -2
  232. package/tree/index.js +1 -1
  233. package/tree-select/Select.js +1 -1
  234. package/trigger/index.js +3 -3
  235. package/types/locale/en-US.d.ts +12 -12
  236. package/types/locale/tr-TR.d.ts +12 -12
  237. package/types/table/interface.d.ts +3 -1
  238. package/types/utils/react19Adapter.d.ts +1 -0
  239. package/typography/Base.js +1 -1
  240. package/typography/Ellipsis.js +11 -11
  241. package/typography/Paragraph.js +1 -1
  242. package/typography/Typography.js +1 -1
  243. package/typography/index.js +11 -11
  244. package/upload/TriggerNode.js +1 -1
  245. package/upload/Upload.js +2 -2
  246. package/upload/Uploader.js +2 -2
  247. package/utils/CSSTransition.js +1 -1
  248. package/utils/contextHolder.js +1 -1
  249. package/utils/index.js +4 -4
  250. package/utils/react19Adapter.js +3 -0
  251. package/utils/reactDOM.js +1 -1
  252. package/verification-code/VerificationCode.js +1 -1
  253. package/version/index.js +1 -1
  254. package/virtual-list/VirtualList.js +1 -1
  255. package/watermark/Watermark.js +1 -1
  256. package/chunk/DC-pxreh.js +0 -1817
  257. package/chunk/DcYqcuGl.js +0 -166
package/chunk/DcYqcuGl.js DELETED
@@ -1,166 +0,0 @@
1
- import { jsx as i, jsxs as z, Fragment as O } from "react/jsx-runtime";
2
- import j from "lodash/isFunction";
3
- import w from "lodash/isNil";
4
- import B, { createContext as H, useContext as G, useRef as L } from "react";
5
- import { a as A, I as Q } from "./CASwN1hB.js";
6
- import { u as D } from "./BFTV6myl.js";
7
- import { u as F } from "./CdaT1b_F.js";
8
- import { m as I } from "./JPPo5nY_.js";
9
- import { o as S } from "./BKKEev13.js";
10
- import T from "lodash/isArray";
11
- import q from "lodash/isPlainObject";
12
- import { pickTriggerPropsFromRest as E } from "../utils/constant.js";
13
- import { a as J } from "./ClqoGc3r.js";
14
- const _ = {
15
- type: "radio"
16
- }, K = {
17
- type: "radio",
18
- mode: "outline",
19
- direction: "horizontal"
20
- }, x = H(_), ne = ({ children: C }) => /* @__PURE__ */ i(x.Provider, { value: _, children: C });
21
- function M(C) {
22
- const {
23
- getPrefixCls: b,
24
- size: y,
25
- componentConfig: d,
26
- rtl: N
27
- } = G(A), e = D(
28
- C,
29
- K,
30
- d == null ? void 0 : d["Radio.Group"]
31
- ), {
32
- style: a,
33
- className: o,
34
- name: c,
35
- children: m,
36
- direction: p,
37
- type: v,
38
- mode: k,
39
- options: g,
40
- disabled: s
41
- } = e, [l, R] = F(void 0, {
42
- defaultValue: e.defaultValue,
43
- value: e.value
44
- }), $ = e.size || y, n = b("radio"), P = I(
45
- `${n}-group`,
46
- {
47
- [`${n}-group-type-button`]: v !== "radio",
48
- [`${n}-size-${$}`]: !!$,
49
- [`${n}-mode-${k}`]: !!k,
50
- [`${n}-group-disabled`]: s,
51
- [`${n}-group-direction-vertical`]: p === "vertical",
52
- [`${n}-group-rtl`]: N
53
- },
54
- o
55
- ), u = {
56
- onChangeValue: (r, f) => {
57
- const { onChange: V } = e;
58
- r !== l && ("value" in e || R(r), V == null || V(r, f));
59
- },
60
- type: v,
61
- value: l,
62
- disabled: s,
63
- group: !0,
64
- name: c
65
- };
66
- return /* @__PURE__ */ i(x.Provider, { value: u, children: /* @__PURE__ */ i(
67
- "div",
68
- {
69
- className: P,
70
- role: "radiogroup",
71
- style: a,
72
- ...E(e),
73
- ...J(e),
74
- children: g && T(g) ? g.map((r, f) => q(r) ? /* @__PURE__ */ i(
75
- h,
76
- {
77
- disabled: s || r.disabled,
78
- value: r.value,
79
- children: r.label
80
- },
81
- r.value
82
- ) : /* @__PURE__ */ i(h, { value: r, disabled: s, children: r }, f)) : m
83
- }
84
- ) });
85
- }
86
- M.displayName = "RadioGroup";
87
- function h(C) {
88
- const b = L(null), { getPrefixCls: y, componentConfig: d, rtl: N } = G(A), e = D(
89
- C,
90
- {},
91
- d == null ? void 0 : d.Radio
92
- ), a = G(x), o = y("radio"), c = { ...e };
93
- a.group && (c.checked = a.value === e.value, c.disabled = "disabled" in e ? e.disabled : a.disabled);
94
- const { disabled: m, children: p, value: v, style: k, className: g, ...s } = c, [l, R] = F(!1, {
95
- value: c.checked,
96
- defaultValue: c.defaultChecked
97
- }), $ = I(
98
- `${o}${a.type === "button" ? "-button" : ""}`,
99
- {
100
- [`${o}-checked`]: l,
101
- [`${o}-disabled`]: m,
102
- [`${o}-rtl`]: N
103
- },
104
- g
105
- ), n = (t) => {
106
- var f;
107
- const { onChange: u, value: r } = c;
108
- m || (a.group ? (f = a.onChangeValue) == null || f.call(a, r, t) : !("checked" in e) && !l && R(!0), !l && (u == null || u(!0, t)));
109
- }, P = B.useCallback(
110
- (t) => {
111
- var u;
112
- j(e.children) && (t.preventDefault(), b.current && b.current.click()), (u = s.onClick) == null || u.call(s, t);
113
- },
114
- [e.children, s.onClick]
115
- );
116
- return /* @__PURE__ */ z(
117
- "label",
118
- {
119
- ...S(s, ["checked", "onChange"]),
120
- onClick: P,
121
- style: k,
122
- className: $,
123
- children: [
124
- /* @__PURE__ */ i(
125
- "input",
126
- {
127
- ref: b,
128
- disabled: m,
129
- value: v || "",
130
- type: "radio",
131
- ...a.name ? { name: a.name } : {},
132
- checked: l,
133
- onChange: (t) => {
134
- t.persist(), n(t);
135
- },
136
- onClick: (t) => {
137
- t.stopPropagation();
138
- }
139
- }
140
- ),
141
- j(p) ? p({ checked: l }) : a.type === "radio" ? /* @__PURE__ */ z(O, { children: [
142
- /* @__PURE__ */ i(
143
- Q,
144
- {
145
- prefix: o,
146
- className: `${o}-mask-wrapper`,
147
- disabled: l || m,
148
- children: /* @__PURE__ */ i("div", { className: `${o}-mask` })
149
- }
150
- ),
151
- !w(p) && /* @__PURE__ */ i("span", { className: `${o}-text`, children: p })
152
- ] }) : a.type === "button" && /* @__PURE__ */ i("span", { className: `${o}-button-inner`, children: p })
153
- ]
154
- }
155
- );
156
- }
157
- h.__PQB_RADIO = !0;
158
- h.displayName = "Radio";
159
- h.Group = M;
160
- h.GroupContext = x;
161
- export {
162
- ne as C,
163
- M as G,
164
- h as R,
165
- x as a
166
- };