@workday/canvas-kit-docs 12.0.0-alpha.862-next.0 → 12.0.0-alpha.899-next.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/dist/es6/docgen/docParser.d.ts +1 -1
- package/dist/es6/docgen/docParser.d.ts.map +1 -1
- package/dist/es6/docgen/docParser.js +12 -2
- package/dist/es6/docgen/docTypes.d.ts +1 -1
- package/dist/es6/docgen/docTypes.d.ts.map +1 -1
- package/dist/es6/docgen/plugins/enhancedComponentParser.d.ts +1 -1
- package/dist/es6/docgen/plugins/enhancedComponentParser.d.ts.map +1 -1
- package/dist/es6/docgen/traverse.d.ts +2 -2
- package/dist/es6/docgen/traverse.d.ts.map +1 -1
- package/dist/es6/index.d.ts +1 -0
- package/dist/es6/index.d.ts.map +1 -1
- package/dist/es6/index.js +1 -0
- package/dist/es6/lib/ExampleCodeBlock.d.ts +3 -0
- package/dist/es6/lib/ExampleCodeBlock.d.ts.map +1 -0
- package/dist/es6/lib/ExampleCodeBlock.js +93 -0
- package/dist/es6/lib/InformationHighlight/Base.js +1 -1
- package/dist/es6/lib/InformationHighlight/Body.js +1 -1
- package/dist/es6/lib/InformationHighlight/Heading.js +1 -1
- package/dist/es6/lib/InformationHighlight/Icon.d.ts +1 -1
- package/dist/es6/lib/InformationHighlight/Icon.d.ts.map +1 -1
- package/dist/es6/lib/InformationHighlight/Icon.js +1 -1
- package/dist/es6/lib/InformationHighlight/Link.js +1 -1
- package/dist/es6/lib/InformationHighlight/index.d.ts +1 -1
- package/dist/es6/lib/InformationHighlight/index.d.ts.map +1 -1
- package/dist/es6/lib/InformationHighlight/index.js +1 -1
- package/dist/es6/lib/InformationHighlight/modelHook.d.ts +1 -1
- package/dist/es6/lib/InformationHighlight/modelHook.d.ts.map +1 -1
- package/dist/es6/lib/MDXElements.d.ts +2 -1
- package/dist/es6/lib/MDXElements.d.ts.map +1 -1
- package/dist/es6/lib/MDXElements.js +1 -1
- package/dist/es6/lib/MoreTooltip.d.ts +1 -1
- package/dist/es6/lib/MoreTooltip.d.ts.map +1 -1
- package/dist/es6/lib/MoreTooltip.js +2 -2
- package/dist/es6/lib/Specifications.d.ts +2 -1
- package/dist/es6/lib/Specifications.d.ts.map +1 -1
- package/dist/es6/lib/StylePropsTable.d.ts +3 -2
- package/dist/es6/lib/StylePropsTable.d.ts.map +1 -1
- package/dist/es6/lib/Table.js +6 -6
- package/dist/es6/lib/Value.d.ts +3 -3
- package/dist/es6/lib/Value.d.ts.map +1 -1
- package/dist/es6/lib/Value.js +4 -2
- package/dist/es6/lib/docs.d.ts +3 -3
- package/dist/es6/lib/docs.d.ts.map +1 -1
- package/dist/es6/lib/docs.js +76923 -72365
- package/dist/es6/lib/specs.js +1 -7130
- package/dist/es6/lib/widgetUtils.d.ts +5 -5
- package/dist/es6/lib/widgetUtils.d.ts.map +1 -1
- package/dist/es6/lib/widgetUtils.js +2 -2
- package/dist/es6/mdx/installBlock.d.ts +2 -1
- package/dist/es6/mdx/installBlock.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/Background.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/Background.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/Background.js +6 -4
- package/dist/es6/mdx/style-props/examples/Border.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/Border.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/Border.js +4 -4
- package/dist/es6/mdx/style-props/examples/Color.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/Color.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/Color.js +4 -4
- package/dist/es6/mdx/style-props/examples/Depth.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/Depth.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/Depth.js +4 -4
- package/dist/es6/mdx/style-props/examples/Flex.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/Flex.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/Flex.js +9 -9
- package/dist/es6/mdx/style-props/examples/FlexItem.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/FlexItem.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/FlexItem.js +9 -9
- package/dist/es6/mdx/style-props/examples/Grid.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/Grid.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/Grid.js +4 -4
- package/dist/es6/mdx/style-props/examples/GridItem.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/GridItem.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/GridItem.js +5 -5
- package/dist/es6/mdx/style-props/examples/Layout.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/Layout.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/Layout.js +4 -4
- package/dist/es6/mdx/style-props/examples/Other.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/Other.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/Other.js +4 -4
- package/dist/es6/mdx/style-props/examples/Position.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/Position.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/Position.js +4 -4
- package/dist/es6/mdx/style-props/examples/Space.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/Space.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/Space.js +4 -4
- package/dist/es6/mdx/style-props/examples/Text.d.ts +2 -1
- package/dist/es6/mdx/style-props/examples/Text.d.ts.map +1 -1
- package/dist/es6/mdx/style-props/examples/Text.js +1 -1
- package/dist/es6/mdx/versionsTable.d.ts +2 -1
- package/dist/es6/mdx/versionsTable.d.ts.map +1 -1
- package/dist/es6/mdx/welcomePage.d.ts +2 -1
- package/dist/es6/mdx/welcomePage.d.ts.map +1 -1
- package/dist/es6/mdx/welcomePage.js +5 -3
- package/dist/mdx/11.0-UPGRADE-GUIDE.mdx +8 -8
- package/dist/mdx/12.0-UPGRADE-GUIDE.mdx +350 -39
- package/dist/mdx/4.0-UPGRADE-GUIDE.mdx +1 -11
- package/dist/mdx/5.0-UPGRADE-GUIDE.mdx +0 -10
- package/dist/mdx/6.0-UPGRADE-GUIDE.mdx +0 -10
- package/dist/mdx/7.0-UPGRADE-GUIDE.mdx +0 -10
- package/dist/mdx/8.0-UPGRADE-GUIDE.mdx +0 -10
- package/dist/mdx/API_PATTERN_GUIDELINES.mdx +0 -10
- package/dist/mdx/COMPOUND_COMPONENTS.mdx +0 -10
- package/dist/mdx/CONTRIBUTING.mdx +0 -10
- package/dist/mdx/CREATING_COMPOUND_COMPONENTS.mdx +0 -10
- package/dist/mdx/DOCUMENTATION_GUIDELINES.mdx +20 -22
- package/dist/mdx/GETTING_STARTED.mdx +0 -9
- package/dist/mdx/MAINTAINING.mdx +12 -20
- package/dist/mdx/TESTING.mdx +1 -26
- package/dist/mdx/changelog.mdx +5 -0
- package/dist/mdx/labs-react/combobox/Combobox.mdx +52 -0
- package/dist/mdx/labs-react/combobox/examples/Basic.tsx +87 -0
- package/dist/mdx/labs-react/combobox/examples/DisabledItem.tsx +87 -0
- package/dist/mdx/labs-react/combobox/examples/GroupOfResult.tsx +87 -0
- package/dist/mdx/labs-react/combobox/examples/Grow.tsx +87 -0
- package/dist/mdx/labs-react/combobox/examples/NoClearButton.tsx +87 -0
- package/dist/mdx/labs-react/combobox/examples/RTL.tsx +90 -0
- package/dist/mdx/labs-react/expandable/Expandable.mdx +1 -3
- package/dist/mdx/labs-react/search-form/SearchForm.mdx +1 -4
- package/dist/mdx/preview-react/_examples/mdx/Forms.mdx +9 -0
- package/dist/mdx/preview-react/_examples/mdx/FormsWithFormik.mdx +14 -0
- package/dist/mdx/preview-react/_examples/{examples → mdx/examples}/SelectWithFormik.tsx +1 -5
- package/dist/mdx/preview-react/_examples/{examples → mdx/examples}/TextInputWithReactHookForm.tsx +2 -1
- package/dist/mdx/preview-react/divider/Divider.mdx +36 -0
- package/dist/mdx/preview-react/divider/examples/Basic.tsx +105 -0
- package/dist/mdx/preview-react/divider/examples/CustomSpace.tsx +32 -0
- package/dist/mdx/preview-react/loading-sparkles/LoadingSparkles.mdx +1 -2
- package/dist/mdx/preview-react/menu/Menu.mdx +2 -9
- package/dist/mdx/preview-react/pill/Pill.mdx +1 -3
- package/dist/mdx/preview-react/radio/Radio.mdx +1 -3
- package/dist/mdx/preview-react/radio/examples/Alert.tsx +26 -11
- package/dist/mdx/preview-react/radio/examples/Basic.tsx +29 -19
- package/dist/mdx/preview-react/radio/examples/Custom.tsx +32 -30
- package/dist/mdx/preview-react/radio/examples/Disabled.tsx +25 -12
- package/dist/mdx/preview-react/radio/examples/Error.tsx +26 -11
- package/dist/mdx/preview-react/radio/examples/Inverse.tsx +14 -18
- package/dist/mdx/preview-react/radio/examples/LabelPosition.tsx +25 -10
- package/dist/mdx/preview-react/radio/examples/NoValue.tsx +23 -10
- package/dist/mdx/preview-react/radio/examples/RefForwarding.tsx +17 -11
- package/dist/mdx/preview-react/radio/examples/Required.tsx +19 -11
- package/dist/mdx/preview-react/radio/examples/StandaloneRadio.tsx +6 -6
- package/dist/mdx/preview-react/segmented-control/SegmentedControl.mdx +1 -4
- package/dist/mdx/preview-react/select/Select.mdx +89 -0
- package/dist/mdx/preview-react/select/examples/Left Label/AlertLeft.tsx +18 -0
- package/dist/mdx/preview-react/select/examples/Left Label/DefaultLeft.tsx +17 -0
- package/dist/mdx/preview-react/select/examples/Left Label/DefaultWithCustomOptionsLeft.tsx +25 -0
- package/dist/mdx/preview-react/select/examples/Left Label/DefaultWithSimpleOptionsLeft.tsx +17 -0
- package/dist/mdx/preview-react/select/examples/Left Label/DisabledLeft.tsx +19 -0
- package/dist/mdx/preview-react/select/examples/Left Label/ErrorLeft.tsx +18 -0
- package/dist/mdx/preview-react/select/examples/Left Label/GrowLeft.tsx +17 -0
- package/dist/mdx/preview-react/select/examples/Left Label/ScrollableLeft.tsx +17 -0
- package/dist/mdx/preview-react/select/examples/Left Label/index.ts +8 -0
- package/dist/mdx/preview-react/select/examples/Top Label/Alert.tsx +18 -0
- package/dist/mdx/preview-react/select/examples/Top Label/Default.tsx +17 -0
- package/dist/mdx/preview-react/select/examples/Top Label/DefaultWithCustomOptions.tsx +25 -0
- package/dist/mdx/preview-react/select/examples/Top Label/DefaultWithSimpleOptions.tsx +17 -0
- package/dist/mdx/preview-react/select/examples/Top Label/Disabled.tsx +19 -0
- package/dist/mdx/preview-react/select/examples/Top Label/Error.tsx +18 -0
- package/dist/mdx/preview-react/select/examples/Top Label/Grow.tsx +17 -0
- package/dist/mdx/preview-react/select/examples/Top Label/Scrollable.tsx +15 -0
- package/dist/mdx/preview-react/select/examples/Top Label/index.ts +8 -0
- package/dist/mdx/preview-react/select/examples/storiesData.tsx +93 -0
- package/dist/mdx/preview-react/side-panel/SidePanel.mdx +1 -4
- package/dist/mdx/preview-react/status-indicator/StatusIndicator.mdx +1 -2
- package/dist/mdx/preview-react/text-area/TextArea.mdx +1 -4
- package/dist/mdx/preview-react/text-area/examples/Alert.tsx +1 -1
- package/dist/mdx/preview-react/text-area/examples/LabelPositionHorizontal.tsx +1 -1
- package/dist/mdx/preview-react/text-input/TextInput.mdx +4 -7
- package/dist/mdx/preview-react/text-input/examples/LabelPositionHorizontal.tsx +1 -1
- package/dist/mdx/react/_examples/{AriaLiveRegions.mdx → mdx/AriaLiveRegions.mdx} +1 -0
- package/dist/mdx/react/_examples/{CompoundComponent.mdx → mdx/CompoundComponent.mdx} +2 -0
- package/dist/mdx/react/_examples/mdx/CookieBanner.mdx +9 -0
- package/dist/mdx/react/_examples/mdx/Density.mdx +11 -0
- package/dist/mdx/react/_examples/mdx/Headers.mdx +19 -0
- package/dist/mdx/react/_examples/{Layouts.mdx → mdx/Layouts.mdx} +1 -0
- package/dist/mdx/react/_examples/{MediaModal.mdx → mdx/MediaModal.mdx} +3 -2
- package/dist/mdx/react/_examples/{SearchForm.mdx → mdx/SearchForm.mdx} +1 -0
- package/dist/mdx/react/_examples/{SidePanel.mdx → mdx/SidePanel.mdx} +2 -1
- package/dist/mdx/react/_examples/{TablesAdvanced.mdx → mdx/TablesAdvanced.mdx} +5 -5
- package/dist/mdx/react/_examples/{examples → mdx/examples}/AriaLiveRegions/FilterListWithLiveStatus.tsx +1 -1
- package/dist/mdx/react/_examples/{examples → mdx/examples}/AriaLiveRegions/HiddenLiveRegion.tsx +1 -1
- package/dist/mdx/react/_examples/{examples → mdx/examples}/AriaLiveRegions/TextInputWithLiveError.tsx +1 -1
- package/dist/mdx/react/_examples/{examples → mdx/examples}/AriaLiveRegions/VisibleLiveRegion.tsx +1 -1
- package/dist/mdx/react/_examples/mdx/examples/Density.tsx +370 -0
- package/dist/mdx/react/_examples/{examples → mdx/examples}/SidePanelWithNavigation.tsx +0 -1
- package/dist/mdx/react/_examples/{examples → mdx/examples}/Table/WithExpandableRows.tsx +26 -29
- package/dist/mdx/react/_examples/mdx/examples/common/FilterListWithLiveStatus.tsx +65 -0
- package/dist/mdx/react/_examples/mdx/examples/common/HiddenLiveRegion.tsx +30 -0
- package/dist/mdx/react/_examples/mdx/examples/common/IconButtonsWithLiveBadges.tsx +98 -0
- package/dist/mdx/react/_examples/mdx/examples/common/TextInputWithLiveError.tsx +25 -0
- package/dist/mdx/react/_examples/mdx/examples/common/VisibleLiveRegion.tsx +40 -0
- package/dist/mdx/react/action-bar/ActionBar.mdx +1 -5
- package/dist/mdx/react/action-bar/examples/Basic.tsx +12 -10
- package/dist/mdx/react/action-bar/examples/OverflowActionBar.tsx +13 -10
- package/dist/mdx/react/action-bar/examples/index.ts +5 -0
- package/dist/mdx/react/avatar/avatar/Avatar.mdx +12 -10
- package/dist/mdx/react/avatar/avatar/examples/Button.tsx +1 -1
- package/dist/mdx/react/avatar/avatar/examples/CustomStyles.tsx +2 -2
- package/dist/mdx/react/avatar/avatar/examples/Image.tsx +1 -1
- package/dist/mdx/react/avatar/avatar/examples/LazyLoad.tsx +1 -1
- package/dist/mdx/react/avatar/avatar/examples/test-avatar.png +0 -0
- package/dist/mdx/react/badge/CountBadge.mdx +15 -18
- package/dist/mdx/react/badge/examples/NotificationBadge.tsx +30 -25
- package/dist/mdx/react/banner/Banner.mdx +3 -5
- package/dist/mdx/react/breadcrumbs/Breadcrumbs.mdx +1 -5
- package/dist/mdx/react/button/button/Button.mdx +6 -1
- package/dist/mdx/react/button/button/Hyperlink.mdx +1 -4
- package/dist/mdx/react/button/button/examples/CustomStyles.tsx +21 -7
- package/dist/mdx/react/button/button/examples/Delete.tsx +1 -1
- package/dist/mdx/react/button/button/examples/Primary.tsx +1 -1
- package/dist/mdx/react/card/card.mdx +3 -4
- package/dist/mdx/react/checkbox/Checkbox.mdx +6 -17
- package/dist/mdx/react/checkbox/examples/Alert.tsx +5 -4
- package/dist/mdx/react/checkbox/examples/Basic.tsx +14 -1
- package/dist/mdx/react/checkbox/examples/Disabled.tsx +13 -6
- package/dist/mdx/react/checkbox/examples/Error.tsx +5 -4
- package/dist/mdx/react/checkbox/examples/Inverse.tsx +0 -1
- package/dist/mdx/react/checkbox/examples/LabelPosition.tsx +11 -9
- package/dist/mdx/react/checkbox/examples/RefForwarding.tsx +21 -7
- package/dist/mdx/react/checkbox/examples/Required.tsx +10 -8
- package/dist/mdx/react/collection/{Collection.mdx → mdx/Collection.mdx} +1 -3
- package/dist/mdx/react/color-picker/color-input/ColorInput.mdx +6 -18
- package/dist/mdx/react/color-picker/color-input/examples/Alert.tsx +5 -3
- package/dist/mdx/react/color-picker/color-input/examples/Basic.tsx +4 -2
- package/dist/mdx/react/color-picker/color-input/examples/Checked.tsx +4 -2
- package/dist/mdx/react/color-picker/color-input/examples/Disabled.tsx +4 -2
- package/dist/mdx/react/color-picker/color-input/examples/Error.tsx +5 -3
- package/dist/mdx/react/color-picker/color-input/examples/Grow.tsx +9 -2
- package/dist/mdx/react/color-picker/color-input/examples/LabelPosition.tsx +5 -3
- package/dist/mdx/react/color-picker/color-input/examples/RefForwarding.tsx +4 -2
- package/dist/mdx/react/color-picker/color-input/examples/Required.tsx +4 -2
- package/dist/mdx/react/color-picker/color-input/examples/ValidColorChange.tsx +9 -7
- package/dist/mdx/react/color-picker/color-preview/ColorPreview.mdx +6 -17
- package/dist/mdx/react/color-picker/color-preview/examples/Basic.tsx +9 -1
- package/dist/mdx/react/color-picker/color-preview/examples/LabelPosition.tsx +5 -3
- package/dist/mdx/react/color-picker/color-preview/examples/RefForwarding.tsx +4 -2
- package/dist/mdx/react/combobox/Combobox.mdx +1 -4
- package/dist/mdx/react/combobox/examples/Autocomplete.tsx +32 -30
- package/dist/mdx/react/common/{CompoundComponentUtilities.mdx → mdx/CompoundComponentUtilities.mdx} +2 -1
- package/dist/mdx/react/common/{Responsive.mdx → mdx/Responsive.mdx} +2 -2
- package/dist/mdx/react/common/{examples → mdx/examples}/ResponsiveStyles.tsx +1 -1
- package/dist/mdx/react/dialog/Dialog.mdx +1 -4
- package/dist/mdx/react/dialog/examples/Basic.tsx +1 -1
- package/dist/mdx/react/dialog/examples/DialogWithFallbackPlacements.tsx +110 -0
- package/dist/mdx/react/dialog/examples/Focus.tsx +1 -1
- package/dist/mdx/react/form-field/FormField.mdx +104 -78
- package/dist/mdx/react/form-field/examples/Alert.tsx +11 -9
- package/dist/mdx/{preview-react → react}/form-field/examples/AllFields.tsx +43 -8
- package/dist/mdx/react/form-field/examples/Basic.tsx +9 -4
- package/dist/mdx/{preview-react → react}/form-field/examples/Custom.tsx +2 -2
- package/dist/mdx/{preview-react → react}/form-field/examples/CustomId.tsx +4 -2
- package/dist/mdx/{preview-react → react}/form-field/examples/Disabled.tsx +4 -2
- package/dist/mdx/react/form-field/examples/Error.tsx +12 -9
- package/dist/mdx/react/form-field/examples/GroupedInputs.tsx +207 -0
- package/dist/mdx/react/form-field/examples/Grow.tsx +7 -3
- package/dist/mdx/react/form-field/examples/Hint.tsx +11 -8
- package/dist/mdx/react/form-field/examples/LabelPositionHorizontalEnd.tsx +32 -0
- package/dist/mdx/react/form-field/examples/LabelPositionHorizontalStart.tsx +32 -0
- package/dist/mdx/{preview-react → react}/form-field/examples/RefForwarding.tsx +4 -2
- package/dist/mdx/react/form-field/examples/Required.tsx +11 -3
- package/dist/mdx/{preview-react → react}/form-field/examples/ThemedErrors.tsx +7 -5
- package/dist/mdx/react/icon/Assets.mdx +13 -6
- package/dist/mdx/react/icon/examples/AccentIconList.tsx +1 -1
- package/dist/mdx/react/layout/Box.mdx +1 -3
- package/dist/mdx/react/layout/Flex.mdx +8 -7
- package/dist/mdx/react/layout/Grid.mdx +2 -4
- package/dist/mdx/react/loading-dots/LoadingDots.mdx +1 -3
- package/dist/mdx/react/menu/Menu.mdx +1 -4
- package/dist/mdx/react/menu/examples/MenuWithFallbackPlacements.tsx +66 -0
- package/dist/mdx/react/modal/Modal.mdx +1 -4
- package/dist/mdx/react/modal/examples/CustomFocus.tsx +1 -1
- package/dist/mdx/react/modal/examples/FormModal.tsx +1 -1
- package/dist/mdx/react/modal/examples/IframeTest.tsx +26 -0
- package/dist/mdx/react/modal/examples/ModalWithPopup.tsx +66 -0
- package/dist/mdx/react/modal/examples/ReturnFocus.tsx +1 -1
- package/dist/mdx/react/modal/examples/StackedModals.tsx +56 -0
- package/dist/mdx/react/modal/examples/WithRadioButtons.tsx +30 -0
- package/dist/mdx/react/modal/examples/WithTooltips.tsx +74 -0
- package/dist/mdx/react/pagination/pagination.mdx +1 -5
- package/dist/mdx/react/popup/Popup.mdx +30 -6
- package/dist/mdx/react/popup/examples/CloseOnTargetHiddenTest.tsx +54 -0
- package/dist/mdx/react/popup/examples/ComboboxWithinPopup.tsx +48 -0
- package/dist/mdx/react/popup/examples/MixedPopupTypes.tsx +143 -0
- package/dist/mdx/react/popup/examples/PopupWithFallbackPlacements.tsx +82 -0
- package/dist/mdx/react/popup/examples/PopupWithNonHidablePopup.tsx +42 -0
- package/dist/mdx/react/popup/examples/ReturnFocusTest.tsx +68 -0
- package/dist/mdx/react/popup/examples/TooltipReturnFocus.tsx +36 -0
- package/dist/mdx/react/radio/Radio.mdx +6 -16
- package/dist/mdx/react/radio/examples/Alert.tsx +1 -1
- package/dist/mdx/react/radio/examples/Basic.tsx +1 -1
- package/dist/mdx/react/radio/examples/Disabled.tsx +1 -1
- package/dist/mdx/react/radio/examples/Error.tsx +1 -1
- package/dist/mdx/react/radio/examples/LabelPosition.tsx +2 -2
- package/dist/mdx/react/radio/examples/NoValue.tsx +2 -2
- package/dist/mdx/react/radio/examples/RefForwarding.tsx +1 -1
- package/dist/mdx/react/radio/examples/Required.tsx +1 -1
- package/dist/mdx/react/segmented-control/SegmentedControl.mdx +1 -5
- package/dist/mdx/react/select/Select.mdx +18 -28
- package/dist/mdx/react/select/examples/Alert.tsx +15 -13
- package/dist/mdx/react/select/examples/Basic.tsx +18 -16
- package/dist/mdx/react/select/examples/Complex.tsx +14 -12
- package/dist/mdx/react/select/examples/Disabled.tsx +21 -19
- package/dist/mdx/react/select/examples/DisabledOption.tsx +24 -22
- package/dist/mdx/react/select/examples/Error.tsx +21 -19
- package/dist/mdx/react/select/examples/FetchingDynamicItems.tsx +23 -19
- package/dist/mdx/react/select/examples/Grow.tsx +14 -12
- package/dist/mdx/react/select/examples/HoistedModel.tsx +14 -12
- package/dist/mdx/react/select/examples/InitialSelectedItem.tsx +18 -15
- package/dist/mdx/react/select/examples/LabelPosition.tsx +15 -12
- package/dist/mdx/react/select/examples/MenuHeight.tsx +11 -9
- package/dist/mdx/react/select/examples/Placeholder.tsx +17 -14
- package/dist/mdx/react/select/examples/RefForwarding.tsx +13 -10
- package/dist/mdx/react/select/examples/Required.tsx +12 -10
- package/dist/mdx/react/select/examples/WithIcons.tsx +25 -23
- package/dist/mdx/react/skeleton/Skeleton.mdx +1 -5
- package/dist/mdx/react/skeleton/examples/Simulation.tsx +3 -3
- package/dist/mdx/react/status-indicator/StatusIndicator.mdx +5 -8
- package/dist/mdx/react/switch/Switch.mdx +6 -17
- package/dist/mdx/react/switch/examples/Alert.tsx +5 -3
- package/dist/mdx/react/switch/examples/Basic.tsx +4 -2
- package/dist/mdx/react/switch/examples/Disabled.tsx +4 -2
- package/dist/mdx/react/switch/examples/Error.tsx +5 -3
- package/dist/mdx/react/switch/examples/LabelPosition.tsx +5 -3
- package/dist/mdx/react/switch/examples/RefForwarding.tsx +4 -2
- package/dist/mdx/react/table/Table.mdx +1 -4
- package/dist/mdx/react/tabs/Tabs.mdx +1 -4
- package/dist/mdx/react/testing/Testing.mdx +1 -4
- package/dist/mdx/react/text/BodyText.mdx +1 -3
- package/dist/mdx/react/text/Heading.mdx +1 -3
- package/dist/mdx/react/text/LabelText.mdx +1 -3
- package/dist/mdx/react/text/Subtext.mdx +1 -3
- package/dist/mdx/react/text/Text.mdx +1 -3
- package/dist/mdx/react/text/Title.mdx +1 -3
- package/dist/mdx/react/text-area/TextArea.mdx +6 -17
- package/dist/mdx/react/text-area/examples/Alert.tsx +5 -3
- package/dist/mdx/react/text-area/examples/Basic.tsx +4 -2
- package/dist/mdx/react/text-area/examples/Disabled.tsx +4 -2
- package/dist/mdx/react/text-area/examples/Error.tsx +5 -3
- package/dist/mdx/react/text-area/examples/Grow.tsx +6 -4
- package/dist/mdx/react/text-area/examples/LabelPosition.tsx +6 -3
- package/dist/mdx/react/text-area/examples/Placeholder.tsx +9 -7
- package/dist/mdx/react/text-area/examples/RefForwarding.tsx +4 -2
- package/dist/mdx/react/text-area/examples/Required.tsx +4 -2
- package/dist/mdx/react/text-area/examples/ResizeConstraints.tsx +9 -7
- package/dist/mdx/react/text-input/TextInput.mdx +7 -16
- package/dist/mdx/react/text-input/examples/Alert.tsx +5 -3
- package/dist/mdx/react/text-input/examples/Basic.tsx +5 -3
- package/dist/mdx/react/text-input/examples/Disabled.tsx +4 -2
- package/dist/mdx/react/text-input/examples/Error.tsx +5 -3
- package/dist/mdx/react/text-input/examples/Grow.tsx +5 -3
- package/dist/mdx/react/text-input/examples/Icons.tsx +4 -2
- package/dist/mdx/react/text-input/examples/LabelPosition.tsx +6 -3
- package/dist/mdx/react/text-input/examples/Placeholder.tsx +9 -7
- package/dist/mdx/react/text-input/examples/RefForwarding.tsx +4 -2
- package/dist/mdx/react/text-input/examples/Required.tsx +4 -2
- package/dist/mdx/react/toast/toast.mdx +5 -6
- package/dist/mdx/react/tokens/Tokens.mdx +1 -2
- package/dist/mdx/react/tooltip/Tooltip.mdx +1 -5
- package/dist/mdx/style-props/STYLE_PROPS.mdx +25 -25
- package/dist/mdx/style-props/examples/Background.tsx +15 -22
- package/dist/mdx/style-props/examples/Border.tsx +3 -18
- package/dist/mdx/style-props/examples/Color.tsx +9 -21
- package/dist/mdx/style-props/examples/Flex.tsx +27 -9
- package/dist/mdx/style-props/examples/FlexItem.tsx +24 -8
- package/dist/mdx/style-props/examples/Position.tsx +1 -1
- package/dist/mdx/style-props/examples/Space.tsx +9 -3
- package/dist/mdx/welcome.mdx +48 -0
- package/index.ts +1 -0
- package/lib/ExampleCodeBlock.tsx +134 -0
- package/lib/MDXElements.tsx +2 -1
- package/lib/Value.tsx +5 -3
- package/package.json +9 -8
- package/dist/mdx/changelog.stories.mdx +0 -14
- package/dist/mdx/preview-react/_examples/SelectWithFormik.mdx +0 -8
- package/dist/mdx/preview-react/_examples/TextInputWithFormik.mdx +0 -8
- package/dist/mdx/preview-react/_examples/TextInputWithReactHookForm.mdx +0 -8
- package/dist/mdx/preview-react/form-field/FormField.mdx +0 -149
- package/dist/mdx/preview-react/form-field/examples/Alert.tsx +0 -24
- package/dist/mdx/preview-react/form-field/examples/Basic.tsx +0 -21
- package/dist/mdx/preview-react/form-field/examples/Error.tsx +0 -25
- package/dist/mdx/preview-react/form-field/examples/FieldSet.tsx +0 -29
- package/dist/mdx/preview-react/form-field/examples/Grow.tsx +0 -21
- package/dist/mdx/preview-react/form-field/examples/Hint.tsx +0 -25
- package/dist/mdx/preview-react/form-field/examples/LabelPositionHorizontal.tsx +0 -18
- package/dist/mdx/preview-react/form-field/examples/Required.tsx +0 -23
- package/dist/mdx/react/_examples/CookieBanner.mdx +0 -8
- package/dist/mdx/react/_examples/GlobalHeader.mdx +0 -12
- package/dist/mdx/react/_examples/PageHeader.mdx +0 -8
- package/dist/mdx/react/form-field/examples/AlertLabel.tsx +0 -23
- package/dist/mdx/react/form-field/examples/CustomInputId.tsx +0 -17
- package/dist/mdx/react/form-field/examples/ErrorLabel.tsx +0 -23
- package/dist/mdx/react/form-field/examples/GroupingInputs.tsx +0 -22
- package/dist/mdx/react/form-field/examples/LabelPosition.tsx +0 -17
- package/dist/mdx/welcome.stories.mdx +0 -35
- /package/dist/mdx/preview-react/_examples/{examples → mdx/examples}/TextInputWithFormik.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/AriaLiveRegions/IconButtonsWithLiveBadges.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/CookieBanner.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/GlobalHeader.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/MediaModal.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/PageHeader.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/SearchFormBasic.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/SegmentControlWithText.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/SidePanelWithOverlay.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/Table/WithSelectableRows.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/Table/WithSortableColumnHeaders.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/compoundComponent/CustomCard.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/layout/AreaColumnPositioning.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/layout/CustomColumnPositioning.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/layout/CustomColumnWidth.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/layout/FullWidthWith3Columns.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/layout/FullWidthWith3Columns2Rows.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/layout/Masonry.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/layout/ResponsiveColumns.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/layout/Tiled2and3Columns.tsx +0 -0
- /package/dist/mdx/react/_examples/{examples → mdx/examples}/layout/Tiled4and2Columns.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/Basic.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/BasicGrid.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/BasicVirtual.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/DataLoader.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/DynamicItemsObjects.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/DynamicItemsStrings.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/IdentifiedItems.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/MultiSelection.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/RovingFocus.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/Selection.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/StringChildren.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/Virtualization.tsx +0 -0
- /package/dist/mdx/react/collection/{examples → mdx/examples}/WrappingGrid.tsx +0 -0
- /package/dist/mdx/react/common/{examples → mdx/examples}/CreateComponent.tsx +0 -0
- /package/dist/mdx/react/common/{examples → mdx/examples}/CreateContainer.tsx +0 -0
- /package/dist/mdx/react/common/{examples → mdx/examples}/CreateElemPropsHook.tsx +0 -0
- /package/dist/mdx/react/common/{examples → mdx/examples}/CreateModelHook.tsx +0 -0
- /package/dist/mdx/react/common/{examples → mdx/examples}/CreateSubcomponent.tsx +0 -0
- /package/dist/mdx/react/common/{examples → mdx/examples}/ResponsiveViewport.tsx +0 -0
|
@@ -78,7 +78,7 @@ export declare function getDefaultFromTags(tags: ts.JSDocTagInfo[]): Value | und
|
|
|
78
78
|
* return an array of exported symbols to add to docs. If it does not know how to handle the node,
|
|
79
79
|
* it should return `undefined` to allow other plugins (or the general parser) to process the node.
|
|
80
80
|
*/
|
|
81
|
-
export
|
|
81
|
+
export type ParserPlugin<TAdditionalValues extends {
|
|
82
82
|
kind: string;
|
|
83
83
|
} = Value> = (
|
|
84
84
|
/** The node currently being processed */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docParser.d.ts","sourceRoot":"","sources":["../../../docgen/docParser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EACL,KAAK,EACL,cAAc,EACd,KAAK,EACL,aAAa,EACb,YAAY,EACZ,cAAc,EAGd,iBAAiB,EAElB,MAAM,YAAY,CAAC;AAIpB,qBAAa,SAAS,CAAC,CAAC,SAAS;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,GAAG,GAAG;IAchC,OAAO,EAAE,EAAE,CAAC,OAAO;IAAS,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE;IAbzE,wDAAwD;IACjD,OAAO,EAAE,EAAE,CAAC,WAAW,CAAC;IAGxB,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAM;IAEpE;;;;OAIG;IACI,OAAO,EAAE,cAAc,CAAC,KAAK,GAAG,CAAC,CAAC,EAAE,CAAM;gBAE9B,OAAO,EAAE,EAAE,CAAC,OAAO,EAAS,OAAO,GAAE,YAAY,CAAC,CAAC,CAAC,EAAO;IAI9E;;OAEG;IACH,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC,GAAG,KAAK,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AAC,CAAC,SAAS;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,GAAG,KAAK,EACpD,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,YAAY,CAAC,CAAC,CAAC,EAAO,GAC9B,cAAc,CAAC,KAAK,GAAG,CAAC,CAAC,EAAE,CAI7B"}
|
|
@@ -994,7 +994,10 @@ export function getFullJsDocComment(checker, symbol) {
|
|
|
994
994
|
const tags = symbol.getJsDocTags() || [];
|
|
995
995
|
const tagMap = {};
|
|
996
996
|
tags.forEach(tag => {
|
|
997
|
-
const trimmedText = (tag.text ||
|
|
997
|
+
const trimmedText = (tag.text || [])
|
|
998
|
+
.map(s => s.text)
|
|
999
|
+
.join('\n')
|
|
1000
|
+
.trim();
|
|
998
1001
|
const currentValue = tagMap[tag.name];
|
|
999
1002
|
tagMap[tag.name] = currentValue ? currentValue + '\n' + trimmedText : trimmedText;
|
|
1000
1003
|
});
|
|
@@ -1427,6 +1430,9 @@ function generateSignatureFromTypeNode(parser, node) {
|
|
|
1427
1430
|
getTypeParameters() {
|
|
1428
1431
|
return typeParameters;
|
|
1429
1432
|
},
|
|
1433
|
+
getTypeParameterAtPosition(pos) {
|
|
1434
|
+
return typeParameters && typeParameters[pos];
|
|
1435
|
+
},
|
|
1430
1436
|
getReturnType() {
|
|
1431
1437
|
return parser.checker.getTypeAtLocation(node.type || node);
|
|
1432
1438
|
},
|
|
@@ -1477,7 +1483,11 @@ function getObjectValueFromType(parser, type) {
|
|
|
1477
1483
|
export function getDefaultFromTags(tags) {
|
|
1478
1484
|
for (const tag of tags) {
|
|
1479
1485
|
if (tag.name === 'default') {
|
|
1480
|
-
const text = (tag.text ||
|
|
1486
|
+
const text = (tag.text || [])
|
|
1487
|
+
.map(s => s.text)
|
|
1488
|
+
.join('\n')
|
|
1489
|
+
.replace('{', '')
|
|
1490
|
+
.replace('}', '');
|
|
1481
1491
|
if ([
|
|
1482
1492
|
'string',
|
|
1483
1493
|
'number',
|
|
@@ -34,7 +34,7 @@ export interface ExportedSymbol<T = any> extends JSDoc {
|
|
|
34
34
|
type: Value | T;
|
|
35
35
|
}
|
|
36
36
|
/** All supported values of exported symbols */
|
|
37
|
-
export
|
|
37
|
+
export type Value = SymbolValue | GenericValue | NumberLiteralValue | StringLiteralValue | BooleanLiteralValue | PrimitiveValue | UnionValue | ObjectValue | ArrayValue | IndexedAccessValue | IndexSignatureValue | QualifiedNameValue | ParenthesisValue | TypeValue | TupleValue | IntersectionValue | ObjectProperty | FunctionParameter | FunctionValue | CallExpression | TypeParameter | ExternalSymbolValue | ConditionalTypeValue | KeyofValue | InferValue | AliasValue | UnknownValue;
|
|
38
38
|
/**
|
|
39
39
|
* A value meant to link to an exported symbol. This should be treated like a pointer to an
|
|
40
40
|
* `ExportedSymbol` by name
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docTypes.d.ts","sourceRoot":"","sources":["../../../docgen/docTypes.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,YAAY,EAAE,WAAW,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,cAAe,SAAQ,KAAK;IAC3C,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,CAAC;IACZ,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,iBAAkB,SAAQ,KAAK;IAC9C,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,CAAC;IACZ,YAAY,CAAC,EAAE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AAU,EAAE,KAAK,CAAC;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,gBAAgB,CAAC;IACvB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,UAAU,EAAE,KAAK,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,KAAK,CAAC;CACd;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnhancedComponentValue, CanvasColorValue, ElemPropsHookValue, ComposedElemPropsHookValue, SubModelElemPropsHookValue } from './customTypes';
|
|
2
|
-
|
|
2
|
+
type SupportedValues = EnhancedComponentValue | CanvasColorValue | ElemPropsHookValue | ComposedElemPropsHookValue | SubModelElemPropsHookValue;
|
|
3
3
|
export declare const enhancedComponentParser: import("../docParser").ParserPlugin<SupportedValues>;
|
|
4
4
|
export {};
|
|
5
5
|
//# sourceMappingURL=enhancedComponentParser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enhancedComponentParser.d.ts","sourceRoot":"","sources":["../../../../docgen/plugins/enhancedComponentParser.ts"],"names":[],"mappings":"AACA,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,eAAe,CAAC;AA2IvB,
|
|
1
|
+
{"version":3,"file":"enhancedComponentParser.d.ts","sourceRoot":"","sources":["../../../../docgen/plugins/enhancedComponentParser.ts"],"names":[],"mappings":"AACA,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,eAAe,CAAC;AA2IvB,KAAK,eAAe,GAChB,sBAAsB,GACtB,gBAAgB,GAChB,kBAAkB,GAClB,0BAA0B,GAC1B,0BAA0B,CAAC;AAE/B,eAAO,MAAM,uBAAuB,sDAmYlC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
2
|
import { guards, kindsMap } from './traversals';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type KindMap = typeof kindsMap;
|
|
4
|
+
type Guards = typeof guards;
|
|
5
5
|
export interface API extends KindMap, Guards {
|
|
6
6
|
(node: ts.Node): {
|
|
7
7
|
find<K extends keyof KindMap>(kind: K, predicate?: (node: KindMap[K]) => boolean): KindMap[K][];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"traverse.d.ts","sourceRoot":"","sources":["../../../docgen/traverse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAsB,MAAM,cAAc,CAAC;AAEnE,
|
|
1
|
+
{"version":3,"file":"traverse.d.ts","sourceRoot":"","sources":["../../../docgen/traverse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAsB,MAAM,cAAc,CAAC;AAEnE,KAAK,OAAO,GAAG,OAAO,QAAQ,CAAC;AAC/B,KAAK,MAAM,GAAG,OAAO,MAAM,CAAC;AAE5B,MAAM,WAAW,GAAI,SAAQ,OAAO,EAAE,MAAM;IAC1C,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG;QACf,IAAI,CAAC,CAAC,SAAS,MAAM,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;KACjG,CAAC;IACF,mBAAmB,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,MAAM,CAAC;CAC5C;AACD,wBAAgB,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,OAAO,GAAG,EAAE,CAAC,IAAI,EAAE,CAcpF;AAED,QAAA,IAAI,CAAC,EAAE,GAAG,CAAC;AAkBX,eAAe,CAAC,CAAC"}
|
package/dist/es6/index.d.ts
CHANGED
package/dist/es6/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,wBAAwB,CAAC;AACxD,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC"}
|
package/dist/es6/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExampleCodeBlock.d.ts","sourceRoot":"","sources":["../../../lib/ExampleCodeBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqD1B,eAAO,MAAM,gBAAgB,aAAY,GAAG,sBAgF3C,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
|
|
3
|
+
import { TertiaryButton } from '@workday/canvas-kit-react/button';
|
|
4
|
+
import { Card } from '@workday/canvas-kit-react/card';
|
|
5
|
+
import { calc, createStencil, cssVar, px2rem } from '@workday/canvas-kit-styling';
|
|
6
|
+
import { system } from '@workday/canvas-tokens-web';
|
|
7
|
+
import { vscDarkPlus } from 'react-syntax-highlighter/dist/cjs/styles/prism';
|
|
8
|
+
import { checkCircleIcon, copyIcon } from '@workday/canvas-system-icons-web';
|
|
9
|
+
import { Tooltip } from '@workday/canvas-kit-react';
|
|
10
|
+
const cardStencil = createStencil({
|
|
11
|
+
base: {
|
|
12
|
+
'[data-part="example-block"]': {
|
|
13
|
+
boxShadow: system.depth[1],
|
|
14
|
+
borderRadius: system.shape.x1,
|
|
15
|
+
position: 'relative',
|
|
16
|
+
},
|
|
17
|
+
'[data-part="code-block"]': {
|
|
18
|
+
display: 'none',
|
|
19
|
+
boxShadow: system.depth[1],
|
|
20
|
+
borderRadius: system.shape.x1,
|
|
21
|
+
},
|
|
22
|
+
'[data-part="code-toggle-btn"]': {
|
|
23
|
+
position: 'absolute',
|
|
24
|
+
right: calc.negate(px2rem(1)),
|
|
25
|
+
bottom: calc.negate(px2rem(1)),
|
|
26
|
+
},
|
|
27
|
+
'[data-part="copy-btn"]': {
|
|
28
|
+
position: 'absolute',
|
|
29
|
+
bottom: system.space.zero,
|
|
30
|
+
right: system.space.zero,
|
|
31
|
+
borderRadius: system.shape.zero,
|
|
32
|
+
borderTopLeftRadius: system.shape.x1,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
modifiers: {
|
|
36
|
+
opened: {
|
|
37
|
+
true: {
|
|
38
|
+
'[data-part="code-block"]': {
|
|
39
|
+
display: 'block',
|
|
40
|
+
borderTopLeftRadius: system.shape.zero,
|
|
41
|
+
borderTopRightRadius: system.shape.zero,
|
|
42
|
+
},
|
|
43
|
+
'[data-part="example-block"]': {
|
|
44
|
+
borderBottomLeftRadius: system.shape.zero,
|
|
45
|
+
borderBottomRightRadius: system.shape.zero,
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
export const ExampleCodeBlock = ({ code }) => {
|
|
52
|
+
const [isCodeDisplayed, setCodeDisplayed] = React.useState(false);
|
|
53
|
+
const textInput = React.useRef(null);
|
|
54
|
+
const [copied, setCopied] = React.useState(false);
|
|
55
|
+
const timer = React.useRef();
|
|
56
|
+
const onCopy = () => {
|
|
57
|
+
if (timer.current) {
|
|
58
|
+
clearTimeout(timer.current);
|
|
59
|
+
}
|
|
60
|
+
timer.current = setTimeout(() => {
|
|
61
|
+
setCopied(false);
|
|
62
|
+
}, 2000);
|
|
63
|
+
setCopied(true);
|
|
64
|
+
// @ts-ignore
|
|
65
|
+
navigator.clipboard.writeText(textInput.current.textContent);
|
|
66
|
+
};
|
|
67
|
+
// React.useEffect(() => {
|
|
68
|
+
// if (copied) {
|
|
69
|
+
// const copyCodeTimeout = setTimeout(() => {
|
|
70
|
+
// setCopied(false);
|
|
71
|
+
// }, 2000);
|
|
72
|
+
// return () => {
|
|
73
|
+
// clearTimeout(copyCodeTimeout);
|
|
74
|
+
// };
|
|
75
|
+
// }
|
|
76
|
+
// }, [copied]);
|
|
77
|
+
return (React.createElement("div", { ...cardStencil({ opened: isCodeDisplayed }) },
|
|
78
|
+
React.createElement(Card, { "data-part": "example-block", className: "sb-unstyled" },
|
|
79
|
+
React.createElement(Card.Body, null,
|
|
80
|
+
React.createElement(code),
|
|
81
|
+
code && (React.createElement(TertiaryButton, { size: "extraSmall", onClick: () => setCodeDisplayed(!isCodeDisplayed), "data-part": "code-toggle-btn" }, !isCodeDisplayed ? 'Show Code' : 'Hide Code')))),
|
|
82
|
+
React.createElement(Card, { "data-part": "code-block", padding: 0 },
|
|
83
|
+
React.createElement(Card.Body, { cs: { position: 'relative' } },
|
|
84
|
+
code && (React.createElement("div", { ref: textInput },
|
|
85
|
+
React.createElement(SyntaxHighlighter, { className: "sb-unstyled", language: "jsx", style: vscDarkPlus, customStyle: {
|
|
86
|
+
fontSize: cssVar(system.fontSize.subtext.large),
|
|
87
|
+
lineHeight: cssVar(system.lineHeight.subtext.large),
|
|
88
|
+
margin: '0',
|
|
89
|
+
padding: `${cssVar(system.space.x8)} ${cssVar(system.space.x10)}`,
|
|
90
|
+
}, children: code.__RAW__ }))),
|
|
91
|
+
React.createElement(Tooltip, { title: copied ? 'Copied!' : 'Copy Source Code' },
|
|
92
|
+
React.createElement(TertiaryButton, { "aria-label": "Copy Code", size: "large", "data-part": "copy-btn", variant: "inverse", iconPosition: "end", icon: copied ? checkCircleIcon : copyIcon, onClick: onCopy }))))));
|
|
93
|
+
};
|
|
@@ -4,6 +4,6 @@ import { handleCsProp } from '@workday/canvas-kit-styling';
|
|
|
4
4
|
export const Base = createComponent('div')({
|
|
5
5
|
displayName: 'Base',
|
|
6
6
|
Component: (props, ref, Element) => {
|
|
7
|
-
return React.createElement(Element,
|
|
7
|
+
return React.createElement(Element, { ref: ref, ...handleCsProp(props) });
|
|
8
8
|
},
|
|
9
9
|
});
|
|
@@ -13,6 +13,6 @@ const bodyStyles = createStyles({
|
|
|
13
13
|
export const Body = createComponent('p')({
|
|
14
14
|
displayName: 'Body',
|
|
15
15
|
Component: (props, ref, Element) => {
|
|
16
|
-
return React.createElement(Base,
|
|
16
|
+
return React.createElement(Base, { as: Element, ref: ref, cs: bodyStyles, ...props });
|
|
17
17
|
},
|
|
18
18
|
});
|
|
@@ -12,6 +12,6 @@ const headingStyles = createStyles({
|
|
|
12
12
|
export const Heading = createComponent('div')({
|
|
13
13
|
displayName: 'Heading',
|
|
14
14
|
Component: (props, ref, Element) => {
|
|
15
|
-
return React.createElement(Base,
|
|
15
|
+
return React.createElement(Base, { as: Element, ref: ref, cs: headingStyles, ...props });
|
|
16
16
|
},
|
|
17
17
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../lib/InformationHighlight/Icon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAY3E,
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../lib/InformationHighlight/Icon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAY3E,KAAK,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AA6BpD,MAAM,WAAW,SAAU,SAAQ,eAAe;IAChD,OAAO,EAAE,OAAO,CAAC;CAClB;AAQD,eAAO,MAAM,IAAI;;;;;EAYf,CAAC"}
|
|
@@ -40,5 +40,5 @@ export const Icon = createSubcomponent('span')({
|
|
|
40
40
|
displayName: 'Icon',
|
|
41
41
|
modelHook: useInformationHighlightModel,
|
|
42
42
|
})(({ icon, ...props }, Element, model) => {
|
|
43
|
-
return (React.createElement(SystemIcon,
|
|
43
|
+
return (React.createElement(SystemIcon, { as: Element, icon: icon ? icon : defaultIcons[model.state.variant], ...iconStyles[model.state.variant], ...props }));
|
|
44
44
|
});
|
|
@@ -13,6 +13,6 @@ const linkStyles = createStyles({
|
|
|
13
13
|
export const Link = createComponent('div')({
|
|
14
14
|
displayName: 'Link',
|
|
15
15
|
Component: (props, ref, Element) => {
|
|
16
|
-
return React.createElement(ExternalHyperlink,
|
|
16
|
+
return React.createElement(ExternalHyperlink, { as: Element, ref: ref, className: linkStyles, ...props });
|
|
17
17
|
},
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/InformationHighlight/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAO,SAAS,EAAC,MAAM,QAAQ,CAAC;AAOvC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/InformationHighlight/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAO,SAAS,EAAC,MAAM,QAAQ,CAAC;AAOvC,KAAK,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AAEpD,UAAU,yBAA0B,SAAQ,SAAS;IACnD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA4BD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;CAiB/B,CAAC"}
|
|
@@ -40,5 +40,5 @@ export const InformationHighlight = createContainer('section')({
|
|
|
40
40
|
Link: Link,
|
|
41
41
|
},
|
|
42
42
|
})((props, Element, model) => {
|
|
43
|
-
return (React.createElement(Base,
|
|
43
|
+
return (React.createElement(Base, { as: Element, cs: [containerStyles, containerModifiers({ variant: model.state.variant })], ...props }));
|
|
44
44
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Variant = 'emphasis' | 'caution' | 'attention';
|
|
2
2
|
export declare const useInformationHighlightModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
3
3
|
variant: Variant;
|
|
4
4
|
}> & {} & {}) | undefined) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modelHook.d.ts","sourceRoot":"","sources":["../../../../lib/InformationHighlight/modelHook.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"modelHook.d.ts","sourceRoot":"","sources":["../../../../lib/InformationHighlight/modelHook.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AAE3D,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;EAWvC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
/**
|
|
2
3
|
* Special component that taps into @mdx-js/react components that are used by both Storybook and the
|
|
3
4
|
* Canvas Site. This means our docs can use the same components used in our MDX files without
|
|
@@ -9,5 +10,5 @@ export declare const MDX: import("@workday/canvas-kit-react").ElementComponent<"
|
|
|
9
10
|
*/
|
|
10
11
|
export declare const MdxJSToJSX: (props: {
|
|
11
12
|
children: string;
|
|
12
|
-
}) => JSX.Element;
|
|
13
|
+
}) => React.JSX.Element;
|
|
13
14
|
//# sourceMappingURL=MDXElements.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MDXElements.d.ts","sourceRoot":"","sources":["../../../lib/MDXElements.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MDXElements.d.ts","sourceRoot":"","sources":["../../../lib/MDXElements.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B;;;;GAIG;AACH,eAAO,MAAM,GAAG,sEAMd,CAAC;AAwDH;;GAEG;AACH,eAAO,MAAM,UAAU,UAAW;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,sBAQnD,CAAC"}
|
|
@@ -12,7 +12,7 @@ import { HeadingLevelContext, SymbolDialog } from './widgetUtils';
|
|
|
12
12
|
export const MDX = createComponent('div')({
|
|
13
13
|
Component({ children, ...elemProps }, _ref, Element) {
|
|
14
14
|
const components = useMDXComponents();
|
|
15
|
-
return React.createElement(components[Element], elemProps, children);
|
|
15
|
+
return React.createElement(components[Element] || Element, elemProps, children);
|
|
16
16
|
},
|
|
17
17
|
});
|
|
18
18
|
/**
|
|
@@ -16,5 +16,5 @@ export interface MoreTooltipProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
16
16
|
*/
|
|
17
17
|
placement?: Placement;
|
|
18
18
|
}
|
|
19
|
-
export declare const MoreTooltip: ({ placement, children, title, ...elemProps }: MoreTooltipProps) => JSX.Element;
|
|
19
|
+
export declare const MoreTooltip: ({ placement, children, title, ...elemProps }: MoreTooltipProps) => React.JSX.Element;
|
|
20
20
|
//# sourceMappingURL=MoreTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MoreTooltip.d.ts","sourceRoot":"","sources":["../../../lib/MoreTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAA4B,SAAS,EAAS,MAAM,iCAAiC,CAAC;AAS7F,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5E;;;;;;;OAOG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AA0BD,eAAO,MAAM,WAAW,iDAKrB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"MoreTooltip.d.ts","sourceRoot":"","sources":["../../../lib/MoreTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAA4B,SAAS,EAAS,MAAM,iCAAiC,CAAC;AAS7F,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5E;;;;;;;OAOG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AA0BD,eAAO,MAAM,WAAW,iDAKrB,gBAAgB,sBAwClB,CAAC"}
|
|
@@ -49,8 +49,8 @@ export const MoreTooltip = ({ placement = 'top', children, title, ...elemProps }
|
|
|
49
49
|
'aria-label': undefined,
|
|
50
50
|
...mergeCallbacks({ ...targetProps, onMouseEnter, onFocus }, children.props),
|
|
51
51
|
}),
|
|
52
|
-
React.createElement(Popper,
|
|
52
|
+
React.createElement(Popper, { placement: placement, ...popperProps }, ({ placement }) => {
|
|
53
53
|
const transformOrigin = getTransformFromPlacement(placement);
|
|
54
|
-
return (React.createElement(TooltipContainer,
|
|
54
|
+
return (React.createElement(TooltipContainer, { transformOrigin: transformOrigin, ...tooltipProps, ...elemProps }, titleText));
|
|
55
55
|
})));
|
|
56
56
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface SpecificationsProps {
|
|
2
3
|
file: string;
|
|
3
4
|
name?: string;
|
|
4
5
|
}
|
|
5
|
-
export declare const Specifications: ({ file, name }: SpecificationsProps) => JSX.Element | null;
|
|
6
|
+
export declare const Specifications: ({ file, name }: SpecificationsProps) => React.JSX.Element | null;
|
|
6
7
|
//# sourceMappingURL=Specifications.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Specifications.d.ts","sourceRoot":"","sources":["../../../lib/Specifications.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Specifications.d.ts","sourceRoot":"","sources":["../../../lib/Specifications.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AA8CD,eAAO,MAAM,cAAc,mBAAkB,mBAAmB,6BAqF/D,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type StyleProp = {
|
|
2
3
|
name: string;
|
|
3
4
|
properties: string[];
|
|
4
5
|
system: string;
|
|
@@ -6,6 +7,6 @@ declare type StyleProp = {
|
|
|
6
7
|
interface StylePropsTableProps {
|
|
7
8
|
styleProps?: StyleProp[];
|
|
8
9
|
}
|
|
9
|
-
export declare const StylePropsTable: ({ styleProps }: StylePropsTableProps) => JSX.Element;
|
|
10
|
+
export declare const StylePropsTable: ({ styleProps }: StylePropsTableProps) => React.JSX.Element;
|
|
10
11
|
export {};
|
|
11
12
|
//# sourceMappingURL=StylePropsTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StylePropsTable.d.ts","sourceRoot":"","sources":["../../../lib/StylePropsTable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StylePropsTable.d.ts","sourceRoot":"","sources":["../../../lib/StylePropsTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,UAAU,oBAAoB;IAC5B,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;CAC1B;AAMD,eAAO,MAAM,eAAe,mBAAuB,oBAAoB,sBAoCtE,CAAC"}
|
package/dist/es6/lib/Table.js
CHANGED
|
@@ -6,22 +6,22 @@ import styled from '@emotion/styled';
|
|
|
6
6
|
import { type } from '@workday/canvas-kit-react/tokens';
|
|
7
7
|
const TableHead = createComponent('thead')({
|
|
8
8
|
Component: (props, ref, Element) => {
|
|
9
|
-
return React.createElement(Box,
|
|
9
|
+
return React.createElement(Box, { as: Element, ref: ref, ...props });
|
|
10
10
|
},
|
|
11
11
|
});
|
|
12
12
|
const TableBody = createComponent('tbody')({
|
|
13
13
|
Component: (props, ref, Element) => {
|
|
14
|
-
return React.createElement(Box,
|
|
14
|
+
return React.createElement(Box, { as: Element, ref: ref, ...props });
|
|
15
15
|
},
|
|
16
16
|
});
|
|
17
17
|
const TableRow = createComponent('tr')({
|
|
18
18
|
Component: (props, ref, Element) => {
|
|
19
|
-
return (React.createElement(Box,
|
|
19
|
+
return (React.createElement(Box, { as: Element, ref: ref, borderBottom: "solid 1px", borderBottomColor: "soap400", ...props }));
|
|
20
20
|
},
|
|
21
21
|
});
|
|
22
22
|
const TableHeader = createComponent('th')({
|
|
23
23
|
Component: (props, ref, Element) => {
|
|
24
|
-
return (React.createElement(Text,
|
|
24
|
+
return (React.createElement(Text, { as: Element, ref: ref, fontWeight: "medium", paddingX: "xxs", paddingY: "s", textAlign: "start", typeLevel: "subtext.large", ...props }));
|
|
25
25
|
},
|
|
26
26
|
});
|
|
27
27
|
const StyledText = styled(Text)({
|
|
@@ -31,13 +31,13 @@ const StyledText = styled(Text)({
|
|
|
31
31
|
});
|
|
32
32
|
const TableData = createComponent('td')({
|
|
33
33
|
Component: (props, ref, Element) => {
|
|
34
|
-
return (React.createElement(StyledText,
|
|
34
|
+
return (React.createElement(StyledText, { as: Element, ref: ref, paddingX: "xxs", paddingY: "s", textAlign: "start", typeLevel: "subtext.large", ...props }));
|
|
35
35
|
},
|
|
36
36
|
});
|
|
37
37
|
export const Table = createComponent('table')({
|
|
38
38
|
displayName: 'Table',
|
|
39
39
|
Component: (props, ref, Element) => {
|
|
40
|
-
return (React.createElement(Box,
|
|
40
|
+
return (React.createElement(Box, { as: Element, ref: ref, borderCollapse: "collapse", width: "100%", ...props, marginBottom: "s" }));
|
|
41
41
|
},
|
|
42
42
|
subComponents: {
|
|
43
43
|
Head: TableHead,
|
package/dist/es6/lib/Value.d.ts
CHANGED
|
@@ -12,13 +12,13 @@ export interface ValueProps<T extends {
|
|
|
12
12
|
}
|
|
13
13
|
export declare const Value: <T extends {
|
|
14
14
|
kind: string;
|
|
15
|
-
} = types.Value>(props: ValueProps<T>) => JSX.Element;
|
|
15
|
+
} = types.Value>(props: ValueProps<T>) => React.JSX.Element;
|
|
16
16
|
export declare const PropertiesInline: ({ properties }: {
|
|
17
17
|
properties: types.ObjectProperty[];
|
|
18
|
-
}) => JSX.Element;
|
|
18
|
+
}) => React.JSX.Element;
|
|
19
19
|
export declare const PropertiesTable: ({ properties, showDefault, showRequired, }: {
|
|
20
20
|
properties: types.ObjectProperty[];
|
|
21
21
|
showDefault?: boolean | undefined;
|
|
22
22
|
showRequired?: boolean | undefined;
|
|
23
|
-
}) => JSX.Element;
|
|
23
|
+
}) => React.JSX.Element;
|
|
24
24
|
//# sourceMappingURL=Value.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Value.d.ts","sourceRoot":"","sources":["../../../lib/Value.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"Value.d.ts","sourceRoot":"","sources":["../../../lib/Value.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAS5C,wBAAgB,cAAc,CAAC,CAAC,SAAS;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,EACrD,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EACd,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,GAC9B,IAAI,CAGN;AAED,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,GAAG,KAAK,CAAC,KAAK;IAChE,KAAK,EAAE,CAAC,CAAC;IACT,GAAG,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IAC9B,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ;AAED,eAAO,MAAM,KAAK;UAAqB,MAAM;2DAW5C,CAAC;AAEF,eAAO,MAAM,gBAAgB;gBAA+B,MAAM,cAAc,EAAE;uBAgDjF,CAAC;AAgEF,eAAO,MAAM,eAAe;gBAKd,MAAM,cAAc,EAAE;;;uBAyBnC,CAAC"}
|
package/dist/es6/lib/Value.js
CHANGED
|
@@ -5,6 +5,7 @@ import { MdxJSToJSX } from './MDXElements';
|
|
|
5
5
|
import { Table } from './Table';
|
|
6
6
|
import { capitalize, IndentLevelContext, RenderContext, indent } from './widgetUtils';
|
|
7
7
|
import { DescriptionTooltip } from './DescriptionTooltip';
|
|
8
|
+
import { colors } from '@workday/canvas-kit-react/tokens';
|
|
8
9
|
const widgets = {};
|
|
9
10
|
export function registerWidget(key, widget) {
|
|
10
11
|
widget.displayName = `${capitalize(key)}Widget`;
|
|
@@ -30,11 +31,12 @@ export const PropertiesInline = ({ properties }) => {
|
|
|
30
31
|
return (React.createElement(React.Fragment, { key: index },
|
|
31
32
|
React.createElement("br", null),
|
|
32
33
|
indent(level + 1),
|
|
33
|
-
p.description ? (React.createElement(DescriptionTooltip, { type: "describe", style: { maxWidth: '50em' }, title: React.createElement(MdxJSToJSX, null, p.description) },
|
|
34
|
+
p.description || p.tags.deprecated ? (React.createElement(DescriptionTooltip, { type: "describe", style: { maxWidth: '50em' }, title: React.createElement(MdxJSToJSX, null, p.description || p.tags.deprecated) },
|
|
34
35
|
React.createElement("span", { className: "token property", style: {
|
|
35
36
|
cursor: 'pointer',
|
|
36
|
-
textDecoration: 'underline',
|
|
37
|
+
textDecoration: p.tags.deprecated ? 'line-through' : 'underline',
|
|
37
38
|
textDecorationStyle: 'dotted',
|
|
39
|
+
color: p.tags.deprecated ? colors.cinnamon600 : colors.plum600,
|
|
38
40
|
} }, p.name))) : (React.createElement("span", { className: "token property" }, p.name)),
|
|
39
41
|
React.createElement("span", { className: "token punctuation" }, ":"),
|
|
40
42
|
"\u00A0",
|
package/dist/es6/lib/docs.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ export declare const GithubBranch: React.Context<string>;
|
|
|
5
5
|
export declare const StorybookUrl: React.Context<string>;
|
|
6
6
|
export declare const docs: ExportedSymbol<Value>[];
|
|
7
7
|
export declare function getDoc(name: string, fileName?: string): ExportedSymbol<Value> | undefined;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
type Unsubscribe = () => void;
|
|
9
|
+
type CallbackFn = (doc: ExportedSymbol) => void;
|
|
10
|
+
type Subscription = {
|
|
11
11
|
name: string;
|
|
12
12
|
fileName?: string;
|
|
13
13
|
callback: CallbackFn;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../lib/docs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,cAAc,EAAE,KAAK,EAAC,MAAM,oBAAoB,CAAC;AAEzD,eAAO,MAAM,SAAS,uBAAgE,CAAC;AACvF,eAAO,MAAM,YAAY,uBAAgC,CAAC;AAC1D,eAAO,MAAM,YAAY,uBAIxB,CAAC;AAEF,eAAO,MAAM,IAAI,yBAId,CAAC;AAEJ,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,qCAIrD;AAED,
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../lib/docs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,cAAc,EAAE,KAAK,EAAC,MAAM,oBAAoB,CAAC;AAEzD,eAAO,MAAM,SAAS,uBAAgE,CAAC;AACvF,eAAO,MAAM,YAAY,uBAAgC,CAAC;AAC1D,eAAO,MAAM,YAAY,uBAIxB,CAAC;AAEF,eAAO,MAAM,IAAI,yBAId,CAAC;AAEJ,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,qCAIrD;AAED,KAAK,WAAW,GAAG,MAAM,IAAI,CAAC;AAC9B,KAAK,UAAU,GAAG,CAAC,GAAG,EAAE,cAAc,KAAK,IAAI,CAAC;AAChD,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,UAAU,CAAC;CACtB,CAAC;AAIF,wBAAgB,SAAS,CAAC,QAAQ,EAAE,YAAY,GAAG,WAAW,CAS7D;AAED,wBAAgB,UAAU,CAAC,WAAW,EAAE,cAAc,EAAE,QAevD"}
|