paris 0.23.1 → 0.24.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/CHANGELOG.md +16 -0
- package/README.md +17 -17
- package/dist/helpers/OpenChangeEffect.d.ts +11 -0
- package/dist/helpers/OpenChangeEffect.js +16 -0
- package/dist/helpers/OpenChangeEffect.js.map +1 -0
- package/dist/helpers/renderEnhancer.d.ts +7 -0
- package/dist/helpers/renderEnhancer.js +20 -0
- package/dist/helpers/renderEnhancer.js.map +1 -0
- package/dist/helpers/useControllableState.d.ts +7 -0
- package/dist/helpers/useControllableState.js +49 -0
- package/dist/helpers/useControllableState.js.map +1 -0
- package/dist/helpers/useIsMounted.d.ts +1 -0
- package/dist/helpers/useResizeObserver.d.ts +12 -0
- package/dist/stories/accordion/Accordion.d.ts +47 -0
- package/dist/stories/accordion/Accordion.js +82 -0
- package/dist/stories/accordion/Accordion.js.map +1 -0
- package/dist/stories/accordion/Accordion.module.css +130 -0
- package/dist/stories/accordion/Accordion.module.scss.js +26 -0
- package/dist/stories/accordion/Accordion.module.scss.js.map +1 -0
- package/dist/stories/accordion/index.js +2 -0
- package/dist/stories/accordion/index.js.map +1 -0
- package/dist/stories/accordionselect/AccordionSelect.d.ts +102 -0
- package/dist/stories/accordionselect/AccordionSelect.js +137 -0
- package/dist/stories/accordionselect/AccordionSelect.js.map +1 -0
- package/dist/stories/accordionselect/AccordionSelect.module.css +106 -0
- package/dist/stories/accordionselect/AccordionSelect.module.scss.js +27 -0
- package/dist/stories/accordionselect/AccordionSelect.module.scss.js.map +1 -0
- package/dist/stories/accordionselect/index.js +2 -0
- package/dist/stories/accordionselect/index.js.map +1 -0
- package/dist/stories/avatar/Avatar.d.ts +22 -0
- package/dist/stories/avatar/Avatar.js +37 -0
- package/dist/stories/avatar/Avatar.js.map +1 -0
- package/dist/stories/avatar/Avatar.module.css +7 -0
- package/dist/stories/avatar/Avatar.module.scss.js +7 -0
- package/dist/stories/avatar/Avatar.module.scss.js.map +1 -0
- package/dist/stories/avatar/index.js +2 -0
- package/dist/stories/avatar/index.js.map +1 -0
- package/dist/stories/button/Button.d.ts +120 -0
- package/dist/stories/button/Button.js +123 -0
- package/dist/stories/button/Button.js.map +1 -0
- package/dist/stories/button/Button.module.css +137 -0
- package/dist/stories/button/Button.module.scss.js +35 -0
- package/dist/stories/button/Button.module.scss.js.map +1 -0
- package/dist/stories/button/index.js +2 -0
- package/dist/stories/button/index.js.map +1 -0
- package/dist/stories/callout/Callout.d.ts +22 -0
- package/dist/stories/callout/Callout.js +21 -0
- package/dist/stories/callout/Callout.js.map +1 -0
- package/dist/stories/callout/Callout.module.css +35 -0
- package/dist/stories/callout/Callout.module.scss.js +15 -0
- package/dist/stories/callout/Callout.module.scss.js.map +1 -0
- package/dist/stories/callout/index.js +2 -0
- package/dist/stories/callout/index.js.map +1 -0
- package/dist/stories/card/Card.d.ts +30 -0
- package/dist/stories/card/Card.js +22 -0
- package/dist/stories/card/Card.js.map +1 -0
- package/dist/stories/card/Card.module.css +39 -0
- package/dist/stories/card/Card.module.scss.js +17 -0
- package/dist/stories/card/Card.module.scss.js.map +1 -0
- package/dist/stories/card/index.js +2 -0
- package/dist/stories/card/index.js.map +1 -0
- package/dist/stories/cardbutton/CardButton.d.ts +50 -0
- package/dist/stories/cardbutton/CardButton.js +53 -0
- package/dist/stories/cardbutton/CardButton.js.map +1 -0
- package/dist/stories/cardbutton/CardButton.module.css +77 -0
- package/dist/stories/cardbutton/CardButton.module.scss.js +19 -0
- package/dist/stories/cardbutton/CardButton.module.scss.js.map +1 -0
- package/dist/stories/cardbutton/index.js +2 -0
- package/dist/stories/cardbutton/index.js.map +1 -0
- package/dist/stories/checkbox/Checkbox.d.ts +31 -0
- package/dist/stories/checkbox/Checkbox.js +99 -0
- package/dist/stories/checkbox/Checkbox.js.map +1 -0
- package/dist/stories/checkbox/Checkbox.module.css +155 -0
- package/dist/stories/checkbox/Checkbox.module.scss.js +32 -0
- package/dist/stories/checkbox/Checkbox.module.scss.js.map +1 -0
- package/dist/stories/checkbox/index.js +2 -0
- package/dist/stories/checkbox/index.js.map +1 -0
- package/dist/stories/codeinput/CodeInput.d.ts +47 -0
- package/dist/stories/codeinput/CodeInput.js +105 -0
- package/dist/stories/codeinput/CodeInput.js.map +1 -0
- package/dist/stories/codeinput/CodeInput.module.css +63 -0
- package/dist/stories/codeinput/CodeInput.module.scss.js +13 -0
- package/dist/stories/codeinput/CodeInput.module.scss.js.map +1 -0
- package/dist/stories/codeinput/index.js +2 -0
- package/dist/stories/codeinput/index.js.map +1 -0
- package/dist/stories/combobox/Combobox.d.ts +125 -0
- package/dist/stories/combobox/Combobox.js +257 -0
- package/dist/stories/combobox/Combobox.js.map +1 -0
- package/dist/stories/combobox/index.js +2 -0
- package/dist/stories/combobox/index.js.map +1 -0
- package/dist/stories/dialog/Dialog.d.ts +103 -0
- package/dist/stories/dialog/Dialog.js +187 -0
- package/dist/stories/dialog/Dialog.js.map +1 -0
- package/dist/stories/dialog/Dialog.module.css +185 -0
- package/dist/stories/dialog/Dialog.module.scss.js +48 -0
- package/dist/stories/dialog/Dialog.module.scss.js.map +1 -0
- package/dist/stories/dialog/index.js +2 -0
- package/dist/stories/dialog/index.js.map +1 -0
- package/dist/stories/drawer/Drawer.d.ts +143 -0
- package/dist/stories/drawer/Drawer.js +357 -0
- package/dist/stories/drawer/Drawer.js.map +1 -0
- package/dist/stories/drawer/Drawer.module.css +406 -0
- package/dist/stories/drawer/Drawer.module.scss.js +96 -0
- package/dist/stories/drawer/Drawer.module.scss.js.map +1 -0
- package/dist/stories/drawer/DrawerActions.d.ts +5 -0
- package/dist/stories/drawer/DrawerActions.js +23 -0
- package/dist/stories/drawer/DrawerActions.js.map +1 -0
- package/dist/stories/drawer/DrawerBottomPanel.d.ts +9 -0
- package/dist/stories/drawer/DrawerBottomPanel.js +48 -0
- package/dist/stories/drawer/DrawerBottomPanel.js.map +1 -0
- package/dist/stories/drawer/DrawerContext.d.ts +11 -0
- package/dist/stories/drawer/DrawerContext.js +23 -0
- package/dist/stories/drawer/DrawerContext.js.map +1 -0
- package/dist/stories/drawer/DrawerPage.d.ts +12 -0
- package/dist/stories/drawer/DrawerPage.js +22 -0
- package/dist/stories/drawer/DrawerPage.js.map +1 -0
- package/dist/stories/drawer/DrawerPageContext.d.ts +12 -0
- package/dist/stories/drawer/DrawerPageContext.js +23 -0
- package/dist/stories/drawer/DrawerPageContext.js.map +1 -0
- package/dist/stories/drawer/DrawerPaginationContext.d.ts +9 -0
- package/dist/stories/drawer/DrawerPaginationContext.js +17 -0
- package/dist/stories/drawer/DrawerPaginationContext.js.map +1 -0
- package/dist/stories/drawer/DrawerProgressBar.d.ts +15 -0
- package/dist/stories/drawer/DrawerProgressBar.js +60 -0
- package/dist/stories/drawer/DrawerProgressBar.js.map +1 -0
- package/dist/stories/drawer/DrawerSlotContext.d.ts +34 -0
- package/dist/stories/drawer/DrawerSlotContext.js +120 -0
- package/dist/stories/drawer/DrawerSlotContext.js.map +1 -0
- package/dist/stories/drawer/DrawerTitle.d.ts +5 -0
- package/dist/stories/drawer/DrawerTitle.js +29 -0
- package/dist/stories/drawer/DrawerTitle.js.map +1 -0
- package/dist/stories/drawer/index.js +10 -0
- package/dist/stories/drawer/index.js.map +1 -0
- package/dist/stories/field/Field.d.ts +54 -0
- package/dist/stories/field/Field.js +91 -0
- package/dist/stories/field/Field.js.map +1 -0
- package/dist/stories/field/index.js +2 -0
- package/dist/stories/field/index.js.map +1 -0
- package/dist/stories/icon/ArrowRight.d.ts +2 -0
- package/dist/stories/icon/ArrowRight.js +13 -0
- package/dist/stories/icon/ArrowRight.js.map +1 -0
- package/dist/stories/icon/Check.d.ts +2 -0
- package/dist/stories/icon/Check.js +13 -0
- package/dist/stories/icon/Check.js.map +1 -0
- package/dist/stories/icon/ChevronLeft.d.ts +2 -0
- package/dist/stories/icon/ChevronLeft.js +13 -0
- package/dist/stories/icon/ChevronLeft.js.map +1 -0
- package/dist/stories/icon/ChevronRight.d.ts +2 -0
- package/dist/stories/icon/ChevronRight.js +13 -0
- package/dist/stories/icon/ChevronRight.js.map +1 -0
- package/dist/stories/icon/Close.d.ts +2 -0
- package/dist/stories/icon/Close.js +13 -0
- package/dist/stories/icon/Close.js.map +1 -0
- package/dist/stories/icon/Ellipsis.d.ts +2 -0
- package/dist/stories/icon/Ellipsis.js +13 -0
- package/dist/stories/icon/Ellipsis.js.map +1 -0
- package/{src/stories/icon/Icon.tsx → dist/stories/icon/Icon.d.ts} +2 -8
- package/dist/stories/icon/Icon.js +8 -0
- package/dist/stories/icon/Icon.js.map +1 -0
- package/dist/stories/icon/Info.d.ts +2 -0
- package/dist/stories/icon/Info.js +13 -0
- package/dist/stories/icon/Info.js.map +1 -0
- package/dist/stories/icon/NotificationDot.d.ts +2 -0
- package/dist/stories/icon/NotificationDot.js +7 -0
- package/dist/stories/icon/NotificationDot.js.map +1 -0
- package/dist/stories/icon/Spinner.d.ts +2 -0
- package/dist/stories/icon/Spinner.js +24 -0
- package/dist/stories/icon/Spinner.js.map +1 -0
- package/dist/stories/icon/index.js +11 -0
- package/dist/stories/icon/index.js.map +1 -0
- package/dist/stories/informationaltooltip/InformationalTooltip.d.ts +68 -0
- package/dist/stories/informationaltooltip/InformationalTooltip.js +85 -0
- package/dist/stories/informationaltooltip/InformationalTooltip.js.map +1 -0
- package/dist/stories/informationaltooltip/InformationalTooltip.module.css +22 -0
- package/dist/stories/informationaltooltip/InformationalTooltip.module.scss.js +11 -0
- package/dist/stories/informationaltooltip/InformationalTooltip.module.scss.js.map +1 -0
- package/dist/stories/informationaltooltip/index.js +2 -0
- package/dist/stories/informationaltooltip/index.js.map +1 -0
- package/dist/stories/input/Input.d.ts +57 -0
- package/dist/stories/input/Input.js +108 -0
- package/dist/stories/input/Input.js.map +1 -0
- package/dist/stories/input/Input.module.css +165 -0
- package/dist/stories/input/Input.module.scss.js +23 -0
- package/dist/stories/input/Input.module.scss.js.map +1 -0
- package/dist/stories/input/index.js +2 -0
- package/dist/stories/input/index.js.map +1 -0
- package/dist/stories/markdown/Markdown.d.ts +36 -0
- package/dist/stories/markdown/Markdown.js +141 -0
- package/dist/stories/markdown/Markdown.js.map +1 -0
- package/dist/stories/markdown/Markdown.module.css +301 -0
- package/dist/stories/markdown/Markdown.module.scss.js +73 -0
- package/dist/stories/markdown/Markdown.module.scss.js.map +1 -0
- package/dist/stories/markdown/index.js +2 -0
- package/dist/stories/markdown/index.js.map +1 -0
- package/dist/stories/markdowneditor/FixedToolbar.d.ts +19 -0
- package/dist/stories/markdowneditor/FixedToolbar.js +212 -0
- package/dist/stories/markdowneditor/FixedToolbar.js.map +1 -0
- package/dist/stories/markdowneditor/FixedToolbar.module.css +24 -0
- package/dist/stories/markdowneditor/FixedToolbar.module.scss.js +11 -0
- package/dist/stories/markdowneditor/FixedToolbar.module.scss.js.map +1 -0
- package/dist/stories/markdowneditor/FloatingToolbar.d.ts +15 -0
- package/dist/stories/markdowneditor/FloatingToolbar.js +66 -0
- package/dist/stories/markdowneditor/FloatingToolbar.js.map +1 -0
- package/dist/stories/markdowneditor/FloatingToolbar.module.css +18 -0
- package/dist/stories/markdowneditor/FloatingToolbar.module.scss.js +9 -0
- package/dist/stories/markdowneditor/FloatingToolbar.module.scss.js.map +1 -0
- package/dist/stories/markdowneditor/LinkPopover.d.ts +11 -0
- package/dist/stories/markdowneditor/LinkPopover.js +106 -0
- package/dist/stories/markdowneditor/LinkPopover.js.map +1 -0
- package/dist/stories/markdowneditor/LinkPopover.module.css +113 -0
- package/dist/stories/markdowneditor/LinkPopover.module.scss.js +21 -0
- package/dist/stories/markdowneditor/LinkPopover.module.scss.js.map +1 -0
- package/{src/stories/markdowneditor/MarkdownEditor.tsx → dist/stories/markdowneditor/MarkdownEditor.d.ts} +5 -68
- package/dist/stories/markdowneditor/MarkdownEditor.js +62 -0
- package/dist/stories/markdowneditor/MarkdownEditor.js.map +1 -0
- package/dist/stories/markdowneditor/MarkdownEditor.module.css +325 -0
- package/dist/stories/markdowneditor/MarkdownEditor.module.scss.js +11 -0
- package/dist/stories/markdowneditor/MarkdownEditor.module.scss.js.map +1 -0
- package/dist/stories/markdowneditor/MarkdownEditorContext.d.ts +10 -0
- package/dist/stories/markdowneditor/MarkdownEditorContext.js +11 -0
- package/dist/stories/markdowneditor/MarkdownEditorContext.js.map +1 -0
- package/dist/stories/markdowneditor/ToolbarButton.d.ts +22 -0
- package/dist/stories/markdowneditor/ToolbarButton.js +33 -0
- package/dist/stories/markdowneditor/ToolbarButton.js.map +1 -0
- package/dist/stories/markdowneditor/ToolbarButton.module.css +30 -0
- package/dist/stories/markdowneditor/ToolbarButton.module.scss.js +7 -0
- package/dist/stories/markdowneditor/ToolbarButton.module.scss.js.map +1 -0
- package/dist/stories/markdowneditor/features.d.ts +10 -0
- package/dist/stories/markdowneditor/features.js +79 -0
- package/dist/stories/markdowneditor/features.js.map +1 -0
- package/dist/stories/markdowneditor/index.js +7 -0
- package/dist/stories/markdowneditor/index.js.map +1 -0
- package/dist/stories/markdowneditor/useMarkdownEditor.d.ts +19 -0
- package/dist/stories/markdowneditor/useMarkdownEditor.js +50 -0
- package/dist/stories/markdowneditor/useMarkdownEditor.js.map +1 -0
- package/dist/stories/menu/Menu.d.ts +48 -0
- package/dist/stories/menu/Menu.js +31 -0
- package/dist/stories/menu/Menu.js.map +1 -0
- package/dist/stories/menu/Menu.module.css +59 -0
- package/dist/stories/menu/Menu.module.scss.js +12 -0
- package/dist/stories/menu/Menu.module.scss.js.map +1 -0
- package/dist/stories/menu/index.js +2 -0
- package/dist/stories/menu/index.js.map +1 -0
- package/dist/stories/pagination/index.js +2 -0
- package/dist/stories/pagination/index.js.map +1 -0
- package/dist/stories/pagination/usePagination.d.ts +47 -0
- package/dist/stories/pagination/usePagination.js +52 -0
- package/dist/stories/pagination/usePagination.js.map +1 -0
- package/dist/stories/popover/Popover.d.ts +29 -0
- package/dist/stories/popover/Popover.js +56 -0
- package/dist/stories/popover/Popover.js.map +1 -0
- package/dist/stories/popover/Popover.module.css +20 -0
- package/dist/stories/popover/Popover.module.scss.js +8 -0
- package/dist/stories/popover/Popover.module.scss.js.map +1 -0
- package/dist/stories/popover/index.js +2 -0
- package/dist/stories/popover/index.js.map +1 -0
- package/dist/stories/select/Select.d.ts +112 -0
- package/dist/stories/select/Select.js +283 -0
- package/dist/stories/select/Select.js.map +1 -0
- package/dist/stories/select/Select.module.css +236 -0
- package/dist/stories/select/Select.module.scss.js +47 -0
- package/dist/stories/select/Select.module.scss.js.map +1 -0
- package/dist/stories/select/index.js +2 -0
- package/dist/stories/select/index.js.map +1 -0
- package/dist/stories/styledlink/StyledLink.d.ts +20 -0
- package/dist/stories/styledlink/StyledLink.js +15 -0
- package/dist/stories/styledlink/StyledLink.js.map +1 -0
- package/dist/stories/styledlink/StyledLink.module.css +10 -0
- package/dist/stories/styledlink/StyledLink.module.scss.js +7 -0
- package/dist/stories/styledlink/StyledLink.module.scss.js.map +1 -0
- package/dist/stories/styledlink/index.js +2 -0
- package/dist/stories/styledlink/index.js.map +1 -0
- package/dist/stories/table/Table.d.ts +76 -0
- package/dist/stories/table/Table.js +91 -0
- package/dist/stories/table/Table.js.map +1 -0
- package/dist/stories/table/Table.module.css +60 -0
- package/dist/stories/table/Table.module.scss.js +21 -0
- package/dist/stories/table/Table.module.scss.js.map +1 -0
- package/dist/stories/table/index.js +2 -0
- package/dist/stories/table/index.js.map +1 -0
- package/dist/stories/tabs/Tabs.d.ts +74 -0
- package/dist/stories/tabs/Tabs.js +128 -0
- package/dist/stories/tabs/Tabs.js.map +1 -0
- package/dist/stories/tabs/Tabs.module.css +144 -0
- package/dist/stories/tabs/Tabs.module.scss.js +37 -0
- package/dist/stories/tabs/Tabs.module.scss.js.map +1 -0
- package/dist/stories/tabs/index.js +2 -0
- package/dist/stories/tabs/index.js.map +1 -0
- package/dist/stories/tag/Tag.d.ts +36 -0
- package/dist/stories/tag/Tag.js +52 -0
- package/dist/stories/tag/Tag.js.map +1 -0
- package/dist/stories/tag/Tag.module.css +164 -0
- package/dist/stories/tag/Tag.module.scss.js +38 -0
- package/dist/stories/tag/Tag.module.scss.js.map +1 -0
- package/dist/stories/tag/index.js +2 -0
- package/dist/stories/tag/index.js.map +1 -0
- package/dist/stories/text/Text.d.ts +52 -0
- package/dist/stories/text/Text.js +37 -0
- package/dist/stories/text/Text.js.map +1 -0
- package/dist/stories/text/Text.module.css +54 -0
- package/dist/stories/text/Text.module.scss.js +19 -0
- package/dist/stories/text/Text.module.scss.js.map +1 -0
- package/{src → dist}/stories/text/Typography.module.css +20 -20
- package/dist/stories/text/Typography.module.css.js +45 -0
- package/dist/stories/text/Typography.module.css.js.map +1 -0
- package/dist/stories/text/index.js +2 -0
- package/dist/stories/text/index.js.map +1 -0
- package/dist/stories/textarea/TextArea.d.ts +28 -0
- package/dist/stories/textarea/TextArea.js +102 -0
- package/dist/stories/textarea/TextArea.js.map +1 -0
- package/dist/stories/textarea/index.js +2 -0
- package/dist/stories/textarea/index.js.map +1 -0
- package/{src/stories/theme/tw-preflight.css → dist/stories/theme/global.css} +86 -110
- package/dist/stories/theme/index.js +4 -0
- package/dist/stories/theme/index.js.map +1 -0
- package/dist/stories/theme/themes.d.ts +513 -0
- package/dist/stories/theme/themes.js +854 -0
- package/dist/stories/theme/themes.js.map +1 -0
- package/dist/stories/theme/tokens.d.ts +128 -0
- package/dist/stories/theme/tokens.js +130 -0
- package/dist/stories/theme/tokens.js.map +1 -0
- package/dist/stories/tilt/Tilt.d.ts +70 -0
- package/dist/stories/tilt/Tilt.js +256 -0
- package/dist/stories/tilt/Tilt.js.map +1 -0
- package/dist/stories/tilt/Tilt.module.css +22 -0
- package/dist/stories/tilt/Tilt.module.scss.js +11 -0
- package/dist/stories/tilt/Tilt.module.scss.js.map +1 -0
- package/dist/stories/tilt/index.js +2 -0
- package/dist/stories/tilt/index.js.map +1 -0
- package/{src/stories/toast/Toast.tsx → dist/stories/toast/Toast.d.ts} +3 -17
- package/dist/stories/toast/Toast.js +19 -0
- package/dist/stories/toast/Toast.js.map +1 -0
- package/dist/stories/toast/Toast.module.css +17 -0
- package/dist/stories/toast/Toast.module.scss.js +7 -0
- package/dist/stories/toast/Toast.module.scss.js.map +1 -0
- package/dist/stories/toast/index.js +3 -0
- package/dist/stories/toast/index.js.map +1 -0
- package/dist/stories/utility/EasingFunctions.d.ts +1 -0
- package/dist/stories/utility/EasingFunctions.js +6 -0
- package/dist/stories/utility/EasingFunctions.js.map +1 -0
- package/dist/stories/utility/RemoveFromDOM.d.ts +11 -0
- package/dist/stories/utility/RemoveFromDOM.js +7 -0
- package/dist/stories/utility/RemoveFromDOM.js.map +1 -0
- package/dist/stories/utility/TextWhenString.d.ts +6 -0
- package/dist/stories/utility/TextWhenString.js +13 -0
- package/dist/stories/utility/TextWhenString.js.map +1 -0
- package/dist/stories/utility/VisuallyHidden.d.ts +13 -0
- package/dist/stories/utility/VisuallyHidden.js +8 -0
- package/dist/stories/utility/VisuallyHidden.js.map +1 -0
- package/dist/stories/utility/index.js +5 -0
- package/dist/stories/utility/index.js.map +1 -0
- package/dist/styles.css +3307 -0
- package/dist/types/Enhancer.d.ts +4 -0
- package/package.json +148 -44
- package/src/helpers/OpenChangeEffect.tsx +0 -21
- package/src/helpers/renderEnhancer.tsx +0 -20
- package/src/helpers/useControllableState.test.ts +0 -88
- package/src/helpers/useControllableState.ts +0 -59
- package/src/helpers/useIsMounted.ts +0 -17
- package/src/helpers/useResizeObserver.ts +0 -94
- package/src/pages/_app.tsx +0 -6
- package/src/pages/_document.tsx +0 -13
- package/src/pages/index.tsx +0 -116
- package/src/stories/Pagination.mdx +0 -73
- package/src/stories/Tokens.mdx +0 -46
- package/src/stories/Welcome.mdx +0 -8
- package/src/stories/accordion/Accordion.module.scss +0 -163
- package/src/stories/accordion/Accordion.stories.ts +0 -48
- package/src/stories/accordion/Accordion.test.tsx +0 -142
- package/src/stories/accordion/Accordion.tsx +0 -148
- package/src/stories/accordionselect/AccordionSelect.module.scss +0 -119
- package/src/stories/accordionselect/AccordionSelect.stories.ts +0 -38
- package/src/stories/accordionselect/AccordionSelect.test.tsx +0 -327
- package/src/stories/accordionselect/AccordionSelect.tsx +0 -249
- package/src/stories/avatar/Avatar.module.scss +0 -7
- package/src/stories/avatar/Avatar.stories.ts +0 -22
- package/src/stories/avatar/Avatar.test.tsx +0 -77
- package/src/stories/avatar/Avatar.tsx +0 -55
- package/src/stories/button/Button.module.scss +0 -167
- package/src/stories/button/Button.stories.ts +0 -93
- package/src/stories/button/Button.test.tsx +0 -266
- package/src/stories/button/Button.tsx +0 -226
- package/src/stories/callout/Callout.module.scss +0 -43
- package/src/stories/callout/Callout.stories.ts +0 -52
- package/src/stories/callout/Callout.test.tsx +0 -79
- package/src/stories/callout/Callout.tsx +0 -43
- package/src/stories/card/Card.module.scss +0 -42
- package/src/stories/card/Card.stories.ts +0 -38
- package/src/stories/card/Card.test.tsx +0 -81
- package/src/stories/card/Card.tsx +0 -54
- package/src/stories/cardbutton/CardButton.module.scss +0 -88
- package/src/stories/cardbutton/CardButton.stories.tsx +0 -24
- package/src/stories/cardbutton/CardButton.test.tsx +0 -174
- package/src/stories/cardbutton/CardButton.tsx +0 -100
- package/src/stories/checkbox/Checkbox.module.scss +0 -198
- package/src/stories/checkbox/Checkbox.stories.ts +0 -87
- package/src/stories/checkbox/Checkbox.test.tsx +0 -584
- package/src/stories/checkbox/Checkbox.tsx +0 -123
- package/src/stories/codeinput/CodeInput.module.scss +0 -77
- package/src/stories/codeinput/CodeInput.stories.ts +0 -51
- package/src/stories/codeinput/CodeInput.test.tsx +0 -56
- package/src/stories/codeinput/CodeInput.tsx +0 -160
- package/src/stories/combobox/Combobox.module.scss +0 -5
- package/src/stories/combobox/Combobox.stories.ts +0 -270
- package/src/stories/combobox/Combobox.test.tsx +0 -275
- package/src/stories/combobox/Combobox.tsx +0 -396
- package/src/stories/dialog/Dialog.module.scss +0 -211
- package/src/stories/dialog/Dialog.stories.tsx +0 -93
- package/src/stories/dialog/Dialog.test.tsx +0 -244
- package/src/stories/dialog/Dialog.tsx +0 -283
- package/src/stories/drawer/Drawer.module.scss +0 -479
- package/src/stories/drawer/Drawer.stories.tsx +0 -494
- package/src/stories/drawer/Drawer.test.tsx +0 -734
- package/src/stories/drawer/Drawer.tsx +0 -548
- package/src/stories/drawer/DrawerActions.tsx +0 -28
- package/src/stories/drawer/DrawerBottomPanel.tsx +0 -55
- package/src/stories/drawer/DrawerContext.tsx +0 -31
- package/src/stories/drawer/DrawerPage.tsx +0 -37
- package/src/stories/drawer/DrawerPageContext.tsx +0 -35
- package/src/stories/drawer/DrawerPaginationContext.tsx +0 -22
- package/src/stories/drawer/DrawerProgressBar.tsx +0 -72
- package/src/stories/drawer/DrawerSlotContext.tsx +0 -172
- package/src/stories/drawer/DrawerTitle.tsx +0 -35
- package/src/stories/field/Field.stories.ts +0 -36
- package/src/stories/field/Field.test.tsx +0 -146
- package/src/stories/field/Field.tsx +0 -145
- package/src/stories/icon/ArrowRight.tsx +0 -11
- package/src/stories/icon/Check.tsx +0 -11
- package/src/stories/icon/ChevronLeft.tsx +0 -11
- package/src/stories/icon/ChevronRight.tsx +0 -11
- package/src/stories/icon/Close.tsx +0 -11
- package/src/stories/icon/Ellipsis.tsx +0 -11
- package/src/stories/icon/Icon.module.scss +0 -5
- package/src/stories/icon/Icon.stories.ts +0 -33
- package/src/stories/icon/Icon.test.tsx +0 -59
- package/src/stories/icon/Info.tsx +0 -11
- package/src/stories/icon/NotificationDot.tsx +0 -8
- package/src/stories/icon/Spinner.tsx +0 -17
- package/src/stories/informationaltooltip/InformationalTooltip.module.scss +0 -23
- package/src/stories/informationaltooltip/InformationalTooltip.stories.tsx +0 -61
- package/src/stories/informationaltooltip/InformationalTooltip.test.tsx +0 -178
- package/src/stories/informationaltooltip/InformationalTooltip.tsx +0 -170
- package/src/stories/input/Input.module.scss +0 -217
- package/src/stories/input/Input.stories.ts +0 -110
- package/src/stories/input/Input.test.tsx +0 -174
- package/src/stories/input/Input.tsx +0 -181
- package/src/stories/markdown/Markdown.module.scss +0 -384
- package/src/stories/markdown/Markdown.stories.ts +0 -203
- package/src/stories/markdown/Markdown.test.tsx +0 -228
- package/src/stories/markdown/Markdown.tsx +0 -293
- package/src/stories/markdowneditor/FixedToolbar.module.scss +0 -24
- package/src/stories/markdowneditor/FixedToolbar.tsx +0 -274
- package/src/stories/markdowneditor/FloatingToolbar.module.scss +0 -21
- package/src/stories/markdowneditor/FloatingToolbar.tsx +0 -94
- package/src/stories/markdowneditor/LinkPopover.module.scss +0 -124
- package/src/stories/markdowneditor/LinkPopover.tsx +0 -135
- package/src/stories/markdowneditor/MarkdownEditor.module.scss +0 -405
- package/src/stories/markdowneditor/MarkdownEditor.stories.tsx +0 -226
- package/src/stories/markdowneditor/MarkdownEditor.test.tsx +0 -115
- package/src/stories/markdowneditor/MarkdownEditorContext.tsx +0 -20
- package/src/stories/markdowneditor/ToolbarButton.module.scss +0 -35
- package/src/stories/markdowneditor/ToolbarButton.tsx +0 -52
- package/src/stories/markdowneditor/features.ts +0 -92
- package/src/stories/markdowneditor/useMarkdownEditor.ts +0 -75
- package/src/stories/menu/Menu.module.scss +0 -71
- package/src/stories/menu/Menu.stories.tsx +0 -37
- package/src/stories/menu/Menu.test.tsx +0 -254
- package/src/stories/menu/Menu.tsx +0 -95
- package/src/stories/pagination/usePagination.test.ts +0 -259
- package/src/stories/pagination/usePagination.ts +0 -117
- package/src/stories/popover/Popover.module.scss +0 -22
- package/src/stories/popover/Popover.stories.ts +0 -20
- package/src/stories/popover/Popover.test.tsx +0 -152
- package/src/stories/popover/Popover.tsx +0 -89
- package/src/stories/select/Select.module.scss +0 -311
- package/src/stories/select/Select.stories.ts +0 -153
- package/src/stories/select/Select.test.tsx +0 -341
- package/src/stories/select/Select.tsx +0 -398
- package/src/stories/styledlink/StyledLink.module.scss +0 -11
- package/src/stories/styledlink/StyledLink.stories.ts +0 -28
- package/src/stories/styledlink/StyledLink.test.tsx +0 -59
- package/src/stories/styledlink/StyledLink.tsx +0 -33
- package/src/stories/table/Table.module.scss +0 -74
- package/src/stories/table/Table.stories.ts +0 -62
- package/src/stories/table/Table.test.tsx +0 -156
- package/src/stories/table/Table.tsx +0 -182
- package/src/stories/tabs/Tabs.module.scss +0 -185
- package/src/stories/tabs/Tabs.stories.tsx +0 -209
- package/src/stories/tabs/Tabs.test.tsx +0 -167
- package/src/stories/tabs/Tabs.tsx +0 -191
- package/src/stories/tag/Tag.module.scss +0 -189
- package/src/stories/tag/Tag.stories.ts +0 -58
- package/src/stories/tag/Tag.test.tsx +0 -90
- package/src/stories/tag/Tag.tsx +0 -84
- package/src/stories/text/Text.module.scss +0 -39
- package/src/stories/text/Text.stories.ts +0 -195
- package/src/stories/text/Text.test.tsx +0 -81
- package/src/stories/text/Text.tsx +0 -108
- package/src/stories/textarea/TextArea.stories.ts +0 -39
- package/src/stories/textarea/TextArea.test.tsx +0 -147
- package/src/stories/textarea/TextArea.tsx +0 -112
- package/src/stories/theme/global.scss +0 -6
- package/src/stories/theme/themes.ts +0 -1509
- package/src/stories/theme/tokens.ts +0 -149
- package/src/stories/theme/util.scss +0 -8
- package/src/stories/tilt/Tilt.module.scss +0 -22
- package/src/stories/tilt/Tilt.stories.tsx +0 -42
- package/src/stories/tilt/Tilt.test.tsx +0 -203
- package/src/stories/tilt/Tilt.tsx +0 -375
- package/src/stories/toast/Toast.module.scss +0 -20
- package/src/stories/toast/Toast.stories.tsx +0 -31
- package/src/stories/toast/Toast.test.tsx +0 -86
- package/src/stories/utility/Dropdown.module.scss +0 -28
- package/src/stories/utility/EasingFunctions.ts +0 -3
- package/src/stories/utility/RemoveFromDOM.tsx +0 -15
- package/src/stories/utility/TextWhenString.tsx +0 -15
- package/src/stories/utility/Utility.test.tsx +0 -96
- package/src/stories/utility/VisuallyHidden.tsx +0 -18
- package/src/styles/Home.module.css +0 -268
- package/src/styles/globals.css +0 -3
- package/src/test/render.tsx +0 -20
- package/src/test/setup.ts +0 -32
- package/src/types/Enhancer.ts +0 -3
- /package/{src/stories/accordion/index.ts → dist/stories/accordion/index.d.ts} +0 -0
- /package/{src/stories/accordionselect/index.ts → dist/stories/accordionselect/index.d.ts} +0 -0
- /package/{src/stories/avatar/index.ts → dist/stories/avatar/index.d.ts} +0 -0
- /package/{src/stories/button/index.ts → dist/stories/button/index.d.ts} +0 -0
- /package/{src/stories/callout/index.ts → dist/stories/callout/index.d.ts} +0 -0
- /package/{src/stories/card/index.ts → dist/stories/card/index.d.ts} +0 -0
- /package/{src/stories/cardbutton/index.ts → dist/stories/cardbutton/index.d.ts} +0 -0
- /package/{src/stories/checkbox/index.ts → dist/stories/checkbox/index.d.ts} +0 -0
- /package/{src/stories/codeinput/index.ts → dist/stories/codeinput/index.d.ts} +0 -0
- /package/{src/stories/combobox/index.ts → dist/stories/combobox/index.d.ts} +0 -0
- /package/{src/stories/dialog/index.ts → dist/stories/dialog/index.d.ts} +0 -0
- /package/{src/stories/drawer/index.ts → dist/stories/drawer/index.d.ts} +0 -0
- /package/{src/stories/field/index.ts → dist/stories/field/index.d.ts} +0 -0
- /package/{src/stories/icon/index.ts → dist/stories/icon/index.d.ts} +0 -0
- /package/{src/stories/informationaltooltip/index.ts → dist/stories/informationaltooltip/index.d.ts} +0 -0
- /package/{src/stories/input/index.ts → dist/stories/input/index.d.ts} +0 -0
- /package/{src/stories/markdown/index.ts → dist/stories/markdown/index.d.ts} +0 -0
- /package/{src/stories/markdowneditor/index.ts → dist/stories/markdowneditor/index.d.ts} +0 -0
- /package/{src/stories/menu/index.ts → dist/stories/menu/index.d.ts} +0 -0
- /package/{src/stories/pagination/index.ts → dist/stories/pagination/index.d.ts} +0 -0
- /package/{src/stories/popover/index.ts → dist/stories/popover/index.d.ts} +0 -0
- /package/{src/stories/select/index.ts → dist/stories/select/index.d.ts} +0 -0
- /package/{src/stories/styledlink/index.ts → dist/stories/styledlink/index.d.ts} +0 -0
- /package/{src/stories/table/index.ts → dist/stories/table/index.d.ts} +0 -0
- /package/{src/stories/tabs/index.ts → dist/stories/tabs/index.d.ts} +0 -0
- /package/{src/stories/tag/index.ts → dist/stories/tag/index.d.ts} +0 -0
- /package/{src/stories/text/index.ts → dist/stories/text/index.d.ts} +0 -0
- /package/{src/stories/textarea/index.ts → dist/stories/textarea/index.d.ts} +0 -0
- /package/{src/stories/theme/index.ts → dist/stories/theme/index.d.ts} +0 -0
- /package/{src/stories/tilt/index.ts → dist/stories/tilt/index.d.ts} +0 -0
- /package/{src/stories/toast/index.ts → dist/stories/toast/index.d.ts} +0 -0
- /package/{src/stories/utility/index.ts → dist/stories/utility/index.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkPopover.js","sources":["../../../src/stories/markdowneditor/LinkPopover.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { useCallback, useEffect, useRef, useState } from 'react';\nimport styles from './LinkPopover.module.scss';\nimport { useMarkdownEditorContext } from './MarkdownEditorContext';\n\nexport type LinkPopoverProps = {\n /** Callback when the popover should close. */\n onClose: () => void;\n};\n\n/**\n * An inline popover for inserting/editing links.\n * Reads the current link state from the editor and allows\n * setting href and target attributes.\n */\nexport const LinkPopover: FC<LinkPopoverProps> = ({ onClose }) => {\n const { editor } = useMarkdownEditorContext();\n const inputRef = useRef<HTMLInputElement>(null);\n const popoverRef = useRef<HTMLDivElement>(null);\n\n // Read existing link attributes if cursor is on a link\n const existingHref = editor?.getAttributes('link')?.href ?? '';\n const existingTarget = editor?.getAttributes('link')?.target ?? '_blank';\n\n const [url, setUrl] = useState(existingHref);\n const [openInNewTab, setOpenInNewTab] = useState(existingTarget === '_blank');\n\n // Focus the input on mount\n useEffect(() => {\n inputRef.current?.focus();\n inputRef.current?.select();\n }, []);\n\n // Close on click outside\n useEffect(() => {\n const handleClickOutside = (e: MouseEvent) => {\n if (popoverRef.current && !popoverRef.current.contains(e.target as Node)) {\n onClose();\n }\n };\n // Use requestAnimationFrame to skip the current event that triggered the popover\n const raf = requestAnimationFrame(() => {\n document.addEventListener('mousedown', handleClickOutside);\n });\n return () => {\n cancelAnimationFrame(raf);\n document.removeEventListener('mousedown', handleClickOutside);\n };\n }, [onClose]);\n\n // Close on Escape\n useEffect(() => {\n const handleKeyDown = (e: KeyboardEvent) => {\n if (e.key === 'Escape') {\n onClose();\n editor?.chain().focus().run();\n }\n };\n document.addEventListener('keydown', handleKeyDown);\n return () => document.removeEventListener('keydown', handleKeyDown);\n }, [onClose, editor]);\n\n const handleApply = useCallback(() => {\n if (!editor) return;\n\n if (!url) {\n editor.chain().focus().unsetLink().run();\n } else {\n editor\n .chain()\n .focus()\n .extendMarkRange('link')\n .setLink({\n href: url,\n target: openInNewTab ? '_blank' : null,\n })\n .run();\n }\n onClose();\n }, [editor, url, openInNewTab, onClose]);\n\n const handleRemove = useCallback(() => {\n if (!editor) return;\n editor.chain().focus().unsetLink().run();\n onClose();\n }, [editor, onClose]);\n\n const handleKeyDown = useCallback(\n (e: React.KeyboardEvent) => {\n if (e.key === 'Enter') {\n e.preventDefault();\n handleApply();\n }\n },\n [handleApply],\n );\n\n return (\n <div ref={popoverRef} className={styles.popover}>\n <div className={styles.label}>Link URL</div>\n <div className={styles.inputRow}>\n <input\n ref={inputRef}\n type=\"url\"\n className={styles.input}\n placeholder=\"https://...\"\n value={url}\n onChange={(e) => setUrl(e.target.value)}\n onKeyDown={handleKeyDown}\n />\n <button\n type=\"button\"\n className={styles.applyButton}\n onMouseDown={(e) => e.preventDefault()}\n onClick={handleApply}\n >\n Apply\n </button>\n </div>\n <div className={styles.footer}>\n <label className={styles.checkboxLabel}>\n <input type=\"checkbox\" checked={openInNewTab} onChange={(e) => setOpenInNewTab(e.target.checked)} />\n Open in new tab\n </label>\n {existingHref && (\n <button type=\"button\" className={styles.removeButton} onClick={handleRemove}>\n Remove link\n </button>\n )}\n </div>\n </div>\n );\n};\n"],"names":["handleKeyDown"],"mappings":";;;;;;AAiBO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,WAAA,CAAA,CAAA,C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AA,CAAA,CAAA,CAAA,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,YAAA,CAAA,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAE7E;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAER;AAAA,CAAA,CAAA,CAAA,EACJ,CAAA;AAER,CAAA;;"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
.paris_popover_NuqJ8 {
|
|
2
|
+
position: absolute;
|
|
3
|
+
top: calc(100% + 8px);
|
|
4
|
+
left: 0;
|
|
5
|
+
z-index: var(--pte-new-layers-popover);
|
|
6
|
+
background-color: var(--pte-new-colors-surfacePrimary, var(--pte-new-colors-backgroundPrimary));
|
|
7
|
+
border: 1px solid var(--pte-new-colors-borderSubtle);
|
|
8
|
+
border-radius: var(--pte-new-borders-radius-rounded, 8px);
|
|
9
|
+
box-shadow: var(--pte-new-shadows-shallowPopup, 0 4px 12px rgba(0, 0, 0, 0.15));
|
|
10
|
+
padding: 8px 10px;
|
|
11
|
+
width: 280px;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
gap: 6px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.paris_label_U8nq1 {
|
|
18
|
+
font-size: var(--pte-new-typography-styles-labelXSmall-fontSize, 11px);
|
|
19
|
+
font-weight: 600;
|
|
20
|
+
text-transform: uppercase;
|
|
21
|
+
letter-spacing: 0.05em;
|
|
22
|
+
color: var(--pte-new-colors-contentTertiary);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.paris_inputRow_pIHbL {
|
|
26
|
+
display: flex;
|
|
27
|
+
gap: 6px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.paris_input_faso5 {
|
|
31
|
+
flex: 1;
|
|
32
|
+
background-color: var(--pte-new-colors-inputFill);
|
|
33
|
+
border: 1px solid var(--pte-new-colors-borderSubtle);
|
|
34
|
+
border-radius: 4px;
|
|
35
|
+
padding: 4px 8px;
|
|
36
|
+
color: var(--pte-new-colors-contentPrimary);
|
|
37
|
+
font-size: 11px;
|
|
38
|
+
font-family: inherit;
|
|
39
|
+
outline: none;
|
|
40
|
+
transition: border-color var(--pte-new-animations-interaction, 150ms) ease;
|
|
41
|
+
}
|
|
42
|
+
.paris_input_faso5:focus {
|
|
43
|
+
border-color: var(--pte-new-colors-inputBorderFocus);
|
|
44
|
+
}
|
|
45
|
+
.paris_input_faso5::placeholder {
|
|
46
|
+
color: var(--pte-new-colors-contentTertiary);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.paris_applyButton_bm-xU {
|
|
50
|
+
background-color: var(--pte-new-colors-buttonFill);
|
|
51
|
+
border: none;
|
|
52
|
+
border-radius: 4px;
|
|
53
|
+
padding: 4px 10px;
|
|
54
|
+
color: var(--pte-new-colors-contentInversePrimary, #fff);
|
|
55
|
+
font-size: 11px;
|
|
56
|
+
font-weight: 600;
|
|
57
|
+
font-family: inherit;
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
transition: background-color var(--pte-new-animations-interaction, 150ms) ease;
|
|
60
|
+
flex-shrink: 0;
|
|
61
|
+
}
|
|
62
|
+
.paris_applyButton_bm-xU:hover {
|
|
63
|
+
background-color: var(--pte-new-colors-buttonFillHover);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.paris_footer_qWJTt {
|
|
67
|
+
display: flex;
|
|
68
|
+
justify-content: space-between;
|
|
69
|
+
align-items: center;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.paris_checkboxLabel_NLpLl {
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
gap: 4px;
|
|
76
|
+
font-size: 11px;
|
|
77
|
+
color: var(--pte-new-colors-contentTertiary);
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
}
|
|
80
|
+
.paris_checkboxLabel_NLpLl input[type=checkbox] {
|
|
81
|
+
appearance: none;
|
|
82
|
+
width: 14px;
|
|
83
|
+
height: 14px;
|
|
84
|
+
border: 2px solid var(--pte-new-colors-contentTertiary);
|
|
85
|
+
border-radius: var(--pte-borders-radius-rectangle);
|
|
86
|
+
background: transparent;
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
position: relative;
|
|
89
|
+
flex-shrink: 0;
|
|
90
|
+
transition: var(--pte-animations-interaction);
|
|
91
|
+
}
|
|
92
|
+
.paris_checkboxLabel_NLpLl input[type=checkbox]:checked::after {
|
|
93
|
+
content: "";
|
|
94
|
+
position: absolute;
|
|
95
|
+
inset: -2px;
|
|
96
|
+
background-color: var(--pte-new-colors-contentPrimary);
|
|
97
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.333374 0.333252V13.6666H13.6667V0.333252H0.333374ZM6.00004 10.3999L2.26672 6.66658L3.66671 5.26658L5.93339 7.53325L10.2 3.26658L11.6001 4.66659L6.00004 10.3999Z' fill='black'/%3E%3C/svg%3E");
|
|
98
|
+
mask-size: contain;
|
|
99
|
+
mask-repeat: no-repeat;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.paris_removeButton_jnMTA {
|
|
103
|
+
background: none;
|
|
104
|
+
border: none;
|
|
105
|
+
color: var(--pte-new-colors-contentNegative);
|
|
106
|
+
font-size: 11px;
|
|
107
|
+
font-family: inherit;
|
|
108
|
+
cursor: pointer;
|
|
109
|
+
padding: 0;
|
|
110
|
+
}
|
|
111
|
+
.paris_removeButton_jnMTA:hover {
|
|
112
|
+
text-decoration: underline;
|
|
113
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import './LinkPopover.module.css';const popover = "paris_popover_NuqJ8";
|
|
2
|
+
const label = "paris_label_U8nq1";
|
|
3
|
+
const inputRow = "paris_inputRow_pIHbL";
|
|
4
|
+
const input = "paris_input_faso5";
|
|
5
|
+
const applyButton = "paris_applyButton_bm-xU";
|
|
6
|
+
const footer = "paris_footer_qWJTt";
|
|
7
|
+
const checkboxLabel = "paris_checkboxLabel_NLpLl";
|
|
8
|
+
const removeButton = "paris_removeButton_jnMTA";
|
|
9
|
+
const styles = {
|
|
10
|
+
popover: popover,
|
|
11
|
+
label: label,
|
|
12
|
+
inputRow: inputRow,
|
|
13
|
+
input: input,
|
|
14
|
+
applyButton: applyButton,
|
|
15
|
+
footer: footer,
|
|
16
|
+
checkboxLabel: checkboxLabel,
|
|
17
|
+
removeButton: removeButton
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { applyButton, checkboxLabel, styles as default, footer, input, inputRow, label, popover, removeButton };
|
|
21
|
+
//# sourceMappingURL=LinkPopover.module.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkPopover.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import type { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
|
|
6
|
-
import { useMemo } from 'react';
|
|
7
|
-
import type { MarkdownSize } from '../markdown';
|
|
8
|
-
import type { MarkdownEditorFeature } from './features';
|
|
9
|
-
import { ALL_FEATURES } from './features';
|
|
10
|
-
import styles from './MarkdownEditor.module.scss';
|
|
11
|
-
import type { ImageUploadHandler } from './MarkdownEditorContext';
|
|
12
|
-
import { MarkdownEditorContext } from './MarkdownEditorContext';
|
|
13
|
-
import { useMarkdownEditor } from './useMarkdownEditor';
|
|
14
|
-
|
|
1
|
+
import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
|
|
2
|
+
import { MarkdownSize } from '../markdown';
|
|
3
|
+
import { MarkdownEditorFeature } from './features';
|
|
4
|
+
import { ImageUploadHandler } from './MarkdownEditorContext';
|
|
15
5
|
export type MarkdownEditorProps = {
|
|
16
6
|
/** The markdown string value (controlled). */
|
|
17
7
|
value: string;
|
|
@@ -50,7 +40,6 @@ export type MarkdownEditorProps = {
|
|
|
50
40
|
*/
|
|
51
41
|
children?: ReactNode;
|
|
52
42
|
};
|
|
53
|
-
|
|
54
43
|
/**
|
|
55
44
|
* A WYSIWYG markdown editor built on Tiptap, styled with Paris design tokens.
|
|
56
45
|
* It pairs with the read-only `<Markdown>` component as its write counterpart.
|
|
@@ -78,56 +67,4 @@ export type MarkdownEditorProps = {
|
|
|
78
67
|
*
|
|
79
68
|
* @constructor
|
|
80
69
|
*/
|
|
81
|
-
export const MarkdownEditor: FC<MarkdownEditorProps
|
|
82
|
-
value,
|
|
83
|
-
onChange,
|
|
84
|
-
features = ALL_FEATURES,
|
|
85
|
-
placeholder,
|
|
86
|
-
size = 'paragraphSmall',
|
|
87
|
-
editable = true,
|
|
88
|
-
autofocus = false,
|
|
89
|
-
handleImageUpload,
|
|
90
|
-
className,
|
|
91
|
-
status = 'default',
|
|
92
|
-
overrides,
|
|
93
|
-
children,
|
|
94
|
-
}) => {
|
|
95
|
-
const { editor, featureSet } = useMarkdownEditor({
|
|
96
|
-
value,
|
|
97
|
-
onChange,
|
|
98
|
-
features,
|
|
99
|
-
placeholder,
|
|
100
|
-
editable,
|
|
101
|
-
autofocus,
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
const contextValue = useMemo(
|
|
105
|
-
() => ({ editor, features: featureSet, handleImageUpload }),
|
|
106
|
-
[editor, featureSet, handleImageUpload],
|
|
107
|
-
);
|
|
108
|
-
|
|
109
|
-
return (
|
|
110
|
-
<MarkdownEditorContext.Provider value={contextValue}>
|
|
111
|
-
<div {...overrides?.root} className={clsx(styles.root, className, overrides?.root?.className)}>
|
|
112
|
-
<div
|
|
113
|
-
{...overrides?.editorContainer}
|
|
114
|
-
className={clsx(styles.editorContainer, overrides?.editorContainer?.className)}
|
|
115
|
-
data-status={status}
|
|
116
|
-
data-disabled={!editable}
|
|
117
|
-
>
|
|
118
|
-
{children}
|
|
119
|
-
<div
|
|
120
|
-
className={styles.editorContent}
|
|
121
|
-
style={
|
|
122
|
-
{
|
|
123
|
-
'--markdown-base-font-size': `var(--pte-new-typography-styles-${size}-fontSize)`,
|
|
124
|
-
} as React.CSSProperties
|
|
125
|
-
}
|
|
126
|
-
>
|
|
127
|
-
<EditorContent editor={editor} />
|
|
128
|
-
</div>
|
|
129
|
-
</div>
|
|
130
|
-
</div>
|
|
131
|
-
</MarkdownEditorContext.Provider>
|
|
132
|
-
);
|
|
133
|
-
};
|
|
70
|
+
export declare const MarkdownEditor: FC<MarkdownEditorProps>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import { EditorContent } from '@tiptap/react';
|
|
4
|
+
import { clsx } from 'clsx';
|
|
5
|
+
import { useMemo } from 'react';
|
|
6
|
+
import { ALL_FEATURES } from './features.js';
|
|
7
|
+
import styles from './MarkdownEditor.module.scss.js';
|
|
8
|
+
import { MarkdownEditorContext } from './MarkdownEditorContext.js';
|
|
9
|
+
import { useMarkdownEditor } from './useMarkdownEditor.js';
|
|
10
|
+
|
|
11
|
+
const MarkdownEditor = ({
|
|
12
|
+
value,
|
|
13
|
+
onChange,
|
|
14
|
+
features = ALL_FEATURES,
|
|
15
|
+
placeholder,
|
|
16
|
+
size = "paragraphSmall",
|
|
17
|
+
editable = true,
|
|
18
|
+
autofocus = false,
|
|
19
|
+
handleImageUpload,
|
|
20
|
+
className,
|
|
21
|
+
status = "default",
|
|
22
|
+
overrides,
|
|
23
|
+
children
|
|
24
|
+
}) => {
|
|
25
|
+
const { editor, featureSet } = useMarkdownEditor({
|
|
26
|
+
value,
|
|
27
|
+
onChange,
|
|
28
|
+
features,
|
|
29
|
+
placeholder,
|
|
30
|
+
editable,
|
|
31
|
+
autofocus
|
|
32
|
+
});
|
|
33
|
+
const contextValue = useMemo(
|
|
34
|
+
() => ({ editor, features: featureSet, handleImageUpload }),
|
|
35
|
+
[editor, featureSet, handleImageUpload]
|
|
36
|
+
);
|
|
37
|
+
return /* @__PURE__ */ jsx(MarkdownEditorContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { ...overrides?.root, className: clsx(styles.root, className, overrides?.root?.className), children: /* @__PURE__ */ jsxs(
|
|
38
|
+
"div",
|
|
39
|
+
{
|
|
40
|
+
...overrides?.editorContainer,
|
|
41
|
+
className: clsx(styles.editorContainer, overrides?.editorContainer?.className),
|
|
42
|
+
"data-status": status,
|
|
43
|
+
"data-disabled": !editable,
|
|
44
|
+
children: [
|
|
45
|
+
children,
|
|
46
|
+
/* @__PURE__ */ jsx(
|
|
47
|
+
"div",
|
|
48
|
+
{
|
|
49
|
+
className: styles.editorContent,
|
|
50
|
+
style: {
|
|
51
|
+
"--markdown-base-font-size": `var(--pte-new-typography-styles-${size}-fontSize)`
|
|
52
|
+
},
|
|
53
|
+
children: /* @__PURE__ */ jsx(EditorContent, { editor })
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
) }) });
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export { MarkdownEditor };
|
|
62
|
+
//# sourceMappingURL=MarkdownEditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkdownEditor.js","sources":["../../../src/stories/markdowneditor/MarkdownEditor.tsx"],"sourcesContent":["'use client';\n\nimport { EditorContent } from '@tiptap/react';\nimport { clsx } from 'clsx';\nimport type { ComponentPropsWithoutRef, FC, ReactNode } from 'react';\nimport { useMemo } from 'react';\nimport type { MarkdownSize } from '../markdown';\nimport type { MarkdownEditorFeature } from './features';\nimport { ALL_FEATURES } from './features';\nimport styles from './MarkdownEditor.module.scss';\nimport type { ImageUploadHandler } from './MarkdownEditorContext';\nimport { MarkdownEditorContext } from './MarkdownEditorContext';\nimport { useMarkdownEditor } from './useMarkdownEditor';\n\nexport type MarkdownEditorProps = {\n /** The markdown string value (controlled). */\n value: string;\n /** Fires with the updated markdown string on every edit. */\n onChange?: (value: string) => void;\n /** Whitelist of formatting features to enable. Defaults to all features. */\n features?: MarkdownEditorFeature[];\n /** Placeholder text shown when the editor is empty. */\n placeholder?: string;\n /**\n * Base text size for body content, matching the Markdown component's size prop.\n * @default 'paragraphSmall'\n */\n size?: MarkdownSize;\n /** Whether the editor is editable. @default true */\n editable?: boolean;\n /** Whether to autofocus the editor on mount. @default false */\n autofocus?: boolean;\n /** An optional CSS class name for the root wrapper. */\n className?: string;\n /**\n * Handler for image uploads. Receives a File, should return a Promise\n * resolving to the image URL. If not provided, the image button is hidden.\n */\n handleImageUpload?: ImageUploadHandler;\n /** Visual status for the editor container (follows Input pattern). */\n status?: 'default' | 'error' | 'success';\n /** Prop overrides for sub-elements. */\n overrides?: {\n root?: ComponentPropsWithoutRef<'div'>;\n editorContainer?: ComponentPropsWithoutRef<'div'>;\n };\n /**\n * Children are placed inside the context provider, before the editor content.\n * This is where toolbar components should be placed.\n */\n children?: ReactNode;\n};\n\n/**\n * A WYSIWYG markdown editor built on Tiptap, styled with Paris design tokens.\n * It pairs with the read-only `<Markdown>` component as its write counterpart.\n *\n * The editor uses a compound component pattern — toolbar components are passed\n * as children and communicate with the editor via React context.\n *\n * <hr />\n *\n * To use this component, import it as follows:\n *\n * ```tsx\n * import { MarkdownEditor, FixedToolbar, FloatingToolbar } from 'paris/markdowneditor';\n *\n * export const Example: FC = () => {\n * const [md, setMd] = useState('');\n * return (\n * <MarkdownEditor value={md} onChange={setMd} placeholder=\"Start writing...\">\n * <FixedToolbar />\n * <FloatingToolbar />\n * </MarkdownEditor>\n * );\n * };\n * ```\n *\n * @constructor\n */\nexport const MarkdownEditor: FC<MarkdownEditorProps> = ({\n value,\n onChange,\n features = ALL_FEATURES,\n placeholder,\n size = 'paragraphSmall',\n editable = true,\n autofocus = false,\n handleImageUpload,\n className,\n status = 'default',\n overrides,\n children,\n}) => {\n const { editor, featureSet } = useMarkdownEditor({\n value,\n onChange,\n features,\n placeholder,\n editable,\n autofocus,\n });\n\n const contextValue = useMemo(\n () => ({ editor, features: featureSet, handleImageUpload }),\n [editor, featureSet, handleImageUpload],\n );\n\n return (\n <MarkdownEditorContext.Provider value={contextValue}>\n <div {...overrides?.root} className={clsx(styles.root, className, overrides?.root?.className)}>\n <div\n {...overrides?.editorContainer}\n className={clsx(styles.editorContainer, overrides?.editorContainer?.className)}\n data-status={status}\n data-disabled={!editable}\n >\n {children}\n <div\n className={styles.editorContent}\n style={\n {\n '--markdown-base-font-size': `var(--pte-new-typography-styles-${size}-fontSize)`,\n } as React.CSSProperties\n }\n >\n <EditorContent editor={editor} />\n </div>\n </div>\n </div>\n </MarkdownEditorContext.Provider>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;AAgFO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAA0C,CAAC;AAAA,CAAA,CACpD,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CACA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CACA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CACX,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CA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CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAClB,KAAA,CAAA,CACI;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACI,2BAAA,CAAA,CAA6B,mCAAmC,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACxE;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAGJ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,kBAAA,CAAA,CAAA,CAAA,CAAC,iBAAc,MAAA,CAAA,CAAgB;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACnC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,GAER,CAAA,CAAA,CACJ,CAAA;AAER,CAAA;;"}
|
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* ── MarkdownEditor styles ────────────────────────────────────
|
|
3
|
+
* Uses Paris design tokens (--pte-*) for consistent theming.
|
|
4
|
+
* Editor content styles mirror Markdown.module.scss but target
|
|
5
|
+
* native HTML elements rendered by Tiptap (not CSS module classes).
|
|
6
|
+
* ──────────────────────────────────────────────────────────── */
|
|
7
|
+
.paris_root_AbYRN {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.paris_editorContainer_9v7gh {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
border-radius: var(--pte-borders-radius-rectangle);
|
|
17
|
+
background-color: var(--pte-new-colors-inputFill);
|
|
18
|
+
border: 1px solid var(--pte-new-colors-inputFill);
|
|
19
|
+
transition: var(--pte-animations-interaction);
|
|
20
|
+
}
|
|
21
|
+
.paris_editorContainer_9v7gh:focus-within {
|
|
22
|
+
outline: none;
|
|
23
|
+
border-color: var(--pte-new-colors-inputBorderFocus);
|
|
24
|
+
background-color: var(--pte-new-colors-inputFillFocus);
|
|
25
|
+
}
|
|
26
|
+
.paris_editorContainer_9v7gh[data-status=error] {
|
|
27
|
+
border-color: var(--pte-new-colors-inputBorderNegative);
|
|
28
|
+
background-color: var(--pte-new-colors-inputFillNegative);
|
|
29
|
+
color: var(--pte-new-colors-contentNegative);
|
|
30
|
+
}
|
|
31
|
+
.paris_editorContainer_9v7gh[data-status=error]:focus-within {
|
|
32
|
+
color: var(--pte-new-colors-contentPrimary);
|
|
33
|
+
}
|
|
34
|
+
.paris_editorContainer_9v7gh[data-status=success] {
|
|
35
|
+
border-color: var(--pte-new-colors-backgroundPositive);
|
|
36
|
+
}
|
|
37
|
+
.paris_editorContainer_9v7gh[data-disabled=true] {
|
|
38
|
+
background-color: var(--pte-new-colors-inputFillDisabled);
|
|
39
|
+
border-color: var(--pte-new-colors-inputFillDisabled);
|
|
40
|
+
color: var(--pte-new-colors-contentDisabled);
|
|
41
|
+
pointer-events: none;
|
|
42
|
+
cursor: default;
|
|
43
|
+
}
|
|
44
|
+
.paris_editorContainer_9v7gh[data-disabled=true]:focus-within {
|
|
45
|
+
border-color: var(--pte-new-colors-inputFillDisabled) !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.paris_editorContent_WTm2y {
|
|
49
|
+
padding: 12px 16px;
|
|
50
|
+
min-height: 120px;
|
|
51
|
+
outline: none;
|
|
52
|
+
line-height: 1.7;
|
|
53
|
+
color: var(--pte-new-colors-contentPrimary);
|
|
54
|
+
font-size: var(--markdown-base-font-size, 14px);
|
|
55
|
+
}
|
|
56
|
+
.paris_editorContent_WTm2y .tiptap {
|
|
57
|
+
outline: none;
|
|
58
|
+
min-height: inherit;
|
|
59
|
+
}
|
|
60
|
+
.paris_editorContent_WTm2y .tiptap > *:first-child {
|
|
61
|
+
margin-top: 0;
|
|
62
|
+
}
|
|
63
|
+
.paris_editorContent_WTm2y .tiptap > *:last-child {
|
|
64
|
+
margin-bottom: 0;
|
|
65
|
+
}
|
|
66
|
+
.paris_editorContent_WTm2y .tiptap p.is-editor-empty:first-child::before {
|
|
67
|
+
content: attr(data-placeholder);
|
|
68
|
+
color: var(--pte-new-colors-contentTertiary);
|
|
69
|
+
pointer-events: none;
|
|
70
|
+
float: left;
|
|
71
|
+
height: 0;
|
|
72
|
+
}
|
|
73
|
+
.paris_editorContent_WTm2y h1,
|
|
74
|
+
.paris_editorContent_WTm2y h2,
|
|
75
|
+
.paris_editorContent_WTm2y h3,
|
|
76
|
+
.paris_editorContent_WTm2y h4,
|
|
77
|
+
.paris_editorContent_WTm2y h5,
|
|
78
|
+
.paris_editorContent_WTm2y h6 {
|
|
79
|
+
margin-top: 1.5em;
|
|
80
|
+
margin-bottom: 0.6em;
|
|
81
|
+
color: var(--pte-new-colors-contentPrimary);
|
|
82
|
+
line-height: 1.3;
|
|
83
|
+
}
|
|
84
|
+
.paris_editorContent_WTm2y h1:first-child,
|
|
85
|
+
.paris_editorContent_WTm2y h2:first-child,
|
|
86
|
+
.paris_editorContent_WTm2y h3:first-child,
|
|
87
|
+
.paris_editorContent_WTm2y h4:first-child,
|
|
88
|
+
.paris_editorContent_WTm2y h5:first-child,
|
|
89
|
+
.paris_editorContent_WTm2y h6:first-child {
|
|
90
|
+
margin-top: 0;
|
|
91
|
+
}
|
|
92
|
+
.paris_editorContent_WTm2y h1 {
|
|
93
|
+
font-size: var(--pte-new-typography-styles-headingLarge-fontSize, 32px);
|
|
94
|
+
font-weight: var(--pte-new-typography-styles-headingLarge-fontWeight, 700);
|
|
95
|
+
}
|
|
96
|
+
.paris_editorContent_WTm2y h2 {
|
|
97
|
+
font-size: var(--pte-new-typography-styles-headingMedium-fontSize, 24px);
|
|
98
|
+
font-weight: var(--pte-new-typography-styles-headingMedium-fontWeight, 700);
|
|
99
|
+
}
|
|
100
|
+
.paris_editorContent_WTm2y h3 {
|
|
101
|
+
font-size: var(--pte-new-typography-styles-headingSmall-fontSize, 20px);
|
|
102
|
+
font-weight: var(--pte-new-typography-styles-headingSmall-fontWeight, 700);
|
|
103
|
+
}
|
|
104
|
+
.paris_editorContent_WTm2y h4 {
|
|
105
|
+
font-size: var(--pte-new-typography-styles-headingXSmall-fontSize, 18px);
|
|
106
|
+
font-weight: var(--pte-new-typography-styles-headingXSmall-fontWeight, 600);
|
|
107
|
+
}
|
|
108
|
+
.paris_editorContent_WTm2y h5 {
|
|
109
|
+
font-size: var(--pte-new-typography-styles-headingXXSmall-fontSize, 16px);
|
|
110
|
+
font-weight: var(--pte-new-typography-styles-headingXXSmall-fontWeight, 600);
|
|
111
|
+
}
|
|
112
|
+
.paris_editorContent_WTm2y h6 {
|
|
113
|
+
font-size: var(--pte-new-typography-styles-labelMedium-fontSize, 14px);
|
|
114
|
+
font-weight: var(--pte-new-typography-styles-labelMedium-fontWeight, 600);
|
|
115
|
+
text-transform: uppercase;
|
|
116
|
+
letter-spacing: 0.05em;
|
|
117
|
+
}
|
|
118
|
+
.paris_editorContent_WTm2y p {
|
|
119
|
+
margin-bottom: 1em;
|
|
120
|
+
line-height: 1.7;
|
|
121
|
+
}
|
|
122
|
+
.paris_editorContent_WTm2y p:last-child {
|
|
123
|
+
margin-bottom: 0;
|
|
124
|
+
}
|
|
125
|
+
.paris_editorContent_WTm2y strong {
|
|
126
|
+
font-weight: 600;
|
|
127
|
+
}
|
|
128
|
+
.paris_editorContent_WTm2y em {
|
|
129
|
+
font-style: italic;
|
|
130
|
+
}
|
|
131
|
+
.paris_editorContent_WTm2y s {
|
|
132
|
+
text-decoration: line-through;
|
|
133
|
+
text-decoration-color: var(--pte-new-colors-contentTertiary);
|
|
134
|
+
}
|
|
135
|
+
.paris_editorContent_WTm2y a {
|
|
136
|
+
color: var(--pte-new-colors-contentAccent);
|
|
137
|
+
text-decoration: underline;
|
|
138
|
+
text-underline-offset: 2px;
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
}
|
|
141
|
+
.paris_editorContent_WTm2y a:hover {
|
|
142
|
+
text-decoration-color: var(--pte-new-colors-contentAccent);
|
|
143
|
+
}
|
|
144
|
+
.paris_editorContent_WTm2y img {
|
|
145
|
+
max-width: 100%;
|
|
146
|
+
height: auto;
|
|
147
|
+
border-radius: var(--pte-new-borders-radius-rounded);
|
|
148
|
+
border: 1px solid var(--pte-new-colors-borderSubtle);
|
|
149
|
+
margin: 1em 0;
|
|
150
|
+
display: block;
|
|
151
|
+
}
|
|
152
|
+
.paris_editorContent_WTm2y blockquote {
|
|
153
|
+
border-left: 3px solid var(--pte-new-colors-borderMedium);
|
|
154
|
+
padding: 8px 16px;
|
|
155
|
+
margin: 1em 0;
|
|
156
|
+
background-color: var(--pte-new-colors-backgroundSecondary);
|
|
157
|
+
border-radius: 0 var(--pte-new-borders-radius-rounded, 8px) var(--pte-new-borders-radius-rounded, 8px) 0;
|
|
158
|
+
color: var(--pte-new-colors-contentSecondary);
|
|
159
|
+
}
|
|
160
|
+
.paris_editorContent_WTm2y blockquote blockquote {
|
|
161
|
+
margin: 0.5em 0;
|
|
162
|
+
}
|
|
163
|
+
.paris_editorContent_WTm2y blockquote p {
|
|
164
|
+
margin-bottom: 0.5em;
|
|
165
|
+
}
|
|
166
|
+
.paris_editorContent_WTm2y blockquote p:last-child {
|
|
167
|
+
margin-bottom: 0;
|
|
168
|
+
}
|
|
169
|
+
.paris_editorContent_WTm2y hr {
|
|
170
|
+
border: none;
|
|
171
|
+
border-top: 1px solid var(--pte-new-colors-borderMedium);
|
|
172
|
+
margin: 1.5em 0;
|
|
173
|
+
}
|
|
174
|
+
.paris_editorContent_WTm2y ul,
|
|
175
|
+
.paris_editorContent_WTm2y ol {
|
|
176
|
+
margin: 0.5em 0 1em;
|
|
177
|
+
padding-left: 1.5em;
|
|
178
|
+
}
|
|
179
|
+
.paris_editorContent_WTm2y ul {
|
|
180
|
+
list-style-type: disc;
|
|
181
|
+
}
|
|
182
|
+
.paris_editorContent_WTm2y ul ul {
|
|
183
|
+
list-style-type: circle;
|
|
184
|
+
margin: 0.25em 0;
|
|
185
|
+
}
|
|
186
|
+
.paris_editorContent_WTm2y ul ul ul {
|
|
187
|
+
list-style-type: square;
|
|
188
|
+
}
|
|
189
|
+
.paris_editorContent_WTm2y ol {
|
|
190
|
+
list-style-type: decimal;
|
|
191
|
+
}
|
|
192
|
+
.paris_editorContent_WTm2y ol ol {
|
|
193
|
+
list-style-type: lower-alpha;
|
|
194
|
+
margin: 0.25em 0;
|
|
195
|
+
}
|
|
196
|
+
.paris_editorContent_WTm2y ol ol ol {
|
|
197
|
+
list-style-type: lower-roman;
|
|
198
|
+
}
|
|
199
|
+
.paris_editorContent_WTm2y li {
|
|
200
|
+
margin-bottom: 0.25em;
|
|
201
|
+
line-height: 1.7;
|
|
202
|
+
}
|
|
203
|
+
.paris_editorContent_WTm2y li p {
|
|
204
|
+
margin-bottom: 0.25em;
|
|
205
|
+
}
|
|
206
|
+
.paris_editorContent_WTm2y ul[data-type=taskList] {
|
|
207
|
+
list-style: none;
|
|
208
|
+
padding-left: 0;
|
|
209
|
+
}
|
|
210
|
+
.paris_editorContent_WTm2y li[data-checked] {
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-direction: row;
|
|
213
|
+
align-items: baseline;
|
|
214
|
+
gap: 8px;
|
|
215
|
+
}
|
|
216
|
+
.paris_editorContent_WTm2y li[data-checked] > label {
|
|
217
|
+
flex-shrink: 0;
|
|
218
|
+
}
|
|
219
|
+
.paris_editorContent_WTm2y li[data-checked] > label input[type=checkbox] {
|
|
220
|
+
appearance: none;
|
|
221
|
+
width: 14px;
|
|
222
|
+
height: 14px;
|
|
223
|
+
border: 2px solid var(--pte-new-colors-contentTertiary);
|
|
224
|
+
border-radius: var(--pte-borders-radius-rectangle);
|
|
225
|
+
background: transparent;
|
|
226
|
+
cursor: pointer;
|
|
227
|
+
position: relative;
|
|
228
|
+
top: 2px;
|
|
229
|
+
transition: var(--pte-animations-interaction);
|
|
230
|
+
}
|
|
231
|
+
.paris_editorContent_WTm2y li[data-checked] > label input[type=checkbox]:checked::after {
|
|
232
|
+
content: "";
|
|
233
|
+
position: absolute;
|
|
234
|
+
inset: -2px;
|
|
235
|
+
background-color: var(--pte-new-colors-contentPrimary);
|
|
236
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.333374 0.333252V13.6666H13.6667V0.333252H0.333374ZM6.00004 10.3999L2.26672 6.66658L3.66671 5.26658L5.93339 7.53325L10.2 3.26658L11.6001 4.66659L6.00004 10.3999Z' fill='black'/%3E%3C/svg%3E");
|
|
237
|
+
mask-size: contain;
|
|
238
|
+
mask-repeat: no-repeat;
|
|
239
|
+
}
|
|
240
|
+
.paris_editorContent_WTm2y li[data-checked] > div {
|
|
241
|
+
flex: 1;
|
|
242
|
+
}
|
|
243
|
+
.paris_editorContent_WTm2y code {
|
|
244
|
+
font-family: "SF Mono", "Fira Code", "JetBrains Mono", ui-monospace, monospace;
|
|
245
|
+
font-size: 0.875em;
|
|
246
|
+
padding: 2px 6px;
|
|
247
|
+
border-radius: 6px;
|
|
248
|
+
background-color: var(--pte-new-colors-backgroundSecondary);
|
|
249
|
+
border: 1px solid var(--pte-new-colors-borderSubtle);
|
|
250
|
+
color: var(--pte-new-colors-contentPrimary);
|
|
251
|
+
word-break: break-word;
|
|
252
|
+
}
|
|
253
|
+
.paris_editorContent_WTm2y pre {
|
|
254
|
+
margin: 1em 0;
|
|
255
|
+
padding: 0;
|
|
256
|
+
background: transparent;
|
|
257
|
+
overflow: visible;
|
|
258
|
+
}
|
|
259
|
+
.paris_editorContent_WTm2y pre code {
|
|
260
|
+
display: block;
|
|
261
|
+
padding: 16px;
|
|
262
|
+
overflow-x: auto;
|
|
263
|
+
font-family: "SF Mono", "Fira Code", "JetBrains Mono", ui-monospace, monospace;
|
|
264
|
+
font-size: 13px;
|
|
265
|
+
line-height: 1.6;
|
|
266
|
+
tab-size: 4;
|
|
267
|
+
white-space: pre;
|
|
268
|
+
border-radius: var(--pte-new-borders-radius-rounded, 8px);
|
|
269
|
+
background-color: var(--pte-new-colors-backgroundSecondary);
|
|
270
|
+
border: 1px solid var(--pte-new-colors-borderSubtle);
|
|
271
|
+
color: var(--pte-new-colors-contentPrimary);
|
|
272
|
+
}
|
|
273
|
+
.paris_editorContent_WTm2y pre code::-webkit-scrollbar {
|
|
274
|
+
height: 6px;
|
|
275
|
+
}
|
|
276
|
+
.paris_editorContent_WTm2y pre code::-webkit-scrollbar-track {
|
|
277
|
+
background: transparent;
|
|
278
|
+
}
|
|
279
|
+
.paris_editorContent_WTm2y pre code::-webkit-scrollbar-thumb {
|
|
280
|
+
background-color: var(--pte-new-colors-borderMedium);
|
|
281
|
+
border-radius: 3px;
|
|
282
|
+
}
|
|
283
|
+
.paris_editorContent_WTm2y table {
|
|
284
|
+
width: 100%;
|
|
285
|
+
border-collapse: collapse;
|
|
286
|
+
margin: 1em 0;
|
|
287
|
+
font-size: var(--pte-new-typography-paragraphSmall-fontSize, 13px);
|
|
288
|
+
border-radius: var(--pte-new-borders-radius-rounded, 8px);
|
|
289
|
+
border: 1px solid var(--pte-new-colors-borderSubtle);
|
|
290
|
+
overflow: hidden;
|
|
291
|
+
}
|
|
292
|
+
.paris_editorContent_WTm2y thead {
|
|
293
|
+
background-color: var(--pte-new-colors-backgroundSecondary);
|
|
294
|
+
}
|
|
295
|
+
.paris_editorContent_WTm2y th {
|
|
296
|
+
padding: 10px 16px;
|
|
297
|
+
text-align: left;
|
|
298
|
+
border-bottom: 1px solid var(--pte-new-colors-borderMedium);
|
|
299
|
+
white-space: nowrap;
|
|
300
|
+
color: var(--pte-new-colors-contentSecondary);
|
|
301
|
+
font-size: var(--pte-new-typography-styles-labelXSmall-fontSize, 11px);
|
|
302
|
+
font-weight: 600;
|
|
303
|
+
text-transform: uppercase;
|
|
304
|
+
letter-spacing: 0.05em;
|
|
305
|
+
}
|
|
306
|
+
.paris_editorContent_WTm2y td {
|
|
307
|
+
padding: 10px 16px;
|
|
308
|
+
border-bottom: 1px solid var(--pte-new-colors-borderSubtle);
|
|
309
|
+
color: var(--pte-new-colors-contentPrimary);
|
|
310
|
+
}
|
|
311
|
+
.paris_editorContent_WTm2y tr:last-child td {
|
|
312
|
+
border-bottom: none;
|
|
313
|
+
}
|
|
314
|
+
.paris_editorContent_WTm2y tbody tr {
|
|
315
|
+
transition: background-color 0.15s ease;
|
|
316
|
+
}
|
|
317
|
+
.paris_editorContent_WTm2y tbody tr:hover {
|
|
318
|
+
background-color: var(--pte-new-colors-backgroundSecondary);
|
|
319
|
+
}
|
|
320
|
+
.paris_editorContent_WTm2y .selectedCell {
|
|
321
|
+
background-color: var(--pte-new-colors-backgroundAccentSubtle, rgba(99, 102, 241, 0.1));
|
|
322
|
+
}
|
|
323
|
+
.paris_editorContent_WTm2y ::selection {
|
|
324
|
+
background-color: var(--pte-new-colors-backgroundAccentSubtle, rgba(99, 102, 241, 0.2));
|
|
325
|
+
}
|