@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
|
@@ -1,58 +1,60 @@
|
|
|
1
|
-
import { m as
|
|
1
|
+
import { m as s, f as i, g as w, j as B, k as J } from "./CSSMotionList-DB0khM6h.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import "./presets-
|
|
4
|
-
import { g as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return g(r, {
|
|
3
|
+
import "./presets-CSXMiWyc.js";
|
|
4
|
+
import { g as K } from "./compact-item-DH13cl8A.js";
|
|
5
|
+
function y(r) {
|
|
6
|
+
return s(r, {
|
|
8
7
|
inputAffixPadding: r.paddingXXS
|
|
9
8
|
});
|
|
10
9
|
}
|
|
11
|
-
const
|
|
10
|
+
const E = (r) => {
|
|
12
11
|
const {
|
|
13
12
|
controlHeight: o,
|
|
14
|
-
fontSize:
|
|
15
|
-
lineHeight:
|
|
13
|
+
fontSize: e,
|
|
14
|
+
lineHeight: a,
|
|
16
15
|
lineWidth: t,
|
|
17
|
-
controlHeightSM:
|
|
16
|
+
controlHeightSM: d,
|
|
18
17
|
controlHeightLG: l,
|
|
19
|
-
fontSizeLG:
|
|
20
|
-
lineHeightLG:
|
|
21
|
-
paddingSM:
|
|
22
|
-
controlPaddingHorizontalSM:
|
|
23
|
-
controlPaddingHorizontal:
|
|
24
|
-
colorFillAlter:
|
|
25
|
-
colorPrimaryHover:
|
|
26
|
-
colorPrimary:
|
|
18
|
+
fontSizeLG: n,
|
|
19
|
+
lineHeightLG: c,
|
|
20
|
+
paddingSM: g,
|
|
21
|
+
controlPaddingHorizontalSM: T,
|
|
22
|
+
controlPaddingHorizontal: z,
|
|
23
|
+
colorFillAlter: F,
|
|
24
|
+
colorPrimaryHover: G,
|
|
25
|
+
colorPrimary: M,
|
|
27
26
|
controlOutlineWidth: u,
|
|
28
|
-
controlOutline:
|
|
29
|
-
colorErrorOutline:
|
|
30
|
-
colorWarningOutline:
|
|
31
|
-
colorBgContainer:
|
|
32
|
-
|
|
27
|
+
controlOutline: A,
|
|
28
|
+
colorErrorOutline: L,
|
|
29
|
+
colorWarningOutline: D,
|
|
30
|
+
colorBgContainer: $,
|
|
31
|
+
inputFontSize: P,
|
|
32
|
+
inputFontSizeLG: q,
|
|
33
|
+
inputFontSizeSM: X
|
|
34
|
+
} = r, p = P || e, h = X || p, S = q || n, _ = Math.round((o - p * a) / 2 * 10) / 10 - t, U = Math.round((d - h * a) / 2 * 10) / 10 - t, Q = Math.ceil((l - S * c) / 2 * 10) / 10 - t;
|
|
33
35
|
return {
|
|
34
|
-
paddingBlock: Math.max(
|
|
35
|
-
paddingBlockSM: Math.max(
|
|
36
|
-
paddingBlockLG: Math.
|
|
37
|
-
paddingInline:
|
|
38
|
-
paddingInlineSM:
|
|
39
|
-
paddingInlineLG:
|
|
40
|
-
addonBg:
|
|
41
|
-
activeBorderColor:
|
|
42
|
-
hoverBorderColor:
|
|
43
|
-
activeShadow: `0 0 0 ${u}px ${
|
|
44
|
-
errorActiveShadow: `0 0 0 ${u}px ${
|
|
45
|
-
warningActiveShadow: `0 0 0 ${u}px ${
|
|
46
|
-
hoverBg:
|
|
47
|
-
activeBg:
|
|
48
|
-
inputFontSize:
|
|
49
|
-
inputFontSizeLG:
|
|
50
|
-
inputFontSizeSM:
|
|
36
|
+
paddingBlock: Math.max(_, 0),
|
|
37
|
+
paddingBlockSM: Math.max(U, 0),
|
|
38
|
+
paddingBlockLG: Math.max(Q, 0),
|
|
39
|
+
paddingInline: g - t,
|
|
40
|
+
paddingInlineSM: T - t,
|
|
41
|
+
paddingInlineLG: z - t,
|
|
42
|
+
addonBg: F,
|
|
43
|
+
activeBorderColor: M,
|
|
44
|
+
hoverBorderColor: G,
|
|
45
|
+
activeShadow: `0 0 0 ${u}px ${A}`,
|
|
46
|
+
errorActiveShadow: `0 0 0 ${u}px ${L}`,
|
|
47
|
+
warningActiveShadow: `0 0 0 ${u}px ${D}`,
|
|
48
|
+
hoverBg: $,
|
|
49
|
+
activeBg: $,
|
|
50
|
+
inputFontSize: p,
|
|
51
|
+
inputFontSizeLG: S,
|
|
52
|
+
inputFontSizeSM: h
|
|
51
53
|
};
|
|
52
|
-
},
|
|
54
|
+
}, N = (r) => ({
|
|
53
55
|
borderColor: r.hoverBorderColor,
|
|
54
56
|
backgroundColor: r.hoverBg
|
|
55
|
-
}),
|
|
57
|
+
}), b = (r) => ({
|
|
56
58
|
color: r.colorTextDisabled,
|
|
57
59
|
backgroundColor: r.colorBgContainerDisabled,
|
|
58
60
|
borderColor: r.colorBorder,
|
|
@@ -62,11 +64,11 @@ const A = (r) => {
|
|
|
62
64
|
"input[disabled], textarea[disabled]": {
|
|
63
65
|
cursor: "not-allowed"
|
|
64
66
|
},
|
|
65
|
-
"&:hover:not([disabled])": Object.assign({},
|
|
67
|
+
"&:hover:not([disabled])": Object.assign({}, N(s(r, {
|
|
66
68
|
hoverBorderColor: r.colorBorder,
|
|
67
69
|
hoverBg: r.colorBgContainerDisabled
|
|
68
70
|
})))
|
|
69
|
-
}),
|
|
71
|
+
}), R = (r, o) => ({
|
|
70
72
|
background: r.colorBgContainer,
|
|
71
73
|
borderWidth: r.lineWidth,
|
|
72
74
|
borderStyle: r.lineType,
|
|
@@ -81,8 +83,8 @@ const A = (r) => {
|
|
|
81
83
|
outline: 0,
|
|
82
84
|
backgroundColor: r.activeBg
|
|
83
85
|
}
|
|
84
|
-
}),
|
|
85
|
-
[`&${r.componentCls}-status-${o.status}:not(${r.componentCls}-disabled)`]: Object.assign(Object.assign({},
|
|
86
|
+
}), f = (r, o) => ({
|
|
87
|
+
[`&${r.componentCls}-status-${o.status}:not(${r.componentCls}-disabled)`]: Object.assign(Object.assign({}, R(r, o)), {
|
|
86
88
|
[`${r.componentCls}-prefix, ${r.componentCls}-suffix`]: {
|
|
87
89
|
color: o.affixColor
|
|
88
90
|
}
|
|
@@ -90,22 +92,22 @@ const A = (r) => {
|
|
|
90
92
|
[`&${r.componentCls}-status-${o.status}${r.componentCls}-disabled`]: {
|
|
91
93
|
borderColor: o.borderColor
|
|
92
94
|
}
|
|
93
|
-
}),
|
|
94
|
-
"&-outlined": Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
95
|
+
}), V = (r, o) => ({
|
|
96
|
+
"&-outlined": Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, R(r, {
|
|
95
97
|
borderColor: r.colorBorder,
|
|
96
98
|
hoverBorderColor: r.hoverBorderColor,
|
|
97
99
|
activeBorderColor: r.activeBorderColor,
|
|
98
100
|
activeShadow: r.activeShadow
|
|
99
101
|
})), {
|
|
100
|
-
[`&${r.componentCls}-disabled, &[disabled]`]: Object.assign({},
|
|
101
|
-
}),
|
|
102
|
+
[`&${r.componentCls}-disabled, &[disabled]`]: Object.assign({}, b(r))
|
|
103
|
+
}), f(r, {
|
|
102
104
|
status: "error",
|
|
103
105
|
borderColor: r.colorError,
|
|
104
106
|
hoverBorderColor: r.colorErrorBorderHover,
|
|
105
107
|
activeBorderColor: r.colorError,
|
|
106
108
|
activeShadow: r.errorActiveShadow,
|
|
107
109
|
affixColor: r.colorError
|
|
108
|
-
})),
|
|
110
|
+
})), f(r, {
|
|
109
111
|
status: "warning",
|
|
110
112
|
borderColor: r.colorWarning,
|
|
111
113
|
hoverBorderColor: r.colorWarningBorderHover,
|
|
@@ -113,19 +115,19 @@ const A = (r) => {
|
|
|
113
115
|
activeShadow: r.warningActiveShadow,
|
|
114
116
|
affixColor: r.colorWarning
|
|
115
117
|
})), o)
|
|
116
|
-
}),
|
|
118
|
+
}), m = (r, o) => ({
|
|
117
119
|
[`&${r.componentCls}-group-wrapper-status-${o.status}`]: {
|
|
118
120
|
[`${r.componentCls}-group-addon`]: {
|
|
119
121
|
borderColor: o.addonBorderColor,
|
|
120
122
|
color: o.addonColor
|
|
121
123
|
}
|
|
122
124
|
}
|
|
123
|
-
}),
|
|
125
|
+
}), Y = (r) => ({
|
|
124
126
|
"&-outlined": Object.assign(Object.assign(Object.assign({
|
|
125
127
|
[`${r.componentCls}-group`]: {
|
|
126
128
|
"&-addon": {
|
|
127
129
|
background: r.addonBg,
|
|
128
|
-
border: `${
|
|
130
|
+
border: `${i(r.lineWidth)} ${r.lineType} ${r.colorBorder}`
|
|
129
131
|
},
|
|
130
132
|
"&-addon:first-child": {
|
|
131
133
|
borderInlineEnd: 0
|
|
@@ -134,22 +136,22 @@ const A = (r) => {
|
|
|
134
136
|
borderInlineStart: 0
|
|
135
137
|
}
|
|
136
138
|
}
|
|
137
|
-
},
|
|
139
|
+
}, m(r, {
|
|
138
140
|
status: "error",
|
|
139
141
|
addonBorderColor: r.colorError,
|
|
140
142
|
addonColor: r.colorErrorText
|
|
141
|
-
})),
|
|
143
|
+
})), m(r, {
|
|
142
144
|
status: "warning",
|
|
143
145
|
addonBorderColor: r.colorWarning,
|
|
144
146
|
addonColor: r.colorWarningText
|
|
145
147
|
})), {
|
|
146
148
|
[`&${r.componentCls}-group-wrapper-disabled`]: {
|
|
147
|
-
[`${r.componentCls}-group-addon`]: Object.assign({},
|
|
149
|
+
[`${r.componentCls}-group-addon`]: Object.assign({}, b(r))
|
|
148
150
|
}
|
|
149
151
|
})
|
|
150
|
-
}),
|
|
152
|
+
}), Z = (r, o) => {
|
|
151
153
|
const {
|
|
152
|
-
componentCls:
|
|
154
|
+
componentCls: e
|
|
153
155
|
} = r;
|
|
154
156
|
return {
|
|
155
157
|
"&-borderless": Object.assign({
|
|
@@ -159,24 +161,24 @@ const A = (r) => {
|
|
|
159
161
|
outline: "none"
|
|
160
162
|
},
|
|
161
163
|
// >>>>> Disabled
|
|
162
|
-
[`&${
|
|
164
|
+
[`&${e}-disabled, &[disabled]`]: {
|
|
163
165
|
color: r.colorTextDisabled,
|
|
164
166
|
cursor: "not-allowed"
|
|
165
167
|
},
|
|
166
168
|
// >>>>> Status
|
|
167
|
-
[`&${
|
|
169
|
+
[`&${e}-status-error`]: {
|
|
168
170
|
"&, & input, & textarea": {
|
|
169
171
|
color: r.colorError
|
|
170
172
|
}
|
|
171
173
|
},
|
|
172
|
-
[`&${
|
|
174
|
+
[`&${e}-status-warning`]: {
|
|
173
175
|
"&, & input, & textarea": {
|
|
174
176
|
color: r.colorWarning
|
|
175
177
|
}
|
|
176
178
|
}
|
|
177
179
|
}, o)
|
|
178
180
|
};
|
|
179
|
-
},
|
|
181
|
+
}, O = (r, o) => ({
|
|
180
182
|
background: o.bg,
|
|
181
183
|
borderWidth: r.lineWidth,
|
|
182
184
|
borderStyle: r.lineType,
|
|
@@ -192,27 +194,27 @@ const A = (r) => {
|
|
|
192
194
|
borderColor: o.activeBorderColor,
|
|
193
195
|
backgroundColor: r.activeBg
|
|
194
196
|
}
|
|
195
|
-
}),
|
|
196
|
-
[`&${r.componentCls}-status-${o.status}:not(${r.componentCls}-disabled)`]: Object.assign(Object.assign({},
|
|
197
|
+
}), C = (r, o) => ({
|
|
198
|
+
[`&${r.componentCls}-status-${o.status}:not(${r.componentCls}-disabled)`]: Object.assign(Object.assign({}, O(r, o)), {
|
|
197
199
|
[`${r.componentCls}-prefix, ${r.componentCls}-suffix`]: {
|
|
198
200
|
color: o.affixColor
|
|
199
201
|
}
|
|
200
202
|
})
|
|
201
|
-
}),
|
|
202
|
-
"&-filled": Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
203
|
+
}), k = (r, o) => ({
|
|
204
|
+
"&-filled": Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, O(r, {
|
|
203
205
|
bg: r.colorFillTertiary,
|
|
204
206
|
hoverBg: r.colorFillSecondary,
|
|
205
207
|
activeBorderColor: r.activeBorderColor
|
|
206
208
|
})), {
|
|
207
|
-
[`&${r.componentCls}-disabled, &[disabled]`]: Object.assign({},
|
|
208
|
-
}),
|
|
209
|
+
[`&${r.componentCls}-disabled, &[disabled]`]: Object.assign({}, b(r))
|
|
210
|
+
}), C(r, {
|
|
209
211
|
status: "error",
|
|
210
212
|
bg: r.colorErrorBg,
|
|
211
213
|
hoverBg: r.colorErrorBgHover,
|
|
212
214
|
activeBorderColor: r.colorError,
|
|
213
215
|
inputColor: r.colorErrorText,
|
|
214
216
|
affixColor: r.colorError
|
|
215
|
-
})),
|
|
217
|
+
})), C(r, {
|
|
216
218
|
status: "warning",
|
|
217
219
|
bg: r.colorWarningBg,
|
|
218
220
|
hoverBg: r.colorWarningBgHover,
|
|
@@ -220,14 +222,14 @@ const A = (r) => {
|
|
|
220
222
|
inputColor: r.colorWarningText,
|
|
221
223
|
affixColor: r.colorWarning
|
|
222
224
|
})), o)
|
|
223
|
-
}),
|
|
225
|
+
}), x = (r, o) => ({
|
|
224
226
|
[`&${r.componentCls}-group-wrapper-status-${o.status}`]: {
|
|
225
227
|
[`${r.componentCls}-group-addon`]: {
|
|
226
228
|
background: o.addonBg,
|
|
227
229
|
color: o.addonColor
|
|
228
230
|
}
|
|
229
231
|
}
|
|
230
|
-
}),
|
|
232
|
+
}), rr = (r) => ({
|
|
231
233
|
"&-filled": Object.assign(Object.assign(Object.assign({
|
|
232
234
|
[`${r.componentCls}-group`]: {
|
|
233
235
|
"&-addon": {
|
|
@@ -235,18 +237,18 @@ const A = (r) => {
|
|
|
235
237
|
},
|
|
236
238
|
[`${r.componentCls}-filled:not(:focus):not(:focus-within)`]: {
|
|
237
239
|
"&:not(:first-child)": {
|
|
238
|
-
borderInlineStart: `${
|
|
240
|
+
borderInlineStart: `${i(r.lineWidth)} ${r.lineType} ${r.colorSplit}`
|
|
239
241
|
},
|
|
240
242
|
"&:not(:last-child)": {
|
|
241
|
-
borderInlineEnd: `${
|
|
243
|
+
borderInlineEnd: `${i(r.lineWidth)} ${r.lineType} ${r.colorSplit}`
|
|
242
244
|
}
|
|
243
245
|
}
|
|
244
246
|
}
|
|
245
|
-
},
|
|
247
|
+
}, x(r, {
|
|
246
248
|
status: "error",
|
|
247
249
|
addonBg: r.colorErrorBg,
|
|
248
250
|
addonColor: r.colorErrorText
|
|
249
|
-
})),
|
|
251
|
+
})), x(r, {
|
|
250
252
|
status: "warning",
|
|
251
253
|
addonBg: r.colorWarningBg,
|
|
252
254
|
addonColor: r.colorWarningText
|
|
@@ -258,19 +260,77 @@ const A = (r) => {
|
|
|
258
260
|
color: r.colorTextDisabled
|
|
259
261
|
},
|
|
260
262
|
"&-addon:first-child": {
|
|
261
|
-
borderInlineStart: `${
|
|
262
|
-
borderTop: `${
|
|
263
|
-
borderBottom: `${
|
|
263
|
+
borderInlineStart: `${i(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,
|
|
264
|
+
borderTop: `${i(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,
|
|
265
|
+
borderBottom: `${i(r.lineWidth)} ${r.lineType} ${r.colorBorder}`
|
|
264
266
|
},
|
|
265
267
|
"&-addon:last-child": {
|
|
266
|
-
borderInlineEnd: `${
|
|
267
|
-
borderTop: `${
|
|
268
|
-
borderBottom: `${
|
|
268
|
+
borderInlineEnd: `${i(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,
|
|
269
|
+
borderTop: `${i(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,
|
|
270
|
+
borderBottom: `${i(r.lineWidth)} ${r.lineType} ${r.colorBorder}`
|
|
269
271
|
}
|
|
270
272
|
}
|
|
271
273
|
}
|
|
272
274
|
})
|
|
273
|
-
}),
|
|
275
|
+
}), I = (r, o) => ({
|
|
276
|
+
background: r.colorBgContainer,
|
|
277
|
+
borderWidth: `${i(r.lineWidth)} 0`,
|
|
278
|
+
borderStyle: `${r.lineType} none`,
|
|
279
|
+
borderColor: `transparent transparent ${o.borderColor} transparent`,
|
|
280
|
+
borderRadius: 0,
|
|
281
|
+
"&:hover": {
|
|
282
|
+
borderColor: `transparent transparent ${o.borderColor} transparent`,
|
|
283
|
+
backgroundColor: r.hoverBg
|
|
284
|
+
},
|
|
285
|
+
"&:focus, &:focus-within": {
|
|
286
|
+
borderColor: `transparent transparent ${o.borderColor} transparent`,
|
|
287
|
+
outline: 0,
|
|
288
|
+
backgroundColor: r.activeBg
|
|
289
|
+
}
|
|
290
|
+
}), v = (r, o) => ({
|
|
291
|
+
[`&${r.componentCls}-status-${o.status}:not(${r.componentCls}-disabled)`]: Object.assign(Object.assign({}, I(r, o)), {
|
|
292
|
+
[`${r.componentCls}-prefix, ${r.componentCls}-suffix`]: {
|
|
293
|
+
color: o.affixColor
|
|
294
|
+
}
|
|
295
|
+
}),
|
|
296
|
+
[`&${r.componentCls}-status-${o.status}${r.componentCls}-disabled`]: {
|
|
297
|
+
borderColor: `transparent transparent ${o.borderColor} transparent`
|
|
298
|
+
}
|
|
299
|
+
}), or = (r, o) => ({
|
|
300
|
+
"&-underlined": Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, I(r, {
|
|
301
|
+
borderColor: r.colorBorder,
|
|
302
|
+
hoverBorderColor: r.hoverBorderColor,
|
|
303
|
+
activeBorderColor: r.activeBorderColor,
|
|
304
|
+
activeShadow: r.activeShadow
|
|
305
|
+
})), {
|
|
306
|
+
// >>>>> Disabled
|
|
307
|
+
[`&${r.componentCls}-disabled, &[disabled]`]: {
|
|
308
|
+
color: r.colorTextDisabled,
|
|
309
|
+
boxShadow: "none",
|
|
310
|
+
cursor: "not-allowed",
|
|
311
|
+
"&:hover": {
|
|
312
|
+
borderColor: `transparent transparent ${r.colorBorder} transparent`
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"input[disabled], textarea[disabled]": {
|
|
316
|
+
cursor: "not-allowed"
|
|
317
|
+
}
|
|
318
|
+
}), v(r, {
|
|
319
|
+
status: "error",
|
|
320
|
+
borderColor: r.colorError,
|
|
321
|
+
hoverBorderColor: r.colorErrorBorderHover,
|
|
322
|
+
activeBorderColor: r.colorError,
|
|
323
|
+
activeShadow: r.errorActiveShadow,
|
|
324
|
+
affixColor: r.colorError
|
|
325
|
+
})), v(r, {
|
|
326
|
+
status: "warning",
|
|
327
|
+
borderColor: r.colorWarning,
|
|
328
|
+
hoverBorderColor: r.colorWarningBorderHover,
|
|
329
|
+
activeBorderColor: r.colorWarning,
|
|
330
|
+
activeShadow: r.warningActiveShadow,
|
|
331
|
+
affixColor: r.colorWarning
|
|
332
|
+
})), o)
|
|
333
|
+
}), er = (r) => ({
|
|
274
334
|
// Firefox
|
|
275
335
|
"&::-moz-placeholder": {
|
|
276
336
|
opacity: 1
|
|
@@ -283,35 +343,35 @@ const A = (r) => {
|
|
|
283
343
|
"&:placeholder-shown": {
|
|
284
344
|
textOverflow: "ellipsis"
|
|
285
345
|
}
|
|
286
|
-
}),
|
|
346
|
+
}), j = (r) => {
|
|
287
347
|
const {
|
|
288
348
|
paddingBlockLG: o,
|
|
289
|
-
lineHeightLG:
|
|
290
|
-
borderRadiusLG:
|
|
349
|
+
lineHeightLG: e,
|
|
350
|
+
borderRadiusLG: a,
|
|
291
351
|
paddingInlineLG: t
|
|
292
352
|
} = r;
|
|
293
353
|
return {
|
|
294
|
-
padding: `${
|
|
354
|
+
padding: `${i(o)} ${i(t)}`,
|
|
295
355
|
fontSize: r.inputFontSizeLG,
|
|
296
|
-
lineHeight:
|
|
297
|
-
borderRadius:
|
|
356
|
+
lineHeight: e,
|
|
357
|
+
borderRadius: a
|
|
298
358
|
};
|
|
299
|
-
},
|
|
300
|
-
padding: `${
|
|
359
|
+
}, W = (r) => ({
|
|
360
|
+
padding: `${i(r.paddingBlockSM)} ${i(r.paddingInlineSM)}`,
|
|
301
361
|
fontSize: r.inputFontSizeSM,
|
|
302
362
|
borderRadius: r.borderRadiusSM
|
|
303
|
-
}),
|
|
363
|
+
}), H = (r) => Object.assign(Object.assign({
|
|
304
364
|
position: "relative",
|
|
305
365
|
display: "inline-block",
|
|
306
366
|
width: "100%",
|
|
307
367
|
minWidth: 0,
|
|
308
|
-
padding: `${
|
|
368
|
+
padding: `${i(r.paddingBlock)} ${i(r.paddingInline)}`,
|
|
309
369
|
color: r.colorText,
|
|
310
370
|
fontSize: r.inputFontSize,
|
|
311
371
|
lineHeight: r.lineHeight,
|
|
312
372
|
borderRadius: r.borderRadius,
|
|
313
373
|
transition: `all ${r.motionDurationMid}`
|
|
314
|
-
},
|
|
374
|
+
}, er(r.colorTextPlaceholder)), {
|
|
315
375
|
// Reset height for `textarea`s
|
|
316
376
|
"textarea&": {
|
|
317
377
|
maxWidth: "100%",
|
|
@@ -324,16 +384,16 @@ const A = (r) => {
|
|
|
324
384
|
resize: "vertical"
|
|
325
385
|
},
|
|
326
386
|
// Size
|
|
327
|
-
"&-lg": Object.assign({},
|
|
328
|
-
"&-sm": Object.assign({},
|
|
387
|
+
"&-lg": Object.assign({}, j(r)),
|
|
388
|
+
"&-sm": Object.assign({}, W(r)),
|
|
329
389
|
// RTL
|
|
330
390
|
"&-rtl, &-textarea-rtl": {
|
|
331
391
|
direction: "rtl"
|
|
332
392
|
}
|
|
333
|
-
}),
|
|
393
|
+
}), ir = (r) => {
|
|
334
394
|
const {
|
|
335
395
|
componentCls: o,
|
|
336
|
-
antCls:
|
|
396
|
+
antCls: e
|
|
337
397
|
} = r;
|
|
338
398
|
return {
|
|
339
399
|
position: "relative",
|
|
@@ -349,13 +409,13 @@ const A = (r) => {
|
|
|
349
409
|
}
|
|
350
410
|
},
|
|
351
411
|
// Sizing options
|
|
352
|
-
[`&-lg ${o}, &-lg > ${o}-group-addon`]: Object.assign({},
|
|
353
|
-
[`&-sm ${o}, &-sm > ${o}-group-addon`]: Object.assign({},
|
|
412
|
+
[`&-lg ${o}, &-lg > ${o}-group-addon`]: Object.assign({}, j(r)),
|
|
413
|
+
[`&-sm ${o}, &-sm > ${o}-group-addon`]: Object.assign({}, W(r)),
|
|
354
414
|
// Fix https://github.com/ant-design/ant-design/issues/5754
|
|
355
|
-
[`&-lg ${
|
|
415
|
+
[`&-lg ${e}-select-single ${e}-select-selector`]: {
|
|
356
416
|
height: r.controlHeightLG
|
|
357
417
|
},
|
|
358
|
-
[`&-sm ${
|
|
418
|
+
[`&-sm ${e}-select-single ${e}-select-selector`]: {
|
|
359
419
|
height: r.controlHeightSM
|
|
360
420
|
},
|
|
361
421
|
[`> ${o}`]: {
|
|
@@ -379,7 +439,7 @@ const A = (r) => {
|
|
|
379
439
|
},
|
|
380
440
|
"&-addon": {
|
|
381
441
|
position: "relative",
|
|
382
|
-
padding: `0 ${
|
|
442
|
+
padding: `0 ${i(r.paddingInline)}`,
|
|
383
443
|
color: r.colorText,
|
|
384
444
|
fontWeight: "normal",
|
|
385
445
|
fontSize: r.inputFontSize,
|
|
@@ -388,21 +448,21 @@ const A = (r) => {
|
|
|
388
448
|
transition: `all ${r.motionDurationSlow}`,
|
|
389
449
|
lineHeight: 1,
|
|
390
450
|
// Reset Select's style in addon
|
|
391
|
-
[`${
|
|
392
|
-
margin: `${
|
|
393
|
-
[`&${
|
|
394
|
-
[`${
|
|
451
|
+
[`${e}-select`]: {
|
|
452
|
+
margin: `${i(r.calc(r.paddingBlock).add(1).mul(-1).equal())} ${i(r.calc(r.paddingInline).mul(-1).equal())}`,
|
|
453
|
+
[`&${e}-select-single:not(${e}-select-customize-input):not(${e}-pagination-size-changer)`]: {
|
|
454
|
+
[`${e}-select-selector`]: {
|
|
395
455
|
backgroundColor: "inherit",
|
|
396
|
-
border: `${
|
|
456
|
+
border: `${i(r.lineWidth)} ${r.lineType} transparent`,
|
|
397
457
|
boxShadow: "none"
|
|
398
458
|
}
|
|
399
459
|
}
|
|
400
460
|
},
|
|
401
461
|
// https://github.com/ant-design/ant-design/issues/31333
|
|
402
|
-
[`${
|
|
403
|
-
margin: `-9px ${
|
|
462
|
+
[`${e}-cascader-picker`]: {
|
|
463
|
+
margin: `-9px ${i(r.calc(r.paddingInline).mul(-1).equal())}`,
|
|
404
464
|
backgroundColor: "transparent",
|
|
405
|
-
[`${
|
|
465
|
+
[`${e}-cascader-input`]: {
|
|
406
466
|
textAlign: "start",
|
|
407
467
|
border: 0,
|
|
408
468
|
boxShadow: "none"
|
|
@@ -432,7 +492,7 @@ const A = (r) => {
|
|
|
432
492
|
borderStartEndRadius: 0,
|
|
433
493
|
borderEndEndRadius: 0,
|
|
434
494
|
// Reset Select's style in addon
|
|
435
|
-
[`${
|
|
495
|
+
[`${e}-select ${e}-select-selector`]: {
|
|
436
496
|
borderStartEndRadius: 0,
|
|
437
497
|
borderEndEndRadius: 0
|
|
438
498
|
}
|
|
@@ -451,7 +511,7 @@ const A = (r) => {
|
|
|
451
511
|
borderStartStartRadius: 0,
|
|
452
512
|
borderEndStartRadius: 0,
|
|
453
513
|
// Reset Select's style in addon
|
|
454
|
-
[`${
|
|
514
|
+
[`${e}-select ${e}-select-selector`]: {
|
|
455
515
|
borderStartStartRadius: 0,
|
|
456
516
|
borderEndStartRadius: 0
|
|
457
517
|
}
|
|
@@ -472,7 +532,7 @@ const A = (r) => {
|
|
|
472
532
|
},
|
|
473
533
|
[`&${o}-group-compact`]: Object.assign(Object.assign({
|
|
474
534
|
display: "block"
|
|
475
|
-
},
|
|
535
|
+
}, J()), {
|
|
476
536
|
[`${o}-group-addon, ${o}-group-wrap, > ${o}`]: {
|
|
477
537
|
"&:not(:first-child):not(:last-child)": {
|
|
478
538
|
borderInlineEndWidth: r.lineWidth,
|
|
@@ -491,7 +551,7 @@ const A = (r) => {
|
|
|
491
551
|
[`
|
|
492
552
|
& > ${o}-affix-wrapper,
|
|
493
553
|
& > ${o}-number-affix-wrapper,
|
|
494
|
-
& > ${
|
|
554
|
+
& > ${e}-picker-range
|
|
495
555
|
`]: {
|
|
496
556
|
display: "inline-flex"
|
|
497
557
|
},
|
|
@@ -504,9 +564,9 @@ const A = (r) => {
|
|
|
504
564
|
float: "none"
|
|
505
565
|
},
|
|
506
566
|
// reset border for Select, DatePicker, AutoComplete, Cascader, Mention, TimePicker, Input
|
|
507
|
-
[`& > ${
|
|
508
|
-
& > ${
|
|
509
|
-
& > ${
|
|
567
|
+
[`& > ${e}-select > ${e}-select-selector,
|
|
568
|
+
& > ${e}-select-auto-complete ${o},
|
|
569
|
+
& > ${e}-cascader-picker ${o},
|
|
510
570
|
& > ${o}-group-wrapper ${o}`]: {
|
|
511
571
|
borderInlineEndWidth: r.lineWidth,
|
|
512
572
|
borderRadius: 0,
|
|
@@ -514,31 +574,31 @@ const A = (r) => {
|
|
|
514
574
|
zIndex: 1
|
|
515
575
|
}
|
|
516
576
|
},
|
|
517
|
-
[`& > ${
|
|
577
|
+
[`& > ${e}-select-focused`]: {
|
|
518
578
|
zIndex: 1
|
|
519
579
|
},
|
|
520
580
|
// update z-index for arrow icon
|
|
521
|
-
[`& > ${
|
|
581
|
+
[`& > ${e}-select > ${e}-select-arrow`]: {
|
|
522
582
|
zIndex: 1
|
|
523
583
|
// https://github.com/ant-design/ant-design/issues/20371
|
|
524
584
|
},
|
|
525
585
|
[`& > *:first-child,
|
|
526
|
-
& > ${
|
|
527
|
-
& > ${
|
|
528
|
-
& > ${
|
|
586
|
+
& > ${e}-select:first-child > ${e}-select-selector,
|
|
587
|
+
& > ${e}-select-auto-complete:first-child ${o},
|
|
588
|
+
& > ${e}-cascader-picker:first-child ${o}`]: {
|
|
529
589
|
borderStartStartRadius: r.borderRadius,
|
|
530
590
|
borderEndStartRadius: r.borderRadius
|
|
531
591
|
},
|
|
532
592
|
[`& > *:last-child,
|
|
533
|
-
& > ${
|
|
534
|
-
& > ${
|
|
535
|
-
& > ${
|
|
593
|
+
& > ${e}-select:last-child > ${e}-select-selector,
|
|
594
|
+
& > ${e}-cascader-picker:last-child ${o},
|
|
595
|
+
& > ${e}-cascader-picker-focused:last-child ${o}`]: {
|
|
536
596
|
borderInlineEndWidth: r.lineWidth,
|
|
537
597
|
borderStartEndRadius: r.borderRadius,
|
|
538
598
|
borderEndEndRadius: r.borderRadius
|
|
539
599
|
},
|
|
540
600
|
// https://github.com/ant-design/ant-design/issues/12493
|
|
541
|
-
[`& > ${
|
|
601
|
+
[`& > ${e}-select-auto-complete ${o}`]: {
|
|
542
602
|
verticalAlign: "top"
|
|
543
603
|
},
|
|
544
604
|
[`${o}-group-wrapper + ${o}-group-wrapper`]: {
|
|
@@ -562,22 +622,22 @@ const A = (r) => {
|
|
|
562
622
|
}
|
|
563
623
|
})
|
|
564
624
|
};
|
|
565
|
-
},
|
|
625
|
+
}, ar = (r) => {
|
|
566
626
|
const {
|
|
567
627
|
componentCls: o,
|
|
568
|
-
controlHeightSM:
|
|
569
|
-
lineWidth:
|
|
628
|
+
controlHeightSM: e,
|
|
629
|
+
lineWidth: a,
|
|
570
630
|
calc: t
|
|
571
|
-
} = r, l = t(
|
|
631
|
+
} = r, l = t(e).sub(t(a).mul(2)).sub(16).div(2).equal();
|
|
572
632
|
return {
|
|
573
|
-
[o]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
633
|
+
[o]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, B(r)), H(r)), V(r)), k(r)), Z(r)), or(r)), {
|
|
574
634
|
'&[type="color"]': {
|
|
575
635
|
height: r.controlHeight,
|
|
576
636
|
[`&${o}-lg`]: {
|
|
577
637
|
height: r.controlHeightLG
|
|
578
638
|
},
|
|
579
639
|
[`&${o}-sm`]: {
|
|
580
|
-
height:
|
|
640
|
+
height: e,
|
|
581
641
|
paddingTop: l,
|
|
582
642
|
paddingBottom: l
|
|
583
643
|
}
|
|
@@ -587,7 +647,7 @@ const A = (r) => {
|
|
|
587
647
|
}
|
|
588
648
|
})
|
|
589
649
|
};
|
|
590
|
-
},
|
|
650
|
+
}, tr = (r) => {
|
|
591
651
|
const {
|
|
592
652
|
componentCls: o
|
|
593
653
|
} = r;
|
|
@@ -617,22 +677,22 @@ const A = (r) => {
|
|
|
617
677
|
visibility: "hidden"
|
|
618
678
|
},
|
|
619
679
|
"&-has-suffix": {
|
|
620
|
-
margin: `0 ${
|
|
680
|
+
margin: `0 ${i(r.inputAffixPadding)}`
|
|
621
681
|
}
|
|
622
682
|
}
|
|
623
683
|
};
|
|
624
|
-
},
|
|
684
|
+
}, dr = (r) => {
|
|
625
685
|
const {
|
|
626
686
|
componentCls: o,
|
|
627
|
-
inputAffixPadding:
|
|
628
|
-
colorTextDescription:
|
|
687
|
+
inputAffixPadding: e,
|
|
688
|
+
colorTextDescription: a,
|
|
629
689
|
motionDurationSlow: t,
|
|
630
|
-
colorIcon:
|
|
690
|
+
colorIcon: d,
|
|
631
691
|
colorIconHover: l,
|
|
632
|
-
iconCls:
|
|
633
|
-
} = r,
|
|
692
|
+
iconCls: n
|
|
693
|
+
} = r, c = `${o}-affix-wrapper`, g = `${o}-affix-wrapper-disabled`;
|
|
634
694
|
return {
|
|
635
|
-
[
|
|
695
|
+
[c]: Object.assign(Object.assign(Object.assign(Object.assign({}, H(r)), {
|
|
636
696
|
display: "inline-flex",
|
|
637
697
|
[`&:not(${o}-disabled):hover`]: {
|
|
638
698
|
zIndex: 1,
|
|
@@ -676,22 +736,22 @@ const A = (r) => {
|
|
|
676
736
|
}
|
|
677
737
|
},
|
|
678
738
|
"&-show-count-suffix": {
|
|
679
|
-
color:
|
|
739
|
+
color: a
|
|
680
740
|
},
|
|
681
741
|
"&-show-count-has-suffix": {
|
|
682
742
|
marginInlineEnd: r.paddingXXS
|
|
683
743
|
},
|
|
684
744
|
"&-prefix": {
|
|
685
|
-
marginInlineEnd:
|
|
745
|
+
marginInlineEnd: e
|
|
686
746
|
},
|
|
687
747
|
"&-suffix": {
|
|
688
|
-
marginInlineStart:
|
|
748
|
+
marginInlineStart: e
|
|
689
749
|
}
|
|
690
750
|
}
|
|
691
|
-
}),
|
|
751
|
+
}), tr(r)), {
|
|
692
752
|
// password
|
|
693
|
-
[`${
|
|
694
|
-
color:
|
|
753
|
+
[`${n}${o}-password-icon`]: {
|
|
754
|
+
color: d,
|
|
695
755
|
cursor: "pointer",
|
|
696
756
|
transition: `all ${t}`,
|
|
697
757
|
"&:hover": {
|
|
@@ -699,25 +759,29 @@ const A = (r) => {
|
|
|
699
759
|
}
|
|
700
760
|
}
|
|
701
761
|
}),
|
|
702
|
-
|
|
762
|
+
// 覆盖 affix-wrapper borderRadius!
|
|
763
|
+
[`${o}-underlined`]: {
|
|
764
|
+
borderRadius: 0
|
|
765
|
+
},
|
|
766
|
+
[g]: {
|
|
703
767
|
// password disabled
|
|
704
|
-
[`${
|
|
705
|
-
color:
|
|
768
|
+
[`${n}${o}-password-icon`]: {
|
|
769
|
+
color: d,
|
|
706
770
|
cursor: "not-allowed",
|
|
707
771
|
"&:hover": {
|
|
708
|
-
color:
|
|
772
|
+
color: d
|
|
709
773
|
}
|
|
710
774
|
}
|
|
711
775
|
}
|
|
712
776
|
};
|
|
713
|
-
},
|
|
777
|
+
}, lr = (r) => {
|
|
714
778
|
const {
|
|
715
779
|
componentCls: o,
|
|
716
|
-
borderRadiusLG:
|
|
717
|
-
borderRadiusSM:
|
|
780
|
+
borderRadiusLG: e,
|
|
781
|
+
borderRadiusSM: a
|
|
718
782
|
} = r;
|
|
719
783
|
return {
|
|
720
|
-
[`${o}-group`]: Object.assign(Object.assign(Object.assign({},
|
|
784
|
+
[`${o}-group`]: Object.assign(Object.assign(Object.assign({}, B(r)), ir(r)), {
|
|
721
785
|
"&-rtl": {
|
|
722
786
|
direction: "rtl"
|
|
723
787
|
},
|
|
@@ -732,16 +796,16 @@ const A = (r) => {
|
|
|
732
796
|
// Size
|
|
733
797
|
"&-lg": {
|
|
734
798
|
[`${o}-group-addon`]: {
|
|
735
|
-
borderRadius:
|
|
799
|
+
borderRadius: e,
|
|
736
800
|
fontSize: r.inputFontSizeLG
|
|
737
801
|
}
|
|
738
802
|
},
|
|
739
803
|
"&-sm": {
|
|
740
804
|
[`${o}-group-addon`]: {
|
|
741
|
-
borderRadius:
|
|
805
|
+
borderRadius: a
|
|
742
806
|
}
|
|
743
807
|
}
|
|
744
|
-
},
|
|
808
|
+
}, Y(r)), rr(r)), {
|
|
745
809
|
// '&-disabled': {
|
|
746
810
|
// [`${componentCls}-group-addon`]: {
|
|
747
811
|
// ...genDisabledStyle(token),
|
|
@@ -785,16 +849,16 @@ const A = (r) => {
|
|
|
785
849
|
})
|
|
786
850
|
})
|
|
787
851
|
};
|
|
788
|
-
},
|
|
852
|
+
}, nr = (r) => {
|
|
789
853
|
const {
|
|
790
854
|
componentCls: o,
|
|
791
|
-
antCls:
|
|
792
|
-
} = r,
|
|
855
|
+
antCls: e
|
|
856
|
+
} = r, a = `${o}-search`;
|
|
793
857
|
return {
|
|
794
|
-
[
|
|
858
|
+
[a]: {
|
|
795
859
|
[o]: {
|
|
796
860
|
"&:hover, &:focus": {
|
|
797
|
-
[`+ ${o}-group-addon ${
|
|
861
|
+
[`+ ${o}-group-addon ${a}-button:not(${e}-btn-primary)`]: {
|
|
798
862
|
borderInlineStartColor: r.colorPrimaryHover
|
|
799
863
|
}
|
|
800
864
|
}
|
|
@@ -813,14 +877,14 @@ const A = (r) => {
|
|
|
813
877
|
insetInlineStart: -1,
|
|
814
878
|
padding: 0,
|
|
815
879
|
border: 0,
|
|
816
|
-
[`${
|
|
880
|
+
[`${a}-button`]: {
|
|
817
881
|
// Fix https://github.com/ant-design/ant-design/issues/47150
|
|
818
882
|
marginInlineEnd: -1,
|
|
819
883
|
borderStartStartRadius: 0,
|
|
820
884
|
borderEndStartRadius: 0,
|
|
821
885
|
boxShadow: "none"
|
|
822
886
|
},
|
|
823
|
-
[`${
|
|
887
|
+
[`${a}-button:not(${e}-btn-primary)`]: {
|
|
824
888
|
color: r.colorTextDescription,
|
|
825
889
|
"&:hover": {
|
|
826
890
|
color: r.colorPrimaryHover
|
|
@@ -828,7 +892,7 @@ const A = (r) => {
|
|
|
828
892
|
"&:active": {
|
|
829
893
|
color: r.colorPrimaryActive
|
|
830
894
|
},
|
|
831
|
-
[`&${
|
|
895
|
+
[`&${e}-btn-loading::before`]: {
|
|
832
896
|
insetInlineStart: 0,
|
|
833
897
|
insetInlineEnd: 0,
|
|
834
898
|
insetBlockStart: 0,
|
|
@@ -837,19 +901,19 @@ const A = (r) => {
|
|
|
837
901
|
}
|
|
838
902
|
}
|
|
839
903
|
},
|
|
840
|
-
[`${
|
|
904
|
+
[`${a}-button`]: {
|
|
841
905
|
height: r.controlHeight,
|
|
842
906
|
"&:hover, &:focus": {
|
|
843
907
|
zIndex: 1
|
|
844
908
|
}
|
|
845
909
|
},
|
|
846
910
|
"&-large": {
|
|
847
|
-
[`${o}-affix-wrapper, ${
|
|
911
|
+
[`${o}-affix-wrapper, ${a}-button`]: {
|
|
848
912
|
height: r.controlHeightLG
|
|
849
913
|
}
|
|
850
914
|
},
|
|
851
915
|
"&-small": {
|
|
852
|
-
[`${o}-affix-wrapper, ${
|
|
916
|
+
[`${o}-affix-wrapper, ${a}-button`]: {
|
|
853
917
|
height: r.controlHeightSM
|
|
854
918
|
}
|
|
855
919
|
},
|
|
@@ -884,80 +948,7 @@ const A = (r) => {
|
|
|
884
948
|
}
|
|
885
949
|
}
|
|
886
950
|
};
|
|
887
|
-
},
|
|
888
|
-
const {
|
|
889
|
-
componentCls: o,
|
|
890
|
-
paddingLG: i
|
|
891
|
-
} = r, e = `${o}-textarea`;
|
|
892
|
-
return {
|
|
893
|
-
[e]: {
|
|
894
|
-
position: "relative",
|
|
895
|
-
"&-show-count": {
|
|
896
|
-
// https://github.com/ant-design/ant-design/issues/33049
|
|
897
|
-
[`> ${o}`]: {
|
|
898
|
-
height: "100%"
|
|
899
|
-
},
|
|
900
|
-
[`${o}-data-count`]: {
|
|
901
|
-
position: "absolute",
|
|
902
|
-
bottom: r.calc(r.fontSize).mul(r.lineHeight).mul(-1).equal(),
|
|
903
|
-
insetInlineEnd: 0,
|
|
904
|
-
color: r.colorTextDescription,
|
|
905
|
-
whiteSpace: "nowrap",
|
|
906
|
-
pointerEvents: "none"
|
|
907
|
-
}
|
|
908
|
-
},
|
|
909
|
-
[`
|
|
910
|
-
&-allow-clear > ${o},
|
|
911
|
-
&-affix-wrapper${e}-has-feedback ${o}
|
|
912
|
-
`]: {
|
|
913
|
-
paddingInlineEnd: i
|
|
914
|
-
},
|
|
915
|
-
[`&-affix-wrapper${o}-affix-wrapper`]: {
|
|
916
|
-
padding: 0,
|
|
917
|
-
[`> textarea${o}`]: {
|
|
918
|
-
fontSize: "inherit",
|
|
919
|
-
border: "none",
|
|
920
|
-
outline: "none",
|
|
921
|
-
background: "transparent",
|
|
922
|
-
"&:focus": {
|
|
923
|
-
boxShadow: "none !important"
|
|
924
|
-
}
|
|
925
|
-
},
|
|
926
|
-
[`${o}-suffix`]: {
|
|
927
|
-
margin: 0,
|
|
928
|
-
"> *:not(:last-child)": {
|
|
929
|
-
marginInline: 0
|
|
930
|
-
},
|
|
931
|
-
// Clear Icon
|
|
932
|
-
[`${o}-clear-icon`]: {
|
|
933
|
-
position: "absolute",
|
|
934
|
-
insetInlineEnd: r.paddingInline,
|
|
935
|
-
insetBlockStart: r.paddingXS
|
|
936
|
-
},
|
|
937
|
-
// Feedback Icon
|
|
938
|
-
[`${e}-suffix`]: {
|
|
939
|
-
position: "absolute",
|
|
940
|
-
top: 0,
|
|
941
|
-
insetInlineEnd: r.paddingInline,
|
|
942
|
-
bottom: 0,
|
|
943
|
-
zIndex: 1,
|
|
944
|
-
display: "inline-flex",
|
|
945
|
-
alignItems: "center",
|
|
946
|
-
margin: "auto",
|
|
947
|
-
pointerEvents: "none"
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
},
|
|
951
|
-
[`&-affix-wrapper${o}-affix-wrapper-sm`]: {
|
|
952
|
-
[`${o}-suffix`]: {
|
|
953
|
-
[`${o}-clear-icon`]: {
|
|
954
|
-
insetInlineEnd: r.paddingInlineSM
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
};
|
|
960
|
-
}, Z = (r) => {
|
|
951
|
+
}, sr = (r) => {
|
|
961
952
|
const {
|
|
962
953
|
componentCls: o
|
|
963
954
|
} = r;
|
|
@@ -968,33 +959,37 @@ const A = (r) => {
|
|
|
968
959
|
}
|
|
969
960
|
}
|
|
970
961
|
};
|
|
971
|
-
},
|
|
972
|
-
const o =
|
|
962
|
+
}, br = w(["Input", "Shared"], (r) => {
|
|
963
|
+
const o = s(r, y(r));
|
|
964
|
+
return [ar(o), dr(o)];
|
|
965
|
+
}, E, {
|
|
966
|
+
resetFont: !1
|
|
967
|
+
}), $r = w(["Input", "Component"], (r) => {
|
|
968
|
+
const o = s(r, y(r));
|
|
973
969
|
return [
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
U(o),
|
|
978
|
-
V(o),
|
|
979
|
-
Z(o),
|
|
970
|
+
lr(o),
|
|
971
|
+
nr(o),
|
|
972
|
+
sr(o),
|
|
980
973
|
// =====================================================
|
|
981
974
|
// == Space Compact ==
|
|
982
975
|
// =====================================================
|
|
983
|
-
|
|
976
|
+
K(o)
|
|
984
977
|
];
|
|
985
|
-
},
|
|
978
|
+
}, E, {
|
|
986
979
|
resetFont: !1
|
|
987
980
|
});
|
|
988
981
|
export {
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
982
|
+
E as a,
|
|
983
|
+
$r as b,
|
|
984
|
+
or as c,
|
|
985
|
+
k as d,
|
|
986
|
+
Z as e,
|
|
987
|
+
er as f,
|
|
988
|
+
V as g,
|
|
989
|
+
H as h,
|
|
990
|
+
y as i,
|
|
991
|
+
R as j,
|
|
992
|
+
b as k,
|
|
993
|
+
W as l,
|
|
994
|
+
br as u
|
|
1000
995
|
};
|