fsk-design-system 1.0.14 → 1.0.16

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 (149) hide show
  1. package/dist/Alert-CGNs1E7Z.js +388 -0
  2. package/dist/{Avatar-CDi3rNOE.js → Avatar-CuDuvGNh.js} +126 -126
  3. package/dist/Badge-C46NtA97.js +692 -0
  4. package/dist/{Breadcrumb-BjOAKCV9.js → Breadcrumb-CdANoxvR.js} +78 -78
  5. package/dist/Button-Bt34w4fJ.js +113 -0
  6. package/dist/Card-DbmxvQ6R.js +121 -0
  7. package/dist/{Carousel-D1e_UmKl.js → Carousel-DI8dimyj.js} +425 -425
  8. package/dist/Cascader.form-kIlOSnAa.js +1207 -0
  9. package/dist/Checkbox.form-BAQvotGg.js +125 -0
  10. package/dist/{Collapse-tQArLk0b.js → Collapse-DyTr-nYI.js} +170 -170
  11. package/dist/Comment-BcSlD_WX.js +218 -0
  12. package/dist/ControlWrapper-B9yH9JQL.js +133 -0
  13. package/dist/{CountrySelect-BzJsDgys.js → CountrySelect-BAoqn-1R.js} +44 -44
  14. package/dist/{DatePicker.form-Cf7tyMlV.js → DatePicker.form-BhmKRJ8C.js} +1052 -1052
  15. package/dist/{Divider-BkCZHSVK.js → Divider-O2sYaAgG.js} +42 -42
  16. package/dist/{Dragger.form-B1_bQ3jE.js → Dragger.form-iWutnYD0.js} +340 -340
  17. package/dist/Drawer-Kz7Jhmpn.js +744 -0
  18. package/dist/Dropdown-DE_-5uPD.js +49 -0
  19. package/dist/{Empty--64XfvuM.js → Empty-D08Vpl1S.js} +1 -1
  20. package/dist/FileButton-Cwyn01XX.js +70 -0
  21. package/dist/Form-DPFrQuEa.js +165 -0
  22. package/dist/Grid-BA0qqtKk.js +17 -0
  23. package/dist/Header-Duj1MPr7.js +160 -0
  24. package/dist/Hint-D2ARoJcf.js +23 -0
  25. package/dist/Input.form-CGqrfa89.js +510 -0
  26. package/dist/InputNumber.form-971uipC6.js +1243 -0
  27. package/dist/Layout-Bi6CxQMm.js +126 -0
  28. package/dist/LinkCard-BkoVdpyj.js +108 -0
  29. package/dist/{Modal-Cnp2JORd.js → Modal-DyKIlW3w.js} +283 -283
  30. package/dist/Notification-YJzZgTWs.js +52 -0
  31. package/dist/Notifications-DRK3J940.js +44 -0
  32. package/dist/Pagination-CzF3KzKQ.js +33 -0
  33. package/dist/{Plug-DU1VK_Sq.js → Plug-CdYkNyW1.js} +12 -12
  34. package/dist/Popover-DY7IUutv.js +26 -0
  35. package/dist/{Progress-pqZZOuit.js → Progress-LdQutlLe.js} +12 -12
  36. package/dist/Radio.form-DV6vu_jc.js +145 -0
  37. package/dist/Search.form-Gyaevts5.js +58 -0
  38. package/dist/Select.form-DJpyLdEn.js +136 -0
  39. package/dist/Skeleton-DLoF5WWi.js +58 -0
  40. package/dist/Support-BoZIJOnF.js +92 -0
  41. package/dist/Switch.form-B4PujVMU.js +506 -0
  42. package/dist/{Table-BCWAp84k.js → Table-BbESyiuM.js} +622 -622
  43. package/dist/Tabs-CCAllZ5F.js +1939 -0
  44. package/dist/Tag-BpDch8qp.js +318 -0
  45. package/dist/TextArea.form-Bu9PUCnQ.js +83 -0
  46. package/dist/Tooltip-CPOX72aN.js +54 -0
  47. package/dist/Upload.form-BHoeRKa4.js +38 -0
  48. package/dist/UserMenu-d-6kvmei.js +129 -0
  49. package/dist/assets/fsk-design-system.css +1 -1
  50. package/dist/components/ActionMenu/index.js +26 -26
  51. package/dist/components/Alert/index.js +1 -1
  52. package/dist/components/Avatar/index.js +1 -1
  53. package/dist/components/Badge/index.js +1 -1
  54. package/dist/components/Breadcrumb/index.js +1 -1
  55. package/dist/components/Button/Button.d.ts +2 -2
  56. package/dist/components/Button/Button.types.d.ts +2 -2
  57. package/dist/components/Button/index.js +1 -1
  58. package/dist/components/Card/LinkCard/index.js +1 -1
  59. package/dist/components/Card/index.js +1 -1
  60. package/dist/components/Carousel/index.js +1 -1
  61. package/dist/components/Cascader/Cascader.d.ts +1 -0
  62. package/dist/components/Cascader/index.js +1 -1
  63. package/dist/components/Checkbox/index.js +1 -1
  64. package/dist/components/Collapse/index.js +1 -1
  65. package/dist/components/Comment/Form/index.js +1 -1
  66. package/dist/components/Comment/index.js +1 -1
  67. package/dist/components/ControlWrapper/ControlWrapper.types.d.ts +1 -0
  68. package/dist/components/ControlWrapper/index.js +1 -1
  69. package/dist/components/DatePicker/DatePicker.d.ts +1 -0
  70. package/dist/components/DatePicker/index.js +1 -1
  71. package/dist/components/Divider/index.js +1 -1
  72. package/dist/components/Drawer/index.js +1 -1
  73. package/dist/components/Dropdown/index.js +1 -1
  74. package/dist/components/Empty/index.js +1 -1
  75. package/dist/components/Grid/index.js +1 -1
  76. package/dist/components/Hint/index.js +1 -1
  77. package/dist/components/Input/Input.d.ts +1 -0
  78. package/dist/components/Input/index.js +1 -1
  79. package/dist/components/InputNumber/InputNumber.d.ts +1 -0
  80. package/dist/components/InputNumber/index.js +1 -1
  81. package/dist/components/Layout/Header/Notifications/index.js +1 -1
  82. package/dist/components/Layout/Header/Support/index.js +1 -1
  83. package/dist/components/Layout/Header/index.js +1 -1
  84. package/dist/components/Layout/index.js +1 -1
  85. package/dist/components/Modal/index.js +1 -1
  86. package/dist/components/Notification/index.js +2 -2
  87. package/dist/components/Pagination/index.js +1 -1
  88. package/dist/components/PhoneInput/CountrySelect/CountrySelect.styles.d.ts +1 -0
  89. package/dist/components/PhoneInput/CountrySelect/index.js +1 -1
  90. package/dist/components/PhoneInput/index.js +2 -2
  91. package/dist/components/Plug/index.js +1 -1
  92. package/dist/components/Popover/index.js +1 -1
  93. package/dist/components/Progress/index.js +1 -1
  94. package/dist/components/Radio/index.js +1 -1
  95. package/dist/components/Search/Search.d.ts +1 -0
  96. package/dist/components/Search/index.js +1 -1
  97. package/dist/components/Select/Select.d.ts +1 -0
  98. package/dist/components/Select/index.js +1 -1
  99. package/dist/components/Skeleton/index.js +1 -1
  100. package/dist/components/Switch/index.js +1 -1
  101. package/dist/components/Table/index.js +1 -1
  102. package/dist/components/Tabs/index.js +1 -1
  103. package/dist/components/Tag/index.js +1 -1
  104. package/dist/components/TextArea/TextArea.d.ts +1 -0
  105. package/dist/components/TextArea/index.js +1 -1
  106. package/dist/components/Tooltip/index.js +1 -1
  107. package/dist/components/Upload/Dragger/index.js +1 -1
  108. package/dist/components/Upload/FileButton/index.js +1 -1
  109. package/dist/components/Upload/index.js +1 -1
  110. package/dist/components/UserMenu/index.js +1 -1
  111. package/dist/components/index.js +40 -40
  112. package/dist/index.js +40 -40
  113. package/dist/{useNotification-LD1BRJ8Z.js → useNotification-DZmgFYiQ.js} +1 -1
  114. package/package.json +1 -1
  115. package/dist/Alert--cYo3w2d.js +0 -388
  116. package/dist/Badge-DnpBFDI6.js +0 -692
  117. package/dist/Button-CWdwljaq.js +0 -114
  118. package/dist/Card-D5oF4llz.js +0 -121
  119. package/dist/Cascader.form-DYPu1vbm.js +0 -1207
  120. package/dist/Checkbox.form-Czq4z_EW.js +0 -125
  121. package/dist/Comment-BQw-4Qfm.js +0 -218
  122. package/dist/ControlWrapper-BgYO-xiK.js +0 -86
  123. package/dist/Drawer-BkC1itIm.js +0 -744
  124. package/dist/Dropdown-BKxkTwpT.js +0 -49
  125. package/dist/FileButton-CsPsXBAv.js +0 -70
  126. package/dist/Form-BviXLnt9.js +0 -165
  127. package/dist/Grid-B3mJMezP.js +0 -17
  128. package/dist/Header-DuXeKQ4s.js +0 -160
  129. package/dist/Hint-BJTwkiak.js +0 -23
  130. package/dist/Input.form-BVJJWyjJ.js +0 -510
  131. package/dist/InputNumber.form-B3irPAlD.js +0 -1243
  132. package/dist/Layout-CZloCtCb.js +0 -126
  133. package/dist/LinkCard-De6UG-g0.js +0 -108
  134. package/dist/Notification-Hrgh9r1R.js +0 -52
  135. package/dist/Notifications-Bscsub2G.js +0 -44
  136. package/dist/Pagination-zCwNZ1Ff.js +0 -33
  137. package/dist/Popover-CDbP9smb.js +0 -26
  138. package/dist/Radio.form-DQVaJBOO.js +0 -145
  139. package/dist/Search.form-C4qt1ion.js +0 -66
  140. package/dist/Select.form-WS8PEo1l.js +0 -135
  141. package/dist/Skeleton-Cf8f-mkn.js +0 -58
  142. package/dist/Support-DZ6q2uZL.js +0 -92
  143. package/dist/Switch.form-QlANKxlQ.js +0 -506
  144. package/dist/Tabs-hOePGCTY.js +0 -1939
  145. package/dist/Tag-qjDLM8uv.js +0 -318
  146. package/dist/TextArea.form-8RVw5Cs6.js +0 -83
  147. package/dist/Tooltip-NHncClKj.js +0 -54
  148. package/dist/Upload.form-CvHcfCm_.js +0 -38
  149. package/dist/UserMenu-CFSJ9Bsb.js +0 -129
