@gobolt/genesis 0.1.2 → 0.1.3
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 +7 -7
- package/dist/{AntdIcon-nCNB0J1E.js → AntdIcon-DP6hPDqu.js} +40 -39
- package/dist/CSSMotionList-DB0khM6h.js +22193 -0
- package/dist/{CheckCircleFilled-BKgizvyl.js → CheckCircleFilled-B-wrMduA.js} +2 -2
- package/dist/{CheckOutlined-cEBrx_Ag.js → CheckOutlined-DTEHi_xG.js} +2 -2
- package/dist/{ClockCircleOutlined-BaXQuLIn.js → ClockCircleOutlined-DGGcYjVd.js} +2 -2
- package/dist/{CloseCircleFilled-B9e7yFwo.js → CloseCircleFilled-WEQ0SaSW.js} +2 -2
- package/dist/{CloseOutlined-ogxnm7Oy.js → CloseOutlined-DzgBOns1.js} +2 -2
- package/dist/{Compact-Du9689ax.js → Compact-DFcWZrNo.js} +49 -49
- package/dist/Context-2_suFYDs.js +5 -0
- package/dist/{ContextIsolator-BmfhJgG0.js → ContextIsolator-CUJnq-4F.js} +2 -2
- package/dist/{DownOutlined-Dcq69ZKM.js → DownOutlined-Bv7ua5i8.js} +23 -22
- package/dist/EllipsisOutlined-BodkguEc.js +1118 -0
- package/dist/{ExclamationCircleFilled-BHELVsTg.js → ExclamationCircleFilled-x8Sr29BN.js} +2 -2
- package/dist/Input--qsU-6vp.js +424 -0
- package/dist/KeyCode-B3vHb2gY.js +155 -0
- package/dist/{Keyframes-C9_aCDvn.js → Keyframes-CyO2Aeq-.js} +7 -7
- package/dist/{LoadingOutlined-C1qu6ymP.js → LoadingOutlined-DOi5EGOl.js} +2 -2
- package/dist/{MinusCircleOutlined-Shz0RRQV.js → MinusCircleOutlined-BcKxYRyN.js} +2 -2
- package/dist/{Overflow-DWf4XIal.js → Overflow-CVbsx7Gn.js} +95 -95
- package/dist/{SearchOutlined-DNj-7b_h.js → SearchOutlined-DJ3uHFwq.js} +2 -2
- package/dist/{Skeleton-BVN4pcVe.js → Skeleton-CudViN0a.js} +166 -163
- package/dist/TextArea-CHo3cxKw.js +404 -0
- package/dist/{Typography-CoZ5qD-t.js → Typography-B2J8CPnt.js} +263 -247
- package/dist/_baseIsEqual-VdxFOa4v.js +1084 -0
- package/dist/{_commonjsHelpers-BkfeUUK-.js → _commonjsHelpers-B4e78b8K.js} +1 -1
- package/dist/{asyncToGenerator-CKP9bEZn.js → asyncToGenerator-CVBdSr4C.js} +27 -27
- package/dist/button-CYVlK7G0.js +1430 -0
- package/dist/components/Avatar/Avatar.js +8 -7
- package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +0 -1
- package/dist/components/Avatar/__tests__/Avatar.test.js +1 -1
- package/dist/components/Avatar/styles.d.ts +1 -2
- package/dist/components/Avatar/styles.js +161 -159
- package/dist/components/Badge/Badge.js +8 -7
- package/dist/components/Badge/__stories__/Badge.stories.d.ts +0 -1
- package/dist/components/Badge/__tests__/Badge.test.js +1 -1
- package/dist/components/Badge/styles.d.ts +0 -1
- package/dist/components/Badge/styles.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +0 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +0 -1
- package/dist/components/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +0 -1
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +3 -3
- package/dist/components/Breadcrumb/styles.d.ts +0 -1
- package/dist/components/Breadcrumb/styles.js +58 -58
- package/dist/components/Button/Button.d.ts +0 -1
- package/dist/components/Button/__stories__/Button.stories.d.ts +0 -1
- package/dist/components/Button/__tests__/Button.test.js +5 -4
- package/dist/components/Button/styles.d.ts +0 -1
- package/dist/components/Button/styles.js +2 -2
- package/dist/components/Card/__stories__/Card.stories.d.ts +0 -1
- package/dist/components/Card/__tests__/Card.test.js +1 -1
- package/dist/components/Card/styles.d.ts +0 -1
- package/dist/components/Card/styles.js +2 -2
- package/dist/components/Checkbox/Checkbox.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.js +11 -11
- package/dist/components/Checkbox/__stories__/Checkbox.stories.d.ts +0 -1
- package/dist/components/Checkbox/__tests__/Checkbox.test.js +16 -15
- package/dist/components/Checkbox/styles.d.ts +3 -4
- package/dist/components/Checkbox/styles.js +2 -2
- package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +0 -1
- package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +0 -1
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +222 -223
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +13 -12
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +0 -1
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +10 -9
- package/dist/components/Dashboard/__stories__/charts/LineChart.js +72 -74
- package/dist/components/Dashboard/__tests__/Dashboard.test.js +1 -1
- package/dist/components/Dashboard/styles.d.ts +0 -1
- package/dist/components/Dashboard/styles.js +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +0 -1
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +0 -1
- package/dist/components/DatePicker/__tests__/DatePicker.test.js +2 -2
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +0 -1
- package/dist/components/DateRangePicker/DateRangePicker.js +1 -1
- package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +0 -1
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundary.js +8 -7
- package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +0 -1
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +25 -20
- package/dist/components/ErrorBoundary/styles.d.ts +0 -1
- package/dist/components/ErrorBoundary/styles.js +1 -1
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +16 -15
- package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +0 -1
- package/dist/components/ErrorBoundaryFallback/styles.js +13 -13
- package/dist/components/Form/Form.d.ts +0 -1
- package/dist/components/Form/Form.js +2 -2
- package/dist/components/Form/__stories__/Form.stories.d.ts +0 -1
- package/dist/components/Form/__stories__/FormStory.js +11 -10
- package/dist/components/Form/__tests__/form.test.js +7 -6
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Form/styles.d.ts +0 -1
- package/dist/components/Form/styles.js +10 -2
- package/dist/components/FormBrandon/Form.d.ts +25 -0
- package/dist/components/FormBrandon/Form.js +18 -0
- package/dist/components/FormBrandon/__stories__/Form.stories.d.ts +6 -0
- package/dist/components/FormBrandon/__stories__/FormStory.d.ts +1 -0
- package/dist/components/FormBrandon/__stories__/FormStory.js +172 -0
- package/dist/components/FormBrandon/__tests__/form.test.js +19 -0
- package/dist/components/FormBrandon/index.d.ts +2 -0
- package/dist/components/FormBrandon/index.js +4 -0
- package/dist/components/FormBrandon/styles.d.ts +2 -0
- package/dist/components/FormBrandon/styles.js +13 -0
- package/dist/components/Glyph/Glyph.js +2 -2
- package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +0 -1
- package/dist/components/Glyph/styles.d.ts +0 -1
- package/dist/components/Glyph/styles.js +1 -1
- package/dist/components/Input/Input.d.ts +0 -1
- package/dist/components/Input/Input.js +9 -10
- package/dist/components/Input/__stories__/Input.stories.d.ts +0 -1
- package/dist/components/Input/__tests__/Input.test.js +21 -20
- package/dist/components/Input/styles.d.ts +5 -6
- package/dist/components/Input/styles.js +4 -119
- package/dist/components/Layout/Content/Content.d.ts +0 -1
- package/dist/components/Layout/Content/ResponsiveContent.js +14 -13
- package/dist/components/Layout/Content/styles.d.ts +0 -1
- package/dist/components/Layout/Content/styles.js +1 -1
- package/dist/components/Layout/MainLayout/MainLayout.d.ts +0 -1
- package/dist/components/Layout/MainLayout/MainLayout.js +1 -1
- package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +0 -1
- package/dist/components/Layout/MainLayout/styles.js +1 -1
- package/dist/components/Layout/__stories__/Layout.stories.d.ts +0 -1
- package/dist/components/Layout/__tests__/Layout.test.js +1 -1
- package/dist/components/Message/Message.d.ts +0 -1
- package/dist/components/Message/Message.js +13 -12
- package/dist/components/Message/__stories__/Message.stories.d.ts +0 -1
- package/dist/components/Message/__tests__/Message.test.js +6 -5
- package/dist/components/Message/styles.js +1 -1
- package/dist/components/Notification/Notification.js +122 -55
- package/dist/components/Notification/NotificationBadge/NotificationBadge.js +2 -2
- package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +0 -1
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +4 -4
- package/dist/components/Notification/NotificationBadge/styles.js +1 -1
- package/dist/components/Notification/__stories__/Notification.stories.d.ts +0 -1
- package/dist/components/Notification/__tests__/Notification.test.js +3 -3
- package/dist/components/Notification/styles.js +1 -1
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Popover/Popover.js +14 -11
- package/dist/components/Popover/__stories__/Popover.stories.d.ts +0 -1
- package/dist/components/Popover/__tests__/Popover.test.js +19 -26
- package/dist/components/Popover/styles.d.ts +0 -1
- package/dist/components/Popover/styles.js +2 -2
- package/dist/components/Progress/Progress.js +29 -27
- package/dist/components/Progress/Progress.util.d.ts +0 -1
- package/dist/components/Progress/Progress.util.js +8 -7
- package/dist/components/Progress/ProgressText.d.ts +0 -1
- package/dist/components/Progress/ProgressText.js +8 -7
- package/dist/components/Progress/__stories__/Progress.stories.d.ts +0 -1
- package/dist/components/Progress/__tests__/Progress.test.js +4 -4
- package/dist/components/Progress/styles.d.ts +0 -1
- package/dist/components/Progress/styles.js +217 -214
- package/dist/components/Radio/Radio.d.ts +0 -1
- package/dist/components/Radio/Radio.js +9 -8
- package/dist/components/Radio/RadioGroup.js +1 -1
- package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +0 -1
- package/dist/components/Radio/__tests__/RadioGroup.test.js +8 -7
- package/dist/components/Row/Row.d.ts +0 -1
- package/dist/components/Row/Row.js +29 -26
- package/dist/components/Row/RowActions/RowActions.js +8 -7
- package/dist/components/Row/RowActions/styles.js +1 -1
- package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +0 -1
- package/dist/components/Row/RowLabelValue/RowLabelValue.js +7 -6
- package/dist/components/Row/RowLabelValue/styles.js +2 -2
- package/dist/components/Row/__stories__/Row.stories.d.ts +0 -1
- package/dist/components/Row/__tests__/Row.test.js +3 -3
- package/dist/components/Row/styles.d.ts +0 -1
- package/dist/components/Row/styles.js +1 -1
- package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +0 -1
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +1 -1
- package/dist/components/SegmentedControls/styles.d.ts +1 -2
- package/dist/components/SegmentedControls/styles.js +214 -203
- package/dist/components/Select/Select.d.ts +0 -1
- package/dist/components/Select/Select.js +10 -11
- package/dist/components/Select/__stories__/Select.stories.d.ts +0 -1
- package/dist/components/Select/__tests__/Select.test.js +49 -10754
- package/dist/components/Select/styles.d.ts +0 -1
- package/dist/components/Select/styles.js +2 -2
- package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +0 -1
- package/dist/components/Shapes/__tests__/Shapes.test.js +1 -1
- package/dist/components/Switch/__stories__/Switch.stories.d.ts +0 -1
- package/dist/components/Switch/__tests__/Switch.test.js +3 -3
- package/dist/components/Switch/styles.d.ts +0 -1
- package/dist/components/Switch/styles.js +74 -74
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/__mocks__/table-mocks.d.ts +0 -1
- package/dist/components/Table/__mocks__/table-mocks.js +10 -9
- package/dist/components/Table/__stories__/Table.stories.d.ts +0 -1
- package/dist/components/Table/__tests__/Table.test.js +1 -1
- package/dist/components/Table/styles.d.ts +0 -1
- package/dist/components/Table/styles.js +2 -2
- package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +0 -1
- package/dist/components/Tabs/__tests__/Tabs.test.js +3 -3
- package/dist/components/Tabs/styles.d.ts +0 -1
- package/dist/components/Tabs/styles.js +2 -2
- package/dist/components/Tile/__stories__/Tile.stories.d.ts +0 -1
- package/dist/components/Tile/__tests__/Tile.test.js +1 -1
- package/dist/components/Tile/styles.d.ts +0 -1
- package/dist/components/Tile/styles.js +1 -1
- package/dist/components/Toast/Toast.d.ts +0 -1
- package/dist/components/Toast/Toast.js +9 -8
- package/dist/components/Toast/__stories__/Toast.stories.d.ts +0 -1
- package/dist/components/Toast/__tests__/Toast.test.js +6 -5
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Toast/styles.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +8 -7
- package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +0 -1
- package/dist/components/Tooltip/__tests__/Tooltip.test.js +1 -1
- package/dist/components/Tooltip/styles.d.ts +0 -1
- package/dist/components/Tooltip/styles.js +2 -2
- package/dist/components/Typography/Typography.d.ts +0 -1
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/Typography/__stories__/Typography.stories.d.ts +0 -1
- package/dist/components/Typography/__tests__/Typography.test.js +14 -13
- package/dist/components/Typography/index.js +1 -1
- package/dist/components/Typography/styles.d.ts +0 -1
- package/dist/components/Typography/styles.js +2 -2
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.js +46 -48
- package/dist/{context-DIFtNa4d.js → context-CQfFkrkv.js} +285 -278
- package/dist/{dropdown-Dp_PTQ2u.js → dropdown-BlRB2LxQ.js} +492 -491
- package/dist/{generateCategoricalChart-7ceYaiZ2.js → generateCategoricalChart-CqByWmje.js} +7189 -6383
- package/dist/genesis/GenesisThemeBreakdown.d.ts +0 -1
- package/dist/genesis/GenesisThemeBreakdown.js +9 -8
- package/dist/genesis/GenesisThemeDemo.d.ts +0 -1
- package/dist/genesis/GenesisThemeDemo.stories.d.ts +0 -1
- package/dist/genesis/{labs/Lab.stories.d.ts → Lab.stories.d.ts} +0 -1
- package/dist/genesis/styles.d.ts +0 -1
- package/dist/genesis/styles.js +3 -3
- package/dist/{iconBase-LROS5hdG.js → iconBase-DSKTHwal.js} +9 -9
- package/dist/index-B7FXyiY_.js +104 -0
- package/dist/{index-B_1Ge8na.js → index-BHCqeC4j.js} +190 -183
- package/dist/index-BZ050Dyl.js +292 -0
- package/dist/{index-BpZSuIUV.js → index-Br3D3cFM.js} +23 -23
- package/dist/{index-DOsPeIWJ.js → index-Bxbr727t.js} +260 -265
- package/dist/index-C2K1BzmJ.js +3400 -0
- package/dist/{styles-D1vKDy9V.js → index-CupwdUIJ.js} +596 -603
- package/dist/{index-BQM5OniU.js → index-CzMIlMTV.js} +111 -111
- package/dist/index-DCopujxC.js +772 -0
- package/dist/index-DRGbc-fW.js +780 -0
- package/dist/index-DavB5GQ3.js +5221 -0
- package/dist/index-RAH9f-qb.js +540 -0
- package/dist/{index-BPVue1Yd.js → index-RtWhGOwR.js} +152 -150
- package/dist/index-Y0KgiFZb.js +909 -0
- package/dist/{index-DRGX1Wem.js → index-sX7KZ-nU.js} +414 -402
- package/dist/index.js +53 -55
- package/dist/interface/appointment.d.ts +0 -1
- package/dist/interface/appointmentV2.d.ts +0 -1
- package/dist/interface/appointmentsState.d.ts +0 -1
- package/dist/interface/deliveryPartner.d.ts +0 -1
- package/dist/interface/route.d.ts +0 -1
- package/dist/interface/routeAnalysis.d.ts +0 -1
- package/dist/interface/routeAutomationJob.d.ts +0 -1
- package/dist/interface/routeAutomationLog.d.ts +0 -1
- package/dist/interface/serviceArea.d.ts +0 -1
- package/dist/interface/vehicle.d.ts +0 -1
- package/dist/{magic-string.es-BKBb7z-1.js → magic-string.es-D4UQQyt0.js} +265 -264
- package/dist/{motion-CUN72xsH.js → motion-C-XpKcZG.js} +6 -5
- package/dist/{pickAttrs-CleuMJFR.js → pickAttrs-yFE4_vFd.js} +1 -1
- package/dist/{presets-Djh_L_6R.js → presets-CSXMiWyc.js} +176 -176
- package/dist/providers/BreakpointThemeProvider.d.ts +0 -1
- package/dist/providers/BreakpointThemeProvider.js +5 -5
- package/dist/providers/GenesisProvider.d.ts +0 -1
- package/dist/providers/GenesisProvider.js +1 -1
- package/dist/providers/ToastProvider.d.ts +0 -1
- package/dist/providers/ToastProvider.js +10 -9
- package/dist/providers/__stories__/GenesisProvider.stories.d.ts +0 -1
- package/dist/providers/index.js +1 -1
- package/dist/providers/useGenesis.d.ts +0 -1
- package/dist/providers/useGenesis.js +2 -2
- package/dist/{roundedArrow-DI_Q-xdU.js → roundedArrow-BxPlu4Hq.js} +2 -2
- package/dist/setup-aZdxWCJq.js +13976 -0
- package/dist/setup.types-CgFq66QX.js +9261 -0
- package/dist/shadow-9lsz-71t.js +13 -0
- package/dist/statusUtils-Kj9kMuVg.js +15 -0
- package/dist/{styleChecker-Cotu61d0.js → styleChecker-CSH9LQtm.js} +3 -3
- package/dist/{styled-components.browser.esm-CZ1XM4o4.js → styled-components.browser.esm-C47QHsU4.js} +371 -304
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +11 -10
- package/dist/styles/design-tokens/border-tokens/BorderTokens.stories.d.ts +0 -1
- package/dist/styles/design-tokens/color-tokens/ColorTokens.stories.d.ts +0 -1
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +9 -8
- package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +0 -1
- package/dist/styles/design-tokens/typography-tokens/TypographyTokens.stories.d.ts +0 -1
- package/dist/styles/global-styles.d.ts +0 -1
- package/dist/styles/global-styles.js +1 -1
- package/dist/styles/theme/genesis-theme.d.ts +0 -1
- package/dist/styles/theme/genesis-theme.js +285 -337
- package/dist/styles/theme/genesis-theme.test.d.ts +1 -0
- package/dist/styles/theme/genesis-theme.test.js +69 -0
- package/dist/styles/theme/theme-tree/ThemeTree.js +488 -488
- package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +0 -1
- package/dist/styles-DNay6iFa.js +292 -0
- package/dist/styles-Wpm1RiGr.js +9212 -0
- package/dist/styles-XuoEGUZZ.js +549 -0
- package/dist/test/setup.d.ts +0 -1
- package/dist/test/setup.js +35 -35
- package/dist/test/setup.types.d.ts +0 -1
- package/dist/test/setup.types.js +1 -1
- package/dist/{toArray-U3Az44CO.js → toArray-D5kvYi_U.js} +1 -1
- package/dist/useBreakpoint-ByLol0R9.js +88 -0
- package/dist/useCSSVarCls-YfJY1twF.js +10 -0
- package/dist/{useIcons-Ck4JP1m9.js → useIcons-CoxuumP_.js} +16 -16
- package/dist/{useId-D2tzlufo.js → useId-DLf1xVuv.js} +3 -3
- package/dist/useLocale-BQ3mKRyJ.js +16 -0
- package/dist/{useMergedState-D6toxSxh.js → useMergedState-D1-TbeEv.js} +2 -2
- package/dist/useSize-Ct1guc-z.js +9 -0
- package/dist/useVariants-C6UAAu9f.js +19 -0
- package/dist/{useZIndex-DhyHuZTN.js → useZIndex-tgX56o1r.js} +7 -6
- package/dist/utils/icon-util.js +48 -44
- package/dist/vi.B5EKKJdE-BsDIxc7v.js +14087 -0
- package/package.json +33 -24
- package/dist/EllipsisOutlined-DGMph0Bj.js +0 -1115
- package/dist/KeyCode-DM2sFh3-.js +0 -517
- package/dist/TextArea-Bkf9hh7l.js +0 -708
- package/dist/_baseIsEqual-L0-w1QRI.js +0 -598
- package/dist/button-BwqpCxVM.js +0 -1406
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/index-BRUI9igj.js +0 -11
- package/dist/index-BbTV2Cw5.js +0 -22638
- package/dist/index-BeGv28kJ.js +0 -5173
- package/dist/index-BvOLXELm.js +0 -102
- package/dist/index-CLSrpQRW.js +0 -416
- package/dist/index-CbVOl2U6.js +0 -288
- package/dist/index-D0U6r5O7.js +0 -780
- package/dist/index-DEu2PVzQ.js +0 -538
- package/dist/index-DLdU7Tpd.js +0 -183
- package/dist/index-DNQ-jnBx.js +0 -3321
- package/dist/index-DWjq9XYj.js +0 -899
- package/dist/responsiveObserver-dCkpy7Cb.js +0 -73
- package/dist/setup-DwHFLWUb.js +0 -24713
- package/dist/setup.types-dBtAXXGp.js +0 -8824
- package/dist/shadow-BoMGMNn3.js +0 -13
- package/dist/styles-CWdUpZom.js +0 -289
- package/dist/styles-qerRs7Rn.js +0 -9196
- package/dist/useBreakpoint-TkMv121M.js +0 -22
- package/dist/useCSSVarCls-Dau77fzS.js +0 -11
- package/dist/useLocale-CTfNpakL.js +0 -16
- package/dist/useSize-DSq4r6zy.js +0 -9
- package/dist/useVariants-DrLzUVLU.js +0 -30
- package/dist/utils/getAppointmentColor.d.ts +0 -4
- package/dist/utils/getAppointmentColor.js +0 -91
- package/dist/utils/isAllEnglishString.d.ts +0 -1
- package/dist/utils/isAllEnglishString.js +0 -8
- package/dist/utils/isAllEnglishString.test.js +0 -8
- package/dist/utils/parseAddress.d.ts +0 -3
- package/dist/utils/parseAddress.js +0 -19
- /package/dist/{utils/isAllEnglishString.test.d.ts → components/FormBrandon/__tests__/form.test.d.ts} +0 -0
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import * as s from "react";
|
|
2
|
+
import { c as x } from "./presets-CSXMiWyc.js";
|
|
3
|
+
import { u as G } from "./useMergedState-D1-TbeEv.js";
|
|
4
|
+
import { K as U } from "./KeyCode-B3vHb2gY.js";
|
|
5
|
+
import { g as X } from "./motion-C-XpKcZG.js";
|
|
6
|
+
import { c as Y } from "./reactNode-sKPeiqPL.js";
|
|
7
|
+
import { i as Z, g as q, a as J, P as Q, T as ee } from "./index-Y0KgiFZb.js";
|
|
8
|
+
import "./index-DRGbc-fW.js";
|
|
9
|
+
import "./useId-DLf1xVuv.js";
|
|
10
|
+
import "./index-DCopujxC.js";
|
|
11
|
+
import { g as te, m as oe, j as ne, C as re, l as ae } from "./CSSMotionList-DB0khM6h.js";
|
|
12
|
+
import { g as se } from "./roundedArrow-BxPlu4Hq.js";
|
|
13
|
+
import { P as le } from "./presetColors-Cl8UP3Nw.js";
|
|
14
|
+
const h = (e) => e ? typeof e == "function" ? e() : e : null, ie = (e) => {
|
|
15
|
+
const {
|
|
16
|
+
componentCls: o,
|
|
17
|
+
popoverColor: n,
|
|
18
|
+
titleMinWidth: t,
|
|
19
|
+
fontWeightStrong: r,
|
|
20
|
+
innerPadding: a,
|
|
21
|
+
boxShadowSecondary: d,
|
|
22
|
+
colorTextHeading: p,
|
|
23
|
+
borderRadiusLG: m,
|
|
24
|
+
zIndexPopup: g,
|
|
25
|
+
titleMarginBottom: l,
|
|
26
|
+
colorBgElevated: u,
|
|
27
|
+
popoverBg: v,
|
|
28
|
+
titleBorderBottom: f,
|
|
29
|
+
innerContentPadding: b,
|
|
30
|
+
titlePadding: i
|
|
31
|
+
} = e;
|
|
32
|
+
return [
|
|
33
|
+
{
|
|
34
|
+
[o]: Object.assign(Object.assign({}, ne(e)), {
|
|
35
|
+
position: "absolute",
|
|
36
|
+
top: 0,
|
|
37
|
+
// use `left` to fix https://github.com/ant-design/ant-design/issues/39195
|
|
38
|
+
left: {
|
|
39
|
+
_skip_check_: !0,
|
|
40
|
+
value: 0
|
|
41
|
+
},
|
|
42
|
+
zIndex: g,
|
|
43
|
+
fontWeight: "normal",
|
|
44
|
+
whiteSpace: "normal",
|
|
45
|
+
textAlign: "start",
|
|
46
|
+
cursor: "auto",
|
|
47
|
+
userSelect: "text",
|
|
48
|
+
// When use `autoArrow`, origin will follow the arrow position
|
|
49
|
+
"--valid-offset-x": "var(--arrow-offset-horizontal, var(--arrow-x))",
|
|
50
|
+
transformOrigin: ["var(--valid-offset-x, 50%)", "var(--arrow-y, 50%)"].join(" "),
|
|
51
|
+
"--antd-arrow-background-color": u,
|
|
52
|
+
width: "max-content",
|
|
53
|
+
maxWidth: "100vw",
|
|
54
|
+
"&-rtl": {
|
|
55
|
+
direction: "rtl"
|
|
56
|
+
},
|
|
57
|
+
"&-hidden": {
|
|
58
|
+
display: "none"
|
|
59
|
+
},
|
|
60
|
+
[`${o}-content`]: {
|
|
61
|
+
position: "relative"
|
|
62
|
+
},
|
|
63
|
+
[`${o}-inner`]: {
|
|
64
|
+
backgroundColor: v,
|
|
65
|
+
backgroundClip: "padding-box",
|
|
66
|
+
borderRadius: m,
|
|
67
|
+
boxShadow: d,
|
|
68
|
+
padding: a
|
|
69
|
+
},
|
|
70
|
+
[`${o}-title`]: {
|
|
71
|
+
minWidth: t,
|
|
72
|
+
marginBottom: l,
|
|
73
|
+
color: p,
|
|
74
|
+
fontWeight: r,
|
|
75
|
+
borderBottom: f,
|
|
76
|
+
padding: i
|
|
77
|
+
},
|
|
78
|
+
[`${o}-inner-content`]: {
|
|
79
|
+
color: n,
|
|
80
|
+
padding: b
|
|
81
|
+
}
|
|
82
|
+
})
|
|
83
|
+
},
|
|
84
|
+
// Arrow Style
|
|
85
|
+
q(e, "var(--antd-arrow-background-color)"),
|
|
86
|
+
// Pure Render
|
|
87
|
+
{
|
|
88
|
+
[`${o}-pure`]: {
|
|
89
|
+
position: "relative",
|
|
90
|
+
maxWidth: "none",
|
|
91
|
+
margin: e.sizePopupArrow,
|
|
92
|
+
display: "inline-block",
|
|
93
|
+
[`${o}-content`]: {
|
|
94
|
+
display: "inline-block"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
];
|
|
99
|
+
}, ce = (e) => {
|
|
100
|
+
const {
|
|
101
|
+
componentCls: o
|
|
102
|
+
} = e;
|
|
103
|
+
return {
|
|
104
|
+
[o]: le.map((n) => {
|
|
105
|
+
const t = e[`${n}6`];
|
|
106
|
+
return {
|
|
107
|
+
[`&${o}-${n}`]: {
|
|
108
|
+
"--antd-arrow-background-color": t,
|
|
109
|
+
[`${o}-inner`]: {
|
|
110
|
+
backgroundColor: t
|
|
111
|
+
},
|
|
112
|
+
[`${o}-arrow`]: {
|
|
113
|
+
background: "transparent"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
})
|
|
118
|
+
};
|
|
119
|
+
}, de = (e) => {
|
|
120
|
+
const {
|
|
121
|
+
lineWidth: o,
|
|
122
|
+
controlHeight: n,
|
|
123
|
+
fontHeight: t,
|
|
124
|
+
padding: r,
|
|
125
|
+
wireframe: a,
|
|
126
|
+
zIndexPopupBase: d,
|
|
127
|
+
borderRadiusLG: p,
|
|
128
|
+
marginXS: m,
|
|
129
|
+
lineType: g,
|
|
130
|
+
colorSplit: l,
|
|
131
|
+
paddingSM: u
|
|
132
|
+
} = e, v = n - t, f = v / 2, b = v / 2 - o, i = r;
|
|
133
|
+
return Object.assign(Object.assign(Object.assign({
|
|
134
|
+
titleMinWidth: 177,
|
|
135
|
+
zIndexPopup: d + 30
|
|
136
|
+
}, se(e)), J({
|
|
137
|
+
contentRadius: p,
|
|
138
|
+
limitVerticalRadius: !0
|
|
139
|
+
})), {
|
|
140
|
+
// internal
|
|
141
|
+
innerPadding: a ? 0 : 12,
|
|
142
|
+
titleMarginBottom: a ? 0 : m,
|
|
143
|
+
titlePadding: a ? `${f}px ${i}px ${b}px` : 0,
|
|
144
|
+
titleBorderBottom: a ? `${o}px ${g} ${l}` : "none",
|
|
145
|
+
innerContentPadding: a ? `${u}px ${i}px` : 0
|
|
146
|
+
});
|
|
147
|
+
}, _ = te("Popover", (e) => {
|
|
148
|
+
const {
|
|
149
|
+
colorBgElevated: o,
|
|
150
|
+
colorText: n
|
|
151
|
+
} = e, t = oe(e, {
|
|
152
|
+
popoverBg: o,
|
|
153
|
+
popoverColor: n
|
|
154
|
+
});
|
|
155
|
+
return [ie(t), ce(t), Z(t, "zoom-big")];
|
|
156
|
+
}, de, {
|
|
157
|
+
resetStyle: !1,
|
|
158
|
+
deprecatedTokens: [["width", "titleMinWidth"], ["minWidth", "titleMinWidth"]]
|
|
159
|
+
});
|
|
160
|
+
var pe = function(e, o) {
|
|
161
|
+
var n = {};
|
|
162
|
+
for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && o.indexOf(t) < 0 && (n[t] = e[t]);
|
|
163
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var r = 0, t = Object.getOwnPropertySymbols(e); r < t.length; r++)
|
|
164
|
+
o.indexOf(t[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[r]) && (n[t[r]] = e[t[r]]);
|
|
165
|
+
return n;
|
|
166
|
+
};
|
|
167
|
+
const k = (e) => {
|
|
168
|
+
let {
|
|
169
|
+
title: o,
|
|
170
|
+
content: n,
|
|
171
|
+
prefixCls: t
|
|
172
|
+
} = e;
|
|
173
|
+
return !o && !n ? null : /* @__PURE__ */ s.createElement(s.Fragment, null, o && /* @__PURE__ */ s.createElement("div", {
|
|
174
|
+
className: `${t}-title`
|
|
175
|
+
}, o), n && /* @__PURE__ */ s.createElement("div", {
|
|
176
|
+
className: `${t}-inner-content`
|
|
177
|
+
}, n));
|
|
178
|
+
}, me = (e) => {
|
|
179
|
+
const {
|
|
180
|
+
hashId: o,
|
|
181
|
+
prefixCls: n,
|
|
182
|
+
className: t,
|
|
183
|
+
style: r,
|
|
184
|
+
placement: a = "top",
|
|
185
|
+
title: d,
|
|
186
|
+
content: p,
|
|
187
|
+
children: m
|
|
188
|
+
} = e, g = h(d), l = h(p), u = x(o, n, `${n}-pure`, `${n}-placement-${a}`, t);
|
|
189
|
+
return /* @__PURE__ */ s.createElement("div", {
|
|
190
|
+
className: u,
|
|
191
|
+
style: r
|
|
192
|
+
}, /* @__PURE__ */ s.createElement("div", {
|
|
193
|
+
className: `${n}-arrow`
|
|
194
|
+
}), /* @__PURE__ */ s.createElement(Q, Object.assign({}, e, {
|
|
195
|
+
className: o,
|
|
196
|
+
prefixCls: n
|
|
197
|
+
}), m || /* @__PURE__ */ s.createElement(k, {
|
|
198
|
+
prefixCls: n,
|
|
199
|
+
title: g,
|
|
200
|
+
content: l
|
|
201
|
+
})));
|
|
202
|
+
}, ge = (e) => {
|
|
203
|
+
const {
|
|
204
|
+
prefixCls: o,
|
|
205
|
+
className: n
|
|
206
|
+
} = e, t = pe(e, ["prefixCls", "className"]), {
|
|
207
|
+
getPrefixCls: r
|
|
208
|
+
} = s.useContext(re), a = r("popover", o), [d, p, m] = _(a);
|
|
209
|
+
return d(/* @__PURE__ */ s.createElement(me, Object.assign({}, t, {
|
|
210
|
+
prefixCls: a,
|
|
211
|
+
hashId: p,
|
|
212
|
+
className: x(n, m)
|
|
213
|
+
})));
|
|
214
|
+
};
|
|
215
|
+
var ue = function(e, o) {
|
|
216
|
+
var n = {};
|
|
217
|
+
for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && o.indexOf(t) < 0 && (n[t] = e[t]);
|
|
218
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var r = 0, t = Object.getOwnPropertySymbols(e); r < t.length; r++)
|
|
219
|
+
o.indexOf(t[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[r]) && (n[t[r]] = e[t[r]]);
|
|
220
|
+
return n;
|
|
221
|
+
};
|
|
222
|
+
const fe = /* @__PURE__ */ s.forwardRef((e, o) => {
|
|
223
|
+
var n, t;
|
|
224
|
+
const {
|
|
225
|
+
prefixCls: r,
|
|
226
|
+
title: a,
|
|
227
|
+
content: d,
|
|
228
|
+
overlayClassName: p,
|
|
229
|
+
placement: m = "top",
|
|
230
|
+
trigger: g = "hover",
|
|
231
|
+
children: l,
|
|
232
|
+
mouseEnterDelay: u = 0.1,
|
|
233
|
+
mouseLeaveDelay: v = 0.1,
|
|
234
|
+
onOpenChange: f,
|
|
235
|
+
overlayStyle: b = {},
|
|
236
|
+
styles: i,
|
|
237
|
+
classNames: y
|
|
238
|
+
} = e, N = ue(e, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "children", "mouseEnterDelay", "mouseLeaveDelay", "onOpenChange", "overlayStyle", "styles", "classNames"]), {
|
|
239
|
+
getPrefixCls: w,
|
|
240
|
+
className: I,
|
|
241
|
+
style: W,
|
|
242
|
+
classNames: S,
|
|
243
|
+
styles: $
|
|
244
|
+
} = ae("popover"), O = w("popover", r), [D, z, M] = _(O), R = w(), V = x(p, z, M, I, S.root, y == null ? void 0 : y.root), A = x(S.body, y == null ? void 0 : y.body), [H, L] = G(!1, {
|
|
245
|
+
value: (n = e.open) !== null && n !== void 0 ? n : e.visible,
|
|
246
|
+
defaultValue: (t = e.defaultOpen) !== null && t !== void 0 ? t : e.defaultVisible
|
|
247
|
+
}), j = (c, C) => {
|
|
248
|
+
L(c, !0), f == null || f(c, C);
|
|
249
|
+
}, K = (c) => {
|
|
250
|
+
c.keyCode === U.ESC && j(!1, c);
|
|
251
|
+
}, F = (c) => {
|
|
252
|
+
j(c);
|
|
253
|
+
}, E = h(a), B = h(d);
|
|
254
|
+
return D(/* @__PURE__ */ s.createElement(ee, Object.assign({
|
|
255
|
+
placement: m,
|
|
256
|
+
trigger: g,
|
|
257
|
+
mouseEnterDelay: u,
|
|
258
|
+
mouseLeaveDelay: v
|
|
259
|
+
}, N, {
|
|
260
|
+
prefixCls: O,
|
|
261
|
+
classNames: {
|
|
262
|
+
root: V,
|
|
263
|
+
body: A
|
|
264
|
+
},
|
|
265
|
+
styles: {
|
|
266
|
+
root: Object.assign(Object.assign(Object.assign(Object.assign({}, $.root), W), b), i == null ? void 0 : i.root),
|
|
267
|
+
body: Object.assign(Object.assign({}, $.body), i == null ? void 0 : i.body)
|
|
268
|
+
},
|
|
269
|
+
ref: o,
|
|
270
|
+
open: H,
|
|
271
|
+
onOpenChange: F,
|
|
272
|
+
overlay: E || B ? /* @__PURE__ */ s.createElement(k, {
|
|
273
|
+
prefixCls: O,
|
|
274
|
+
title: E,
|
|
275
|
+
content: B
|
|
276
|
+
}) : null,
|
|
277
|
+
transitionName: X(R, "zoom-big", N.transitionName),
|
|
278
|
+
"data-popover-inject": !0
|
|
279
|
+
}), Y(l, {
|
|
280
|
+
onKeyDown: (c) => {
|
|
281
|
+
var C, P;
|
|
282
|
+
/* @__PURE__ */ s.isValidElement(l) && ((P = l == null ? void 0 : (C = l.props).onKeyDown) === null || P === void 0 || P.call(C, c)), K(c);
|
|
283
|
+
}
|
|
284
|
+
})));
|
|
285
|
+
}), T = fe;
|
|
286
|
+
T._InternalPanelDoNotUseOrYouWillBeFired = ge;
|
|
287
|
+
process.env.NODE_ENV !== "production" && (T.displayName = "Popover");
|
|
288
|
+
export {
|
|
289
|
+
ge as P,
|
|
290
|
+
T as a,
|
|
291
|
+
h as g
|
|
292
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as r from "react";
|
|
2
2
|
import L, { useContext as X, useRef as Z } from "react";
|
|
3
|
-
import { _ as ee, f as te,
|
|
3
|
+
import { _ as ee, f as te, c as $ } from "./presets-CSXMiWyc.js";
|
|
4
4
|
import { i as ne } from "./isVisible-D3-B85BJ.js";
|
|
5
|
-
import { R as
|
|
5
|
+
import { R as k, E as oe, d as re, w as E, p as se, q as I, C as A, c as ae, a as ie, y as ue, z as ce } from "./CSSMotionList-DB0khM6h.js";
|
|
6
|
+
import { w as le } from "./index-DCopujxC.js";
|
|
6
7
|
import { c as de } from "./reactNode-sKPeiqPL.js";
|
|
7
|
-
import "./
|
|
8
|
-
|
|
9
|
-
var _ = ee({}, $), fe = _.version, S = _.render, pe = _.unmountComponentAtNode, C;
|
|
8
|
+
import { _ as U, a as g } from "./asyncToGenerator-CVBdSr4C.js";
|
|
9
|
+
var _ = ee({}, k), fe = _.version, w = _.render, pe = _.unmountComponentAtNode, C;
|
|
10
10
|
try {
|
|
11
11
|
var me = Number((fe || "").split(".")[0]);
|
|
12
12
|
me >= 18 && (C = _.createRoot);
|
|
@@ -23,7 +23,7 @@ function ve(e, t) {
|
|
|
23
23
|
D(!1), n.render(e), t[y] = n;
|
|
24
24
|
}
|
|
25
25
|
function be(e, t) {
|
|
26
|
-
|
|
26
|
+
w == null || w(e, t);
|
|
27
27
|
}
|
|
28
28
|
function Re(e, t) {
|
|
29
29
|
if (C) {
|
|
@@ -78,8 +78,8 @@ function O() {
|
|
|
78
78
|
}
|
|
79
79
|
const ge = (e, t) => {
|
|
80
80
|
if (process.env.NODE_ENV !== "production") {
|
|
81
|
-
const n = parseInt(r.version.split(".")[0], 10), o = Object.keys(
|
|
82
|
-
process.env.NODE_ENV !== "production" &&
|
|
81
|
+
const n = parseInt(r.version.split(".")[0], 10), o = Object.keys(k);
|
|
82
|
+
process.env.NODE_ENV !== "production" && le(n < 19 || o.includes("createRoot"), "compatible", "antd v5 support React is 16 ~ 18. see https://u.ant.design/v5-for-19 for compatible.");
|
|
83
83
|
}
|
|
84
84
|
return Re(e, t), () => Ee(t);
|
|
85
85
|
};
|
|
@@ -87,7 +87,7 @@ let ye = ge;
|
|
|
87
87
|
function Ce() {
|
|
88
88
|
return ye;
|
|
89
89
|
}
|
|
90
|
-
const
|
|
90
|
+
const we = (e) => {
|
|
91
91
|
const {
|
|
92
92
|
componentCls: t,
|
|
93
93
|
colorPrimary: n
|
|
@@ -114,8 +114,8 @@ const Se = (e) => {
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
|
-
},
|
|
118
|
-
function
|
|
117
|
+
}, Se = oe("Wave", (e) => [we(e)]), j = `${re}-wave-target`;
|
|
118
|
+
function S(e) {
|
|
119
119
|
return e && e !== "#fff" && e !== "#ffffff" && e !== "rgb(255, 255, 255)" && e !== "rgba(255, 255, 255, 1)" && !/rgba\((?:\d*, ){3}0\)/.test(e) && // any transparent rgba color
|
|
120
120
|
e !== "transparent";
|
|
121
121
|
}
|
|
@@ -125,7 +125,7 @@ function Ne(e) {
|
|
|
125
125
|
borderColor: n,
|
|
126
126
|
backgroundColor: o
|
|
127
127
|
} = getComputedStyle(e);
|
|
128
|
-
return
|
|
128
|
+
return S(t) ? t : S(n) ? n : S(o) ? o : null;
|
|
129
129
|
}
|
|
130
130
|
function N(e) {
|
|
131
131
|
return Number.isNaN(e) ? 0 : e;
|
|
@@ -140,10 +140,10 @@ const We = (e) => {
|
|
|
140
140
|
r.useEffect(() => {
|
|
141
141
|
c.current = s();
|
|
142
142
|
}, []);
|
|
143
|
-
const [d, h] = r.useState(null), [f, a] = r.useState([]), [m, v] = r.useState(0), [V, B] = r.useState(0), [
|
|
143
|
+
const [d, h] = r.useState(null), [f, a] = r.useState([]), [m, v] = r.useState(0), [V, B] = r.useState(0), [P, q] = r.useState(0), [z, F] = r.useState(0), [M, H] = r.useState(!1), T = {
|
|
144
144
|
left: m,
|
|
145
145
|
top: V,
|
|
146
|
-
width:
|
|
146
|
+
width: P,
|
|
147
147
|
height: z,
|
|
148
148
|
borderRadius: f.map((l) => `${l}px`).join(" ")
|
|
149
149
|
};
|
|
@@ -155,7 +155,7 @@ const We = (e) => {
|
|
|
155
155
|
borderLeftWidth: p,
|
|
156
156
|
borderTopWidth: b
|
|
157
157
|
} = l;
|
|
158
|
-
v(i ? n.offsetLeft : N(-parseFloat(p))), B(i ? n.offsetTop : N(-parseFloat(b))),
|
|
158
|
+
v(i ? n.offsetLeft : N(-parseFloat(p))), B(i ? n.offsetTop : N(-parseFloat(b))), q(n.offsetWidth), F(n.offsetHeight);
|
|
159
159
|
const {
|
|
160
160
|
borderTopLeftRadius: R,
|
|
161
161
|
borderTopRightRadius: G,
|
|
@@ -167,17 +167,17 @@ const We = (e) => {
|
|
|
167
167
|
if (r.useEffect(() => {
|
|
168
168
|
if (n) {
|
|
169
169
|
const l = E(() => {
|
|
170
|
-
x(),
|
|
170
|
+
x(), H(!0);
|
|
171
171
|
});
|
|
172
172
|
let i;
|
|
173
173
|
return typeof ResizeObserver < "u" && (i = new ResizeObserver(x), i.observe(n)), () => {
|
|
174
174
|
E.cancel(l), i == null || i.disconnect();
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
|
-
}, []), !
|
|
177
|
+
}, []), !M)
|
|
178
178
|
return null;
|
|
179
179
|
const K = (o === "Checkbox" || o === "Radio") && (n == null ? void 0 : n.classList.contains(j));
|
|
180
|
-
return /* @__PURE__ */ r.createElement(
|
|
180
|
+
return /* @__PURE__ */ r.createElement(se, {
|
|
181
181
|
visible: !0,
|
|
182
182
|
motionAppear: !0,
|
|
183
183
|
motionName: "wave-motion",
|
|
@@ -197,8 +197,8 @@ const We = (e) => {
|
|
|
197
197
|
className: p
|
|
198
198
|
} = l;
|
|
199
199
|
return /* @__PURE__ */ r.createElement("div", {
|
|
200
|
-
ref:
|
|
201
|
-
className:
|
|
200
|
+
ref: I(u, i),
|
|
201
|
+
className: $(t, p, {
|
|
202
202
|
"wave-quick": K
|
|
203
203
|
}),
|
|
204
204
|
style: T
|
|
@@ -225,7 +225,7 @@ const We = (e) => {
|
|
|
225
225
|
}, Te = (e, t, n) => {
|
|
226
226
|
const {
|
|
227
227
|
wave: o
|
|
228
|
-
} = r.useContext(A), [, s, u] =
|
|
228
|
+
} = r.useContext(A), [, s, u] = ae(), c = ie((f) => {
|
|
229
229
|
const a = e.current;
|
|
230
230
|
if (o != null && o.disabled || !a)
|
|
231
231
|
return;
|
|
@@ -252,7 +252,7 @@ const We = (e) => {
|
|
|
252
252
|
component: o
|
|
253
253
|
} = e, {
|
|
254
254
|
getPrefixCls: s
|
|
255
|
-
} = X(A), u = Z(null), c = s("wave"), [, d] =
|
|
255
|
+
} = X(A), u = Z(null), c = s("wave"), [, d] = Se(c), h = Te(u, $(c, d), o);
|
|
256
256
|
if (L.useEffect(() => {
|
|
257
257
|
const a = u.current;
|
|
258
258
|
if (!a || a.nodeType !== 1 || n)
|
|
@@ -266,7 +266,7 @@ const We = (e) => {
|
|
|
266
266
|
};
|
|
267
267
|
}, [n]), !/* @__PURE__ */ L.isValidElement(t))
|
|
268
268
|
return t ?? null;
|
|
269
|
-
const f =
|
|
269
|
+
const f = ue(t) ? I(ce(t), u) : u;
|
|
270
270
|
return de(t, {
|
|
271
271
|
ref: f
|
|
272
272
|
});
|