@commercetools/nimbus-mcp 0.1.0 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -14
- package/data/docs/route-manifest.json +10913 -0
- package/data/docs/routes/components-accessibility-visually-hidden.json +388 -0
- package/data/docs/routes/components-accessibility.json +34 -0
- package/data/docs/routes/components-buttons-button.json +715 -0
- package/data/docs/routes/components-buttons-icon-button.json +852 -0
- package/data/docs/routes/components-buttons-icon-toggle-button.json +594 -0
- package/data/docs/routes/components-buttons-split-button.json +670 -0
- package/data/docs/routes/components-buttons-toggle-button-group.json +722 -0
- package/data/docs/routes/components-buttons-toggle-button.json +689 -0
- package/data/docs/routes/components-buttons.json +36 -0
- package/data/docs/routes/components-data-display-badge.json +555 -0
- package/data/docs/routes/components-data-display-card.json +338 -0
- package/data/docs/routes/components-data-display-data-table.json +855 -0
- package/data/docs/routes/components-data-display-draggable-list.json +596 -0
- package/data/docs/routes/components-data-display-table.json +472 -0
- package/data/docs/routes/components-data-display-tag-group.json +535 -0
- package/data/docs/routes/components-data-display.json +34 -0
- package/data/docs/routes/components-feedback-alert.json +696 -0
- package/data/docs/routes/components-feedback-dialog.json +682 -0
- package/data/docs/routes/components-feedback-drawer.json +600 -0
- package/data/docs/routes/components-feedback-loading-spinner.json +415 -0
- package/data/docs/routes/components-feedback-progress-bar.json +661 -0
- package/data/docs/routes/components-feedback-toast.json +1040 -0
- package/data/docs/routes/components-feedback-tooltip.json +510 -0
- package/data/docs/routes/components-feedback.json +34 -0
- package/data/docs/routes/components-forms-field-errors.json +557 -0
- package/data/docs/routes/components-forms-form-field.json +848 -0
- package/data/docs/routes/components-forms-group.json +427 -0
- package/data/docs/routes/components-forms-localized-field.json +770 -0
- package/data/docs/routes/components-forms.json +37 -0
- package/data/docs/routes/components-inputs-calendar.json +611 -0
- package/data/docs/routes/components-inputs-checkbox.json +774 -0
- package/data/docs/routes/components-inputs-combo-box.json +761 -0
- package/data/docs/routes/components-inputs-date-input.json +628 -0
- package/data/docs/routes/components-inputs-date-picker.json +709 -0
- package/data/docs/routes/components-inputs-date-range-picker.json +599 -0
- package/data/docs/routes/components-inputs-money-input.json +721 -0
- package/data/docs/routes/components-inputs-multiline-text-input.json +611 -0
- package/data/docs/routes/components-inputs-number-input.json +647 -0
- package/data/docs/routes/components-inputs-password-input.json +576 -0
- package/data/docs/routes/components-inputs-radio-input.json +583 -0
- package/data/docs/routes/components-inputs-range-calendar.json +607 -0
- package/data/docs/routes/components-inputs-rich-text-input.json +599 -0
- package/data/docs/routes/components-inputs-scoped-search-input.json +570 -0
- package/data/docs/routes/components-inputs-search-input.json +588 -0
- package/data/docs/routes/components-inputs-select-input.json +960 -0
- package/data/docs/routes/components-inputs-switch.json +720 -0
- package/data/docs/routes/components-inputs-text-input.json +566 -0
- package/data/docs/routes/components-inputs-time-input.json +775 -0
- package/data/docs/routes/components-inputs.json +34 -0
- package/data/docs/routes/components-layout-box.json +501 -0
- package/data/docs/routes/components-layout-defaultpage.json +748 -0
- package/data/docs/routes/components-layout-flex.json +587 -0
- package/data/docs/routes/components-layout-grid.json +393 -0
- package/data/docs/routes/components-layout-modalpage.json +716 -0
- package/data/docs/routes/components-layout-pagecontent.json +673 -0
- package/data/docs/routes/components-layout-separator.json +461 -0
- package/data/docs/routes/components-layout-simple-grid.json +519 -0
- package/data/docs/routes/components-layout-spacer.json +573 -0
- package/data/docs/routes/components-layout-stack.json +481 -0
- package/data/docs/routes/components-layout.json +34 -0
- package/data/docs/routes/components-media-avatar.json +427 -0
- package/data/docs/routes/components-media-icon.json +663 -0
- package/data/docs/routes/components-media-image.json +511 -0
- package/data/docs/routes/components-media-inline-svg.json +586 -0
- package/data/docs/routes/components-media.json +34 -0
- package/data/docs/routes/components-navigation-accordion.json +643 -0
- package/data/docs/routes/components-navigation-collapsible-motion.json +628 -0
- package/data/docs/routes/components-navigation-link.json +554 -0
- package/data/docs/routes/components-navigation-menu.json +546 -0
- package/data/docs/routes/components-navigation-pagination.json +502 -0
- package/data/docs/routes/components-navigation-steps.json +629 -0
- package/data/docs/routes/components-navigation-tabnav.json +546 -0
- package/data/docs/routes/components-navigation-tabs.json +635 -0
- package/data/docs/routes/components-navigation-toolbar.json +549 -0
- package/data/docs/routes/components-navigation.json +34 -0
- package/data/docs/routes/components-typography-code.json +39 -0
- package/data/docs/routes/components-typography-heading.json +402 -0
- package/data/docs/routes/components-typography-kbd.json +399 -0
- package/data/docs/routes/components-typography-list.json +593 -0
- package/data/docs/routes/components-typography-text.json +444 -0
- package/data/docs/routes/components-typography.json +34 -0
- package/data/docs/routes/components-utilities-nimbus-i18n-provider.json +295 -0
- package/data/docs/routes/components-utilities-nimbus-provider.json +663 -0
- package/data/docs/routes/components-utilities.json +34 -0
- package/data/docs/routes/components.json +33 -0
- package/data/docs/routes/home-contribute-adrs-adr0001-consumer-component-apis.json +314 -0
- package/data/docs/routes/home-contribute-adrs-adr0002-compound-component-extraction.json +160 -0
- package/data/docs/routes/home-contribute-adrs-adr0003-component-lifecycle-states.json +460 -0
- package/data/docs/routes/home-contribute-adrs.json +205 -0
- package/data/docs/routes/home-contribute-development-setup.json +213 -0
- package/data/docs/routes/home-contribute-stats.json +36 -0
- package/data/docs/routes/home-contribute.json +36 -0
- package/data/docs/routes/home-design-tokens-aspect-ratios.json +36 -0
- package/data/docs/routes/home-design-tokens-borders.json +35 -0
- package/data/docs/routes/home-design-tokens-colors.json +157 -0
- package/data/docs/routes/home-design-tokens-other-animations.json +119 -0
- package/data/docs/routes/home-design-tokens-other-blurs.json +36 -0
- package/data/docs/routes/home-design-tokens-other-breakpoints.json +61 -0
- package/data/docs/routes/home-design-tokens-other-cursors.json +36 -0
- package/data/docs/routes/home-design-tokens-other-z-indices.json +39 -0
- package/data/docs/routes/home-design-tokens-other.json +35 -0
- package/data/docs/routes/home-design-tokens-radii.json +59 -0
- package/data/docs/routes/home-design-tokens-shadows.json +57 -0
- package/data/docs/routes/home-design-tokens-sizes.json +137 -0
- package/data/docs/routes/home-design-tokens-spacing.json +36 -0
- package/data/docs/routes/home-design-tokens-typography.json +184 -0
- package/data/docs/routes/home-design-tokens.json +34 -0
- package/data/docs/routes/home-getting-started-core-concepts.json +301 -0
- package/data/docs/routes/home-getting-started-installation.json +621 -0
- package/data/docs/routes/home-getting-started-mcp-server-overview.json +139 -0
- package/data/docs/routes/home-getting-started-mcp-server-setup.json +316 -0
- package/data/docs/routes/home-getting-started-release-process.json +294 -0
- package/data/docs/routes/home-getting-started-testing-setup.json +296 -0
- package/data/docs/routes/home-playground-markdown.json +638 -0
- package/data/docs/routes/home-playground-toc.json +169 -0
- package/data/docs/routes/home-playground.json +34 -0
- package/data/docs/routes/home-style-props-background.json +236 -0
- package/data/docs/routes/home-style-props-border.json +310 -0
- package/data/docs/routes/home-style-props-display.json +120 -0
- package/data/docs/routes/home-style-props-effects.json +116 -0
- package/data/docs/routes/home-style-props-filters.json +396 -0
- package/data/docs/routes/home-style-props-flex-and-grid.json +496 -0
- package/data/docs/routes/home-style-props-interactivity.json +356 -0
- package/data/docs/routes/home-style-props-layout.json +422 -0
- package/data/docs/routes/home-style-props-list.json +116 -0
- package/data/docs/routes/home-style-props-sizing.json +244 -0
- package/data/docs/routes/home-style-props-spacing.json +228 -0
- package/data/docs/routes/home-style-props-svg.json +96 -0
- package/data/docs/routes/home-style-props-tables.json +116 -0
- package/data/docs/routes/home-style-props-transforms.json +216 -0
- package/data/docs/routes/home-style-props-transitions.json +216 -0
- package/data/docs/routes/home-style-props-typography.json +536 -0
- package/data/docs/routes/home-style-props.json +33 -0
- package/data/docs/routes/home.json +32 -0
- package/data/docs/routes/hooks-usecopytoclipboard.json +76 -0
- package/data/docs/routes/hooks-usehotkeys.json +117 -0
- package/data/docs/routes/hooks.json +33 -0
- package/data/docs/routes/icons.json +32 -0
- package/data/docs/routes/patterns-fields-date-range-picker-field.json +393 -0
- package/data/docs/routes/patterns-fields-money-input-field.json +415 -0
- package/data/docs/routes/patterns-fields-multiline-text-input-field.json +404 -0
- package/data/docs/routes/patterns-fields-number-input-field.json +470 -0
- package/data/docs/routes/patterns-fields-password-input-field.json +319 -0
- package/data/docs/routes/patterns-fields-search-input-field.json +382 -0
- package/data/docs/routes/patterns-fields-text-input-field.json +404 -0
- package/data/docs/routes/patterns-fields.json +78 -0
- package/data/docs/routes/patterns.json +34 -0
- package/data/docs/search-index.json +1 -0
- package/data/docs/types/Accordion.json +12 -0
- package/data/docs/types/AccordionContent.json +286 -0
- package/data/docs/types/AccordionHeader.json +891 -0
- package/data/docs/types/AccordionHeaderRightContent.json +27 -0
- package/data/docs/types/AccordionItem.json +242 -0
- package/data/docs/types/AccordionRoot.json +162 -0
- package/data/docs/types/Alert.json +12 -0
- package/data/docs/types/AlertActions.json +11 -0
- package/data/docs/types/AlertDescription.json +118 -0
- package/data/docs/types/AlertDismissButton.json +937 -0
- package/data/docs/types/AlertRoot.json +42 -0
- package/data/docs/types/AlertTitle.json +118 -0
- package/data/docs/types/Avatar.json +125 -0
- package/data/docs/types/Badge.json +64 -0
- package/data/docs/types/Body.json +67 -0
- package/data/docs/types/Box.json +85 -0
- package/data/docs/types/Button.json +1015 -0
- package/data/docs/types/Calendar.json +565 -0
- package/data/docs/types/Caption.json +67 -0
- package/data/docs/types/Card.json +12 -0
- package/data/docs/types/CardContent.json +27 -0
- package/data/docs/types/CardHeader.json +27 -0
- package/data/docs/types/CardRoot.json +106 -0
- package/data/docs/types/Cell.json +227 -0
- package/data/docs/types/Checkbox.json +897 -0
- package/data/docs/types/Code.json +112 -0
- package/data/docs/types/CollapsibleMotionContent.json +35 -0
- package/data/docs/types/CollapsibleMotionRoot.json +99 -0
- package/data/docs/types/CollapsibleMotionTrigger.json +71 -0
- package/data/docs/types/Column.json +101 -0
- package/data/docs/types/ColumnGroup.json +101 -0
- package/data/docs/types/ColumnHeader.json +193 -0
- package/data/docs/types/ComboBoxListBox.json +751 -0
- package/data/docs/types/ComboBoxOption.json +672 -0
- package/data/docs/types/ComboBoxPopover.json +786 -0
- package/data/docs/types/ComboBoxRoot.json +747 -0
- package/data/docs/types/ComboBoxSection.json +277 -0
- package/data/docs/types/ComboBoxTrigger.json +70 -0
- package/data/docs/types/Content.json +33 -0
- package/data/docs/types/DataTable.json +596 -0
- package/data/docs/types/DataTableBody.json +223 -0
- package/data/docs/types/DataTableFooter.json +27 -0
- package/data/docs/types/DataTableHeader.json +269 -0
- package/data/docs/types/DataTableManager.json +11 -0
- package/data/docs/types/DataTableRoot.json +590 -0
- package/data/docs/types/DataTableTable.json +271 -0
- package/data/docs/types/DateInput.json +792 -0
- package/data/docs/types/DatePicker.json +700 -0
- package/data/docs/types/DateRangePicker.json +936 -0
- package/data/docs/types/DateRangePickerField.json +1047 -0
- package/data/docs/types/DefaultPage.json +12 -0
- package/data/docs/types/DefaultPageActions.json +27 -0
- package/data/docs/types/DefaultPageBackLink.json +213 -0
- package/data/docs/types/DefaultPageContent.json +27 -0
- package/data/docs/types/DefaultPageFooter.json +27 -0
- package/data/docs/types/DefaultPageHeader.json +27 -0
- package/data/docs/types/DefaultPageRoot.json +106 -0
- package/data/docs/types/DefaultPageSubtitle.json +27 -0
- package/data/docs/types/DefaultPageTabNav.json +28 -0
- package/data/docs/types/DefaultPageTitle.json +27 -0
- package/data/docs/types/DialogBody.json +27 -0
- package/data/docs/types/DialogCloseTrigger.json +939 -0
- package/data/docs/types/DialogContent.json +27 -0
- package/data/docs/types/DialogFooter.json +27 -0
- package/data/docs/types/DialogHeader.json +27 -0
- package/data/docs/types/DialogRoot.json +138 -0
- package/data/docs/types/DialogTitle.json +27 -0
- package/data/docs/types/DialogTrigger.json +80 -0
- package/data/docs/types/DraggableList.json +12 -0
- package/data/docs/types/DraggableListField.json +894 -0
- package/data/docs/types/DraggableListItem.json +574 -0
- package/data/docs/types/DraggableListRoot.json +745 -0
- package/data/docs/types/Drawer.json +12 -0
- package/data/docs/types/DrawerBody.json +27 -0
- package/data/docs/types/DrawerCloseTrigger.json +939 -0
- package/data/docs/types/DrawerContent.json +27 -0
- package/data/docs/types/DrawerFooter.json +27 -0
- package/data/docs/types/DrawerHeader.json +27 -0
- package/data/docs/types/DrawerRoot.json +142 -0
- package/data/docs/types/DrawerTitle.json +27 -0
- package/data/docs/types/DrawerTrigger.json +80 -0
- package/data/docs/types/FieldErrors.getBuiltInMessage.json +11 -0
- package/data/docs/types/FieldErrors.getCustomMessage.json +9 -0
- package/data/docs/types/FieldErrors.json +109 -0
- package/data/docs/types/Flex.json +238 -0
- package/data/docs/types/Footer.json +67 -0
- package/data/docs/types/FormFieldDescription.json +11 -0
- package/data/docs/types/FormFieldError.json +11 -0
- package/data/docs/types/FormFieldInfoBox.json +27 -0
- package/data/docs/types/FormFieldInput.json +11 -0
- package/data/docs/types/FormFieldLabel.json +11 -0
- package/data/docs/types/FormFieldRoot.json +148 -0
- package/data/docs/types/Grid.json +253 -0
- package/data/docs/types/GridProps.json +11 -0
- package/data/docs/types/Group.json +143 -0
- package/data/docs/types/Header.json +67 -0
- package/data/docs/types/Heading.json +109 -0
- package/data/docs/types/Icon.json +112 -0
- package/data/docs/types/IconButton.json +1019 -0
- package/data/docs/types/IconToggleButton.json +787 -0
- package/data/docs/types/Image.json +373 -0
- package/data/docs/types/Indicator.json +67 -0
- package/data/docs/types/InlineSvg.json +98 -0
- package/data/docs/types/Item.json +67 -0
- package/data/docs/types/Kbd.json +118 -0
- package/data/docs/types/Link.json +380 -0
- package/data/docs/types/List.json +12 -0
- package/data/docs/types/ListIndicator.json +70 -0
- package/data/docs/types/ListItem.json +70 -0
- package/data/docs/types/ListRoot.json +124 -0
- package/data/docs/types/LoadingSpinner.json +87 -0
- package/data/docs/types/LocalizedField.json +460 -0
- package/data/docs/types/LocalizedStringFormatter.json +9 -0
- package/data/docs/types/MakeElementFocusable.json +196 -0
- package/data/docs/types/MenuContent.json +111 -0
- package/data/docs/types/MenuItem.json +671 -0
- package/data/docs/types/MenuRoot.json +670 -0
- package/data/docs/types/MenuSection.json +364 -0
- package/data/docs/types/MenuSubmenu.json +111 -0
- package/data/docs/types/MenuSubmenuTrigger.json +67 -0
- package/data/docs/types/MenuTrigger.json +906 -0
- package/data/docs/types/ModalPage.json +12 -0
- package/data/docs/types/ModalPageActions.json +27 -0
- package/data/docs/types/ModalPageContent.json +27 -0
- package/data/docs/types/ModalPageFooter.json +27 -0
- package/data/docs/types/ModalPageHeader.json +27 -0
- package/data/docs/types/ModalPageRoot.json +87 -0
- package/data/docs/types/ModalPageSubtitle.json +27 -0
- package/data/docs/types/ModalPageTabNav.json +28 -0
- package/data/docs/types/ModalPageTitle.json +27 -0
- package/data/docs/types/ModalPageTopBar.json +57 -0
- package/data/docs/types/MoneyInput.isEmpty.json +40 -0
- package/data/docs/types/MoneyInput.json +282 -0
- package/data/docs/types/MoneyInputField.json +379 -0
- package/data/docs/types/MoneyInputFieldProps.json +9 -0
- package/data/docs/types/MultilineTextInput.json +1194 -0
- package/data/docs/types/MultilineTextInputField.json +1269 -0
- package/data/docs/types/MultilineTextInputFieldProps.json +9 -0
- package/data/docs/types/NimbusI18nProvider.json +42 -0
- package/data/docs/types/NimbusI18nProviderProps.json +9 -0
- package/data/docs/types/NimbusProvider.json +270 -0
- package/data/docs/types/NumberInput.json +952 -0
- package/data/docs/types/NumberInputField.json +1004 -0
- package/data/docs/types/NumberInputFieldProps.json +9 -0
- package/data/docs/types/PageContent.json +11 -0
- package/data/docs/types/PageContentColumn.json +99 -0
- package/data/docs/types/PageContentRoot.json +114 -0
- package/data/docs/types/Pagination.json +159 -0
- package/data/docs/types/PasswordInput.json +1120 -0
- package/data/docs/types/PasswordInputField.json +1216 -0
- package/data/docs/types/PasswordInputFieldProps.json +9 -0
- package/data/docs/types/ProgressBar.json +280 -0
- package/data/docs/types/RadioInputOption.json +550 -0
- package/data/docs/types/RadioInputRoot.json +514 -0
- package/data/docs/types/RangeCalendar.json +618 -0
- package/data/docs/types/RichTextInput.json +134 -0
- package/data/docs/types/Root.json +122 -0
- package/data/docs/types/Row.json +67 -0
- package/data/docs/types/ScopedSearchInput.isEmpty.json +40 -0
- package/data/docs/types/ScopedSearchInput.json +253 -0
- package/data/docs/types/ScrollArea.json +82 -0
- package/data/docs/types/SearchInput.json +1165 -0
- package/data/docs/types/SearchInputField.json +1240 -0
- package/data/docs/types/Select.json +12 -0
- package/data/docs/types/SelectOption.json +572 -0
- package/data/docs/types/SelectOptionGroup.json +215 -0
- package/data/docs/types/SelectOptions.json +693 -0
- package/data/docs/types/SelectRoot.json +926 -0
- package/data/docs/types/Separator.json +65 -0
- package/data/docs/types/SimpleGrid.json +291 -0
- package/data/docs/types/Spacer.json +27 -0
- package/data/docs/types/SpacerProps.json +9 -0
- package/data/docs/types/SplitButton.json +203 -0
- package/data/docs/types/Stack.json +144 -0
- package/data/docs/types/Steps.json +12 -0
- package/data/docs/types/StepsChangeDetails.json +9 -0
- package/data/docs/types/StepsCompletedContent.json +28 -0
- package/data/docs/types/StepsCompletedContentProps.json +9 -0
- package/data/docs/types/StepsContent.json +43 -0
- package/data/docs/types/StepsContentProps.json +9 -0
- package/data/docs/types/StepsDescription.json +28 -0
- package/data/docs/types/StepsDescriptionProps.json +9 -0
- package/data/docs/types/StepsIndicator.json +28 -0
- package/data/docs/types/StepsIndicatorProps.json +9 -0
- package/data/docs/types/StepsItem.json +43 -0
- package/data/docs/types/StepsItemProps.json +9 -0
- package/data/docs/types/StepsList.json +28 -0
- package/data/docs/types/StepsListProps.json +9 -0
- package/data/docs/types/StepsNextTrigger.json +62 -0
- package/data/docs/types/StepsNextTriggerProps.json +9 -0
- package/data/docs/types/StepsNumber.json +28 -0
- package/data/docs/types/StepsNumberProps.json +9 -0
- package/data/docs/types/StepsPrevTrigger.json +62 -0
- package/data/docs/types/StepsPrevTriggerProps.json +9 -0
- package/data/docs/types/StepsRoot.json +183 -0
- package/data/docs/types/StepsRootProps.json +11 -0
- package/data/docs/types/StepsSeparator.json +28 -0
- package/data/docs/types/StepsSeparatorProps.json +9 -0
- package/data/docs/types/StepsStatus.json +57 -0
- package/data/docs/types/StepsStatusProps.json +9 -0
- package/data/docs/types/StepsTitle.json +28 -0
- package/data/docs/types/StepsTitleProps.json +9 -0
- package/data/docs/types/StepsTrigger.json +47 -0
- package/data/docs/types/StepsTriggerProps.json +9 -0
- package/data/docs/types/Switch.json +371 -0
- package/data/docs/types/TabListProps.json +9 -0
- package/data/docs/types/TabNav.json +12 -0
- package/data/docs/types/TabNavItem.json +300 -0
- package/data/docs/types/TabNavItemProps.json +9 -0
- package/data/docs/types/TabNavProps.json +9 -0
- package/data/docs/types/TabNavRoot.json +80 -0
- package/data/docs/types/TabPanelProps.json +9 -0
- package/data/docs/types/TabPanelsProps.json +9 -0
- package/data/docs/types/TabProps.json +9 -0
- package/data/docs/types/Table.json +9 -0
- package/data/docs/types/TableBody.json +67 -0
- package/data/docs/types/TableBodyProps.json +9 -0
- package/data/docs/types/TableCaption.json +67 -0
- package/data/docs/types/TableCaptionProps.json +9 -0
- package/data/docs/types/TableCell.json +227 -0
- package/data/docs/types/TableCellProps.json +9 -0
- package/data/docs/types/TableColumn.json +101 -0
- package/data/docs/types/TableColumnGroup.json +101 -0
- package/data/docs/types/TableColumnGroupProps.json +9 -0
- package/data/docs/types/TableColumnHeader.json +193 -0
- package/data/docs/types/TableColumnHeaderProps.json +9 -0
- package/data/docs/types/TableColumnProps.json +9 -0
- package/data/docs/types/TableFooter.json +67 -0
- package/data/docs/types/TableFooterProps.json +9 -0
- package/data/docs/types/TableHeader.json +67 -0
- package/data/docs/types/TableHeaderProps.json +9 -0
- package/data/docs/types/TableRoot.json +365 -0
- package/data/docs/types/TableRootProps.json +12 -0
- package/data/docs/types/TableRow.json +67 -0
- package/data/docs/types/TableRowProps.json +9 -0
- package/data/docs/types/TableScrollArea.json +82 -0
- package/data/docs/types/TableScrollAreaProps.json +9 -0
- package/data/docs/types/Tabs.json +12 -0
- package/data/docs/types/TabsList.json +110 -0
- package/data/docs/types/TabsPanel.json +112 -0
- package/data/docs/types/TabsPanels.json +108 -0
- package/data/docs/types/TabsRoot.json +211 -0
- package/data/docs/types/TabsTab.json +174 -0
- package/data/docs/types/TagGroup.json +12 -0
- package/data/docs/types/TagGroupRoot.json +306 -0
- package/data/docs/types/TagGroupTag.json +595 -0
- package/data/docs/types/TagGroupTagList.json +166 -0
- package/data/docs/types/Text.json +119 -0
- package/data/docs/types/TextInput.json +1156 -0
- package/data/docs/types/TextInputField.json +1263 -0
- package/data/docs/types/TimeInput.json +752 -0
- package/data/docs/types/ToastAction.json +9 -0
- package/data/docs/types/ToastManagerApi.json +9 -0
- package/data/docs/types/ToastOptions.json +9 -0
- package/data/docs/types/ToastOutlet.json +12 -0
- package/data/docs/types/ToastPlacement.json +9 -0
- package/data/docs/types/ToastPromiseOptions.json +9 -0
- package/data/docs/types/ToastType.json +9 -0
- package/data/docs/types/ToastVariant.json +9 -0
- package/data/docs/types/ToggleButton.json +789 -0
- package/data/docs/types/ToggleButtonGroup.json +9 -0
- package/data/docs/types/ToggleButtonGroupButton.json +331 -0
- package/data/docs/types/ToggleButtonGroupRoot.json +269 -0
- package/data/docs/types/Toolbar.json +176 -0
- package/data/docs/types/Tooltip.json +12 -0
- package/data/docs/types/TooltipContent.json +372 -0
- package/data/docs/types/TooltipRoot.json +179 -0
- package/data/docs/types/Trigger.json +69 -0
- package/data/docs/types/VisuallyHidden.json +93 -0
- package/data/docs/types/__object.json +12 -0
- package/data/docs/types/filters.json +11 -0
- package/data/docs/types/manifest.json +278 -0
- package/data/docs/types/toast.json +234 -0
- package/data/docs/types/useColorMode.json +13 -0
- package/data/docs/types/useColorModeValue.json +13 -0
- package/data/docs/types/useColorScheme.json +12 -0
- package/data/docs/types/useLocalizedStringFormatter.json +14 -0
- package/data/icons.json +21940 -0
- package/data/tokens.json +40061 -0
- package/dist/index.js +2516 -17
- package/package.json +25 -6
- package/dist/data-loader.d.ts +0 -102
- package/dist/data-loader.js +0 -104
- package/dist/index.d.ts +0 -13
- package/dist/server.d.ts +0 -9
- package/dist/server.js +0 -22
- package/dist/server.spec.d.ts +0 -1
- package/dist/server.spec.js +0 -69
- package/dist/tools/list-components.d.ts +0 -9
- package/dist/tools/list-components.js +0 -42
- package/dist/types.d.ts +0 -28
- package/dist/types.js +0 -4
- package/src/data-loader.ts +0 -226
- package/src/index.ts +0 -29
- package/src/server.spec.ts +0 -86
- package/src/server.ts +0 -28
- package/src/tools/list-components.ts +0 -49
- package/src/types.ts +0 -31
- package/tsconfig.json +0 -14
- package/vitest.config.ts +0 -9
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"id": "Style Props-Tables",
|
|
4
|
+
"title": "Tables",
|
|
5
|
+
"description": "JSX style props for styling table elements.",
|
|
6
|
+
"order": 999,
|
|
7
|
+
"repoPath": "packages/nimbus/src/docs/tables.mdx",
|
|
8
|
+
"menu": [
|
|
9
|
+
"Home",
|
|
10
|
+
"Style Props",
|
|
11
|
+
"Tables"
|
|
12
|
+
],
|
|
13
|
+
"route": "home/style-props/tables",
|
|
14
|
+
"tags": [
|
|
15
|
+
"document"
|
|
16
|
+
],
|
|
17
|
+
"toc": [
|
|
18
|
+
{
|
|
19
|
+
"value": "Border Spacing",
|
|
20
|
+
"href": "#border-spacing",
|
|
21
|
+
"depth": 2,
|
|
22
|
+
"numbering": [
|
|
23
|
+
1,
|
|
24
|
+
1
|
|
25
|
+
],
|
|
26
|
+
"parent": "root"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"value": "Border Spacing X",
|
|
30
|
+
"href": "#border-spacing-x",
|
|
31
|
+
"depth": 2,
|
|
32
|
+
"numbering": [
|
|
33
|
+
1,
|
|
34
|
+
2
|
|
35
|
+
],
|
|
36
|
+
"parent": "root"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"value": "Border Spacing Y",
|
|
40
|
+
"href": "#border-spacing-y",
|
|
41
|
+
"depth": 2,
|
|
42
|
+
"numbering": [
|
|
43
|
+
1,
|
|
44
|
+
3
|
|
45
|
+
],
|
|
46
|
+
"parent": "root"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"value": "Caption Side",
|
|
50
|
+
"href": "#caption-side",
|
|
51
|
+
"depth": 2,
|
|
52
|
+
"numbering": [
|
|
53
|
+
1,
|
|
54
|
+
4
|
|
55
|
+
],
|
|
56
|
+
"parent": "root"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"layout": "app-frame",
|
|
60
|
+
"tabs": [
|
|
61
|
+
{
|
|
62
|
+
"key": "overview",
|
|
63
|
+
"title": "Overview",
|
|
64
|
+
"order": 0
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"mdx": "\n# Tables\n\nJSX style props for styling table elements.\n\n## Border Spacing\n\nControl the border-spacing property of a table.\n\n```jsx\n<chakra.table borderSpacing=\"2\">\n <tbody>\n <tr>\n <td>Cell 1</td>\n <td>Cell 2</td>\n </tr>\n </tbody>\n</chakra.table>\n```\n\n| Prop | CSS Property | Token Category |\n| --------------- | ---------------- | -------------- |\n| `borderSpacing` | `border-spacing` | `spacing` |\n\n## Border Spacing X\n\nUse the `borderSpacingX` prop to set the horizontal border-spacing property of a\ntable.\n\n```jsx\n<chakra.table borderSpacingX=\"2\">\n <tbody>\n <tr>\n <td>Cell 1</td>\n <td>Cell 2</td>\n </tr>\n </tbody>\n</chakra.table>\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------- | ---------------- | -------------- |\n| `borderSpacingX` | `border-spacing` | `spacing` |\n\n## Border Spacing Y\n\nUse the `borderSpacingY` prop to set the vertical border-spacing property of a\ntable.\n\n```jsx\n<chakra.table borderSpacingY=\"2\">\n <tbody>\n <tr>\n <td>Cell 1</td>\n <td>Cell 2</td>\n </tr>\n </tbody>\n</chakra.table>\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------- | ---------------- | -------------- |\n| `borderSpacingY` | `border-spacing` | `spacing` |\n\n## Caption Side\n\nUse the `captionSide` prop to set the side of the caption of a table.\n\n```jsx\n<table>\n <chakra.caption captionSide=\"bottom\">This is a caption</chakra.caption>\n <tbody>\n <tr>\n <td>Cell 1</td>\n <td>Cell 2</td>\n </tr>\n </tbody>\n</table>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | -------------- | -------------- |\n| `captionSide` | `caption-side` | - |\n",
|
|
69
|
+
"views": {
|
|
70
|
+
"overview": {
|
|
71
|
+
"mdx": "\n# Tables\n\nJSX style props for styling table elements.\n\n## Border Spacing\n\nControl the border-spacing property of a table.\n\n```jsx\n<chakra.table borderSpacing=\"2\">\n <tbody>\n <tr>\n <td>Cell 1</td>\n <td>Cell 2</td>\n </tr>\n </tbody>\n</chakra.table>\n```\n\n| Prop | CSS Property | Token Category |\n| --------------- | ---------------- | -------------- |\n| `borderSpacing` | `border-spacing` | `spacing` |\n\n## Border Spacing X\n\nUse the `borderSpacingX` prop to set the horizontal border-spacing property of a\ntable.\n\n```jsx\n<chakra.table borderSpacingX=\"2\">\n <tbody>\n <tr>\n <td>Cell 1</td>\n <td>Cell 2</td>\n </tr>\n </tbody>\n</chakra.table>\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------- | ---------------- | -------------- |\n| `borderSpacingX` | `border-spacing` | `spacing` |\n\n## Border Spacing Y\n\nUse the `borderSpacingY` prop to set the vertical border-spacing property of a\ntable.\n\n```jsx\n<chakra.table borderSpacingY=\"2\">\n <tbody>\n <tr>\n <td>Cell 1</td>\n <td>Cell 2</td>\n </tr>\n </tbody>\n</chakra.table>\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------- | ---------------- | -------------- |\n| `borderSpacingY` | `border-spacing` | `spacing` |\n\n## Caption Side\n\nUse the `captionSide` prop to set the side of the caption of a table.\n\n```jsx\n<table>\n <chakra.caption captionSide=\"bottom\">This is a caption</chakra.caption>\n <tbody>\n <tr>\n <td>Cell 1</td>\n <td>Cell 2</td>\n </tr>\n </tbody>\n</table>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | -------------- | -------------- |\n| `captionSide` | `caption-side` | - |\n",
|
|
72
|
+
"toc": [
|
|
73
|
+
{
|
|
74
|
+
"value": "Border Spacing",
|
|
75
|
+
"href": "#border-spacing",
|
|
76
|
+
"depth": 2,
|
|
77
|
+
"numbering": [
|
|
78
|
+
1,
|
|
79
|
+
1
|
|
80
|
+
],
|
|
81
|
+
"parent": "root"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"value": "Border Spacing X",
|
|
85
|
+
"href": "#border-spacing-x",
|
|
86
|
+
"depth": 2,
|
|
87
|
+
"numbering": [
|
|
88
|
+
1,
|
|
89
|
+
2
|
|
90
|
+
],
|
|
91
|
+
"parent": "root"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"value": "Border Spacing Y",
|
|
95
|
+
"href": "#border-spacing-y",
|
|
96
|
+
"depth": 2,
|
|
97
|
+
"numbering": [
|
|
98
|
+
1,
|
|
99
|
+
3
|
|
100
|
+
],
|
|
101
|
+
"parent": "root"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"value": "Caption Side",
|
|
105
|
+
"href": "#caption-side",
|
|
106
|
+
"depth": 2,
|
|
107
|
+
"numbering": [
|
|
108
|
+
1,
|
|
109
|
+
4
|
|
110
|
+
],
|
|
111
|
+
"parent": "root"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"id": "Style Props-Transforms",
|
|
4
|
+
"title": "Transforms",
|
|
5
|
+
"description": "JSX style props for transforming elements.",
|
|
6
|
+
"order": 999,
|
|
7
|
+
"repoPath": "packages/nimbus/src/docs/transforms.mdx",
|
|
8
|
+
"menu": [
|
|
9
|
+
"Home",
|
|
10
|
+
"Style Props",
|
|
11
|
+
"Transforms"
|
|
12
|
+
],
|
|
13
|
+
"route": "home/style-props/transforms",
|
|
14
|
+
"tags": [
|
|
15
|
+
"document"
|
|
16
|
+
],
|
|
17
|
+
"toc": [
|
|
18
|
+
{
|
|
19
|
+
"value": "Scale",
|
|
20
|
+
"href": "#scale",
|
|
21
|
+
"depth": 2,
|
|
22
|
+
"numbering": [
|
|
23
|
+
1,
|
|
24
|
+
1
|
|
25
|
+
],
|
|
26
|
+
"parent": "root"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"value": "Scale X",
|
|
30
|
+
"href": "#scale-x",
|
|
31
|
+
"depth": 2,
|
|
32
|
+
"numbering": [
|
|
33
|
+
1,
|
|
34
|
+
2
|
|
35
|
+
],
|
|
36
|
+
"parent": "root"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"value": "Scale Y",
|
|
40
|
+
"href": "#scale-y",
|
|
41
|
+
"depth": 2,
|
|
42
|
+
"numbering": [
|
|
43
|
+
1,
|
|
44
|
+
3
|
|
45
|
+
],
|
|
46
|
+
"parent": "root"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"value": "Rotate",
|
|
50
|
+
"href": "#rotate",
|
|
51
|
+
"depth": 2,
|
|
52
|
+
"numbering": [
|
|
53
|
+
1,
|
|
54
|
+
4
|
|
55
|
+
],
|
|
56
|
+
"parent": "root"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"value": "Rotate X",
|
|
60
|
+
"href": "#rotate-x",
|
|
61
|
+
"depth": 2,
|
|
62
|
+
"numbering": [
|
|
63
|
+
1,
|
|
64
|
+
5
|
|
65
|
+
],
|
|
66
|
+
"parent": "root"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"value": "Rotate Y",
|
|
70
|
+
"href": "#rotate-y",
|
|
71
|
+
"depth": 2,
|
|
72
|
+
"numbering": [
|
|
73
|
+
1,
|
|
74
|
+
6
|
|
75
|
+
],
|
|
76
|
+
"parent": "root"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"value": "Translate",
|
|
80
|
+
"href": "#translate",
|
|
81
|
+
"depth": 2,
|
|
82
|
+
"numbering": [
|
|
83
|
+
1,
|
|
84
|
+
7
|
|
85
|
+
],
|
|
86
|
+
"parent": "root"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"value": "Translate X",
|
|
90
|
+
"href": "#translate-x",
|
|
91
|
+
"depth": 2,
|
|
92
|
+
"numbering": [
|
|
93
|
+
1,
|
|
94
|
+
8
|
|
95
|
+
],
|
|
96
|
+
"parent": "root"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"value": "Translate Y",
|
|
100
|
+
"href": "#translate-y",
|
|
101
|
+
"depth": 2,
|
|
102
|
+
"numbering": [
|
|
103
|
+
1,
|
|
104
|
+
9
|
|
105
|
+
],
|
|
106
|
+
"parent": "root"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"layout": "app-frame",
|
|
110
|
+
"tabs": [
|
|
111
|
+
{
|
|
112
|
+
"key": "overview",
|
|
113
|
+
"title": "Overview",
|
|
114
|
+
"order": 0
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"mdx": "\n# Transforms\n\nJSX style props for transforming elements.\n\n## Scale\n\nUse the `scale` prop to control the scale of an element.\n\n```jsx\n<Box scale=\"1.2\" />\n```\n\nWhen the `scale` prop is set to `auto`, the `scaleX` and `scaleY` props are used\nto control the scale of the element.\n\n| Prop | CSS Property | Token Category |\n| ------- | ------------ | -------------- |\n| `scale` | `scale` | - |\n\n## Scale X\n\nUse the `scaleX` prop to control the scaleX property of an element. This\nrequires the `scale` prop to be set to `auto`.\n\n```jsx\n<Box scale=\"auto\" scaleX=\"1.3\" />\n```\n\n| Prop | CSS Property | Token Category |\n| -------- | ------------ | -------------- |\n| `scaleX` | `--scale-x` | - |\n\n## Scale Y\n\nUse the `scaleY` prop to control the scaleY property of an element. This\nrequires the `scale` prop to be set to `auto`.\n\n```jsx\n<Box scale=\"auto\" scaleY=\"0.4\" />\n```\n\n| Prop | CSS Property | Token Category |\n| -------- | ------------ | -------------- |\n| `scaleY` | `--scale-y` | - |\n\n## Rotate\n\nUse the `rotate` prop to control the rotate property of an element.\n\n```jsx\n<Box rotate=\"45deg\" />\n```\n\nWhen the `rotate` prop is set to `auto`, the `rotateX` and `rotateY` props are\nused to control the rotate of the element.\n\n| Prop | CSS Property | Token Category |\n| -------- | ------------ | -------------- |\n| `rotate` | `rotate` | - |\n\n## Rotate X\n\nUse the `rotateX` prop to control the rotateX property of an element.\n\n```jsx\n<Box rotateX=\"45deg\" />\n```\n\n| Prop | CSS Property | Token Category |\n| --------- | ------------ | -------------- |\n| `rotateX` | `--rotate-x` | - |\n\n## Rotate Y\n\nUse the `rotateY` prop to control the rotateY property of an element.\n\n```jsx\n<Box rotateY=\"45deg\" />\n```\n\n| Prop | CSS Property | Token Category |\n| --------- | ------------ | -------------- |\n| `rotateY` | `--rotate-y` | - |\n\n## Translate\n\nUse the `translate` prop to control the translate property of an element.\n\n```jsx\n<Box translate=\"40px\" />\n<Box translate=\"50% -40%\" />\n```\n\nWhen the `translate` prop is set to `auto`, the `translateX` and `translateY`\nprops are used to control the translate of the element.\n\n| Prop | CSS Property | Token Category |\n| ----------- | ------------ | -------------- |\n| `translate` | `translate` | - |\n\n## Translate X\n\nUse the `translateX` prop to control the translateX property of an element. This\nrequires the `translate` prop to be set to `auto`.\n\n```jsx\n// hardcoded values\n<Box translate=\"auto\" translateX=\"50%\" />\n<Box translate=\"auto\" translateX=\"20px\" />\n\n// token values\n<Box translate=\"auto\" translateX=\"4\" />\n<Box translate=\"auto\" translateX=\"-10\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | --------------- | -------------- |\n| `translateX` | `--translate-x` | `spacing` |\n\n## Translate Y\n\nUse the `translateY` prop to control the translateY property of an element. This\nrequires the `translate` prop to be set to `auto`.\n\n```jsx\n// hardcoded values\n<Box translate=\"auto\" translateY=\"-40%\" />\n<Box translate=\"auto\" translateY=\"4rem\" />\n\n// token values\n<Box translate=\"auto\" translateY=\"4\" />\n<Box translate=\"auto\" translateY=\"-10\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | --------------- | -------------- |\n| `translateY` | `--translate-y` | `spacing` |\n",
|
|
119
|
+
"views": {
|
|
120
|
+
"overview": {
|
|
121
|
+
"mdx": "\n# Transforms\n\nJSX style props for transforming elements.\n\n## Scale\n\nUse the `scale` prop to control the scale of an element.\n\n```jsx\n<Box scale=\"1.2\" />\n```\n\nWhen the `scale` prop is set to `auto`, the `scaleX` and `scaleY` props are used\nto control the scale of the element.\n\n| Prop | CSS Property | Token Category |\n| ------- | ------------ | -------------- |\n| `scale` | `scale` | - |\n\n## Scale X\n\nUse the `scaleX` prop to control the scaleX property of an element. This\nrequires the `scale` prop to be set to `auto`.\n\n```jsx\n<Box scale=\"auto\" scaleX=\"1.3\" />\n```\n\n| Prop | CSS Property | Token Category |\n| -------- | ------------ | -------------- |\n| `scaleX` | `--scale-x` | - |\n\n## Scale Y\n\nUse the `scaleY` prop to control the scaleY property of an element. This\nrequires the `scale` prop to be set to `auto`.\n\n```jsx\n<Box scale=\"auto\" scaleY=\"0.4\" />\n```\n\n| Prop | CSS Property | Token Category |\n| -------- | ------------ | -------------- |\n| `scaleY` | `--scale-y` | - |\n\n## Rotate\n\nUse the `rotate` prop to control the rotate property of an element.\n\n```jsx\n<Box rotate=\"45deg\" />\n```\n\nWhen the `rotate` prop is set to `auto`, the `rotateX` and `rotateY` props are\nused to control the rotate of the element.\n\n| Prop | CSS Property | Token Category |\n| -------- | ------------ | -------------- |\n| `rotate` | `rotate` | - |\n\n## Rotate X\n\nUse the `rotateX` prop to control the rotateX property of an element.\n\n```jsx\n<Box rotateX=\"45deg\" />\n```\n\n| Prop | CSS Property | Token Category |\n| --------- | ------------ | -------------- |\n| `rotateX` | `--rotate-x` | - |\n\n## Rotate Y\n\nUse the `rotateY` prop to control the rotateY property of an element.\n\n```jsx\n<Box rotateY=\"45deg\" />\n```\n\n| Prop | CSS Property | Token Category |\n| --------- | ------------ | -------------- |\n| `rotateY` | `--rotate-y` | - |\n\n## Translate\n\nUse the `translate` prop to control the translate property of an element.\n\n```jsx\n<Box translate=\"40px\" />\n<Box translate=\"50% -40%\" />\n```\n\nWhen the `translate` prop is set to `auto`, the `translateX` and `translateY`\nprops are used to control the translate of the element.\n\n| Prop | CSS Property | Token Category |\n| ----------- | ------------ | -------------- |\n| `translate` | `translate` | - |\n\n## Translate X\n\nUse the `translateX` prop to control the translateX property of an element. This\nrequires the `translate` prop to be set to `auto`.\n\n```jsx\n// hardcoded values\n<Box translate=\"auto\" translateX=\"50%\" />\n<Box translate=\"auto\" translateX=\"20px\" />\n\n// token values\n<Box translate=\"auto\" translateX=\"4\" />\n<Box translate=\"auto\" translateX=\"-10\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | --------------- | -------------- |\n| `translateX` | `--translate-x` | `spacing` |\n\n## Translate Y\n\nUse the `translateY` prop to control the translateY property of an element. This\nrequires the `translate` prop to be set to `auto`.\n\n```jsx\n// hardcoded values\n<Box translate=\"auto\" translateY=\"-40%\" />\n<Box translate=\"auto\" translateY=\"4rem\" />\n\n// token values\n<Box translate=\"auto\" translateY=\"4\" />\n<Box translate=\"auto\" translateY=\"-10\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | --------------- | -------------- |\n| `translateY` | `--translate-y` | `spacing` |\n",
|
|
122
|
+
"toc": [
|
|
123
|
+
{
|
|
124
|
+
"value": "Scale",
|
|
125
|
+
"href": "#scale",
|
|
126
|
+
"depth": 2,
|
|
127
|
+
"numbering": [
|
|
128
|
+
1,
|
|
129
|
+
1
|
|
130
|
+
],
|
|
131
|
+
"parent": "root"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"value": "Scale X",
|
|
135
|
+
"href": "#scale-x",
|
|
136
|
+
"depth": 2,
|
|
137
|
+
"numbering": [
|
|
138
|
+
1,
|
|
139
|
+
2
|
|
140
|
+
],
|
|
141
|
+
"parent": "root"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"value": "Scale Y",
|
|
145
|
+
"href": "#scale-y",
|
|
146
|
+
"depth": 2,
|
|
147
|
+
"numbering": [
|
|
148
|
+
1,
|
|
149
|
+
3
|
|
150
|
+
],
|
|
151
|
+
"parent": "root"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"value": "Rotate",
|
|
155
|
+
"href": "#rotate",
|
|
156
|
+
"depth": 2,
|
|
157
|
+
"numbering": [
|
|
158
|
+
1,
|
|
159
|
+
4
|
|
160
|
+
],
|
|
161
|
+
"parent": "root"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"value": "Rotate X",
|
|
165
|
+
"href": "#rotate-x",
|
|
166
|
+
"depth": 2,
|
|
167
|
+
"numbering": [
|
|
168
|
+
1,
|
|
169
|
+
5
|
|
170
|
+
],
|
|
171
|
+
"parent": "root"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"value": "Rotate Y",
|
|
175
|
+
"href": "#rotate-y",
|
|
176
|
+
"depth": 2,
|
|
177
|
+
"numbering": [
|
|
178
|
+
1,
|
|
179
|
+
6
|
|
180
|
+
],
|
|
181
|
+
"parent": "root"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"value": "Translate",
|
|
185
|
+
"href": "#translate",
|
|
186
|
+
"depth": 2,
|
|
187
|
+
"numbering": [
|
|
188
|
+
1,
|
|
189
|
+
7
|
|
190
|
+
],
|
|
191
|
+
"parent": "root"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"value": "Translate X",
|
|
195
|
+
"href": "#translate-x",
|
|
196
|
+
"depth": 2,
|
|
197
|
+
"numbering": [
|
|
198
|
+
1,
|
|
199
|
+
8
|
|
200
|
+
],
|
|
201
|
+
"parent": "root"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"value": "Translate Y",
|
|
205
|
+
"href": "#translate-y",
|
|
206
|
+
"depth": 2,
|
|
207
|
+
"numbering": [
|
|
208
|
+
1,
|
|
209
|
+
9
|
|
210
|
+
],
|
|
211
|
+
"parent": "root"
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"id": "Style Props-Transitions",
|
|
4
|
+
"title": "Transitions",
|
|
5
|
+
"description": "JSX style props for controlling an element's transition and animation.",
|
|
6
|
+
"order": 999,
|
|
7
|
+
"repoPath": "packages/nimbus/src/docs/transitions.mdx",
|
|
8
|
+
"menu": [
|
|
9
|
+
"Home",
|
|
10
|
+
"Style Props",
|
|
11
|
+
"Transitions"
|
|
12
|
+
],
|
|
13
|
+
"route": "home/style-props/transitions",
|
|
14
|
+
"tags": [
|
|
15
|
+
"document"
|
|
16
|
+
],
|
|
17
|
+
"toc": [
|
|
18
|
+
{
|
|
19
|
+
"value": "Transition",
|
|
20
|
+
"href": "#transition",
|
|
21
|
+
"depth": 2,
|
|
22
|
+
"numbering": [
|
|
23
|
+
1,
|
|
24
|
+
1
|
|
25
|
+
],
|
|
26
|
+
"parent": "root"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"value": "Transition Timing Function",
|
|
30
|
+
"href": "#transition-timing-function",
|
|
31
|
+
"depth": 2,
|
|
32
|
+
"numbering": [
|
|
33
|
+
1,
|
|
34
|
+
2
|
|
35
|
+
],
|
|
36
|
+
"parent": "root"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"value": "Transition Duration",
|
|
40
|
+
"href": "#transition-duration",
|
|
41
|
+
"depth": 2,
|
|
42
|
+
"numbering": [
|
|
43
|
+
1,
|
|
44
|
+
3
|
|
45
|
+
],
|
|
46
|
+
"parent": "root"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"value": "Transition Delay",
|
|
50
|
+
"href": "#transition-delay",
|
|
51
|
+
"depth": 2,
|
|
52
|
+
"numbering": [
|
|
53
|
+
1,
|
|
54
|
+
4
|
|
55
|
+
],
|
|
56
|
+
"parent": "root"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"value": "Animation",
|
|
60
|
+
"href": "#animation",
|
|
61
|
+
"depth": 2,
|
|
62
|
+
"numbering": [
|
|
63
|
+
1,
|
|
64
|
+
5
|
|
65
|
+
],
|
|
66
|
+
"parent": "root"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"value": "Animation Name",
|
|
70
|
+
"href": "#animation-name",
|
|
71
|
+
"depth": 2,
|
|
72
|
+
"numbering": [
|
|
73
|
+
1,
|
|
74
|
+
6
|
|
75
|
+
],
|
|
76
|
+
"parent": "root"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"value": "Animation Timing Function",
|
|
80
|
+
"href": "#animation-timing-function",
|
|
81
|
+
"depth": 2,
|
|
82
|
+
"numbering": [
|
|
83
|
+
1,
|
|
84
|
+
7
|
|
85
|
+
],
|
|
86
|
+
"parent": "root"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"value": "Animation Duration",
|
|
90
|
+
"href": "#animation-duration",
|
|
91
|
+
"depth": 2,
|
|
92
|
+
"numbering": [
|
|
93
|
+
1,
|
|
94
|
+
8
|
|
95
|
+
],
|
|
96
|
+
"parent": "root"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"value": "Animation Delay",
|
|
100
|
+
"href": "#animation-delay",
|
|
101
|
+
"depth": 2,
|
|
102
|
+
"numbering": [
|
|
103
|
+
1,
|
|
104
|
+
9
|
|
105
|
+
],
|
|
106
|
+
"parent": "root"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"layout": "app-frame",
|
|
110
|
+
"tabs": [
|
|
111
|
+
{
|
|
112
|
+
"key": "overview",
|
|
113
|
+
"title": "Overview",
|
|
114
|
+
"order": 0
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"mdx": "\n# Transitions\n\nJSX style props for controlling an element's transition and animation.\n\n## Transition\n\nUse the `transition` prop to control the transition of an element.\n\n```jsx\n// hardcoded value\n<Box bg=\"red.400\" _hover={{ bg: \"red.500\" }} transition=\"background 0.2s ease-in-out\">\n Hover me\n</Box>\n\n// shortcut value\n<Box bg=\"red.400\" _hover={{ bg: \"red.500\" }} transition=\"backgrounds\">\n Hover me\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | ------------ | -------------- |\n| `transition` | `transition` | - |\n\n## Transition Timing Function\n\nUse the `transitionTimingFunction` prop to control the timing function of a\ntransition.\n\n```jsx\n<Box\n bg=\"red.400\"\n _hover={{ bg: \"red.500\" }}\n transition=\"backgrounds\"\n transitionTimingFunction=\"ease-in-out\"\n>\n Hover me\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| -------------------------- | ---------------------------- | -------------- |\n| `transitionTimingFunction` | `transition-timing-function` | `easings` |\n\n## Transition Duration\n\nUse the `transitionDuration` prop to control the duration of a transition.\n\n```jsx\n<Box\n bg=\"red.400\"\n _hover={{ bg: \"red.500\" }}\n transition=\"backgrounds\"\n transitionDuration=\"fast\"\n>\n Hover me\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| -------------------- | --------------------- | -------------- |\n| `transitionDuration` | `transition-duration` | `durations` |\n\n## Transition Delay\n\nUse the `transitionDelay` prop to control the delay of a transition.\n\n```jsx\n<Box\n bg=\"red.400\"\n _hover={{ bg: \"red.500\" }}\n transition=\"backgrounds\"\n transitionDelay=\"fast\"\n>\n Hover me\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ----------------- | ------------------ | -------------- |\n| `transitionDelay` | `transition-delay` | `durations` |\n\n## Animation\n\nUse the `animation` prop to control the animation of an element.\n\n```jsx\n<Box animation=\"bounce\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ----------- | ---------------- | -------------- |\n| `animation` | `animation-name\t` | `animations` |\n\n## Animation Name\n\nUse the `animationName` prop to control the name of an animation. Compose\nmultiple animation names to create complex animations.\n\n:::info\n\nThe value of the `animation` prop points to a global keyframe animation. Use the\n`theme.keyframes` object to define the animation.\n\n:::\n\n```jsx\n<Box animationName=\"bounce, fade-in\" animationDuration=\"fast\" />\n```\n\n| Prop | CSS Property | Token Category |\n| --------------- | ---------------- | -------------- |\n| `animationName` | `animation-name` | `animations` |\n\n## Animation Timing Function\n\nUse the `animationTimingFunction` prop to control the timing function of an\nanimation.\n\n```jsx\n<Box animation=\"bounce\" animationTimingFunction=\"ease-in-out\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------------- | --------------------------- | -------------- |\n| `animationTimingFunction` | `animation-timing-function` | `easings` |\n\n## Animation Duration\n\nUse the `animationDuration` prop to control the duration of an animation.\n\n```jsx\n<Box animation=\"bounce\" animationDuration=\"fast\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------- | -------------------- | -------------- |\n| `animationDuration` | `animation-duration` | `durations` |\n\n## Animation Delay\n\nUse the `animationDelay` prop to control the delay of an animation.\n\n```jsx\n<Box animation=\"bounce\" animationDelay=\"fast\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------- | ----------------- | -------------- |\n| `animationDelay` | `animation-delay` | `durations` |\n",
|
|
119
|
+
"views": {
|
|
120
|
+
"overview": {
|
|
121
|
+
"mdx": "\n# Transitions\n\nJSX style props for controlling an element's transition and animation.\n\n## Transition\n\nUse the `transition` prop to control the transition of an element.\n\n```jsx\n// hardcoded value\n<Box bg=\"red.400\" _hover={{ bg: \"red.500\" }} transition=\"background 0.2s ease-in-out\">\n Hover me\n</Box>\n\n// shortcut value\n<Box bg=\"red.400\" _hover={{ bg: \"red.500\" }} transition=\"backgrounds\">\n Hover me\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | ------------ | -------------- |\n| `transition` | `transition` | - |\n\n## Transition Timing Function\n\nUse the `transitionTimingFunction` prop to control the timing function of a\ntransition.\n\n```jsx\n<Box\n bg=\"red.400\"\n _hover={{ bg: \"red.500\" }}\n transition=\"backgrounds\"\n transitionTimingFunction=\"ease-in-out\"\n>\n Hover me\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| -------------------------- | ---------------------------- | -------------- |\n| `transitionTimingFunction` | `transition-timing-function` | `easings` |\n\n## Transition Duration\n\nUse the `transitionDuration` prop to control the duration of a transition.\n\n```jsx\n<Box\n bg=\"red.400\"\n _hover={{ bg: \"red.500\" }}\n transition=\"backgrounds\"\n transitionDuration=\"fast\"\n>\n Hover me\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| -------------------- | --------------------- | -------------- |\n| `transitionDuration` | `transition-duration` | `durations` |\n\n## Transition Delay\n\nUse the `transitionDelay` prop to control the delay of a transition.\n\n```jsx\n<Box\n bg=\"red.400\"\n _hover={{ bg: \"red.500\" }}\n transition=\"backgrounds\"\n transitionDelay=\"fast\"\n>\n Hover me\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ----------------- | ------------------ | -------------- |\n| `transitionDelay` | `transition-delay` | `durations` |\n\n## Animation\n\nUse the `animation` prop to control the animation of an element.\n\n```jsx\n<Box animation=\"bounce\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ----------- | ---------------- | -------------- |\n| `animation` | `animation-name\t` | `animations` |\n\n## Animation Name\n\nUse the `animationName` prop to control the name of an animation. Compose\nmultiple animation names to create complex animations.\n\n:::info\n\nThe value of the `animation` prop points to a global keyframe animation. Use the\n`theme.keyframes` object to define the animation.\n\n:::\n\n```jsx\n<Box animationName=\"bounce, fade-in\" animationDuration=\"fast\" />\n```\n\n| Prop | CSS Property | Token Category |\n| --------------- | ---------------- | -------------- |\n| `animationName` | `animation-name` | `animations` |\n\n## Animation Timing Function\n\nUse the `animationTimingFunction` prop to control the timing function of an\nanimation.\n\n```jsx\n<Box animation=\"bounce\" animationTimingFunction=\"ease-in-out\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------------- | --------------------------- | -------------- |\n| `animationTimingFunction` | `animation-timing-function` | `easings` |\n\n## Animation Duration\n\nUse the `animationDuration` prop to control the duration of an animation.\n\n```jsx\n<Box animation=\"bounce\" animationDuration=\"fast\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------- | -------------------- | -------------- |\n| `animationDuration` | `animation-duration` | `durations` |\n\n## Animation Delay\n\nUse the `animationDelay` prop to control the delay of an animation.\n\n```jsx\n<Box animation=\"bounce\" animationDelay=\"fast\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------- | ----------------- | -------------- |\n| `animationDelay` | `animation-delay` | `durations` |\n",
|
|
122
|
+
"toc": [
|
|
123
|
+
{
|
|
124
|
+
"value": "Transition",
|
|
125
|
+
"href": "#transition",
|
|
126
|
+
"depth": 2,
|
|
127
|
+
"numbering": [
|
|
128
|
+
1,
|
|
129
|
+
1
|
|
130
|
+
],
|
|
131
|
+
"parent": "root"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"value": "Transition Timing Function",
|
|
135
|
+
"href": "#transition-timing-function",
|
|
136
|
+
"depth": 2,
|
|
137
|
+
"numbering": [
|
|
138
|
+
1,
|
|
139
|
+
2
|
|
140
|
+
],
|
|
141
|
+
"parent": "root"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"value": "Transition Duration",
|
|
145
|
+
"href": "#transition-duration",
|
|
146
|
+
"depth": 2,
|
|
147
|
+
"numbering": [
|
|
148
|
+
1,
|
|
149
|
+
3
|
|
150
|
+
],
|
|
151
|
+
"parent": "root"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"value": "Transition Delay",
|
|
155
|
+
"href": "#transition-delay",
|
|
156
|
+
"depth": 2,
|
|
157
|
+
"numbering": [
|
|
158
|
+
1,
|
|
159
|
+
4
|
|
160
|
+
],
|
|
161
|
+
"parent": "root"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"value": "Animation",
|
|
165
|
+
"href": "#animation",
|
|
166
|
+
"depth": 2,
|
|
167
|
+
"numbering": [
|
|
168
|
+
1,
|
|
169
|
+
5
|
|
170
|
+
],
|
|
171
|
+
"parent": "root"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"value": "Animation Name",
|
|
175
|
+
"href": "#animation-name",
|
|
176
|
+
"depth": 2,
|
|
177
|
+
"numbering": [
|
|
178
|
+
1,
|
|
179
|
+
6
|
|
180
|
+
],
|
|
181
|
+
"parent": "root"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"value": "Animation Timing Function",
|
|
185
|
+
"href": "#animation-timing-function",
|
|
186
|
+
"depth": 2,
|
|
187
|
+
"numbering": [
|
|
188
|
+
1,
|
|
189
|
+
7
|
|
190
|
+
],
|
|
191
|
+
"parent": "root"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"value": "Animation Duration",
|
|
195
|
+
"href": "#animation-duration",
|
|
196
|
+
"depth": 2,
|
|
197
|
+
"numbering": [
|
|
198
|
+
1,
|
|
199
|
+
8
|
|
200
|
+
],
|
|
201
|
+
"parent": "root"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"value": "Animation Delay",
|
|
205
|
+
"href": "#animation-delay",
|
|
206
|
+
"depth": 2,
|
|
207
|
+
"numbering": [
|
|
208
|
+
1,
|
|
209
|
+
9
|
|
210
|
+
],
|
|
211
|
+
"parent": "root"
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|