@@ -0,0 +1,388 @@
1
+ import { j as G } from "./emotion-react-jsx-runtime.browser.esm-BzbZGnbz.js";
2
+ import { S as ee } from "./close-CdIAG4DZ.js";
3
+ import { B as oe } from "./Button-Bt34w4fJ.js";
4
+ import { c as te } from "./emotion-styled-base.browser.esm-B5hPI6jF.js";
5
+ import * as i from "react";
6
+ import { R as ne } from "./CheckCircleFilled-aYCJP93m.js";
7
+ import { R as re } from "./CloseCircleFilled-aRFAKWCB.js";
8
+ import { R as ie } from "./CloseOutlined-DyiYNFyx.js";
9
+ import { R as ce } from "./ExclamationCircleFilled-B4-6opLK.js";
10
+ import { R as ae } from "./InfoCircleFilled-S2iy4_UJ.js";
11
+ import { g as se, e as le, b as L, u as de, c as S, v as me, G as pe, H as w, I as ue, J as ge, h as be, i as fe } from "./genStyleUtils-git9kFa9.js";
12
+ import { b as ye } from "./index-C2fzIJCf.js";
13
+ import { p as Ie } from "./pickAttrs-J0nYVkHF.js";
14
+ import { r as Ce } from "./reactNode-CwSzDQK_.js";
15
+ import { d as ve } from "./warning-CzsCZOlq.js";
16
+ const x = (e, o, t, n, r) => ({
17
+ background: e,
18
+ border: `${L(n.lineWidth)} ${n.lineType} ${o}`,
19
+ [`${r}-icon`]: {
20
+ color: t
21
+ }
22
+ }), he = (e) => {
23
+ const {
24
+ componentCls: o,
25
+ motionDurationSlow: t,
26
+ marginXS: n,
27
+ marginSM: r,
28
+ fontSize: c,
29
+ fontSizeLG: l,
30
+ lineHeight: d,
31
+ borderRadiusLG: u,
32
+ motionEaseInOutCirc: m,
33
+ withDescriptionIconSize: g,
34
+ colorText: b,
35
+ colorTextHeading: I,
36
+ withDescriptionPadding: C,
37
+ defaultPadding: a
38
+ } = e;
39
+ return {
40
+ [o]: Object.assign(Object.assign({}, le(e)), {
41
+ position: "relative",
42
+ display: "flex",
43
+ alignItems: "center",
44
+ padding: a,
45
+ wordWrap: "break-word",
46
+ borderRadius: u,
47
+ [`&${o}-rtl`]: {
48
+ direction: "rtl"
49
+ },
50
+ [`${o}-content`]: {
51
+ flex: 1,
52
+ minWidth: 0
53
+ },
54
+ [`${o}-icon`]: {
55
+ marginInlineEnd: n,
56
+ lineHeight: 0
57
+ },
58
+ "&-description": {
59
+ display: "none",
60
+ fontSize: c,
61
+ lineHeight: d
62
+ },
63
+ "&-message": {
64
+ color: I
65
+ },
66
+ [`&${o}-motion-leave`]: {
67
+ overflow: "hidden",
68
+ opacity: 1,
69
+ transition: `max-height ${t} ${m}, opacity ${t} ${m},
70
+ padding-top ${t} ${m}, padding-bottom ${t} ${m},
71
+ margin-bottom ${t} ${m}`
72
+ },
73
+ [`&${o}-motion-leave-active`]: {
74
+ maxHeight: 0,
75
+ marginBottom: "0 !important",
76
+ paddingTop: 0,
77
+ paddingBottom: 0,
78
+ opacity: 0
79
+ }
80
+ }),
81
+ [`${o}-with-description`]: {
82
+ alignItems: "flex-start",
83
+ padding: C,
84
+ [`${o}-icon`]: {
85
+ marginInlineEnd: r,
86
+ fontSize: g,
87
+ lineHeight: 0
88
+ },
89
+ [`${o}-message`]: {
90
+ display: "block",
91
+ marginBottom: n,
92
+ color: I,
93
+ fontSize: l
94
+ },
95
+ [`${o}-description`]: {
96
+ display: "block",
97
+ color: b
98
+ }
99
+ },
100
+ [`${o}-banner`]: {
101
+ marginBottom: 0,
102
+ border: "0 !important",
103
+ borderRadius: 0
104
+ }
105
+ };
106
+ }, xe = (e) => {
107
+ const {
108
+ componentCls: o,
109
+ colorSuccess: t,
110
+ colorSuccessBorder: n,
111
+ colorSuccessBg: r,
112
+ colorWarning: c,
113
+ colorWarningBorder: l,
114
+ colorWarningBg: d,
115
+ colorError: u,
116
+ colorErrorBorder: m,
117
+ colorErrorBg: g,
118
+ colorInfo: b,
119
+ colorInfoBorder: I,
120
+ colorInfoBg: C
121
+ } = e;
122
+ return {
123
+ [o]: {
124
+ "&-success": x(r, n, t, e, o),
125
+ "&-info": x(C, I, b, e, o),
126
+ "&-warning": x(d, l, c, e, o),
127
+ "&-error": Object.assign(Object.assign({}, x(g, m, u, e, o)), {
128
+ [`${o}-description > pre`]: {
129
+ margin: 0,
130
+ padding: 0
131
+ }
132
+ })
133
+ }
134
+ };
135
+ }, Ge = (e) => {
136
+ const {
137
+ componentCls: o,
138
+ iconCls: t,
139
+ motionDurationMid: n,
140
+ marginXS: r,
141
+ fontSizeIcon: c,
142
+ colorIcon: l,
143
+ colorIconHover: d
144
+ } = e;
145
+ return {
146
+ [o]: {
147
+ "&-action": {
148
+ marginInlineStart: r
149
+ },
150
+ [`${o}-close-icon`]: {
151
+ marginInlineStart: r,
152
+ padding: 0,
153
+ overflow: "hidden",
154
+ fontSize: c,
155
+ lineHeight: L(c),
156
+ backgroundColor: "transparent",
157
+ border: "none",
158
+ outline: "none",
159
+ cursor: "pointer",
160
+ [`${t}-close`]: {
161
+ color: l,
162
+ transition: `color ${n}`,
163
+ "&:hover": {
164
+ color: d
165
+ }
166
+ }
167
+ },
168
+ "&-close-text": {
169
+ color: l,
170
+ transition: `color ${n}`,
171
+ "&:hover": {
172
+ color: d
173
+ }
174
+ }
175
+ }
176
+ };
177
+ }, Se = (e) => ({
178
+ withDescriptionIconSize: e.fontSizeHeading3,
179
+ defaultPadding: `${e.paddingContentVerticalSM}px 12px`,
180
+ withDescriptionPadding: `${e.paddingMD}px ${e.paddingContentHorizontalLG}px`
181
+ }), Ne = se("Alert", (e) => [he(e), xe(e), Ge(e)], Se);
182
+ var E = function(e, o) {
183
+ var t = {};
184
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && o.indexOf(n) < 0 && (t[n] = e[n]);
185
+ if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
186
+ o.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[r]) && (t[n[r]] = e[n[r]]);
187
+ return t;
188
+ };
189
+ const $e = {
190
+ success: ne,
191
+ info: ae,
192
+ error: re,
193
+ warning: ce
194
+ }, We = (e) => {
195
+ const {
196
+ icon: o,
197
+ prefixCls: t,
198
+ type: n
199
+ } = e, r = $e[n] || null;
200
+ return o ? Ce(o, /* @__PURE__ */ i.createElement("span", {
201
+ className: `${t}-icon`
202
+ }, o), () => ({
203
+ className: S(`${t}-icon`, o.props.className)
204
+ })) : /* @__PURE__ */ i.createElement(r, {
205
+ className: `${t}-icon`
206
+ });
207
+ }, Be = (e) => {
208
+ const {
209
+ isClosable: o,
210
+ prefixCls: t,
211
+ closeIcon: n,
212
+ handleClose: r,
213
+ ariaProps: c
214
+ } = e, l = n === !0 || n === void 0 ? /* @__PURE__ */ i.createElement(ie, null) : n;
215
+ return o ? /* @__PURE__ */ i.createElement("button", Object.assign({
216
+ type: "button",
217
+ onClick: r,
218
+ className: `${t}-close-icon`,
219
+ tabIndex: 0
220
+ }, c), l) : null;
221
+ }, N = /* @__PURE__ */ i.forwardRef((e, o) => {
222
+ const {
223
+ description: t,
224
+ prefixCls: n,
225
+ message: r,
226
+ banner: c,
227
+ className: l,
228
+ rootClassName: d,
229
+ style: u,
230
+ onMouseEnter: m,
231
+ onMouseLeave: g,
232
+ onClick: b,
233
+ afterClose: I,
234
+ showIcon: C,
235
+ closable: a,
236
+ closeText: v,
237
+ closeIcon: f,
238
+ action: $,
239
+ id: z
240
+ } = e, A = E(e, ["description", "prefixCls", "message", "banner", "className", "rootClassName", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "closeIcon", "action", "id"]), [W, V] = i.useState(!1);
241
+ process.env.NODE_ENV !== "production" && ve("Alert").deprecated(!v, "closeText", "closable.closeIcon");
242
+ const B = i.useRef(null);
243
+ i.useImperativeHandle(o, () => ({
244
+ nativeElement: B.current
245
+ }));
246
+ const {
247
+ getPrefixCls: j,
248
+ direction: M,
249
+ closable: y,
250
+ closeIcon: H,
251
+ className: J,
252
+ style: k
253
+ } = de("alert"), s = j("alert", n), [Y, _, D] = Ne(s), P = (p) => {
254
+ var h;
255
+ V(!0), (h = e.onClose) === null || h === void 0 || h.call(e, p);
256
+ }, R = i.useMemo(() => e.type !== void 0 ? e.type : c ? "warning" : "info", [e.type, c]), Q = i.useMemo(() => typeof a == "object" && a.closeIcon || v ? !0 : typeof a == "boolean" ? a : f !== !1 && f !== null && f !== void 0 ? !0 : !!y, [v, f, a, y]), O = c && C === void 0 ? !0 : C, T = S(s, `${s}-${R}`, {
257
+ [`${s}-with-description`]: !!t,
258
+ [`${s}-no-icon`]: !O,
259
+ [`${s}-banner`]: !!c,
260
+ [`${s}-rtl`]: M === "rtl"
261
+ }, J, l, d, D, _), F = Ie(A, {
262
+ aria: !0,
263
+ data: !0
264
+ }), U = i.useMemo(() => typeof a == "object" && a.closeIcon ? a.closeIcon : v || (f !== void 0 ? f : typeof y == "object" && y.closeIcon ? y.closeIcon : H), [f, a, v, H]), K = i.useMemo(() => {
265
+ const p = a ?? y;
266
+ if (typeof p == "object") {
267
+ const {
268
+ closeIcon: h
269
+ } = p;
270
+ return E(p, ["closeIcon"]);
271
+ }
272
+ return {};
273
+ }, [a, y]);
274
+ return Y(/* @__PURE__ */ i.createElement(ye, {
275
+ visible: !W,
276
+ motionName: `${s}-motion`,
277
+ motionAppear: !1,
278
+ motionEnter: !1,
279
+ onLeaveStart: (p) => ({
280
+ maxHeight: p.offsetHeight
281
+ }),
282
+ onLeaveEnd: I
283
+ }, (p, h) => {
284
+ let {
285
+ className: X,
286
+ style: q
287
+ } = p;
288
+ return /* @__PURE__ */ i.createElement("div", Object.assign({
289
+ id: z,
290
+ ref: me(B, h),
291
+ "data-show": !W,
292
+ className: S(T, X),
293
+ style: Object.assign(Object.assign(Object.assign({}, k), u), q),
294
+ onMouseEnter: m,
295
+ onMouseLeave: g,
296
+ onClick: b,
297
+ role: "alert"
298
+ }, F), O ? /* @__PURE__ */ i.createElement(We, {
299
+ description: t,
300
+ icon: e.icon,
301
+ prefixCls: s,
302
+ type: R
303
+ }) : null, /* @__PURE__ */ i.createElement("div", {
304
+ className: `${s}-content`
305
+ }, r ? /* @__PURE__ */ i.createElement("div", {
306
+ className: `${s}-message`
307
+ }, r) : null, t ? /* @__PURE__ */ i.createElement("div", {
308
+ className: `${s}-description`
309
+ }, t) : null), $ ? /* @__PURE__ */ i.createElement("div", {
310
+ className: `${s}-action`
311
+ }, $) : null, /* @__PURE__ */ i.createElement(Be, {
312
+ isClosable: Q,
313
+ prefixCls: s,
314
+ closeIcon: U,
315
+ handleClose: P,
316
+ ariaProps: K
317
+ }));
318
+ }));
319
+ });
320
+ process.env.NODE_ENV !== "production" && (N.displayName = "Alert");
321
+ function He(e, o, t) {
322
+ return o = w(o), pe(e, ue() ? Reflect.construct(o, t || [], w(e).constructor) : o.apply(e, t));
323
+ }
324
+ let Re = /* @__PURE__ */ function(e) {
325
+ function o() {
326
+ var t;
327
+ return fe(this, o), t = He(this, o, arguments), t.state = {
328
+ error: void 0,
329
+ info: {
330
+ componentStack: ""
331
+ }
332
+ }, t;
333
+ }
334
+ return ge(o, e), be(o, [{
335
+ key: "componentDidCatch",
336
+ value: function(n, r) {
337
+ this.setState({
338
+ error: n,
339
+ info: r
340
+ });
341
+ }
342
+ }, {
343
+ key: "render",
344
+ value: function() {
345
+ const {
346
+ message: n,
347
+ description: r,
348
+ id: c,
349
+ children: l
350
+ } = this.props, {
351
+ error: d,
352
+ info: u
353
+ } = this.state, m = (u == null ? void 0 : u.componentStack) || null, g = typeof n > "u" ? (d || "").toString() : n, b = typeof r > "u" ? m : r;
354
+ return d ? /* @__PURE__ */ i.createElement(N, {
355
+ id: c,
356
+ type: "error",
357
+ message: g,
358
+ description: /* @__PURE__ */ i.createElement("pre", {
359
+ style: {
360
+ fontSize: "0.9em",
361
+ overflowX: "auto"
362
+ }
363
+ }, b)
364
+ }) : l;
365
+ }
366
+ }]);
367
+ }(i.Component);
368
+ const Z = N;
369
+ Z.ErrorBoundary = Re;
370
+ function Oe() {
371
+ return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
372
+ }
373
+ const Xe = /* @__PURE__ */ te(Z, process.env.NODE_ENV === "production" ? {
374
+ target: "e17981h30"
375
+ } : {
376
+ target: "e17981h30",
377
+ label: "StyledAlert"
378
+ })(process.env.NODE_ENV === "production" ? {
379
+ name: "1osgt02",
380
+ styles: "padding:var(--gap-md) var(--gap-lg);background-color:var(--color-surface-base-primary);border:1px solid var(--color-border-tertiary);border-radius:var(--radius-md);box-shadow:var(--shadow-alert);.ant-alert-icon{margin-right:var(--gap-4xs);font-size:24px;}.ant-alert-message{font:var(--font-subheading-xl);color:var(--color-text-primary);&:not(:last-child){margin-bottom:var(--gap-3xs);}}.ant-alert-description{font:var(--font-body-regular-m);color:var(--color-text-primary);}.ant-alert-close-icon button svg{width:14px;height:14px;fill:var(--color-icon-tertiary);}svg{width:1em;height:1em;fill:currentColor;}"
381
+ } : {
382
+ name: "1osgt02",
383
+ styles: "padding:var(--gap-md) var(--gap-lg);background-color:var(--color-surface-base-primary);border:1px solid var(--color-border-tertiary);border-radius:var(--radius-md);box-shadow:var(--shadow-alert);.ant-alert-icon{margin-right:var(--gap-4xs);font-size:24px;}.ant-alert-message{font:var(--font-subheading-xl);color:var(--color-text-primary);&:not(:last-child){margin-bottom:var(--gap-3xs);}}.ant-alert-description{font:var(--font-body-regular-m);color:var(--color-text-primary);}.ant-alert-close-icon button svg{width:14px;height:14px;fill:var(--color-icon-tertiary);}svg{width:1em;height:1em;fill:currentColor;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkM6L1VzZXJzL2tpcmlsbC9EZXNrdG9wL3dvcmsvZnNrL2Rlc2lnbi1zeXN0ZW0vZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvQWxlcnQvQWxlcnQuc3R5bGVzLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHd0MiLCJmaWxlIjoiQzovVXNlcnMva2lyaWxsL0Rlc2t0b3Avd29yay9mc2svZGVzaWduLXN5c3RlbS9mcm9udGVuZC9zcmMvY29tcG9uZW50cy9BbGVydC9BbGVydC5zdHlsZXMudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tIFwiQGVtb3Rpb24vc3R5bGVkXCJcbmltcG9ydCBBbGVydCBmcm9tIFwiYW50ZC9lcy9hbGVydFwiXG5cbmV4cG9ydCBjb25zdCBTdHlsZWRBbGVydCA9IHN0eWxlZChBbGVydClgXG4gIHBhZGRpbmc6IHZhcigtLWdhcC1tZCkgdmFyKC0tZ2FwLWxnKTtcblxuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1jb2xvci1zdXJmYWNlLWJhc2UtcHJpbWFyeSk7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLWNvbG9yLWJvcmRlci10ZXJ0aWFyeSk7XG4gIGJvcmRlci1yYWRpdXM6IHZhcigtLXJhZGl1cy1tZCk7XG4gIGJveC1zaGFkb3c6IHZhcigtLXNoYWRvdy1hbGVydCk7XG5cbiAgLmFudC1hbGVydC1pY29uIHtcbiAgICBtYXJnaW4tcmlnaHQ6IHZhcigtLWdhcC00eHMpO1xuXG4gICAgZm9udC1zaXplOiAyNHB4O1xuICB9XG5cbiAgLmFudC1hbGVydC1tZXNzYWdlIHtcbiAgICBmb250OiB2YXIoLS1mb250LXN1YmhlYWRpbmcteGwpO1xuICAgIGNvbG9yOiB2YXIoLS1jb2xvci10ZXh0LXByaW1hcnkpO1xuXG4gICAgJjpub3QoOmxhc3QtY2hpbGQpIHtcbiAgICAgIG1hcmdpbi1ib3R0b206IHZhcigtLWdhcC0zeHMpO1xuICAgIH1cbiAgfVxuXG4gIC5hbnQtYWxlcnQtZGVzY3JpcHRpb24ge1xuICAgIGZvbnQ6IHZhcigtLWZvbnQtYm9keS1yZWd1bGFyLW0pO1xuICAgIGNvbG9yOiB2YXIoLS1jb2xvci10ZXh0LXByaW1hcnkpO1xuICB9XG5cbiAgLmFudC1hbGVydC1jbG9zZS1pY29uIGJ1dHRvbiBzdmcge1xuICAgIHdpZHRoOiAxNHB4O1xuICAgIGhlaWdodDogMTRweDtcblxuICAgIGZpbGw6IHZhcigtLWNvbG9yLWljb24tdGVydGlhcnkpO1xuICB9XG5cbiAgc3ZnIHtcbiAgICB3aWR0aDogMWVtO1xuICAgIGhlaWdodDogMWVtO1xuXG4gICAgZmlsbDogY3VycmVudENvbG9yO1xuICB9XG5gXG4iXX0= */",
384
+ toString: Oe
385
+ }), Pe = (e) => /* @__PURE__ */ G(Xe, { closeIcon: /* @__PURE__ */ G(oe, { type: "link-secondary", size: "xs", icon: /* @__PURE__ */ G(ee, {}) }), ...e });
386
+ export {
387
+ Pe as A
388
+ };