@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,310 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"id": "Style Props-Border",
|
|
4
|
+
"title": "Border",
|
|
5
|
+
"description": "JSX style props for styling border and border radius.",
|
|
6
|
+
"order": 999,
|
|
7
|
+
"repoPath": "packages/nimbus/src/docs/border.mdx",
|
|
8
|
+
"menu": [
|
|
9
|
+
"Home",
|
|
10
|
+
"Style Props",
|
|
11
|
+
"Border"
|
|
12
|
+
],
|
|
13
|
+
"route": "home/style-props/border",
|
|
14
|
+
"tags": [
|
|
15
|
+
"document"
|
|
16
|
+
],
|
|
17
|
+
"toc": [
|
|
18
|
+
{
|
|
19
|
+
"value": "Border Radius",
|
|
20
|
+
"href": "#border-radius",
|
|
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 sides",
|
|
41
|
+
"href": "#specific-sides",
|
|
42
|
+
"depth": 3,
|
|
43
|
+
"numbering": [
|
|
44
|
+
1,
|
|
45
|
+
1,
|
|
46
|
+
2
|
|
47
|
+
],
|
|
48
|
+
"parent": "root"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"value": "Specific corners",
|
|
52
|
+
"href": "#specific-corners",
|
|
53
|
+
"depth": 3,
|
|
54
|
+
"numbering": [
|
|
55
|
+
1,
|
|
56
|
+
1,
|
|
57
|
+
3
|
|
58
|
+
],
|
|
59
|
+
"parent": "root"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"value": "Border Width",
|
|
63
|
+
"href": "#border-width",
|
|
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 sides",
|
|
84
|
+
"href": "#specific-sides-1",
|
|
85
|
+
"depth": 3,
|
|
86
|
+
"numbering": [
|
|
87
|
+
1,
|
|
88
|
+
2,
|
|
89
|
+
2
|
|
90
|
+
],
|
|
91
|
+
"parent": "root"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"value": "Border Color",
|
|
95
|
+
"href": "#border-color",
|
|
96
|
+
"depth": 2,
|
|
97
|
+
"numbering": [
|
|
98
|
+
1,
|
|
99
|
+
3
|
|
100
|
+
],
|
|
101
|
+
"parent": "root"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"value": "All sides",
|
|
105
|
+
"href": "#all-sides-2",
|
|
106
|
+
"depth": 3,
|
|
107
|
+
"numbering": [
|
|
108
|
+
1,
|
|
109
|
+
3,
|
|
110
|
+
1
|
|
111
|
+
],
|
|
112
|
+
"parent": "root"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"value": "Specific sides",
|
|
116
|
+
"href": "#specific-sides-2",
|
|
117
|
+
"depth": 3,
|
|
118
|
+
"numbering": [
|
|
119
|
+
1,
|
|
120
|
+
3,
|
|
121
|
+
2
|
|
122
|
+
],
|
|
123
|
+
"parent": "root"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"value": "Divide Width",
|
|
127
|
+
"href": "#divide-width",
|
|
128
|
+
"depth": 2,
|
|
129
|
+
"numbering": [
|
|
130
|
+
1,
|
|
131
|
+
4
|
|
132
|
+
],
|
|
133
|
+
"parent": "root"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"value": "Divide Color",
|
|
137
|
+
"href": "#divide-color",
|
|
138
|
+
"depth": 2,
|
|
139
|
+
"numbering": [
|
|
140
|
+
1,
|
|
141
|
+
5
|
|
142
|
+
],
|
|
143
|
+
"parent": "root"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"value": "Divide Style",
|
|
147
|
+
"href": "#divide-style",
|
|
148
|
+
"depth": 2,
|
|
149
|
+
"numbering": [
|
|
150
|
+
1,
|
|
151
|
+
6
|
|
152
|
+
],
|
|
153
|
+
"parent": "root"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"layout": "app-frame",
|
|
157
|
+
"tabs": [
|
|
158
|
+
{
|
|
159
|
+
"key": "overview",
|
|
160
|
+
"title": "Overview",
|
|
161
|
+
"order": 0
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
"mdx": "\n# Border\n\nJSX style props for styling border and border radius.\n\n## Border Radius\n\n### All sides\n\nUse the `rounded` or `borderRadius` props to apply border radius on all sides of\nan element.\n\n```jsx\n<Box borderRadius=\"400\" />\n<Box rounded=\"400\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------------- | --------------- | -------------- |\n| `rounded`, `borderRadius` | `border-radius` | `radii` |\n\n### Specific sides\n\nUse the `rounded{Left,Right,Top,Bottom}` or\n`border{Left,Right,Top,Bottom}Radius` prop, to apply border radius on a specific\nside of an element.\n\n```jsx\n<Box borderTopRadius=\"md\" />\n<Box roundedTop=\"md\" /> // shorthand\n\n<Box borderLeftRadius=\"md\" />\n<Box roundedLeft=\"md\" /> // shorthand\n```\n\nUse the logical equivalent to make the border radius adapt based on the text\ndirection.\n\n```jsx\n<Box roundedStart=\"md\" />\n<Box roundedEnd=\"md\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------------------------- | ------------------------------------------------------ | -------------- |\n| `roundedLeft`, `borderLeftRadius` | `border-left-radius` | `radii` |\n| `roundedRight`, `borderRightRadius` | `border-right-radius` | `radii` |\n| `roundedTop`, `borderTopRadius` | `border-top-radius` | `radii` |\n| `roundedBottom`, `borderBottomRadius` | `border-bottom-radius` | `radii` |\n| `roundedStart`, `borderStartRadius` | `border-start-start-radius`, `border-end-start-radius` | `radii` |\n| `roundedEnd`, `borderEndRadius` | `border-start-end-radius`, `border-end-end-radius` | `radii` |\n\n### Specific corners\n\nUse the `border{Top,Bottom}{Left,Right}Radius` properties, or the shorthand\nequivalent to round a specific corner.\n\n```jsx\n<Box borderTopLeftRadius=\"md\" />\n<Box roundedTopLeft=\"md\" /> // shorthand\n```\n\nUse the logical properties to adapt based on the text direction.\n\n```jsx\n<Box borderStartStartRadius=\"md\" />\n<Box roundedStartStart=\"md\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------------------------------- | ---------------------------- | -------------- |\n| `roundedTopLeft`,`borderTopLeftRadius` | `border-top-left-radius` | `radii` |\n| `roundedTopRight`,`borderTopRight` | `border-top-right-radius` | `radii` |\n| `roundedBottomRight`,`borderBottomRight` | `border-bottom-right-radius` | `radii` |\n| `roundedBottomLeft`,`borderBottomLeft` | `border-bottom-left-radius` | `radii` |\n\n## Border Width\n\n### All sides\n\nUse the `borderWidth` prop to apply border width on all sides of an element.\n\n> Chakra applies `borderStyle: solid` and a global border color by default.\n> Specifying a border width is sufficient to apply the border.\n\n```jsx\n<Box borderWidth=\"1px\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | -------------- | -------------- |\n| `borderWidth` | `border-width` | `borderWidths` |\n\n### Specific sides\n\nUse the `border{Left|Right|Top|Bottom}Width` prop to apply border width on a\nspecific side of an element.\n\n```jsx\n<Box borderTopWidth=\"1px\" />\n<Box borderLeftWidth=\"1px\" />\n```\n\nUse the logical equivalent to make the border width adapt based on the text\ndirection.\n\n```jsx\n<Box borderInlineStartWidth=\"1px\" />\n<Box borderInlineWidth=\"1px\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| --------------------------------------------- | --------------------------- | -------------- |\n| `borderTopWidth` | `border-top-width` | `borderWidths` |\n| `borderLeftWidth` | `border-left-width` | `borderWidths` |\n| `borderRightWidth` | `border-right-width` | `borderWidths` |\n| `borderBottomWidth` | `border-bottom-width` | `borderWidths` |\n| `borderStartWidth` , `borderInlineStartWidth` | `border-{start+end}-width` |\n| `borderEndWidth` , `borderInlineEndWidth` | `border-{start+end}-width` |\n| `borderXWidth` , `borderInlineWidth` | `border-{left,right}-width` | `borderWidths` |\n| `borderYWidth` , `borderBlockWidth` | `border-{top,bottom}-width` | `borderWidths` |\n\n## Border Color\n\n### All sides\n\nUse the `borderColor` prop to apply border color on all sides of an element.\n\n```jsx\n<Box borderColor=\"red.400\" />\n\n// with opacity modifier\n<Box borderColor=\"red.400/20\" />\n```\n\n### Specific sides\n\nUse the `border{Left,Right,Top,Bottom}Color` prop to apply border color on a\nspecific side of an element.\n\n```jsx\n<Box borderTopColor=\"red.400\" />\n<Box borderLeftColor=\"red.400\" />\n```\n\nUse the logical properties to adapt based on the text direction.\n\n```jsx\n<Box borderStartColor=\"red.400\" />\n<Box borderEndColor=\"red.400\" />\n```\n\n| Prop | CSS Property | Token Category |\n| --------------------------------------------- | -------------------------- | -------------- |\n| `borderColor` | `border-color` | `colors` |\n| `borderTopColor` | `border-top-color` | `colors` |\n| `borderLeftColor` | `border-left-color` | `colors` |\n| `borderRightColor` | `border-right-color` | `colors` |\n| `borderBottomColor` | `border-bottom-color` | `colors` |\n| `borderStartColor` , `borderInlineStartColor` | `border-{start,end}-color` | `colors` |\n| `borderEndColor` , `borderInlineEndColor` | `border-{start,end}-color` | `colors` |\n| `borderXColor`, `borderInlineColor` | `border-inline-color` | `colors` |\n| `borderYColor`, `borderBlockColor` | `border-block-color` | `colors` |\n\n## Divide Width\n\nUse the `divide{X,Y}Width` prop to apply border width between elements. It uses\nthe CSS selector `> * + *` to apply the `border*` properties.\n\n```jsx\n<Box divideXWidth=\"1px\">\n <Box>1</Box>\n <Box>2</Box>\n</Box>\n\n<Box divideYWidth=\"1px\">\n <Box>1</Box>\n <Box>2</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | ----------------------------------- | -------------- |\n| `divideWidth` | `border-{inline,block}-start-width` | `borderWidths` |\n\n## Divide Color\n\nUse the `divideColor` prop to apply border color between elements.\n\n```jsx\n<Box divideColor=\"red.400\">\n <Box>1</Box>\n <Box>2</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | ---------------- | -------------- |\n| `divideColor` | `--divide-color` | `colors` |\n\n## Divide Style\n\nUse the `divideStyle` prop to apply border style between elements.\n\n```jsx\n<Box divideX=\"2px\" divideStyle=\"dashed\">\n <Box>1</Box>\n <Box>2</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | ---------------- | -------------- |\n| `divideStyle` | `--divide-style` | `borderStyle` |\n",
|
|
166
|
+
"views": {
|
|
167
|
+
"overview": {
|
|
168
|
+
"mdx": "\n# Border\n\nJSX style props for styling border and border radius.\n\n## Border Radius\n\n### All sides\n\nUse the `rounded` or `borderRadius` props to apply border radius on all sides of\nan element.\n\n```jsx\n<Box borderRadius=\"400\" />\n<Box rounded=\"400\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------------- | --------------- | -------------- |\n| `rounded`, `borderRadius` | `border-radius` | `radii` |\n\n### Specific sides\n\nUse the `rounded{Left,Right,Top,Bottom}` or\n`border{Left,Right,Top,Bottom}Radius` prop, to apply border radius on a specific\nside of an element.\n\n```jsx\n<Box borderTopRadius=\"md\" />\n<Box roundedTop=\"md\" /> // shorthand\n\n<Box borderLeftRadius=\"md\" />\n<Box roundedLeft=\"md\" /> // shorthand\n```\n\nUse the logical equivalent to make the border radius adapt based on the text\ndirection.\n\n```jsx\n<Box roundedStart=\"md\" />\n<Box roundedEnd=\"md\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------------------------------- | ------------------------------------------------------ | -------------- |\n| `roundedLeft`, `borderLeftRadius` | `border-left-radius` | `radii` |\n| `roundedRight`, `borderRightRadius` | `border-right-radius` | `radii` |\n| `roundedTop`, `borderTopRadius` | `border-top-radius` | `radii` |\n| `roundedBottom`, `borderBottomRadius` | `border-bottom-radius` | `radii` |\n| `roundedStart`, `borderStartRadius` | `border-start-start-radius`, `border-end-start-radius` | `radii` |\n| `roundedEnd`, `borderEndRadius` | `border-start-end-radius`, `border-end-end-radius` | `radii` |\n\n### Specific corners\n\nUse the `border{Top,Bottom}{Left,Right}Radius` properties, or the shorthand\nequivalent to round a specific corner.\n\n```jsx\n<Box borderTopLeftRadius=\"md\" />\n<Box roundedTopLeft=\"md\" /> // shorthand\n```\n\nUse the logical properties to adapt based on the text direction.\n\n```jsx\n<Box borderStartStartRadius=\"md\" />\n<Box roundedStartStart=\"md\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------------------------------- | ---------------------------- | -------------- |\n| `roundedTopLeft`,`borderTopLeftRadius` | `border-top-left-radius` | `radii` |\n| `roundedTopRight`,`borderTopRight` | `border-top-right-radius` | `radii` |\n| `roundedBottomRight`,`borderBottomRight` | `border-bottom-right-radius` | `radii` |\n| `roundedBottomLeft`,`borderBottomLeft` | `border-bottom-left-radius` | `radii` |\n\n## Border Width\n\n### All sides\n\nUse the `borderWidth` prop to apply border width on all sides of an element.\n\n> Chakra applies `borderStyle: solid` and a global border color by default.\n> Specifying a border width is sufficient to apply the border.\n\n```jsx\n<Box borderWidth=\"1px\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | -------------- | -------------- |\n| `borderWidth` | `border-width` | `borderWidths` |\n\n### Specific sides\n\nUse the `border{Left|Right|Top|Bottom}Width` prop to apply border width on a\nspecific side of an element.\n\n```jsx\n<Box borderTopWidth=\"1px\" />\n<Box borderLeftWidth=\"1px\" />\n```\n\nUse the logical equivalent to make the border width adapt based on the text\ndirection.\n\n```jsx\n<Box borderInlineStartWidth=\"1px\" />\n<Box borderInlineWidth=\"1px\" /> // shorthand\n```\n\n| Prop | CSS Property | Token Category |\n| --------------------------------------------- | --------------------------- | -------------- |\n| `borderTopWidth` | `border-top-width` | `borderWidths` |\n| `borderLeftWidth` | `border-left-width` | `borderWidths` |\n| `borderRightWidth` | `border-right-width` | `borderWidths` |\n| `borderBottomWidth` | `border-bottom-width` | `borderWidths` |\n| `borderStartWidth` , `borderInlineStartWidth` | `border-{start+end}-width` |\n| `borderEndWidth` , `borderInlineEndWidth` | `border-{start+end}-width` |\n| `borderXWidth` , `borderInlineWidth` | `border-{left,right}-width` | `borderWidths` |\n| `borderYWidth` , `borderBlockWidth` | `border-{top,bottom}-width` | `borderWidths` |\n\n## Border Color\n\n### All sides\n\nUse the `borderColor` prop to apply border color on all sides of an element.\n\n```jsx\n<Box borderColor=\"red.400\" />\n\n// with opacity modifier\n<Box borderColor=\"red.400/20\" />\n```\n\n### Specific sides\n\nUse the `border{Left,Right,Top,Bottom}Color` prop to apply border color on a\nspecific side of an element.\n\n```jsx\n<Box borderTopColor=\"red.400\" />\n<Box borderLeftColor=\"red.400\" />\n```\n\nUse the logical properties to adapt based on the text direction.\n\n```jsx\n<Box borderStartColor=\"red.400\" />\n<Box borderEndColor=\"red.400\" />\n```\n\n| Prop | CSS Property | Token Category |\n| --------------------------------------------- | -------------------------- | -------------- |\n| `borderColor` | `border-color` | `colors` |\n| `borderTopColor` | `border-top-color` | `colors` |\n| `borderLeftColor` | `border-left-color` | `colors` |\n| `borderRightColor` | `border-right-color` | `colors` |\n| `borderBottomColor` | `border-bottom-color` | `colors` |\n| `borderStartColor` , `borderInlineStartColor` | `border-{start,end}-color` | `colors` |\n| `borderEndColor` , `borderInlineEndColor` | `border-{start,end}-color` | `colors` |\n| `borderXColor`, `borderInlineColor` | `border-inline-color` | `colors` |\n| `borderYColor`, `borderBlockColor` | `border-block-color` | `colors` |\n\n## Divide Width\n\nUse the `divide{X,Y}Width` prop to apply border width between elements. It uses\nthe CSS selector `> * + *` to apply the `border*` properties.\n\n```jsx\n<Box divideXWidth=\"1px\">\n <Box>1</Box>\n <Box>2</Box>\n</Box>\n\n<Box divideYWidth=\"1px\">\n <Box>1</Box>\n <Box>2</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | ----------------------------------- | -------------- |\n| `divideWidth` | `border-{inline,block}-start-width` | `borderWidths` |\n\n## Divide Color\n\nUse the `divideColor` prop to apply border color between elements.\n\n```jsx\n<Box divideColor=\"red.400\">\n <Box>1</Box>\n <Box>2</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | ---------------- | -------------- |\n| `divideColor` | `--divide-color` | `colors` |\n\n## Divide Style\n\nUse the `divideStyle` prop to apply border style between elements.\n\n```jsx\n<Box divideX=\"2px\" divideStyle=\"dashed\">\n <Box>1</Box>\n <Box>2</Box>\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | ---------------- | -------------- |\n| `divideStyle` | `--divide-style` | `borderStyle` |\n",
|
|
169
|
+
"toc": [
|
|
170
|
+
{
|
|
171
|
+
"value": "Border Radius",
|
|
172
|
+
"href": "#border-radius",
|
|
173
|
+
"depth": 2,
|
|
174
|
+
"numbering": [
|
|
175
|
+
1,
|
|
176
|
+
1
|
|
177
|
+
],
|
|
178
|
+
"parent": "root"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"value": "All sides",
|
|
182
|
+
"href": "#all-sides",
|
|
183
|
+
"depth": 3,
|
|
184
|
+
"numbering": [
|
|
185
|
+
1,
|
|
186
|
+
1,
|
|
187
|
+
1
|
|
188
|
+
],
|
|
189
|
+
"parent": "root"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"value": "Specific sides",
|
|
193
|
+
"href": "#specific-sides",
|
|
194
|
+
"depth": 3,
|
|
195
|
+
"numbering": [
|
|
196
|
+
1,
|
|
197
|
+
1,
|
|
198
|
+
2
|
|
199
|
+
],
|
|
200
|
+
"parent": "root"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"value": "Specific corners",
|
|
204
|
+
"href": "#specific-corners",
|
|
205
|
+
"depth": 3,
|
|
206
|
+
"numbering": [
|
|
207
|
+
1,
|
|
208
|
+
1,
|
|
209
|
+
3
|
|
210
|
+
],
|
|
211
|
+
"parent": "root"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"value": "Border Width",
|
|
215
|
+
"href": "#border-width",
|
|
216
|
+
"depth": 2,
|
|
217
|
+
"numbering": [
|
|
218
|
+
1,
|
|
219
|
+
2
|
|
220
|
+
],
|
|
221
|
+
"parent": "root"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"value": "All sides",
|
|
225
|
+
"href": "#all-sides-1",
|
|
226
|
+
"depth": 3,
|
|
227
|
+
"numbering": [
|
|
228
|
+
1,
|
|
229
|
+
2,
|
|
230
|
+
1
|
|
231
|
+
],
|
|
232
|
+
"parent": "root"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"value": "Specific sides",
|
|
236
|
+
"href": "#specific-sides-1",
|
|
237
|
+
"depth": 3,
|
|
238
|
+
"numbering": [
|
|
239
|
+
1,
|
|
240
|
+
2,
|
|
241
|
+
2
|
|
242
|
+
],
|
|
243
|
+
"parent": "root"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"value": "Border Color",
|
|
247
|
+
"href": "#border-color",
|
|
248
|
+
"depth": 2,
|
|
249
|
+
"numbering": [
|
|
250
|
+
1,
|
|
251
|
+
3
|
|
252
|
+
],
|
|
253
|
+
"parent": "root"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"value": "All sides",
|
|
257
|
+
"href": "#all-sides-2",
|
|
258
|
+
"depth": 3,
|
|
259
|
+
"numbering": [
|
|
260
|
+
1,
|
|
261
|
+
3,
|
|
262
|
+
1
|
|
263
|
+
],
|
|
264
|
+
"parent": "root"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"value": "Specific sides",
|
|
268
|
+
"href": "#specific-sides-2",
|
|
269
|
+
"depth": 3,
|
|
270
|
+
"numbering": [
|
|
271
|
+
1,
|
|
272
|
+
3,
|
|
273
|
+
2
|
|
274
|
+
],
|
|
275
|
+
"parent": "root"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"value": "Divide Width",
|
|
279
|
+
"href": "#divide-width",
|
|
280
|
+
"depth": 2,
|
|
281
|
+
"numbering": [
|
|
282
|
+
1,
|
|
283
|
+
4
|
|
284
|
+
],
|
|
285
|
+
"parent": "root"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"value": "Divide Color",
|
|
289
|
+
"href": "#divide-color",
|
|
290
|
+
"depth": 2,
|
|
291
|
+
"numbering": [
|
|
292
|
+
1,
|
|
293
|
+
5
|
|
294
|
+
],
|
|
295
|
+
"parent": "root"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"value": "Divide Style",
|
|
299
|
+
"href": "#divide-style",
|
|
300
|
+
"depth": 2,
|
|
301
|
+
"numbering": [
|
|
302
|
+
1,
|
|
303
|
+
6
|
|
304
|
+
],
|
|
305
|
+
"parent": "root"
|
|
306
|
+
}
|
|
307
|
+
]
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"id": "Style Props-Display",
|
|
4
|
+
"title": "Display",
|
|
5
|
+
"description": "Style props for styling display of an element.",
|
|
6
|
+
"order": 999,
|
|
7
|
+
"repoPath": "packages/nimbus/src/docs/display.mdx",
|
|
8
|
+
"menu": [
|
|
9
|
+
"Home",
|
|
10
|
+
"Style Props",
|
|
11
|
+
"Display"
|
|
12
|
+
],
|
|
13
|
+
"route": "home/style-props/display",
|
|
14
|
+
"tags": [
|
|
15
|
+
"document"
|
|
16
|
+
],
|
|
17
|
+
"toc": [
|
|
18
|
+
{
|
|
19
|
+
"value": "Display Property",
|
|
20
|
+
"href": "#display-property",
|
|
21
|
+
"depth": 2,
|
|
22
|
+
"numbering": [
|
|
23
|
+
1,
|
|
24
|
+
1
|
|
25
|
+
],
|
|
26
|
+
"parent": "root"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"value": "Hiding Elements",
|
|
30
|
+
"href": "#hiding-elements",
|
|
31
|
+
"depth": 2,
|
|
32
|
+
"numbering": [
|
|
33
|
+
1,
|
|
34
|
+
2
|
|
35
|
+
],
|
|
36
|
+
"parent": "root"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"value": "Hide From",
|
|
40
|
+
"href": "#hide-from",
|
|
41
|
+
"depth": 3,
|
|
42
|
+
"numbering": [
|
|
43
|
+
1,
|
|
44
|
+
2,
|
|
45
|
+
1
|
|
46
|
+
],
|
|
47
|
+
"parent": "root"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"value": "Hide Below",
|
|
51
|
+
"href": "#hide-below",
|
|
52
|
+
"depth": 3,
|
|
53
|
+
"numbering": [
|
|
54
|
+
1,
|
|
55
|
+
2,
|
|
56
|
+
2
|
|
57
|
+
],
|
|
58
|
+
"parent": "root"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"layout": "app-frame",
|
|
62
|
+
"tabs": [
|
|
63
|
+
{
|
|
64
|
+
"key": "overview",
|
|
65
|
+
"title": "Overview",
|
|
66
|
+
"order": 0
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"mdx": "\n# Display\n\nStyle props for styling display of an element.\n\n## Display Property\n\n```jsx\n<Box display=\"flex\" />\n\n// responsive\n<Box display={{ base: \"none\", md: \"block\" }} />\n```\n\n| Prop | CSS Property | Token Category |\n| --------- | ------------ | -------------- |\n| `display` | `display` | - |\n\n## Hiding Elements\n\n### Hide From\n\nUse the `hideFrom` prop to hide an element from a specific breakpoint.\n\n```jsx\n<Box display=\"flex\" hideFrom=\"md\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ---------- | ------------ | -------------- |\n| `hideFrom` | `display` | `breakpoints` |\n\n### Hide Below\n\nUse the `hideBelow` prop to hide an element below a specific breakpoint.\n\n```jsx\n<Box display=\"flex\" hideBelow=\"md\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ----------- | ------------ | -------------- |\n| `hideBelow` | `display` | `breakpoints` |\n",
|
|
71
|
+
"views": {
|
|
72
|
+
"overview": {
|
|
73
|
+
"mdx": "\n# Display\n\nStyle props for styling display of an element.\n\n## Display Property\n\n```jsx\n<Box display=\"flex\" />\n\n// responsive\n<Box display={{ base: \"none\", md: \"block\" }} />\n```\n\n| Prop | CSS Property | Token Category |\n| --------- | ------------ | -------------- |\n| `display` | `display` | - |\n\n## Hiding Elements\n\n### Hide From\n\nUse the `hideFrom` prop to hide an element from a specific breakpoint.\n\n```jsx\n<Box display=\"flex\" hideFrom=\"md\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ---------- | ------------ | -------------- |\n| `hideFrom` | `display` | `breakpoints` |\n\n### Hide Below\n\nUse the `hideBelow` prop to hide an element below a specific breakpoint.\n\n```jsx\n<Box display=\"flex\" hideBelow=\"md\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ----------- | ------------ | -------------- |\n| `hideBelow` | `display` | `breakpoints` |\n",
|
|
74
|
+
"toc": [
|
|
75
|
+
{
|
|
76
|
+
"value": "Display Property",
|
|
77
|
+
"href": "#display-property",
|
|
78
|
+
"depth": 2,
|
|
79
|
+
"numbering": [
|
|
80
|
+
1,
|
|
81
|
+
1
|
|
82
|
+
],
|
|
83
|
+
"parent": "root"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"value": "Hiding Elements",
|
|
87
|
+
"href": "#hiding-elements",
|
|
88
|
+
"depth": 2,
|
|
89
|
+
"numbering": [
|
|
90
|
+
1,
|
|
91
|
+
2
|
|
92
|
+
],
|
|
93
|
+
"parent": "root"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"value": "Hide From",
|
|
97
|
+
"href": "#hide-from",
|
|
98
|
+
"depth": 3,
|
|
99
|
+
"numbering": [
|
|
100
|
+
1,
|
|
101
|
+
2,
|
|
102
|
+
1
|
|
103
|
+
],
|
|
104
|
+
"parent": "root"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"value": "Hide Below",
|
|
108
|
+
"href": "#hide-below",
|
|
109
|
+
"depth": 3,
|
|
110
|
+
"numbering": [
|
|
111
|
+
1,
|
|
112
|
+
2,
|
|
113
|
+
2
|
|
114
|
+
],
|
|
115
|
+
"parent": "root"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"id": "Style Props-Effects",
|
|
4
|
+
"title": "Effects",
|
|
5
|
+
"description": "JSX style props for styling box shadows, opacity, and more",
|
|
6
|
+
"order": 999,
|
|
7
|
+
"repoPath": "packages/nimbus/src/docs/effects.mdx",
|
|
8
|
+
"menu": [
|
|
9
|
+
"Home",
|
|
10
|
+
"Style Props",
|
|
11
|
+
"Effects"
|
|
12
|
+
],
|
|
13
|
+
"route": "home/style-props/effects",
|
|
14
|
+
"tags": [
|
|
15
|
+
"document"
|
|
16
|
+
],
|
|
17
|
+
"toc": [
|
|
18
|
+
{
|
|
19
|
+
"value": "Box Shadow",
|
|
20
|
+
"href": "#box-shadow",
|
|
21
|
+
"depth": 2,
|
|
22
|
+
"numbering": [
|
|
23
|
+
1,
|
|
24
|
+
1
|
|
25
|
+
],
|
|
26
|
+
"parent": "root"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"value": "Box Shadow Color",
|
|
30
|
+
"href": "#box-shadow-color",
|
|
31
|
+
"depth": 2,
|
|
32
|
+
"numbering": [
|
|
33
|
+
1,
|
|
34
|
+
2
|
|
35
|
+
],
|
|
36
|
+
"parent": "root"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"value": "Opacity",
|
|
40
|
+
"href": "#opacity",
|
|
41
|
+
"depth": 2,
|
|
42
|
+
"numbering": [
|
|
43
|
+
1,
|
|
44
|
+
3
|
|
45
|
+
],
|
|
46
|
+
"parent": "root"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"value": "Mix Blend Mode",
|
|
50
|
+
"href": "#mix-blend-mode",
|
|
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# Effects\n\nJSX style props for styling box shadows, opacity, and more\n\n## Box Shadow\n\nUse the `shadow` or `boxShadow` prop to apply a box shadow to an element.\n\n```jsx\n// hardcoded values\n<Box shadow=\"12px 12px 2px 1px rgba(0, 0, 255, .2)\" />\n\n// token values\n<Box shadow=\"lg\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------------- | ---------------- | -------------- |\n| `shadows`, `boxShadow` | `box-shadow` | `shadows` |\n| `shadowColor` | `--shadow-color` | `colors` |\n\n## Box Shadow Color\n\nUse the `shadowColor` prop to set the color of a box shadow. This prop maps to\nthe `--shadow-color` CSS variable.\n\n```jsx\n<Box shadow=\"60px -16px var(--shadow-color)\" shadowColor=\"red\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | ---------------- | -------------- |\n| `shadowColor` | `--shadow-color` | `colors` |\n\n## Opacity\n\nUse the `opacity` prop to set the opacity of an element.\n\n```jsx\n<Box opacity=\"0.5\" />\n```\n\n| Prop | CSS Property | Token Category |\n| --------- | ------------ | -------------- |\n| `opacity` | `opacity` | `opacity` |\n\n## Mix Blend Mode\n\nUse the `mixBlendMode` prop to control how an element's content should be\nblended with the background.\n\n```jsx\n<Box bg=\"red.400\">\n <Image src=\"...\" mixBlendMode=\"hard-light\" />\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| -------------- | ---------------- | -------------- |\n| `mixBlendMode` | `mix-blend-mode` | - |\n",
|
|
69
|
+
"views": {
|
|
70
|
+
"overview": {
|
|
71
|
+
"mdx": "\n# Effects\n\nJSX style props for styling box shadows, opacity, and more\n\n## Box Shadow\n\nUse the `shadow` or `boxShadow` prop to apply a box shadow to an element.\n\n```jsx\n// hardcoded values\n<Box shadow=\"12px 12px 2px 1px rgba(0, 0, 255, .2)\" />\n\n// token values\n<Box shadow=\"lg\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ---------------------- | ---------------- | -------------- |\n| `shadows`, `boxShadow` | `box-shadow` | `shadows` |\n| `shadowColor` | `--shadow-color` | `colors` |\n\n## Box Shadow Color\n\nUse the `shadowColor` prop to set the color of a box shadow. This prop maps to\nthe `--shadow-color` CSS variable.\n\n```jsx\n<Box shadow=\"60px -16px var(--shadow-color)\" shadowColor=\"red\" />\n```\n\n| Prop | CSS Property | Token Category |\n| ------------- | ---------------- | -------------- |\n| `shadowColor` | `--shadow-color` | `colors` |\n\n## Opacity\n\nUse the `opacity` prop to set the opacity of an element.\n\n```jsx\n<Box opacity=\"0.5\" />\n```\n\n| Prop | CSS Property | Token Category |\n| --------- | ------------ | -------------- |\n| `opacity` | `opacity` | `opacity` |\n\n## Mix Blend Mode\n\nUse the `mixBlendMode` prop to control how an element's content should be\nblended with the background.\n\n```jsx\n<Box bg=\"red.400\">\n <Image src=\"...\" mixBlendMode=\"hard-light\" />\n</Box>\n```\n\n| Prop | CSS Property | Token Category |\n| -------------- | ---------------- | -------------- |\n| `mixBlendMode` | `mix-blend-mode` | - |\n",
|
|
72
|
+
"toc": [
|
|
73
|
+
{
|
|
74
|
+
"value": "Box Shadow",
|
|
75
|
+
"href": "#box-shadow",
|
|
76
|
+
"depth": 2,
|
|
77
|
+
"numbering": [
|
|
78
|
+
1,
|
|
79
|
+
1
|
|
80
|
+
],
|
|
81
|
+
"parent": "root"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"value": "Box Shadow Color",
|
|
85
|
+
"href": "#box-shadow-color",
|
|
86
|
+
"depth": 2,
|
|
87
|
+
"numbering": [
|
|
88
|
+
1,
|
|
89
|
+
2
|
|
90
|
+
],
|
|
91
|
+
"parent": "root"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"value": "Opacity",
|
|
95
|
+
"href": "#opacity",
|
|
96
|
+
"depth": 2,
|
|
97
|
+
"numbering": [
|
|
98
|
+
1,
|
|
99
|
+
3
|
|
100
|
+
],
|
|
101
|
+
"parent": "root"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"value": "Mix Blend Mode",
|
|
105
|
+
"href": "#mix-blend-mode",
|
|
106
|
+
"depth": 2,
|
|
107
|
+
"numbering": [
|
|
108
|
+
1,
|
|
109
|
+
4
|
|
110
|
+
],
|
|
111
|
+
"parent": "root"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|