@gobolt/genesis 0.1.1 → 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 +8 -8
- 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-BjIR5S0o.js +0 -24731
- 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,81 +1,81 @@
|
|
|
1
1
|
import * as r from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { o as
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
const
|
|
2
|
+
import { c as p } from "./presets-CSXMiWyc.js";
|
|
3
|
+
import { g as G, m as W, f as D, C as k, l as X } from "./CSSMotionList-DB0khM6h.js";
|
|
4
|
+
import { o as M } from "./omit-B_u6A-HL.js";
|
|
5
|
+
import "./index-DCopujxC.js";
|
|
6
|
+
import { K } from "./Keyframes-CyO2Aeq-.js";
|
|
7
|
+
const O = (e) => {
|
|
8
8
|
const {
|
|
9
9
|
prefixCls: t,
|
|
10
10
|
className: s,
|
|
11
11
|
style: n,
|
|
12
12
|
size: a,
|
|
13
|
-
shape:
|
|
13
|
+
shape: i
|
|
14
14
|
} = e, c = p({
|
|
15
15
|
[`${t}-lg`]: a === "large",
|
|
16
16
|
[`${t}-sm`]: a === "small"
|
|
17
17
|
}), l = p({
|
|
18
|
-
[`${t}-circle`]:
|
|
19
|
-
[`${t}-square`]:
|
|
20
|
-
[`${t}-round`]:
|
|
21
|
-
}),
|
|
18
|
+
[`${t}-circle`]: i === "circle",
|
|
19
|
+
[`${t}-square`]: i === "square",
|
|
20
|
+
[`${t}-round`]: i === "round"
|
|
21
|
+
}), o = r.useMemo(() => typeof a == "number" ? {
|
|
22
22
|
width: a,
|
|
23
23
|
height: a,
|
|
24
24
|
lineHeight: `${a}px`
|
|
25
25
|
} : {}, [a]);
|
|
26
26
|
return /* @__PURE__ */ r.createElement("span", {
|
|
27
27
|
className: p(t, c, l, s),
|
|
28
|
-
style: Object.assign(Object.assign({},
|
|
28
|
+
style: Object.assign(Object.assign({}, o), n)
|
|
29
29
|
});
|
|
30
|
-
}, _ = new
|
|
30
|
+
}, _ = new K("ant-skeleton-loading", {
|
|
31
31
|
"0%": {
|
|
32
32
|
backgroundPosition: "100% 50%"
|
|
33
33
|
},
|
|
34
34
|
"100%": {
|
|
35
35
|
backgroundPosition: "0 50%"
|
|
36
36
|
}
|
|
37
|
-
}),
|
|
37
|
+
}), N = (e) => ({
|
|
38
38
|
height: e,
|
|
39
|
-
lineHeight:
|
|
40
|
-
}),
|
|
39
|
+
lineHeight: D(e)
|
|
40
|
+
}), b = (e) => Object.assign({
|
|
41
41
|
width: e
|
|
42
|
-
},
|
|
42
|
+
}, N(e)), J = (e) => ({
|
|
43
43
|
background: e.skeletonLoadingBackground,
|
|
44
44
|
backgroundSize: "400% 100%",
|
|
45
45
|
animationName: _,
|
|
46
46
|
animationDuration: e.skeletonLoadingMotionDuration,
|
|
47
47
|
animationTimingFunction: "ease",
|
|
48
48
|
animationIterationCount: "infinite"
|
|
49
|
-
}),
|
|
49
|
+
}), q = (e, t) => Object.assign({
|
|
50
50
|
width: t(e).mul(5).equal(),
|
|
51
51
|
minWidth: t(e).mul(5).equal()
|
|
52
|
-
},
|
|
52
|
+
}, N(e)), Q = (e) => {
|
|
53
53
|
const {
|
|
54
54
|
skeletonAvatarCls: t,
|
|
55
55
|
gradientFromColor: s,
|
|
56
56
|
controlHeight: n,
|
|
57
57
|
controlHeightLG: a,
|
|
58
|
-
controlHeightSM:
|
|
58
|
+
controlHeightSM: i
|
|
59
59
|
} = e;
|
|
60
60
|
return {
|
|
61
61
|
[t]: Object.assign({
|
|
62
62
|
display: "inline-block",
|
|
63
63
|
verticalAlign: "top",
|
|
64
64
|
background: s
|
|
65
|
-
},
|
|
65
|
+
}, b(n)),
|
|
66
66
|
[`${t}${t}-circle`]: {
|
|
67
67
|
borderRadius: "50%"
|
|
68
68
|
},
|
|
69
|
-
[`${t}${t}-lg`]: Object.assign({},
|
|
70
|
-
[`${t}${t}-sm`]: Object.assign({},
|
|
69
|
+
[`${t}${t}-lg`]: Object.assign({}, b(a)),
|
|
70
|
+
[`${t}${t}-sm`]: Object.assign({}, b(i))
|
|
71
71
|
};
|
|
72
|
-
},
|
|
72
|
+
}, U = (e) => {
|
|
73
73
|
const {
|
|
74
74
|
controlHeight: t,
|
|
75
75
|
borderRadiusSM: s,
|
|
76
76
|
skeletonInputCls: n,
|
|
77
77
|
controlHeightLG: a,
|
|
78
|
-
controlHeightSM:
|
|
78
|
+
controlHeightSM: i,
|
|
79
79
|
gradientFromColor: c,
|
|
80
80
|
calc: l
|
|
81
81
|
} = e;
|
|
@@ -85,19 +85,19 @@ const N = (e) => {
|
|
|
85
85
|
verticalAlign: "top",
|
|
86
86
|
background: c,
|
|
87
87
|
borderRadius: s
|
|
88
|
-
},
|
|
89
|
-
[`${n}-lg`]: Object.assign({},
|
|
90
|
-
[`${n}-sm`]: Object.assign({},
|
|
88
|
+
}, q(t, l)),
|
|
89
|
+
[`${n}-lg`]: Object.assign({}, q(a, l)),
|
|
90
|
+
[`${n}-sm`]: Object.assign({}, q(i, l))
|
|
91
91
|
};
|
|
92
|
-
},
|
|
92
|
+
}, V = (e) => Object.assign({
|
|
93
93
|
width: e
|
|
94
|
-
},
|
|
94
|
+
}, N(e)), Y = (e) => {
|
|
95
95
|
const {
|
|
96
96
|
skeletonImageCls: t,
|
|
97
97
|
imageSizeBase: s,
|
|
98
98
|
gradientFromColor: n,
|
|
99
99
|
borderRadiusSM: a,
|
|
100
|
-
calc:
|
|
100
|
+
calc: i
|
|
101
101
|
} = e;
|
|
102
102
|
return {
|
|
103
103
|
[t]: Object.assign(Object.assign({
|
|
@@ -107,13 +107,13 @@ const N = (e) => {
|
|
|
107
107
|
verticalAlign: "middle",
|
|
108
108
|
background: n,
|
|
109
109
|
borderRadius: a
|
|
110
|
-
},
|
|
110
|
+
}, V(i(s).mul(2).equal())), {
|
|
111
111
|
[`${t}-path`]: {
|
|
112
112
|
fill: "#bfbfbf"
|
|
113
113
|
},
|
|
114
|
-
[`${t}-svg`]: Object.assign(Object.assign({},
|
|
115
|
-
maxWidth:
|
|
116
|
-
maxHeight:
|
|
114
|
+
[`${t}-svg`]: Object.assign(Object.assign({}, V(s)), {
|
|
115
|
+
maxWidth: i(s).mul(4).equal(),
|
|
116
|
+
maxHeight: i(s).mul(4).equal()
|
|
117
117
|
}),
|
|
118
118
|
[`${t}-svg${t}-svg-circle`]: {
|
|
119
119
|
borderRadius: "50%"
|
|
@@ -123,7 +123,7 @@ const N = (e) => {
|
|
|
123
123
|
borderRadius: "50%"
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
|
-
},
|
|
126
|
+
}, B = (e, t, s) => {
|
|
127
127
|
const {
|
|
128
128
|
skeletonButtonCls: n
|
|
129
129
|
} = e;
|
|
@@ -137,16 +137,16 @@ const N = (e) => {
|
|
|
137
137
|
borderRadius: t
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
|
-
},
|
|
140
|
+
}, z = (e, t) => Object.assign({
|
|
141
141
|
width: t(e).mul(2).equal(),
|
|
142
142
|
minWidth: t(e).mul(2).equal()
|
|
143
|
-
},
|
|
143
|
+
}, N(e)), Z = (e) => {
|
|
144
144
|
const {
|
|
145
145
|
borderRadiusSM: t,
|
|
146
146
|
skeletonButtonCls: s,
|
|
147
147
|
controlHeight: n,
|
|
148
148
|
controlHeightLG: a,
|
|
149
|
-
controlHeightSM:
|
|
149
|
+
controlHeightSM: i,
|
|
150
150
|
gradientFromColor: c,
|
|
151
151
|
calc: l
|
|
152
152
|
} = e;
|
|
@@ -158,33 +158,33 @@ const N = (e) => {
|
|
|
158
158
|
borderRadius: t,
|
|
159
159
|
width: l(n).mul(2).equal(),
|
|
160
160
|
minWidth: l(n).mul(2).equal()
|
|
161
|
-
},
|
|
162
|
-
},
|
|
163
|
-
[`${s}-lg`]: Object.assign({},
|
|
164
|
-
}),
|
|
165
|
-
[`${s}-sm`]: Object.assign({},
|
|
166
|
-
}),
|
|
167
|
-
},
|
|
161
|
+
}, z(n, l))
|
|
162
|
+
}, B(e, n, s)), {
|
|
163
|
+
[`${s}-lg`]: Object.assign({}, z(a, l))
|
|
164
|
+
}), B(e, a, `${s}-lg`)), {
|
|
165
|
+
[`${s}-sm`]: Object.assign({}, z(i, l))
|
|
166
|
+
}), B(e, i, `${s}-sm`));
|
|
167
|
+
}, ee = (e) => {
|
|
168
168
|
const {
|
|
169
169
|
componentCls: t,
|
|
170
170
|
skeletonAvatarCls: s,
|
|
171
171
|
skeletonTitleCls: n,
|
|
172
172
|
skeletonParagraphCls: a,
|
|
173
|
-
skeletonButtonCls:
|
|
173
|
+
skeletonButtonCls: i,
|
|
174
174
|
skeletonInputCls: c,
|
|
175
175
|
skeletonImageCls: l,
|
|
176
|
-
controlHeight:
|
|
177
|
-
controlHeightLG:
|
|
178
|
-
controlHeightSM:
|
|
176
|
+
controlHeight: o,
|
|
177
|
+
controlHeightLG: m,
|
|
178
|
+
controlHeightSM: d,
|
|
179
179
|
gradientFromColor: g,
|
|
180
180
|
padding: h,
|
|
181
181
|
marginSM: C,
|
|
182
|
-
borderRadius:
|
|
183
|
-
titleHeight:
|
|
184
|
-
blockRadius:
|
|
182
|
+
borderRadius: w,
|
|
183
|
+
titleHeight: E,
|
|
184
|
+
blockRadius: u,
|
|
185
185
|
paragraphLiHeight: y,
|
|
186
186
|
controlHeightXS: P,
|
|
187
|
-
paragraphMarginTop:
|
|
187
|
+
paragraphMarginTop: H
|
|
188
188
|
} = e;
|
|
189
189
|
return {
|
|
190
190
|
[t]: {
|
|
@@ -199,12 +199,12 @@ const N = (e) => {
|
|
|
199
199
|
display: "inline-block",
|
|
200
200
|
verticalAlign: "top",
|
|
201
201
|
background: g
|
|
202
|
-
},
|
|
202
|
+
}, b(o)),
|
|
203
203
|
[`${s}-circle`]: {
|
|
204
204
|
borderRadius: "50%"
|
|
205
205
|
},
|
|
206
|
-
[`${s}-lg`]: Object.assign({},
|
|
207
|
-
[`${s}-sm`]: Object.assign({},
|
|
206
|
+
[`${s}-lg`]: Object.assign({}, b(m)),
|
|
207
|
+
[`${s}-sm`]: Object.assign({}, b(d))
|
|
208
208
|
},
|
|
209
209
|
[`${t}-content`]: {
|
|
210
210
|
display: "table-cell",
|
|
@@ -213,11 +213,11 @@ const N = (e) => {
|
|
|
213
213
|
// Title
|
|
214
214
|
[n]: {
|
|
215
215
|
width: "100%",
|
|
216
|
-
height:
|
|
216
|
+
height: E,
|
|
217
217
|
background: g,
|
|
218
|
-
borderRadius:
|
|
218
|
+
borderRadius: u,
|
|
219
219
|
[`+ ${a}`]: {
|
|
220
|
-
marginBlockStart:
|
|
220
|
+
marginBlockStart: d
|
|
221
221
|
}
|
|
222
222
|
},
|
|
223
223
|
// paragraph
|
|
@@ -228,7 +228,7 @@ const N = (e) => {
|
|
|
228
228
|
height: y,
|
|
229
229
|
listStyle: "none",
|
|
230
230
|
background: g,
|
|
231
|
-
borderRadius:
|
|
231
|
+
borderRadius: u,
|
|
232
232
|
"+ li": {
|
|
233
233
|
marginBlockStart: P
|
|
234
234
|
}
|
|
@@ -240,7 +240,7 @@ const N = (e) => {
|
|
|
240
240
|
},
|
|
241
241
|
[`&-round ${t}-content`]: {
|
|
242
242
|
[`${n}, ${a} > li`]: {
|
|
243
|
-
borderRadius:
|
|
243
|
+
borderRadius: w
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
},
|
|
@@ -249,7 +249,7 @@ const N = (e) => {
|
|
|
249
249
|
[n]: {
|
|
250
250
|
marginBlockStart: C,
|
|
251
251
|
[`+ ${a}`]: {
|
|
252
|
-
marginBlockStart:
|
|
252
|
+
marginBlockStart: H
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
},
|
|
@@ -257,11 +257,11 @@ const N = (e) => {
|
|
|
257
257
|
[`${t}${t}-element`]: Object.assign(Object.assign(Object.assign(Object.assign({
|
|
258
258
|
display: "inline-block",
|
|
259
259
|
width: "auto"
|
|
260
|
-
},
|
|
260
|
+
}, Z(e)), Q(e)), U(e)), Y(e)),
|
|
261
261
|
// Skeleton Block Button, Input
|
|
262
262
|
[`${t}${t}-block`]: {
|
|
263
263
|
width: "100%",
|
|
264
|
-
[
|
|
264
|
+
[i]: {
|
|
265
265
|
width: "100%"
|
|
266
266
|
},
|
|
267
267
|
[c]: {
|
|
@@ -274,13 +274,13 @@ const N = (e) => {
|
|
|
274
274
|
${n},
|
|
275
275
|
${a} > li,
|
|
276
276
|
${s},
|
|
277
|
-
${
|
|
277
|
+
${i},
|
|
278
278
|
${c},
|
|
279
279
|
${l}
|
|
280
|
-
`]: Object.assign({},
|
|
280
|
+
`]: Object.assign({}, J(e))
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
|
-
},
|
|
283
|
+
}, te = (e) => {
|
|
284
284
|
const {
|
|
285
285
|
colorFillContent: t,
|
|
286
286
|
colorFill: s
|
|
@@ -295,11 +295,11 @@ const N = (e) => {
|
|
|
295
295
|
paragraphMarginTop: e.marginLG + e.marginXXS,
|
|
296
296
|
paragraphLiHeight: e.controlHeight / 2
|
|
297
297
|
};
|
|
298
|
-
},
|
|
298
|
+
}, $ = G("Skeleton", (e) => {
|
|
299
299
|
const {
|
|
300
300
|
componentCls: t,
|
|
301
301
|
calc: s
|
|
302
|
-
} = e, n =
|
|
302
|
+
} = e, n = W(e, {
|
|
303
303
|
skeletonAvatarCls: `${t}-avatar`,
|
|
304
304
|
skeletonTitleCls: `${t}-title`,
|
|
305
305
|
skeletonParagraphCls: `${t}-paragraph`,
|
|
@@ -312,62 +312,62 @@ const N = (e) => {
|
|
|
312
312
|
skeletonLoadingBackground: `linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,
|
|
313
313
|
skeletonLoadingMotionDuration: "1.4s"
|
|
314
314
|
});
|
|
315
|
-
return [
|
|
316
|
-
},
|
|
315
|
+
return [ee(n)];
|
|
316
|
+
}, te, {
|
|
317
317
|
deprecatedTokens: [["color", "gradientFromColor"], ["colorGradientEnd", "gradientToColor"]]
|
|
318
|
-
}),
|
|
318
|
+
}), se = (e) => {
|
|
319
319
|
const {
|
|
320
320
|
prefixCls: t,
|
|
321
321
|
className: s,
|
|
322
322
|
rootClassName: n,
|
|
323
323
|
active: a,
|
|
324
|
-
shape:
|
|
324
|
+
shape: i = "circle",
|
|
325
325
|
size: c = "default"
|
|
326
326
|
} = e, {
|
|
327
327
|
getPrefixCls: l
|
|
328
|
-
} = r.useContext(k),
|
|
329
|
-
[`${
|
|
330
|
-
}, s, n,
|
|
331
|
-
return
|
|
328
|
+
} = r.useContext(k), o = l("skeleton", t), [m, d, g] = $(o), h = M(e, ["prefixCls", "className"]), C = p(o, `${o}-element`, {
|
|
329
|
+
[`${o}-active`]: a
|
|
330
|
+
}, s, n, d, g);
|
|
331
|
+
return m(/* @__PURE__ */ r.createElement("div", {
|
|
332
332
|
className: C
|
|
333
|
-
}, /* @__PURE__ */ r.createElement(
|
|
334
|
-
prefixCls: `${
|
|
335
|
-
shape:
|
|
333
|
+
}, /* @__PURE__ */ r.createElement(O, Object.assign({
|
|
334
|
+
prefixCls: `${o}-avatar`,
|
|
335
|
+
shape: i,
|
|
336
336
|
size: c
|
|
337
337
|
}, h))));
|
|
338
|
-
},
|
|
338
|
+
}, ne = (e) => {
|
|
339
339
|
const {
|
|
340
340
|
prefixCls: t,
|
|
341
341
|
className: s,
|
|
342
342
|
rootClassName: n,
|
|
343
343
|
active: a,
|
|
344
|
-
block:
|
|
344
|
+
block: i = !1,
|
|
345
345
|
size: c = "default"
|
|
346
346
|
} = e, {
|
|
347
347
|
getPrefixCls: l
|
|
348
|
-
} = r.useContext(k),
|
|
349
|
-
[`${
|
|
350
|
-
[`${
|
|
351
|
-
}, s, n,
|
|
352
|
-
return
|
|
348
|
+
} = r.useContext(k), o = l("skeleton", t), [m, d, g] = $(o), h = M(e, ["prefixCls"]), C = p(o, `${o}-element`, {
|
|
349
|
+
[`${o}-active`]: a,
|
|
350
|
+
[`${o}-block`]: i
|
|
351
|
+
}, s, n, d, g);
|
|
352
|
+
return m(/* @__PURE__ */ r.createElement("div", {
|
|
353
353
|
className: C
|
|
354
|
-
}, /* @__PURE__ */ r.createElement(
|
|
355
|
-
prefixCls: `${
|
|
354
|
+
}, /* @__PURE__ */ r.createElement(O, Object.assign({
|
|
355
|
+
prefixCls: `${o}-button`,
|
|
356
356
|
size: c
|
|
357
357
|
}, h))));
|
|
358
|
-
},
|
|
358
|
+
}, ae = "M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z", le = (e) => {
|
|
359
359
|
const {
|
|
360
360
|
prefixCls: t,
|
|
361
361
|
className: s,
|
|
362
362
|
rootClassName: n,
|
|
363
363
|
style: a,
|
|
364
|
-
active:
|
|
364
|
+
active: i
|
|
365
365
|
} = e, {
|
|
366
366
|
getPrefixCls: c
|
|
367
|
-
} = r.useContext(k), l = c("skeleton", t), [
|
|
368
|
-
[`${l}-active`]:
|
|
369
|
-
}, s, n,
|
|
370
|
-
return
|
|
367
|
+
} = r.useContext(k), l = c("skeleton", t), [o, m, d] = $(l), g = p(l, `${l}-element`, {
|
|
368
|
+
[`${l}-active`]: i
|
|
369
|
+
}, s, n, m, d);
|
|
370
|
+
return o(/* @__PURE__ */ r.createElement("div", {
|
|
371
371
|
className: g
|
|
372
372
|
}, /* @__PURE__ */ r.createElement("div", {
|
|
373
373
|
className: p(`${l}-image`, s),
|
|
@@ -377,27 +377,27 @@ const N = (e) => {
|
|
|
377
377
|
xmlns: "http://www.w3.org/2000/svg",
|
|
378
378
|
className: `${l}-image-svg`
|
|
379
379
|
}, /* @__PURE__ */ r.createElement("title", null, "Image placeholder"), /* @__PURE__ */ r.createElement("path", {
|
|
380
|
-
d:
|
|
380
|
+
d: ae,
|
|
381
381
|
className: `${l}-image-path`
|
|
382
382
|
})))));
|
|
383
|
-
},
|
|
383
|
+
}, oe = (e) => {
|
|
384
384
|
const {
|
|
385
385
|
prefixCls: t,
|
|
386
386
|
className: s,
|
|
387
387
|
rootClassName: n,
|
|
388
388
|
active: a,
|
|
389
|
-
block:
|
|
389
|
+
block: i,
|
|
390
390
|
size: c = "default"
|
|
391
391
|
} = e, {
|
|
392
392
|
getPrefixCls: l
|
|
393
|
-
} = r.useContext(k),
|
|
394
|
-
[`${
|
|
395
|
-
[`${
|
|
396
|
-
}, s, n,
|
|
397
|
-
return
|
|
393
|
+
} = r.useContext(k), o = l("skeleton", t), [m, d, g] = $(o), h = M(e, ["prefixCls"]), C = p(o, `${o}-element`, {
|
|
394
|
+
[`${o}-active`]: a,
|
|
395
|
+
[`${o}-block`]: i
|
|
396
|
+
}, s, n, d, g);
|
|
397
|
+
return m(/* @__PURE__ */ r.createElement("div", {
|
|
398
398
|
className: C
|
|
399
|
-
}, /* @__PURE__ */ r.createElement(
|
|
400
|
-
prefixCls: `${
|
|
399
|
+
}, /* @__PURE__ */ r.createElement(O, Object.assign({
|
|
400
|
+
prefixCls: `${o}-input`,
|
|
401
401
|
size: c
|
|
402
402
|
}, h))));
|
|
403
403
|
}, ie = (e) => {
|
|
@@ -406,20 +406,20 @@ const N = (e) => {
|
|
|
406
406
|
className: s,
|
|
407
407
|
rootClassName: n,
|
|
408
408
|
style: a,
|
|
409
|
-
active:
|
|
409
|
+
active: i,
|
|
410
410
|
children: c
|
|
411
411
|
} = e, {
|
|
412
412
|
getPrefixCls: l
|
|
413
|
-
} = r.useContext(k),
|
|
414
|
-
[`${
|
|
415
|
-
},
|
|
416
|
-
return
|
|
413
|
+
} = r.useContext(k), o = l("skeleton", t), [m, d, g] = $(o), h = p(o, `${o}-element`, {
|
|
414
|
+
[`${o}-active`]: i
|
|
415
|
+
}, d, s, n, g);
|
|
416
|
+
return m(/* @__PURE__ */ r.createElement("div", {
|
|
417
417
|
className: h
|
|
418
418
|
}, /* @__PURE__ */ r.createElement("div", {
|
|
419
|
-
className: p(`${
|
|
419
|
+
className: p(`${o}-image`, s),
|
|
420
420
|
style: a
|
|
421
421
|
}, c)));
|
|
422
|
-
},
|
|
422
|
+
}, re = (e, t) => {
|
|
423
423
|
const {
|
|
424
424
|
width: s,
|
|
425
425
|
rows: n = 2
|
|
@@ -428,26 +428,28 @@ const N = (e) => {
|
|
|
428
428
|
return s[e];
|
|
429
429
|
if (n - 1 === e)
|
|
430
430
|
return s;
|
|
431
|
-
},
|
|
431
|
+
}, ce = (e) => {
|
|
432
432
|
const {
|
|
433
433
|
prefixCls: t,
|
|
434
434
|
className: s,
|
|
435
435
|
style: n,
|
|
436
|
-
rows: a
|
|
437
|
-
} = e,
|
|
436
|
+
rows: a = 0
|
|
437
|
+
} = e, i = Array.from({
|
|
438
|
+
length: a
|
|
439
|
+
}).map((c, l) => (
|
|
438
440
|
// eslint-disable-next-line react/no-array-index-key
|
|
439
441
|
/* @__PURE__ */ r.createElement("li", {
|
|
440
442
|
key: l,
|
|
441
443
|
style: {
|
|
442
|
-
width:
|
|
444
|
+
width: re(l, e)
|
|
443
445
|
}
|
|
444
446
|
})
|
|
445
447
|
));
|
|
446
448
|
return /* @__PURE__ */ r.createElement("ul", {
|
|
447
449
|
className: p(t, s),
|
|
448
450
|
style: n
|
|
449
|
-
},
|
|
450
|
-
},
|
|
451
|
+
}, i);
|
|
452
|
+
}, ge = (e) => {
|
|
451
453
|
let {
|
|
452
454
|
prefixCls: t,
|
|
453
455
|
className: s,
|
|
@@ -464,10 +466,10 @@ const N = (e) => {
|
|
|
464
466
|
})
|
|
465
467
|
);
|
|
466
468
|
};
|
|
467
|
-
function
|
|
469
|
+
function R(e) {
|
|
468
470
|
return e && typeof e == "object" ? e : {};
|
|
469
471
|
}
|
|
470
|
-
function
|
|
472
|
+
function me(e, t) {
|
|
471
473
|
return e && !t ? {
|
|
472
474
|
size: "large",
|
|
473
475
|
shape: "square"
|
|
@@ -483,78 +485,79 @@ function de(e, t) {
|
|
|
483
485
|
width: "50%"
|
|
484
486
|
} : {};
|
|
485
487
|
}
|
|
486
|
-
function
|
|
488
|
+
function ue(e, t) {
|
|
487
489
|
const s = {};
|
|
488
490
|
return (!e || !t) && (s.width = "61%"), !e && t ? s.rows = 3 : s.rows = 2, s;
|
|
489
491
|
}
|
|
490
|
-
const
|
|
492
|
+
const f = (e) => {
|
|
491
493
|
const {
|
|
492
494
|
prefixCls: t,
|
|
493
495
|
loading: s,
|
|
494
496
|
className: n,
|
|
495
497
|
rootClassName: a,
|
|
496
|
-
style:
|
|
498
|
+
style: i,
|
|
497
499
|
children: c,
|
|
498
500
|
avatar: l = !1,
|
|
499
|
-
title:
|
|
500
|
-
paragraph:
|
|
501
|
-
active:
|
|
501
|
+
title: o = !0,
|
|
502
|
+
paragraph: m = !0,
|
|
503
|
+
active: d,
|
|
502
504
|
round: g
|
|
503
505
|
} = e, {
|
|
504
506
|
getPrefixCls: h,
|
|
505
507
|
direction: C,
|
|
506
|
-
|
|
507
|
-
|
|
508
|
+
className: w,
|
|
509
|
+
style: E
|
|
510
|
+
} = X("skeleton"), u = h("skeleton", t), [y, P, H] = $(u);
|
|
508
511
|
if (s || !("loading" in e)) {
|
|
509
|
-
const
|
|
512
|
+
const S = !!l, v = !!o, j = !!m;
|
|
510
513
|
let A;
|
|
511
|
-
if (
|
|
512
|
-
const
|
|
514
|
+
if (S) {
|
|
515
|
+
const x = Object.assign(Object.assign({
|
|
513
516
|
prefixCls: `${u}-avatar`
|
|
514
|
-
},
|
|
517
|
+
}, me(v, j)), R(l));
|
|
515
518
|
A = /* @__PURE__ */ r.createElement("div", {
|
|
516
519
|
className: `${u}-header`
|
|
517
|
-
}, /* @__PURE__ */ r.createElement(
|
|
520
|
+
}, /* @__PURE__ */ r.createElement(O, Object.assign({}, x)));
|
|
518
521
|
}
|
|
519
|
-
let
|
|
520
|
-
if (
|
|
521
|
-
let
|
|
522
|
-
if (
|
|
523
|
-
const
|
|
522
|
+
let L;
|
|
523
|
+
if (v || j) {
|
|
524
|
+
let x;
|
|
525
|
+
if (v) {
|
|
526
|
+
const I = Object.assign(Object.assign({
|
|
524
527
|
prefixCls: `${u}-title`
|
|
525
|
-
}, de(
|
|
526
|
-
|
|
528
|
+
}, de(S, j)), R(o));
|
|
529
|
+
x = /* @__PURE__ */ r.createElement(ge, Object.assign({}, I));
|
|
527
530
|
}
|
|
528
|
-
let
|
|
529
|
-
if (
|
|
530
|
-
const
|
|
531
|
+
let T;
|
|
532
|
+
if (j) {
|
|
533
|
+
const I = Object.assign(Object.assign({
|
|
531
534
|
prefixCls: `${u}-paragraph`
|
|
532
|
-
},
|
|
533
|
-
|
|
535
|
+
}, ue(S, v)), R(m));
|
|
536
|
+
T = /* @__PURE__ */ r.createElement(ce, Object.assign({}, I));
|
|
534
537
|
}
|
|
535
|
-
|
|
538
|
+
L = /* @__PURE__ */ r.createElement("div", {
|
|
536
539
|
className: `${u}-content`
|
|
537
|
-
},
|
|
540
|
+
}, x, T);
|
|
538
541
|
}
|
|
539
|
-
const
|
|
540
|
-
[`${u}-with-avatar`]:
|
|
541
|
-
[`${u}-active`]:
|
|
542
|
+
const F = p(u, {
|
|
543
|
+
[`${u}-with-avatar`]: S,
|
|
544
|
+
[`${u}-active`]: d,
|
|
542
545
|
[`${u}-rtl`]: C === "rtl",
|
|
543
546
|
[`${u}-round`]: g
|
|
544
|
-
},
|
|
545
|
-
return
|
|
546
|
-
className:
|
|
547
|
-
style: Object.assign(Object.assign({},
|
|
548
|
-
}, A,
|
|
547
|
+
}, w, n, a, P, H);
|
|
548
|
+
return y(/* @__PURE__ */ r.createElement("div", {
|
|
549
|
+
className: F,
|
|
550
|
+
style: Object.assign(Object.assign({}, E), i)
|
|
551
|
+
}, A, L));
|
|
549
552
|
}
|
|
550
553
|
return c ?? null;
|
|
551
554
|
};
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
process.env.NODE_ENV !== "production" && (
|
|
555
|
+
f.Button = ne;
|
|
556
|
+
f.Avatar = se;
|
|
557
|
+
f.Input = oe;
|
|
558
|
+
f.Image = le;
|
|
559
|
+
f.Node = ie;
|
|
560
|
+
process.env.NODE_ENV !== "production" && (f.displayName = "Skeleton");
|
|
558
561
|
export {
|
|
559
|
-
|
|
562
|
+
f as S
|
|
560
563
|
};
|