@cube-dev/ui-kit 0.224.1 → 0.225.0
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 +13 -19
- package/dist/CHANGELOG.md +28 -0
- package/dist/README.md +13 -19
- package/dist/components/Action/Action.d.ts +19 -0
- package/dist/components/Action/Action.js +51 -0
- package/dist/components/Action/Action.js.map +1 -0
- package/dist/components/ActiveZone/ActiveZone.d.ts +13 -0
- package/dist/components/ActiveZone/ActiveZone.js +105 -0
- package/dist/components/ActiveZone/ActiveZone.js.map +1 -0
- package/dist/components/Alert/Alert.d.ts +6 -0
- package/dist/components/Alert/Alert.js +79 -0
- package/dist/components/Alert/Alert.js.map +1 -0
- package/dist/components/Alert/types.d.ts +43 -0
- package/dist/components/Alert/use-alert.js +71 -0
- package/dist/components/Alert/use-alert.js.map +1 -0
- package/dist/components/AlertDialog/AlertDialog.d.ts +30 -0
- package/dist/components/AlertDialog/AlertDialog.js +146 -0
- package/dist/components/AlertDialog/AlertDialog.js.map +1 -0
- package/dist/components/AlertDialog/AlertDialogApiProvider.d.ts +75 -0
- package/dist/components/AlertDialog/AlertDialogApiProvider.js +292 -0
- package/dist/components/AlertDialog/AlertDialogApiProvider.js.map +1 -0
- package/dist/components/AlertDialog/AlertDialogZone.js +183 -0
- package/dist/components/AlertDialog/AlertDialogZone.js.map +1 -0
- package/dist/components/AlertDialog/types.d.ts +46 -0
- package/dist/components/Avatar/Avatar.d.ts +11 -0
- package/dist/components/Avatar/Avatar.js +75 -0
- package/dist/components/Avatar/Avatar.js.map +1 -0
- package/dist/components/Badge/Badge.d.ts +12 -0
- package/dist/components/Badge/Badge.js +97 -0
- package/dist/components/Badge/Badge.js.map +1 -0
- package/dist/components/Banner/Banner.d.ts +46 -0
- package/dist/components/Banner/Banner.js +155 -0
- package/dist/components/Banner/Banner.js.map +1 -0
- package/dist/components/Block/Block.d.ts +7 -0
- package/dist/components/Block/Block.js +41 -0
- package/dist/components/Block/Block.js.map +1 -0
- package/dist/components/Button/AutoCollapseObserver.js +215 -0
- package/dist/components/Button/AutoCollapseObserver.js.map +1 -0
- package/dist/components/Button/Button.d.ts +95 -0
- package/dist/components/Button/Button.js +449 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Button/index.d.ts +18 -0
- package/dist/components/Button/index.js +13 -0
- package/dist/components/Button/index.js.map +1 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +6 -0
- package/dist/components/ButtonGroup/ButtonGroup.js +31 -0
- package/dist/components/ButtonGroup/ButtonGroup.js.map +1 -0
- package/dist/components/ButtonSplit/ButtonSplit.d.ts +49 -0
- package/dist/components/ButtonSplit/ButtonSplit.js +195 -0
- package/dist/components/ButtonSplit/ButtonSplit.js.map +1 -0
- package/dist/components/ButtonSplit/ButtonSplitContext.d.ts +15 -0
- package/dist/components/ButtonSplit/ButtonSplitContext.js +11 -0
- package/dist/components/ButtonSplit/ButtonSplitContext.js.map +1 -0
- package/dist/components/ButtonSplit/index.d.ts +4 -0
- package/dist/components/Calendar/Calendar.js +100 -0
- package/dist/components/Calendar/Calendar.js.map +1 -0
- package/dist/components/Calendar/CalendarCell.js +98 -0
- package/dist/components/Calendar/CalendarCell.js.map +1 -0
- package/dist/components/Calendar/CalendarGrid.js +125 -0
- package/dist/components/Calendar/CalendarGrid.js.map +1 -0
- package/dist/components/Calendar/CalendarHeader.js +124 -0
- package/dist/components/Calendar/CalendarHeader.js.map +1 -0
- package/dist/components/Calendar/CalendarPanel.js +601 -0
- package/dist/components/Calendar/CalendarPanel.js.map +1 -0
- package/dist/components/Calendar/PeriodCalendar.js +483 -0
- package/dist/components/Calendar/PeriodCalendar.js.map +1 -0
- package/dist/components/Calendar/PeriodGrid.js +143 -0
- package/dist/components/Calendar/PeriodGrid.js.map +1 -0
- package/dist/components/Calendar/RangeCalendar.js +68 -0
- package/dist/components/Calendar/RangeCalendar.js.map +1 -0
- package/dist/components/Calendar/styled.js +63 -0
- package/dist/components/Calendar/styled.js.map +1 -0
- package/dist/components/Card/Card.d.ts +17 -0
- package/dist/components/Card/Card.js +83 -0
- package/dist/components/Card/Card.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +35 -0
- package/dist/components/Checkbox/Checkbox.js +239 -0
- package/dist/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/Checkbox/CheckboxGroup.d.ts +22 -0
- package/dist/components/Checkbox/CheckboxGroup.js +156 -0
- package/dist/components/Checkbox/CheckboxGroup.js.map +1 -0
- package/dist/components/Checkbox/CheckboxGroupContext.js +8 -0
- package/dist/components/Checkbox/CheckboxGroupContext.js.map +1 -0
- package/dist/components/CollectionItem/CollectionItem.d.ts +34 -0
- package/dist/components/CollectionItem/CollectionItem.js +104 -0
- package/dist/components/CollectionItem/CollectionItem.js.map +1 -0
- package/dist/components/ColorInput/ColorInput.d.ts +81 -0
- package/dist/components/ColorInput/ColorInput.js +427 -0
- package/dist/components/ColorInput/ColorInput.js.map +1 -0
- package/dist/components/ColorPanel/ColorPanel.js +340 -0
- package/dist/components/ColorPanel/ColorPanel.js.map +1 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts +83 -0
- package/dist/components/ColorPicker/ColorPicker.js +393 -0
- package/dist/components/ColorPicker/ColorPicker.js.map +1 -0
- package/dist/components/ColorSwatch/ColorSwatch.d.ts +26 -0
- package/dist/components/ColorSwatch/ColorSwatch.js +135 -0
- package/dist/components/ColorSwatch/ColorSwatch.js.map +1 -0
- package/dist/components/ColorSwatchGroup/ColorSwatchGroup.d.ts +48 -0
- package/dist/components/ColorSwatchGroup/ColorSwatchGroup.js +484 -0
- package/dist/components/ColorSwatchGroup/ColorSwatchGroup.js.map +1 -0
- package/dist/components/ComboBox/ComboBox.d.ts +176 -0
- package/dist/components/ComboBox/ComboBox.js +1399 -0
- package/dist/components/ComboBox/ComboBox.js.map +1 -0
- package/dist/components/ComboBox/combo-box-options.js +84 -0
- package/dist/components/ComboBox/combo-box-options.js.map +1 -0
- package/dist/components/CommandMenu/CommandMenu.d.ts +70 -0
- package/dist/components/CommandMenu/CommandMenu.js +550 -0
- package/dist/components/CommandMenu/CommandMenu.js.map +1 -0
- package/dist/components/CommandMenu/styled.js +102 -0
- package/dist/components/CommandMenu/styled.js.map +1 -0
- package/dist/components/CommandTextArea/CommandTextArea.d.ts +126 -0
- package/dist/components/CommandTextArea/CommandTextArea.js +411 -0
- package/dist/components/CommandTextArea/CommandTextArea.js.map +1 -0
- package/dist/components/CommandTextArea/caret-position.js +89 -0
- package/dist/components/CommandTextArea/caret-position.js.map +1 -0
- package/dist/components/CommandTextArea/use-caret-anchor.js +106 -0
- package/dist/components/CommandTextArea/use-caret-anchor.js.map +1 -0
- package/dist/components/Content/Content.d.ts +7 -0
- package/dist/components/Content/Content.js +58 -0
- package/dist/components/Content/Content.js.map +1 -0
- package/dist/components/CopyPasteBlock/CopyPasteBlock.d.ts +20 -0
- package/dist/components/CopyPasteBlock/CopyPasteBlock.js +178 -0
- package/dist/components/CopyPasteBlock/CopyPasteBlock.js.map +1 -0
- package/dist/components/CopySnippet/CopySnippet.d.ts +45 -0
- package/dist/components/CopySnippet/CopySnippet.js +368 -0
- package/dist/components/CopySnippet/CopySnippet.js.map +1 -0
- package/dist/components/CubeLogo/CubeLogo.d.ts +14 -0
- package/dist/components/CubeLogo/CubeLogo.js +206 -0
- package/dist/components/CubeLogo/CubeLogo.js.map +1 -0
- package/dist/components/DataTable/DataTable.d.ts +12 -0
- package/dist/components/DataTable/DataTable.js +458 -0
- package/dist/components/DataTable/DataTable.js.map +1 -0
- package/dist/components/DataTable/types.d.ts +218 -0
- package/dist/components/DatePicker/CalendarPopover.js +282 -0
- package/dist/components/DatePicker/CalendarPopover.js.map +1 -0
- package/dist/components/DatePicker/DateInput.d.ts +25 -0
- package/dist/components/DatePicker/DateInput.js +79 -0
- package/dist/components/DatePicker/DateInput.js.map +1 -0
- package/dist/components/DatePicker/DateInputBase.js +213 -0
- package/dist/components/DatePicker/DateInputBase.js.map +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +38 -0
- package/dist/components/DatePicker/DatePicker.js +156 -0
- package/dist/components/DatePicker/DatePicker.js.map +1 -0
- package/dist/components/DatePicker/DatePickerButton.js +72 -0
- package/dist/components/DatePicker/DatePickerButton.js.map +1 -0
- package/dist/components/DatePicker/DatePickerElement.js +18 -0
- package/dist/components/DatePicker/DatePickerElement.js.map +1 -0
- package/dist/components/DatePicker/DatePickerInput.js +53 -0
- package/dist/components/DatePicker/DatePickerInput.js.map +1 -0
- package/dist/components/DatePicker/DatePickerSegment.js +165 -0
- package/dist/components/DatePicker/DatePickerSegment.js.map +1 -0
- package/dist/components/DatePicker/DateRangePicker.d.ts +52 -0
- package/dist/components/DatePicker/DateRangePicker.js +268 -0
- package/dist/components/DatePicker/DateRangePicker.js.map +1 -0
- package/dist/components/DatePicker/DateRangeSeparatedPicker.d.ts +43 -0
- package/dist/components/DatePicker/DateRangeSeparatedPicker.js +425 -0
- package/dist/components/DatePicker/DateRangeSeparatedPicker.js.map +1 -0
- package/dist/components/DatePicker/MonthPicker.d.ts +9 -0
- package/dist/components/DatePicker/MonthPicker.js +27 -0
- package/dist/components/DatePicker/MonthPicker.js.map +1 -0
- package/dist/components/DatePicker/PeriodPicker.d.ts +44 -0
- package/dist/components/DatePicker/PeriodPicker.js +320 -0
- package/dist/components/DatePicker/PeriodPicker.js.map +1 -0
- package/dist/components/DatePicker/QuarterPicker.d.ts +9 -0
- package/dist/components/DatePicker/QuarterPicker.js +27 -0
- package/dist/components/DatePicker/QuarterPicker.js.map +1 -0
- package/dist/components/DatePicker/TimeInput.d.ts +41 -0
- package/dist/components/DatePicker/TimeInput.js +81 -0
- package/dist/components/DatePicker/TimeInput.js.map +1 -0
- package/dist/components/DatePicker/WeekPicker.d.ts +9 -0
- package/dist/components/DatePicker/WeekPicker.js +27 -0
- package/dist/components/DatePicker/WeekPicker.js.map +1 -0
- package/dist/components/DatePicker/YearPicker.d.ts +9 -0
- package/dist/components/DatePicker/YearPicker.js +27 -0
- package/dist/components/DatePicker/YearPicker.js.map +1 -0
- package/dist/components/DatePicker/index.d.ts +15 -0
- package/dist/components/DatePicker/parse-date.d.ts +12 -0
- package/dist/components/DatePicker/parse-date.js +34 -0
- package/dist/components/DatePicker/parse-date.js.map +1 -0
- package/dist/components/DatePicker/period.d.ts +33 -0
- package/dist/components/DatePicker/period.js +57 -0
- package/dist/components/DatePicker/period.js.map +1 -0
- package/dist/components/DatePicker/props.js +17 -0
- package/dist/components/DatePicker/props.js.map +1 -0
- package/dist/components/DatePicker/types.d.ts +33 -0
- package/dist/components/DatePicker/utils.js +55 -0
- package/dist/components/DatePicker/utils.js.map +1 -0
- package/dist/components/Dialog/Dialog.d.ts +46 -0
- package/dist/components/Dialog/Dialog.js +344 -0
- package/dist/components/Dialog/Dialog.js.map +1 -0
- package/dist/components/Dialog/DialogContainer.d.ts +42 -0
- package/dist/components/Dialog/DialogContainer.js +137 -0
- package/dist/components/Dialog/DialogContainer.js.map +1 -0
- package/dist/components/Dialog/DialogContext.js +23 -0
- package/dist/components/Dialog/DialogContext.js.map +1 -0
- package/dist/components/Dialog/DialogForm.d.ts +48 -0
- package/dist/components/Dialog/DialogForm.js +95 -0
- package/dist/components/Dialog/DialogForm.js.map +1 -0
- package/dist/components/Dialog/DialogTrigger.d.ts +76 -0
- package/dist/components/Dialog/DialogTrigger.js +494 -0
- package/dist/components/Dialog/DialogTrigger.js.map +1 -0
- package/dist/components/Dialog/ModernDialogForm.js +391 -0
- package/dist/components/Dialog/ModernDialogForm.js.map +1 -0
- package/dist/components/Dialog/default-button-text.js +30 -0
- package/dist/components/Dialog/default-button-text.js.map +1 -0
- package/dist/components/Dialog/use-content-overflow.js +67 -0
- package/dist/components/Dialog/use-content-overflow.js.map +1 -0
- package/dist/components/Dialog/use-dialog-container.d.ts +19 -0
- package/dist/components/Dialog/use-dialog-container.js +64 -0
- package/dist/components/Dialog/use-dialog-container.js.map +1 -0
- package/dist/components/Dialog/use-dialog-open-sync.js +82 -0
- package/dist/components/Dialog/use-dialog-open-sync.js.map +1 -0
- package/dist/components/Dialog/use-dismiss-confirmation.js +220 -0
- package/dist/components/Dialog/use-dismiss-confirmation.js.map +1 -0
- package/dist/components/Dialog/use-retained-dialog-focus.js +386 -0
- package/dist/components/Dialog/use-retained-dialog-focus.js.map +1 -0
- package/dist/components/Disclosure/Disclosure.d.ts +77 -0
- package/dist/components/Disclosure/Disclosure.js +593 -0
- package/dist/components/Disclosure/Disclosure.js.map +1 -0
- package/dist/components/DisplayTransition/DisplayTransition.d.ts +41 -0
- package/dist/components/DisplayTransition/DisplayTransition.js +259 -0
- package/dist/components/DisplayTransition/DisplayTransition.js.map +1 -0
- package/dist/components/Divider/Divider.d.ts +22 -0
- package/dist/components/Divider/Divider.js +159 -0
- package/dist/components/Divider/Divider.js.map +1 -0
- package/dist/components/DraggableCollection/DraggableCollection.js +323 -0
- package/dist/components/DraggableCollection/DraggableCollection.js.map +1 -0
- package/dist/components/FieldWrapper/FieldWrapper.d.ts +39 -0
- package/dist/components/FieldWrapper/FieldWrapper.js +459 -0
- package/dist/components/FieldWrapper/FieldWrapper.js.map +1 -0
- package/dist/components/FieldWrapper/field-description.js +101 -0
- package/dist/components/FieldWrapper/field-description.js.map +1 -0
- package/dist/components/FieldWrapper/types.d.ts +53 -0
- package/dist/components/FileInput/FileInput.d.ts +41 -0
- package/dist/components/FileInput/FileInput.js +423 -0
- package/dist/components/FileInput/FileInput.js.map +1 -0
- package/dist/components/FilterListBox/FilterListBox.d.ts +104 -0
- package/dist/components/FilterListBox/FilterListBox.js +521 -0
- package/dist/components/FilterListBox/FilterListBox.js.map +1 -0
- package/dist/components/FilterListBox/styled.js +66 -0
- package/dist/components/FilterListBox/styled.js.map +1 -0
- package/dist/components/FilterPicker/FilterPicker.d.ts +207 -0
- package/dist/components/FilterPicker/FilterPicker.js +545 -0
- package/dist/components/FilterPicker/FilterPicker.js.map +1 -0
- package/dist/components/FilterPicker/FilterTree.js +470 -0
- package/dist/components/FilterPicker/FilterTree.js.map +1 -0
- package/dist/components/Flex/Flex.d.ts +7 -0
- package/dist/components/Flex/Flex.js +44 -0
- package/dist/components/Flex/Flex.js.map +1 -0
- package/dist/components/Flow/Flow.d.ts +7 -0
- package/dist/components/Flow/Flow.js +45 -0
- package/dist/components/Flow/Flow.js.map +1 -0
- package/dist/components/Footer/Footer.d.ts +7 -0
- package/dist/components/Footer/Footer.js +52 -0
- package/dist/components/Footer/Footer.js.map +1 -0
- package/dist/components/Form/Field.d.ts +20 -0
- package/dist/components/Form/Field.js +154 -0
- package/dist/components/Form/Field.js.map +1 -0
- package/dist/components/Form/Form.d.ts +37 -0
- package/dist/components/Form/Form.js +185 -0
- package/dist/components/Form/Form.js.map +1 -0
- package/dist/components/Form/FormContext.d.ts +30 -0
- package/dist/components/Form/FormContext.js +79 -0
- package/dist/components/Form/FormContext.js.map +1 -0
- package/dist/components/Form/FormElement.js +49 -0
- package/dist/components/Form/FormElement.js.map +1 -0
- package/dist/components/Form/ModernFormRoot.d.ts +22 -0
- package/dist/components/Form/ModernFormRoot.js +354 -0
- package/dist/components/Form/ModernFormRoot.js.map +1 -0
- package/dist/components/Form/ResetButton.d.ts +13 -0
- package/dist/components/Form/ResetButton.js +74 -0
- package/dist/components/Form/ResetButton.js.map +1 -0
- package/dist/components/Form/SubmitButton.d.ts +15 -0
- package/dist/components/Form/SubmitButton.js +66 -0
- package/dist/components/Form/SubmitButton.js.map +1 -0
- package/dist/components/Form/SubmitError.d.ts +16 -0
- package/dist/components/Form/SubmitError.js +156 -0
- package/dist/components/Form/SubmitError.js.map +1 -0
- package/dist/components/Form/backend.d.ts +23 -0
- package/dist/components/Form/backend.js +30 -0
- package/dist/components/Form/backend.js.map +1 -0
- package/dist/components/Form/index.d.ts +41 -0
- package/dist/components/Form/index.js +30 -0
- package/dist/components/Form/index.js.map +1 -0
- package/dist/components/Form/modern/ModernActions.js +153 -0
- package/dist/components/Form/modern/ModernActions.js.map +1 -0
- package/dist/components/Form/modern/ModernControllerContext.d.ts +10 -0
- package/dist/components/Form/modern/ModernControllerContext.js +13 -0
- package/dist/components/Form/modern/ModernControllerContext.js.map +1 -0
- package/dist/components/Form/modern/controller.d.ts +32 -0
- package/dist/components/Form/modern/controller.js +58 -0
- package/dist/components/Form/modern/controller.js.map +1 -0
- package/dist/components/Form/modern/field-binding.js +58 -0
- package/dist/components/Form/modern/field-binding.js.map +1 -0
- package/dist/components/Form/modern/field.d.ts +29 -0
- package/dist/components/Form/modern/field.js +22 -0
- package/dist/components/Form/modern/field.js.map +1 -0
- package/dist/components/Form/modern/path-types.d.ts +15 -0
- package/dist/components/Form/modern/react.d.ts +23 -0
- package/dist/components/Form/modern/react.js +127 -0
- package/dist/components/Form/modern/react.js.map +1 -0
- package/dist/components/Form/modern/read-types.d.ts +10 -0
- package/dist/components/Form/modern/store.js +920 -0
- package/dist/components/Form/modern/store.js.map +1 -0
- package/dist/components/Form/modern/types.d.ts +194 -0
- package/dist/components/Form/modern/validation.d.ts +26 -0
- package/dist/components/Form/modern/validation.js +49 -0
- package/dist/components/Form/modern/validation.js.map +1 -0
- package/dist/components/Form/modern/values.d.ts +6 -0
- package/dist/components/Form/modern/values.js +166 -0
- package/dist/components/Form/modern/values.js.map +1 -0
- package/dist/components/Form/reset-unbound-controls.js +37 -0
- package/dist/components/Form/reset-unbound-controls.js.map +1 -0
- package/dist/components/Form/types.d.ts +21 -0
- package/dist/components/Form/use-field/types.d.ts +59 -0
- package/dist/components/Form/use-field/use-field-binding.js +270 -0
- package/dist/components/Form/use-field/use-field-binding.js.map +1 -0
- package/dist/components/Form/use-field/use-field-props.d.ts +63 -0
- package/dist/components/Form/use-field/use-field-props.js +189 -0
- package/dist/components/Form/use-field/use-field-props.js.map +1 -0
- package/dist/components/Form/use-field/use-field.d.ts +19 -0
- package/dist/components/Form/use-field/use-field.js +164 -0
- package/dist/components/Form/use-field/use-field.js.map +1 -0
- package/dist/components/Form/use-form.d.ts +84 -0
- package/dist/components/Form/use-form.js +344 -0
- package/dist/components/Form/use-form.js.map +1 -0
- package/dist/components/Form/validation.js +132 -0
- package/dist/components/Form/validation.js.map +1 -0
- package/dist/components/GlobalStyles/GlobalStyles.js +320 -0
- package/dist/components/GlobalStyles/GlobalStyles.js.map +1 -0
- package/dist/components/Grid/Grid.d.ts +7 -0
- package/dist/components/Grid/Grid.js +51 -0
- package/dist/components/Grid/Grid.js.map +1 -0
- package/dist/components/GridProvider/GridProvider.d.ts +17 -0
- package/dist/components/GridProvider/GridProvider.js +62 -0
- package/dist/components/GridProvider/GridProvider.js.map +1 -0
- package/dist/components/Header/Header.d.ts +7 -0
- package/dist/components/Header/Header.js +53 -0
- package/dist/components/Header/Header.js.map +1 -0
- package/dist/components/HiddenInput/HiddenInput.js +32 -0
- package/dist/components/HiddenInput/HiddenInput.js.map +1 -0
- package/dist/components/HotKeys/HotKeys.d.ts +15 -0
- package/dist/components/HotKeys/HotKeys.js +134 -0
- package/dist/components/HotKeys/HotKeys.js.map +1 -0
- package/dist/components/IconSwitch/IconSwitch.d.ts +24 -0
- package/dist/components/IconSwitch/IconSwitch.js +124 -0
- package/dist/components/IconSwitch/IconSwitch.js.map +1 -0
- package/dist/components/InfoBadge/InfoBadge.d.ts +49 -0
- package/dist/components/InfoBadge/InfoBadge.js +205 -0
- package/dist/components/InfoBadge/InfoBadge.js.map +1 -0
- package/dist/components/InlineInput/InlineInput.d.ts +120 -0
- package/dist/components/InlineInput/InlineInput.js +622 -0
- package/dist/components/InlineInput/InlineInput.js.map +1 -0
- package/dist/components/Input/Input.d.ts +18 -0
- package/dist/components/Input/Input.js +18 -0
- package/dist/components/Input/Input.js.map +1 -0
- package/dist/components/Item/Item.d.ts +214 -0
- package/dist/components/Item/Item.js +993 -0
- package/dist/components/Item/Item.js.map +1 -0
- package/dist/components/Item/ItemWithNativeLinks.js +309 -0
- package/dist/components/Item/ItemWithNativeLinks.js.map +1 -0
- package/dist/components/ItemAction/ItemAction.d.ts +24 -0
- package/dist/components/ItemAction/ItemAction.js +261 -0
- package/dist/components/ItemAction/ItemAction.js.map +1 -0
- package/dist/components/ItemActionsWrapper/ItemActionsWrapper.js +449 -0
- package/dist/components/ItemActionsWrapper/ItemActionsWrapper.js.map +1 -0
- package/dist/components/ItemBadge/ItemBadge.d.ts +20 -0
- package/dist/components/ItemBadge/ItemBadge.js +147 -0
- package/dist/components/ItemBadge/ItemBadge.js.map +1 -0
- package/dist/components/ItemButton/ItemButton.d.ts +31 -0
- package/dist/components/ItemButton/ItemButton.js +91 -0
- package/dist/components/ItemButton/ItemButton.js.map +1 -0
- package/dist/components/ItemCard/ItemCard.d.ts +18 -0
- package/dist/components/ItemCard/ItemCard.js +67 -0
- package/dist/components/ItemCard/ItemCard.js.map +1 -0
- package/dist/components/ItemTable/ItemTable.d.ts +25 -0
- package/dist/components/ItemTable/ItemTable.js +672 -0
- package/dist/components/ItemTable/ItemTable.js.map +1 -0
- package/dist/components/ItemTable/ItemTableBulkBar.d.ts +20 -0
- package/dist/components/ItemTable/ItemTableBulkBar.js +131 -0
- package/dist/components/ItemTable/ItemTableBulkBar.js.map +1 -0
- package/dist/components/ItemTable/ItemTableDragPreview.js +82 -0
- package/dist/components/ItemTable/ItemTableDragPreview.js.map +1 -0
- package/dist/components/ItemTable/ItemTableFooter.js +120 -0
- package/dist/components/ItemTable/ItemTableFooter.js.map +1 -0
- package/dist/components/ItemTable/ItemTableToolbar.d.ts +23 -0
- package/dist/components/ItemTable/ItemTableToolbar.js +157 -0
- package/dist/components/ItemTable/ItemTableToolbar.js.map +1 -0
- package/dist/components/ItemTable/item-table-sections.js +68 -0
- package/dist/components/ItemTable/item-table-sections.js.map +1 -0
- package/dist/components/ItemTable/types.d.ts +371 -0
- package/dist/components/ItemTable/use-item-table-column-widths.js +97 -0
- package/dist/components/ItemTable/use-item-table-column-widths.js.map +1 -0
- package/dist/components/ItemTable/use-item-table-drag-drop.js +143 -0
- package/dist/components/ItemTable/use-item-table-drag-drop.js.map +1 -0
- package/dist/components/ItemTable/use-item-table-pagination.js +142 -0
- package/dist/components/ItemTable/use-item-table-pagination.js.map +1 -0
- package/dist/components/ItemTable/use-item-table-selection.js +144 -0
- package/dist/components/ItemTable/use-item-table-selection.js.map +1 -0
- package/dist/components/ItemTable/use-item-table-sort.js +134 -0
- package/dist/components/ItemTable/use-item-table-sort.js.map +1 -0
- package/dist/components/ItemTable/use-item-table-tree-model.js +106 -0
- package/dist/components/ItemTable/use-item-table-tree-model.js.map +1 -0
- package/dist/components/Label/Label.d.ts +58 -0
- package/dist/components/Label/Label.js +240 -0
- package/dist/components/Label/Label.js.map +1 -0
- package/dist/components/Layout/GridLayout.d.ts +40 -0
- package/dist/components/Layout/GridLayout.js +77 -0
- package/dist/components/Layout/GridLayout.js.map +1 -0
- package/dist/components/Layout/Layout.d.ts +39 -0
- package/dist/components/Layout/Layout.js +291 -0
- package/dist/components/Layout/Layout.js.map +1 -0
- package/dist/components/Layout/LayoutBlock.d.ts +8 -0
- package/dist/components/Layout/LayoutBlock.js +55 -0
- package/dist/components/Layout/LayoutBlock.js.map +1 -0
- package/dist/components/Layout/LayoutCenter.d.ts +18 -0
- package/dist/components/Layout/LayoutCenter.js +87 -0
- package/dist/components/Layout/LayoutCenter.js.map +1 -0
- package/dist/components/Layout/LayoutContainer.d.ts +20 -0
- package/dist/components/Layout/LayoutContainer.js +92 -0
- package/dist/components/Layout/LayoutContainer.js.map +1 -0
- package/dist/components/Layout/LayoutContent.d.ts +21 -0
- package/dist/components/Layout/LayoutContent.js +211 -0
- package/dist/components/Layout/LayoutContent.js.map +1 -0
- package/dist/components/Layout/LayoutContext.d.ts +6 -0
- package/dist/components/Layout/LayoutContext.js +321 -0
- package/dist/components/Layout/LayoutContext.js.map +1 -0
- package/dist/components/Layout/LayoutFlex.d.ts +8 -0
- package/dist/components/Layout/LayoutFlex.js +59 -0
- package/dist/components/Layout/LayoutFlex.js.map +1 -0
- package/dist/components/Layout/LayoutFooter.d.ts +11 -0
- package/dist/components/Layout/LayoutFooter.js +94 -0
- package/dist/components/Layout/LayoutFooter.js.map +1 -0
- package/dist/components/Layout/LayoutGrid.d.ts +16 -0
- package/dist/components/Layout/LayoutGrid.js +74 -0
- package/dist/components/Layout/LayoutGrid.js.map +1 -0
- package/dist/components/Layout/LayoutHeader.d.ts +33 -0
- package/dist/components/Layout/LayoutHeader.js +340 -0
- package/dist/components/Layout/LayoutHeader.js.map +1 -0
- package/dist/components/Layout/LayoutPane.d.ts +40 -0
- package/dist/components/Layout/LayoutPane.js +699 -0
- package/dist/components/Layout/LayoutPane.js.map +1 -0
- package/dist/components/Layout/LayoutPanel.d.ts +91 -0
- package/dist/components/Layout/LayoutPanel.js +572 -0
- package/dist/components/Layout/LayoutPanel.js.map +1 -0
- package/dist/components/Layout/LayoutPanelHeader.d.ts +20 -0
- package/dist/components/Layout/LayoutPanelHeader.js +90 -0
- package/dist/components/Layout/LayoutPanelHeader.js.map +1 -0
- package/dist/components/Layout/LayoutPanelTransition.js +122 -0
- package/dist/components/Layout/LayoutPanelTransition.js.map +1 -0
- package/dist/components/Layout/LayoutResizeHandle.js +312 -0
- package/dist/components/Layout/LayoutResizeHandle.js.map +1 -0
- package/dist/components/Layout/LayoutToolbar.d.ts +8 -0
- package/dist/components/Layout/LayoutToolbar.js +64 -0
- package/dist/components/Layout/LayoutToolbar.js.map +1 -0
- package/dist/components/Layout/index.d.ts +36 -0
- package/dist/components/Layout/index.js +35 -0
- package/dist/components/Layout/index.js.map +1 -0
- package/dist/components/Layout/use-tiny-scrollbar.js +227 -0
- package/dist/components/Layout/use-tiny-scrollbar.js.map +1 -0
- package/dist/components/Layout/utils.js +48 -0
- package/dist/components/Layout/utils.js.map +1 -0
- package/dist/components/Link/Link.d.ts +6 -0
- package/dist/components/Link/Link.js +26 -0
- package/dist/components/Link/Link.js.map +1 -0
- package/dist/components/ListBox/DraggableListBox.js +36 -0
- package/dist/components/ListBox/DraggableListBox.js.map +1 -0
- package/dist/components/ListBox/ListBox.d.ts +194 -0
- package/dist/components/ListBox/ListBox.js +1393 -0
- package/dist/components/ListBox/ListBox.js.map +1 -0
- package/dist/components/ListBox/empty-row.js +12 -0
- package/dist/components/ListBox/empty-row.js.map +1 -0
- package/dist/components/ListBox/option-id.js +16 -0
- package/dist/components/ListBox/option-id.js.map +1 -0
- package/dist/components/ListBox/use-disabled-focus-reset.js +66 -0
- package/dist/components/ListBox/use-disabled-focus-reset.js.map +1 -0
- package/dist/components/ListBoxPopover/EmptyLabelStatus.js +40 -0
- package/dist/components/ListBoxPopover/EmptyLabelStatus.js.map +1 -0
- package/dist/components/ListBoxPopover/ListBoxPopover.js +349 -0
- package/dist/components/ListBoxPopover/ListBoxPopover.js.map +1 -0
- package/dist/components/ListBoxPopover/list-navigation.d.ts +22 -0
- package/dist/components/ListBoxPopover/list-navigation.js +115 -0
- package/dist/components/ListBoxPopover/list-navigation.js.map +1 -0
- package/dist/components/ListBoxPopover/use-composite-focus.d.ts +41 -0
- package/dist/components/ListBoxPopover/use-composite-focus.js +142 -0
- package/dist/components/ListBoxPopover/use-composite-focus.js.map +1 -0
- package/dist/components/ListBoxPopover/use-delayed-loading.js +44 -0
- package/dist/components/ListBoxPopover/use-delayed-loading.js.map +1 -0
- package/dist/components/LoadingAnimation/LoadingAnimation.d.ts +9 -0
- package/dist/components/LoadingAnimation/LoadingAnimation.js +293 -0
- package/dist/components/LoadingAnimation/LoadingAnimation.js.map +1 -0
- package/dist/components/Menu/Menu.d.ts +77 -0
- package/dist/components/Menu/Menu.js +205 -0
- package/dist/components/Menu/Menu.js.map +1 -0
- package/dist/components/Menu/MenuCollectionItem.d.ts +17 -0
- package/dist/components/Menu/MenuCollectionItem.js +38 -0
- package/dist/components/Menu/MenuCollectionItem.js.map +1 -0
- package/dist/components/Menu/MenuContext.d.ts +20 -0
- package/dist/components/Menu/MenuContext.js +11 -0
- package/dist/components/Menu/MenuContext.js.map +1 -0
- package/dist/components/Menu/MenuItem.d.ts +24 -0
- package/dist/components/Menu/MenuItem.js +451 -0
- package/dist/components/Menu/MenuItem.js.map +1 -0
- package/dist/components/Menu/MenuSection.d.ts +15 -0
- package/dist/components/Menu/MenuSection.js +97 -0
- package/dist/components/Menu/MenuSection.js.map +1 -0
- package/dist/components/Menu/MenuTrigger.d.ts +86 -0
- package/dist/components/Menu/MenuTrigger.js +359 -0
- package/dist/components/Menu/MenuTrigger.js.map +1 -0
- package/dist/components/Menu/SubMenuTrigger.d.ts +48 -0
- package/dist/components/Menu/SubMenuTrigger.js +243 -0
- package/dist/components/Menu/SubMenuTrigger.js.map +1 -0
- package/dist/components/Menu/SubmenuTriggerContext.js +8 -0
- package/dist/components/Menu/SubmenuTriggerContext.js.map +1 -0
- package/dist/components/Menu/index.d.ts +9 -0
- package/dist/components/Menu/styled.js +191 -0
- package/dist/components/Menu/styled.js.map +1 -0
- package/dist/components/Menu/touch-context-menu.js +145 -0
- package/dist/components/Menu/touch-context-menu.js.map +1 -0
- package/dist/components/Menu/use-anchored-menu.d.ts +43 -0
- package/dist/components/Menu/use-anchored-menu.js +107 -0
- package/dist/components/Menu/use-anchored-menu.js.map +1 -0
- package/dist/components/Menu/use-context-menu.d.ts +52 -0
- package/dist/components/Menu/use-context-menu.js +217 -0
- package/dist/components/Menu/use-context-menu.js.map +1 -0
- package/dist/components/Modal/Modal.js +248 -0
- package/dist/components/Modal/Modal.js.map +1 -0
- package/dist/components/Modal/ModalContainmentProvider.js +144 -0
- package/dist/components/Modal/ModalContainmentProvider.js.map +1 -0
- package/dist/components/Modal/OpenTransitionContext.js +11 -0
- package/dist/components/Modal/OpenTransitionContext.js.map +1 -0
- package/dist/components/Modal/Overlay.js +105 -0
- package/dist/components/Modal/Overlay.js.map +1 -0
- package/dist/components/Modal/Popover.js +200 -0
- package/dist/components/Modal/Popover.js.map +1 -0
- package/dist/components/Modal/Tray.js +232 -0
- package/dist/components/Modal/Tray.js.map +1 -0
- package/dist/components/Modal/Underlay.js +71 -0
- package/dist/components/Modal/Underlay.js.map +1 -0
- package/dist/components/Modal/types.d.ts +11 -0
- package/dist/components/NavTabs/NavTabs.d.ts +66 -0
- package/dist/components/NavTabs/NavTabs.js +369 -0
- package/dist/components/NavTabs/NavTabs.js.map +1 -0
- package/dist/components/NoDataIcon/NoDataIcon.d.ts +34 -0
- package/dist/components/NoDataIcon/NoDataIcon.js +55 -0
- package/dist/components/NoDataIcon/NoDataIcon.js.map +1 -0
- package/dist/components/Notifications/Notification.js +115 -0
- package/dist/components/Notifications/Notification.js.map +1 -0
- package/dist/components/Notifications/NotificationAction.d.ts +18 -0
- package/dist/components/Notifications/NotificationAction.js +112 -0
- package/dist/components/Notifications/NotificationAction.js.map +1 -0
- package/dist/components/Notifications/NotificationCard.d.ts +43 -0
- package/dist/components/Notifications/NotificationCard.js +241 -0
- package/dist/components/Notifications/NotificationCard.js.map +1 -0
- package/dist/components/Notifications/NotificationContext.d.ts +7 -0
- package/dist/components/Notifications/NotificationContext.js +33 -0
- package/dist/components/Notifications/NotificationContext.js.map +1 -0
- package/dist/components/Notifications/NotificationItem.d.ts +12 -0
- package/dist/components/Notifications/NotificationItem.js +86 -0
- package/dist/components/Notifications/NotificationItem.js.map +1 -0
- package/dist/components/Notifications/OverlayContainer.js +609 -0
- package/dist/components/Notifications/OverlayContainer.js.map +1 -0
- package/dist/components/Notifications/OverlayProvider.d.ts +7 -0
- package/dist/components/Notifications/OverlayProvider.js +68 -0
- package/dist/components/Notifications/OverlayProvider.js.map +1 -0
- package/dist/components/Notifications/PersistentNotificationsList.d.ts +23 -0
- package/dist/components/Notifications/PersistentNotificationsList.js +280 -0
- package/dist/components/Notifications/PersistentNotificationsList.js.map +1 -0
- package/dist/components/Notifications/dismissed-storage.js +43 -0
- package/dist/components/Notifications/dismissed-storage.js.map +1 -0
- package/dist/components/Notifications/format-relative-time.d.ts +23 -0
- package/dist/components/Notifications/format-relative-time.js +44 -0
- package/dist/components/Notifications/format-relative-time.js.map +1 -0
- package/dist/components/Notifications/index.d.ts +42 -0
- package/dist/components/Notifications/index.js +39 -0
- package/dist/components/Notifications/index.js.map +1 -0
- package/dist/components/Notifications/types.d.ts +135 -0
- package/dist/components/Notifications/use-live-region.js +49 -0
- package/dist/components/Notifications/use-live-region.js.map +1 -0
- package/dist/components/Notifications/use-notification-state.js +224 -0
- package/dist/components/Notifications/use-notification-state.js.map +1 -0
- package/dist/components/Notifications/use-notifications.d.ts +40 -0
- package/dist/components/Notifications/use-notifications.js +147 -0
- package/dist/components/Notifications/use-notifications.js.map +1 -0
- package/dist/components/Notifications/use-overlay-timers.js +132 -0
- package/dist/components/Notifications/use-overlay-timers.js.map +1 -0
- package/dist/components/Notifications/use-persistent-notifications.d.ts +52 -0
- package/dist/components/Notifications/use-persistent-notifications.js +88 -0
- package/dist/components/Notifications/use-persistent-notifications.js.map +1 -0
- package/dist/components/Notifications/use-persistent-state.js +179 -0
- package/dist/components/Notifications/use-persistent-state.js.map +1 -0
- package/dist/components/Notifications/use-toast-state.js +107 -0
- package/dist/components/Notifications/use-toast-state.js.map +1 -0
- package/dist/components/NumberInput/NumberInput.d.ts +35 -0
- package/dist/components/NumberInput/NumberInput.js +301 -0
- package/dist/components/NumberInput/NumberInput.js.map +1 -0
- package/dist/components/NumberInput/StepButton.js +92 -0
- package/dist/components/NumberInput/StepButton.js.map +1 -0
- package/dist/components/Pagination/Pagination.d.ts +7 -0
- package/dist/components/Pagination/Pagination.js +374 -0
- package/dist/components/Pagination/Pagination.js.map +1 -0
- package/dist/components/Pagination/types.d.ts +79 -0
- package/dist/components/Pagination/use-pagination.d.ts +47 -0
- package/dist/components/Pagination/use-pagination.js +125 -0
- package/dist/components/Pagination/use-pagination.js.map +1 -0
- package/dist/components/Panel/Panel.d.ts +24 -0
- package/dist/components/Panel/Panel.js +189 -0
- package/dist/components/Panel/Panel.js.map +1 -0
- package/dist/components/Paragraph/Paragraph.d.ts +8 -0
- package/dist/components/Paragraph/Paragraph.js +43 -0
- package/dist/components/Paragraph/Paragraph.js.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +18 -0
- package/dist/components/PasswordInput/PasswordInput.js +158 -0
- package/dist/components/PasswordInput/PasswordInput.js.map +1 -0
- package/dist/components/Picker/Picker.d.ts +121 -0
- package/dist/components/Picker/Picker.js +397 -0
- package/dist/components/Picker/Picker.js.map +1 -0
- package/dist/components/Placeholder/Placeholder.d.ts +12 -0
- package/dist/components/Placeholder/Placeholder.js +90 -0
- package/dist/components/Placeholder/Placeholder.js.map +1 -0
- package/dist/components/Portal/Portal.d.ts +29 -0
- package/dist/components/Portal/Portal.js +55 -0
- package/dist/components/Portal/Portal.js.map +1 -0
- package/dist/components/Portal/PortalProvider.js +29 -0
- package/dist/components/Portal/PortalProvider.js.map +1 -0
- package/dist/components/Portal/types.d.ts +25 -0
- package/dist/components/Portal/use-portal.js +86 -0
- package/dist/components/Portal/use-portal.js.map +1 -0
- package/dist/components/Prefix/Prefix.d.ts +12 -0
- package/dist/components/Prefix/Prefix.js +89 -0
- package/dist/components/Prefix/Prefix.js.map +1 -0
- package/dist/components/PrismCode/PrismCode.d.ts +30 -0
- package/dist/components/PrismCode/PrismCode.js +112 -0
- package/dist/components/PrismCode/PrismCode.js.map +1 -0
- package/dist/components/PrismCode/prism-setup.js +153 -0
- package/dist/components/PrismCode/prism-setup.js.map +1 -0
- package/dist/components/PrismDiffCode/PrismDiffCode.d.ts +16 -0
- package/dist/components/PrismDiffCode/PrismDiffCode.js +61 -0
- package/dist/components/PrismDiffCode/PrismDiffCode.js.map +1 -0
- package/dist/components/RadioGroup/Radio.d.ts +100 -0
- package/dist/components/RadioGroup/Radio.js +504 -0
- package/dist/components/RadioGroup/Radio.js.map +1 -0
- package/dist/components/RadioGroup/RadioContext.js +11 -0
- package/dist/components/RadioGroup/RadioContext.js.map +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +29 -0
- package/dist/components/RadioGroup/RadioGroup.js +220 -0
- package/dist/components/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/components/RadioGroup/joined-styles.js +101 -0
- package/dist/components/RadioGroup/joined-styles.js.map +1 -0
- package/dist/components/RenderCache/RenderCache.d.ts +16 -0
- package/dist/components/RenderCache/RenderCache.js +29 -0
- package/dist/components/RenderCache/RenderCache.js.map +1 -0
- package/dist/components/ResizablePanel/ResizablePanel.d.ts +25 -0
- package/dist/components/ResizablePanel/ResizablePanel.js +438 -0
- package/dist/components/ResizablePanel/ResizablePanel.js.map +1 -0
- package/dist/components/Result/Result.d.ts +72 -0
- package/dist/components/Result/Result.js +319 -0
- package/dist/components/Result/Result.js.map +1 -0
- package/dist/components/Root/Root.d.ts +57 -0
- package/dist/components/Root/Root.js +262 -0
- package/dist/components/Root/Root.js.map +1 -0
- package/dist/components/SearchComboBox/SearchComboBox.d.ts +154 -0
- package/dist/components/SearchComboBox/SearchComboBox.js +479 -0
- package/dist/components/SearchComboBox/SearchComboBox.js.map +1 -0
- package/dist/components/SearchInput/SearchInput.d.ts +24 -0
- package/dist/components/SearchInput/SearchInput.js +132 -0
- package/dist/components/SearchInput/SearchInput.js.map +1 -0
- package/dist/components/Select/Select.d.ts +173 -0
- package/dist/components/Select/Select.js +874 -0
- package/dist/components/Select/Select.js.map +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +41 -0
- package/dist/components/Skeleton/Skeleton.js +178 -0
- package/dist/components/Skeleton/Skeleton.js.map +1 -0
- package/dist/components/Slider/Gradation.js +55 -0
- package/dist/components/Slider/Gradation.js.map +1 -0
- package/dist/components/Slider/HueSlider.d.ts +16 -0
- package/dist/components/Slider/HueSlider.js +161 -0
- package/dist/components/Slider/HueSlider.js.map +1 -0
- package/dist/components/Slider/RangeSlider.d.ts +15 -0
- package/dist/components/Slider/RangeSlider.js +94 -0
- package/dist/components/Slider/RangeSlider.js.map +1 -0
- package/dist/components/Slider/Slider.d.ts +20 -0
- package/dist/components/Slider/Slider.js +148 -0
- package/dist/components/Slider/Slider.js.map +1 -0
- package/dist/components/Slider/SliderBase.js +354 -0
- package/dist/components/Slider/SliderBase.js.map +1 -0
- package/dist/components/Slider/SliderThumb.js +116 -0
- package/dist/components/Slider/SliderThumb.js.map +1 -0
- package/dist/components/Slider/SliderTrack.js +78 -0
- package/dist/components/Slider/SliderTrack.js.map +1 -0
- package/dist/components/Slider/elements.js +159 -0
- package/dist/components/Slider/elements.js.map +1 -0
- package/dist/components/Slider/index.js +6 -0
- package/dist/components/Slider/types.d.ts +22 -0
- package/dist/components/Space/Space.d.ts +9 -0
- package/dist/components/Space/Space.js +79 -0
- package/dist/components/Space/Space.js.map +1 -0
- package/dist/components/Spin/Cube.js +113 -0
- package/dist/components/Spin/Cube.js.map +1 -0
- package/dist/components/Spin/InternalSpinner.js +46 -0
- package/dist/components/Spin/InternalSpinner.js.map +1 -0
- package/dist/components/Spin/Spin.d.ts +6 -0
- package/dist/components/Spin/Spin.js +43 -0
- package/dist/components/Spin/Spin.js.map +1 -0
- package/dist/components/Spin/SpinsContainer.js +48 -0
- package/dist/components/Spin/SpinsContainer.js.map +1 -0
- package/dist/components/Spin/types.d.ts +21 -0
- package/dist/components/StatsCard/StatsCard.d.ts +12 -0
- package/dist/components/StatsCard/StatsCard.js +75 -0
- package/dist/components/StatsCard/StatsCard.js.map +1 -0
- package/dist/components/Suffix/Suffix.d.ts +12 -0
- package/dist/components/Suffix/Suffix.js +88 -0
- package/dist/components/Suffix/Suffix.js.map +1 -0
- package/dist/components/Switch/Switch.d.ts +32 -0
- package/dist/components/Switch/Switch.js +258 -0
- package/dist/components/Switch/Switch.js.map +1 -0
- package/dist/components/TableBase/ColumnResizer.js +118 -0
- package/dist/components/TableBase/ColumnResizer.js.map +1 -0
- package/dist/components/TableBase/RowCollection.js +101 -0
- package/dist/components/TableBase/RowCollection.js.map +1 -0
- package/dist/components/TableBase/TableHeaderCell.js +205 -0
- package/dist/components/TableBase/TableHeaderCell.js.map +1 -0
- package/dist/components/TableBase/TableRow.js +255 -0
- package/dist/components/TableBase/TableRow.js.map +1 -0
- package/dist/components/TableBase/TableRowLink.js +88 -0
- package/dist/components/TableBase/TableRowLink.js.map +1 -0
- package/dist/components/TableBase/TableView.d.ts +23 -0
- package/dist/components/TableBase/TableView.js +1544 -0
- package/dist/components/TableBase/TableView.js.map +1 -0
- package/dist/components/TableBase/TreeGridTable.js +142 -0
- package/dist/components/TableBase/TreeGridTable.js.map +1 -0
- package/dist/components/TableBase/column-header.js +157 -0
- package/dist/components/TableBase/column-header.js.map +1 -0
- package/dist/components/TableBase/column-menu.d.ts +34 -0
- package/dist/components/TableBase/column-menu.js +103 -0
- package/dist/components/TableBase/column-menu.js.map +1 -0
- package/dist/components/TableBase/column-styles.js +81 -0
- package/dist/components/TableBase/column-styles.js.map +1 -0
- package/dist/components/TableBase/column-tint.js +173 -0
- package/dist/components/TableBase/column-tint.js.map +1 -0
- package/dist/components/TableBase/row-menu.js +44 -0
- package/dist/components/TableBase/row-menu.js.map +1 -0
- package/dist/components/TableBase/styled.js +853 -0
- package/dist/components/TableBase/styled.js.map +1 -0
- package/dist/components/TableBase/table-body-sections.js +30 -0
- package/dist/components/TableBase/table-body-sections.js.map +1 -0
- package/dist/components/TableBase/table-tree.js +129 -0
- package/dist/components/TableBase/table-tree.js.map +1 -0
- package/dist/components/TableBase/types.d.ts +318 -0
- package/dist/components/TableBase/types.js +31 -0
- package/dist/components/TableBase/types.js.map +1 -0
- package/dist/components/TableBase/use-cell-selection.js +0 -0
- package/dist/components/TableBase/use-cell-selection.js.map +1 -0
- package/dist/components/TableBase/use-column-menu.js +165 -0
- package/dist/components/TableBase/use-column-menu.js.map +1 -0
- package/dist/components/TableBase/use-column-order.js +142 -0
- package/dist/components/TableBase/use-column-order.js.map +1 -0
- package/dist/components/TableBase/use-column-window.js +218 -0
- package/dist/components/TableBase/use-column-window.js.map +1 -0
- package/dist/components/TableBase/use-container-width.js +48 -0
- package/dist/components/TableBase/use-container-width.js.map +1 -0
- package/dist/components/TableBase/use-row-move-animation.js +109 -0
- package/dist/components/TableBase/use-row-move-animation.js.map +1 -0
- package/dist/components/TableBase/use-scrollability.js +62 -0
- package/dist/components/TableBase/use-scrollability.js.map +1 -0
- package/dist/components/TableBase/use-table-columns.js +242 -0
- package/dist/components/TableBase/use-table-columns.js.map +1 -0
- package/dist/components/TableBase/use-table-search.js +133 -0
- package/dist/components/TableBase/use-table-search.js.map +1 -0
- package/dist/components/TableBase/use-table-selection.js +335 -0
- package/dist/components/TableBase/use-table-selection.js.map +1 -0
- package/dist/components/TableBase/use-table-sort.js +169 -0
- package/dist/components/TableBase/use-table-sort.js.map +1 -0
- package/dist/components/TableBase/use-table-sorts.js +164 -0
- package/dist/components/TableBase/use-table-sorts.js.map +1 -0
- package/dist/components/TableBase/use-table-storage.d.ts +6 -0
- package/dist/components/TableBase/use-table-storage.js +62 -0
- package/dist/components/TableBase/use-table-storage.js.map +1 -0
- package/dist/components/TableBase/use-table-tooltip-refresh.js +80 -0
- package/dist/components/TableBase/use-table-tooltip-refresh.js.map +1 -0
- package/dist/components/TableBase/use-table-tree-state.js +197 -0
- package/dist/components/TableBase/use-table-tree-state.js.map +1 -0
- package/dist/components/Tabs/BoardDragActiveProvider.d.ts +33 -0
- package/dist/components/Tabs/BoardDragActiveProvider.js +56 -0
- package/dist/components/Tabs/BoardDragActiveProvider.js.map +1 -0
- package/dist/components/Tabs/DraggableTabList.js +40 -0
- package/dist/components/Tabs/DraggableTabList.js.map +1 -0
- package/dist/components/Tabs/TabButton.js +797 -0
- package/dist/components/Tabs/TabButton.js.map +1 -0
- package/dist/components/Tabs/TabDropIndicator.js +90 -0
- package/dist/components/Tabs/TabDropIndicator.js.map +1 -0
- package/dist/components/Tabs/TabPanel.js +136 -0
- package/dist/components/Tabs/TabPanel.js.map +1 -0
- package/dist/components/Tabs/TabPicker.js +142 -0
- package/dist/components/Tabs/TabPicker.js.map +1 -0
- package/dist/components/Tabs/Tabs.d.ts +61 -0
- package/dist/components/Tabs/Tabs.js +518 -0
- package/dist/components/Tabs/Tabs.js.map +1 -0
- package/dist/components/Tabs/TabsAction.d.ts +42 -0
- package/dist/components/Tabs/TabsAction.js +105 -0
- package/dist/components/Tabs/TabsAction.js.map +1 -0
- package/dist/components/Tabs/TabsContext.js +38 -0
- package/dist/components/Tabs/TabsContext.js.map +1 -0
- package/dist/components/Tabs/popover-placement.js +21 -0
- package/dist/components/Tabs/popover-placement.js.map +1 -0
- package/dist/components/Tabs/scroll-tab-into-strip.js +60 -0
- package/dist/components/Tabs/scroll-tab-into-strip.js.map +1 -0
- package/dist/components/Tabs/segmented-styles.js +53 -0
- package/dist/components/Tabs/segmented-styles.js.map +1 -0
- package/dist/components/Tabs/styled.js +426 -0
- package/dist/components/Tabs/styled.js.map +1 -0
- package/dist/components/Tabs/types.d.ts +288 -0
- package/dist/components/Tabs/types.js +15 -0
- package/dist/components/Tabs/types.js.map +1 -0
- package/dist/components/Tabs/use-tab-editing.js +76 -0
- package/dist/components/Tabs/use-tab-editing.js.map +1 -0
- package/dist/components/Tabs/use-tab-indicator.js +100 -0
- package/dist/components/Tabs/use-tab-indicator.js.map +1 -0
- package/dist/components/Tag/Tag.d.ts +19 -0
- package/dist/components/Tag/Tag.js +143 -0
- package/dist/components/Tag/Tag.js.map +1 -0
- package/dist/components/TagInput/TagInput.d.ts +218 -0
- package/dist/components/TagInput/TagInput.js +1236 -0
- package/dist/components/TagInput/TagInput.js.map +1 -0
- package/dist/components/TagInput/TagList.js +404 -0
- package/dist/components/TagInput/TagList.js.map +1 -0
- package/dist/components/TagInput/use-active-option.js +121 -0
- package/dist/components/TagInput/use-active-option.js.map +1 -0
- package/dist/components/TagInput/use-suffix-space.js +62 -0
- package/dist/components/TagInput/use-suffix-space.js.map +1 -0
- package/dist/components/TagInput/use-tag-error.js +94 -0
- package/dist/components/TagInput/use-tag-error.js.map +1 -0
- package/dist/components/Text/Text.d.ts +44 -0
- package/dist/components/Text/Text.js +128 -0
- package/dist/components/Text/Text.js.map +1 -0
- package/dist/components/TextArea/TextArea.d.ts +32 -0
- package/dist/components/TextArea/TextArea.js +156 -0
- package/dist/components/TextArea/TextArea.js.map +1 -0
- package/dist/components/TextInput/TextInput.d.ts +20 -0
- package/dist/components/TextInput/TextInput.js +108 -0
- package/dist/components/TextInput/TextInput.js.map +1 -0
- package/dist/components/TextInput/TextInputBase.d.ts +139 -0
- package/dist/components/TextInput/TextInputBase.js +419 -0
- package/dist/components/TextInput/TextInputBase.js.map +1 -0
- package/dist/components/TextInput/displayed-validation.js +49 -0
- package/dist/components/TextInput/displayed-validation.js.map +1 -0
- package/dist/components/TextInput/identifier-text-services.js +20 -0
- package/dist/components/TextInput/identifier-text-services.js.map +1 -0
- package/dist/components/TextInput/password-manager-ignore.js +21 -0
- package/dist/components/TextInput/password-manager-ignore.js.map +1 -0
- package/dist/components/TextInput/use-auto-size-text-area.js +145 -0
- package/dist/components/TextInput/use-auto-size-text-area.js.map +1 -0
- package/dist/components/TextInputMapper/TextInputMapper.d.ts +49 -0
- package/dist/components/TextInputMapper/TextInputMapper.js +332 -0
- package/dist/components/TextInputMapper/TextInputMapper.js.map +1 -0
- package/dist/components/TextItem/TextItem.d.ts +46 -0
- package/dist/components/TextItem/TextItem.js +267 -0
- package/dist/components/TextItem/TextItem.js.map +1 -0
- package/dist/components/Title/Title.d.ts +17 -0
- package/dist/components/Title/Title.js +175 -0
- package/dist/components/Title/Title.js.map +1 -0
- package/dist/components/Toast/AnnouncedToastItem.js +30 -0
- package/dist/components/Toast/AnnouncedToastItem.js.map +1 -0
- package/dist/components/Toast/Toast.d.ts +48 -0
- package/dist/components/Toast/Toast.js +143 -0
- package/dist/components/Toast/Toast.js.map +1 -0
- package/dist/components/Toast/ToastItem.d.ts +20 -0
- package/dist/components/Toast/ToastItem.js +97 -0
- package/dist/components/Toast/ToastItem.js.map +1 -0
- package/dist/components/Toast/index.d.ts +8 -0
- package/dist/components/Toast/types.d.ts +76 -0
- package/dist/components/Toast/use-progress-toast.d.ts +33 -0
- package/dist/components/Toast/use-progress-toast.js +191 -0
- package/dist/components/Toast/use-progress-toast.js.map +1 -0
- package/dist/components/Toast/use-toast.d.ts +34 -0
- package/dist/components/Toast/use-toast.js +87 -0
- package/dist/components/Toast/use-toast.js.map +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +53 -0
- package/dist/components/ToggleGroup/ToggleGroup.js +237 -0
- package/dist/components/ToggleGroup/ToggleGroup.js.map +1 -0
- package/dist/components/ToggleGroup/ToggleGroupContext.d.ts +8 -0
- package/dist/components/ToggleGroup/ToggleGroupContext.js +13 -0
- package/dist/components/ToggleGroup/ToggleGroupContext.js.map +1 -0
- package/dist/components/ToggleGroup/ToggleGroupItem.d.ts +29 -0
- package/dist/components/ToggleGroup/ToggleGroupItem.js +169 -0
- package/dist/components/ToggleGroup/ToggleGroupItem.js.map +1 -0
- package/dist/components/ToggleGroup/index.d.ts +5 -0
- package/dist/components/Tooltip/Tooltip.d.ts +34 -0
- package/dist/components/Tooltip/Tooltip.js +255 -0
- package/dist/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/components/Tooltip/TooltipContext.js +8 -0
- package/dist/components/Tooltip/TooltipContext.js.map +1 -0
- package/dist/components/Tooltip/TooltipProvider.d.ts +21 -0
- package/dist/components/Tooltip/TooltipProvider.js +110 -0
- package/dist/components/Tooltip/TooltipProvider.js.map +1 -0
- package/dist/components/Tooltip/TooltipTrigger.d.ts +58 -0
- package/dist/components/Tooltip/TooltipTrigger.js +443 -0
- package/dist/components/Tooltip/TooltipTrigger.js.map +1 -0
- package/dist/components/Tooltip/last-press.js +43 -0
- package/dist/components/Tooltip/last-press.js.map +1 -0
- package/dist/components/Tooltip/split-trigger-props.d.ts +15 -0
- package/dist/components/Tooltip/split-trigger-props.js +54 -0
- package/dist/components/Tooltip/split-trigger-props.js.map +1 -0
- package/dist/components/Tree/Tree.d.ts +24 -0
- package/dist/components/Tree/Tree.js +422 -0
- package/dist/components/Tree/Tree.js.map +1 -0
- package/dist/components/Tree/TreeNode.js +216 -0
- package/dist/components/Tree/TreeNode.js.map +1 -0
- package/dist/components/Tree/checked-keys.js +158 -0
- package/dist/components/Tree/checked-keys.js.map +1 -0
- package/dist/components/Tree/row-id.js +16 -0
- package/dist/components/Tree/row-id.js.map +1 -0
- package/dist/components/Tree/styled.js +214 -0
- package/dist/components/Tree/styled.js.map +1 -0
- package/dist/components/Tree/tree-index.js +53 -0
- package/dist/components/Tree/tree-index.js.map +1 -0
- package/dist/components/Tree/types.d.ts +277 -0
- package/dist/components/Tree/use-checkbox-tree.js +121 -0
- package/dist/components/Tree/use-checkbox-tree.js.map +1 -0
- package/dist/components/Tree/use-load-data.js +106 -0
- package/dist/components/Tree/use-load-data.js.map +1 -0
- package/dist/components/TriggerActions/TriggerActions.js +21 -0
- package/dist/components/TriggerActions/TriggerActions.js.map +1 -0
- package/dist/components/Typography/Typography.d.ts +16 -0
- package/dist/components/Typography/Typography.js +14 -0
- package/dist/components/Typography/Typography.js.map +1 -0
- package/dist/components/ValidationIndicator/InvalidIcon.js +12 -0
- package/dist/components/ValidationIndicator/InvalidIcon.js.map +1 -0
- package/dist/components/ValidationIndicator/ValidIcon.js +12 -0
- package/dist/components/ValidationIndicator/ValidIcon.js.map +1 -0
- package/dist/components/ValidationIndicator/ValidationIndicator.d.ts +21 -0
- package/dist/components/ValidationIndicator/ValidationIndicator.js +51 -0
- package/dist/components/ValidationIndicator/ValidationIndicator.js.map +1 -0
- package/dist/eslint-plugin/defaults.generated.js +1 -1
- package/dist/eslint-plugin/index.js +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.d.ts +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.js.map +1 -1
- package/dist/harness/colors-deps.js +1 -1
- package/dist/hooks/use-action.d.ts +61 -0
- package/dist/hooks/use-action.js +275 -0
- package/dist/hooks/use-action.js.map +1 -0
- package/dist/hooks/use-auto-tooltip.d.ts +10 -0
- package/dist/hooks/use-auto-tooltip.js +526 -0
- package/dist/hooks/use-auto-tooltip.js.map +1 -0
- package/dist/hooks/use-buffered-value.d.ts +55 -0
- package/dist/hooks/use-buffered-value.js +85 -0
- package/dist/hooks/use-buffered-value.js.map +1 -0
- package/dist/hooks/use-combined-refs.d.ts +7 -0
- package/dist/hooks/use-combined-refs.js +38 -0
- package/dist/hooks/use-combined-refs.js.map +1 -0
- package/dist/hooks/use-controlled-focus-visible.d.ts +14 -0
- package/dist/hooks/use-controlled-focus-visible.js +69 -0
- package/dist/hooks/use-controlled-focus-visible.js.map +1 -0
- package/dist/hooks/use-debounced-value.js +62 -0
- package/dist/hooks/use-debounced-value.js.map +1 -0
- package/dist/hooks/use-deprecation-warning.js +31 -0
- package/dist/hooks/use-deprecation-warning.js.map +1 -0
- package/dist/hooks/use-event.js +30 -0
- package/dist/hooks/use-event.js.map +1 -0
- package/dist/hooks/use-id.js +56 -0
- package/dist/hooks/use-id.js.map +1 -0
- package/dist/hooks/use-is-darwin.js +48 -0
- package/dist/hooks/use-is-darwin.js.map +1 -0
- package/dist/hooks/use-is-first-render.js +15 -0
- package/dist/hooks/use-is-first-render.js.map +1 -0
- package/dist/hooks/use-key-symbols.js +81 -0
- package/dist/hooks/use-key-symbols.js.map +1 -0
- package/dist/hooks/use-layout-effect.d.ts +7 -0
- package/dist/hooks/use-layout-effect.js +8 -0
- package/dist/hooks/use-layout-effect.js.map +1 -0
- package/dist/hooks/use-local-storage.d.ts +37 -0
- package/dist/hooks/use-local-storage.js +144 -0
- package/dist/hooks/use-local-storage.js.map +1 -0
- package/dist/hooks/use-merge-styles.d.ts +29 -0
- package/dist/hooks/use-merge-styles.js +39 -0
- package/dist/hooks/use-merge-styles.js.map +1 -0
- package/dist/hooks/use-open-key.js +52 -0
- package/dist/hooks/use-open-key.js.map +1 -0
- package/dist/hooks/use-overlay-escape-guard.js +78 -0
- package/dist/hooks/use-overlay-escape-guard.js.map +1 -0
- package/dist/hooks/use-overlay-position.js +177 -0
- package/dist/hooks/use-overlay-position.js.map +1 -0
- package/dist/hooks/use-popover-sync.d.ts +105 -0
- package/dist/hooks/use-popover-sync.js +282 -0
- package/dist/hooks/use-popover-sync.js.map +1 -0
- package/dist/hooks/use-qa-props.d.ts +23 -0
- package/dist/hooks/use-qa-props.js +33 -0
- package/dist/hooks/use-qa-props.js.map +1 -0
- package/dist/hooks/use-scheme.d.ts +57 -0
- package/dist/hooks/use-scheme.js +183 -0
- package/dist/hooks/use-scheme.js.map +1 -0
- package/dist/hooks/use-sync-ref.js +23 -0
- package/dist/hooks/use-sync-ref.js.map +1 -0
- package/dist/hooks/use-timer/Timer.js +52 -0
- package/dist/hooks/use-timer/Timer.js.map +1 -0
- package/dist/hooks/use-timer/use-timer.js +101 -0
- package/dist/hooks/use-timer/use-timer.js.map +1 -0
- package/dist/hooks/use-validation-props.d.ts +14 -0
- package/dist/hooks/use-validation-props.js +54 -0
- package/dist/hooks/use-validation-props.js.map +1 -0
- package/dist/hooks/use-viewport-size.d.ts +13 -0
- package/dist/hooks/use-viewport-size.js +59 -0
- package/dist/hooks/use-viewport-size.js.map +1 -0
- package/dist/hooks/use-warn.js +34 -0
- package/dist/hooks/use-warn.js.map +1 -0
- package/dist/i18n/I18nProvider.js +1 -1
- package/dist/i18n/add-uikit-locale.d.ts +11 -0
- package/dist/i18n/add-uikit-locale.js +16 -0
- package/dist/i18n/add-uikit-locale.js.map +1 -0
- package/dist/i18n/create-formatter.d.ts +58 -0
- package/dist/i18n/create-formatter.js +148 -0
- package/dist/i18n/create-formatter.js.map +1 -0
- package/dist/i18n/index.d.ts +4 -12
- package/dist/i18n/instance.js +1 -1
- package/dist/i18n/locales/de-DE/uikit.js +4 -2
- package/dist/i18n/locales/en-US/uikit.js +4 -2
- package/dist/i18n/locales/en-US/uikit.json.d.ts +3 -0
- package/dist/i18n/locales/es-ES/uikit.js +4 -2
- package/dist/i18n/locales/es-MX/uikit.js +4 -2
- package/dist/i18n/locales/fr-FR/uikit.js +4 -2
- package/dist/i18n/locales/it-IT/uikit.js +4 -2
- package/dist/i18n/locales/ja-JP/uikit.js +4 -2
- package/dist/i18n/locales/nb-NO/uikit.js +4 -2
- package/dist/i18n/locales/pt-BR/uikit.js +4 -2
- package/dist/i18n/locales/pt-PT/uikit.js +4 -2
- package/dist/i18n/locales/sv-SE/uikit.js +4 -2
- package/dist/i18n/locales/vi-VN/uikit.js +4 -2
- package/dist/i18n/locales.js +1 -1
- package/dist/i18n/namespace.js +1 -1
- package/dist/i18n/use-formatter.d.ts +24 -0
- package/dist/i18n/use-formatter.js +38 -0
- package/dist/i18n/use-formatter.js.map +1 -0
- package/dist/i18n/use-i18n.js +19 -0
- package/dist/i18n/use-i18n.js.map +1 -0
- package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
- package/dist/icons/AdjustmentsIcon.js +1 -1
- package/dist/icons/AiIcon.js +1 -1
- package/dist/icons/AreaChartIcon.js +1 -1
- package/dist/icons/ArrowNarrowDownIcon.js +1 -1
- package/dist/icons/ArrowNarrowUpIcon.js +1 -1
- package/dist/icons/BackwardIcon.js +1 -1
- package/dist/icons/BarChartIcon.js +1 -1
- package/dist/icons/BellFilledIcon.js +1 -1
- package/dist/icons/BellIcon.js +1 -1
- package/dist/icons/BooleanIcon.js +1 -1
- package/dist/icons/CalendarEditIcon.js +1 -1
- package/dist/icons/CalendarIcon.js +1 -1
- package/dist/icons/CaretDownIcon.js +1 -1
- package/dist/icons/CaretUpIcon.js +1 -1
- package/dist/icons/ChartAreaStackedIcon.js +1 -1
- package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarGroupedIcon.js +1 -1
- package/dist/icons/ChartBarHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarLineIcon.js +1 -1
- package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBoxPlot2Icon.js +1 -1
- package/dist/icons/ChartBoxPlotIcon.js +1 -1
- package/dist/icons/ChartBubbleIcon.js +1 -1
- package/dist/icons/ChartDonut2Icon.js +1 -1
- package/dist/icons/ChartFunnelIcon.js +1 -1
- package/dist/icons/ChartHeatmapIcon.js +1 -1
- package/dist/icons/ChartKPIIcon.js +1 -1
- package/dist/icons/ChartPie2Icon.js +1 -1
- package/dist/icons/ChartScatterIcon.js +1 -1
- package/dist/icons/CheckCircleFilledIcon.js +1 -1
- package/dist/icons/CheckCircleIcon.js +1 -1
- package/dist/icons/CheckIcon.js +1 -1
- package/dist/icons/CircleFilledIcon.js +1 -1
- package/dist/icons/ClearIcon.js +1 -1
- package/dist/icons/CloseCircleFilledIcon.js +1 -1
- package/dist/icons/CloseCircleIcon.js +1 -1
- package/dist/icons/CloseIcon.js +1 -1
- package/dist/icons/CodeIcon.js +1 -1
- package/dist/icons/ColumnTotalIcon.js +1 -1
- package/dist/icons/CopyIcon.js +1 -1
- package/dist/icons/CountIcon.js +1 -1
- package/dist/icons/CubeIcon.js +1 -1
- package/dist/icons/CubePauseIcon.js +1 -1
- package/dist/icons/CubePlayIcon.js +1 -1
- package/dist/icons/CurrencyDollarIcon.js +1 -1
- package/dist/icons/DangerIcon.js +1 -1
- package/dist/icons/DashboardIcon.js +1 -1
- package/dist/icons/DatabaseIcon.js +1 -1
- package/dist/icons/DecimalDecreaseIcon.js +1 -1
- package/dist/icons/DecimalIncreaseIcon.js +1 -1
- package/dist/icons/DirectionIcon.js +1 -1
- package/dist/icons/DonutIcon.js +1 -1
- package/dist/icons/DownIcon.js +1 -1
- package/dist/icons/EditIcon.js +1 -1
- package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
- package/dist/icons/ExclamationCircleIcon.js +1 -1
- package/dist/icons/ExclamationIcon.js +1 -1
- package/dist/icons/EyeIcon.js +1 -1
- package/dist/icons/EyeInvisibleIcon.js +1 -1
- package/dist/icons/FilterIcon.js +1 -1
- package/dist/icons/FolderFilledIcon.js +1 -1
- package/dist/icons/FolderIcon.js +1 -1
- package/dist/icons/FolderOpenFilledIcon.js +1 -1
- package/dist/icons/FolderOpenIcon.js +1 -1
- package/dist/icons/ForwardIcon.js +1 -1
- package/dist/icons/GripVerticalIcon.js +1 -1
- package/dist/icons/HierarchyIcon.js +1 -1
- package/dist/icons/HierarchyOpenIcon.js +1 -1
- package/dist/icons/Icon.js +1 -1
- package/dist/icons/InfoCircleIcon.js +1 -1
- package/dist/icons/InfoIcon.js +1 -1
- package/dist/icons/KeyIcon.js +1 -1
- package/dist/icons/LeftIcon.js +1 -1
- package/dist/icons/LineChartIcon.js +1 -1
- package/dist/icons/LoadingIcon.js +1 -1
- package/dist/icons/LockFilledIcon.js +1 -1
- package/dist/icons/LockIcon.js +1 -1
- package/dist/icons/MoreIcon.js +1 -1
- package/dist/icons/NotAllowedIcon.js +1 -1
- package/dist/icons/Number123Icon.js +1 -1
- package/dist/icons/NumberIcon.js +1 -1
- package/dist/icons/PauseCircleFilledIcon.js +1 -1
- package/dist/icons/PauseCircleIcon.js +1 -1
- package/dist/icons/PauseIcon.js +1 -1
- package/dist/icons/PercentageIcon.js +1 -1
- package/dist/icons/PieChartIcon.js +1 -1
- package/dist/icons/PipetteIcon.js +1 -1
- package/dist/icons/PlayCircleIcon.js +1 -1
- package/dist/icons/PlayIcon.js +1 -1
- package/dist/icons/PlusIcon.js +1 -1
- package/dist/icons/ProgressBarIcon.js +1 -1
- package/dist/icons/ReloadIcon.js +1 -1
- package/dist/icons/ReportIcon.js +1 -1
- package/dist/icons/ReturnIcon.js +1 -1
- package/dist/icons/RightIcon.js +1 -1
- package/dist/icons/RowTotalsIcon.js +1 -1
- package/dist/icons/SchemeIcon.js +1 -1
- package/dist/icons/SearchIcon.js +1 -1
- package/dist/icons/SemanticQueryIcon.js +1 -1
- package/dist/icons/SettingsIcon.js +1 -1
- package/dist/icons/ShieldFilledIcon.js +1 -1
- package/dist/icons/ShieldIcon.js +1 -1
- package/dist/icons/SlashIcon.js +1 -1
- package/dist/icons/SparklesIcon.js +1 -1
- package/dist/icons/SqlIcon.js +1 -1
- package/dist/icons/StatsIcon.js +1 -1
- package/dist/icons/StopIcon.js +1 -1
- package/dist/icons/StringIcon.js +1 -1
- package/dist/icons/SubtotalsIcon.js +1 -1
- package/dist/icons/SwitchIcon.js +1 -1
- package/dist/icons/TableIcon.js +1 -1
- package/dist/icons/ThumbsDownIcon.js +1 -1
- package/dist/icons/ThumbsUpIcon.js +1 -1
- package/dist/icons/ThunderboltCrossedIcon.js +1 -1
- package/dist/icons/ThunderboltFilledIcon.js +1 -1
- package/dist/icons/ThunderboltIcon.js +1 -1
- package/dist/icons/TimeIcon.js +1 -1
- package/dist/icons/TrashIcon.js +1 -1
- package/dist/icons/UnlockIcon.js +1 -1
- package/dist/icons/UpIcon.js +1 -1
- package/dist/icons/UserGroupIcon.js +1 -1
- package/dist/icons/UserIcon.js +1 -1
- package/dist/icons/UserLockIcon.js +1 -1
- package/dist/icons/ViewIcon.js +1 -1
- package/dist/icons/WarningFilledIcon.js +1 -1
- package/dist/icons/WarningIcon.js +1 -1
- package/dist/icons/wrap-icon.js +1 -1
- package/dist/index.d.ts +263 -275
- package/dist/index.js +196 -204
- package/dist/probe/canonicalize.js +1 -1
- package/dist/probe/css.js +1 -1
- package/dist/probe/index.js +1 -1
- package/dist/providers/ColorPopoverContext.js +19 -0
- package/dist/providers/ColorPopoverContext.js.map +1 -0
- package/dist/providers/EventBusProvider.d.ts +88 -0
- package/dist/providers/EventBusProvider.js +158 -0
- package/dist/providers/EventBusProvider.js.map +1 -0
- package/dist/providers/ItemActionContext.d.ts +38 -0
- package/dist/providers/ItemActionContext.js +44 -0
- package/dist/providers/ItemActionContext.js.map +1 -0
- package/dist/providers/Provider.d.ts +25 -0
- package/dist/providers/Provider.js +76 -0
- package/dist/providers/Provider.js.map +1 -0
- package/dist/providers/SlotProvider.d.ts +7 -0
- package/dist/providers/SlotProvider.js +82 -0
- package/dist/providers/SlotProvider.js.map +1 -0
- package/dist/providers/TrackingProvider.js +1 -1
- package/dist/providers/navigation-adapter.default.d.ts +10 -0
- package/dist/providers/navigation-adapter.default.js +40 -0
- package/dist/providers/navigation-adapter.default.js.map +1 -0
- package/dist/providers/navigation-url.js +1 -1
- package/dist/providers/use-navigation.js +3 -3
- package/dist/providers/use-navigation.js.map +1 -1
- package/dist/themes/item-themes.d.ts +6 -0
- package/dist/themes/item-themes.js +949 -0
- package/dist/themes/item-themes.js.map +1 -0
- package/dist/themes/themes.d.ts +37 -0
- package/dist/themes/themes.js +38 -0
- package/dist/themes/themes.js.map +1 -0
- package/dist/tokens/all-tokens.js +1 -1
- package/dist/tokens/base.js +1 -1
- package/dist/tokens/color-seed.js +1 -1
- package/dist/tokens/color-theme.js +1 -1
- package/dist/tokens/colors.js +2 -2
- package/dist/tokens/colors.js.map +1 -1
- package/dist/tokens/layout.js +1 -1
- package/dist/tokens/lazy-styles.js +1 -1
- package/dist/tokens/legacy-color.js +1 -1
- package/dist/tokens/palette-config.js +1 -1
- package/dist/tokens/palette.js +1 -1
- package/dist/tokens/palette.js.map +1 -1
- package/dist/tokens/resolve.js +4 -4
- package/dist/tokens/resolve.js.map +1 -1
- package/dist/tokens/shadows.js +1 -1
- package/dist/tokens/sizes.js +1 -1
- package/dist/tokens/spacing.js +1 -1
- package/dist/tokens/typography.js +1 -1
- package/dist/types/common.d.ts +7 -0
- package/dist/types/form.d.ts +227 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/props.d.ts +12 -0
- package/dist/utils/ResizeSensor.js +1 -1
- package/dist/utils/actions-run.js +34 -0
- package/dist/utils/actions-run.js.map +1 -0
- package/dist/utils/chain.d.ts +8 -0
- package/dist/utils/chain.js +14 -0
- package/dist/utils/chain.js.map +1 -0
- package/dist/utils/color/channels.d.ts +11 -0
- package/dist/utils/color/channels.js +194 -0
- package/dist/utils/color/channels.js.map +1 -0
- package/dist/utils/color/color.d.ts +21 -0
- package/dist/utils/color/color.js +203 -0
- package/dist/utils/color/color.js.map +1 -0
- package/dist/utils/colors.js +1 -1
- package/dist/utils/component-base-props.d.ts +9 -0
- package/dist/utils/component-base-props.js +15 -0
- package/dist/utils/component-base-props.js.map +1 -0
- package/dist/utils/disabled-behavior.js +30 -0
- package/dist/utils/disabled-behavior.js.map +1 -0
- package/dist/utils/disabled-props.d.ts +51 -0
- package/dist/utils/disabled-props.js +118 -0
- package/dist/utils/disabled-props.js.map +1 -0
- package/dist/utils/dotize.js +1 -1
- package/dist/utils/field-chrome.js +55 -0
- package/dist/utils/field-chrome.js.map +1 -0
- package/dist/utils/field-layout.d.ts +20 -0
- package/dist/utils/field-layout.js +114 -0
- package/dist/utils/field-layout.js.map +1 -0
- package/dist/utils/forward-ref-with-generics.d.ts +14 -0
- package/dist/utils/forward-ref-with-generics.js +17 -0
- package/dist/utils/forward-ref-with-generics.js.map +1 -0
- package/dist/utils/highlight-text.js +25 -0
- package/dist/utils/highlight-text.js.map +1 -0
- package/dist/utils/index.d.ts +9 -22
- package/dist/utils/index.js +20 -0
- package/dist/utils/interactions.js +96 -0
- package/dist/utils/interactions.js.map +1 -0
- package/dist/utils/is-dev-env.js +3 -3
- package/dist/utils/is-dev-env.js.map +1 -1
- package/dist/utils/is-text-only.d.ts +5 -0
- package/dist/utils/is-text-only.js +10 -0
- package/dist/utils/is-text-only.js.map +1 -0
- package/dist/utils/layout-scale.js +1 -1
- package/dist/utils/legacy-tooltip.js +40 -0
- package/dist/utils/legacy-tooltip.js.map +1 -0
- package/dist/utils/map-props.js +14 -0
- package/dist/utils/map-props.js.map +1 -0
- package/dist/utils/merge-props.d.ts +17 -0
- package/dist/utils/merge-props.js +35 -0
- package/dist/utils/merge-props.js.map +1 -0
- package/dist/utils/modules.js +1 -1
- package/dist/utils/nullable-value.d.ts +9 -0
- package/dist/utils/nullable-value.js +38 -0
- package/dist/utils/nullable-value.js.map +1 -0
- package/dist/utils/option-origin-press.js +78 -0
- package/dist/utils/option-origin-press.js.map +1 -0
- package/dist/utils/overlay-key-propagation.js +97 -0
- package/dist/utils/overlay-key-propagation.js.map +1 -0
- package/dist/utils/pick-base-customization-props.d.ts +2 -0
- package/dist/utils/pick-base-customization-props.js +16 -0
- package/dist/utils/pick-base-customization-props.js.map +1 -0
- package/dist/utils/popover-width.js +24 -0
- package/dist/utils/popover-width.js.map +1 -0
- package/dist/utils/programmatic-focus.js +58 -0
- package/dist/utils/programmatic-focus.js.map +1 -0
- package/dist/utils/promise.js +1 -1
- package/dist/utils/raf.js +1 -1
- package/dist/utils/random.js +1 -1
- package/dist/utils/range.js +1 -1
- package/dist/utils/resolve-icon.d.ts +27 -0
- package/dist/utils/resolve-icon.js +41 -0
- package/dist/utils/resolve-icon.js.map +1 -0
- package/dist/utils/resolve-validation-props.d.ts +39 -0
- package/dist/utils/resolve-validation-props.js +49 -0
- package/dist/utils/resolve-validation-props.js.map +1 -0
- package/dist/utils/search-text-services.d.ts +14 -0
- package/dist/utils/search-text-services.js +18 -0
- package/dist/utils/search-text-services.js.map +1 -0
- package/dist/utils/selection.js +1 -1
- package/dist/utils/shared-store.js +49 -0
- package/dist/utils/shared-store.js.map +1 -0
- package/dist/utils/styles.js +1 -1
- package/dist/utils/tree.js +1 -1
- package/dist/utils/virtual-width.js +76 -0
- package/dist/utils/virtual-width.js.map +1 -0
- package/dist/utils/warnings.js +1 -1
- package/dist/utils/wrap-node-if-plain.d.ts +6 -0
- package/dist/utils/wrap-node-if-plain.js +12 -0
- package/dist/utils/wrap-node-if-plain.js.map +1 -0
- package/dist/utils/wrap-with-field.d.ts +32 -0
- package/dist/utils/wrap-with-field.js +63 -0
- package/dist/utils/wrap-with-field.js.map +1 -0
- package/dist/version.js +2 -2
- package/docs/ComplexLayout.md +3 -2
- package/docs/CreateComponent.md +6 -6
- package/docs/FieldProperties.md +5 -5
- package/docs/Introduction.md +1 -1
- package/docs/Theming.md +1 -1
- package/docs/Usage.md +5 -5
- package/docs/components/Action.md +59 -0
- package/docs/components/ActiveZone.md +55 -0
- package/docs/components/Alert.md +69 -0
- package/docs/components/AlertDialog.md +260 -0
- package/docs/components/Avatar.md +48 -0
- package/docs/components/Badge.md +208 -0
- package/docs/components/Banner.md +222 -0
- package/docs/components/Button.md +352 -0
- package/docs/components/ButtonGroup.md +57 -0
- package/docs/components/ButtonSplit.md +236 -0
- package/docs/components/Calendar.md +170 -0
- package/docs/components/Card.md +65 -0
- package/docs/components/Checkbox.md +196 -0
- package/docs/components/CollectionItem.md +7 -7
- package/docs/components/ColorInput.md +248 -0
- package/docs/components/ColorPicker.md +195 -0
- package/docs/components/ColorSwatch.md +136 -0
- package/docs/components/ColorSwatchGroup.md +183 -0
- package/docs/components/ComboBox.md +841 -0
- package/docs/components/CommandMenu.md +484 -0
- package/docs/components/CommandTextArea.md +137 -0
- package/docs/components/Content.md +56 -0
- package/docs/components/CopyPasteBlock.md +44 -0
- package/docs/components/CopySnippet.md +62 -0
- package/docs/components/CubeLogo.md +84 -0
- package/docs/components/DataTable.md +416 -0
- package/docs/components/DatePicker.md +230 -0
- package/docs/components/Dialog.md +282 -0
- package/docs/components/DialogContainer.md +247 -0
- package/docs/components/DialogForm.md +174 -0
- package/docs/components/DialogTrigger.md +238 -0
- package/docs/components/Disclosure.md +192 -0
- package/docs/components/Divider.md +133 -0
- package/docs/components/Field.md +345 -0
- package/docs/components/FileInput.md +194 -0
- package/docs/components/FilterListBox.md +867 -0
- package/docs/components/FilterPicker.md +1138 -0
- package/docs/components/Flex.md +62 -0
- package/docs/components/Flow.md +43 -0
- package/docs/components/Footer.md +47 -0
- package/docs/components/Form.md +167 -0
- package/docs/components/Grid.md +57 -0
- package/docs/components/Header.md +47 -0
- package/docs/components/HotKeys.md +364 -0
- package/docs/components/HueSlider.md +185 -0
- package/docs/components/IconSwitch.md +161 -0
- package/docs/components/InfoBadge.md +51 -0
- package/docs/components/InlineInput.md +338 -0
- package/docs/components/Item.md +568 -0
- package/docs/components/ItemAction.md +88 -0
- package/docs/components/ItemBadge.md +36 -0
- package/docs/components/ItemButton.md +330 -0
- package/docs/components/ItemCard.md +205 -0
- package/docs/components/ItemTable.md +820 -0
- package/docs/components/Layout.md +1011 -0
- package/docs/components/Link.md +334 -0
- package/docs/components/ListBox.md +893 -0
- package/docs/components/LoadingAnimation.md +53 -0
- package/docs/components/Menu.md +616 -0
- package/docs/components/MenuTrigger.md +107 -0
- package/docs/components/ModernForm.md +294 -0
- package/docs/components/NavTabs.md +207 -0
- package/docs/components/NoDataIcon.md +48 -0
- package/docs/components/Notifications.md +427 -0
- package/docs/components/NumberInput.md +259 -0
- package/docs/components/Pagination.md +206 -0
- package/docs/components/Panel.md +77 -0
- package/docs/components/Paragraph.md +51 -0
- package/docs/components/PasswordInput.md +279 -0
- package/docs/components/PeriodPicker.md +95 -0
- package/docs/components/Picker.md +1045 -0
- package/docs/components/Placeholder.md +64 -0
- package/docs/components/Portal.md +33 -0
- package/docs/components/Prefix.md +48 -0
- package/docs/components/PrismCode.md +54 -0
- package/docs/components/PrismDiffCode.md +29 -0
- package/docs/components/RadioGroup.md +407 -0
- package/docs/components/ResizablePanel.md +84 -0
- package/docs/components/Result.md +276 -0
- package/docs/components/SearchComboBox.md +269 -0
- package/docs/components/SearchInput.md +251 -0
- package/docs/components/Select.md +678 -0
- package/docs/components/Skeleton.md +63 -0
- package/docs/components/Slider.md +77 -0
- package/docs/components/Space.md +55 -0
- package/docs/components/Spin.md +46 -0
- package/docs/components/StatsCard.md +52 -0
- package/docs/components/SubMenuTrigger.md +55 -0
- package/docs/components/Suffix.md +50 -0
- package/docs/components/Switch.md +177 -0
- package/docs/components/Tabs.md +981 -0
- package/docs/components/Tag.md +186 -0
- package/docs/components/TagInput.md +497 -0
- package/docs/components/Text.md +61 -0
- package/docs/components/TextArea.md +132 -0
- package/docs/components/TextInput.md +300 -0
- package/docs/components/TextInputMapper.md +76 -0
- package/docs/components/TextItem.md +237 -0
- package/docs/components/Title.md +62 -0
- package/docs/components/Toast.md +292 -0
- package/docs/components/ToggleGroup.md +223 -0
- package/docs/components/Tooltip.md +370 -0
- package/docs/components/TooltipProvider.md +63 -0
- package/docs/components/TooltipTrigger.md +58 -0
- package/docs/components/Tree.md +302 -0
- package/docs/llms.txt +121 -133
- package/harness/dev.harnesspm/patches/tasty-usage.patch.md +1 -1
- package/package.json +1 -1
- package/dist/_internal/hooks/use-debounced-value.js +0 -62
- package/dist/_internal/hooks/use-debounced-value.js.map +0 -1
- package/dist/_internal/hooks/use-deprecation-warning.js +0 -31
- package/dist/_internal/hooks/use-deprecation-warning.js.map +0 -1
- package/dist/_internal/hooks/use-event.js +0 -30
- package/dist/_internal/hooks/use-event.js.map +0 -1
- package/dist/_internal/hooks/use-is-first-render.js +0 -15
- package/dist/_internal/hooks/use-is-first-render.js.map +0 -1
- package/dist/_internal/hooks/use-sync-ref.js +0 -23
- package/dist/_internal/hooks/use-sync-ref.js.map +0 -1
- package/dist/_internal/hooks/use-timer/timer.js +0 -52
- package/dist/_internal/hooks/use-timer/timer.js.map +0 -1
- package/dist/_internal/hooks/use-timer/use-timer.js +0 -101
- package/dist/_internal/hooks/use-timer/use-timer.js.map +0 -1
- package/dist/_internal/hooks/use-warn.js +0 -34
- package/dist/_internal/hooks/use-warn.js.map +0 -1
- package/dist/components/Block.d.ts +0 -7
- package/dist/components/Block.js +0 -41
- package/dist/components/Block.js.map +0 -1
- package/dist/components/CollectionItem.d.ts +0 -34
- package/dist/components/CollectionItem.js +0 -104
- package/dist/components/CollectionItem.js.map +0 -1
- package/dist/components/GlobalStyles.js +0 -320
- package/dist/components/GlobalStyles.js.map +0 -1
- package/dist/components/GridProvider.d.ts +0 -17
- package/dist/components/GridProvider.js +0 -62
- package/dist/components/GridProvider.js.map +0 -1
- package/dist/components/HiddenInput.js +0 -32
- package/dist/components/HiddenInput.js.map +0 -1
- package/dist/components/Root.d.ts +0 -57
- package/dist/components/Root.js +0 -262
- package/dist/components/Root.js.map +0 -1
- package/dist/components/actions/Action/Action.d.ts +0 -19
- package/dist/components/actions/Action/Action.js +0 -51
- package/dist/components/actions/Action/Action.js.map +0 -1
- package/dist/components/actions/Banner/Banner.d.ts +0 -46
- package/dist/components/actions/Banner/Banner.js +0 -155
- package/dist/components/actions/Banner/Banner.js.map +0 -1
- package/dist/components/actions/Banner/index.d.ts +0 -3
- package/dist/components/actions/Button/AutoCollapseObserver.js +0 -215
- package/dist/components/actions/Button/AutoCollapseObserver.js.map +0 -1
- package/dist/components/actions/Button/Button.d.ts +0 -95
- package/dist/components/actions/Button/Button.js +0 -449
- package/dist/components/actions/Button/Button.js.map +0 -1
- package/dist/components/actions/Button/index.d.ts +0 -18
- package/dist/components/actions/Button/index.js +0 -13
- package/dist/components/actions/Button/index.js.map +0 -1
- package/dist/components/actions/ButtonGroup/ButtonGroup.d.ts +0 -6
- package/dist/components/actions/ButtonGroup/ButtonGroup.js +0 -31
- package/dist/components/actions/ButtonGroup/ButtonGroup.js.map +0 -1
- package/dist/components/actions/ButtonSplit/ButtonSplit.d.ts +0 -49
- package/dist/components/actions/ButtonSplit/ButtonSplit.js +0 -195
- package/dist/components/actions/ButtonSplit/ButtonSplit.js.map +0 -1
- package/dist/components/actions/ButtonSplit/context.d.ts +0 -15
- package/dist/components/actions/ButtonSplit/context.js +0 -11
- package/dist/components/actions/ButtonSplit/context.js.map +0 -1
- package/dist/components/actions/ButtonSplit/index.d.ts +0 -4
- package/dist/components/actions/CommandMenu/CommandMenu.d.ts +0 -70
- package/dist/components/actions/CommandMenu/CommandMenu.js +0 -549
- package/dist/components/actions/CommandMenu/CommandMenu.js.map +0 -1
- package/dist/components/actions/CommandMenu/index.d.ts +0 -3
- package/dist/components/actions/CommandMenu/styled.js +0 -102
- package/dist/components/actions/CommandMenu/styled.js.map +0 -1
- package/dist/components/actions/ItemAction/ItemAction.d.ts +0 -24
- package/dist/components/actions/ItemAction/ItemAction.js +0 -261
- package/dist/components/actions/ItemAction/ItemAction.js.map +0 -1
- package/dist/components/actions/ItemAction/index.d.ts +0 -3
- package/dist/components/actions/ItemActionContext.d.ts +0 -38
- package/dist/components/actions/ItemActionContext.js +0 -44
- package/dist/components/actions/ItemActionContext.js.map +0 -1
- package/dist/components/actions/ItemActionsWrapper.js +0 -449
- package/dist/components/actions/ItemActionsWrapper.js.map +0 -1
- package/dist/components/actions/ItemButton/ItemButton.d.ts +0 -31
- package/dist/components/actions/ItemButton/ItemButton.js +0 -91
- package/dist/components/actions/ItemButton/ItemButton.js.map +0 -1
- package/dist/components/actions/ItemButton/index.d.ts +0 -4
- package/dist/components/actions/Link/Link.d.ts +0 -6
- package/dist/components/actions/Link/Link.js +0 -26
- package/dist/components/actions/Link/Link.js.map +0 -1
- package/dist/components/actions/Menu/Menu.d.ts +0 -78
- package/dist/components/actions/Menu/Menu.js +0 -205
- package/dist/components/actions/Menu/Menu.js.map +0 -1
- package/dist/components/actions/Menu/MenuCollectionItem.d.ts +0 -17
- package/dist/components/actions/Menu/MenuCollectionItem.js +0 -38
- package/dist/components/actions/Menu/MenuCollectionItem.js.map +0 -1
- package/dist/components/actions/Menu/MenuItem.d.ts +0 -24
- package/dist/components/actions/Menu/MenuItem.js +0 -451
- package/dist/components/actions/Menu/MenuItem.js.map +0 -1
- package/dist/components/actions/Menu/MenuSection.d.ts +0 -15
- package/dist/components/actions/Menu/MenuSection.js +0 -97
- package/dist/components/actions/Menu/MenuSection.js.map +0 -1
- package/dist/components/actions/Menu/MenuTrigger.d.ts +0 -86
- package/dist/components/actions/Menu/MenuTrigger.js +0 -359
- package/dist/components/actions/Menu/MenuTrigger.js.map +0 -1
- package/dist/components/actions/Menu/SubMenuTrigger.d.ts +0 -48
- package/dist/components/actions/Menu/SubMenuTrigger.js +0 -243
- package/dist/components/actions/Menu/SubMenuTrigger.js.map +0 -1
- package/dist/components/actions/Menu/SubmenuTriggerContext.js +0 -8
- package/dist/components/actions/Menu/SubmenuTriggerContext.js.map +0 -1
- package/dist/components/actions/Menu/context.d.ts +0 -20
- package/dist/components/actions/Menu/context.js +0 -11
- package/dist/components/actions/Menu/context.js.map +0 -1
- package/dist/components/actions/Menu/index.d.ts +0 -9
- package/dist/components/actions/Menu/styled.js +0 -191
- package/dist/components/actions/Menu/styled.js.map +0 -1
- package/dist/components/actions/actions-run.js +0 -34
- package/dist/components/actions/actions-run.js.map +0 -1
- package/dist/components/actions/index.d.ts +0 -30
- package/dist/components/actions/touch-context-menu.js +0 -145
- package/dist/components/actions/touch-context-menu.js.map +0 -1
- package/dist/components/actions/use-action.d.ts +0 -61
- package/dist/components/actions/use-action.js +0 -275
- package/dist/components/actions/use-action.js.map +0 -1
- package/dist/components/actions/use-anchored-menu.d.ts +0 -43
- package/dist/components/actions/use-anchored-menu.js +0 -107
- package/dist/components/actions/use-anchored-menu.js.map +0 -1
- package/dist/components/actions/use-context-menu.d.ts +0 -52
- package/dist/components/actions/use-context-menu.js +0 -217
- package/dist/components/actions/use-context-menu.js.map +0 -1
- package/dist/components/content/ActiveZone/ActiveZone.d.ts +0 -13
- package/dist/components/content/ActiveZone/ActiveZone.js +0 -105
- package/dist/components/content/ActiveZone/ActiveZone.js.map +0 -1
- package/dist/components/content/Alert/Alert.d.ts +0 -6
- package/dist/components/content/Alert/Alert.js +0 -79
- package/dist/components/content/Alert/Alert.js.map +0 -1
- package/dist/components/content/Alert/types.d.ts +0 -43
- package/dist/components/content/Alert/use-alert.js +0 -71
- package/dist/components/content/Alert/use-alert.js.map +0 -1
- package/dist/components/content/Avatar/Avatar.d.ts +0 -11
- package/dist/components/content/Avatar/Avatar.js +0 -75
- package/dist/components/content/Avatar/Avatar.js.map +0 -1
- package/dist/components/content/Badge/Badge.d.ts +0 -12
- package/dist/components/content/Badge/Badge.js +0 -97
- package/dist/components/content/Badge/Badge.js.map +0 -1
- package/dist/components/content/Card/Card.d.ts +0 -17
- package/dist/components/content/Card/Card.js +0 -83
- package/dist/components/content/Card/Card.js.map +0 -1
- package/dist/components/content/Content.d.ts +0 -7
- package/dist/components/content/Content.js +0 -58
- package/dist/components/content/Content.js.map +0 -1
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.d.ts +0 -20
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +0 -169
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js.map +0 -1
- package/dist/components/content/CopyPasteBlock/index.d.ts +0 -3
- package/dist/components/content/CopySnippet/CopySnippet.d.ts +0 -45
- package/dist/components/content/CopySnippet/CopySnippet.js +0 -363
- package/dist/components/content/CopySnippet/CopySnippet.js.map +0 -1
- package/dist/components/content/CopySnippet/index.d.ts +0 -3
- package/dist/components/content/Disclosure/Disclosure.d.ts +0 -77
- package/dist/components/content/Disclosure/Disclosure.js +0 -593
- package/dist/components/content/Disclosure/Disclosure.js.map +0 -1
- package/dist/components/content/Disclosure/index.d.ts +0 -3
- package/dist/components/content/Divider/Divider.d.ts +0 -22
- package/dist/components/content/Divider/Divider.js +0 -159
- package/dist/components/content/Divider/Divider.js.map +0 -1
- package/dist/components/content/Footer.d.ts +0 -7
- package/dist/components/content/Footer.js +0 -52
- package/dist/components/content/Footer.js.map +0 -1
- package/dist/components/content/Header.d.ts +0 -7
- package/dist/components/content/Header.js +0 -53
- package/dist/components/content/Header.js.map +0 -1
- package/dist/components/content/HotKeys/HotKeys.d.ts +0 -15
- package/dist/components/content/HotKeys/HotKeys.js +0 -134
- package/dist/components/content/HotKeys/HotKeys.js.map +0 -1
- package/dist/components/content/HotKeys/index.d.ts +0 -3
- package/dist/components/content/InfoBadge/InfoBadge.d.ts +0 -49
- package/dist/components/content/InfoBadge/InfoBadge.js +0 -205
- package/dist/components/content/InfoBadge/InfoBadge.js.map +0 -1
- package/dist/components/content/InlineInput/InlineInput.d.ts +0 -120
- package/dist/components/content/InlineInput/InlineInput.js +0 -620
- package/dist/components/content/InlineInput/InlineInput.js.map +0 -1
- package/dist/components/content/InlineInput/index.d.ts +0 -3
- package/dist/components/content/Item/Item.d.ts +0 -215
- package/dist/components/content/Item/Item.js +0 -993
- package/dist/components/content/Item/Item.js.map +0 -1
- package/dist/components/content/Item/ItemWithNativeLinks.js +0 -309
- package/dist/components/content/Item/ItemWithNativeLinks.js.map +0 -1
- package/dist/components/content/Item/index.d.ts +0 -5
- package/dist/components/content/ItemBadge/ItemBadge.d.ts +0 -20
- package/dist/components/content/ItemBadge/ItemBadge.js +0 -147
- package/dist/components/content/ItemBadge/ItemBadge.js.map +0 -1
- package/dist/components/content/ItemBadge/index.d.ts +0 -2
- package/dist/components/content/ItemCard/ItemCard.d.ts +0 -18
- package/dist/components/content/ItemCard/ItemCard.js +0 -67
- package/dist/components/content/ItemCard/ItemCard.js.map +0 -1
- package/dist/components/content/Layout/GridLayout.d.ts +0 -40
- package/dist/components/content/Layout/GridLayout.js +0 -77
- package/dist/components/content/Layout/GridLayout.js.map +0 -1
- package/dist/components/content/Layout/Layout.d.ts +0 -39
- package/dist/components/content/Layout/Layout.js +0 -290
- package/dist/components/content/Layout/Layout.js.map +0 -1
- package/dist/components/content/Layout/LayoutBlock.d.ts +0 -8
- package/dist/components/content/Layout/LayoutBlock.js +0 -55
- package/dist/components/content/Layout/LayoutBlock.js.map +0 -1
- package/dist/components/content/Layout/LayoutCenter.d.ts +0 -18
- package/dist/components/content/Layout/LayoutCenter.js +0 -87
- package/dist/components/content/Layout/LayoutCenter.js.map +0 -1
- package/dist/components/content/Layout/LayoutContainer.d.ts +0 -20
- package/dist/components/content/Layout/LayoutContainer.js +0 -92
- package/dist/components/content/Layout/LayoutContainer.js.map +0 -1
- package/dist/components/content/Layout/LayoutContent.d.ts +0 -21
- package/dist/components/content/Layout/LayoutContent.js +0 -211
- package/dist/components/content/Layout/LayoutContent.js.map +0 -1
- package/dist/components/content/Layout/LayoutContext.d.ts +0 -6
- package/dist/components/content/Layout/LayoutContext.js +0 -321
- package/dist/components/content/Layout/LayoutContext.js.map +0 -1
- package/dist/components/content/Layout/LayoutFlex.d.ts +0 -8
- package/dist/components/content/Layout/LayoutFlex.js +0 -59
- package/dist/components/content/Layout/LayoutFlex.js.map +0 -1
- package/dist/components/content/Layout/LayoutFooter.d.ts +0 -11
- package/dist/components/content/Layout/LayoutFooter.js +0 -94
- package/dist/components/content/Layout/LayoutFooter.js.map +0 -1
- package/dist/components/content/Layout/LayoutGrid.d.ts +0 -16
- package/dist/components/content/Layout/LayoutGrid.js +0 -74
- package/dist/components/content/Layout/LayoutGrid.js.map +0 -1
- package/dist/components/content/Layout/LayoutHeader.d.ts +0 -33
- package/dist/components/content/Layout/LayoutHeader.js +0 -340
- package/dist/components/content/Layout/LayoutHeader.js.map +0 -1
- package/dist/components/content/Layout/LayoutPane.d.ts +0 -40
- package/dist/components/content/Layout/LayoutPane.js +0 -699
- package/dist/components/content/Layout/LayoutPane.js.map +0 -1
- package/dist/components/content/Layout/LayoutPanel.d.ts +0 -91
- package/dist/components/content/Layout/LayoutPanel.js +0 -570
- package/dist/components/content/Layout/LayoutPanel.js.map +0 -1
- package/dist/components/content/Layout/LayoutPanelHeader.d.ts +0 -20
- package/dist/components/content/Layout/LayoutPanelHeader.js +0 -90
- package/dist/components/content/Layout/LayoutPanelHeader.js.map +0 -1
- package/dist/components/content/Layout/LayoutPanelTransition.js +0 -122
- package/dist/components/content/Layout/LayoutPanelTransition.js.map +0 -1
- package/dist/components/content/Layout/LayoutResizeHandle.js +0 -312
- package/dist/components/content/Layout/LayoutResizeHandle.js.map +0 -1
- package/dist/components/content/Layout/LayoutToolbar.d.ts +0 -8
- package/dist/components/content/Layout/LayoutToolbar.js +0 -64
- package/dist/components/content/Layout/LayoutToolbar.js.map +0 -1
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js +0 -227
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js.map +0 -1
- package/dist/components/content/Layout/index.d.ts +0 -36
- package/dist/components/content/Layout/index.js +0 -35
- package/dist/components/content/Layout/index.js.map +0 -1
- package/dist/components/content/Layout/utils.js +0 -48
- package/dist/components/content/Layout/utils.js.map +0 -1
- package/dist/components/content/Paragraph.d.ts +0 -8
- package/dist/components/content/Paragraph.js +0 -43
- package/dist/components/content/Paragraph.js.map +0 -1
- package/dist/components/content/Placeholder/Placeholder.d.ts +0 -12
- package/dist/components/content/Placeholder/Placeholder.js +0 -90
- package/dist/components/content/Placeholder/Placeholder.js.map +0 -1
- package/dist/components/content/PrismCode/PrismCode.d.ts +0 -30
- package/dist/components/content/PrismCode/PrismCode.js +0 -112
- package/dist/components/content/PrismCode/PrismCode.js.map +0 -1
- package/dist/components/content/PrismCode/prismSetup.js +0 -153
- package/dist/components/content/PrismCode/prismSetup.js.map +0 -1
- package/dist/components/content/PrismDiffCode/PrismDiffCode.d.ts +0 -16
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js +0 -61
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js.map +0 -1
- package/dist/components/content/Result/Result.d.ts +0 -72
- package/dist/components/content/Result/Result.js +0 -319
- package/dist/components/content/Result/Result.js.map +0 -1
- package/dist/components/content/Skeleton/Skeleton.d.ts +0 -41
- package/dist/components/content/Skeleton/Skeleton.js +0 -178
- package/dist/components/content/Skeleton/Skeleton.js.map +0 -1
- package/dist/components/content/Tag/Tag.d.ts +0 -19
- package/dist/components/content/Tag/Tag.js +0 -143
- package/dist/components/content/Tag/Tag.js.map +0 -1
- package/dist/components/content/Text.d.ts +0 -44
- package/dist/components/content/Text.js +0 -128
- package/dist/components/content/Text.js.map +0 -1
- package/dist/components/content/TextItem/TextItem.d.ts +0 -46
- package/dist/components/content/TextItem/TextItem.js +0 -267
- package/dist/components/content/TextItem/TextItem.js.map +0 -1
- package/dist/components/content/TextItem/index.d.ts +0 -3
- package/dist/components/content/Title.d.ts +0 -17
- package/dist/components/content/Title.js +0 -175
- package/dist/components/content/Title.js.map +0 -1
- package/dist/components/content/Tree/Tree.d.ts +0 -24
- package/dist/components/content/Tree/Tree.js +0 -422
- package/dist/components/content/Tree/Tree.js.map +0 -1
- package/dist/components/content/Tree/TreeNode.js +0 -216
- package/dist/components/content/Tree/TreeNode.js.map +0 -1
- package/dist/components/content/Tree/checked-keys.js +0 -158
- package/dist/components/content/Tree/checked-keys.js.map +0 -1
- package/dist/components/content/Tree/rowId.js +0 -16
- package/dist/components/content/Tree/rowId.js.map +0 -1
- package/dist/components/content/Tree/styled.js +0 -214
- package/dist/components/content/Tree/styled.js.map +0 -1
- package/dist/components/content/Tree/tree-index.js +0 -53
- package/dist/components/content/Tree/tree-index.js.map +0 -1
- package/dist/components/content/Tree/types.d.ts +0 -278
- package/dist/components/content/Tree/use-checkbox-tree.js +0 -121
- package/dist/components/content/Tree/use-checkbox-tree.js.map +0 -1
- package/dist/components/content/Tree/use-load-data.js +0 -106
- package/dist/components/content/Tree/use-load-data.js.map +0 -1
- package/dist/components/content/highlightText.js +0 -25
- package/dist/components/content/highlightText.js.map +0 -1
- package/dist/components/content/use-auto-tooltip.d.ts +0 -10
- package/dist/components/content/use-auto-tooltip.js +0 -496
- package/dist/components/content/use-auto-tooltip.js.map +0 -1
- package/dist/components/data/DataTable/DataTable.d.ts +0 -12
- package/dist/components/data/DataTable/DataTable.js +0 -458
- package/dist/components/data/DataTable/DataTable.js.map +0 -1
- package/dist/components/data/DataTable/types.d.ts +0 -218
- package/dist/components/data/ItemTable/ItemTable.d.ts +0 -25
- package/dist/components/data/ItemTable/ItemTable.js +0 -672
- package/dist/components/data/ItemTable/ItemTable.js.map +0 -1
- package/dist/components/data/ItemTable/ItemTableBulkBar.d.ts +0 -20
- package/dist/components/data/ItemTable/ItemTableBulkBar.js +0 -131
- package/dist/components/data/ItemTable/ItemTableBulkBar.js.map +0 -1
- package/dist/components/data/ItemTable/ItemTableDragPreview.js +0 -82
- package/dist/components/data/ItemTable/ItemTableDragPreview.js.map +0 -1
- package/dist/components/data/ItemTable/ItemTableFooter.js +0 -120
- package/dist/components/data/ItemTable/ItemTableFooter.js.map +0 -1
- package/dist/components/data/ItemTable/ItemTableToolbar.d.ts +0 -23
- package/dist/components/data/ItemTable/ItemTableToolbar.js +0 -157
- package/dist/components/data/ItemTable/ItemTableToolbar.js.map +0 -1
- package/dist/components/data/ItemTable/item-table-sections.js +0 -68
- package/dist/components/data/ItemTable/item-table-sections.js.map +0 -1
- package/dist/components/data/ItemTable/types.d.ts +0 -371
- package/dist/components/data/ItemTable/use-item-table-column-widths.js +0 -97
- package/dist/components/data/ItemTable/use-item-table-column-widths.js.map +0 -1
- package/dist/components/data/ItemTable/use-item-table-drag-drop.js +0 -143
- package/dist/components/data/ItemTable/use-item-table-drag-drop.js.map +0 -1
- package/dist/components/data/ItemTable/use-item-table-pagination.js +0 -142
- package/dist/components/data/ItemTable/use-item-table-pagination.js.map +0 -1
- package/dist/components/data/ItemTable/use-item-table-selection.js +0 -144
- package/dist/components/data/ItemTable/use-item-table-selection.js.map +0 -1
- package/dist/components/data/ItemTable/use-item-table-sort.js +0 -134
- package/dist/components/data/ItemTable/use-item-table-sort.js.map +0 -1
- package/dist/components/data/ItemTable/use-item-table-tree-model.js +0 -106
- package/dist/components/data/ItemTable/use-item-table-tree-model.js.map +0 -1
- package/dist/components/data/TableBase/ColumnResizer.js +0 -118
- package/dist/components/data/TableBase/ColumnResizer.js.map +0 -1
- package/dist/components/data/TableBase/RowCollection.js +0 -101
- package/dist/components/data/TableBase/RowCollection.js.map +0 -1
- package/dist/components/data/TableBase/TableHeaderCell.js +0 -205
- package/dist/components/data/TableBase/TableHeaderCell.js.map +0 -1
- package/dist/components/data/TableBase/TableRow.js +0 -255
- package/dist/components/data/TableBase/TableRow.js.map +0 -1
- package/dist/components/data/TableBase/TableRowLink.js +0 -88
- package/dist/components/data/TableBase/TableRowLink.js.map +0 -1
- package/dist/components/data/TableBase/TableView.d.ts +0 -23
- package/dist/components/data/TableBase/TableView.js +0 -1544
- package/dist/components/data/TableBase/TableView.js.map +0 -1
- package/dist/components/data/TableBase/TreeGridTable.js +0 -142
- package/dist/components/data/TableBase/TreeGridTable.js.map +0 -1
- package/dist/components/data/TableBase/column-header.js +0 -157
- package/dist/components/data/TableBase/column-header.js.map +0 -1
- package/dist/components/data/TableBase/column-menu.d.ts +0 -34
- package/dist/components/data/TableBase/column-menu.js +0 -103
- package/dist/components/data/TableBase/column-menu.js.map +0 -1
- package/dist/components/data/TableBase/column-styles.js +0 -81
- package/dist/components/data/TableBase/column-styles.js.map +0 -1
- package/dist/components/data/TableBase/column-tint.js +0 -173
- package/dist/components/data/TableBase/column-tint.js.map +0 -1
- package/dist/components/data/TableBase/index.d.ts +0 -7
- package/dist/components/data/TableBase/row-menu.js +0 -44
- package/dist/components/data/TableBase/row-menu.js.map +0 -1
- package/dist/components/data/TableBase/styled.d.ts +0 -3
- package/dist/components/data/TableBase/styled.js +0 -853
- package/dist/components/data/TableBase/styled.js.map +0 -1
- package/dist/components/data/TableBase/table-body-sections.js +0 -30
- package/dist/components/data/TableBase/table-body-sections.js.map +0 -1
- package/dist/components/data/TableBase/table-tree.js +0 -129
- package/dist/components/data/TableBase/table-tree.js.map +0 -1
- package/dist/components/data/TableBase/types.d.ts +0 -319
- package/dist/components/data/TableBase/types.js +0 -31
- package/dist/components/data/TableBase/types.js.map +0 -1
- package/dist/components/data/TableBase/use-cell-selection.js +0 -0
- package/dist/components/data/TableBase/use-cell-selection.js.map +0 -1
- package/dist/components/data/TableBase/use-column-menu.js +0 -165
- package/dist/components/data/TableBase/use-column-menu.js.map +0 -1
- package/dist/components/data/TableBase/use-column-order.js +0 -142
- package/dist/components/data/TableBase/use-column-order.js.map +0 -1
- package/dist/components/data/TableBase/use-column-window.js +0 -218
- package/dist/components/data/TableBase/use-column-window.js.map +0 -1
- package/dist/components/data/TableBase/use-container-width.js +0 -48
- package/dist/components/data/TableBase/use-container-width.js.map +0 -1
- package/dist/components/data/TableBase/use-row-move-animation.js +0 -109
- package/dist/components/data/TableBase/use-row-move-animation.js.map +0 -1
- package/dist/components/data/TableBase/use-scrollability.js +0 -62
- package/dist/components/data/TableBase/use-scrollability.js.map +0 -1
- package/dist/components/data/TableBase/use-table-columns.d.ts +0 -2
- package/dist/components/data/TableBase/use-table-columns.js +0 -242
- package/dist/components/data/TableBase/use-table-columns.js.map +0 -1
- package/dist/components/data/TableBase/use-table-search.js +0 -133
- package/dist/components/data/TableBase/use-table-search.js.map +0 -1
- package/dist/components/data/TableBase/use-table-selection.js +0 -335
- package/dist/components/data/TableBase/use-table-selection.js.map +0 -1
- package/dist/components/data/TableBase/use-table-sort.js +0 -169
- package/dist/components/data/TableBase/use-table-sort.js.map +0 -1
- package/dist/components/data/TableBase/use-table-sorts.js +0 -164
- package/dist/components/data/TableBase/use-table-sorts.js.map +0 -1
- package/dist/components/data/TableBase/use-table-storage.d.ts +0 -6
- package/dist/components/data/TableBase/use-table-storage.js +0 -62
- package/dist/components/data/TableBase/use-table-storage.js.map +0 -1
- package/dist/components/data/TableBase/use-table-tooltip-refresh.js +0 -80
- package/dist/components/data/TableBase/use-table-tooltip-refresh.js.map +0 -1
- package/dist/components/data/TableBase/use-table-tree-state.js +0 -197
- package/dist/components/data/TableBase/use-table-tree-state.js.map +0 -1
- package/dist/components/data/index.d.ts +0 -12
- package/dist/components/fields/Checkbox/Checkbox.d.ts +0 -35
- package/dist/components/fields/Checkbox/Checkbox.js +0 -239
- package/dist/components/fields/Checkbox/Checkbox.js.map +0 -1
- package/dist/components/fields/Checkbox/CheckboxGroup.d.ts +0 -22
- package/dist/components/fields/Checkbox/CheckboxGroup.js +0 -156
- package/dist/components/fields/Checkbox/CheckboxGroup.js.map +0 -1
- package/dist/components/fields/Checkbox/context.js +0 -8
- package/dist/components/fields/Checkbox/context.js.map +0 -1
- package/dist/components/fields/ColorInput/ColorInput.d.ts +0 -81
- package/dist/components/fields/ColorInput/ColorInput.js +0 -427
- package/dist/components/fields/ColorInput/ColorInput.js.map +0 -1
- package/dist/components/fields/ColorInput/index.d.ts +0 -3
- package/dist/components/fields/ColorPicker/ColorPicker.d.ts +0 -83
- package/dist/components/fields/ColorPicker/ColorPicker.js +0 -393
- package/dist/components/fields/ColorPicker/ColorPicker.js.map +0 -1
- package/dist/components/fields/ColorPicker/index.d.ts +0 -3
- package/dist/components/fields/ColorSwatch/ColorSwatch.d.ts +0 -26
- package/dist/components/fields/ColorSwatch/ColorSwatch.js +0 -135
- package/dist/components/fields/ColorSwatch/ColorSwatch.js.map +0 -1
- package/dist/components/fields/ColorSwatch/index.d.ts +0 -3
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.d.ts +0 -48
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js +0 -484
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js.map +0 -1
- package/dist/components/fields/ColorSwatchGroup/index.d.ts +0 -3
- package/dist/components/fields/ComboBox/ComboBox.d.ts +0 -176
- package/dist/components/fields/ComboBox/ComboBox.js +0 -1402
- package/dist/components/fields/ComboBox/ComboBox.js.map +0 -1
- package/dist/components/fields/ComboBox/comboBoxOptions.js +0 -84
- package/dist/components/fields/ComboBox/comboBoxOptions.js.map +0 -1
- package/dist/components/fields/ComboBox/index.d.ts +0 -3
- package/dist/components/fields/CommandTextArea/CommandTextArea.d.ts +0 -126
- package/dist/components/fields/CommandTextArea/CommandTextArea.js +0 -410
- package/dist/components/fields/CommandTextArea/CommandTextArea.js.map +0 -1
- package/dist/components/fields/CommandTextArea/caretPosition.js +0 -89
- package/dist/components/fields/CommandTextArea/caretPosition.js.map +0 -1
- package/dist/components/fields/CommandTextArea/index.d.ts +0 -3
- package/dist/components/fields/CommandTextArea/useCaretAnchor.js +0 -106
- package/dist/components/fields/CommandTextArea/useCaretAnchor.js.map +0 -1
- package/dist/components/fields/DatePicker/CalendarPopover.js +0 -282
- package/dist/components/fields/DatePicker/CalendarPopover.js.map +0 -1
- package/dist/components/fields/DatePicker/DateInput.d.ts +0 -25
- package/dist/components/fields/DatePicker/DateInput.js +0 -79
- package/dist/components/fields/DatePicker/DateInput.js.map +0 -1
- package/dist/components/fields/DatePicker/DateInputBase.js +0 -213
- package/dist/components/fields/DatePicker/DateInputBase.js.map +0 -1
- package/dist/components/fields/DatePicker/DatePicker.d.ts +0 -38
- package/dist/components/fields/DatePicker/DatePicker.js +0 -156
- package/dist/components/fields/DatePicker/DatePicker.js.map +0 -1
- package/dist/components/fields/DatePicker/DatePickerButton.js +0 -72
- package/dist/components/fields/DatePicker/DatePickerButton.js.map +0 -1
- package/dist/components/fields/DatePicker/DatePickerElement.js +0 -18
- package/dist/components/fields/DatePicker/DatePickerElement.js.map +0 -1
- package/dist/components/fields/DatePicker/DatePickerInput.js +0 -53
- package/dist/components/fields/DatePicker/DatePickerInput.js.map +0 -1
- package/dist/components/fields/DatePicker/DatePickerSegment.js +0 -165
- package/dist/components/fields/DatePicker/DatePickerSegment.js.map +0 -1
- package/dist/components/fields/DatePicker/DateRangePicker.d.ts +0 -52
- package/dist/components/fields/DatePicker/DateRangePicker.js +0 -268
- package/dist/components/fields/DatePicker/DateRangePicker.js.map +0 -1
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.d.ts +0 -43
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +0 -425
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js.map +0 -1
- package/dist/components/fields/DatePicker/MonthPicker.d.ts +0 -9
- package/dist/components/fields/DatePicker/MonthPicker.js +0 -27
- package/dist/components/fields/DatePicker/MonthPicker.js.map +0 -1
- package/dist/components/fields/DatePicker/PeriodPicker.d.ts +0 -44
- package/dist/components/fields/DatePicker/PeriodPicker.js +0 -320
- package/dist/components/fields/DatePicker/PeriodPicker.js.map +0 -1
- package/dist/components/fields/DatePicker/QuarterPicker.d.ts +0 -9
- package/dist/components/fields/DatePicker/QuarterPicker.js +0 -27
- package/dist/components/fields/DatePicker/QuarterPicker.js.map +0 -1
- package/dist/components/fields/DatePicker/TimeInput.d.ts +0 -41
- package/dist/components/fields/DatePicker/TimeInput.js +0 -81
- package/dist/components/fields/DatePicker/TimeInput.js.map +0 -1
- package/dist/components/fields/DatePicker/WeekPicker.d.ts +0 -9
- package/dist/components/fields/DatePicker/WeekPicker.js +0 -27
- package/dist/components/fields/DatePicker/WeekPicker.js.map +0 -1
- package/dist/components/fields/DatePicker/YearPicker.d.ts +0 -9
- package/dist/components/fields/DatePicker/YearPicker.js +0 -27
- package/dist/components/fields/DatePicker/YearPicker.js.map +0 -1
- package/dist/components/fields/DatePicker/index.d.ts +0 -15
- package/dist/components/fields/DatePicker/parseDate.d.ts +0 -12
- package/dist/components/fields/DatePicker/parseDate.js +0 -34
- package/dist/components/fields/DatePicker/parseDate.js.map +0 -1
- package/dist/components/fields/DatePicker/period.d.ts +0 -33
- package/dist/components/fields/DatePicker/period.js +0 -57
- package/dist/components/fields/DatePicker/period.js.map +0 -1
- package/dist/components/fields/DatePicker/props.js +0 -17
- package/dist/components/fields/DatePicker/props.js.map +0 -1
- package/dist/components/fields/DatePicker/types.d.ts +0 -33
- package/dist/components/fields/DatePicker/utils.js +0 -55
- package/dist/components/fields/DatePicker/utils.js.map +0 -1
- package/dist/components/fields/FileInput/FileInput.d.ts +0 -41
- package/dist/components/fields/FileInput/FileInput.js +0 -423
- package/dist/components/fields/FileInput/FileInput.js.map +0 -1
- package/dist/components/fields/FilterListBox/FilterListBox.d.ts +0 -104
- package/dist/components/fields/FilterListBox/FilterListBox.js +0 -511
- package/dist/components/fields/FilterListBox/FilterListBox.js.map +0 -1
- package/dist/components/fields/FilterListBox/index.d.ts +0 -3
- package/dist/components/fields/FilterListBox/styled.js +0 -66
- package/dist/components/fields/FilterListBox/styled.js.map +0 -1
- package/dist/components/fields/FilterPicker/FilterPicker.d.ts +0 -207
- package/dist/components/fields/FilterPicker/FilterPicker.js +0 -545
- package/dist/components/fields/FilterPicker/FilterPicker.js.map +0 -1
- package/dist/components/fields/FilterPicker/FilterTree.js +0 -468
- package/dist/components/fields/FilterPicker/FilterTree.js.map +0 -1
- package/dist/components/fields/FilterPicker/index.d.ts +0 -3
- package/dist/components/fields/Input/Input.d.ts +0 -18
- package/dist/components/fields/Input/Input.js +0 -18
- package/dist/components/fields/Input/Input.js.map +0 -1
- package/dist/components/fields/Input/index.d.ts +0 -3
- package/dist/components/fields/ListBox/DraggableListBox.js +0 -36
- package/dist/components/fields/ListBox/DraggableListBox.js.map +0 -1
- package/dist/components/fields/ListBox/ListBox.d.ts +0 -194
- package/dist/components/fields/ListBox/ListBox.js +0 -1393
- package/dist/components/fields/ListBox/ListBox.js.map +0 -1
- package/dist/components/fields/ListBox/empty-row.js +0 -12
- package/dist/components/fields/ListBox/empty-row.js.map +0 -1
- package/dist/components/fields/ListBox/index.d.ts +0 -3
- package/dist/components/fields/ListBox/optionId.js +0 -16
- package/dist/components/fields/ListBox/optionId.js.map +0 -1
- package/dist/components/fields/ListBox/use-disabled-focus-reset.js +0 -66
- package/dist/components/fields/ListBox/use-disabled-focus-reset.js.map +0 -1
- package/dist/components/fields/ListBoxPopover/EmptyLabelStatus.js +0 -40
- package/dist/components/fields/ListBoxPopover/EmptyLabelStatus.js.map +0 -1
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +0 -349
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js.map +0 -1
- package/dist/components/fields/ListBoxPopover/listNavigation.d.ts +0 -22
- package/dist/components/fields/ListBoxPopover/listNavigation.js +0 -115
- package/dist/components/fields/ListBoxPopover/listNavigation.js.map +0 -1
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.d.ts +0 -41
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.js +0 -142
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.js.map +0 -1
- package/dist/components/fields/ListBoxPopover/useDelayedLoading.js +0 -44
- package/dist/components/fields/ListBoxPopover/useDelayedLoading.js.map +0 -1
- package/dist/components/fields/NumberInput/NumberInput.d.ts +0 -35
- package/dist/components/fields/NumberInput/NumberInput.js +0 -301
- package/dist/components/fields/NumberInput/NumberInput.js.map +0 -1
- package/dist/components/fields/NumberInput/StepButton.js +0 -92
- package/dist/components/fields/NumberInput/StepButton.js.map +0 -1
- package/dist/components/fields/PasswordInput/PasswordInput.d.ts +0 -18
- package/dist/components/fields/PasswordInput/PasswordInput.js +0 -158
- package/dist/components/fields/PasswordInput/PasswordInput.js.map +0 -1
- package/dist/components/fields/Picker/Picker.d.ts +0 -121
- package/dist/components/fields/Picker/Picker.js +0 -397
- package/dist/components/fields/Picker/Picker.js.map +0 -1
- package/dist/components/fields/Picker/index.d.ts +0 -3
- package/dist/components/fields/RadioGroup/Radio.d.ts +0 -100
- package/dist/components/fields/RadioGroup/Radio.js +0 -504
- package/dist/components/fields/RadioGroup/Radio.js.map +0 -1
- package/dist/components/fields/RadioGroup/RadioGroup.d.ts +0 -29
- package/dist/components/fields/RadioGroup/RadioGroup.js +0 -220
- package/dist/components/fields/RadioGroup/RadioGroup.js.map +0 -1
- package/dist/components/fields/RadioGroup/context.js +0 -11
- package/dist/components/fields/RadioGroup/context.js.map +0 -1
- package/dist/components/fields/RadioGroup/joined-styles.js +0 -101
- package/dist/components/fields/RadioGroup/joined-styles.js.map +0 -1
- package/dist/components/fields/SearchComboBox/SearchComboBox.d.ts +0 -154
- package/dist/components/fields/SearchComboBox/SearchComboBox.js +0 -479
- package/dist/components/fields/SearchComboBox/SearchComboBox.js.map +0 -1
- package/dist/components/fields/SearchComboBox/index.d.ts +0 -3
- package/dist/components/fields/SearchInput/SearchInput.d.ts +0 -24
- package/dist/components/fields/SearchInput/SearchInput.js +0 -132
- package/dist/components/fields/SearchInput/SearchInput.js.map +0 -1
- package/dist/components/fields/SearchInput/index.d.ts +0 -3
- package/dist/components/fields/Select/Select.d.ts +0 -174
- package/dist/components/fields/Select/Select.js +0 -874
- package/dist/components/fields/Select/Select.js.map +0 -1
- package/dist/components/fields/Select/index.d.ts +0 -3
- package/dist/components/fields/Slider/Gradation.js +0 -55
- package/dist/components/fields/Slider/Gradation.js.map +0 -1
- package/dist/components/fields/Slider/HueSlider.d.ts +0 -16
- package/dist/components/fields/Slider/HueSlider.js +0 -161
- package/dist/components/fields/Slider/HueSlider.js.map +0 -1
- package/dist/components/fields/Slider/RangeSlider.d.ts +0 -14
- package/dist/components/fields/Slider/RangeSlider.js +0 -94
- package/dist/components/fields/Slider/RangeSlider.js.map +0 -1
- package/dist/components/fields/Slider/Slider.d.ts +0 -20
- package/dist/components/fields/Slider/Slider.js +0 -148
- package/dist/components/fields/Slider/Slider.js.map +0 -1
- package/dist/components/fields/Slider/SliderBase.js +0 -354
- package/dist/components/fields/Slider/SliderBase.js.map +0 -1
- package/dist/components/fields/Slider/SliderThumb.js +0 -116
- package/dist/components/fields/Slider/SliderThumb.js.map +0 -1
- package/dist/components/fields/Slider/SliderTrack.js +0 -78
- package/dist/components/fields/Slider/SliderTrack.js.map +0 -1
- package/dist/components/fields/Slider/elements.js +0 -159
- package/dist/components/fields/Slider/elements.js.map +0 -1
- package/dist/components/fields/Slider/index.js +0 -6
- package/dist/components/fields/Slider/types.d.ts +0 -22
- package/dist/components/fields/Switch/Switch.d.ts +0 -32
- package/dist/components/fields/Switch/Switch.js +0 -258
- package/dist/components/fields/Switch/Switch.js.map +0 -1
- package/dist/components/fields/TagInput/TagInput.d.ts +0 -218
- package/dist/components/fields/TagInput/TagInput.js +0 -1242
- package/dist/components/fields/TagInput/TagInput.js.map +0 -1
- package/dist/components/fields/TagInput/TagList.js +0 -404
- package/dist/components/fields/TagInput/TagList.js.map +0 -1
- package/dist/components/fields/TagInput/index.d.ts +0 -3
- package/dist/components/fields/TagInput/useActiveOption.js +0 -121
- package/dist/components/fields/TagInput/useActiveOption.js.map +0 -1
- package/dist/components/fields/TagInput/useSuffixSpace.js +0 -62
- package/dist/components/fields/TagInput/useSuffixSpace.js.map +0 -1
- package/dist/components/fields/TagInput/useTagError.js +0 -94
- package/dist/components/fields/TagInput/useTagError.js.map +0 -1
- package/dist/components/fields/TextArea/TextArea.d.ts +0 -32
- package/dist/components/fields/TextArea/TextArea.js +0 -156
- package/dist/components/fields/TextArea/TextArea.js.map +0 -1
- package/dist/components/fields/TextArea/index.d.ts +0 -3
- package/dist/components/fields/TextInput/TextInput.d.ts +0 -20
- package/dist/components/fields/TextInput/TextInput.js +0 -108
- package/dist/components/fields/TextInput/TextInput.js.map +0 -1
- package/dist/components/fields/TextInput/TextInputBase.d.ts +0 -139
- package/dist/components/fields/TextInput/TextInputBase.js +0 -419
- package/dist/components/fields/TextInput/TextInputBase.js.map +0 -1
- package/dist/components/fields/TextInput/displayed-validation.js +0 -49
- package/dist/components/fields/TextInput/displayed-validation.js.map +0 -1
- package/dist/components/fields/TextInput/identifier-text-services.js +0 -20
- package/dist/components/fields/TextInput/identifier-text-services.js.map +0 -1
- package/dist/components/fields/TextInput/password-manager-ignore.js +0 -21
- package/dist/components/fields/TextInput/password-manager-ignore.js.map +0 -1
- package/dist/components/fields/TextInput/useAutoSizeTextArea.js +0 -145
- package/dist/components/fields/TextInput/useAutoSizeTextArea.js.map +0 -1
- package/dist/components/fields/TextInputMapper/TextInputMapper.d.ts +0 -49
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +0 -332
- package/dist/components/fields/TextInputMapper/TextInputMapper.js.map +0 -1
- package/dist/components/fields/TextInputMapper/index.d.ts +0 -3
- package/dist/components/fields/ToggleGroup/ToggleGroup.d.ts +0 -53
- package/dist/components/fields/ToggleGroup/ToggleGroup.js +0 -237
- package/dist/components/fields/ToggleGroup/ToggleGroup.js.map +0 -1
- package/dist/components/fields/ToggleGroup/ToggleGroupItem.d.ts +0 -29
- package/dist/components/fields/ToggleGroup/ToggleGroupItem.js +0 -169
- package/dist/components/fields/ToggleGroup/ToggleGroupItem.js.map +0 -1
- package/dist/components/fields/ToggleGroup/context.d.ts +0 -8
- package/dist/components/fields/ToggleGroup/context.js +0 -13
- package/dist/components/fields/ToggleGroup/context.js.map +0 -1
- package/dist/components/fields/ToggleGroup/index.d.ts +0 -5
- package/dist/components/fields/TriggerActions.js +0 -21
- package/dist/components/fields/TriggerActions.js.map +0 -1
- package/dist/components/fields/color/ColorPanel.js +0 -340
- package/dist/components/fields/color/ColorPanel.js.map +0 -1
- package/dist/components/fields/color/channels.d.ts +0 -11
- package/dist/components/fields/color/channels.js +0 -194
- package/dist/components/fields/color/channels.js.map +0 -1
- package/dist/components/fields/color/color.d.ts +0 -21
- package/dist/components/fields/color/color.js +0 -203
- package/dist/components/fields/color/color.js.map +0 -1
- package/dist/components/fields/color/context.js +0 -19
- package/dist/components/fields/color/context.js.map +0 -1
- package/dist/components/fields/color/index.d.ts +0 -4
- package/dist/components/fields/index.d.ts +0 -76
- package/dist/components/fields/option-origin-press.js +0 -78
- package/dist/components/fields/option-origin-press.js.map +0 -1
- package/dist/components/fields/popover-width.js +0 -24
- package/dist/components/fields/popover-width.js.map +0 -1
- package/dist/components/fields/search-text-services.d.ts +0 -14
- package/dist/components/fields/search-text-services.js +0 -18
- package/dist/components/fields/search-text-services.js.map +0 -1
- package/dist/components/form/FieldWrapper/FieldWrapper.d.ts +0 -40
- package/dist/components/form/FieldWrapper/FieldWrapper.js +0 -459
- package/dist/components/form/FieldWrapper/FieldWrapper.js.map +0 -1
- package/dist/components/form/FieldWrapper/field-description.js +0 -101
- package/dist/components/form/FieldWrapper/field-description.js.map +0 -1
- package/dist/components/form/FieldWrapper/types.d.ts +0 -53
- package/dist/components/form/Form/Field.d.ts +0 -20
- package/dist/components/form/Form/Field.js +0 -154
- package/dist/components/form/Form/Field.js.map +0 -1
- package/dist/components/form/Form/Form.d.ts +0 -37
- package/dist/components/form/Form/Form.js +0 -185
- package/dist/components/form/Form/Form.js.map +0 -1
- package/dist/components/form/Form/FormContext.d.ts +0 -30
- package/dist/components/form/Form/FormContext.js +0 -79
- package/dist/components/form/Form/FormContext.js.map +0 -1
- package/dist/components/form/Form/FormElement.js +0 -49
- package/dist/components/form/Form/FormElement.js.map +0 -1
- package/dist/components/form/Form/ModernFormRoot.d.ts +0 -22
- package/dist/components/form/Form/ModernFormRoot.js +0 -354
- package/dist/components/form/Form/ModernFormRoot.js.map +0 -1
- package/dist/components/form/Form/ResetButton/ResetButton.d.ts +0 -13
- package/dist/components/form/Form/ResetButton/ResetButton.js +0 -74
- package/dist/components/form/Form/ResetButton/ResetButton.js.map +0 -1
- package/dist/components/form/Form/ResetButton/index.d.ts +0 -3
- package/dist/components/form/Form/SubmitButton/SubmitButton.d.ts +0 -15
- package/dist/components/form/Form/SubmitButton/SubmitButton.js +0 -66
- package/dist/components/form/Form/SubmitButton/SubmitButton.js.map +0 -1
- package/dist/components/form/Form/SubmitButton/index.d.ts +0 -3
- package/dist/components/form/Form/SubmitError.d.ts +0 -16
- package/dist/components/form/Form/SubmitError.js +0 -156
- package/dist/components/form/Form/SubmitError.js.map +0 -1
- package/dist/components/form/Form/backend.d.ts +0 -23
- package/dist/components/form/Form/backend.js +0 -30
- package/dist/components/form/Form/backend.js.map +0 -1
- package/dist/components/form/Form/index.d.ts +0 -43
- package/dist/components/form/Form/index.js +0 -30
- package/dist/components/form/Form/index.js.map +0 -1
- package/dist/components/form/Form/modern/actions.js +0 -153
- package/dist/components/form/Form/modern/actions.js.map +0 -1
- package/dist/components/form/Form/modern/context.d.ts +0 -10
- package/dist/components/form/Form/modern/context.js +0 -13
- package/dist/components/form/Form/modern/context.js.map +0 -1
- package/dist/components/form/Form/modern/controller.d.ts +0 -32
- package/dist/components/form/Form/modern/controller.js +0 -58
- package/dist/components/form/Form/modern/controller.js.map +0 -1
- package/dist/components/form/Form/modern/field-binding.js +0 -58
- package/dist/components/form/Form/modern/field-binding.js.map +0 -1
- package/dist/components/form/Form/modern/field.d.ts +0 -29
- package/dist/components/form/Form/modern/field.js +0 -22
- package/dist/components/form/Form/modern/field.js.map +0 -1
- package/dist/components/form/Form/modern/path-types.d.ts +0 -15
- package/dist/components/form/Form/modern/react.d.ts +0 -23
- package/dist/components/form/Form/modern/react.js +0 -127
- package/dist/components/form/Form/modern/react.js.map +0 -1
- package/dist/components/form/Form/modern/read-types.d.ts +0 -10
- package/dist/components/form/Form/modern/store.js +0 -920
- package/dist/components/form/Form/modern/store.js.map +0 -1
- package/dist/components/form/Form/modern/types.d.ts +0 -194
- package/dist/components/form/Form/modern/validation.d.ts +0 -26
- package/dist/components/form/Form/modern/validation.js +0 -49
- package/dist/components/form/Form/modern/validation.js.map +0 -1
- package/dist/components/form/Form/modern/values.d.ts +0 -6
- package/dist/components/form/Form/modern/values.js +0 -166
- package/dist/components/form/Form/modern/values.js.map +0 -1
- package/dist/components/form/Form/reset-unbound-controls.js +0 -37
- package/dist/components/form/Form/reset-unbound-controls.js.map +0 -1
- package/dist/components/form/Form/types.d.ts +0 -21
- package/dist/components/form/Form/use-field/types.d.ts +0 -59
- package/dist/components/form/Form/use-field/use-field-binding.js +0 -270
- package/dist/components/form/Form/use-field/use-field-binding.js.map +0 -1
- package/dist/components/form/Form/use-field/use-field-props.d.ts +0 -63
- package/dist/components/form/Form/use-field/use-field-props.js +0 -189
- package/dist/components/form/Form/use-field/use-field-props.js.map +0 -1
- package/dist/components/form/Form/use-field/use-field.d.ts +0 -19
- package/dist/components/form/Form/use-field/use-field.js +0 -164
- package/dist/components/form/Form/use-field/use-field.js.map +0 -1
- package/dist/components/form/Form/use-form.d.ts +0 -84
- package/dist/components/form/Form/use-form.js +0 -344
- package/dist/components/form/Form/use-form.js.map +0 -1
- package/dist/components/form/Form/validation.js +0 -132
- package/dist/components/form/Form/validation.js.map +0 -1
- package/dist/components/form/Label.d.ts +0 -58
- package/dist/components/form/Label.js +0 -240
- package/dist/components/form/Label.js.map +0 -1
- package/dist/components/form/field-chrome.js +0 -55
- package/dist/components/form/field-chrome.js.map +0 -1
- package/dist/components/form/field-layout.d.ts +0 -20
- package/dist/components/form/field-layout.js +0 -114
- package/dist/components/form/field-layout.js.map +0 -1
- package/dist/components/form/index.d.ts +0 -33
- package/dist/components/form/legacy-tooltip.js +0 -40
- package/dist/components/form/legacy-tooltip.js.map +0 -1
- package/dist/components/form/validation/ValidationIndicator.d.ts +0 -21
- package/dist/components/form/validation/ValidationIndicator.js +0 -51
- package/dist/components/form/validation/ValidationIndicator.js.map +0 -1
- package/dist/components/form/validation/index.d.ts +0 -5
- package/dist/components/form/validation/resolve-validation-props.d.ts +0 -39
- package/dist/components/form/validation/resolve-validation-props.js +0 -49
- package/dist/components/form/validation/resolve-validation-props.js.map +0 -1
- package/dist/components/form/validation/use-validation-props.d.ts +0 -14
- package/dist/components/form/validation/use-validation-props.js +0 -54
- package/dist/components/form/validation/use-validation-props.js.map +0 -1
- package/dist/components/form/wrapper.d.ts +0 -32
- package/dist/components/form/wrapper.js +0 -63
- package/dist/components/form/wrapper.js.map +0 -1
- package/dist/components/helpers/DisplayTransition/DisplayTransition.d.ts +0 -41
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js +0 -259
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js.map +0 -1
- package/dist/components/helpers/IconSwitch/IconSwitch.d.ts +0 -24
- package/dist/components/helpers/IconSwitch/IconSwitch.js +0 -124
- package/dist/components/helpers/IconSwitch/IconSwitch.js.map +0 -1
- package/dist/components/layout/Flex.d.ts +0 -7
- package/dist/components/layout/Flex.js +0 -44
- package/dist/components/layout/Flex.js.map +0 -1
- package/dist/components/layout/Flow.d.ts +0 -7
- package/dist/components/layout/Flow.js +0 -45
- package/dist/components/layout/Flow.js.map +0 -1
- package/dist/components/layout/Grid.d.ts +0 -7
- package/dist/components/layout/Grid.js +0 -51
- package/dist/components/layout/Grid.js.map +0 -1
- package/dist/components/layout/Panel.d.ts +0 -24
- package/dist/components/layout/Panel.js +0 -189
- package/dist/components/layout/Panel.js.map +0 -1
- package/dist/components/layout/Prefix.d.ts +0 -12
- package/dist/components/layout/Prefix.js +0 -89
- package/dist/components/layout/Prefix.js.map +0 -1
- package/dist/components/layout/ResizablePanel.d.ts +0 -25
- package/dist/components/layout/ResizablePanel.js +0 -438
- package/dist/components/layout/ResizablePanel.js.map +0 -1
- package/dist/components/layout/Space.d.ts +0 -9
- package/dist/components/layout/Space.js +0 -79
- package/dist/components/layout/Space.js.map +0 -1
- package/dist/components/layout/Suffix.d.ts +0 -12
- package/dist/components/layout/Suffix.js +0 -88
- package/dist/components/layout/Suffix.js.map +0 -1
- package/dist/components/navigation/NavTabs/NavTabs.d.ts +0 -66
- package/dist/components/navigation/NavTabs/NavTabs.js +0 -369
- package/dist/components/navigation/NavTabs/NavTabs.js.map +0 -1
- package/dist/components/navigation/NavTabs/index.d.ts +0 -3
- package/dist/components/navigation/Pagination/Pagination.d.ts +0 -7
- package/dist/components/navigation/Pagination/Pagination.js +0 -374
- package/dist/components/navigation/Pagination/Pagination.js.map +0 -1
- package/dist/components/navigation/Pagination/types.d.ts +0 -79
- package/dist/components/navigation/Pagination/use-pagination.d.ts +0 -47
- package/dist/components/navigation/Pagination/use-pagination.js +0 -125
- package/dist/components/navigation/Pagination/use-pagination.js.map +0 -1
- package/dist/components/navigation/Tabs/BoardDragActiveProvider.d.ts +0 -33
- package/dist/components/navigation/Tabs/BoardDragActiveProvider.js +0 -56
- package/dist/components/navigation/Tabs/BoardDragActiveProvider.js.map +0 -1
- package/dist/components/navigation/Tabs/DraggableTabList.js +0 -40
- package/dist/components/navigation/Tabs/DraggableTabList.js.map +0 -1
- package/dist/components/navigation/Tabs/TabButton.js +0 -797
- package/dist/components/navigation/Tabs/TabButton.js.map +0 -1
- package/dist/components/navigation/Tabs/TabDropIndicator.js +0 -90
- package/dist/components/navigation/Tabs/TabDropIndicator.js.map +0 -1
- package/dist/components/navigation/Tabs/TabPanel.js +0 -136
- package/dist/components/navigation/Tabs/TabPanel.js.map +0 -1
- package/dist/components/navigation/Tabs/TabPicker.js +0 -142
- package/dist/components/navigation/Tabs/TabPicker.js.map +0 -1
- package/dist/components/navigation/Tabs/Tabs.d.ts +0 -61
- package/dist/components/navigation/Tabs/Tabs.js +0 -518
- package/dist/components/navigation/Tabs/Tabs.js.map +0 -1
- package/dist/components/navigation/Tabs/TabsAction.d.ts +0 -42
- package/dist/components/navigation/Tabs/TabsAction.js +0 -105
- package/dist/components/navigation/Tabs/TabsAction.js.map +0 -1
- package/dist/components/navigation/Tabs/TabsContext.js +0 -38
- package/dist/components/navigation/Tabs/TabsContext.js.map +0 -1
- package/dist/components/navigation/Tabs/popover-placement.js +0 -21
- package/dist/components/navigation/Tabs/popover-placement.js.map +0 -1
- package/dist/components/navigation/Tabs/scroll-tab-into-strip.js +0 -60
- package/dist/components/navigation/Tabs/scroll-tab-into-strip.js.map +0 -1
- package/dist/components/navigation/Tabs/segmented-styles.js +0 -53
- package/dist/components/navigation/Tabs/segmented-styles.js.map +0 -1
- package/dist/components/navigation/Tabs/styled.js +0 -426
- package/dist/components/navigation/Tabs/styled.js.map +0 -1
- package/dist/components/navigation/Tabs/types.d.ts +0 -290
- package/dist/components/navigation/Tabs/types.js +0 -15
- package/dist/components/navigation/Tabs/types.js.map +0 -1
- package/dist/components/navigation/Tabs/use-tab-editing.js +0 -76
- package/dist/components/navigation/Tabs/use-tab-editing.js.map +0 -1
- package/dist/components/navigation/Tabs/use-tab-indicator.js +0 -100
- package/dist/components/navigation/Tabs/use-tab-indicator.js.map +0 -1
- package/dist/components/navigation/index.d.ts +0 -13
- package/dist/components/organisms/StatsCard/StatsCard.d.ts +0 -12
- package/dist/components/organisms/StatsCard/StatsCard.js +0 -75
- package/dist/components/organisms/StatsCard/StatsCard.js.map +0 -1
- package/dist/components/other/Calendar/Calendar.js +0 -100
- package/dist/components/other/Calendar/Calendar.js.map +0 -1
- package/dist/components/other/Calendar/CalendarCell.js +0 -98
- package/dist/components/other/Calendar/CalendarCell.js.map +0 -1
- package/dist/components/other/Calendar/CalendarGrid.js +0 -125
- package/dist/components/other/Calendar/CalendarGrid.js.map +0 -1
- package/dist/components/other/Calendar/CalendarHeader.js +0 -124
- package/dist/components/other/Calendar/CalendarHeader.js.map +0 -1
- package/dist/components/other/Calendar/CalendarPanel.js +0 -601
- package/dist/components/other/Calendar/CalendarPanel.js.map +0 -1
- package/dist/components/other/Calendar/PeriodCalendar.js +0 -483
- package/dist/components/other/Calendar/PeriodCalendar.js.map +0 -1
- package/dist/components/other/Calendar/PeriodGrid.js +0 -143
- package/dist/components/other/Calendar/PeriodGrid.js.map +0 -1
- package/dist/components/other/Calendar/RangeCalendar.js +0 -68
- package/dist/components/other/Calendar/RangeCalendar.js.map +0 -1
- package/dist/components/other/Calendar/styled.js +0 -63
- package/dist/components/other/Calendar/styled.js.map +0 -1
- package/dist/components/other/CubeLogo/CubeLogo.d.ts +0 -14
- package/dist/components/other/CubeLogo/CubeLogo.js +0 -206
- package/dist/components/other/CubeLogo/CubeLogo.js.map +0 -1
- package/dist/components/other/NoDataIcon/NoDataIcon.d.ts +0 -34
- package/dist/components/other/NoDataIcon/NoDataIcon.js +0 -55
- package/dist/components/other/NoDataIcon/NoDataIcon.js.map +0 -1
- package/dist/components/other/NoDataIcon/index.d.ts +0 -3
- package/dist/components/overlays/AlertDialog/AlertDialog.d.ts +0 -30
- package/dist/components/overlays/AlertDialog/AlertDialog.js +0 -146
- package/dist/components/overlays/AlertDialog/AlertDialog.js.map +0 -1
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.d.ts +0 -75
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +0 -292
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js.map +0 -1
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js +0 -183
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js.map +0 -1
- package/dist/components/overlays/AlertDialog/types.d.ts +0 -46
- package/dist/components/overlays/Dialog/Dialog.d.ts +0 -46
- package/dist/components/overlays/Dialog/Dialog.js +0 -344
- package/dist/components/overlays/Dialog/Dialog.js.map +0 -1
- package/dist/components/overlays/Dialog/DialogContainer.d.ts +0 -42
- package/dist/components/overlays/Dialog/DialogContainer.js +0 -137
- package/dist/components/overlays/Dialog/DialogContainer.js.map +0 -1
- package/dist/components/overlays/Dialog/DialogForm.d.ts +0 -48
- package/dist/components/overlays/Dialog/DialogForm.js +0 -95
- package/dist/components/overlays/Dialog/DialogForm.js.map +0 -1
- package/dist/components/overlays/Dialog/DialogTrigger.d.ts +0 -76
- package/dist/components/overlays/Dialog/DialogTrigger.js +0 -494
- package/dist/components/overlays/Dialog/DialogTrigger.js.map +0 -1
- package/dist/components/overlays/Dialog/ModernDialogForm.js +0 -361
- package/dist/components/overlays/Dialog/ModernDialogForm.js.map +0 -1
- package/dist/components/overlays/Dialog/context.js +0 -23
- package/dist/components/overlays/Dialog/context.js.map +0 -1
- package/dist/components/overlays/Dialog/default-button-text.js +0 -30
- package/dist/components/overlays/Dialog/default-button-text.js.map +0 -1
- package/dist/components/overlays/Dialog/use-content-overflow.js +0 -67
- package/dist/components/overlays/Dialog/use-content-overflow.js.map +0 -1
- package/dist/components/overlays/Dialog/use-dialog-container.d.ts +0 -19
- package/dist/components/overlays/Dialog/use-dialog-container.js +0 -64
- package/dist/components/overlays/Dialog/use-dialog-container.js.map +0 -1
- package/dist/components/overlays/Dialog/use-dialog-open-sync.js +0 -82
- package/dist/components/overlays/Dialog/use-dialog-open-sync.js.map +0 -1
- package/dist/components/overlays/Dialog/use-dismiss-confirmation.js +0 -220
- package/dist/components/overlays/Dialog/use-dismiss-confirmation.js.map +0 -1
- package/dist/components/overlays/Dialog/use-retained-dialog-focus.js +0 -386
- package/dist/components/overlays/Dialog/use-retained-dialog-focus.js.map +0 -1
- package/dist/components/overlays/Modal/Modal.js +0 -248
- package/dist/components/overlays/Modal/Modal.js.map +0 -1
- package/dist/components/overlays/Modal/OpenTransitionContext.js +0 -11
- package/dist/components/overlays/Modal/OpenTransitionContext.js.map +0 -1
- package/dist/components/overlays/Modal/Overlay.js +0 -105
- package/dist/components/overlays/Modal/Overlay.js.map +0 -1
- package/dist/components/overlays/Modal/Popover.js +0 -200
- package/dist/components/overlays/Modal/Popover.js.map +0 -1
- package/dist/components/overlays/Modal/Tray.js +0 -232
- package/dist/components/overlays/Modal/Tray.js.map +0 -1
- package/dist/components/overlays/Modal/Underlay.js +0 -71
- package/dist/components/overlays/Modal/Underlay.js.map +0 -1
- package/dist/components/overlays/Modal/modal-containment.js +0 -144
- package/dist/components/overlays/Modal/modal-containment.js.map +0 -1
- package/dist/components/overlays/Modal/types.d.ts +0 -11
- package/dist/components/overlays/Notifications/Notification.js +0 -115
- package/dist/components/overlays/Notifications/Notification.js.map +0 -1
- package/dist/components/overlays/Notifications/NotificationAction.d.ts +0 -18
- package/dist/components/overlays/Notifications/NotificationAction.js +0 -112
- package/dist/components/overlays/Notifications/NotificationAction.js.map +0 -1
- package/dist/components/overlays/Notifications/NotificationCard.d.ts +0 -43
- package/dist/components/overlays/Notifications/NotificationCard.js +0 -241
- package/dist/components/overlays/Notifications/NotificationCard.js.map +0 -1
- package/dist/components/overlays/Notifications/NotificationContext.d.ts +0 -7
- package/dist/components/overlays/Notifications/NotificationContext.js +0 -33
- package/dist/components/overlays/Notifications/NotificationContext.js.map +0 -1
- package/dist/components/overlays/Notifications/NotificationItem.d.ts +0 -12
- package/dist/components/overlays/Notifications/NotificationItem.js +0 -113
- package/dist/components/overlays/Notifications/NotificationItem.js.map +0 -1
- package/dist/components/overlays/Notifications/OverlayContainer.js +0 -609
- package/dist/components/overlays/Notifications/OverlayContainer.js.map +0 -1
- package/dist/components/overlays/Notifications/OverlayProvider.d.ts +0 -7
- package/dist/components/overlays/Notifications/OverlayProvider.js +0 -68
- package/dist/components/overlays/Notifications/OverlayProvider.js.map +0 -1
- package/dist/components/overlays/Notifications/PersistentNotificationsList.d.ts +0 -23
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js +0 -280
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js.map +0 -1
- package/dist/components/overlays/Notifications/dismissed-storage.js +0 -43
- package/dist/components/overlays/Notifications/dismissed-storage.js.map +0 -1
- package/dist/components/overlays/Notifications/format-relative-time.d.ts +0 -23
- package/dist/components/overlays/Notifications/format-relative-time.js +0 -44
- package/dist/components/overlays/Notifications/format-relative-time.js.map +0 -1
- package/dist/components/overlays/Notifications/index.d.ts +0 -42
- package/dist/components/overlays/Notifications/index.js +0 -39
- package/dist/components/overlays/Notifications/index.js.map +0 -1
- package/dist/components/overlays/Notifications/types.d.ts +0 -135
- package/dist/components/overlays/Notifications/use-notification-state.js +0 -224
- package/dist/components/overlays/Notifications/use-notification-state.js.map +0 -1
- package/dist/components/overlays/Notifications/use-notifications.d.ts +0 -40
- package/dist/components/overlays/Notifications/use-notifications.js +0 -147
- package/dist/components/overlays/Notifications/use-notifications.js.map +0 -1
- package/dist/components/overlays/Notifications/use-overlay-timers.js +0 -132
- package/dist/components/overlays/Notifications/use-overlay-timers.js.map +0 -1
- package/dist/components/overlays/Notifications/use-persistent-notifications.d.ts +0 -52
- package/dist/components/overlays/Notifications/use-persistent-notifications.js +0 -88
- package/dist/components/overlays/Notifications/use-persistent-notifications.js.map +0 -1
- package/dist/components/overlays/Notifications/use-persistent-state.js +0 -179
- package/dist/components/overlays/Notifications/use-persistent-state.js.map +0 -1
- package/dist/components/overlays/Notifications/use-toast-state.js +0 -107
- package/dist/components/overlays/Notifications/use-toast-state.js.map +0 -1
- package/dist/components/overlays/Toast/ToastItem.d.ts +0 -20
- package/dist/components/overlays/Toast/ToastItem.js +0 -97
- package/dist/components/overlays/Toast/ToastItem.js.map +0 -1
- package/dist/components/overlays/Toast/ToastProvider.d.ts +0 -3
- package/dist/components/overlays/Toast/index.d.ts +0 -53
- package/dist/components/overlays/Toast/index.js +0 -145
- package/dist/components/overlays/Toast/index.js.map +0 -1
- package/dist/components/overlays/Toast/types.d.ts +0 -76
- package/dist/components/overlays/Toast/useProgressToast.d.ts +0 -33
- package/dist/components/overlays/Toast/useProgressToast.js +0 -191
- package/dist/components/overlays/Toast/useProgressToast.js.map +0 -1
- package/dist/components/overlays/Toast/useToast.d.ts +0 -34
- package/dist/components/overlays/Toast/useToast.js +0 -87
- package/dist/components/overlays/Toast/useToast.js.map +0 -1
- package/dist/components/overlays/Tooltip/Tooltip.d.ts +0 -33
- package/dist/components/overlays/Tooltip/Tooltip.js +0 -255
- package/dist/components/overlays/Tooltip/Tooltip.js.map +0 -1
- package/dist/components/overlays/Tooltip/TooltipProvider.d.ts +0 -21
- package/dist/components/overlays/Tooltip/TooltipProvider.js +0 -110
- package/dist/components/overlays/Tooltip/TooltipProvider.js.map +0 -1
- package/dist/components/overlays/Tooltip/TooltipTrigger.d.ts +0 -58
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +0 -403
- package/dist/components/overlays/Tooltip/TooltipTrigger.js.map +0 -1
- package/dist/components/overlays/Tooltip/context.js +0 -8
- package/dist/components/overlays/Tooltip/context.js.map +0 -1
- package/dist/components/overlays/Tooltip/split-trigger-props.d.ts +0 -15
- package/dist/components/overlays/Tooltip/split-trigger-props.js +0 -54
- package/dist/components/overlays/Tooltip/split-trigger-props.js.map +0 -1
- package/dist/components/portal/Portal.d.ts +0 -29
- package/dist/components/portal/Portal.js +0 -55
- package/dist/components/portal/Portal.js.map +0 -1
- package/dist/components/portal/PortalProvider.d.ts +0 -2
- package/dist/components/portal/PortalProvider.js +0 -29
- package/dist/components/portal/PortalProvider.js.map +0 -1
- package/dist/components/portal/index.d.ts +0 -5
- package/dist/components/portal/types.d.ts +0 -25
- package/dist/components/portal/usePortal.js +0 -86
- package/dist/components/portal/usePortal.js.map +0 -1
- package/dist/components/shared/DraggableCollection.js +0 -323
- package/dist/components/shared/DraggableCollection.js.map +0 -1
- package/dist/components/shared/InvalidIcon.js +0 -12
- package/dist/components/shared/InvalidIcon.js.map +0 -1
- package/dist/components/shared/ValidIcon.js +0 -12
- package/dist/components/shared/ValidIcon.js.map +0 -1
- package/dist/components/shared/disabled-behavior.js +0 -30
- package/dist/components/shared/disabled-behavior.js.map +0 -1
- package/dist/components/shared/virtual-width.js +0 -76
- package/dist/components/shared/virtual-width.js.map +0 -1
- package/dist/components/status/LoadingAnimation/LoadingAnimation.d.ts +0 -9
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js +0 -293
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js.map +0 -1
- package/dist/components/status/LoadingAnimation/index.d.ts +0 -3
- package/dist/components/status/Spin/Cube.js +0 -113
- package/dist/components/status/Spin/Cube.js.map +0 -1
- package/dist/components/status/Spin/InternalSpinner.js +0 -46
- package/dist/components/status/Spin/InternalSpinner.js.map +0 -1
- package/dist/components/status/Spin/Spin.d.ts +0 -6
- package/dist/components/status/Spin/Spin.js +0 -43
- package/dist/components/status/Spin/Spin.js.map +0 -1
- package/dist/components/status/Spin/SpinsContainer.js +0 -48
- package/dist/components/status/Spin/SpinsContainer.js.map +0 -1
- package/dist/components/status/Spin/types.d.ts +0 -21
- package/dist/components/status/index.d.ts +0 -7
- package/dist/data/item-themes.d.ts +0 -6
- package/dist/data/item-themes.js +0 -949
- package/dist/data/item-themes.js.map +0 -1
- package/dist/data/themes.d.ts +0 -37
- package/dist/data/themes.js +0 -38
- package/dist/data/themes.js.map +0 -1
- package/dist/i18n/createFormatter.d.ts +0 -58
- package/dist/i18n/createFormatter.js +0 -148
- package/dist/i18n/createFormatter.js.map +0 -1
- package/dist/i18n/index.js +0 -21
- package/dist/i18n/index.js.map +0 -1
- package/dist/i18n/useFormatter.d.ts +0 -24
- package/dist/i18n/useFormatter.js +0 -38
- package/dist/i18n/useFormatter.js.map +0 -1
- package/dist/i18n/useI18n.js +0 -19
- package/dist/i18n/useI18n.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/props.d.ts +0 -12
- package/dist/provider.d.ts +0 -25
- package/dist/provider.js +0 -76
- package/dist/provider.js.map +0 -1
- package/dist/providers/navigationAdapter.default.d.ts +0 -10
- package/dist/providers/navigationAdapter.default.js +0 -40
- package/dist/providers/navigationAdapter.default.js.map +0 -1
- package/dist/shared/form.d.ts +0 -227
- package/dist/shared/index.d.ts +0 -9
- package/dist/utils/react/RenderCache.d.ts +0 -16
- package/dist/utils/react/RenderCache.js +0 -29
- package/dist/utils/react/RenderCache.js.map +0 -1
- package/dist/utils/react/Slots.d.ts +0 -7
- package/dist/utils/react/Slots.js +0 -82
- package/dist/utils/react/Slots.js.map +0 -1
- package/dist/utils/react/chain.d.ts +0 -8
- package/dist/utils/react/chain.js +0 -14
- package/dist/utils/react/chain.js.map +0 -1
- package/dist/utils/react/componentBaseProps.d.ts +0 -9
- package/dist/utils/react/componentBaseProps.js +0 -15
- package/dist/utils/react/componentBaseProps.js.map +0 -1
- package/dist/utils/react/disabledProps.d.ts +0 -51
- package/dist/utils/react/disabledProps.js +0 -118
- package/dist/utils/react/disabledProps.js.map +0 -1
- package/dist/utils/react/forwardRefWithGenerics.d.ts +0 -14
- package/dist/utils/react/forwardRefWithGenerics.js +0 -17
- package/dist/utils/react/forwardRefWithGenerics.js.map +0 -1
- package/dist/utils/react/index.d.ts +0 -23
- package/dist/utils/react/index.js +0 -23
- package/dist/utils/react/interactions.js +0 -96
- package/dist/utils/react/interactions.js.map +0 -1
- package/dist/utils/react/isTextOnly.d.ts +0 -5
- package/dist/utils/react/isTextOnly.js +0 -10
- package/dist/utils/react/isTextOnly.js.map +0 -1
- package/dist/utils/react/mapProps.js +0 -14
- package/dist/utils/react/mapProps.js.map +0 -1
- package/dist/utils/react/mergeProps.d.ts +0 -17
- package/dist/utils/react/mergeProps.js +0 -35
- package/dist/utils/react/mergeProps.js.map +0 -1
- package/dist/utils/react/nullableValue.d.ts +0 -9
- package/dist/utils/react/nullableValue.js +0 -38
- package/dist/utils/react/nullableValue.js.map +0 -1
- package/dist/utils/react/overlayKeyPropagation.js +0 -83
- package/dist/utils/react/overlayKeyPropagation.js.map +0 -1
- package/dist/utils/react/pickBaseCustomizationProps.d.ts +0 -2
- package/dist/utils/react/pickBaseCustomizationProps.js +0 -16
- package/dist/utils/react/pickBaseCustomizationProps.js.map +0 -1
- package/dist/utils/react/programmaticFocus.js +0 -58
- package/dist/utils/react/programmaticFocus.js.map +0 -1
- package/dist/utils/react/resolveIcon.d.ts +0 -27
- package/dist/utils/react/resolveIcon.js +0 -41
- package/dist/utils/react/resolveIcon.js.map +0 -1
- package/dist/utils/react/sharedStore.js +0 -49
- package/dist/utils/react/sharedStore.js.map +0 -1
- package/dist/utils/react/useBufferedValue.d.ts +0 -55
- package/dist/utils/react/useBufferedValue.js +0 -85
- package/dist/utils/react/useBufferedValue.js.map +0 -1
- package/dist/utils/react/useCombinedRefs.d.ts +0 -7
- package/dist/utils/react/useCombinedRefs.js +0 -38
- package/dist/utils/react/useCombinedRefs.js.map +0 -1
- package/dist/utils/react/useControlledFocusVisible.d.ts +0 -14
- package/dist/utils/react/useControlledFocusVisible.js +0 -69
- package/dist/utils/react/useControlledFocusVisible.js.map +0 -1
- package/dist/utils/react/useEventBus.d.ts +0 -88
- package/dist/utils/react/useEventBus.js +0 -158
- package/dist/utils/react/useEventBus.js.map +0 -1
- package/dist/utils/react/useId.js +0 -56
- package/dist/utils/react/useId.js.map +0 -1
- package/dist/utils/react/useIsDarwin.js +0 -48
- package/dist/utils/react/useIsDarwin.js.map +0 -1
- package/dist/utils/react/useKeySymbols.js +0 -81
- package/dist/utils/react/useKeySymbols.js.map +0 -1
- package/dist/utils/react/useLayoutEffect.d.ts +0 -7
- package/dist/utils/react/useLayoutEffect.js +0 -8
- package/dist/utils/react/useLayoutEffect.js.map +0 -1
- package/dist/utils/react/useLocalStorage.d.ts +0 -37
- package/dist/utils/react/useLocalStorage.js +0 -144
- package/dist/utils/react/useLocalStorage.js.map +0 -1
- package/dist/utils/react/useMergeStyles.d.ts +0 -29
- package/dist/utils/react/useMergeStyles.js +0 -39
- package/dist/utils/react/useMergeStyles.js.map +0 -1
- package/dist/utils/react/useOpenKey.js +0 -52
- package/dist/utils/react/useOpenKey.js.map +0 -1
- package/dist/utils/react/useOverlayEscapeGuard.js +0 -72
- package/dist/utils/react/useOverlayEscapeGuard.js.map +0 -1
- package/dist/utils/react/useOverlayPosition.js +0 -177
- package/dist/utils/react/useOverlayPosition.js.map +0 -1
- package/dist/utils/react/usePopoverSync.d.ts +0 -105
- package/dist/utils/react/usePopoverSync.js +0 -282
- package/dist/utils/react/usePopoverSync.js.map +0 -1
- package/dist/utils/react/useQaProps.d.ts +0 -23
- package/dist/utils/react/useQaProps.js +0 -33
- package/dist/utils/react/useQaProps.js.map +0 -1
- package/dist/utils/react/useScheme.d.ts +0 -57
- package/dist/utils/react/useScheme.js +0 -183
- package/dist/utils/react/useScheme.js.map +0 -1
- package/dist/utils/react/useViewportSize.d.ts +0 -13
- package/dist/utils/react/useViewportSize.js +0 -59
- package/dist/utils/react/useViewportSize.js.map +0 -1
- package/dist/utils/react/wrapNodeIfPlain.d.ts +0 -6
- package/dist/utils/react/wrapNodeIfPlain.js +0 -12
- package/dist/utils/react/wrapNodeIfPlain.js.map +0 -1
- package/docs/components/actions/Action.md +0 -59
- package/docs/components/actions/Banner.md +0 -222
- package/docs/components/actions/Button.md +0 -352
- package/docs/components/actions/ButtonGroup.md +0 -57
- package/docs/components/actions/ButtonSplit.md +0 -236
- package/docs/components/actions/CommandMenu.md +0 -482
- package/docs/components/actions/ItemAction.md +0 -88
- package/docs/components/actions/ItemButton.md +0 -330
- package/docs/components/actions/Link.md +0 -334
- package/docs/components/actions/Menu.md +0 -616
- package/docs/components/actions/MenuTrigger.md +0 -107
- package/docs/components/actions/SubMenuTrigger.md +0 -55
- package/docs/components/content/ActiveZone.md +0 -55
- package/docs/components/content/Alert.md +0 -69
- package/docs/components/content/Avatar.md +0 -48
- package/docs/components/content/Badge.md +0 -208
- package/docs/components/content/Card.md +0 -65
- package/docs/components/content/Content.md +0 -56
- package/docs/components/content/CopyPasteBlock.md +0 -44
- package/docs/components/content/CopySnippet.md +0 -62
- package/docs/components/content/Disclosure.md +0 -192
- package/docs/components/content/Divider.md +0 -133
- package/docs/components/content/Footer.md +0 -47
- package/docs/components/content/Header.md +0 -47
- package/docs/components/content/HotKeys.md +0 -364
- package/docs/components/content/InfoBadge.md +0 -51
- package/docs/components/content/InlineInput.md +0 -338
- package/docs/components/content/Item.md +0 -568
- package/docs/components/content/ItemBadge.md +0 -36
- package/docs/components/content/ItemCard.md +0 -205
- package/docs/components/content/Layout.md +0 -1010
- package/docs/components/content/Paragraph.md +0 -51
- package/docs/components/content/Placeholder.md +0 -64
- package/docs/components/content/PrismCode.md +0 -54
- package/docs/components/content/PrismDiffCode.md +0 -29
- package/docs/components/content/Result.md +0 -276
- package/docs/components/content/Skeleton.md +0 -63
- package/docs/components/content/Tag.md +0 -186
- package/docs/components/content/Text.md +0 -61
- package/docs/components/content/TextItem.md +0 -237
- package/docs/components/content/Title.md +0 -62
- package/docs/components/content/Tree.md +0 -302
- package/docs/components/data/DataTable.md +0 -416
- package/docs/components/data/ItemTable.md +0 -820
- package/docs/components/fields/Checkbox.md +0 -196
- package/docs/components/fields/ColorInput.md +0 -248
- package/docs/components/fields/ColorPicker.md +0 -195
- package/docs/components/fields/ColorSwatch.md +0 -136
- package/docs/components/fields/ColorSwatchGroup.md +0 -183
- package/docs/components/fields/ComboBox.md +0 -841
- package/docs/components/fields/CommandTextArea.md +0 -135
- package/docs/components/fields/DatePicker.md +0 -230
- package/docs/components/fields/FileInput.md +0 -194
- package/docs/components/fields/FilterListBox.md +0 -865
- package/docs/components/fields/FilterPicker.md +0 -1136
- package/docs/components/fields/HueSlider.md +0 -185
- package/docs/components/fields/ListBox.md +0 -893
- package/docs/components/fields/NumberInput.md +0 -259
- package/docs/components/fields/PasswordInput.md +0 -279
- package/docs/components/fields/PeriodPicker.md +0 -95
- package/docs/components/fields/Picker.md +0 -1045
- package/docs/components/fields/RadioGroup.md +0 -407
- package/docs/components/fields/SearchComboBox.md +0 -267
- package/docs/components/fields/SearchInput.md +0 -251
- package/docs/components/fields/Select.md +0 -678
- package/docs/components/fields/Slider.md +0 -77
- package/docs/components/fields/Switch.md +0 -177
- package/docs/components/fields/TagInput.md +0 -495
- package/docs/components/fields/TextArea.md +0 -132
- package/docs/components/fields/TextInput.md +0 -300
- package/docs/components/fields/TextInputMapper.md +0 -76
- package/docs/components/fields/ToggleGroup.md +0 -223
- package/docs/components/form/Field.md +0 -345
- package/docs/components/form/Form.md +0 -167
- package/docs/components/form/ModernForm.md +0 -294
- package/docs/components/helpers/IconSwitch.md +0 -161
- package/docs/components/layout/Flex.md +0 -62
- package/docs/components/layout/Flow.md +0 -43
- package/docs/components/layout/Grid.md +0 -57
- package/docs/components/layout/Panel.md +0 -77
- package/docs/components/layout/Prefix.md +0 -48
- package/docs/components/layout/ResizablePanel.md +0 -84
- package/docs/components/layout/Space.md +0 -55
- package/docs/components/layout/Suffix.md +0 -50
- package/docs/components/navigation/NavTabs.md +0 -207
- package/docs/components/navigation/Pagination.md +0 -206
- package/docs/components/navigation/Tabs.md +0 -981
- package/docs/components/organisms/StatsCard.md +0 -52
- package/docs/components/other/Calendar.md +0 -170
- package/docs/components/other/CubeLogo.md +0 -84
- package/docs/components/other/NoDataIcon.md +0 -48
- package/docs/components/overlays/AlertDialog.md +0 -260
- package/docs/components/overlays/Dialog.md +0 -282
- package/docs/components/overlays/DialogContainer.md +0 -247
- package/docs/components/overlays/DialogForm.md +0 -173
- package/docs/components/overlays/DialogTrigger.md +0 -238
- package/docs/components/overlays/Notifications.md +0 -426
- package/docs/components/overlays/Toast.md +0 -291
- package/docs/components/overlays/Tooltip.md +0 -370
- package/docs/components/overlays/TooltipProvider.md +0 -63
- package/docs/components/overlays/TooltipTrigger.md +0 -58
- package/docs/components/portal/Portal.md +0 -33
- package/docs/components/status/LoadingAnimation.md +0 -53
- package/docs/components/status/Spin.md +0 -46
- /package/dist/components/{content/Alert → Alert}/index.d.ts +0 -0
- /package/dist/components/{overlays/AlertDialog → AlertDialog}/AlertDialogZone.d.ts +0 -0
- /package/dist/components/{overlays/AlertDialog → AlertDialog}/index.d.ts +0 -0
- /package/dist/components/{fields/Checkbox → Checkbox}/index.d.ts +0 -0
- /package/dist/components/{data/DataTable → DataTable}/index.d.ts +0 -0
- /package/dist/components/{overlays/Dialog → Dialog}/index.d.ts +0 -0
- /package/dist/components/{form/FieldWrapper → FieldWrapper}/index.d.ts +0 -0
- /package/dist/components/{form/Form → Form}/use-field/index.d.ts +0 -0
- /package/dist/components/{data/ItemTable → ItemTable}/index.d.ts +0 -0
- /package/dist/components/{overlays/Modal → Modal}/Overlay.d.ts +0 -0
- /package/dist/components/{navigation/Pagination → Pagination}/index.d.ts +0 -0
- /package/dist/components/{fields/RadioGroup → RadioGroup}/index.d.ts +0 -0
- /package/dist/components/{fields/Slider → Slider}/index.d.ts +0 -0
- /package/dist/components/{status/Spin → Spin}/index.d.ts +0 -0
- /package/dist/components/{data/TableBase → TableBase}/RowCollection.d.ts +0 -0
- /package/dist/components/{data/TableBase → TableBase}/table-body-sections.d.ts +0 -0
- /package/dist/components/{data/TableBase → TableBase}/table-tree.d.ts +0 -0
- /package/dist/components/{data/TableBase → TableBase}/use-cell-selection.d.ts +0 -0
- /package/dist/components/{data/TableBase → TableBase}/use-table-selection.d.ts +0 -0
- /package/dist/components/{navigation/Tabs → Tabs}/index.d.ts +0 -0
- /package/dist/components/{fields/TextInput → TextInput}/index.d.ts +0 -0
- /package/dist/components/{content/Tree → Tree}/index.d.ts +0 -0
- /package/docs/components/{helpers/DisplayTransition.md → DisplayTransition.md} +0 -0
- /package/docs/components/{form/FormInstance.md → FormInstance.md} +0 -0
- /package/docs/{RenderCache.md → components/RenderCache.md} +0 -0
- /package/docs/{Typography.md → components/Typography.md} +0 -0
- /package/docs/components/{overlays/UseDialogContainer.md → UseDialogContainer.md} +0 -0
- /package/docs/components/{form/modern-form-migration.md → modern-form-migration.md} +0 -0
- /package/docs/components/{actions/use-anchored-menu.md → use-anchored-menu.md} +0 -0
- /package/docs/components/{actions/use-context-menu.md → use-context-menu.md} +0 -0
|
@@ -0,0 +1,1544 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.225.0 | Cube Dev Team */
|
|
2
|
+
import { useSlotProps } from "../../providers/SlotProvider.js";
|
|
3
|
+
import { useEvent } from "../../hooks/use-event.js";
|
|
4
|
+
import { TooltipProvider } from "../Tooltip/TooltipProvider.js";
|
|
5
|
+
import { TextItemWithNativeLink } from "../TextItem/TextItem.js";
|
|
6
|
+
import { ItemAction } from "../ItemAction/ItemAction.js";
|
|
7
|
+
import { useI18n } from "../../i18n/use-i18n.js";
|
|
8
|
+
import { useToast } from "../Toast/use-toast.js";
|
|
9
|
+
import { usePaletteVersion } from "../../tokens/palette-config.js";
|
|
10
|
+
import { SIZES, SIZE_NAME_TO_KEY } from "../../tokens/sizes.js";
|
|
11
|
+
import { DirectionIcon } from "../../icons/DirectionIcon.js";
|
|
12
|
+
import { MoreIcon } from "../../icons/MoreIcon.js";
|
|
13
|
+
import { Checkbox as __Checkbox } from "../Checkbox/Checkbox.js";
|
|
14
|
+
import { MenuTrigger as _MenuTrigger } from "../Menu/MenuTrigger.js";
|
|
15
|
+
import { Menu as __Menu } from "../Menu/Menu.js";
|
|
16
|
+
import { TOUCH_CONTEXT_MENU_ATTRIBUTE, bindTouchContextMenu } from "../Menu/touch-context-menu.js";
|
|
17
|
+
import { useContextMenu } from "../Menu/use-context-menu.js";
|
|
18
|
+
import { Placeholder, PlaceholderGroupContext } from "../Placeholder/Placeholder.js";
|
|
19
|
+
import { Skeleton } from "../Skeleton/Skeleton.js";
|
|
20
|
+
import { getColorTheme, useColorTheme } from "../../tokens/color-theme.js";
|
|
21
|
+
import { TableElement, TableHeaderItem, TableTreeToggle, TableTreeTogglePlaceholder } from "./styled.js";
|
|
22
|
+
import { renderColumnHeaderContent, resolveColumnSort } from "./column-header.js";
|
|
23
|
+
import { columnCellClassName } from "./column-styles.js";
|
|
24
|
+
import { buildColumnTints, tintSlot } from "./column-tint.js";
|
|
25
|
+
import { ColumnResizer } from "./ColumnResizer.js";
|
|
26
|
+
import { isMenuEmpty, normalizeMenuAction } from "./row-menu.js";
|
|
27
|
+
import { buildTableBodyItems } from "./table-body-sections.js";
|
|
28
|
+
import { TableHeaderCell } from "./TableHeaderCell.js";
|
|
29
|
+
import { TableRow, TableRowDropIndicator } from "./TableRow.js";
|
|
30
|
+
import { TableRowLink } from "./TableRowLink.js";
|
|
31
|
+
import { TreeGridTable } from "./TreeGridTable.js";
|
|
32
|
+
import { selectionRowKey } from "./types.js";
|
|
33
|
+
import { toTsv } from "./use-cell-selection.js";
|
|
34
|
+
import { useColumnMenu } from "./use-column-menu.js";
|
|
35
|
+
import { getDraggableColumnKeys, isColumnDraggable } from "./use-column-order.js";
|
|
36
|
+
import { canWindowColumns, useColumnWindow } from "./use-column-window.js";
|
|
37
|
+
import { useRowMoveAnimation } from "./use-row-move-animation.js";
|
|
38
|
+
import { useScrollability } from "./use-scrollability.js";
|
|
39
|
+
import { getColumnText, getColumnValue } from "./use-table-columns.js";
|
|
40
|
+
import "./use-table-selection.js";
|
|
41
|
+
import { useTableTooltipRefresh } from "./use-table-tooltip-refresh.js";
|
|
42
|
+
import { c } from "react/compiler-runtime";
|
|
43
|
+
import { useGlobalStyles } from "@tenphi/tasty";
|
|
44
|
+
import { Fragment, useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
45
|
+
import clsx from "clsx";
|
|
46
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
47
|
+
import { VisuallyHidden } from "react-aria";
|
|
48
|
+
import { getInteractionModality } from "@react-aria/interactions";
|
|
49
|
+
import { useVirtualizer } from "@tanstack/react-virtual";
|
|
50
|
+
//#region src/components/TableBase/TableView.tsx
|
|
51
|
+
const CELL_CONTROL_SELECTOR = "a,button,input,select,textarea,label[for],label:has(button,input,select,textarea),[tabindex],[contenteditable=\"\"],[contenteditable=\"true\"],[contenteditable=\"plaintext-only\"],[role=\"button\"],[role=\"checkbox\"],[role=\"switch\"],[role=\"menuitem\"],[role=\"menuitemcheckbox\"],[role=\"menuitemradio\"],[role=\"radio\"],[role=\"textbox\"],[role=\"combobox\"],[role=\"slider\"],[role=\"spinbutton\"],[role=\"link\"]";
|
|
52
|
+
const NATIVE_CELL_CONTROL_SELECTOR = `:where([data-element=CellContent][data-native-row-content]) :where(${CELL_CONTROL_SELECTOR})`;
|
|
53
|
+
const NATIVE_CELL_CONTROL_STYLES = {
|
|
54
|
+
position: "relative",
|
|
55
|
+
zIndex: 1
|
|
56
|
+
};
|
|
57
|
+
function isCellControl(target, row) {
|
|
58
|
+
const control = target.closest(CELL_CONTROL_SELECTOR);
|
|
59
|
+
return control != null && control !== row;
|
|
60
|
+
}
|
|
61
|
+
function flatRowTabStop(restingRow, visibleRow, mountedRows, range, recordIndices) {
|
|
62
|
+
if (!mountedRows || !restingRow) return restingRow;
|
|
63
|
+
const restingIndex = recordIndices?.[restingRow.index] ?? restingRow.index;
|
|
64
|
+
if (range && restingIndex >= range.startIndex && restingIndex <= range.endIndex) return restingRow;
|
|
65
|
+
return visibleRow && mountedRows.some((item) => item.index === (recordIndices?.[visibleRow.index] ?? visibleRow.index)) ? visibleRow : null;
|
|
66
|
+
}
|
|
67
|
+
function scrollerTabStop(hasCellSelection, hasRowNavigation, restingRow, tabStopRow) {
|
|
68
|
+
if (hasRowNavigation && restingRow && !tabStopRow) return 0;
|
|
69
|
+
return hasCellSelection || hasRowNavigation ? -1 : void 0;
|
|
70
|
+
}
|
|
71
|
+
/** Correct native table/header geometry only when completing row focus. */
|
|
72
|
+
function revealFocusedRow(row, scroller, isHeaderSticky) {
|
|
73
|
+
if (scroller.scrollHeight <= scroller.clientHeight) return;
|
|
74
|
+
const viewport = scroller.getBoundingClientRect();
|
|
75
|
+
const bounds = row.getBoundingClientRect();
|
|
76
|
+
const header = row.closest("table")?.tHead;
|
|
77
|
+
const headerHeight = isHeaderSticky ? header?.getBoundingClientRect().height ?? 0 : 0;
|
|
78
|
+
const top = viewport.top + scroller.clientTop + headerHeight;
|
|
79
|
+
const bottom = viewport.top + scroller.clientTop + scroller.clientHeight;
|
|
80
|
+
if (bounds.top >= top && bounds.bottom <= bottom) return;
|
|
81
|
+
const delta = bounds.top < top || bounds.height > bottom - top ? bounds.top - top : bounds.bottom - bottom;
|
|
82
|
+
scroller.scrollTop += delta;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* The same block as an HTML table, so a spreadsheet keeps the cell boundaries.
|
|
86
|
+
*
|
|
87
|
+
* Pasting `text/plain` TSV works, but Excel and Sheets then re-guess the types
|
|
88
|
+
* of every field; the HTML flavour is what makes a value that looks like a date
|
|
89
|
+
* stay the text it was on screen.
|
|
90
|
+
*/
|
|
91
|
+
function toClipboardHtml(matrix) {
|
|
92
|
+
return `<table>${matrix.map((row) => `<tr>${row.map((cell) => `<td>${escapeHtml(cell)}</td>`).join("")}</tr>`).join("")}</table>`;
|
|
93
|
+
}
|
|
94
|
+
function escapeHtml(value) {
|
|
95
|
+
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
96
|
+
}
|
|
97
|
+
const ARIA_SORT = {
|
|
98
|
+
asc: "ascending",
|
|
99
|
+
desc: "descending"
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Registers one column tint's tokens.
|
|
103
|
+
*
|
|
104
|
+
* A component per theme rather than a loop of `useColorTheme` calls: the number
|
|
105
|
+
* of tinted columns is data-dependent, and hooks cannot be called in a loop. Each
|
|
106
|
+
* of these has a fixed hook count, and mounting a different NUMBER of them is
|
|
107
|
+
* fine. Keyed on the theme name, so remounting only happens when the set of
|
|
108
|
+
* colours actually changes.
|
|
109
|
+
*
|
|
110
|
+
* Renders nothing — `useColorTheme` injects into a global slot keyed by the
|
|
111
|
+
* theme's own hash, so two tables sharing a colour share one injection and
|
|
112
|
+
* neither can evict the other's.
|
|
113
|
+
*/
|
|
114
|
+
function ColumnTintRegistrar(t0) {
|
|
115
|
+
const { config } = t0;
|
|
116
|
+
useColorTheme(config);
|
|
117
|
+
return null;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Content height per size step, mirroring `$row-height` in `styled.ts`. Only the
|
|
121
|
+
* initial estimate — every rendered row is measured, so a wrong guess costs a
|
|
122
|
+
* scrollbar adjustment, not a layout bug. The `+ 1` is the row separator.
|
|
123
|
+
*/
|
|
124
|
+
/** Enough to read as "more is coming" without pretending to know how much. */
|
|
125
|
+
/**
|
|
126
|
+
* Ceiling on the load-more placeholder burst.
|
|
127
|
+
*
|
|
128
|
+
* These rows are not virtualized — they sit after the window, at the end of the
|
|
129
|
+
* body — so the count is real DOM. 50 rows is already taller than any viewport,
|
|
130
|
+
* which is all the burst has to be.
|
|
131
|
+
*/
|
|
132
|
+
const MAX_LOAD_MORE_SKELETON_ROWS = 50;
|
|
133
|
+
/**
|
|
134
|
+
* Floor on the prefetch distance, for a table too short to measure usefully —
|
|
135
|
+
* an unbounded one reports a viewport of nearly zero before it has any rows.
|
|
136
|
+
*/
|
|
137
|
+
const MIN_LOAD_MORE_MARGIN = 200;
|
|
138
|
+
const ESTIMATED_ROW_HEIGHT = {
|
|
139
|
+
xsmall: 28,
|
|
140
|
+
small: 32,
|
|
141
|
+
medium: 40,
|
|
142
|
+
large: 48,
|
|
143
|
+
xlarge: 56
|
|
144
|
+
};
|
|
145
|
+
const ESTIMATED_HEADER_HEIGHT = {
|
|
146
|
+
xsmall: 24,
|
|
147
|
+
small: 28,
|
|
148
|
+
medium: 32,
|
|
149
|
+
large: 40,
|
|
150
|
+
xlarge: 48
|
|
151
|
+
};
|
|
152
|
+
function pinStyle(column) {
|
|
153
|
+
if (column.pinOffset == null) return void 0;
|
|
154
|
+
return { ["--pin-offset"]: `${column.pinOffset}px` };
|
|
155
|
+
}
|
|
156
|
+
/** Reuse the adapter's measured scrollport; captions need no width observer. */
|
|
157
|
+
function sectionCaptionTokens(layout, tableWidth) {
|
|
158
|
+
if (!layout) return void 0;
|
|
159
|
+
return {
|
|
160
|
+
"$section-table-width": tableWidth != null ? `${tableWidth}px` : "100%",
|
|
161
|
+
"$section-viewport-width": layout.viewportWidth != null ? `${layout.viewportWidth}px` : "100%"
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
/** Default text keeps its tooltip tree while the virtual window moves. */
|
|
165
|
+
function TableCellContent(t0) {
|
|
166
|
+
const $ = c(8);
|
|
167
|
+
const { column, row, rowIndex, nativeLinkProps } = t0;
|
|
168
|
+
let t1;
|
|
169
|
+
if ($[0] !== column || $[1] !== row || $[2] !== rowIndex) {
|
|
170
|
+
t1 = getColumnText(column, row, rowIndex);
|
|
171
|
+
$[0] = column;
|
|
172
|
+
$[1] = row;
|
|
173
|
+
$[2] = rowIndex;
|
|
174
|
+
$[3] = t1;
|
|
175
|
+
} else t1 = $[3];
|
|
176
|
+
const text = t1;
|
|
177
|
+
let t2;
|
|
178
|
+
if ($[4] !== column.autoHeight || $[5] !== nativeLinkProps || $[6] !== text) {
|
|
179
|
+
t2 = column.autoHeight || text == null ? text : /* @__PURE__ */ jsx(TextItemWithNativeLink, {
|
|
180
|
+
nativeLinkProps,
|
|
181
|
+
children: text
|
|
182
|
+
});
|
|
183
|
+
$[4] = column.autoHeight;
|
|
184
|
+
$[5] = nativeLinkProps;
|
|
185
|
+
$[6] = text;
|
|
186
|
+
$[7] = t2;
|
|
187
|
+
} else t2 = $[7];
|
|
188
|
+
return t2;
|
|
189
|
+
}
|
|
190
|
+
function renderCellValue(rendered, autoHeight, nativeLinkProps) {
|
|
191
|
+
const isText = typeof rendered === "string" || typeof rendered === "number" || typeof rendered === "bigint";
|
|
192
|
+
return isText && !autoHeight ? /* @__PURE__ */ jsx(TextItemWithNativeLink, {
|
|
193
|
+
nativeLinkProps,
|
|
194
|
+
children: String(rendered)
|
|
195
|
+
}) : isText ? String(rendered) : rendered != null && typeof rendered !== "boolean" ? /* @__PURE__ */ jsx("div", {
|
|
196
|
+
"data-element": "CellContent",
|
|
197
|
+
"data-native-row-content": nativeLinkProps ? "" : void 0,
|
|
198
|
+
children: rendered
|
|
199
|
+
}) : rendered;
|
|
200
|
+
}
|
|
201
|
+
function renderCellContent(column, row, rowIndex, ctx, nativeLinkProps) {
|
|
202
|
+
if (!column.render) return column.isStructural ? null : /* @__PURE__ */ jsx(TableCellContent, {
|
|
203
|
+
column,
|
|
204
|
+
row,
|
|
205
|
+
rowIndex,
|
|
206
|
+
nativeLinkProps
|
|
207
|
+
});
|
|
208
|
+
return renderCellValue(column.render(column.isStructural ? void 0 : getColumnValue(column, row, rowIndex), row, rowIndex, ctx), column.autoHeight, nativeLinkProps);
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* A tree column's cell content: indented to the row's level, with the expand
|
|
212
|
+
* toggle — or a placeholder holding its place on a leaf — before the value.
|
|
213
|
+
*/
|
|
214
|
+
function renderTreeCellContent(entry, isExpanded, expandButtonProps, content) {
|
|
215
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
216
|
+
"data-element": "TreeContent",
|
|
217
|
+
style: { "--tree-level": String(entry.level) },
|
|
218
|
+
children: [entry.children.length > 0 ? /* @__PURE__ */ jsx(TableTreeToggle, {
|
|
219
|
+
...expandButtonProps,
|
|
220
|
+
"data-element": "TreeToggle",
|
|
221
|
+
tabIndex: -1,
|
|
222
|
+
children: /* @__PURE__ */ jsx(DirectionIcon, { to: isExpanded ? "bottom" : "right" })
|
|
223
|
+
}) : /* @__PURE__ */ jsx(TableTreeTogglePlaceholder, {
|
|
224
|
+
"data-element": "TreeToggle",
|
|
225
|
+
"aria-hidden": "true"
|
|
226
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
227
|
+
"data-element": "TreeValue",
|
|
228
|
+
children: content
|
|
229
|
+
})]
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* The one place table DOM exists. Both `ItemTable` and `DataTable` resolve their
|
|
234
|
+
* props into the shape above and hand it here, so the markup, the ARIA
|
|
235
|
+
* bookkeeping and the tasty sub-element contract have a single implementation.
|
|
236
|
+
*/
|
|
237
|
+
function TableView(props) {
|
|
238
|
+
const { qa, rows, rowKeys, sectionLayout, getRowKey, layout, columnHeaderPaths, onScrollerRef, rootRef, size = "medium", shape = "plain", rowSize, rowHeight, headerHeight, isHeaderHidden = false, isStriped = false, hasColumnDividers, isRowMoveAnimated = true, isHeaderSticky = true, isAutoHeight = false, isVirtualized = "auto", virtualizeThreshold = 50, overscan = 20, isLoading = false, loadingIndicator = "overlay", skeletonRowCount = 6, selection, selectionTooltip, overlay, rowMenu, rowContextMenu = false, onRowMenuAction, rowMenuTriggerProps, rowLink, onRowAction, onLoadMore, hasMore = false, isLoadingMore = false, loadMoreMargin, pinnedTopRows, pinnedBottomRows, cellSelection, rowNumberOffset = 0, rowIndexOffset = 0, totalRowCount, tree, isReorderable = false, dragState, dropState, collectionProps, isColumnReorderable = false, columnDragState, columnDropState, headCollectionProps, headRowRef, onColumnFocus, bodyRef, isResizable = false, onColumnResize, onColumnResizeEnd, emptyLabel, noResultsLabel, error, isFiltered = false, sortMode = "off", sort, sorts, onColumnSort, onColumnSortChange, columnContextMenu = true, onColumnMenuAction, columnMenuTriggerProps, columnMenuProps, getRowProps, headerPreset, contentPreset, toolbar, footer, ariaLabel, styles, headerStyles, headerCellStyles, bodyStyles, rowStyles, cellStyles, mods } = props;
|
|
239
|
+
const { columns } = layout;
|
|
240
|
+
useGlobalStyles(NATIVE_CELL_CONTROL_SELECTOR, rowLink ? NATIVE_CELL_CONTROL_STYLES : void 0);
|
|
241
|
+
const columnCount = columns.length;
|
|
242
|
+
const headerGroupDepth = columns.reduce((depth, column) => Math.max(depth, columnHeaderPaths?.get(column.key)?.length ?? 0), 0);
|
|
243
|
+
/**
|
|
244
|
+
* `rowSize` resolved to the size scale, or `null` when it was not given.
|
|
245
|
+
*
|
|
246
|
+
* Both halves come from `SIZE_NAME_TO_KEY` rather than being written out
|
|
247
|
+
* twice: the CSS keeps the token so it follows the scale, and the virtualizer
|
|
248
|
+
* needs the number, and the two must not drift.
|
|
249
|
+
*/
|
|
250
|
+
const rowSizeKey = rowSize ? SIZE_NAME_TO_KEY[rowSize] : null;
|
|
251
|
+
const lastDraggableKey = isColumnReorderable ? getDraggableColumnKeys(columns, true).at(-1) ?? null : null;
|
|
252
|
+
const { t } = useI18n();
|
|
253
|
+
const toast = useToast();
|
|
254
|
+
const [scrollerEl, setScrollerEl] = useState(null);
|
|
255
|
+
const scrollerRef = useRef(null);
|
|
256
|
+
const textSlotProps = useSlotProps({}, "text");
|
|
257
|
+
const { segments: bodyColumns, refreshAppearance, resetRange } = useColumnWindow(layout, scrollerEl, isVirtualized !== false && !isAutoHeight && !bodyStyles && !rowStyles && !cellStyles && Object.keys(textSlotProps).length === 0 && (!contentPreset || contentPreset === "t4") && canWindowColumns(columns, styles), tree?.columnKey);
|
|
258
|
+
const localBodyRef = useRef(null);
|
|
259
|
+
const handleBodyRef = useCallback((element) => {
|
|
260
|
+
localBodyRef.current = element;
|
|
261
|
+
if (bodyRef) bodyRef.current = element;
|
|
262
|
+
}, [bodyRef]);
|
|
263
|
+
const handleScrollerRef = useCallback((element) => {
|
|
264
|
+
scrollerRef.current = element;
|
|
265
|
+
setScrollerEl(element);
|
|
266
|
+
onScrollerRef(element);
|
|
267
|
+
}, [onScrollerRef]);
|
|
268
|
+
const headerRowCount = isHeaderHidden ? 0 : headerGroupDepth + 1;
|
|
269
|
+
const pinnedTopCount = pinnedTopRows?.length ?? 0;
|
|
270
|
+
const pinnedBottomCount = pinnedBottomRows?.length ?? 0;
|
|
271
|
+
const bodyRowCount = sectionLayout?.rowCount ?? Math.max(totalRowCount ?? rows.length, rowIndexOffset + rows.length);
|
|
272
|
+
/** 1-based `aria-rowindex` for the i-th body row of the current page. */
|
|
273
|
+
const bodyRowIndex = (rowIndex) => headerRowCount + pinnedTopCount + (sectionLayout?.rowIndices[rowIndex] ?? rowIndexOffset + rowIndex) + 1;
|
|
274
|
+
const bodyRowKey = (row, rowIndex) => rowKeys?.[rowIndex] ?? getRowKey(row, rowIndex);
|
|
275
|
+
const treeRowState = (rowIndex) => {
|
|
276
|
+
const entry = tree?.entries[rowIndex];
|
|
277
|
+
return entry ? {
|
|
278
|
+
level: entry.level,
|
|
279
|
+
parentKey: entry.parentKey,
|
|
280
|
+
hasChildren: entry.children.length > 0,
|
|
281
|
+
isExpanded: tree.state.expandedKeys.has(entry.key)
|
|
282
|
+
} : void 0;
|
|
283
|
+
};
|
|
284
|
+
/** 1-based `aria-rowindex` for the i-th pinned row at `edge`. */
|
|
285
|
+
const pinnedRowIndex = (index, edge) => edge === "top" ? headerRowCount + index + 1 : headerRowCount + pinnedTopCount + bodyRowCount + index + 1;
|
|
286
|
+
/**
|
|
287
|
+
* Per-column tints.
|
|
288
|
+
*
|
|
289
|
+
* The colour maths is `getColorTheme`'s, cached globally by a hash of its
|
|
290
|
+
* config; `buildColumnTints` only maps columns onto `data-tint` slots and the
|
|
291
|
+
* state maps that read them. `getColorTheme` rather than `useColorTheme` here
|
|
292
|
+
* because the number of tinted columns is data-dependent and a hook cannot be
|
|
293
|
+
* called in a loop — registration happens in `ColumnTintRegistrar` below, one
|
|
294
|
+
* component per distinct theme, which is a legal fixed hook count each.
|
|
295
|
+
*/
|
|
296
|
+
const paletteVersion = usePaletteVersion();
|
|
297
|
+
const tints = useMemo(() => buildColumnTints(columns, { resolveTheme: getColorTheme }), [columns, paletteVersion]);
|
|
298
|
+
const mergedStyles = useMemo(() => ({
|
|
299
|
+
height: "min 0",
|
|
300
|
+
flexGrow: 1,
|
|
301
|
+
flexShrink: 1,
|
|
302
|
+
...styles,
|
|
303
|
+
...isAutoHeight ? {
|
|
304
|
+
height: "min 0",
|
|
305
|
+
flexGrow: 0,
|
|
306
|
+
flexShrink: 0
|
|
307
|
+
} : null,
|
|
308
|
+
...contentPreset ? { Table: { preset: contentPreset } } : null,
|
|
309
|
+
...headerStyles ? { HeadRow: headerStyles } : null,
|
|
310
|
+
...headerPreset || headerCellStyles || tints.headerCellStyles ? { HeaderCell: {
|
|
311
|
+
...headerPreset ? { preset: headerPreset } : null,
|
|
312
|
+
...tints.headerCellStyles,
|
|
313
|
+
...headerCellStyles
|
|
314
|
+
} } : null,
|
|
315
|
+
...headerPreset || headerCellStyles ? { HeaderGroupCell: {
|
|
316
|
+
...headerPreset ? { preset: headerPreset } : null,
|
|
317
|
+
...headerCellStyles
|
|
318
|
+
} } : null,
|
|
319
|
+
...bodyStyles ? { Body: bodyStyles } : null,
|
|
320
|
+
...rowStyles ? { Row: rowStyles } : null,
|
|
321
|
+
...cellStyles || tints.cellStyles ? { Cell: {
|
|
322
|
+
...tints.cellStyles,
|
|
323
|
+
...cellStyles
|
|
324
|
+
} } : null,
|
|
325
|
+
...rowHeight != null ? { "$row-height": `${rowHeight}px` } : rowSizeKey ? { "$row-height": `$size-${rowSizeKey.toLowerCase()}` } : null,
|
|
326
|
+
...headerHeight != null ? { "$header-height": `${headerHeight}px` } : null
|
|
327
|
+
}), [
|
|
328
|
+
styles,
|
|
329
|
+
isAutoHeight,
|
|
330
|
+
headerStyles,
|
|
331
|
+
headerCellStyles,
|
|
332
|
+
headerPreset,
|
|
333
|
+
contentPreset,
|
|
334
|
+
bodyStyles,
|
|
335
|
+
rowStyles,
|
|
336
|
+
cellStyles,
|
|
337
|
+
rowSizeKey,
|
|
338
|
+
rowHeight,
|
|
339
|
+
headerHeight,
|
|
340
|
+
tints
|
|
341
|
+
]);
|
|
342
|
+
/**
|
|
343
|
+
* Whether a cell is inside the current range.
|
|
344
|
+
*
|
|
345
|
+
* Pinned rows take part: they sit in the range's row order at the position
|
|
346
|
+
* they occupy on screen, so a selection down a column of figures reaches its
|
|
347
|
+
* total instead of leaving it to be copied separately. (ag-grid excludes
|
|
348
|
+
* pinned rows outright; this is a deliberate departure.)
|
|
349
|
+
*/
|
|
350
|
+
function isCellSelected(rowKey, columnKey) {
|
|
351
|
+
if (!cellSelection?.isEnabled) return false;
|
|
352
|
+
return cellSelection.isSelected(rowKey, columnKey);
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Press and drag for the range.
|
|
356
|
+
*
|
|
357
|
+
* `pointerdown` rather than `click`: the range has to start before the drag
|
|
358
|
+
* does, and a click only lands after the button comes back up — by which time
|
|
359
|
+
* the gesture is over. `pointerenter` grows it while the button is held, which
|
|
360
|
+
* is the same shape ag-grid's `onCellMouseOver` gives the Cloud grids.
|
|
361
|
+
*/
|
|
362
|
+
function cellSelectionProps(rowKey, columnKey, pinnedEdge) {
|
|
363
|
+
if (!cellSelection?.canSelectCell(rowKey, columnKey)) return void 0;
|
|
364
|
+
return {
|
|
365
|
+
onPointerDown: (event) => {
|
|
366
|
+
if (event.button !== 0) return;
|
|
367
|
+
if (event.shiftKey) {
|
|
368
|
+
event.preventDefault();
|
|
369
|
+
cellSelection.extendTo(rowKey, columnKey);
|
|
370
|
+
} else cellSelection.select(rowKey, columnKey);
|
|
371
|
+
scrollerRef.current?.focus({ preventScroll: true });
|
|
372
|
+
cellSelection.isDraggingRef.current = true;
|
|
373
|
+
setIsRangeDragging(true);
|
|
374
|
+
},
|
|
375
|
+
onPointerEnter: () => {
|
|
376
|
+
if (!cellSelection.isDraggingRef.current) return;
|
|
377
|
+
if (pinnedEdge) return;
|
|
378
|
+
cellSelection.extendTo(rowKey, columnKey);
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* Marks the trailing column.
|
|
384
|
+
*
|
|
385
|
+
* Two things hang off it. Its resize handle tucks fully inside rather than
|
|
386
|
+
* straddling a boundary that is not there — left hanging it puts half its
|
|
387
|
+
* width past the table, and the scroller gains a few pixels of horizontal
|
|
388
|
+
* scroll onto blank space. And it draws no vertical rule: that rule would
|
|
389
|
+
* land flush against the frame and read as a doubled edge.
|
|
390
|
+
*/
|
|
391
|
+
/** The pinned edge a row was rendered at, as the documented section name. */
|
|
392
|
+
function sectionOf(pinnedEdge) {
|
|
393
|
+
if (pinnedEdge === "top") return "pinnedTop";
|
|
394
|
+
if (pinnedEdge === "bottom") return "pinnedBottom";
|
|
395
|
+
return "body";
|
|
396
|
+
}
|
|
397
|
+
function lastColumnFlag(column) {
|
|
398
|
+
return column.index === columns.length - 1 ? "" : void 0;
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* Which frame corner, if any, this cell sits in.
|
|
402
|
+
*
|
|
403
|
+
* Only the two bottom ones, and only when the card's rounded edge is what the
|
|
404
|
+
* row actually meets — a footer below it means the row ends against a straight
|
|
405
|
+
* line instead. Without this a selected cell in that row has its ring sliced
|
|
406
|
+
* off at 45° by the frame's radius, which reads as a rendering fault rather
|
|
407
|
+
* than as a corner.
|
|
408
|
+
*
|
|
409
|
+
* Decided here rather than in CSS: the renderer already knows about the
|
|
410
|
+
* footer, the shape and the pinned rows, and expressing
|
|
411
|
+
* `card × no-footer × visually-last-row × outer-column` as a state map is how
|
|
412
|
+
* a border map turns into a combinatorial one.
|
|
413
|
+
*/
|
|
414
|
+
function bottomCornerFlag(column, rowIndex, isLastRow, pinnedEdge) {
|
|
415
|
+
if (shape !== "card" || footer != null) return void 0;
|
|
416
|
+
const pinnedBottomCount = pinnedBottomRows?.length ?? 0;
|
|
417
|
+
if (!(pinnedEdge === "bottom" ? rowIndex === pinnedBottomCount - 1 : pinnedEdge == null && isLastRow && pinnedBottomCount === 0)) return void 0;
|
|
418
|
+
if (column.index === 0) return "start";
|
|
419
|
+
if (column.index === columns.length - 1) return "end";
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* The row band, mirrored from the `<tr>` onto its cells.
|
|
423
|
+
*
|
|
424
|
+
* `Row` already carries `data-odd` and publishes `#row-base` from it, which is
|
|
425
|
+
* all an untinted cell needs. A TINTED cell has to pick its own band, and a
|
|
426
|
+
* sub-element's state keys resolve against the table root rather than its DOM
|
|
427
|
+
* parent — so the flag has to be on the cell itself. Same reason `data-pinned`
|
|
428
|
+
* is mirrored.
|
|
429
|
+
*
|
|
430
|
+
* Pinned rows are exempt: they carry no `data-odd` on the `<tr>` either, and
|
|
431
|
+
* banding a totals row would be wrong.
|
|
432
|
+
*/
|
|
433
|
+
function cellBandFlag(rowIndex, pinnedEdge) {
|
|
434
|
+
return pinnedEdge == null && isStriped && rowIndex % 2 === 1 ? "" : void 0;
|
|
435
|
+
}
|
|
436
|
+
function renderStateRow(content) {
|
|
437
|
+
return /* @__PURE__ */ jsx("tr", {
|
|
438
|
+
"data-element": "Row",
|
|
439
|
+
role: "row",
|
|
440
|
+
"aria-rowindex": headerRowCount + 1,
|
|
441
|
+
children: /* @__PURE__ */ jsx("td", {
|
|
442
|
+
"data-element": "StateCell",
|
|
443
|
+
"data-state": "",
|
|
444
|
+
role: "gridcell",
|
|
445
|
+
colSpan: Math.max(columnCount, 1),
|
|
446
|
+
"aria-colindex": 1,
|
|
447
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
448
|
+
"data-element": "StateContent",
|
|
449
|
+
children: content
|
|
450
|
+
})
|
|
451
|
+
})
|
|
452
|
+
});
|
|
453
|
+
}
|
|
454
|
+
function renderColumnSpacer(key, span, pinnedEdge, isLastRow = false) {
|
|
455
|
+
return /* @__PURE__ */ jsx("td", {
|
|
456
|
+
"data-element": "ColumnSpacer",
|
|
457
|
+
"data-pinned": pinnedEdge,
|
|
458
|
+
"data-last-row": isLastRow ? "" : void 0,
|
|
459
|
+
colSpan: span,
|
|
460
|
+
"aria-hidden": "true",
|
|
461
|
+
role: "presentation"
|
|
462
|
+
}, key);
|
|
463
|
+
}
|
|
464
|
+
function renderSkeletonCell(column) {
|
|
465
|
+
return /* @__PURE__ */ jsx("td", {
|
|
466
|
+
"data-element": "Cell",
|
|
467
|
+
"data-pin": column.pin,
|
|
468
|
+
"data-pin-edge": column.isPinEdge ? "" : void 0,
|
|
469
|
+
"data-align": column.align,
|
|
470
|
+
role: "gridcell",
|
|
471
|
+
"aria-colindex": column.ariaColIndex,
|
|
472
|
+
style: pinStyle(column),
|
|
473
|
+
children: /* @__PURE__ */ jsx(PlaceholderGroupContext.Provider, {
|
|
474
|
+
value: true,
|
|
475
|
+
children: /* @__PURE__ */ jsx(Placeholder, {})
|
|
476
|
+
})
|
|
477
|
+
}, `column-cell:${column.key}`);
|
|
478
|
+
}
|
|
479
|
+
function renderSkeletonRows(count = skeletonRowCount, keyPrefix = "skeleton") {
|
|
480
|
+
return Array.from({ length: count }, (_, rowIndex) => /* @__PURE__ */ jsx("tr", {
|
|
481
|
+
"data-element": "Row",
|
|
482
|
+
"data-placeholder": "",
|
|
483
|
+
role: "row",
|
|
484
|
+
"aria-rowindex": bodyRowIndex(rowIndex),
|
|
485
|
+
"aria-busy": "true",
|
|
486
|
+
children: bodyColumns.map((segment) => segment.column ? renderSkeletonCell(segment.column) : renderColumnSpacer(segment.key, segment.span))
|
|
487
|
+
}, `${keyPrefix}-${rowIndex}`));
|
|
488
|
+
}
|
|
489
|
+
function renderSelectionHeaderCell(column, rowSpan = 1) {
|
|
490
|
+
return /* @__PURE__ */ jsx("th", {
|
|
491
|
+
"data-element": "HeaderCell",
|
|
492
|
+
"data-key": column.key,
|
|
493
|
+
"data-kind": "selection",
|
|
494
|
+
"data-pin": column.pin,
|
|
495
|
+
"data-pin-edge": column.isPinEdge ? "" : void 0,
|
|
496
|
+
"data-last-column": lastColumnFlag(column),
|
|
497
|
+
role: "columnheader",
|
|
498
|
+
scope: "col",
|
|
499
|
+
rowSpan: rowSpan > 1 ? rowSpan : void 0,
|
|
500
|
+
tabIndex: -1,
|
|
501
|
+
"aria-colindex": column.ariaColIndex,
|
|
502
|
+
style: pinStyle(column),
|
|
503
|
+
children: selection && selection.selectionMode === "multiple" ? /* @__PURE__ */ jsx("div", {
|
|
504
|
+
"data-element": "SelectionBox",
|
|
505
|
+
children: /* @__PURE__ */ jsx(__Checkbox, {
|
|
506
|
+
isBare: true,
|
|
507
|
+
"aria-label": selection.selectAllState === "all" ? t("itemTable.deselectAll", "Deselect all") : t("itemTable.selectAll", "Select all"),
|
|
508
|
+
isSelected: selection.selectAllState === "all",
|
|
509
|
+
isIndeterminate: selection.selectAllState === "some",
|
|
510
|
+
onChange: selection.toggleSelectAll
|
|
511
|
+
})
|
|
512
|
+
}) : null
|
|
513
|
+
}, column.key);
|
|
514
|
+
}
|
|
515
|
+
function renderSelectionCell(column, row, rowIndex, rowKey, isLastRow, pinnedEdge) {
|
|
516
|
+
const canSelect = selection.canSelect(rowKey);
|
|
517
|
+
const tooltip = typeof selectionTooltip === "function" ? selectionTooltip(row) : selectionTooltip;
|
|
518
|
+
const checkbox = /* @__PURE__ */ jsx(__Checkbox, {
|
|
519
|
+
isBare: true,
|
|
520
|
+
"aria-label": t("itemTable.selectRow", "Select row"),
|
|
521
|
+
isSelected: selection.isSelected(rowKey),
|
|
522
|
+
isIndeterminate: selection.isIndeterminate(rowKey),
|
|
523
|
+
isDisabled: !canSelect,
|
|
524
|
+
onChange: () => selection.toggleRow(rowKey)
|
|
525
|
+
});
|
|
526
|
+
return /* @__PURE__ */ jsx("td", {
|
|
527
|
+
"data-element": "Cell",
|
|
528
|
+
"data-key": column.key,
|
|
529
|
+
"data-kind": "selection",
|
|
530
|
+
"data-pin": column.pin,
|
|
531
|
+
"data-pin-edge": column.isPinEdge ? "" : void 0,
|
|
532
|
+
"data-last-row": isLastRow ? "" : void 0,
|
|
533
|
+
"data-pinned": pinnedEdge,
|
|
534
|
+
"data-odd": cellBandFlag(rowIndex, pinnedEdge),
|
|
535
|
+
"data-last-column": lastColumnFlag(column),
|
|
536
|
+
"data-corner": bottomCornerFlag(column, rowIndex, isLastRow, pinnedEdge),
|
|
537
|
+
role: "gridcell",
|
|
538
|
+
"aria-colindex": column.ariaColIndex,
|
|
539
|
+
style: pinStyle(column),
|
|
540
|
+
onClickCapture: selection.captureShift,
|
|
541
|
+
onKeyDownCapture: selection.captureShift,
|
|
542
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
543
|
+
"data-element": "SelectionBox",
|
|
544
|
+
children: !canSelect && tooltip ? /* @__PURE__ */ jsx(TooltipProvider, {
|
|
545
|
+
title: tooltip,
|
|
546
|
+
children: checkbox
|
|
547
|
+
}) : checkbox
|
|
548
|
+
})
|
|
549
|
+
}, `column-cell:${column.key}`);
|
|
550
|
+
}
|
|
551
|
+
function renderRowMenuCell(column, row, rowIndex, rowKey, isLastRow, pinnedEdge) {
|
|
552
|
+
const items = resolveRowMenu(row, rowIndex, rowKey);
|
|
553
|
+
return /* @__PURE__ */ jsx("td", {
|
|
554
|
+
"data-element": "Cell",
|
|
555
|
+
"data-key": column.key,
|
|
556
|
+
"data-kind": "actions",
|
|
557
|
+
"data-pin": column.pin,
|
|
558
|
+
"data-pin-edge": column.isPinEdge ? "" : void 0,
|
|
559
|
+
"data-last-row": isLastRow ? "" : void 0,
|
|
560
|
+
"data-pinned": pinnedEdge,
|
|
561
|
+
"data-odd": cellBandFlag(rowIndex, pinnedEdge),
|
|
562
|
+
"data-last-column": lastColumnFlag(column),
|
|
563
|
+
"data-corner": bottomCornerFlag(column, rowIndex, isLastRow, pinnedEdge),
|
|
564
|
+
role: "gridcell",
|
|
565
|
+
"aria-colindex": column.ariaColIndex,
|
|
566
|
+
style: pinStyle(column),
|
|
567
|
+
children: isMenuEmpty(items) ? null : /* @__PURE__ */ jsx("div", {
|
|
568
|
+
"data-element": "RowActions",
|
|
569
|
+
children: /* @__PURE__ */ jsxs(_MenuTrigger, {
|
|
570
|
+
isDisabled: selection?.isRowDisabled(rowKey),
|
|
571
|
+
shouldRestoreFocus: tree ? void 0 : false,
|
|
572
|
+
onOpenChange: tree ? void 0 : (isOpen) => handleRowMenuOpenChange(isOpen, rowKey, rowIndex),
|
|
573
|
+
children: [/* @__PURE__ */ jsx(ItemAction, {
|
|
574
|
+
tabIndex: !tree && tabStopRow?.key === rowKey ? 0 : -1,
|
|
575
|
+
icon: /* @__PURE__ */ jsx(MoreIcon, {}),
|
|
576
|
+
"aria-label": t("itemTable.rowActions", "Row actions"),
|
|
577
|
+
...rowMenuTriggerProps,
|
|
578
|
+
isDisabled: selection?.isRowDisabled(rowKey) || rowMenuTriggerProps?.isDisabled
|
|
579
|
+
}), /* @__PURE__ */ jsx(__Menu, {
|
|
580
|
+
onAction: menuActionHandler(row, rowKey, false),
|
|
581
|
+
children: items
|
|
582
|
+
})]
|
|
583
|
+
})
|
|
584
|
+
})
|
|
585
|
+
}, `column-cell:${column.key}`);
|
|
586
|
+
}
|
|
587
|
+
function renderHeaderCell(column, rowSpan = 1) {
|
|
588
|
+
if (column.key === "__cube-selection__") return renderSelectionHeaderCell(column, rowSpan);
|
|
589
|
+
if (column.key === "__cube-row-number__") return /* @__PURE__ */ jsx("th", {
|
|
590
|
+
"data-element": "HeaderCell",
|
|
591
|
+
"data-key": column.key,
|
|
592
|
+
"data-kind": "row-number",
|
|
593
|
+
"data-last-column": lastColumnFlag(column),
|
|
594
|
+
role: "columnheader",
|
|
595
|
+
scope: "col",
|
|
596
|
+
rowSpan: rowSpan > 1 ? rowSpan : void 0,
|
|
597
|
+
tabIndex: -1,
|
|
598
|
+
"aria-colindex": column.ariaColIndex,
|
|
599
|
+
style: pinStyle(column)
|
|
600
|
+
}, column.key);
|
|
601
|
+
if (column.key === "__cube-row-menu__") return /* @__PURE__ */ jsx("th", {
|
|
602
|
+
"data-element": "HeaderCell",
|
|
603
|
+
"data-key": column.key,
|
|
604
|
+
"data-kind": "actions",
|
|
605
|
+
"data-pin": column.pin,
|
|
606
|
+
"data-pin-edge": column.isPinEdge ? "" : void 0,
|
|
607
|
+
"data-last-column": lastColumnFlag(column),
|
|
608
|
+
role: "columnheader",
|
|
609
|
+
scope: "col",
|
|
610
|
+
rowSpan: rowSpan > 1 ? rowSpan : void 0,
|
|
611
|
+
tabIndex: -1,
|
|
612
|
+
"aria-colindex": column.ariaColIndex,
|
|
613
|
+
style: pinStyle(column)
|
|
614
|
+
}, column.key);
|
|
615
|
+
return renderColumnHeaderCell(column, rowSpan);
|
|
616
|
+
}
|
|
617
|
+
/** A data column's header cell: its sort, menu, resize handle and drag. */
|
|
618
|
+
function renderColumnHeaderCell(column, rowSpan) {
|
|
619
|
+
const header = column.header;
|
|
620
|
+
const sortState = resolveColumnSort(column, sortMode, sorts, sort);
|
|
621
|
+
const { activeSort, isSorted, isSortable } = sortState;
|
|
622
|
+
const canResize = !column.isStructural && (column.isResizable ?? isResizable) && onColumnResize != null && onColumnResizeEnd != null;
|
|
623
|
+
const menuItems = columnMenu.resolveColumnMenu(column);
|
|
624
|
+
const hasMenu = menuItems != null;
|
|
625
|
+
const content = renderColumnHeaderContent(column, sortState, columnMenu.renderColumnMenuTrigger(column, menuItems, sortState));
|
|
626
|
+
const isDraggable = isColumnDraggable(column, isColumnReorderable);
|
|
627
|
+
return /* @__PURE__ */ jsxs(TableHeaderCell, {
|
|
628
|
+
columnKey: column.key,
|
|
629
|
+
hasAction: isSortable,
|
|
630
|
+
isLastDraggable: isDraggable && column.key === lastDraggableKey,
|
|
631
|
+
dragState: isDraggable ? columnDragState : void 0,
|
|
632
|
+
dropState: isDraggable ? columnDropState : void 0,
|
|
633
|
+
cellProps: {
|
|
634
|
+
"data-element": "HeaderCell",
|
|
635
|
+
"data-key": column.key,
|
|
636
|
+
"data-pin": column.pin,
|
|
637
|
+
"data-pin-edge": column.isPinEdge ? "" : void 0,
|
|
638
|
+
"data-align": header?.align ?? column.align,
|
|
639
|
+
"data-sortable": isSortable ? "" : void 0,
|
|
640
|
+
"data-resizable": canResize ? "" : void 0,
|
|
641
|
+
"data-last-column": lastColumnFlag(column),
|
|
642
|
+
"data-sorted": isSorted ? "" : void 0,
|
|
643
|
+
"data-menu-open": columnMenu.openMenuColumnKey === column.key ? "" : void 0,
|
|
644
|
+
"data-tint": tintSlot(tints, column.key, "header"),
|
|
645
|
+
role: "columnheader",
|
|
646
|
+
scope: "col",
|
|
647
|
+
rowSpan: rowSpan > 1 ? rowSpan : void 0,
|
|
648
|
+
tabIndex: isSortable || hasMenu || isDraggable ? 0 : -1,
|
|
649
|
+
"aria-colindex": column.ariaColIndex,
|
|
650
|
+
"aria-sort": activeSort ? ARIA_SORT[activeSort.direction] : void 0,
|
|
651
|
+
"aria-haspopup": hasMenu ? "menu" : void 0,
|
|
652
|
+
style: pinStyle(column),
|
|
653
|
+
...columnHeaderHandlers(column, sortState, hasMenu, isDraggable)
|
|
654
|
+
},
|
|
655
|
+
children: [content, canResize ? /* @__PURE__ */ jsx(ColumnResizer, {
|
|
656
|
+
column,
|
|
657
|
+
label: t("itemTable.resizeColumn", "Resize column"),
|
|
658
|
+
onResize: onColumnResize,
|
|
659
|
+
onResizeEnd: onColumnResizeEnd
|
|
660
|
+
}) : null]
|
|
661
|
+
}, column.key);
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* A data column's header as a control: a press or Enter/Space sorts it, a
|
|
665
|
+
* right-click or Shift+F10 opens its menu, and focus feeds Alt+Arrow
|
|
666
|
+
* reordering.
|
|
667
|
+
*/
|
|
668
|
+
function columnHeaderHandlers(column, sortState, hasMenu, isDraggable) {
|
|
669
|
+
const { isSortable } = sortState;
|
|
670
|
+
return {
|
|
671
|
+
onFocus: isColumnReorderable ? () => onColumnFocus?.(isDraggable ? column.key : null) : void 0,
|
|
672
|
+
onClick: isSortable ? () => onColumnSort?.(column.key) : void 0,
|
|
673
|
+
onContextMenu: hasMenu ? (event) => columnMenu.openColumnContextMenu(column, sortState, event) : void 0,
|
|
674
|
+
[TOUCH_CONTEXT_MENU_ATTRIBUTE]: hasMenu ? "" : void 0,
|
|
675
|
+
onKeyDown: isSortable || hasMenu ? (event) => {
|
|
676
|
+
if (event.key === "F10" && event.shiftKey && hasMenu) {
|
|
677
|
+
columnMenu.openColumnMenuFromKeyboard(column, sortState, event);
|
|
678
|
+
return;
|
|
679
|
+
}
|
|
680
|
+
if (!isSortable) return;
|
|
681
|
+
if (event.key !== "Enter" && event.key !== " ") return;
|
|
682
|
+
event.preventDefault();
|
|
683
|
+
onColumnSort?.(column.key);
|
|
684
|
+
} : void 0
|
|
685
|
+
};
|
|
686
|
+
}
|
|
687
|
+
function renderCell(column, row, rowIndex, rowKey, isLastRow, pinnedEdge, treeItemAria, nativeLinkProps) {
|
|
688
|
+
const rangeKey = selectionRowKey(sectionOf(pinnedEdge), rowKey);
|
|
689
|
+
if (column.key === "__cube-selection__") return renderSelectionCell(column, row, rowIndex, rowKey, isLastRow, pinnedEdge);
|
|
690
|
+
if (column.key === "__cube-row-number__") return /* @__PURE__ */ jsx("td", {
|
|
691
|
+
"data-element": "Cell",
|
|
692
|
+
"data-key": column.key,
|
|
693
|
+
"data-kind": "row-number",
|
|
694
|
+
"data-last-row": isLastRow ? "" : void 0,
|
|
695
|
+
"data-pinned": pinnedEdge,
|
|
696
|
+
"data-odd": cellBandFlag(rowIndex, pinnedEdge),
|
|
697
|
+
"data-last-column": lastColumnFlag(column),
|
|
698
|
+
"data-corner": bottomCornerFlag(column, rowIndex, isLastRow, pinnedEdge),
|
|
699
|
+
role: "gridcell",
|
|
700
|
+
"aria-colindex": column.ariaColIndex,
|
|
701
|
+
style: pinStyle(column),
|
|
702
|
+
children: pinnedEdge ? null : rowNumberOffset + rowIndex + 1
|
|
703
|
+
}, `column-cell:${column.key}`);
|
|
704
|
+
if (column.key === "__cube-row-menu__") return renderRowMenuCell(column, row, rowIndex, rowKey, isLastRow, pinnedEdge);
|
|
705
|
+
const ctx = {
|
|
706
|
+
row,
|
|
707
|
+
rowKey,
|
|
708
|
+
rowIndex,
|
|
709
|
+
columnKey: column.key,
|
|
710
|
+
columnIndex: column.index,
|
|
711
|
+
section: sectionOf(pinnedEdge),
|
|
712
|
+
isSelected: selection?.isSelected(rowKey) ?? false,
|
|
713
|
+
tree: pinnedEdge == null ? treeRowState(rowIndex) : void 0
|
|
714
|
+
};
|
|
715
|
+
const content = renderCellContent(column, row, rowIndex, ctx, nativeLinkProps);
|
|
716
|
+
const treeEntry = pinnedEdge == null ? tree?.entries[rowIndex] : void 0;
|
|
717
|
+
const displayContent = treeEntry && column.key === tree?.columnKey ? renderTreeCellContent(treeEntry, tree.state.expandedKeys.has(treeEntry.key), treeItemAria?.expandButtonProps, content) : content;
|
|
718
|
+
const columnClassName = columnCellClassName(typeof column.cellStyles === "function" ? column.cellStyles(ctx) : column.cellStyles);
|
|
719
|
+
const extraCellProps = column.cellProps?.(ctx);
|
|
720
|
+
const CellTag = column.isRowHeader ? "th" : "td";
|
|
721
|
+
const isLinkedHeader = column.isRowHeader && nativeLinkProps !== void 0;
|
|
722
|
+
return /* @__PURE__ */ jsxs(CellTag, {
|
|
723
|
+
"data-element": "Cell",
|
|
724
|
+
"data-key": column.key,
|
|
725
|
+
"data-pin": column.pin,
|
|
726
|
+
"data-pin-edge": column.isPinEdge ? "" : void 0,
|
|
727
|
+
"data-align": column.align,
|
|
728
|
+
"data-wrap": column.autoHeight ? "" : void 0,
|
|
729
|
+
"data-link": isLinkedHeader ? "" : void 0,
|
|
730
|
+
"data-last-row": isLastRow ? "" : void 0,
|
|
731
|
+
"data-pinned": pinnedEdge,
|
|
732
|
+
"data-odd": cellBandFlag(rowIndex, pinnedEdge),
|
|
733
|
+
"data-tint": tintSlot(tints, column.key, pinnedEdge == null ? "body" : "totals"),
|
|
734
|
+
"data-last-column": lastColumnFlag(column),
|
|
735
|
+
"data-corner": bottomCornerFlag(column, rowIndex, isLastRow, pinnedEdge),
|
|
736
|
+
"data-cell-selected": isCellSelected(rangeKey, column.key) ? "" : void 0,
|
|
737
|
+
...column.isRowHeader ? { scope: "row" } : { role: "gridcell" },
|
|
738
|
+
...cellSelectionProps(rangeKey, column.key, pinnedEdge),
|
|
739
|
+
"aria-colindex": column.ariaColIndex,
|
|
740
|
+
"data-column-styles": columnClassName ? "" : void 0,
|
|
741
|
+
style: pinStyle(column),
|
|
742
|
+
...extraCellProps,
|
|
743
|
+
className: clsx(columnClassName, extraCellProps?.className) || void 0,
|
|
744
|
+
children: [displayContent, isLinkedHeader ? /* @__PURE__ */ jsx("a", {
|
|
745
|
+
...nativeLinkProps,
|
|
746
|
+
"data-element": "RowLink",
|
|
747
|
+
tabIndex: -1,
|
|
748
|
+
"aria-label": getColumnText(column, row, rowIndex) ?? void 0
|
|
749
|
+
}) : null]
|
|
750
|
+
}, `column-cell:${column.key}`);
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* A pinned row — a total or subtotal.
|
|
754
|
+
*
|
|
755
|
+
* Rendered inside `<tbody>` rather than `<thead>`/`<tfoot>` so it keeps the
|
|
756
|
+
* body's own row and cell styling: the sub-element chains are anchored to
|
|
757
|
+
* `Body`, and a row in the head would match none of them. `data-pinned`
|
|
758
|
+
* carries the stickiness instead.
|
|
759
|
+
*/
|
|
760
|
+
function renderPinnedRow(row, index, edge) {
|
|
761
|
+
const rowKey = getRowKey(row, index);
|
|
762
|
+
const render = (nativeLinkProps) => /* @__PURE__ */ jsx("tr", {
|
|
763
|
+
"data-element": "Row",
|
|
764
|
+
"data-pinned": edge,
|
|
765
|
+
role: "row",
|
|
766
|
+
"aria-rowindex": pinnedRowIndex(index, edge),
|
|
767
|
+
children: bodyColumns.map((segment) => segment.column ? renderCell(segment.column, row, index, rowKey, false, edge, void 0, nativeLinkProps) : renderColumnSpacer(segment.key, segment.span, edge))
|
|
768
|
+
}, `pinned-${edge}-${rowKey}`);
|
|
769
|
+
const link = !hasRowLinkColumn || selection?.isRowDisabled(rowKey) ? void 0 : rowLink?.(row, index);
|
|
770
|
+
return /* @__PURE__ */ jsx(TableRowLink, {
|
|
771
|
+
to: link,
|
|
772
|
+
children: render
|
|
773
|
+
}, `pinned-${edge}-${rowKey}`);
|
|
774
|
+
}
|
|
775
|
+
/** The cells of one body row. Shared by both render paths. */
|
|
776
|
+
function renderRowCells(row, rowIndex, treeItemAria, nativeLinkProps) {
|
|
777
|
+
const rowKey = bodyRowKey(row, rowIndex);
|
|
778
|
+
return bodyColumns.map((segment) => segment.column ? renderCell(segment.column, row, rowIndex, rowKey, rowIndex === rows.length - 1, void 0, treeItemAria, nativeLinkProps) : renderColumnSpacer(segment.key, segment.span, void 0, rowIndex === rows.length - 1));
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* The `<tr>` shell. Virtuoso owns the element in the virtualized path (it
|
|
782
|
+
* needs its own `style` and measurement attributes), so this returns the
|
|
783
|
+
* props rather than the element.
|
|
784
|
+
*/
|
|
785
|
+
function getRowElementProps(row, rowIndex) {
|
|
786
|
+
const rowKey = bodyRowKey(row, rowIndex);
|
|
787
|
+
const isSelected = selection?.isSelected(rowKey) ?? false;
|
|
788
|
+
const isDisabled = selection?.isRowDisabled(rowKey) ?? false;
|
|
789
|
+
const ctx = {
|
|
790
|
+
row,
|
|
791
|
+
rowKey,
|
|
792
|
+
rowIndex,
|
|
793
|
+
section: "body",
|
|
794
|
+
isSelected,
|
|
795
|
+
tree: treeRowState(rowIndex)
|
|
796
|
+
};
|
|
797
|
+
const extra = getRowProps?.(ctx);
|
|
798
|
+
return {
|
|
799
|
+
"data-element": "Row",
|
|
800
|
+
"data-key": String(rowKey),
|
|
801
|
+
"data-row-index": rowIndex,
|
|
802
|
+
"data-qa": extra?.qa,
|
|
803
|
+
"data-odd": isStriped && rowIndex % 2 === 1 ? "" : void 0,
|
|
804
|
+
"data-dimmed": extra?.isDimmed ? "" : void 0,
|
|
805
|
+
"data-selected": isSelected ? "" : void 0,
|
|
806
|
+
"data-disabled": isDisabled ? "" : void 0,
|
|
807
|
+
role: "row",
|
|
808
|
+
tabIndex: hasFlatRowNavigation ? rowKey === tabStopRow?.key ? 0 : -1 : void 0,
|
|
809
|
+
"aria-selected": selection?.isEnabled ? isSelected : void 0,
|
|
810
|
+
"aria-disabled": isDisabled || void 0,
|
|
811
|
+
"aria-rowindex": bodyRowIndex(rowIndex),
|
|
812
|
+
title: extra?.tooltip,
|
|
813
|
+
height: extra?.height,
|
|
814
|
+
"data-clickable": !isDisabled && (onRowAction != null || hasRowLinkColumn && rowLink?.(row, rowIndex) !== void 0) ? "" : void 0,
|
|
815
|
+
onClick: onRowAction != null ? (event) => {
|
|
816
|
+
if (isDisabled || isCellControl(event.target, event.currentTarget)) return;
|
|
817
|
+
onRowAction(row, rowKey);
|
|
818
|
+
} : void 0,
|
|
819
|
+
onContextMenu: isMenuEnabled && !isDisabled ? (event) => openContextMenuFor(row, rowIndex, rowKey, event) : void 0,
|
|
820
|
+
[TOUCH_CONTEXT_MENU_ATTRIBUTE]: !isDisabled && hasRowMenu(row, rowIndex, rowKey) ? "" : void 0,
|
|
821
|
+
...Object.fromEntries(Object.entries(extra?.mods ?? {}).filter(([, active]) => active).map(([name]) => [`data-${name}`, ""]))
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
function renderRow(row, rowIndex, isVirtual = false, virtualIndex = rowIndex) {
|
|
825
|
+
const { height, ...rowProps } = getRowElementProps(row, rowIndex);
|
|
826
|
+
const rowKey = bodyRowKey(row, rowIndex);
|
|
827
|
+
const treeNode = tree?.nodes[rowIndex];
|
|
828
|
+
const treeEntry = tree?.entries[rowIndex];
|
|
829
|
+
const render = (nativeLinkProps) => /* @__PURE__ */ jsx(TableRow, {
|
|
830
|
+
rowKey,
|
|
831
|
+
rowProps,
|
|
832
|
+
height,
|
|
833
|
+
index: isVirtual ? virtualIndex : void 0,
|
|
834
|
+
measureRef: isVirtual ? virtualizer.measureElement : void 0,
|
|
835
|
+
dragState: isReorderable ? dragState : void 0,
|
|
836
|
+
dropState: isReorderable ? dropState : void 0,
|
|
837
|
+
tree: treeNode && treeEntry ? {
|
|
838
|
+
state: tree.state,
|
|
839
|
+
node: treeNode,
|
|
840
|
+
entry: treeEntry,
|
|
841
|
+
isVirtualized: isVirtual
|
|
842
|
+
} : void 0,
|
|
843
|
+
children: (treeItemAria) => renderRowCells(row, rowIndex, treeItemAria, nativeLinkProps)
|
|
844
|
+
}, rowProps["data-key"]);
|
|
845
|
+
const link = !hasRowLinkColumn || selection?.isRowDisabled(rowKey) ? void 0 : rowLink?.(row, rowIndex);
|
|
846
|
+
return /* @__PURE__ */ jsx(TableRowLink, {
|
|
847
|
+
to: link,
|
|
848
|
+
children: render
|
|
849
|
+
}, `record:${rowProps["data-key"]}`);
|
|
850
|
+
}
|
|
851
|
+
function renderSpacerRow(height, position) {
|
|
852
|
+
if (height <= 0) return null;
|
|
853
|
+
return /* @__PURE__ */ jsx("tr", {
|
|
854
|
+
"aria-hidden": "true",
|
|
855
|
+
"data-spacer": position,
|
|
856
|
+
children: /* @__PURE__ */ jsx("td", {
|
|
857
|
+
colSpan: Math.max(columnCount, 1),
|
|
858
|
+
style: { height }
|
|
859
|
+
})
|
|
860
|
+
});
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
* A row, preceded by the line showing a drop above it — and followed by one
|
|
864
|
+
* for the very last row, which has nothing after it to carry a "before".
|
|
865
|
+
*
|
|
866
|
+
* The indicators render nothing unless a drag is in flight, so a table that
|
|
867
|
+
* is merely *capable* of dragging keeps its ordinary structure.
|
|
868
|
+
*/
|
|
869
|
+
function withDropIndicators(row, index, isVirtual = false, virtualIndex = index) {
|
|
870
|
+
const rowKey = bodyRowKey(row, index);
|
|
871
|
+
const rowNode = renderRow(row, index, isVirtual, virtualIndex);
|
|
872
|
+
if (!isReorderable || !dropState) return rowNode;
|
|
873
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
874
|
+
/* @__PURE__ */ jsx(TableRowDropIndicator, {
|
|
875
|
+
rowKey,
|
|
876
|
+
dropPosition: "before",
|
|
877
|
+
dropState,
|
|
878
|
+
columnCount
|
|
879
|
+
}),
|
|
880
|
+
rowNode,
|
|
881
|
+
index === rows.length - 1 ? /* @__PURE__ */ jsx(TableRowDropIndicator, {
|
|
882
|
+
rowKey,
|
|
883
|
+
dropPosition: "after",
|
|
884
|
+
dropState,
|
|
885
|
+
columnCount
|
|
886
|
+
}) : null
|
|
887
|
+
] }, `row-${String(rowKey)}`);
|
|
888
|
+
}
|
|
889
|
+
const hasRows = rows.length > 0;
|
|
890
|
+
const isStale = isLoading && hasRows && loadingIndicator === "overlay";
|
|
891
|
+
const showSkeleton = isLoading && loadingIndicator !== "none" && (!hasRows || loadingIndicator === "skeleton");
|
|
892
|
+
const showBlank = isLoading && !hasRows && loadingIndicator === "none";
|
|
893
|
+
const shouldVirtualize = !isAutoHeight && hasRows && error == null && (isVirtualized === true || isVirtualized === "auto" && rows.length > virtualizeThreshold);
|
|
894
|
+
const bodyItems = useMemo(() => sectionLayout ? buildTableBodyItems(rows.length, sectionLayout) : void 0, [rows.length, sectionLayout]);
|
|
895
|
+
const getItemKey = useCallback((index) => {
|
|
896
|
+
const item = bodyItems?.items[index];
|
|
897
|
+
if (item?.kind === "section") return `section:${typeof item.section.key}:${item.section.key}`;
|
|
898
|
+
const rowIndex = item?.rowIndex ?? index;
|
|
899
|
+
const key = String(rowKeys?.[rowIndex] ?? getRowKey(rows[rowIndex], rowIndex));
|
|
900
|
+
return bodyItems ? `record:${key}` : key;
|
|
901
|
+
}, [
|
|
902
|
+
rows,
|
|
903
|
+
rowKeys,
|
|
904
|
+
getRowKey,
|
|
905
|
+
bodyItems
|
|
906
|
+
]);
|
|
907
|
+
const estimatedRowHeight = (rowHeight ?? (rowSizeKey ? SIZES[rowSizeKey] : ESTIMATED_ROW_HEIGHT[size ?? "medium"])) + 1;
|
|
908
|
+
const estimatedSectionHeight = (headerHeight ?? ESTIMATED_HEADER_HEIGHT[size]) + 1;
|
|
909
|
+
const virtualizer = useVirtualizer({
|
|
910
|
+
count: shouldVirtualize ? bodyItems?.items.length ?? rows.length : 0,
|
|
911
|
+
getScrollElement: () => scrollerRef.current,
|
|
912
|
+
getItemKey,
|
|
913
|
+
estimateSize: (index) => bodyItems?.items[index]?.kind === "section" ? estimatedSectionHeight : estimatedRowHeight,
|
|
914
|
+
measureElement: (element) => element.getBoundingClientRect().height,
|
|
915
|
+
overscan
|
|
916
|
+
});
|
|
917
|
+
const virtualItems = shouldVirtualize ? virtualizer.getVirtualItems() : [];
|
|
918
|
+
useLayoutEffect(() => {
|
|
919
|
+
virtualizer.measure();
|
|
920
|
+
virtualizer.getTotalSize();
|
|
921
|
+
localBodyRef.current?.querySelectorAll("tr[data-index]").forEach((element) => virtualizer.measureElement(element));
|
|
922
|
+
}, [
|
|
923
|
+
estimatedRowHeight,
|
|
924
|
+
estimatedSectionHeight,
|
|
925
|
+
virtualizer
|
|
926
|
+
]);
|
|
927
|
+
useTableTooltipRefresh(scrollerEl, virtualizer.isScrolling, refreshAppearance, resetRange);
|
|
928
|
+
const focusedTreeKey = tree?.state.selectionManager.focusedKey;
|
|
929
|
+
useEffect(() => {
|
|
930
|
+
if (!shouldVirtualize || focusedTreeKey == null || !tree) return;
|
|
931
|
+
const index = tree.entries.findIndex((entry) => entry.key === focusedTreeKey);
|
|
932
|
+
if (index >= 0) virtualizer.scrollToIndex(index, { align: "auto" });
|
|
933
|
+
}, [
|
|
934
|
+
focusedTreeKey,
|
|
935
|
+
shouldVirtualize,
|
|
936
|
+
tree,
|
|
937
|
+
virtualizer
|
|
938
|
+
]);
|
|
939
|
+
const scrollability = useScrollability(scrollerEl);
|
|
940
|
+
/**
|
|
941
|
+
* Roving tabindex over the rows, so a reorderable table can be operated from
|
|
942
|
+
* the keyboard at all.
|
|
943
|
+
*
|
|
944
|
+
* React Aria's `dragProps` already describe "press Enter to start dragging"
|
|
945
|
+
* and implement the whole keyboard drag — but a `<tr>` is not focusable, so
|
|
946
|
+
* without this the description is announced for a row nobody can reach. One
|
|
947
|
+
* tab stop for the grid, arrows to move within it, matching how every other
|
|
948
|
+
* collection in the kit behaves.
|
|
949
|
+
*/
|
|
950
|
+
useRowMoveAnimation({
|
|
951
|
+
isEnabled: isRowMoveAnimated && !dragState?.draggingKeys?.size,
|
|
952
|
+
bodyRef: localBodyRef
|
|
953
|
+
});
|
|
954
|
+
/**
|
|
955
|
+
* How many rows the next batch is likely to bring, measured across the last
|
|
956
|
+
* fetch that actually happened.
|
|
957
|
+
*
|
|
958
|
+
* The placeholder burst is sized to this so the scroll height is right both
|
|
959
|
+
* before and after the load: a short burst under a long batch makes the
|
|
960
|
+
* content jump the moment the rows land, and leaves the user stopped at the
|
|
961
|
+
* bottom of the list in the meantime with nothing left to scroll into.
|
|
962
|
+
*
|
|
963
|
+
* Measured across `isLoadingMore`, not from any growth in `rows`. Plenty of
|
|
964
|
+
* things lengthen the list without being a fetch — clearing a client search
|
|
965
|
+
* over an infinite list restores every filtered-out row at once — and reading
|
|
966
|
+
* that as a batch of ninety sized the next burst at ninety.
|
|
967
|
+
*
|
|
968
|
+
* Measured at all, rather than taken from `pageSize`, because infinite-scroll
|
|
969
|
+
* consumers often do not set it.
|
|
970
|
+
*/
|
|
971
|
+
const lastBatchSizeRef = useRef(0);
|
|
972
|
+
const rowCountBeforeFetchRef = useRef(null);
|
|
973
|
+
useEffect(() => {
|
|
974
|
+
if (isLoadingMore) {
|
|
975
|
+
rowCountBeforeFetchRef.current = rows.length;
|
|
976
|
+
return;
|
|
977
|
+
}
|
|
978
|
+
const before = rowCountBeforeFetchRef.current;
|
|
979
|
+
if (before != null && rows.length > before) lastBatchSizeRef.current = rows.length - before;
|
|
980
|
+
rowCountBeforeFetchRef.current = null;
|
|
981
|
+
}, [isLoadingMore]);
|
|
982
|
+
const loadMoreSkeletonCount = Math.min(Math.max(lastBatchSizeRef.current || rows.length || skeletonRowCount, 1), MAX_LOAD_MORE_SKELETON_ROWS);
|
|
983
|
+
const isMenuEnabled = rowMenu != null && rowContextMenu !== false;
|
|
984
|
+
const hasRowLinkColumn = columns.some((column) => column.isRowHeader);
|
|
985
|
+
const hasFlatRowNavigation = !tree && (isReorderable || rowLink != null && hasRowLinkColumn || onRowAction != null || isMenuEnabled);
|
|
986
|
+
const [focusedRow, setFocusedRow] = useState({
|
|
987
|
+
key: null,
|
|
988
|
+
index: 0
|
|
989
|
+
});
|
|
990
|
+
const pendingRowFocus = useRef(null);
|
|
991
|
+
const ownedRow = useRef(null);
|
|
992
|
+
const menuOrigin = useRef(null);
|
|
993
|
+
function focusableRowFrom(index, direction) {
|
|
994
|
+
for (; index >= 0 && index < rows.length; index += direction) {
|
|
995
|
+
const row = rows[index];
|
|
996
|
+
const key = bodyRowKey(row, index);
|
|
997
|
+
if (isReorderable || onRowAction != null || hasRowLinkColumn && rowLink?.(row, index) !== void 0 || hasRowMenu(row, index, key)) return {
|
|
998
|
+
key,
|
|
999
|
+
index
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
1002
|
+
return null;
|
|
1003
|
+
}
|
|
1004
|
+
function rowIndexForKey(key) {
|
|
1005
|
+
return selection?.collection.indexOf(key) ?? rows.findIndex((row, index) => bodyRowKey(row, index) === key);
|
|
1006
|
+
}
|
|
1007
|
+
const focusedRowIndex = focusedRow.key == null ? -1 : rowIndexForKey(focusedRow.key);
|
|
1008
|
+
const restingIndex = focusedRowIndex >= 0 ? focusedRowIndex : Math.min(focusedRow.index, rows.length - 1);
|
|
1009
|
+
const restingRow = hasFlatRowNavigation ? focusableRowFrom(Math.max(restingIndex, 0), 1) ?? focusableRowFrom(restingIndex, -1) : null;
|
|
1010
|
+
const tabStopRow = flatRowTabStop(restingRow, shouldVirtualize && virtualItems.length && hasFlatRowNavigation ? focusableRowFrom(recordIndexAtItem(virtualizer.range?.startIndex ?? virtualItems[0].index), 1) : null, shouldVirtualize ? virtualItems : void 0, virtualizer.range, bodyItems?.recordIndices);
|
|
1011
|
+
function recordIndexAtItem(index) {
|
|
1012
|
+
const item = bodyItems?.items[index];
|
|
1013
|
+
return item?.kind === "section" ? item.section.rowIndex : item?.rowIndex ?? index;
|
|
1014
|
+
}
|
|
1015
|
+
function mountedRow(key) {
|
|
1016
|
+
return Array.from(localBodyRef.current?.querySelectorAll("tr[data-element=\"Row\"][data-key]") ?? []).find((element) => element.dataset.key === String(key));
|
|
1017
|
+
}
|
|
1018
|
+
function focusFlatRow(next) {
|
|
1019
|
+
if (!next) return;
|
|
1020
|
+
pendingRowFocus.current = next.key;
|
|
1021
|
+
setFocusedRow((current) => current.key === next.key && current.index === next.index ? current : next);
|
|
1022
|
+
selection?.selectionManager.setFocusedKey(next.key);
|
|
1023
|
+
if (shouldVirtualize) {
|
|
1024
|
+
const offset = virtualizer.getOffsetForIndex(bodyItems?.recordIndices[next.index] ?? next.index, "auto")?.[0];
|
|
1025
|
+
if (offset != null) virtualizer.scrollToOffset(offset);
|
|
1026
|
+
}
|
|
1027
|
+
const target = mountedRow(next.key);
|
|
1028
|
+
if (target) {
|
|
1029
|
+
pendingRowFocus.current = null;
|
|
1030
|
+
ownedRow.current = target;
|
|
1031
|
+
target.focus({ preventScroll: shouldVirtualize });
|
|
1032
|
+
if (scrollerRef.current) revealFocusedRow(target, scrollerRef.current, isHeaderSticky);
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
useLayoutEffect(() => {
|
|
1036
|
+
if (!hasFlatRowNavigation) return;
|
|
1037
|
+
const previous = ownedRow.current;
|
|
1038
|
+
const active = document.activeElement;
|
|
1039
|
+
if (active && active !== document.body && !scrollerRef.current?.contains(active)) {
|
|
1040
|
+
pendingRowFocus.current = null;
|
|
1041
|
+
return;
|
|
1042
|
+
}
|
|
1043
|
+
const wasUnmounted = pendingRowFocus.current == null && previous && !previous.isConnected;
|
|
1044
|
+
if (wasUnmounted && focusedRowIndex >= 0) {
|
|
1045
|
+
ownedRow.current = null;
|
|
1046
|
+
scrollerRef.current?.focus({ preventScroll: true });
|
|
1047
|
+
return;
|
|
1048
|
+
}
|
|
1049
|
+
const wasRemoved = wasUnmounted && focusedRowIndex < 0;
|
|
1050
|
+
if (pendingRowFocus.current == null && !wasRemoved) return;
|
|
1051
|
+
const previousIndex = wasRemoved ? Number(previous.dataset.rowIndex) : restingRow?.index ?? 0;
|
|
1052
|
+
const next = wasRemoved ? focusableRowFrom(Math.min(previousIndex, rows.length - 1), 1) ?? focusableRowFrom(Math.min(previousIndex, rows.length - 1), -1) : restingRow;
|
|
1053
|
+
if (next) focusFlatRow(next);
|
|
1054
|
+
else {
|
|
1055
|
+
pendingRowFocus.current = null;
|
|
1056
|
+
ownedRow.current = null;
|
|
1057
|
+
scrollerRef.current?.focus({ preventScroll: true });
|
|
1058
|
+
}
|
|
1059
|
+
});
|
|
1060
|
+
const [isRangeDragging, setIsRangeDragging] = useState(false);
|
|
1061
|
+
useEffect(() => {
|
|
1062
|
+
if (!isRangeDragging) return;
|
|
1063
|
+
const end = () => {
|
|
1064
|
+
if (cellSelection) cellSelection.isDraggingRef.current = false;
|
|
1065
|
+
setIsRangeDragging(false);
|
|
1066
|
+
};
|
|
1067
|
+
window.addEventListener("pointerup", end);
|
|
1068
|
+
window.addEventListener("pointercancel", end);
|
|
1069
|
+
return () => {
|
|
1070
|
+
window.removeEventListener("pointerup", end);
|
|
1071
|
+
window.removeEventListener("pointercancel", end);
|
|
1072
|
+
};
|
|
1073
|
+
}, [isRangeDragging, cellSelection]);
|
|
1074
|
+
function moveRowFocus(index, key) {
|
|
1075
|
+
const logicalIndex = pendingRowFocus.current == null ? index : rowIndexForKey(pendingRowFocus.current);
|
|
1076
|
+
const direction = key === "ArrowUp" || key === "End" ? -1 : 1;
|
|
1077
|
+
focusFlatRow(focusableRowFrom(key === "Home" ? 0 : key === "End" ? rows.length - 1 : logicalIndex + direction, direction));
|
|
1078
|
+
}
|
|
1079
|
+
const sentinelRef = useRef(null);
|
|
1080
|
+
const onLoadMoreEvent = useEvent(() => onLoadMore?.());
|
|
1081
|
+
useEffect(() => {
|
|
1082
|
+
const sentinel = sentinelRef.current;
|
|
1083
|
+
if (!onLoadMore || !hasMore || isLoadingMore || !scrollerEl || !sentinel) return;
|
|
1084
|
+
if (typeof IntersectionObserver === "undefined") return;
|
|
1085
|
+
const margin = loadMoreMargin ?? Math.max(scrollerEl.clientHeight, MIN_LOAD_MORE_MARGIN);
|
|
1086
|
+
const observer = new IntersectionObserver((entries) => {
|
|
1087
|
+
if (entries.some((entry) => entry.isIntersecting)) onLoadMoreEvent();
|
|
1088
|
+
}, {
|
|
1089
|
+
root: scrollerEl,
|
|
1090
|
+
rootMargin: `0px 0px ${margin}px 0px`
|
|
1091
|
+
});
|
|
1092
|
+
observer.observe(sentinel);
|
|
1093
|
+
return () => observer.disconnect();
|
|
1094
|
+
}, [
|
|
1095
|
+
onLoadMore,
|
|
1096
|
+
hasMore,
|
|
1097
|
+
isLoadingMore,
|
|
1098
|
+
scrollerEl,
|
|
1099
|
+
loadMoreMargin,
|
|
1100
|
+
onLoadMoreEvent,
|
|
1101
|
+
rows.length
|
|
1102
|
+
]);
|
|
1103
|
+
const contextMenu = useContextMenu(__Menu, { placement: "bottom start" });
|
|
1104
|
+
useEffect(() => {
|
|
1105
|
+
if (!scrollerEl) return;
|
|
1106
|
+
return bindTouchContextMenu(scrollerEl);
|
|
1107
|
+
}, [scrollerEl]);
|
|
1108
|
+
function rememberRowMenuOrigin(key, index, isContextMenu = false) {
|
|
1109
|
+
menuOrigin.current = {
|
|
1110
|
+
key,
|
|
1111
|
+
index,
|
|
1112
|
+
isContextMenu,
|
|
1113
|
+
target: document.activeElement instanceof HTMLElement ? document.activeElement : null
|
|
1114
|
+
};
|
|
1115
|
+
const element = mountedRow(key);
|
|
1116
|
+
if (element) ownedRow.current = element;
|
|
1117
|
+
setFocusedRow({
|
|
1118
|
+
key,
|
|
1119
|
+
index
|
|
1120
|
+
});
|
|
1121
|
+
}
|
|
1122
|
+
const restoreRowMenuFocus = useEvent(() => {
|
|
1123
|
+
const origin = menuOrigin.current;
|
|
1124
|
+
menuOrigin.current = null;
|
|
1125
|
+
if (!origin) return;
|
|
1126
|
+
const active = document.activeElement;
|
|
1127
|
+
if (active instanceof HTMLElement && active !== document.body && active.isConnected && active !== origin.target && !active.closest("[role=\"menu\"]")) return;
|
|
1128
|
+
if (origin.target?.isConnected) origin.target.focus();
|
|
1129
|
+
else {
|
|
1130
|
+
const currentIndex = rowIndexForKey(origin.key);
|
|
1131
|
+
const index = currentIndex >= 0 ? currentIndex : Math.min(origin.index, rows.length - 1);
|
|
1132
|
+
const next = focusableRowFrom(index, 1) ?? focusableRowFrom(index, -1);
|
|
1133
|
+
if (next) focusFlatRow(next);
|
|
1134
|
+
else scrollerRef.current?.focus({ preventScroll: true });
|
|
1135
|
+
}
|
|
1136
|
+
});
|
|
1137
|
+
function handleRowMenuOpenChange(isOpen, key, index) {
|
|
1138
|
+
if (isOpen) rememberRowMenuOrigin(key, index);
|
|
1139
|
+
else restoreRowMenuFocus();
|
|
1140
|
+
}
|
|
1141
|
+
useEffect(() => {
|
|
1142
|
+
if (contextMenu.isOpen || !menuOrigin.current?.isContextMenu) return;
|
|
1143
|
+
contextMenu.close();
|
|
1144
|
+
restoreRowMenuFocus();
|
|
1145
|
+
}, [contextMenu, restoreRowMenuFocus]);
|
|
1146
|
+
function resolveRowMenu(row, rowIndex, rowKey) {
|
|
1147
|
+
if (!rowMenu) return null;
|
|
1148
|
+
return rowMenu(row, {
|
|
1149
|
+
row,
|
|
1150
|
+
rowKey,
|
|
1151
|
+
rowIndex,
|
|
1152
|
+
section: "body",
|
|
1153
|
+
isSelected: selection?.isSelected(rowKey) ?? false,
|
|
1154
|
+
isFocused: false,
|
|
1155
|
+
isDropTarget: false
|
|
1156
|
+
});
|
|
1157
|
+
}
|
|
1158
|
+
/** Whether a right-click or a touch long press on the row opens a menu. */
|
|
1159
|
+
function hasRowMenu(row, rowIndex, rowKey) {
|
|
1160
|
+
return isMenuEnabled && !isMenuEmpty(resolveRowMenu(row, rowIndex, rowKey));
|
|
1161
|
+
}
|
|
1162
|
+
const notifyRowMenuAction = useEvent((action, row, rowKey) => {
|
|
1163
|
+
const index = rowIndexForKey(rowKey);
|
|
1164
|
+
onRowMenuAction?.(normalizeMenuAction(action), index >= 0 ? rows[index] : row, rowKey);
|
|
1165
|
+
});
|
|
1166
|
+
function menuActionHandler(row, rowKey, closeAfter) {
|
|
1167
|
+
return (action) => {
|
|
1168
|
+
notifyRowMenuAction(action, row, rowKey);
|
|
1169
|
+
if (closeAfter) contextMenu.close();
|
|
1170
|
+
};
|
|
1171
|
+
}
|
|
1172
|
+
const openContextMenuFor = useEvent((row, rowIndex, rowKey, event) => {
|
|
1173
|
+
const items = resolveRowMenu(row, rowIndex, rowKey);
|
|
1174
|
+
if (selection?.isRowDisabled(rowKey) || isMenuEmpty(items)) return;
|
|
1175
|
+
event.preventDefault();
|
|
1176
|
+
if (!tree) rememberRowMenuOrigin(rowKey, rowIndex, true);
|
|
1177
|
+
const rect = mountedRow(rowKey)?.getBoundingClientRect();
|
|
1178
|
+
contextMenu.open({
|
|
1179
|
+
children: items,
|
|
1180
|
+
onAction: menuActionHandler(row, rowKey, true)
|
|
1181
|
+
}, tree ? void 0 : { shouldRestoreFocus: false }, "clientX" in event.nativeEvent ? event.nativeEvent : new MouseEvent("contextmenu", {
|
|
1182
|
+
clientX: rect ? rect.left + rect.width / 2 : 0,
|
|
1183
|
+
clientY: rect ? rect.top + rect.height / 2 : 0
|
|
1184
|
+
}));
|
|
1185
|
+
});
|
|
1186
|
+
const columnMenu = useColumnMenu({
|
|
1187
|
+
contextMenu,
|
|
1188
|
+
columnContextMenu,
|
|
1189
|
+
columnMenuProps,
|
|
1190
|
+
columnMenuTriggerProps,
|
|
1191
|
+
onColumnSortChange,
|
|
1192
|
+
onColumnMenuAction
|
|
1193
|
+
});
|
|
1194
|
+
/** Resolves the row a pointer or keyboard event landed in. */
|
|
1195
|
+
function rowFromEvent(target) {
|
|
1196
|
+
const element = target?.closest?.("tr[data-element=\"Row\"][data-key]");
|
|
1197
|
+
if (!element || element.parentElement !== localBodyRef.current) return null;
|
|
1198
|
+
const index = Number(element.getAttribute("data-row-index"));
|
|
1199
|
+
if (!Number.isInteger(index)) return null;
|
|
1200
|
+
const row = rows[index];
|
|
1201
|
+
return row === void 0 ? null : {
|
|
1202
|
+
row,
|
|
1203
|
+
index,
|
|
1204
|
+
key: bodyRowKey(row, index),
|
|
1205
|
+
element
|
|
1206
|
+
};
|
|
1207
|
+
}
|
|
1208
|
+
function handleFlatRowNavigation(event, found) {
|
|
1209
|
+
if (!hasFlatRowNavigation || event.altKey || event.ctrlKey || event.metaKey || event.shiftKey || dragState?.draggingKeys?.size) return false;
|
|
1210
|
+
if (![
|
|
1211
|
+
"ArrowDown",
|
|
1212
|
+
"ArrowUp",
|
|
1213
|
+
"Home",
|
|
1214
|
+
"End"
|
|
1215
|
+
].includes(event.key)) return false;
|
|
1216
|
+
const target = event.target;
|
|
1217
|
+
if (target === event.currentTarget) switch (event.key) {
|
|
1218
|
+
case "Home":
|
|
1219
|
+
focusFlatRow(focusableRowFrom(0, 1));
|
|
1220
|
+
break;
|
|
1221
|
+
case "End":
|
|
1222
|
+
focusFlatRow(focusableRowFrom(rows.length - 1, -1));
|
|
1223
|
+
break;
|
|
1224
|
+
default: focusFlatRow(tabStopRow ?? restingRow);
|
|
1225
|
+
}
|
|
1226
|
+
else if (found && target === found.element) moveRowFocus(found.index, event.key);
|
|
1227
|
+
else if (event.key === "ArrowDown" && target.matches("th[data-element=\"HeaderCell\"]")) focusFlatRow(tabStopRow ?? restingRow);
|
|
1228
|
+
else return false;
|
|
1229
|
+
event.preventDefault();
|
|
1230
|
+
return true;
|
|
1231
|
+
}
|
|
1232
|
+
const paddingTop = virtualItems.length ? virtualItems[0].start : 0;
|
|
1233
|
+
const paddingBottom = virtualItems.length ? virtualizer.getTotalSize() - virtualItems[virtualItems.length - 1].end : 0;
|
|
1234
|
+
const colGroup = /* @__PURE__ */ jsx("colgroup", { children: columns.map((column) => /* @__PURE__ */ jsx("col", { style: column.width != null ? { width: column.width } : void 0 }, column.key)) });
|
|
1235
|
+
function pathsSharePrefix(left, right, depth) {
|
|
1236
|
+
for (let index = 0; index <= depth; index++) if (left[index]?.key !== right[index]?.key) return false;
|
|
1237
|
+
return true;
|
|
1238
|
+
}
|
|
1239
|
+
function renderHeaderGroupCell(group, segment, depth) {
|
|
1240
|
+
const first = segment[0];
|
|
1241
|
+
const last = segment[segment.length - 1];
|
|
1242
|
+
const pin = segment.every((column) => column.pin === first.pin) ? first.pin : void 0;
|
|
1243
|
+
const pinOffset = pin === "start" ? first.pinOffset : pin === "end" ? last.pinOffset : null;
|
|
1244
|
+
return /* @__PURE__ */ jsx("th", {
|
|
1245
|
+
"data-element": "HeaderGroupCell",
|
|
1246
|
+
"data-key": group.key,
|
|
1247
|
+
"data-pin": pin,
|
|
1248
|
+
"data-pin-edge": segment.some((column) => column.isPinEdge) ? "" : void 0,
|
|
1249
|
+
"data-last-column": last.index === columnCount - 1 ? "" : void 0,
|
|
1250
|
+
"data-align": "center",
|
|
1251
|
+
role: "columnheader",
|
|
1252
|
+
scope: "colgroup",
|
|
1253
|
+
tabIndex: -1,
|
|
1254
|
+
"aria-colindex": first.ariaColIndex,
|
|
1255
|
+
colSpan: segment.length,
|
|
1256
|
+
style: pinOffset == null ? void 0 : { ["--pin-offset"]: `${pinOffset}px` },
|
|
1257
|
+
children: /* @__PURE__ */ jsx(TableHeaderItem, { children: group.title })
|
|
1258
|
+
}, `${depth}:${first.key}:${group.key}`);
|
|
1259
|
+
}
|
|
1260
|
+
function renderHeaderRowCells(depth) {
|
|
1261
|
+
const cells = [];
|
|
1262
|
+
for (let columnIndex = 0; columnIndex < columns.length;) {
|
|
1263
|
+
const column = columns[columnIndex];
|
|
1264
|
+
const path = columnHeaderPaths?.get(column.key) ?? [];
|
|
1265
|
+
if (path.length < depth) {
|
|
1266
|
+
columnIndex++;
|
|
1267
|
+
continue;
|
|
1268
|
+
}
|
|
1269
|
+
if (path.length === depth) {
|
|
1270
|
+
cells.push(renderHeaderCell(column, headerRowCount - depth));
|
|
1271
|
+
columnIndex++;
|
|
1272
|
+
continue;
|
|
1273
|
+
}
|
|
1274
|
+
let segmentEnd = columnIndex + 1;
|
|
1275
|
+
while (segmentEnd < columns.length) {
|
|
1276
|
+
const nextPath = columnHeaderPaths?.get(columns[segmentEnd].key) ?? [];
|
|
1277
|
+
if (nextPath.length <= depth || columns[segmentEnd].pin !== column.pin || !pathsSharePrefix(path, nextPath, depth)) break;
|
|
1278
|
+
segmentEnd++;
|
|
1279
|
+
}
|
|
1280
|
+
cells.push(renderHeaderGroupCell(path[depth], columns.slice(columnIndex, segmentEnd), depth));
|
|
1281
|
+
columnIndex = segmentEnd;
|
|
1282
|
+
}
|
|
1283
|
+
return cells;
|
|
1284
|
+
}
|
|
1285
|
+
const headerRows = isHeaderHidden ? null : Array.from({ length: headerRowCount }, (_, depth) => {
|
|
1286
|
+
const isLeafRow = depth === headerRowCount - 1;
|
|
1287
|
+
return /* @__PURE__ */ jsx("tr", {
|
|
1288
|
+
"data-element": "HeadRow",
|
|
1289
|
+
role: "row",
|
|
1290
|
+
"aria-rowindex": depth + 1,
|
|
1291
|
+
ref: isLeafRow ? headRowRef : void 0,
|
|
1292
|
+
...isLeafRow ? headCollectionProps : void 0,
|
|
1293
|
+
onKeyDownCapture: isLeafRow ? (event) => {
|
|
1294
|
+
if (event.target?.closest?.("[data-element=\"Resizer\"]")) return;
|
|
1295
|
+
headCollectionProps?.onKeyDownCapture?.(event);
|
|
1296
|
+
} : void 0,
|
|
1297
|
+
children: renderHeaderRowCells(depth)
|
|
1298
|
+
}, depth);
|
|
1299
|
+
});
|
|
1300
|
+
const tableProps = {
|
|
1301
|
+
"data-element": "Table",
|
|
1302
|
+
role: tree ? "treegrid" : "grid",
|
|
1303
|
+
"aria-label": ariaLabel,
|
|
1304
|
+
"aria-busy": isLoading || void 0,
|
|
1305
|
+
"aria-rowcount": headerRowCount + pinnedTopCount + bodyRowCount + pinnedBottomCount,
|
|
1306
|
+
"aria-colcount": columnCount,
|
|
1307
|
+
"aria-multiselectable": selection?.selectionMode === "multiple" ? true : void 0
|
|
1308
|
+
};
|
|
1309
|
+
const tableStyle = layout.totalWidth != null ? { width: layout.totalWidth } : void 0;
|
|
1310
|
+
/**
|
|
1311
|
+
* What `<tbody>` holds between the pinned rows: the error, the loading
|
|
1312
|
+
* skeleton, nothing at all, the empty state, or the rows — in that order of
|
|
1313
|
+
* precedence.
|
|
1314
|
+
*/
|
|
1315
|
+
function renderBodyContent() {
|
|
1316
|
+
if (error != null) return renderStateRow(error);
|
|
1317
|
+
if (showSkeleton) return renderSkeletonRows();
|
|
1318
|
+
if (showBlank) return null;
|
|
1319
|
+
if (!hasRows) return renderStateRow(isFiltered ? noResultsLabel : emptyLabel);
|
|
1320
|
+
if (shouldVirtualize) return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1321
|
+
renderSpacerRow(paddingTop, "top"),
|
|
1322
|
+
virtualItems.map((v) => renderBodyItem(bodyItems?.items[v.index], v.index, true)),
|
|
1323
|
+
renderSpacerRow(paddingBottom, "bottom")
|
|
1324
|
+
] });
|
|
1325
|
+
return bodyItems ? bodyItems.items.map((item, index) => renderBodyItem(item, index)) : rows.map((row, index) => withDropIndicators(row, index));
|
|
1326
|
+
}
|
|
1327
|
+
function renderBodyItem(item, index, isVirtual = false) {
|
|
1328
|
+
if (item?.kind !== "section") {
|
|
1329
|
+
const rowIndex = item?.rowIndex ?? index;
|
|
1330
|
+
return withDropIndicators(rows[rowIndex], rowIndex, isVirtual, index);
|
|
1331
|
+
}
|
|
1332
|
+
const { section } = item;
|
|
1333
|
+
return /* @__PURE__ */ jsx("tr", {
|
|
1334
|
+
"data-element": "SectionRow",
|
|
1335
|
+
"data-section-key": String(section.key),
|
|
1336
|
+
role: "row",
|
|
1337
|
+
"aria-rowindex": headerRowCount + pinnedTopCount + section.index + 1,
|
|
1338
|
+
"data-index": isVirtual ? index : void 0,
|
|
1339
|
+
ref: isVirtual ? virtualizer.measureElement : void 0,
|
|
1340
|
+
children: Array.from({ length: Math.ceil(Math.max(columnCount, 1) / 1e3) }, (_, index) => /* @__PURE__ */ jsx("td", {
|
|
1341
|
+
"data-element": "SectionCell",
|
|
1342
|
+
role: index === 0 ? "gridcell" : "presentation",
|
|
1343
|
+
"aria-hidden": index > 0 || void 0,
|
|
1344
|
+
colSpan: Math.min(Math.max(columnCount, 1) - index * 1e3, 1e3),
|
|
1345
|
+
"aria-colindex": index === 0 ? 1 : void 0,
|
|
1346
|
+
"aria-colspan": index === 0 ? Math.max(columnCount, 1) : void 0,
|
|
1347
|
+
children: index === 0 ? /* @__PURE__ */ jsx("div", {
|
|
1348
|
+
"data-element": "SectionContent",
|
|
1349
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
1350
|
+
"data-element": "SectionLabel",
|
|
1351
|
+
children: section.title
|
|
1352
|
+
})
|
|
1353
|
+
}) : null
|
|
1354
|
+
}, index))
|
|
1355
|
+
}, `section:${typeof section.key}:${section.key}`);
|
|
1356
|
+
}
|
|
1357
|
+
const bodyContent = renderBodyContent();
|
|
1358
|
+
const tableContent = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1359
|
+
colGroup,
|
|
1360
|
+
isHeaderHidden ? null : /* @__PURE__ */ jsx("thead", {
|
|
1361
|
+
"data-element": "Head",
|
|
1362
|
+
children: headerRows
|
|
1363
|
+
}),
|
|
1364
|
+
/* @__PURE__ */ jsxs("tbody", {
|
|
1365
|
+
"data-element": "Body",
|
|
1366
|
+
...collectionProps,
|
|
1367
|
+
ref: handleBodyRef,
|
|
1368
|
+
children: [
|
|
1369
|
+
pinnedTopRows?.map((row, index) => renderPinnedRow(row, index, "top")),
|
|
1370
|
+
bodyContent,
|
|
1371
|
+
pinnedBottomRows?.map((row, index) => renderPinnedRow(row, index, "bottom")),
|
|
1372
|
+
isLoadingMore ? renderSkeletonRows(loadMoreSkeletonCount, "load-more") : null,
|
|
1373
|
+
onLoadMore && hasRows ? /* @__PURE__ */ jsx("tr", {
|
|
1374
|
+
"data-element": "SentinelRow",
|
|
1375
|
+
"data-sentinel": "",
|
|
1376
|
+
"aria-hidden": "true",
|
|
1377
|
+
children: /* @__PURE__ */ jsx("td", {
|
|
1378
|
+
"data-element": "SentinelCell",
|
|
1379
|
+
colSpan: Math.max(columnCount, 1),
|
|
1380
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
1381
|
+
ref: sentinelRef,
|
|
1382
|
+
"data-element": "Sentinel"
|
|
1383
|
+
})
|
|
1384
|
+
})
|
|
1385
|
+
}) : null
|
|
1386
|
+
]
|
|
1387
|
+
})
|
|
1388
|
+
] });
|
|
1389
|
+
if (columnCount === 0 && isLoading) return /* @__PURE__ */ jsxs(TableElement, {
|
|
1390
|
+
...props.customizationProps,
|
|
1391
|
+
ref: rootRef,
|
|
1392
|
+
qa: qa || "Table",
|
|
1393
|
+
styles: mergedStyles,
|
|
1394
|
+
mods: {
|
|
1395
|
+
size,
|
|
1396
|
+
shape,
|
|
1397
|
+
...mods
|
|
1398
|
+
},
|
|
1399
|
+
children: [toolbar, /* @__PURE__ */ jsx("div", {
|
|
1400
|
+
"data-element": "Scroller",
|
|
1401
|
+
ref: handleScrollerRef,
|
|
1402
|
+
children: /* @__PURE__ */ jsx(Skeleton, { layout: "table" })
|
|
1403
|
+
})]
|
|
1404
|
+
});
|
|
1405
|
+
return /* @__PURE__ */ jsxs(TableElement, {
|
|
1406
|
+
...props.customizationProps,
|
|
1407
|
+
ref: rootRef,
|
|
1408
|
+
qa: qa || "Table",
|
|
1409
|
+
styles: mergedStyles,
|
|
1410
|
+
tokens: {
|
|
1411
|
+
...sectionCaptionTokens(sectionLayout, layout.totalWidth),
|
|
1412
|
+
...props.customizationProps?.tokens
|
|
1413
|
+
},
|
|
1414
|
+
mods: {
|
|
1415
|
+
size,
|
|
1416
|
+
shape,
|
|
1417
|
+
"sticky-header": isHeaderSticky,
|
|
1418
|
+
"column-dividers": hasColumnDividers,
|
|
1419
|
+
"range-dragging": isRangeDragging,
|
|
1420
|
+
"has-footer": footer != null,
|
|
1421
|
+
"scroll-x": scrollability.x,
|
|
1422
|
+
"scroll-y": scrollability.y,
|
|
1423
|
+
stale: isStale,
|
|
1424
|
+
...mods
|
|
1425
|
+
},
|
|
1426
|
+
children: [
|
|
1427
|
+
toolbar,
|
|
1428
|
+
/* @__PURE__ */ jsx("div", {
|
|
1429
|
+
"data-element": "Scroller",
|
|
1430
|
+
ref: handleScrollerRef,
|
|
1431
|
+
tabIndex: scrollerTabStop(cellSelection?.isEnabled, hasFlatRowNavigation, restingRow, tabStopRow),
|
|
1432
|
+
onFocusCapture: (event) => {
|
|
1433
|
+
if (!hasFlatRowNavigation) return;
|
|
1434
|
+
const found = rowFromEvent(event.target);
|
|
1435
|
+
if (!found || focusableRowFrom(found.index, 1)?.key !== found.key) {
|
|
1436
|
+
pendingRowFocus.current = null;
|
|
1437
|
+
ownedRow.current = null;
|
|
1438
|
+
return;
|
|
1439
|
+
}
|
|
1440
|
+
if (pendingRowFocus.current !== found.key) pendingRowFocus.current = null;
|
|
1441
|
+
ownedRow.current = found.element;
|
|
1442
|
+
setFocusedRow({
|
|
1443
|
+
key: found.key,
|
|
1444
|
+
index: found.index
|
|
1445
|
+
});
|
|
1446
|
+
selection?.selectionManager.setFocusedKey(found.key);
|
|
1447
|
+
if (event.target === found.element && getInteractionModality() !== "pointer" && scrollerRef.current) revealFocusedRow(found.element, scrollerRef.current, isHeaderSticky);
|
|
1448
|
+
},
|
|
1449
|
+
onBlurCapture: (event) => {
|
|
1450
|
+
const target = event.relatedTarget;
|
|
1451
|
+
if (target instanceof Element && !event.currentTarget.contains(target)) {
|
|
1452
|
+
pendingRowFocus.current = null;
|
|
1453
|
+
if (!target.closest("[role=\"menu\"]")) ownedRow.current = null;
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1456
|
+
onKeyDown: (event) => {
|
|
1457
|
+
const found = rowFromEvent(event.target);
|
|
1458
|
+
const target = event.target;
|
|
1459
|
+
const isRowTarget = found && target === found.element;
|
|
1460
|
+
if (pendingRowFocus.current != null && found && pendingRowFocus.current !== found.key && (event.key === "Enter" || event.key === "F10" && event.shiftKey)) {
|
|
1461
|
+
event.preventDefault();
|
|
1462
|
+
event.stopPropagation();
|
|
1463
|
+
return;
|
|
1464
|
+
}
|
|
1465
|
+
if (handleFlatRowNavigation(event, found)) return;
|
|
1466
|
+
if (event.key === "F10" && event.shiftKey && isMenuEnabled) {
|
|
1467
|
+
if (found) {
|
|
1468
|
+
event.stopPropagation();
|
|
1469
|
+
openContextMenuFor(found.row, found.index, found.key, event);
|
|
1470
|
+
}
|
|
1471
|
+
return;
|
|
1472
|
+
}
|
|
1473
|
+
if (event.key === "Enter" && found) {
|
|
1474
|
+
if (!selection?.isRowDisabled(found.key) && !isCellControl(target, found.element)) {
|
|
1475
|
+
if (isReorderable && isRowTarget) return;
|
|
1476
|
+
const link = found.element.querySelector("[data-element=\"RowLink\"]");
|
|
1477
|
+
if (link && !tree) {
|
|
1478
|
+
event.preventDefault();
|
|
1479
|
+
link.dispatchEvent(new MouseEvent("click", {
|
|
1480
|
+
bubbles: true,
|
|
1481
|
+
cancelable: true,
|
|
1482
|
+
button: 0,
|
|
1483
|
+
altKey: event.altKey,
|
|
1484
|
+
ctrlKey: event.ctrlKey,
|
|
1485
|
+
metaKey: event.metaKey,
|
|
1486
|
+
shiftKey: event.shiftKey
|
|
1487
|
+
}));
|
|
1488
|
+
} else if (onRowAction) {
|
|
1489
|
+
event.preventDefault();
|
|
1490
|
+
onRowAction(found.row, found.key);
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
return;
|
|
1494
|
+
}
|
|
1495
|
+
if (event.key === "Escape") {
|
|
1496
|
+
if (cellSelection?.range) {
|
|
1497
|
+
event.stopPropagation();
|
|
1498
|
+
cellSelection.clear();
|
|
1499
|
+
return;
|
|
1500
|
+
}
|
|
1501
|
+
if (selection?.isEnabled && selection.selectedCount > 0) {
|
|
1502
|
+
event.stopPropagation();
|
|
1503
|
+
selection.clearSelection();
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
onCopy: (event) => {
|
|
1508
|
+
if (!cellSelection?.range) return;
|
|
1509
|
+
const matrix = cellSelection.getSelectionMatrix((column, row, rowIndex) => column.isStructural ? "" : getColumnText(column, row, rowIndex) ?? "");
|
|
1510
|
+
if (!matrix.length) return;
|
|
1511
|
+
event.preventDefault();
|
|
1512
|
+
event.clipboardData.setData("text/plain", toTsv(matrix));
|
|
1513
|
+
event.clipboardData.setData("text/html", toClipboardHtml(matrix));
|
|
1514
|
+
toast.success({
|
|
1515
|
+
title: t("itemTable.copiedToClipboard", "Copied to clipboard"),
|
|
1516
|
+
description: t("itemTable.copiedCells", "{{count}} cells copied", { count: cellSelection.cellCount })
|
|
1517
|
+
});
|
|
1518
|
+
},
|
|
1519
|
+
children: tree ? /* @__PURE__ */ jsx(TreeGridTable, {
|
|
1520
|
+
tree,
|
|
1521
|
+
tableProps,
|
|
1522
|
+
style: tableStyle,
|
|
1523
|
+
children: tableContent
|
|
1524
|
+
}) : /* @__PURE__ */ jsx("table", {
|
|
1525
|
+
...tableProps,
|
|
1526
|
+
style: tableStyle,
|
|
1527
|
+
children: tableContent
|
|
1528
|
+
})
|
|
1529
|
+
}),
|
|
1530
|
+
/* @__PURE__ */ jsx(VisuallyHidden, { children: /* @__PURE__ */ jsx("span", {
|
|
1531
|
+
role: "status",
|
|
1532
|
+
children: isStale ? t("itemTable.refreshing", "Refreshing") : ""
|
|
1533
|
+
}) }),
|
|
1534
|
+
overlay,
|
|
1535
|
+
contextMenu.rendered,
|
|
1536
|
+
tints.configs.map((config, index) => /* @__PURE__ */ jsx(ColumnTintRegistrar, { config }, index)),
|
|
1537
|
+
footer
|
|
1538
|
+
]
|
|
1539
|
+
});
|
|
1540
|
+
}
|
|
1541
|
+
//#endregion
|
|
1542
|
+
export { TableView };
|
|
1543
|
+
|
|
1544
|
+
//# sourceMappingURL=TableView.js.map
|