@commercetools/nimbus-mcp 0.1.0 → 2.11.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 +10998 -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-scrollarea.json +428 -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 +179 -0
- package/data/docs/types/ScrollAreaElementIds.json +9 -0
- package/data/docs/types/ScrollAreaProps.json +9 -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 +280 -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,244 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"id": "Style Props-Sizing",
|
|
4
|
+
"title": "Sizing",
|
|
5
|
+
"description": "JSX style props for sizing an element",
|
|
6
|
+
"order": 999,
|
|
7
|
+
"repoPath": "packages/nimbus/src/docs/sizing.mdx",
|
|
8
|
+
"menu": [
|
|
9
|
+
"Home",
|
|
10
|
+
"Style Props",
|
|
11
|
+
"Sizing"
|
|
12
|
+
],
|
|
13
|
+
"route": "home/style-props/sizing",
|
|
14
|
+
"tags": [
|
|
15
|
+
"document"
|
|
16
|
+
],
|
|
17
|
+
"toc": [
|
|
18
|
+
{
|
|
19
|
+
"value": "Width",
|
|
20
|
+
"href": "#width",
|
|
21
|
+
"depth": 2,
|
|
22
|
+
"numbering": [
|
|
23
|
+
1,
|
|
24
|
+
1
|
|
25
|
+
],
|
|
26
|
+
"parent": "root"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"value": "Fractional width",
|
|
30
|
+
"href": "#fractional-width",
|
|
31
|
+
"depth": 3,
|
|
32
|
+
"numbering": [
|
|
33
|
+
1,
|
|
34
|
+
1,
|
|
35
|
+
1
|
|
36
|
+
],
|
|
37
|
+
"parent": "root"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"value": "Viewport width",
|
|
41
|
+
"href": "#viewport-width",
|
|
42
|
+
"depth": 3,
|
|
43
|
+
"numbering": [
|
|
44
|
+
1,
|
|
45
|
+
1,
|
|
46
|
+
2
|
|
47
|
+
],
|
|
48
|
+
"parent": "root"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"value": "Max width",
|
|
52
|
+
"href": "#max-width",
|
|
53
|
+
"depth": 2,
|
|
54
|
+
"numbering": [
|
|
55
|
+
1,
|
|
56
|
+
2
|
|
57
|
+
],
|
|
58
|
+
"parent": "root"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"value": "Min width",
|
|
62
|
+
"href": "#min-width",
|
|
63
|
+
"depth": 2,
|
|
64
|
+
"numbering": [
|
|
65
|
+
1,
|
|
66
|
+
3
|
|
67
|
+
],
|
|
68
|
+
"parent": "root"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"value": "Height",
|
|
72
|
+
"href": "#height",
|
|
73
|
+
"depth": 2,
|
|
74
|
+
"numbering": [
|
|
75
|
+
1,
|
|
76
|
+
4
|
|
77
|
+
],
|
|
78
|
+
"parent": "root"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"value": "Fractional height",
|
|
82
|
+
"href": "#fractional-height",
|
|
83
|
+
"depth": 3,
|
|
84
|
+
"numbering": [
|
|
85
|
+
1,
|
|
86
|
+
4,
|
|
87
|
+
1
|
|
88
|
+
],
|
|
89
|
+
"parent": "root"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"value": "Relative heights",
|
|
93
|
+
"href": "#relative-heights",
|
|
94
|
+
"depth": 3,
|
|
95
|
+
"numbering": [
|
|
96
|
+
1,
|
|
97
|
+
4,
|
|
98
|
+
2
|
|
99
|
+
],
|
|
100
|
+
"parent": "root"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"value": "Max height",
|
|
104
|
+
"href": "#max-height",
|
|
105
|
+
"depth": 2,
|
|
106
|
+
"numbering": [
|
|
107
|
+
1,
|
|
108
|
+
5
|
|
109
|
+
],
|
|
110
|
+
"parent": "root"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"value": "Min height",
|
|
114
|
+
"href": "#min-height",
|
|
115
|
+
"depth": 2,
|
|
116
|
+
"numbering": [
|
|
117
|
+
1,
|
|
118
|
+
6
|
|
119
|
+
],
|
|
120
|
+
"parent": "root"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"layout": "app-frame",
|
|
124
|
+
"tabs": [
|
|
125
|
+
{
|
|
126
|
+
"key": "overview",
|
|
127
|
+
"title": "Overview",
|
|
128
|
+
"order": 0
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
"mdx": "\n# Sizing\n\nJSX style props for sizing an element\n\n## Width\n\nUse the `width` or `w` property to set the width of an element.\n\n```jsx\n// hardcoded values\n<Box width=\"64px\" />\n<Box w=\"4rem\" />\n\n// token values\n<Box width=\"5\" />\n<Box w=\"5\" />\n```\n\n### Fractional width\n\nUse can set fractional widths using the `width` or `w` property.\n\nValues can be within the following ranges:\n\n- Thirds: `1/3` to `2/3`\n- Fourths: `1/4` to `3/4`\n- Fifths: `1/5` to `4/5`\n- Sixths: `1/6` to `5/6`\n- Twelfths: `1/12` to `11/12`\n\n```jsx\n// half width\n<Flex>\n <Box width=\"1/2\" />\n <Box width=\"1/2\" />\n</Flex>\n\n// thirds\n<Flex>\n <Box width=\"1/3\" />\n <Box width=\"2/3\" />\n</Flex>\n\n// fourths\n<Flex>\n <Box width=\"1/4\" />\n <Box width=\"3/4\" />\n</Flex>\n\n// fifths\n<Flex>\n <Box width=\"1/5\" />\n <Box width=\"4/5\" />\n</Flex>\n\n// sixths\n<Flex>\n <Box width=\"1/6\" />\n <Box width=\"5/6\" />\n</Flex>\n\n// twelfths\n<Flex>\n <Box width=\"3/12\" />\n <Box width=\"9/12\" />\n</Flex>\n```\n\n### Viewport width\n\nUse the modern viewport width values `dvw`, `svw`, `lvw`.\n\n> [!NOTE] \n> `dvw` maps to `100dvw`, `svw` maps to `100svw`, `lvw` maps to `100lvw`.\n\n```jsx\n<Box width=\"dvw\" />\n<Box w=\"dvw\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | ------------ | -------------- |\n| `w`, `width` | `width` | `sizes` |\n\n## Max width\n\nUse the `maxWidth` or `maxW` property to set the maximum width of an element.\n\n```jsx\n// hardcoded values\n<Box maxWidth=\"640px\" />\n<Box maxW=\"4rem\" /> // shorthand\n\n// token values\n<Box maxWidth=\"xl\" />\n<Box maxW=\"2xl\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------ | ------------ | -------------- |\n| `maxW`, `maxWidth` | `max-width` | `sizes` |\n\n## Min width\n\nUse the `minWidth` or `minW` property to set the minimum width of an element.\n\n```jsx\n// hardcoded values\n<Box minWidth=\"64px\" />\n<Box minW=\"4rem\" /> // shorthand\n\n// token values\n<Box minWidth=\"8\" />\n<Box minW=\"10\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------ | ------------ | -------------- |\n| `w`, `width` | `width` | `sizing` |\n| `maxW`, `maxWidth` | `max-width` | `sizing` |\n| `minW`, `minWidth` | `min-width` | `sizing` |\n\n## Height\n\nUse the `height` or `h` property to set the height of an element.\n\n```jsx\n// hardcoded values\n<Box height=\"40px\" />\n<Box h=\"0.4rem\" /> // shorthand\n\n// token values\n<Box height=\"5\" />\n<Box h=\"5\" /> // shorthand\n```\n\n### Fractional height\n\nUse can set fractional heights using the `height` or `h` property.\n\nValues can be within the following ranges:\n\n- Thirds: `1/3` to `2/3`\n- Fourths: `1/4` to `3/4`\n- Fifths: `1/5` to `4/5`\n- Sixths: `1/6` to `5/6`\n\n```jsx\n<Box height=\"1/2\" />\n<Box h=\"1/2\" /> // shorthand\n```\n\n### Relative heights\n\nUse the modern relative height values `dvh`, `svh`, `lvh`.\n\n> [!NOTE] \n> `dvh` maps to `100dvh`, `svh` maps to `100svh`, `lvh` maps to `100lvh`.\n\n```jsx\n<Box height=\"dvh\" />\n<Box h=\"dvh\" /> // shorthand\n```\n\n## Max height\n\nUse the `maxHeight` or `maxH` property to set the maximum height of an element.\n\n```jsx\n// hardcoded values\n<Box maxHeight=\"40px\" />\n<Box maxH=\"0.4rem\" /> // shorthand\n\n// token values\n<Box maxHeight=\"8\" />\n<Box maxH=\"10\" /> // shorthand\n```\n\n## Min height\n\nUse the `minHeight` or `minH` property to set the minimum height of an element.\n\n```jsx\n// hardcoded values\n<Box minHeight=\"40px\" />\n<Box minH=\"0.4rem\" /> // shorthand\n\n// token values\n<Box minHeight=\"8\" />\n<Box minH=\"10\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------- | ------------ | -------------- |\n| `h`, `height` | `height` | `sizes` |\n| `maxH`, `maxHeight` | `max-height` | `sizes` |\n| `minH`, `minHeight` | `min-height` | `sizes` |\n",
|
|
133
|
+
"views": {
|
|
134
|
+
"overview": {
|
|
135
|
+
"mdx": "\n# Sizing\n\nJSX style props for sizing an element\n\n## Width\n\nUse the `width` or `w` property to set the width of an element.\n\n```jsx\n// hardcoded values\n<Box width=\"64px\" />\n<Box w=\"4rem\" />\n\n// token values\n<Box width=\"5\" />\n<Box w=\"5\" />\n```\n\n### Fractional width\n\nUse can set fractional widths using the `width` or `w` property.\n\nValues can be within the following ranges:\n\n- Thirds: `1/3` to `2/3`\n- Fourths: `1/4` to `3/4`\n- Fifths: `1/5` to `4/5`\n- Sixths: `1/6` to `5/6`\n- Twelfths: `1/12` to `11/12`\n\n```jsx\n// half width\n<Flex>\n <Box width=\"1/2\" />\n <Box width=\"1/2\" />\n</Flex>\n\n// thirds\n<Flex>\n <Box width=\"1/3\" />\n <Box width=\"2/3\" />\n</Flex>\n\n// fourths\n<Flex>\n <Box width=\"1/4\" />\n <Box width=\"3/4\" />\n</Flex>\n\n// fifths\n<Flex>\n <Box width=\"1/5\" />\n <Box width=\"4/5\" />\n</Flex>\n\n// sixths\n<Flex>\n <Box width=\"1/6\" />\n <Box width=\"5/6\" />\n</Flex>\n\n// twelfths\n<Flex>\n <Box width=\"3/12\" />\n <Box width=\"9/12\" />\n</Flex>\n```\n\n### Viewport width\n\nUse the modern viewport width values `dvw`, `svw`, `lvw`.\n\n> [!NOTE] \n> `dvw` maps to `100dvw`, `svw` maps to `100svw`, `lvw` maps to `100lvw`.\n\n```jsx\n<Box width=\"dvw\" />\n<Box w=\"dvw\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | ------------ | -------------- |\n| `w`, `width` | `width` | `sizes` |\n\n## Max width\n\nUse the `maxWidth` or `maxW` property to set the maximum width of an element.\n\n```jsx\n// hardcoded values\n<Box maxWidth=\"640px\" />\n<Box maxW=\"4rem\" /> // shorthand\n\n// token values\n<Box maxWidth=\"xl\" />\n<Box maxW=\"2xl\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------ | ------------ | -------------- |\n| `maxW`, `maxWidth` | `max-width` | `sizes` |\n\n## Min width\n\nUse the `minWidth` or `minW` property to set the minimum width of an element.\n\n```jsx\n// hardcoded values\n<Box minWidth=\"64px\" />\n<Box minW=\"4rem\" /> // shorthand\n\n// token values\n<Box minWidth=\"8\" />\n<Box minW=\"10\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------ | ------------ | -------------- |\n| `w`, `width` | `width` | `sizing` |\n| `maxW`, `maxWidth` | `max-width` | `sizing` |\n| `minW`, `minWidth` | `min-width` | `sizing` |\n\n## Height\n\nUse the `height` or `h` property to set the height of an element.\n\n```jsx\n// hardcoded values\n<Box height=\"40px\" />\n<Box h=\"0.4rem\" /> // shorthand\n\n// token values\n<Box height=\"5\" />\n<Box h=\"5\" /> // shorthand\n```\n\n### Fractional height\n\nUse can set fractional heights using the `height` or `h` property.\n\nValues can be within the following ranges:\n\n- Thirds: `1/3` to `2/3`\n- Fourths: `1/4` to `3/4`\n- Fifths: `1/5` to `4/5`\n- Sixths: `1/6` to `5/6`\n\n```jsx\n<Box height=\"1/2\" />\n<Box h=\"1/2\" /> // shorthand\n```\n\n### Relative heights\n\nUse the modern relative height values `dvh`, `svh`, `lvh`.\n\n> [!NOTE] \n> `dvh` maps to `100dvh`, `svh` maps to `100svh`, `lvh` maps to `100lvh`.\n\n```jsx\n<Box height=\"dvh\" />\n<Box h=\"dvh\" /> // shorthand\n```\n\n## Max height\n\nUse the `maxHeight` or `maxH` property to set the maximum height of an element.\n\n```jsx\n// hardcoded values\n<Box maxHeight=\"40px\" />\n<Box maxH=\"0.4rem\" /> // shorthand\n\n// token values\n<Box maxHeight=\"8\" />\n<Box maxH=\"10\" /> // shorthand\n```\n\n## Min height\n\nUse the `minHeight` or `minH` property to set the minimum height of an element.\n\n```jsx\n// hardcoded values\n<Box minHeight=\"40px\" />\n<Box minH=\"0.4rem\" /> // shorthand\n\n// token values\n<Box minHeight=\"8\" />\n<Box minH=\"10\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------- | ------------ | -------------- |\n| `h`, `height` | `height` | `sizes` |\n| `maxH`, `maxHeight` | `max-height` | `sizes` |\n| `minH`, `minHeight` | `min-height` | `sizes` |\n",
|
|
136
|
+
"toc": [
|
|
137
|
+
{
|
|
138
|
+
"value": "Width",
|
|
139
|
+
"href": "#width",
|
|
140
|
+
"depth": 2,
|
|
141
|
+
"numbering": [
|
|
142
|
+
1,
|
|
143
|
+
1
|
|
144
|
+
],
|
|
145
|
+
"parent": "root"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"value": "Fractional width",
|
|
149
|
+
"href": "#fractional-width",
|
|
150
|
+
"depth": 3,
|
|
151
|
+
"numbering": [
|
|
152
|
+
1,
|
|
153
|
+
1,
|
|
154
|
+
1
|
|
155
|
+
],
|
|
156
|
+
"parent": "root"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"value": "Viewport width",
|
|
160
|
+
"href": "#viewport-width",
|
|
161
|
+
"depth": 3,
|
|
162
|
+
"numbering": [
|
|
163
|
+
1,
|
|
164
|
+
1,
|
|
165
|
+
2
|
|
166
|
+
],
|
|
167
|
+
"parent": "root"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"value": "Max width",
|
|
171
|
+
"href": "#max-width",
|
|
172
|
+
"depth": 2,
|
|
173
|
+
"numbering": [
|
|
174
|
+
1,
|
|
175
|
+
2
|
|
176
|
+
],
|
|
177
|
+
"parent": "root"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"value": "Min width",
|
|
181
|
+
"href": "#min-width",
|
|
182
|
+
"depth": 2,
|
|
183
|
+
"numbering": [
|
|
184
|
+
1,
|
|
185
|
+
3
|
|
186
|
+
],
|
|
187
|
+
"parent": "root"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"value": "Height",
|
|
191
|
+
"href": "#height",
|
|
192
|
+
"depth": 2,
|
|
193
|
+
"numbering": [
|
|
194
|
+
1,
|
|
195
|
+
4
|
|
196
|
+
],
|
|
197
|
+
"parent": "root"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"value": "Fractional height",
|
|
201
|
+
"href": "#fractional-height",
|
|
202
|
+
"depth": 3,
|
|
203
|
+
"numbering": [
|
|
204
|
+
1,
|
|
205
|
+
4,
|
|
206
|
+
1
|
|
207
|
+
],
|
|
208
|
+
"parent": "root"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"value": "Relative heights",
|
|
212
|
+
"href": "#relative-heights",
|
|
213
|
+
"depth": 3,
|
|
214
|
+
"numbering": [
|
|
215
|
+
1,
|
|
216
|
+
4,
|
|
217
|
+
2
|
|
218
|
+
],
|
|
219
|
+
"parent": "root"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"value": "Max height",
|
|
223
|
+
"href": "#max-height",
|
|
224
|
+
"depth": 2,
|
|
225
|
+
"numbering": [
|
|
226
|
+
1,
|
|
227
|
+
5
|
|
228
|
+
],
|
|
229
|
+
"parent": "root"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"value": "Min height",
|
|
233
|
+
"href": "#min-height",
|
|
234
|
+
"depth": 2,
|
|
235
|
+
"numbering": [
|
|
236
|
+
1,
|
|
237
|
+
6
|
|
238
|
+
],
|
|
239
|
+
"parent": "root"
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"id": "Style Props-Spacing",
|
|
4
|
+
"title": "Spacing",
|
|
5
|
+
"description": "JSX style props for controlling the padding and margin of an element.",
|
|
6
|
+
"order": 999,
|
|
7
|
+
"repoPath": "packages/nimbus/src/docs/spacing.mdx",
|
|
8
|
+
"menu": [
|
|
9
|
+
"Home",
|
|
10
|
+
"Style Props",
|
|
11
|
+
"Spacing"
|
|
12
|
+
],
|
|
13
|
+
"route": "home/style-props/spacing",
|
|
14
|
+
"tags": [
|
|
15
|
+
"document"
|
|
16
|
+
],
|
|
17
|
+
"toc": [
|
|
18
|
+
{
|
|
19
|
+
"value": "Padding",
|
|
20
|
+
"href": "#padding",
|
|
21
|
+
"depth": 2,
|
|
22
|
+
"numbering": [
|
|
23
|
+
1,
|
|
24
|
+
1
|
|
25
|
+
],
|
|
26
|
+
"parent": "root"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"value": "All sides",
|
|
30
|
+
"href": "#all-sides",
|
|
31
|
+
"depth": 3,
|
|
32
|
+
"numbering": [
|
|
33
|
+
1,
|
|
34
|
+
1,
|
|
35
|
+
1
|
|
36
|
+
],
|
|
37
|
+
"parent": "root"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"value": "Specific side",
|
|
41
|
+
"href": "#specific-side",
|
|
42
|
+
"depth": 3,
|
|
43
|
+
"numbering": [
|
|
44
|
+
1,
|
|
45
|
+
1,
|
|
46
|
+
2
|
|
47
|
+
],
|
|
48
|
+
"parent": "root"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"value": "Horizontal and Vertical padding",
|
|
52
|
+
"href": "#horizontal-and-vertical-padding",
|
|
53
|
+
"depth": 3,
|
|
54
|
+
"numbering": [
|
|
55
|
+
1,
|
|
56
|
+
1,
|
|
57
|
+
3
|
|
58
|
+
],
|
|
59
|
+
"parent": "root"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"value": "Margin",
|
|
63
|
+
"href": "#margin",
|
|
64
|
+
"depth": 2,
|
|
65
|
+
"numbering": [
|
|
66
|
+
1,
|
|
67
|
+
2
|
|
68
|
+
],
|
|
69
|
+
"parent": "root"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"value": "All sides",
|
|
73
|
+
"href": "#all-sides-1",
|
|
74
|
+
"depth": 3,
|
|
75
|
+
"numbering": [
|
|
76
|
+
1,
|
|
77
|
+
2,
|
|
78
|
+
1
|
|
79
|
+
],
|
|
80
|
+
"parent": "root"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"value": "Specific side",
|
|
84
|
+
"href": "#specific-side-1",
|
|
85
|
+
"depth": 3,
|
|
86
|
+
"numbering": [
|
|
87
|
+
1,
|
|
88
|
+
2,
|
|
89
|
+
2
|
|
90
|
+
],
|
|
91
|
+
"parent": "root"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"value": "Horizontal and Vertical margin",
|
|
95
|
+
"href": "#horizontal-and-vertical-margin",
|
|
96
|
+
"depth": 3,
|
|
97
|
+
"numbering": [
|
|
98
|
+
1,
|
|
99
|
+
2,
|
|
100
|
+
3
|
|
101
|
+
],
|
|
102
|
+
"parent": "root"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"value": "Spacing Between",
|
|
106
|
+
"href": "#spacing-between",
|
|
107
|
+
"depth": 2,
|
|
108
|
+
"numbering": [
|
|
109
|
+
1,
|
|
110
|
+
3
|
|
111
|
+
],
|
|
112
|
+
"parent": "root"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"layout": "app-frame",
|
|
116
|
+
"tabs": [
|
|
117
|
+
{
|
|
118
|
+
"key": "overview",
|
|
119
|
+
"title": "Overview",
|
|
120
|
+
"order": 0
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"mdx": "\n# Spacing\n\nJSX style props for controlling the padding and margin of an element.\n\n## Padding\n\n### All sides\n\nUse the `padding` prop to apply padding on all sides of an element\n\n```jsx\n// raw value\n<Box padding=\"40px\" />\n<Box p=\"40px\" /> // shorthand\n\n// token value\n<Box padding=\"4\" />\n<Box p=\"4\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | ------------ | -------------- |\n| `p`,`padding` | `padding` | `spacing` |\n\n### Specific side\n\nUse the `padding{Left,Right,Top,Bottom}` to apply padding on one side of an\nelement\n\n```jsx\n<Box paddingLeft=\"3\" />\n<Box pl=\"3\" /> // shorthand\n\n<Box paddingTop=\"3\" />\n<Box pt=\"3\" /> // shorthand\n```\n\nUse the `padding{Start,End}` props to apply padding on the logical axis of an\nelement based on the text direction.\n\n```jsx\n<div className={css({ paddingStart: '8' })} />\n<div className={css({ ps: '8' })} /> // shorthand\n\n<div className={css({ paddingEnd: '8' })} />\n<div className={css({ pe: '8' })} /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| --------------------- | ---------------------- | -------------- |\n| `pl`, `paddingLeft` | `padding-left` | `spacing` |\n| `pr`, `paddingRight` | `padding-right` | `spacing` |\n| `pt`, `paddingTop` | `padding-top` | `spacing` |\n| `pb`, `paddingBottom` | `padding-bottom` | `spacing` |\n| `ps`, `paddingStart` | `padding-inline-start` | `spacing` |\n| `pe`, `paddingEnd` | `padding-inline-end` | `spacing` |\n\n### Horizontal and Vertical padding\n\nUse the `padding{X,Y}` props to apply padding on the horizontal and vertical\naxis of an element\n\n```jsx\n<Box paddingX=\"8\" />\n<Box px=\"8\" /> // shorthand\n\n<Box paddingY=\"8\" />\n<Box py=\"8\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| --------------------- | ---------------------- | -------------- |\n| `p`,`padding` | `padding` | `spacing` |\n| `pl`, `paddingLeft` | `padding-left` | `spacing` |\n| `pr`, `paddingRight` | `padding-right` | `spacing` |\n| `pt`, `paddingTop` | `padding-top` | `spacing` |\n| `pb`, `paddingBottom` | `padding-bottom` | `spacing` |\n| `px`, `paddingX` | `padding-inline` | `spacing` |\n| `py`, `paddingY` | `padding-block` | `spacing` |\n| `ps`, `paddingStart` | `padding-inline-start` | `spacing` |\n| `pe`, `paddingEnd` | `padding-inline-end` | `spacing` |\n\n## Margin\n\n### All sides\n\nUse the `margin` prop to apply margin on all sides of an element\n\n```jsx\n<Box margin=\"5\" />\n<Box m=\"5\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | ------------ | -------------- |\n| `m`,`margin` | `margin` | `spacing` |\n\n### Specific side\n\nUse the `margin{Left,Right,Top,Bottom}` to apply margin on one side of an\nelement\n\n```jsx\n<Box marginLeft=\"3\" />\n<Box ml=\"3\" /> // shorthand\n\n<Box marginTop=\"3\" />\n<Box mt=\"3\" /> // shorthand\n```\n\nUse the `margin{Start,End}` properties to apply margin on the logical axis of an\nelement based on the text direction.\n\n```jsx\n<Box marginStart=\"8\" />\n<Box ms=\"8\" /> // shorthand\n\n<Box marginEnd=\"8\" />\n<Box me=\"8\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| -------------------- | --------------------- | -------------- |\n| `ml`, `marginLeft` | `margin-left` | `spacing` |\n| `mr`, `marginRight` | `margin-right` | `spacing` |\n| `mt`, `marginTop` | `margin-top` | `spacing` |\n| `mb`, `marginBottom` | `margin-bottom` | `spacing` |\n| `ms`, `marginStart` | `margin-inline-start` | `spacing` |\n| `me`, `marginEnd` | `margin-inline-end` | `spacing` |\n\n### Horizontal and Vertical margin\n\nUse the `margin{X,Y}` properties to apply margin on the horizontal and vertical\naxis of an element\n\n```jsx\n<Box marginX=\"8\" />\n<Box mx=\"8\" /> // shorthand\n\n<Box marginY=\"8\" />\n<Box my=\"8\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| --------------- | ------------- | -------------- |\n| `mx`, `marginX` | `margin-left` | `spacing` |\n| `my`, `marginY` | `margin-top` | `spacing` |\n\n## Spacing Between\n\nUse the `space{X,Y}` props to apply spacing between elements. This approach uses\nthe owl selector `> * + *` to apply the spacing between the elements using\n`margin*` properties.\n\n:::info\n\nIt's recommended to use the `space` prop over the `gap` prop for spacing when\nyou need negative spacing.\n\n:::\n\n```jsx\n<Box display=\"flex\" spaceX=\"8\">\n <Box>Item 1</Box>\n <Box>Item 2</Box>\n <Box>Item 3</Box>\n</Box>\n\n<Box display=\"flex\" spaceY=\"8\">\n <Box>Item 1</Box>\n <Box>Item 2</Box>\n <Box>Item 3</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| -------- | --------------------- | -------------- |\n| `spaceX` | `margin-inline-start` | `spacing` |\n| `spaceY` | `margin-block-start` | `spacing` |\n",
|
|
125
|
+
"views": {
|
|
126
|
+
"overview": {
|
|
127
|
+
"mdx": "\n# Spacing\n\nJSX style props for controlling the padding and margin of an element.\n\n## Padding\n\n### All sides\n\nUse the `padding` prop to apply padding on all sides of an element\n\n```jsx\n// raw value\n<Box padding=\"40px\" />\n<Box p=\"40px\" /> // shorthand\n\n// token value\n<Box padding=\"4\" />\n<Box p=\"4\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | ------------ | -------------- |\n| `p`,`padding` | `padding` | `spacing` |\n\n### Specific side\n\nUse the `padding{Left,Right,Top,Bottom}` to apply padding on one side of an\nelement\n\n```jsx\n<Box paddingLeft=\"3\" />\n<Box pl=\"3\" /> // shorthand\n\n<Box paddingTop=\"3\" />\n<Box pt=\"3\" /> // shorthand\n```\n\nUse the `padding{Start,End}` props to apply padding on the logical axis of an\nelement based on the text direction.\n\n```jsx\n<div className={css({ paddingStart: '8' })} />\n<div className={css({ ps: '8' })} /> // shorthand\n\n<div className={css({ paddingEnd: '8' })} />\n<div className={css({ pe: '8' })} /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| --------------------- | ---------------------- | -------------- |\n| `pl`, `paddingLeft` | `padding-left` | `spacing` |\n| `pr`, `paddingRight` | `padding-right` | `spacing` |\n| `pt`, `paddingTop` | `padding-top` | `spacing` |\n| `pb`, `paddingBottom` | `padding-bottom` | `spacing` |\n| `ps`, `paddingStart` | `padding-inline-start` | `spacing` |\n| `pe`, `paddingEnd` | `padding-inline-end` | `spacing` |\n\n### Horizontal and Vertical padding\n\nUse the `padding{X,Y}` props to apply padding on the horizontal and vertical\naxis of an element\n\n```jsx\n<Box paddingX=\"8\" />\n<Box px=\"8\" /> // shorthand\n\n<Box paddingY=\"8\" />\n<Box py=\"8\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| --------------------- | ---------------------- | -------------- |\n| `p`,`padding` | `padding` | `spacing` |\n| `pl`, `paddingLeft` | `padding-left` | `spacing` |\n| `pr`, `paddingRight` | `padding-right` | `spacing` |\n| `pt`, `paddingTop` | `padding-top` | `spacing` |\n| `pb`, `paddingBottom` | `padding-bottom` | `spacing` |\n| `px`, `paddingX` | `padding-inline` | `spacing` |\n| `py`, `paddingY` | `padding-block` | `spacing` |\n| `ps`, `paddingStart` | `padding-inline-start` | `spacing` |\n| `pe`, `paddingEnd` | `padding-inline-end` | `spacing` |\n\n## Margin\n\n### All sides\n\nUse the `margin` prop to apply margin on all sides of an element\n\n```jsx\n<Box margin=\"5\" />\n<Box m=\"5\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------ | ------------ | -------------- |\n| `m`,`margin` | `margin` | `spacing` |\n\n### Specific side\n\nUse the `margin{Left,Right,Top,Bottom}` to apply margin on one side of an\nelement\n\n```jsx\n<Box marginLeft=\"3\" />\n<Box ml=\"3\" /> // shorthand\n\n<Box marginTop=\"3\" />\n<Box mt=\"3\" /> // shorthand\n```\n\nUse the `margin{Start,End}` properties to apply margin on the logical axis of an\nelement based on the text direction.\n\n```jsx\n<Box marginStart=\"8\" />\n<Box ms=\"8\" /> // shorthand\n\n<Box marginEnd=\"8\" />\n<Box me=\"8\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| -------------------- | --------------------- | -------------- |\n| `ml`, `marginLeft` | `margin-left` | `spacing` |\n| `mr`, `marginRight` | `margin-right` | `spacing` |\n| `mt`, `marginTop` | `margin-top` | `spacing` |\n| `mb`, `marginBottom` | `margin-bottom` | `spacing` |\n| `ms`, `marginStart` | `margin-inline-start` | `spacing` |\n| `me`, `marginEnd` | `margin-inline-end` | `spacing` |\n\n### Horizontal and Vertical margin\n\nUse the `margin{X,Y}` properties to apply margin on the horizontal and vertical\naxis of an element\n\n```jsx\n<Box marginX=\"8\" />\n<Box mx=\"8\" /> // shorthand\n\n<Box marginY=\"8\" />\n<Box my=\"8\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| --------------- | ------------- | -------------- |\n| `mx`, `marginX` | `margin-left` | `spacing` |\n| `my`, `marginY` | `margin-top` | `spacing` |\n\n## Spacing Between\n\nUse the `space{X,Y}` props to apply spacing between elements. This approach uses\nthe owl selector `> * + *` to apply the spacing between the elements using\n`margin*` properties.\n\n:::info\n\nIt's recommended to use the `space` prop over the `gap` prop for spacing when\nyou need negative spacing.\n\n:::\n\n```jsx\n<Box display=\"flex\" spaceX=\"8\">\n <Box>Item 1</Box>\n <Box>Item 2</Box>\n <Box>Item 3</Box>\n</Box>\n\n<Box display=\"flex\" spaceY=\"8\">\n <Box>Item 1</Box>\n <Box>Item 2</Box>\n <Box>Item 3</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| -------- | --------------------- | -------------- |\n| `spaceX` | `margin-inline-start` | `spacing` |\n| `spaceY` | `margin-block-start` | `spacing` |\n",
|
|
128
|
+
"toc": [
|
|
129
|
+
{
|
|
130
|
+
"value": "Padding",
|
|
131
|
+
"href": "#padding",
|
|
132
|
+
"depth": 2,
|
|
133
|
+
"numbering": [
|
|
134
|
+
1,
|
|
135
|
+
1
|
|
136
|
+
],
|
|
137
|
+
"parent": "root"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"value": "All sides",
|
|
141
|
+
"href": "#all-sides",
|
|
142
|
+
"depth": 3,
|
|
143
|
+
"numbering": [
|
|
144
|
+
1,
|
|
145
|
+
1,
|
|
146
|
+
1
|
|
147
|
+
],
|
|
148
|
+
"parent": "root"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"value": "Specific side",
|
|
152
|
+
"href": "#specific-side",
|
|
153
|
+
"depth": 3,
|
|
154
|
+
"numbering": [
|
|
155
|
+
1,
|
|
156
|
+
1,
|
|
157
|
+
2
|
|
158
|
+
],
|
|
159
|
+
"parent": "root"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"value": "Horizontal and Vertical padding",
|
|
163
|
+
"href": "#horizontal-and-vertical-padding",
|
|
164
|
+
"depth": 3,
|
|
165
|
+
"numbering": [
|
|
166
|
+
1,
|
|
167
|
+
1,
|
|
168
|
+
3
|
|
169
|
+
],
|
|
170
|
+
"parent": "root"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"value": "Margin",
|
|
174
|
+
"href": "#margin",
|
|
175
|
+
"depth": 2,
|
|
176
|
+
"numbering": [
|
|
177
|
+
1,
|
|
178
|
+
2
|
|
179
|
+
],
|
|
180
|
+
"parent": "root"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"value": "All sides",
|
|
184
|
+
"href": "#all-sides-1",
|
|
185
|
+
"depth": 3,
|
|
186
|
+
"numbering": [
|
|
187
|
+
1,
|
|
188
|
+
2,
|
|
189
|
+
1
|
|
190
|
+
],
|
|
191
|
+
"parent": "root"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"value": "Specific side",
|
|
195
|
+
"href": "#specific-side-1",
|
|
196
|
+
"depth": 3,
|
|
197
|
+
"numbering": [
|
|
198
|
+
1,
|
|
199
|
+
2,
|
|
200
|
+
2
|
|
201
|
+
],
|
|
202
|
+
"parent": "root"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"value": "Horizontal and Vertical margin",
|
|
206
|
+
"href": "#horizontal-and-vertical-margin",
|
|
207
|
+
"depth": 3,
|
|
208
|
+
"numbering": [
|
|
209
|
+
1,
|
|
210
|
+
2,
|
|
211
|
+
3
|
|
212
|
+
],
|
|
213
|
+
"parent": "root"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"value": "Spacing Between",
|
|
217
|
+
"href": "#spacing-between",
|
|
218
|
+
"depth": 2,
|
|
219
|
+
"numbering": [
|
|
220
|
+
1,
|
|
221
|
+
3
|
|
222
|
+
],
|
|
223
|
+
"parent": "root"
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"id": "Style Props-SVG",
|
|
4
|
+
"title": "SVG",
|
|
5
|
+
"description": "JSX style props for SVG elements.",
|
|
6
|
+
"order": 999,
|
|
7
|
+
"repoPath": "packages/nimbus/src/docs/svg.mdx",
|
|
8
|
+
"menu": [
|
|
9
|
+
"Home",
|
|
10
|
+
"Style Props",
|
|
11
|
+
"SVG"
|
|
12
|
+
],
|
|
13
|
+
"route": "home/style-props/svg",
|
|
14
|
+
"tags": [
|
|
15
|
+
"document"
|
|
16
|
+
],
|
|
17
|
+
"toc": [
|
|
18
|
+
{
|
|
19
|
+
"value": "Fill",
|
|
20
|
+
"href": "#fill",
|
|
21
|
+
"depth": 2,
|
|
22
|
+
"numbering": [
|
|
23
|
+
1,
|
|
24
|
+
1
|
|
25
|
+
],
|
|
26
|
+
"parent": "root"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"value": "Stroke",
|
|
30
|
+
"href": "#stroke",
|
|
31
|
+
"depth": 2,
|
|
32
|
+
"numbering": [
|
|
33
|
+
1,
|
|
34
|
+
2
|
|
35
|
+
],
|
|
36
|
+
"parent": "root"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"value": "Stroke Width",
|
|
40
|
+
"href": "#stroke-width",
|
|
41
|
+
"depth": 2,
|
|
42
|
+
"numbering": [
|
|
43
|
+
1,
|
|
44
|
+
3
|
|
45
|
+
],
|
|
46
|
+
"parent": "root"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"layout": "app-frame",
|
|
50
|
+
"tabs": [
|
|
51
|
+
{
|
|
52
|
+
"key": "overview",
|
|
53
|
+
"title": "Overview",
|
|
54
|
+
"order": 0
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"mdx": "\n# SVG\n\nJSX style props for SVG elements.\n\n## Fill\n\nUse the `fill` prop to set the fill color of an SVG element.\n\n```jsx\n<chakra.svg fill=\"blue.500\">\n <path d=\"...\" />\n</chakra.svg>\n```\n\n| Prop | CSS Property | Token Category |\n| ------ | ------------ | -------------- |\n| `fill` | `fill` | `colors` |\n\n## Stroke\n\nUse the `stroke` prop to set the stroke color of an SVG element.\n\n```jsx\n<chakra.svg stroke=\"blue.500\">\n <path d=\"...\" />\n</chakra.svg>\n```\n\n| Prop | CSS Property | Token Category |\n| -------- | ------------ | -------------- |\n| `stroke` | `stroke` | `colors` |\n\n## Stroke Width\n\nUse the `strokeWidth` prop to set the stroke width of an SVG element.\n\n```jsx\n<chakra.svg strokeWidth=\"1px\">\n <path d=\"...\" />\n</chakra.svg>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | -------------- | -------------- |\n| `strokeWidth` | `stroke-width` | `borderWidths` |\n",
|
|
59
|
+
"views": {
|
|
60
|
+
"overview": {
|
|
61
|
+
"mdx": "\n# SVG\n\nJSX style props for SVG elements.\n\n## Fill\n\nUse the `fill` prop to set the fill color of an SVG element.\n\n```jsx\n<chakra.svg fill=\"blue.500\">\n <path d=\"...\" />\n</chakra.svg>\n```\n\n| Prop | CSS Property | Token Category |\n| ------ | ------------ | -------------- |\n| `fill` | `fill` | `colors` |\n\n## Stroke\n\nUse the `stroke` prop to set the stroke color of an SVG element.\n\n```jsx\n<chakra.svg stroke=\"blue.500\">\n <path d=\"...\" />\n</chakra.svg>\n```\n\n| Prop | CSS Property | Token Category |\n| -------- | ------------ | -------------- |\n| `stroke` | `stroke` | `colors` |\n\n## Stroke Width\n\nUse the `strokeWidth` prop to set the stroke width of an SVG element.\n\n```jsx\n<chakra.svg strokeWidth=\"1px\">\n <path d=\"...\" />\n</chakra.svg>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | -------------- | -------------- |\n| `strokeWidth` | `stroke-width` | `borderWidths` |\n",
|
|
62
|
+
"toc": [
|
|
63
|
+
{
|
|
64
|
+
"value": "Fill",
|
|
65
|
+
"href": "#fill",
|
|
66
|
+
"depth": 2,
|
|
67
|
+
"numbering": [
|
|
68
|
+
1,
|
|
69
|
+
1
|
|
70
|
+
],
|
|
71
|
+
"parent": "root"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"value": "Stroke",
|
|
75
|
+
"href": "#stroke",
|
|
76
|
+
"depth": 2,
|
|
77
|
+
"numbering": [
|
|
78
|
+
1,
|
|
79
|
+
2
|
|
80
|
+
],
|
|
81
|
+
"parent": "root"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"value": "Stroke Width",
|
|
85
|
+
"href": "#stroke-width",
|
|
86
|
+
"depth": 2,
|
|
87
|
+
"numbering": [
|
|
88
|
+
1,
|
|
89
|
+
3
|
|
90
|
+
],
|
|
91
|
+
"parent": "root"
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|