fsk-design-system 1.0.9 → 1.0.10
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.
- package/README.md +96 -5
- package/dist/{Alert-D1wr1y_4.js → Alert-DNaF3jet.js} +112 -111
- package/dist/{AntdIcon-BCGIMzZv.js → AntdIcon-BG3srajz.js} +2 -2
- package/dist/{Avatar-CVP72dQm.js → Avatar-ZJMZ33mP.js} +137 -137
- package/dist/Badge-BCxjxt4S.js +692 -0
- package/dist/{BaseInput-DwawWiG_.js → BaseInput-C_B1Zxih.js} +10 -10
- package/dist/{Breadcrumb-BJVl0AJz.js → Breadcrumb-CdANoxvR.js} +85 -85
- package/dist/Button-lje25x8J.js +114 -0
- package/dist/Card-CzGffQ-i.js +121 -0
- package/dist/Carousel-DI8dimyj.js +1676 -0
- package/dist/Cascader.form-F-nJ2QNB.js +1190 -0
- package/dist/CheckCircleFilled-aYCJP93m.js +13 -0
- package/dist/{CheckOutlined-U7vfd4VI.js → CheckOutlined-Bg2fRUnH.js} +2 -2
- package/dist/Checkbox.form-BAQvotGg.js +125 -0
- package/dist/CloseCircleFilled-aRFAKWCB.js +13 -0
- package/dist/{CloseOutlined-fbJ4WTXG.js → CloseOutlined-DyiYNFyx.js} +2 -2
- package/dist/Collapse-DXtse1ow.js +543 -0
- package/dist/Comment-D28NKp8H.js +218 -0
- package/dist/{Compact-D1uMTCAG.js → Compact-DYbe4Vdj.js} +3 -3
- package/dist/ContextIsolator-OnM9Hvhe.js +20 -0
- package/dist/ControlWrapper-BxSELWWi.js +86 -0
- package/dist/CountrySelect-fBd5ZiQg.js +395 -0
- package/dist/{DatePicker.form-BRI9pNxO.js → DatePicker.form-BixW5t-Q.js} +1189 -1188
- package/dist/{Divider-CMtG2ksO.js → Divider-BJYkXCBJ.js} +35 -35
- package/dist/{DownOutlined-D1jJOTXQ.js → DownOutlined-DGxANjCw.js} +2 -2
- package/dist/{Dragger.form-niFnjXxL.js → Dragger.form-sZhmFHDe.js} +340 -340
- package/dist/Drawer-B4yaxsYT.js +744 -0
- package/dist/{Dropdown-UPwivNRM.js → Dropdown-C4pZCoKo.js} +9 -9
- package/dist/Dropdown-CfFJGf2f.js +33 -0
- package/dist/Dropdown-s3RzcOyh.js +49 -0
- package/dist/{Empty-BZt248ZE.js → Empty-D08Vpl1S.js} +15 -235
- package/dist/{ExclamationCircleFilled-CPL3yIxr.js → ExclamationCircleFilled-B4-6opLK.js} +2 -2
- package/dist/{EyeOutlined-B9TSRbM6.js → EyeOutlined-Dh-7A995.js} +2 -2
- package/dist/FileButton-Dw2BXSgR.js +70 -0
- package/dist/{Form-BFW9v8CR.js → Form-DONE195D.js} +22 -21
- package/dist/Form-kiHV6uYc.js +165 -0
- package/dist/Grid-BA0qqtKk.js +17 -0
- package/dist/Header-DbVvWzem.js +160 -0
- package/dist/Hint-DAD0Q9QA.js +23 -0
- package/dist/{InfoCircleFilled-D2043v-A.js → InfoCircleFilled-S2iy4_UJ.js} +2 -2
- package/dist/{Input-B_nLQILJ.js → Input-qD9xd1-v.js} +43 -42
- package/dist/Input.form-i7Xt3Tsc.js +510 -0
- package/dist/InputNumber.form-oKUqxfef.js +1243 -0
- package/dist/{Keyframes-CdXmio0h.js → Keyframes-DfkXW_Wo.js} +1 -1
- package/dist/Layout-V-xLGBHA.js +126 -0
- package/dist/{LeftOutlined-1tDQQPhf.js → LeftOutlined-qcZ0k5UH.js} +2 -2
- package/dist/LinkCard-Cu5Le4Xe.js +108 -0
- package/dist/{LoadingOutlined-HpUhO7bE.js → LoadingOutlined-DY_MYJdQ.js} +2 -2
- package/dist/{Modal-CtcRtVI9.js → Modal-CplATICU.js} +398 -397
- package/dist/Notification-BQS3X_6g.js +52 -0
- package/dist/Notifications-BQGZs-Zz.js +44 -0
- package/dist/{Overflow-Kd7qlB7y.js → Overflow-DF-9gMoe.js} +18 -18
- package/dist/Pagination-6pxHFKa6.js +33 -0
- package/dist/Pagination-DtIlwIS4.js +1097 -0
- package/dist/{Plug-DWhbUHNv.js → Plug-CQqfzzmq.js} +12 -12
- package/dist/Popover-DY7IUutv.js +26 -0
- package/dist/{Portal-QqkQ0Utl.js → Portal-CVRbK3Pe.js} +8 -8
- package/dist/Progress-LdQutlLe.js +33 -0
- package/dist/{PurePanel-DEAKZW07.js → PurePanel-ZUh-aFdG.js} +3 -3
- package/dist/Radio.form-G9rJwD5T.js +145 -0
- package/dist/{RightOutlined-BfKY3K1-.js → RightOutlined-LVIjQRuG.js} +2 -2
- package/dist/Search.form-Dpk9qBSh.js +66 -0
- package/dist/{SearchOutlined-B6VihfOG.js → SearchOutlined-Du06YyLo.js} +2 -2
- package/dist/Select.form-SerOvreX.js +135 -0
- package/dist/{Sider-B6rJ0J4u.js → Sider-DevFVGWw.js} +6 -6
- package/dist/{Skeleton-D-MfmHo3.js → Skeleton-Bb1sXKTT.js} +3 -3
- package/dist/Skeleton-DLoF5WWi.js +58 -0
- package/dist/Support-B86nu8LT.js +92 -0
- package/dist/Switch.form-p2votUCE.js +506 -0
- package/dist/{Table-BQ2_r0P8.js → Table-DTneIVIH.js} +2118 -1939
- package/dist/Tabs-CCAllZ5F.js +1939 -0
- package/dist/Tag-Duf3gr3Z.js +318 -0
- package/dist/{TextArea-CfAc-OGk.js → TextArea-MAcU8p21.js} +39 -39
- package/dist/TextArea.form-THq3IOmM.js +83 -0
- package/dist/Tooltip-DLEXa-WS.js +54 -0
- package/dist/Upload.form--nkl5KCG.js +38 -0
- package/dist/UserMenu-ULi6m6RE.js +129 -0
- package/dist/assets/fsk-design-system.css +1 -1
- package/dist/{asyncToGenerator-VJaJfE5i.js → asyncToGenerator-CyXMaK7W.js} +1 -1
- package/dist/{button-DVSbMy5Q.js → button-C0V0zaj3.js} +8 -8
- package/dist/{colors-CUodDmCS.js → colors-C27tjFI_.js} +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/Avatar/Avatar.types.d.ts +1 -1
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Badge/Badge.types.d.ts +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +1 -1
- package/dist/components/Breadcrumb/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/Card/LinkCard/index.js +1 -1
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Carousel/Carousel.types.d.ts +4 -1
- package/dist/components/Carousel/index.js +1 -1
- package/dist/components/Cascader/Dropdown/index.js +1 -1
- package/dist/components/Cascader/index.js +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts +1 -0
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/Collapse/Collapse.types.d.ts +1 -1
- package/dist/components/Collapse/index.js +1 -1
- package/dist/components/Comment/Form/index.js +1 -1
- package/dist/components/Comment/index.js +1 -1
- package/dist/components/ControlWrapper/index.js +1 -1
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/Divider/Divider.types.d.ts +1 -1
- package/dist/components/Divider/index.js +1 -1
- package/dist/components/Drawer/Drawer.types.d.ts +1 -1
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/Dropdown/Dropdown.types.d.ts +2 -1
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/Empty/index.js +1 -1
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Grid/Grid.types.d.ts +1 -1
- package/dist/components/Grid/index.js +1 -1
- package/dist/components/Hint/Hint.types.d.ts +1 -1
- package/dist/components/Hint/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/InputNumber/index.js +1 -1
- package/dist/components/Layout/Header/Notifications/index.js +1 -1
- package/dist/components/Layout/Header/Support/index.js +1 -1
- package/dist/components/Layout/Header/index.js +1 -1
- package/dist/components/Layout/index.js +1 -1
- package/dist/components/Modal/Modal.types.d.ts +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Notification/index.js +2 -2
- package/dist/components/Pagination/Pagination.types.d.ts +1 -1
- package/dist/components/Pagination/index.js +1 -1
- package/dist/components/PhoneInput/CountrySelect/CountrySelect.d.ts +2 -0
- package/dist/components/PhoneInput/CountrySelect/CountrySelect.styles.d.ts +34 -0
- package/dist/components/PhoneInput/CountrySelect/CountrySelect.types.d.ts +12 -0
- package/dist/components/PhoneInput/CountrySelect/FlagIcon.d.ts +2 -0
- package/dist/components/PhoneInput/CountrySelect/flagSprite.d.ts +1 -0
- package/dist/components/PhoneInput/CountrySelect/index.d.ts +1 -0
- package/dist/components/PhoneInput/CountrySelect/index.js +4 -0
- package/dist/components/PhoneInput/PhoneInput.d.ts +12 -0
- package/dist/components/PhoneInput/PhoneInput.form.d.ts +8 -0
- package/dist/components/PhoneInput/PhoneInput.types.d.ts +50 -0
- package/dist/components/PhoneInput/consts.d.ts +1 -0
- package/dist/components/PhoneInput/country-data.d.ts +2 -0
- package/dist/components/PhoneInput/fnUtils.d.ts +16 -0
- package/dist/components/PhoneInput/index.d.ts +2 -0
- package/dist/components/PhoneInput/index.js +778 -0
- package/dist/components/PhoneInput/maskUtils.d.ts +26 -0
- package/dist/components/PhoneInput/types.d.ts +50 -0
- package/dist/components/PhoneInput/utils.d.ts +12 -0
- package/dist/components/Plug/index.js +1 -1
- package/dist/components/Popover/index.js +1 -1
- package/dist/components/Progress/Progress.types.d.ts +1 -1
- package/dist/components/Progress/index.js +1 -1
- package/dist/components/Radio/Radio.d.ts +1 -0
- package/dist/components/Radio/Radio.types.d.ts +5 -3
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/Search/index.js +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Skeleton/Skeleton.types.d.ts +1 -1
- package/dist/components/Skeleton/index.js +1 -1
- package/dist/components/Switch/Switch.d.ts +3 -1
- package/dist/components/Switch/Switch.types.d.ts +3 -1
- package/dist/components/Switch/index.js +1 -1
- package/dist/components/Table/Table.types.d.ts +2 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tabs/Tabs.types.d.ts +1 -1
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Tag/Tag.types.d.ts +1 -1
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/Tooltip/Tooltip.types.d.ts +4 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/Upload/Dragger/index.js +1 -1
- package/dist/components/Upload/FileButton/index.js +1 -1
- package/dist/components/Upload/index.js +1 -1
- package/dist/components/UserMenu/index.js +1 -1
- package/dist/components/index.js +41 -41
- package/dist/{conductUtil-B3-kayfh.js → conductUtil-CYNORUEs.js} +2 -2
- package/dist/{context-B7G1ivmq.js → context-DThVckGS.js} +1 -1
- package/dist/{context-DFa7LyyF.js → context-DY7WUUpp.js} +1 -1
- package/dist/{ContextIsolator-uh4Q7jgQ.js → context-kqVeV4UJ.js} +605 -619
- package/dist/{dayjs.min-IPRNq9EA.js → dayjs.min-D0PpFYFu.js} +1 -1
- package/dist/{dropdown-DBLfI8eK.js → dropdown-fV4-3m2E.js} +32 -32
- package/dist/{emotion-react-jsx-runtime.browser.esm-hmfoKnJp.js → emotion-react-jsx-runtime.browser.esm-BzbZGnbz.js} +1 -1
- package/dist/{emotion-styled-base.browser.esm-CqFVMcCW.js → emotion-styled-base.browser.esm-B5hPI6jF.js} +13 -12
- package/dist/{emotion-use-insertion-effect-with-fallbacks.browser.esm-jl_Btwc6.js → emotion-use-insertion-effect-with-fallbacks.browser.esm-BNuOILz2.js} +80 -90
- package/dist/extends-hS2Bh-Yp.js +12 -0
- package/dist/{fade-APVRYNai.js → fade-Dl5MIeUN.js} +3 -3
- package/dist/{genStyleUtils-iNP3vfH3.js → genStyleUtils-git9kFa9.js} +23 -23
- package/dist/{index-DlD8kb-t.js → index-B80dtPNF.js} +9 -9
- package/dist/{index-7LYBJU7M.js → index-BWHaYIrR.js} +8 -8
- package/dist/{index-DR7xwzw_.js → index-Bn9BHWv6.js} +6 -6
- package/dist/{index-BpDSprRt.js → index-C2fzIJCf.js} +4 -4
- package/dist/{index-0PYI_t02.js → index-CCEWPsN8.js} +6 -6
- package/dist/{index-GkE0P2zI.js → index-CbQhHEZw.js} +1 -1
- package/dist/index-CebIc2pv.js +787 -0
- package/dist/index-CkRMhAoS.js +226 -0
- package/dist/index-CzWQa13V.js +162 -0
- package/dist/{index-sSzXDlJR.js → index-DF4bpbnY.js} +42 -42
- package/dist/{index-CmXzJqHw.js → index-D_7UDZau.js} +53 -53
- package/dist/{index-BAyx-FAb.js → index-DoK5TuzG.js} +30 -30
- package/dist/index-DwwsPTMj.js +151 -0
- package/dist/{index-CDdMQ7oE.js → index-MgCUz6v-.js} +105 -105
- package/dist/{index-UP8YSflL.js → index-ZB51fkcy.js} +3 -3
- package/dist/index.js +43 -43
- package/dist/{motion-CXzOKl5B.js → motion-BY0wABFz.js} +2 -2
- package/dist/{move-0O86L-6y.js → move-dcdr2eis.js} +3 -3
- package/dist/{pickAttrs-BzGluepM.js → pickAttrs-J0nYVkHF.js} +1 -1
- package/dist/{progress-CqPCq4YZ.js → progress-DsguH_hx.js} +23 -22
- package/dist/{row-B9Eoxx0R.js → row-D4X6j_VU.js} +25 -25
- package/dist/{toArray-1TS6P5Mz.js → toArray-d3LB_aoV.js} +6 -6
- package/dist/{useBreakpoint-DaCH4uue.js → useBreakpoint-BGWF5Cpd.js} +1 -1
- package/dist/{useBubbleLock-Bb7hpOoY.js → useBubbleLock-BMgphMu5.js} +18 -18
- package/dist/{useCSSVarCls-DhKpMA1r.js → useCSSVarCls-B5Csi9vQ.js} +1 -1
- package/dist/{useClosable-bZXnuaV3.js → useClosable-5u0XZf0-.js} +2 -2
- package/dist/{useIcons-Ct7DkjJD.js → useIcons-Dq1liGGF.js} +8 -8
- package/dist/{useId-D00keubT.js → useId-CT5VQwp3.js} +1 -1
- package/dist/{useLocale-Dj86ZBj7.js → useLocale-CekazLBi.js} +1 -1
- package/dist/{useNotification-Dme_4y0a.js → useNotification-gmj6s978.js} +85 -84
- package/dist/{useShowArrow-B60MXtH5.js → useShowArrow-Bxx5zyxf.js} +10 -10
- package/dist/{useVariants-C5d2PiDs.js → useVariants-3rxDSEcJ.js} +3 -3
- package/dist/{useZIndex-BatUzDoc.js → useZIndex-CfzhFHVe.js} +11 -11
- package/dist/utils/mergeRefs.d.ts +4 -0
- package/dist/{warning-CAogmloc.js → warning-CzsCZOlq.js} +1 -1
- package/dist/{zoom-B1Mw5LS-.js → zoom-B0yh5RmE.js} +3 -3
- package/package.json +16 -10
- package/dist/Badge-uT7c8MNm.js +0 -692
- package/dist/Button-KbLNClbS.js +0 -114
- package/dist/Card-CcNc4oZI.js +0 -121
- package/dist/Carousel-asWOLZhp.js +0 -1654
- package/dist/Cascader.form-DFLUTNTx.js +0 -1190
- package/dist/Checkbox.form-DJYJc-lK.js +0 -269
- package/dist/CloseCircleFilled-D4seZVJM.js +0 -21
- package/dist/Collapse-C_eH1Xe3.js +0 -543
- package/dist/Comment-BZAL9O_s.js +0 -218
- package/dist/ControlWrapper-BTVrWN2e.js +0 -94
- package/dist/Drawer-0pFBuhMu.js +0 -744
- package/dist/Dropdown-C1dqwriB.js +0 -208
- package/dist/Dropdown-CZs-DOv8.js +0 -33
- package/dist/FileButton-DU4YGOAr.js +0 -70
- package/dist/Form-CfXKyb7j.js +0 -165
- package/dist/Grid-D0jdBFZ1.js +0 -17
- package/dist/Header-CSKIhKxZ.js +0 -160
- package/dist/Hint-THEphpKK.js +0 -23
- package/dist/Input.form-BiLHjA3x.js +0 -510
- package/dist/InputNumber.form-Ppku2f6S.js +0 -1242
- package/dist/Layout-CWIm6Sk1.js +0 -126
- package/dist/LinkCard-DQ_PwRWw.js +0 -108
- package/dist/Notification-CMTMtQ3W.js +0 -52
- package/dist/Notifications-DdW01nP-.js +0 -44
- package/dist/Pagination-Cx7mGUu-.js +0 -1118
- package/dist/Popover-v4iRz2_H.js +0 -26
- package/dist/Progress-Dv3oSkiL.js +0 -33
- package/dist/Radio.form-B7OaxxoY.js +0 -133
- package/dist/Search.form-B61d9bOr.js +0 -66
- package/dist/Select.form-DI4205-R.js +0 -282
- package/dist/Skeleton-CBBNyQO1.js +0 -58
- package/dist/Support-B2DVkXjQ.js +0 -92
- package/dist/Switch.form-W754ENDQ.js +0 -494
- package/dist/Tabs-22oHbdCb.js +0 -1899
- package/dist/Tag-CVshmxvt.js +0 -318
- package/dist/TextArea.form-CB8pyvcK.js +0 -83
- package/dist/Tooltip-2ZxR5k0b.js +0 -811
- package/dist/Upload.form-non_8T0-.js +0 -38
- package/dist/UserMenu-BHXzfCQA.js +0 -129
package/README.md
CHANGED
|
@@ -1,5 +1,96 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
# FSK Design System
|
|
2
|
+
|
|
3
|
+
Универсальная дизайн-система с поддержкой тем и кастомных UI-компонентов.
|
|
4
|
+
|
|
5
|
+
## 📦 Установка
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install fsk-design-system
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## ⚡ Быстрый старт
|
|
12
|
+
|
|
13
|
+
1. **Импортируйте стили дизайн-системы в корневом файле:**
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import 'fsk-design-system/styles.css';
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
2. **Оберните приложение в `ThemeProvider`:**
|
|
20
|
+
|
|
21
|
+
```tsx
|
|
22
|
+
import { ThemeProvider } from 'fsk-design-system';
|
|
23
|
+
|
|
24
|
+
const App = () => (
|
|
25
|
+
<ThemeProvider>
|
|
26
|
+
{/* Ваш код */}
|
|
27
|
+
</ThemeProvider>
|
|
28
|
+
);
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
3. **Оберните приложение в `ConfigProvider` для русификации:**
|
|
32
|
+
|
|
33
|
+
```tsx
|
|
34
|
+
import ConfigProvider from "antd/es/config-provider"
|
|
35
|
+
import ruRU from "antd/locale/ru_RU"
|
|
36
|
+
|
|
37
|
+
const App = () => (
|
|
38
|
+
<ConfigProvider locale={ruRU}>
|
|
39
|
+
{/* Ваш код */}
|
|
40
|
+
</ConfigProvider>
|
|
41
|
+
);
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## 🔹 Смена темы через хук `useTheme`
|
|
45
|
+
|
|
46
|
+
```tsx
|
|
47
|
+
import { useTheme } from 'fsk-design-system';
|
|
48
|
+
|
|
49
|
+
const ThemeSwitcher = () => {
|
|
50
|
+
const { changeTheme } = useTheme();
|
|
51
|
+
|
|
52
|
+
return (
|
|
53
|
+
<button onClick={() => changeTheme('dark')}>
|
|
54
|
+
Переключить на тёмную тему
|
|
55
|
+
</button>
|
|
56
|
+
);
|
|
57
|
+
};
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## 🎨 Доступные темы
|
|
61
|
+
|
|
62
|
+
| Название темы | Описание |
|
|
63
|
+
|---------------|----------------|
|
|
64
|
+
| `light` | Светлая тема (по умолчанию) |
|
|
65
|
+
| `dark` | Тёмная тема |
|
|
66
|
+
|
|
67
|
+
## 🧩 Компоненты
|
|
68
|
+
|
|
69
|
+
> Полный список компонентов — см. в [документации](https://design-system.k8s-dev.fsk.ru/)
|
|
70
|
+
|
|
71
|
+
Пример:
|
|
72
|
+
|
|
73
|
+
```tsx
|
|
74
|
+
import { Button } from 'fsk-design-system';
|
|
75
|
+
|
|
76
|
+
<Button size="xl" type="main-secondary">Click me</Button>
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## 📌 Требования
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
"dependencies": {
|
|
83
|
+
"@emotion/css": "^11.13.5",
|
|
84
|
+
"@emotion/react": "^11.13.3",
|
|
85
|
+
"@emotion/styled": "^11.13.0",
|
|
86
|
+
"antd": "^5.23.4",
|
|
87
|
+
"react": "^18.3.1",
|
|
88
|
+
"react-dom": "^18.3.1"
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
npm install @emotion/css@^11.13.5 @emotion/react@^11.13.3 @emotion/styled@^11.13.0 antd@^5.23.4 react@^18.3.1 react-dom@^18.3.1
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { j as S } from "./emotion-react-jsx-runtime.browser.esm-
|
|
1
|
+
import { j as S } from "./emotion-react-jsx-runtime.browser.esm-BzbZGnbz.js";
|
|
2
2
|
import { S as ee } from "./close-CdIAG4DZ.js";
|
|
3
|
-
import { B as oe } from "./Button-
|
|
4
|
-
import { c as te } from "./emotion-styled-base.browser.esm-
|
|
3
|
+
import { B as oe } from "./Button-lje25x8J.js";
|
|
4
|
+
import { c as te } from "./emotion-styled-base.browser.esm-B5hPI6jF.js";
|
|
5
5
|
import * as a from "react";
|
|
6
|
-
import { R as ne
|
|
7
|
-
import { R as
|
|
8
|
-
import { R as
|
|
9
|
-
import { R as ce } from "./
|
|
10
|
-
import {
|
|
11
|
-
import { b as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
6
|
+
import { R as ne } from "./CheckCircleFilled-aYCJP93m.js";
|
|
7
|
+
import { R as re } from "./CloseCircleFilled-aRFAKWCB.js";
|
|
8
|
+
import { R as ae } from "./CloseOutlined-DyiYNFyx.js";
|
|
9
|
+
import { R as ce } from "./ExclamationCircleFilled-B4-6opLK.js";
|
|
10
|
+
import { R as ie } from "./InfoCircleFilled-S2iy4_UJ.js";
|
|
11
|
+
import { g as se, e as le, b as w, u as de, c as G, v as me, G as pe, H as E, 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 ve } from "./pickAttrs-J0nYVkHF.js";
|
|
14
|
+
import { r as Ie } from "./reactNode-CwSzDQK_.js";
|
|
15
|
+
import { d as Ce } from "./warning-CzsCZOlq.js";
|
|
15
16
|
const x = (e, o, t, n, r) => ({
|
|
16
17
|
background: e,
|
|
17
|
-
border: `${
|
|
18
|
+
border: `${w(n.lineWidth)} ${n.lineType} ${o}`,
|
|
18
19
|
[`${r}-icon`]: {
|
|
19
20
|
color: t
|
|
20
21
|
}
|
|
@@ -24,23 +25,23 @@ const x = (e, o, t, n, r) => ({
|
|
|
24
25
|
motionDurationSlow: t,
|
|
25
26
|
marginXS: n,
|
|
26
27
|
marginSM: r,
|
|
27
|
-
fontSize:
|
|
28
|
+
fontSize: c,
|
|
28
29
|
fontSizeLG: l,
|
|
29
30
|
lineHeight: d,
|
|
30
31
|
borderRadiusLG: u,
|
|
31
32
|
motionEaseInOutCirc: m,
|
|
32
33
|
withDescriptionIconSize: g,
|
|
33
34
|
colorText: b,
|
|
34
|
-
colorTextHeading:
|
|
35
|
-
withDescriptionPadding:
|
|
36
|
-
defaultPadding:
|
|
35
|
+
colorTextHeading: v,
|
|
36
|
+
withDescriptionPadding: I,
|
|
37
|
+
defaultPadding: i
|
|
37
38
|
} = e;
|
|
38
39
|
return {
|
|
39
40
|
[o]: Object.assign(Object.assign({}, le(e)), {
|
|
40
41
|
position: "relative",
|
|
41
42
|
display: "flex",
|
|
42
43
|
alignItems: "center",
|
|
43
|
-
padding:
|
|
44
|
+
padding: i,
|
|
44
45
|
wordWrap: "break-word",
|
|
45
46
|
borderRadius: u,
|
|
46
47
|
[`&${o}-rtl`]: {
|
|
@@ -56,11 +57,11 @@ const x = (e, o, t, n, r) => ({
|
|
|
56
57
|
},
|
|
57
58
|
"&-description": {
|
|
58
59
|
display: "none",
|
|
59
|
-
fontSize:
|
|
60
|
+
fontSize: c,
|
|
60
61
|
lineHeight: d
|
|
61
62
|
},
|
|
62
63
|
"&-message": {
|
|
63
|
-
color:
|
|
64
|
+
color: v
|
|
64
65
|
},
|
|
65
66
|
[`&${o}-motion-leave`]: {
|
|
66
67
|
overflow: "hidden",
|
|
@@ -79,7 +80,7 @@ const x = (e, o, t, n, r) => ({
|
|
|
79
80
|
}),
|
|
80
81
|
[`${o}-with-description`]: {
|
|
81
82
|
alignItems: "flex-start",
|
|
82
|
-
padding:
|
|
83
|
+
padding: I,
|
|
83
84
|
[`${o}-icon`]: {
|
|
84
85
|
marginInlineEnd: r,
|
|
85
86
|
fontSize: g,
|
|
@@ -88,7 +89,7 @@ const x = (e, o, t, n, r) => ({
|
|
|
88
89
|
[`${o}-message`]: {
|
|
89
90
|
display: "block",
|
|
90
91
|
marginBottom: n,
|
|
91
|
-
color:
|
|
92
|
+
color: v,
|
|
92
93
|
fontSize: l
|
|
93
94
|
},
|
|
94
95
|
[`${o}-description`]: {
|
|
@@ -108,21 +109,21 @@ const x = (e, o, t, n, r) => ({
|
|
|
108
109
|
colorSuccess: t,
|
|
109
110
|
colorSuccessBorder: n,
|
|
110
111
|
colorSuccessBg: r,
|
|
111
|
-
colorWarning:
|
|
112
|
+
colorWarning: c,
|
|
112
113
|
colorWarningBorder: l,
|
|
113
114
|
colorWarningBg: d,
|
|
114
115
|
colorError: u,
|
|
115
116
|
colorErrorBorder: m,
|
|
116
117
|
colorErrorBg: g,
|
|
117
118
|
colorInfo: b,
|
|
118
|
-
colorInfoBorder:
|
|
119
|
-
colorInfoBg:
|
|
119
|
+
colorInfoBorder: v,
|
|
120
|
+
colorInfoBg: I
|
|
120
121
|
} = e;
|
|
121
122
|
return {
|
|
122
123
|
[o]: {
|
|
123
124
|
"&-success": x(r, n, t, e, o),
|
|
124
|
-
"&-info": x(
|
|
125
|
-
"&-warning": x(d, l,
|
|
125
|
+
"&-info": x(I, v, b, e, o),
|
|
126
|
+
"&-warning": x(d, l, c, e, o),
|
|
126
127
|
"&-error": Object.assign(Object.assign({}, x(g, m, u, e, o)), {
|
|
127
128
|
[`${o}-description > pre`]: {
|
|
128
129
|
margin: 0,
|
|
@@ -137,7 +138,7 @@ const x = (e, o, t, n, r) => ({
|
|
|
137
138
|
iconCls: t,
|
|
138
139
|
motionDurationMid: n,
|
|
139
140
|
marginXS: r,
|
|
140
|
-
fontSizeIcon:
|
|
141
|
+
fontSizeIcon: c,
|
|
141
142
|
colorIcon: l,
|
|
142
143
|
colorIconHover: d
|
|
143
144
|
} = e;
|
|
@@ -150,8 +151,8 @@ const x = (e, o, t, n, r) => ({
|
|
|
150
151
|
marginInlineStart: r,
|
|
151
152
|
padding: 0,
|
|
152
153
|
overflow: "hidden",
|
|
153
|
-
fontSize:
|
|
154
|
-
lineHeight:
|
|
154
|
+
fontSize: c,
|
|
155
|
+
lineHeight: w(c),
|
|
155
156
|
backgroundColor: "transparent",
|
|
156
157
|
border: "none",
|
|
157
158
|
outline: "none",
|
|
@@ -173,157 +174,157 @@ const x = (e, o, t, n, r) => ({
|
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
176
|
};
|
|
176
|
-
},
|
|
177
|
+
}, Ge = (e) => ({
|
|
177
178
|
withDescriptionIconSize: e.fontSizeHeading3,
|
|
178
179
|
defaultPadding: `${e.paddingContentVerticalSM}px 12px`,
|
|
179
180
|
withDescriptionPadding: `${e.paddingMD}px ${e.paddingContentHorizontalLG}px`
|
|
180
|
-
}),
|
|
181
|
-
var
|
|
181
|
+
}), Ne = se("Alert", (e) => [he(e), xe(e), Se(e)], Ge);
|
|
182
|
+
var Z = function(e, o) {
|
|
182
183
|
var t = {};
|
|
183
184
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && o.indexOf(n) < 0 && (t[n] = e[n]);
|
|
184
185
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
|
|
185
186
|
o.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[r]) && (t[n[r]] = e[n[r]]);
|
|
186
187
|
return t;
|
|
187
188
|
};
|
|
188
|
-
const
|
|
189
|
-
success:
|
|
190
|
-
info:
|
|
191
|
-
error:
|
|
192
|
-
warning:
|
|
193
|
-
},
|
|
189
|
+
const $e = {
|
|
190
|
+
success: ne,
|
|
191
|
+
info: ie,
|
|
192
|
+
error: re,
|
|
193
|
+
warning: ce
|
|
194
|
+
}, We = (e) => {
|
|
194
195
|
const {
|
|
195
196
|
icon: o,
|
|
196
197
|
prefixCls: t,
|
|
197
198
|
type: n
|
|
198
|
-
} = e, r =
|
|
199
|
-
return o ?
|
|
199
|
+
} = e, r = $e[n] || null;
|
|
200
|
+
return o ? Ie(o, /* @__PURE__ */ a.createElement("span", {
|
|
200
201
|
className: `${t}-icon`
|
|
201
202
|
}, o), () => ({
|
|
202
|
-
className:
|
|
203
|
+
className: G(`${t}-icon`, o.props.className)
|
|
203
204
|
})) : /* @__PURE__ */ a.createElement(r, {
|
|
204
205
|
className: `${t}-icon`
|
|
205
206
|
});
|
|
206
|
-
},
|
|
207
|
+
}, Be = (e) => {
|
|
207
208
|
const {
|
|
208
209
|
isClosable: o,
|
|
209
210
|
prefixCls: t,
|
|
210
211
|
closeIcon: n,
|
|
211
212
|
handleClose: r,
|
|
212
|
-
ariaProps:
|
|
213
|
+
ariaProps: c
|
|
213
214
|
} = e, l = n === !0 || n === void 0 ? /* @__PURE__ */ a.createElement(ae, null) : n;
|
|
214
215
|
return o ? /* @__PURE__ */ a.createElement("button", Object.assign({
|
|
215
216
|
type: "button",
|
|
216
217
|
onClick: r,
|
|
217
218
|
className: `${t}-close-icon`,
|
|
218
219
|
tabIndex: 0
|
|
219
|
-
},
|
|
220
|
-
},
|
|
220
|
+
}, c), l) : null;
|
|
221
|
+
}, N = /* @__PURE__ */ a.forwardRef((e, o) => {
|
|
221
222
|
const {
|
|
222
223
|
description: t,
|
|
223
224
|
prefixCls: n,
|
|
224
225
|
message: r,
|
|
225
|
-
banner:
|
|
226
|
+
banner: c,
|
|
226
227
|
className: l,
|
|
227
228
|
rootClassName: d,
|
|
228
229
|
style: u,
|
|
229
230
|
onMouseEnter: m,
|
|
230
231
|
onMouseLeave: g,
|
|
231
232
|
onClick: b,
|
|
232
|
-
afterClose:
|
|
233
|
-
showIcon:
|
|
234
|
-
closable:
|
|
235
|
-
closeText:
|
|
233
|
+
afterClose: v,
|
|
234
|
+
showIcon: I,
|
|
235
|
+
closable: i,
|
|
236
|
+
closeText: C,
|
|
236
237
|
closeIcon: f,
|
|
237
|
-
action:
|
|
238
|
-
id:
|
|
239
|
-
} = e,
|
|
240
|
-
process.env.NODE_ENV !== "production" &&
|
|
241
|
-
const
|
|
238
|
+
action: $,
|
|
239
|
+
id: O
|
|
240
|
+
} = e, j = Z(e, ["description", "prefixCls", "message", "banner", "className", "rootClassName", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "closeIcon", "action", "id"]), [W, A] = a.useState(!1);
|
|
241
|
+
process.env.NODE_ENV !== "production" && Ce("Alert").deprecated(!C, "closeText", "closable.closeIcon");
|
|
242
|
+
const B = a.useRef(null);
|
|
242
243
|
a.useImperativeHandle(o, () => ({
|
|
243
|
-
nativeElement:
|
|
244
|
+
nativeElement: B.current
|
|
244
245
|
}));
|
|
245
246
|
const {
|
|
246
247
|
getPrefixCls: V,
|
|
247
|
-
direction:
|
|
248
|
+
direction: M,
|
|
248
249
|
closable: y,
|
|
249
|
-
closeIcon:
|
|
250
|
-
className:
|
|
250
|
+
closeIcon: H,
|
|
251
|
+
className: J,
|
|
251
252
|
style: k
|
|
252
|
-
} = de("alert"),
|
|
253
|
+
} = de("alert"), s = V("alert", n), [_, Y, T] = Ne(s), F = (p) => {
|
|
253
254
|
var h;
|
|
254
|
-
|
|
255
|
-
},
|
|
256
|
-
[`${
|
|
257
|
-
[`${
|
|
258
|
-
[`${
|
|
259
|
-
[`${
|
|
260
|
-
},
|
|
255
|
+
A(!0), (h = e.onClose) === null || h === void 0 || h.call(e, p);
|
|
256
|
+
}, L = a.useMemo(() => e.type !== void 0 ? e.type : c ? "warning" : "info", [e.type, c]), P = a.useMemo(() => typeof i == "object" && i.closeIcon || C ? !0 : typeof i == "boolean" ? i : f !== !1 && f !== null && f !== void 0 ? !0 : !!y, [C, f, i, y]), R = c && I === void 0 ? !0 : I, D = G(s, `${s}-${L}`, {
|
|
257
|
+
[`${s}-with-description`]: !!t,
|
|
258
|
+
[`${s}-no-icon`]: !R,
|
|
259
|
+
[`${s}-banner`]: !!c,
|
|
260
|
+
[`${s}-rtl`]: M === "rtl"
|
|
261
|
+
}, J, l, d, T, Y), Q = ve(j, {
|
|
261
262
|
aria: !0,
|
|
262
263
|
data: !0
|
|
263
|
-
}),
|
|
264
|
-
const p =
|
|
264
|
+
}), U = a.useMemo(() => typeof i == "object" && i.closeIcon ? i.closeIcon : C || (f !== void 0 ? f : typeof y == "object" && y.closeIcon ? y.closeIcon : H), [f, i, C, H]), K = a.useMemo(() => {
|
|
265
|
+
const p = i ?? y;
|
|
265
266
|
if (typeof p == "object") {
|
|
266
267
|
const {
|
|
267
268
|
closeIcon: h
|
|
268
269
|
} = p;
|
|
269
|
-
return
|
|
270
|
+
return Z(p, ["closeIcon"]);
|
|
270
271
|
}
|
|
271
272
|
return {};
|
|
272
|
-
}, [
|
|
273
|
-
return
|
|
274
|
-
visible: !
|
|
275
|
-
motionName: `${
|
|
273
|
+
}, [i, y]);
|
|
274
|
+
return _(/* @__PURE__ */ a.createElement(ye, {
|
|
275
|
+
visible: !W,
|
|
276
|
+
motionName: `${s}-motion`,
|
|
276
277
|
motionAppear: !1,
|
|
277
278
|
motionEnter: !1,
|
|
278
279
|
onLeaveStart: (p) => ({
|
|
279
280
|
maxHeight: p.offsetHeight
|
|
280
281
|
}),
|
|
281
|
-
onLeaveEnd:
|
|
282
|
+
onLeaveEnd: v
|
|
282
283
|
}, (p, h) => {
|
|
283
284
|
let {
|
|
284
|
-
className:
|
|
285
|
+
className: X,
|
|
285
286
|
style: q
|
|
286
287
|
} = p;
|
|
287
288
|
return /* @__PURE__ */ a.createElement("div", Object.assign({
|
|
288
|
-
id:
|
|
289
|
-
ref: me(
|
|
290
|
-
"data-show": !
|
|
291
|
-
className:
|
|
289
|
+
id: O,
|
|
290
|
+
ref: me(B, h),
|
|
291
|
+
"data-show": !W,
|
|
292
|
+
className: G(D, X),
|
|
292
293
|
style: Object.assign(Object.assign(Object.assign({}, k), u), q),
|
|
293
294
|
onMouseEnter: m,
|
|
294
295
|
onMouseLeave: g,
|
|
295
296
|
onClick: b,
|
|
296
297
|
role: "alert"
|
|
297
|
-
},
|
|
298
|
+
}, Q), R ? /* @__PURE__ */ a.createElement(We, {
|
|
298
299
|
description: t,
|
|
299
300
|
icon: e.icon,
|
|
300
|
-
prefixCls:
|
|
301
|
-
type:
|
|
301
|
+
prefixCls: s,
|
|
302
|
+
type: L
|
|
302
303
|
}) : null, /* @__PURE__ */ a.createElement("div", {
|
|
303
|
-
className: `${
|
|
304
|
+
className: `${s}-content`
|
|
304
305
|
}, r ? /* @__PURE__ */ a.createElement("div", {
|
|
305
|
-
className: `${
|
|
306
|
+
className: `${s}-message`
|
|
306
307
|
}, r) : null, t ? /* @__PURE__ */ a.createElement("div", {
|
|
307
|
-
className: `${
|
|
308
|
-
}, t) : null),
|
|
309
|
-
className: `${
|
|
310
|
-
},
|
|
311
|
-
isClosable:
|
|
312
|
-
prefixCls:
|
|
313
|
-
closeIcon:
|
|
314
|
-
handleClose:
|
|
315
|
-
ariaProps:
|
|
308
|
+
className: `${s}-description`
|
|
309
|
+
}, t) : null), $ ? /* @__PURE__ */ a.createElement("div", {
|
|
310
|
+
className: `${s}-action`
|
|
311
|
+
}, $) : null, /* @__PURE__ */ a.createElement(Be, {
|
|
312
|
+
isClosable: P,
|
|
313
|
+
prefixCls: s,
|
|
314
|
+
closeIcon: U,
|
|
315
|
+
handleClose: F,
|
|
316
|
+
ariaProps: K
|
|
316
317
|
}));
|
|
317
318
|
}));
|
|
318
319
|
});
|
|
319
|
-
process.env.NODE_ENV !== "production" && (
|
|
320
|
-
function
|
|
321
|
-
return o =
|
|
320
|
+
process.env.NODE_ENV !== "production" && (N.displayName = "Alert");
|
|
321
|
+
function He(e, o, t) {
|
|
322
|
+
return o = E(o), pe(e, ue() ? Reflect.construct(o, t || [], E(e).constructor) : o.apply(e, t));
|
|
322
323
|
}
|
|
323
|
-
let
|
|
324
|
+
let Le = /* @__PURE__ */ function(e) {
|
|
324
325
|
function o() {
|
|
325
326
|
var t;
|
|
326
|
-
return fe(this, o), t =
|
|
327
|
+
return fe(this, o), t = He(this, o, arguments), t.state = {
|
|
327
328
|
error: void 0,
|
|
328
329
|
info: {
|
|
329
330
|
componentStack: ""
|
|
@@ -344,14 +345,14 @@ let we = /* @__PURE__ */ function(e) {
|
|
|
344
345
|
const {
|
|
345
346
|
message: n,
|
|
346
347
|
description: r,
|
|
347
|
-
id:
|
|
348
|
+
id: c,
|
|
348
349
|
children: l
|
|
349
350
|
} = this.props, {
|
|
350
351
|
error: d,
|
|
351
352
|
info: u
|
|
352
353
|
} = this.state, m = (u == null ? void 0 : u.componentStack) || null, g = typeof n > "u" ? (d || "").toString() : n, b = typeof r > "u" ? m : r;
|
|
353
|
-
return d ? /* @__PURE__ */ a.createElement(
|
|
354
|
-
id:
|
|
354
|
+
return d ? /* @__PURE__ */ a.createElement(N, {
|
|
355
|
+
id: c,
|
|
355
356
|
type: "error",
|
|
356
357
|
message: g,
|
|
357
358
|
description: /* @__PURE__ */ a.createElement("pre", {
|
|
@@ -364,12 +365,12 @@ let we = /* @__PURE__ */ function(e) {
|
|
|
364
365
|
}
|
|
365
366
|
}]);
|
|
366
367
|
}(a.Component);
|
|
367
|
-
const
|
|
368
|
-
|
|
369
|
-
function
|
|
368
|
+
const z = N;
|
|
369
|
+
z.ErrorBoundary = Le;
|
|
370
|
+
function Re() {
|
|
370
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).";
|
|
371
372
|
}
|
|
372
|
-
const
|
|
373
|
+
const Xe = /* @__PURE__ */ te(z, process.env.NODE_ENV === "production" ? {
|
|
373
374
|
target: "e17981h30"
|
|
374
375
|
} : {
|
|
375
376
|
target: "e17981h30",
|
|
@@ -379,9 +380,9 @@ const Ee = /* @__PURE__ */ te(J, process.env.NODE_ENV === "production" ? {
|
|
|
379
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);}.ant-alert-message{margin-bottom:var(--gap-3xs);font:var(--font-subheading-xl);color:var(--color-text-primary);}.ant-alert-description{font:var(--font-body-normal-m);color:var(--color-text-primary);}.ant-alert-close-icon button{color:var(--color-icon-tertiary);svg{font-size:14px;}}"
|
|
380
381
|
} : {
|
|
381
382
|
name: "hw7h1z",
|
|
382
|
-
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);}.ant-alert-message{margin-bottom:var(--gap-3xs);font:var(--font-subheading-xl);color:var(--color-text-primary);}.ant-alert-description{font:var(--font-body-normal-m);color:var(--color-text-primary);}.ant-alert-close-icon button{color:var(--color-icon-tertiary);svg{font-size:14px;}}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
383
|
-
toString:
|
|
384
|
-
}),
|
|
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);}.ant-alert-message{margin-bottom:var(--gap-3xs);font:var(--font-subheading-xl);color:var(--color-text-primary);}.ant-alert-description{font:var(--font-body-normal-m);color:var(--color-text-primary);}.ant-alert-close-icon button{color:var(--color-icon-tertiary);svg{font-size:14px;}}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkM6L1VzZXJzL2tpcmlsbC9EZXNrdG9wL3dvcmsvZnNrL2Rlc2lnbi1zeXN0ZW0vZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvQWxlcnQvQWxlcnQuc3R5bGVzLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHd0MiLCJmaWxlIjoiQzovVXNlcnMva2lyaWxsL0Rlc2t0b3Avd29yay9mc2svZGVzaWduLXN5c3RlbS9mcm9udGVuZC9zcmMvY29tcG9uZW50cy9BbGVydC9BbGVydC5zdHlsZXMudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tIFwiQGVtb3Rpb24vc3R5bGVkXCJcbmltcG9ydCBBbGVydCBmcm9tIFwiYW50ZC9lcy9hbGVydFwiXG5cbmV4cG9ydCBjb25zdCBTdHlsZWRBbGVydCA9IHN0eWxlZChBbGVydClgXG4gIHBhZGRpbmc6IHZhcigtLWdhcC1tZCkgdmFyKC0tZ2FwLWxnKTtcblxuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1jb2xvci1zdXJmYWNlLWJhc2UtcHJpbWFyeSk7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLWNvbG9yLWJvcmRlci10ZXJ0aWFyeSk7XG4gIGJvcmRlci1yYWRpdXM6IHZhcigtLXJhZGl1cy1tZCk7XG4gIGJveC1zaGFkb3c6IHZhcigtLXNoYWRvdy1hbGVydCk7XG5cbiAgLmFudC1hbGVydC1pY29uIHtcbiAgICBtYXJnaW4tcmlnaHQ6IHZhcigtLWdhcC00eHMpO1xuICB9XG5cbiAgLmFudC1hbGVydC1tZXNzYWdlIHtcbiAgICBtYXJnaW4tYm90dG9tOiB2YXIoLS1nYXAtM3hzKTtcblxuICAgIGZvbnQ6IHZhcigtLWZvbnQtc3ViaGVhZGluZy14bCk7XG4gICAgY29sb3I6IHZhcigtLWNvbG9yLXRleHQtcHJpbWFyeSk7XG4gIH1cblxuICAuYW50LWFsZXJ0LWRlc2NyaXB0aW9uIHtcbiAgICBmb250OiB2YXIoLS1mb250LWJvZHktbm9ybWFsLW0pO1xuICAgIGNvbG9yOiB2YXIoLS1jb2xvci10ZXh0LXByaW1hcnkpO1xuICB9XG5cbiAgLmFudC1hbGVydC1jbG9zZS1pY29uIGJ1dHRvbiB7XG4gICAgY29sb3I6IHZhcigtLWNvbG9yLWljb24tdGVydGlhcnkpO1xuXG4gICAgc3ZnIHtcbiAgICAgIGZvbnQtc2l6ZTogMTRweDtcbiAgICB9XG4gIH1cbmBcbiJdfQ== */",
|
|
384
|
+
toString: Re
|
|
385
|
+
}), Fe = (e) => /* @__PURE__ */ S(Xe, { closeIcon: /* @__PURE__ */ S(oe, { type: "extra-secondary", size: "xs", icon: /* @__PURE__ */ S(ee, {}) }), ...e });
|
|
385
386
|
export {
|
|
386
|
-
|
|
387
|
+
Fe as A
|
|
387
388
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as D } from "./
|
|
2
|
-
import {
|
|
1
|
+
import { _ as D } from "./extends-hS2Bh-Yp.js";
|
|
2
|
+
import { x as L, y as U, w as W, o as b, _ as l, n as I, c as q, j as x, z as F } from "./genStyleUtils-git9kFa9.js";
|
|
3
3
|
import { _ as N } from "./objectWithoutProperties-DD_CKnnM.js";
|
|
4
4
|
import * as C from "react";
|
|
5
5
|
import h, { useContext as G, useEffect as H } from "react";
|