@dfds-ui/storybook-design 2.2.0-alpha.9edc847c → 2.2.0-alpha.a1ae8508

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.
@@ -17,7 +17,7 @@ const StoryPage = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV ==
17
17
  styles: "padding:5px 15px;max-width:1600px;&>h2{margin-top:30px!important;}"
18
18
  } : {
19
19
  name: "3hldis",
20
- styles: "padding:5px 15px;max-width:1600px;&>h2{margin-top:30px!important;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1N0b3J5UGFnZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRTRCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1N0b3J5UGFnZS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuY29uc3QgU3RvcnlQYWdlID0gc3R5bGVkLmRpdmBcbiAgcGFkZGluZzogNXB4IDE1cHg7XG4gIG1heC13aWR0aDogMTYwMHB4O1xuICAmID4gaDIge1xuICAgIC8qIHN0eWxlbGludC1kaXNhYmxlICovXG4gICAgbWFyZ2luLXRvcDogMzBweCAhaW1wb3J0YW50O1xuICAgIC8qIHN0eWxlbGludC1lbmFibGUgKi9cbiAgfVxuYFxuXG5leHBvcnQgZGVmYXVsdCBTdG9yeVBhZ2VcbiJdfQ== */",
20
+ styles: "padding:5px 15px;max-width:1600px;&>h2{margin-top:30px!important;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1N0b3J5UGFnZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRTRCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1N0b3J5UGFnZS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuY29uc3QgU3RvcnlQYWdlID0gc3R5bGVkLmRpdmBcbiAgcGFkZGluZzogNXB4IDE1cHg7XG4gIG1heC13aWR0aDogMTYwMHB4O1xuICAmID4gaDIge1xuICAgIG1hcmdpbi10b3A6IDMwcHggIWltcG9ydGFudDtcbiAgfVxuYFxuXG5leHBvcnQgZGVmYXVsdCBTdG9yeVBhZ2VcbiJdfQ== */",
21
21
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
22
22
  });
23
23
  var _default = exports.default = StoryPage;
@@ -0,0 +1,8 @@
1
+ declare const ExampleContainer: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ } & {
5
+ headline?: string;
6
+ dark?: boolean;
7
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ export default ExampleContainer;
@@ -0,0 +1,8 @@
1
+ type PaperProps = {
2
+ width?: number | string;
3
+ };
4
+ declare const Paper: import("@emotion/styled").StyledComponent<{
5
+ theme?: import("@emotion/react").Theme;
6
+ as?: React.ElementType;
7
+ } & PaperProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ export default Paper;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ type PlaceholderProps = {
3
+ children?: React.ReactNode;
4
+ width: number;
5
+ height: number;
6
+ };
7
+ declare const Placeholder: React.FunctionComponent<PlaceholderProps>;
8
+ export default Placeholder;
@@ -0,0 +1,5 @@
1
+ declare const StoryPage: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export default StoryPage;
@@ -10,7 +10,7 @@ var StoryPage = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production
10
10
  styles: "padding:5px 15px;max-width:1600px;&>h2{margin-top:30px!important;}"
11
11
  } : {
12
12
  name: "3hldis",
13
- styles: "padding:5px 15px;max-width:1600px;&>h2{margin-top:30px!important;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL1N0b3J5UGFnZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRTRCIiwiZmlsZSI6Ii4uLy4uL3NyYy9jb21wb25lbnRzL1N0b3J5UGFnZS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuY29uc3QgU3RvcnlQYWdlID0gc3R5bGVkLmRpdmBcbiAgcGFkZGluZzogNXB4IDE1cHg7XG4gIG1heC13aWR0aDogMTYwMHB4O1xuICAmID4gaDIge1xuICAgIC8qIHN0eWxlbGludC1kaXNhYmxlICovXG4gICAgbWFyZ2luLXRvcDogMzBweCAhaW1wb3J0YW50O1xuICAgIC8qIHN0eWxlbGludC1lbmFibGUgKi9cbiAgfVxuYFxuXG5leHBvcnQgZGVmYXVsdCBTdG9yeVBhZ2VcbiJdfQ== */",
13
+ styles: "padding:5px 15px;max-width:1600px;&>h2{margin-top:30px!important;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL1N0b3J5UGFnZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRTRCIiwiZmlsZSI6Ii4uLy4uL3NyYy9jb21wb25lbnRzL1N0b3J5UGFnZS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuY29uc3QgU3RvcnlQYWdlID0gc3R5bGVkLmRpdmBcbiAgcGFkZGluZzogNXB4IDE1cHg7XG4gIG1heC13aWR0aDogMTYwMHB4O1xuICAmID4gaDIge1xuICAgIG1hcmdpbi10b3A6IDMwcHggIWltcG9ydGFudDtcbiAgfVxuYFxuXG5leHBvcnQgZGVmYXVsdCBTdG9yeVBhZ2VcbiJdfQ== */",
14
14
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
15
15
  });
16
16
  export default StoryPage;
@@ -0,0 +1,4 @@
1
+ export { default as StoryPage } from './StoryPage';
2
+ export { default as ExampleContainer } from './ExampleContainer';
3
+ export { default as Paper } from './Paper';
4
+ export { default as Placeholder } from './Placeholder';
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './components';
2
+ export * from './markdown';
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const Markdown: ({ children }: {
3
+ source?: any;
4
+ children: React.ReactNode;
5
+ }) => React.JSX.Element;
6
+ export default Markdown;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const Md: (strings: TemplateStringsArray, ...values: string[]) => React.JSX.Element;
3
+ export default Md;
@@ -0,0 +1,2 @@
1
+ export { default as Markdown } from './Markdown';
2
+ export { default as Md } from './Md';
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Components and utils for use with Storybook within DFDS",
4
4
  "license": "MIT",
5
5
  "private": false,
6
- "version": "2.2.0-alpha.9edc847c",
6
+ "version": "2.2.0-alpha.a1ae8508",
7
7
  "sideEffects": false,
8
8
  "main": "./cjs/index.js",
9
9
  "module": "./index.js",
@@ -14,10 +14,10 @@
14
14
  "@emotion/styled": "11.14.1"
15
15
  },
16
16
  "dependencies": {
17
- "@dfds-ui/icons": "2.2.0-alpha.9edc847c",
17
+ "@dfds-ui/icons": "2.2.0-alpha.a1ae8508",
18
18
  "marked": "18.0.3"
19
19
  },
20
- "gitHead": "9edc847c21d2f86054d768d1f84d34027ca9d675",
20
+ "gitHead": "a1ae8508444d4439c2f289df498fc1e335416f65",
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes