@lablup/ui-common 0.1.0-alpha.8 → 0.2.0-alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +62 -0
- package/README.md +490 -68
- package/astryx/components/AlertModal.doc.mjs +91 -0
- package/astryx/components/AlertModal.tsx +3 -0
- package/astryx/components/BoardItemTitle.doc.mjs +51 -0
- package/astryx/components/BoardItemTitle.tsx +3 -0
- package/astryx/components/BooleanToken.doc.mjs +57 -0
- package/astryx/components/BooleanToken.tsx +3 -0
- package/astryx/components/BulkEditFormItem.doc.mjs +68 -0
- package/astryx/components/BulkEditFormItem.tsx +3 -0
- package/astryx/components/BulkErrorModal.doc.mjs +75 -0
- package/astryx/components/BulkErrorModal.tsx +3 -0
- package/astryx/components/ColorPicker.doc.mjs +88 -0
- package/astryx/components/ColorPicker.tsx +3 -0
- package/astryx/components/ConfirmPopover.doc.mjs +99 -0
- package/astryx/components/ConfirmPopover.tsx +3 -0
- package/astryx/components/CountBadge.doc.mjs +93 -0
- package/astryx/components/CountBadge.tsx +3 -0
- package/astryx/components/CountdownBorder.doc.mjs +57 -0
- package/astryx/components/CountdownBorder.tsx +3 -0
- package/astryx/components/DataGrid.doc.mjs +166 -0
- package/astryx/components/DataGrid.tsx +3 -0
- package/astryx/components/DeleteConfirmModal.doc.mjs +163 -0
- package/astryx/components/DeleteConfirmModal.tsx +3 -0
- package/astryx/components/DividedRow.doc.mjs +85 -0
- package/astryx/components/DividedRow.tsx +3 -0
- package/astryx/components/DoubleBadge.doc.mjs +40 -0
- package/astryx/components/DoubleBadge.tsx +3 -0
- package/astryx/components/DoubleToken.doc.mjs +38 -0
- package/astryx/components/DoubleToken.tsx +3 -0
- package/astryx/components/Form.doc.mjs +113 -0
- package/astryx/components/Form.tsx +3 -0
- package/astryx/components/IconWithTooltip.doc.mjs +57 -0
- package/astryx/components/IconWithTooltip.tsx +3 -0
- package/astryx/components/ImageWithFallback.doc.mjs +47 -0
- package/astryx/components/ImageWithFallback.tsx +3 -0
- package/astryx/components/ListBanner.doc.mjs +50 -0
- package/astryx/components/ListBanner.tsx +3 -0
- package/astryx/components/Modal.doc.mjs +176 -0
- package/astryx/components/Modal.tsx +3 -0
- package/astryx/components/NotificationItem.doc.mjs +52 -0
- package/astryx/components/NotificationItem.tsx +3 -0
- package/astryx/components/NotificationStack.doc.mjs +66 -0
- package/astryx/components/NotificationStack.tsx +3 -0
- package/astryx/components/OverlayScrollbar.doc.mjs +49 -0
- package/astryx/components/OverlayScrollbar.tsx +3 -0
- package/astryx/components/PageHeader.doc.mjs +94 -0
- package/astryx/components/PageHeader.tsx +3 -0
- package/astryx/components/PagedSelector.doc.mjs +183 -0
- package/astryx/components/PagedSelector.tsx +3 -0
- package/astryx/components/ProgressWithLabel.doc.mjs +69 -0
- package/astryx/components/ProgressWithLabel.tsx +3 -0
- package/astryx/components/SelectionLabel.doc.mjs +55 -0
- package/astryx/components/SelectionLabel.tsx +3 -0
- package/astryx/components/Statistic.doc.mjs +84 -0
- package/astryx/components/Statistic.tsx +3 -0
- package/astryx/components/StepNumberInput.doc.mjs +102 -0
- package/astryx/components/StepNumberInput.tsx +3 -0
- package/astryx/components/TextHighlighter.doc.mjs +47 -0
- package/astryx/components/TextHighlighter.tsx +3 -0
- package/astryx/components/TokenList.doc.mjs +58 -0
- package/astryx/components/TokenList.tsx +3 -0
- package/astryx/components/TokenRow.doc.mjs +62 -0
- package/astryx/components/TokenRow.tsx +3 -0
- package/astryx/components/UncontrolledInput.doc.mjs +68 -0
- package/astryx/components/UncontrolledInput.tsx +3 -0
- package/astryx/components/UnitGrid.doc.mjs +107 -0
- package/astryx/components/UnitGrid.tsx +3 -0
- package/astryx/docs/ui-common.doc.mjs +112 -0
- package/astryx.integration.mjs +35 -0
- package/dist/assets/components/BoardItemTitle/BoardItemTitle.css +2 -0
- package/dist/assets/components/BulkErrorModal/BulkErrorModal.css +2 -0
- package/dist/assets/components/ColorPicker/ColorPicker.css +2 -0
- package/dist/assets/components/CountBadge/CountBadge.css +2 -0
- package/dist/assets/components/CountdownBorder/CountdownBorder.css +2 -0
- package/dist/assets/components/DataGrid/DataGrid.css +2 -0
- package/dist/assets/components/DeleteConfirmModal/DeleteConfirmModal.css +2 -0
- package/dist/assets/components/DigitPopIn/DigitPopIn.css +2 -0
- package/dist/assets/components/DividedRow/DividedRow.css +2 -0
- package/dist/assets/components/DoubleBadge/DoubleBadge.css +2 -0
- package/dist/assets/components/DoubleToken/DoubleToken.css +2 -0
- package/dist/assets/components/ErrorState/ErrorState.css +2 -1
- package/dist/assets/components/Form/FormItemVisual.css +2 -0
- package/dist/assets/components/IconWithTooltip/IconWithTooltip.css +2 -0
- package/dist/assets/components/ImageWithFallback/ImageWithFallback.css +2 -0
- package/dist/assets/components/ListBanner/ListBanner.css +2 -0
- package/dist/assets/components/Modal/Modal.css +2 -0
- package/dist/assets/components/NotificationItem/NotificationItem.css +2 -0
- package/dist/assets/components/NotificationStack/NotificationStack.css +2 -0
- package/dist/assets/components/OverlayScrollbar/OverlayScrollbar.css +2 -0
- package/dist/assets/components/PageHeader/PageHeader.css +2 -1
- package/dist/assets/components/PageLayout/PageLayout.css +2 -1
- package/dist/assets/components/PagedSelector/PagedSelector.css +2 -0
- package/dist/assets/components/ProgressWithLabel/ProgressWithLabel.css +2 -0
- package/dist/assets/components/Skeleton/SkeletonCard.css +2 -1
- package/dist/assets/components/Skeleton/SkeletonChart.css +2 -1
- package/dist/assets/components/Skeleton/SkeletonRow.css +2 -1
- package/dist/assets/components/Skeleton/SkeletonShape.css +2 -0
- package/dist/assets/components/Skeleton/SkeletonText.css +2 -1
- package/dist/assets/components/SmoothHeight/SmoothHeight.css +2 -1
- package/dist/assets/components/StatCard/StatCard.css +2 -1
- package/dist/assets/components/Statistic/Statistic.css +2 -0
- package/dist/assets/components/StepNumberInput/NumberStepper.css +2 -0
- package/dist/assets/components/TextHighlighter/TextHighlighter.css +2 -0
- package/dist/assets/components/TokenList/TokenList.css +2 -0
- package/dist/assets/components/TokenRow/TokenRow.css +2 -0
- package/dist/assets/components/UnitGrid/UnitGrid.css +2 -0
- package/dist/astryx/AppShell.d.ts +1 -0
- package/dist/astryx/AppShell.js +1 -0
- package/dist/astryx/AspectRatio.d.ts +1 -0
- package/dist/astryx/AspectRatio.js +1 -0
- package/dist/astryx/Avatar.d.ts +1 -0
- package/dist/astryx/Avatar.js +1 -0
- package/dist/astryx/AvatarGroup.d.ts +1 -0
- package/dist/astryx/AvatarGroup.js +1 -0
- package/dist/astryx/Badge.d.ts +1 -0
- package/dist/astryx/Badge.js +1 -0
- package/dist/astryx/Banner.d.ts +1 -0
- package/dist/astryx/Banner.js +1 -0
- package/dist/astryx/BaseProps.d.ts +1 -0
- package/dist/astryx/BaseProps.js +1 -0
- package/dist/astryx/Blockquote.d.ts +1 -0
- package/dist/astryx/Blockquote.js +1 -0
- package/dist/astryx/BottomSheet.d.ts +1 -0
- package/dist/astryx/BottomSheet.js +1 -0
- package/dist/astryx/Breadcrumbs.d.ts +1 -0
- package/dist/astryx/Breadcrumbs.js +1 -0
- package/dist/astryx/Button.d.ts +1 -0
- package/dist/astryx/Button.js +1 -0
- package/dist/astryx/ButtonGroup.d.ts +1 -0
- package/dist/astryx/ButtonGroup.js +1 -0
- package/dist/astryx/Calendar/utils.d.ts +1 -0
- package/dist/astryx/Calendar/utils.js +1 -0
- package/dist/astryx/Calendar.d.ts +1 -0
- package/dist/astryx/Calendar.js +1 -0
- package/dist/astryx/Card.d.ts +1 -0
- package/dist/astryx/Card.js +1 -0
- package/dist/astryx/Carousel.d.ts +1 -0
- package/dist/astryx/Carousel.js +1 -0
- package/dist/astryx/Center.d.ts +1 -0
- package/dist/astryx/Center.js +1 -0
- package/dist/astryx/Chat.d.ts +1 -0
- package/dist/astryx/Chat.js +1 -0
- package/dist/astryx/CheckboxInput.d.ts +1 -0
- package/dist/astryx/CheckboxInput.js +1 -0
- package/dist/astryx/CheckboxList.d.ts +1 -0
- package/dist/astryx/CheckboxList.js +1 -0
- package/dist/astryx/Citation.d.ts +1 -0
- package/dist/astryx/Citation.js +1 -0
- package/dist/astryx/ClickableCard.d.ts +1 -0
- package/dist/astryx/ClickableCard.js +1 -0
- package/dist/astryx/Code.d.ts +1 -0
- package/dist/astryx/Code.js +1 -0
- package/dist/astryx/CodeBlock.d.ts +1 -0
- package/dist/astryx/CodeBlock.js +1 -0
- package/dist/astryx/Collapsible.d.ts +1 -0
- package/dist/astryx/Collapsible.js +1 -0
- package/dist/astryx/CommandPalette.d.ts +1 -0
- package/dist/astryx/CommandPalette.js +1 -0
- package/dist/astryx/ContextMenu.d.ts +1 -0
- package/dist/astryx/ContextMenu.js +1 -0
- package/dist/astryx/DateInput.d.ts +1 -0
- package/dist/astryx/DateInput.js +1 -0
- package/dist/astryx/DateRangeInput.d.ts +1 -0
- package/dist/astryx/DateRangeInput.js +1 -0
- package/dist/astryx/DateTimeInput.d.ts +1 -0
- package/dist/astryx/DateTimeInput.js +1 -0
- package/dist/astryx/Divider.d.ts +1 -0
- package/dist/astryx/Divider.js +1 -0
- package/dist/astryx/DropdownMenu.d.ts +1 -0
- package/dist/astryx/DropdownMenu.js +1 -0
- package/dist/astryx/EmptyState.d.ts +1 -0
- package/dist/astryx/EmptyState.js +1 -0
- package/dist/astryx/Field.d.ts +1 -0
- package/dist/astryx/Field.js +1 -0
- package/dist/astryx/FieldStatus.d.ts +1 -0
- package/dist/astryx/FieldStatus.js +1 -0
- package/dist/astryx/FileInput.d.ts +1 -0
- package/dist/astryx/FileInput.js +1 -0
- package/dist/astryx/FormLayout.d.ts +1 -0
- package/dist/astryx/FormLayout.js +1 -0
- package/dist/astryx/Grid.d.ts +1 -0
- package/dist/astryx/Grid.js +1 -0
- package/dist/astryx/HStack.d.ts +1 -0
- package/dist/astryx/HStack.js +1 -0
- package/dist/astryx/Heading.d.ts +1 -0
- package/dist/astryx/Heading.js +1 -0
- package/dist/astryx/HoverCard.d.ts +1 -0
- package/dist/astryx/HoverCard.js +1 -0
- package/dist/astryx/Icon.d.ts +1 -0
- package/dist/astryx/Icon.js +1 -0
- package/dist/astryx/IconButton.d.ts +1 -0
- package/dist/astryx/IconButton.js +1 -0
- package/dist/astryx/Indicator.d.ts +1 -0
- package/dist/astryx/Indicator.js +1 -0
- package/dist/astryx/InputGroup.d.ts +1 -0
- package/dist/astryx/InputGroup.js +1 -0
- package/dist/astryx/InteractiveRoleContext.d.ts +1 -0
- package/dist/astryx/InteractiveRoleContext.js +1 -0
- package/dist/astryx/Item.d.ts +1 -0
- package/dist/astryx/Item.js +1 -0
- package/dist/astryx/Kbd.d.ts +1 -0
- package/dist/astryx/Kbd.js +1 -0
- package/dist/astryx/Layer.d.ts +1 -0
- package/dist/astryx/Layer.js +1 -0
- package/dist/astryx/Layout.d.ts +1 -0
- package/dist/astryx/Layout.js +1 -0
- package/dist/astryx/Lightbox.d.ts +1 -0
- package/dist/astryx/Lightbox.js +1 -0
- package/dist/astryx/Link.d.ts +1 -0
- package/dist/astryx/Link.js +1 -0
- package/dist/astryx/List.d.ts +1 -0
- package/dist/astryx/List.js +1 -0
- package/dist/astryx/Markdown/utils.d.ts +1 -0
- package/dist/astryx/Markdown/utils.js +1 -0
- package/dist/astryx/Markdown.d.ts +1 -0
- package/dist/astryx/Markdown.js +1 -0
- package/dist/astryx/MetadataList.d.ts +1 -0
- package/dist/astryx/MetadataList.js +1 -0
- package/dist/astryx/MobileNav.d.ts +1 -0
- package/dist/astryx/MobileNav.js +1 -0
- package/dist/astryx/MoreMenu.d.ts +1 -0
- package/dist/astryx/MoreMenu.js +1 -0
- package/dist/astryx/MultiSelector.d.ts +1 -0
- package/dist/astryx/MultiSelector.js +1 -0
- package/dist/astryx/NavIcon.d.ts +1 -0
- package/dist/astryx/NavIcon.js +1 -0
- package/dist/astryx/NavMenu.d.ts +1 -0
- package/dist/astryx/NavMenu.js +1 -0
- package/dist/astryx/NumberInput.d.ts +1 -0
- package/dist/astryx/NumberInput.js +1 -0
- package/dist/astryx/Outline.d.ts +1 -0
- package/dist/astryx/Outline.js +1 -0
- package/dist/astryx/OverflowList.d.ts +1 -0
- package/dist/astryx/OverflowList.js +1 -0
- package/dist/astryx/Overlay.d.ts +1 -0
- package/dist/astryx/Overlay.js +1 -0
- package/dist/astryx/Pagination.d.ts +1 -0
- package/dist/astryx/Pagination.js +1 -0
- package/dist/astryx/Popover.d.ts +1 -0
- package/dist/astryx/Popover.js +1 -0
- package/dist/astryx/PowerSearch/utils.d.ts +1 -0
- package/dist/astryx/PowerSearch/utils.js +1 -0
- package/dist/astryx/PowerSearch.d.ts +1 -0
- package/dist/astryx/PowerSearch.js +1 -0
- package/dist/astryx/ProgressBar.d.ts +1 -0
- package/dist/astryx/ProgressBar.js +1 -0
- package/dist/astryx/RadioList.d.ts +1 -0
- package/dist/astryx/RadioList.js +1 -0
- package/dist/astryx/Resizable/utils.d.ts +1 -0
- package/dist/astryx/Resizable/utils.js +1 -0
- package/dist/astryx/Resizable.d.ts +1 -0
- package/dist/astryx/Resizable.js +1 -0
- package/dist/astryx/ScrollableArea.d.ts +1 -0
- package/dist/astryx/ScrollableArea.js +1 -0
- package/dist/astryx/Section.d.ts +1 -0
- package/dist/astryx/Section.js +1 -0
- package/dist/astryx/SegmentedControl.d.ts +1 -0
- package/dist/astryx/SegmentedControl.js +1 -0
- package/dist/astryx/SelectableCard.d.ts +1 -0
- package/dist/astryx/SelectableCard.js +1 -0
- package/dist/astryx/Selector/utils.d.ts +1 -0
- package/dist/astryx/Selector/utils.js +1 -0
- package/dist/astryx/Selector.d.ts +1 -0
- package/dist/astryx/Selector.js +1 -0
- package/dist/astryx/SideNav.d.ts +1 -0
- package/dist/astryx/SideNav.js +1 -0
- package/dist/astryx/SizeContext.d.ts +1 -0
- package/dist/astryx/SizeContext.js +1 -0
- package/dist/astryx/Skeleton.d.ts +1 -0
- package/dist/astryx/Skeleton.js +1 -0
- package/dist/astryx/Slider.d.ts +1 -0
- package/dist/astryx/Slider.js +1 -0
- package/dist/astryx/Spinner.d.ts +1 -0
- package/dist/astryx/Spinner.js +1 -0
- package/dist/astryx/Stack.d.ts +1 -0
- package/dist/astryx/Stack.js +1 -0
- package/dist/astryx/StatusDot.d.ts +1 -0
- package/dist/astryx/StatusDot.js +1 -0
- package/dist/astryx/Stepper.d.ts +1 -0
- package/dist/astryx/Stepper.js +1 -0
- package/dist/astryx/Switch.d.ts +1 -0
- package/dist/astryx/Switch.js +1 -0
- package/dist/astryx/TabList.d.ts +1 -0
- package/dist/astryx/TabList.js +1 -0
- package/dist/astryx/Table/utils.d.ts +1 -0
- package/dist/astryx/Table/utils.js +1 -0
- package/dist/astryx/Table.d.ts +1 -0
- package/dist/astryx/Table.js +1 -0
- package/dist/astryx/Text.d.ts +1 -0
- package/dist/astryx/Text.js +1 -0
- package/dist/astryx/TextArea.d.ts +1 -0
- package/dist/astryx/TextArea.js +1 -0
- package/dist/astryx/TextInput.d.ts +1 -0
- package/dist/astryx/TextInput.js +1 -0
- package/dist/astryx/Thumbnail.d.ts +1 -0
- package/dist/astryx/Thumbnail.js +1 -0
- package/dist/astryx/TimeInput.d.ts +1 -0
- package/dist/astryx/TimeInput.js +1 -0
- package/dist/astryx/Timestamp.d.ts +1 -0
- package/dist/astryx/Timestamp.js +1 -0
- package/dist/astryx/Toast.d.ts +1 -0
- package/dist/astryx/Toast.js +1 -0
- package/dist/astryx/ToggleButton.d.ts +1 -0
- package/dist/astryx/ToggleButton.js +1 -0
- package/dist/astryx/Token.d.ts +1 -0
- package/dist/astryx/Token.js +1 -0
- package/dist/astryx/Tokenizer.d.ts +1 -0
- package/dist/astryx/Tokenizer.js +1 -0
- package/dist/astryx/Toolbar.d.ts +1 -0
- package/dist/astryx/Toolbar.js +1 -0
- package/dist/astryx/Tooltip.d.ts +1 -0
- package/dist/astryx/Tooltip.js +1 -0
- package/dist/astryx/TopNav.d.ts +1 -0
- package/dist/astryx/TopNav.js +1 -0
- package/dist/astryx/TreeList.d.ts +1 -0
- package/dist/astryx/TreeList.js +1 -0
- package/dist/astryx/Typeahead/utils.d.ts +1 -0
- package/dist/astryx/Typeahead/utils.js +1 -0
- package/dist/astryx/Typeahead.d.ts +1 -0
- package/dist/astryx/Typeahead.js +1 -0
- package/dist/astryx/VStack.d.ts +1 -0
- package/dist/astryx/VStack.js +1 -0
- package/dist/astryx/VisuallyHidden.d.ts +1 -0
- package/dist/astryx/VisuallyHidden.js +1 -0
- package/dist/astryx/astryx.css +3 -0
- package/dist/astryx/hooks.d.ts +1 -0
- package/dist/astryx/hooks.js +1 -0
- package/dist/astryx/i18n.d.ts +1 -0
- package/dist/astryx/i18n.js +1 -0
- package/dist/astryx/lab/lab.css +3 -0
- package/dist/astryx/lab.d.ts +6 -0
- package/dist/astryx/lab.js +6 -0
- package/dist/astryx/naming.d.ts +1 -0
- package/dist/astryx/naming.js +1 -0
- package/dist/astryx/reset.css +3 -0
- package/dist/astryx/tailwind-theme.css +3 -0
- package/dist/astryx/theme/neutral/built.d.ts +1 -0
- package/dist/astryx/theme/neutral/built.js +1 -0
- package/dist/astryx/theme/neutral/theme.css +3 -0
- package/dist/astryx/theme/neutral.d.ts +1 -0
- package/dist/astryx/theme/neutral.js +1 -0
- package/dist/astryx/theme/syntax.d.ts +1 -0
- package/dist/astryx/theme/syntax.js +1 -0
- package/dist/astryx/theme/tokens.d.ts +1 -0
- package/dist/astryx/theme/tokens.js +1 -0
- package/dist/astryx/theme/tokens.stylex.d.ts +1 -0
- package/dist/astryx/theme/tokens.stylex.js +1 -0
- package/dist/astryx/theme.d.ts +1 -0
- package/dist/astryx/theme.js +1 -0
- package/dist/astryx/utils.d.ts +1 -0
- package/dist/astryx/utils.js +1 -0
- package/dist/components/AlertModal/AlertModal.d.ts +14 -0
- package/dist/components/AlertModal/AlertModal.js +56 -0
- package/dist/components/AlertModal/AlertModal.js.map +1 -0
- package/dist/components/AlertModal/index.d.ts +2 -0
- package/dist/components/AlertModal/index.js +2 -0
- package/dist/components/BoardItemTitle/BoardItemTitle.d.ts +15 -0
- package/dist/components/BoardItemTitle/BoardItemTitle2.js +42 -0
- package/dist/components/BoardItemTitle/BoardItemTitle2.js.map +1 -0
- package/dist/components/BoardItemTitle/index.d.ts +2 -0
- package/dist/components/BoardItemTitle/index.js +2 -0
- package/dist/components/BooleanToken/BooleanToken.d.ts +15 -0
- package/dist/components/BooleanToken/BooleanToken.js +19 -0
- package/dist/components/BooleanToken/BooleanToken.js.map +1 -0
- package/dist/components/BooleanToken/BooleanToken.messages.d.ts +10 -0
- package/dist/components/BooleanToken/BooleanToken.messages.js +16 -0
- package/dist/components/BooleanToken/BooleanToken.messages.js.map +1 -0
- package/dist/components/BooleanToken/index.d.ts +2 -0
- package/dist/components/BooleanToken/index.js +2 -0
- package/dist/components/BulkEditFormItem/BulkEditFormItem.d.ts +24 -0
- package/dist/components/BulkEditFormItem/BulkEditFormItem.js +93 -0
- package/dist/components/BulkEditFormItem/BulkEditFormItem.js.map +1 -0
- package/dist/components/BulkEditFormItem/BulkEditFormItem.messages.d.ts +14 -0
- package/dist/components/BulkEditFormItem/BulkEditFormItem.messages.js +20 -0
- package/dist/components/BulkEditFormItem/BulkEditFormItem.messages.js.map +1 -0
- package/dist/components/BulkEditFormItem/index.d.ts +2 -0
- package/dist/components/BulkEditFormItem/index.js +2 -0
- package/dist/components/BulkErrorModal/BulkErrorModal.d.ts +23 -0
- package/dist/components/BulkErrorModal/BulkErrorModal.messages.d.ts +10 -0
- package/dist/components/BulkErrorModal/BulkErrorModal.messages.js +16 -0
- package/dist/components/BulkErrorModal/BulkErrorModal.messages.js.map +1 -0
- package/dist/components/BulkErrorModal/BulkErrorModal2.js +55 -0
- package/dist/components/BulkErrorModal/BulkErrorModal2.js.map +1 -0
- package/dist/components/BulkErrorModal/index.d.ts +2 -0
- package/dist/components/BulkErrorModal/index.js +2 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts +43 -0
- package/dist/components/ColorPicker/ColorPicker.messages.d.ts +18 -0
- package/dist/components/ColorPicker/ColorPicker.messages.js +24 -0
- package/dist/components/ColorPicker/ColorPicker.messages.js.map +1 -0
- package/dist/components/ColorPicker/ColorPicker2.js +117 -0
- package/dist/components/ColorPicker/ColorPicker2.js.map +1 -0
- package/dist/components/ColorPicker/index.d.ts +2 -0
- package/dist/components/ColorPicker/index.js +2 -0
- package/dist/components/ConfirmPopover/ConfirmPopover.d.ts +35 -0
- package/dist/components/ConfirmPopover/ConfirmPopover.js +75 -0
- package/dist/components/ConfirmPopover/ConfirmPopover.js.map +1 -0
- package/dist/components/ConfirmPopover/index.d.ts +2 -0
- package/dist/components/ConfirmPopover/index.js +2 -0
- package/dist/components/CountBadge/CountBadge.d.ts +24 -0
- package/dist/components/CountBadge/CountBadge2.js +35 -0
- package/dist/components/CountBadge/CountBadge2.js.map +1 -0
- package/dist/components/CountBadge/index.d.ts +2 -0
- package/dist/components/CountBadge/index.js +2 -0
- package/dist/components/CountdownBorder/CountdownBorder.d.ts +22 -0
- package/dist/components/CountdownBorder/CountdownBorder2.js +63 -0
- package/dist/components/CountdownBorder/CountdownBorder2.js.map +1 -0
- package/dist/components/CountdownBorder/index.d.ts +2 -0
- package/dist/components/CountdownBorder/index.js +2 -0
- package/dist/components/DataGrid/DataGrid.d.ts +212 -0
- package/dist/components/DataGrid/DataGrid.messages.d.ts +70 -0
- package/dist/components/DataGrid/DataGrid.messages.js +76 -0
- package/dist/components/DataGrid/DataGrid.messages.js.map +1 -0
- package/dist/components/DataGrid/DataGrid2.js +447 -0
- package/dist/components/DataGrid/DataGrid2.js.map +1 -0
- package/dist/components/DataGrid/DataGridExportModal.d.ts +30 -0
- package/dist/components/DataGrid/DataGridExportModal.js +125 -0
- package/dist/components/DataGrid/DataGridExportModal.js.map +1 -0
- package/dist/components/DataGrid/DataGridSettingsModal.d.ts +36 -0
- package/dist/components/DataGrid/DataGridSettingsModal.js +177 -0
- package/dist/components/DataGrid/DataGridSettingsModal.js.map +1 -0
- package/dist/components/DataGrid/index.d.ts +6 -0
- package/dist/components/DataGrid/index.js +4 -0
- package/dist/components/DataGrid/nodeToPlainText.d.ts +6 -0
- package/dist/components/DataGrid/nodeToPlainText.js +9 -0
- package/dist/components/DataGrid/nodeToPlainText.js.map +1 -0
- package/dist/components/DeleteConfirmModal/DeleteConfirmModal.d.ts +78 -0
- package/dist/components/DeleteConfirmModal/DeleteConfirmModal.messages.d.ts +30 -0
- package/dist/components/DeleteConfirmModal/DeleteConfirmModal.messages.js +36 -0
- package/dist/components/DeleteConfirmModal/DeleteConfirmModal.messages.js.map +1 -0
- package/dist/components/DeleteConfirmModal/DeleteConfirmModal2.js +102 -0
- package/dist/components/DeleteConfirmModal/DeleteConfirmModal2.js.map +1 -0
- package/dist/components/DeleteConfirmModal/index.d.ts +2 -0
- package/dist/components/DeleteConfirmModal/index.js +2 -0
- package/dist/components/DigitPopIn/DigitPopIn.d.ts +8 -0
- package/dist/components/DigitPopIn/DigitPopIn2.js +30 -0
- package/dist/components/DigitPopIn/DigitPopIn2.js.map +1 -0
- package/dist/components/DigitPopIn/index.d.ts +2 -0
- package/dist/components/DigitPopIn/index.js +2 -0
- package/dist/components/DividedRow/DividedRow.d.ts +27 -0
- package/dist/components/DividedRow/DividedRow2.js +63 -0
- package/dist/components/DividedRow/DividedRow2.js.map +1 -0
- package/dist/components/DividedRow/index.d.ts +2 -0
- package/dist/components/DividedRow/index.js +2 -0
- package/dist/components/DoubleBadge/DoubleBadge.d.ts +14 -0
- package/dist/components/DoubleBadge/DoubleBadge2.js +28 -0
- package/dist/components/DoubleBadge/DoubleBadge2.js.map +1 -0
- package/dist/components/DoubleBadge/index.d.ts +2 -0
- package/dist/components/DoubleBadge/index.js +2 -0
- package/dist/components/DoubleToken/DoubleToken.d.ts +24 -0
- package/dist/components/DoubleToken/DoubleToken2.js +38 -0
- package/dist/components/DoubleToken/DoubleToken2.js.map +1 -0
- package/dist/components/DoubleToken/index.d.ts +2 -0
- package/dist/components/DoubleToken/index.js +2 -0
- package/dist/components/ErrorState/ErrorState.d.ts +7 -16
- package/dist/components/ErrorState/ErrorState2.js +33 -33
- package/dist/components/ErrorState/ErrorState2.js.map +1 -1
- package/dist/components/Form/ErrorList.d.ts +13 -0
- package/dist/components/Form/ErrorList.js +21 -0
- package/dist/components/Form/ErrorList.js.map +1 -0
- package/dist/components/Form/Field.d.ts +88 -0
- package/dist/components/Form/Field.js +212 -0
- package/dist/components/Form/Field.js.map +1 -0
- package/dist/components/Form/Form.d.ts +70 -0
- package/dist/components/Form/Form.js +130 -0
- package/dist/components/Form/Form.js.map +1 -0
- package/dist/components/Form/Form.messages.d.ts +96 -0
- package/dist/components/Form/Form.messages.js +96 -0
- package/dist/components/Form/Form.messages.js.map +1 -0
- package/dist/components/Form/FormConfigProvider.d.ts +20 -0
- package/dist/components/Form/FormConfigProvider.js +31 -0
- package/dist/components/Form/FormConfigProvider.js.map +1 -0
- package/dist/components/Form/FormItem.d.ts +56 -0
- package/dist/components/Form/FormItem.js +164 -0
- package/dist/components/Form/FormItem.js.map +1 -0
- package/dist/components/Form/FormItemVisual.d.ts +56 -0
- package/dist/components/Form/FormItemVisual2.js +117 -0
- package/dist/components/Form/FormItemVisual2.js.map +1 -0
- package/dist/components/Form/FormStore.d.ts +109 -0
- package/dist/components/Form/FormStore.js +494 -0
- package/dist/components/Form/FormStore.js.map +1 -0
- package/dist/components/Form/List.d.ts +22 -0
- package/dist/components/Form/List.js +65 -0
- package/dist/components/Form/List.js.map +1 -0
- package/dist/components/Form/context.d.ts +91 -0
- package/dist/components/Form/context.js +34 -0
- package/dist/components/Form/context.js.map +1 -0
- package/dist/components/Form/feedbackIcons.d.ts +13 -0
- package/dist/components/Form/feedbackIcons.js +45 -0
- package/dist/components/Form/feedbackIcons.js.map +1 -0
- package/dist/components/Form/index.d.ts +30 -0
- package/dist/components/Form/index.js +18 -0
- package/dist/components/Form/index.js.map +1 -0
- package/dist/components/Form/interface.d.ts +212 -0
- package/dist/components/Form/isEqual.d.ts +1 -0
- package/dist/components/Form/isEqual.js +61 -0
- package/dist/components/Form/isEqual.js.map +1 -0
- package/dist/components/Form/messages.d.ts +15 -0
- package/dist/components/Form/messages.js +52 -0
- package/dist/components/Form/messages.js.map +1 -0
- package/dist/components/Form/namePath.d.ts +78 -0
- package/dist/components/Form/namePath.js +120 -0
- package/dist/components/Form/namePath.js.map +1 -0
- package/dist/components/Form/useWatch.d.ts +11 -0
- package/dist/components/Form/useWatch.js +43 -0
- package/dist/components/Form/useWatch.js.map +1 -0
- package/dist/components/Form/validate.d.ts +16 -0
- package/dist/components/Form/validate.js +214 -0
- package/dist/components/Form/validate.js.map +1 -0
- package/dist/components/IconWithTooltip/IconWithTooltip.d.ts +19 -0
- package/dist/components/IconWithTooltip/IconWithTooltip2.js +38 -0
- package/dist/components/IconWithTooltip/IconWithTooltip2.js.map +1 -0
- package/dist/components/IconWithTooltip/accessibleLabel.d.ts +2 -0
- package/dist/components/IconWithTooltip/accessibleLabel.js +33 -0
- package/dist/components/IconWithTooltip/accessibleLabel.js.map +1 -0
- package/dist/components/IconWithTooltip/index.d.ts +2 -0
- package/dist/components/IconWithTooltip/index.js +2 -0
- package/dist/components/ImageWithFallback/ImageWithFallback.d.ts +11 -0
- package/dist/components/ImageWithFallback/ImageWithFallback2.js +28 -0
- package/dist/components/ImageWithFallback/ImageWithFallback2.js.map +1 -0
- package/dist/components/ImageWithFallback/index.d.ts +2 -0
- package/dist/components/ImageWithFallback/index.js +2 -0
- package/dist/components/ListBanner/ListBanner.d.ts +17 -0
- package/dist/components/ListBanner/ListBanner2.js +27 -0
- package/dist/components/ListBanner/ListBanner2.js.map +1 -0
- package/dist/components/ListBanner/index.d.ts +2 -0
- package/dist/components/ListBanner/index.js +2 -0
- package/dist/components/Modal/Modal.d.ts +65 -0
- package/dist/components/Modal/Modal2.js +226 -0
- package/dist/components/Modal/Modal2.js.map +1 -0
- package/dist/components/Modal/index.d.ts +15 -0
- package/dist/components/Modal/index.js +4 -0
- package/dist/components/Modal/modalStack.d.ts +64 -0
- package/dist/components/Modal/modalStack.js +81 -0
- package/dist/components/Modal/modalStack.js.map +1 -0
- package/dist/components/NotificationItem/NotificationItem.d.ts +14 -0
- package/dist/components/NotificationItem/NotificationItem2.js +40 -0
- package/dist/components/NotificationItem/NotificationItem2.js.map +1 -0
- package/dist/components/NotificationItem/index.d.ts +2 -0
- package/dist/components/NotificationItem/index.js +2 -0
- package/dist/components/NotificationStack/NotificationStack.d.ts +56 -0
- package/dist/components/NotificationStack/NotificationStack.messages.d.ts +6 -0
- package/dist/components/NotificationStack/NotificationStack.messages.js +10 -0
- package/dist/components/NotificationStack/NotificationStack.messages.js.map +1 -0
- package/dist/components/NotificationStack/NotificationStack2.js +154 -0
- package/dist/components/NotificationStack/NotificationStack2.js.map +1 -0
- package/dist/components/NotificationStack/index.d.ts +2 -0
- package/dist/components/NotificationStack/index.js +2 -0
- package/dist/components/OverlayScrollbar/OverlayScrollbar.d.ts +13 -0
- package/dist/components/OverlayScrollbar/OverlayScrollbar2.js +69 -0
- package/dist/components/OverlayScrollbar/OverlayScrollbar2.js.map +1 -0
- package/dist/components/OverlayScrollbar/index.d.ts +2 -0
- package/dist/components/OverlayScrollbar/index.js +2 -0
- package/dist/components/PageHeader/PageHeader.d.ts +24 -8
- package/dist/components/PageHeader/PageHeader.messages.d.ts +6 -0
- package/dist/components/PageHeader/PageHeader.messages.js +10 -0
- package/dist/components/PageHeader/PageHeader.messages.js.map +1 -0
- package/dist/components/PageHeader/PageHeader2.js +57 -30
- package/dist/components/PageHeader/PageHeader2.js.map +1 -1
- package/dist/components/PageLayout/PageLayout2.js +2 -2
- package/dist/components/PageLayout/PageLayout2.js.map +1 -1
- package/dist/components/PagedSelector/PagedSelector.d.ts +107 -0
- package/dist/components/PagedSelector/PagedSelector.messages.d.ts +30 -0
- package/dist/components/PagedSelector/PagedSelector.messages.js +36 -0
- package/dist/components/PagedSelector/PagedSelector.messages.js.map +1 -0
- package/dist/components/PagedSelector/PagedSelector2.js +220 -0
- package/dist/components/PagedSelector/PagedSelector2.js.map +1 -0
- package/dist/components/PagedSelector/PanelSearchInput.d.ts +22 -0
- package/dist/components/PagedSelector/PanelSearchInput.js +95 -0
- package/dist/components/PagedSelector/PanelSearchInput.js.map +1 -0
- package/dist/components/PagedSelector/index.d.ts +2 -0
- package/dist/components/PagedSelector/index.js +2 -0
- package/dist/components/ProgressWithLabel/ProgressWithLabel.d.ts +26 -0
- package/dist/components/ProgressWithLabel/ProgressWithLabel2.js +44 -0
- package/dist/components/ProgressWithLabel/ProgressWithLabel2.js.map +1 -0
- package/dist/components/ProgressWithLabel/index.d.ts +2 -0
- package/dist/components/ProgressWithLabel/index.js +2 -0
- package/dist/components/SelectionLabel/SelectionLabel.d.ts +23 -0
- package/dist/components/SelectionLabel/SelectionLabel.js +29 -0
- package/dist/components/SelectionLabel/SelectionLabel.js.map +1 -0
- package/dist/components/SelectionLabel/SelectionLabel.messages.d.ts +10 -0
- package/dist/components/SelectionLabel/SelectionLabel.messages.js +16 -0
- package/dist/components/SelectionLabel/SelectionLabel.messages.js.map +1 -0
- package/dist/components/SelectionLabel/index.d.ts +2 -0
- package/dist/components/SelectionLabel/index.js +2 -0
- package/dist/components/Skeleton/Skeleton.messages.d.ts +18 -0
- package/dist/components/Skeleton/Skeleton.messages.js +24 -0
- package/dist/components/Skeleton/Skeleton.messages.js.map +1 -0
- package/dist/components/Skeleton/SkeletonCard.d.ts +4 -9
- package/dist/components/Skeleton/SkeletonCard2.js +53 -53
- package/dist/components/Skeleton/SkeletonCard2.js.map +1 -1
- package/dist/components/Skeleton/SkeletonChart.d.ts +5 -11
- package/dist/components/Skeleton/SkeletonChart2.js +51 -45
- package/dist/components/Skeleton/SkeletonChart2.js.map +1 -1
- package/dist/components/Skeleton/SkeletonRow.d.ts +5 -10
- package/dist/components/Skeleton/SkeletonRow2.js +35 -34
- package/dist/components/Skeleton/SkeletonRow2.js.map +1 -1
- package/dist/components/Skeleton/SkeletonShape.d.ts +10 -0
- package/dist/components/Skeleton/SkeletonShape2.js +23 -0
- package/dist/components/Skeleton/SkeletonShape2.js.map +1 -0
- package/dist/components/Skeleton/SkeletonText.d.ts +4 -9
- package/dist/components/Skeleton/SkeletonText2.js +22 -17
- package/dist/components/Skeleton/SkeletonText2.js.map +1 -1
- package/dist/components/Skeleton/index.d.ts +3 -5
- package/dist/components/Skeleton/index.js +4 -5
- package/dist/components/SmoothHeight/SmoothHeight2.js +2 -2
- package/dist/components/SmoothHeight/SmoothHeight2.js.map +1 -1
- package/dist/components/StatCard/StatCard.d.ts +28 -16
- package/dist/components/StatCard/StatCard2.js +96 -89
- package/dist/components/StatCard/StatCard2.js.map +1 -1
- package/dist/components/StatCard/index.d.ts +1 -1
- package/dist/components/Statistic/Statistic.d.ts +30 -0
- package/dist/components/Statistic/Statistic.messages.d.ts +6 -0
- package/dist/components/Statistic/Statistic.messages.js +10 -0
- package/dist/components/Statistic/Statistic.messages.js.map +1 -0
- package/dist/components/Statistic/Statistic2.js +75 -0
- package/dist/components/Statistic/Statistic2.js.map +1 -0
- package/dist/components/Statistic/index.d.ts +2 -0
- package/dist/components/Statistic/index.js +2 -0
- package/dist/components/StepNumberInput/NumberStepper.d.ts +29 -0
- package/dist/components/StepNumberInput/NumberStepper.messages.d.ts +10 -0
- package/dist/components/StepNumberInput/NumberStepper.messages.js +16 -0
- package/dist/components/StepNumberInput/NumberStepper.messages.js.map +1 -0
- package/dist/components/StepNumberInput/NumberStepper2.js +50 -0
- package/dist/components/StepNumberInput/NumberStepper2.js.map +1 -0
- package/dist/components/StepNumberInput/StepNumberInput.d.ts +33 -0
- package/dist/components/StepNumberInput/StepNumberInput.js +48 -0
- package/dist/components/StepNumberInput/StepNumberInput.js.map +1 -0
- package/dist/components/StepNumberInput/index.d.ts +4 -0
- package/dist/components/StepNumberInput/index.js +3 -0
- package/dist/components/TextHighlighter/TextHighlighter.d.ts +14 -0
- package/dist/components/TextHighlighter/TextHighlighter2.js +29 -0
- package/dist/components/TextHighlighter/TextHighlighter2.js.map +1 -0
- package/dist/components/TextHighlighter/index.d.ts +2 -0
- package/dist/components/TextHighlighter/index.js +2 -0
- package/dist/components/TokenList/TokenList.d.ts +18 -0
- package/dist/components/TokenList/TokenList2.js +55 -0
- package/dist/components/TokenList/TokenList2.js.map +1 -0
- package/dist/components/TokenList/index.d.ts +2 -0
- package/dist/components/TokenList/index.js +2 -0
- package/dist/components/TokenRow/TokenRow.d.ts +27 -0
- package/dist/components/TokenRow/TokenRow.messages.d.ts +6 -0
- package/dist/components/TokenRow/TokenRow.messages.js +10 -0
- package/dist/components/TokenRow/TokenRow.messages.js.map +1 -0
- package/dist/components/TokenRow/TokenRow2.js +29 -0
- package/dist/components/TokenRow/TokenRow2.js.map +1 -0
- package/dist/components/TokenRow/index.d.ts +2 -0
- package/dist/components/TokenRow/index.js +2 -0
- package/dist/components/UncontrolledInput/UncontrolledInput.d.ts +29 -0
- package/dist/components/UncontrolledInput/UncontrolledInput.js +49 -0
- package/dist/components/UncontrolledInput/UncontrolledInput.js.map +1 -0
- package/dist/components/UncontrolledInput/UncontrolledInput.messages.d.ts +6 -0
- package/dist/components/UncontrolledInput/UncontrolledInput.messages.js +10 -0
- package/dist/components/UncontrolledInput/UncontrolledInput.messages.js.map +1 -0
- package/dist/components/UncontrolledInput/index.d.ts +2 -0
- package/dist/components/UncontrolledInput/index.js +2 -0
- package/dist/components/UnitGrid/UnitGrid.d.ts +56 -0
- package/dist/components/UnitGrid/UnitGrid.geometry.d.ts +102 -0
- package/dist/components/UnitGrid/UnitGrid.geometry.js +172 -0
- package/dist/components/UnitGrid/UnitGrid.geometry.js.map +1 -0
- package/dist/components/UnitGrid/UnitGrid.messages.d.ts +14 -0
- package/dist/components/UnitGrid/UnitGrid.messages.js +20 -0
- package/dist/components/UnitGrid/UnitGrid.messages.js.map +1 -0
- package/dist/components/UnitGrid/UnitGrid2.js +393 -0
- package/dist/components/UnitGrid/UnitGrid2.js.map +1 -0
- package/dist/components/UnitGrid/UnitGridSkeleton.d.ts +9 -0
- package/dist/components/UnitGrid/UnitGridSkeleton.js +73 -0
- package/dist/components/UnitGrid/UnitGridSkeleton.js.map +1 -0
- package/dist/components/UnitGrid/index.d.ts +4 -0
- package/dist/components/UnitGrid/index.js +3 -0
- package/dist/forks/ComplexSelector/ComplexSelector.d.ts +144 -0
- package/dist/forks/ComplexSelector/ComplexSelector.js +157 -0
- package/dist/forks/ComplexSelector/ComplexSelector.js.map +1 -0
- package/dist/forks/ComplexSelector/ComplexSelector.styles.d.ts +125 -0
- package/dist/forks/ComplexSelector/ComplexSelector.styles.js +129 -0
- package/dist/forks/ComplexSelector/ComplexSelector.styles.js.map +1 -0
- package/dist/forks/ComplexSelector/index.d.ts +7 -0
- package/dist/forks/ComplexSelector/index.js +2 -0
- package/dist/forks/Drawer/Drawer.d.ts +98 -0
- package/dist/forks/Drawer/Drawer.js +94 -0
- package/dist/forks/Drawer/Drawer.js.map +1 -0
- package/dist/forks/Drawer/Drawer.styles.d.ts +99 -0
- package/dist/forks/Drawer/Drawer.styles.js +94 -0
- package/dist/forks/Drawer/Drawer.styles.js.map +1 -0
- package/dist/forks/Drawer/index.d.ts +6 -0
- package/dist/forks/Drawer/index.js +2 -0
- package/dist/forks/Drawer/useDrawerDialogPresence.d.ts +19 -0
- package/dist/forks/Drawer/useDrawerDialogPresence.js +62 -0
- package/dist/forks/Drawer/useDrawerDialogPresence.js.map +1 -0
- package/dist/forks/Tour/Tour.d.ts +58 -0
- package/dist/forks/Tour/Tour.js +55 -0
- package/dist/forks/Tour/Tour.js.map +1 -0
- package/dist/forks/Tour/TourContext.d.ts +37 -0
- package/dist/forks/Tour/TourContext.js +8 -0
- package/dist/forks/Tour/TourContext.js.map +1 -0
- package/dist/forks/Tour/TourStep.d.ts +43 -0
- package/dist/forks/Tour/TourStep.js +134 -0
- package/dist/forks/Tour/TourStep.js.map +1 -0
- package/dist/forks/Tour/TourStep.styles.d.ts +23 -0
- package/dist/forks/Tour/TourStep.styles.js +28 -0
- package/dist/forks/Tour/TourStep.styles.js.map +1 -0
- package/dist/forks/Tour/index.d.ts +11 -0
- package/dist/forks/Tour/index.js +4 -0
- package/dist/forks/Tour/useTour.d.ts +26 -0
- package/dist/forks/Tour/useTour.js +20 -0
- package/dist/forks/Tour/useTour.js.map +1 -0
- package/dist/forks/compiled.d.ts +5 -0
- package/dist/forks/compiled.js +8 -0
- package/dist/forks/compiled.js.map +1 -0
- package/dist/i18n/catalog.d.ts +12 -0
- package/dist/i18n/catalog.js +46 -0
- package/dist/i18n/catalog.js.map +1 -0
- package/dist/i18n/common.messages.d.ts +31 -0
- package/dist/i18n/common.messages.js +32 -0
- package/dist/i18n/common.messages.js.map +1 -0
- package/dist/i18n/index.d.ts +21 -0
- package/dist/i18n/index.js +3 -0
- package/dist/i18n/locales/de-DE.js +331 -0
- package/dist/i18n/locales/de-DE.js.map +1 -0
- package/dist/i18n/locales/el-GR.js +331 -0
- package/dist/i18n/locales/el-GR.js.map +1 -0
- package/dist/i18n/locales/es-ES.js +331 -0
- package/dist/i18n/locales/es-ES.js.map +1 -0
- package/dist/i18n/locales/fi-FI.js +331 -0
- package/dist/i18n/locales/fi-FI.js.map +1 -0
- package/dist/i18n/locales/fr-FR.js +331 -0
- package/dist/i18n/locales/fr-FR.js.map +1 -0
- package/dist/i18n/locales/id-ID.js +331 -0
- package/dist/i18n/locales/id-ID.js.map +1 -0
- package/dist/i18n/locales/it-IT.js +331 -0
- package/dist/i18n/locales/it-IT.js.map +1 -0
- package/dist/i18n/locales/ja-JP.js +351 -0
- package/dist/i18n/locales/ja-JP.js.map +1 -0
- package/dist/i18n/locales/ko-KR.js +351 -0
- package/dist/i18n/locales/ko-KR.js.map +1 -0
- package/dist/i18n/locales/mn-MN.js +327 -0
- package/dist/i18n/locales/mn-MN.js.map +1 -0
- package/dist/i18n/locales/ms-MY.js +331 -0
- package/dist/i18n/locales/ms-MY.js.map +1 -0
- package/dist/i18n/locales/pl-PL.js +331 -0
- package/dist/i18n/locales/pl-PL.js.map +1 -0
- package/dist/i18n/locales/pt-BR.js +331 -0
- package/dist/i18n/locales/pt-BR.js.map +1 -0
- package/dist/i18n/locales/pt-PT.js +331 -0
- package/dist/i18n/locales/pt-PT.js.map +1 -0
- package/dist/i18n/locales/ru-RU.js +331 -0
- package/dist/i18n/locales/ru-RU.js.map +1 -0
- package/dist/i18n/locales/th-TH.js +331 -0
- package/dist/i18n/locales/th-TH.js.map +1 -0
- package/dist/i18n/locales/tr-TR.js +331 -0
- package/dist/i18n/locales/tr-TR.js.map +1 -0
- package/dist/i18n/locales/vi-VN.js +331 -0
- package/dist/i18n/locales/vi-VN.js.map +1 -0
- package/dist/i18n/locales/zh-CN.js +331 -0
- package/dist/i18n/locales/zh-CN.js.map +1 -0
- package/dist/i18n/locales/zh-TW.js +331 -0
- package/dist/i18n/locales/zh-TW.js.map +1 -0
- package/dist/i18n/messages.d.ts +13 -0
- package/dist/i18n/messages.js +63 -0
- package/dist/i18n/messages.js.map +1 -0
- package/dist/i18n/translateWithNodes.d.ts +3 -0
- package/dist/i18n/translateWithNodes.js +14 -0
- package/dist/i18n/translateWithNodes.js.map +1 -0
- package/dist/i18n/useUicTranslator.d.ts +5 -0
- package/dist/i18n/useUicTranslator.js +38 -0
- package/dist/i18n/useUicTranslator.js.map +1 -0
- package/dist/index.d.ts +101 -27
- package/dist/index.js +63 -23
- package/dist/instance.d.ts +31 -0
- package/dist/instance.js +33 -0
- package/dist/instance.js.map +1 -0
- package/dist/legacy-tokens.css +177 -0
- package/dist/locales/af-ZA.json +954 -0
- package/dist/locales/ar-SA.json +994 -0
- package/dist/locales/ca-ES.json +970 -0
- package/dist/locales/cs-CZ.json +986 -0
- package/dist/locales/da-DK.json +962 -0
- package/dist/locales/de-DE.json +962 -0
- package/dist/locales/el-GR.json +986 -0
- package/dist/locales/en.json +1482 -0
- package/dist/locales/es-ES.json +974 -0
- package/dist/locales/fi-FI.json +986 -0
- package/dist/locales/fr-FR.json +950 -0
- package/dist/locales/he-IL.json +986 -0
- package/dist/locales/hu-HU.json +986 -0
- package/dist/locales/it-IT.json +974 -0
- package/dist/locales/ja-JP.json +994 -0
- package/dist/locales/ko-KR.json +986 -0
- package/dist/locales/nl-NL.json +950 -0
- package/dist/locales/no-NO.json +974 -0
- package/dist/locales/pl-PL.json +978 -0
- package/dist/locales/pseudo.json +1112 -0
- package/dist/locales/pt-BR.json +978 -0
- package/dist/locales/pt-PT.json +978 -0
- package/dist/locales/ro-RO.json +978 -0
- package/dist/locales/ru-RU.json +986 -0
- package/dist/locales/sr-SP.json +986 -0
- package/dist/locales/sv-SE.json +982 -0
- package/dist/locales/tr-TR.json +986 -0
- package/dist/locales/uk-UA.json +986 -0
- package/dist/locales/vi-VN.json +982 -0
- package/dist/locales/zh-CN.json +994 -0
- package/dist/locales/zh-TW.json +994 -0
- package/dist/styles/base.css +29 -2
- package/dist/styles/themes/orange-dark.css +4 -0
- package/dist/styles/themes/orange-light.css +4 -0
- package/dist/theme/lablup/built/lablup.d.ts +13 -0
- package/dist/theme/lablup/built/lablup.js +567 -0
- package/dist/theme/lablup/built/lablup.variants.d.ts +16 -0
- package/dist/theme/lablup/built/theme.css +716 -0
- package/dist/theme/lablup/index.d.ts +9 -0
- package/dist/theme/lablup/index.js +2 -0
- package/dist/theme/lablup/lablupTheme.d.ts +10 -0
- package/dist/theme/lablup/lablupTheme.js +21 -0
- package/dist/theme/lablup/lablupTheme.js.map +1 -0
- package/dist/ui-common-locales/de-DE.json +326 -0
- package/dist/ui-common-locales/el-GR.json +326 -0
- package/dist/ui-common-locales/en.json +346 -0
- package/dist/ui-common-locales/es-ES.json +326 -0
- package/dist/ui-common-locales/fi-FI.json +326 -0
- package/dist/ui-common-locales/fr-FR.json +326 -0
- package/dist/ui-common-locales/id-ID.json +326 -0
- package/dist/ui-common-locales/it-IT.json +326 -0
- package/dist/ui-common-locales/ja-JP.json +346 -0
- package/dist/ui-common-locales/ko-KR.json +346 -0
- package/dist/ui-common-locales/mn-MN.json +322 -0
- package/dist/ui-common-locales/ms-MY.json +326 -0
- package/dist/ui-common-locales/pl-PL.json +326 -0
- package/dist/ui-common-locales/pt-BR.json +326 -0
- package/dist/ui-common-locales/pt-PT.json +326 -0
- package/dist/ui-common-locales/ru-RU.json +326 -0
- package/dist/ui-common-locales/th-TH.json +326 -0
- package/dist/ui-common-locales/tr-TR.json +326 -0
- package/dist/ui-common-locales/vi-VN.json +326 -0
- package/dist/ui-common-locales/zh-CN.json +326 -0
- package/dist/ui-common-locales/zh-TW.json +326 -0
- package/dist/ui-common.css +51 -0
- package/exports.customs.json +62 -0
- package/exports.exclude.json +47 -0
- package/package.json +565 -21
- package/dist/assets/components/Badge/Badge.css +0 -1
- package/dist/assets/components/BaseCard/BaseCard.css +0 -1
- package/dist/assets/components/Button/Button.css +0 -1
- package/dist/assets/components/DataTable/DataTable.css +0 -1
- package/dist/assets/components/Drawer/Drawer.css +0 -1
- package/dist/assets/components/EmptyState/EmptyState.css +0 -1
- package/dist/assets/components/ProgressBar/ProgressBar.css +0 -1
- package/dist/assets/components/Skeleton/Skeleton.css +0 -1
- package/dist/assets/components/StatusTag/StatusTag.css +0 -1
- package/dist/assets/components/Tabs/Tabs.css +0 -1
- package/dist/assets/components/Tooltip/Tooltip.css +0 -1
- package/dist/components/Badge/Badge.d.ts +0 -7
- package/dist/components/Badge/Badge2.js +0 -20
- package/dist/components/Badge/Badge2.js.map +0 -1
- package/dist/components/Badge/index.d.ts +0 -2
- package/dist/components/Badge/index.js +0 -2
- package/dist/components/BaseCard/BaseCard.d.ts +0 -57
- package/dist/components/BaseCard/BaseCard2.js +0 -37
- package/dist/components/BaseCard/BaseCard2.js.map +0 -1
- package/dist/components/BaseCard/index.d.ts +0 -2
- package/dist/components/BaseCard/index.js +0 -2
- package/dist/components/Button/Button.d.ts +0 -54
- package/dist/components/Button/Button2.js +0 -75
- package/dist/components/Button/Button2.js.map +0 -1
- package/dist/components/Button/index.d.ts +0 -5
- package/dist/components/Button/index.js +0 -2
- package/dist/components/DataTable/DataTable.d.ts +0 -144
- package/dist/components/DataTable/DataTable2.js +0 -244
- package/dist/components/DataTable/DataTable2.js.map +0 -1
- package/dist/components/DataTable/index.d.ts +0 -2
- package/dist/components/DataTable/index.js +0 -2
- package/dist/components/Drawer/Drawer.d.ts +0 -25
- package/dist/components/Drawer/Drawer2.js +0 -107
- package/dist/components/Drawer/Drawer2.js.map +0 -1
- package/dist/components/Drawer/index.d.ts +0 -2
- package/dist/components/Drawer/index.js +0 -2
- package/dist/components/EmptyState/EmptyState.d.ts +0 -52
- package/dist/components/EmptyState/EmptyState.example.d.ts +0 -8
- package/dist/components/EmptyState/EmptyState2.js +0 -62
- package/dist/components/EmptyState/EmptyState2.js.map +0 -1
- package/dist/components/EmptyState/index.d.ts +0 -10
- package/dist/components/EmptyState/index.js +0 -2
- package/dist/components/ProgressBar/ProgressBar.d.ts +0 -22
- package/dist/components/ProgressBar/ProgressBar2.js +0 -37
- package/dist/components/ProgressBar/ProgressBar2.js.map +0 -1
- package/dist/components/ProgressBar/index.d.ts +0 -2
- package/dist/components/ProgressBar/index.js +0 -2
- package/dist/components/Skeleton/Skeleton.d.ts +0 -25
- package/dist/components/Skeleton/Skeleton2.js +0 -27
- package/dist/components/Skeleton/Skeleton2.js.map +0 -1
- package/dist/components/StatusTag/StatusTag.d.ts +0 -38
- package/dist/components/StatusTag/StatusTag2.js +0 -45
- package/dist/components/StatusTag/StatusTag2.js.map +0 -1
- package/dist/components/StatusTag/index.d.ts +0 -2
- package/dist/components/StatusTag/index.js +0 -2
- package/dist/components/Tabs/Tabs.d.ts +0 -94
- package/dist/components/Tabs/Tabs2.js +0 -412
- package/dist/components/Tabs/Tabs2.js.map +0 -1
- package/dist/components/Tabs/index.d.ts +0 -2
- package/dist/components/Tabs/index.js +0 -2
- package/dist/components/Tooltip/Tooltip.d.ts +0 -16
- package/dist/components/Tooltip/Tooltip2.js +0 -68
- package/dist/components/Tooltip/Tooltip2.js.map +0 -1
- package/dist/components/Tooltip/index.d.ts +0 -2
- package/dist/components/Tooltip/index.js +0 -2
- package/dist/hooks/index.js +0 -2
- package/dist/icons/AlertCircleIcon.d.ts +0 -11
- package/dist/icons/AlertCircleIcon.js +0 -26
- package/dist/icons/AlertCircleIcon.js.map +0 -1
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `astryx component PageHeader` (and `ui-common component PageHeader`).
|
|
3
|
+
*
|
|
4
|
+
* @type {import('@astryxdesign/cli/authoring').ComponentDoc}
|
|
5
|
+
*/
|
|
6
|
+
export default {
|
|
7
|
+
type: "component",
|
|
8
|
+
name: "PageHeader",
|
|
9
|
+
displayName: "PageHeader",
|
|
10
|
+
import: "@lablup/ui-common",
|
|
11
|
+
category: "Layout",
|
|
12
|
+
keywords: ["page header", "title", "heading", "page title", "error banner", "retry"],
|
|
13
|
+
description:
|
|
14
|
+
"The top of a page: its h1 title, a description, trailing actions, and an optional error banner with Retry and dismiss. Built on Astryx Heading, Text, Banner, Button and IconButton.",
|
|
15
|
+
props: [
|
|
16
|
+
{
|
|
17
|
+
name: "title",
|
|
18
|
+
type: "string",
|
|
19
|
+
description: "Page title, rendered as the page's h1.",
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "description",
|
|
24
|
+
type: "string",
|
|
25
|
+
description: "Page description, below the title.",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "actions",
|
|
29
|
+
type: "ReactNode",
|
|
30
|
+
description:
|
|
31
|
+
"Actions on the trailing side; they wrap below the title when crowded.",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: "error",
|
|
35
|
+
type: "string | null",
|
|
36
|
+
description: "Error message shown in a banner below the header.",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: "errorDetail",
|
|
40
|
+
type: "string | null",
|
|
41
|
+
description:
|
|
42
|
+
"Secondary line under the message, for the raw detail a server returned.",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "onRetry",
|
|
46
|
+
type: "() => void",
|
|
47
|
+
description:
|
|
48
|
+
"Renders a Retry button in the error banner. Separate from dismissal, which never retries.",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: "retryLabel",
|
|
52
|
+
type: "string",
|
|
53
|
+
description: "Retry button label.",
|
|
54
|
+
default: "the catalog's uic.common.retry",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "onErrorDismiss",
|
|
58
|
+
type: "() => void",
|
|
59
|
+
description: "Called when the error is dismissed; renders the dismiss button.",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: "dismissErrorLabel",
|
|
63
|
+
type: "string",
|
|
64
|
+
description: "Accessible label for the dismiss button.",
|
|
65
|
+
default: 'the catalog\'s uic.PageHeader.dismissError ("Dismiss error")',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: "className",
|
|
69
|
+
type: "string",
|
|
70
|
+
description: "Extra class names on the header element.",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
usage: {
|
|
74
|
+
description:
|
|
75
|
+
"One PageHeader per page, first inside PageLayout. Put page-level actions in `actions`; show a load or save failure in `error` rather than a separate banner.",
|
|
76
|
+
bestPractices: [
|
|
77
|
+
{ guidance: true, description: "Keep the title short: it is the page's h1." },
|
|
78
|
+
{
|
|
79
|
+
guidance: true,
|
|
80
|
+
description: "Pass onRetry only when retrying is safe and idempotent.",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
guidance: false,
|
|
84
|
+
description: "Use it inside cards or dialogs: it is the page's heading.",
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
},
|
|
88
|
+
examples: [
|
|
89
|
+
{
|
|
90
|
+
label: "With actions and an error",
|
|
91
|
+
code: '<PageHeader\n title="Sessions"\n description="Running and recent compute sessions."\n actions={<Button variant="primary" label="Start session" onClick={start} />}\n error={error?.message}\n onRetry={refetch}\n onErrorDismiss={() => setError(null)}\n/>',
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
};
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `astryx component PagedSelector` (and `ui-common component PagedSelector`).
|
|
3
|
+
*
|
|
4
|
+
* @type {import('@astryxdesign/cli/authoring').ComponentDoc}
|
|
5
|
+
*/
|
|
6
|
+
export default {
|
|
7
|
+
type: "component",
|
|
8
|
+
name: "PagedSelector",
|
|
9
|
+
displayName: "PagedSelector",
|
|
10
|
+
import: "@lablup/ui-common",
|
|
11
|
+
category: "Input",
|
|
12
|
+
keywords: [
|
|
13
|
+
"select",
|
|
14
|
+
"selector",
|
|
15
|
+
"infinite scroll",
|
|
16
|
+
"load more",
|
|
17
|
+
"paged",
|
|
18
|
+
"pagination",
|
|
19
|
+
"server search",
|
|
20
|
+
"async select",
|
|
21
|
+
"multi select",
|
|
22
|
+
],
|
|
23
|
+
description:
|
|
24
|
+
"A searchable selector, single or multiple, over options loaded a page at a time: scrolling the panel near its end calls onEndReached, and search is reported per keystroke for a server-side query. Built on ComplexSelector; the panel is drawn like Selector's.",
|
|
25
|
+
props: [
|
|
26
|
+
{
|
|
27
|
+
name: "label",
|
|
28
|
+
type: "string",
|
|
29
|
+
description: "Field label and accessible name.",
|
|
30
|
+
required: true,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "options",
|
|
34
|
+
type: "PagedSelectorOption[]",
|
|
35
|
+
description:
|
|
36
|
+
"The loaded options, every page so far: { value, label, labelContent?, icon?, description?, endContent?, isDisabled? }. label is a string: the trigger text and the row's name.",
|
|
37
|
+
required: true,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: "value",
|
|
41
|
+
type: "string | null | string[]",
|
|
42
|
+
description: "The selected option value; an array with isMultiple.",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "onChange",
|
|
46
|
+
type: "(value, items) => void",
|
|
47
|
+
description:
|
|
48
|
+
"Called with the new value and each chosen value's { value, label }, so labels survive values that are not on the loaded page.",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: "isMultiple",
|
|
52
|
+
type: "boolean",
|
|
53
|
+
description: "Select several; the panel stays open on a pick.",
|
|
54
|
+
default: "false",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "labels",
|
|
58
|
+
type: "Record<string, string>",
|
|
59
|
+
description:
|
|
60
|
+
"Labels for selected values that may not be among options (another page, filtered out).",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "hasSearch",
|
|
64
|
+
type: "boolean",
|
|
65
|
+
description: "Search box at the top of the panel.",
|
|
66
|
+
default: "true",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "searchValue / onSearchChange",
|
|
70
|
+
type: "string / (value: string) => void",
|
|
71
|
+
description: "Controlled search text, and every keystroke; debounce it yourself.",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: "onEndReached",
|
|
75
|
+
type: "() => void",
|
|
76
|
+
description:
|
|
77
|
+
"Called once each time the list is scrolled to within endReachedThreshold px of its end. Load the next page here.",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: "endReachedThreshold",
|
|
81
|
+
type: "number",
|
|
82
|
+
description: "Distance from the end, in px, that counts as reaching it.",
|
|
83
|
+
default: "30",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: "onAtEndChange",
|
|
87
|
+
type: "(isAtEnd: boolean) => void",
|
|
88
|
+
description: "Called when the list arrives at, or leaves, its end.",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: "isLoading",
|
|
92
|
+
type: "boolean",
|
|
93
|
+
description:
|
|
94
|
+
"Spinner in the trigger; an empty list shows a loading row instead of No results.",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: "isLoadingMore",
|
|
98
|
+
type: "boolean",
|
|
99
|
+
description: "Spinner in the foot while the next page loads.",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: "totalCount",
|
|
103
|
+
type: "number",
|
|
104
|
+
description: 'Options in all pages; shows "Total N items" in the foot.',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: "emptyText",
|
|
108
|
+
type: "ReactNode",
|
|
109
|
+
description: "Replaces the empty list's content, the loading row included.",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: "header / footer",
|
|
113
|
+
type: "ReactNode / ReactNode | (close) => ReactNode",
|
|
114
|
+
description:
|
|
115
|
+
"Above and below the option list. A footer replaces the total count.",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: "hasClear / onClear",
|
|
119
|
+
type: "boolean / () => void",
|
|
120
|
+
description:
|
|
121
|
+
"Clear button in the trigger; clears to null (or []) unless onClear is given.",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: "triggerDisplay",
|
|
125
|
+
type: '"labels" | "badges"',
|
|
126
|
+
description:
|
|
127
|
+
'Multiple selection in the trigger: "A, B, C, +2" as MultiSelector, or tokens.',
|
|
128
|
+
default: '"labels"',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: "maxTriggerItems",
|
|
132
|
+
type: "number",
|
|
133
|
+
description: "Selected items named in the trigger before +N.",
|
|
134
|
+
default: "3",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: "selectionIndicator",
|
|
138
|
+
type: '"check" | "checkbox"',
|
|
139
|
+
description:
|
|
140
|
+
"The theme's check at a chosen row's end, or a checkbox at its start.",
|
|
141
|
+
default: '"check"',
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: "listMaxHeight",
|
|
145
|
+
type: "number",
|
|
146
|
+
description: "Height the option list scrolls within, in px.",
|
|
147
|
+
default: "260",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: "placeholder, searchPlaceholder, searchLabel, clearSearchLabel, formatTotalCount",
|
|
151
|
+
type: "string / (total) => string",
|
|
152
|
+
description:
|
|
153
|
+
"Built-in strings; defaults from the uic.PagedSelector.* catalog keys.",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: "isDisabled, isRequired, isOptional, description, status, size, width, onOpenChange, …",
|
|
157
|
+
type: "ComplexSelector props",
|
|
158
|
+
description: "Passed to ComplexSelector.",
|
|
159
|
+
},
|
|
160
|
+
],
|
|
161
|
+
usage: {
|
|
162
|
+
description:
|
|
163
|
+
"For a list too long to load at once: a connection paged 10-20 rows at a time, searched on the server. For a list you hold in full, use Selector or MultiSelector.",
|
|
164
|
+
bestPractices: [
|
|
165
|
+
{
|
|
166
|
+
guidance: true,
|
|
167
|
+
description:
|
|
168
|
+
"Guard onEndReached with the connection's hasNext and in-flight state; it fires on each arrival at the end.",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
guidance: true,
|
|
172
|
+
description:
|
|
173
|
+
"Keep each selected value's label (onChange hands it over) and pass them back in labels.",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
},
|
|
177
|
+
examples: [
|
|
178
|
+
{
|
|
179
|
+
label: "A paged, server-searched list",
|
|
180
|
+
code: '<PagedSelector\n label="Owner"\n value={ownerId}\n onChange={(id) => setOwnerId(id)}\n options={users.map((u) => ({ value: u.id, label: u.email }))}\n onSearchChange={setQuery}\n onEndReached={() => hasNext && !isLoadingNext && loadNext(10)}\n isLoadingMore={isLoadingNext}\n totalCount={count}\n/>',
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `astryx component ProgressWithLabel` (and `ui-common component ProgressWithLabel`).
|
|
3
|
+
*
|
|
4
|
+
* @type {import('@astryxdesign/cli/authoring').ComponentDoc}
|
|
5
|
+
*/
|
|
6
|
+
export default {
|
|
7
|
+
type: "component",
|
|
8
|
+
name: "ProgressWithLabel",
|
|
9
|
+
displayName: "ProgressWithLabel",
|
|
10
|
+
import: "@lablup/ui-common",
|
|
11
|
+
category: "Data Display",
|
|
12
|
+
keywords: ["progress", "usage bar", "resource", "labelled progress", "meter"],
|
|
13
|
+
description:
|
|
14
|
+
"A bar that carries its labels: label at the start and valueLabel at the end, over a fill of value percent, for compact resource readouts in cells and cards. A missing or NaN value draws no fill and greys the value label. The fill is color (default --color-success); the frame's corner is --progress-with-label-radius (default --radius-inner).",
|
|
15
|
+
props: [
|
|
16
|
+
{
|
|
17
|
+
name: "label",
|
|
18
|
+
type: "ReactNode",
|
|
19
|
+
description: "Start label.",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: "valueLabel",
|
|
23
|
+
type: "ReactNode",
|
|
24
|
+
description: "End label.",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: "value",
|
|
28
|
+
type: "number",
|
|
29
|
+
description: "Fill, in percent; above 100 fills the bar.",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: "hasValueLabel",
|
|
33
|
+
type: "boolean",
|
|
34
|
+
description: "Whether the end label shows; its space stays reserved.",
|
|
35
|
+
default: "true",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: "color",
|
|
39
|
+
type: "string",
|
|
40
|
+
description: "Fill colour, any CSS colour or var().",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: "width",
|
|
44
|
+
type: "CSSProperties['width']",
|
|
45
|
+
description: "Bar width. Without it the bar grows in its flex container.",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "size",
|
|
49
|
+
type: "'sm' | 'md' | 'lg'",
|
|
50
|
+
description: "Label size.",
|
|
51
|
+
default: "'sm'",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: "style / labelStyle",
|
|
55
|
+
type: "CSSProperties",
|
|
56
|
+
description: "Inline style of the frame / of both labels.",
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
usage: {
|
|
60
|
+
description:
|
|
61
|
+
"Use Astryx ProgressBar for a plain progress indicator; this one is a readout whose labels sit on the bar.",
|
|
62
|
+
},
|
|
63
|
+
examples: [
|
|
64
|
+
{
|
|
65
|
+
label: "CPU usage",
|
|
66
|
+
code: '<ProgressWithLabel label="CPU" valueLabel="3 / 8" value={37.5} width={160} />',
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `astryx component SelectionLabel` (and `ui-common component SelectionLabel`).
|
|
3
|
+
*
|
|
4
|
+
* @type {import('@astryxdesign/cli/authoring').ComponentDoc}
|
|
5
|
+
*/
|
|
6
|
+
export default {
|
|
7
|
+
type: "component",
|
|
8
|
+
name: "SelectionLabel",
|
|
9
|
+
displayName: "SelectionLabel",
|
|
10
|
+
import: "@lablup/ui-common",
|
|
11
|
+
category: "Data Display",
|
|
12
|
+
keywords: ["selected", "selection", "bulk action", "deselect", "count"],
|
|
13
|
+
description:
|
|
14
|
+
'"3 selected" beside a bulk-action toolbar, with an optional button that clears the selection. Renders nothing while the count is 0.',
|
|
15
|
+
props: [
|
|
16
|
+
{
|
|
17
|
+
name: "count",
|
|
18
|
+
type: "number",
|
|
19
|
+
description: "How many items are selected.",
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "onClear",
|
|
24
|
+
type: "() => void",
|
|
25
|
+
description: "Clears the selection. Without it, no clear button.",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "label",
|
|
29
|
+
type: "string",
|
|
30
|
+
description: "The text.",
|
|
31
|
+
default: 'the catalog\'s uic.SelectionLabel.selectedCount ("{count} selected")',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: "clearLabel",
|
|
35
|
+
type: "string",
|
|
36
|
+
description: "Accessible name and tooltip of the clear button.",
|
|
37
|
+
default: 'the catalog\'s uic.SelectionLabel.clear ("Deselect all")',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: "clearIcon",
|
|
41
|
+
type: "ReactNode",
|
|
42
|
+
description: "Glyph of the clear button.",
|
|
43
|
+
default: "the theme's close icon",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
usage: {
|
|
47
|
+
description: "Next to the actions that apply to a table's selected rows.",
|
|
48
|
+
},
|
|
49
|
+
examples: [
|
|
50
|
+
{
|
|
51
|
+
label: "Table selection",
|
|
52
|
+
code: "<SelectionLabel count={selectedKeys.length} onClear={() => setSelectedKeys([])} />",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `astryx component Statistic` (and `ui-common component Statistic`).
|
|
3
|
+
*
|
|
4
|
+
* @type {import('@astryxdesign/cli/authoring').ComponentDoc}
|
|
5
|
+
*/
|
|
6
|
+
export default {
|
|
7
|
+
type: "component",
|
|
8
|
+
name: "Statistic",
|
|
9
|
+
displayName: "Statistic",
|
|
10
|
+
import: "@lablup/ui-common",
|
|
11
|
+
category: "Data Display",
|
|
12
|
+
keywords: ["metric", "statistic", "usage", "quota", "progress", "steps"],
|
|
13
|
+
description:
|
|
14
|
+
"A dashboard metric: a caption, a large value with its unit, and an optional segmented usage bar of value against total. The bar is a strip of notches with role=progressbar and a value / total tooltip. A value that is not finite shows the Unlimited label.",
|
|
15
|
+
props: [
|
|
16
|
+
{
|
|
17
|
+
name: "label",
|
|
18
|
+
type: "ReactNode",
|
|
19
|
+
description: "The caption.",
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "value",
|
|
24
|
+
type: "number",
|
|
25
|
+
description: "The value. Not finite renders unlimitedLabel.",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "total",
|
|
29
|
+
type: "number",
|
|
30
|
+
description: "What the value is measured against; the bar needs it.",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "unit",
|
|
34
|
+
type: "string",
|
|
35
|
+
description: "Unit after the value.",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: "precision",
|
|
39
|
+
type: "number",
|
|
40
|
+
description: "Decimal places, trailing zeros dropped.",
|
|
41
|
+
default: "2",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: "infinityLabel",
|
|
45
|
+
type: "string",
|
|
46
|
+
description: "A non-finite value or total in the bar's tooltip.",
|
|
47
|
+
default: "'∞'",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: "progressMode",
|
|
51
|
+
type: "'hidden' | 'placeholder' | 'visible'",
|
|
52
|
+
description:
|
|
53
|
+
"visible draws the bar (with a total), placeholder keeps its space without painting it, hidden leaves it out.",
|
|
54
|
+
default: "'hidden'",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "progressSteps",
|
|
58
|
+
type: "number",
|
|
59
|
+
description: "Notches in the bar.",
|
|
60
|
+
default: "20",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "color",
|
|
64
|
+
type: "string",
|
|
65
|
+
description: "Colour of the value and of the bar's filled notches.",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: "unlimitedLabel",
|
|
69
|
+
type: "string",
|
|
70
|
+
description: "Shown for a non-finite value.",
|
|
71
|
+
default: 'the catalog\'s uic.Statistic.unlimited ("Unlimited")',
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
usage: {
|
|
75
|
+
description:
|
|
76
|
+
"A resource or quota figure on a dashboard, where the notch bar tells 3 of 20 from 4 of 20 at a glance. Other div attributes reach the root.",
|
|
77
|
+
},
|
|
78
|
+
examples: [
|
|
79
|
+
{
|
|
80
|
+
label: "Memory against its quota",
|
|
81
|
+
code: '<Statistic label="Memory" value={12} total={64} unit="GiB" progressMode="visible" />',
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `astryx component StepNumberInput` (and `ui-common component StepNumberInput`).
|
|
3
|
+
*
|
|
4
|
+
* @type {import('@astryxdesign/cli/authoring').ComponentDoc}
|
|
5
|
+
*/
|
|
6
|
+
export default {
|
|
7
|
+
type: "component",
|
|
8
|
+
name: "StepNumberInput",
|
|
9
|
+
displayName: "StepNumberInput",
|
|
10
|
+
import: "@lablup/ui-common",
|
|
11
|
+
category: "Inputs",
|
|
12
|
+
keywords: [
|
|
13
|
+
"number",
|
|
14
|
+
"stepper",
|
|
15
|
+
"steps",
|
|
16
|
+
"ladder",
|
|
17
|
+
"power of two",
|
|
18
|
+
"non-linear",
|
|
19
|
+
"spin",
|
|
20
|
+
],
|
|
21
|
+
description:
|
|
22
|
+
"A number field that steps along a list of values (1, 2, 4, 8, ...) on its stepper and on ArrowUp/ArrowDown, where NumberInput steps linearly. The same module exports NumberStepper, the stepper column for an InputGroup, and getNextStepIndex, for fields that build their own stepping.",
|
|
23
|
+
props: [
|
|
24
|
+
{ name: "label", type: "string", description: "Accessible name.", required: true },
|
|
25
|
+
{
|
|
26
|
+
name: "steps",
|
|
27
|
+
type: "readonly number[]",
|
|
28
|
+
description: "The values the stepper moves between.",
|
|
29
|
+
required: true,
|
|
30
|
+
},
|
|
31
|
+
{ name: "value", type: "number", description: "The value, when controlled." },
|
|
32
|
+
{
|
|
33
|
+
name: "defaultValue",
|
|
34
|
+
type: "number",
|
|
35
|
+
description: "First value when uncontrolled.",
|
|
36
|
+
default: "steps[0]",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: "onChange",
|
|
40
|
+
type: "(value: number) => void",
|
|
41
|
+
description: "Called with the new value. A cleared field reports 0.",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: "min",
|
|
45
|
+
type: "number",
|
|
46
|
+
description: "Lower bound for typing and stepping.",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: "max",
|
|
50
|
+
type: "number",
|
|
51
|
+
description: "Upper bound for typing and stepping.",
|
|
52
|
+
},
|
|
53
|
+
{ name: "units", type: "string", description: 'Unit shown in the field ("GiB").' },
|
|
54
|
+
{
|
|
55
|
+
name: "isLabelHidden",
|
|
56
|
+
type: "boolean",
|
|
57
|
+
description: "Hides the label visually.",
|
|
58
|
+
default: "false",
|
|
59
|
+
},
|
|
60
|
+
{ name: "placeholder", type: "string", description: "Placeholder." },
|
|
61
|
+
{
|
|
62
|
+
name: "isDisabled",
|
|
63
|
+
type: "boolean",
|
|
64
|
+
description: "Disables the field and the stepper.",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: "increaseLabel",
|
|
68
|
+
type: "string",
|
|
69
|
+
description: "Accessible name of the step-up button.",
|
|
70
|
+
default: 'the catalog\'s uic.NumberStepper.increase ("Increase")',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: "decreaseLabel",
|
|
74
|
+
type: "string",
|
|
75
|
+
description: "Accessible name of the step-down button.",
|
|
76
|
+
default: 'the catalog\'s uic.NumberStepper.decrease ("Decrease")',
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
usage: {
|
|
80
|
+
description:
|
|
81
|
+
"Quantities that grow geometrically, such as sizes and counts of accelerators. For a linear step, use NumberInput with hasNumberSteppers.",
|
|
82
|
+
},
|
|
83
|
+
examples: [
|
|
84
|
+
{
|
|
85
|
+
label: "Power-of-two sizes",
|
|
86
|
+
code: `<StepNumberInput
|
|
87
|
+
label="Shared memory"
|
|
88
|
+
steps={[0.25, 0.5, 1, 2, 4, 8]}
|
|
89
|
+
units="GiB"
|
|
90
|
+
value={value}
|
|
91
|
+
onChange={setValue}
|
|
92
|
+
/>`,
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
label: "The stepper alone, for a field of your own",
|
|
96
|
+
code: `<InputGroup label="Size" isLabelHidden>
|
|
97
|
+
<NumberInput label="Size" isLabelHidden value={value} onChange={setValue} />
|
|
98
|
+
<NumberStepper onStep={(direction) => setValue(nextValue(direction))} />
|
|
99
|
+
</InputGroup>`,
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `astryx component TextHighlighter` (and `ui-common component TextHighlighter`).
|
|
3
|
+
*
|
|
4
|
+
* @type {import('@astryxdesign/cli/authoring').ComponentDoc}
|
|
5
|
+
*/
|
|
6
|
+
export default {
|
|
7
|
+
type: "component",
|
|
8
|
+
name: "TextHighlighter",
|
|
9
|
+
displayName: "TextHighlighter",
|
|
10
|
+
import: "@lablup/ui-common",
|
|
11
|
+
category: "Data Display",
|
|
12
|
+
keywords: ["highlight", "search", "mark", "keyword", "match"],
|
|
13
|
+
description:
|
|
14
|
+
"Marks every case-insensitive occurrence of keyword in a string, for search results. The keyword matches literally. Without a keyword the text renders plain; without text nothing renders. The mark is the theme's --color-warning-border-hover when it declares one, else --color-warning-muted.",
|
|
15
|
+
props: [
|
|
16
|
+
{
|
|
17
|
+
name: "children",
|
|
18
|
+
type: "string | null",
|
|
19
|
+
description: "The text to search in.",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: "keyword",
|
|
23
|
+
type: "string",
|
|
24
|
+
description: "The text to mark.",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: "highlightStyle",
|
|
28
|
+
type: "CSSProperties",
|
|
29
|
+
description: "Inline style of each mark.",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: "className",
|
|
33
|
+
type: "string",
|
|
34
|
+
description: "Class on the outer span.",
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
usage: {
|
|
38
|
+
description:
|
|
39
|
+
"Inside a Token, which takes a string label, pass label={text} isLabelHidden and the highlighter as endContent, so the plain text stays the accessible name.",
|
|
40
|
+
},
|
|
41
|
+
examples: [
|
|
42
|
+
{
|
|
43
|
+
label: "A search result",
|
|
44
|
+
code: "<TextHighlighter keyword={search}>{row.name}</TextHighlighter>",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
};
|