@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,422 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"id": "Style Props-Layout",
|
|
4
|
+
"title": "Layout",
|
|
5
|
+
"description": "JSX style props to control the width, height, and spacing of elements",
|
|
6
|
+
"order": 999,
|
|
7
|
+
"repoPath": "packages/nimbus/src/docs/layout.mdx",
|
|
8
|
+
"menu": [
|
|
9
|
+
"Home",
|
|
10
|
+
"Style Props",
|
|
11
|
+
"Layout"
|
|
12
|
+
],
|
|
13
|
+
"route": "home/style-props/layout",
|
|
14
|
+
"tags": [
|
|
15
|
+
"document"
|
|
16
|
+
],
|
|
17
|
+
"toc": [
|
|
18
|
+
{
|
|
19
|
+
"value": "Aspect Ratio",
|
|
20
|
+
"href": "#aspect-ratio",
|
|
21
|
+
"depth": 2,
|
|
22
|
+
"numbering": [
|
|
23
|
+
1,
|
|
24
|
+
1
|
|
25
|
+
],
|
|
26
|
+
"parent": "root"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"value": "Break",
|
|
30
|
+
"href": "#break",
|
|
31
|
+
"depth": 2,
|
|
32
|
+
"numbering": [
|
|
33
|
+
1,
|
|
34
|
+
2
|
|
35
|
+
],
|
|
36
|
+
"parent": "root"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"value": "Break After",
|
|
40
|
+
"href": "#break-after",
|
|
41
|
+
"depth": 3,
|
|
42
|
+
"numbering": [
|
|
43
|
+
1,
|
|
44
|
+
2,
|
|
45
|
+
1
|
|
46
|
+
],
|
|
47
|
+
"parent": "root"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"value": "Break Before",
|
|
51
|
+
"href": "#break-before",
|
|
52
|
+
"depth": 3,
|
|
53
|
+
"numbering": [
|
|
54
|
+
1,
|
|
55
|
+
2,
|
|
56
|
+
2
|
|
57
|
+
],
|
|
58
|
+
"parent": "root"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"value": "Break Inside",
|
|
62
|
+
"href": "#break-inside",
|
|
63
|
+
"depth": 3,
|
|
64
|
+
"numbering": [
|
|
65
|
+
1,
|
|
66
|
+
2,
|
|
67
|
+
3
|
|
68
|
+
],
|
|
69
|
+
"parent": "root"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"value": "Box Decoration Break",
|
|
73
|
+
"href": "#box-decoration-break",
|
|
74
|
+
"depth": 2,
|
|
75
|
+
"numbering": [
|
|
76
|
+
1,
|
|
77
|
+
3
|
|
78
|
+
],
|
|
79
|
+
"parent": "root"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"value": "Box Sizing",
|
|
83
|
+
"href": "#box-sizing",
|
|
84
|
+
"depth": 2,
|
|
85
|
+
"numbering": [
|
|
86
|
+
1,
|
|
87
|
+
4
|
|
88
|
+
],
|
|
89
|
+
"parent": "root"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"value": "Columns",
|
|
93
|
+
"href": "#columns",
|
|
94
|
+
"depth": 2,
|
|
95
|
+
"numbering": [
|
|
96
|
+
1,
|
|
97
|
+
5
|
|
98
|
+
],
|
|
99
|
+
"parent": "root"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"value": "Float",
|
|
103
|
+
"href": "#float",
|
|
104
|
+
"depth": 2,
|
|
105
|
+
"numbering": [
|
|
106
|
+
1,
|
|
107
|
+
6
|
|
108
|
+
],
|
|
109
|
+
"parent": "root"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"value": "Clear",
|
|
113
|
+
"href": "#clear",
|
|
114
|
+
"depth": 2,
|
|
115
|
+
"numbering": [
|
|
116
|
+
1,
|
|
117
|
+
7
|
|
118
|
+
],
|
|
119
|
+
"parent": "root"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"value": "Isolation",
|
|
123
|
+
"href": "#isolation",
|
|
124
|
+
"depth": 2,
|
|
125
|
+
"numbering": [
|
|
126
|
+
1,
|
|
127
|
+
8
|
|
128
|
+
],
|
|
129
|
+
"parent": "root"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"value": "Object Fit",
|
|
133
|
+
"href": "#object-fit",
|
|
134
|
+
"depth": 2,
|
|
135
|
+
"numbering": [
|
|
136
|
+
1,
|
|
137
|
+
9
|
|
138
|
+
],
|
|
139
|
+
"parent": "root"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"value": "Object Position",
|
|
143
|
+
"href": "#object-position",
|
|
144
|
+
"depth": 2,
|
|
145
|
+
"numbering": [
|
|
146
|
+
1,
|
|
147
|
+
10
|
|
148
|
+
],
|
|
149
|
+
"parent": "root"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"value": "Overflow",
|
|
153
|
+
"href": "#overflow",
|
|
154
|
+
"depth": 2,
|
|
155
|
+
"numbering": [
|
|
156
|
+
1,
|
|
157
|
+
11
|
|
158
|
+
],
|
|
159
|
+
"parent": "root"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"value": "Overscroll Behavior",
|
|
163
|
+
"href": "#overscroll-behavior",
|
|
164
|
+
"depth": 2,
|
|
165
|
+
"numbering": [
|
|
166
|
+
1,
|
|
167
|
+
12
|
|
168
|
+
],
|
|
169
|
+
"parent": "root"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"value": "Position",
|
|
173
|
+
"href": "#position",
|
|
174
|
+
"depth": 2,
|
|
175
|
+
"numbering": [
|
|
176
|
+
1,
|
|
177
|
+
13
|
|
178
|
+
],
|
|
179
|
+
"parent": "root"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"value": "Top / Right / Bottom / Left",
|
|
183
|
+
"href": "#top--right--bottom--left",
|
|
184
|
+
"depth": 2,
|
|
185
|
+
"numbering": [
|
|
186
|
+
1,
|
|
187
|
+
14
|
|
188
|
+
],
|
|
189
|
+
"parent": "root"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"value": "Visibility",
|
|
193
|
+
"href": "#visibility",
|
|
194
|
+
"depth": 2,
|
|
195
|
+
"numbering": [
|
|
196
|
+
1,
|
|
197
|
+
15
|
|
198
|
+
],
|
|
199
|
+
"parent": "root"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"value": "Z-Index",
|
|
203
|
+
"href": "#z-index",
|
|
204
|
+
"depth": 2,
|
|
205
|
+
"numbering": [
|
|
206
|
+
1,
|
|
207
|
+
16
|
|
208
|
+
],
|
|
209
|
+
"parent": "root"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"layout": "app-frame",
|
|
213
|
+
"tabs": [
|
|
214
|
+
{
|
|
215
|
+
"key": "overview",
|
|
216
|
+
"title": "Overview",
|
|
217
|
+
"order": 0
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
"mdx": "\n# Layout\n\nJSX style props to control the width, height, and spacing of elements\n\n## Aspect Ratio\n\nUse the `aspectRatio` prop to set the desired aspect ratio of an element.\n\n```jsx\n// raw value\n<Box aspectRatio=\"1.2\" />\n\n// token\n<Box aspectRatio=\"square\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | -------------- | -------------- |\n| `aspectRatio` | `aspect-ratio` | `aspectRatios` |\n\n## Break\n\n### Break After\n\nUse the `breakAfter` prop to set how page, column, or region breaks should\nbehave after an element.\n\n```jsx\n<Box columns=\"2\">\n <Box>Item 1</Box>\n <Box breakAfter=\"page\">Item 2</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | ------------- | -------------- |\n| `breakAfter` | `break-after` | - |\n\n### Break Before\n\nUse the `breakBefore` prop to set how page, column, or region breaks should\nbehave before an element.\n\n```jsx\n<Box columns=\"2\">\n <Box>Item 1</Box>\n <Box breakBefore=\"page\">Item 2</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | -------------- | -------------- |\n| `breakBefore` | `break-before` | - |\n\n### Break Inside\n\nUse the `breakInside` prop to set how page, column, or region breaks should\nbehave inside an element.\n\n```jsx\n<Box columns=\"2\">\n <Box>Item 1</Box>\n <Box breakInside=\"avoid\">Item 2</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | -------------- | -------------- |\n| `breakInside` | `break-inside` | - |\n\n## Box Decoration Break\n\nUse the `boxDecorationBreak` prop to set how box decorations should behave when\nthe box breaks across multiple lines, columns, or pages.\n\n```jsx /boxDecorationBreak/\n<Box bgImage=\"linear-gradient(red, blue)\" boxDecorationBreak=\"clone\">\n Chakra is <br /> great!\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| -------------------- | ---------------------- | -------------- |\n| `boxDecorationBreak` | `box-decoration-break` | - |\n\n## Box Sizing\n\nUse the `boxSizing` prop to set the box sizing of an element.\n\n```jsx /boxSizing/\n<Box boxSizing=\"border-box\" padding=\"4\" width=\"8\" height=\"8\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ----------- | ------------ | -------------- |\n| `boxSizing` | `box-sizing` | - |\n\n## Columns\n\nUse the `columns` prop to set the number of columns for an element.\n\n```jsx\n<Box columns={2} />\n```\n\n| Prop | CSS Property | Token Category |\n| --------- | ------------ | -------------- |\n| `columns` | `columns` | - |\n\n## Float\n\nUse the `float` prop to set the float of an element.\n\n```jsx /float/\n<Box>\n <Text>As much mud in the streets...</Text>\n <Box float=\"left\">Float me</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------- | ------------ | -------------- |\n| `float` | `float` | - |\n\n## Clear\n\nUse the `clear` prop to set whether an element must be moved below (cleared)\nfloating elements that precede it.\n\n```jsx\n<Box>\n <Box float=\"left\">Left</Box>\n <Box float=\"right\">Right</Box>\n <Box clear=\"none\">\n As much mud in the streets as if the waters had but newly retired from the\n face of the earth, and it would not be wonderful to meet a Megalosaurus,\n forty feet long or so, waddling like an elephantine lizard up Holborn Hill.\n </Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------- | ------------ | -------------- |\n| `clear` | `clear` | - |\n\n## Isolation\n\nUse the `isolation` prop to set whether an element should explicitly create a\nnew stacking context.\n\n```jsx\n<Box isolation=\"isolate\">\n <Box bg=\"red.500\" width=\"10\" height=\"10\" />\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ----------- | ------------ | -------------- |\n| `isolation` | `isolation` | - |\n\n## Object Fit\n\nUse the `objectFit` prop to set how an image or video should be resized to fit\nits container.\n\n```jsx\n<Image src=\"...\" objectFit=\"cover\" width=\"10\" height=\"10\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ----------- | ------------ | -------------- |\n| `objectFit` | `object-fit` | - |\n\n## Object Position\n\nUse the `objectPosition` prop to set how an element should be positioned within\nits container.\n\n```jsx\n<Image src=\"...\" objectPosition=\"center\" width=\"10\" height=\"10\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------- | ----------------- | -------------- |\n| `objectPosition` | `object-position` | - |\n\n## Overflow\n\nUse the `overflow` prop to control how content that exceeds an element's\ndimensions is handled. This property determines whether to clip the content, add\nscrollbars, or display the overflow content.\n\n```jsx\n<Box overflow=\"hidden\" maxHeight=\"120px\" />\n<Box overflow=\"auto\" maxHeight=\"120px\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ---------- | ------------ | -------------- |\n| `overflow` | `overflow` | - |\n\n## Overscroll Behavior\n\nUse the `overscrollBehavior` prop to control what the browser does when reaching\nthe boundary of a scrolling area.\n\n```jsx\n<Box maxHeight=\"120px\" overscrollBehavior=\"contain\" />\n```\n\n| Prop | CSS Property | Token Category |\n| -------------------- | --------------------- | -------------- |\n| `overscrollBehavior` | `overscroll-behavior` | - |\n\n## Position\n\nUse the `position` utilities to set the position of an element.\n\n```jsx\n<Box position=\"absolute\" />\n<Box pos=\"absolute\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ---------- | ------------ | -------------- |\n| `position` | `position` | - |\n\n## Top / Right / Bottom / Left\n\nUse the `top`, `right`, `bottom` and `left` utilities to set the position of an\nelement.\n\n```jsx\n<Box position=\"absolute\" top=\"0\" left=\"0\" />\n\n// using spacing tokens\n<Box position=\"absolute\" top=\"4\" />\n\n// using hardcoded values\n<Box position=\"absolute\" top=\"100px\" />\n```\n\nUse the logical equivalents of `inset{Start|End}` utilities to set the position\nof an element based on the writing mode.\n\n```jsx\n<Box position=\"absolute\" insetStart=\"0\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ----------------------------------------- | -------------------- | -------------- |\n| `top` | `top` | `spacing` |\n| `right` | `right` | `spacing` |\n| `bottom` | `bottom` | `spacing` |\n| `left` | `left` | `spacing` |\n| `start`, `insetStart`, `insetInlineStart` | `inset-inline-start` | `spacing` |\n| `end` , `insetEnd`, `insetInlineEnd` | `inset-inline-end` | `spacing` |\n| `insetX`, `insetInline` | `inset-inline` | `spacing` |\n| `insetY`, `insetBlock` | `inset-inline` | `spacing` |\n\n## Visibility\n\nUse the `visibility` prop to control the visibility of an element.\n\n```jsx\n<Box visibility=\"hidden\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | ------------ | -------------- |\n| `visibility` | `visibility` | - |\n\n## Z-Index\n\nUse the `zIndex` prop to set the z-index of an element.\n\n```jsx\n// using hardcoded values\n<Box zIndex=\"1\" />\n\n// using token\n<Box zIndex=\"overlay\" />\n```\n\n| Prop | CSS Property | Token Category |\n| -------- | ------------ | -------------- |\n| `zIndex` | `z-index` | `zIndices` |\n",
|
|
222
|
+
"views": {
|
|
223
|
+
"overview": {
|
|
224
|
+
"mdx": "\n# Layout\n\nJSX style props to control the width, height, and spacing of elements\n\n## Aspect Ratio\n\nUse the `aspectRatio` prop to set the desired aspect ratio of an element.\n\n```jsx\n// raw value\n<Box aspectRatio=\"1.2\" />\n\n// token\n<Box aspectRatio=\"square\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | -------------- | -------------- |\n| `aspectRatio` | `aspect-ratio` | `aspectRatios` |\n\n## Break\n\n### Break After\n\nUse the `breakAfter` prop to set how page, column, or region breaks should\nbehave after an element.\n\n```jsx\n<Box columns=\"2\">\n <Box>Item 1</Box>\n <Box breakAfter=\"page\">Item 2</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | ------------- | -------------- |\n| `breakAfter` | `break-after` | - |\n\n### Break Before\n\nUse the `breakBefore` prop to set how page, column, or region breaks should\nbehave before an element.\n\n```jsx\n<Box columns=\"2\">\n <Box>Item 1</Box>\n <Box breakBefore=\"page\">Item 2</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | -------------- | -------------- |\n| `breakBefore` | `break-before` | - |\n\n### Break Inside\n\nUse the `breakInside` prop to set how page, column, or region breaks should\nbehave inside an element.\n\n```jsx\n<Box columns=\"2\">\n <Box>Item 1</Box>\n <Box breakInside=\"avoid\">Item 2</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | -------------- | -------------- |\n| `breakInside` | `break-inside` | - |\n\n## Box Decoration Break\n\nUse the `boxDecorationBreak` prop to set how box decorations should behave when\nthe box breaks across multiple lines, columns, or pages.\n\n```jsx /boxDecorationBreak/\n<Box bgImage=\"linear-gradient(red, blue)\" boxDecorationBreak=\"clone\">\n Chakra is <br /> great!\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| -------------------- | ---------------------- | -------------- |\n| `boxDecorationBreak` | `box-decoration-break` | - |\n\n## Box Sizing\n\nUse the `boxSizing` prop to set the box sizing of an element.\n\n```jsx /boxSizing/\n<Box boxSizing=\"border-box\" padding=\"4\" width=\"8\" height=\"8\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ----------- | ------------ | -------------- |\n| `boxSizing` | `box-sizing` | - |\n\n## Columns\n\nUse the `columns` prop to set the number of columns for an element.\n\n```jsx\n<Box columns={2} />\n```\n\n| Prop | CSS Property | Token Category |\n| --------- | ------------ | -------------- |\n| `columns` | `columns` | - |\n\n## Float\n\nUse the `float` prop to set the float of an element.\n\n```jsx /float/\n<Box>\n <Text>As much mud in the streets...</Text>\n <Box float=\"left\">Float me</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------- | ------------ | -------------- |\n| `float` | `float` | - |\n\n## Clear\n\nUse the `clear` prop to set whether an element must be moved below (cleared)\nfloating elements that precede it.\n\n```jsx\n<Box>\n <Box float=\"left\">Left</Box>\n <Box float=\"right\">Right</Box>\n <Box clear=\"none\">\n As much mud in the streets as if the waters had but newly retired from the\n face of the earth, and it would not be wonderful to meet a Megalosaurus,\n forty feet long or so, waddling like an elephantine lizard up Holborn Hill.\n </Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------- | ------------ | -------------- |\n| `clear` | `clear` | - |\n\n## Isolation\n\nUse the `isolation` prop to set whether an element should explicitly create a\nnew stacking context.\n\n```jsx\n<Box isolation=\"isolate\">\n <Box bg=\"red.500\" width=\"10\" height=\"10\" />\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ----------- | ------------ | -------------- |\n| `isolation` | `isolation` | - |\n\n## Object Fit\n\nUse the `objectFit` prop to set how an image or video should be resized to fit\nits container.\n\n```jsx\n<Image src=\"...\" objectFit=\"cover\" width=\"10\" height=\"10\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ----------- | ------------ | -------------- |\n| `objectFit` | `object-fit` | - |\n\n## Object Position\n\nUse the `objectPosition` prop to set how an element should be positioned within\nits container.\n\n```jsx\n<Image src=\"...\" objectPosition=\"center\" width=\"10\" height=\"10\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------- | ----------------- | -------------- |\n| `objectPosition` | `object-position` | - |\n\n## Overflow\n\nUse the `overflow` prop to control how content that exceeds an element's\ndimensions is handled. This property determines whether to clip the content, add\nscrollbars, or display the overflow content.\n\n```jsx\n<Box overflow=\"hidden\" maxHeight=\"120px\" />\n<Box overflow=\"auto\" maxHeight=\"120px\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ---------- | ------------ | -------------- |\n| `overflow` | `overflow` | - |\n\n## Overscroll Behavior\n\nUse the `overscrollBehavior` prop to control what the browser does when reaching\nthe boundary of a scrolling area.\n\n```jsx\n<Box maxHeight=\"120px\" overscrollBehavior=\"contain\" />\n```\n\n| Prop | CSS Property | Token Category |\n| -------------------- | --------------------- | -------------- |\n| `overscrollBehavior` | `overscroll-behavior` | - |\n\n## Position\n\nUse the `position` utilities to set the position of an element.\n\n```jsx\n<Box position=\"absolute\" />\n<Box pos=\"absolute\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ---------- | ------------ | -------------- |\n| `position` | `position` | - |\n\n## Top / Right / Bottom / Left\n\nUse the `top`, `right`, `bottom` and `left` utilities to set the position of an\nelement.\n\n```jsx\n<Box position=\"absolute\" top=\"0\" left=\"0\" />\n\n// using spacing tokens\n<Box position=\"absolute\" top=\"4\" />\n\n// using hardcoded values\n<Box position=\"absolute\" top=\"100px\" />\n```\n\nUse the logical equivalents of `inset{Start|End}` utilities to set the position\nof an element based on the writing mode.\n\n```jsx\n<Box position=\"absolute\" insetStart=\"0\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ----------------------------------------- | -------------------- | -------------- |\n| `top` | `top` | `spacing` |\n| `right` | `right` | `spacing` |\n| `bottom` | `bottom` | `spacing` |\n| `left` | `left` | `spacing` |\n| `start`, `insetStart`, `insetInlineStart` | `inset-inline-start` | `spacing` |\n| `end` , `insetEnd`, `insetInlineEnd` | `inset-inline-end` | `spacing` |\n| `insetX`, `insetInline` | `inset-inline` | `spacing` |\n| `insetY`, `insetBlock` | `inset-inline` | `spacing` |\n\n## Visibility\n\nUse the `visibility` prop to control the visibility of an element.\n\n```jsx\n<Box visibility=\"hidden\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | ------------ | -------------- |\n| `visibility` | `visibility` | - |\n\n## Z-Index\n\nUse the `zIndex` prop to set the z-index of an element.\n\n```jsx\n// using hardcoded values\n<Box zIndex=\"1\" />\n\n// using token\n<Box zIndex=\"overlay\" />\n```\n\n| Prop | CSS Property | Token Category |\n| -------- | ------------ | -------------- |\n| `zIndex` | `z-index` | `zIndices` |\n",
|
|
225
|
+
"toc": [
|
|
226
|
+
{
|
|
227
|
+
"value": "Aspect Ratio",
|
|
228
|
+
"href": "#aspect-ratio",
|
|
229
|
+
"depth": 2,
|
|
230
|
+
"numbering": [
|
|
231
|
+
1,
|
|
232
|
+
1
|
|
233
|
+
],
|
|
234
|
+
"parent": "root"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"value": "Break",
|
|
238
|
+
"href": "#break",
|
|
239
|
+
"depth": 2,
|
|
240
|
+
"numbering": [
|
|
241
|
+
1,
|
|
242
|
+
2
|
|
243
|
+
],
|
|
244
|
+
"parent": "root"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"value": "Break After",
|
|
248
|
+
"href": "#break-after",
|
|
249
|
+
"depth": 3,
|
|
250
|
+
"numbering": [
|
|
251
|
+
1,
|
|
252
|
+
2,
|
|
253
|
+
1
|
|
254
|
+
],
|
|
255
|
+
"parent": "root"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"value": "Break Before",
|
|
259
|
+
"href": "#break-before",
|
|
260
|
+
"depth": 3,
|
|
261
|
+
"numbering": [
|
|
262
|
+
1,
|
|
263
|
+
2,
|
|
264
|
+
2
|
|
265
|
+
],
|
|
266
|
+
"parent": "root"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"value": "Break Inside",
|
|
270
|
+
"href": "#break-inside",
|
|
271
|
+
"depth": 3,
|
|
272
|
+
"numbering": [
|
|
273
|
+
1,
|
|
274
|
+
2,
|
|
275
|
+
3
|
|
276
|
+
],
|
|
277
|
+
"parent": "root"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"value": "Box Decoration Break",
|
|
281
|
+
"href": "#box-decoration-break",
|
|
282
|
+
"depth": 2,
|
|
283
|
+
"numbering": [
|
|
284
|
+
1,
|
|
285
|
+
3
|
|
286
|
+
],
|
|
287
|
+
"parent": "root"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"value": "Box Sizing",
|
|
291
|
+
"href": "#box-sizing",
|
|
292
|
+
"depth": 2,
|
|
293
|
+
"numbering": [
|
|
294
|
+
1,
|
|
295
|
+
4
|
|
296
|
+
],
|
|
297
|
+
"parent": "root"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"value": "Columns",
|
|
301
|
+
"href": "#columns",
|
|
302
|
+
"depth": 2,
|
|
303
|
+
"numbering": [
|
|
304
|
+
1,
|
|
305
|
+
5
|
|
306
|
+
],
|
|
307
|
+
"parent": "root"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"value": "Float",
|
|
311
|
+
"href": "#float",
|
|
312
|
+
"depth": 2,
|
|
313
|
+
"numbering": [
|
|
314
|
+
1,
|
|
315
|
+
6
|
|
316
|
+
],
|
|
317
|
+
"parent": "root"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"value": "Clear",
|
|
321
|
+
"href": "#clear",
|
|
322
|
+
"depth": 2,
|
|
323
|
+
"numbering": [
|
|
324
|
+
1,
|
|
325
|
+
7
|
|
326
|
+
],
|
|
327
|
+
"parent": "root"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"value": "Isolation",
|
|
331
|
+
"href": "#isolation",
|
|
332
|
+
"depth": 2,
|
|
333
|
+
"numbering": [
|
|
334
|
+
1,
|
|
335
|
+
8
|
|
336
|
+
],
|
|
337
|
+
"parent": "root"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"value": "Object Fit",
|
|
341
|
+
"href": "#object-fit",
|
|
342
|
+
"depth": 2,
|
|
343
|
+
"numbering": [
|
|
344
|
+
1,
|
|
345
|
+
9
|
|
346
|
+
],
|
|
347
|
+
"parent": "root"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"value": "Object Position",
|
|
351
|
+
"href": "#object-position",
|
|
352
|
+
"depth": 2,
|
|
353
|
+
"numbering": [
|
|
354
|
+
1,
|
|
355
|
+
10
|
|
356
|
+
],
|
|
357
|
+
"parent": "root"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"value": "Overflow",
|
|
361
|
+
"href": "#overflow",
|
|
362
|
+
"depth": 2,
|
|
363
|
+
"numbering": [
|
|
364
|
+
1,
|
|
365
|
+
11
|
|
366
|
+
],
|
|
367
|
+
"parent": "root"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"value": "Overscroll Behavior",
|
|
371
|
+
"href": "#overscroll-behavior",
|
|
372
|
+
"depth": 2,
|
|
373
|
+
"numbering": [
|
|
374
|
+
1,
|
|
375
|
+
12
|
|
376
|
+
],
|
|
377
|
+
"parent": "root"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"value": "Position",
|
|
381
|
+
"href": "#position",
|
|
382
|
+
"depth": 2,
|
|
383
|
+
"numbering": [
|
|
384
|
+
1,
|
|
385
|
+
13
|
|
386
|
+
],
|
|
387
|
+
"parent": "root"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"value": "Top / Right / Bottom / Left",
|
|
391
|
+
"href": "#top--right--bottom--left",
|
|
392
|
+
"depth": 2,
|
|
393
|
+
"numbering": [
|
|
394
|
+
1,
|
|
395
|
+
14
|
|
396
|
+
],
|
|
397
|
+
"parent": "root"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"value": "Visibility",
|
|
401
|
+
"href": "#visibility",
|
|
402
|
+
"depth": 2,
|
|
403
|
+
"numbering": [
|
|
404
|
+
1,
|
|
405
|
+
15
|
|
406
|
+
],
|
|
407
|
+
"parent": "root"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"value": "Z-Index",
|
|
411
|
+
"href": "#z-index",
|
|
412
|
+
"depth": 2,
|
|
413
|
+
"numbering": [
|
|
414
|
+
1,
|
|
415
|
+
16
|
|
416
|
+
],
|
|
417
|
+
"parent": "root"
|
|
418
|
+
}
|
|
419
|
+
]
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"id": "Style Props-List",
|
|
4
|
+
"title": "List",
|
|
5
|
+
"description": "JSX style props for customizing list styles.",
|
|
6
|
+
"order": 999,
|
|
7
|
+
"repoPath": "packages/nimbus/src/docs/list.mdx",
|
|
8
|
+
"menu": [
|
|
9
|
+
"Home",
|
|
10
|
+
"Style Props",
|
|
11
|
+
"List"
|
|
12
|
+
],
|
|
13
|
+
"route": "home/style-props/list",
|
|
14
|
+
"tags": [
|
|
15
|
+
"document"
|
|
16
|
+
],
|
|
17
|
+
"toc": [
|
|
18
|
+
{
|
|
19
|
+
"value": "List Style Type",
|
|
20
|
+
"href": "#list-style-type",
|
|
21
|
+
"depth": 2,
|
|
22
|
+
"numbering": [
|
|
23
|
+
1,
|
|
24
|
+
1
|
|
25
|
+
],
|
|
26
|
+
"parent": "root"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"value": "List Style Position",
|
|
30
|
+
"href": "#list-style-position",
|
|
31
|
+
"depth": 2,
|
|
32
|
+
"numbering": [
|
|
33
|
+
1,
|
|
34
|
+
2
|
|
35
|
+
],
|
|
36
|
+
"parent": "root"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"value": "List Style Image",
|
|
40
|
+
"href": "#list-style-image",
|
|
41
|
+
"depth": 2,
|
|
42
|
+
"numbering": [
|
|
43
|
+
1,
|
|
44
|
+
3
|
|
45
|
+
],
|
|
46
|
+
"parent": "root"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"value": "Markers",
|
|
50
|
+
"href": "#markers",
|
|
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# List\n\nJSX style props for customizing list styles.\n\n## List Style Type\n\nUse the `listStyleType` property to set the type of the list marker.\n\n```jsx\n<Box as=\"ul\" listStyleType=\"circle\">\n <li>Item 1</li>\n <li>Item 2</li>\n <li>Item 3</li>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| --------------- | ----------------- | -------------- |\n| `listStyleType` | `list-style-type` | - |\n\n## List Style Position\n\nUse the `listStylePosition` property to set the position of the list marker.\n\n```jsx\n<Box as=\"ul\" listStylePosition=\"inside\">\n <li>Item 1</li>\n <li>Item 2</li>\n <li>Item 3</li>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------- | --------------------- | -------------- |\n| `listStylePosition` | `list-style-position` | - |\n\n## List Style Image\n\nUse the `listStyleImage` property to set the image of the list marker.\n\n```jsx\n<Box as=\"ul\" listStyleImage=\"url(...)\">\n <li>Item 1</li>\n <li>Item 2</li>\n <li>Item 3</li>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------- | ------------------ | -------------- |\n| `listStyleImage` | `list-style-image` | `assets` |\n\n## Markers\n\nUse the `_marker` property to set the marker of a list item.\n\n```jsx /_marker/\n<ul>\n <Box as=\"li\" _marker={{ color: \"red\" }}>\n Item 1\n </Box>\n <Box as=\"li\" _marker={{ color: \"blue\" }}>\n Item 2\n </Box>\n <Box as=\"li\" _marker={{ color: \"green\" }}>\n Item 3\n </Box>\n</ul>\n```\n",
|
|
69
|
+
"views": {
|
|
70
|
+
"overview": {
|
|
71
|
+
"mdx": "\n# List\n\nJSX style props for customizing list styles.\n\n## List Style Type\n\nUse the `listStyleType` property to set the type of the list marker.\n\n```jsx\n<Box as=\"ul\" listStyleType=\"circle\">\n <li>Item 1</li>\n <li>Item 2</li>\n <li>Item 3</li>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| --------------- | ----------------- | -------------- |\n| `listStyleType` | `list-style-type` | - |\n\n## List Style Position\n\nUse the `listStylePosition` property to set the position of the list marker.\n\n```jsx\n<Box as=\"ul\" listStylePosition=\"inside\">\n <li>Item 1</li>\n <li>Item 2</li>\n <li>Item 3</li>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------- | --------------------- | -------------- |\n| `listStylePosition` | `list-style-position` | - |\n\n## List Style Image\n\nUse the `listStyleImage` property to set the image of the list marker.\n\n```jsx\n<Box as=\"ul\" listStyleImage=\"url(...)\">\n <li>Item 1</li>\n <li>Item 2</li>\n <li>Item 3</li>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------- | ------------------ | -------------- |\n| `listStyleImage` | `list-style-image` | `assets` |\n\n## Markers\n\nUse the `_marker` property to set the marker of a list item.\n\n```jsx /_marker/\n<ul>\n <Box as=\"li\" _marker={{ color: \"red\" }}>\n Item 1\n </Box>\n <Box as=\"li\" _marker={{ color: \"blue\" }}>\n Item 2\n </Box>\n <Box as=\"li\" _marker={{ color: \"green\" }}>\n Item 3\n </Box>\n</ul>\n```\n",
|
|
72
|
+
"toc": [
|
|
73
|
+
{
|
|
74
|
+
"value": "List Style Type",
|
|
75
|
+
"href": "#list-style-type",
|
|
76
|
+
"depth": 2,
|
|
77
|
+
"numbering": [
|
|
78
|
+
1,
|
|
79
|
+
1
|
|
80
|
+
],
|
|
81
|
+
"parent": "root"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"value": "List Style Position",
|
|
85
|
+
"href": "#list-style-position",
|
|
86
|
+
"depth": 2,
|
|
87
|
+
"numbering": [
|
|
88
|
+
1,
|
|
89
|
+
2
|
|
90
|
+
],
|
|
91
|
+
"parent": "root"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"value": "List Style Image",
|
|
95
|
+
"href": "#list-style-image",
|
|
96
|
+
"depth": 2,
|
|
97
|
+
"numbering": [
|
|
98
|
+
1,
|
|
99
|
+
3
|
|
100
|
+
],
|
|
101
|
+
"parent": "root"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"value": "Markers",
|
|
105
|
+
"href": "#markers",
|
|
106
|
+
"depth": 2,
|
|
107
|
+
"numbering": [
|
|
108
|
+
1,
|
|
109
|
+
4
|
|
110
|
+
],
|
|
111
|
+
"parent": "root"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|