@jobber/components 4.85.4-CJS-to-ESM.28 → 4.85.4-CJS-to-ESM.30
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 +0 -4
- package/dist/Autocomplete/index.cjs +6 -6
- package/dist/Autocomplete/index.mjs +6 -6
- package/dist/{Autocomplete-a3aabcdf.js → Autocomplete-022bfa3d.js} +3 -3
- package/dist/{Autocomplete-b6989031.js → Autocomplete-35e3a52d.js} +3 -3
- package/dist/Banner/index.cjs +4 -2
- package/dist/Banner/index.mjs +4 -2
- package/dist/{Banner-cb621462.js → Banner-6e7f30f0.js} +2 -2
- package/dist/{Banner-2d1688c7.js → Banner-78f1131b.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 -2
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +2 -2
- package/dist/Chips/InternalChipDismissible/index.cjs +6 -6
- package/dist/Chips/InternalChipDismissible/index.mjs +6 -6
- package/dist/Chips/index.cjs +8 -8
- package/dist/Chips/index.mjs +7 -7
- package/dist/{Chips-715d2fd2.js → Chips-05f44094.js} +1 -1
- package/dist/{Chips-0ad95f11.js → Chips-bade3bf0.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 -12
- package/dist/Combobox/index.mjs +14 -12
- package/dist/{Combobox-81f4f510.js → Combobox-9c522066.js} +4 -4
- package/dist/{Combobox-11db3d7a.js → Combobox-b135db9b.js} +5 -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 +13 -11
- package/dist/DataList/components/DataListActions/index.mjs +13 -11
- 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 +14 -12
- package/dist/DataList/components/DataListBulkActions/index.mjs +14 -12
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +15 -13
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +15 -13
- package/dist/DataList/components/DataListFilters/index.cjs +20 -18
- package/dist/DataList/components/DataListFilters/index.mjs +20 -18
- package/dist/DataList/components/DataListHeader/index.cjs +15 -13
- package/dist/DataList/components/DataListHeader/index.mjs +15 -13
- 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 +5 -3
- package/dist/DataList/components/DataListHeaderTile/index.mjs +5 -3
- package/dist/DataList/components/DataListItem/index.cjs +15 -13
- package/dist/DataList/components/DataListItem/index.mjs +15 -13
- package/dist/DataList/components/DataListItemActions/index.cjs +14 -12
- package/dist/DataList/components/DataListItemActions/index.mjs +14 -12
- 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 +16 -14
- package/dist/DataList/components/DataListItems/index.mjs +16 -14
- package/dist/DataList/components/DataListLayout/index.cjs +17 -15
- package/dist/DataList/components/DataListLayout/index.mjs +17 -15
- package/dist/DataList/components/DataListLayoutActions/index.cjs +8 -6
- package/dist/DataList/components/DataListLayoutActions/index.mjs +8 -6
- package/dist/DataList/components/DataListLoadMore/index.cjs +2 -2
- package/dist/DataList/components/DataListLoadMore/index.mjs +2 -2
- 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 +5 -5
- package/dist/DataList/components/DataListSearch/index.mjs +5 -5
- package/dist/DataList/components/DataListStatusBar/index.cjs +7 -5
- package/dist/DataList/components/DataListStatusBar/index.mjs +7 -5
- package/dist/DataList/index.cjs +37 -35
- package/dist/DataList/index.mjs +37 -35
- package/dist/{DataList-e0ee036c.js → DataList-7cde55e6.js} +10 -10
- package/dist/{DataList-0f32c6f3.js → DataList-ed7b951a.js} +10 -10
- package/dist/{DataList.utils-61358386.js → DataList.utils-6314d637.js} +1 -1
- package/dist/{DataList.utils-1ecc4081.js → DataList.utils-85f2202c.js} +1 -1
- package/dist/{DataListActions-37110a26.js → DataListActions-b43caac9.js} +4 -4
- package/dist/{DataListActions-476aabad.js → DataListActions-bdee2a60.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-3be61638.js → DataListBulkActions-1adae809.js} +1 -1
- package/dist/{DataListBulkActions-dc08194e.js → DataListBulkActions-c11e6843.js} +1 -1
- package/dist/{DataListFilters-b1185f5e.js → DataListFilters-23c18720.js} +3 -3
- package/dist/{DataListFilters-e84b2b8e.js → DataListFilters-f830f084.js} +3 -3
- package/dist/{DataListHeader-0d691f09.js → DataListHeader-62039308.js} +2 -2
- package/dist/{DataListHeader-5c35e2fb.js → DataListHeader-8d53cc9e.js} +2 -2
- package/dist/{DataListHeaderTile-7ae763c4.js → DataListHeaderTile-430873d7.js} +5 -4
- package/dist/{DataListHeaderTile-cd020a45.js → DataListHeaderTile-6ff8c998.js} +3 -2
- package/dist/{DataListItem-d6cc368d.js → DataListItem-4e5d7765.js} +3 -3
- package/dist/{DataListItem-dba1aa6b.js → DataListItem-5bad22d4.js} +3 -3
- package/dist/{DataListItemActions-31f5a1b2.js → DataListItemActions-38ab3f41.js} +1 -1
- package/dist/{DataListItemActions-a34a91b9.js → DataListItemActions-950da8c3.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/{DataListItems-bd80dd88.js → DataListItems-292a1c3b.js} +1 -1
- package/dist/{DataListItems-aa383bd7.js → DataListItems-cfaf1ca4.js} +1 -1
- package/dist/{DataListLayout-0681fe4d.js → DataListLayout-00dc87d2.js} +1 -1
- package/dist/{DataListLayout-72b17c88.js → DataListLayout-88175b8c.js} +1 -1
- package/dist/{DataListLayoutActions-12c7a824.js → DataListLayoutActions-8e0eee30.js} +1 -1
- package/dist/{DataListLayoutActions-cb050d09.js → DataListLayoutActions-f98a9bd0.js} +1 -1
- package/dist/{DataListLoadMore-f783c207.js → DataListLoadMore-b9b7c90f.js} +1 -1
- package/dist/{DataListLoadMore-8dcb5dfd.js → DataListLoadMore-c72e8ead.js} +1 -1
- package/dist/{DataListOverflowFade-a640f51f.js → DataListOverflowFade-975fa65a.js} +1 -1
- package/dist/{DataListOverflowFade-85c826e0.js → DataListOverflowFade-a0817422.js} +1 -1
- package/dist/{DataListSearch-1d5c9650.js → DataListSearch-840ac90a.js} +1 -1
- package/dist/{DataListSearch-155f6b74.js → DataListSearch-9154cd17.js} +1 -1
- package/dist/{DataListSort-a8db9f9f.js → DataListSort-7303d4a0.js} +2 -2
- package/dist/{DataListSort-4b2578d2.js → DataListSort-c2d4d5b0.js} +2 -2
- 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-87ae37d7.js} +1 -1
- package/dist/{DataListStatusBar-4cb157c5.js → DataListStatusBar-d568aa66.js} +1 -1
- package/dist/DataTable/index.cjs +9 -6
- package/dist/DataTable/index.mjs +9 -6
- package/dist/DataTable/test-utilities/index.cjs +6 -2
- package/dist/DataTable/test-utilities/index.mjs +6 -2
- package/dist/{DataTable-4afcfbc6.js → DataTable-73a1cd96.js} +8 -6
- package/dist/{DataTable-8d4b2d3a.js → DataTable-ef5d2e3b.js} +5 -3
- package/dist/DatePicker/index.cjs +2 -2
- package/dist/DatePicker/index.mjs +2 -2
- package/dist/{DatePicker-09b8a606.js → DatePicker-3886d2fd.js} +1 -1
- package/dist/{DatePicker-9f303c61.js → DatePicker-c449c080.js} +2 -2
- package/dist/Disclosure/index.cjs +4 -2
- package/dist/Disclosure/index.mjs +4 -2
- package/dist/{Disclosure-f285a6b6.js → Disclosure-568ed5fa.js} +3 -3
- package/dist/{Disclosure-1165a958.js → Disclosure-96059f7c.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 -7
- package/dist/Gallery/index.mjs +8 -7
- package/dist/{Gallery-75b21f84.js → Gallery-c070620d.js} +2 -2
- package/dist/{Gallery-c5392b45.js → Gallery-ee2ea5dc.js} +2 -2
- package/dist/Grid/index.cjs +2 -2
- package/dist/Grid/index.mjs +2 -2
- package/dist/{Grid-257d509f.js → Grid-28c37497.js} +1 -1
- package/dist/{Grid-3b80e935.js → Grid-d9e16996.js} +1 -1
- package/dist/InputDate/index.cjs +5 -5
- package/dist/InputDate/index.mjs +5 -5
- package/dist/{InputDate-ab5f76d7.js → InputDate-7fc7f699.js} +2 -2
- package/dist/{InputDate-7f63ecf4.js → InputDate-e304220b.js} +2 -2
- 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 -3
- package/dist/InputTime/index.mjs +3 -3
- package/dist/{InputTime-f892fd3c.js → InputTime-63068d2b.js} +1 -1
- package/dist/{InputTime-3d4d8cd3.js → InputTime-8edfb136.js} +1 -1
- package/dist/{InternalChipDismissible-d7e094b0.js → InternalChipDismissible-572525e4.js} +3 -4
- package/dist/{InternalChipDismissible-496b792b.js → InternalChipDismissible-798e5b42.js} +4 -5
- package/dist/LightBox/index.cjs +4 -2
- package/dist/LightBox/index.mjs +4 -2
- package/dist/{LightBox-55063871.js → LightBox-472f99ab.js} +3 -1
- package/dist/{LightBox-95403d58.js → LightBox-b6e3599a.js} +8 -6
- 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 +8 -6
- package/dist/Page/index.mjs +8 -6
- package/dist/{Page-074b9847.js → Page-2b1fd3e4.js} +6 -6
- package/dist/{Page-e92f88e1.js → Page-82e0b98a.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-dd25bfd0.js +18 -0
- package/dist/{helpers-686e91da.js → helpers-f9e23af6.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 +216 -0
- package/dist/hooks/useCollectionQuery/index.d.ts +1 -0
- package/dist/hooks/useCollectionQuery/index.mjs +212 -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 +13 -0
- package/dist/hooks/useResizeObserver/index.d.ts +1 -0
- package/dist/hooks/useResizeObserver/index.mjs +4 -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-10901a5a.js +9 -0
- package/dist/index-9f933465.js +11 -0
- package/dist/index.cjs +69 -68
- package/dist/index.mjs +69 -68
- package/dist/mockViewportWidth-b920afa1.js +66 -0
- package/dist/mockViewportWidth-c4f23226.js +63 -0
- package/dist/useAssert-6ea61ad4.js +20 -0
- package/dist/useAssert-bc8ab4dd.js +18 -0
- 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-07dac106.js +59 -0
- package/dist/useResizeObserver-66e52775.js +52 -0
- package/dist/useSafeLayoutEffect-37c5d604.js +7 -0
- package/dist/useSafeLayoutEffect-f1bb0b33.js +9 -0
- package/dist/{useScrollToActive-b86e8d4e.js → useScrollToActive-b7bb4196.js} +1 -1
- package/dist/{useScrollToActive-93751166.js → useScrollToActive-fab625e7.js} +1 -1
- package/dist/useShowClear-342b660e.js +17 -0
- package/dist/useShowClear-568558fd.js +19 -0
- package/package.json +10 -5
- package/rollup.config.js +0 -1
- package/dist/helpers-8ea80269.js +0 -37
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { I as InputNumber } from '../InputNumber-
|
|
1
|
+
export { I as InputNumber } from '../InputNumber-90cfa93a.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../FormField-
|
|
3
|
+
import '../FormField-6a8d8c64.js';
|
|
4
4
|
import '../tslib.es6-c563c1dd.js';
|
|
5
5
|
import 'react-hook-form';
|
|
6
6
|
import '../style-inject.es-a0e1a0ba.js';
|
|
7
7
|
import 'classnames';
|
|
8
|
-
import '@jobber/hooks/useShowClear';
|
|
9
8
|
import '../Button-9ae092b3.js';
|
|
10
9
|
import 'react-router-dom';
|
|
11
10
|
import '../Icon-22723fe6.js';
|
|
12
11
|
import '@jobber/design';
|
|
13
12
|
import '../Typography-7cc5daf5.js';
|
|
14
13
|
import '../Text-c9162504.js';
|
|
14
|
+
import '../useShowClear-342b660e.js';
|
|
15
15
|
import '../InputValidation-d68fb034.js';
|
|
16
16
|
import 'framer-motion';
|
|
17
17
|
import '../Spinner-5d8359b8.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var FormField = require('./FormField-
|
|
4
|
+
var FormField = require('./FormField-9e1a326c.js');
|
|
5
5
|
|
|
6
6
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
7
|
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var InputPassword = require('../InputPassword-
|
|
5
|
+
var InputPassword = require('../InputPassword-2c6485ab.js');
|
|
6
6
|
require('react');
|
|
7
|
-
require('../FormField-
|
|
7
|
+
require('../FormField-9e1a326c.js');
|
|
8
8
|
require('../tslib.es6-754e2961.js');
|
|
9
9
|
require('react-hook-form');
|
|
10
10
|
require('../style-inject.es-9d2f5f4e.js');
|
|
11
11
|
require('classnames');
|
|
12
|
-
require('@jobber/hooks/useShowClear');
|
|
13
12
|
require('../Button-b73a5e01.js');
|
|
14
13
|
require('react-router-dom');
|
|
15
14
|
require('../Icon-405a216c.js');
|
|
16
15
|
require('@jobber/design');
|
|
17
16
|
require('../Typography-c45bf216.js');
|
|
18
17
|
require('../Text-259af966.js');
|
|
18
|
+
require('../useShowClear-568558fd.js');
|
|
19
19
|
require('../InputValidation-05e839fa.js');
|
|
20
20
|
require('framer-motion');
|
|
21
21
|
require('../Spinner-9d8fc7ff.js');
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { I as InputPassword } from '../InputPassword-
|
|
1
|
+
export { I as InputPassword } from '../InputPassword-bab38b58.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../FormField-
|
|
3
|
+
import '../FormField-6a8d8c64.js';
|
|
4
4
|
import '../tslib.es6-c563c1dd.js';
|
|
5
5
|
import 'react-hook-form';
|
|
6
6
|
import '../style-inject.es-a0e1a0ba.js';
|
|
7
7
|
import 'classnames';
|
|
8
|
-
import '@jobber/hooks/useShowClear';
|
|
9
8
|
import '../Button-9ae092b3.js';
|
|
10
9
|
import 'react-router-dom';
|
|
11
10
|
import '../Icon-22723fe6.js';
|
|
12
11
|
import '@jobber/design';
|
|
13
12
|
import '../Typography-7cc5daf5.js';
|
|
14
13
|
import '../Text-c9162504.js';
|
|
14
|
+
import '../useShowClear-342b660e.js';
|
|
15
15
|
import '../InputValidation-d68fb034.js';
|
|
16
16
|
import 'framer-motion';
|
|
17
17
|
import '../Spinner-5d8359b8.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var FormField = require('./FormField-
|
|
4
|
+
var FormField = require('./FormField-9e1a326c.js');
|
|
5
5
|
|
|
6
6
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
7
|
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var InputPhoneNumber = require('../InputPhoneNumber-
|
|
5
|
+
var InputPhoneNumber = require('../InputPhoneNumber-f8d7964c.js');
|
|
6
6
|
require('../tslib.es6-754e2961.js');
|
|
7
7
|
require('react');
|
|
8
8
|
require('react-hook-form');
|
|
9
9
|
require('../style-inject.es-9d2f5f4e.js');
|
|
10
|
-
require('../FormField-
|
|
10
|
+
require('../FormField-9e1a326c.js');
|
|
11
11
|
require('classnames');
|
|
12
|
-
require('@jobber/hooks/useShowClear');
|
|
13
12
|
require('../Button-b73a5e01.js');
|
|
14
13
|
require('react-router-dom');
|
|
15
14
|
require('../Icon-405a216c.js');
|
|
16
15
|
require('@jobber/design');
|
|
17
16
|
require('../Typography-c45bf216.js');
|
|
18
17
|
require('../Text-259af966.js');
|
|
18
|
+
require('../useShowClear-568558fd.js');
|
|
19
19
|
require('../InputValidation-05e839fa.js');
|
|
20
20
|
require('framer-motion');
|
|
21
21
|
require('../Spinner-9d8fc7ff.js');
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { I as InputPhoneNumber } from '../InputPhoneNumber-
|
|
1
|
+
export { I as InputPhoneNumber } from '../InputPhoneNumber-987b6f52.js';
|
|
2
2
|
import '../tslib.es6-c563c1dd.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-hook-form';
|
|
5
5
|
import '../style-inject.es-a0e1a0ba.js';
|
|
6
|
-
import '../FormField-
|
|
6
|
+
import '../FormField-6a8d8c64.js';
|
|
7
7
|
import 'classnames';
|
|
8
|
-
import '@jobber/hooks/useShowClear';
|
|
9
8
|
import '../Button-9ae092b3.js';
|
|
10
9
|
import 'react-router-dom';
|
|
11
10
|
import '../Icon-22723fe6.js';
|
|
12
11
|
import '@jobber/design';
|
|
13
12
|
import '../Typography-7cc5daf5.js';
|
|
14
13
|
import '../Text-c9162504.js';
|
|
14
|
+
import '../useShowClear-342b660e.js';
|
|
15
15
|
import '../InputValidation-d68fb034.js';
|
|
16
16
|
import 'framer-motion';
|
|
17
17
|
import '../Spinner-5d8359b8.js';
|
|
@@ -2,7 +2,7 @@ import { _ as __rest } from './tslib.es6-c563c1dd.js';
|
|
|
2
2
|
import React, { useState, cloneElement } from 'react';
|
|
3
3
|
import { useFormContext, useForm } from 'react-hook-form';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
|
|
5
|
-
import { F as FormField } from './FormField-
|
|
5
|
+
import { F as FormField } from './FormField-6a8d8c64.js';
|
|
6
6
|
|
|
7
7
|
var css_248z = ".L7WK-i5uaOk- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n z-index: 1;\n z-index: var(--elevation-base);\n height: var(--field--height);\n padding-top: var(--field--padding-top);\n padding-bottom: var(--field--padding-bottom);\n padding-left: var(--field--padding-left);\n padding-right: var(--field--padding-right);\n color: rgb(181, 181, 181);\n color: var(--color-grey);\n font-family: inherit;\n font-size: inherit;\n line-height: var(--field--value-lineHeight);\n pointer-events: none;\n}\n\n.q1wXBupm5Xc- {\n visibility: hidden;\n opacity: 0;\n}\n";
|
|
8
8
|
var styles = {"mask":"L7WK-i5uaOk-","hiddenValue":"q1wXBupm5Xc-"};
|
|
@@ -4,7 +4,7 @@ var tslib_es6 = require('./tslib.es6-754e2961.js');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var reactHookForm = require('react-hook-form');
|
|
6
6
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
7
|
-
var FormField = require('./FormField-
|
|
7
|
+
var FormField = require('./FormField-9e1a326c.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
10
|
|
package/dist/InputText/index.cjs
CHANGED
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var InputText = require('../InputText-
|
|
5
|
+
var InputText = require('../InputText-56f4ab72.js');
|
|
6
6
|
require('react');
|
|
7
|
-
require('
|
|
8
|
-
require('../FormField-
|
|
7
|
+
require('../useSafeLayoutEffect-f1bb0b33.js');
|
|
8
|
+
require('../FormField-9e1a326c.js');
|
|
9
9
|
require('../tslib.es6-754e2961.js');
|
|
10
10
|
require('react-hook-form');
|
|
11
11
|
require('../style-inject.es-9d2f5f4e.js');
|
|
12
12
|
require('classnames');
|
|
13
|
-
require('@jobber/hooks/useShowClear');
|
|
14
13
|
require('../Button-b73a5e01.js');
|
|
15
14
|
require('react-router-dom');
|
|
16
15
|
require('../Icon-405a216c.js');
|
|
17
16
|
require('@jobber/design');
|
|
18
17
|
require('../Typography-c45bf216.js');
|
|
19
18
|
require('../Text-259af966.js');
|
|
19
|
+
require('../useShowClear-568558fd.js');
|
|
20
20
|
require('../InputValidation-05e839fa.js');
|
|
21
21
|
require('framer-motion');
|
|
22
22
|
require('../Spinner-9d8fc7ff.js');
|
package/dist/InputText/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { I as InputText } from '../InputText-
|
|
1
|
+
export { I as InputText } from '../InputText-868ac59c.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '
|
|
4
|
-
import '../FormField-
|
|
3
|
+
import '../useSafeLayoutEffect-37c5d604.js';
|
|
4
|
+
import '../FormField-6a8d8c64.js';
|
|
5
5
|
import '../tslib.es6-c563c1dd.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
import '../style-inject.es-a0e1a0ba.js';
|
|
8
8
|
import 'classnames';
|
|
9
|
-
import '@jobber/hooks/useShowClear';
|
|
10
9
|
import '../Button-9ae092b3.js';
|
|
11
10
|
import 'react-router-dom';
|
|
12
11
|
import '../Icon-22723fe6.js';
|
|
13
12
|
import '@jobber/design';
|
|
14
13
|
import '../Typography-7cc5daf5.js';
|
|
15
14
|
import '../Text-c9162504.js';
|
|
15
|
+
import '../useShowClear-342b660e.js';
|
|
16
16
|
import '../InputValidation-d68fb034.js';
|
|
17
17
|
import 'framer-motion';
|
|
18
18
|
import '../Spinner-5d8359b8.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var useSafeLayoutEffect = require('
|
|
5
|
-
var FormField = require('./FormField-
|
|
4
|
+
var useSafeLayoutEffect = require('./useSafeLayoutEffect-f1bb0b33.js');
|
|
5
|
+
var FormField = require('./FormField-9e1a326c.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef, useRef, useImperativeHandle } from 'react';
|
|
2
|
-
import { useSafeLayoutEffect } from '
|
|
3
|
-
import { F as FormField } from './FormField-
|
|
2
|
+
import { u as useSafeLayoutEffect } from './useSafeLayoutEffect-37c5d604.js';
|
|
3
|
+
import { F as FormField } from './FormField-6a8d8c64.js';
|
|
4
4
|
|
|
5
5
|
function InputTextInternal(props, ref) {
|
|
6
6
|
const inputRef = useRef(null);
|
package/dist/InputTime/index.cjs
CHANGED
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var InputTime = require('../InputTime-
|
|
5
|
+
var InputTime = require('../InputTime-8edfb136.js');
|
|
6
6
|
require('../tslib.es6-754e2961.js');
|
|
7
7
|
require('react');
|
|
8
8
|
require('@std-proposal/temporal');
|
|
9
9
|
require('lodash');
|
|
10
|
-
require('../FormField-
|
|
10
|
+
require('../FormField-9e1a326c.js');
|
|
11
11
|
require('react-hook-form');
|
|
12
12
|
require('../style-inject.es-9d2f5f4e.js');
|
|
13
13
|
require('classnames');
|
|
14
|
-
require('@jobber/hooks/useShowClear');
|
|
15
14
|
require('../Button-b73a5e01.js');
|
|
16
15
|
require('react-router-dom');
|
|
17
16
|
require('../Icon-405a216c.js');
|
|
18
17
|
require('@jobber/design');
|
|
19
18
|
require('../Typography-c45bf216.js');
|
|
20
19
|
require('../Text-259af966.js');
|
|
20
|
+
require('../useShowClear-568558fd.js');
|
|
21
21
|
require('../InputValidation-05e839fa.js');
|
|
22
22
|
require('framer-motion');
|
|
23
23
|
require('../Spinner-9d8fc7ff.js');
|
package/dist/InputTime/index.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { I as InputTime } from '../InputTime-
|
|
1
|
+
export { I as InputTime } from '../InputTime-63068d2b.js';
|
|
2
2
|
import '../tslib.es6-c563c1dd.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@std-proposal/temporal';
|
|
5
5
|
import 'lodash';
|
|
6
|
-
import '../FormField-
|
|
6
|
+
import '../FormField-6a8d8c64.js';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
import '../style-inject.es-a0e1a0ba.js';
|
|
9
9
|
import 'classnames';
|
|
10
|
-
import '@jobber/hooks/useShowClear';
|
|
11
10
|
import '../Button-9ae092b3.js';
|
|
12
11
|
import 'react-router-dom';
|
|
13
12
|
import '../Icon-22723fe6.js';
|
|
14
13
|
import '@jobber/design';
|
|
15
14
|
import '../Typography-7cc5daf5.js';
|
|
16
15
|
import '../Text-c9162504.js';
|
|
16
|
+
import '../useShowClear-342b660e.js';
|
|
17
17
|
import '../InputValidation-d68fb034.js';
|
|
18
18
|
import 'framer-motion';
|
|
19
19
|
import '../Spinner-5d8359b8.js';
|
|
@@ -2,7 +2,7 @@ import { _ as __rest } from './tslib.es6-c563c1dd.js';
|
|
|
2
2
|
import React, { useRef, useState, useCallback, useEffect } from 'react';
|
|
3
3
|
import { CivilTime } from '@std-proposal/temporal';
|
|
4
4
|
import { debounce } from 'lodash';
|
|
5
|
-
import { F as FormField } from './FormField-
|
|
5
|
+
import { F as FormField } from './FormField-6a8d8c64.js';
|
|
6
6
|
|
|
7
7
|
function civilTimeToHTMLTime(civilTime) {
|
|
8
8
|
if (civilTime == undefined) {
|
|
@@ -4,7 +4,7 @@ var tslib_es6 = require('./tslib.es6-754e2961.js');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var temporal = require('@std-proposal/temporal');
|
|
6
6
|
var lodash = require('lodash');
|
|
7
|
-
var FormField = require('./FormField-
|
|
7
|
+
var FormField = require('./FormField-9e1a326c.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
10
|
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import React, { useRef, useState, useEffect } from 'react';
|
|
2
2
|
import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
|
|
3
|
-
import { u as useInternalChipDismissibleInput, a as useScrollToActive, b as useInView, c as useRepositionMenu, d as useInternalChipDismissible } from './useScrollToActive-
|
|
3
|
+
import { u as useInternalChipDismissibleInput, a as useScrollToActive, b as useInView, c as useRepositionMenu, d as useInternalChipDismissible } from './useScrollToActive-b7bb4196.js';
|
|
4
4
|
import { debounce } from 'lodash';
|
|
5
|
-
import '@jobber/hooks/useLiveAnnounce';
|
|
6
5
|
import '@jobber/design';
|
|
7
6
|
import 'react-popper';
|
|
8
7
|
import classnames from 'classnames';
|
|
9
8
|
import { T as Text } from './Text-c9162504.js';
|
|
10
9
|
import { B as Button } from './Button-9ae092b3.js';
|
|
11
10
|
import { S as Spinner } from './Spinner-5d8359b8.js';
|
|
12
|
-
import { useAssert } from '@jobber/hooks';
|
|
13
11
|
import { I as Icon } from './Icon-22723fe6.js';
|
|
12
|
+
import { u as useAssert } from './useAssert-bc8ab4dd.js';
|
|
14
13
|
import { A as Avatar } from './Avatar-6ffee4bd.js';
|
|
15
14
|
import { T as Typography } from './Typography-7cc5daf5.js';
|
|
16
|
-
import { T as Tooltip } from './Tooltip-
|
|
15
|
+
import { T as Tooltip } from './Tooltip-f1222e78.js';
|
|
17
16
|
|
|
18
17
|
var css_248z$1 = "/**\n * Used in the wrapping chips component:\n * - InternalChipSingleSelect\n * - InternalChipMultiSelect\n */\n\n.zn6onyiQVmA- {\n display: -ms-flexbox;\n display: flex;\n gap: calc(16px / 2);\n gap: var(--space-small);\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.PEnZzMEgbhU- {\n display: inline-grid;\n position: relative;\n max-width: 100%;\n box-sizing: border-box;\n padding: calc(16px / 2);\n padding: var(--space-small);\n border: calc(16px / 16) solid rgb(217, 223, 225);\n border: var(--border-base) solid var(--color-border);\n border-radius: calc(16px / 2);\n border-radius: var(--radius-larger);\n color: rgb(77, 105, 116);\n color: var(--color-text--secondary);\n text-align: left;\n vertical-align: middle;\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n transition: 200ms ease-in-out;\n transition: var(--timing-base) ease-in-out;\n transition-property: background-color, box-shadow, color;\n grid-template-columns: -webkit-max-content;\n grid-template-columns: max-content;\n -ms-flex-align: center;\n align-items: center;\n gap: calc(16px / 2);\n gap: var(--space-small);\n}\n\n.dtysUhwYdG4-,\n.xGaMCAYsdwA- {\n padding: calc((16px / 4) + (16px / 8)) calc(16px / 2);\n padding: calc(calc(16px / 4) + calc(16px / 8)) calc(16px / 2);\n padding: calc(var(--space-smaller) + var(--space-smallest)) var(--space-small);\n}\n\n.dtysUhwYdG4- {\n grid-template-columns: -webkit-min-content 1fr;\n grid-template-columns: min-content 1fr;\n}\n\n.xGaMCAYsdwA- {\n grid-template-columns: 1fr -webkit-min-content;\n grid-template-columns: 1fr min-content;\n}\n\n.dtysUhwYdG4-.xGaMCAYsdwA- {\n grid-template-columns: -webkit-min-content 1fr -webkit-min-content;\n grid-template-columns: min-content 1fr min-content;\n}\n\n.SNT7gGV-h-o-,\n.W4D98cvEth4- ~ .PEnZzMEgbhU- {\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 cursor: pointer;\n -webkit-appearance: none;\n appearance: none;\n}\n\n/**\n * Interaction\n */\n\n.PEnZzMEgbhU-:focus,\n.W4D98cvEth4-:focus ~ .PEnZzMEgbhU- {\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 outline: none;\n}\n\n.SNT7gGV-h-o-:hover,\n.W4D98cvEth4- ~ .PEnZzMEgbhU-:not(._0hEzaTXK9M0-):hover,\n.W4D98cvEth4-:focus ~ .PEnZzMEgbhU-:not(._0hEzaTXK9M0-) {\n background-color: rgb(244, 246, 250);\n background-color: var(--color-surface--hover);\n}\n\n/**\n * States\n */\n\n.PEnZzMEgbhU-._0hEzaTXK9M0- {\n border-color: rgb(1, 41, 57);\n border-color: var(--color-surface--reverse);\n color: rgba(255, 255, 255, 1);\n color: var(--color-text--reverse);\n background-color: rgb(1, 41, 57);\n background-color: var(--color-surface--reverse);\n}\n\n.PEnZzMEgbhU-.JApS2787BU8- {\n border-color: rgb(128, 25, 0);\n border-color: var(--color-critical--onSurface);\n color: rgb(128, 25, 0);\n color: var(--color-critical--onSurface);\n background-color: rgb(255, 226, 219);\n background-color: var(--color-critical--surface);\n}\n\n.PEnZzMEgbhU-.Kg0c8WVgMpg- {\n border-color: rgb(225, 225, 225);\n border-color: 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}\n\n._0hEzaTXK9M0-.Kg0c8WVgMpg- {\n border-color: rgb(181, 181, 181);\n border-color: var(--color-disabled);\n color: rgba(255, 255, 255, 1);\n color: var(--color-white);\n background-color: rgb(181, 181, 181);\n background-color: var(--color-disabled);\n}\n\n.JApS2787BU8-.Kg0c8WVgMpg- {\n border-color: rgb(201, 66, 33);\n border-color: var(--color-critical);\n}\n\n/**\n * Input checkbox/radio\n *\n * Hide checkbox on UI but not screen readers and still allow focus state\n */\n\n.W4D98cvEth4- {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n -webkit-clip-path: inset(100%);\n clip-path: inset(100%);\n white-space: nowrap;\n}\n\n/**\n * Button\n */\n\n._0-ZWexS4Gfg- {\n display: -ms-flexbox;\n display: flex;\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n cursor: pointer;\n transition: background-color 200ms ease;\n}\n\n._0-ZWexS4Gfg-:hover,\n._0-ZWexS4Gfg-:focus {\n background-color: rgb(244, 246, 250);\n background-color: var(--color-surface--hover);\n}\n\n._0-ZWexS4Gfg-:focus,\n.SNT7gGV-h-o- ._0-ZWexS4Gfg-:hover {\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 outline: none;\n}\n\n/**\n * Override icon default colors.\n *\n * NOTE: This is a workaround since some icons have default colors that we don't\n * want to override until the component color prop overrides it.\n * DO NOT COPY!\n */\n\n.DQPnZP4UZpw- > svg {\n fill: rgba(101, 120, 132, 1);\n fill: var(--color-interactive--subtle);\n}\n\n.DQPnZP4UZpw- {\n display: -ms-flexbox;\n display: flex;\n}\n";
|
|
19
18
|
var styles$1 = {"wrapper":"zn6onyiQVmA-","chip":"PEnZzMEgbhU-","hasPrefix":"dtysUhwYdG4-","hasSuffix":"xGaMCAYsdwA-","clickable":"SNT7gGV-h-o-","input":"W4D98cvEth4-","active":"_0hEzaTXK9M0-","invalid":"JApS2787BU8-","disabled":"Kg0c8WVgMpg-","button":"_0-ZWexS4Gfg-","icon":"DQPnZP4UZpw-"};
|
|
@@ -2,20 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
5
|
-
var useScrollToActive = require('./useScrollToActive-
|
|
5
|
+
var useScrollToActive = require('./useScrollToActive-fab625e7.js');
|
|
6
6
|
var lodash = require('lodash');
|
|
7
|
-
require('@jobber/hooks/useLiveAnnounce');
|
|
8
7
|
require('@jobber/design');
|
|
9
8
|
require('react-popper');
|
|
10
9
|
var classnames = require('classnames');
|
|
11
10
|
var Text = require('./Text-259af966.js');
|
|
12
11
|
var Button = require('./Button-b73a5e01.js');
|
|
13
12
|
var Spinner = require('./Spinner-9d8fc7ff.js');
|
|
14
|
-
var hooks = require('@jobber/hooks');
|
|
15
13
|
var Icon = require('./Icon-405a216c.js');
|
|
14
|
+
var useAssert = require('./useAssert-6ea61ad4.js');
|
|
16
15
|
var Avatar = require('./Avatar-76a799fa.js');
|
|
17
16
|
var Typography = require('./Typography-c45bf216.js');
|
|
18
|
-
var Tooltip = require('./Tooltip-
|
|
17
|
+
var Tooltip = require('./Tooltip-9dd3390b.js');
|
|
19
18
|
|
|
20
19
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
21
20
|
|
|
@@ -85,7 +84,7 @@ function InternalChipAffix({ affix, active, invalid, disabled, }) {
|
|
|
85
84
|
const isAvatar = (affix === null || affix === void 0 ? void 0 : affix.type) === Avatar.Avatar || false;
|
|
86
85
|
const isIcon = (affix === null || affix === void 0 ? void 0 : affix.type) === Icon.Icon || false;
|
|
87
86
|
const isChipButton = (affix === null || affix === void 0 ? void 0 : affix.type) === InternalChipButton || false;
|
|
88
|
-
|
|
87
|
+
useAssert.useAssert(!!affix && !(isAvatar || isIcon || isChipButton), `Prefix prop only accepts "<Avatar />" or "<Icon />" component. You have "${affix === null || affix === void 0 ? void 0 : affix.type}".`);
|
|
89
88
|
}
|
|
90
89
|
}
|
|
91
90
|
|
package/dist/LightBox/index.cjs
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var LightBox = require('../LightBox-
|
|
5
|
+
var LightBox = require('../LightBox-b6e3599a.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('framer-motion');
|
|
8
8
|
require('react-dom');
|
|
9
9
|
require('lodash');
|
|
10
|
-
require('@jobber/hooks');
|
|
11
10
|
require('../style-inject.es-9d2f5f4e.js');
|
|
11
|
+
require('../useRefocusOnActivator-93e430e0.js');
|
|
12
|
+
require('../useFocusTrap-8ba61b3f.js');
|
|
13
|
+
require('../useOnKeyDown-f281de78.js');
|
|
12
14
|
require('../ButtonDismiss-350af163.js');
|
|
13
15
|
require('../Button-b73a5e01.js');
|
|
14
16
|
require('classnames');
|
package/dist/LightBox/index.mjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
export { L as LightBox } from '../LightBox-
|
|
1
|
+
export { L as LightBox } from '../LightBox-472f99ab.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'framer-motion';
|
|
4
4
|
import 'react-dom';
|
|
5
5
|
import 'lodash';
|
|
6
|
-
import '@jobber/hooks';
|
|
7
6
|
import '../style-inject.es-a0e1a0ba.js';
|
|
7
|
+
import '../useRefocusOnActivator-6062a5d8.js';
|
|
8
|
+
import '../useFocusTrap-2cf1fdbc.js';
|
|
9
|
+
import '../useOnKeyDown-b9f5d527.js';
|
|
8
10
|
import '../ButtonDismiss-614803be.js';
|
|
9
11
|
import '../Button-9ae092b3.js';
|
|
10
12
|
import 'classnames';
|
|
@@ -2,8 +2,10 @@ import React, { useState, useEffect } from 'react';
|
|
|
2
2
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
3
3
|
import ReactDOM from 'react-dom';
|
|
4
4
|
import { debounce } from 'lodash';
|
|
5
|
-
import { useFocusTrap, useRefocusOnActivator, useOnKeyDown } from '@jobber/hooks';
|
|
6
5
|
import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
|
|
6
|
+
import { u as useRefocusOnActivator } from './useRefocusOnActivator-6062a5d8.js';
|
|
7
|
+
import { u as useFocusTrap } from './useFocusTrap-2cf1fdbc.js';
|
|
8
|
+
import { u as useOnKeyDown } from './useOnKeyDown-b9f5d527.js';
|
|
7
9
|
import { B as ButtonDismiss } from './ButtonDismiss-614803be.js';
|
|
8
10
|
import { B as Button } from './Button-9ae092b3.js';
|
|
9
11
|
|
|
@@ -4,8 +4,10 @@ var React = require('react');
|
|
|
4
4
|
var framerMotion = require('framer-motion');
|
|
5
5
|
var ReactDOM = require('react-dom');
|
|
6
6
|
var lodash = require('lodash');
|
|
7
|
-
var hooks = require('@jobber/hooks');
|
|
8
7
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
8
|
+
var useRefocusOnActivator = require('./useRefocusOnActivator-93e430e0.js');
|
|
9
|
+
var useFocusTrap = require('./useFocusTrap-8ba61b3f.js');
|
|
10
|
+
var useOnKeyDown = require('./useOnKeyDown-f281de78.js');
|
|
9
11
|
var ButtonDismiss = require('./ButtonDismiss-350af163.js');
|
|
10
12
|
var Button = require('./Button-b73a5e01.js');
|
|
11
13
|
|
|
@@ -54,15 +56,15 @@ const debounceDuration = 250;
|
|
|
54
56
|
function LightBox({ open, images, imageIndex = 0, onRequestClose, }) {
|
|
55
57
|
const [currentImageIndex, setCurrentImageIndex] = React.useState(imageIndex);
|
|
56
58
|
const [direction, setDirection] = React.useState(0);
|
|
57
|
-
const lightboxRef =
|
|
59
|
+
const lightboxRef = useFocusTrap.useFocusTrap(open);
|
|
58
60
|
const debouncedHandleNext = lodash.debounce(handleMoveNext, debounceDuration);
|
|
59
61
|
const debouncedHandlePrevious = lodash.debounce(handleMovePrevious, debounceDuration);
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
useRefocusOnActivator.useRefocusOnActivator(open);
|
|
63
|
+
useOnKeyDown.useOnKeyDown(handleRequestClose, "Escape");
|
|
64
|
+
useOnKeyDown.useOnKeyDown(debouncedHandlePrevious, {
|
|
63
65
|
key: "ArrowLeft",
|
|
64
66
|
});
|
|
65
|
-
|
|
67
|
+
useOnKeyDown.useOnKeyDown(debouncedHandleNext, {
|
|
66
68
|
key: "ArrowRight",
|
|
67
69
|
});
|
|
68
70
|
React.useEffect(() => {
|
package/dist/Menu/index.cjs
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Menu = require('../Menu-
|
|
5
|
+
var Menu = require('../Menu-01614904.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('framer-motion');
|
|
9
|
-
require('@jobber/hooks/useOnKeyDown');
|
|
10
|
-
require('@jobber/hooks');
|
|
11
|
-
require('@jobber/hooks/useSafeLayoutEffect');
|
|
12
9
|
require('../style-inject.es-9d2f5f4e.js');
|
|
10
|
+
require('../useSafeLayoutEffect-f1bb0b33.js');
|
|
11
|
+
require('../useRefocusOnActivator-93e430e0.js');
|
|
12
|
+
require('../useOnKeyDown-f281de78.js');
|
|
13
13
|
require('../Button-b73a5e01.js');
|
|
14
14
|
require('react-router-dom');
|
|
15
15
|
require('../Icon-405a216c.js');
|
package/dist/Menu/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { M as Menu } from '../Menu-
|
|
1
|
+
export { M as Menu } from '../Menu-786c249f.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'framer-motion';
|
|
5
|
-
import '@jobber/hooks/useOnKeyDown';
|
|
6
|
-
import '@jobber/hooks';
|
|
7
|
-
import '@jobber/hooks/useSafeLayoutEffect';
|
|
8
5
|
import '../style-inject.es-a0e1a0ba.js';
|
|
6
|
+
import '../useSafeLayoutEffect-37c5d604.js';
|
|
7
|
+
import '../useRefocusOnActivator-6062a5d8.js';
|
|
8
|
+
import '../useOnKeyDown-b9f5d527.js';
|
|
9
9
|
import '../Button-9ae092b3.js';
|
|
10
10
|
import 'react-router-dom';
|
|
11
11
|
import '../Icon-22723fe6.js';
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
5
|
var framerMotion = require('framer-motion');
|
|
6
|
-
var useOnKeyDown = require('@jobber/hooks/useOnKeyDown');
|
|
7
|
-
var hooks = require('@jobber/hooks');
|
|
8
|
-
var useSafeLayoutEffect = require('@jobber/hooks/useSafeLayoutEffect');
|
|
9
6
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
7
|
+
var useSafeLayoutEffect = require('./useSafeLayoutEffect-f1bb0b33.js');
|
|
8
|
+
var useRefocusOnActivator = require('./useRefocusOnActivator-93e430e0.js');
|
|
9
|
+
var useOnKeyDown = require('./useOnKeyDown-f281de78.js');
|
|
10
10
|
var Button = require('./Button-b73a5e01.js');
|
|
11
11
|
var Typography = require('./Typography-c45bf216.js');
|
|
12
12
|
var Icon = require('./Icon-405a216c.js');
|
|
@@ -64,7 +64,7 @@ function Menu({ activator, items }) {
|
|
|
64
64
|
setPosition(newPosition);
|
|
65
65
|
}
|
|
66
66
|
}, [visible, fullWidth]);
|
|
67
|
-
|
|
67
|
+
useRefocusOnActivator.useRefocusOnActivator(visible);
|
|
68
68
|
if (!activator) {
|
|
69
69
|
activator = (React__default["default"].createElement(Button.Button, { fullWidth: true, label: "More Actions", icon: "more", type: "secondary" }));
|
|
70
70
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { useState, createRef, useId, useRef, useEffect } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
4
|
-
import { useOnKeyDown } from '@jobber/hooks/useOnKeyDown';
|
|
5
|
-
import { useRefocusOnActivator } from '@jobber/hooks';
|
|
6
|
-
import { useSafeLayoutEffect } from '@jobber/hooks/useSafeLayoutEffect';
|
|
7
4
|
import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
|
|
5
|
+
import { u as useSafeLayoutEffect } from './useSafeLayoutEffect-37c5d604.js';
|
|
6
|
+
import { u as useRefocusOnActivator } from './useRefocusOnActivator-6062a5d8.js';
|
|
7
|
+
import { u as useOnKeyDown } from './useOnKeyDown-b9f5d527.js';
|
|
8
8
|
import { B as Button } from './Button-9ae092b3.js';
|
|
9
9
|
import { T as Typography } from './Typography-7cc5daf5.js';
|
|
10
10
|
import { I as Icon } from './Icon-22723fe6.js';
|
package/dist/Modal/index.cjs
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Modal = require('../Modal-
|
|
5
|
+
var Modal = require('../Modal-a1d78806.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('react-dom');
|
|
8
8
|
require('classnames');
|
|
9
9
|
require('framer-motion');
|
|
10
|
-
require('@jobber/hooks');
|
|
11
10
|
require('../style-inject.es-9d2f5f4e.js');
|
|
11
|
+
require('../useRefocusOnActivator-93e430e0.js');
|
|
12
|
+
require('../useOnKeyDown-f281de78.js');
|
|
13
|
+
require('../useFocusTrap-8ba61b3f.js');
|
|
12
14
|
require('../Heading-1e8e4bd3.js');
|
|
13
15
|
require('../Typography-c45bf216.js');
|
|
14
16
|
require('../getAtlantisConfig-0f3e8af2.js');
|
package/dist/Modal/index.mjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
export { M as Modal } from '../Modal-
|
|
1
|
+
export { M as Modal } from '../Modal-cd3f56c2.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import 'framer-motion';
|
|
6
|
-
import '@jobber/hooks';
|
|
7
6
|
import '../style-inject.es-a0e1a0ba.js';
|
|
7
|
+
import '../useRefocusOnActivator-6062a5d8.js';
|
|
8
|
+
import '../useOnKeyDown-b9f5d527.js';
|
|
9
|
+
import '../useFocusTrap-2cf1fdbc.js';
|
|
8
10
|
import '../Heading-93e755cb.js';
|
|
9
11
|
import '../Typography-7cc5daf5.js';
|
|
10
12
|
import '../getAtlantisConfig-5b50057c.js';
|
|
@@ -4,8 +4,10 @@ var React = require('react');
|
|
|
4
4
|
var ReactDOM = require('react-dom');
|
|
5
5
|
var classnames = require('classnames');
|
|
6
6
|
var framerMotion = require('framer-motion');
|
|
7
|
-
var hooks = require('@jobber/hooks');
|
|
8
7
|
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
8
|
+
var useRefocusOnActivator = require('./useRefocusOnActivator-93e430e0.js');
|
|
9
|
+
var useOnKeyDown = require('./useOnKeyDown-f281de78.js');
|
|
10
|
+
var useFocusTrap = require('./useFocusTrap-8ba61b3f.js');
|
|
9
11
|
var Heading = require('./Heading-1e8e4bd3.js');
|
|
10
12
|
var Button = require('./Button-b73a5e01.js');
|
|
11
13
|
var ButtonDismiss = require('./ButtonDismiss-350af163.js');
|
|
@@ -26,9 +28,9 @@ styleInject_es.styleInject(css_248z);
|
|
|
26
28
|
|
|
27
29
|
function Modal({ open = false, title, size, dismissible = true, children, primaryAction, secondaryAction, tertiaryAction, onRequestClose, }) {
|
|
28
30
|
const modalClassName = classnames__default["default"](styles.modal, size && sizes[size]);
|
|
29
|
-
|
|
30
|
-
const modalRef =
|
|
31
|
-
|
|
31
|
+
useRefocusOnActivator.useRefocusOnActivator(open);
|
|
32
|
+
const modalRef = useFocusTrap.useFocusTrap(open);
|
|
33
|
+
useOnKeyDown.useOnKeyDown(handleRequestClose, "Escape");
|
|
32
34
|
const template = (React__default["default"].createElement(framerMotion.AnimatePresence, null, open && (React__default["default"].createElement("div", { ref: modalRef, role: "dialog", className: styles.container, tabIndex: 0 },
|
|
33
35
|
React__default["default"].createElement(framerMotion.motion.div, { key: styles.overlay, className: styles.overlay, onClick: onRequestClose, initial: { opacity: 0 }, animate: { opacity: 0.8 }, exit: { opacity: 0 }, transition: { duration: 0.2 } }),
|
|
34
36
|
React__default["default"].createElement(framerMotion.motion.div, { key: styles.modal, className: modalClassName, initial: { scale: 0.9, opacity: 0 }, animate: { scale: 1, opacity: 1 }, exit: { scale: 0.9, opacity: 0 }, transition: {
|
|
@@ -2,8 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import ReactDOM from 'react-dom';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
5
|
-
import { useRefocusOnActivator, useFocusTrap, useOnKeyDown } from '@jobber/hooks';
|
|
6
5
|
import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
|
|
6
|
+
import { u as useRefocusOnActivator } from './useRefocusOnActivator-6062a5d8.js';
|
|
7
|
+
import { u as useOnKeyDown } from './useOnKeyDown-b9f5d527.js';
|
|
8
|
+
import { u as useFocusTrap } from './useFocusTrap-2cf1fdbc.js';
|
|
7
9
|
import { H as Heading } from './Heading-93e755cb.js';
|
|
8
10
|
import { B as Button } from './Button-9ae092b3.js';
|
|
9
11
|
import { B as ButtonDismiss } from './ButtonDismiss-614803be.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var FormField = require('./FormField-
|
|
4
|
+
var FormField = require('./FormField-9e1a326c.js');
|
|
5
5
|
|
|
6
6
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
7
|
|