@webstudio-is/react-sdk 0.55.0 → 0.57.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.
Files changed (165) hide show
  1. package/lib/app/custom-components/image.js +6 -6
  2. package/lib/app/custom-components/shared/remix-link.js +3 -3
  3. package/lib/app/params.js +4 -2
  4. package/lib/cjs/app/custom-components/image.js +6 -6
  5. package/lib/cjs/app/custom-components/shared/remix-link.js +3 -3
  6. package/lib/cjs/app/params.js +4 -2
  7. package/lib/cjs/components/link.js +14 -8
  8. package/lib/cjs/css/css.js +8 -5
  9. package/lib/cjs/css/global-rules.js +3 -3
  10. package/lib/cjs/css/style-rules.js +10 -3
  11. package/lib/cjs/props.js +18 -9
  12. package/lib/cjs/pubsub/raf-queue.js +3 -6
  13. package/lib/cjs/tree/root.js +1 -1
  14. package/lib/components/link.js +14 -8
  15. package/lib/css/css.js +8 -5
  16. package/lib/css/global-rules.js +4 -7
  17. package/lib/css/style-rules.js +10 -3
  18. package/lib/props.js +18 -9
  19. package/lib/pubsub/raf-queue.js +3 -6
  20. package/lib/tree/root.js +1 -1
  21. package/package.json +21 -21
  22. package/src/app/custom-components/image.tsx +6 -7
  23. package/src/app/custom-components/shared/remix-link.tsx +3 -3
  24. package/src/app/params.ts +6 -4
  25. package/src/components/link.tsx +17 -7
  26. package/src/css/css.ts +9 -7
  27. package/src/css/global-rules.ts +6 -10
  28. package/src/css/style-rules.test.ts +22 -0
  29. package/src/css/style-rules.ts +15 -4
  30. package/src/props.test.ts +50 -20
  31. package/src/props.ts +27 -12
  32. package/src/pubsub/raf-queue.ts +3 -9
  33. package/src/tree/create-elements-tree.tsx +3 -7
  34. package/src/tree/root.ts +1 -1
  35. package/src/tree/webstudio-component.tsx +2 -2
  36. package/lib/types/app/custom-components/image.d.ts +0 -6
  37. package/lib/types/app/custom-components/index.d.ts +0 -26
  38. package/lib/types/app/custom-components/link-block.d.ts +0 -6
  39. package/lib/types/app/custom-components/link.d.ts +0 -6
  40. package/lib/types/app/custom-components/rich-text-link.d.ts +0 -6
  41. package/lib/types/app/custom-components/shared/remix-link.d.ts +0 -10
  42. package/lib/types/app/handle-request.server.d.ts +0 -2
  43. package/lib/types/app/index.d.ts +0 -3
  44. package/lib/types/app/params.d.ts +0 -6
  45. package/lib/types/app/root.d.ts +0 -8
  46. package/lib/types/components/__generated__/blockquote.props.d.ts +0 -2
  47. package/lib/types/components/__generated__/body.props.d.ts +0 -2
  48. package/lib/types/components/__generated__/bold.props.d.ts +0 -2
  49. package/lib/types/components/__generated__/box.props.d.ts +0 -2
  50. package/lib/types/components/__generated__/button.props.d.ts +0 -2
  51. package/lib/types/components/__generated__/code.props.d.ts +0 -2
  52. package/lib/types/components/__generated__/form.props.d.ts +0 -2
  53. package/lib/types/components/__generated__/fragment.props.d.ts +0 -2
  54. package/lib/types/components/__generated__/heading.props.d.ts +0 -2
  55. package/lib/types/components/__generated__/image.props.d.ts +0 -2
  56. package/lib/types/components/__generated__/input.props.d.ts +0 -2
  57. package/lib/types/components/__generated__/italic.props.d.ts +0 -2
  58. package/lib/types/components/__generated__/link-block.props.d.ts +0 -2
  59. package/lib/types/components/__generated__/link.props.d.ts +0 -2
  60. package/lib/types/components/__generated__/list-item.props.d.ts +0 -2
  61. package/lib/types/components/__generated__/list.props.d.ts +0 -2
  62. package/lib/types/components/__generated__/paragraph.props.d.ts +0 -2
  63. package/lib/types/components/__generated__/rich-text-link.props.d.ts +0 -2
  64. package/lib/types/components/__generated__/separator.props.d.ts +0 -2
  65. package/lib/types/components/__generated__/slot.props.d.ts +0 -2
  66. package/lib/types/components/__generated__/span.props.d.ts +0 -2
  67. package/lib/types/components/__generated__/subscript.props.d.ts +0 -2
  68. package/lib/types/components/__generated__/superscript.props.d.ts +0 -2
  69. package/lib/types/components/__generated__/text-block.props.d.ts +0 -2
  70. package/lib/types/components/blockquote.d.ts +0 -3
  71. package/lib/types/components/blockquote.stories.d.ts +0 -5
  72. package/lib/types/components/blockquote.ws.d.ts +0 -3
  73. package/lib/types/components/body.d.ts +0 -3
  74. package/lib/types/components/body.stories.d.ts +0 -6
  75. package/lib/types/components/body.ws.d.ts +0 -3
  76. package/lib/types/components/bold.d.ts +0 -3
  77. package/lib/types/components/bold.stories.d.ts +0 -5
  78. package/lib/types/components/bold.ws.d.ts +0 -3
  79. package/lib/types/components/box.d.ts +0 -7
  80. package/lib/types/components/box.stories.d.ts +0 -9
  81. package/lib/types/components/box.ws.d.ts +0 -3
  82. package/lib/types/components/button.d.ts +0 -7
  83. package/lib/types/components/button.stories.d.ts +0 -9
  84. package/lib/types/components/button.ws.d.ts +0 -3
  85. package/lib/types/components/code.d.ts +0 -9
  86. package/lib/types/components/code.stories.d.ts +0 -11
  87. package/lib/types/components/code.ws.d.ts +0 -3
  88. package/lib/types/components/component-meta.d.ts +0 -610
  89. package/lib/types/components/components-utils.d.ts +0 -34
  90. package/lib/types/components/components.d.ts +0 -31
  91. package/lib/types/components/form.d.ts +0 -3
  92. package/lib/types/components/form.stories.d.ts +0 -5
  93. package/lib/types/components/form.ws.d.ts +0 -3
  94. package/lib/types/components/fragment.d.ts +0 -6
  95. package/lib/types/components/fragment.ws.d.ts +0 -3
  96. package/lib/types/components/heading.d.ts +0 -7
  97. package/lib/types/components/heading.stories.d.ts +0 -9
  98. package/lib/types/components/heading.ws.d.ts +0 -3
  99. package/lib/types/components/image.d.ts +0 -3
  100. package/lib/types/components/image.stories.d.ts +0 -5
  101. package/lib/types/components/image.ws.d.ts +0 -3
  102. package/lib/types/components/index.d.ts +0 -17
  103. package/lib/types/components/input.d.ts +0 -3
  104. package/lib/types/components/input.stories.d.ts +0 -5
  105. package/lib/types/components/input.ws.d.ts +0 -3
  106. package/lib/types/components/italic.d.ts +0 -3
  107. package/lib/types/components/italic.stories.d.ts +0 -5
  108. package/lib/types/components/italic.ws.d.ts +0 -3
  109. package/lib/types/components/link-block.d.ts +0 -3
  110. package/lib/types/components/link-block.stories.d.ts +0 -13
  111. package/lib/types/components/link-block.ws.d.ts +0 -3
  112. package/lib/types/components/link.d.ts +0 -9
  113. package/lib/types/components/link.stories.d.ts +0 -13
  114. package/lib/types/components/link.ws.d.ts +0 -3
  115. package/lib/types/components/list-item.d.ts +0 -3
  116. package/lib/types/components/list-item.stories.d.ts +0 -5
  117. package/lib/types/components/list-item.ws.d.ts +0 -3
  118. package/lib/types/components/list.d.ts +0 -9
  119. package/lib/types/components/list.stories.d.ts +0 -9
  120. package/lib/types/components/list.ws.d.ts +0 -3
  121. package/lib/types/components/paragraph.d.ts +0 -3
  122. package/lib/types/components/paragraph.stories.d.ts +0 -5
  123. package/lib/types/components/paragraph.ws.d.ts +0 -3
  124. package/lib/types/components/rich-text-link.d.ts +0 -2
  125. package/lib/types/components/rich-text-link.stories.d.ts +0 -13
  126. package/lib/types/components/rich-text-link.ws.d.ts +0 -3
  127. package/lib/types/components/separator.d.ts +0 -3
  128. package/lib/types/components/separator.stories.d.ts +0 -5
  129. package/lib/types/components/separator.ws.d.ts +0 -3
  130. package/lib/types/components/slot.d.ts +0 -6
  131. package/lib/types/components/slot.stories.d.ts +0 -9
  132. package/lib/types/components/slot.ws.d.ts +0 -3
  133. package/lib/types/components/span.d.ts +0 -3
  134. package/lib/types/components/span.stories.d.ts +0 -5
  135. package/lib/types/components/span.ws.d.ts +0 -3
  136. package/lib/types/components/subscript.d.ts +0 -3
  137. package/lib/types/components/subscript.stories.d.ts +0 -5
  138. package/lib/types/components/subscript.ws.d.ts +0 -3
  139. package/lib/types/components/superscript.d.ts +0 -3
  140. package/lib/types/components/superscript.stories.d.ts +0 -5
  141. package/lib/types/components/superscript.ws.d.ts +0 -3
  142. package/lib/types/components/text-block.d.ts +0 -3
  143. package/lib/types/components/text-block.stories.d.ts +0 -5
  144. package/lib/types/components/text-block.ws.d.ts +0 -3
  145. package/lib/types/context.d.ts +0 -9
  146. package/lib/types/css/css.d.ts +0 -54
  147. package/lib/types/css/get-browser-style.d.ts +0 -2
  148. package/lib/types/css/global-rules.d.ts +0 -44
  149. package/lib/types/css/index.d.ts +0 -4
  150. package/lib/types/css/normalize-type-check.d.ts +0 -1
  151. package/lib/types/css/normalize.d.ts +0 -2429
  152. package/lib/types/css/presets.d.ts +0 -38
  153. package/lib/types/css/style-rules.d.ts +0 -201
  154. package/lib/types/css/style-rules.test.d.ts +0 -1
  155. package/lib/types/index.d.ts +0 -9
  156. package/lib/types/props.d.ts +0 -97
  157. package/lib/types/props.test.d.ts +0 -1
  158. package/lib/types/pubsub/create.d.ts +0 -28
  159. package/lib/types/pubsub/index.d.ts +0 -1
  160. package/lib/types/pubsub/raf-queue.d.ts +0 -1
  161. package/lib/types/tree/create-elements-tree.d.ts +0 -29
  162. package/lib/types/tree/index.d.ts +0 -3
  163. package/lib/types/tree/root.d.ts +0 -25
  164. package/lib/types/tree/session-storage-polyfill.d.ts +0 -2
  165. package/lib/types/tree/webstudio-component.d.ts +0 -15
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const wrapLinkComponent: (BaseLink: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "href" | "target"> & {
3
- href?: string | undefined;
4
- target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
5
- prefetch?: "none" | "intent" | "render" | undefined;
6
- }, "type" | "style" | "id" | "title" | "children" | "hidden" | "color" | "translate" | "property" | "placeholder" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "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" | "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" | "target" | "download" | "hrefLang" | "media" | "ping" | "rel" | "referrerPolicy" | "prefetch"> & import("react").RefAttributes<HTMLAnchorElement>>) => import("react").ForwardRefExoticComponent<Pick<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "href" | "target"> & {
7
- href?: string | undefined;
8
- target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
9
- prefetch?: "none" | "intent" | "render" | undefined;
10
- }, "type" | "style" | "id" | "title" | "children" | "hidden" | "color" | "translate" | "property" | "placeholder" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "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" | "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" | "target" | "download" | "hrefLang" | "media" | "ping" | "rel" | "referrerPolicy" | "prefetch"> & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -1,2 +0,0 @@
1
- import type { EntryContext } from "@remix-run/node";
2
- export declare const handleRequest: (request: Request, responseStatusCode: number, responseHeaders: Headers, remixContext: EntryContext) => Response;
@@ -1,3 +0,0 @@
1
- export * from "./root";
2
- export * from "./handle-request.server";
3
- export * from "./params";
@@ -1,6 +0,0 @@
1
- export type Params = {
2
- resizeOrigin?: string;
3
- publicPath?: string;
4
- };
5
- export declare const getParams: () => Params;
6
- export declare const setParams: (newParams: Params | null) => void;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { Outlet as DefaultOutlet } from "@remix-run/react";
3
- /**
4
- * We are using Outlet prop from index layout when user renders site from a subdomain.
5
- */
6
- export declare const Root: ({ Outlet, }: {
7
- Outlet: typeof DefaultOutlet;
8
- }) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,2 +0,0 @@
1
- import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
- export declare const props: Record<string, PropMeta>;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const defaultTag = "blockquote";
3
- export declare const Blockquote: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "key" | keyof import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>> & import("react").RefAttributes<HTMLQuoteElement>>;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentStory, ComponentMeta } from "@storybook/react";
3
- declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "key" | keyof import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>> & import("react").RefAttributes<HTMLQuoteElement>>>;
4
- export default _default;
5
- export declare const Blockquote: ComponentStory<import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "key" | keyof import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>> & import("react").RefAttributes<HTMLQuoteElement>>>;
@@ -1,3 +0,0 @@
1
- import type { WsComponentMeta, WsComponentPropsMeta } from "./component-meta";
2
- export declare const meta: WsComponentMeta;
3
- export declare const propsMeta: WsComponentPropsMeta;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const defaultTag = "body";
3
- export declare const Body: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>, "key" | keyof import("react").HTMLAttributes<HTMLBodyElement>> & import("react").RefAttributes<HTMLBodyElement>>;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentStory, ComponentMeta } from "@storybook/react";
3
- import { Body as BodyPrimitive } from "./body";
4
- declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>, "key" | keyof import("react").HTMLAttributes<HTMLBodyElement>> & import("react").RefAttributes<HTMLBodyElement>>>;
5
- export default _default;
6
- export declare const Body: ComponentStory<typeof BodyPrimitive>;
@@ -1,3 +0,0 @@
1
- import type { WsComponentMeta, WsComponentPropsMeta } from "./component-meta";
2
- export declare const meta: WsComponentMeta;
3
- export declare const propsMeta: WsComponentPropsMeta;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const defaultTag = "b";
3
- export declare const Bold: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "key" | keyof import("react").HTMLAttributes<HTMLElement>> & import("react").RefAttributes<HTMLElement>>;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentStory, ComponentMeta } from "@storybook/react";
3
- declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "key" | keyof import("react").HTMLAttributes<HTMLElement>> & import("react").RefAttributes<HTMLElement>>>;
4
- export default _default;
5
- export declare const Bold: ComponentStory<import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "key" | keyof import("react").HTMLAttributes<HTMLElement>> & import("react").RefAttributes<HTMLElement>>>;
@@ -1,3 +0,0 @@
1
- import type { WsComponentMeta, WsComponentPropsMeta } from "./component-meta";
2
- export declare const meta: WsComponentMeta;
3
- export declare const propsMeta: WsComponentPropsMeta;
@@ -1,7 +0,0 @@
1
- import { type ComponentProps } from "react";
2
- declare const defaultTag = "div";
3
- type Props = ComponentProps<typeof defaultTag> & {
4
- tag?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure";
5
- };
6
- export declare const Box: import("react").ForwardRefExoticComponent<Pick<Props, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "tag"> & import("react").RefAttributes<HTMLDivElement>>;
7
- export {};
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentStory, ComponentMeta } from "@storybook/react";
3
- declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
4
- tag?: "div" | "address" | "article" | "aside" | "figure" | "footer" | "header" | "main" | "nav" | "section" | undefined;
5
- }, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "tag"> & import("react").RefAttributes<HTMLDivElement>>>;
6
- export default _default;
7
- export declare const Box: ComponentStory<import("react").ForwardRefExoticComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
8
- tag?: "div" | "address" | "article" | "aside" | "figure" | "footer" | "header" | "main" | "nav" | "section" | undefined;
9
- }, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "tag"> & import("react").RefAttributes<HTMLDivElement>>>;
@@ -1,3 +0,0 @@
1
- import type { WsComponentMeta, WsComponentPropsMeta } from "./component-meta";
2
- export declare const meta: WsComponentMeta;
3
- export declare const propsMeta: WsComponentPropsMeta;
@@ -1,7 +0,0 @@
1
- import { type ComponentProps } from "react";
2
- export declare const defaultTag = "button";
3
- type ButtonProps = ComponentProps<typeof defaultTag> & {
4
- innerText?: string;
5
- };
6
- export declare const Button: import("react").ForwardRefExoticComponent<Pick<ButtonProps, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement> | "innerText"> & import("react").RefAttributes<HTMLButtonElement>>;
7
- export {};
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentMeta, ComponentStory } from "@storybook/react";
3
- declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<Pick<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
4
- innerText?: string | undefined;
5
- }, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement> | "innerText"> & import("react").RefAttributes<HTMLButtonElement>>>;
6
- export default _default;
7
- export declare const Button: ComponentStory<import("react").ForwardRefExoticComponent<Pick<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
8
- innerText?: string | undefined;
9
- }, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement> | "innerText"> & import("react").RefAttributes<HTMLButtonElement>>>;
@@ -1,3 +0,0 @@
1
- import type { WsComponentMeta, WsComponentPropsMeta } from "./component-meta";
2
- export declare const meta: WsComponentMeta;
3
- export declare const propsMeta: WsComponentPropsMeta;
@@ -1,9 +0,0 @@
1
- import { type ComponentProps } from "react";
2
- export declare const defaultTag = "code";
3
- export declare const displayVarNamespace: `code-display-${number}`;
4
- type Props = Omit<ComponentProps<typeof defaultTag>, "inline"> & {
5
- inline?: boolean;
6
- meta?: string;
7
- };
8
- export declare const Code: import("react").ForwardRefExoticComponent<Pick<Props, "meta" | "inline" | "key" | keyof import("react").HTMLAttributes<HTMLElement>> & import("react").RefAttributes<HTMLElement>>;
9
- export {};
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentStory, ComponentMeta } from "@storybook/react";
3
- declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<Pick<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "inline"> & {
4
- inline?: boolean | undefined;
5
- meta?: string | undefined;
6
- }, "meta" | "inline" | "key" | keyof import("react").HTMLAttributes<HTMLElement>> & import("react").RefAttributes<HTMLElement>>>;
7
- export default _default;
8
- export declare const Code: ComponentStory<import("react").ForwardRefExoticComponent<Pick<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "inline"> & {
9
- inline?: boolean | undefined;
10
- meta?: string | undefined;
11
- }, "meta" | "inline" | "key" | keyof import("react").HTMLAttributes<HTMLElement>> & import("react").RefAttributes<HTMLElement>>>;
@@ -1,3 +0,0 @@
1
- import type { WsComponentMeta, WsComponentPropsMeta } from "./component-meta";
2
- export declare const meta: WsComponentMeta;
3
- export declare const propsMeta: WsComponentPropsMeta;