@jobber/components 4.85.4-CJS-to-ESM.29 → 4.85.4-CJS-to-ESM.33
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/dist/Autocomplete/index.cjs +6 -7
- package/dist/Autocomplete/index.mjs +6 -7
- package/dist/{Autocomplete-a3aabcdf.js → Autocomplete-679d1be5.js} +13 -5
- package/dist/{Autocomplete-b6989031.js → Autocomplete-7cea3ff8.js} +14 -6
- package/dist/Banner/index.cjs +3 -2
- package/dist/Banner/index.mjs +3 -2
- package/dist/{Banner-cb621462.js → Banner-e568fb2c.js} +2 -2
- package/dist/{Banner-2d1688c7.js → Banner-fc36df3d.js} +1 -1
- package/dist/Card/index.cjs +5 -5
- package/dist/Card/index.mjs +5 -5
- package/dist/{Card-d8c2b767.js → Card-4dbc8e92.js} +1 -1
- package/dist/{Card-e583d8ff.js → Card-5faf7f41.js} +1 -1
- package/dist/Chip/index.cjs +5 -5
- package/dist/Chip/index.mjs +5 -5
- package/dist/{Chip-0e37aa92.js → Chip-a2d91757.js} +2 -2
- package/dist/{Chip-36397442.js → Chip-e055270d.js} +2 -2
- package/dist/{ChipDismissible-1b8383e1.js → ChipDismissible-59ee82bd.js} +1 -1
- package/dist/{ChipDismissible-d12a2207.js → ChipDismissible-ed08d142.js} +1 -1
- package/dist/Chips/InternalChipDismissible/hooks/index.cjs +2 -3
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +2 -3
- package/dist/Chips/InternalChipDismissible/hooks/useInternalChipDismissibleInput.d.ts +1 -1
- package/dist/Chips/InternalChipDismissible/index.cjs +6 -7
- package/dist/Chips/InternalChipDismissible/index.mjs +6 -7
- package/dist/Chips/index.cjs +8 -9
- package/dist/Chips/index.mjs +7 -8
- package/dist/{Chips-0ad95f11.js → Chips-12bff62a.js} +1 -1
- package/dist/{Chips-715d2fd2.js → Chips-6309d0c9.js} +1 -1
- package/dist/Combobox/components/ComboboxActivator/index.cjs +5 -5
- package/dist/Combobox/components/ComboboxActivator/index.mjs +5 -5
- package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.cjs +3 -3
- package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.mjs +3 -3
- package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.cjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.mjs +2 -2
- package/dist/Combobox/components/ComboboxContent/index.cjs +7 -6
- package/dist/Combobox/components/ComboboxContent/index.mjs +7 -6
- package/dist/Combobox/components/ComboboxTrigger/index.cjs +5 -5
- package/dist/Combobox/components/ComboboxTrigger/index.mjs +5 -5
- package/dist/Combobox/index.cjs +14 -13
- package/dist/Combobox/index.mjs +14 -13
- package/dist/{Combobox-11db3d7a.js → Combobox-5ebcfb1b.js} +20 -8
- package/dist/{Combobox-81f4f510.js → Combobox-aa99f2bf.js} +17 -5
- package/dist/{ComboboxActivator-757941db.js → ComboboxActivator-dde84397.js} +1 -1
- package/dist/{ComboboxActivator-afc63f51.js → ComboboxActivator-e96b1a20.js} +1 -1
- package/dist/{ComboboxContent-31add1d3.js → ComboboxContent-e1d6d33f.js} +4 -3
- package/dist/{ComboboxContent-d3af2189.js → ComboboxContent-e91556c3.js} +6 -5
- package/dist/{ComboboxContentList-b7108426.js → ComboboxContentList-388606e7.js} +1 -1
- package/dist/{ComboboxContentList-7f7ef48c.js → ComboboxContentList-f92daf73.js} +1 -1
- package/dist/{ComboboxLoadMore-a642edaa.js → ComboboxLoadMore-0b970168.js} +1 -1
- package/dist/{ComboboxLoadMore-21f09a37.js → ComboboxLoadMore-745fc9c7.js} +1 -1
- package/dist/{ComboboxTrigger-0c05930b.js → ComboboxTrigger-043599e3.js} +1 -1
- package/dist/{ComboboxTrigger-b41954f5.js → ComboboxTrigger-66ed275e.js} +1 -1
- package/dist/ConfirmationModal/index.cjs +5 -4
- package/dist/ConfirmationModal/index.mjs +5 -4
- package/dist/{ConfirmationModal-77a52b82.js → ConfirmationModal-2b7ffb42.js} +2 -2
- package/dist/{ConfirmationModal-1f317037.js → ConfirmationModal-4a0acf4c.js} +2 -2
- package/dist/DataDump/index.cjs +6 -6
- package/dist/DataDump/index.mjs +6 -6
- package/dist/{DataDump-482320a8.js → DataDump-73437443.js} +1 -1
- package/dist/{DataDump-2457587d.js → DataDump-e5afd511.js} +1 -1
- package/dist/DataList/components/DataListActions/index.cjs +14 -13
- package/dist/DataList/components/DataListActions/index.mjs +14 -13
- package/dist/DataList/components/DataListActionsMenu/index.cjs +4 -2
- package/dist/DataList/components/DataListActionsMenu/index.mjs +4 -2
- package/dist/DataList/components/DataListBulkActions/index.cjs +15 -14
- package/dist/DataList/components/DataListBulkActions/index.mjs +15 -14
- package/dist/DataList/components/DataListEmptyState/index.cjs +2 -3
- package/dist/DataList/components/DataListEmptyState/index.mjs +2 -3
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +16 -15
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +16 -15
- package/dist/DataList/components/DataListFilters/index.cjs +21 -20
- package/dist/DataList/components/DataListFilters/index.mjs +21 -20
- package/dist/DataList/components/DataListHeader/index.cjs +18 -17
- package/dist/DataList/components/DataListHeader/index.mjs +18 -17
- package/dist/DataList/components/DataListHeaderTile/components/index.cjs +3 -2
- package/dist/DataList/components/DataListHeaderTile/components/index.mjs +3 -2
- package/dist/DataList/components/DataListHeaderTile/index.cjs +6 -5
- package/dist/DataList/components/DataListHeaderTile/index.mjs +6 -5
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.cjs +2 -3
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.mjs +2 -3
- package/dist/DataList/components/DataListItem/index.cjs +19 -18
- package/dist/DataList/components/DataListItem/index.mjs +19 -18
- package/dist/DataList/components/DataListItemActions/index.cjs +15 -14
- package/dist/DataList/components/DataListItemActions/index.mjs +15 -14
- package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +7 -5
- package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +7 -5
- package/dist/DataList/components/DataListItems/index.cjs +20 -19
- package/dist/DataList/components/DataListItems/index.mjs +20 -19
- package/dist/DataList/components/DataListLayout/index.cjs +22 -21
- package/dist/DataList/components/DataListLayout/index.mjs +22 -21
- package/dist/DataList/components/DataListLayoutActions/index.cjs +10 -9
- package/dist/DataList/components/DataListLayoutActions/index.mjs +10 -9
- package/dist/DataList/components/DataListLoadMore/index.cjs +3 -4
- package/dist/DataList/components/DataListLoadMore/index.mjs +3 -4
- package/dist/DataList/components/DataListLoadingState/index.cjs +3 -4
- package/dist/DataList/components/DataListLoadingState/index.mjs +3 -4
- package/dist/DataList/components/DataListOverflowFade/index.cjs +2 -2
- package/dist/DataList/components/DataListOverflowFade/index.mjs +2 -2
- package/dist/DataList/components/DataListSearch/index.cjs +6 -7
- package/dist/DataList/components/DataListSearch/index.mjs +6 -7
- package/dist/DataList/components/DataListStatusBar/index.cjs +8 -7
- package/dist/DataList/components/DataListStatusBar/index.mjs +8 -7
- package/dist/DataList/context/DataListContext/index.cjs +1 -2
- package/dist/DataList/context/DataListContext/index.mjs +1 -2
- package/dist/DataList/context/DataListLayoutContext/index.cjs +1 -2
- package/dist/DataList/context/DataListLayoutContext/index.mjs +1 -2
- package/dist/DataList/index.cjs +44 -43
- package/dist/DataList/index.mjs +44 -43
- package/dist/{DataList-0f32c6f3.js → DataList-1e22adba.js} +13 -13
- package/dist/{DataList-e0ee036c.js → DataList-2e97f431.js} +13 -13
- package/dist/{DataList.utils-61358386.js → DataList.utils-0fdaa15e.js} +2 -3
- package/dist/{DataList.utils-1ecc4081.js → DataList.utils-e16dfa4d.js} +2 -3
- package/dist/{DataListActions-476aabad.js → DataListActions-076c247a.js} +4 -4
- package/dist/{DataListActions-37110a26.js → DataListActions-2f015496.js} +4 -4
- package/dist/{DataListActionsMenu-fcf19016.js → DataListActionsMenu-2652e7c5.js} +6 -4
- package/dist/{DataListActionsMenu-02a302ce.js → DataListActionsMenu-2c085efb.js} +3 -1
- package/dist/{DataListBulkActions-dc08194e.js → DataListBulkActions-1e413e5a.js} +2 -2
- package/dist/{DataListBulkActions-3be61638.js → DataListBulkActions-3bb7fa36.js} +2 -2
- package/dist/{DataListContext-0a20c6ef.js → DataListContext-32c0db5d.js} +2 -2
- package/dist/{DataListContext-9f0a3eff.js → DataListContext-baeafaf1.js} +2 -2
- package/dist/{DataListEmptyState-5f8de94a.js → DataListEmptyState-18be7768.js} +1 -1
- package/dist/{DataListEmptyState-0d6fe455.js → DataListEmptyState-6ee74a91.js} +1 -1
- package/dist/{DataListFilters-b1185f5e.js → DataListFilters-a35e73bb.js} +4 -4
- package/dist/{DataListFilters-e84b2b8e.js → DataListFilters-b14816cc.js} +4 -4
- package/dist/{DataListHeader-0d691f09.js → DataListHeader-306cdde3.js} +5 -5
- package/dist/{DataListHeader-5c35e2fb.js → DataListHeader-96907f3a.js} +5 -5
- package/dist/{DataListHeaderTile-cd020a45.js → DataListHeaderTile-6440b69b.js} +4 -3
- package/dist/{DataListHeaderTile-7ae763c4.js → DataListHeaderTile-c6e39f06.js} +6 -5
- package/dist/{DataListItem-d6cc368d.js → DataListItem-0da16513.js} +7 -7
- package/dist/{DataListItem-dba1aa6b.js → DataListItem-fadd81e6.js} +7 -7
- package/dist/{DataListItemActions-a34a91b9.js → DataListItemActions-2326af44.js} +1 -1
- package/dist/{DataListItemActions-31f5a1b2.js → DataListItemActions-68bac658.js} +1 -1
- package/dist/{DataListItemActionsOverflow-a5aab6a9.js → DataListItemActionsOverflow-908e33bd.js} +2 -2
- package/dist/{DataListItemActionsOverflow-43ca6381.js → DataListItemActionsOverflow-cf47cc97.js} +2 -2
- package/dist/{DataListItemClickable-054c8c87.js → DataListItemClickable-2c760528.js} +1 -1
- package/dist/{DataListItemClickable-f8c55744.js → DataListItemClickable-8e0ce6d6.js} +1 -1
- package/dist/{DataListItems-bd80dd88.js → DataListItems-e50aca25.js} +3 -3
- package/dist/{DataListItems-aa383bd7.js → DataListItems-fd033234.js} +3 -3
- package/dist/{DataListLayout-0681fe4d.js → DataListLayout-5462daca.js} +3 -3
- package/dist/{DataListLayout-72b17c88.js → DataListLayout-92bb9027.js} +3 -3
- package/dist/{DataListLayoutActions-12c7a824.js → DataListLayoutActions-75552126.js} +3 -3
- package/dist/{DataListLayoutActions-cb050d09.js → DataListLayoutActions-7cdee290.js} +3 -3
- package/dist/{DataListLayoutContext-9b78649d.js → DataListLayoutContext-ae0b03d8.js} +2 -2
- package/dist/{DataListLayoutContext-cc933c85.js → DataListLayoutContext-cd9d6b82.js} +2 -2
- package/dist/{DataListLoadMore-8dcb5dfd.js → DataListLoadMore-86aee984.js} +2 -2
- package/dist/{DataListLoadMore-f783c207.js → DataListLoadMore-e8b443ac.js} +2 -2
- package/dist/{DataListLoadingState-308cb259.js → DataListLoadingState-2975dd94.js} +2 -2
- package/dist/{DataListLoadingState-40751b90.js → DataListLoadingState-84d3c4d5.js} +2 -2
- package/dist/{DataListOverflowFade-a640f51f.js → DataListOverflowFade-975fa65a.js} +1 -1
- package/dist/{DataListOverflowFade-85c826e0.js → DataListOverflowFade-a0817422.js} +1 -1
- package/dist/{DataListSearch-155f6b74.js → DataListSearch-34ad555d.js} +14 -4
- package/dist/{DataListSearch-1d5c9650.js → DataListSearch-4cb80b4a.js} +13 -3
- package/dist/{DataListSort-4b2578d2.js → DataListSort-66121345.js} +3 -3
- package/dist/{DataListSort-a8db9f9f.js → DataListSort-f62111b0.js} +3 -3
- package/dist/{DataListSortingOptions-3168b700.js → DataListSortingOptions-34629d8e.js} +2 -1
- package/dist/{DataListSortingOptions-17adf6b3.js → DataListSortingOptions-a0dd2d40.js} +4 -3
- package/dist/{DataListStatusBar-3aba9b47.js → DataListStatusBar-ae24a932.js} +2 -2
- package/dist/{DataListStatusBar-4cb157c5.js → DataListStatusBar-edb535c1.js} +2 -2
- package/dist/DataTable/index.cjs +8 -6
- package/dist/DataTable/index.mjs +8 -6
- package/dist/DataTable/test-utilities/index.cjs +5 -2
- package/dist/DataTable/test-utilities/index.mjs +5 -2
- package/dist/{DataTable-8d4b2d3a.js → DataTable-3b6f11bb.js} +5 -3
- package/dist/{DataTable-4afcfbc6.js → DataTable-751ef37d.js} +8 -6
- package/dist/DatePicker/index.cjs +2 -3
- package/dist/DatePicker/index.mjs +2 -3
- package/dist/{DatePicker-9f303c61.js → DatePicker-5fb9d749.js} +9 -5
- package/dist/{DatePicker-09b8a606.js → DatePicker-62ca1ffb.js} +7 -3
- package/dist/Disclosure/index.cjs +3 -2
- package/dist/Disclosure/index.mjs +3 -2
- package/dist/{Disclosure-f285a6b6.js → Disclosure-1b1b7428.js} +3 -3
- package/dist/{Disclosure-1165a958.js → Disclosure-ce512c49.js} +1 -1
- package/dist/FormField/index.cjs +2 -2
- package/dist/FormField/index.mjs +2 -2
- package/dist/{FormField-8118cfc8.js → FormField-6a8d8c64.js} +1 -1
- package/dist/{FormField-6ff183f8.js → FormField-9e1a326c.js} +1 -1
- package/dist/FormatFile/index.cjs +6 -5
- package/dist/FormatFile/index.mjs +6 -5
- package/dist/{FormatFile-89f1bf3e.js → FormatFile-0107af2b.js} +1 -1
- package/dist/{FormatFile-1081acea.js → FormatFile-a4d61cda.js} +1 -1
- package/dist/Gallery/index.cjs +8 -8
- package/dist/Gallery/index.mjs +8 -8
- package/dist/{Gallery-c5392b45.js → Gallery-59789518.js} +2 -2
- package/dist/{Gallery-75b21f84.js → Gallery-7188a8a9.js} +2 -2
- package/dist/Grid/index.cjs +2 -2
- package/dist/Grid/index.mjs +2 -2
- package/dist/{Grid-62d5435f.js → Grid-28c37497.js} +1 -1
- package/dist/{Grid-0801beb4.js → Grid-d9e16996.js} +2 -2
- package/dist/InputDate/index.cjs +5 -6
- package/dist/InputDate/index.mjs +5 -6
- package/dist/{InputDate-7f63ecf4.js → InputDate-8f690b96.js} +9 -4
- package/dist/{InputDate-ab5f76d7.js → InputDate-bdabc8a1.js} +8 -3
- package/dist/InputEmail/index.cjs +3 -3
- package/dist/InputEmail/index.mjs +3 -3
- package/dist/{InputEmail-88d617d7.js → InputEmail-13ab20ed.js} +1 -1
- package/dist/{InputEmail-3103e37c.js → InputEmail-cfb9d300.js} +1 -1
- package/dist/InputNumber/index.cjs +3 -3
- package/dist/InputNumber/index.mjs +3 -3
- package/dist/{InputNumber-d451b52e.js → InputNumber-81b2a34d.js} +1 -1
- package/dist/{InputNumber-0391311b.js → InputNumber-90cfa93a.js} +1 -1
- package/dist/InputPassword/index.cjs +3 -3
- package/dist/InputPassword/index.mjs +3 -3
- package/dist/{InputPassword-dd44b8d5.js → InputPassword-2c6485ab.js} +1 -1
- package/dist/{InputPassword-0ab4214d.js → InputPassword-bab38b58.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +3 -3
- package/dist/InputPhoneNumber/index.mjs +3 -3
- package/dist/{InputPhoneNumber-bc761c12.js → InputPhoneNumber-987b6f52.js} +1 -1
- package/dist/{InputPhoneNumber-83d7ec95.js → InputPhoneNumber-f8d7964c.js} +1 -1
- package/dist/InputText/index.cjs +4 -4
- package/dist/InputText/index.mjs +4 -4
- package/dist/{InputText-55b6cb65.js → InputText-56f4ab72.js} +2 -2
- package/dist/{InputText-8dbcfe70.js → InputText-868ac59c.js} +2 -2
- package/dist/InputTime/index.cjs +3 -4
- package/dist/InputTime/index.mjs +3 -4
- package/dist/{InputTime-f892fd3c.js → InputTime-927e66d3.js} +12 -7
- package/dist/{InputTime-3d4d8cd3.js → InputTime-b70e430f.js} +13 -8
- package/dist/{InternalChipDismissible-496b792b.js → InternalChipDismissible-54a170b4.js} +16 -8
- package/dist/{InternalChipDismissible-d7e094b0.js → InternalChipDismissible-9763dbf8.js} +14 -6
- package/dist/LightBox/index.cjs +4 -3
- package/dist/LightBox/index.mjs +4 -3
- package/dist/{LightBox-95403d58.js → LightBox-13209e26.js} +21 -10
- package/dist/{LightBox-55063871.js → LightBox-a48805ff.js} +14 -3
- package/dist/List/index.cjs +1 -2
- package/dist/List/index.mjs +1 -2
- package/dist/{List-1ba759c9.js → List-54429837.js} +24 -2
- package/dist/{List-f8a2f9fc.js → List-fc24d878.js} +23 -1
- package/dist/Menu/index.cjs +4 -4
- package/dist/Menu/index.mjs +4 -4
- package/dist/{Menu-57a3e20e.js → Menu-01614904.js} +4 -4
- package/dist/{Menu-a378adb8.js → Menu-786c249f.js} +3 -3
- package/dist/Modal/index.cjs +4 -2
- package/dist/Modal/index.mjs +4 -2
- package/dist/{Modal-971d30aa.js → Modal-a1d78806.js} +6 -4
- package/dist/{Modal-d4c2bcce.js → Modal-cd3f56c2.js} +3 -1
- package/dist/{Option-3c4d377e.js → Option-779346ee.js} +1 -1
- package/dist/{Option-18ddab50.js → Option-93987bb8.js} +1 -1
- package/dist/Page/index.cjs +7 -6
- package/dist/Page/index.mjs +7 -6
- package/dist/{Page-074b9847.js → Page-46839a01.js} +6 -6
- package/dist/{Page-e92f88e1.js → Page-8ff1407b.js} +2 -2
- package/dist/Popover/index.cjs +2 -2
- package/dist/Popover/index.mjs +2 -2
- package/dist/{Popover-efe863e3.js → Popover-129b740c.js} +1 -1
- package/dist/{Popover-2c6df036.js → Popover-78d95f4e.js} +1 -1
- package/dist/RecurringSelect/index.cjs +5 -5
- package/dist/RecurringSelect/index.mjs +5 -5
- package/dist/{RecurringSelect-d6eb7eba.js → RecurringSelect-4b70b30f.js} +2 -2
- package/dist/{RecurringSelect-2cd2b2cf.js → RecurringSelect-709b972c.js} +2 -2
- package/dist/Select/index.cjs +3 -3
- package/dist/Select/index.mjs +3 -3
- package/dist/Tooltip/index.cjs +2 -2
- package/dist/Tooltip/index.mjs +2 -2
- package/dist/{Tooltip-ef3d6ef4.js → Tooltip-9dd3390b.js} +1 -1
- package/dist/{Tooltip-d1fc7e74.js → Tooltip-f1222e78.js} +1 -1
- package/dist/helpers-2668fcff.js +18 -0
- package/dist/{helpers-686e91da.js → helpers-7b7ddd0c.js} +2 -1
- package/dist/hooks/useAssert/index.cjs +9 -0
- package/dist/hooks/useAssert/index.d.ts +1 -0
- package/dist/hooks/useAssert/index.mjs +1 -0
- package/dist/hooks/useAssert/useAssert.d.ts +5 -0
- package/dist/hooks/useBool/index.cjs +15 -0
- package/dist/hooks/useBool/index.d.ts +1 -0
- package/dist/hooks/useBool/index.mjs +11 -0
- package/dist/hooks/useBool/useBool.d.ts +13 -0
- package/dist/hooks/useBreakpoints/index.cjs +51 -0
- package/dist/hooks/useBreakpoints/index.d.ts +2 -0
- package/dist/hooks/useBreakpoints/index.mjs +45 -0
- package/dist/hooks/useBreakpoints/mockViewportWidth/index.cjs +10 -0
- package/dist/hooks/useBreakpoints/mockViewportWidth/index.d.ts +1 -0
- package/dist/hooks/useBreakpoints/mockViewportWidth/index.mjs +1 -0
- package/dist/hooks/useBreakpoints/mockViewportWidth/mockViewportWidth.d.ts +8 -0
- package/dist/hooks/useBreakpoints/useBreakpoints.d.ts +20 -0
- package/dist/hooks/useBreakpoints/useMediaQuery.d.ts +4 -0
- package/dist/hooks/useCollectionQuery/index.cjs +215 -0
- package/dist/hooks/useCollectionQuery/index.d.ts +1 -0
- package/dist/hooks/useCollectionQuery/index.mjs +211 -0
- package/dist/hooks/useCollectionQuery/mdxUtils.d.ts +53 -0
- package/dist/hooks/useCollectionQuery/test-utilities/index.cjs +205 -0
- package/dist/hooks/useCollectionQuery/test-utilities/index.d.ts +3 -0
- package/dist/hooks/useCollectionQuery/test-utilities/index.mjs +186 -0
- package/dist/hooks/useCollectionQuery/test-utilities/mocks.d.ts +107 -0
- package/dist/hooks/useCollectionQuery/test-utilities/queries.d.ts +37 -0
- package/dist/hooks/useCollectionQuery/test-utilities/utils.d.ts +1 -0
- package/dist/hooks/useCollectionQuery/uniqueEdges.d.ts +8 -0
- package/dist/hooks/useCollectionQuery/uniqueNodes.d.ts +5 -0
- package/dist/hooks/useCollectionQuery/useCollectionQuery.d.ts +71 -0
- package/dist/hooks/useFocusTrap/index.cjs +10 -0
- package/dist/hooks/useFocusTrap/index.d.ts +1 -0
- package/dist/hooks/useFocusTrap/index.mjs +2 -0
- package/dist/hooks/useFocusTrap/useFocusTrap.d.ts +10 -0
- package/dist/hooks/useFormState/index.cjs +15 -0
- package/dist/hooks/useFormState/index.d.ts +1 -0
- package/dist/hooks/useFormState/index.mjs +11 -0
- package/dist/hooks/useFormState/useFormState.d.ts +8 -0
- package/dist/hooks/useInView/index.cjs +10 -0
- package/dist/hooks/useInView/index.d.ts +1 -0
- package/dist/hooks/useInView/index.mjs +2 -0
- package/dist/hooks/useInView/useInView.d.ts +2 -0
- package/dist/hooks/useIsMounted/index.cjs +11 -0
- package/dist/hooks/useIsMounted/index.d.ts +1 -0
- package/dist/hooks/useIsMounted/index.mjs +3 -0
- package/dist/hooks/useIsMounted/useIsMounted.d.ts +19 -0
- package/dist/hooks/useLiveAnnounce/index.cjs +10 -0
- package/dist/hooks/useLiveAnnounce/index.d.ts +1 -0
- package/dist/hooks/useLiveAnnounce/index.mjs +2 -0
- package/dist/hooks/useLiveAnnounce/useLiveAnnounce.d.ts +8 -0
- package/dist/hooks/useOnKeyDown/index.cjs +10 -0
- package/dist/hooks/useOnKeyDown/index.d.ts +1 -0
- package/dist/hooks/useOnKeyDown/index.mjs +2 -0
- package/dist/hooks/useOnKeyDown/useOnKeyDown.d.ts +13 -0
- package/dist/hooks/usePasswordStrength/index.cjs +23 -0
- package/dist/hooks/usePasswordStrength/index.d.ts +1 -0
- package/dist/hooks/usePasswordStrength/index.mjs +15 -0
- package/dist/hooks/usePasswordStrength/usePasswordStrength.d.ts +8 -0
- package/dist/hooks/useRefocusOnActivator/index.cjs +10 -0
- package/dist/hooks/useRefocusOnActivator/index.d.ts +1 -0
- package/dist/hooks/useRefocusOnActivator/index.mjs +2 -0
- package/dist/hooks/useRefocusOnActivator/useRefocusOnActivator.d.ts +7 -0
- package/dist/hooks/useResizeObserver/index.cjs +12 -0
- package/dist/hooks/useResizeObserver/index.d.ts +1 -0
- package/dist/hooks/useResizeObserver/index.mjs +3 -0
- package/dist/hooks/useResizeObserver/useResizeObserver.d.ts +18 -0
- package/dist/hooks/useSafeLayoutEffect/index.cjs +10 -0
- package/dist/hooks/useSafeLayoutEffect/index.d.ts +1 -0
- package/dist/hooks/useSafeLayoutEffect/index.mjs +2 -0
- package/dist/hooks/useSafeLayoutEffect/useSafeLayoutEffect.d.ts +2 -0
- package/dist/hooks/useShowClear/index.cjs +9 -0
- package/dist/hooks/useShowClear/index.d.ts +1 -0
- package/dist/hooks/useShowClear/index.mjs +1 -0
- package/dist/hooks/useShowClear/useShowClear.d.ts +10 -0
- package/dist/index-4981c7be.js +9 -0
- package/dist/index-f9abb04a.js +11 -0
- package/dist/index.cjs +76 -75
- package/dist/index.mjs +76 -75
- package/dist/mockViewportWidth-b920afa1.js +66 -0
- package/dist/mockViewportWidth-c4f23226.js +63 -0
- package/dist/{useActiveLayout-c886319d.js → useActiveLayout-282cefac.js} +1 -1
- package/dist/{useActiveLayout-f9e01ba4.js → useActiveLayout-2f6fa9e4.js} +1 -1
- package/dist/useAssert-6ea61ad4.js +20 -0
- package/dist/useAssert-bc8ab4dd.js +18 -0
- package/dist/{useBatchSelect-63f6eb7e.js → useBatchSelect-cb91b094.js} +1 -1
- package/dist/{useBatchSelect-832c3ad9.js → useBatchSelect-d0df9c88.js} +1 -1
- package/dist/useFocusTrap-2cf1fdbc.js +68 -0
- package/dist/useFocusTrap-8ba61b3f.js +70 -0
- package/dist/useInView-7df2e45e.js +21 -0
- package/dist/useInView-7f4f281a.js +19 -0
- package/dist/useIsMounted-2409a769.js +31 -0
- package/dist/useIsMounted-58630c09.js +33 -0
- package/dist/useLiveAnnounce-62156fd1.js +41 -0
- package/dist/useLiveAnnounce-b3d18cc1.js +43 -0
- package/dist/useOnKeyDown-b9f5d527.js +34 -0
- package/dist/useOnKeyDown-f281de78.js +36 -0
- package/dist/useRefocusOnActivator-6062a5d8.js +26 -0
- package/dist/useRefocusOnActivator-93e430e0.js +28 -0
- package/dist/useResizeObserver-4a0beab4.js +76 -0
- package/dist/useResizeObserver-91b6088c.js +69 -0
- package/dist/useSafeLayoutEffect-37c5d604.js +7 -0
- package/dist/useSafeLayoutEffect-f1bb0b33.js +9 -0
- package/dist/{useScrollToActive-93751166.js → useScrollToActive-1c7761a6.js} +14 -4
- package/dist/{useScrollToActive-b86e8d4e.js → useScrollToActive-b83ce299.js} +13 -3
- package/dist/useShowClear-342b660e.js +17 -0
- package/dist/useShowClear-568558fd.js +19 -0
- package/package.json +10 -7
- package/rollup.config.js +0 -2
- package/dist/helpers-8ea80269.js +0 -37
|
@@ -2,28 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Autocomplete = require('../Autocomplete-
|
|
5
|
+
var Autocomplete = require('../Autocomplete-7cea3ff8.js');
|
|
6
6
|
require('../tslib.es6-754e2961.js');
|
|
7
7
|
require('react');
|
|
8
|
-
require('lodash');
|
|
9
8
|
require('../style-inject.es-9d2f5f4e.js');
|
|
10
9
|
require('classnames');
|
|
11
10
|
require('react-dom');
|
|
12
11
|
require('react-popper');
|
|
13
|
-
require('
|
|
14
|
-
require('
|
|
12
|
+
require('../useOnKeyDown-f281de78.js');
|
|
13
|
+
require('../useSafeLayoutEffect-f1bb0b33.js');
|
|
15
14
|
require('../Text-259af966.js');
|
|
16
15
|
require('../Typography-c45bf216.js');
|
|
17
16
|
require('../Icon-405a216c.js');
|
|
18
17
|
require('@jobber/design');
|
|
19
18
|
require('../Heading-1e8e4bd3.js');
|
|
20
19
|
require('../getAtlantisConfig-0f3e8af2.js');
|
|
21
|
-
require('../InputText-
|
|
22
|
-
require('../FormField-
|
|
20
|
+
require('../InputText-56f4ab72.js');
|
|
21
|
+
require('../FormField-9e1a326c.js');
|
|
23
22
|
require('react-hook-form');
|
|
24
|
-
require('@jobber/hooks/useShowClear');
|
|
25
23
|
require('../Button-b73a5e01.js');
|
|
26
24
|
require('react-router-dom');
|
|
25
|
+
require('../useShowClear-568558fd.js');
|
|
27
26
|
require('../InputValidation-05e839fa.js');
|
|
28
27
|
require('framer-motion');
|
|
29
28
|
require('../Spinner-9d8fc7ff.js');
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
export { A as Autocomplete } from '../Autocomplete-
|
|
1
|
+
export { A as Autocomplete } from '../Autocomplete-679d1be5.js';
|
|
2
2
|
import '../tslib.es6-c563c1dd.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import 'lodash';
|
|
5
4
|
import '../style-inject.es-a0e1a0ba.js';
|
|
6
5
|
import 'classnames';
|
|
7
6
|
import 'react-dom';
|
|
8
7
|
import 'react-popper';
|
|
9
|
-
import '
|
|
10
|
-
import '
|
|
8
|
+
import '../useOnKeyDown-b9f5d527.js';
|
|
9
|
+
import '../useSafeLayoutEffect-37c5d604.js';
|
|
11
10
|
import '../Text-c9162504.js';
|
|
12
11
|
import '../Typography-7cc5daf5.js';
|
|
13
12
|
import '../Icon-22723fe6.js';
|
|
14
13
|
import '@jobber/design';
|
|
15
14
|
import '../Heading-93e755cb.js';
|
|
16
15
|
import '../getAtlantisConfig-5b50057c.js';
|
|
17
|
-
import '../InputText-
|
|
18
|
-
import '../FormField-
|
|
16
|
+
import '../InputText-868ac59c.js';
|
|
17
|
+
import '../FormField-6a8d8c64.js';
|
|
19
18
|
import 'react-hook-form';
|
|
20
|
-
import '@jobber/hooks/useShowClear';
|
|
21
19
|
import '../Button-9ae092b3.js';
|
|
22
20
|
import 'react-router-dom';
|
|
21
|
+
import '../useShowClear-342b660e.js';
|
|
23
22
|
import '../InputValidation-d68fb034.js';
|
|
24
23
|
import 'framer-motion';
|
|
25
24
|
import '../Spinner-5d8359b8.js';
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { _ as __rest, a as __awaiter } from './tslib.es6-c563c1dd.js';
|
|
2
2
|
import React, { useState, useEffect, forwardRef, useRef } from 'react';
|
|
3
|
-
import { debounce } from 'lodash';
|
|
4
3
|
import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
|
|
5
4
|
import classnames from 'classnames';
|
|
6
5
|
import { createPortal } from 'react-dom';
|
|
7
6
|
import { usePopper } from 'react-popper';
|
|
8
|
-
import { useOnKeyDown } from '
|
|
9
|
-
import { useSafeLayoutEffect } from '
|
|
7
|
+
import { u as useOnKeyDown } from './useOnKeyDown-b9f5d527.js';
|
|
8
|
+
import { u as useSafeLayoutEffect } from './useSafeLayoutEffect-37c5d604.js';
|
|
10
9
|
import { T as Text } from './Text-c9162504.js';
|
|
11
10
|
import { I as Icon } from './Icon-22723fe6.js';
|
|
12
11
|
import { H as Heading } from './Heading-93e755cb.js';
|
|
13
|
-
import { I as InputText } from './InputText-
|
|
12
|
+
import { I as InputText } from './InputText-868ac59c.js';
|
|
14
13
|
|
|
15
14
|
var css_248z = ".v0Cys9vQ-NE- {\n position: relative;\n width: 100%;\n}\n\n.CX-N-e0e6og- {\n display: none;\n position: absolute;\n z-index: calc(6 + 1001);\n z-index: calc(var(--elevation-menu) + var(--elevation-modal));\n width: 100%;\n /* Unfortunately this is how we define our line item picker height in jobber online.\n This is a concession to maintain visual parity. */\n max-height: 300px;\n box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px\n rgba(0, 0, 0, 0.1),\n 0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);\n box-shadow: var(--shadow-base);\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: calc(16px / 16) solid var(--color-color-border);\n border: var(--border-base) solid var(--color-color-border);\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n overflow: auto;\n scroll-behavior: smooth;\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n}\n\n.CX-N-e0e6og- h5 {\n padding: calc(16px / 2) 0 calc(16px / 4) calc(16px / 2);\n padding: var(--space-small) 0 var(--space-smaller) var(--space-small);\n border-bottom: calc(16px / 16) solid rgb(1, 41, 57);\n border-bottom: var(--border-base) solid var(--color-border--section);\n}\n\n.CX-N-e0e6og-._4PlUaegVpkk- {\n display: block;\n}\n\n.CX-N-e0e6og-._4PlUaegVpkk-:empty {\n display: none;\n}\n\n.ucQtG0iwqbo- {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -ms-flex-line-pack: stretch;\n align-content: stretch;\n -ms-flex-align: center;\n align-items: center;\n padding: calc(16px / 2);\n padding: var(--space-small);\n border: none;\n text-align: left;\n list-style: none;\n background-color: transparent;\n cursor: pointer;\n transition: all 200ms;\n transition: all var(--timing-base);\n}\n\n.ucQtG0iwqbo-:hover,\n.ucQtG0iwqbo-:focus,\n.ucQtG0iwqbo-.r8HS-ma79QE- {\n background-color: rgb(244, 246, 250);\n background-color: var(--color-surface--hover);\n outline-color: rgb(147, 161, 169);\n outline-color: var(--color-focus);\n}\n\n.ucQtG0iwqbo-.ydwLX44YFZc-:not(:last-child) {\n border-bottom: calc(16px / 16) solid rgb(217, 223, 225);\n border-bottom: var(--border-base) solid var(--color-border);\n}\n\n.CX-N-e0e6og-:hover .ucQtG0iwqbo-.r8HS-ma79QE-:not(:hover) {\n background-color: transparent;\n outline-color: transparent;\n}\n\n.v0Cys9vQ-NE- .PvUgNoAUG7A-:not(:first-child) {\n padding-top: calc(16px / 2);\n padding-top: var(--space-small);\n}\n\n.ucQtG0iwqbo- .DAOOFUZ1BRM- {\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n -ms-flex-item-align: auto;\n align-self: auto;\n width: calc(16px * 1.5);\n width: var(--space-large);\n}\n\n.ucQtG0iwqbo- .cjKJFup6hGY- {\n display: -ms-inline-flexbox;\n display: inline-flex;\n -ms-flex: 1 100%;\n flex: 1 100%;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n\n.ucQtG0iwqbo- .hG5zNBuI2wA- {\n -ms-flex: 2;\n flex: 2;\n}\n\n.ucQtG0iwqbo- ._3CwjFCbhqi4- {\n -ms-flex: 1;\n flex: 1;\n -ms-flex-item-align: end;\n align-self: flex-end;\n text-align: right;\n}\n";
|
|
16
15
|
var styles = {"autocomplete":"v0Cys9vQ-NE-","options":"CX-N-e0e6og-","visible":"_4PlUaegVpkk-","option":"ucQtG0iwqbo-","active":"r8HS-ma79QE-","separator":"ydwLX44YFZc-","heading":"PvUgNoAUG7A-","icon":"DAOOFUZ1BRM-","text":"cjKJFup6hGY-","label":"hG5zNBuI2wA-","details":"_3CwjFCbhqi4-"};
|
|
@@ -114,6 +113,16 @@ function useRepositionMenu(attachTo, visible = false) {
|
|
|
114
113
|
return Object.assign(Object.assign({}, popper), { menuRef, setMenuRef, targetWidth });
|
|
115
114
|
}
|
|
116
115
|
|
|
116
|
+
const debounce = (func, delay, { leading } = {}) => {
|
|
117
|
+
let timerId;
|
|
118
|
+
return (...args) => {
|
|
119
|
+
if (!timerId && leading) {
|
|
120
|
+
func(...args);
|
|
121
|
+
}
|
|
122
|
+
clearTimeout(timerId);
|
|
123
|
+
timerId = setTimeout(() => func(...args), delay);
|
|
124
|
+
};
|
|
125
|
+
};
|
|
117
126
|
// Max statements increased to make room for the debounce functions
|
|
118
127
|
/* eslint max-statements: ["error", 14] */
|
|
119
128
|
function AutocompleteInternal(_a, ref) {
|
|
@@ -126,7 +135,6 @@ function AutocompleteInternal(_a, ref) {
|
|
|
126
135
|
const delayedSearch = debounce(updateSearch, debounceRate);
|
|
127
136
|
useEffect(() => {
|
|
128
137
|
delayedSearch();
|
|
129
|
-
return delayedSearch.cancel;
|
|
130
138
|
}, [inputText]);
|
|
131
139
|
useEffect(() => {
|
|
132
140
|
var _a;
|
|
@@ -2,17 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
var tslib_es6 = require('./tslib.es6-754e2961.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var lodash = require('lodash');
|
|
6
5
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
7
6
|
var classnames = require('classnames');
|
|
8
7
|
var ReactDOM = require('react-dom');
|
|
9
8
|
var reactPopper = require('react-popper');
|
|
10
|
-
var useOnKeyDown = require('
|
|
11
|
-
var useSafeLayoutEffect = require('
|
|
9
|
+
var useOnKeyDown = require('./useOnKeyDown-f281de78.js');
|
|
10
|
+
var useSafeLayoutEffect = require('./useSafeLayoutEffect-f1bb0b33.js');
|
|
12
11
|
var Text = require('./Text-259af966.js');
|
|
13
12
|
var Icon = require('./Icon-405a216c.js');
|
|
14
13
|
var Heading = require('./Heading-1e8e4bd3.js');
|
|
15
|
-
var InputText = require('./InputText-
|
|
14
|
+
var InputText = require('./InputText-56f4ab72.js');
|
|
16
15
|
|
|
17
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
18
17
|
|
|
@@ -121,6 +120,16 @@ function useRepositionMenu(attachTo, visible = false) {
|
|
|
121
120
|
return Object.assign(Object.assign({}, popper), { menuRef, setMenuRef, targetWidth });
|
|
122
121
|
}
|
|
123
122
|
|
|
123
|
+
const debounce = (func, delay, { leading } = {}) => {
|
|
124
|
+
let timerId;
|
|
125
|
+
return (...args) => {
|
|
126
|
+
if (!timerId && leading) {
|
|
127
|
+
func(...args);
|
|
128
|
+
}
|
|
129
|
+
clearTimeout(timerId);
|
|
130
|
+
timerId = setTimeout(() => func(...args), delay);
|
|
131
|
+
};
|
|
132
|
+
};
|
|
124
133
|
// Max statements increased to make room for the debounce functions
|
|
125
134
|
/* eslint max-statements: ["error", 14] */
|
|
126
135
|
function AutocompleteInternal(_a, ref) {
|
|
@@ -130,10 +139,9 @@ function AutocompleteInternal(_a, ref) {
|
|
|
130
139
|
const [menuVisible, setMenuVisible] = React.useState(false);
|
|
131
140
|
const [inputText, setInputText] = React.useState((_b = value === null || value === void 0 ? void 0 : value.label) !== null && _b !== void 0 ? _b : "");
|
|
132
141
|
const autocompleteRef = React.useRef(null);
|
|
133
|
-
const delayedSearch =
|
|
142
|
+
const delayedSearch = debounce(updateSearch, debounceRate);
|
|
134
143
|
React.useEffect(() => {
|
|
135
144
|
delayedSearch();
|
|
136
|
-
return delayedSearch.cancel;
|
|
137
145
|
}, [inputText]);
|
|
138
146
|
React.useEffect(() => {
|
|
139
147
|
var _a;
|
package/dist/Banner/index.cjs
CHANGED
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Banner = require('../Banner-
|
|
5
|
+
var Banner = require('../Banner-e568fb2c.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('@jobber/hooks/useResizeObserver');
|
|
9
8
|
require('../BannerIcon-ae763eab.js');
|
|
10
9
|
require('../getAtlantisConfig-0f3e8af2.js');
|
|
11
10
|
require('../style-inject.es-9d2f5f4e.js');
|
|
12
11
|
require('../Icon-405a216c.js');
|
|
13
12
|
require('@jobber/design');
|
|
13
|
+
require('../useResizeObserver-4a0beab4.js');
|
|
14
|
+
require('use-resize-observer/polyfilled');
|
|
14
15
|
require('../Text-259af966.js');
|
|
15
16
|
require('../Typography-c45bf216.js');
|
|
16
17
|
require('../Button-b73a5e01.js');
|
package/dist/Banner/index.mjs
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export { B as Banner } from '../Banner-
|
|
1
|
+
export { B as Banner } from '../Banner-fc36df3d.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '@jobber/hooks/useResizeObserver';
|
|
5
4
|
import '../BannerIcon-9d41540d.js';
|
|
6
5
|
import '../getAtlantisConfig-5b50057c.js';
|
|
7
6
|
import '../style-inject.es-a0e1a0ba.js';
|
|
8
7
|
import '../Icon-22723fe6.js';
|
|
9
8
|
import '@jobber/design';
|
|
9
|
+
import '../useResizeObserver-91b6088c.js';
|
|
10
|
+
import 'use-resize-observer/polyfilled';
|
|
10
11
|
import '../Text-c9162504.js';
|
|
11
12
|
import '../Typography-7cc5daf5.js';
|
|
12
13
|
import '../Button-9ae092b3.js';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
|
-
var jobberHooks = require('@jobber/hooks/useResizeObserver');
|
|
6
5
|
var BannerIcon = require('./BannerIcon-ae763eab.js');
|
|
7
6
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
7
|
+
var useResizeObserver = require('./useResizeObserver-4a0beab4.js');
|
|
8
8
|
var Icon = require('./Icon-405a216c.js');
|
|
9
9
|
var Text = require('./Text-259af966.js');
|
|
10
10
|
var Button = require('./Button-b73a5e01.js');
|
|
@@ -27,7 +27,7 @@ function Banner({ children, type, primaryAction, dismissible = true, icon, onDis
|
|
|
27
27
|
small: 320,
|
|
28
28
|
medium: 480,
|
|
29
29
|
};
|
|
30
|
-
const [bannerRef, { width: bannerWidth = bannerWidths.small }] =
|
|
30
|
+
const [bannerRef, { width: bannerWidth = bannerWidths.small }] = useResizeObserver.useResizeObserver({
|
|
31
31
|
widths: bannerWidths,
|
|
32
32
|
});
|
|
33
33
|
const iconColors = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { useResizeObserver } from '@jobber/hooks/useResizeObserver';
|
|
4
3
|
import { s as styles, B as BannerIcon } from './BannerIcon-9d41540d.js';
|
|
5
4
|
import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
|
|
5
|
+
import { u as useResizeObserver } from './useResizeObserver-91b6088c.js';
|
|
6
6
|
import { I as Icon } from './Icon-22723fe6.js';
|
|
7
7
|
import { T as Text } from './Text-c9162504.js';
|
|
8
8
|
import { B as Button } from './Button-9ae092b3.js';
|
package/dist/Card/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Card = require('../Card-
|
|
5
|
+
var Card = require('../Card-4dbc8e92.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('../style-inject.es-9d2f5f4e.js');
|
|
@@ -13,11 +13,11 @@ require('../Button-b73a5e01.js');
|
|
|
13
13
|
require('react-router-dom');
|
|
14
14
|
require('../Icon-405a216c.js');
|
|
15
15
|
require('@jobber/design');
|
|
16
|
-
require('../Menu-
|
|
16
|
+
require('../Menu-01614904.js');
|
|
17
17
|
require('framer-motion');
|
|
18
|
-
require('
|
|
19
|
-
require('
|
|
20
|
-
require('
|
|
18
|
+
require('../useSafeLayoutEffect-f1bb0b33.js');
|
|
19
|
+
require('../useRefocusOnActivator-93e430e0.js');
|
|
20
|
+
require('../useOnKeyDown-f281de78.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
package/dist/Card/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as Card } from '../Card-
|
|
1
|
+
export { C as Card } from '../Card-5faf7f41.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '../style-inject.es-a0e1a0ba.js';
|
|
@@ -9,8 +9,8 @@ import '../Button-9ae092b3.js';
|
|
|
9
9
|
import 'react-router-dom';
|
|
10
10
|
import '../Icon-22723fe6.js';
|
|
11
11
|
import '@jobber/design';
|
|
12
|
-
import '../Menu-
|
|
12
|
+
import '../Menu-786c249f.js';
|
|
13
13
|
import 'framer-motion';
|
|
14
|
-
import '
|
|
15
|
-
import '
|
|
16
|
-
import '
|
|
14
|
+
import '../useSafeLayoutEffect-37c5d604.js';
|
|
15
|
+
import '../useRefocusOnActivator-6062a5d8.js';
|
|
16
|
+
import '../useOnKeyDown-b9f5d527.js';
|
|
@@ -5,7 +5,7 @@ var classnames = require('classnames');
|
|
|
5
5
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
6
6
|
var Heading = require('./Heading-1e8e4bd3.js');
|
|
7
7
|
var Button = require('./Button-b73a5e01.js');
|
|
8
|
-
var Menu = require('./Menu-
|
|
8
|
+
var Menu = require('./Menu-01614904.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@ import classnames from 'classnames';
|
|
|
3
3
|
import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
|
|
4
4
|
import { H as Heading } from './Heading-93e755cb.js';
|
|
5
5
|
import { B as Button } from './Button-9ae092b3.js';
|
|
6
|
-
import { M as Menu } from './Menu-
|
|
6
|
+
import { M as Menu } from './Menu-786c249f.js';
|
|
7
7
|
|
|
8
8
|
var css_248z$1 = ":root {\n --card--accent-color: var(--color-grey);\n --card--base-padding: var(--space-base);\n --card--border: var(--border-base) solid var(--color-border);\n --card--header-background: var(--color-surface--background);\n}\n\n._2wxPdv7kELk- {\n display: block;\n width: 100%;\n border: calc(16px / 16) solid rgb(217, 223, 225);\n border: var(--card--border);\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n outline-color: rgb(147, 161, 169);\n outline-color: var(--color-focus);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n}\n\n._2wxPdv7kELk-:active {\n outline: 0;\n}\n\n:root .jobber-retheme ._2wxPdv7kELk-:not(.tRfpysqqk8s-) {\n --card--header-background: transparent;\n}\n\n/* Adjust `Content` components public padding to match the cards */\n\n._2wxPdv7kELk- > * {\n --public-content--padding: var(--card--base-padding);\n}\n\n/* Remove the nested `Content` components public padding */\n\n._2wxPdv7kELk- > * > * {\n --public-content--padding: 0;\n}\n\n._5LfUFF9DYsk- {\n border-top-width: 0;\n}\n\n._5LfUFF9DYsk-::before {\n content: \" \";\n display: block;\n margin: 0 calc(-1 * (16px / 16));\n margin: 0 calc(-1 * calc(16px / 16));\n margin: 0 calc(-1 * var(--border-base));\n border-top: 0.375rem solid rgb(181, 181, 181);\n border-top: 0.375rem solid var(--card--accent-color);\n border-radius: calc(16px / 8) calc(16px / 8) 0 0;\n border-radius: var(--radius-base) var(--radius-base) 0 0;\n}\n\n.tRfpysqqk8s- {\n --card--border: none;\n\n box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px\n rgba(0, 0, 0, 0.1),\n 0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);\n\n box-shadow: var(--shadow-base);\n color: inherit;\n text-decoration: inherit;\n cursor: pointer;\n transition: all 100ms linear;\n transition: all var(--timing-quick) linear;\n}\n\n.tRfpysqqk8s-:hover,\n.tRfpysqqk8s-:focus {\n background-color: rgb(244, 246, 250);\n background-color: var(--color-surface--hover);\n}\n\n.fAPeD1InvAI- {\n display: -ms-flexbox;\n display: flex;\n padding: calc(16px * 1);\n padding: var(--card--base-padding);\n background-color: rgb(238, 240, 242);\n background-color: var(--card--header-background);\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: start;\n align-items: flex-start;\n gap: calc(16px / 2);\n gap: var(--space-small);\n}\n\n.jobber-retheme .fAPeD1InvAI- {\n padding-bottom: 0;\n}\n\n.jobber-retheme .fAPeD1InvAI- h3 {\n font-family: \"Inter\", Helvetica, Arial, sans-serif;\n font-family: var(--typography--fontFamily-normal);\n font-size: calc((16px * 1) * 1.5);\n font-size: calc(calc(16px * 1) * 1.5);\n font-size: var(--typography--fontSize-largest);\n}\n";
|
|
9
9
|
var styles = {"card":"_2wxPdv7kELk-","clickable":"tRfpysqqk8s-","accent":"_5LfUFF9DYsk-","header":"fAPeD1InvAI-"};
|
package/dist/Chip/index.cjs
CHANGED
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Chip = require('../Chip-
|
|
6
|
-
var ChipDismissible = require('../ChipDismissible-
|
|
5
|
+
var Chip = require('../Chip-e055270d.js');
|
|
6
|
+
var ChipDismissible = require('../ChipDismissible-ed08d142.js');
|
|
7
7
|
require('react');
|
|
8
8
|
require('classnames');
|
|
9
|
-
require('@jobber/hooks/useInView');
|
|
10
9
|
require('../style-inject.es-9d2f5f4e.js');
|
|
11
10
|
require('../Avatar-76a799fa.js');
|
|
12
11
|
require('color');
|
|
13
12
|
require('../Icon-405a216c.js');
|
|
14
13
|
require('@jobber/design');
|
|
15
14
|
require('../useChildComponent-d661dbd6.js');
|
|
15
|
+
require('../useInView-7df2e45e.js');
|
|
16
16
|
require('../Typography-c45bf216.js');
|
|
17
|
-
require('../Tooltip-
|
|
17
|
+
require('../Tooltip-9dd3390b.js');
|
|
18
18
|
require('react-dom');
|
|
19
19
|
require('framer-motion');
|
|
20
|
-
require('@jobber/hooks/useSafeLayoutEffect');
|
|
21
20
|
require('react-popper');
|
|
21
|
+
require('../useSafeLayoutEffect-f1bb0b33.js');
|
|
22
22
|
require('../tslib.es6-754e2961.js');
|
|
23
23
|
|
|
24
24
|
|
package/dist/Chip/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { C as Chip } from '../Chip-
|
|
2
|
-
export { a as ChipDismissible, C as ChipSelectable } from '../ChipDismissible-
|
|
1
|
+
export { C as Chip } from '../Chip-a2d91757.js';
|
|
2
|
+
export { a as ChipDismissible, C as ChipSelectable } from '../ChipDismissible-59ee82bd.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '@jobber/hooks/useInView';
|
|
6
5
|
import '../style-inject.es-a0e1a0ba.js';
|
|
7
6
|
import '../Avatar-6ffee4bd.js';
|
|
8
7
|
import 'color';
|
|
9
8
|
import '../Icon-22723fe6.js';
|
|
10
9
|
import '@jobber/design';
|
|
11
10
|
import '../useChildComponent-13989d0a.js';
|
|
11
|
+
import '../useInView-7f4f281a.js';
|
|
12
12
|
import '../Typography-7cc5daf5.js';
|
|
13
|
-
import '../Tooltip-
|
|
13
|
+
import '../Tooltip-f1222e78.js';
|
|
14
14
|
import 'react-dom';
|
|
15
15
|
import 'framer-motion';
|
|
16
|
-
import '@jobber/hooks/useSafeLayoutEffect';
|
|
17
16
|
import 'react-popper';
|
|
17
|
+
import '../useSafeLayoutEffect-37c5d604.js';
|
|
18
18
|
import '../tslib.es6-c563c1dd.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { useInView } from '@jobber/hooks/useInView';
|
|
4
3
|
import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
|
|
5
4
|
import { A as Avatar } from './Avatar-6ffee4bd.js';
|
|
6
5
|
import { I as Icon } from './Icon-22723fe6.js';
|
|
7
6
|
import { u as useChildComponent } from './useChildComponent-13989d0a.js';
|
|
7
|
+
import { u as useInView } from './useInView-7f4f281a.js';
|
|
8
8
|
import { T as Typography } from './Typography-7cc5daf5.js';
|
|
9
|
-
import { T as Tooltip } from './Tooltip-
|
|
9
|
+
import { T as Tooltip } from './Tooltip-f1222e78.js';
|
|
10
10
|
|
|
11
11
|
var css_248z = ":root {\n --chip--gradient-color-variation: var(--chip-base-bg);\n --chip--gradient-color-variation--hover: var(--chip-base--hover);\n}\n\n.af7U8MvcbHE- {\n --chip-height: 40px;\n --chip-radius: 20px;\n --chip-base-bg: var(--color-surface--background);\n --chip-base--hover: var(--color-surface--background--hover);\n display: -ms-flexbox;\n display: flex;\n position: relative;\n height: 40px;\n height: var(--chip-height);\n min-width: 0;\n padding: calc(16px / 2) 16px;\n padding: var(--space-small) var(--base-unit);\n border: calc(16px / 16) solid transparent;\n border: var(--border-base) solid transparent;\n border-radius: 20px;\n border-radius: var(--chip-radius);\n color: rgb(1, 41, 57);\n color: var(--color-heading);\n text-align: left;\n cursor: pointer;\n transition: all 200ms;\n transition: all var(--timing-base);\n -ms-flex-align: center;\n align-items: center;\n}\n\n.af7U8MvcbHE-:focus,\n.af7U8MvcbHE-:focus-visible {\n outline: none;\n}\n\n.af7U8MvcbHE-:focus-visible {\n box-shadow: 0px 0px 0px calc(16px / 8) rgba(255, 255, 255, 1),\n 0px 0px 0px calc(16px / 4) rgb(147, 161, 169);\n box-shadow: var(--shadow-focus);\n}\n\n.af7U8MvcbHE- .e905AYK4SCc- {\n margin-left: calc(-1 * (16px / 2));\n margin-left: calc(-1 * calc(16px / 2));\n margin-left: calc(-1 * var(--space-small));\n margin-right: calc(16px / 2);\n margin-right: var(--space-small);\n}\n\n.af7U8MvcbHE- .ySADfZ0FckM- {\n margin-left: calc(16px / 2);\n margin-left: var(--space-small);\n margin-right: calc(-1 * (16px / 2));\n margin-right: calc(-1 * calc(16px / 2));\n margin-right: calc(-1 * var(--space-small));\n}\n\n.af7U8MvcbHE- .e905AYK4SCc-,\n.af7U8MvcbHE- .ySADfZ0FckM- {\n display: -ms-flexbox;\n display: flex;\n width: calc(16px * 1.5);\n width: var(--space-large);\n height: calc(16px * 1.5);\n height: var(--space-large);\n -ms-flex-negative: 0;\n flex-shrink: 0;\n border-radius: 100%;\n border-radius: var(--radius-circle);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.af7U8MvcbHE- .e905AYK4SCc-.usdkmQ9Sxbk-,\n.af7U8MvcbHE- .ySADfZ0FckM-.usdkmQ9Sxbk- {\n display: none;\n}\n\n.af7U8MvcbHE- .dg1-Izy1eQA- {\n width: calc(16px / 16);\n width: var(--space-minuscule);\n height: 16px;\n height: var(--base-unit);\n margin: 0 calc(16px / 2);\n margin: 0 var(--space-small);\n background-color: rgb(77, 105, 116);\n background-color: var(--color-text--secondary);\n}\n\n.af7U8MvcbHE- .-lz0EYLTDgg- {\n border-radius: 100%;\n border-radius: var(--radius-circle);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n}\n\n.wSI5L-5rODg- {\n border: calc(16px / 16) solid transparent;\n border: var(--border-base) solid transparent;\n color: rgb(1, 41, 57);\n color: var(--color-heading);\n background-color: var(--chip-base-bg);\n --chip--gradient-color-variation: var(--chip-base-bg);\n}\n\n.wSI5L-5rODg-:hover,\n.wSI5L-5rODg-:focus-visible {\n background-color: var(--chip-base--hover);\n --chip--gradient-color-variation--hover: var(--chip-base--hover);\n}\n\n.SmUxkzpIC84-,\n.SmUxkzpIC84-:hover,\n.SmUxkzpIC84-:focus-visible,\n.Mux23dmZSuw-.SmUxkzpIC84-,\n.Mux23dmZSuw-.SmUxkzpIC84-:hover,\n.Mux23dmZSuw-.SmUxkzpIC84-:focus-visible {\n border: calc(16px / 16) solid rgb(201, 66, 33);\n border: var(--border-base) solid var(--color-critical);\n background-color: rgb(255, 226, 219);\n background-color: var(--color-critical--surface);\n --chip--gradient-color-variation: var(--color-critical--surface);\n --chip--gradient-color-variation--hover: var(--color-critical--surface);\n}\n\n.SmUxkzpIC84-:hover,\n.SmUxkzpIC84-:focus-visible,\n.Mux23dmZSuw-.SmUxkzpIC84-:hover,\n.Mux23dmZSuw-.SmUxkzpIC84-:focus-visible {\n background-color: rgb(193, 201, 206);\n background-color: var(--color-surface--background--hover);\n --chip--gradient-color-variation: var(--color-surface--background--hover);\n --chip--gradient-color-variation--hover: var(\n --color-surface--background--hover\n );\n}\n\n.Mux23dmZSuw- {\n border: calc(16px / 16) solid rgb(217, 223, 225);\n border: var(--border-base) solid var(--color-border);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n --chip--gradient-color-variation: var(--color-surface);\n}\n\n/* CAUTION: Order is important here since\n* there is are different styles for subtle:focus and subtle:hover\n* and we want hover to take priority\n*/\n\n.Mux23dmZSuw-:focus-visible {\n --chip--gradient-color-variation--hover: var(--color-surface);\n}\n\n.Mux23dmZSuw-:hover {\n border: calc(16px / 16) solid var(--chip-base-bg);\n border: var(--border-base) solid var(--chip-base-bg);\n background-color: var(--chip-base-bg);\n --chip--gradient-color-variation--hover: var(--chip-base-bg);\n}\n\n.SmUxkzpIC84-.MbRItb9vKhc-,\n.SmUxkzpIC84-.MbRItb9vKhc-:hover,\n.SmUxkzpIC84-.MbRItb9vKhc-:focus-visible {\n background-color: rgb(225, 225, 225);\n background-color: var(--color-disabled--secondary);\n cursor: auto;\n}\n\n.MbRItb9vKhc-,\n.MbRItb9vKhc-:hover,\n.MbRItb9vKhc-:focus-visible {\n border: calc(16px / 16) solid rgb(225, 225, 225);\n border: var(--border-base) solid var(--color-disabled--secondary);\n color: rgb(181, 181, 181);\n color: var(--color-disabled);\n background-color: rgb(225, 225, 225);\n background-color: var(--color-disabled--secondary);\n cursor: auto;\n --chip--gradient-color-variation: var(--color-disabled--secondary);\n --chip--gradient-color-variation--hover: var(--color-disabled--secondary);\n}\n\n.MbRItb9vKhc- .dg1-Izy1eQA- {\n background-color: rgb(181, 181, 181);\n background-color: var(--color-disabled);\n}\n\n.af7U8MvcbHE-.MbRItb9vKhc- .ySADfZ0FckM- {\n background-color: rgb(225, 225, 225);\n background-color: var(--color-disabled--secondary);\n}\n\n.af7U8MvcbHE-.MbRItb9vKhc- .ySADfZ0FckM- path {\n fill: rgb(181, 181, 181);\n fill: var(--color-disabled);\n}\n\n.tJhURjR2Vec- {\n display: -ms-flexbox;\n display: flex;\n position: relative;\n overflow: hidden;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n\n.tJhURjR2Vec- > * {\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n\n.tJhURjR2Vec- > p {\n overflow: hidden;\n white-space: nowrap;\n}\n\n.G3QXY0rNcK0- {\n position: absolute;\n top: 0;\n right: 0;\n width: calc(16px * 1);\n width: var(--space-base);\n height: 100%;\n background: linear-gradient(\n to left,\n var(--chip-base-bg) 5%,\n rgba(255, 255, 255, 0)\n );\n background: linear-gradient(\n to left,\n var(--chip--gradient-color-variation) 5%,\n rgba(255, 255, 255, 0)\n );\n}\n\n.af7U8MvcbHE-:focus-visible .G3QXY0rNcK0-,\n.af7U8MvcbHE-:hover .G3QXY0rNcK0- {\n background: linear-gradient(\n to left,\n var(--chip-base--hover) 5%,\n rgba(255, 255, 255, 0)\n );\n background: linear-gradient(\n to left,\n var(--chip--gradient-color-variation--hover) 5%,\n rgba(255, 255, 255, 0)\n );\n}\n\n.MUKEW6c2nNA- {\n display: inline-block;\n width: 1px;\n}\n";
|
|
12
12
|
var styles = {"chip":"af7U8MvcbHE-","prefix":"e905AYK4SCc-","suffix":"ySADfZ0FckM-","empty":"usdkmQ9Sxbk-","chipBar":"dg1-Izy1eQA-","selected":"-lz0EYLTDgg-","base":"wSI5L-5rODg-","invalid":"SmUxkzpIC84-","subtle":"Mux23dmZSuw-","disabled":"MbRItb9vKhc-","chipContent":"tJhURjR2Vec-","truncateGradient":"G3QXY0rNcK0-","chipLabelRef":"MUKEW6c2nNA-"};
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
|
-
var useInView = require('@jobber/hooks/useInView');
|
|
6
5
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
7
6
|
var Avatar = require('./Avatar-76a799fa.js');
|
|
8
7
|
var Icon = require('./Icon-405a216c.js');
|
|
9
8
|
var useChildComponent = require('./useChildComponent-d661dbd6.js');
|
|
9
|
+
var useInView = require('./useInView-7df2e45e.js');
|
|
10
10
|
var Typography = require('./Typography-c45bf216.js');
|
|
11
|
-
var Tooltip = require('./Tooltip-
|
|
11
|
+
var Tooltip = require('./Tooltip-9dd3390b.js');
|
|
12
12
|
|
|
13
13
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest } from './tslib.es6-c563c1dd.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { I as Icon } from './Icon-22723fe6.js';
|
|
4
|
-
import { C as Chip, s as styles } from './Chip-
|
|
4
|
+
import { C as Chip, s as styles } from './Chip-a2d91757.js';
|
|
5
5
|
|
|
6
6
|
function ChipSelectable(_a) {
|
|
7
7
|
var { selected } = _a, rest = __rest(_a, ["selected"]);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib_es6 = require('./tslib.es6-754e2961.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var Icon = require('./Icon-405a216c.js');
|
|
6
|
-
var Chip = require('./Chip-
|
|
6
|
+
var Chip = require('./Chip-e055270d.js');
|
|
7
7
|
|
|
8
8
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
9
|
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var useScrollToActive = require('../../../useScrollToActive-
|
|
5
|
+
var useScrollToActive = require('../../../useScrollToActive-1c7761a6.js');
|
|
6
6
|
require('react');
|
|
7
|
-
require('
|
|
8
|
-
require('@jobber/hooks/useLiveAnnounce');
|
|
7
|
+
require('../../../useLiveAnnounce-b3d18cc1.js');
|
|
9
8
|
require('../../../Icon-405a216c.js');
|
|
10
9
|
require('@jobber/design');
|
|
11
10
|
require('react-popper');
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export { b as useInView, d as useInternalChipDismissible, u as useInternalChipDismissibleInput, c as useRepositionMenu, a as useScrollToActive } from '../../../useScrollToActive-
|
|
1
|
+
export { b as useInView, d as useInternalChipDismissible, u as useInternalChipDismissibleInput, c as useRepositionMenu, a as useScrollToActive } from '../../../useScrollToActive-b83ce299.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '
|
|
4
|
-
import '@jobber/hooks/useLiveAnnounce';
|
|
3
|
+
import '../../../useLiveAnnounce-62156fd1.js';
|
|
5
4
|
import '../../../Icon-22723fe6.js';
|
|
6
5
|
import '@jobber/design';
|
|
7
6
|
import 'react-popper';
|
|
@@ -23,5 +23,5 @@ export declare function useInternalChipDismissibleInput({ options, isLoadingMore
|
|
|
23
23
|
handleSetActiveOnMouseOver: (index: number) => () => void;
|
|
24
24
|
handleSelectOption: (selected: ChipDismissibleInputOptionProps) => void;
|
|
25
25
|
handleKeyDown: (event: KeyboardEvent<HTMLInputElement>) => void;
|
|
26
|
-
handleDebouncedSearch:
|
|
26
|
+
handleDebouncedSearch: (...args: any) => void;
|
|
27
27
|
};
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var InternalChipDismissible = require('../../InternalChipDismissible-
|
|
5
|
+
var InternalChipDismissible = require('../../InternalChipDismissible-54a170b4.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('../../style-inject.es-9d2f5f4e.js');
|
|
8
|
-
require('../../useScrollToActive-
|
|
9
|
-
require('
|
|
10
|
-
require('@jobber/hooks/useLiveAnnounce');
|
|
8
|
+
require('../../useScrollToActive-1c7761a6.js');
|
|
9
|
+
require('../../useLiveAnnounce-b3d18cc1.js');
|
|
11
10
|
require('../../Icon-405a216c.js');
|
|
12
11
|
require('@jobber/design');
|
|
13
12
|
require('react-popper');
|
|
@@ -17,13 +16,13 @@ require('../../Typography-c45bf216.js');
|
|
|
17
16
|
require('../../Button-b73a5e01.js');
|
|
18
17
|
require('react-router-dom');
|
|
19
18
|
require('../../Spinner-9d8fc7ff.js');
|
|
20
|
-
require('
|
|
19
|
+
require('../../useAssert-6ea61ad4.js');
|
|
21
20
|
require('../../Avatar-76a799fa.js');
|
|
22
21
|
require('color');
|
|
23
|
-
require('../../Tooltip-
|
|
22
|
+
require('../../Tooltip-9dd3390b.js');
|
|
24
23
|
require('react-dom');
|
|
25
24
|
require('framer-motion');
|
|
26
|
-
require('
|
|
25
|
+
require('../../useSafeLayoutEffect-f1bb0b33.js');
|
|
27
26
|
|
|
28
27
|
|
|
29
28
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export { a as InternalChipDismissible } from '../../InternalChipDismissible-
|
|
1
|
+
export { a as InternalChipDismissible } from '../../InternalChipDismissible-9763dbf8.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../style-inject.es-a0e1a0ba.js';
|
|
4
|
-
import '../../useScrollToActive-
|
|
5
|
-
import '
|
|
6
|
-
import '@jobber/hooks/useLiveAnnounce';
|
|
4
|
+
import '../../useScrollToActive-b83ce299.js';
|
|
5
|
+
import '../../useLiveAnnounce-62156fd1.js';
|
|
7
6
|
import '../../Icon-22723fe6.js';
|
|
8
7
|
import '@jobber/design';
|
|
9
8
|
import 'react-popper';
|
|
@@ -13,10 +12,10 @@ import '../../Typography-7cc5daf5.js';
|
|
|
13
12
|
import '../../Button-9ae092b3.js';
|
|
14
13
|
import 'react-router-dom';
|
|
15
14
|
import '../../Spinner-5d8359b8.js';
|
|
16
|
-
import '
|
|
15
|
+
import '../../useAssert-bc8ab4dd.js';
|
|
17
16
|
import '../../Avatar-6ffee4bd.js';
|
|
18
17
|
import 'color';
|
|
19
|
-
import '../../Tooltip-
|
|
18
|
+
import '../../Tooltip-f1222e78.js';
|
|
20
19
|
import 'react-dom';
|
|
21
20
|
import 'framer-motion';
|
|
22
|
-
import '
|
|
21
|
+
import '../../useSafeLayoutEffect-37c5d604.js';
|
package/dist/Chips/index.cjs
CHANGED
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var InternalChipDismissible = require('../InternalChipDismissible-
|
|
7
|
-
var Chips = require('../Chips-
|
|
8
|
-
var
|
|
6
|
+
var InternalChipDismissible = require('../InternalChipDismissible-54a170b4.js');
|
|
7
|
+
var Chips = require('../Chips-12bff62a.js');
|
|
8
|
+
var useAssert = require('../useAssert-6ea61ad4.js');
|
|
9
9
|
require('../style-inject.es-9d2f5f4e.js');
|
|
10
|
-
require('../useScrollToActive-
|
|
11
|
-
require('
|
|
12
|
-
require('@jobber/hooks/useLiveAnnounce');
|
|
10
|
+
require('../useScrollToActive-1c7761a6.js');
|
|
11
|
+
require('../useLiveAnnounce-b3d18cc1.js');
|
|
13
12
|
require('../Icon-405a216c.js');
|
|
14
13
|
require('@jobber/design');
|
|
15
14
|
require('react-popper');
|
|
@@ -21,10 +20,10 @@ require('react-router-dom');
|
|
|
21
20
|
require('../Spinner-9d8fc7ff.js');
|
|
22
21
|
require('../Avatar-76a799fa.js');
|
|
23
22
|
require('color');
|
|
24
|
-
require('../Tooltip-
|
|
23
|
+
require('../Tooltip-9dd3390b.js');
|
|
25
24
|
require('react-dom');
|
|
26
25
|
require('framer-motion');
|
|
27
|
-
require('
|
|
26
|
+
require('../useSafeLayoutEffect-f1bb0b33.js');
|
|
28
27
|
|
|
29
28
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
30
29
|
|
|
@@ -38,7 +37,7 @@ function ChipDismissible({ label, disabled, invalid, prefix, onClick, onRequestR
|
|
|
38
37
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
39
38
|
function Chip(props) {
|
|
40
39
|
// Throw error when <Chip /> gets used outside of the <Chips />
|
|
41
|
-
|
|
40
|
+
useAssert.useAssert(true, "`<Chip>` component can only be used inside `<Chips>`");
|
|
42
41
|
return React__default["default"].createElement(React__default["default"].Fragment, null);
|
|
43
42
|
}
|
|
44
43
|
|
package/dist/Chips/index.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { I as InternalChip, b as InternalChipButton } from '../InternalChipDismissible-
|
|
3
|
-
export { C as Chips } from '../Chips-
|
|
4
|
-
import { useAssert } from '
|
|
2
|
+
import { I as InternalChip, b as InternalChipButton } from '../InternalChipDismissible-9763dbf8.js';
|
|
3
|
+
export { C as Chips } from '../Chips-6309d0c9.js';
|
|
4
|
+
import { u as useAssert } from '../useAssert-bc8ab4dd.js';
|
|
5
5
|
import '../style-inject.es-a0e1a0ba.js';
|
|
6
|
-
import '../useScrollToActive-
|
|
7
|
-
import '
|
|
8
|
-
import '@jobber/hooks/useLiveAnnounce';
|
|
6
|
+
import '../useScrollToActive-b83ce299.js';
|
|
7
|
+
import '../useLiveAnnounce-62156fd1.js';
|
|
9
8
|
import '../Icon-22723fe6.js';
|
|
10
9
|
import '@jobber/design';
|
|
11
10
|
import 'react-popper';
|
|
@@ -17,10 +16,10 @@ import 'react-router-dom';
|
|
|
17
16
|
import '../Spinner-5d8359b8.js';
|
|
18
17
|
import '../Avatar-6ffee4bd.js';
|
|
19
18
|
import 'color';
|
|
20
|
-
import '../Tooltip-
|
|
19
|
+
import '../Tooltip-f1222e78.js';
|
|
21
20
|
import 'react-dom';
|
|
22
21
|
import 'framer-motion';
|
|
23
|
-
import '
|
|
22
|
+
import '../useSafeLayoutEffect-37c5d604.js';
|
|
24
23
|
|
|
25
24
|
function ChipDismissible({ label, disabled, invalid, prefix, onClick, onRequestRemove, }) {
|
|
26
25
|
return (React.createElement(InternalChip, { label: label, disabled: disabled, invalid: invalid, prefix: prefix, onClick: onClick, suffix: React.createElement(InternalChipButton, { icon: "remove", label: label, invalid: invalid, disabled: disabled, onClick: onRequestRemove }) }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var InternalChipDismissible = require('./InternalChipDismissible-
|
|
4
|
+
var InternalChipDismissible = require('./InternalChipDismissible-54a170b4.js');
|
|
5
5
|
var Icon = require('./Icon-405a216c.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useId } from 'react';
|
|
2
|
-
import { s as styles, I as InternalChip, a as InternalChipDismissible } from './InternalChipDismissible-
|
|
2
|
+
import { s as styles, I as InternalChip, a as InternalChipDismissible } from './InternalChipDismissible-9763dbf8.js';
|
|
3
3
|
import { I as Icon } from './Icon-22723fe6.js';
|
|
4
4
|
|
|
5
5
|
function InternalChipSingleSelect({ children, selected, name = useId(), onChange, onClick, }) {
|