@heliux-org/design-system-core 0.0.350 → 0.0.352
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/RowCellChildren.css +4 -0
- package/dist/RowCellChildren.css.map +1 -0
- package/dist/RowCellChildren.js +3 -0
- package/dist/RowCellChildren.js.LICENSE.txt +23 -0
- package/dist/RowCellChildren.js.map +1 -0
- package/dist/components/NewTable/components/Row/index.js +3 -1
- package/dist/components/NewTable/components/Row/index.js.map +1 -1
- package/dist/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.js +15 -1
- package/dist/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.js.map +1 -1
- package/dist/components/NewTable/index.js +2 -1
- package/dist/components/NewTable/index.js.map +1 -1
- package/dist/components/index.js +5 -3
- package/dist/components/index.js.map +1 -1
- package/dist/esm/components/NewTable/components/Row/index.d.ts +2 -1
- package/dist/esm/components/NewTable/components/Row/index.d.ts.map +1 -1
- package/dist/esm/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.d.ts +1 -1
- package/dist/esm/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.d.ts.map +1 -1
- package/dist/esm/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.types.d.ts +1 -0
- package/dist/esm/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.types.d.ts.map +1 -1
- package/dist/esm/components/NewTable/index.d.ts +1 -1
- package/dist/esm/components/NewTable/index.d.ts.map +1 -1
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
- package/dist/esm/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
- package/dist/esm/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
- package/dist/esm/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
- package/dist/esm/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
- package/dist/esm/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
- package/dist/esm/src/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
- package/dist/esm/src/components/Avatar/Avatar.module.scss.js +1 -1
- package/dist/esm/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
- package/dist/esm/src/components/Avatar/AvatarContent.module.scss.js +1 -1
- package/dist/esm/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
- package/dist/esm/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
- package/dist/esm/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
- package/dist/esm/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
- package/dist/esm/src/components/Badge/Badge.module.scss.js +1 -1
- package/dist/esm/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
- package/dist/esm/src/components/Box/Box.module.scss.js +1 -1
- package/dist/esm/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
- package/dist/esm/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
- package/dist/esm/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
- package/dist/esm/src/components/Button/Button.module.scss.js +1 -1
- package/dist/esm/src/components/ButtonGroup/ButtonGroup.module.scss.js +1 -1
- package/dist/esm/src/components/Checkbox/Checkbox.module.scss.js +1 -1
- package/dist/esm/src/components/Clickable/Clickable.module.scss.js +1 -1
- package/dist/esm/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
- package/dist/esm/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
- package/dist/esm/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
- package/dist/esm/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
- package/dist/esm/src/components/Combobox/Combobox.module.scss.js +1 -1
- package/dist/esm/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
- package/dist/esm/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
- package/dist/esm/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
- package/dist/esm/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
- package/dist/esm/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
- package/dist/esm/src/components/Comments/comments.scss.js +1 -1
- package/dist/esm/src/components/Counter/Counter.module.scss.js +1 -1
- package/dist/esm/src/components/DatePicker/DateNavigationItem/DateNavigationItem.module.scss.js +1 -1
- package/dist/esm/src/components/DatePicker/DatePicker.module.scss.js +1 -1
- package/dist/esm/src/components/DatePicker/DatePickerHeader/DatePickerHeader.module.scss.js +1 -1
- package/dist/esm/src/components/DatePicker/YearPicker/YearPicker.module.scss.js +1 -1
- package/dist/esm/src/components/DatePicker/external_datepicker.scss.js +1 -1
- package/dist/esm/src/components/Dialog/Dialog.module.scss.js +1 -1
- package/dist/esm/src/components/Dialog/DialogContent/DialogContent.module.scss.js +1 -1
- package/dist/esm/src/components/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
- package/dist/esm/src/components/Diffs/DiffCell/DiffCell.module.scss.js +1 -1
- package/dist/esm/src/components/Divider/Divider.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/Dropdown.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/components/ChildrenContent/ChildrenContent.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/components/ClearIndicator/ClearIndicator.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/components/MultiValueContainer/MultiValueContainer.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/components/menu/menu.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/components/option/option.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/components/singleValue/singleValue.module.scss.js +1 -1
- package/dist/esm/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
- package/dist/esm/src/components/EditableInput/EditableInput.module.scss.js +1 -1
- package/dist/esm/src/components/EditableText/EditableText.module.scss.js +1 -1
- package/dist/esm/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
- package/dist/esm/src/components/EmptyState/EmptyState.module.scss.js +1 -1
- package/dist/esm/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
- package/dist/esm/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
- package/dist/esm/src/components/Flex/Flex.module.scss.js +1 -1
- package/dist/esm/src/components/FormattedNumber/FormattedNumber.module.scss.js +1 -1
- package/dist/esm/src/components/HeaderActions/HeaderActions.module.scss.js +1 -1
- package/dist/esm/src/components/Heading/Heading.module.scss.js +1 -1
- package/dist/esm/src/components/HiddenText/HiddenText.module.scss.js +1 -1
- package/dist/esm/src/components/Icon/Icon.module.scss.js +1 -1
- package/dist/esm/src/components/IconButton/IconButton.module.scss.js +1 -1
- package/dist/esm/src/components/InlineEdit/InlineEdit.module.scss.js +1 -1
- package/dist/esm/src/components/Label/Label.module.scss.js +1 -1
- package/dist/esm/src/components/LegacyEditableHeading/LegacyEditableHeading.module.scss.js +1 -1
- package/dist/esm/src/components/LegacyHeading/LegacyHeading.module.scss.js +1 -1
- package/dist/esm/src/components/Link/Link.module.scss.js +1 -1
- package/dist/esm/src/components/List/List.module.scss.js +1 -1
- package/dist/esm/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
- package/dist/esm/src/components/ListItem/ListItem.module.scss.js +1 -1
- package/dist/esm/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
- package/dist/esm/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
- package/dist/esm/src/components/ListTitle/ListTitle.module.scss.js +1 -1
- package/dist/esm/src/components/Loader/Loader.module.scss.js +1 -1
- package/dist/esm/src/components/Menu/Menu/Menu.module.scss.js +1 -1
- package/dist/esm/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
- package/dist/esm/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
- package/dist/esm/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
- package/dist/esm/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
- package/dist/esm/src/components/MenuButton/MenuButton.module.scss.js +1 -1
- package/dist/esm/src/components/Modal/Modal.module.scss.js +1 -1
- package/dist/esm/src/components/Modal/ModalContent/ModalContent.module.scss.js +1 -1
- package/dist/esm/src/components/Modal/ModalFooter/ModalFooter.module.scss.js +1 -1
- package/dist/esm/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
- package/dist/esm/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
- package/dist/esm/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/Table.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/Cell/Cell.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/Cell/HeaderCell/HeaderCell.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/ExpandedContent/ExpandedContent.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/Row/Row.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/Row/RowContext.js +1 -1
- package/dist/esm/src/components/NewTable/components/TableHead/TableHead.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/TableHeader/TableHeader.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/ToggleExpandedIcon/ToggleExpandedIcon.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/newComponents/pagination/Pagination.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.js +1 -1
- package/dist/esm/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.js.map +1 -1
- package/dist/esm/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.module.scss.js +1 -1
- package/dist/esm/src/components/NumericField/NumericField.module.scss.js +1 -1
- package/dist/esm/src/components/PageHeader/PageHeader.module.scss.js +1 -1
- package/dist/esm/src/components/Panel/Panel.module.scss.js +1 -1
- package/dist/esm/src/components/PanelLayout/PanelLayout.module.scss.js +1 -1
- package/dist/esm/src/components/ProcessingToast/ProcessingToast.module.scss.js +1 -1
- package/dist/esm/src/components/ProgressBars/LinearProgressBar/Bar/Bar.module.scss.js +1 -1
- package/dist/esm/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.module.scss.js +1 -1
- package/dist/esm/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
- package/dist/esm/src/components/RadioButton/RadioButton.module.scss.js +1 -1
- package/dist/esm/src/components/ResponsiveList/ResponsiveList.module.scss.js +1 -1
- package/dist/esm/src/components/ScrollableContainer/scrollableContainer.scss.js +1 -1
- package/dist/esm/src/components/Search/Search.module.scss.js +1 -1
- package/dist/esm/src/components/SectionHeader/SectionHeader.module.scss.js +1 -1
- package/dist/esm/src/components/SegmentControl/SegmentControlCell/SegmentControlCell.module.scss.js +1 -1
- package/dist/esm/src/components/SegmentControl/SegmentControlList/SegmentControlList.module.scss.js +1 -1
- package/dist/esm/src/components/Sidebar/Sidebar.module.scss.js +1 -1
- package/dist/esm/src/components/Skeleton/Skeleton.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/Slider.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SliderInfix.module.scss.js +1 -1
- package/dist/esm/src/components/SplitButton/SplitButton.module.scss.js +1 -1
- package/dist/esm/src/components/Steps/Steps.module.scss.js +1 -1
- package/dist/esm/src/components/Steps/StepsCommand.module.scss.js +1 -1
- package/dist/esm/src/components/Steps/StepsDot.module.scss.js +1 -1
- package/dist/esm/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
- package/dist/esm/src/components/Steps/StepsHeader.module.scss.js +1 -1
- package/dist/esm/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
- package/dist/esm/src/components/Switch/Switch.module.scss.js +1 -1
- package/dist/esm/src/components/Table/TableHeader.module.scss.js +1 -1
- package/dist/esm/src/components/Table/styling/column-filter.scss.js +1 -1
- package/dist/esm/src/components/Table/styling/paginator.scss.js +1 -1
- package/dist/esm/src/components/Table/styling/table_base.scss.js +1 -1
- package/dist/esm/src/components/Table/table.scss.js +1 -1
- package/dist/esm/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
- package/dist/esm/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
- package/dist/esm/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
- package/dist/esm/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
- package/dist/esm/src/components/Tags/Tags.module.scss.js +1 -1
- package/dist/esm/src/components/Text/Text.module.scss.js +1 -1
- package/dist/esm/src/components/TextAreaField/TextAreaField.module.scss.js +1 -1
- package/dist/esm/src/components/TextField/TextField.module.scss.js +1 -1
- package/dist/esm/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
- package/dist/esm/src/components/Timeline/Timeline/Timeline.module.scss.js +1 -1
- package/dist/esm/src/components/Timeline/TimelineRow/TimelineRow.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/Tipseen.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/TipseenImage.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
- package/dist/esm/src/components/Toast/Toast.module.scss.js +1 -1
- package/dist/esm/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
- package/dist/esm/src/components/Toggle/MockToggle.module.scss.js +1 -1
- package/dist/esm/src/components/Toggle/Toggle.module.scss.js +1 -1
- package/dist/esm/src/components/Toggle/ToggleText.module.scss.js +1 -1
- package/dist/esm/src/components/Tooltip/Tooltip.module.scss.js +1 -1
- package/dist/esm/src/components/TopNavigationBar/TopNavigationBar.module.scss.js +1 -1
- package/dist/esm/src/components/TopNavigationBar/components/Notification/Notification.module.scss.js +1 -1
- package/dist/esm/src/components/TopNavigationBar/components/NotificationItem/NotificationItem.module.scss.js +1 -1
- package/dist/esm/src/components/Tree/components/TreeFile/TreeFile.scss.js +1 -1
- package/dist/esm/src/components/Tree/components/TreeFileIcon/TreeFileIcon.scss.js +1 -1
- package/dist/esm/src/components/Tree/components/TreeFolder/TreeFolder.scss.js +1 -1
- package/dist/esm/src/components/Tree/components/TreeFolderIcon/TreeFolderIcon.scss.js +1 -1
- package/dist/esm/src/components/Tree/components/TreeStatusIcon/TreeStatusIcon.scss.js +1 -1
- package/dist/esm/src/components/Tree/components/expand/expand.scss.js +1 -1
- package/dist/esm/src/components/Typography/Typography.module.scss.js +1 -1
- package/dist/esm/src/components/Uploader/Uploader.scss.js +1 -1
- package/dist/esm/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
- package/dist/esm/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
- package/dist/esm/src/components/Workflow/workflow.scss.js +1 -1
- package/dist/esm/src/components/WorkflowCard/WorkflowCard.module.scss.js +1 -1
- package/dist/esm/src/components/WorkflowList/WorkflowList.module.scss.js +1 -1
- package/dist/esm/src/components/WorkflowStep/WorkflowStep.module.scss.js +1 -1
- package/dist/esm/src/index.js +1 -1
- package/dist/esm/style/dist/index.min.css.js +1 -1
- package/dist/main.js +2 -2
- package/dist/main.js.map +1 -1
- package/dist/mocked_classnames_esm/components/NewTable/components/Row/index.d.ts +2 -1
- package/dist/mocked_classnames_esm/components/NewTable/components/Row/index.d.ts.map +1 -1
- package/dist/mocked_classnames_esm/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.d.ts +1 -1
- package/dist/mocked_classnames_esm/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.d.ts.map +1 -1
- package/dist/mocked_classnames_esm/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.types.d.ts +1 -0
- package/dist/mocked_classnames_esm/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.types.d.ts.map +1 -1
- package/dist/mocked_classnames_esm/components/NewTable/index.d.ts +1 -1
- package/dist/mocked_classnames_esm/components/NewTable/index.d.ts.map +1 -1
- package/dist/mocked_classnames_esm/components/index.d.ts +1 -0
- package/dist/mocked_classnames_esm/components/index.d.ts.map +1 -1
- package/dist/mocked_classnames_esm/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Avatar/Avatar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Avatar/AvatarContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Badge/Badge.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Box/Box.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Button/Button.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ButtonGroup/ButtonGroup.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Checkbox/Checkbox.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Clickable/Clickable.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Combobox/Combobox.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Comments/comments.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Counter/Counter.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/DatePicker/DateNavigationItem/DateNavigationItem.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/DatePicker/DatePicker.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/DatePicker/DatePickerHeader/DatePickerHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/DatePicker/YearPicker/YearPicker.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/DatePicker/external_datepicker.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dialog/Dialog.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dialog/DialogContent/DialogContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Diffs/DiffCell/DiffCell.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Divider/Divider.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/Dropdown.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/components/ChildrenContent/ChildrenContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/components/ClearIndicator/ClearIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/components/MultiValueContainer/MultiValueContainer.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/components/menu/menu.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/components/option/option.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/components/singleValue/singleValue.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/EditableInput/EditableInput.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/EditableText/EditableText.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/EmptyState/EmptyState.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Flex/Flex.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/FormattedNumber/FormattedNumber.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/HeaderActions/HeaderActions.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Heading/Heading.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/HiddenText/HiddenText.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Icon/Icon.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/IconButton/IconButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/InlineEdit/InlineEdit.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Label/Label.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/LegacyEditableHeading/LegacyEditableHeading.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/LegacyHeading/LegacyHeading.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Link/Link.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/List/List.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ListItem/ListItem.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ListTitle/ListTitle.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Loader/Loader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Menu/Menu/Menu.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/MenuButton/MenuButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Modal/Modal.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Modal/ModalContent/ModalContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Modal/ModalFooter/ModalFooter.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/Table.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/Cell/Cell.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/Cell/HeaderCell/HeaderCell.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/ExpandedContent/ExpandedContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/Row/Row.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/Row/RowContext.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/TableHead/TableHead.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/TableHeader/TableHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/ToggleExpandedIcon/ToggleExpandedIcon.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/newComponents/pagination/Pagination.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.js.map +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NumericField/NumericField.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/PageHeader/PageHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Panel/Panel.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/PanelLayout/PanelLayout.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ProcessingToast/ProcessingToast.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ProgressBars/LinearProgressBar/Bar/Bar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/RadioButton/RadioButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ResponsiveList/ResponsiveList.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ScrollableContainer/scrollableContainer.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Search/Search.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/SectionHeader/SectionHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/SegmentControl/SegmentControlCell/SegmentControlCell.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/SegmentControl/SegmentControlList/SegmentControlList.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Sidebar/Sidebar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Skeleton/Skeleton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/Slider.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SliderInfix.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/SplitButton/SplitButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Steps/Steps.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Steps/StepsCommand.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Steps/StepsDot.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Steps/StepsHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Switch/Switch.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Table/TableHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Table/styling/column-filter.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Table/styling/paginator.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Table/styling/table_base.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Table/table.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tags/Tags.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Text/Text.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/TextAreaField/TextAreaField.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/TextField/TextField.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Timeline/Timeline/Timeline.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Timeline/TimelineRow/TimelineRow.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/Tipseen.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenImage.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Toast/Toast.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Toggle/MockToggle.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Toggle/Toggle.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Toggle/ToggleText.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tooltip/Tooltip.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/TopNavigationBar/TopNavigationBar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/TopNavigationBar/components/Notification/Notification.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/TopNavigationBar/components/NotificationItem/NotificationItem.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tree/components/TreeFile/TreeFile.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tree/components/TreeFileIcon/TreeFileIcon.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tree/components/TreeFolder/TreeFolder.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tree/components/TreeFolderIcon/TreeFolderIcon.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tree/components/TreeStatusIcon/TreeStatusIcon.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tree/components/expand/expand.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Typography/Typography.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Uploader/Uploader.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Workflow/workflow.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/WorkflowCard/WorkflowCard.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/WorkflowList/WorkflowList.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/WorkflowStep/WorkflowStep.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/index.js +1 -1
- package/dist/mocked_classnames_esm/style/dist/index.min.css.js +1 -1
- package/dist/types/components/NewTable/components/Row/index.d.ts +2 -1
- package/dist/types/components/NewTable/components/Row/index.d.ts.map +1 -1
- package/dist/types/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.d.ts +1 -1
- package/dist/types/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.d.ts.map +1 -1
- package/dist/types/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.types.d.ts +1 -0
- package/dist/types/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.types.d.ts.map +1 -1
- package/dist/types/components/NewTable/index.d.ts +1 -1
- package/dist/types/components/NewTable/index.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/NewTable/__stories__/NewTable.stories.tsx +1 -0
- package/src/components/NewTable/components/Row/index.ts +2 -1
- package/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.tsx +16 -0
- package/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.types.ts +1 -0
- package/src/components/NewTable/index.ts +1 -1
- package/src/components/index.ts +1 -0
package/dist/esm/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import{slicedToArray as e,toConsumableArray as n}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import{__rest as t}from"../../../../../_virtual/_tslib.js";import{jsx as o}from"@emotion/react/jsx-runtime";import{useState as i,useRef as l,useCallback as r,useEffect as a,useMemo as c}from"react";import{useVirtual as s}from"react-virtual";import{getCoreRowModel as u,getSortedRowModel as d,getPaginationRowModel as g,useReactTable as f}from"@tanstack/react-table";import h from"lodash/omit";import{TableHeaderCheckbox as m}from"./TableHeaderCheckbox.js";import{TableRowCheckbox as v}from"./TableRowCheckbox.js";import
|
1
|
+
import{slicedToArray as e,toConsumableArray as n}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import{__rest as t}from"../../../../../_virtual/_tslib.js";import{jsx as o}from"@emotion/react/jsx-runtime";import{useState as i,useRef as l,useCallback as r,useEffect as a,useMemo as c}from"react";import{useVirtual as s}from"react-virtual";import{getCoreRowModel as u,getSortedRowModel as d,getPaginationRowModel as g,useReactTable as f}from"@tanstack/react-table";import h from"lodash/omit";import{TableHeaderCheckbox as m}from"./TableHeaderCheckbox.js";import{TableRowCheckbox as v}from"./TableRowCheckbox.js";import p from"../../../Icon/Icons/components/Settings.js";import w from"../../../IconButton/IconButton.js";import R from"../ToggleExpandedIcon/ToggleExpandedIcon.js";import b from"../../../Dialog/Dialog.js";import S from"../../../DialogContentContainer/DialogContentContainer.js";import C from"../../../Checkbox/Checkbox.js";import x from"../../../ListItem/ListItem.js";var I=function(I){var j=I.containerRef,M=I.data,T=I.columns,z=I.hasSelectableRows,k=I.withPagination,E=void 0!==k&&k,O=I.useVirtualScrolling,y=void 0!==O&&O,L=I.allowSelectAll,A=void 0===L||L,D=I.allowSelectSingle,P=void 0!==D&&D,_=I.onSelect,B=I.virtualizerOptions,H=I.initiallySelectedRowIds,V=void 0===H?[]:H,U=I.onRowSelectionChange,F=I.columnManager,K=void 0!==F&&F,X=I.isExpandable,N=void 0!==X&&X,q=I.hoverIcon,G=I.onUnselectAll,J=I.initialState,Q=I.initialLoadCount,W=void 0===Q?20:Q,Y=I.loadMoreCount,Z=void 0===Y?10:Y,$=I.onLoadMore,ee=I.infiniteScrolling,ne=void 0!==ee&&ee,te=I.autoResetPageIndex,oe=void 0===te||te,ie=I.selectAllRows,le=void 0!==ie&&ie,re=I.expandAllRows,ae=void 0!==re&&re,ce=t(I,["containerRef","data","columns","hasSelectableRows","withPagination","useVirtualScrolling","allowSelectAll","allowSelectSingle","onSelect","virtualizerOptions","initiallySelectedRowIds","onRowSelectionChange","columnManager","isExpandable","hoverIcon","onUnselectAll","initialState","initialLoadCount","loadMoreCount","onLoadMore","infiniteScrolling","autoResetPageIndex","selectAllRows","expandAllRows"]),se=i({}),ue=e(se,2),de=ue[0],ge=ue[1],fe=i(null),he=e(fe,2),me=he[0],ve=he[1],pe=i(!1),we=e(pe,2),Re=we[0],be=we[1],Se=i([]),Ce=e(Se,2),xe=Ce[0],Ie=Ce[1],je=i(!1),Me=e(je,2),Te=Me[0],ze=Me[1],ke=i(!1),Ee=e(ke,2),Oe=Ee[0],ye=Ee[1],Le=l(null),Ae=l(!1),De=l({}),Pe=l([]),_e=l(null),Be=l(null),He=r((function(e,n){var t,o;return z&&null!==(o=null===(t=e.id)||void 0===t?void 0:""+t)&&void 0!==o?o:""+n}),[z]);a((function(){!Ae.current&&z&&(De.current=V.reduce((function(e,n){return e[""+n]=!0,e}),{}),Ae.current=!0)}),[V,z]);var Ve=r((function(){var e=M.reduce((function(e,n,t){return e[He(n,t)]=!0,e}),{});ge(e)}),[M,He]);a((function(){Ae.current&&(le&&z?Ve():ge(De.current))}),[Ae.current]),a((function(){Ie(ne?M.slice(0,W):M)}),[M,ne,W]),a((function(){M!==Pe.current&&z&&(ge(de),Pe.current=M)}),[M,He,z]),a((function(){le&&z&&Ve()}),[le,z,M,He]),a((function(){N&&ae&&setTimeout((function(){tn.getRowModel().rows.forEach((function e(n){n.getCanExpand()&&(n.toggleExpanded(!0),n.getLeafRows().forEach(e))}))}),0)}),[ae,tn]);var Ue={id:"select",size:14,header:m,cell:v},Fe=c((function(){return T.some((function(e){return!!e.enableSorting}))}),[T]),Ke=A?Ue:h(Ue,"header"),Xe={id:"expander",size:30,header:function(){return null},cell:function(e){var n=e.row;return n.getCanExpand()?o(R,{isExpanded:n.getIsExpanded(),toggleExpanded:function(){return n.toggleExpanded()},disabled:!1}):null}},Ne={id:"hoverIcon",size:30,sticky:"right",header:function(){return null},cell:function(e){return o("span",Object.assign({style:{display:"block",height:"100%"}},{children:me===e.row.index&&q}))}},qe=c((function(){var e=T.filter((function(e){return"left"===e.sticky})),t=T.filter((function(e){return"right"===e.sticky})),i=0,l=0;return[].concat(n(z?[Ke]:[]),n(N?[Xe]:[]),n(T.map((function(n,o){var r,a,c,s=Object.assign(Object.assign({},n),{align:null!==(r=n.align)&&void 0!==r?r:"left",enableSorting:null!==(a=n.enableSorting)&&void 0!==a&&a,isResizable:null!==(c=n.isResizable)&&void 0!==c&&c,cell:n.cell||function(e){return(0,e.getValue)()}});return"left"===n.sticky?(s.left=i,i+=n.size,s.isLastStickyLeft=o===e.length-1):"right"===n.sticky&&(s.right=(l+=n.size)-n.size,s.isFirstStickyRight=o===T.length-t.length),s})).map((function(e,n,o){return"right"===e.sticky&&(e.isFirstStickyRight=n===o.length-t.length),e}))),[q?Ne:null],n(K?[{id:"columnManager",size:20,header:function(){var e;return o(b,Object.assign({showTrigger:[b.hideShowTriggers.CLICK],hideTrigger:[b.hideShowTriggers.CLICK_OUTSIDE],position:b.positions.BOTTOM_END,open:Oe,content:o(S,{children:tn.getAllLeafColumns().slice(0,-1).map((function(e,n){return o(x,{children:o(C,{checked:e.getIsVisible(),label:e.columnDef.header||e.id,onChange:e.getToggleVisibilityHandler(),"aria-labelledby":"iui-column-".concat(e.id)})},"".concat(e.id,"-").concat(n))}))},"small"),onDialogDidHide:function(){return ye(!1)}},{children:o(w,{ariaLabel:"Customize",size:null===(e=null==w?void 0:w.sizes)||void 0===e?void 0:e.XXS,icon:p,ref:Le,onClick:function(){return ye(!0)}})}))},cell:function(){return null}}]:[])).filter(Boolean)}),[T,z,Ke,K,N,q,Oe]),Ge=i("onChange"),Je=e(Ge,2),Qe=Je[0],We=i("ltr"),Ye=e(We,2),Ze=Ye[0],$e=function(){z&&(ge({}),De.current={},null==G||G())},en=r((function(){ne&&!Te&&M.length>xe.length&&(ze(!0),setTimeout((function(){Ie((function(e){var t=M.slice(e.length,e.length+Z);return e.length+t.length>=M.length&&_e.current&&_e.current.disconnect(),[].concat(n(e),n(t))})),ze(!1),$&&$()}),500))}),[ne,Te,M,Z,$,xe.length]);a((function(){return ne&&Be.current&&(_e.current=new IntersectionObserver((function(e){e[0].isIntersecting&&en()}),{threshold:.1}),_e.current.observe(Be.current)),function(){_e.current&&_e.current.disconnect()}}),[ne,en]);var nn=Object.assign({data:xe,columns:qe,getCoreRowModel:u(),getRowCanExpand:function(e){var n;return!!e.original.renderExpandedContent||!!(null===(n=e.subRows)||void 0===n?void 0:n.length)},enableExpanding:!0,enableSortingRemoval:!!Fe||void 0,getSubRows:function(e){return e.subRows},getSortedRowModel:d(),getPaginationRowModel:E?g():void 0,initialState:J||void 0,columnResizeMode:Qe,columnResizeDirection:Ze,autoResetPageIndex:oe},ce);z&&(nn.getRowId=He,nn.state={rowSelection:de},nn.onRowSelectionChange=ge);var tn=f(nn);tn.unselectAllRows=$e;var on=tn.getCoreRowModel().rows,ln=(tn.getPaginationRowModel(),s(Object.assign({parentRef:j,size:on.length,overscan:30},B)));return a((function(){if(U&&z){var e=M.filter((function(e,n){return de[He(e,n)]}));U(e)}}),[de,M,U,He,z]),Object.assign(Object.assign(Object.assign(Object.assign({},tn),{handleRowClick:function(e){P&&(null==_||_(e.original))},unselectAllRows:$e}),y&&{virtualRows:ln.virtualItems,totalSize:ln.totalSize,scrollToIndex:ln.scrollToIndex,scrollToOffset:ln.scrollToOffset,measure:ln.measure}),{hasSelectableRows:z,showColumnManager:Re,setShowColumnManager:be,columnManagerRef:Le,setHoveredRow:ve,isLoading:Te,loadedData:xe,loadMoreTriggerRef:Be,infiniteScrolling:ne,loadMoreRows:en})};export{I as default};
|
2
2
|
//# sourceMappingURL=useLeafyGreenTable.js.map
|
package/dist/esm/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useLeafyGreenTable.js","sources":["../../../../../../../src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.tsx"],"sourcesContent":["//@ts-nocheck\nimport { useEffect, useLayoutEffect, useMemo, useRef, useState, useCallback } from \"react\";\nimport { useVirtual } from \"react-virtual\";\nimport { useReactTable, ColumnResizeMode, ColumnResizeDirection } from \"@tanstack/react-table\";\nimport { getCoreRowModel, getPaginationRowModel, getSortedRowModel, Row } from \"@tanstack/react-table\";\nimport omit from \"lodash/omit\";\nimport { TableHeaderCheckbox } from \"./TableHeaderCheckbox\";\nimport { TableRowCheckbox } from \"./TableRowCheckbox\";\nimport { LeafyGreenTableOptions, LGRowData } from \"./useLeafyGreenTable.types\";\nimport { LeafyGreenTable, LGColumnDef, LGTableDataType } from \".\";\nimport Settings from \"../../../Icon/Icons/components/Settings\";\nimport IconButton from \"../../../IconButton/IconButton\";\nimport ToggleExpandedIcon from \"../ToggleExpandedIcon\";\nimport Dialog from \"../../../Dialog/Dialog\";\nimport List from \"../../../List/List\";\nimport DialogContentContainer from \"../../../DialogContentContainer/DialogContentContainer\";\nimport Checkbox from \"../../../Checkbox/Checkbox\";\nimport ListItem from \"../../../ListItem/ListItem\";\n\nconst CHECKBOX_WIDTH = 14;\n\nconst useLeafyGreenTable = <T extends LGRowData, V extends unknown = unknown>({\n containerRef,\n data,\n columns: columnsProp,\n hasSelectableRows,\n withPagination = false,\n useVirtualScrolling = false,\n allowSelectAll = true,\n allowSelectSingle = false,\n onSelect,\n virtualizerOptions,\n initiallySelectedRowIds = [],\n onRowSelectionChange,\n columnManager = false,\n isExpandable = false,\n hoverIcon,\n onUnselectAll,\n initialState,\n initialLoadCount = 20, \n loadMoreCount = 10, \n onLoadMore, \n infiniteScrolling = false,\n autoResetPageIndex = true,\n selectAllRows = false,\n ...rest\n}: LeafyGreenTableOptions<T, V>): LeafyGreenTable<T> => {\n const [rowSelection, setRowSelection] = useState<{ [key: string]: boolean }>({});\n const [hoveredRow, setHoveredRow] = useState<number | null>(null);\n const [showColumnManager, setShowColumnManager] = useState(false);\n const [loadedData, setLoadedData] = useState<T[]>([]);\n const [isLoading, setIsLoading] = useState(false);\n const [isDialogOpen, setIsDialogOpen] = useState(false);\n\n const columnManagerRef = useRef<HTMLButtonElement>(null);\n const isInitialSetupDone = useRef(false);\n const initialSelectionRef = useRef<{ [key: string]: boolean }>({});\n const previousDataRef = useRef<T[]>([]);\n const observerRef = useRef<IntersectionObserver | null>(null);\n const loadMoreTriggerRef = useRef<HTMLDivElement | null>(null);\n\n const getRowId = useCallback((row: T, index: number) => {\n if (hasSelectableRows) {\n return row.id?.toString() ?? index.toString();\n }\n return index.toString();\n }, [hasSelectableRows]);\n\n useEffect(() => {\n if (!isInitialSetupDone.current && hasSelectableRows) {\n initialSelectionRef.current = initiallySelectedRowIds.reduce((acc, id) => {\n acc[id.toString()] = true;\n return acc;\n }, {});\n isInitialSetupDone.current = true;\n }\n }, [initiallySelectedRowIds, hasSelectableRows]);\n\n const selectAllTableRows = useCallback(() => {\n const allSelected = data.reduce((acc, row, index) => {\n acc[getRowId(row, index)] = true;\n return acc;\n }, {});\n\n setRowSelection(allSelected);\n }, [data, getRowId]);\n\n useEffect(() => {\n if (isInitialSetupDone.current) {\n if (selectAllRows && hasSelectableRows)\n selectAllTableRows();\n else\n setRowSelection(initialSelectionRef.current);\n }\n }, [isInitialSetupDone.current]);\n\n useEffect(() => {\n setLoadedData(infiniteScrolling ? data.slice(0, initialLoadCount) : data);\n }, [data, infiniteScrolling, initialLoadCount]);\n\n useEffect(() => {\n if (data !== previousDataRef.current && hasSelectableRows) {\n setRowSelection(rowSelection);\n previousDataRef.current = data;\n }\n }, [data, getRowId, hasSelectableRows]);\n\n useEffect(() => {\n if (selectAllRows && hasSelectableRows) {\n selectAllTableRows();\n }\n }, [selectAllRows, hasSelectableRows, data, getRowId]);\n\n const baseSelectColumnConfig: LGColumnDef<T, V> = {\n id: \"select\",\n size: CHECKBOX_WIDTH,\n header: TableHeaderCheckbox,\n cell: TableRowCheckbox,\n };\n\n const handleRowClick = (row: Row<T>) => {\n if (allowSelectSingle) {\n const selectedRowData = row.original;\n onSelect?.(selectedRowData);\n }\n };\n\n const hasSortableColumns = useMemo(() => columnsProp.some((propCol) => !!propCol.enableSorting), [columnsProp]);\n\n const selectColumnConfig = allowSelectAll ? baseSelectColumnConfig : omit(baseSelectColumnConfig, \"header\");\n\n const expandColumnConfig: LGColumnDef<T, V> = {\n id: \"expander\",\n size: 30,\n header: () => null,\n cell: ({ row }) => {\n const isExpandable = row.getCanExpand();\n return isExpandable ? (\n <ToggleExpandedIcon\n isExpanded={row.getIsExpanded()}\n toggleExpanded={() => row.toggleExpanded()}\n disabled={false}\n />\n ) : null;\n },\n };\n\n const hoverIconConfig: LGColumnDef<T, V> = {\n id: \"hoverIcon\",\n size: 30,\n sticky: \"right\",\n header: () => null,\n cell: ({ row }) => (\n <span style={{ display: \"block\", height: \"100%\" }}>\n {hoveredRow === row.index && hoverIcon}\n </span>\n ),\n };\n\n const columns = useMemo<Array<LGColumnDef<T, V>>>(() => {\n const stickyLeftColumns = columnsProp.filter((col) => col.sticky === \"left\");\n const stickyRightColumns = columnsProp.filter((col) => col.sticky === \"right\");\n\n let leftOffset = 0;\n let rightOffset = 0;\n\n return [\n ...(hasSelectableRows ? [selectColumnConfig as LGColumnDef<T, V>] : []),\n ...(isExpandable ? [expandColumnConfig] : []),\n ...columnsProp\n .map((propColumn, index) => {\n const newColumn = {\n ...propColumn,\n align: propColumn.align ?? \"left\",\n enableSorting: propColumn.enableSorting ?? false,\n isResizable: propColumn.isResizable ?? false,\n cell: propColumn.cell || (({ getValue }) => getValue()),\n };\n\n if (propColumn.sticky === \"left\") {\n newColumn.left = leftOffset;\n leftOffset += propColumn.size;\n newColumn.isLastStickyLeft = index === stickyLeftColumns.length - 1;\n } else if (propColumn.sticky === \"right\") {\n rightOffset += propColumn.size;\n newColumn.right = rightOffset - propColumn.size;\n newColumn.isFirstStickyRight = index === columnsProp.length - stickyRightColumns.length;\n }\n\n return newColumn;\n })\n .map((column, index, columns) => {\n if (column.sticky === \"right\") {\n column.isFirstStickyRight = index === columns.length - stickyRightColumns.length;\n }\n return column;\n }),\n hoverIcon ? hoverIconConfig : null,\n ...(columnManager\n ? [\n {\n id: \"columnManager\",\n size: 20,\n header: () => (\n <Dialog\n showTrigger={[Dialog.hideShowTriggers.CLICK]}\n hideTrigger={[Dialog.hideShowTriggers.CLICK_OUTSIDE]}\n position={Dialog.positions.BOTTOM_END}\n open={isDialogOpen}\n content={\n <DialogContentContainer key=\"small\">\n {table.getAllLeafColumns().slice(0, -1).map((column, index) => (\n <ListItem key={`${column.id}-${index}`}>\n <Checkbox\n checked={column.getIsVisible()}\n label={column.columnDef.header as string || column.id}\n onChange={column.getToggleVisibilityHandler()}\n aria-labelledby={`iui-column-${column.id}`}\n />\n </ListItem>\n ))}\n </DialogContentContainer> \n }\n onDialogDidHide={() => setIsDialogOpen(false)}\n >\n <IconButton\n ariaLabel=\"Customize\"\n size={IconButton?.sizes?.XXS}\n icon={Settings}\n ref={columnManagerRef}\n onClick={() => setIsDialogOpen(true)}\n />\n </Dialog>\n ),\n cell: () => null,\n },\n ]\n : []),\n ].filter(Boolean);\n }, [columnsProp, hasSelectableRows, selectColumnConfig, columnManager, isExpandable, hoverIcon, isDialogOpen]);\n\n const [columnResizeMode, setColumnResizeMode] = useState<ColumnResizeMode>(\"onChange\");\n const [columnResizeDirection, setColumnResizeDirection] = useState<ColumnResizeDirection>(\"ltr\");\n\n const unselectAllRows = () => {\n if (!hasSelectableRows) return;\n\n setRowSelection({});\n initialSelectionRef.current = {};\n onUnselectAll?.();\n };\n\n const loadMoreRows = useCallback(() => {\n if (!infiniteScrolling || isLoading || loadedData.length >= data.length) return;\n setIsLoading(true);\n setTimeout(() => {\n setLoadedData((prevData) => {\n const nextData = data.slice(prevData.length, prevData.length + loadMoreCount);\n if (prevData.length + nextData.length >= data.length && observerRef.current) {\n observerRef.current.disconnect();\n }\n\n return [...prevData, ...nextData];\n });\n setIsLoading(false);\n if (onLoadMore) {\n onLoadMore();\n }\n }, 500);\n }, [infiniteScrolling, isLoading, data, loadMoreCount, onLoadMore, loadedData.length]);\n\n useEffect(() => {\n if (infiniteScrolling && loadMoreTriggerRef.current) {\n observerRef.current = new IntersectionObserver(\n (entries) => {\n if (entries[0].isIntersecting) {\n loadMoreRows();\n }\n },\n { threshold: 0.1 }\n );\n\n observerRef.current.observe(loadMoreTriggerRef.current);\n }\n\n return () => {\n if (observerRef.current) {\n observerRef.current.disconnect();\n }\n };\n }, [infiniteScrolling, loadMoreRows]);\n\n const tableOptions = {\n data: loadedData,\n columns,\n getCoreRowModel: getCoreRowModel(),\n getRowCanExpand: (row) => !!row.original.renderExpandedContent || !!row.subRows?.length,\n enableExpanding: true,\n enableSortingRemoval: hasSortableColumns ? true : undefined,\n getSubRows: (row) => row.subRows,\n getSortedRowModel: getSortedRowModel(),\n getPaginationRowModel: withPagination ? getPaginationRowModel() : undefined,\n initialState: initialState ? initialState : undefined,\n columnResizeMode,\n columnResizeDirection,\n autoResetPageIndex,\n ...rest,\n };\n\n if (hasSelectableRows) {\n tableOptions.getRowId = getRowId;\n tableOptions.state = { rowSelection };\n tableOptions.onRowSelectionChange = setRowSelection;\n }\n\n const table = useReactTable<LGTableDataType<T>>(tableOptions);\n\n table.unselectAllRows = unselectAllRows;\n\n const { rows } = table.getCoreRowModel();\n const { rows: paginationRows } = table.getPaginationRowModel();\n const _rowVirtualizer = useVirtual({\n parentRef: containerRef,\n size: rows.length,\n overscan: 30,\n ...virtualizerOptions,\n });\n\n useEffect(() => {\n if (onRowSelectionChange && hasSelectableRows) {\n // Filters down rowSelection to only the visible (data) selected rows\n const selectedRows = data.filter((row, index) => rowSelection[getRowId(row, index)]);\n onRowSelectionChange(selectedRows);\n }\n }, [rowSelection, data, onRowSelectionChange, getRowId, hasSelectableRows]);\n\n return {\n ...table,\n handleRowClick,\n unselectAllRows, \n ...(useVirtualScrolling && {\n virtualRows: _rowVirtualizer.virtualItems,\n totalSize: _rowVirtualizer.totalSize,\n scrollToIndex: _rowVirtualizer.scrollToIndex,\n scrollToOffset: _rowVirtualizer.scrollToOffset,\n measure: _rowVirtualizer.measure,\n }),\n hasSelectableRows,\n showColumnManager,\n setShowColumnManager,\n columnManagerRef,\n setHoveredRow,\n isLoading,\n loadedData,\n loadMoreTriggerRef,\n infiniteScrolling,\n loadMoreRows,\n } as LeafyGreenTable<T>;\n};\n\nexport default useLeafyGreenTable;\n"],"names":["useLeafyGreenTable","_a","containerRef","data","columnsProp","columns","hasSelectableRows","_a$withPagination","withPagination","_a$useVirtualScrollin","useVirtualScrolling","_a$allowSelectAll","allowSelectAll","_a$allowSelectSingle","allowSelectSingle","onSelect","virtualizerOptions","_a$initiallySelectedR","initiallySelectedRowIds","onRowSelectionChange","_a$columnManager","columnManager","_a$isExpandable","isExpandable","hoverIcon","onUnselectAll","initialState","_a$initialLoadCount","initialLoadCount","_a$loadMoreCount","loadMoreCount","onLoadMore","_a$infiniteScrolling","infiniteScrolling","_a$autoResetPageIndex","autoResetPageIndex","_a$selectAllRows","selectAllRows","rest","__rest","_useState","useState","_useState2","_slicedToArray","rowSelection","setRowSelection","_useState3","_useState4","hoveredRow","setHoveredRow","_useState5","_useState6","showColumnManager","setShowColumnManager","_useState7","_useState8","loadedData","setLoadedData","_useState9","_useState10","isLoading","setIsLoading","_useState11","_useState12","isDialogOpen","setIsDialogOpen","columnManagerRef","useRef","isInitialSetupDone","initialSelectionRef","previousDataRef","observerRef","loadMoreTriggerRef","getRowId","useCallback","row","index","_b","id","useEffect","current","reduce","acc","selectAllTableRows","allSelected","slice","baseSelectColumnConfig","size","header","TableHeaderCheckbox","cell","TableRowCheckbox","hasSortableColumns","useMemo","some","propCol","enableSorting","selectColumnConfig","omit","expandColumnConfig","_ref","getCanExpand","_jsx","ToggleExpandedIcon","isExpanded","getIsExpanded","toggleExpanded","disabled","hoverIconConfig","sticky","_ref2","Object","assign","style","display","height","children","stickyLeftColumns","filter","col","stickyRightColumns","leftOffset","rightOffset","concat","_toConsumableArray","map","propColumn","newColumn","align","isResizable","_c","_ref3","getValue","left","isLastStickyLeft","length","right","isFirstStickyRight","column","Dialog","showTrigger","hideShowTriggers","CLICK","hideTrigger","CLICK_OUTSIDE","position","positions","BOTTOM_END","open","content","DialogContentContainer","table","getAllLeafColumns","ListItem","Checkbox","checked","getIsVisible","label","columnDef","onChange","getToggleVisibilityHandler","onDialogDidHide","IconButton","ariaLabel","sizes","XXS","icon","Settings","ref","onClick","Boolean","_useState13","_useState14","columnResizeMode","_useState15","_useState16","columnResizeDirection","unselectAllRows","loadMoreRows","setTimeout","prevData","nextData","disconnect","IntersectionObserver","entries","isIntersecting","threshold","observe","tableOptions","getCoreRowModel","getRowCanExpand","original","renderExpandedContent","subRows","enableExpanding","enableSortingRemoval","undefined","getSubRows","getSortedRowModel","getPaginationRowModel","state","useReactTable","rows","_rowVirtualizer","useVirtual","parentRef","overscan","selectedRows","handleRowClick","virtualRows","virtualItems","totalSize","scrollToIndex","scrollToOffset","measure"],"mappings":"+9BAmBA,IAEMA,EAAqB,SAAmDC,GAAA,IAC5EC,EAwB6BD,EAxB7BC,aACAC,EAuB6BF,EAvB7BE,KACSC,EAsBoBH,EAtB7BI,QACAC,EAqB6BL,EArB7BK,kBAAiBC,EAqBYN,EApB7BO,eAAAA,OAAiB,IAAHD,GAAQA,EAAAE,EAoBOR,EAnB7BS,oBAAAA,OAAsB,IAAHD,GAAQA,EAAAE,EAmBEV,EAlB7BW,eAAAA,OAAiB,IAAHD,GAAOA,EAAAE,EAkBQZ,EAjB7Ba,kBAAAA,OAAoB,IAAHD,GAAQA,EACzBE,EAgB6Bd,EAhB7Bc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{"version":3,"file":"useLeafyGreenTable.js","sources":["../../../../../../../src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.tsx"],"sourcesContent":["//@ts-nocheck\nimport { useEffect, useLayoutEffect, useMemo, useRef, useState, useCallback } from \"react\";\nimport { useVirtual } from \"react-virtual\";\nimport { useReactTable, ColumnResizeMode, ColumnResizeDirection } from \"@tanstack/react-table\";\nimport { getCoreRowModel, getPaginationRowModel, getSortedRowModel, Row } from \"@tanstack/react-table\";\nimport omit from \"lodash/omit\";\nimport { TableHeaderCheckbox } from \"./TableHeaderCheckbox\";\nimport { TableRowCheckbox } from \"./TableRowCheckbox\";\nimport { LeafyGreenTableOptions, LGRowData } from \"./useLeafyGreenTable.types\";\nimport { LeafyGreenTable, LGColumnDef, LGTableDataType } from \".\";\nimport Settings from \"../../../Icon/Icons/components/Settings\";\nimport IconButton from \"../../../IconButton/IconButton\";\nimport ToggleExpandedIcon from \"../ToggleExpandedIcon\";\nimport Dialog from \"../../../Dialog/Dialog\";\nimport List from \"../../../List/List\";\nimport DialogContentContainer from \"../../../DialogContentContainer/DialogContentContainer\";\nimport Checkbox from \"../../../Checkbox/Checkbox\";\nimport ListItem from \"../../../ListItem/ListItem\";\n\nconst CHECKBOX_WIDTH = 14;\n\nconst useLeafyGreenTable = <T extends LGRowData, V extends unknown = unknown>({\n containerRef,\n data,\n columns: columnsProp,\n hasSelectableRows,\n withPagination = false,\n useVirtualScrolling = false,\n allowSelectAll = true,\n allowSelectSingle = false,\n onSelect,\n virtualizerOptions,\n initiallySelectedRowIds = [],\n onRowSelectionChange,\n columnManager = false,\n isExpandable = false,\n hoverIcon,\n onUnselectAll,\n initialState,\n initialLoadCount = 20, \n loadMoreCount = 10, \n onLoadMore, \n infiniteScrolling = false,\n autoResetPageIndex = true,\n selectAllRows = false,\n expandAllRows = false,\n ...rest\n}: LeafyGreenTableOptions<T, V>): LeafyGreenTable<T> => {\n const [rowSelection, setRowSelection] = useState<{ [key: string]: boolean }>({});\n const [hoveredRow, setHoveredRow] = useState<number | null>(null);\n const [showColumnManager, setShowColumnManager] = useState(false);\n const [loadedData, setLoadedData] = useState<T[]>([]);\n const [isLoading, setIsLoading] = useState(false);\n const [isDialogOpen, setIsDialogOpen] = useState(false);\n\n const columnManagerRef = useRef<HTMLButtonElement>(null);\n const isInitialSetupDone = useRef(false);\n const initialSelectionRef = useRef<{ [key: string]: boolean }>({});\n const previousDataRef = useRef<T[]>([]);\n const observerRef = useRef<IntersectionObserver | null>(null);\n const loadMoreTriggerRef = useRef<HTMLDivElement | null>(null);\n\n const getRowId = useCallback((row: T, index: number) => {\n if (hasSelectableRows) {\n return row.id?.toString() ?? index.toString();\n }\n return index.toString();\n }, [hasSelectableRows]);\n\n useEffect(() => {\n if (!isInitialSetupDone.current && hasSelectableRows) {\n initialSelectionRef.current = initiallySelectedRowIds.reduce((acc, id) => {\n acc[id.toString()] = true;\n return acc;\n }, {});\n isInitialSetupDone.current = true;\n }\n }, [initiallySelectedRowIds, hasSelectableRows]);\n\n const selectAllTableRows = useCallback(() => {\n const allSelected = data.reduce((acc, row, index) => {\n acc[getRowId(row, index)] = true;\n return acc;\n }, {});\n\n setRowSelection(allSelected);\n }, [data, getRowId]);\n\n useEffect(() => {\n if (isInitialSetupDone.current) {\n if (selectAllRows && hasSelectableRows)\n selectAllTableRows();\n else\n setRowSelection(initialSelectionRef.current);\n }\n }, [isInitialSetupDone.current]);\n\n useEffect(() => {\n setLoadedData(infiniteScrolling ? data.slice(0, initialLoadCount) : data);\n }, [data, infiniteScrolling, initialLoadCount]);\n\n useEffect(() => {\n if (data !== previousDataRef.current && hasSelectableRows) {\n setRowSelection(rowSelection);\n previousDataRef.current = data;\n }\n }, [data, getRowId, hasSelectableRows]);\n\n useEffect(() => {\n if (selectAllRows && hasSelectableRows) {\n selectAllTableRows();\n }\n }, [selectAllRows, hasSelectableRows, data, getRowId]);\n\n useEffect(() => {\n if (isExpandable && expandAllRows) {\n setTimeout(() => {\n const expandRow = (row) => {\n if (row.getCanExpand()) {\n row.toggleExpanded(true);\n const subRows = row.getLeafRows();\n subRows.forEach(expandRow);\n }\n };\n table.getRowModel().rows.forEach(expandRow);\n }, 0);\n }\n }, [expandAllRows, table]);\n\n const baseSelectColumnConfig: LGColumnDef<T, V> = {\n id: \"select\",\n size: CHECKBOX_WIDTH,\n header: TableHeaderCheckbox,\n cell: TableRowCheckbox,\n };\n\n const handleRowClick = (row: Row<T>) => {\n if (allowSelectSingle) {\n const selectedRowData = row.original;\n onSelect?.(selectedRowData);\n }\n };\n\n const hasSortableColumns = useMemo(() => columnsProp.some((propCol) => !!propCol.enableSorting), [columnsProp]);\n\n const selectColumnConfig = allowSelectAll ? baseSelectColumnConfig : omit(baseSelectColumnConfig, \"header\");\n\n const expandColumnConfig: LGColumnDef<T, V> = {\n id: \"expander\",\n size: 30,\n header: () => null,\n cell: ({ row }) => {\n const isExpandable = row.getCanExpand();\n return isExpandable ? (\n <ToggleExpandedIcon\n isExpanded={row.getIsExpanded()}\n toggleExpanded={() => row.toggleExpanded()}\n disabled={false}\n />\n ) : null;\n },\n };\n\n const hoverIconConfig: LGColumnDef<T, V> = {\n id: \"hoverIcon\",\n size: 30,\n sticky: \"right\",\n header: () => null,\n cell: ({ row }) => (\n <span style={{ display: \"block\", height: \"100%\" }}>\n {hoveredRow === row.index && hoverIcon}\n </span>\n ),\n };\n\n const columns = useMemo<Array<LGColumnDef<T, V>>>(() => {\n const stickyLeftColumns = columnsProp.filter((col) => col.sticky === \"left\");\n const stickyRightColumns = columnsProp.filter((col) => col.sticky === \"right\");\n\n let leftOffset = 0;\n let rightOffset = 0;\n\n return [\n ...(hasSelectableRows ? [selectColumnConfig as LGColumnDef<T, V>] : []),\n ...(isExpandable ? [expandColumnConfig] : []),\n ...columnsProp\n .map((propColumn, index) => {\n const newColumn = {\n ...propColumn,\n align: propColumn.align ?? \"left\",\n enableSorting: propColumn.enableSorting ?? false,\n isResizable: propColumn.isResizable ?? false,\n cell: propColumn.cell || (({ getValue }) => getValue()),\n };\n\n if (propColumn.sticky === \"left\") {\n newColumn.left = leftOffset;\n leftOffset += propColumn.size;\n newColumn.isLastStickyLeft = index === stickyLeftColumns.length - 1;\n } else if (propColumn.sticky === \"right\") {\n rightOffset += propColumn.size;\n newColumn.right = rightOffset - propColumn.size;\n newColumn.isFirstStickyRight = index === columnsProp.length - stickyRightColumns.length;\n }\n\n return newColumn;\n })\n .map((column, index, columns) => {\n if (column.sticky === \"right\") {\n column.isFirstStickyRight = index === columns.length - stickyRightColumns.length;\n }\n return column;\n }),\n hoverIcon ? hoverIconConfig : null,\n ...(columnManager\n ? [\n {\n id: \"columnManager\",\n size: 20,\n header: () => (\n <Dialog\n showTrigger={[Dialog.hideShowTriggers.CLICK]}\n hideTrigger={[Dialog.hideShowTriggers.CLICK_OUTSIDE]}\n position={Dialog.positions.BOTTOM_END}\n open={isDialogOpen}\n content={\n <DialogContentContainer key=\"small\">\n {table.getAllLeafColumns().slice(0, -1).map((column, index) => (\n <ListItem key={`${column.id}-${index}`}>\n <Checkbox\n checked={column.getIsVisible()}\n label={column.columnDef.header as string || column.id}\n onChange={column.getToggleVisibilityHandler()}\n aria-labelledby={`iui-column-${column.id}`}\n />\n </ListItem>\n ))}\n </DialogContentContainer> \n }\n onDialogDidHide={() => setIsDialogOpen(false)}\n >\n <IconButton\n ariaLabel=\"Customize\"\n size={IconButton?.sizes?.XXS}\n icon={Settings}\n ref={columnManagerRef}\n onClick={() => setIsDialogOpen(true)}\n />\n </Dialog>\n ),\n cell: () => null,\n },\n ]\n : []),\n ].filter(Boolean);\n }, [columnsProp, hasSelectableRows, selectColumnConfig, columnManager, isExpandable, hoverIcon, isDialogOpen]);\n\n const [columnResizeMode, setColumnResizeMode] = useState<ColumnResizeMode>(\"onChange\");\n const [columnResizeDirection, setColumnResizeDirection] = useState<ColumnResizeDirection>(\"ltr\");\n\n const unselectAllRows = () => {\n if (!hasSelectableRows) return;\n\n setRowSelection({});\n initialSelectionRef.current = {};\n onUnselectAll?.();\n };\n\n const loadMoreRows = useCallback(() => {\n if (!infiniteScrolling || isLoading || loadedData.length >= data.length) return;\n setIsLoading(true);\n setTimeout(() => {\n setLoadedData((prevData) => {\n const nextData = data.slice(prevData.length, prevData.length + loadMoreCount);\n if (prevData.length + nextData.length >= data.length && observerRef.current) {\n observerRef.current.disconnect();\n }\n\n return [...prevData, ...nextData];\n });\n setIsLoading(false);\n if (onLoadMore) {\n onLoadMore();\n }\n }, 500);\n }, [infiniteScrolling, isLoading, data, loadMoreCount, onLoadMore, loadedData.length]);\n\n useEffect(() => {\n if (infiniteScrolling && loadMoreTriggerRef.current) {\n observerRef.current = new IntersectionObserver(\n (entries) => {\n if (entries[0].isIntersecting) {\n loadMoreRows();\n }\n },\n { threshold: 0.1 }\n );\n\n observerRef.current.observe(loadMoreTriggerRef.current);\n }\n\n return () => {\n if (observerRef.current) {\n observerRef.current.disconnect();\n }\n };\n }, [infiniteScrolling, loadMoreRows]);\n\n const tableOptions = {\n data: loadedData,\n columns,\n getCoreRowModel: getCoreRowModel(),\n getRowCanExpand: (row) => !!row.original.renderExpandedContent || !!row.subRows?.length,\n enableExpanding: true,\n enableSortingRemoval: hasSortableColumns ? true : undefined,\n getSubRows: (row) => row.subRows,\n getSortedRowModel: getSortedRowModel(),\n getPaginationRowModel: withPagination ? getPaginationRowModel() : undefined,\n initialState: initialState ? initialState : undefined,\n columnResizeMode,\n columnResizeDirection,\n autoResetPageIndex,\n ...rest,\n };\n\n if (hasSelectableRows) {\n tableOptions.getRowId = getRowId;\n tableOptions.state = { rowSelection };\n tableOptions.onRowSelectionChange = setRowSelection;\n }\n\n const table = useReactTable<LGTableDataType<T>>(tableOptions);\n\n table.unselectAllRows = unselectAllRows;\n\n const { rows } = table.getCoreRowModel();\n const { rows: paginationRows } = table.getPaginationRowModel();\n const _rowVirtualizer = useVirtual({\n parentRef: containerRef,\n size: rows.length,\n overscan: 30,\n ...virtualizerOptions,\n });\n\n useEffect(() => {\n if (onRowSelectionChange && hasSelectableRows) {\n // Filters down rowSelection to only the visible (data) selected rows\n const selectedRows = data.filter((row, index) => rowSelection[getRowId(row, index)]);\n onRowSelectionChange(selectedRows);\n }\n }, [rowSelection, data, onRowSelectionChange, getRowId, hasSelectableRows]);\n\n return {\n ...table,\n handleRowClick,\n unselectAllRows, \n ...(useVirtualScrolling && {\n virtualRows: _rowVirtualizer.virtualItems,\n totalSize: _rowVirtualizer.totalSize,\n scrollToIndex: _rowVirtualizer.scrollToIndex,\n scrollToOffset: _rowVirtualizer.scrollToOffset,\n measure: _rowVirtualizer.measure,\n }),\n hasSelectableRows,\n showColumnManager,\n setShowColumnManager,\n columnManagerRef,\n setHoveredRow,\n isLoading,\n loadedData,\n loadMoreTriggerRef,\n infiniteScrolling,\n loadMoreRows,\n } as LeafyGreenTable<T>;\n};\n\nexport default useLeafyGreenTable;\n"],"names":["useLeafyGreenTable","_a","containerRef","data","columnsProp","columns","hasSelectableRows","_a$withPagination","withPagination","_a$useVirtualScrollin","useVirtualScrolling","_a$allowSelectAll","allowSelectAll","_a$allowSelectSingle","allowSelectSingle","onSelect","virtualizerOptions","_a$initiallySelectedR","initiallySelectedRowIds","onRowSelectionChange","_a$columnManager","columnManager","_a$isExpandable","isExpandable","hoverIcon","onUnselectAll","initialState","_a$initialLoadCount","initialLoadCount","_a$loadMoreCount","loadMoreCount","onLoadMore","_a$infiniteScrolling","infiniteScrolling","_a$autoResetPageIndex","autoResetPageIndex","_a$selectAllRows","selectAllRows","_a$expandAllRows","expandAllRows","rest","__rest","_useState","useState","_useState2","_slicedToArray","rowSelection","setRowSelection","_useState3","_useState4","hoveredRow","setHoveredRow","_useState5","_useState6","showColumnManager","setShowColumnManager","_useState7","_useState8","loadedData","setLoadedData","_useState9","_useState10","isLoading","setIsLoading","_useState11","_useState12","isDialogOpen","setIsDialogOpen","columnManagerRef","useRef","isInitialSetupDone","initialSelectionRef","previousDataRef","observerRef","loadMoreTriggerRef","getRowId","useCallback","row","index","_b","id","useEffect","current","reduce","acc","selectAllTableRows","allSelected","slice","setTimeout","table","getRowModel","rows","forEach","expandRow","getCanExpand","toggleExpanded","getLeafRows","baseSelectColumnConfig","size","header","TableHeaderCheckbox","cell","TableRowCheckbox","hasSortableColumns","useMemo","some","propCol","enableSorting","selectColumnConfig","omit","expandColumnConfig","_ref","_jsx","ToggleExpandedIcon","isExpanded","getIsExpanded","disabled","hoverIconConfig","sticky","_ref2","Object","assign","style","display","height","children","stickyLeftColumns","filter","col","stickyRightColumns","leftOffset","rightOffset","concat","_toConsumableArray","map","propColumn","newColumn","align","isResizable","_c","_ref3","getValue","left","isLastStickyLeft","length","right","isFirstStickyRight","column","Dialog","showTrigger","hideShowTriggers","CLICK","hideTrigger","CLICK_OUTSIDE","position","positions","BOTTOM_END","open","content","DialogContentContainer","getAllLeafColumns","ListItem","Checkbox","checked","getIsVisible","label","columnDef","onChange","getToggleVisibilityHandler","onDialogDidHide","IconButton","ariaLabel","sizes","XXS","icon","Settings","ref","onClick","Boolean","_useState13","_useState14","columnResizeMode","_useState15","_useState16","columnResizeDirection","unselectAllRows","loadMoreRows","prevData","nextData","disconnect","IntersectionObserver","entries","isIntersecting","threshold","observe","tableOptions","getCoreRowModel","getRowCanExpand","original","renderExpandedContent","subRows","enableExpanding","enableSortingRemoval","undefined","getSubRows","getSortedRowModel","getPaginationRowModel","state","useReactTable","_rowVirtualizer","useVirtual","parentRef","overscan","selectedRows","handleRowClick","virtualRows","virtualItems","totalSize","scrollToIndex","scrollToOffset","measure"],"mappings":"+9BAmBA,IAEMA,EAAqB,SAAmDC,GAAA,IAC5EC,EAuBqBD,EAvBrBC,aACAC,EAsBqBF,EAtBrBE,KACSC,EAqBYH,EArBrBI,QACAC,EAoBqBL,EApBrBK,kBAAiBC,EAoBIN,EAnBrBO,eAAAA,OAAiB,IAAHD,GAAQA,EAAAE,EAmBDR,EAlBrBS,oBAAAA,OAAsB,IAAHD,GAAQA,EAAAE,EAkBNV,EAjBrBW,eAAAA,OAAiB,IAAHD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EAAIyH,YAyN9Bb,gBAAAA,KACI/K,GAAuB,CACzB6M,YAAaN,GAAgBO,aAC7BC,UAAWR,GAAgBQ,UAC3BC,cAAeT,GAAgBS,cAC/BC,eAAgBV,GAAgBU,eAChCC,QAASX,GAAgBW,WAE3BtN,kBAAAA,EACAgD,kBAAAA,GACAC,qBAAAA,GACAa,iBAAAA,GACAjB,cAAAA,GACAW,UAAAA,GACAJ,WAAAA,GACAgB,mBAAAA,GACAzC,kBAAAA,GACAyJ,aAAAA,IAEJ"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={themeLight:"
|
1
|
+
var e={themeLight:"themeLight_bebc727509",disabledTableRowCheck:"disabledTableRowCheck_3dd92da253"};!function(e){if("undefined"==typeof document)return;const d=document.head||document.getElementsByTagName("head")[0],t="s_id-b8a2afee86bd_0_0_351";if(d.querySelector("#"+t))return;const a=document.createElement("style");a.id=t,d.firstChild?d.insertBefore(a,d.firstChild):d.appendChild(a),a.appendChild(document.createTextNode(e))}(".themeLight_bebc727509 .disabledTableRowCheck_3dd92da253 input + div {\n border-color: #E6E6E6;\n background-color: #D3D3D3;\n}\n.themeLight_bebc727509 .disabledTableRowCheck_3dd92da253 input[aria-checked=true] + div:before {\n background-color: #E6E6E6;\n}\n.themeLight_bebc727509 .disabledTableRowCheck_3dd92da253 input[aria-checked=true] + div path {\n stroke: #FFFFFF;\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=useLeafyGreenTable.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={hdsNumericField:"
|
1
|
+
var e={hdsNumericField:"hdsNumericField_0227e1b080",hdsNumericFieldLabel:"hdsNumericFieldLabel_b77b0e00e2",hdsNumericFieldContainer:"hdsNumericFieldContainer_35229d6fa8",hdsNumericFieldInputWrapper:"hdsNumericFieldInputWrapper_51a79bfddc",hdsNumericFieldInput:"hdsNumericFieldInput_66a44376c1",hdsNumericFieldArrows:"hdsNumericFieldArrows_643a7cbb0c",hdsNumericFieldHint:"hdsNumericFieldHint_d754ed16ee",hdsNumericFieldErrorMessage:"hdsNumericFieldErrorMessage_1bb614d092",focus:"focus_13c8bb8907",disabled:"disabled_68b9c2ebc5",hdsHasContent:"hdsHasContent_6f575dbd89",hdsHasError:"hdsHasError_f46249e341",labelPositionLeftStyle:"labelPositionLeftStyle_50a8501847",hintOrErrorMessage:"hintOrErrorMessage_7f7a3dfc35",labelPositionLeft:"labelPositionLeft_ebd7f9b968"};!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],r="s_id-5ce6deeed635_0_0_351";if(n.querySelector("#"+r))return;const i=document.createElement("style");i.id=r,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(e))}(".hdsNumericField_0227e1b080 {\n width: 100%;\n}\n\n.hdsNumericFieldLabel_b77b0e00e2 {\n color: var(--text-primary);\n margin-bottom: 5px;\n margin-top: 6px;\n}\n\n.hdsNumericFieldContainer_35229d6fa8 {\n display: flex;\n width: 100%;\n align-items: center;\n align-self: stretch;\n background-color: var(--surface-level-200);\n border: 1px solid;\n border-color: var(--divider-overlay);\n border-radius: var(--border-radius-medium);\n transition: all var(--motion-productive-medium) ease 0ms;\n}\n\n.hdsNumericFieldContainer_35229d6fa8:hover {\n box-shadow: var(--effect-divider-halo);\n border-color: var(--divider-selected);\n}\n\n.hdsNumericFieldInputWrapper_51a79bfddc {\n display: flex;\n flex-grow: 1;\n}\n\n.hdsNumericFieldInput_66a44376c1 {\n background-color: transparent;\n border: none;\n margin: 0;\n outline: none;\n width: 100%;\n color: var(--text-secondary);\n appearance: textfield;\n}\n\n.hdsNumericFieldInput_66a44376c1::-webkit-inner-spin-button {\n -webkit-appearance: none;\n}\n\n.hdsNumericFieldArrows_643a7cbb0c {\n display: flex;\n flex-direction: column;\n}\n\n.hdsNumericFieldArrows_643a7cbb0c button {\n margin: 0;\n border: 0;\n padding: 0 5px;\n background: transparent;\n}\n\n.hdsNumericFieldArrows_643a7cbb0c button path {\n fill: var(--text-secondary);\n}\n\n.hdsNumericFieldHint_d754ed16ee {\n font-size: 12px;\n color: var(--text-secondary);\n display: flex;\n flex-direction: column;\n align-self: stretch;\n}\n\n.hdsNumericFieldErrorMessage_1bb614d092 {\n font-size: 12px;\n display: flex;\n flex-direction: column;\n align-self: stretch;\n color: var(--color-solar-flare-500);\n}\n\n.focus_13c8bb8907 {\n border-color: var(--divider-primary);\n}\n\n.disabled_68b9c2ebc5 {\n cursor: not-allowed;\n}\n\n.hdsHasContent_6f575dbd89 {\n color: var(--text-primary);\n}\n\n.hdsHasError_f46249e341 {\n border-color: red;\n}\n\n.labelPositionLeftStyle_50a8501847 {\n margin-bottom: 15px;\n margin-right: 10px;\n align-content: center;\n}\n\n.hintOrErrorMessage_7f7a3dfc35 {\n margin-top: 0px;\n}\n\n.hdsNumericField_0227e1b080 {\n display: flex;\n flex-direction: column;\n}\n\n.labelPositionLeft_ebd7f9b968 {\n flex-direction: row;\n align-items: center;\n}\n\n.labelPositionLeft_ebd7f9b968 .hdsNumericFieldLabel_b77b0e00e2 {\n margin-right: 10px;\n margin-bottom: 0;\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=NumericField.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={PageHeader:"
|
1
|
+
var e={PageHeader:"PageHeader_826bd3fec5",PageHeaderBreadcrumbs:"PageHeaderBreadcrumbs_3750e115e4",PageHeaderRightActions:"PageHeaderRightActions_1f0aba3d62",PageHeaderTitle:"PageHeaderTitle_4cabb86e08",PageHeaderTabs:"PageHeaderTabs_94faf67e5d",PageHeaderDivider:"PageHeaderDivider_740b883bdc",PageHeaderContainer:"PageHeaderContainer_86f481d4e7"};!function(e){if("undefined"==typeof document)return;const a=document.head||document.getElementsByTagName("head")[0],n="s_id-ea77b85b63e2_0_0_351";if(a.querySelector("#"+n))return;const d=document.createElement("style");d.id=n,a.firstChild?a.insertBefore(d,a.firstChild):a.appendChild(d),d.appendChild(document.createTextNode(e))}(".PageHeader_826bd3fec5 {\n position: relative;\n padding-top: 100px;\n width: 100%;\n}\n\n.PageHeaderBreadcrumbs_3750e115e4 ol {\n margin: 0 -2px 0 -4px;\n padding: 0px;\n height: 4px;\n}\n\n.PageHeaderRightActions_1f0aba3d62 {\n position: relative;\n bottom: 8px;\n width: 100%;\n display: flex;\n flex-direction: column;\n margin-left: auto;\n}\n\n.PageHeaderTitle_4cabb86e08 {\n padding-bottom: 8px;\n padding-top: 0;\n margin: 0;\n}\n\n.PageHeaderTabs_94faf67e5d {\n padding: 8px 0 0;\n margin-bottom: -1px;\n}\n\n.PageHeaderTabs_94faf67e5d ul {\n padding: 0;\n}\n\n.PageHeaderDivider_740b883bdc {\n margin: 0px;\n}\n\n@media (min-width: 768px) {\n .PageHeaderContainer_86f481d4e7 {\n flex-direction: row;\n }\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=PageHeader.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var
|
1
|
+
var e={panelHeaderStyled:"panelHeaderStyled_caa5afab25",panelHeaderInner:"panelHeaderInner_e76e77b8ce",backgroundStyled:"backgroundStyled_74bc3ef85a","overlay-fade-in":"overlay-fade-in_0a7003ae35",textStyled:"textStyled_8c7c82d1d2",headerTextStyled:"headerTextStyled_4a57ce5d06",leftContent:"leftContent_c6a8530f1a",rightContent:"rightContent_c6a8530f1a",headerDivider:"headerDivider_25db4c6390",containerStyled:"containerStyled_ee7deca640",panelMenuStyled:"panelMenuStyled_8168876223",innerStyled:"innerStyled_e0e1cbbffd",CloseLayerStyled:"CloseLayerStyled_5d780bdce7",panelFooterStyled:"panelFooterStyled_4586657e4d"};!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],t="s_id-eff5cdb2d08b_0_0_351";if(n.querySelector("#"+t))return;const a=document.createElement("style");a.id=t,n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.appendChild(document.createTextNode(e))}('.panelHeaderStyled_caa5afab25 {\n padding: 0 8px;\n}\n\n.panelHeaderInner_e76e77b8ce {\n position: sticky;\n top: 0;\n right: 0;\n left: 0;\n display: flex;\n width: 100%;\n z-index: 1;\n flex-wrap: nowrap;\n align-items: center;\n background-color: var(--surface-level-100);\n line-height: 1.5em;\n padding: 0.5rem 0;\n margin: 0 auto;\n box-sizing: border-box;\n}\n\n.backgroundStyled_74bc3ef85a {\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n position: fixed;\n background-color: var(--surface-overlay);\n animation: overlay-fade-in_0a7003ae35 70ms var(--motion-timing-enter);\n transition: all 0.26s ease-in-out;\n z-index: 7000;\n}\n\n.textStyled_8c7c82d1d2 {\n font-weight: 400;\n line-height: 1.5em;\n padding: 1rem 0;\n margin-bottom: 0;\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.headerTextStyled_4a57ce5d06 {\n font-size: 15px;\n font-style: normal;\n font-weight: 600;\n line-height: 22px;\n font-weight: "500";\n text-transform: "capitalize";\n}\n\n.leftContent_c6a8530f1a {\n display: flex;\n align-items: center;\n}\n\n.rightContent_c6a8530f1a {\n display: flex;\n align-items: center;\n}\n\n.headerDivider_25db4c6390 {\n height: 1px;\n background-color: var(--divider-color);\n margin-top: 8px;\n}\n\n.containerStyled_ee7deca640 {\n padding: 0 8px;\n flex: 1;\n}\n\n.panelMenuStyled_8168876223 {\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n position: fixed;\n will-change: transform;\n transition: all 0.26s ease-in-out;\n z-index: 9999;\n display: flex;\n}\n\n.innerStyled_e0e1cbbffd {\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n background-color: var(--surface-level-100);\n box-shadow: var(--box-shadow-medium);\n max-width: 100%;\n min-width: 380px;\n z-index: 9999;\n}\n\n.CloseLayerStyled_5d780bdce7 {\n background-color: transparent;\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n}\n\n.panelFooterStyled_4586657e4d {\n position: sticky;\n display: flex;\n z-index: 2000;\n bottom: 0;\n right: 0;\n left: 0;\n display: flex;\n background-color: var(--surface-level-100);\n line-height: 1.5em;\n justify-content: space-between;\n padding: 8px 16px;\n align-items: flex-start;\n gap: 8px;\n}');export{e as default};
|
2
2
|
//# sourceMappingURL=Panel.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
!function(n){if("undefined"==typeof document)return;const e=document.head||document.getElementsByTagName("head")[0],t="s_id-
|
1
|
+
!function(n){if("undefined"==typeof document)return;const e=document.head||document.getElementsByTagName("head")[0],t="s_id-44849a380edc_0_0_351";if(e.querySelector("#"+t))return;const d=document.createElement("style");d.id=t,e.firstChild?e.insertBefore(d,e.firstChild):e.appendChild(d),d.appendChild(document.createTextNode(n))}(".panel_bdea9774b4 {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n border-radius: 6px;\n gap: 4px;\n overflow: hidden;\n}\n.panel_bdea9774b4 .emptyState_f975ffc53b {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n}\n.mainContent_6d8b4f4cbd {\n flex: 1;\n overflow: auto;\n display: flex;\n flex-direction: column;\n}\n.overlay-panel_369e6e9cf3 {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 1000;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.resize-handle_fbe90006c5 {\n z-index: 50;\n background-color: transparent;\n width: 2px;\n transition: all 0.3s ease-in-out;\n}\n.resize-handle_fbe90006c5:hover {\n background-color: var(--divider-secondary);\n box-shadow: 2px 0px 0px 0px var(--divider-secondary);\n}\n.collapse-handle_a18102d93e {\n z-index: 100;\n max-width: 2px;\n width: 3px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.collapse-handle_a18102d93e svg rect {\n fill: var(--divider-secondary);\n max-width: 2px;\n width: 2px;\n}\n.collapse-handle_a18102d93e:hover {\n background-color: var(--divider-secondary);\n}\n.collapse-handle_a18102d93e:hover svg rect {\n fill: var(--text-color-on-primary);\n}\n.styled-handle_09d3210b73 {\n height: 100%;\n width: 6px;\n background-color: transparent;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.3s ease-in-out;\n}\n.styled-handle_09d3210b73:hover {\n background-color: var(--divider-selected);\n}\n.handle_fbe90006c5 {\n height: 100%;\n background-color: var(--divider-primary);\n cursor: ew-resize;\n transition: background-color 0.3s ease-in-out;\n width: 134px;\n}\n.handle_fbe90006c5:hover {\n background-color: var(--divider-selected);\n}");
|
2
2
|
//# sourceMappingURL=PanelLayout.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var n={toast:"
|
1
|
+
var n={toast:"toast_f86856f0c8",nonFixed:"nonFixed_3f6bdb33a8",topRight:"topRight_ef9bbcf350",bottomRight:"bottomRight_36166e55d1",closeButton:"closeButton_43a69b3b0e",iconExpanded:"iconExpanded_03832b9331",iconCollapsed:"iconCollapsed_ed2c1a67f9",content:"content_344f6df937",header:"header_9ea7b2f6ae",cell:"cell_2d191a5d3f"};!function(n){if("undefined"==typeof document)return;const e=document.head||document.getElementsByTagName("head")[0],t="s_id-06d30105d7cf_0_0_351";if(e.querySelector("#"+t))return;const a=document.createElement("style");a.id=t,e.firstChild?e.insertBefore(a,e.firstChild):e.appendChild(a),a.appendChild(document.createTextNode(n))}(".toast_f86856f0c8 {\n box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.08), 0px 2px 3px 0px rgba(0, 0, 0, 0.07);\n border: 1px solid var(--divider-primary, rgba(16, 24, 27, 0.1));\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n margin: var(--spacing-medium);\n position: fixed;\n z-index: 10000;\n right: 0;\n align-items: center;\n display: flex;\n min-width: 320px;\n border-radius: var(--border-radius-medium);\n color: var(--text-primary);\n gap: var(--spacing-small);\n background-color: var(--surface-level-100);\n padding: var(--spacing-small) var(--spacing-medium) var(--spacing-small) var(--spacing-medium);\n}\n\n.nonFixed_3f6bdb33a8 {\n position: relative;\n}\n\n.topRight_ef9bbcf350 {\n top: 0;\n}\n\n.bottomRight_36166e55d1 {\n bottom: 0;\n}\n\n.closeButton_43a69b3b0e {\n margin-left: var(--spacing-small);\n color: var(--text-primary);\n}\n\n.iconExpanded_03832b9331 {\n transition: transform 0.3s ease;\n transform: rotate(180deg);\n}\n\n.iconCollapsed_ed2c1a67f9 {\n transition: transform 0.3s ease;\n transform: rotate(0deg);\n}\n\n.content_344f6df937 {\n transition: max-height 0.3s ease;\n overflow: hidden;\n width: 95%;\n}\n\n.header_9ea7b2f6ae {\n width: 100%;\n padding: 10px 10px;\n}\n\n.cell_2d191a5d3f {\n border-top: 1px solid var(--divider-primary);\n padding: 6px 0px;\n width: 100%;\n}");export{n as default};
|
2
2
|
//# sourceMappingURL=ProcessingToast.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={bar:"
|
1
|
+
var e={bar:"bar_97beaaed33",typePrimaryPrimary:"typePrimaryPrimary_b8112396af",typePrimarySecondary:"typePrimarySecondary_bc09b503aa",typePrimaryPositive:"typePrimaryPositive_d2d02da101",typePrimaryNegative:"typePrimaryNegative_9055035eba",typePrimaryWarning:"typePrimaryWarning_a051c58683",typeSecondaryPrimary:"typeSecondaryPrimary_6fe6d7e32d",typeSecondarySecondary:"typeSecondarySecondary_9234696d75",typeSecondaryPositive:"typeSecondaryPositive_91c8a4fd12",typeSecondaryNegative:"typeSecondaryNegative_e2247b183a",typeSecondaryWarning:"typeSecondaryWarning_516e985959",animate:"animate_4e885c70f9"};!function(e){if("undefined"==typeof document)return;const r=document.head||document.getElementsByTagName("head")[0],a="s_id-7d6049908fe8_0_0_351";if(r.querySelector("#"+a))return;const n=document.createElement("style");n.id=a,r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.appendChild(document.createTextNode(e))}(".bar_97beaaed33 {\n left: 0;\n height: 100%;\n position: absolute;\n border-radius: var(--border-radius-small);\n}\n\n.typePrimaryPrimary_b8112396af {\n background-color: var(--primary-color);\n}\n\n.typePrimarySecondary_bc09b503aa {\n background-color: var(--surface-inverse);\n}\n\n.typePrimaryPositive_d2d02da101 {\n background-color: var(--positive-color);\n}\n\n.typePrimaryNegative_9055035eba {\n background-color: var(--negative-color);\n}\n\n.typePrimaryWarning_a051c58683 {\n background-color: var(--warning-color);\n}\n\n.typeSecondaryPrimary_6fe6d7e32d {\n background-color: var(--surface-selected);\n}\n\n.typeSecondarySecondary_9234696d75 {\n background-color: var(--divider-primary);\n}\n\n.typeSecondaryPositive_91c8a4fd12 {\n background-color: var(--positive-color-selected);\n}\n\n.typeSecondaryNegative_e2247b183a {\n background-color: var(--negative-color-selected);\n}\n\n.typeSecondaryWarning_516e985959 {\n background-color: var(--warning-color-selected);\n}\n\n.animate_4e885c70f9 {\n transition: width var(--motion-productive-medium) var(--motion-timing-transition);\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=Bar.module.scss.js.map
|
package/dist/esm/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.module.scss.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={wrapper:"
|
1
|
+
var e={wrapper:"wrapper_6cd2d50432",fullWidth:"fullWidth_0227e1b080",container:"container_374b97b9b9",progressBar:"progressBar_378d517872",completed:"completed_374b97b9b9",label:"label_1f2c2d837b",large:"large_59cec1b6b5",medium:"medium_e0e628977d",small:"small_dd4452920d"};!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],r="s_id-70ce3fa10ece_0_0_351";if(n.querySelector("#"+r))return;const d=document.createElement("style");d.id=r,n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d),d.appendChild(document.createTextNode(e))}(".wrapper_6cd2d50432 {\n display: flex;\n flex-direction: row;\n justify-content: center;\n width: 100%;\n font: var(--font-text1-normal);\n line-height: 8px !important;\n}\n.wrapper_6cd2d50432.fullWidth_0227e1b080 {\n width: 100%;\n}\n.wrapper_6cd2d50432.fullWidth_0227e1b080 .container_374b97b9b9 {\n border-radius: 0;\n}\n.wrapper_6cd2d50432.fullWidth_0227e1b080 .container_374b97b9b9 .progressBar_378d517872 {\n border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;\n}\n.wrapper_6cd2d50432.fullWidth_0227e1b080 .container_374b97b9b9 .progressBar_378d517872.completed_374b97b9b9 {\n border-radius: 0;\n}\n.label_1f2c2d837b {\n padding-left: var(--spacing-xs);\n}\n.large_59cec1b6b5 {\n height: 8px;\n line-height: 8px;\n}\n.medium_e0e628977d {\n height: 6px;\n line-height: 6px;\n}\n.small_dd4452920d {\n height: 4px;\n line-height: 4px;\n}\n.container_374b97b9b9 {\n position: relative;\n width: 100%;\n background-color: var(--surface-level-200);\n border-radius: var(--border-radius-small);\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=LinearProgressBar.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={label:"
|
1
|
+
var e={label:"label_1f2c2d837b"};!function(e){if("undefined"==typeof document)return;const d=document.head||document.getElementsByTagName("head")[0],t="s_id-de8a28d20526_0_0_351";if(d.querySelector("#"+t))return;const n=document.createElement("style");n.id=t,d.firstChild?d.insertBefore(n,d.firstChild):d.appendChild(n),n.appendChild(document.createTextNode(e))}(".label_1f2c2d837b {\n padding-left: var(--spacing-xs);\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=PercentageLabel.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var n={radioButton:"
|
1
|
+
var n={radioButton:"radioButton_ea511f7290",inputContainer:"inputContainer_41526a644b",input:"input_d470803498",control:"control_778bccf9bc",labelAnimation:"labelAnimation_b061fd348c",radioCheckedAnimation:"radioCheckedAnimation_414eb9f76c",disabled:"disabled_68b9c2ebc5",label:"label_63beb5ed92"};!function(n){if("undefined"==typeof document)return;const e=document.head||document.getElementsByTagName("head")[0],o="s_id-d77bcd558954_0_0_351";if(e.querySelector("#"+o))return;const r=document.createElement("style");r.id=o,e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r),r.appendChild(document.createTextNode(n))}(".radioButton_ea511f7290 {\n display: grid;\n grid-template-columns: 1.5em auto;\n grid-gap: 0.5em;\n cursor: pointer;\n}\n\n.inputContainer_41526a644b {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.input_d470803498 {\n opacity: 0;\n width: 0;\n height: 0;\n margin: 0;\n}\n\n.control_778bccf9bc {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 1em;\n height: 1em;\n border: 0.1em solid;\n box-sizing: border-box;\n border-color: var(--divider-primary);\n border-radius: 50%;\n transition: all var(--motion-productive-medium) ease 0ms;\n background-color: var(--surface-level-100);\n}\n\ninput:checked + .control_778bccf9bc {\n border-color: var(--primary-color);\n border-width: 0.3em;\n}\n\ninput:checked + .labelAnimation_b061fd348c {\n animation-name: radioCheckedAnimation_414eb9f76c;\n animation-duration: var(--motion-productive-medium);\n animation-timing-function: var(--motion-timing-enter);\n animation-fill-mode: forwards;\n}\n\ninput:disabled + .control_778bccf9bc {\n border: 0.5em solid;\n border-color: var(--disabled-background-color);\n border-radius: 50%;\n}\n\ninput:checked:disabled + .control_778bccf9bc {\n border: 0.3em solid;\n border-color: var(--disabled-background-color);\n background-color: var(--text-secondary);\n}\n\n.radioButton_ea511f7290.disabled_68b9c2ebc5 {\n cursor: not-allowed;\n}\n\n.radioButton_ea511f7290.disabled_68b9c2ebc5 .label_63beb5ed92 {\n color: var(--disabled-text-color);\n}\n\n.inputContainer_41526a644b input:focus-visible + .control_778bccf9bc {\n outline: none;\n border-color: var(--primary-color);\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5);\n border-radius: 50%;\n}\n\n.radioButton_ea511f7290:hover .inputContainer_41526a644b input:enabled:checked + .control_778bccf9bc {\n border-color: var(--primary-hover-color);\n box-shadow: var(--effect-divider-halo);\n}\n\n.radioButton_ea511f7290:hover .inputContainer_41526a644b input:enabled:not(:checked) + .control_778bccf9bc,\n.radioButton_ea511f7290:focus-within .inputContainer_41526a644b input:enabled:not(:checked) + .control_778bccf9bc {\n border-color: var(--divider-selected);\n box-shadow: var(--effect-divider-halo);\n}\n\n@keyframes radioCheckedAnimation_414eb9f76c {\n 0% {\n height: 1em;\n width: 1em;\n }\n 50% {\n height: 0.8em;\n width: 0.8em;\n }\n 100% {\n height: 1em;\n width: 1em;\n }\n}");export{n as default};
|
2
2
|
//# sourceMappingURL=RadioButton.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={responsiveListRoot:"
|
1
|
+
var e={responsiveListRoot:"responsiveListRoot_3f6bdb33a8",responsiveList:"responsiveList_701ef02e41",listMenuButton:"listMenuButton_2b946c5c34",dummy:"dummy_0995a32c6d",menuButtonDialog:"menuButtonDialog_d9f5cc2c78",menuWrapperFlex:"menuWrapperFlex_d9f5cc2c78"};!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],t="s_id-51abe3f9c6a0_0_0_351";if(n.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(e))}(".responsiveListRoot_3f6bdb33a8 {\n position: relative;\n}\n\n.responsiveList_701ef02e41 {\n display: flex;\n justify-content: flex-end;\n}\n\n.responsiveList_701ef02e41 .listMenuButton_2b946c5c34 {\n flex-shrink: 0;\n}\n\n.dummy_0995a32c6d {\n width: 100%;\n position: absolute;\n visibility: hidden;\n}\n\n.menuButtonDialog_d9f5cc2c78 {\n display: flex;\n}\n\n.menuWrapperFlex_d9f5cc2c78 {\n display: flex;\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=ResponsiveList.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e=".hds-scrollable-container {\n box-sizing: border-box;\n overflow-x: auto;\n overflow-y: hidden;\n}\n.hds-scrollable-container * {\n box-sizing: border-box;\n}\n.hds-scrollable-container.allow-vertical-scrolling {\n overflow-y: visible;\n}";!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],o="s_id-
|
1
|
+
var e=".hds-scrollable-container {\n box-sizing: border-box;\n overflow-x: auto;\n overflow-y: hidden;\n}\n.hds-scrollable-container * {\n box-sizing: border-box;\n}\n.hds-scrollable-container.allow-vertical-scrolling {\n overflow-y: visible;\n}";!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],o="s_id-2de7259b0c9f_0_0_351";if(n.querySelector("#"+o))return;const r=document.createElement("style");r.id=o,n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.appendChild(document.createTextNode(e))}(e);export{e as default};
|
2
2
|
//# sourceMappingURL=scrollableContainer.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={searchWrapper:"
|
1
|
+
var e={searchWrapper:"searchWrapper_14eeb641ea",searchFocusElementFirst:"searchFocusElementFirst_09458ae949",dashForward:"dashForward_b6c3bdb1d3",searchFocusElementSecond:"searchFocusElementSecond_6f83fb9013",dashBackwards:"dashBackwards_4d6774e24c",search:"search_6a1f269f2d",round:"round_6c9206b38a"};!function(e){if("undefined"==typeof document)return;const a=document.head||document.getElementsByTagName("head")[0],r="s_id-b431f263cf23_0_0_351";if(a.querySelector("#"+r))return;const n=document.createElement("style");n.id=r,a.firstChild?a.insertBefore(n,a.firstChild):a.appendChild(n),n.appendChild(document.createTextNode(e))}(".searchWrapper_14eeb641ea input[type=search] {\n -webkit-appearance: textfield;\n}\n\n.searchWrapper_14eeb641ea input[type=search]::-webkit-search-decoration,\n.searchWrapper_14eeb641ea input[type=search]::-webkit-search-cancel-button,\n.searchWrapper_14eeb641ea input[type=search]::-webkit-search-results-button,\n.searchWrapper_14eeb641ea input[type=search]::-webkit-search-results-decoration {\n -webkit-appearance: none;\n}\n\n.searchWrapper_14eeb641ea:focus-within .searchFocusElementFirst_09458ae949 {\n animation: dashForward_b6c3bdb1d3 5s linear forwards;\n}\n\n.searchWrapper_14eeb641ea:focus-within .searchFocusElementSecond_6f83fb9013 {\n animation: dashBackwards_4d6774e24c 5s linear forwards;\n}\n\n.search_6a1f269f2d.round_6c9206b38a {\n border-radius: 50px !important;\n}\n\n@keyframes dashForward_b6c3bdb1d3 {\n to {\n stroke-dashoffset: 0;\n }\n}\n\n@keyframes dashBackwards_4d6774e24c {\n to {\n stroke-dashoffset: 2000;\n }\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=Search.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var
|
1
|
+
var n={sectionHeader:"sectionHeader_bcc06b9162",text:"text_84987659cc",large:"large_91d6505396",medium:"medium_53dccd9387",small:"small_f62b46f1b9",indented:"indented_66a44a1b6c"};!function(n){if("undefined"==typeof document)return;const e=document.head||document.getElementsByTagName("head")[0],t="s_id-03a241082978_0_0_351";if(e.querySelector("#"+t))return;const d=document.createElement("style");d.id=t,e.firstChild?e.insertBefore(d,e.firstChild):e.appendChild(d),d.appendChild(document.createTextNode(n))}(".sectionHeader_bcc06b9162 {\n display: flex;\n width: 100%;\n justify-content: space-between;\n border-bottom: 1px solid var(--divider-primary);\n padding-right: 12px;\n align-items: flex-end;\n}\n\n.text_84987659cc {\n font-weight: 600;\n}\n\n.large_91d6505396 {\n font-size: 18px;\n padding-top: 30px;\n padding-bottom: 10px;\n line-height: 22px;\n}\n\n.medium_53dccd9387 {\n font-size: 14px;\n padding-top: 14px;\n padding-bottom: 6px;\n line-height: 22px;\n}\n\n.small_f62b46f1b9 {\n font-size: 12px;\n line-height: 15px;\n padding-top: 6px;\n padding-bottom: 2px;\n}\n\n.indented_66a44a1b6c {\n padding-left: 16px;\n}");export{n as default};
|
2
2
|
//# sourceMappingURL=SectionHeader.module.scss.js.map
|
package/dist/esm/src/components/SegmentControl/SegmentControlCell/SegmentControlCell.module.scss.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={segmentControlCell:"
|
1
|
+
var e={segmentControlCell:"segmentControlCell_b97281ef09",active:"active_6f575dbd89",disabled:"disabled_fa59f565b0",small:"small_4bdd609fbe",medium:"medium_70e7bda5e2",large:"large_0c9857fba7",cellContent:"cellContent_50f4e0bbe5"};!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],t="s_id-356f7c8bd17b_0_0_351";if(n.querySelector("#"+t))return;const l=document.createElement("style");l.id=t,n.firstChild?n.insertBefore(l,n.firstChild):n.appendChild(l),l.appendChild(document.createTextNode(e))}(".segmentControlCell_b97281ef09 {\n cursor: pointer;\n text-align: center;\n transition: color 0.3s;\n color: var(--text-secondary);\n border-radius: var(--border-radius-medium);\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n gap: 4px;\n margin: 0;\n padding: 0 var(--spacing-small);\n font: var(--font-text1-normal);\n box-sizing: border-box;\n min-width: 0;\n flex: 1 1 auto;\n}\n.segmentControlCell_b97281ef09.active_6f575dbd89 {\n color: var(--text-primary);\n}\n.segmentControlCell_b97281ef09:hover {\n color: var(--text-primary);\n}\n.segmentControlCell_b97281ef09.active_6f575dbd89:not(:hover) {\n color: var(--text-primary);\n}\n.segmentControlCell_b97281ef09.disabled_fa59f565b0 {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.small_4bdd609fbe {\n padding: 0 var(--spacing-xs);\n height: 24px;\n font-size: 12px;\n}\n.medium_70e7bda5e2 {\n padding: 0 var(--spacing-small);\n height: 32px;\n font-size: 14px;\n}\n.large_0c9857fba7 {\n padding: 0 var(--spacing-medium);\n height: 40px;\n font-size: 16px;\n}\n.cellContent_50f4e0bbe5 {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 4px;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=SegmentControlCell.module.scss.js.map
|
package/dist/esm/src/components/SegmentControl/SegmentControlList/SegmentControlList.module.scss.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={segmentControlList:"
|
1
|
+
var e={segmentControlList:"segmentControlList_f08426190f",stretched:"stretched_0227e1b080",segmentControlUl:"segmentControlUl_4e5a09c590",small:"small_5bc607d57c",medium:"medium_d8b553bcc5",large:"large_cb62e1f889",animatedBackground:"animatedBackground_dbc7ed1b39"};!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],t="s_id-d6edb0b37613_0_0_351";if(n.querySelector("#"+t))return;const r=document.createElement("style");r.id=t,n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.appendChild(document.createTextNode(e))}(".segmentControlList_f08426190f {\n position: relative;\n display: flex;\n align-items: center;\n background-color: var(--surface-level-050);\n border-radius: var(--border-radius-medium);\n padding: 2px;\n box-sizing: border-box;\n}\n\n.stretched_0227e1b080 {\n width: 100%;\n}\n\n.segmentControlUl_4e5a09c590 {\n display: flex;\n width: 100%;\n margin: 0;\n padding: 0;\n list-style: none;\n position: relative;\n z-index: 1;\n box-sizing: border-box;\n}\n\n.small_5bc607d57c {\n --segment-height: 24px;\n}\n\n.medium_d8b553bcc5 {\n --segment-height: 32px;\n}\n\n.large_cb62e1f889 {\n --segment-height: 40px;\n}\n\n.segmentControlList_f08426190f {\n height: var(--segment-height);\n}\n\n.animatedBackground_dbc7ed1b39 {\n position: absolute;\n top: 2px;\n bottom: 2px;\n left: 2px;\n background-color: var(--surface-level-100);\n border-radius: calc(var(--border-radius-medium) - 2px);\n box-shadow: 0px 1px 2px 0px color-mix(in srgb, var(--shadow-color) 50%, transparent);\n z-index: 0;\n transition: transform 0.3s ease, width 0.3s ease;\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=SegmentControlList.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var n={headerStyled:"
|
1
|
+
var n={headerStyled:"headerStyled_60799a24f5",closeIcon:"closeIcon_819a8257c0",containerStyled:"containerStyled_88a314e970",sidebarMenuStyled:"sidebarMenuStyled_8168876223",innerStyled:"innerStyled_dec98633c3",overlay:"overlay_47ca55e786","overlay-fade-in":"overlay-fade-in_65937e2ec0",CloseLayerStyled:"CloseLayerStyled_5d780bdce7",sectionLabelStyled:"sectionLabelStyled_eedeea180a",menuItemStyled:"menuItemStyled_7dfc4f292a",menuItemLink:"menuItemLink_ab07abf10e",withIcon:"withIcon_d3f955d5d4",menuIcon:"menuIcon_9c53ebf48d",menuItemCounter:"menuItemCounter_7922cbe72a",active:"active_0689c6d0b6",chevronIcon:"chevronIcon_f993c40d10",chevronIconExpanded:"chevronIconExpanded_7d7fc758fd"};!function(n){if("undefined"==typeof document)return;const e=document.head||document.getElementsByTagName("head")[0],t="s_id-c6e7957bebe7_0_0_351";if(e.querySelector("#"+t))return;const a=document.createElement("style");a.id=t,e.firstChild?e.insertBefore(a,e.firstChild):e.appendChild(a),a.appendChild(document.createTextNode(n))}(".headerStyled_60799a24f5 {\n display: flex;\n align-items: center;\n margin-bottom: 50px;\n}\n.headerStyled_60799a24f5 img {\n margin-top: 4px;\n margin-left: 4px;\n}\n.closeIcon_819a8257c0 {\n padding-right: 5px;\n margin-left: 0px;\n}\n.containerStyled_88a314e970 {\n padding: 0 1rem;\n flex: 1;\n}\n.sidebarMenuStyled_8168876223 {\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n position: fixed;\n will-change: transform;\n transition: all 0.26s ease-in-out;\n z-index: 9999;\n display: flex;\n}\n.innerStyled_dec98633c3 {\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n overflow-y: auto;\n box-shadow: var(--box-shadow-small);\n background-color: var(--surface-level-100);\n padding: 16px 6px 0 6px;\n max-width: 100%;\n width: 100vw;\n z-index: 9999;\n font-size: 14px;\n color: var(--text-secondary);\n}\n@media (min-width: 576px) {\n .innerStyled_dec98633c3 {\n width: 50vw;\n }\n}\n@media (min-width: 768px) {\n .innerStyled_dec98633c3 {\n width: 25vw;\n }\n}\n@media (min-width: 992px) {\n .innerStyled_dec98633c3 {\n width: 20vw;\n }\n}\n@media (min-width: 1200px) {\n .innerStyled_dec98633c3 {\n width: 15rem;\n }\n}\n.overlay_47ca55e786 {\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n position: fixed;\n background-color: rgba(0, 0, 0, 0.3);\n animation: overlay-fade-in_65937e2ec0 70ms var(--motion-timing-enter);\n transition: all 0.26s ease-in-out;\n z-index: 7000;\n}\n.CloseLayerStyled_5d780bdce7 {\n background-color: transparent;\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n}\n.sectionLabelStyled_eedeea180a {\n display: flex;\n align-items: center;\n font-weight: 600;\n padding: 28px 4px 8px 4px;\n line-height: 22px;\n gap: 8px;\n}\n.menuItemStyled_7dfc4f292a {\n height: 38px;\n display: flex;\n align-items: center;\n border-radius: 4px;\n}\n.menuItemLink_ab07abf10e {\n color: var(--text-secondary);\n text-decoration: none;\n font-weight: 400;\n height: 100%;\n width: 100%;\n border-radius: var(--border-radius-medium);\n display: flex;\n align-items: center;\n transition: all var(--motion-productive-medium) ease 0ms;\n}\n.menuItemLink_ab07abf10e:hover {\n cursor: pointer;\n background: var(--surface-level-200);\n color: var(--text-primary);\n text-decoration: none;\n}\n.menuItemLink_ab07abf10e.withIcon_d3f955d5d4 {\n padding-left: 4px;\n}\n.menuItemLink_ab07abf10e .menuIcon_9c53ebf48d {\n margin-right: 4px;\n}\n.menuItemCounter_7922cbe72a {\n margin-left: 8px;\n margin-right: 8px;\n}\n.active_0689c6d0b6 {\n background: var(--surface-level-200);\n color: var(--text-primary);\n}\n.active_0689c6d0b6:hover {\n background: var(--surface-level-300);\n}\n.chevronIcon_f993c40d10 {\n transition: transform 0.3s ease;\n transform: rotate(0deg);\n margin: 8px 4px;\n}\n.chevronIconExpanded_7d7fc758fd {\n transform: rotate(180deg);\n}");export{n as default};
|
2
2
|
//# sourceMappingURL=Sidebar.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var n={skeleton:"
|
1
|
+
var n={skeleton:"skeleton_d9f5cc2c78",rectangle:"rectangle_0c52f56b61",shine:"shine_a0c85b387a",circle:"circle_1911b06364",text:"text_c26ffe6536",textH1:"textH1_d67daad61c",textH2:"textH2_f7bb8ce78d",textH3:"textH3_f7bb8ce78d",textH4:"textH4_22b7d31697",textH5:"textH5_dac672cc61",textH6:"textH6_f7635b3ce9",textSmall:"textSmall_754267c953",textCustom:"textCustom_f7635b3ce9",fullWidth:"fullWidth_0227e1b080"};!function(n){if("undefined"==typeof document)return;const e=document.head||document.getElementsByTagName("head")[0],t="s_id-2345d9ff68bb_0_0_351";if(e.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,e.firstChild?e.insertBefore(i,e.firstChild):e.appendChild(i),i.appendChild(document.createTextNode(n))}(".skeleton_d9f5cc2c78 {\n display: flex;\n}\n\n.rectangle_0c52f56b61 {\n height: 160px;\n background: var(--surface-level-200);\n border-radius: var(--border-radius-small);\n overflow: hidden;\n animation-duration: 0.8s;\n animation-direction: alternate;\n animation-iteration-count: infinite;\n animation-name: shine_a0c85b387a;\n animation-timing-function: steps(10, end);\n}\n\n@keyframes shine_a0c85b387a {\n 0% {\n opacity: 0.3;\n }\n 100% {\n opacity: 1;\n }\n}\n\n.circle_1911b06364 {\n height: 40px;\n background: var(--surface-level-200);\n border-radius: 50%;\n overflow: hidden;\n animation-duration: 0.8s;\n animation-direction: alternate;\n animation-iteration-count: infinite;\n animation-name: shine_a0c85b387a;\n animation-timing-function: steps(10, end);\n}\n\n@keyframes shine_a0c85b387a {\n 0% {\n opacity: 0.3;\n }\n 100% {\n opacity: 1;\n }\n}\n\n.text_c26ffe6536 {\n background: var(--surface-level-200);\n border-radius: var(--border-radius-small);\n overflow: hidden;\n animation-duration: 0.8s;\n animation-direction: alternate;\n animation-iteration-count: infinite;\n animation-name: shine_a0c85b387a;\n animation-timing-function: steps(10, end);\n}\n\n@keyframes shine_a0c85b387a {\n 0% {\n opacity: 0.3;\n }\n 100% {\n opacity: 1;\n }\n}\n\n.textH1_d67daad61c {\n height: 32px;\n}\n\n.textH2_f7bb8ce78d {\n height: 24px;\n}\n\n.textH3_f7bb8ce78d {\n height: 24px;\n}\n\n.textH4_22b7d31697 {\n height: 21px;\n}\n\n.textH5_dac672cc61 {\n height: 16px;\n}\n\n.textH6_f7635b3ce9 {\n height: 12px;\n}\n\n.textSmall_754267c953,\n.textCustom_f7635b3ce9 {\n height: 12px;\n}\n\n.fullWidth_0227e1b080 {\n width: 100%;\n}\n\n.skeleton_d9f5cc2c78:not(.fullWidth_0227e1b080) .text_c26ffe6536 {\n width: 162px;\n}\n\n.skeleton_d9f5cc2c78:not(.fullWidth_0227e1b080) .circle_1911b06364 {\n width: 40px;\n}\n\n.skeleton_d9f5cc2c78:not(.fullWidth_0227e1b080) .rectangle_0c52f56b61 {\n width: 160px;\n}");export{n as default};
|
2
2
|
//# sourceMappingURL=Skeleton.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={selectionIndicator:"
|
1
|
+
var e={selectionIndicator:"selectionIndicator_cc67abae8f"};!function(e){if("undefined"==typeof document)return;const t=document.head||document.getElementsByTagName("head")[0],n="s_id-a25847c4cc71_0_0_351";if(t.querySelector("#"+n))return;const c=document.createElement("style");c.id=n,t.firstChild?t.insertBefore(c,t.firstChild):t.appendChild(c),c.appendChild(document.createTextNode(e))}(".selectionIndicator_cc67abae8f.selectionIndicator_cc67abae8f.selectionIndicator_cc67abae8f {\n text-align: center;\n padding: var(--spacing-small);\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=SelectionIndicator.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={slider:"
|
1
|
+
var e={slider:"slider_b2d5207f5a",valueShown:"valueShown_0668cd8094"};!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],d="s_id-1ec33feab829_0_0_351";if(n.querySelector("#"+d))return;const t=document.createElement("style");t.id=d,n.firstChild?n.insertBefore(t,n.firstChild):n.appendChild(t),t.appendChild(document.createTextNode(e))}(".slider_b2d5207f5a {\n align-items: center;\n display: flex;\n max-width: 500px;\n min-width: 200px;\n width: 100%;\n}\n\n.valueShown_0668cd8094 {\n margin-top: 10px;\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=Slider.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={base:"
|
1
|
+
var e={base:"base_d112354b3f",disabled:"disabled_798d693efc",small:"small_6e3b2a8b08",medium:"medium_9009a7c75f",large:"large_9009a7c75f"};!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],a="s_id-0abb9e445f96_0_0_351";if(n.querySelector("#"+a))return;const d=document.createElement("style");d.id=a,n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d),d.appendChild(document.createTextNode(e))}(".base_d112354b3f {\n display: flex;\n touch-action: none;\n -webkit-tap-highlight-color: transparent;\n width: 100%;\n}\n\n.disabled_798d693efc {\n cursor: not-allowed !important;\n opacity: var(--disabled-component-opacity);\n}\n\n.disabled_798d693efc * {\n pointer-events: none;\n}\n\n.small_6e3b2a8b08 {\n padding: 0 var(--spacing-small);\n}\n\n.medium_9009a7c75f {\n padding: 0 12px;\n}\n\n.large_9009a7c75f {\n padding: 0 12px;\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=SliderBase.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={filledTrack:"
|
1
|
+
var e={filledTrack:"filledTrack_1c49858e2f",positive:"positive_d2d02da101",negative:"negative_9055035eba"};!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],t="s_id-bb386829c5aa_0_0_351";if(n.querySelector("#"+t))return;const r=document.createElement("style");r.id=t,n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.appendChild(document.createTextNode(e))}(".filledTrack_1c49858e2f {\n position: absolute;\n border-radius: inherit;\n background-color: var(--primary-color);\n height: inherit;\n top: 50%;\n transform: translateY(-50%);\n width: 100%;\n}\n\n.positive_d2d02da101 {\n background-color: var(--positive-color);\n}\n\n.negative_9055035eba {\n background-color: var(--negative-color);\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=SliderFilledTrack.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var
|
1
|
+
var e={rail:"rail_5593f82ebd",small:"small_cb1f7d7e71",medium:"medium_8073912f69",large:"large_75f2612205"};!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],d="s_id-c66a4285003d_0_0_351";if(n.querySelector("#"+d))return;const i=document.createElement("style");i.id=d,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(e))}(".rail_5593f82ebd {\n cursor: pointer;\n display: inline-block;\n position: relative;\n touch-action: none;\n -webkit-tap-highlight-color: transparent;\n width: 100%;\n}\n\n.small_cb1f7d7e71 {\n border-radius: 2px;\n height: 2px;\n padding: 8px 0;\n}\n\n.medium_8073912f69 {\n border-radius: 2px;\n height: 4px;\n padding: 12px 0;\n}\n\n.large_75f2612205 {\n border-radius: 8px;\n height: 8px;\n padding: 10px 0;\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=SliderRail.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var n={thumb:"
|
1
|
+
var n={thumb:"thumb_4a8dd95778",dragging:"dragging_3e63715c32",focused:"focused_dc42958c7c",notDisabledThumb:"notDisabledThumb_decb63cc5d","focus-visible":"focus-visible_0614dae55f",positive:"positive_7c945d5b98",negative:"negative_61cf8512de",small:"small_c9a0806a10",medium:"medium_3144a51502",large:"large_3144a51502",label:"label_424c3209ea"};!function(n){if("undefined"==typeof document)return;const e=document.head||document.getElementsByTagName("head")[0],o="s_id-25c9c209cbd2_0_0_351";if(e.querySelector("#"+o))return;const r=document.createElement("style");r.id=o,e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r),r.appendChild(document.createTextNode(n))}(".thumb_4a8dd95778 {\n position: absolute;\n border: 3px solid;\n border-radius: 50%;\n border-color: var(--primary-color);\n background-color: var(--surface-level-100);\n font-size: 14px;\n top: 50%;\n transform: translate(-50%, -50%);\n transition: transform var(--motion-productive-long) var(--motion-timing-enter);\n font-family: var(--font-family);\n}\n\n.dragging_3e63715c32 {\n cursor: grabbing !important;\n transform: translate(-50%, -50%) scale(1.33, 1.33);\n transform-origin: center center;\n transition: transform var(--motion-productive-long) var(--motion-timing-enter);\n box-shadow: var(--box-shadow-small);\n}\n\n.focused_dc42958c7c {\n border-color: var(--primary-hover-color);\n cursor: grab;\n box-shadow: var(--box-shadow-small);\n}\n\n.notDisabledThumb_decb63cc5d:focus-visible, .notDisabledThumb_decb63cc5d.focus-visible_0614dae55f {\n outline: none;\n z-index: 11;\n border-radius: 50%;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n\n.notDisabledThumb_decb63cc5d:focus:not(.focus-visible_0614dae55f) {\n outline: none;\n}\n\n.notDisabledThumb_decb63cc5d:hover {\n border-color: var(--primary-hover-color);\n cursor: grab;\n box-shadow: var(--box-shadow-small);\n}\n\n.positive_7c945d5b98 {\n border-color: var(--positive-color);\n}\n\n.positive_7c945d5b98.notDisabledThumb_decb63cc5d:hover {\n border-color: var(--positive-color-hover);\n}\n\n.negative_61cf8512de {\n border-color: var(--negative-color);\n}\n\n.negative_61cf8512de.notDisabledThumb_decb63cc5d:hover {\n border-color: var(--negative-color-hover);\n}\n\n.small_c9a0806a10 {\n height: 16px;\n width: 16px;\n}\n\n.medium_3144a51502 {\n height: 24px;\n width: 24px;\n}\n\n.large_3144a51502 {\n height: 24px;\n width: 24px;\n}\n\n.label_424c3209ea {\n bottom: calc(100% + 8px);\n left: 50%;\n max-width: 50px;\n overflow: hidden;\n position: absolute;\n text-overflow: ellipsis;\n transform: translate(-50%, 0);\n white-space: nowrap;\n}");export{n as default};
|
2
2
|
//# sourceMappingURL=SliderThumb.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={track:"
|
1
|
+
var e={track:"track_d25af0b8dc",positive:"positive_91c8a4fd12",negative:"negative_e2247b183a"};!function(e){if("undefined"==typeof document)return;const t=document.head||document.getElementsByTagName("head")[0],n="s_id-f269843990a8_0_0_351";if(t.querySelector("#"+n))return;const a=document.createElement("style");a.id=n,t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.appendChild(document.createTextNode(e))}(".track_d25af0b8dc {\n position: absolute;\n border-radius: inherit;\n background-color: var(--surface-selected);\n height: inherit;\n top: 50%;\n transform: translateY(-50%);\n width: 100%;\n}\n\n.positive_91c8a4fd12 {\n background-color: var(--positive-color-selected);\n}\n\n.negative_e2247b183a {\n background-color: var(--negative-color-selected);\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=SliderTrack.module.scss.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var e={infix:"
|
1
|
+
var e={infix:"infix_03f17ed2d8",txt:"txt_9cf6d18442",prefix:"prefix_6a13787805",postfix:"postfix_3a37bbfe93"};!function(e){if("undefined"==typeof document)return;const n=document.head||document.getElementsByTagName("head")[0],t="s_id-4fd2a8cee614_0_0_351";if(n.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(e))}(".infix_03f17ed2d8 {\n font-size: 14px;\n font-family: var(--font-family);\n flex: 0 0 auto;\n}\n\n.txt_9cf6d18442 {\n white-space: nowrap;\n}\n\n.prefix_6a13787805 {\n margin-right: var(--spacing-small);\n}\n\n.postfix_3a37bbfe93 {\n margin-left: var(--spacing-small);\n}");export{e as default};
|
2
2
|
//# sourceMappingURL=SliderInfix.module.scss.js.map
|