@homebound/beam 2.134.2 → 2.135.1
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/{src/Css.d.ts → Css.d.ts} +0 -0
- package/dist/{src/Css.js → Css.js} +0 -0
- package/dist/{src/components → components}/Alert.d.ts +0 -0
- package/dist/{src/components → components}/Alert.js +0 -0
- package/dist/{src/components → components}/BeamContext.d.ts +0 -0
- package/dist/{src/components → components}/BeamContext.js +0 -0
- package/dist/{src/components → components}/Button.d.ts +0 -0
- package/dist/{src/components → components}/Button.js +0 -0
- package/dist/{src/components → components}/ButtonDatePicker.d.ts +0 -0
- package/dist/{src/components → components}/ButtonDatePicker.js +0 -0
- package/dist/{src/components → components}/ButtonGroup.d.ts +1 -2
- package/dist/{src/components → components}/ButtonGroup.js +0 -0
- package/dist/{src/components → components}/ButtonMenu.d.ts +1 -2
- package/dist/{src/components → components}/ButtonMenu.js +0 -0
- package/dist/{src/components → components}/Chip.d.ts +0 -0
- package/dist/{src/components → components}/Chip.js +0 -0
- package/dist/{src/components → components}/Chips.d.ts +0 -0
- package/dist/{src/components → components}/Chips.js +0 -0
- package/dist/{src/components → components}/Copy.d.ts +0 -0
- package/dist/{src/components → components}/Copy.js +0 -0
- package/dist/{src/components → components}/CssReset.d.ts +0 -0
- package/dist/{src/components → components}/CssReset.js +0 -0
- package/dist/{src/components → components}/Filters/BaseFilter.d.ts +0 -0
- package/dist/{src/components → components}/Filters/BaseFilter.js +0 -0
- package/dist/{src/components → components}/Filters/BooleanFilter.d.ts +0 -0
- package/dist/{src/components → components}/Filters/BooleanFilter.js +0 -0
- package/dist/{src/components → components}/Filters/DateFilter.d.ts +0 -0
- package/dist/{src/components → components}/Filters/DateFilter.js +0 -0
- package/dist/{src/components → components}/Filters/FilterModal.d.ts +0 -0
- package/dist/{src/components → components}/Filters/FilterModal.js +0 -0
- package/dist/{src/components → components}/Filters/Filters.d.ts +0 -0
- package/dist/{src/components → components}/Filters/Filters.js +0 -0
- package/dist/{src/components → components}/Filters/MultiFilter.d.ts +0 -0
- package/dist/{src/components → components}/Filters/MultiFilter.js +0 -0
- package/dist/{src/components → components}/Filters/SingleFilter.d.ts +0 -0
- package/dist/{src/components → components}/Filters/SingleFilter.js +0 -0
- package/dist/{src/components → components}/Filters/ToggleFilter.d.ts +0 -0
- package/dist/{src/components → components}/Filters/ToggleFilter.js +0 -0
- package/dist/{src/components → components}/Filters/index.d.ts +0 -0
- package/dist/{src/components → components}/Filters/index.js +0 -0
- package/dist/{src/components → components}/Filters/testDomain.d.ts +0 -0
- package/dist/{src/components → components}/Filters/testDomain.js +0 -0
- package/dist/{src/components → components}/Filters/types.d.ts +0 -0
- package/dist/{src/components → components}/Filters/types.js +0 -0
- package/dist/{src/components → components}/Filters/utils.d.ts +0 -0
- package/dist/{src/components → components}/Filters/utils.js +0 -0
- package/dist/{src/components → components}/HelperText.d.ts +0 -0
- package/dist/{src/components → components}/HelperText.js +0 -0
- package/dist/{src/components → components}/Icon.d.ts +0 -0
- package/dist/{src/components → components}/Icon.js +0 -0
- package/dist/{src/components → components}/IconButton.d.ts +0 -0
- package/dist/{src/components → components}/IconButton.js +0 -0
- package/dist/{src/components → components}/Label.d.ts +0 -0
- package/dist/{src/components → components}/Label.js +0 -0
- package/dist/{src/components → components}/Layout/FullBleed.d.ts +0 -0
- package/dist/{src/components → components}/Layout/FullBleed.js +0 -0
- package/dist/{src/components → components}/Layout/PreventBrowserScroll.d.ts +0 -0
- package/dist/{src/components → components}/Layout/PreventBrowserScroll.js +0 -0
- package/dist/{src/components → components}/Layout/ScrollableContent.d.ts +0 -0
- package/dist/{src/components → components}/Layout/ScrollableContent.js +0 -0
- package/dist/{src/components → components}/Layout/ScrollableParent.d.ts +0 -0
- package/dist/{src/components → components}/Layout/ScrollableParent.js +0 -0
- package/dist/{src/components → components}/Layout/index.d.ts +0 -0
- package/dist/{src/components → components}/Layout/index.js +0 -0
- package/dist/{src/components → components}/Loader.d.ts +0 -0
- package/dist/{src/components → components}/Loader.js +0 -0
- package/dist/{src/components → components}/Modal/Modal.d.ts +1 -2
- package/dist/{src/components → components}/Modal/Modal.js +2 -2
- package/dist/{src/components → components}/Modal/OpenModal.d.ts +0 -0
- package/dist/{src/components → components}/Modal/OpenModal.js +0 -0
- package/dist/{src/components → components}/Modal/TestModalContent.d.ts +0 -0
- package/dist/{src/components → components}/Modal/TestModalContent.js +0 -0
- package/dist/{src/components → components}/Modal/index.d.ts +0 -0
- package/dist/{src/components → components}/Modal/index.js +0 -0
- package/dist/{src/components → components}/Modal/useModal.d.ts +2 -2
- package/dist/{src/components → components}/Modal/useModal.js +0 -0
- package/dist/{src/components → components}/NavLink.d.ts +0 -0
- package/dist/{src/components → components}/NavLink.js +0 -0
- package/dist/{src/components → components}/PresentationContext.d.ts +0 -0
- package/dist/{src/components → components}/PresentationContext.js +0 -0
- package/dist/{src/components → components}/Snackbar/Snackbar.d.ts +0 -0
- package/dist/{src/components → components}/Snackbar/Snackbar.js +0 -0
- package/dist/{src/components → components}/Snackbar/SnackbarContext.d.ts +0 -0
- package/dist/{src/components → components}/Snackbar/SnackbarContext.js +0 -0
- package/dist/{src/components → components}/Snackbar/SnackbarNotice.d.ts +0 -0
- package/dist/{src/components → components}/Snackbar/SnackbarNotice.js +0 -0
- package/dist/{src/components → components}/Snackbar/index.d.ts +0 -0
- package/dist/{src/components → components}/Snackbar/index.js +0 -0
- package/dist/{src/components → components}/Snackbar/useSnackbar.d.ts +0 -0
- package/dist/{src/components → components}/Snackbar/useSnackbar.js +0 -0
- package/dist/{src/components → components}/Stepper.d.ts +0 -0
- package/dist/{src/components → components}/Stepper.js +0 -0
- package/dist/{src/components → components}/SuperDrawer/ConfirmCloseModal.d.ts +0 -0
- package/dist/{src/components → components}/SuperDrawer/ConfirmCloseModal.js +0 -0
- package/dist/{src/components → components}/SuperDrawer/SuperDrawer.d.ts +0 -0
- package/dist/{src/components → components}/SuperDrawer/SuperDrawer.js +0 -0
- package/dist/{src/components → components}/SuperDrawer/SuperDrawerContent.d.ts +0 -0
- package/dist/{src/components → components}/SuperDrawer/SuperDrawerContent.js +0 -0
- package/dist/{src/components → components}/SuperDrawer/index.d.ts +0 -0
- package/dist/{src/components → components}/SuperDrawer/index.js +0 -0
- package/dist/{src/components → components}/SuperDrawer/useSuperDrawer.d.ts +0 -0
- package/dist/{src/components → components}/SuperDrawer/useSuperDrawer.js +0 -0
- package/dist/{src/components → components}/Table/CollapseToggle.d.ts +0 -0
- package/dist/{src/components → components}/Table/CollapseToggle.js +0 -0
- package/dist/{src/components → components}/Table/GridRowLookup.d.ts +0 -0
- package/dist/{src/components → components}/Table/GridRowLookup.js +0 -0
- package/dist/{src/components → components}/Table/GridSortContext.d.ts +0 -0
- package/dist/{src/components → components}/Table/GridSortContext.js +0 -0
- package/dist/{src/components → components}/Table/GridTable.d.ts +2 -0
- package/dist/{src/components → components}/Table/GridTable.js +2 -2
- package/dist/{src/components → components}/Table/GridTableApi.d.ts +1 -1
- package/dist/{src/components → components}/Table/GridTableApi.js +2 -4
- package/dist/{src/components → components}/Table/RowState.d.ts +2 -1
- package/dist/{src/components → components}/Table/RowState.js +57 -4
- package/dist/{src/components → components}/Table/SelectToggle.d.ts +0 -0
- package/dist/{src/components → components}/Table/SelectToggle.js +0 -0
- package/dist/{src/components → components}/Table/SortHeader.d.ts +0 -0
- package/dist/{src/components → components}/Table/SortHeader.js +0 -0
- package/dist/{src/components → components}/Table/columnSizes.d.ts +0 -0
- package/dist/{src/components → components}/Table/columnSizes.js +0 -0
- package/dist/{src/components → components}/Table/columns.d.ts +0 -0
- package/dist/{src/components → components}/Table/columns.js +0 -0
- package/dist/{src/components → components}/Table/index.d.ts +0 -0
- package/dist/{src/components → components}/Table/index.js +0 -0
- package/dist/{src/components → components}/Table/nestedCards.d.ts +0 -0
- package/dist/{src/components → components}/Table/nestedCards.js +0 -0
- package/dist/{src/components → components}/Table/simpleHelpers.d.ts +0 -0
- package/dist/{src/components → components}/Table/simpleHelpers.js +0 -0
- package/dist/{src/components → components}/Table/sortRows.d.ts +0 -0
- package/dist/{src/components → components}/Table/sortRows.js +0 -0
- package/dist/{src/components → components}/Table/styles.d.ts +0 -0
- package/dist/{src/components → components}/Table/styles.js +0 -0
- package/dist/{src/components → components}/Table/useSortState.d.ts +0 -0
- package/dist/{src/components → components}/Table/useSortState.js +0 -0
- package/dist/{src/components → components}/Table/visitor.d.ts +0 -0
- package/dist/{src/components → components}/Table/visitor.js +0 -0
- package/dist/{src/components → components}/Tabs.d.ts +0 -0
- package/dist/{src/components → components}/Tabs.js +0 -0
- package/dist/{src/components → components}/Tag.d.ts +0 -0
- package/dist/{src/components → components}/Tag.js +0 -0
- package/dist/{src/components → components}/ToggleChip.d.ts +0 -0
- package/dist/{src/components → components}/ToggleChip.js +0 -0
- package/dist/{src/components → components}/ToggleChips.d.ts +0 -0
- package/dist/{src/components → components}/ToggleChips.js +0 -0
- package/dist/{src/components → components}/Tooltip.d.ts +0 -0
- package/dist/{src/components → components}/Tooltip.js +0 -0
- package/dist/{src/components → components}/index.d.ts +0 -0
- package/dist/{src/components → components}/index.js +0 -0
- package/dist/{src/components → components}/internal/CompoundField.d.ts +0 -0
- package/dist/{src/components → components}/internal/CompoundField.js +0 -0
- package/dist/{src/components → components}/internal/DatePicker.d.ts +0 -0
- package/dist/{src/components → components}/internal/DatePicker.js +0 -0
- package/dist/{src/components → components}/internal/DatePickerOverlay.d.ts +0 -0
- package/dist/{src/components → components}/internal/DatePickerOverlay.js +0 -0
- package/dist/{src/components → components}/internal/Menu.d.ts +1 -2
- package/dist/{src/components → components}/internal/Menu.js +0 -0
- package/dist/{src/components → components}/internal/MenuItem.d.ts +1 -2
- package/dist/{src/components → components}/internal/MenuItem.js +0 -0
- package/dist/{src/components → components}/internal/MenuSection.d.ts +1 -2
- package/dist/{src/components → components}/internal/MenuSection.js +0 -0
- package/dist/{src/components → components}/internal/OverlayTrigger.d.ts +0 -0
- package/dist/{src/components → components}/internal/OverlayTrigger.js +0 -0
- package/dist/{src/components → components}/internal/Popover.d.ts +0 -0
- package/dist/{src/components → components}/internal/Popover.js +0 -0
- package/dist/{src/components → components}/internal/index.d.ts +0 -0
- package/dist/{src/components → components}/internal/index.js +0 -0
- package/dist/{src/components → components}/testData.d.ts +0 -0
- package/dist/{src/components → components}/testData.js +0 -0
- package/dist/{src/forms → forms}/BoundCheckboxField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundCheckboxField.js +0 -0
- package/dist/{src/forms → forms}/BoundCheckboxGroupField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundCheckboxGroupField.js +0 -0
- package/dist/{src/forms → forms}/BoundChipSelectField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundChipSelectField.js +0 -0
- package/dist/{src/forms → forms}/BoundDateField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundDateField.js +0 -0
- package/dist/{src/forms → forms}/BoundMultiSelectField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundMultiSelectField.js +0 -0
- package/dist/{src/forms → forms}/BoundNumberField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundNumberField.js +0 -0
- package/dist/{src/forms → forms}/BoundRadioGroupField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundRadioGroupField.js +0 -0
- package/dist/{src/forms → forms}/BoundRichTextField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundRichTextField.js +0 -0
- package/dist/{src/forms → forms}/BoundSelectAndTextField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundSelectAndTextField.js +0 -0
- package/dist/{src/forms → forms}/BoundSelectField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundSelectField.js +0 -0
- package/dist/{src/forms → forms}/BoundSwitchField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundSwitchField.js +0 -0
- package/dist/{src/forms → forms}/BoundTextAreaField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundTextAreaField.js +0 -0
- package/dist/{src/forms → forms}/BoundTextField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundTextField.js +0 -0
- package/dist/{src/forms → forms}/BoundToggleChipGroupField.d.ts +0 -0
- package/dist/{src/forms → forms}/BoundToggleChipGroupField.js +0 -0
- package/dist/{src/forms → forms}/FormHeading.d.ts +0 -0
- package/dist/{src/forms → forms}/FormHeading.js +0 -0
- package/dist/{src/forms → forms}/FormLines.d.ts +0 -0
- package/dist/{src/forms → forms}/FormLines.js +0 -0
- package/dist/{src/forms → forms}/FormStateApp.d.ts +0 -0
- package/dist/{src/forms → forms}/FormStateApp.js +0 -0
- package/dist/{src/forms → forms}/StaticField.d.ts +0 -0
- package/dist/{src/forms → forms}/StaticField.js +0 -0
- package/dist/{src/forms → forms}/StaticLinkField.d.ts +0 -0
- package/dist/{src/forms → forms}/StaticLinkField.js +0 -0
- package/dist/{src/forms → forms}/StepperFormApp.d.ts +0 -0
- package/dist/{src/forms → forms}/StepperFormApp.js +0 -0
- package/dist/{src/forms → forms}/formStateDomain.d.ts +0 -0
- package/dist/{src/forms → forms}/formStateDomain.js +0 -0
- package/dist/{src/forms → forms}/index.d.ts +0 -0
- package/dist/{src/forms → forms}/index.js +0 -0
- package/dist/{src/forms → forms}/labelUtils.d.ts +0 -0
- package/dist/{src/forms → forms}/labelUtils.js +0 -0
- package/dist/{src/hooks → hooks}/index.d.ts +0 -0
- package/dist/{src/hooks → hooks}/index.js +0 -0
- package/dist/{src/hooks → hooks}/useComputed.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useComputed.js +0 -0
- package/dist/{src/hooks → hooks}/useGroupBy.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useGroupBy.js +0 -0
- package/dist/{src/hooks → hooks}/useHover.d.ts +2 -3
- package/dist/{src/hooks → hooks}/useHover.js +0 -0
- package/dist/{src/hooks → hooks}/usePersistedFilter.d.ts +0 -0
- package/dist/{src/hooks → hooks}/usePersistedFilter.js +0 -0
- package/dist/{src/hooks → hooks}/useQueryState.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useQueryState.js +0 -0
- package/dist/{src/hooks → hooks}/useRenderCount.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useRenderCount.js +0 -0
- package/dist/{src/hooks → hooks}/useSessionStorage.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useSessionStorage.js +0 -0
- package/dist/{src/index.d.ts → index.d.ts} +1 -1
- package/dist/{src/index.js → index.js} +0 -0
- package/dist/{src/inputs → inputs}/Checkbox.d.ts +0 -0
- package/dist/{src/inputs → inputs}/Checkbox.js +0 -0
- package/dist/{src/inputs → inputs}/CheckboxBase.d.ts +0 -0
- package/dist/{src/inputs → inputs}/CheckboxBase.js +0 -0
- package/dist/{src/inputs → inputs}/CheckboxGroup.d.ts +0 -0
- package/dist/{src/inputs → inputs}/CheckboxGroup.js +0 -0
- package/dist/{src/inputs → inputs}/ChipSelectField.d.ts +0 -0
- package/dist/{src/inputs → inputs}/ChipSelectField.js +0 -0
- package/dist/{src/inputs → inputs}/ChipTextField.d.ts +0 -0
- package/dist/{src/inputs → inputs}/ChipTextField.js +0 -0
- package/dist/{src/inputs → inputs}/DateField.d.ts +1 -2
- package/dist/{src/inputs → inputs}/DateField.js +0 -0
- package/dist/{src/inputs → inputs}/DateField.mock.d.ts +0 -0
- package/dist/{src/inputs → inputs}/DateField.mock.js +0 -0
- package/dist/{src/inputs → inputs}/ErrorMessage.d.ts +0 -0
- package/dist/{src/inputs → inputs}/ErrorMessage.js +0 -0
- package/dist/{src/inputs → inputs}/MultiSelectField.d.ts +0 -0
- package/dist/{src/inputs → inputs}/MultiSelectField.js +0 -0
- package/dist/{src/inputs → inputs}/MultiSelectField.mock.d.ts +0 -0
- package/dist/{src/inputs → inputs}/MultiSelectField.mock.js +0 -0
- package/dist/{src/inputs → inputs}/NumberField.d.ts +1 -2
- package/dist/{src/inputs → inputs}/NumberField.js +0 -0
- package/dist/{src/inputs → inputs}/RadioGroupField.d.ts +0 -0
- package/dist/{src/inputs → inputs}/RadioGroupField.js +0 -0
- package/dist/{src/inputs → inputs}/RichTextField.d.ts +0 -0
- package/dist/{src/inputs → inputs}/RichTextField.js +0 -0
- package/dist/{src/inputs → inputs}/RichTextField.mock.d.ts +0 -0
- package/dist/{src/inputs → inputs}/RichTextField.mock.js +0 -0
- package/dist/{src/inputs → inputs}/SelectField.d.ts +0 -0
- package/dist/{src/inputs → inputs}/SelectField.js +0 -0
- package/dist/{src/inputs → inputs}/SelectField.mock.d.ts +0 -0
- package/dist/{src/inputs → inputs}/SelectField.mock.js +0 -0
- package/dist/{src/inputs → inputs}/Switch.d.ts +0 -0
- package/dist/{src/inputs → inputs}/Switch.js +0 -0
- package/dist/{src/inputs → inputs}/SwitchGroup.d.ts +0 -0
- package/dist/{src/inputs → inputs}/SwitchGroup.js +0 -0
- package/dist/{src/inputs → inputs}/TextAreaField.d.ts +1 -2
- package/dist/{src/inputs → inputs}/TextAreaField.js +0 -0
- package/dist/{src/inputs → inputs}/TextField.d.ts +2 -3
- package/dist/{src/inputs → inputs}/TextField.js +0 -0
- package/dist/{src/inputs → inputs}/TextFieldBase.d.ts +0 -0
- package/dist/{src/inputs → inputs}/TextFieldBase.js +0 -0
- package/dist/{src/inputs → inputs}/ToggleChipGroup.d.ts +0 -0
- package/dist/{src/inputs → inputs}/ToggleChipGroup.js +0 -0
- package/dist/{src/inputs → inputs}/Value.d.ts +0 -0
- package/dist/{src/inputs → inputs}/Value.js +0 -0
- package/dist/{src/inputs → inputs}/index.d.ts +0 -0
- package/dist/{src/inputs → inputs}/index.js +0 -0
- package/dist/{src/inputs → inputs}/internal/ListBox.d.ts +0 -0
- package/dist/{src/inputs → inputs}/internal/ListBox.js +0 -0
- package/dist/{src/inputs → inputs}/internal/ListBoxChip.d.ts +0 -0
- package/dist/{src/inputs → inputs}/internal/ListBoxChip.js +0 -0
- package/dist/{src/inputs → inputs}/internal/ListBoxSection.d.ts +0 -0
- package/dist/{src/inputs → inputs}/internal/ListBoxSection.js +0 -0
- package/dist/{src/inputs → inputs}/internal/ListBoxToggleChip.d.ts +0 -0
- package/dist/{src/inputs → inputs}/internal/ListBoxToggleChip.js +0 -0
- package/dist/{src/inputs → inputs}/internal/LoadingDots.d.ts +0 -0
- package/dist/{src/inputs → inputs}/internal/LoadingDots.js +0 -0
- package/dist/{src/inputs → inputs}/internal/Option.d.ts +0 -0
- package/dist/{src/inputs → inputs}/internal/Option.js +0 -0
- package/dist/{src/inputs → inputs}/internal/SelectFieldBase.d.ts +0 -0
- package/dist/{src/inputs → inputs}/internal/SelectFieldBase.js +0 -0
- package/dist/{src/inputs → inputs}/internal/SelectFieldInput.d.ts +1 -2
- package/dist/{src/inputs → inputs}/internal/SelectFieldInput.js +0 -0
- package/dist/{src/inputs → inputs}/internal/VirtualizedOptions.d.ts +0 -0
- package/dist/{src/inputs → inputs}/internal/VirtualizedOptions.js +0 -0
- package/dist/{src/inputs → inputs}/internal/constants.d.ts +0 -0
- package/dist/{src/inputs → inputs}/internal/constants.js +0 -0
- package/dist/{src/interfaces.d.ts → interfaces.d.ts} +3 -4
- package/dist/{src/interfaces.js → interfaces.js} +0 -0
- package/dist/{src/types.d.ts → types.d.ts} +0 -1
- package/dist/{src/types.js → types.js} +0 -0
- package/dist/{src/utils → utils}/defaultLabel.d.ts +0 -0
- package/dist/{src/utils → utils}/defaultLabel.js +0 -0
- package/dist/{src/utils → utils}/defaultTestId.d.ts +0 -0
- package/dist/{src/utils → utils}/defaultTestId.js +0 -0
- package/dist/{src/utils → utils}/getInteractiveElement.d.ts +0 -0
- package/dist/{src/utils → utils}/getInteractiveElement.js +0 -0
- package/dist/{src/utils → utils}/index.d.ts +0 -0
- package/dist/{src/utils → utils}/index.js +0 -0
- package/dist/{src/utils → utils}/objectId.d.ts +0 -0
- package/dist/{src/utils → utils}/objectId.js +0 -0
- package/dist/{src/utils → utils}/options.d.ts +0 -0
- package/dist/{src/utils → utils}/options.js +0 -0
- package/dist/{src/utils → utils}/rtl.d.ts +0 -0
- package/dist/{src/utils → utils}/rtl.js +0 -0
- package/dist/{src/utils → utils}/sb.d.ts +0 -0
- package/dist/{src/utils → utils}/sb.js +0 -0
- package/dist/{src/utils → utils}/shallowEqual.d.ts +0 -0
- package/dist/{src/utils → utils}/shallowEqual.js +0 -0
- package/dist/{src/utils → utils}/useTestIds.d.ts +0 -0
- package/dist/{src/utils → utils}/useTestIds.js +0 -0
- package/package.json +1 -1
- package/dist/src/setupTests.d.ts +0 -2
- package/dist/src/setupTests.js +0 -34
- package/dist/truss-palette.d.ts +0 -64
- package/dist/truss-palette.js +0 -70
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IconProps } from "./Icon";
|
|
2
|
-
import { Callback } from "../types";
|
|
3
2
|
export interface ButtonGroupProps {
|
|
4
3
|
buttons: ButtonGroupButton[];
|
|
5
4
|
/** Disables all buttons in ButtonGroup */
|
|
@@ -9,7 +8,7 @@ export interface ButtonGroupProps {
|
|
|
9
8
|
export declare type ButtonGroupButton = {
|
|
10
9
|
icon?: IconProps["icon"];
|
|
11
10
|
text?: string;
|
|
12
|
-
onClick?:
|
|
11
|
+
onClick?: VoidFunction;
|
|
13
12
|
/** Disables the button. Note we don't support the `disabled: ReactNode`/tooltip for now. */
|
|
14
13
|
disabled?: boolean;
|
|
15
14
|
/** Indicates the active/selected button, as in a tab or toggle. */
|
|
File without changes
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IconProps } from "./Icon";
|
|
2
2
|
import { OverlayTriggerProps } from "./internal/OverlayTrigger";
|
|
3
|
-
import { Callback } from "../types";
|
|
4
3
|
interface ButtonMenuProps extends Pick<OverlayTriggerProps, "trigger" | "placement" | "disabled" | "tooltip"> {
|
|
5
4
|
items: MenuItem[];
|
|
6
5
|
persistentItems?: MenuItem[];
|
|
@@ -9,7 +8,7 @@ interface ButtonMenuProps extends Pick<OverlayTriggerProps, "trigger" | "placeme
|
|
|
9
8
|
export declare function ButtonMenu(props: ButtonMenuProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
9
|
declare type MenuItemBase = {
|
|
11
10
|
label: string;
|
|
12
|
-
onClick: string |
|
|
11
|
+
onClick: string | VoidFunction;
|
|
13
12
|
disabled?: boolean;
|
|
14
13
|
};
|
|
15
14
|
export declare type IconMenuItemType = MenuItemBase & {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MutableRefObject, ReactNode } from "react";
|
|
2
2
|
import { Only, Xss } from "../../Css";
|
|
3
|
-
import { Callback } from "../../types";
|
|
4
3
|
export declare type ModalSize = "sm" | "md" | "lg" | "xl";
|
|
5
4
|
export interface ModalProps {
|
|
6
5
|
/**
|
|
@@ -18,7 +17,7 @@ export interface ModalProps {
|
|
|
18
17
|
/** Force scrolling i.e. to avoid content jumping left/right as scroll bar goes away/comes back. */
|
|
19
18
|
forceScrolling?: boolean;
|
|
20
19
|
/** Adds a callback that is called _after_ close has definitely happened. */
|
|
21
|
-
onClose?:
|
|
20
|
+
onClose?: VoidFunction;
|
|
22
21
|
/** Imperative API for interacting with the Modal */
|
|
23
22
|
api?: MutableRefObject<ModalApi | undefined>;
|
|
24
23
|
/** Adds a border for the header. */
|
|
@@ -31,8 +31,8 @@ function Modal(props) {
|
|
|
31
31
|
onClose: closeModal,
|
|
32
32
|
isDismissable: true,
|
|
33
33
|
shouldCloseOnInteractOutside: (el) => {
|
|
34
|
-
// Do not close the Modal if the user is interacting with the Tribute mentions dropdown (via RichTextField).
|
|
35
|
-
return !el.closest(".tribute-container");
|
|
34
|
+
// Do not close the Modal if the user is interacting with the Tribute mentions dropdown (via RichTextField) or with another 3rd party dialog (such as a lightbox) on top of it.
|
|
35
|
+
return !(el.closest(".tribute-container") || el.closest("[role='dialog']"));
|
|
36
36
|
},
|
|
37
37
|
}, ref);
|
|
38
38
|
const { modalProps } = (0, react_aria_1.useModal)();
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CheckFn } from "../../types";
|
|
2
2
|
import { ModalProps } from "./Modal";
|
|
3
3
|
export interface UseModalHook {
|
|
4
4
|
openModal: (props: ModalProps) => void;
|
|
5
|
-
closeModal:
|
|
5
|
+
closeModal: VoidFunction;
|
|
6
6
|
addCanClose: (canClose: CheckFn) => void;
|
|
7
7
|
setSize: (size: ModalProps["size"]) => void;
|
|
8
8
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -331,6 +331,8 @@ export declare type GridDataRow<R extends Kinded> = {
|
|
|
331
331
|
/** Whether to pin this sort to the first/last of its parent's children. */
|
|
332
332
|
pin?: "first" | "last";
|
|
333
333
|
data: unknown;
|
|
334
|
+
/** Whether to have the row collapsed (children not visible) on initial load. This will be ignore in subsequent re-renders of the table */
|
|
335
|
+
initCollapsed?: boolean;
|
|
334
336
|
} & IfAny<R, {}, DiscriminateUnion<R, "kind", R["kind"]>>;
|
|
335
337
|
declare type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
336
338
|
/** Return the content for a given column def applied to a given row. */
|
|
@@ -97,13 +97,13 @@ function GridTable(props) {
|
|
|
97
97
|
const api = (0, react_1.useMemo)(() => {
|
|
98
98
|
var _a;
|
|
99
99
|
const api = (_a = props.api) !== null && _a !== void 0 ? _a : new GridTableApi_1.GridTableApiImpl();
|
|
100
|
-
api.init(persistCollapse, virtuosoRef);
|
|
100
|
+
api.init(persistCollapse, virtuosoRef, rows);
|
|
101
101
|
api.setActiveRowId(activeRowId);
|
|
102
102
|
return api;
|
|
103
103
|
}, [props.api]);
|
|
104
104
|
const style = resolveStyles(maybeStyle);
|
|
105
105
|
const { rowState } = api;
|
|
106
|
-
rowState.rows
|
|
106
|
+
rowState.setRows(rows);
|
|
107
107
|
(0, react_1.useEffect)(() => {
|
|
108
108
|
rowState.activeRowId = activeRowId;
|
|
109
109
|
}, [rowState, activeRowId]);
|
|
@@ -37,7 +37,7 @@ export declare class GridTableApiImpl<R extends Kinded> implements GridTableApi<
|
|
|
37
37
|
readonly rowState: RowState;
|
|
38
38
|
virtuosoRef: MutableRefObject<VirtuosoHandle | null>;
|
|
39
39
|
/** Called once by the GridTable when it takes ownership of this api instance. */
|
|
40
|
-
init(persistCollapse: string | undefined, virtuosoRef: MutableRefObject<VirtuosoHandle | null>): void;
|
|
40
|
+
init(persistCollapse: string | undefined, virtuosoRef: MutableRefObject<VirtuosoHandle | null>, rows: GridDataRow<R>[]): void;
|
|
41
41
|
scrollToIndex(index: number): void;
|
|
42
42
|
getSelectedRowIds(kind?: string): string[];
|
|
43
43
|
getSelectedRows(kind?: string): any;
|
|
@@ -31,10 +31,8 @@ class GridTableApiImpl {
|
|
|
31
31
|
this.virtuosoRef = { current: null };
|
|
32
32
|
}
|
|
33
33
|
/** Called once by the GridTable when it takes ownership of this api instance. */
|
|
34
|
-
init(persistCollapse, virtuosoRef) {
|
|
35
|
-
|
|
36
|
-
this.rowState.loadPersistedCollapse(persistCollapse);
|
|
37
|
-
}
|
|
34
|
+
init(persistCollapse, virtuosoRef, rows) {
|
|
35
|
+
this.rowState.loadCollapse(persistCollapse, rows);
|
|
38
36
|
this.virtuosoRef = virtuosoRef;
|
|
39
37
|
}
|
|
40
38
|
scrollToIndex(index) {
|
|
@@ -27,7 +27,8 @@ export declare class RowState {
|
|
|
27
27
|
* Creates the `RowState` for a given `GridTable`.
|
|
28
28
|
*/
|
|
29
29
|
constructor();
|
|
30
|
-
|
|
30
|
+
loadCollapse(persistCollapse: string | undefined, rows: GridDataRow<any>[]): void;
|
|
31
|
+
setRows(rows: GridDataRow<any>[]): void;
|
|
31
32
|
setVisibleRows(rowIds: string[]): void;
|
|
32
33
|
get selectedIds(): string[];
|
|
33
34
|
getSelected(id: string): SelectedState;
|
|
@@ -53,9 +53,47 @@ class RowState {
|
|
|
53
53
|
this.selectedRows.merge(map);
|
|
54
54
|
}, { equals: mobx_1.comparer.shallow });
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
loadCollapse(persistCollapse, rows) {
|
|
57
57
|
this.persistCollapse = persistCollapse;
|
|
58
|
-
|
|
58
|
+
const sessionStorageIds = persistCollapse ? sessionStorage.getItem(persistCollapse) : null;
|
|
59
|
+
// Initialize with our collapsed rows based on what is in sessionStorage. Otherwise check if any rows have been defined as collapsed
|
|
60
|
+
const collapsedGridRowIds = sessionStorageIds ? JSON.parse(sessionStorageIds) : getCollapsedIdsFromRows(rows);
|
|
61
|
+
// If we have some initial rows to collapse, then set the internal prop
|
|
62
|
+
if (collapsedGridRowIds.length > 0) {
|
|
63
|
+
this.collapsedRows.replace(collapsedGridRowIds);
|
|
64
|
+
// If `persistCollapse` is set, but sessionStorageIds was not defined, then add them now.
|
|
65
|
+
if (this.persistCollapse && !sessionStorageIds) {
|
|
66
|
+
sessionStorage.setItem(this.persistCollapse, JSON.stringify(collapsedGridRowIds));
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
// Updates the list of rows and regenerates the collapsedRows property if needed.
|
|
71
|
+
setRows(rows) {
|
|
72
|
+
// If the set of rows are different, and this is the first time adding "data" rows (non "totals" or "header" rows), then collapsedRows may need to be updated.
|
|
73
|
+
if (rows !== this.rows && this.rows.some((r) => r.kind !== "totals" && r.kind !== "header")) {
|
|
74
|
+
const currentCollapsedIds = this.collapsedIds;
|
|
75
|
+
// Create a list of the (maybe) new rows that should be initially collapsed
|
|
76
|
+
const maybeNewCollapsedRows = flattenRows(rows).filter((r) => r.initCollapsed);
|
|
77
|
+
// If the list of collapsed rows are different, then determine which are net-new rows and should be added to the newCollapsedIds array
|
|
78
|
+
if (currentCollapsedIds.length !== maybeNewCollapsedRows.length ||
|
|
79
|
+
!currentCollapsedIds.every((id) => maybeNewCollapsedRows.some((r) => r.id === id))) {
|
|
80
|
+
// Flatten out the existing rows to make checking for new rows easier
|
|
81
|
+
const flattenedExistingIds = flattenRows(this.rows).map((r) => r.id);
|
|
82
|
+
const newCollapsedIds = maybeNewCollapsedRows
|
|
83
|
+
.filter((maybeNewRow) => !flattenedExistingIds.includes(maybeNewRow.id))
|
|
84
|
+
.map((row) => row.id);
|
|
85
|
+
// If there are new rows that should be collapsed then update the collapsedRows arrays
|
|
86
|
+
if (newCollapsedIds.length > 0) {
|
|
87
|
+
this.collapsedRows.replace(currentCollapsedIds.concat(newCollapsedIds));
|
|
88
|
+
// Also update our persistCollapse if set
|
|
89
|
+
if (this.persistCollapse) {
|
|
90
|
+
sessionStorage.setItem(this.persistCollapse, JSON.stringify(currentCollapsedIds.concat(newCollapsedIds)));
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
// Finally replace our existing list of rows
|
|
96
|
+
this.rows = rows;
|
|
59
97
|
}
|
|
60
98
|
setVisibleRows(rowIds) {
|
|
61
99
|
// ObservableSet doesn't seem to do a `diff` inside `replace` before firing
|
|
@@ -177,7 +215,7 @@ class RowState {
|
|
|
177
215
|
}
|
|
178
216
|
this.collapsedRows.replace(collapsedIds);
|
|
179
217
|
if (this.persistCollapse) {
|
|
180
|
-
|
|
218
|
+
sessionStorage.setItem(this.persistCollapse, JSON.stringify(collapsedIds));
|
|
181
219
|
}
|
|
182
220
|
}
|
|
183
221
|
getVisibleChildrenStates(children, map) {
|
|
@@ -208,7 +246,7 @@ exports.RowStateContext = react_1.default.createContext({
|
|
|
208
246
|
});
|
|
209
247
|
// Get the rows that are already in the toggled state, so we can keep them toggled
|
|
210
248
|
function readLocalCollapseState(persistCollapse) {
|
|
211
|
-
const collapsedGridRowIds =
|
|
249
|
+
const collapsedGridRowIds = sessionStorage.getItem(persistCollapse);
|
|
212
250
|
return collapsedGridRowIds ? JSON.parse(collapsedGridRowIds) : [];
|
|
213
251
|
}
|
|
214
252
|
/** Finds a row by id, and returns it + any parents. */
|
|
@@ -232,3 +270,18 @@ function deriveParentSelected(children) {
|
|
|
232
270
|
const allUnchecked = children.every((child) => child === "unchecked");
|
|
233
271
|
return children.length === 0 ? "unchecked" : allChecked ? "checked" : allUnchecked ? "unchecked" : "partial";
|
|
234
272
|
}
|
|
273
|
+
function getCollapsedIdsFromRows(rows) {
|
|
274
|
+
return rows.reduce((acc, r) => {
|
|
275
|
+
if (r.initCollapsed) {
|
|
276
|
+
acc.push(r.id);
|
|
277
|
+
}
|
|
278
|
+
if (r.children) {
|
|
279
|
+
acc.push(...getCollapsedIdsFromRows(r.children));
|
|
280
|
+
}
|
|
281
|
+
return acc;
|
|
282
|
+
}, []);
|
|
283
|
+
}
|
|
284
|
+
function flattenRows(rows) {
|
|
285
|
+
const childRows = rows.flatMap((r) => (r.children ? flattenRows(r.children) : []));
|
|
286
|
+
return [...rows, ...childRows];
|
|
287
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
2
2
|
import { MenuItem } from "..";
|
|
3
|
-
import { Callback } from "../../types";
|
|
4
3
|
interface MenuProps<T> {
|
|
5
4
|
ariaMenuProps: HTMLAttributes<HTMLElement>;
|
|
6
|
-
onClose:
|
|
5
|
+
onClose: VoidFunction;
|
|
7
6
|
items: MenuItem[];
|
|
8
7
|
persistentItems?: MenuItem[];
|
|
9
8
|
}
|