@gobolt/genesis 0.1.2 → 0.1.5
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 +45 -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,20 +1,20 @@
|
|
|
1
|
-
import { _ as H, f as U, j as P,
|
|
1
|
+
import { _ as H, f as U, j as P, e as Z } from "./presets-CSXMiWyc.js";
|
|
2
2
|
import * as a from "react";
|
|
3
|
-
import { t as ee } from "./toArray-
|
|
4
|
-
import {
|
|
3
|
+
import { t as ee } from "./toArray-D5kvYi_U.js";
|
|
4
|
+
import { v as te, x as re, e as ne, _ as ie, y as oe, z as se, A as ae, B as E } from "./CSSMotionList-DB0khM6h.js";
|
|
5
5
|
var O = /* @__PURE__ */ a.createContext(null);
|
|
6
6
|
function ue(e) {
|
|
7
|
-
var t = e.children,
|
|
8
|
-
|
|
9
|
-
var
|
|
7
|
+
var t = e.children, r = e.onBatchResize, n = a.useRef(0), i = a.useRef([]), o = a.useContext(O), s = a.useCallback(function(c, u, f) {
|
|
8
|
+
n.current += 1;
|
|
9
|
+
var v = n.current;
|
|
10
10
|
i.current.push({
|
|
11
|
-
size:
|
|
11
|
+
size: c,
|
|
12
12
|
element: u,
|
|
13
|
-
data:
|
|
13
|
+
data: f
|
|
14
14
|
}), Promise.resolve().then(function() {
|
|
15
|
-
|
|
16
|
-
}), o == null || o(
|
|
17
|
-
}, [
|
|
15
|
+
v === n.current && (r == null || r(i.current), i.current = []);
|
|
16
|
+
}), o == null || o(c, u, f);
|
|
17
|
+
}, [r, o]);
|
|
18
18
|
return /* @__PURE__ */ a.createElement(O.Provider, {
|
|
19
19
|
value: s
|
|
20
20
|
}, t);
|
|
@@ -22,11 +22,11 @@ function ue(e) {
|
|
|
22
22
|
var I = function() {
|
|
23
23
|
if (typeof Map < "u")
|
|
24
24
|
return Map;
|
|
25
|
-
function e(t,
|
|
26
|
-
var
|
|
25
|
+
function e(t, r) {
|
|
26
|
+
var n = -1;
|
|
27
27
|
return t.some(function(i, o) {
|
|
28
|
-
return i[0] ===
|
|
29
|
-
}),
|
|
28
|
+
return i[0] === r ? (n = o, !0) : !1;
|
|
29
|
+
}), n;
|
|
30
30
|
}
|
|
31
31
|
return (
|
|
32
32
|
/** @class */
|
|
@@ -43,58 +43,58 @@ var I = function() {
|
|
|
43
43
|
},
|
|
44
44
|
enumerable: !0,
|
|
45
45
|
configurable: !0
|
|
46
|
-
}), t.prototype.get = function(
|
|
47
|
-
var
|
|
46
|
+
}), t.prototype.get = function(r) {
|
|
47
|
+
var n = e(this.__entries__, r), i = this.__entries__[n];
|
|
48
48
|
return i && i[1];
|
|
49
|
-
}, t.prototype.set = function(
|
|
50
|
-
var i = e(this.__entries__,
|
|
51
|
-
~i ? this.__entries__[i][1] =
|
|
52
|
-
}, t.prototype.delete = function(
|
|
53
|
-
var
|
|
54
|
-
~i &&
|
|
55
|
-
}, t.prototype.has = function(
|
|
56
|
-
return !!~e(this.__entries__,
|
|
49
|
+
}, t.prototype.set = function(r, n) {
|
|
50
|
+
var i = e(this.__entries__, r);
|
|
51
|
+
~i ? this.__entries__[i][1] = n : this.__entries__.push([r, n]);
|
|
52
|
+
}, t.prototype.delete = function(r) {
|
|
53
|
+
var n = this.__entries__, i = e(n, r);
|
|
54
|
+
~i && n.splice(i, 1);
|
|
55
|
+
}, t.prototype.has = function(r) {
|
|
56
|
+
return !!~e(this.__entries__, r);
|
|
57
57
|
}, t.prototype.clear = function() {
|
|
58
58
|
this.__entries__.splice(0);
|
|
59
|
-
}, t.prototype.forEach = function(
|
|
60
|
-
|
|
59
|
+
}, t.prototype.forEach = function(r, n) {
|
|
60
|
+
n === void 0 && (n = null);
|
|
61
61
|
for (var i = 0, o = this.__entries__; i < o.length; i++) {
|
|
62
62
|
var s = o[i];
|
|
63
|
-
|
|
63
|
+
r.call(n, s[1], s[0]);
|
|
64
64
|
}
|
|
65
65
|
}, t;
|
|
66
66
|
}()
|
|
67
67
|
);
|
|
68
68
|
}(), z = typeof window < "u" && typeof document < "u" && window.document === document, _ = function() {
|
|
69
69
|
return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
|
|
70
|
-
}(),
|
|
70
|
+
}(), ce = function() {
|
|
71
71
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(_) : function(e) {
|
|
72
72
|
return setTimeout(function() {
|
|
73
73
|
return e(Date.now());
|
|
74
74
|
}, 1e3 / 60);
|
|
75
75
|
};
|
|
76
|
-
}(),
|
|
76
|
+
}(), fe = 2;
|
|
77
77
|
function he(e, t) {
|
|
78
|
-
var
|
|
78
|
+
var r = !1, n = !1, i = 0;
|
|
79
79
|
function o() {
|
|
80
|
-
|
|
80
|
+
r && (r = !1, e()), n && c();
|
|
81
81
|
}
|
|
82
82
|
function s() {
|
|
83
|
-
|
|
83
|
+
ce(o);
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function c() {
|
|
86
86
|
var u = Date.now();
|
|
87
|
-
if (
|
|
88
|
-
if (u - i <
|
|
87
|
+
if (r) {
|
|
88
|
+
if (u - i < fe)
|
|
89
89
|
return;
|
|
90
|
-
|
|
90
|
+
n = !0;
|
|
91
91
|
} else
|
|
92
|
-
|
|
92
|
+
r = !0, n = !1, setTimeout(s, t);
|
|
93
93
|
i = u;
|
|
94
94
|
}
|
|
95
|
-
return
|
|
95
|
+
return c;
|
|
96
96
|
}
|
|
97
|
-
var de = 20,
|
|
97
|
+
var de = 20, ve = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], le = typeof MutationObserver < "u", pe = (
|
|
98
98
|
/** @class */
|
|
99
99
|
function() {
|
|
100
100
|
function e() {
|
|
@@ -103,20 +103,20 @@ var de = 20, le = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
103
103
|
return e.prototype.addObserver = function(t) {
|
|
104
104
|
~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_();
|
|
105
105
|
}, e.prototype.removeObserver = function(t) {
|
|
106
|
-
var
|
|
107
|
-
~
|
|
106
|
+
var r = this.observers_, n = r.indexOf(t);
|
|
107
|
+
~n && r.splice(n, 1), !r.length && this.connected_ && this.disconnect_();
|
|
108
108
|
}, e.prototype.refresh = function() {
|
|
109
109
|
var t = this.updateObservers_();
|
|
110
110
|
t && this.refresh();
|
|
111
111
|
}, e.prototype.updateObservers_ = function() {
|
|
112
|
-
var t = this.observers_.filter(function(
|
|
113
|
-
return
|
|
112
|
+
var t = this.observers_.filter(function(r) {
|
|
113
|
+
return r.gatherActive(), r.hasActive();
|
|
114
114
|
});
|
|
115
|
-
return t.forEach(function(
|
|
116
|
-
return
|
|
115
|
+
return t.forEach(function(r) {
|
|
116
|
+
return r.broadcastActive();
|
|
117
117
|
}), t.length > 0;
|
|
118
118
|
}, e.prototype.connect_ = function() {
|
|
119
|
-
!z || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh),
|
|
119
|
+
!z || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), le ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
120
120
|
attributes: !0,
|
|
121
121
|
childList: !0,
|
|
122
122
|
characterData: !0,
|
|
@@ -125,8 +125,8 @@ var de = 20, le = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
125
125
|
}, e.prototype.disconnect_ = function() {
|
|
126
126
|
!z || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
127
127
|
}, e.prototype.onTransitionEnd_ = function(t) {
|
|
128
|
-
var
|
|
129
|
-
return !!~
|
|
128
|
+
var r = t.propertyName, n = r === void 0 ? "" : r, i = ve.some(function(o) {
|
|
129
|
+
return !!~n.indexOf(o);
|
|
130
130
|
});
|
|
131
131
|
i && this.refresh();
|
|
132
132
|
}, e.getInstance = function() {
|
|
@@ -134,8 +134,8 @@ var de = 20, le = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
134
134
|
}, e.instance_ = null, e;
|
|
135
135
|
}()
|
|
136
136
|
), L = function(e, t) {
|
|
137
|
-
for (var
|
|
138
|
-
var i = r
|
|
137
|
+
for (var r = 0, n = Object.keys(t); r < n.length; r++) {
|
|
138
|
+
var i = n[r];
|
|
139
139
|
Object.defineProperty(e, i, {
|
|
140
140
|
value: t[i],
|
|
141
141
|
enumerable: !1,
|
|
@@ -152,34 +152,34 @@ function g(e) {
|
|
|
152
152
|
return parseFloat(e) || 0;
|
|
153
153
|
}
|
|
154
154
|
function k(e) {
|
|
155
|
-
for (var t = [],
|
|
156
|
-
t[
|
|
157
|
-
return t.reduce(function(
|
|
155
|
+
for (var t = [], r = 1; r < arguments.length; r++)
|
|
156
|
+
t[r - 1] = arguments[r];
|
|
157
|
+
return t.reduce(function(n, i) {
|
|
158
158
|
var o = e["border-" + i + "-width"];
|
|
159
|
-
return
|
|
159
|
+
return n + g(o);
|
|
160
160
|
}, 0);
|
|
161
161
|
}
|
|
162
162
|
function be(e) {
|
|
163
|
-
for (var t = ["top", "right", "bottom", "left"],
|
|
164
|
-
var o = i[
|
|
165
|
-
|
|
163
|
+
for (var t = ["top", "right", "bottom", "left"], r = {}, n = 0, i = t; n < i.length; n++) {
|
|
164
|
+
var o = i[n], s = e["padding-" + o];
|
|
165
|
+
r[o] = g(s);
|
|
166
166
|
}
|
|
167
|
-
return
|
|
167
|
+
return r;
|
|
168
168
|
}
|
|
169
169
|
function me(e) {
|
|
170
170
|
var t = e.getBBox();
|
|
171
171
|
return y(0, 0, t.width, t.height);
|
|
172
172
|
}
|
|
173
173
|
function _e(e) {
|
|
174
|
-
var t = e.clientWidth,
|
|
175
|
-
if (!t && !
|
|
174
|
+
var t = e.clientWidth, r = e.clientHeight;
|
|
175
|
+
if (!t && !r)
|
|
176
176
|
return V;
|
|
177
|
-
var
|
|
178
|
-
if (
|
|
179
|
-
var
|
|
180
|
-
Math.abs(
|
|
177
|
+
var n = p(e).getComputedStyle(e), i = be(n), o = i.left + i.right, s = i.top + i.bottom, c = g(n.width), u = g(n.height);
|
|
178
|
+
if (n.boxSizing === "border-box" && (Math.round(c + o) !== t && (c -= k(n, "left", "right") + o), Math.round(u + s) !== r && (u -= k(n, "top", "bottom") + s)), !ye(e)) {
|
|
179
|
+
var f = Math.round(c + o) - t, v = Math.round(u + s) - r;
|
|
180
|
+
Math.abs(f) !== 1 && (c -= f), Math.abs(v) !== 1 && (u -= v);
|
|
181
181
|
}
|
|
182
|
-
return y(i.left, i.top,
|
|
182
|
+
return y(i.left, i.top, c, u);
|
|
183
183
|
}
|
|
184
184
|
var ge = /* @__PURE__ */ function() {
|
|
185
185
|
return typeof SVGGraphicsElement < "u" ? function(e) {
|
|
@@ -195,20 +195,20 @@ function Re(e) {
|
|
|
195
195
|
return z ? ge(e) ? me(e) : _e(e) : V;
|
|
196
196
|
}
|
|
197
197
|
function we(e) {
|
|
198
|
-
var t = e.x,
|
|
198
|
+
var t = e.x, r = e.y, n = e.width, i = e.height, o = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, s = Object.create(o.prototype);
|
|
199
199
|
return L(s, {
|
|
200
200
|
x: t,
|
|
201
|
-
y:
|
|
202
|
-
width:
|
|
201
|
+
y: r,
|
|
202
|
+
width: n,
|
|
203
203
|
height: i,
|
|
204
|
-
top:
|
|
205
|
-
right: t +
|
|
206
|
-
bottom: i +
|
|
204
|
+
top: r,
|
|
205
|
+
right: t + n,
|
|
206
|
+
bottom: i + r,
|
|
207
207
|
left: t
|
|
208
208
|
}), s;
|
|
209
209
|
}
|
|
210
|
-
function y(e, t,
|
|
211
|
-
return { x: e, y: t, width:
|
|
210
|
+
function y(e, t, r, n) {
|
|
211
|
+
return { x: e, y: t, width: r, height: n };
|
|
212
212
|
}
|
|
213
213
|
var Ee = (
|
|
214
214
|
/** @class */
|
|
@@ -227,19 +227,19 @@ var Ee = (
|
|
|
227
227
|
), Oe = (
|
|
228
228
|
/** @class */
|
|
229
229
|
/* @__PURE__ */ function() {
|
|
230
|
-
function e(t,
|
|
231
|
-
var
|
|
232
|
-
L(this, { target: t, contentRect:
|
|
230
|
+
function e(t, r) {
|
|
231
|
+
var n = we(r);
|
|
232
|
+
L(this, { target: t, contentRect: n });
|
|
233
233
|
}
|
|
234
234
|
return e;
|
|
235
235
|
}()
|
|
236
236
|
), ze = (
|
|
237
237
|
/** @class */
|
|
238
238
|
function() {
|
|
239
|
-
function e(t,
|
|
239
|
+
function e(t, r, n) {
|
|
240
240
|
if (this.activeObservations_ = [], this.observations_ = new I(), typeof t != "function")
|
|
241
241
|
throw new TypeError("The callback provided as parameter 1 is not a function.");
|
|
242
|
-
this.callback_ = t, this.controller_ =
|
|
242
|
+
this.callback_ = t, this.controller_ = r, this.callbackCtx_ = n;
|
|
243
243
|
}
|
|
244
244
|
return e.prototype.observe = function(t) {
|
|
245
245
|
if (!arguments.length)
|
|
@@ -247,8 +247,8 @@ var Ee = (
|
|
|
247
247
|
if (!(typeof Element > "u" || !(Element instanceof Object))) {
|
|
248
248
|
if (!(t instanceof p(t).Element))
|
|
249
249
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
250
|
-
var
|
|
251
|
-
|
|
250
|
+
var r = this.observations_;
|
|
251
|
+
r.has(t) || (r.set(t, new Ee(t)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
252
252
|
}
|
|
253
253
|
}, e.prototype.unobserve = function(t) {
|
|
254
254
|
if (!arguments.length)
|
|
@@ -256,22 +256,22 @@ var Ee = (
|
|
|
256
256
|
if (!(typeof Element > "u" || !(Element instanceof Object))) {
|
|
257
257
|
if (!(t instanceof p(t).Element))
|
|
258
258
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
259
|
-
var
|
|
260
|
-
|
|
259
|
+
var r = this.observations_;
|
|
260
|
+
r.has(t) && (r.delete(t), r.size || this.controller_.removeObserver(this));
|
|
261
261
|
}
|
|
262
262
|
}, e.prototype.disconnect = function() {
|
|
263
263
|
this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this);
|
|
264
264
|
}, e.prototype.gatherActive = function() {
|
|
265
265
|
var t = this;
|
|
266
|
-
this.clearActive(), this.observations_.forEach(function(
|
|
267
|
-
|
|
266
|
+
this.clearActive(), this.observations_.forEach(function(r) {
|
|
267
|
+
r.isActive() && t.activeObservations_.push(r);
|
|
268
268
|
});
|
|
269
269
|
}, e.prototype.broadcastActive = function() {
|
|
270
270
|
if (this.hasActive()) {
|
|
271
|
-
var t = this.callbackCtx_,
|
|
272
|
-
return new Oe(
|
|
271
|
+
var t = this.callbackCtx_, r = this.activeObservations_.map(function(n) {
|
|
272
|
+
return new Oe(n.target, n.broadcastRect());
|
|
273
273
|
});
|
|
274
|
-
this.callback_.call(t,
|
|
274
|
+
this.callback_.call(t, r, t), this.clearActive();
|
|
275
275
|
}
|
|
276
276
|
}, e.prototype.clearActive = function() {
|
|
277
277
|
this.activeObservations_.splice(0);
|
|
@@ -287,8 +287,8 @@ var Ee = (
|
|
|
287
287
|
throw new TypeError("Cannot call a class as a function.");
|
|
288
288
|
if (!arguments.length)
|
|
289
289
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
290
|
-
var
|
|
291
|
-
B.set(this,
|
|
290
|
+
var r = pe.getInstance(), n = new ze(t, r, this);
|
|
291
|
+
B.set(this, n);
|
|
292
292
|
}
|
|
293
293
|
return e;
|
|
294
294
|
}()
|
|
@@ -308,9 +308,9 @@ var Ce = function() {
|
|
|
308
308
|
}(), d = /* @__PURE__ */ new Map();
|
|
309
309
|
function F(e) {
|
|
310
310
|
e.forEach(function(t) {
|
|
311
|
-
var
|
|
312
|
-
(
|
|
313
|
-
return i(
|
|
311
|
+
var r, n = t.target;
|
|
312
|
+
(r = d.get(n)) === null || r === void 0 || r.forEach(function(i) {
|
|
313
|
+
return i(n);
|
|
314
314
|
});
|
|
315
315
|
});
|
|
316
316
|
}
|
|
@@ -324,28 +324,28 @@ function xe(e, t) {
|
|
|
324
324
|
d.has(e) && (d.get(e).delete(t), d.get(e).size || (G.unobserve(e), d.delete(e)));
|
|
325
325
|
}
|
|
326
326
|
var Ae = /* @__PURE__ */ function(e) {
|
|
327
|
-
te(
|
|
328
|
-
var t =
|
|
329
|
-
function
|
|
330
|
-
return
|
|
327
|
+
te(r, e);
|
|
328
|
+
var t = re(r);
|
|
329
|
+
function r() {
|
|
330
|
+
return ne(this, r), t.apply(this, arguments);
|
|
331
331
|
}
|
|
332
|
-
return ie(
|
|
332
|
+
return ie(r, [{
|
|
333
333
|
key: "render",
|
|
334
334
|
value: function() {
|
|
335
335
|
return this.props.children;
|
|
336
336
|
}
|
|
337
|
-
}]),
|
|
337
|
+
}]), r;
|
|
338
338
|
}(a.Component);
|
|
339
339
|
function De(e, t) {
|
|
340
|
-
var
|
|
340
|
+
var r = e.children, n = e.disabled, i = a.useRef(null), o = a.useRef(null), s = a.useContext(O), c = typeof r == "function", u = c ? r(i) : r, f = a.useRef({
|
|
341
341
|
width: -1,
|
|
342
342
|
height: -1,
|
|
343
343
|
offsetWidth: -1,
|
|
344
344
|
offsetHeight: -1
|
|
345
|
-
}),
|
|
346
|
-
var
|
|
345
|
+
}), v = !c && /* @__PURE__ */ a.isValidElement(u) && oe(u), K = v ? se(u) : null, Y = ae(K, i), C = function() {
|
|
346
|
+
var l;
|
|
347
347
|
return E(i.current) || // Support `nativeElement` format
|
|
348
|
-
(i.current && U(i.current) === "object" ? E((
|
|
348
|
+
(i.current && U(i.current) === "object" ? E((l = i.current) === null || l === void 0 ? void 0 : l.nativeElement) : null) || E(o.current);
|
|
349
349
|
};
|
|
350
350
|
a.useImperativeHandle(t, function() {
|
|
351
351
|
return C();
|
|
@@ -353,15 +353,15 @@ function De(e, t) {
|
|
|
353
353
|
var M = a.useRef(e);
|
|
354
354
|
M.current = e;
|
|
355
355
|
var x = a.useCallback(function(h) {
|
|
356
|
-
var
|
|
357
|
-
if (
|
|
356
|
+
var l = M.current, A = l.onResize, X = l.data, D = h.getBoundingClientRect(), R = D.width, w = D.height, b = h.offsetWidth, m = h.offsetHeight, N = Math.floor(R), S = Math.floor(w);
|
|
357
|
+
if (f.current.width !== N || f.current.height !== S || f.current.offsetWidth !== b || f.current.offsetHeight !== m) {
|
|
358
358
|
var T = {
|
|
359
359
|
width: N,
|
|
360
360
|
height: S,
|
|
361
361
|
offsetWidth: b,
|
|
362
362
|
offsetHeight: m
|
|
363
363
|
};
|
|
364
|
-
|
|
364
|
+
f.current = T;
|
|
365
365
|
var J = b === Math.round(R) ? R : b, Q = m === Math.round(w) ? w : m, W = H(H({}, T), {}, {
|
|
366
366
|
offsetWidth: J,
|
|
367
367
|
offsetHeight: Q
|
|
@@ -373,12 +373,12 @@ function De(e, t) {
|
|
|
373
373
|
}, []);
|
|
374
374
|
return a.useEffect(function() {
|
|
375
375
|
var h = C();
|
|
376
|
-
return h && !
|
|
376
|
+
return h && !n && Me(h, x), function() {
|
|
377
377
|
return xe(h, x);
|
|
378
378
|
};
|
|
379
|
-
}, [i.current,
|
|
379
|
+
}, [i.current, n]), /* @__PURE__ */ a.createElement(Ae, {
|
|
380
380
|
ref: o
|
|
381
|
-
},
|
|
381
|
+
}, v ? /* @__PURE__ */ a.cloneElement(u, {
|
|
382
382
|
ref: Y
|
|
383
383
|
}) : u);
|
|
384
384
|
}
|
|
@@ -386,8 +386,8 @@ var $ = /* @__PURE__ */ a.forwardRef(De);
|
|
|
386
386
|
process.env.NODE_ENV !== "production" && ($.displayName = "SingleObserver");
|
|
387
387
|
var Ne = "rc-observer-key";
|
|
388
388
|
function Se(e, t) {
|
|
389
|
-
var
|
|
390
|
-
return process.env.NODE_ENV !== "production" && (
|
|
389
|
+
var r = e.children, n = typeof r == "function" ? [r] : ee(r);
|
|
390
|
+
return process.env.NODE_ENV !== "production" && (n.length > 1 ? P(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : n.length === 0 && P(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), n.map(function(i, o) {
|
|
391
391
|
var s = (i == null ? void 0 : i.key) || "".concat(Ne, "-").concat(o);
|
|
392
392
|
return /* @__PURE__ */ a.createElement($, Z({}, e, {
|
|
393
393
|
key: s,
|