@webstudio-is/react-sdk 0.5.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/LICENSE +21 -0
- package/README.md +4 -0
- package/lib/arg-types/utils.d.ts +6 -0
- package/lib/arg-types/utils.d.ts.map +1 -0
- package/lib/arg-types/utils.js +80 -0
- package/lib/components/bold.d.ts +3 -0
- package/lib/components/bold.d.ts.map +1 -0
- package/lib/components/bold.js +8 -0
- package/lib/components/bold.props.json +2204 -0
- package/lib/components/bold.stories.d.ts +6 -0
- package/lib/components/bold.stories.d.ts.map +1 -0
- package/lib/components/bold.stories.js +19 -0
- package/lib/components/box.d.ts +3 -0
- package/lib/components/box.d.ts.map +1 -0
- package/lib/components/box.js +8 -0
- package/lib/components/box.props.json +2204 -0
- package/lib/components/box.stories.d.ts +6 -0
- package/lib/components/box.stories.d.ts.map +1 -0
- package/lib/components/box.stories.js +17 -0
- package/lib/components/button.d.ts +6 -0
- package/lib/components/button.d.ts.map +1 -0
- package/lib/components/button.js +11 -0
- package/lib/components/button.props.json +2461 -0
- package/lib/components/button.stories.d.ts +6 -0
- package/lib/components/button.stories.d.ts.map +1 -0
- package/lib/components/button.stories.js +19 -0
- package/lib/components/form.d.ts +3 -0
- package/lib/components/form.d.ts.map +1 -0
- package/lib/components/form.js +8 -0
- package/lib/components/form.props.json +2380 -0
- package/lib/components/form.stories.d.ts +6 -0
- package/lib/components/form.stories.d.ts.map +1 -0
- package/lib/components/form.stories.js +17 -0
- package/lib/components/heading.d.ts +8 -0
- package/lib/components/heading.d.ts.map +1 -0
- package/lib/components/heading.js +12 -0
- package/lib/components/heading.props.json +2246 -0
- package/lib/components/heading.stories.d.ts +10 -0
- package/lib/components/heading.stories.d.ts.map +1 -0
- package/lib/components/heading.stories.js +19 -0
- package/lib/components/index.d.ts +11 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js +26 -0
- package/lib/components/input.d.ts +3 -0
- package/lib/components/input.d.ts.map +1 -0
- package/lib/components/input.js +8 -0
- package/lib/components/input.props.json +2955 -0
- package/lib/components/input.stories.d.ts +6 -0
- package/lib/components/input.stories.d.ts.map +1 -0
- package/lib/components/input.stories.js +17 -0
- package/lib/components/italic.d.ts +3 -0
- package/lib/components/italic.d.ts.map +1 -0
- package/lib/components/italic.js +8 -0
- package/lib/components/italic.props.json +2204 -0
- package/lib/components/italic.stories.d.ts +6 -0
- package/lib/components/italic.stories.d.ts.map +1 -0
- package/lib/components/italic.stories.js +19 -0
- package/lib/components/link.d.ts +8 -0
- package/lib/components/link.d.ts.map +1 -0
- package/lib/components/link.js +8 -0
- package/lib/components/link.props.json +2441 -0
- package/lib/components/link.stories.d.ts +6 -0
- package/lib/components/link.stories.d.ts.map +1 -0
- package/lib/components/link.stories.js +19 -0
- package/lib/components/meta.d.ts +11 -0
- package/lib/components/meta.d.ts.map +1 -0
- package/lib/components/meta.js +26 -0
- package/lib/components/paragraph.d.ts +3 -0
- package/lib/components/paragraph.d.ts.map +1 -0
- package/lib/components/paragraph.js +8 -0
- package/lib/components/paragraph.props.json +2204 -0
- package/lib/components/paragraph.stories.d.ts +6 -0
- package/lib/components/paragraph.stories.d.ts.map +1 -0
- package/lib/components/paragraph.stories.js +19 -0
- package/lib/components/text-block.d.ts +3 -0
- package/lib/components/text-block.d.ts.map +1 -0
- package/lib/components/text-block.js +8 -0
- package/lib/components/text-block.props.json +2204 -0
- package/lib/components/text-block.stories.d.ts +6 -0
- package/lib/components/text-block.stories.d.ts.map +1 -0
- package/lib/components/text-block.stories.js +19 -0
- package/lib/css/breakpoints.d.ts +4 -0
- package/lib/css/breakpoints.d.ts.map +1 -0
- package/lib/css/breakpoints.js +9 -0
- package/lib/css/categories.d.ts +408 -0
- package/lib/css/categories.d.ts.map +1 -0
- package/lib/css/categories.js +229 -0
- package/lib/css/get-browser-style.d.ts +3 -0
- package/lib/css/get-browser-style.d.ts.map +1 -0
- package/lib/css/get-browser-style.js +43 -0
- package/lib/css/index.d.ts +9 -0
- package/lib/css/index.d.ts.map +1 -0
- package/lib/css/index.js +24 -0
- package/lib/css/keyword-values.d.ts +302 -0
- package/lib/css/keyword-values.d.ts.map +1 -0
- package/lib/css/keyword-values.js +6619 -0
- package/lib/css/properties.d.ts +3197 -0
- package/lib/css/properties.d.ts.map +1 -0
- package/lib/css/properties.js +3200 -0
- package/lib/css/schema.d.ts +151 -0
- package/lib/css/schema.d.ts.map +1 -0
- package/lib/css/schema.js +38 -0
- package/lib/css/types.d.ts +15 -0
- package/lib/css/types.d.ts.map +1 -0
- package/lib/css/types.js +2 -0
- package/lib/css/units.d.ts +2 -0
- package/lib/css/units.d.ts.map +1 -0
- package/lib/css/units.js +35 -0
- package/lib/db/index.d.ts +3 -0
- package/lib/db/index.d.ts.map +1 -0
- package/lib/db/index.js +18 -0
- package/lib/db/instance.d.ts +11 -0
- package/lib/db/instance.d.ts.map +1 -0
- package/lib/db/instance.js +13 -0
- package/lib/db/types.d.ts +12 -0
- package/lib/db/types.d.ts.map +1 -0
- package/lib/db/types.js +2 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +37 -0
- package/lib/prisma.server.d.ts +3 -0
- package/lib/prisma.server.d.ts.map +1 -0
- package/lib/prisma.server.js +8 -0
- package/lib/pubsub/index.d.ts +3 -0
- package/lib/pubsub/index.d.ts.map +1 -0
- package/lib/pubsub/index.js +18 -0
- package/lib/pubsub/publish.d.ts +17 -0
- package/lib/pubsub/publish.d.ts.map +1 -0
- package/lib/pubsub/publish.js +27 -0
- package/lib/pubsub/subscribe.d.ts +8 -0
- package/lib/pubsub/subscribe.d.ts.map +1 -0
- package/lib/pubsub/subscribe.js +31 -0
- package/lib/stitches/critical-css.d.ts +4 -0
- package/lib/stitches/critical-css.d.ts.map +1 -0
- package/lib/stitches/critical-css.js +12 -0
- package/lib/stitches/css.d.ts +9 -0
- package/lib/stitches/css.d.ts.map +1 -0
- package/lib/stitches/css.js +32 -0
- package/lib/stitches/index.d.ts +4 -0
- package/lib/stitches/index.d.ts.map +1 -0
- package/lib/stitches/index.js +19 -0
- package/lib/stitches/to-css.d.ts +8 -0
- package/lib/stitches/to-css.d.ts.map +1 -0
- package/lib/stitches/to-css.js +44 -0
- package/lib/stitches/to-css.test.d.ts +2 -0
- package/lib/stitches/to-css.test.d.ts.map +1 -0
- package/lib/stitches/to-css.test.js +63 -0
- package/lib/tree/create-elements-tree.d.ts +23 -0
- package/lib/tree/create-elements-tree.d.ts.map +1 -0
- package/lib/tree/create-elements-tree.js +28 -0
- package/lib/tree/index.d.ts +4 -0
- package/lib/tree/index.d.ts.map +1 -0
- package/lib/tree/index.js +19 -0
- package/lib/tree/root.d.ts +16 -0
- package/lib/tree/root.d.ts.map +1 -0
- package/lib/tree/root.js +26 -0
- package/lib/tree/wrapper-component.d.ts +12 -0
- package/lib/tree/wrapper-component.d.ts.map +1 -0
- package/lib/tree/wrapper-component.js +53 -0
- package/lib/user-props/all-user-props.d.ts +8 -0
- package/lib/user-props/all-user-props.d.ts.map +1 -0
- package/lib/user-props/all-user-props.js +20 -0
- package/lib/user-props/index.d.ts +5 -0
- package/lib/user-props/index.d.ts.map +1 -0
- package/lib/user-props/index.js +20 -0
- package/lib/user-props/schema.d.ts +34 -0
- package/lib/user-props/schema.d.ts.map +1 -0
- package/lib/user-props/schema.js +11 -0
- package/lib/user-props/types.d.ts +15 -0
- package/lib/user-props/types.d.ts.map +1 -0
- package/lib/user-props/types.js +2 -0
- package/lib/user-props/use-user-props.d.ts +12 -0
- package/lib/user-props/use-user-props.d.ts.map +1 -0
- package/lib/user-props/use-user-props.js +33 -0
- package/package.json +78 -0
- package/prisma/schema.prisma +71 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Pick<import("./link").LinkProps, "type" | "style" | "id" | "color" | "translate" | "hidden" | "media" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "href" | "download" | "hrefLang" | "ping" | "rel" | "target" | "referrerPolicy"> & React.RefAttributes<HTMLAnchorElement>>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Link: ComponentStory<React.ForwardRefExoticComponent<Pick<import("./link").LinkProps, "type" | "style" | "id" | "color" | "translate" | "hidden" | "media" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "href" | "download" | "hrefLang" | "ping" | "rel" | "target" | "referrerPolicy"> & React.RefAttributes<HTMLAnchorElement>>>;
|
|
6
|
+
//# sourceMappingURL=link.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.stories.d.ts","sourceRoot":"","sources":["../../src/components/link.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;;AAItE,wBAIyC;AAMzC,eAAO,MAAM,IAAI,utJAAoB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Link = void 0;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const link_1 = require("./link");
|
|
9
|
+
const link_props_json_1 = __importDefault(require("./link.props.json"));
|
|
10
|
+
exports.default = {
|
|
11
|
+
title: "Components/Link",
|
|
12
|
+
component: link_1.Link,
|
|
13
|
+
argTypes: link_props_json_1.default,
|
|
14
|
+
};
|
|
15
|
+
const Template = (args) => ((0, jsx_runtime_1.jsx)(link_1.Link, { ...args }));
|
|
16
|
+
exports.Link = Template.bind({});
|
|
17
|
+
exports.Link.args = {
|
|
18
|
+
children: "Link",
|
|
19
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { default as Button } from "./button.stories";
|
|
2
|
+
export { default as Bold } from "./bold.stories";
|
|
3
|
+
export { default as Box } from "./box.stories";
|
|
4
|
+
export { default as Form } from "./form.stories";
|
|
5
|
+
export { default as Heading } from "./heading.stories";
|
|
6
|
+
export { default as Input } from "./input.stories";
|
|
7
|
+
export { default as Italic } from "./italic.stories";
|
|
8
|
+
export { default as Link } from "./link.stories";
|
|
9
|
+
export { default as Paragraph } from "./paragraph.stories";
|
|
10
|
+
export { default as TextBlock } from "./text-block.stories";
|
|
11
|
+
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/components/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TextBlock = exports.Paragraph = exports.Link = exports.Italic = exports.Input = exports.Heading = exports.Form = exports.Box = exports.Bold = exports.Button = void 0;
|
|
7
|
+
var button_stories_1 = require("./button.stories");
|
|
8
|
+
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return __importDefault(button_stories_1).default; } });
|
|
9
|
+
var bold_stories_1 = require("./bold.stories");
|
|
10
|
+
Object.defineProperty(exports, "Bold", { enumerable: true, get: function () { return __importDefault(bold_stories_1).default; } });
|
|
11
|
+
var box_stories_1 = require("./box.stories");
|
|
12
|
+
Object.defineProperty(exports, "Box", { enumerable: true, get: function () { return __importDefault(box_stories_1).default; } });
|
|
13
|
+
var form_stories_1 = require("./form.stories");
|
|
14
|
+
Object.defineProperty(exports, "Form", { enumerable: true, get: function () { return __importDefault(form_stories_1).default; } });
|
|
15
|
+
var heading_stories_1 = require("./heading.stories");
|
|
16
|
+
Object.defineProperty(exports, "Heading", { enumerable: true, get: function () { return __importDefault(heading_stories_1).default; } });
|
|
17
|
+
var input_stories_1 = require("./input.stories");
|
|
18
|
+
Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return __importDefault(input_stories_1).default; } });
|
|
19
|
+
var italic_stories_1 = require("./italic.stories");
|
|
20
|
+
Object.defineProperty(exports, "Italic", { enumerable: true, get: function () { return __importDefault(italic_stories_1).default; } });
|
|
21
|
+
var link_stories_1 = require("./link.stories");
|
|
22
|
+
Object.defineProperty(exports, "Link", { enumerable: true, get: function () { return __importDefault(link_stories_1).default; } });
|
|
23
|
+
var paragraph_stories_1 = require("./paragraph.stories");
|
|
24
|
+
Object.defineProperty(exports, "Paragraph", { enumerable: true, get: function () { return __importDefault(paragraph_stories_1).default; } });
|
|
25
|
+
var text_block_stories_1 = require("./text-block.stories");
|
|
26
|
+
Object.defineProperty(exports, "TextBlock", { enumerable: true, get: function () { return __importDefault(text_block_stories_1).default; } });
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const Paragraph: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "key" | keyof React.HTMLAttributes<HTMLParagraphElement>> & React.RefAttributes<HTMLParagraphElement>>;
|
|
3
|
+
//# sourceMappingURL=paragraph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../src/components/paragraph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAIhF,eAAO,MAAM,SAAS,wOAGuB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Paragraph = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const defaultTag = "p";
|
|
7
|
+
exports.Paragraph = (0, react_1.forwardRef)((props, ref) => (0, jsx_runtime_1.jsx)("p", { ...props, ref: ref }));
|
|
8
|
+
exports.Paragraph.displayName = "Paragraph";
|