@12-apps/ui 6.39.8 → 6.39.10
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/_internal/components/data-display/Alert/Alert.js +2 -2
- package/dist/_internal/components/data-display/Alert/Alert.metrics.js +2 -2
- package/dist/_internal/components/data-display/Alert/Alert.styles.js +2 -2
- package/dist/_internal/components/data-display/Badge/Badge.js +4 -4
- package/dist/_internal/components/data-display/Badge/Badge.styles.js +2 -2
- package/dist/_internal/components/data-display/Badge/BadgeContent.js +2 -2
- package/dist/_internal/components/data-display/Banner/Banner.js +2 -2
- package/dist/_internal/components/data-display/Banner/Banner.styles.js +2 -2
- package/dist/_internal/components/data-display/CardKit/CardKebab.js +5 -5
- package/dist/_internal/components/data-display/CardKit/card-actions-context.js +2 -2
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +6 -6
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +6 -6
- package/dist/_internal/components/data-display/Carousel/Carousel.chrome.js +2 -2
- package/dist/_internal/components/data-display/Carousel/Carousel.js +2 -2
- package/dist/_internal/components/data-display/Carousel/Carousel.parts.js +2 -2
- package/dist/_internal/components/data-display/Carousel/Carousel.styles.js +2 -2
- package/dist/_internal/components/data-display/Chart/Chart.js +6 -6
- package/dist/_internal/components/data-display/Chart/SpecChart.js +7 -7
- package/dist/_internal/components/data-display/Chart/chart-context.js +4 -4
- package/dist/_internal/components/data-display/Chart/chart-internals.js +2 -2
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +5 -5
- package/dist/_internal/components/data-display/DataViews/DataViewsBoard.js +5 -5
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +38 -38
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +47 -47
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +7 -7
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +9 -9
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +8 -8
- package/dist/_internal/components/data-display/DataViews/base-card.js +5 -5
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +7 -7
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +6 -6
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +9 -9
- package/dist/_internal/components/data-display/DataViews/data-views-bar-controls.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-columns-tab.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-columns.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-day-input.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +10 -10
- package/dist/_internal/components/data-display/DataViews/data-views-display-tabs.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-empty.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +10 -10
- package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +34 -34
- package/dist/_internal/components/data-display/DataViews/data-views-header-row.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +13 -13
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +9 -9
- package/dist/_internal/components/data-display/DataViews/data-views-number-input.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-pagination.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-scope-tabs.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-search.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +15 -15
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +13 -13
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +14 -14
- package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +7 -7
- package/dist/_internal/components/data-display/DataViews/save-view-preview.js +5 -5
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +7 -7
- package/dist/_internal/components/data-display/DescriptionItem/DescriptionItem.js +5 -5
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +11 -11
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +8 -8
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +13 -13
- package/dist/_internal/components/data-display/FleetMap/FleetRoster.js +2 -2
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +2 -2
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapLayers.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +7 -7
- package/dist/_internal/components/data-display/MapPreview/MapSearchBar.js +1 -1
- package/dist/_internal/components/data-display/Progress/Progress.js +5 -5
- package/dist/_internal/components/data-display/Progress/Progress.metrics.js +3 -3
- package/dist/_internal/components/data-display/Progress/Progress.styles.js +4 -4
- package/dist/_internal/components/data-display/Sheet/Sheet.body.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.hooks.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.js +5 -5
- package/dist/_internal/components/data-display/Sheet/Sheet.styles.js +2 -2
- package/dist/_internal/components/data-display/Table/Table.hooks.js +1 -1
- package/dist/_internal/components/data-display/Table/Table.js +6 -5
- package/dist/_internal/components/data-display/Table/Table.styles.js +1 -1
- package/dist/_internal/components/data-display/Table/TableParts.hooks.js +2 -1
- package/dist/_internal/components/data-display/Table/TableParts.js +2 -1
- package/dist/_internal/components/data-display/index.js +38 -38
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +5 -5
- package/dist/_internal/components/feedback/Modal/Modal.js +2 -2
- package/dist/_internal/components/feedback/NotificationStatusNotice/NotificationStatusNotice.js +5 -5
- package/dist/_internal/components/feedback/index.js +11 -11
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.hooks.js +2 -2
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +7 -7
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +4 -4
- package/dist/_internal/components/form/AddressAutocomplete/AddressFallbackField.js +1 -1
- package/dist/_internal/components/form/AddressAutocomplete/AddressInputField.js +1 -1
- package/dist/_internal/components/form/AddressAutocomplete/AddressTextField.js +1 -1
- package/dist/_internal/components/form/Autocomplete/Autocomplete.js +1 -1
- package/dist/_internal/components/form/Autocomplete/Autocomplete.parts.js +1 -1
- package/dist/_internal/components/form/Button/Button.js +4 -4
- package/dist/_internal/components/form/Button/Button.styles.js +2 -2
- package/dist/_internal/components/form/Calendar/Calendar.hooks.js +2 -2
- package/dist/_internal/components/form/Calendar/Calendar.js +3 -3
- package/dist/_internal/components/form/CategorySelect/CategoryPanel.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategoryPanelFoot.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategoryPanelHead.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategoryPanelList.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategoryRows.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +3 -3
- package/dist/_internal/components/form/CategorySelect/CategorySelect.styles.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategoryTrigger.js +1 -1
- package/dist/_internal/components/form/CepField/CepField.js +1 -1
- package/dist/_internal/components/form/CodeEditor/CodeEditor.js +2 -2
- package/dist/_internal/components/form/Command/Command.js +2 -2
- package/dist/_internal/components/form/Command/Command.styles.js +2 -2
- package/dist/_internal/components/form/CreatableSelect/CreatableSelect.js +1 -1
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.hooks.js +1 -1
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +5 -5
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.range.js +1 -1
- package/dist/_internal/components/form/DateRangePicker/DateRangePickerFields.js +1 -1
- package/dist/_internal/components/form/Input/Input.js +1 -1
- package/dist/_internal/components/form/Input/Input.styles.js +1 -1
- package/dist/_internal/components/form/InputOTP/InputOTP.js +3 -3
- package/dist/_internal/components/form/InputOTP/InputOTP.styles.js +1 -1
- package/dist/_internal/components/form/Label/Label.js +2 -2
- package/dist/_internal/components/form/Label/Label.styles.js +2 -2
- package/dist/_internal/components/form/Menubar/Menubar.item.js +2 -2
- package/dist/_internal/components/form/Menubar/Menubar.js +4 -4
- package/dist/_internal/components/form/Menubar/Menubar.styles.js +2 -2
- package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +2 -2
- package/dist/_internal/components/form/PhoneInput/PhoneInput.js +1 -1
- package/dist/_internal/components/form/RadioGroup/RadioGroup.js +1 -1
- package/dist/_internal/components/form/RadioGroup/RadioGroup.styles.js +1 -1
- package/dist/_internal/components/form/RadioGroup/RadioGroup.variants.js +1 -1
- package/dist/_internal/components/form/Select/Select.js +1 -1
- package/dist/_internal/components/form/Switch/Switch.js +2 -2
- package/dist/_internal/components/form/Switch/Switch.parts.js +2 -2
- package/dist/_internal/components/form/Switch/Switch.styles.js +2 -2
- package/dist/_internal/components/form/Textarea/Textarea.js +2 -2
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js +1 -1
- package/dist/_internal/components/form/Toggle/Toggle.js +1 -1
- package/dist/_internal/components/form/Toggle/Toggle.styles.js +1 -1
- package/dist/_internal/components/form/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/_internal/components/form/UploadButton/UploadButton.js +2 -2
- package/dist/_internal/components/form/index.js +23 -23
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +4 -4
- package/dist/_internal/components/form/total-form/Fields/CepField.js +1 -1
- package/dist/_internal/components/form/total-form/Fields/SelectField.js +1 -1
- package/dist/_internal/components/form/total-form/Fields/TextField.js +1 -1
- package/dist/_internal/components/form/total-form/Fields/ToggleField.js +1 -1
- package/dist/_internal/components/form/total-form/Fields/index.js +8 -8
- package/dist/_internal/components/form/total-form/SubmitButton.js +5 -5
- package/dist/_internal/components/index.js +75 -75
- package/dist/_internal/components/layout/Box/Box.js +5 -5
- package/dist/_internal/components/layout/ContentToolbar/ColumnsMenu.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/FilterTrigger.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectDropdown.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectTriggers.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/SavedViewsMenu.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/SortByDropdown.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/ViewSelector.js +1 -1
- package/dist/_internal/components/layout/ScrollArea/ScrollArea.js +2 -2
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +5 -4
- package/dist/_internal/components/layout/SettingsLayout/SettingsPanel.js +3 -2
- package/dist/_internal/components/layout/SettingsLayout/SettingsSectionChips.js +2 -1
- package/dist/_internal/components/layout/SettingsLayout/SettingsSectionChips.scroll.js +8 -0
- package/dist/_internal/components/layout/SettingsLayout/SettingsSectionChips.scroll.js.map +1 -0
- package/dist/_internal/components/layout/Stack/Stack.js +6 -6
- package/dist/_internal/components/layout/TableFilter/TableFilter.js +1 -1
- package/dist/_internal/components/layout/index.js +6 -6
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +8 -8
- package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +2 -2
- package/dist/_internal/components/navigation/Pagination/Pagination.js +1 -1
- package/dist/_internal/components/navigation/Pagination/PaginationParts.js +1 -1
- package/dist/_internal/components/navigation/Tabs/Tabs.js +1 -1
- package/dist/_internal/components/navigation/Tabs/Tabs.styles.js +1 -1
- package/dist/_internal/components/navigation/index.js +8 -8
- package/dist/_internal/components/typography/Heading/Heading.js +5 -5
- package/dist/_internal/components/typography/Heading/Heading.metrics.js +3 -3
- package/dist/_internal/components/typography/Heading/Heading.styles.js +4 -4
- package/dist/_internal/components/typography/Text/Text.js +4 -4
- package/dist/_internal/components/typography/Text/Text.metrics.js +3 -3
- package/dist/_internal/components/typography/index.js +7 -7
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.helpers.js +2 -2
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +2 -2
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +2 -2
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +2 -2
- package/dist/_internal/components/utility/index.js +2 -2
- package/dist/_internal/icons/Icon.js +5 -5
- package/dist/_internal/provider/UiProvider.js +4 -4
- package/dist/_internal/provider/mui-bridge.js +3 -3
- package/dist/_internal/provider/use-ui-theme.js +4 -4
- package/dist/_internal/social-login-button/social-login-button.js +10 -10
- package/dist/_internal/tokens/field-height.js +1 -1
- package/dist/_internal/tokens/theme.js +2 -2
- package/dist/_internal/user-avatar/user-avatar.js +7 -7
- package/dist/charts.js +7 -7
- package/dist/{chunk-OAEYCKBN.js → chunk-2K7WPHI3.js} +2 -2
- package/dist/{chunk-GWEENWIS.js → chunk-3333KCAW.js} +3 -3
- package/dist/{chunk-L7NQCLFU.js → chunk-36JKV7CA.js} +3 -3
- package/dist/{chunk-JBI7ITL2.js → chunk-3BNQDOHC.js} +2 -2
- package/dist/{chunk-QGFBIUOK.js → chunk-3CTQZDSD.js} +2 -2
- package/dist/{chunk-YCCY77W5.js → chunk-3IF3I3FI.js} +2 -2
- package/dist/{chunk-A4OCNJWW.js → chunk-3UABIEP3.js} +2 -2
- package/dist/{chunk-R2WMSXQR.js → chunk-4BNV5AAI.js} +7 -7
- package/dist/{chunk-OHC3F7GJ.js → chunk-4NPPO63U.js} +6 -6
- package/dist/{chunk-WHQKH57H.js → chunk-4WF6ZLIW.js} +3 -3
- package/dist/{chunk-6WLHEZXI.js → chunk-4Y6W7BT4.js} +4 -4
- package/dist/{chunk-5KGABAQB.js → chunk-5752357K.js} +4 -4
- package/dist/{chunk-UITQ7KMK.js → chunk-5CQNBMLK.js} +4 -4
- package/dist/{chunk-3KREF4ZF.js → chunk-5FAI25JQ.js} +3 -3
- package/dist/{chunk-5CQ5HYJW.js → chunk-5KWHINO5.js} +4 -4
- package/dist/{chunk-BOGTTXPA.js → chunk-5QD6YGZ2.js} +16 -15
- package/dist/chunk-5QD6YGZ2.js.map +1 -0
- package/dist/{chunk-U4O47P6S.js → chunk-5WT4YWXC.js} +3 -3
- package/dist/{chunk-SZ3YFVO5.js → chunk-6MFMLQ72.js} +4 -4
- package/dist/{chunk-VIUDWOV6.js → chunk-7D2C4LK2.js} +5 -5
- package/dist/{chunk-6WBKOM5K.js → chunk-7DK6YVJU.js} +2 -2
- package/dist/{chunk-6QXFBZ7Q.js → chunk-7ICK5MXV.js} +4 -4
- package/dist/{chunk-QTNHAX2Z.js → chunk-A5B7B4HT.js} +3 -3
- package/dist/{chunk-KAIUDBHM.js → chunk-AXKLCWFR.js} +16 -16
- package/dist/{chunk-OB56SZGL.js → chunk-B7CNP5HW.js} +2 -2
- package/dist/{chunk-34BZXJGT.js → chunk-BKASAYQL.js} +4 -4
- package/dist/{chunk-PE4ZW3IA.js → chunk-BLW6KLDR.js} +4 -4
- package/dist/{chunk-UAVSBSV5.js → chunk-BUPDBEBA.js} +2 -2
- package/dist/{chunk-POV2KL2P.js → chunk-CCK7FB2V.js} +16 -2
- package/dist/chunk-CCK7FB2V.js.map +1 -0
- package/dist/{chunk-QKMJUOVH.js → chunk-CRG24BGI.js} +2 -2
- package/dist/{chunk-LKMMJKXU.js → chunk-CYZZHWNK.js} +2 -2
- package/dist/{chunk-DIM6SUGY.js → chunk-DAHYLPK7.js} +7 -7
- package/dist/{chunk-DUNG7D4B.js → chunk-DSF4VT7L.js} +1 -1
- package/dist/{chunk-KBZFBHLO.js → chunk-DXZOSP6P.js} +3 -3
- package/dist/{chunk-4GWHYLEB.js → chunk-DYGWKZ7T.js} +2 -2
- package/dist/{chunk-YOJASBHJ.js → chunk-DYNJQ3HJ.js} +3 -3
- package/dist/{chunk-CTKQCKRD.js → chunk-ECIHOZPK.js} +4 -4
- package/dist/{chunk-MYWROMGO.js → chunk-ENRBXB6L.js} +7 -7
- package/dist/{chunk-FWSMIUWA.js → chunk-ESCF5VMQ.js} +2 -2
- package/dist/{chunk-QI5CRSOW.js → chunk-F4KYBBTY.js} +4 -4
- package/dist/{chunk-NCEQWEXT.js → chunk-FNO5TWBJ.js} +4 -4
- package/dist/{chunk-S6IWKDWT.js → chunk-GC56IWIZ.js} +2 -2
- package/dist/{chunk-CXMVNYBY.js → chunk-GEB4WSZH.js} +3 -3
- package/dist/{chunk-RIF6L54B.js → chunk-H224XFFD.js} +2 -2
- package/dist/{chunk-2EAAWOZ2.js → chunk-HM2JJNUE.js} +4 -4
- package/dist/{chunk-JQWAANGN.js → chunk-HMAPQV4C.js} +3 -3
- package/dist/{chunk-7RRXLCOO.js → chunk-HUPR5JXY.js} +5 -5
- package/dist/{chunk-3RMDIO4G.js → chunk-I5T5PQQW.js} +2 -2
- package/dist/{chunk-F4WFUQYR.js → chunk-IFS3BRRL.js} +5 -5
- package/dist/{chunk-3GTMGPNQ.js → chunk-IQJCLFF4.js} +5 -5
- package/dist/{chunk-2ZRZTGWP.js → chunk-ISW5K72V.js} +5 -5
- package/dist/{chunk-IJFAF3A7.js → chunk-IWEUSZY3.js} +3 -3
- package/dist/{chunk-EDKLXA5W.js → chunk-J3XFUCCR.js} +3 -3
- package/dist/{chunk-TFMDZQK4.js → chunk-JGRBHNK6.js} +7 -7
- package/dist/{chunk-XEYLYUDM.js → chunk-JH5BKA3Y.js} +2 -2
- package/dist/{chunk-GS3RP2QE.js → chunk-KKN4LLVE.js} +2 -2
- package/dist/{chunk-3OBC6BOV.js → chunk-LH46NYGR.js} +2 -2
- package/dist/{chunk-5HQNHZ6Z.js → chunk-LH7KMYHC.js} +3 -4
- package/dist/chunk-LH7KMYHC.js.map +1 -0
- package/dist/{chunk-56JF5PZK.js → chunk-LYVTJLCF.js} +4 -4
- package/dist/{chunk-PZ7PU4AP.js → chunk-M2Q5CLPU.js} +4 -4
- package/dist/{chunk-XIG3DXXX.js → chunk-M4KVKQRN.js} +3 -3
- package/dist/{chunk-X4ZRPE37.js → chunk-MBHWVRV5.js} +2 -2
- package/dist/{chunk-ERY6D2OV.js → chunk-MWPXKZ7O.js} +4 -4
- package/dist/{chunk-XWZJLXJT.js → chunk-N7LPVR7P.js} +36 -10
- package/dist/chunk-N7LPVR7P.js.map +1 -0
- package/dist/{chunk-3AOQBR7N.js → chunk-OAW6GCS3.js} +2 -2
- package/dist/{chunk-6N2EDWMG.js → chunk-OGB25P3N.js} +4 -4
- package/dist/{chunk-R2XVTUVR.js → chunk-OQRG34VG.js} +2 -2
- package/dist/{chunk-RUEKY3VR.js → chunk-P52LYD6S.js} +2 -2
- package/dist/{chunk-R53ZOW4B.js → chunk-PARTZ7XI.js} +2 -2
- package/dist/{chunk-7GHYCQCJ.js → chunk-PCLKFR27.js} +4 -4
- package/dist/{chunk-K6VKL62Z.js → chunk-PG5C2AA4.js} +5 -5
- package/dist/{chunk-RGT6DM5W.js → chunk-PX6TWS5T.js} +68 -42
- package/dist/chunk-PX6TWS5T.js.map +1 -0
- package/dist/{chunk-R3JYC63P.js → chunk-QXSV7Z57.js} +2 -2
- package/dist/{chunk-5JSRM7WC.js → chunk-RB3X6CEE.js} +2 -2
- package/dist/{chunk-DW6F7354.js → chunk-S36NC22G.js} +2 -2
- package/dist/{chunk-6N4AA2Y7.js → chunk-S6JHTEV4.js} +3 -3
- package/dist/{chunk-5JCGBCFJ.js → chunk-SAOCDKNK.js} +4 -4
- package/dist/chunk-SLJAQA2X.js +82 -0
- package/dist/chunk-SLJAQA2X.js.map +1 -0
- package/dist/{chunk-ISFFETTG.js → chunk-T3DNYPEA.js} +6 -6
- package/dist/{chunk-JU4MSYYH.js → chunk-T6EKPFKZ.js} +2 -2
- package/dist/{chunk-Q2YNXJEL.js → chunk-TZBOWSAM.js} +5 -5
- package/dist/{chunk-D4FZ3ANG.js → chunk-UKX3MPB7.js} +2 -2
- package/dist/{chunk-YBH4SPMM.js → chunk-URHX4FAQ.js} +2 -2
- package/dist/{chunk-4CXCOR6F.js → chunk-V2UZQS2K.js} +2 -2
- package/dist/{chunk-TXGB2WSW.js → chunk-VJ2BNJ5M.js} +2 -2
- package/dist/{chunk-ASYR22BJ.js → chunk-VJG7NMGL.js} +4 -4
- package/dist/{chunk-BWHOCNGW.js → chunk-VPPIODKX.js} +2 -2
- package/dist/{chunk-4B5XUQQS.js → chunk-WB6ZU3B3.js} +3 -3
- package/dist/{chunk-W7F2QIAT.js → chunk-WCRGSMLV.js} +3 -3
- package/dist/{chunk-G62KCU3D.js → chunk-WL6N33AB.js} +2 -2
- package/dist/{chunk-VIRYHNEM.js → chunk-WY5PBZ7Q.js} +2 -2
- package/dist/{chunk-TKKQ7RGT.js → chunk-WZNTZX5N.js} +2 -2
- package/dist/{chunk-KE473LK6.js → chunk-YMTZN54Q.js} +2 -2
- package/dist/{chunk-JSD5TFDK.js → chunk-YS67XMOP.js} +5 -5
- package/dist/{chunk-UGGJ3KDT.js → chunk-YTINPQKU.js} +2 -2
- package/dist/{chunk-U3PPLAFB.js → chunk-ZN6YATOG.js} +2 -2
- package/dist/{chunk-WC3W36AM.js → chunk-ZOUWHGV3.js} +4 -4
- package/dist/data-display/Alert.js +2 -2
- package/dist/data-display/Badge.js +4 -4
- package/dist/data-display/Banner.js +2 -2
- package/dist/data-display/CardKit.js +10 -10
- package/dist/data-display/Carousel.js +2 -2
- package/dist/data-display/Chart.js +7 -7
- package/dist/data-display/DataViews.js +63 -63
- package/dist/data-display/DescriptionItem.js +5 -5
- package/dist/data-display/FleetMap.js +13 -13
- package/dist/data-display/HoverCard.js +2 -2
- package/dist/data-display/Lightbox.js +2 -2
- package/dist/data-display/MapPreview.js +7 -7
- package/dist/data-display/Progress.js +5 -5
- package/dist/data-display/Sheet.js +5 -5
- package/dist/data-display/Table.js +6 -5
- package/dist/feedback/ConfirmAction.js +8 -8
- package/dist/feedback/Modal.js +2 -2
- package/dist/feedback/NotificationStatusNotice.js +5 -5
- package/dist/form/AddressAutocomplete.js +7 -7
- package/dist/form/Autocomplete.js +1 -1
- package/dist/form/Button.js +4 -4
- package/dist/form/Calendar.js +3 -3
- package/dist/form/CategorySelect.js +3 -3
- package/dist/form/CepField.js +1 -1
- package/dist/form/CodeEditor.js +2 -2
- package/dist/form/Command.js +2 -2
- package/dist/form/CreatableSelect.js +1 -1
- package/dist/form/DateRangePicker.js +5 -5
- package/dist/form/Input.js +1 -1
- package/dist/form/InputOTP.js +3 -3
- package/dist/form/Label.js +2 -2
- package/dist/form/Menubar.js +4 -4
- package/dist/form/PhoneInput.js +1 -1
- package/dist/form/RadioGroup.js +1 -1
- package/dist/form/Select.js +1 -1
- package/dist/form/Switch.js +2 -2
- package/dist/form/Textarea.js +2 -2
- package/dist/form/Toggle.js +1 -1
- package/dist/form/ToggleGroup.js +1 -1
- package/dist/form/UploadButton.js +2 -2
- package/dist/form/total-form.js +10 -10
- package/dist/icons.js +5 -5
- package/dist/layout/Box.js +5 -5
- package/dist/layout/ContentToolbar.js +4 -4
- package/dist/layout/ScrollArea.js +2 -2
- package/dist/layout/SettingsLayout.js +5 -4
- package/dist/layout/Stack.js +6 -6
- package/dist/layout/TableFilter.js +1 -1
- package/dist/navigation/AppHeader.js +8 -8
- package/dist/navigation/Pagination.js +1 -1
- package/dist/navigation/Tabs.js +1 -1
- package/dist/provider.js +5 -5
- package/dist/social-login-button.js +10 -10
- package/dist/tokens.js +4 -4
- package/dist/types/components/data-display/Table/Table.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.hooks.d.ts +3 -2
- package/dist/types/components/data-display/Table/Table.hooks.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.styles.d.ts +3 -1
- package/dist/types/components/data-display/Table/Table.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.types.d.ts +6 -4
- package/dist/types/components/data-display/Table/Table.types.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/TableParts.d.ts +2 -3
- package/dist/types/components/data-display/Table/TableParts.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/TableParts.hooks.d.ts +6 -2
- package/dist/types/components/data-display/Table/TableParts.hooks.d.ts.map +1 -1
- package/dist/types/components/layout/SettingsLayout/SettingsSectionChips.d.ts.map +1 -1
- package/dist/types/components/layout/SettingsLayout/SettingsSectionChips.scroll.d.ts +64 -0
- package/dist/types/components/layout/SettingsLayout/SettingsSectionChips.scroll.d.ts.map +1 -0
- package/dist/typography/Heading.js +5 -5
- package/dist/typography/Text.js +4 -4
- package/dist/user-avatar.js +7 -7
- package/dist/utility/WorkflowStep.js +2 -2
- package/package.json +1 -1
- package/src/components/data-display/Table/Table.hooks.ts +5 -4
- package/src/components/data-display/Table/Table.md +6 -0
- package/src/components/data-display/Table/Table.styles.ts +28 -1
- package/src/components/data-display/Table/Table.tsx +6 -4
- package/src/components/data-display/Table/Table.types.ts +6 -4
- package/src/components/data-display/Table/TableParts.hooks.tsx +23 -19
- package/src/components/data-display/Table/TableParts.tsx +112 -49
- package/src/components/layout/SettingsLayout/SettingsLayout.md +3 -1
- package/src/components/layout/SettingsLayout/SettingsSectionChips.scroll.ts +180 -0
- package/src/components/layout/SettingsLayout/SettingsSectionChips.tsx +73 -15
- package/dist/chunk-5HQNHZ6Z.js.map +0 -1
- package/dist/chunk-BOGTTXPA.js.map +0 -1
- package/dist/chunk-POV2KL2P.js.map +0 -1
- package/dist/chunk-RGT6DM5W.js.map +0 -1
- package/dist/chunk-XWZJLXJT.js.map +0 -1
- /package/dist/{chunk-OAEYCKBN.js.map → chunk-2K7WPHI3.js.map} +0 -0
- /package/dist/{chunk-GWEENWIS.js.map → chunk-3333KCAW.js.map} +0 -0
- /package/dist/{chunk-L7NQCLFU.js.map → chunk-36JKV7CA.js.map} +0 -0
- /package/dist/{chunk-JBI7ITL2.js.map → chunk-3BNQDOHC.js.map} +0 -0
- /package/dist/{chunk-QGFBIUOK.js.map → chunk-3CTQZDSD.js.map} +0 -0
- /package/dist/{chunk-YCCY77W5.js.map → chunk-3IF3I3FI.js.map} +0 -0
- /package/dist/{chunk-A4OCNJWW.js.map → chunk-3UABIEP3.js.map} +0 -0
- /package/dist/{chunk-R2WMSXQR.js.map → chunk-4BNV5AAI.js.map} +0 -0
- /package/dist/{chunk-OHC3F7GJ.js.map → chunk-4NPPO63U.js.map} +0 -0
- /package/dist/{chunk-WHQKH57H.js.map → chunk-4WF6ZLIW.js.map} +0 -0
- /package/dist/{chunk-6WLHEZXI.js.map → chunk-4Y6W7BT4.js.map} +0 -0
- /package/dist/{chunk-5KGABAQB.js.map → chunk-5752357K.js.map} +0 -0
- /package/dist/{chunk-UITQ7KMK.js.map → chunk-5CQNBMLK.js.map} +0 -0
- /package/dist/{chunk-3KREF4ZF.js.map → chunk-5FAI25JQ.js.map} +0 -0
- /package/dist/{chunk-5CQ5HYJW.js.map → chunk-5KWHINO5.js.map} +0 -0
- /package/dist/{chunk-U4O47P6S.js.map → chunk-5WT4YWXC.js.map} +0 -0
- /package/dist/{chunk-SZ3YFVO5.js.map → chunk-6MFMLQ72.js.map} +0 -0
- /package/dist/{chunk-VIUDWOV6.js.map → chunk-7D2C4LK2.js.map} +0 -0
- /package/dist/{chunk-6WBKOM5K.js.map → chunk-7DK6YVJU.js.map} +0 -0
- /package/dist/{chunk-6QXFBZ7Q.js.map → chunk-7ICK5MXV.js.map} +0 -0
- /package/dist/{chunk-QTNHAX2Z.js.map → chunk-A5B7B4HT.js.map} +0 -0
- /package/dist/{chunk-KAIUDBHM.js.map → chunk-AXKLCWFR.js.map} +0 -0
- /package/dist/{chunk-OB56SZGL.js.map → chunk-B7CNP5HW.js.map} +0 -0
- /package/dist/{chunk-34BZXJGT.js.map → chunk-BKASAYQL.js.map} +0 -0
- /package/dist/{chunk-PE4ZW3IA.js.map → chunk-BLW6KLDR.js.map} +0 -0
- /package/dist/{chunk-UAVSBSV5.js.map → chunk-BUPDBEBA.js.map} +0 -0
- /package/dist/{chunk-QKMJUOVH.js.map → chunk-CRG24BGI.js.map} +0 -0
- /package/dist/{chunk-LKMMJKXU.js.map → chunk-CYZZHWNK.js.map} +0 -0
- /package/dist/{chunk-DIM6SUGY.js.map → chunk-DAHYLPK7.js.map} +0 -0
- /package/dist/{chunk-DUNG7D4B.js.map → chunk-DSF4VT7L.js.map} +0 -0
- /package/dist/{chunk-KBZFBHLO.js.map → chunk-DXZOSP6P.js.map} +0 -0
- /package/dist/{chunk-4GWHYLEB.js.map → chunk-DYGWKZ7T.js.map} +0 -0
- /package/dist/{chunk-YOJASBHJ.js.map → chunk-DYNJQ3HJ.js.map} +0 -0
- /package/dist/{chunk-CTKQCKRD.js.map → chunk-ECIHOZPK.js.map} +0 -0
- /package/dist/{chunk-MYWROMGO.js.map → chunk-ENRBXB6L.js.map} +0 -0
- /package/dist/{chunk-FWSMIUWA.js.map → chunk-ESCF5VMQ.js.map} +0 -0
- /package/dist/{chunk-QI5CRSOW.js.map → chunk-F4KYBBTY.js.map} +0 -0
- /package/dist/{chunk-NCEQWEXT.js.map → chunk-FNO5TWBJ.js.map} +0 -0
- /package/dist/{chunk-S6IWKDWT.js.map → chunk-GC56IWIZ.js.map} +0 -0
- /package/dist/{chunk-CXMVNYBY.js.map → chunk-GEB4WSZH.js.map} +0 -0
- /package/dist/{chunk-RIF6L54B.js.map → chunk-H224XFFD.js.map} +0 -0
- /package/dist/{chunk-2EAAWOZ2.js.map → chunk-HM2JJNUE.js.map} +0 -0
- /package/dist/{chunk-JQWAANGN.js.map → chunk-HMAPQV4C.js.map} +0 -0
- /package/dist/{chunk-7RRXLCOO.js.map → chunk-HUPR5JXY.js.map} +0 -0
- /package/dist/{chunk-3RMDIO4G.js.map → chunk-I5T5PQQW.js.map} +0 -0
- /package/dist/{chunk-F4WFUQYR.js.map → chunk-IFS3BRRL.js.map} +0 -0
- /package/dist/{chunk-3GTMGPNQ.js.map → chunk-IQJCLFF4.js.map} +0 -0
- /package/dist/{chunk-2ZRZTGWP.js.map → chunk-ISW5K72V.js.map} +0 -0
- /package/dist/{chunk-IJFAF3A7.js.map → chunk-IWEUSZY3.js.map} +0 -0
- /package/dist/{chunk-EDKLXA5W.js.map → chunk-J3XFUCCR.js.map} +0 -0
- /package/dist/{chunk-TFMDZQK4.js.map → chunk-JGRBHNK6.js.map} +0 -0
- /package/dist/{chunk-XEYLYUDM.js.map → chunk-JH5BKA3Y.js.map} +0 -0
- /package/dist/{chunk-GS3RP2QE.js.map → chunk-KKN4LLVE.js.map} +0 -0
- /package/dist/{chunk-3OBC6BOV.js.map → chunk-LH46NYGR.js.map} +0 -0
- /package/dist/{chunk-56JF5PZK.js.map → chunk-LYVTJLCF.js.map} +0 -0
- /package/dist/{chunk-PZ7PU4AP.js.map → chunk-M2Q5CLPU.js.map} +0 -0
- /package/dist/{chunk-XIG3DXXX.js.map → chunk-M4KVKQRN.js.map} +0 -0
- /package/dist/{chunk-X4ZRPE37.js.map → chunk-MBHWVRV5.js.map} +0 -0
- /package/dist/{chunk-ERY6D2OV.js.map → chunk-MWPXKZ7O.js.map} +0 -0
- /package/dist/{chunk-3AOQBR7N.js.map → chunk-OAW6GCS3.js.map} +0 -0
- /package/dist/{chunk-6N2EDWMG.js.map → chunk-OGB25P3N.js.map} +0 -0
- /package/dist/{chunk-R2XVTUVR.js.map → chunk-OQRG34VG.js.map} +0 -0
- /package/dist/{chunk-RUEKY3VR.js.map → chunk-P52LYD6S.js.map} +0 -0
- /package/dist/{chunk-R53ZOW4B.js.map → chunk-PARTZ7XI.js.map} +0 -0
- /package/dist/{chunk-7GHYCQCJ.js.map → chunk-PCLKFR27.js.map} +0 -0
- /package/dist/{chunk-K6VKL62Z.js.map → chunk-PG5C2AA4.js.map} +0 -0
- /package/dist/{chunk-R3JYC63P.js.map → chunk-QXSV7Z57.js.map} +0 -0
- /package/dist/{chunk-5JSRM7WC.js.map → chunk-RB3X6CEE.js.map} +0 -0
- /package/dist/{chunk-DW6F7354.js.map → chunk-S36NC22G.js.map} +0 -0
- /package/dist/{chunk-6N4AA2Y7.js.map → chunk-S6JHTEV4.js.map} +0 -0
- /package/dist/{chunk-5JCGBCFJ.js.map → chunk-SAOCDKNK.js.map} +0 -0
- /package/dist/{chunk-ISFFETTG.js.map → chunk-T3DNYPEA.js.map} +0 -0
- /package/dist/{chunk-JU4MSYYH.js.map → chunk-T6EKPFKZ.js.map} +0 -0
- /package/dist/{chunk-Q2YNXJEL.js.map → chunk-TZBOWSAM.js.map} +0 -0
- /package/dist/{chunk-D4FZ3ANG.js.map → chunk-UKX3MPB7.js.map} +0 -0
- /package/dist/{chunk-YBH4SPMM.js.map → chunk-URHX4FAQ.js.map} +0 -0
- /package/dist/{chunk-4CXCOR6F.js.map → chunk-V2UZQS2K.js.map} +0 -0
- /package/dist/{chunk-TXGB2WSW.js.map → chunk-VJ2BNJ5M.js.map} +0 -0
- /package/dist/{chunk-ASYR22BJ.js.map → chunk-VJG7NMGL.js.map} +0 -0
- /package/dist/{chunk-BWHOCNGW.js.map → chunk-VPPIODKX.js.map} +0 -0
- /package/dist/{chunk-4B5XUQQS.js.map → chunk-WB6ZU3B3.js.map} +0 -0
- /package/dist/{chunk-W7F2QIAT.js.map → chunk-WCRGSMLV.js.map} +0 -0
- /package/dist/{chunk-G62KCU3D.js.map → chunk-WL6N33AB.js.map} +0 -0
- /package/dist/{chunk-VIRYHNEM.js.map → chunk-WY5PBZ7Q.js.map} +0 -0
- /package/dist/{chunk-TKKQ7RGT.js.map → chunk-WZNTZX5N.js.map} +0 -0
- /package/dist/{chunk-KE473LK6.js.map → chunk-YMTZN54Q.js.map} +0 -0
- /package/dist/{chunk-JSD5TFDK.js.map → chunk-YS67XMOP.js.map} +0 -0
- /package/dist/{chunk-UGGJ3KDT.js.map → chunk-YTINPQKU.js.map} +0 -0
- /package/dist/{chunk-U3PPLAFB.js.map → chunk-ZN6YATOG.js.map} +0 -0
- /package/dist/{chunk-WC3W36AM.js.map → chunk-ZOUWHGV3.js.map} +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Telling the strip's own scrolls from the visitor's (FUT-2606).
|
|
3
|
+
*
|
|
4
|
+
* Split from `SettingsSectionChips.tsx` so the chips stay a component file and
|
|
5
|
+
* the rule for "who moved the strip" can be read in one place.
|
|
6
|
+
*/
|
|
7
|
+
interface VisitorScrollWatch {
|
|
8
|
+
/** True once the visitor has moved the strip themselves. */
|
|
9
|
+
hasScrolled: () => boolean;
|
|
10
|
+
/**
|
|
11
|
+
* True while a scroll the visitor MAY be making has not come to rest yet. The
|
|
12
|
+
* strip must not scroll itself under it: that would yank a drag in progress.
|
|
13
|
+
*/
|
|
14
|
+
isUndecided: () => boolean;
|
|
15
|
+
/** Where the strip last aimed itself, in its own pixels; `NaN` before it has. */
|
|
16
|
+
aimedAt: () => number;
|
|
17
|
+
/**
|
|
18
|
+
* The strip is about to scroll itself to `left`. Records the aim and NOTHING
|
|
19
|
+
* else: it used to disarm too, and a re-centre landing between a visitor's key
|
|
20
|
+
* press (or wheel, or pan) and the first tick of the scroll it causes wiped
|
|
21
|
+
* the arming — their scroll went unclaimed, read as the strip's own. Left
|
|
22
|
+
* armed, the worst a stale arming does is put the strip's OWN next scroll
|
|
23
|
+
* under judgement, which rests on its aim, is not latched, and disarms.
|
|
24
|
+
*/
|
|
25
|
+
beforeOwnScroll: (left: number) => void;
|
|
26
|
+
/** Called once an undecided scroll has come to rest and been judged. */
|
|
27
|
+
onSettled: (listener: () => void) => void;
|
|
28
|
+
detach: () => void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Tell a scroll the VISITOR made from every other one.
|
|
32
|
+
*
|
|
33
|
+
* The `scroll` event cannot say: the strip's own `scrollTo` fires it, and so does
|
|
34
|
+
* the browser clamping a strip whose content shrank. So a scroll is only a
|
|
35
|
+
* CANDIDATE when it arrives during something only a visitor does:
|
|
36
|
+
*
|
|
37
|
+
* - a finger held on the strip (`touchstart` until `touchend`) — a drag;
|
|
38
|
+
* - a pointer held on it (`pointerdown` until `pointerup`);
|
|
39
|
+
* - a key press, a SIDEWAYS wheel, or the browser taking a pointer over to pan
|
|
40
|
+
* it (`pointercancel`), each armed until the next scroll under judgement has
|
|
41
|
+
* been judged — whoever's it turns out to be.
|
|
42
|
+
*
|
|
43
|
+
* and the verdict waits until the strip comes to REST (`scrollend`, or a quiet
|
|
44
|
+
* spell where the browser has no `scrollend`): it is the visitor's only if the
|
|
45
|
+
* strip rests somewhere other than where it last aimed itself.
|
|
46
|
+
*
|
|
47
|
+
* Judged at rest rather than per `scroll` because the strip's own smooth scroll
|
|
48
|
+
* fires `scroll` for a third of a second, and a visitor who presses Tab or puts
|
|
49
|
+
* a finger on a chip to scroll the PAGE in that window is not scrolling the
|
|
50
|
+
* strip. Every tick of that animation used to count as theirs, the strip stopped
|
|
51
|
+
* re-centring for good, and the open chip could be left clipped (FUT-2606
|
|
52
|
+
* again, by another door). A visitor who really drags or wheels the strip
|
|
53
|
+
* mid-animation cancels it, so the strip rests where THEY left it — and that
|
|
54
|
+
* still counts. The one loss: a visitor who happens to leave it within a pixel
|
|
55
|
+
* of the strip's own aim is not told apart from it, and the strip there is
|
|
56
|
+
* already where it would have put itself.
|
|
57
|
+
*
|
|
58
|
+
* A tap is a pointer held with no scroll under it, so it never counts. A
|
|
59
|
+
* vertical wheel scrolls the PAGE — the strip is `overflowY: hidden` — and is
|
|
60
|
+
* not armed at all.
|
|
61
|
+
*/
|
|
62
|
+
export declare function watchVisitorScroll(strip: HTMLElement): VisitorScrollWatch;
|
|
63
|
+
export {};
|
|
64
|
+
//# sourceMappingURL=SettingsSectionChips.scroll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingsSectionChips.scroll.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/SettingsLayout/SettingsSectionChips.scroll.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAkBH,UAAU,kBAAkB;IAC1B,4DAA4D;IAC5D,WAAW,EAAE,MAAM,OAAO,CAAC;IAC3B;;;OAGG;IACH,WAAW,EAAE,MAAM,OAAO,CAAC;IAC3B,iFAAiF;IACjF,OAAO,EAAE,MAAM,MAAM,CAAC;IACtB;;;;;;;OAOG;IACH,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,wEAAwE;IACxE,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC1C,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AA4BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,GAAG,kBAAkB,CA0EzE"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "../chunk-6GP2DOOO.js";
|
|
2
2
|
import {
|
|
3
3
|
Heading
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-IWEUSZY3.js";
|
|
5
|
+
import "../chunk-RB3X6CEE.js";
|
|
6
|
+
import "../chunk-CYZZHWNK.js";
|
|
7
7
|
import "../chunk-TYJR4GOF.js";
|
|
8
8
|
import "../chunk-PT6TCWIW.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-BLW6KLDR.js";
|
|
10
10
|
import "../chunk-2BYKTBDL.js";
|
|
11
11
|
import "../chunk-AG66JBNH.js";
|
|
12
12
|
import "../chunk-FZXKH2ZT.js";
|
|
13
|
-
import "../chunk-PZBK3F52.js";
|
|
14
13
|
import "../chunk-26X4CZVR.js";
|
|
14
|
+
import "../chunk-PZBK3F52.js";
|
|
15
15
|
import "../chunk-FQ6UW7IY.js";
|
|
16
16
|
import "../chunk-6JAIFIPW.js";
|
|
17
17
|
import "../chunk-N3GAFIXG.js";
|
package/dist/typography/Text.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../chunk-VUHLNYAE.js";
|
|
2
2
|
import {
|
|
3
3
|
Text
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-URHX4FAQ.js";
|
|
5
|
+
import "../chunk-ZN6YATOG.js";
|
|
6
6
|
import "../chunk-TYJR4GOF.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-BLW6KLDR.js";
|
|
8
8
|
import "../chunk-2BYKTBDL.js";
|
|
9
9
|
import "../chunk-AG66JBNH.js";
|
|
10
10
|
import "../chunk-FZXKH2ZT.js";
|
|
11
|
-
import "../chunk-PZBK3F52.js";
|
|
12
11
|
import "../chunk-26X4CZVR.js";
|
|
12
|
+
import "../chunk-PZBK3F52.js";
|
|
13
13
|
import "../chunk-6JAIFIPW.js";
|
|
14
14
|
import "../chunk-YKCAJ2TN.js";
|
|
15
15
|
import "../chunk-PZ5AY32C.js";
|
package/dist/user-avatar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UserAvatar,
|
|
3
3
|
UserMenu
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HMAPQV4C.js";
|
|
5
5
|
import "./chunk-UDQSIRAP.js";
|
|
6
6
|
import "./chunk-EMEXXAQI.js";
|
|
7
7
|
import "./chunk-Y6C4MYZE.js";
|
|
@@ -15,23 +15,23 @@ import "./chunk-FKUYRQSP.js";
|
|
|
15
15
|
import "./chunk-76X6JRVI.js";
|
|
16
16
|
import "./chunk-JH7EEJEQ.js";
|
|
17
17
|
import "./chunk-BA4RHQ3B.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-HM2JJNUE.js";
|
|
19
|
+
import "./chunk-TAMIZE4Q.js";
|
|
19
20
|
import "./chunk-4WNFOBTH.js";
|
|
20
21
|
import "./chunk-LN46DSMF.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-U3PPLAFB.js";
|
|
22
|
+
import "./chunk-URHX4FAQ.js";
|
|
23
|
+
import "./chunk-ZN6YATOG.js";
|
|
24
24
|
import "./chunk-TYJR4GOF.js";
|
|
25
25
|
import "./chunk-CGO452DC.js";
|
|
26
26
|
import "./chunk-GDN2LUTZ.js";
|
|
27
27
|
import "./chunk-7FDU3FIN.js";
|
|
28
28
|
import "./chunk-EPEJMTCQ.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-BLW6KLDR.js";
|
|
30
30
|
import "./chunk-2BYKTBDL.js";
|
|
31
31
|
import "./chunk-AG66JBNH.js";
|
|
32
32
|
import "./chunk-FZXKH2ZT.js";
|
|
33
|
-
import "./chunk-PZBK3F52.js";
|
|
34
33
|
import "./chunk-26X4CZVR.js";
|
|
34
|
+
import "./chunk-PZBK3F52.js";
|
|
35
35
|
import "./chunk-FQ6UW7IY.js";
|
|
36
36
|
import "./chunk-6JAIFIPW.js";
|
|
37
37
|
import "./chunk-N3GAFIXG.js";
|
|
@@ -12,12 +12,12 @@ import "../chunk-CGO452DC.js";
|
|
|
12
12
|
import "../chunk-GDN2LUTZ.js";
|
|
13
13
|
import "../chunk-7FDU3FIN.js";
|
|
14
14
|
import "../chunk-EPEJMTCQ.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-BLW6KLDR.js";
|
|
16
16
|
import "../chunk-2BYKTBDL.js";
|
|
17
17
|
import "../chunk-AG66JBNH.js";
|
|
18
18
|
import "../chunk-FZXKH2ZT.js";
|
|
19
|
-
import "../chunk-PZBK3F52.js";
|
|
20
19
|
import "../chunk-26X4CZVR.js";
|
|
20
|
+
import "../chunk-PZBK3F52.js";
|
|
21
21
|
import "../chunk-FQ6UW7IY.js";
|
|
22
22
|
import "../chunk-6JAIFIPW.js";
|
|
23
23
|
import "../chunk-N3GAFIXG.js";
|
package/package.json
CHANGED
|
@@ -2,15 +2,16 @@ import { useTheme } from '@mui/material/styles/index.js';
|
|
|
2
2
|
import useMediaQuery from '@mui/material/useMediaQuery/index.js';
|
|
3
3
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { remPx } from '../../../tokens/relative';
|
|
6
6
|
|
|
7
7
|
import type { ColumnConfig, TableProps, VirtualWindow } from './Table.types';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* The virtual window. `rowHeight` and `containerHeight` are design px: the
|
|
11
11
|
* window is computed in the px `scrollTop` is measured in (`remPx`), and what it
|
|
12
|
-
* hands back to draw with stays in design px (`offsetY`
|
|
13
|
-
*
|
|
12
|
+
* hands back to draw with stays in design px (`offsetY`, `trailingPx` — the
|
|
13
|
+
* spacer rows either side of the window), so the rows and the window share one
|
|
14
|
+
* pitch at any type scale.
|
|
14
15
|
*
|
|
15
16
|
* The scroller holds the header as well as the body, so the `<tbody>` starts
|
|
16
17
|
* the header's height into it. `handleScroll` measures that height from
|
|
@@ -44,8 +45,8 @@ export const useVirtualScrolling = (
|
|
|
44
45
|
startIndex: start,
|
|
45
46
|
endIndex: end,
|
|
46
47
|
items: data.slice(start, end),
|
|
47
|
-
totalHeight: rem(theme, data.length * rowHeight),
|
|
48
48
|
offsetY: start * rowHeight,
|
|
49
|
+
trailingPx: (data.length - end) * rowHeight,
|
|
49
50
|
};
|
|
50
51
|
}, [data, rowHeight, containerHeight, scroll, overscan, theme]);
|
|
51
52
|
|
|
@@ -127,6 +127,12 @@ Handle large datasets efficiently:
|
|
|
127
127
|
/>
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
+
Only a numeric `containerHeight` virtualises; a string only sizes the scroll box. On the virtual path:
|
|
131
|
+
|
|
132
|
+
- **Every row is exactly `rowHeight`** (default 52), whatever the `density`: the density still sets the header and the font size, but not the body's row height or vertical padding. A cell's content is centred vertically and clipped — taller or wider content does not grow the row — so pick a `rowHeight` the tallest cell fits in.
|
|
133
|
+
- **Column widths come from the header** (`table-layout: fixed`): a column's `width`, with the columns that declare none sharing what is left. They hold still while rows scroll in and out. **`minWidth` is ignored** on this path; give a column that must not shrink a `width` its content and the density's side padding fit in. With `selectable`, the checkbox column is MUI's 48 wide with MUI's own checkbox padding.
|
|
134
|
+
- The rows outside the window are two `aria-hidden` spacer rows at the top and bottom of the `<tbody>`, so `striped` stripes follow the mounted rows rather than the data index.
|
|
135
|
+
|
|
130
136
|
### Responsive Design
|
|
131
137
|
Automatically hide/show columns based on viewport:
|
|
132
138
|
|
|
@@ -110,6 +110,29 @@ type VariantArgs = {
|
|
|
110
110
|
const tableVariantStyles = (args: VariantArgs, customVariant?: string): CSSObject =>
|
|
111
111
|
customVariant ? (TABLE_VARIANTS[customVariant]?.(args) ?? {}) : {};
|
|
112
112
|
|
|
113
|
+
/**
|
|
114
|
+
* A virtualised table (FUT-2668). Fixed layout takes the column widths from the
|
|
115
|
+
* header — a column's declared `width`, the rest sharing what is left — so they
|
|
116
|
+
* hold still while different rows mount (it ignores a column's `minWidth`). A
|
|
117
|
+
* body cell drops its vertical padding and the density's height: the pitch is
|
|
118
|
+
* `rowHeight`, and the cell's content wrapper is exactly that tall.
|
|
119
|
+
*
|
|
120
|
+
* The checkbox column is MUI's 48 wide, and fixed layout holds it there. The
|
|
121
|
+
* density's side padding would leave its checkbox 16 of that and clip it in the
|
|
122
|
+
* body, so it keeps MUI's own checkbox padding (4 on the left, none on the
|
|
123
|
+
* right), in the header and the body alike. After the sticky header's rule,
|
|
124
|
+
* which it would otherwise lose to.
|
|
125
|
+
*/
|
|
126
|
+
const virtualisedStyles = (theme: Theme): CSSObject => ({
|
|
127
|
+
tableLayout: 'fixed',
|
|
128
|
+
'& .MuiTableBody-root .MuiTableCell-root': {
|
|
129
|
+
paddingTop: 0,
|
|
130
|
+
paddingBottom: 0,
|
|
131
|
+
height: 'auto' },
|
|
132
|
+
'& .MuiTableHead-root .MuiTableCell-paddingCheckbox, & .MuiTableBody-root .MuiTableCell-paddingCheckbox': {
|
|
133
|
+
paddingLeft: rem(theme, 4),
|
|
134
|
+
paddingRight: 0 } });
|
|
135
|
+
|
|
113
136
|
// Sticky headers and row hover are independent of the variant.
|
|
114
137
|
const stickyHeaderStyles = (
|
|
115
138
|
theme: Theme,
|
|
@@ -183,7 +206,8 @@ export const tableStyles = ({
|
|
|
183
206
|
hoverable,
|
|
184
207
|
density,
|
|
185
208
|
stickyHeader,
|
|
186
|
-
stripeColor = 'neutral'
|
|
209
|
+
stripeColor = 'neutral',
|
|
210
|
+
virtualised }: {
|
|
187
211
|
theme: Theme;
|
|
188
212
|
customVariant?: string;
|
|
189
213
|
glow?: boolean;
|
|
@@ -192,6 +216,8 @@ export const tableStyles = ({
|
|
|
192
216
|
density?: TableDensity;
|
|
193
217
|
stickyHeader?: boolean;
|
|
194
218
|
stripeColor?: TableStripeColor;
|
|
219
|
+
/** The body is a virtual window, drawn at `rowHeight`. */
|
|
220
|
+
virtualised?: boolean;
|
|
195
221
|
}): CSSObject => {
|
|
196
222
|
const densityConfig = getDensityConfig(theme, density);
|
|
197
223
|
|
|
@@ -212,6 +238,7 @@ export const tableStyles = ({
|
|
|
212
238
|
...(stickyHeader ? stickyHeaderStyles(theme, densityConfig) : {}),
|
|
213
239
|
...(hoverable ? hoverableRowStyles(theme) : {}),
|
|
214
240
|
...emphasisStyles(theme, glow, pulse),
|
|
241
|
+
...(virtualised ? virtualisedStyles(theme) : {}),
|
|
215
242
|
|
|
216
243
|
|
|
217
244
|
// Variant styles
|
|
@@ -37,7 +37,7 @@ import { rem } from '../../../tokens/relative';
|
|
|
37
37
|
// Helper function to get stripe color from theme
|
|
38
38
|
const StyledTable = styled(MuiTable, {
|
|
39
39
|
shouldForwardProp: (prop) =>
|
|
40
|
-
!['customVariant', 'glow', 'pulse', 'hoverable', 'density', 'stickyHeader', 'stripeColor'].includes(prop as string) })<{
|
|
40
|
+
!['customVariant', 'glow', 'pulse', 'hoverable', 'density', 'stickyHeader', 'stripeColor', 'virtualised'].includes(prop as string) })<{
|
|
41
41
|
customVariant?: string;
|
|
42
42
|
glow?: boolean;
|
|
43
43
|
pulse?: boolean;
|
|
@@ -45,7 +45,8 @@ const StyledTable = styled(MuiTable, {
|
|
|
45
45
|
density?: TableDensity;
|
|
46
46
|
stickyHeader?: boolean;
|
|
47
47
|
stripeColor?: TableStripeColor;
|
|
48
|
-
|
|
48
|
+
virtualised?: boolean;
|
|
49
|
+
}>(({ theme, customVariant, glow, pulse, hoverable, density, stickyHeader, stripeColor = 'neutral', virtualised }) => {
|
|
49
50
|
return tableStyles({
|
|
50
51
|
theme,
|
|
51
52
|
customVariant,
|
|
@@ -54,7 +55,8 @@ const StyledTable = styled(MuiTable, {
|
|
|
54
55
|
hoverable,
|
|
55
56
|
density,
|
|
56
57
|
stickyHeader,
|
|
57
|
-
stripeColor
|
|
58
|
+
stripeColor,
|
|
59
|
+
virtualised });
|
|
58
60
|
});
|
|
59
61
|
|
|
60
62
|
// Virtual Scrolling Hook
|
|
@@ -214,6 +216,7 @@ const AdvancedTable: React.FC<RendererProps> = ({ resolved: p, selection, innerR
|
|
|
214
216
|
hoverable={p.hoverable}
|
|
215
217
|
density={p.density}
|
|
216
218
|
stickyHeader={p.stickyHeader}
|
|
219
|
+
virtualised={Boolean(windowHeight)}
|
|
217
220
|
{...rest}
|
|
218
221
|
>
|
|
219
222
|
<EnhancedTableHeader
|
|
@@ -243,7 +246,6 @@ const AdvancedTable: React.FC<RendererProps> = ({ resolved: p, selection, innerR
|
|
|
243
246
|
hoverable={p.hoverable}
|
|
244
247
|
renderRow={p.renderRow}
|
|
245
248
|
renderCell={p.renderCell}
|
|
246
|
-
virtualScrolling={p.virtualScrolling}
|
|
247
249
|
virtualWindow={windowHeight ? visibleItems : undefined}
|
|
248
250
|
rowHeight={p.rowHeight}
|
|
249
251
|
/>
|
|
@@ -310,15 +310,18 @@ export interface TableHeaderProps {
|
|
|
310
310
|
/**
|
|
311
311
|
* The rows a virtualised body mounts. Computed by `useVirtualScrolling` in the
|
|
312
312
|
* table, which owns the one scroll container, and handed down to the body.
|
|
313
|
+
*
|
|
314
|
+
* The mounted rows stay in the table's flow, between two spacer rows standing
|
|
315
|
+
* in for the rows above and below the window (FUT-2668).
|
|
313
316
|
*/
|
|
314
317
|
export interface VirtualWindow {
|
|
315
318
|
startIndex: number;
|
|
316
319
|
endIndex: number;
|
|
317
320
|
items: Record<string, unknown>[];
|
|
318
|
-
/**
|
|
319
|
-
totalHeight: string;
|
|
320
|
-
/** Where the first mounted row sits, in design px. */
|
|
321
|
+
/** The rows above the window — `startIndex × rowHeight` — in design px. */
|
|
321
322
|
offsetY: number;
|
|
323
|
+
/** The rows below the window — `(total − endIndex) × rowHeight` — in design px. */
|
|
324
|
+
trailingPx: number;
|
|
322
325
|
}
|
|
323
326
|
|
|
324
327
|
export interface TableBodyProps {
|
|
@@ -335,7 +338,6 @@ export interface TableBodyProps {
|
|
|
335
338
|
hoverable?: boolean;
|
|
336
339
|
renderRow?: (rowData: Record<string, unknown>, index: number, isSelected: boolean) => React.ReactNode;
|
|
337
340
|
renderCell?: (value: unknown, column: ColumnConfig, rowData: Record<string, unknown>, rowIndex: number) => React.ReactNode;
|
|
338
|
-
virtualScrolling?: boolean;
|
|
339
341
|
/** Set only when the body is virtualised: the rows in view and where they sit. */
|
|
340
342
|
virtualWindow?: VirtualWindow;
|
|
341
343
|
rowHeight?: number;
|
|
@@ -31,6 +31,24 @@ const useRowSelection = ({
|
|
|
31
31
|
[onSelectionChange, selectedRows],
|
|
32
32
|
);
|
|
33
33
|
|
|
34
|
+
type RowRendererProps = Pick<
|
|
35
|
+
TableBodyProps,
|
|
36
|
+
| 'columns'
|
|
37
|
+
| 'onRowClick'
|
|
38
|
+
| 'onRowFocus'
|
|
39
|
+
| 'onRowBlur'
|
|
40
|
+
| 'onSelectionChange'
|
|
41
|
+
| 'rowKeyExtractor'
|
|
42
|
+
| 'selectable'
|
|
43
|
+
| 'renderRow'
|
|
44
|
+
| 'renderCell'
|
|
45
|
+
| 'rowHeight'
|
|
46
|
+
> & {
|
|
47
|
+
selectedRows: Array<string | number>;
|
|
48
|
+
/** Whether the rows are a virtual window's, drawn at exactly `rowHeight`. */
|
|
49
|
+
virtualised: boolean;
|
|
50
|
+
};
|
|
51
|
+
|
|
34
52
|
export const useTableRowRenderer = ({
|
|
35
53
|
columns,
|
|
36
54
|
selectedRows,
|
|
@@ -42,22 +60,9 @@ export const useTableRowRenderer = ({
|
|
|
42
60
|
selectable,
|
|
43
61
|
renderRow,
|
|
44
62
|
renderCell,
|
|
45
|
-
|
|
63
|
+
virtualised,
|
|
46
64
|
rowHeight,
|
|
47
|
-
}:
|
|
48
|
-
TableBodyProps,
|
|
49
|
-
| 'columns'
|
|
50
|
-
| 'onRowClick'
|
|
51
|
-
| 'onRowFocus'
|
|
52
|
-
| 'onRowBlur'
|
|
53
|
-
| 'onSelectionChange'
|
|
54
|
-
| 'rowKeyExtractor'
|
|
55
|
-
| 'selectable'
|
|
56
|
-
| 'renderRow'
|
|
57
|
-
| 'renderCell'
|
|
58
|
-
| 'virtualScrolling'
|
|
59
|
-
| 'rowHeight'
|
|
60
|
-
> & { selectedRows: Array<string | number> }) => {
|
|
65
|
+
}: RowRendererProps) => {
|
|
61
66
|
const getRowKey = useRowKey(rowKeyExtractor);
|
|
62
67
|
const isRowSelected = useCallback(
|
|
63
68
|
(rowKey: string | number) => selectedRows.includes(rowKey),
|
|
@@ -66,7 +71,7 @@ export const useTableRowRenderer = ({
|
|
|
66
71
|
const handleRowSelection = useRowSelection({ selectedRows, onSelectionChange });
|
|
67
72
|
|
|
68
73
|
const renderTableRow = useCallback(
|
|
69
|
-
(rowData: Record<string, unknown>, index: number
|
|
74
|
+
(rowData: Record<string, unknown>, index: number) => {
|
|
70
75
|
const rowKey = getRowKey(rowData, index);
|
|
71
76
|
const selected = isRowSelected(rowKey);
|
|
72
77
|
|
|
@@ -78,7 +83,6 @@ export const useTableRowRenderer = ({
|
|
|
78
83
|
rowData={rowData}
|
|
79
84
|
rowKey={rowKey}
|
|
80
85
|
index={index}
|
|
81
|
-
offsetY={offsetY}
|
|
82
86
|
columns={columns}
|
|
83
87
|
selected={selected}
|
|
84
88
|
selectable={selectable}
|
|
@@ -87,7 +91,7 @@ export const useTableRowRenderer = ({
|
|
|
87
91
|
onRowFocus={onRowFocus}
|
|
88
92
|
onRowBlur={onRowBlur}
|
|
89
93
|
onSelect={handleRowSelection}
|
|
90
|
-
|
|
94
|
+
virtualised={virtualised}
|
|
91
95
|
renderCell={renderCell}
|
|
92
96
|
/>
|
|
93
97
|
);
|
|
@@ -104,7 +108,7 @@ export const useTableRowRenderer = ({
|
|
|
104
108
|
renderCell,
|
|
105
109
|
rowHeight,
|
|
106
110
|
selectable,
|
|
107
|
-
|
|
111
|
+
virtualised,
|
|
108
112
|
],
|
|
109
113
|
);
|
|
110
114
|
|