@webstudio-is/react-sdk 0.6.1 → 0.7.1
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/lib/arg-types/utils.d.ts +1 -8
- package/lib/arg-types/utils.d.ts.map +1 -1
- package/lib/arg-types/utils.js +18 -7
- package/lib/component-utils/image.d.ts +107 -0
- package/lib/component-utils/image.d.ts.map +1 -0
- package/lib/component-utils/image.js +198 -0
- package/lib/component-utils/image.test.d.ts +2 -0
- package/lib/component-utils/image.test.d.ts.map +1 -0
- package/lib/component-utils/image.test.js +132 -0
- package/lib/components/body.props.json +8 -37
- package/lib/components/bold.props.json +8 -37
- package/lib/components/box.props.json +9 -40
- package/lib/components/button.props.json +10 -45
- package/lib/components/component-type.d.ts +2 -2
- package/lib/components/component-type.d.ts.map +1 -1
- package/lib/components/component-type.js +2 -2
- package/lib/components/form.props.json +8 -37
- package/lib/components/heading.props.json +10 -48
- package/lib/components/image-dev.stories.d.ts +36 -0
- package/lib/components/image-dev.stories.d.ts.map +1 -0
- package/lib/components/image-dev.stories.js +102 -0
- package/lib/components/image.d.ts +11 -0
- package/lib/components/image.d.ts.map +1 -0
- package/lib/components/image.js +52 -0
- package/lib/components/image.props.json +2578 -0
- package/lib/components/image.stories.d.ts +14 -0
- package/lib/components/image.stories.d.ts.map +1 -0
- package/lib/components/image.stories.js +17 -0
- package/lib/components/image.ws.d.ts +5 -0
- package/lib/components/image.ws.d.ts.map +1 -0
- package/lib/components/image.ws.js +29 -0
- package/lib/components/index.d.ts +4 -0
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +9 -1
- package/lib/components/index.test.js +1 -1
- package/lib/components/input.props.json +9 -46
- package/lib/components/italic.props.json +8 -37
- package/lib/components/link.d.ts +1 -1
- package/lib/components/link.props.json +9 -40
- package/lib/components/link.stories.d.ts +2 -2
- package/lib/components/meta.d.ts +4 -0
- package/lib/components/meta.d.ts.map +1 -1
- package/lib/components/meta.js +9 -1
- package/lib/components/paragraph.props.json +8 -37
- package/lib/components/span.d.ts +3 -0
- package/lib/components/span.d.ts.map +1 -0
- package/lib/components/span.js +8 -0
- package/lib/components/span.props.json +2205 -0
- package/lib/components/span.stories.d.ts +6 -0
- package/lib/components/span.stories.d.ts.map +1 -0
- package/lib/components/span.stories.js +19 -0
- package/lib/components/span.ws.d.ts +5 -0
- package/lib/components/span.ws.d.ts.map +1 -0
- package/lib/components/span.ws.js +14 -0
- package/lib/components/subscript.d.ts +3 -0
- package/lib/components/subscript.d.ts.map +1 -0
- package/lib/components/subscript.js +8 -0
- package/lib/components/subscript.props.json +2205 -0
- package/lib/components/subscript.stories.d.ts +6 -0
- package/lib/components/subscript.stories.d.ts.map +1 -0
- package/lib/components/subscript.stories.js +19 -0
- package/lib/components/subscript.ws.d.ts +5 -0
- package/lib/components/subscript.ws.d.ts.map +1 -0
- package/lib/components/subscript.ws.js +14 -0
- package/lib/components/superscript.d.ts +3 -0
- package/lib/components/superscript.d.ts.map +1 -0
- package/lib/components/superscript.js +8 -0
- package/lib/components/superscript.props.json +2205 -0
- package/lib/components/superscript.stories.d.ts +6 -0
- package/lib/components/superscript.stories.d.ts.map +1 -0
- package/lib/components/superscript.stories.js +19 -0
- package/lib/components/superscript.ws.d.ts +5 -0
- package/lib/components/superscript.ws.d.ts.map +1 -0
- package/lib/components/superscript.ws.js +14 -0
- package/lib/components/text-block.props.json +8 -37
- package/lib/css/breakpoints.d.ts +1 -1
- package/lib/css/breakpoints.d.ts.map +1 -1
- package/lib/css/categories.d.ts +5 -5
- package/lib/css/get-browser-style.d.ts +1 -1
- package/lib/css/get-browser-style.d.ts.map +1 -1
- package/lib/css/get-browser-style.js +10 -5
- package/lib/css/index.d.ts +0 -5
- package/lib/css/index.d.ts.map +1 -1
- package/lib/css/index.js +0 -5
- package/lib/db/instance.d.ts +2 -2
- package/lib/db/instance.d.ts.map +1 -1
- package/lib/db/instance.js +5 -5
- package/lib/index.d.ts +1 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -2
- package/lib/pubsub/create.d.ts +1 -0
- package/lib/pubsub/create.d.ts.map +1 -1
- package/lib/pubsub/create.js +8 -0
- package/lib/remix/handle-request.server.d.ts +3 -0
- package/lib/remix/handle-request.server.d.ts.map +1 -0
- package/lib/remix/handle-request.server.js +15 -0
- package/lib/remix/index.d.ts +3 -0
- package/lib/remix/index.d.ts.map +1 -0
- package/lib/{canvas → remix}/index.js +2 -1
- package/lib/{canvas/canvas.d.ts → remix/root.d.ts} +1 -1
- package/lib/remix/root.d.ts.map +1 -0
- package/lib/{canvas/canvas.js → remix/root.js} +2 -2
- package/lib/tree/create-elements-tree.d.ts +7 -11
- package/lib/tree/create-elements-tree.d.ts.map +1 -1
- package/lib/tree/create-elements-tree.js +5 -10
- package/lib/tree/root.d.ts +6 -4
- package/lib/tree/root.d.ts.map +1 -1
- package/lib/tree/root.js +1 -10
- package/lib/tree/session-storage-polyfill.d.ts +2 -0
- package/lib/tree/session-storage-polyfill.d.ts.map +1 -0
- package/lib/tree/session-storage-polyfill.js +39 -0
- package/lib/tree/wrapper-component.d.ts +4 -4
- package/lib/tree/wrapper-component.d.ts.map +1 -1
- package/lib/tree/wrapper-component.js +5 -5
- package/lib/user-props/schema.d.ts +3 -2
- package/lib/user-props/schema.d.ts.map +1 -1
- package/lib/user-props/schema.js +3 -3
- package/lib/user-props/types.d.ts +1 -3
- package/lib/user-props/types.d.ts.map +1 -1
- package/lib/user-props/use-user-props.d.ts +1 -1
- package/lib/user-props/use-user-props.d.ts.map +1 -1
- package/package.json +23 -14
- package/lib/canvas/canvas.d.ts.map +0 -1
- package/lib/canvas/index.d.ts +0 -2
- package/lib/canvas/index.d.ts.map +0 -1
- package/lib/css/keyword-values.d.ts +0 -302
- package/lib/css/keyword-values.d.ts.map +0 -1
- package/lib/css/keyword-values.js +0 -7372
- package/lib/css/properties.d.ts +0 -3199
- package/lib/css/properties.d.ts.map +0 -1
- package/lib/css/properties.js +0 -3202
- package/lib/css/schema.d.ts +0 -151
- package/lib/css/schema.d.ts.map +0 -1
- package/lib/css/schema.js +0 -38
- package/lib/css/types.d.ts +0 -15
- package/lib/css/types.d.ts.map +0 -1
- package/lib/css/types.js +0 -2
- package/lib/css/units.d.ts +0 -2
- package/lib/css/units.d.ts.map +0 -1
- package/lib/css/units.js +0 -35
- package/lib/stitches/critical-css.d.ts +0 -4
- package/lib/stitches/critical-css.d.ts.map +0 -1
- package/lib/stitches/critical-css.js +0 -12
- package/lib/stitches/css.d.ts +0 -9
- package/lib/stitches/css.d.ts.map +0 -1
- package/lib/stitches/css.js +0 -33
- package/lib/stitches/index.d.ts +0 -4
- package/lib/stitches/index.d.ts.map +0 -1
- package/lib/stitches/index.js +0 -19
- package/lib/stitches/to-css.d.ts +0 -8
- package/lib/stitches/to-css.d.ts.map +0 -1
- package/lib/stitches/to-css.js +0 -43
- package/lib/stitches/to-css.test.d.ts +0 -2
- package/lib/stitches/to-css.test.d.ts.map +0 -1
- package/lib/stitches/to-css.test.js +0 -63
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Pick<React.ClassAttributes<HTMLImageElement> & React.ImgHTMLAttributes<HTMLImageElement> & {
|
|
4
|
+
quality?: number | undefined;
|
|
5
|
+
loader?: import("../component-utils/image").ImageLoader | undefined;
|
|
6
|
+
optimize?: boolean | undefined;
|
|
7
|
+
}, "key" | "quality" | "loader" | keyof React.ImgHTMLAttributes<HTMLImageElement> | "optimize"> & React.RefAttributes<HTMLImageElement>>>;
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Image: ComponentStory<React.ForwardRefExoticComponent<Pick<React.ClassAttributes<HTMLImageElement> & React.ImgHTMLAttributes<HTMLImageElement> & {
|
|
10
|
+
quality?: number | undefined;
|
|
11
|
+
loader?: import("../component-utils/image").ImageLoader | undefined;
|
|
12
|
+
optimize?: boolean | undefined;
|
|
13
|
+
}, "key" | "quality" | "loader" | keyof React.ImgHTMLAttributes<HTMLImageElement> | "optimize"> & React.RefAttributes<HTMLImageElement>>>;
|
|
14
|
+
//# sourceMappingURL=image.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.stories.d.ts","sourceRoot":"","sources":["../../src/components/image.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;;;;;AAItE,wBAI0C;AAM1C,eAAO,MAAM,KAAK;;;;yIAAoB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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.Image = void 0;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const image_1 = require("./image");
|
|
9
|
+
const image_props_json_1 = __importDefault(require("./image.props.json"));
|
|
10
|
+
exports.default = {
|
|
11
|
+
title: "Components/Image",
|
|
12
|
+
component: image_1.Image,
|
|
13
|
+
argTypes: image_props_json_1.default,
|
|
14
|
+
};
|
|
15
|
+
const Template = (args) => ((0, jsx_runtime_1.jsx)(image_1.Image, { ...args }));
|
|
16
|
+
exports.Image = Template.bind({});
|
|
17
|
+
exports.Image.args = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.ws.d.ts","sourceRoot":"","sources":["../../src/components/image.ws.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAiBhC,QAAA,MAAM,IAAI,EAAE,eAAe,CAAC,OAAO,KAAK,CASvC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const icons_1 = require("@webstudio-is/icons");
|
|
4
|
+
const image_1 = require("./image");
|
|
5
|
+
const defaultStyle = {
|
|
6
|
+
// Otherwise on new image insert onto canvas it can overfit screen size multiple times
|
|
7
|
+
maxWidth: {
|
|
8
|
+
type: "unit",
|
|
9
|
+
unit: "%",
|
|
10
|
+
value: 100,
|
|
11
|
+
},
|
|
12
|
+
// inline | inline-block is not suitable because without line-height: 0 on the parent you get unsuitable spaces/margins
|
|
13
|
+
// see https://stackoverflow.com/questions/24771194/is-the-margin-of-inline-block-4px-is-static-for-all-browsers
|
|
14
|
+
display: {
|
|
15
|
+
type: "keyword",
|
|
16
|
+
value: "block",
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
const meta = {
|
|
20
|
+
Icon: icons_1.ImageIcon,
|
|
21
|
+
Component: image_1.Image,
|
|
22
|
+
canAcceptChildren: false,
|
|
23
|
+
defaultStyle,
|
|
24
|
+
isContentEditable: false,
|
|
25
|
+
isInlineOnly: false,
|
|
26
|
+
isListed: true,
|
|
27
|
+
label: "Image",
|
|
28
|
+
};
|
|
29
|
+
exports.default = meta;
|
|
@@ -4,9 +4,13 @@ export { default as TextBlock } from "./text-block.ws";
|
|
|
4
4
|
export { default as Heading } from "./heading.ws";
|
|
5
5
|
export { default as Paragraph } from "./paragraph.ws";
|
|
6
6
|
export { default as Link } from "./link.ws";
|
|
7
|
+
export { default as Span } from "./span.ws";
|
|
7
8
|
export { default as Bold } from "./bold.ws";
|
|
8
9
|
export { default as Italic } from "./italic.ws";
|
|
10
|
+
export { default as Superscript } from "./superscript.ws";
|
|
11
|
+
export { default as Subscript } from "./subscript.ws";
|
|
9
12
|
export { default as Button } from "./button.ws";
|
|
10
13
|
export { default as Input } from "./input.ws";
|
|
11
14
|
export { default as Form } from "./form.ws";
|
|
15
|
+
export { default as Image } from "./image.ws";
|
|
12
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,YAAY,CAAC"}
|
package/lib/components/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Form = exports.Input = exports.Button = exports.Italic = exports.Bold = exports.Link = exports.Paragraph = exports.Heading = exports.TextBlock = exports.Box = exports.Body = void 0;
|
|
6
|
+
exports.Image = exports.Form = exports.Input = exports.Button = exports.Subscript = exports.Superscript = exports.Italic = exports.Bold = exports.Span = exports.Link = exports.Paragraph = exports.Heading = exports.TextBlock = exports.Box = exports.Body = void 0;
|
|
7
7
|
var body_ws_1 = require("./body.ws");
|
|
8
8
|
Object.defineProperty(exports, "Body", { enumerable: true, get: function () { return __importDefault(body_ws_1).default; } });
|
|
9
9
|
var box_ws_1 = require("./box.ws");
|
|
@@ -16,13 +16,21 @@ var paragraph_ws_1 = require("./paragraph.ws");
|
|
|
16
16
|
Object.defineProperty(exports, "Paragraph", { enumerable: true, get: function () { return __importDefault(paragraph_ws_1).default; } });
|
|
17
17
|
var link_ws_1 = require("./link.ws");
|
|
18
18
|
Object.defineProperty(exports, "Link", { enumerable: true, get: function () { return __importDefault(link_ws_1).default; } });
|
|
19
|
+
var span_ws_1 = require("./span.ws");
|
|
20
|
+
Object.defineProperty(exports, "Span", { enumerable: true, get: function () { return __importDefault(span_ws_1).default; } });
|
|
19
21
|
var bold_ws_1 = require("./bold.ws");
|
|
20
22
|
Object.defineProperty(exports, "Bold", { enumerable: true, get: function () { return __importDefault(bold_ws_1).default; } });
|
|
21
23
|
var italic_ws_1 = require("./italic.ws");
|
|
22
24
|
Object.defineProperty(exports, "Italic", { enumerable: true, get: function () { return __importDefault(italic_ws_1).default; } });
|
|
25
|
+
var superscript_ws_1 = require("./superscript.ws");
|
|
26
|
+
Object.defineProperty(exports, "Superscript", { enumerable: true, get: function () { return __importDefault(superscript_ws_1).default; } });
|
|
27
|
+
var subscript_ws_1 = require("./subscript.ws");
|
|
28
|
+
Object.defineProperty(exports, "Subscript", { enumerable: true, get: function () { return __importDefault(subscript_ws_1).default; } });
|
|
23
29
|
var button_ws_1 = require("./button.ws");
|
|
24
30
|
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return __importDefault(button_ws_1).default; } });
|
|
25
31
|
var input_ws_1 = require("./input.ws");
|
|
26
32
|
Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return __importDefault(input_ws_1).default; } });
|
|
27
33
|
var form_ws_1 = require("./form.ws");
|
|
28
34
|
Object.defineProperty(exports, "Form", { enumerable: true, get: function () { return __importDefault(form_ws_1).default; } });
|
|
35
|
+
var image_ws_1 = require("./image.ws");
|
|
36
|
+
Object.defineProperty(exports, "Image", { enumerable: true, get: function () { return __importDefault(image_ws_1).default; } });
|
|
@@ -330,15 +330,7 @@
|
|
|
330
330
|
"control": {
|
|
331
331
|
"type": "select"
|
|
332
332
|
},
|
|
333
|
-
"options": [
|
|
334
|
-
"enter",
|
|
335
|
-
"done",
|
|
336
|
-
"go",
|
|
337
|
-
"next",
|
|
338
|
-
"previous",
|
|
339
|
-
"search",
|
|
340
|
-
"send"
|
|
341
|
-
]
|
|
333
|
+
"options": ["enter", "done", "go", "next", "previous", "search", "send"]
|
|
342
334
|
},
|
|
343
335
|
"formAction": {
|
|
344
336
|
"defaultValue": null,
|
|
@@ -1206,10 +1198,7 @@
|
|
|
1206
1198
|
"control": {
|
|
1207
1199
|
"type": "radio"
|
|
1208
1200
|
},
|
|
1209
|
-
"options": [
|
|
1210
|
-
"yes",
|
|
1211
|
-
"no"
|
|
1212
|
-
]
|
|
1201
|
+
"options": ["yes", "no"]
|
|
1213
1202
|
},
|
|
1214
1203
|
"radioGroup": {
|
|
1215
1204
|
"defaultValue": null,
|
|
@@ -1498,6 +1487,7 @@
|
|
|
1498
1487
|
}
|
|
1499
1488
|
},
|
|
1500
1489
|
"color": {
|
|
1490
|
+
"defaultValue": null,
|
|
1501
1491
|
"description": "",
|
|
1502
1492
|
"name": "color",
|
|
1503
1493
|
"parent": {
|
|
@@ -1702,10 +1692,7 @@
|
|
|
1702
1692
|
"control": {
|
|
1703
1693
|
"type": "radio"
|
|
1704
1694
|
},
|
|
1705
|
-
"options": [
|
|
1706
|
-
"on",
|
|
1707
|
-
"off"
|
|
1708
|
-
]
|
|
1695
|
+
"options": ["on", "off"]
|
|
1709
1696
|
},
|
|
1710
1697
|
"inputMode": {
|
|
1711
1698
|
"defaultValue": null,
|
|
@@ -1868,12 +1855,7 @@
|
|
|
1868
1855
|
"control": {
|
|
1869
1856
|
"type": "radio"
|
|
1870
1857
|
},
|
|
1871
|
-
"options": [
|
|
1872
|
-
"list",
|
|
1873
|
-
"none",
|
|
1874
|
-
"inline",
|
|
1875
|
-
"both"
|
|
1876
|
-
]
|
|
1858
|
+
"options": ["list", "none", "inline", "both"]
|
|
1877
1859
|
},
|
|
1878
1860
|
"aria-busy": {
|
|
1879
1861
|
"defaultValue": null,
|
|
@@ -2137,14 +2119,7 @@
|
|
|
2137
2119
|
"control": {
|
|
2138
2120
|
"type": "select"
|
|
2139
2121
|
},
|
|
2140
|
-
"options": [
|
|
2141
|
-
"link",
|
|
2142
|
-
"none",
|
|
2143
|
-
"copy",
|
|
2144
|
-
"execute",
|
|
2145
|
-
"move",
|
|
2146
|
-
"popup"
|
|
2147
|
-
]
|
|
2122
|
+
"options": ["link", "none", "copy", "execute", "move", "popup"]
|
|
2148
2123
|
},
|
|
2149
2124
|
"aria-errormessage": {
|
|
2150
2125
|
"defaultValue": null,
|
|
@@ -2421,11 +2396,7 @@
|
|
|
2421
2396
|
"control": {
|
|
2422
2397
|
"type": "radio"
|
|
2423
2398
|
},
|
|
2424
|
-
"options": [
|
|
2425
|
-
"off",
|
|
2426
|
-
"assertive",
|
|
2427
|
-
"polite"
|
|
2428
|
-
]
|
|
2399
|
+
"options": ["off", "assertive", "polite"]
|
|
2429
2400
|
},
|
|
2430
2401
|
"aria-modal": {
|
|
2431
2402
|
"defaultValue": null,
|
|
@@ -2523,10 +2494,7 @@
|
|
|
2523
2494
|
"control": {
|
|
2524
2495
|
"type": "radio"
|
|
2525
2496
|
},
|
|
2526
|
-
"options": [
|
|
2527
|
-
"horizontal",
|
|
2528
|
-
"vertical"
|
|
2529
|
-
]
|
|
2497
|
+
"options": ["horizontal", "vertical"]
|
|
2530
2498
|
},
|
|
2531
2499
|
"aria-owns": {
|
|
2532
2500
|
"defaultValue": null,
|
|
@@ -2895,12 +2863,7 @@
|
|
|
2895
2863
|
"control": {
|
|
2896
2864
|
"type": "radio"
|
|
2897
2865
|
},
|
|
2898
|
-
"options": [
|
|
2899
|
-
"none",
|
|
2900
|
-
"ascending",
|
|
2901
|
-
"descending",
|
|
2902
|
-
"other"
|
|
2903
|
-
]
|
|
2866
|
+
"options": ["none", "ascending", "descending", "other"]
|
|
2904
2867
|
},
|
|
2905
2868
|
"aria-valuemax": {
|
|
2906
2869
|
"defaultValue": null,
|
|
@@ -447,10 +447,7 @@
|
|
|
447
447
|
"control": {
|
|
448
448
|
"type": "radio"
|
|
449
449
|
},
|
|
450
|
-
"options": [
|
|
451
|
-
"yes",
|
|
452
|
-
"no"
|
|
453
|
-
]
|
|
450
|
+
"options": ["yes", "no"]
|
|
454
451
|
},
|
|
455
452
|
"radioGroup": {
|
|
456
453
|
"defaultValue": null,
|
|
@@ -739,6 +736,7 @@
|
|
|
739
736
|
}
|
|
740
737
|
},
|
|
741
738
|
"color": {
|
|
739
|
+
"defaultValue": null,
|
|
742
740
|
"description": "",
|
|
743
741
|
"name": "color",
|
|
744
742
|
"parent": {
|
|
@@ -943,10 +941,7 @@
|
|
|
943
941
|
"control": {
|
|
944
942
|
"type": "radio"
|
|
945
943
|
},
|
|
946
|
-
"options": [
|
|
947
|
-
"on",
|
|
948
|
-
"off"
|
|
949
|
-
]
|
|
944
|
+
"options": ["on", "off"]
|
|
950
945
|
},
|
|
951
946
|
"inputMode": {
|
|
952
947
|
"defaultValue": null,
|
|
@@ -1109,12 +1104,7 @@
|
|
|
1109
1104
|
"control": {
|
|
1110
1105
|
"type": "radio"
|
|
1111
1106
|
},
|
|
1112
|
-
"options": [
|
|
1113
|
-
"list",
|
|
1114
|
-
"none",
|
|
1115
|
-
"inline",
|
|
1116
|
-
"both"
|
|
1117
|
-
]
|
|
1107
|
+
"options": ["list", "none", "inline", "both"]
|
|
1118
1108
|
},
|
|
1119
1109
|
"aria-busy": {
|
|
1120
1110
|
"defaultValue": null,
|
|
@@ -1378,14 +1368,7 @@
|
|
|
1378
1368
|
"control": {
|
|
1379
1369
|
"type": "select"
|
|
1380
1370
|
},
|
|
1381
|
-
"options": [
|
|
1382
|
-
"link",
|
|
1383
|
-
"none",
|
|
1384
|
-
"copy",
|
|
1385
|
-
"execute",
|
|
1386
|
-
"move",
|
|
1387
|
-
"popup"
|
|
1388
|
-
]
|
|
1371
|
+
"options": ["link", "none", "copy", "execute", "move", "popup"]
|
|
1389
1372
|
},
|
|
1390
1373
|
"aria-errormessage": {
|
|
1391
1374
|
"defaultValue": null,
|
|
@@ -1662,11 +1645,7 @@
|
|
|
1662
1645
|
"control": {
|
|
1663
1646
|
"type": "radio"
|
|
1664
1647
|
},
|
|
1665
|
-
"options": [
|
|
1666
|
-
"off",
|
|
1667
|
-
"assertive",
|
|
1668
|
-
"polite"
|
|
1669
|
-
]
|
|
1648
|
+
"options": ["off", "assertive", "polite"]
|
|
1670
1649
|
},
|
|
1671
1650
|
"aria-modal": {
|
|
1672
1651
|
"defaultValue": null,
|
|
@@ -1764,10 +1743,7 @@
|
|
|
1764
1743
|
"control": {
|
|
1765
1744
|
"type": "radio"
|
|
1766
1745
|
},
|
|
1767
|
-
"options": [
|
|
1768
|
-
"horizontal",
|
|
1769
|
-
"vertical"
|
|
1770
|
-
]
|
|
1746
|
+
"options": ["horizontal", "vertical"]
|
|
1771
1747
|
},
|
|
1772
1748
|
"aria-owns": {
|
|
1773
1749
|
"defaultValue": null,
|
|
@@ -2136,12 +2112,7 @@
|
|
|
2136
2112
|
"control": {
|
|
2137
2113
|
"type": "radio"
|
|
2138
2114
|
},
|
|
2139
|
-
"options": [
|
|
2140
|
-
"none",
|
|
2141
|
-
"ascending",
|
|
2142
|
-
"descending",
|
|
2143
|
-
"other"
|
|
2144
|
-
]
|
|
2115
|
+
"options": ["none", "ascending", "descending", "other"]
|
|
2145
2116
|
},
|
|
2146
2117
|
"aria-valuemax": {
|
|
2147
2118
|
"defaultValue": null,
|
package/lib/components/link.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ declare const defaultTag = "a";
|
|
|
3
3
|
declare type LinkProps = Omit<ComponentProps<typeof defaultTag>, "href"> & {
|
|
4
4
|
href?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const Link: React.ForwardRefExoticComponent<Pick<LinkProps, "
|
|
6
|
+
export declare const Link: React.ForwardRefExoticComponent<Pick<LinkProps, "color" | "translate" | "type" | "id" | "children" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "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" | "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" | "media" | "target" | "href" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=link.d.ts.map
|
|
@@ -88,9 +88,7 @@
|
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
"href": {
|
|
91
|
-
"defaultValue":
|
|
92
|
-
"value": ""
|
|
93
|
-
},
|
|
91
|
+
"defaultValue": "",
|
|
94
92
|
"description": "",
|
|
95
93
|
"name": "href",
|
|
96
94
|
"declarations": [
|
|
@@ -684,10 +682,7 @@
|
|
|
684
682
|
"control": {
|
|
685
683
|
"type": "radio"
|
|
686
684
|
},
|
|
687
|
-
"options": [
|
|
688
|
-
"yes",
|
|
689
|
-
"no"
|
|
690
|
-
]
|
|
685
|
+
"options": ["yes", "no"]
|
|
691
686
|
},
|
|
692
687
|
"radioGroup": {
|
|
693
688
|
"defaultValue": null,
|
|
@@ -976,6 +971,7 @@
|
|
|
976
971
|
}
|
|
977
972
|
},
|
|
978
973
|
"color": {
|
|
974
|
+
"defaultValue": null,
|
|
979
975
|
"description": "",
|
|
980
976
|
"name": "color",
|
|
981
977
|
"parent": {
|
|
@@ -1180,10 +1176,7 @@
|
|
|
1180
1176
|
"control": {
|
|
1181
1177
|
"type": "radio"
|
|
1182
1178
|
},
|
|
1183
|
-
"options": [
|
|
1184
|
-
"on",
|
|
1185
|
-
"off"
|
|
1186
|
-
]
|
|
1179
|
+
"options": ["on", "off"]
|
|
1187
1180
|
},
|
|
1188
1181
|
"inputMode": {
|
|
1189
1182
|
"defaultValue": null,
|
|
@@ -1346,12 +1339,7 @@
|
|
|
1346
1339
|
"control": {
|
|
1347
1340
|
"type": "radio"
|
|
1348
1341
|
},
|
|
1349
|
-
"options": [
|
|
1350
|
-
"list",
|
|
1351
|
-
"none",
|
|
1352
|
-
"inline",
|
|
1353
|
-
"both"
|
|
1354
|
-
]
|
|
1342
|
+
"options": ["list", "none", "inline", "both"]
|
|
1355
1343
|
},
|
|
1356
1344
|
"aria-busy": {
|
|
1357
1345
|
"defaultValue": null,
|
|
@@ -1615,14 +1603,7 @@
|
|
|
1615
1603
|
"control": {
|
|
1616
1604
|
"type": "select"
|
|
1617
1605
|
},
|
|
1618
|
-
"options": [
|
|
1619
|
-
"link",
|
|
1620
|
-
"none",
|
|
1621
|
-
"copy",
|
|
1622
|
-
"execute",
|
|
1623
|
-
"move",
|
|
1624
|
-
"popup"
|
|
1625
|
-
]
|
|
1606
|
+
"options": ["link", "none", "copy", "execute", "move", "popup"]
|
|
1626
1607
|
},
|
|
1627
1608
|
"aria-errormessage": {
|
|
1628
1609
|
"defaultValue": null,
|
|
@@ -1899,11 +1880,7 @@
|
|
|
1899
1880
|
"control": {
|
|
1900
1881
|
"type": "radio"
|
|
1901
1882
|
},
|
|
1902
|
-
"options": [
|
|
1903
|
-
"off",
|
|
1904
|
-
"assertive",
|
|
1905
|
-
"polite"
|
|
1906
|
-
]
|
|
1883
|
+
"options": ["off", "assertive", "polite"]
|
|
1907
1884
|
},
|
|
1908
1885
|
"aria-modal": {
|
|
1909
1886
|
"defaultValue": null,
|
|
@@ -2001,10 +1978,7 @@
|
|
|
2001
1978
|
"control": {
|
|
2002
1979
|
"type": "radio"
|
|
2003
1980
|
},
|
|
2004
|
-
"options": [
|
|
2005
|
-
"horizontal",
|
|
2006
|
-
"vertical"
|
|
2007
|
-
]
|
|
1981
|
+
"options": ["horizontal", "vertical"]
|
|
2008
1982
|
},
|
|
2009
1983
|
"aria-owns": {
|
|
2010
1984
|
"defaultValue": null,
|
|
@@ -2373,12 +2347,7 @@
|
|
|
2373
2347
|
"control": {
|
|
2374
2348
|
"type": "radio"
|
|
2375
2349
|
},
|
|
2376
|
-
"options": [
|
|
2377
|
-
"none",
|
|
2378
|
-
"ascending",
|
|
2379
|
-
"descending",
|
|
2380
|
-
"other"
|
|
2381
|
-
]
|
|
2350
|
+
"options": ["none", "ascending", "descending", "other"]
|
|
2382
2351
|
},
|
|
2383
2352
|
"aria-valuemax": {
|
|
2384
2353
|
"defaultValue": null,
|
|
@@ -2,9 +2,9 @@ import React from "react";
|
|
|
2
2
|
import type { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
3
3
|
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "href"> & {
|
|
4
4
|
href?: string | undefined;
|
|
5
|
-
}, "
|
|
5
|
+
}, "color" | "translate" | "type" | "id" | "children" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "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" | "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" | "media" | "target" | "href" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy"> & React.RefAttributes<HTMLAnchorElement>>>;
|
|
6
6
|
export default _default;
|
|
7
7
|
export declare const Link: ComponentStory<React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "href"> & {
|
|
8
8
|
href?: string | undefined;
|
|
9
|
-
}, "
|
|
9
|
+
}, "color" | "translate" | "type" | "id" | "children" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "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" | "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" | "media" | "target" | "href" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy"> & React.RefAttributes<HTMLAnchorElement>>>;
|
|
10
10
|
//# sourceMappingURL=link.stories.d.ts.map
|
package/lib/components/meta.d.ts
CHANGED
|
@@ -6,7 +6,11 @@ export { default as Form } from "./form.stories";
|
|
|
6
6
|
export { default as Heading } from "./heading.stories";
|
|
7
7
|
export { default as Input } from "./input.stories";
|
|
8
8
|
export { default as Italic } from "./italic.stories";
|
|
9
|
+
export { default as Superscript } from "./superscript.stories";
|
|
10
|
+
export { default as Subscript } from "./subscript.stories";
|
|
9
11
|
export { default as Link } from "./link.stories";
|
|
10
12
|
export { default as Paragraph } from "./paragraph.stories";
|
|
13
|
+
export { default as Span } from "./span.stories";
|
|
11
14
|
export { default as TextBlock } from "./text-block.stories";
|
|
15
|
+
export { default as Image } from "./image.stories";
|
|
12
16
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/components/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACjD,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"}
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/components/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACjD,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,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,iBAAiB,CAAC"}
|
package/lib/components/meta.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
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 = exports.Body = void 0;
|
|
6
|
+
exports.Image = exports.TextBlock = exports.Span = exports.Paragraph = exports.Link = exports.Subscript = exports.Superscript = exports.Italic = exports.Input = exports.Heading = exports.Form = exports.Box = exports.Bold = exports.Button = exports.Body = void 0;
|
|
7
7
|
var body_stories_1 = require("./body.stories");
|
|
8
8
|
Object.defineProperty(exports, "Body", { enumerable: true, get: function () { return __importDefault(body_stories_1).default; } });
|
|
9
9
|
var button_stories_1 = require("./button.stories");
|
|
@@ -20,9 +20,17 @@ var input_stories_1 = require("./input.stories");
|
|
|
20
20
|
Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return __importDefault(input_stories_1).default; } });
|
|
21
21
|
var italic_stories_1 = require("./italic.stories");
|
|
22
22
|
Object.defineProperty(exports, "Italic", { enumerable: true, get: function () { return __importDefault(italic_stories_1).default; } });
|
|
23
|
+
var superscript_stories_1 = require("./superscript.stories");
|
|
24
|
+
Object.defineProperty(exports, "Superscript", { enumerable: true, get: function () { return __importDefault(superscript_stories_1).default; } });
|
|
25
|
+
var subscript_stories_1 = require("./subscript.stories");
|
|
26
|
+
Object.defineProperty(exports, "Subscript", { enumerable: true, get: function () { return __importDefault(subscript_stories_1).default; } });
|
|
23
27
|
var link_stories_1 = require("./link.stories");
|
|
24
28
|
Object.defineProperty(exports, "Link", { enumerable: true, get: function () { return __importDefault(link_stories_1).default; } });
|
|
25
29
|
var paragraph_stories_1 = require("./paragraph.stories");
|
|
26
30
|
Object.defineProperty(exports, "Paragraph", { enumerable: true, get: function () { return __importDefault(paragraph_stories_1).default; } });
|
|
31
|
+
var span_stories_1 = require("./span.stories");
|
|
32
|
+
Object.defineProperty(exports, "Span", { enumerable: true, get: function () { return __importDefault(span_stories_1).default; } });
|
|
27
33
|
var text_block_stories_1 = require("./text-block.stories");
|
|
28
34
|
Object.defineProperty(exports, "TextBlock", { enumerable: true, get: function () { return __importDefault(text_block_stories_1).default; } });
|
|
35
|
+
var image_stories_1 = require("./image.stories");
|
|
36
|
+
Object.defineProperty(exports, "Image", { enumerable: true, get: function () { return __importDefault(image_stories_1).default; } });
|