@salutejs/plasma-new-hope 0.197.1-canary.1569.11973386056.0 → 0.198.0-canary.1588.11975454374.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Editable/Editable.js +1 -1
- package/cjs/components/Editable/Editable.js.map +1 -1
- package/cjs/components/Typography/Body/Body.css +1 -1
- package/cjs/components/Typography/Old/Button/Button.css +1 -1
- package/cjs/components/Typography/Old/Paragraph/Paragraph.css +1 -1
- package/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
- package/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js.map +1 -1
- package/cjs/components/Typography/Old/Paragraph/{Paragraph.styles_179bahu.css → Paragraph.styles_f6q9s8.css} +1 -1
- package/cjs/components/Typography/Old/Subtitle/Subtitle.css +1 -1
- package/cjs/components/Typography/Old/Subtitle/Subtitle.js +7 -1
- package/cjs/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
- package/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
- package/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js.map +1 -1
- package/{es/components/Typography/Old/Subtitle/Subtitle.styles_1plleej.css → cjs/components/Typography/Old/Subtitle/Subtitle.styles_g6d0r2.css} +1 -1
- package/cjs/components/Typography/Old/TypographyOld.js +4 -2
- package/cjs/components/Typography/Old/TypographyOld.js.map +1 -1
- package/cjs/components/Typography/Old/TypographyOld.styles.js +1 -1
- package/cjs/components/Typography/Old/TypographyOld.styles.js.map +1 -1
- package/{es/components/Typography/Old/TypographyOld.styles_17w0rtq.css → cjs/components/Typography/Old/TypographyOld.styles_168abbx.css} +1 -1
- package/cjs/components/Typography/Old/Underline/Underline.css +1 -1
- package/cjs/components/Typography/Old/Underline/Underline.styles.js +1 -1
- package/cjs/components/Typography/Old/Underline/Underline.styles.js.map +1 -1
- package/{es/components/Typography/Old/Underline/Underline.styles_vsz834.css → cjs/components/Typography/Old/Underline/Underline.styles_1x2vb5e.css} +1 -1
- package/cjs/components/Typography/Typography.js +4 -2
- package/cjs/components/Typography/Typography.js.map +1 -1
- package/cjs/components/Typography/Typography.styles.js +1 -1
- package/cjs/components/Typography/Typography.styles.js.map +1 -1
- package/cjs/components/Typography/{Typography.styles_6mr47g.css → Typography.styles_fa07dt.css} +1 -1
- package/cjs/components/Typography/tokens.js +1 -0
- package/cjs/components/Typography/tokens.js.map +1 -1
- package/cjs/index.css +5 -5
- package/emotion/cjs/components/Editable/Editable.js +1 -1
- package/emotion/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
- package/emotion/cjs/components/Typography/Old/Subtitle/Subtitle.js +7 -1
- package/emotion/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
- package/emotion/cjs/components/Typography/Old/TypographyOld.js +4 -2
- package/emotion/cjs/components/Typography/Old/TypographyOld.styles.js +1 -1
- package/emotion/cjs/components/Typography/Old/Underline/Underline.styles.js +1 -1
- package/emotion/cjs/components/Typography/Typography.js +4 -2
- package/emotion/cjs/components/Typography/Typography.styles.js +1 -1
- package/emotion/cjs/components/Typography/Typography.template-doc.mdx +4 -0
- package/emotion/cjs/components/Typography/tokens.js +1 -0
- package/emotion/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Editable/Editable.js +4 -4
- package/emotion/cjs/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Editable/Editable.js +4 -4
- package/emotion/cjs/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
- package/emotion/cjs/examples/typography/components/Body/Body.config.js +22 -0
- package/emotion/cjs/examples/{typograpy → typography}/components/Body/Body.stories.tsx +9 -1
- package/emotion/cjs/examples/typography/components/Dspl/Dspl.config.js +20 -0
- package/emotion/{es/examples/typograpy → cjs/examples/typography}/components/Dspl/Dspl.stories.tsx +9 -1
- package/emotion/cjs/examples/typography/components/Heading/Heading.config.js +22 -0
- package/{styled-components/cjs/examples/typograpy → emotion/cjs/examples/typography}/components/Heading/Heading.stories.tsx +9 -1
- package/emotion/cjs/examples/typography/components/Old/Body/Body.config.js +20 -0
- package/{styled-components/cjs/examples/typograpy → emotion/cjs/examples/typography}/components/Old/Body/Body.stories.tsx +9 -1
- package/emotion/cjs/examples/typography/components/Old/Button/Button.config.js +19 -0
- package/emotion/cjs/examples/{typograpy → typography}/components/Old/Button/Button.stories.tsx +9 -1
- package/emotion/cjs/examples/typography/components/Old/Caption/Caption.config.js +18 -0
- package/emotion/{es/examples/typograpy → cjs/examples/typography}/components/Old/Caption/Caption.stories.tsx +9 -1
- package/emotion/cjs/examples/typography/components/Old/Display/Display.config.js +20 -0
- package/emotion/{es/examples/typograpy → cjs/examples/typography}/components/Old/Display/Display.stories.tsx +9 -1
- package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +19 -0
- package/emotion/cjs/examples/{typograpy → typography}/components/Old/Footnote/Footnote.stories.tsx +9 -1
- package/emotion/cjs/examples/typography/components/Old/Headline/Headline.config.js +21 -0
- package/{styled-components/cjs/examples/typograpy → emotion/cjs/examples/typography}/components/Old/Headline/Headline.stories.tsx +9 -1
- package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +19 -0
- package/emotion/cjs/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.stories.tsx +9 -1
- package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +18 -0
- package/emotion/{es/examples/typograpy → cjs/examples/typography}/components/Old/Subtitle/Subtitle.stories.tsx +11 -1
- package/emotion/cjs/examples/typography/components/Old/Underline/Underline.config.js +18 -0
- package/{styled-components/cjs/examples/typograpy → emotion/cjs/examples/typography}/components/Old/Underline/Underline.stories.tsx +9 -1
- package/emotion/cjs/examples/typography/components/Text/Text.config.js +21 -0
- package/emotion/{es/examples/typograpy → cjs/examples/typography}/components/Text/Text.stories.tsx +9 -1
- package/emotion/es/components/Editable/Editable.js +1 -1
- package/emotion/es/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
- package/emotion/es/components/Typography/Old/Subtitle/Subtitle.js +7 -1
- package/emotion/es/components/Typography/Old/Subtitle/Subtitle.styles.js +2 -2
- package/emotion/es/components/Typography/Old/TypographyOld.js +4 -2
- package/emotion/es/components/Typography/Old/TypographyOld.styles.js +1 -1
- package/emotion/es/components/Typography/Old/Underline/Underline.styles.js +1 -1
- package/emotion/es/components/Typography/Typography.js +4 -2
- package/emotion/es/components/Typography/Typography.styles.js +1 -1
- package/emotion/es/components/Typography/Typography.template-doc.mdx +4 -0
- package/emotion/es/components/Typography/tokens.js +1 -0
- package/emotion/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Editable/Editable.js +4 -4
- package/emotion/es/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Editable/Editable.js +4 -4
- package/emotion/es/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
- package/emotion/es/examples/typography/components/Body/Body.config.js +16 -0
- package/emotion/es/examples/{typograpy → typography}/components/Body/Body.stories.tsx +9 -1
- package/emotion/es/examples/typography/components/Dspl/Dspl.config.js +14 -0
- package/emotion/{cjs/examples/typograpy → es/examples/typography}/components/Dspl/Dspl.stories.tsx +9 -1
- package/emotion/es/examples/typography/components/Heading/Heading.config.js +16 -0
- package/{styled-components/es/examples/typograpy → emotion/es/examples/typography}/components/Heading/Heading.stories.tsx +9 -1
- package/emotion/es/examples/typography/components/Old/Body/Body.config.js +14 -0
- package/emotion/es/examples/{typograpy → typography}/components/Old/Body/Body.stories.tsx +9 -1
- package/emotion/es/examples/typography/components/Old/Button/Button.config.js +13 -0
- package/emotion/es/examples/{typograpy → typography}/components/Old/Button/Button.stories.tsx +9 -1
- package/emotion/es/examples/typography/components/Old/Caption/Caption.config.js +12 -0
- package/emotion/{cjs/examples/typograpy → es/examples/typography}/components/Old/Caption/Caption.stories.tsx +9 -1
- package/emotion/es/examples/typography/components/Old/Display/Display.config.js +14 -0
- package/{styled-components/cjs/examples/typograpy → emotion/es/examples/typography}/components/Old/Display/Display.stories.tsx +9 -1
- package/emotion/es/examples/typography/components/Old/Footnote/Footnote.config.js +13 -0
- package/{styled-components/cjs/examples/typograpy → emotion/es/examples/typography}/components/Old/Footnote/Footnote.stories.tsx +9 -1
- package/emotion/es/examples/typography/components/Old/Headline/Headline.config.js +15 -0
- package/emotion/{cjs/examples/typograpy → es/examples/typography}/components/Old/Headline/Headline.stories.tsx +9 -1
- package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +13 -0
- package/{styled-components/cjs/examples/typograpy → emotion/es/examples/typography}/components/Old/Paragraph/Paragraph.stories.tsx +9 -1
- package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +12 -0
- package/{styled-components/cjs/examples/typograpy → emotion/es/examples/typography}/components/Old/Subtitle/Subtitle.stories.tsx +11 -1
- package/emotion/es/examples/typography/components/Old/Underline/Underline.config.js +12 -0
- package/emotion/{cjs/examples/typograpy → es/examples/typography}/components/Old/Underline/Underline.stories.tsx +9 -1
- package/emotion/es/examples/typography/components/Text/Text.config.js +15 -0
- package/{styled-components/cjs/examples/typograpy → emotion/es/examples/typography}/components/Text/Text.stories.tsx +9 -1
- package/es/components/Editable/Editable.js +1 -1
- package/es/components/Editable/Editable.js.map +1 -1
- package/es/components/Typography/Body/Body.css +1 -1
- package/es/components/Typography/Old/Button/Button.css +1 -1
- package/es/components/Typography/Old/Paragraph/Paragraph.css +1 -1
- package/es/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
- package/es/components/Typography/Old/Paragraph/Paragraph.styles.js.map +1 -1
- package/es/components/Typography/Old/Paragraph/{Paragraph.styles_179bahu.css → Paragraph.styles_f6q9s8.css} +1 -1
- package/es/components/Typography/Old/Subtitle/Subtitle.css +1 -1
- package/es/components/Typography/Old/Subtitle/Subtitle.js +7 -1
- package/es/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
- package/es/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
- package/es/components/Typography/Old/Subtitle/Subtitle.styles.js.map +1 -1
- package/{cjs/components/Typography/Old/Subtitle/Subtitle.styles_1plleej.css → es/components/Typography/Old/Subtitle/Subtitle.styles_g6d0r2.css} +1 -1
- package/es/components/Typography/Old/TypographyOld.js +4 -2
- package/es/components/Typography/Old/TypographyOld.js.map +1 -1
- package/es/components/Typography/Old/TypographyOld.styles.js +1 -1
- package/es/components/Typography/Old/TypographyOld.styles.js.map +1 -1
- package/{cjs/components/Typography/Old/TypographyOld.styles_17w0rtq.css → es/components/Typography/Old/TypographyOld.styles_168abbx.css} +1 -1
- package/es/components/Typography/Old/Underline/Underline.css +1 -1
- package/es/components/Typography/Old/Underline/Underline.styles.js +1 -1
- package/es/components/Typography/Old/Underline/Underline.styles.js.map +1 -1
- package/{cjs/components/Typography/Old/Underline/Underline.styles_vsz834.css → es/components/Typography/Old/Underline/Underline.styles_1x2vb5e.css} +1 -1
- package/es/components/Typography/Typography.js +4 -2
- package/es/components/Typography/Typography.js.map +1 -1
- package/es/components/Typography/Typography.styles.js +1 -1
- package/es/components/Typography/Typography.styles.js.map +1 -1
- package/es/components/Typography/{Typography.styles_6mr47g.css → Typography.styles_fa07dt.css} +1 -1
- package/es/components/Typography/tokens.js +1 -0
- package/es/components/Typography/tokens.js.map +1 -1
- package/es/index.css +5 -5
- package/package.json +2 -2
- package/styled-components/cjs/components/Editable/Editable.js +1 -1
- package/styled-components/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
- package/styled-components/cjs/components/Typography/Old/Subtitle/Subtitle.js +7 -1
- package/styled-components/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
- package/styled-components/cjs/components/Typography/Old/TypographyOld.js +4 -2
- package/styled-components/cjs/components/Typography/Old/TypographyOld.styles.js +1 -1
- package/styled-components/cjs/components/Typography/Old/Underline/Underline.styles.js +1 -1
- package/styled-components/cjs/components/Typography/Typography.js +4 -2
- package/styled-components/cjs/components/Typography/Typography.styles.js +1 -1
- package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +4 -0
- package/styled-components/cjs/components/Typography/tokens.js +1 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Editable/Editable.js +4 -4
- package/styled-components/cjs/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Editable/Editable.js +4 -4
- package/styled-components/cjs/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
- package/styled-components/cjs/examples/{typograpy → typography}/components/Body/Body.stories.tsx +9 -1
- package/styled-components/cjs/examples/{typograpy → typography}/components/Dspl/Dspl.stories.tsx +9 -1
- package/{emotion/cjs/examples/typograpy → styled-components/cjs/examples/typography}/components/Heading/Heading.stories.tsx +9 -1
- package/styled-components/{es/examples/typograpy → cjs/examples/typography}/components/Old/Body/Body.stories.tsx +9 -1
- package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Button/Button.stories.tsx +9 -1
- package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Caption/Caption.stories.tsx +9 -1
- package/{emotion/cjs/examples/typograpy → styled-components/cjs/examples/typography}/components/Old/Display/Display.stories.tsx +9 -1
- package/{emotion/es/examples/typograpy → styled-components/cjs/examples/typography}/components/Old/Footnote/Footnote.stories.tsx +9 -1
- package/styled-components/{es/examples/typograpy → cjs/examples/typography}/components/Old/Headline/Headline.stories.tsx +9 -1
- package/{emotion/es/examples/typograpy → styled-components/cjs/examples/typography}/components/Old/Paragraph/Paragraph.stories.tsx +9 -1
- package/{emotion/cjs/examples/typograpy → styled-components/cjs/examples/typography}/components/Old/Subtitle/Subtitle.stories.tsx +11 -1
- package/styled-components/{es/examples/typograpy → cjs/examples/typography}/components/Old/Underline/Underline.stories.tsx +9 -1
- package/styled-components/{es/examples/typograpy → cjs/examples/typography}/components/Text/Text.stories.tsx +9 -1
- package/styled-components/es/components/Editable/Editable.js +1 -1
- package/styled-components/es/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
- package/styled-components/es/components/Typography/Old/Subtitle/Subtitle.js +7 -1
- package/styled-components/es/components/Typography/Old/Subtitle/Subtitle.styles.js +2 -2
- package/styled-components/es/components/Typography/Old/TypographyOld.js +4 -2
- package/styled-components/es/components/Typography/Old/TypographyOld.styles.js +1 -1
- package/styled-components/es/components/Typography/Old/Underline/Underline.styles.js +1 -1
- package/styled-components/es/components/Typography/Typography.js +4 -2
- package/styled-components/es/components/Typography/Typography.styles.js +1 -1
- package/styled-components/es/components/Typography/Typography.template-doc.mdx +4 -0
- package/styled-components/es/components/Typography/tokens.js +1 -0
- package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Editable/Editable.js +4 -4
- package/styled-components/es/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Editable/Editable.js +4 -4
- package/styled-components/es/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
- package/styled-components/es/examples/{typograpy → typography}/components/Body/Body.stories.tsx +9 -1
- package/styled-components/es/examples/{typograpy → typography}/components/Dspl/Dspl.stories.tsx +9 -1
- package/{emotion/es/examples/typograpy → styled-components/es/examples/typography}/components/Heading/Heading.stories.tsx +9 -1
- package/{emotion/cjs/examples/typograpy → styled-components/es/examples/typography}/components/Old/Body/Body.stories.tsx +9 -1
- package/styled-components/es/examples/{typograpy → typography}/components/Old/Button/Button.stories.tsx +9 -1
- package/styled-components/es/examples/{typograpy → typography}/components/Old/Caption/Caption.stories.tsx +9 -1
- package/styled-components/es/examples/{typograpy → typography}/components/Old/Display/Display.stories.tsx +9 -1
- package/styled-components/es/examples/{typograpy → typography}/components/Old/Footnote/Footnote.stories.tsx +9 -1
- package/{emotion/es/examples/typograpy → styled-components/es/examples/typography}/components/Old/Headline/Headline.stories.tsx +9 -1
- package/styled-components/es/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.stories.tsx +9 -1
- package/styled-components/es/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.stories.tsx +11 -1
- package/{emotion/es/examples/typograpy → styled-components/es/examples/typography}/components/Old/Underline/Underline.stories.tsx +9 -1
- package/{emotion/cjs/examples/typograpy → styled-components/es/examples/typography}/components/Text/Text.stories.tsx +9 -1
- package/types/components/Editable/Editable.d.ts +1 -1
- package/types/components/Editable/Editable.d.ts.map +1 -1
- package/types/components/Typography/Body/Body.d.ts +2 -0
- package/types/components/Typography/Body/Body.d.ts.map +1 -1
- package/types/components/Typography/Dspl/Dspl.d.ts +2 -0
- package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
- package/types/components/Typography/Heading/Heading.d.ts +2 -0
- package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
- package/types/components/Typography/Old/Paragraph/Paragraph.styles.d.ts.map +1 -1
- package/types/components/Typography/Old/Subtitle/Subtitle.d.ts.map +1 -1
- package/types/components/Typography/Old/Subtitle/Subtitle.styles.d.ts.map +1 -1
- package/types/components/Typography/Old/TypographyOld.d.ts.map +1 -1
- package/types/components/Typography/Old/TypographyOld.styles.d.ts.map +1 -1
- package/types/components/Typography/Old/Underline/Underline.styles.d.ts.map +1 -1
- package/types/components/Typography/Text/Text.d.ts +2 -0
- package/types/components/Typography/Text/Text.d.ts.map +1 -1
- package/types/components/Typography/Typography.d.ts +1 -0
- package/types/components/Typography/Typography.d.ts.map +1 -1
- package/types/components/Typography/Typography.styles.d.ts.map +1 -1
- package/types/components/Typography/Typography.types.d.ts +1 -0
- package/types/components/Typography/Typography.types.d.ts.map +1 -1
- package/types/components/Typography/tokens.d.ts +1 -0
- package/types/components/Typography/tokens.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Editable/Editable.d.ts +4 -0
- package/types/examples/plasma_b2c/components/Editable/Editable.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Editable/Editable.d.ts +4 -0
- package/types/examples/plasma_web/components/Editable/Editable.d.ts.map +1 -1
- package/types/examples/typography/components/Body/Body.config.d.ts.map +1 -0
- package/types/examples/{typograpy → typography}/components/Body/Body.d.ts +1 -0
- package/types/examples/typography/components/Body/Body.d.ts.map +1 -0
- package/types/examples/typography/components/Dspl/Dspl.config.d.ts.map +1 -0
- package/types/examples/{typograpy → typography}/components/Dspl/Dspl.d.ts +1 -0
- package/types/examples/typography/components/Dspl/Dspl.d.ts.map +1 -0
- package/types/examples/typography/components/Heading/Heading.config.d.ts.map +1 -0
- package/types/examples/{typograpy → typography}/components/Heading/Heading.d.ts +1 -0
- package/types/examples/typography/components/Heading/Heading.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Body/Body.config.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Body/Body.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Button/Button.config.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Button/Button.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Caption/Caption.config.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Caption/Caption.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Display/Display.config.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Display/Display.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Footnote/Footnote.config.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Footnote/Footnote.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Headline/Headline.config.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Headline/Headline.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Paragraph/Paragraph.config.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Paragraph/Paragraph.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Subtitle/Subtitle.config.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Subtitle/Subtitle.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Underline/Underline.config.d.ts.map +1 -0
- package/types/examples/typography/components/Old/Underline/Underline.d.ts.map +1 -0
- package/types/examples/typography/components/Text/Text.config.d.ts.map +1 -0
- package/types/examples/{typograpy → typography}/components/Text/Text.d.ts +1 -0
- package/types/examples/typography/components/Text/Text.d.ts.map +1 -0
- package/emotion/cjs/examples/typograpy/components/Body/Body.config.js +0 -22
- package/emotion/cjs/examples/typograpy/components/Dspl/Dspl.config.js +0 -20
- package/emotion/cjs/examples/typograpy/components/Heading/Heading.config.js +0 -22
- package/emotion/cjs/examples/typograpy/components/Old/Body/Body.config.js +0 -20
- package/emotion/cjs/examples/typograpy/components/Old/Button/Button.config.js +0 -19
- package/emotion/cjs/examples/typograpy/components/Old/Caption/Caption.config.js +0 -18
- package/emotion/cjs/examples/typograpy/components/Old/Display/Display.config.js +0 -20
- package/emotion/cjs/examples/typograpy/components/Old/Footnote/Footnote.config.js +0 -19
- package/emotion/cjs/examples/typograpy/components/Old/Headline/Headline.config.js +0 -21
- package/emotion/cjs/examples/typograpy/components/Old/Paragraph/Paragraph.config.js +0 -19
- package/emotion/cjs/examples/typograpy/components/Old/Subtitle/Subtitle.config.js +0 -18
- package/emotion/cjs/examples/typograpy/components/Old/Underline/Underline.config.js +0 -18
- package/emotion/cjs/examples/typograpy/components/Text/Text.config.js +0 -21
- package/emotion/es/examples/typograpy/components/Body/Body.config.js +0 -16
- package/emotion/es/examples/typograpy/components/Dspl/Dspl.config.js +0 -14
- package/emotion/es/examples/typograpy/components/Heading/Heading.config.js +0 -16
- package/emotion/es/examples/typograpy/components/Old/Body/Body.config.js +0 -14
- package/emotion/es/examples/typograpy/components/Old/Button/Button.config.js +0 -13
- package/emotion/es/examples/typograpy/components/Old/Caption/Caption.config.js +0 -12
- package/emotion/es/examples/typograpy/components/Old/Display/Display.config.js +0 -14
- package/emotion/es/examples/typograpy/components/Old/Footnote/Footnote.config.js +0 -13
- package/emotion/es/examples/typograpy/components/Old/Headline/Headline.config.js +0 -15
- package/emotion/es/examples/typograpy/components/Old/Paragraph/Paragraph.config.js +0 -13
- package/emotion/es/examples/typograpy/components/Old/Subtitle/Subtitle.config.js +0 -12
- package/emotion/es/examples/typograpy/components/Old/Underline/Underline.config.js +0 -12
- package/emotion/es/examples/typograpy/components/Text/Text.config.js +0 -15
- package/types/examples/typograpy/components/Body/Body.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Body/Body.d.ts.map +0 -1
- package/types/examples/typograpy/components/Dspl/Dspl.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Dspl/Dspl.d.ts.map +0 -1
- package/types/examples/typograpy/components/Heading/Heading.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Heading/Heading.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Body/Body.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Body/Body.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Button/Button.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Button/Button.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Caption/Caption.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Caption/Caption.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Display/Display.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Display/Display.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Footnote/Footnote.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Footnote/Footnote.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Headline/Headline.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Headline/Headline.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Paragraph/Paragraph.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Paragraph/Paragraph.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Subtitle/Subtitle.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Subtitle/Subtitle.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Underline/Underline.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Old/Underline/Underline.d.ts.map +0 -1
- package/types/examples/typograpy/components/Text/Text.config.d.ts.map +0 -1
- package/types/examples/typograpy/components/Text/Text.d.ts.map +0 -1
- /package/emotion/cjs/examples/{typograpy → typography}/components/Body/Body.js +0 -0
- /package/emotion/cjs/examples/{typograpy → typography}/components/Dspl/Dspl.js +0 -0
- /package/emotion/cjs/examples/{typograpy → typography}/components/Heading/Heading.js +0 -0
- /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Body/Body.js +0 -0
- /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Button/Button.js +0 -0
- /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Caption/Caption.js +0 -0
- /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Display/Display.js +0 -0
- /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Footnote/Footnote.js +0 -0
- /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Headline/Headline.js +0 -0
- /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.js +0 -0
- /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.js +0 -0
- /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Underline/Underline.js +0 -0
- /package/emotion/cjs/examples/{typograpy → typography}/components/Text/Text.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Body/Body.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Dspl/Dspl.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Heading/Heading.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Old/Body/Body.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Old/Button/Button.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Old/Caption/Caption.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Old/Display/Display.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Old/Footnote/Footnote.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Old/Headline/Headline.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Old/Underline/Underline.js +0 -0
- /package/emotion/es/examples/{typograpy → typography}/components/Text/Text.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Body/Body.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Body/Body.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Dspl/Dspl.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Dspl/Dspl.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Heading/Heading.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Heading/Heading.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Body/Body.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Body/Body.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Button/Button.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Button/Button.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Caption/Caption.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Caption/Caption.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Display/Display.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Display/Display.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Footnote/Footnote.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Footnote/Footnote.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Headline/Headline.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Headline/Headline.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Underline/Underline.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Underline/Underline.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Text/Text.config.js +0 -0
- /package/styled-components/cjs/examples/{typograpy → typography}/components/Text/Text.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Body/Body.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Body/Body.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Dspl/Dspl.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Dspl/Dspl.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Heading/Heading.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Heading/Heading.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Body/Body.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Body/Body.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Button/Button.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Button/Button.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Caption/Caption.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Caption/Caption.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Display/Display.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Display/Display.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Footnote/Footnote.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Footnote/Footnote.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Headline/Headline.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Headline/Headline.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Underline/Underline.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Old/Underline/Underline.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Text/Text.config.js +0 -0
- /package/styled-components/es/examples/{typograpy → typography}/components/Text/Text.js +0 -0
- /package/types/examples/{typograpy → typography}/components/Body/Body.config.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Dspl/Dspl.config.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Heading/Heading.config.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Body/Body.config.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Body/Body.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Button/Button.config.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Button/Button.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Caption/Caption.config.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Caption/Caption.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Display/Display.config.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Display/Display.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Footnote/Footnote.config.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Footnote/Footnote.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Headline/Headline.config.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Headline/Headline.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.config.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.config.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Underline/Underline.config.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Old/Underline/Underline.d.ts +0 -0
- /package/types/examples/{typograpy → typography}/components/Text/Text.config.d.ts +0 -0
@@ -12,8 +12,16 @@ const meta: Meta<typeof OldBody> = {
|
|
12
12
|
title: 'typography/Old/Body',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: OldBody,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(oldBodyConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
},
|
19
27
|
};
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof Button> = {
|
|
12
12
|
title: 'typography/Old/Button',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Button,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(buttonTypographyConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
},
|
19
27
|
};
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof Caption> = {
|
|
12
12
|
title: 'typography/Old/Caption',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Caption,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(captionConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
},
|
19
27
|
};
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof Display> = {
|
|
12
12
|
title: 'typography/Old/Display',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Display,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(displayConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
},
|
19
27
|
};
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof Footnote> = {
|
|
12
12
|
title: 'typography/Old/Footnote',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Footnote,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(footnoteConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
},
|
19
27
|
};
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof Headline> = {
|
|
12
12
|
title: 'typography/Old/Headline',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Headline,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(headlineConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
},
|
19
27
|
};
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof Paragraph> = {
|
|
12
12
|
title: 'typography/Old/Paragraph',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Paragraph,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(paragraphConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
resetMargin: false,
|
19
27
|
m: 2,
|
@@ -12,7 +12,17 @@ const meta: Meta<typeof Subtitle> = {
|
|
12
12
|
title: 'typography/Old/Subtitle',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Subtitle,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(subtitleConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
23
|
+
args: {
|
24
|
+
noWrap: false,
|
25
|
+
},
|
16
26
|
};
|
17
27
|
|
18
28
|
export default meta;
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof Underline> = {
|
|
12
12
|
title: 'typography/Old/Underline',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Underline,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(underlineConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
},
|
19
27
|
};
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof Text> = {
|
|
12
12
|
title: 'typography/Text',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Text,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(textConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
bold: false,
|
19
27
|
},
|
@@ -15,7 +15,7 @@ import { classes } from './Editable.tokens';
|
|
15
15
|
import { base, EditButton, StyledInput, StyledPlacehpolder } from './Editable.styles';
|
16
16
|
import { base as viewCSS } from './variations/_view/base';
|
17
17
|
import { base as sizeCSS } from './variations/_size/base';
|
18
|
-
export var editableRoot = function editableRoot(
|
18
|
+
export var editableRoot = function editableRoot(typographyVariants) {
|
19
19
|
return function (Root) {
|
20
20
|
return /*#__PURE__*/forwardRef(function (_ref, outerRef) {
|
21
21
|
var _prevValueRef$current;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { css } from 'styled-components';
|
2
2
|
import { classes, tokens } from '../../tokens';
|
3
3
|
import { applyHyphens, applyHyphensNormal } from '../../../../mixins';
|
4
|
-
export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");margin:0;", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight,
|
4
|
+
export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");margin:0;&.", "{white-space:nowrap;}", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, classes.typoWithNoWrap, applyHyphensNormal, classes.typoWithBreakWord, applyHyphens);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
-
var _excluded = ["size", "children", "color", "style"];
|
2
|
+
var _excluded = ["size", "children", "color", "noWrap", "className", "style"];
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -11,17 +11,23 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
11
11
|
import React, { forwardRef } from 'react';
|
12
12
|
import { applySpacing } from '../../../../mixins/applySpacing';
|
13
13
|
import { base as sizeCSS } from '../../variations/_size/base';
|
14
|
+
import { classes } from '../../tokens';
|
15
|
+
import { cx } from '../../../../utils';
|
14
16
|
import { base } from './Subtitle.styles';
|
15
17
|
export var subtitleRoot = function subtitleRoot(Root) {
|
16
18
|
return /*#__PURE__*/forwardRef(function (props, ref) {
|
17
19
|
var size = props.size,
|
18
20
|
children = props.children,
|
19
21
|
color = props.color,
|
22
|
+
noWrap = props.noWrap,
|
23
|
+
className = props.className,
|
20
24
|
style = props.style,
|
21
25
|
rest = _objectWithoutProperties(props, _excluded);
|
26
|
+
var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
|
22
27
|
return /*#__PURE__*/React.createElement(Root, _extends({
|
23
28
|
size: size,
|
24
29
|
ref: ref,
|
30
|
+
className: cx(withNoWrap, className),
|
25
31
|
style: _objectSpread(_objectSpread({
|
26
32
|
color: color
|
27
33
|
}, style), applySpacing(rest))
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { css } from 'styled-components';
|
2
|
-
import { tokens } from '../../tokens';
|
2
|
+
import { classes, tokens } from '../../tokens';
|
3
3
|
import { applyHyphens } from '../../../../mixins';
|
4
|
-
export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");", ";"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight,
|
4
|
+
export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{white-space:nowrap;}", ";"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, classes.typoWithNoWrap, applyHyphens);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
-
var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
|
2
|
+
var _excluded = ["size", "children", "breakWord", "noWrap", "color", "className", "style"];
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -17,15 +17,17 @@ export var typographyOldRoot = function typographyOldRoot(Root) {
|
|
17
17
|
var size = props.size,
|
18
18
|
children = props.children,
|
19
19
|
breakWord = props.breakWord,
|
20
|
+
noWrap = props.noWrap,
|
20
21
|
color = props.color,
|
21
22
|
className = props.className,
|
22
23
|
style = props.style,
|
23
24
|
rest = _objectWithoutProperties(props, _excluded);
|
25
|
+
var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
|
24
26
|
var withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;
|
25
27
|
return /*#__PURE__*/React.createElement(Root, _extends({
|
26
28
|
size: size,
|
27
29
|
ref: ref,
|
28
|
-
className: cx(withBreakWord, className),
|
30
|
+
className: cx(withNoWrap, withBreakWord, className),
|
29
31
|
style: _objectSpread(_objectSpread({
|
30
32
|
color: color
|
31
33
|
}, style), applySpacing(rest))
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { css } from 'styled-components';
|
2
2
|
import { classes, tokens } from '../tokens';
|
3
3
|
import { applyHyphens, applyHyphensNormal } from '../../../mixins';
|
4
|
-
export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight,
|
4
|
+
export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{white-space:nowrap;}", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, classes.typoWithNoWrap, applyHyphensNormal, classes.typoWithBreakWord, applyHyphens);
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { css } from 'styled-components';
|
2
2
|
import { classes, tokens } from '../../tokens';
|
3
3
|
import { applyHyphens, applyHyphensNormal } from '../../../../mixins';
|
4
|
-
export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");text-transform:uppercase;", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight,
|
4
|
+
export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");text-transform:uppercase;&.", "{white-space:nowrap;}", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, classes.typoWithNoWrap, applyHyphensNormal, classes.typoWithBreakWord, applyHyphens);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
-
var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
|
2
|
+
var _excluded = ["size", "children", "breakWord", "noWrap", "bold", "color", "className", "style"];
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -18,18 +18,20 @@ export var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
|
18
18
|
var size = props.size,
|
19
19
|
children = props.children,
|
20
20
|
breakWord = props.breakWord,
|
21
|
+
noWrap = props.noWrap,
|
21
22
|
_props$bold = props.bold,
|
22
23
|
bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
|
23
24
|
color = props.color,
|
24
25
|
className = props.className,
|
25
26
|
style = props.style,
|
26
27
|
rest = _objectWithoutProperties(props, _excluded);
|
28
|
+
var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
|
27
29
|
var withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;
|
28
30
|
var typographyBold = bold ? classes.typoBold : undefined;
|
29
31
|
return /*#__PURE__*/React.createElement(Root, _extends({
|
30
32
|
size: size,
|
31
33
|
ref: ref,
|
32
|
-
className: cx(withBreakWord, typographyBold, className),
|
34
|
+
className: cx(withNoWrap, withBreakWord, typographyBold, className),
|
33
35
|
style: _objectSpread(_objectSpread({
|
34
36
|
color: color
|
35
37
|
}, style), applySpacing(rest)),
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { css } from 'styled-components';
|
2
2
|
import { applyHyphens, applyHyphensNormal } from '../../mixins';
|
3
3
|
import { classes, tokens } from './tokens';
|
4
|
-
export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{font-weight:var(", ");}", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight,
|
4
|
+
export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{font-weight:var(", ");}&.", "{white-space:nowrap;}", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, classes.typoBold, tokens.typoFontWeightBold, classes.typoWithNoWrap, applyHyphensNormal, classes.typoWithBreakWord, applyHyphens);
|
@@ -19,6 +19,10 @@ title: Typography
|
|
19
19
|
По умолчанию в типографике слова переносятся по слогам.
|
20
20
|
Чтобы отключить данный функционал, необходимо установить свойство `breakWord` в значении `false`.
|
21
21
|
|
22
|
+
## Пробелы
|
23
|
+
По умолчанию в типографике если текст превышает ширину элемента, то слова будут переноситься по пробелам.
|
24
|
+
Чтобы запретить перенос по пробелам, необходимо установить свойство `noWrap` в значении `true`.
|
25
|
+
|
22
26
|
## Состав
|
23
27
|
|
24
28
|
### Hero unit
|
@@ -3,7 +3,7 @@ import type { ComponentProps } from 'react';
|
|
3
3
|
import type { StoryObj, Meta } from '@storybook/react';
|
4
4
|
import { action } from '@storybook/addon-actions';
|
5
5
|
|
6
|
-
import { Heading } from '../../../
|
6
|
+
import { Heading } from '../../../typography/components/Heading/Heading';
|
7
7
|
import { WithTheme } from '../../../_helpers';
|
8
8
|
import { Tabs } from '../Tabs/Tabs';
|
9
9
|
import { TabItem } from '../Tabs/TabItem';
|
@@ -5,7 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react';
|
|
5
5
|
|
6
6
|
import { Button } from '../Button/Button';
|
7
7
|
import { WithTheme } from '../../../_helpers';
|
8
|
-
import { Heading } from '../../../
|
8
|
+
import { Heading } from '../../../typography/components/Heading/Heading';
|
9
9
|
import { IconDone } from '../../../../components/_Icon';
|
10
10
|
import { SSRProvider } from '../../../../components/SSRProvider';
|
11
11
|
import { PopupProvider } from '../Popup/Popup';
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { editableConfig } from '../../../../components/Editable';
|
2
2
|
import { component, mergeConfig } from '../../../../engines';
|
3
|
-
import { Body } from '../../../
|
4
|
-
import { Dspl } from '../../../
|
5
|
-
import { Heading } from '../../../
|
6
|
-
import { Text } from '../../../
|
3
|
+
import { Body } from '../../../typography/components/Body/Body';
|
4
|
+
import { Dspl } from '../../../typography/components/Dspl/Dspl';
|
5
|
+
import { Heading } from '../../../typography/components/Heading/Heading';
|
6
|
+
import { Text } from '../../../typography/components/Text/Text';
|
7
7
|
import { config } from './Editable.config';
|
8
8
|
export var typographyVariants = {
|
9
9
|
Body: Body,
|
@@ -5,7 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react';
|
|
5
5
|
|
6
6
|
import { Button } from '../Button/Button';
|
7
7
|
import { WithTheme } from '../../../_helpers';
|
8
|
-
import { Heading } from '../../../
|
8
|
+
import { Heading } from '../../../typography/components/Heading/Heading';
|
9
9
|
import { IconDone } from '../../../../components/_Icon';
|
10
10
|
import { ClosePlacementType } from '../../../../components/Panel';
|
11
11
|
import { SSRProvider } from '../../../../components/SSRProvider';
|
@@ -5,7 +5,7 @@ import styled from 'styled-components';
|
|
5
5
|
|
6
6
|
import { Button } from '../Button/Button';
|
7
7
|
import { WithTheme } from '../../../_helpers';
|
8
|
-
import { Body } from '../../../
|
8
|
+
import { Body } from '../../../typography/components/Body/Body';
|
9
9
|
import { Portal } from '../../../../components/Portal';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Portal> = {
|
@@ -5,7 +5,7 @@ import styled from 'styled-components';
|
|
5
5
|
|
6
6
|
import { Button } from '../Button/Button';
|
7
7
|
import { WithTheme } from '../../../_helpers';
|
8
|
-
import { Body } from '../../../
|
8
|
+
import { Body } from '../../../typography/components/Body/Body';
|
9
9
|
|
10
10
|
import { Sheet } from './Sheet';
|
11
11
|
|
@@ -3,7 +3,7 @@ import type { ComponentProps } from 'react';
|
|
3
3
|
import type { StoryObj, Meta } from '@storybook/react';
|
4
4
|
import { action } from '@storybook/addon-actions';
|
5
5
|
|
6
|
-
import { Heading } from '../../../
|
6
|
+
import { Heading } from '../../../typography/components/Heading/Heading';
|
7
7
|
import { WithTheme } from '../../../_helpers';
|
8
8
|
import { Tabs } from '../Tabs/Tabs';
|
9
9
|
import { TabItem } from '../Tabs/TabItem';
|
@@ -5,7 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react';
|
|
5
5
|
|
6
6
|
import { Button } from '../Button/Button';
|
7
7
|
import { WithTheme } from '../../../_helpers';
|
8
|
-
import { Heading } from '../../../
|
8
|
+
import { Heading } from '../../../typography/components/Heading/Heading';
|
9
9
|
import { IconDone } from '../../../../components/_Icon';
|
10
10
|
import { SSRProvider } from '../../../../components/SSRProvider';
|
11
11
|
import { PopupProvider } from '../Popup/Popup';
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { editableConfig } from '../../../../components/Editable';
|
2
2
|
import { component, mergeConfig } from '../../../../engines';
|
3
|
-
import { Body } from '../../../
|
4
|
-
import { Dspl } from '../../../
|
5
|
-
import { Heading } from '../../../
|
6
|
-
import { Text } from '../../../
|
3
|
+
import { Body } from '../../../typography/components/Body/Body';
|
4
|
+
import { Dspl } from '../../../typography/components/Dspl/Dspl';
|
5
|
+
import { Heading } from '../../../typography/components/Heading/Heading';
|
6
|
+
import { Text } from '../../../typography/components/Text/Text';
|
7
7
|
import { config } from './Editable.config';
|
8
8
|
export var typographyVariants = {
|
9
9
|
Body: Body,
|
@@ -5,7 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react';
|
|
5
5
|
|
6
6
|
import { Button } from '../Button/Button';
|
7
7
|
import { WithTheme } from '../../../_helpers';
|
8
|
-
import { Heading } from '../../../
|
8
|
+
import { Heading } from '../../../typography/components/Heading/Heading';
|
9
9
|
import { IconDone } from '../../../../components/_Icon';
|
10
10
|
import { ClosePlacementType } from '../../../../components/Panel';
|
11
11
|
import { SSRProvider } from '../../../../components/SSRProvider';
|
@@ -5,7 +5,7 @@ import styled from 'styled-components';
|
|
5
5
|
|
6
6
|
import { Button } from '../Button/Button';
|
7
7
|
import { WithTheme } from '../../../_helpers';
|
8
|
-
import { Body } from '../../../
|
8
|
+
import { Body } from '../../../typography/components/Body/Body';
|
9
9
|
import { Portal } from '../../../../components/Portal';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Portal> = {
|
@@ -5,7 +5,7 @@ import styled from 'styled-components';
|
|
5
5
|
|
6
6
|
import { Button } from '../Button/Button';
|
7
7
|
import { WithTheme } from '../../../_helpers';
|
8
|
-
import { Body } from '../../../
|
8
|
+
import { Body } from '../../../typography/components/Body/Body';
|
9
9
|
|
10
10
|
import { Sheet } from './Sheet';
|
11
11
|
|
package/styled-components/es/examples/{typograpy → typography}/components/Body/Body.stories.tsx
RENAMED
@@ -12,8 +12,16 @@ const meta: Meta<typeof Body> = {
|
|
12
12
|
title: 'typography/Body',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Body,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(bodyConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
bold: false,
|
19
27
|
},
|
package/styled-components/es/examples/{typograpy → typography}/components/Dspl/Dspl.stories.tsx
RENAMED
@@ -12,8 +12,16 @@ const meta: Meta<typeof Dspl> = {
|
|
12
12
|
title: 'typography/Dspl',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Dspl,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(dsplConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
bold: false,
|
19
27
|
},
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof Heading> = {
|
|
12
12
|
title: 'typography/Heading',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Heading,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(dsplConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
bold: false,
|
19
27
|
},
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof OldBody> = {
|
|
12
12
|
title: 'typography/Old/Body',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: OldBody,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(oldBodyConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
},
|
19
27
|
};
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof Button> = {
|
|
12
12
|
title: 'typography/Old/Button',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Button,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(buttonTypographyConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
},
|
19
27
|
};
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof Caption> = {
|
|
12
12
|
title: 'typography/Old/Caption',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Caption,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(captionConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
},
|
19
27
|
};
|
@@ -12,8 +12,16 @@ const meta: Meta<typeof Display> = {
|
|
12
12
|
title: 'typography/Old/Display',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Display,
|
15
|
-
argTypes:
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(displayConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
16
23
|
args: {
|
24
|
+
noWrap: false,
|
17
25
|
breakWord: true,
|
18
26
|
},
|
19
27
|
};
|