@artsy/palette 45.0.0-canary.1472.32632.0 → 45.0.0-canary.1472.32642.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.
@@ -24,7 +24,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
24
24
  /**
25
25
  * Sets reasonable defaults for tags that we might encounter in Markdown output.
26
26
  */
27
- var htmlMixin = exports.htmlMixin = (0, _styledComponents.css)(["h1,h2,h3,h4,h5,ul,ol,p,blockquote,pre,hr{margin:", "px auto;&:first-child{margin-top:0;}&:last-child{margin-bottom:0;}}hr{height:1px;border:0;background-color:", ";}"], (0, _themeGet.themeGet)("space.1"), (0, _themeGet.themeGet)("colors.mono10"));
27
+ var htmlMixin = exports.htmlMixin = (0, _styledComponents.css)(["h1,h2,h3,h4,h5,ul,ol,p,blockquote,pre,hr{margin:", " 0;&:first-child{margin-top:0;}&:last-child{margin-bottom:0;}}hr{height:1px;width:100%;border:0;background-color:", ";}"], (0, _themeGet.themeGet)("space.1"), (0, _themeGet.themeGet)("colors.mono10"));
28
28
  var Container = (0, _styledComponents.default)(_Text.Text).withConfig({
29
29
  displayName: "HTML__Container",
30
30
  componentId: "sc-1im40xc-0"
@@ -1 +1 @@
1
- {"version":3,"file":"HTML.js","names":["_themeGet","require","_react","_interopRequireDefault","_styledComponents","_interopRequireWildcard","_Text","_excluded","_excluded2","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","keys","htmlMixin","exports","css","themeGet","Container","styled","Text","withConfig","displayName","componentId","defaultProps","variant","HTML","props","html","htmlRest","createElement","dangerouslySetInnerHTML","__html","children","childrenRest"],"sources":["../../../src/elements/HTML/HTML.tsx"],"sourcesContent":["import { themeGet } from \"@styled-system/theme-get\"\nimport React, { HTMLAttributes } from \"react\"\nimport styled, { css } from \"styled-components\"\nimport { Text, TextProps } from \"../Text\"\n\n/**\n * HTML\n */\nexport type HTMLProps = TextProps &\n HTMLAttributes<HTMLDivElement | HTMLHeadingElement | HTMLParagraphElement> &\n ({ html: string } | { children: React.ReactNode })\n\n/**\n * Sets reasonable defaults for tags that we might encounter in Markdown output.\n */\nexport const htmlMixin = css`\n h1,\n h2,\n h3,\n h4,\n h5,\n ul,\n ol,\n p,\n blockquote,\n pre,\n hr {\n margin: ${themeGet(\"space.1\")}px auto;\n\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n hr {\n height: 1px;\n border: 0;\n background-color: ${themeGet(\"colors.mono10\")};\n }\n`\n\nconst Container = styled(Text)`\n ${htmlMixin}\n`\n\nContainer.defaultProps = {\n variant: \"sm\",\n}\n\n/**\n * Sets reasonable defaults for tags that we might encounter in Markdown output.\n * If `html` prop is passed; it's set as innerHTML, otherwise contents are wrapped\n * with default HTML styling.\n */\nexport const HTML: React.FC<React.PropsWithChildren<HTMLProps>> = (props) => {\n if (\"html\" in props) {\n const { html, ...htmlRest } = props\n return (\n <Container dangerouslySetInnerHTML={{ __html: html }} {...htmlRest} />\n )\n }\n\n const { children, ...childrenRest } = props\n return <Container {...childrenRest}>{children}</Container>\n}\n\nHTML.displayName = \"HTML\"\n"],"mappings":";;;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAC,uBAAA,CAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AAAyC,IAAAM,SAAA;EAAAC,UAAA;AAAA,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,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AAA,YAAAS,MAAA;AAEzC;AACA;AACA;;AAKA;AACA;AACA;AACO,IAAMe,SAAS,GAAAC,OAAA,CAAAD,SAAA,OAAGE,qBAAG,6KAYd,IAAAC,kBAAQ,EAAC,SAAS,CAAC,EAcT,IAAAA,kBAAQ,EAAC,eAAe,CAAC,CAEhD;AAED,IAAMC,SAAS,GAAG,IAAAC,yBAAM,EAACC,UAAI,CAAC,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aAC1BT,SAAS,CACZ;AAEDI,SAAS,CAACM,YAAY,GAAG;EACvBC,OAAO,EAAE;AACX,CAAC;;AAED;AACA;AACA;AACA;AACA;AACO,IAAMC,IAAkD,GAAAX,OAAA,CAAAW,IAAA,GAAG,SAArDA,IAAkDA,CAAIC,KAAK,EAAK;EAC3E,IAAI,MAAM,IAAIA,KAAK,EAAE;IACnB,IAAQC,IAAI,GAAkBD,KAAK,CAA3BC,IAAI;MAAKC,QAAQ,GAAAxB,wBAAA,CAAKsB,KAAK,EAAAxD,SAAA;IACnC,oBACEL,MAAA,CAAAe,OAAA,CAAAiD,aAAA,CAACZ,SAAS,EAAAtB,QAAA;MAACmC,uBAAuB,EAAE;QAAEC,MAAM,EAAEJ;MAAK;IAAE,GAAKC,QAAQ,EAAI;EAE1E;EAEA,IAAQI,QAAQ,GAAsBN,KAAK,CAAnCM,QAAQ;IAAKC,YAAY,GAAA7B,wBAAA,CAAKsB,KAAK,EAAAvD,UAAA;EAC3C,oBAAON,MAAA,CAAAe,OAAA,CAAAiD,aAAA,CAACZ,SAAS,EAAKgB,YAAY,EAAGD,QAAQ,CAAa;AAC5D,CAAC;AAVYP,IAAkD,CAAAJ,WAAA;AAY/DI,IAAI,CAACJ,WAAW,GAAG,MAAM"}
1
+ {"version":3,"file":"HTML.js","names":["_themeGet","require","_react","_interopRequireDefault","_styledComponents","_interopRequireWildcard","_Text","_excluded","_excluded2","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","keys","htmlMixin","exports","css","themeGet","Container","styled","Text","withConfig","displayName","componentId","defaultProps","variant","HTML","props","html","htmlRest","createElement","dangerouslySetInnerHTML","__html","children","childrenRest"],"sources":["../../../src/elements/HTML/HTML.tsx"],"sourcesContent":["import { themeGet } from \"@styled-system/theme-get\"\nimport React, { HTMLAttributes } from \"react\"\nimport styled, { css } from \"styled-components\"\nimport { Text, TextProps } from \"../Text\"\n\n/**\n * HTML\n */\nexport type HTMLProps = TextProps &\n HTMLAttributes<HTMLDivElement | HTMLHeadingElement | HTMLParagraphElement> &\n ({ html: string } | { children: React.ReactNode })\n\n/**\n * Sets reasonable defaults for tags that we might encounter in Markdown output.\n */\nexport const htmlMixin = css`\n h1,\n h2,\n h3,\n h4,\n h5,\n ul,\n ol,\n p,\n blockquote,\n pre,\n hr {\n margin: ${themeGet(\"space.1\")} 0;\n\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n hr {\n height: 1px;\n width: 100%;\n border: 0;\n background-color: ${themeGet(\"colors.mono10\")};\n }\n`\n\nconst Container = styled(Text)`\n ${htmlMixin}\n`\n\nContainer.defaultProps = {\n variant: \"sm\",\n}\n\n/**\n * Sets reasonable defaults for tags that we might encounter in Markdown output.\n * If `html` prop is passed; it's set as innerHTML, otherwise contents are wrapped\n * with default HTML styling.\n */\nexport const HTML: React.FC<React.PropsWithChildren<HTMLProps>> = (props) => {\n if (\"html\" in props) {\n const { html, ...htmlRest } = props\n return (\n <Container dangerouslySetInnerHTML={{ __html: html }} {...htmlRest} />\n )\n }\n\n const { children, ...childrenRest } = props\n return <Container {...childrenR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,MAAA,CAAAe,OAAA,CAAAiD,aAAA,CAACZ,SAAS,EAAKgB,YAAY,EAAGD,QAAQ,CAAa;AAC5D,CAAC;AAVYP,IAAkD,CAAAJ,WAAA;AAY/DI,IAAI,CAACJ,WAAW,GAAG,MAAM"}
@@ -55,10 +55,7 @@ export declare const AsString: {
55
55
  };
56
56
  };
57
57
  export declare const CharacterCapWithHtml: {
58
- args: {
59
- maxLines: number;
60
- content: string;
61
- };
58
+ render: () => React.JSX.Element;
62
59
  parameters: {
63
60
  docs: {
64
61
  description: {
@@ -65,9 +65,13 @@ var AsString = exports.AsString = {
65
65
  }
66
66
  };
67
67
  var CharacterCapWithHtml = exports.CharacterCapWithHtml = {
68
- args: {
69
- maxLines: 2,
70
- content: "<p>\n Donald Judd, widely regarded as one of the most significant American\n artists of <a href=\"#\">the post-war period</a>, is perhaps\n best-known for the large-scale outdoor installations and long,\n spacious interiors he designed in Marfa. Donald Judd, widely\n regarded as one of the most significant American artists of the\n post-war period, is perhaps best-known for the large-scale outdoor\n installations and long, spacious interiors he designed in Marfa.\n </p>\n <hr />\n <p>\n <strong>Lorem ipsum dolor</strong> sit amet consectetur adipisicing\n elit. Ducimus eligendi obcaecati voluptate\n <em>molestias vero nobis voluptatum</em>, tenetur dolorum assumenda.\n </p>\n <p>\n Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis\n eveniet aliquid laborum fugiat quibusdam id suscipit est temporibus\n labore sint aliquam, laudantium tempore. Tenetur adipisci cumque\n alias facilis animi. Illum.\n </p>"
68
+ render: function render() {
69
+ return /*#__PURE__*/_react.default.createElement(_HTML.HTML, {
70
+ variant: "sm"
71
+ }, /*#__PURE__*/_react.default.createElement(_ReadMore.ReadMore, {
72
+ maxLines: 2,
73
+ content: "<p>\n Donald Judd, widely regarded as one of the most significant American\n artists of <a href=\"#\">the post-war period</a>, is perhaps\n best-known for the large-scale outdoor installations and long,\n spacious interiors he designed in Marfa. Donald Judd, widely\n regarded as one of the most significant American artists of the\n post-war period, is perhaps best-known for the large-scale outdoor\n installations and long, spacious interiors he designed in Marfa.\n </p>\n <hr />\n <p>\n <strong>Lorem ipsum dolor</strong> sit amet consectetur adipisicing\n elit. Ducimus eligendi obcaecati voluptate\n <em>molestias vero nobis voluptatum</em>, tenetur dolorum assumenda.\n </p>\n <p>\n Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis\n eveniet aliquid laborum fugiat quibusdam id suscipit est temporibus\n labore sint aliquam, laudantium tempore. Tenetur adipisci cumque\n alias facilis animi. Illum.\n </p>"
74
+ }));
71
75
  },
72
76
  parameters: {
73
77
  docs: {
@@ -1 +1 @@
1
- {"version":3,"file":"ReadMore.story.js","names":["_react","_interopRequireDefault","require","_HTML","_ReadMore","_Box","_storybookBlocklist","obj","__esModule","default","_default","exports","component","ReadMore","title","tags","parameters","docs","description","controls","exclude","STORYBOOK_PROPS_BLOCKLIST","Default","args","maxLines","content","story","ShortContent","AsString","CharacterCapWithHtml","WithCustomizableTypography","render","createElement","HTML","WithCustomizableTypography2","variant","CharacterCapWithHtmlDisabled","disabled","WithBottomReadMore","Box","textAlign","width","inlineReadMoreLink"],"sources":["../../../src/elements/ReadMore/ReadMore.story.tsx"],"sourcesContent":["import React from \"react\"\nimport { HTML } from \"../HTML\"\nimport { ReadMore } from \"./ReadMore\"\nimport { Box } from \"../Box\"\nimport { STORYBOOK_PROPS_BLOCKLIST } from \"../../utils/storybookBlocklist\"\n\nexport default {\n component: ReadMore,\n title: \"Components/ReadMore\",\n tags: [\"autodocs\"],\n parameters: {\n docs: {\n description: {\n component:\n \"A component that truncates content and provides a 'read more' link to expand the full content.\",\n },\n },\n controls: {\n exclude: STORYBOOK_PROPS_BLOCKLIST,\n },\n },\n}\n\nexport const Default = {\n args: {\n maxLines: 2,\n content: `<div>\n Donald Judd, widely regarded as one of the most significant American\n artists of <a href=\"#\">the post-war period</a>, is perhaps best-known\n for the large-scale outdoor installations and long, spacious interiors\n he designed in Marfa. Donald Judd, widely regarded as one of the most\n significant American artists of the post-war period, is perhaps\n best-known for the large-scale outdoor installations and long,\n spacious interiors he designed in Marfa.\n </div>`,\n },\n parameters: {\n docs: {\n description: {\n story: \"Read more component with character limit truncation.\",\n },\n },\n },\n}\n\nexport const ShortContent = {\n args: {\n maxLines: 3,\n content: `<div>\n Donald Judd, widely regarded as one of the most significant American\n artists of <a href=\"#\">the post-war period</a>.\n </div>`,\n },\n parameters: {\n docs: {\n description: {\n story: \"Read more with content shorter than the character limit.\",\n },\n },\n },\n}\n\nexport const AsString = {\n args: {\n maxLines: 2,\n content:\n \"Donald Judd, widely regarded as one of the most significant American artists of the post-war period, is perhaps best-known for the large-scale outdoor installations and long, spacious interiors he designed in Marfa. Donald Judd, widely regarded as one of the most significant American artists of the post-war period, is perhaps best-known for the large-scale outdoor installations and long, spacious interiors he designed in Marfa.\",\n },\n parameters: {\n docs: {\n description: {\n story: \"Read more with plain string content instead of HTML.\",\n },\n },\n },\n}\n\nexport const CharacterCapWithHtml = {\n args: {\n maxLines: 2,\n content: `<p>\n Donald Judd, widely regarded as one of the most significant American\n artists of <a href=\"#\">the post-war period</a>, is perhaps\n best-known for the large-scale outdoor installations and long,\n spacious interiors he designed in Marfa. Donald Judd, widely\n regarded as one of the most significant American artists of the\n post-war period, is perhaps best-known for the large-scale outdoor\n installations and long, spacious interiors he designed in Marfa.\n </p>\n <hr />\n <p>\n <strong>Lorem ipsum dolor</strong> sit amet consectetur adipisicing\n elit. Ducimus eligendi obcaecati voluptate\n <em>molestias vero nobis voluptatum</em>, tenetur dolorum assumenda.\n </p>\n <p>\n Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis\n eveniet aliquid laborum fugiat quibusdam id suscipit est temporibus\n labore sint aliquam, laudantium tempore. Tenetur adipisci cumque\n alias facilis animi. Illum.\n </p>`,\n },\n parameters: {\n docs: {\n description: {\n story: \"Character cap with HTML content.\",\n },\n },\n },\n}\n\nexport const WithCustomizableTypography = {\n render: () => (\n <HTML>\n <ReadMore\n maxLines={3}\n content={`\n <p>\n Donald Judd, widely regarded as one of the most significant\n American artists of <a href=\"#\">the post-war period</a>, is\n perhaps best-known for the large-scale outdoor installations and\n long, spacious interiors he designed in Marfa. Donald Judd, widely\n regarded as one of the most significant American artists of the\n post-war period, is perhaps best-known for the large-scale outdoor\n installations and long, spacious interiors he designed in Marfa.\n </p>\n <hr />\n <p>\n <strong>Lorem ipsum dolor</strong> sit amet consectetur\n adipisicing elit. Ducimus eligendi obcaecati voluptate\n <em>molestias vero nobis voluptatum</em>, tenetur dolorum\n assumenda.\n </p>\n <p>\n Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis\n eveniet aliquid laborum fugiat quibusdam id suscipit est\n temporibus labore sint aliquam, laudantium tempore. Tenetur\n adipisci cumque alias facilis animi. Illum.\n </p>`}\n />\n </HTML>\n ),\n parameters: {\n docs: {\n description: {\n story: \"ReadMore with customizable typography using HTML wrapper.\",\n },\n },\n },\n}\n\nexport const WithCustomizableTypography2 = {\n render: () => (\n <HTML variant=\"lg\">\n <ReadMore\n maxLines={3}\n content={`<p>\n Donald Judd, widely regarded as one of the most significant\n American artists of <a href=\"#\">the post-war period</a>, is\n perhaps best-known for the large-scale outdoor installations and\n long, spacious interiors he designed in Marfa. Donald Judd, widely\n regarded as one of the most significant American artists of the\n post-war period, is perhaps best-known for the large-scale outdoor\n installations and long, spacious interiors he designed in Marfa.\n </p>\n <hr />\n <p>\n <strong>Lorem ipsum dolor</strong> sit amet consectetur\n adipisicing elit. Ducimus eligendi obcaecati voluptate\n <em>molestias vero nobis voluptatum</em>, tenetur dolorum\n assumenda.\n </p>\n <p>\n Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis\n eveniet aliquid laborum fugiat quibusdam id suscipit est\n temporibus labore sint aliquam, laudantium tempore. Tenetur\n adipisci cumque alias facilis animi. Illum.\n </p>`}\n />\n </HTML>\n ),\n parameters: {\n docs: {\n description: {\n story:\n \"ReadMore with customizable large typography using HTML wrapper.\",\n },\n },\n },\n}\n\nexport const CharacterCapWithHtmlDisabled = {\n args: {\n disabled: true,\n maxLines: 3,\n content: `<div>\n Donald Judd, widely regarded as one of the most significant American\n artists of <a href=\"#\">the post-war period</a>, is perhaps best-known\n for the large-scale outdoor installations and long, spacious interiors\n he designed in Marfa. Donald Judd, widely regarded as one of the most\n significant American artists of the post-war period, is perhaps\n best-known for the large-scale outdoor installations and long,\n spacious interiors he designed in Marfa.\n </div>`,\n },\n parameters: {\n docs: {\n description: {\n story: \"Character cap with HTML content when disabled.\",\n },\n },\n },\n}\n\nexport const WithBottomReadMore = {\n render: () => (\n <Box textAlign=\"center\" width={600}>\n <HTML variant=\"lg\">\n <ReadMore\n inlineReadMoreLink={false}\n maxLines={3}\n content={`<div>\n Donald Judd, widely regarded as one of the most significant American\n artists of <a href=\"#\">the post-war period</a>, is perhaps best-known\n for the large-scale outdoor installations and long, spacious interiors\n he designed in Marfa. Donald Judd, widely regarded as one of the most\n significant American artists of the post-war period, is perhaps\n best-known for the large-scale outdoor installations and long,\n spacious interiors he designed in Marfa.\n </div>`}\n />\n </HTML>\n </Box>\n ),\n parameters: {\n docs: {\n description: {\n story: \"ReadMore with bottom-placed 'Read More' link.\",\n },\n },\n },\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,IAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AAA0E,SAAAD,uBAAAM,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAE3D;EACbG,SAAS,EAAEC,kBAAQ;EACnBC,KAAK,EAAE,qBAAqB;EAC5BC,IAAI,EAAE,CAAC,UAAU,CAAC;EAClBC,UAAU,EAAE;IACVC,IAAI,EAAE;MACJC,W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,SAAA,CAAAS,QAAQ;MACP6B,kBAAkB,EAAE,KAAM;MAC1BlB,QAAQ,EAAE,CAAE;MACZC,OAAO;IAQD,EACN,CACG,CACH;EAAA,CACP;EACDT,UAAU,EAAE;IACVC,IAAI,EAAE;MACJC,WAAW,EAAE;QACXQ,KAAK,EAAE;MACT;IACF;EACF;AACF,CAAC"}
1
+ {"version":3,"file":"ReadMore.story.js","names":["_react","_interopRequireDefault","require","_HTML","_ReadMore","_Box","_storybookBlocklist","obj","__esModule","default","_default","exports","component","ReadMore","title","tags","parameters","docs","description","controls","exclude","STORYBOOK_PROPS_BLOCKLIST","Default","args","maxLines","content","story","ShortContent","AsString","CharacterCapWithHtml","render","createElement","HTML","variant","WithCustomizableTypography","WithCustomizableTypography2","CharacterCapWithHtmlDisabled","disabled","WithBottomReadMore","Box","textAlign","width","inlineReadMoreLink"],"sources":["../../../src/elements/ReadMore/ReadMore.story.tsx"],"sourcesContent":["import React from \"react\"\nimport { HTML } from \"../HTML\"\nimport { ReadMore } from \"./ReadMore\"\nimport { Box } from \"../Box\"\nimport { STORYBOOK_PROPS_BLOCKLIST } from \"../../utils/storybookBlocklist\"\n\nexport default {\n component: ReadMore,\n title: \"Components/ReadMore\",\n tags: [\"autodocs\"],\n parameters: {\n docs: {\n description: {\n component:\n \"A component that truncates content and provides a 'read more' link to expand the full content.\",\n },\n },\n controls: {\n exclude: STORYBOOK_PROPS_BLOCKLIST,\n },\n },\n}\n\nexport const Default = {\n args: {\n maxLines: 2,\n content: `<div>\n Donald Judd, widely regarded as one of the most significant American\n artists of <a href=\"#\">the post-war period</a>, is perhaps best-known\n for the large-scale outdoor installations and long, spacious interiors\n he designed in Marfa. Donald Judd, widely regarded as one of the most\n significant American artists of the post-war period, is perhaps\n best-known for the large-scale outdoor installations and long,\n spacious interiors he designed in Marfa.\n </div>`,\n },\n parameters: {\n docs: {\n description: {\n story: \"Read more component with character limit truncation.\",\n },\n },\n },\n}\n\nexport const ShortContent = {\n args: {\n maxLines: 3,\n content: `<div>\n Donald Judd, widely regarded as one of the most significant American\n artists of <a href=\"#\">the post-war period</a>.\n </div>`,\n },\n parameters: {\n docs: {\n description: {\n story: \"Read more with content shorter than the character limit.\",\n },\n },\n },\n}\n\nexport const AsString = {\n args: {\n maxLines: 2,\n content:\n \"Donald Judd, widely regarded as one of the most significant American artists of the post-war period, is perhaps best-known for the large-scale outdoor installations and long, spacious interiors he designed in Marfa. Donald Judd, widely regarded as one of the most significant American artists of the post-war period, is perhaps best-known for the large-scale outdoor installations and long, spacious interiors he designed in Marfa.\",\n },\n parameters: {\n docs: {\n description: {\n story: \"Read more with plain string content instead of HTML.\",\n },\n },\n },\n}\n\nexport const CharacterCapWithHtml = {\n render: () => (\n <HTML variant=\"sm\">\n <ReadMore\n maxLines={2}\n content={`<p>\n Donald Judd, widely regarded as one of the most significant American\n artists of <a href=\"#\">the post-war period</a>, is perhaps\n best-known for the large-scale outdoor installations and long,\n spacious interiors he designed in Marfa. Donald Judd, widely\n regarded as one of the most significant American artists of the\n post-war period, is perhaps best-known for the large-scale outdoor\n installations and long, spacious interiors he designed in Marfa.\n </p>\n <hr />\n <p>\n <strong>Lorem ipsum dolor</strong> sit amet consectetur adipisicing\n elit. Ducimus eligendi obcaecati voluptate\n <em>molestias vero nobis voluptatum</em>, tenetur dolorum assumenda.\n </p>\n <p>\n Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis\n eveniet aliquid laborum fugiat quibusdam id suscipit est temporibus\n labore sint aliquam, laudantium tempore. Tenetur adipisci cumque\n alias facilis animi. Illum.\n </p>`}\n />\n </HTML>\n ),\n parameters: {\n docs: {\n description: {\n story: \"Character cap with HTML content.\",\n },\n },\n },\n}\n\nexport const WithCustomizableTypography = {\n render: () => (\n <HTML>\n <ReadMore\n maxLines={3}\n content={`\n <p>\n Donald Judd, widely regarded as one of the most significant\n American artists of <a href=\"#\">the post-war period</a>, is\n perhaps best-known for the large-scale outdoor installations and\n long, spacious interiors he designed in Marfa. Donald Judd, widely\n regarded as one of the most significant American artists of the\n post-war period, is perhaps best-known for the large-scale outdoor\n installations and long, spacious interiors he designed in Marfa.\n </p>\n <hr />\n <p>\n <strong>Lorem ipsum dolor</strong> sit amet consectetur\n adipisicing elit. Ducimus eligendi obcaecati voluptate\n <em>molestias vero nobis voluptatum</em>, tenetur dolorum\n assumenda.\n </p>\n <p>\n Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis\n eveniet aliquid laborum fugiat quibusdam id suscipit est\n temporibus labore sint aliquam, laudantium tempore. Tenetur\n adipisci cumque alias facilis animi. Illum.\n </p>`}\n />\n </HTML>\n ),\n parameters: {\n docs: {\n description: {\n story: \"ReadMore with customizable typography using HTML wrapper.\",\n },\n },\n },\n}\n\nexport const WithCustomizableTypography2 = {\n render: () => (\n <HTML variant=\"lg\">\n <ReadMore\n maxLines={3}\n content={`<p>\n Donald Judd, widely regarded as one of the most significant\n American artists of <a href=\"#\">the post-war period</a>, is\n perhaps best-known for the large-scale outdoor installations and\n long, spacious interiors he designed in Marfa. Donald Judd, widely\n regarded as one of the most significant American artists of the\n post-war period, is perhaps best-known for the large-scale outdoor\n installations and long, spacious interiors he designed in Marfa.\n </p>\n <hr />\n <p>\n <strong>Lorem ipsum dolor</strong> sit amet consectetur\n adipisicing elit. Ducimus eligendi obcaecati voluptate\n <em>molestias vero nobis voluptatum</em>, tenetur dolorum\n assumenda.\n </p>\n <p>\n Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis\n eveniet aliquid laborum fugiat quibusdam id suscipit est\n temporibus labore sint aliquam, laudantium tempore. Tenetur\n adipisci cumque alias facilis animi. Illum.\n </p>`}\n />\n </HTML>\n ),\n parameters: {\n docs: {\n description: {\n story:\n \"ReadMore with customizable large typography using HTML wrapper.\",\n },\n },\n },\n}\n\nexport const CharacterCapWithHtmlDisabled = {\n args: {\n disabled: true,\n maxLines: 3,\n content: `<div>\n Donald Judd, widely regarded as one of the most significant American\n artists of <a href=\"#\">the post-war period</a>, is perhaps best-known\n for the large-scale outdoor installations and long, spacious interiors\n he designed in Marfa. Donald Judd, widely regarded as one of the most\n significant American artists of the post-war period, is perhaps\n best-known for the large-scale outdoor installations and long,\n spacious interiors he designed in Marfa.\n </div>`,\n },\n parameters: {\n docs: {\n description: {\n story: \"Character cap with HTML content when disabled.\",\n },\n },\n },\n}\n\nexport const WithBottomReadMore = {\n render: () => (\n <Box textAlign=\"center\" width={600}>\n <HTML variant=\"lg\">\n <ReadMore\n inlineReadMoreLink={false}\n maxLines={3}\n content={`<div>\n Donald Judd, widely regarded as one of the most significant American\n artists of <a href=\"#\">the post-war period</a>, is perhaps best-known\n for the large-scale outdoor installations and long, spacious interiors\n he designed in Marfa. Donald Judd, widely regarded as one of the most\n significant American artists of the post-war period, is perhaps\n best-known for the large-scale outdoor installations and long,\n spacious interiors he designed in Marfa.\n </div>`}\n />\n </HTML>\n </Box>\n ),\n parameters: {\n docs: {\n description: {\n story: \"ReadMore with bottom-placed 'Read More' link.\",\n },\n },\n },\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,IAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AAA0E,SAAAD,uBAAAM,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAE3D;EACbG,SAAS,EAAEC,kBAAQ;EACnBC,KAAK,EAAE,qBAAqB;EAC5BC,IAAI,EAAE,CAAC,UAAU,CAAC;EAClBC,UAAU,EAAE;IACVC,IAAI,EAAE;MACJC,WAAW,EAAE;QACXN,SAAS,EACP;MACJ;IACF,CAAC;IACDO,QAAQ,EAAE;MACRC,OAAO,EAAEC;IACX;EACF;AACF,CAAC;AAEM,IAAMC,OAAO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AAA6B,IAAI;MAACC,OAAO,EAAC;IAAI,gBAChBjC,MAAA,CAAAS,OAAA,CAAAsB,aAAA,CAAC3B,SAAA,CAAAS,QAAQ;MACP6B,kBAAkB,EAAE,KAAM;MAC1BlB,QAAQ,EAAE,CAAE;MACZC,OAAO;IAQD,EACN,CACG,CACH;EAAA,CACP;EACDT,UAAU,EAAE;IACVC,IAAI,EAAE;MACJC,WAAW,EAAE;QACXQ,KAAK,EAAE;MACT;IACF;EACF;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/palette",
3
- "version": "45.0.0-canary.1472.32632.0",
3
+ "version": "45.0.0-canary.1472.32642.0",
4
4
  "description": "Design system library for react components",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {
@@ -191,5 +191,5 @@
191
191
  "url": "http://localhost"
192
192
  }
193
193
  },
194
- "gitHead": "6fd6954f5cbcfaaf8633ad5a5281d916573070b5"
194
+ "gitHead": "5b12b5d2180d395ea24ffdfe102004161cfeb3b9"
195
195
  }