@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
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TypographyOld.js","sources":["../../../../src/components/Typography/Old/TypographyOld.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../mixins/applySpacing';\nimport type { RootProps } from '../../../engines';\nimport { classes } from '../tokens';\nimport type { FontProps } from '../Typography.types';\nimport { cx } from '../../../utils';\n\nexport type TypographyOldProps = Omit<FontProps, 'bold'>;\n\nexport const typographyOldRoot = (Root: RootProps<HTMLDivElement, TypographyOldProps>) =>\n forwardRef<HTMLDivElement, TypographyOldProps>((props, ref) => {\n const { size, children, breakWord, color, className, style, ...rest } = props;\n\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withBreakWord, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyOldRoot","Root","forwardRef","props","ref","size","children","breakWord","color","className","style","rest","_objectWithoutProperties","_excluded","
|
1
|
+
{"version":3,"file":"TypographyOld.js","sources":["../../../../src/components/Typography/Old/TypographyOld.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../mixins/applySpacing';\nimport type { RootProps } from '../../../engines';\nimport { classes } from '../tokens';\nimport type { FontProps } from '../Typography.types';\nimport { cx } from '../../../utils';\n\nexport type TypographyOldProps = Omit<FontProps, 'bold'>;\n\nexport const typographyOldRoot = (Root: RootProps<HTMLDivElement, TypographyOldProps>) =>\n forwardRef<HTMLDivElement, TypographyOldProps>((props, ref) => {\n const { size, children, breakWord, noWrap, color, className, style, ...rest } = props;\n\n const withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withNoWrap, withBreakWord, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyOldRoot","Root","forwardRef","props","ref","size","children","breakWord","noWrap","color","className","style","rest","_objectWithoutProperties","_excluded","withNoWrap","classes","typoWithNoWrap","undefined","withBreakWord","typoWithBreakWord","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;IAUaA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,IAAmD,EAAA;AAAA,EAAA,oBACjFC,UAAU,CAAqC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAC3D,IAAA,IAAQC,IAAI,GAAoEF,KAAK,CAA7EE,IAAI;MAAEC,QAAQ,GAA0DH,KAAK,CAAvEG,QAAQ;MAAEC,SAAS,GAA+CJ,KAAK,CAA7DI,SAAS;MAAEC,MAAM,GAAuCL,KAAK,CAAlDK,MAAM;MAAEC,KAAK,GAAgCN,KAAK,CAA1CM,KAAK;MAAEC,SAAS,GAAqBP,KAAK,CAAnCO,SAAS;MAAEC,KAAK,GAAcR,KAAK,CAAxBQ,KAAK;AAAKC,MAAAA,IAAI,GAAAC,wBAAA,CAAKV,KAAK,EAAAW,SAAA,CAAA,CAAA;IAErF,IAAMC,UAAU,GAAGP,MAAM,GAAGQ,OAAO,CAACC,cAAc,GAAGC,SAAS,CAAA;IAC9D,IAAMC,aAAa,GAAGZ,SAAS,GAAGS,OAAO,CAACI,iBAAiB,GAAGF,SAAS,CAAA;AAEvE,IAAA,oBACIG,KAAA,CAAAC,aAAA,CAACrB,IAAI,EAAAsB,QAAA,CAAA;AACDlB,MAAAA,IAAI,EAAEA,IAAK;AACXD,MAAAA,GAAG,EAAEA,GAAI;MACTM,SAAS,EAAEc,EAAE,CAACT,UAAU,EAAEI,aAAa,EAAET,SAAS,CAAE;MACpDC,KAAK,EAAAc,cAAA,CAAAA,cAAA,CAAA;AAAIhB,QAAAA,KAAK,EAALA,KAAAA;AAAK,OAAA,EAAKE,KAAK,CAAA,EAAKe,YAAY,CAACd,IAAI,CAAC,CAAA;KAC3CA,EAAAA,IAAI,CAEPN,EAAAA,QACC,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TypographyOld.styles.js","sources":["../../../../src/components/Typography/Old/TypographyOld.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../tokens';\nimport { applyHyphens, applyHyphensNormal } from '../../../mixins';\n\nexport const base = css`\n font-family: var(${tokens.typoFontFamily});\n font-size: var(${tokens.typoFontSize});\n font-style: var(${tokens.typoFontStyle});\n letter-spacing: var(${tokens.typoFontLetterSpacing});\n line-height: var(${tokens.typoFontLineHeight});\n font-weight: var(${tokens.typoFontWeight});\n\n ${
|
1
|
+
{"version":3,"file":"TypographyOld.styles.js","sources":["../../../../src/components/Typography/Old/TypographyOld.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../tokens';\nimport { applyHyphens, applyHyphensNormal } from '../../../mixins';\n\nexport const base = css`\n font-family: var(${tokens.typoFontFamily});\n font-size: var(${tokens.typoFontSize});\n font-style: var(${tokens.typoFontStyle});\n letter-spacing: var(${tokens.typoFontLetterSpacing});\n line-height: var(${tokens.typoFontLineHeight});\n font-weight: var(${tokens.typoFontWeight});\n\n &.${classes.typoWithNoWrap} {\n white-space: nowrap;\n }\n\n ${applyHyphensNormal};\n\n &.${classes.typoWithBreakWord} {\n ${applyHyphens};\n }\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAiBhB;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
.b9p5ato{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.b9p5ato.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
|
1
|
+
.b9p5ato{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.b9p5ato.with-no-wrap{white-space:nowrap;}.b9p5ato.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
|
@@ -1 +1 @@
|
|
1
|
-
.
|
1
|
+
.Underline_styles_1x2vb5e_b1uxesuf__34404c4e{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);text-transform:uppercase;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.Underline_styles_1x2vb5e_b1uxesuf__34404c4e.Underline_styles_1x2vb5e_withNoWrap__34404c4e{white-space:nowrap;}.Underline_styles_1x2vb5e_b1uxesuf__34404c4e.Underline_styles_1x2vb5e_withBreakWord__34404c4e{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Underline.styles.js","sources":["../../../../../src/components/Typography/Old/Underline/Underline.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../tokens';\nimport { applyHyphens, applyHyphensNormal } from '../../../../mixins';\n\nexport const base = css`\n font-family: var(${tokens.typoFontFamily});\n font-size: var(${tokens.typoFontSize});\n font-style: var(${tokens.typoFontStyle});\n letter-spacing: var(${tokens.typoFontLetterSpacing});\n line-height: var(${tokens.typoFontLineHeight});\n font-weight: var(${tokens.typoFontWeight});\n\n text-transform: uppercase;\n\n ${
|
1
|
+
{"version":3,"file":"Underline.styles.js","sources":["../../../../../src/components/Typography/Old/Underline/Underline.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../tokens';\nimport { applyHyphens, applyHyphensNormal } from '../../../../mixins';\n\nexport const base = css`\n font-family: var(${tokens.typoFontFamily});\n font-size: var(${tokens.typoFontSize});\n font-style: var(${tokens.typoFontStyle});\n letter-spacing: var(${tokens.typoFontLetterSpacing});\n line-height: var(${tokens.typoFontLineHeight});\n font-weight: var(${tokens.typoFontWeight});\n\n text-transform: uppercase;\n\n &.${classes.typoWithNoWrap} {\n white-space: nowrap;\n }\n\n ${applyHyphensNormal};\n\n &.${classes.typoWithBreakWord} {\n ${applyHyphens};\n }\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAmBhB;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
.b1uxesuf{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);text-transform:uppercase;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.b1uxesuf.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
|
1
|
+
.b1uxesuf{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);text-transform:uppercase;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.b1uxesuf.with-no-wrap{white-space:nowrap;}.b1uxesuf.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
|
@@ -4,25 +4,27 @@ import { applySpacing } from '../../mixins/applySpacing.js';
|
|
4
4
|
import { cx } from '../../utils/index.js';
|
5
5
|
import { classes } from './tokens.js';
|
6
6
|
|
7
|
-
var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
|
7
|
+
var _excluded = ["size", "children", "breakWord", "noWrap", "bold", "color", "className", "style"];
|
8
8
|
var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
9
9
|
return function (Root) {
|
10
10
|
return /*#__PURE__*/forwardRef(function (props, ref) {
|
11
11
|
var size = props.size,
|
12
12
|
children = props.children,
|
13
13
|
breakWord = props.breakWord,
|
14
|
+
noWrap = props.noWrap,
|
14
15
|
_props$bold = props.bold,
|
15
16
|
bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
|
16
17
|
color = props.color,
|
17
18
|
className = props.className,
|
18
19
|
style = props.style,
|
19
20
|
rest = _objectWithoutProperties(props, _excluded);
|
21
|
+
var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
|
20
22
|
var withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;
|
21
23
|
var typographyBold = bold ? classes.typoBold : undefined;
|
22
24
|
return /*#__PURE__*/React.createElement(Root, _extends({
|
23
25
|
size: size,
|
24
26
|
ref: ref,
|
25
|
-
className: cx(withBreakWord, typographyBold, className),
|
27
|
+
className: cx(withNoWrap, withBreakWord, typographyBold, className),
|
26
28
|
style: _objectSpread2(_objectSpread2({
|
27
29
|
color: color
|
28
30
|
}, style), applySpacing(rest)),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Typography.js","sources":["../../../src/components/Typography/Typography.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../mixins/applySpacing';\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport { classes } from './tokens';\nimport { FontProps } from './Typography.types';\n\nexport const typographyRootCompose = (defaultArgs?: { defaultBold?: boolean }) => (\n Root: RootProps<HTMLDivElement, FontProps>,\n) =>\n forwardRef<HTMLDivElement, FontProps>((props, ref) => {\n const {
|
1
|
+
{"version":3,"file":"Typography.js","sources":["../../../src/components/Typography/Typography.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../mixins/applySpacing';\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport { classes } from './tokens';\nimport { FontProps } from './Typography.types';\n\nexport const typographyRootCompose = (defaultArgs?: { defaultBold?: boolean }) => (\n Root: RootProps<HTMLDivElement, FontProps>,\n) =>\n forwardRef<HTMLDivElement, FontProps>((props, ref) => {\n const {\n size,\n children,\n breakWord,\n noWrap,\n bold = defaultArgs?.defaultBold,\n color,\n className,\n style,\n ...rest\n } = props;\n\n const withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n const typographyBold = bold ? classes.typoBold : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withNoWrap, withBreakWord, typographyBold, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n bold={bold}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyRootCompose","defaultArgs","Root","forwardRef","props","ref","size","children","breakWord","noWrap","_props$bold","bold","defaultBold","color","className","style","rest","_objectWithoutProperties","_excluded","withNoWrap","classes","typoWithNoWrap","undefined","withBreakWord","typoWithBreakWord","typographyBold","typoBold","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;IASaA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,WAAuC,EAAA;AAAA,EAAA,OAAK,UAC9EC,IAA0C,EAAA;AAAA,IAAA,oBAE1CC,UAAU,CAA4B,UAACC,KAAK,EAAEC,GAAG,EAAK;AAClD,MAAA,IACIC,IAAI,GASJF,KAAK,CATLE,IAAI;QACJC,QAAQ,GAQRH,KAAK,CARLG,QAAQ;QACRC,SAAS,GAOTJ,KAAK,CAPLI,SAAS;QACTC,MAAM,GAMNL,KAAK,CANLK,MAAM;QAAAC,WAAA,GAMNN,KAAK,CALLO,IAAI;QAAJA,IAAI,GAAAD,WAAA,KAAA,KAAA,CAAA,GAAGT,WAAW,KAAA,IAAA,IAAXA,WAAW,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAXA,WAAW,CAAEW,WAAW,GAAAF,WAAA;QAC/BG,KAAK,GAILT,KAAK,CAJLS,KAAK;QACLC,SAAS,GAGTV,KAAK,CAHLU,SAAS;QACTC,KAAK,GAELX,KAAK,CAFLW,KAAK;AACFC,QAAAA,IAAI,GAAAC,wBAAA,CACPb,KAAK,EAAAc,SAAA,CAAA,CAAA;MAET,IAAMC,UAAU,GAAGV,MAAM,GAAGW,OAAO,CAACC,cAAc,GAAGC,SAAS,CAAA;MAC9D,IAAMC,aAAa,GAAGf,SAAS,GAAGY,OAAO,CAACI,iBAAiB,GAAGF,SAAS,CAAA;MACvE,IAAMG,cAAc,GAAGd,IAAI,GAAGS,OAAO,CAACM,QAAQ,GAAGJ,SAAS,CAAA;AAE1D,MAAA,oBACIK,KAAA,CAAAC,aAAA,CAAC1B,IAAI,EAAA2B,QAAA,CAAA;AACDvB,QAAAA,IAAI,EAAEA,IAAK;AACXD,QAAAA,GAAG,EAAEA,GAAI;QACTS,SAAS,EAAEgB,EAAE,CAACX,UAAU,EAAEI,aAAa,EAAEE,cAAc,EAAEX,SAAS,CAAE;QACpEC,KAAK,EAAAgB,cAAA,CAAAA,cAAA,CAAA;AAAIlB,UAAAA,KAAK,EAALA,KAAAA;AAAK,SAAA,EAAKE,KAAK,CAAKiB,EAAAA,YAAY,CAAChB,IAAI,CAAC,CAAG;AAClDL,QAAAA,IAAI,EAAEA,IAAAA;OACFK,EAAAA,IAAI,CAEPT,EAAAA,QACC,CAAC,CAAA;AAEf,KAAC,CAAC,CAAA;AAAA,GAAA,CAAA;AAAA;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Typography.styles.js","sources":["../../../src/components/Typography/Typography.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { applyHyphens, applyHyphensNormal } from '../../mixins';\n\nimport { classes, tokens } from './tokens';\n\nexport const base = css`\n font-family: var(${tokens.typoFontFamily});\n font-size: var(${tokens.typoFontSize});\n font-style: var(${tokens.typoFontStyle});\n letter-spacing: var(${tokens.typoFontLetterSpacing});\n line-height: var(${tokens.typoFontLineHeight});\n font-weight: var(${tokens.typoFontWeight});\n\n &.${
|
1
|
+
{"version":3,"file":"Typography.styles.js","sources":["../../../src/components/Typography/Typography.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { applyHyphens, applyHyphensNormal } from '../../mixins';\n\nimport { classes, tokens } from './tokens';\n\nexport const base = css`\n font-family: var(${tokens.typoFontFamily});\n font-size: var(${tokens.typoFontSize});\n font-style: var(${tokens.typoFontStyle});\n letter-spacing: var(${tokens.typoFontLetterSpacing});\n line-height: var(${tokens.typoFontLineHeight});\n font-weight: var(${tokens.typoFontWeight});\n\n &.${classes.typoBold} {\n font-weight: var(${tokens.typoFontWeightBold});\n }\n\n &.${classes.typoWithNoWrap} {\n white-space: nowrap;\n }\n\n ${applyHyphensNormal};\n\n &.${classes.typoWithBreakWord} {\n ${applyHyphens};\n }\n`;\n"],"names":["base"],"mappings":"AAMO,IAAMA,IAAI,GAqBhB;;;;"}
|
package/es/components/Typography/{Typography.styles_6mr47g.css → Typography.styles_fa07dt.css}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
.b1ru04lg{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.b1ru04lg.typography-bold{font-weight:var(--typo-font-weight-bold);}.b1ru04lg.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
|
1
|
+
.b1ru04lg{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.b1ru04lg.typography-bold{font-weight:var(--typo-font-weight-bold);}.b1ru04lg.with-no-wrap{white-space:nowrap;}.b1ru04lg.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tokens.js","sources":["../../../src/components/Typography/tokens.ts"],"sourcesContent":["export const classes = {\n typoWithBreakWord: 'with-break-word',\n typoBold: 'typography-bold',\n};\n\nexport const tokens = {\n typoFontFamily: '--typo-font-family',\n typoFontSize: '--typo-font-size',\n typoFontStyle: '--typo-font-style',\n typoFontWeight: '--typo-font-weight',\n typoFontWeightBold: '--typo-font-weight-bold',\n typoFontLetterSpacing: '--typo-font-letter-spacing',\n typoFontLineHeight: '--typo-font-line-height',\n};\n"],"names":["classes","typoWithBreakWord","typoBold","tokens","typoFontFamily","typoFontSize","typoFontStyle","typoFontWeight","typoFontWeightBold","typoFontLetterSpacing","typoFontLineHeight"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,iBAAiB,EAAE,iBAAiB;AACpCC,EAAAA,QAAQ,EAAE,iBAAA;AACd,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,cAAc,EAAE,oBAAoB;AACpCC,EAAAA,YAAY,EAAE,kBAAkB;AAChCC,EAAAA,aAAa,EAAE,mBAAmB;AAClCC,EAAAA,cAAc,EAAE,oBAAoB;AACpCC,EAAAA,kBAAkB,EAAE,yBAAyB;AAC7CC,EAAAA,qBAAqB,EAAE,4BAA4B;AACnDC,EAAAA,kBAAkB,EAAE,yBAAA;AACxB;;;;"}
|
1
|
+
{"version":3,"file":"tokens.js","sources":["../../../src/components/Typography/tokens.ts"],"sourcesContent":["export const classes = {\n typoWithNoWrap: 'with-no-wrap',\n typoWithBreakWord: 'with-break-word',\n typoBold: 'typography-bold',\n};\n\nexport const tokens = {\n typoFontFamily: '--typo-font-family',\n typoFontSize: '--typo-font-size',\n typoFontStyle: '--typo-font-style',\n typoFontWeight: '--typo-font-weight',\n typoFontWeightBold: '--typo-font-weight-bold',\n typoFontLetterSpacing: '--typo-font-letter-spacing',\n typoFontLineHeight: '--typo-font-line-height',\n};\n"],"names":["classes","typoWithNoWrap","typoWithBreakWord","typoBold","tokens","typoFontFamily","typoFontSize","typoFontStyle","typoFontWeight","typoFontWeightBold","typoFontLetterSpacing","typoFontLineHeight"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,cAAc,EAAE,cAAc;AAC9BC,EAAAA,iBAAiB,EAAE,iBAAiB;AACpCC,EAAAA,QAAQ,EAAE,iBAAA;AACd,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,cAAc,EAAE,oBAAoB;AACpCC,EAAAA,YAAY,EAAE,kBAAkB;AAChCC,EAAAA,aAAa,EAAE,mBAAmB;AAClCC,EAAAA,cAAc,EAAE,oBAAoB;AACpCC,EAAAA,kBAAkB,EAAE,yBAAyB;AAC7CC,EAAAA,qBAAqB,EAAE,4BAA4B;AACnDC,EAAAA,kBAAkB,EAAE,yBAAA;AACxB;;;;"}
|
package/es/index.css
CHANGED
@@ -322,15 +322,15 @@
|
|
322
322
|
.CalendarDouble_styles_e9ada0_s1y1gz42__d395f1d3{background-color:var(--plasma-calendar-separator-background);min-width:0.063rem;margin:0.5rem 1rem 0 1rem;}
|
323
323
|
.CalendarDouble_styles_e9ada0_s7fv2hn__d395f1d3{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}
|
324
324
|
|
325
|
-
.
|
325
|
+
.Typography_styles_fa07dt_b1ru04lg__867729cb{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.Typography_styles_fa07dt_b1ru04lg__867729cb.Typography_styles_fa07dt_typographyBold__867729cb{font-weight:var(--typo-font-weight-bold);}.Typography_styles_fa07dt_b1ru04lg__867729cb.Typography_styles_fa07dt_withNoWrap__867729cb{white-space:nowrap;}.Typography_styles_fa07dt_b1ru04lg__867729cb.Typography_styles_fa07dt_withBreakWord__867729cb{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
|
326
326
|
|
327
|
-
.
|
327
|
+
.TypographyOld_styles_168abbx_b9p5ato__094dcd73{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.TypographyOld_styles_168abbx_b9p5ato__094dcd73.TypographyOld_styles_168abbx_withNoWrap__094dcd73{white-space:nowrap;}.TypographyOld_styles_168abbx_b9p5ato__094dcd73.TypographyOld_styles_168abbx_withBreakWord__094dcd73{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
|
328
328
|
|
329
|
-
.
|
329
|
+
.Paragraph_styles_f6q9s8_bgybk92__e9eeb09f{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);margin:0;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.Paragraph_styles_f6q9s8_bgybk92__e9eeb09f.Paragraph_styles_f6q9s8_withNoWrap__e9eeb09f{white-space:nowrap;}.Paragraph_styles_f6q9s8_bgybk92__e9eeb09f.Paragraph_styles_f6q9s8_withBreakWord__e9eeb09f{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
|
330
330
|
|
331
|
-
.
|
331
|
+
.Underline_styles_1x2vb5e_b1uxesuf__34404c4e{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);text-transform:uppercase;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.Underline_styles_1x2vb5e_b1uxesuf__34404c4e.Underline_styles_1x2vb5e_withNoWrap__34404c4e{white-space:nowrap;}.Underline_styles_1x2vb5e_b1uxesuf__34404c4e.Underline_styles_1x2vb5e_withBreakWord__34404c4e{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
|
332
332
|
|
333
|
-
.
|
333
|
+
.Subtitle_styles_g6d0r2_b810c19__dce1fd86{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}.Subtitle_styles_g6d0r2_b810c19__dce1fd86.Subtitle_styles_g6d0r2_withNoWrap__dce1fd86{white-space:nowrap;}
|
334
334
|
|
335
335
|
|
336
336
|
.Popup_styles_gq4luz_s1cjo3us__bb610b96{width:0;}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.198.0-canary.1588.11975454374.0",
|
4
4
|
"description": "Salute Design System blueprint",
|
5
5
|
"main": "cjs/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -129,5 +129,5 @@
|
|
129
129
|
"sideEffects": [
|
130
130
|
"*.css"
|
131
131
|
],
|
132
|
-
"gitHead": "
|
132
|
+
"gitHead": "0772da1d6df20a8b9b664db5f9427952bf207188"
|
133
133
|
}
|
@@ -24,7 +24,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
24
24
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
25
25
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
26
26
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
27
|
-
var editableRoot = exports.editableRoot = function editableRoot(
|
27
|
+
var editableRoot = exports.editableRoot = function editableRoot(typographyVariants) {
|
28
28
|
return function (Root) {
|
29
29
|
return /*#__PURE__*/(0, _react.forwardRef)(function (_ref, outerRef) {
|
30
30
|
var _prevValueRef$current;
|
@@ -7,4 +7,4 @@ exports.base = void 0;
|
|
7
7
|
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
8
|
var _tokens = /*#__PURE__*/require("../../tokens");
|
9
9
|
var _mixins = /*#__PURE__*/require("../../../../mixins");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");margin:0;", ";&.", "{", ";}"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight,
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _styledComponents.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.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, _tokens.classes.typoWithNoWrap, _mixins.applyHyphensNormal, _tokens.classes.typoWithBreakWord, _mixins.applyHyphens);
|
@@ -8,8 +8,10 @@ exports.subtitleRoot = exports.subtitleConfig = void 0;
|
|
8
8
|
var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
|
9
9
|
var _applySpacing = /*#__PURE__*/require("../../../../mixins/applySpacing");
|
10
10
|
var _base = /*#__PURE__*/require("../../variations/_size/base");
|
11
|
+
var _tokens = /*#__PURE__*/require("../../tokens");
|
12
|
+
var _utils = /*#__PURE__*/require("../../../../utils");
|
11
13
|
var _Subtitle = /*#__PURE__*/require("./Subtitle.styles");
|
12
|
-
var _excluded = ["size", "children", "color", "style"];
|
14
|
+
var _excluded = ["size", "children", "color", "noWrap", "className", "style"];
|
13
15
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
14
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
15
17
|
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); }
|
@@ -25,11 +27,15 @@ var subtitleRoot = exports.subtitleRoot = function subtitleRoot(Root) {
|
|
25
27
|
var size = props.size,
|
26
28
|
children = props.children,
|
27
29
|
color = props.color,
|
30
|
+
noWrap = props.noWrap,
|
31
|
+
className = props.className,
|
28
32
|
style = props.style,
|
29
33
|
rest = _objectWithoutProperties(props, _excluded);
|
34
|
+
var withNoWrap = noWrap ? _tokens.classes.typoWithNoWrap : undefined;
|
30
35
|
return /*#__PURE__*/_react["default"].createElement(Root, _extends({
|
31
36
|
size: size,
|
32
37
|
ref: ref,
|
38
|
+
className: (0, _utils.cx)(withNoWrap, className),
|
33
39
|
style: _objectSpread(_objectSpread({
|
34
40
|
color: color
|
35
41
|
}, style), (0, _applySpacing.applySpacing)(rest))
|
@@ -7,4 +7,4 @@ exports.base = void 0;
|
|
7
7
|
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
8
|
var _tokens = /*#__PURE__*/require("../../tokens");
|
9
9
|
var _mixins = /*#__PURE__*/require("../../../../mixins");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");", ";"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight,
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{white-space:nowrap;}", ";"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, _tokens.classes.typoWithNoWrap, _mixins.applyHyphens);
|
@@ -9,7 +9,7 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
|
|
9
9
|
var _applySpacing = /*#__PURE__*/require("../../../mixins/applySpacing");
|
10
10
|
var _tokens = /*#__PURE__*/require("../tokens");
|
11
11
|
var _utils = /*#__PURE__*/require("../../../utils");
|
12
|
-
var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
|
12
|
+
var _excluded = ["size", "children", "breakWord", "noWrap", "color", "className", "style"];
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
14
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
15
15
|
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); }
|
@@ -25,15 +25,17 @@ var typographyOldRoot = exports.typographyOldRoot = function typographyOldRoot(R
|
|
25
25
|
var size = props.size,
|
26
26
|
children = props.children,
|
27
27
|
breakWord = props.breakWord,
|
28
|
+
noWrap = props.noWrap,
|
28
29
|
color = props.color,
|
29
30
|
className = props.className,
|
30
31
|
style = props.style,
|
31
32
|
rest = _objectWithoutProperties(props, _excluded);
|
33
|
+
var withNoWrap = noWrap ? _tokens.classes.typoWithNoWrap : undefined;
|
32
34
|
var withBreakWord = breakWord ? _tokens.classes.typoWithBreakWord : undefined;
|
33
35
|
return /*#__PURE__*/_react["default"].createElement(Root, _extends({
|
34
36
|
size: size,
|
35
37
|
ref: ref,
|
36
|
-
className: (0, _utils.cx)(withBreakWord, className),
|
38
|
+
className: (0, _utils.cx)(withNoWrap, withBreakWord, className),
|
37
39
|
style: _objectSpread(_objectSpread({
|
38
40
|
color: color
|
39
41
|
}, style), (0, _applySpacing.applySpacing)(rest))
|
@@ -7,4 +7,4 @@ exports.base = void 0;
|
|
7
7
|
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
8
|
var _tokens = /*#__PURE__*/require("../tokens");
|
9
9
|
var _mixins = /*#__PURE__*/require("../../../mixins");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");", ";&.", "{", ";}"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight,
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{white-space:nowrap;}", ";&.", "{", ";}"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, _tokens.classes.typoWithNoWrap, _mixins.applyHyphensNormal, _tokens.classes.typoWithBreakWord, _mixins.applyHyphens);
|
@@ -7,4 +7,4 @@ exports.base = void 0;
|
|
7
7
|
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
8
|
var _tokens = /*#__PURE__*/require("../../tokens");
|
9
9
|
var _mixins = /*#__PURE__*/require("../../../../mixins");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");text-transform:uppercase;", ";&.", "{", ";}"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight,
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _styledComponents.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.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, _tokens.classes.typoWithNoWrap, _mixins.applyHyphensNormal, _tokens.classes.typoWithBreakWord, _mixins.applyHyphens);
|
@@ -9,7 +9,7 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
|
|
9
9
|
var _applySpacing = /*#__PURE__*/require("../../mixins/applySpacing");
|
10
10
|
var _utils = /*#__PURE__*/require("../../utils");
|
11
11
|
var _tokens = /*#__PURE__*/require("./tokens");
|
12
|
-
var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
|
12
|
+
var _excluded = ["size", "children", "breakWord", "noWrap", "bold", "color", "className", "style"];
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
14
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
15
15
|
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); }
|
@@ -26,18 +26,20 @@ var typographyRootCompose = exports.typographyRootCompose = function typographyR
|
|
26
26
|
var size = props.size,
|
27
27
|
children = props.children,
|
28
28
|
breakWord = props.breakWord,
|
29
|
+
noWrap = props.noWrap,
|
29
30
|
_props$bold = props.bold,
|
30
31
|
bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
|
31
32
|
color = props.color,
|
32
33
|
className = props.className,
|
33
34
|
style = props.style,
|
34
35
|
rest = _objectWithoutProperties(props, _excluded);
|
36
|
+
var withNoWrap = noWrap ? _tokens.classes.typoWithNoWrap : undefined;
|
35
37
|
var withBreakWord = breakWord ? _tokens.classes.typoWithBreakWord : undefined;
|
36
38
|
var typographyBold = bold ? _tokens.classes.typoBold : undefined;
|
37
39
|
return /*#__PURE__*/_react["default"].createElement(Root, _extends({
|
38
40
|
size: size,
|
39
41
|
ref: ref,
|
40
|
-
className: (0, _utils.cx)(withBreakWord, typographyBold, className),
|
42
|
+
className: (0, _utils.cx)(withNoWrap, withBreakWord, typographyBold, className),
|
41
43
|
style: _objectSpread(_objectSpread({
|
42
44
|
color: color
|
43
45
|
}, style), (0, _applySpacing.applySpacing)(rest)),
|
@@ -7,4 +7,4 @@ exports.base = void 0;
|
|
7
7
|
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
8
|
var _mixins = /*#__PURE__*/require("../../mixins");
|
9
9
|
var _tokens = /*#__PURE__*/require("./tokens");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{font-weight:var(", ");}", ";&.", "{", ";}"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight,
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _styledComponents.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.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, _tokens.classes.typoBold, _tokens.tokens.typoFontWeightBold, _tokens.classes.typoWithNoWrap, _mixins.applyHyphensNormal, _tokens.classes.typoWithBreakWord, _mixins.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';
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.typographyVariants = exports.Editable = void 0;
|
7
7
|
var _Editable = /*#__PURE__*/require("../../../../components/Editable");
|
8
8
|
var _engines = /*#__PURE__*/require("../../../../engines");
|
9
|
-
var _Body = /*#__PURE__*/require("../../../
|
10
|
-
var _Dspl = /*#__PURE__*/require("../../../
|
11
|
-
var _Heading = /*#__PURE__*/require("../../../
|
12
|
-
var _Text = /*#__PURE__*/require("../../../
|
9
|
+
var _Body = /*#__PURE__*/require("../../../typography/components/Body/Body");
|
10
|
+
var _Dspl = /*#__PURE__*/require("../../../typography/components/Dspl/Dspl");
|
11
|
+
var _Heading = /*#__PURE__*/require("../../../typography/components/Heading/Heading");
|
12
|
+
var _Text = /*#__PURE__*/require("../../../typography/components/Text/Text");
|
13
13
|
var _Editable2 = /*#__PURE__*/require("./Editable.config");
|
14
14
|
var typographyVariants = exports.typographyVariants = {
|
15
15
|
Body: _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';
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.typographyVariants = exports.Editable = void 0;
|
7
7
|
var _Editable = /*#__PURE__*/require("../../../../components/Editable");
|
8
8
|
var _engines = /*#__PURE__*/require("../../../../engines");
|
9
|
-
var _Body = /*#__PURE__*/require("../../../
|
10
|
-
var _Dspl = /*#__PURE__*/require("../../../
|
11
|
-
var _Heading = /*#__PURE__*/require("../../../
|
12
|
-
var _Text = /*#__PURE__*/require("../../../
|
9
|
+
var _Body = /*#__PURE__*/require("../../../typography/components/Body/Body");
|
10
|
+
var _Dspl = /*#__PURE__*/require("../../../typography/components/Dspl/Dspl");
|
11
|
+
var _Heading = /*#__PURE__*/require("../../../typography/components/Heading/Heading");
|
12
|
+
var _Text = /*#__PURE__*/require("../../../typography/components/Text/Text");
|
13
13
|
var _Editable2 = /*#__PURE__*/require("./Editable.config");
|
14
14
|
var typographyVariants = exports.typographyVariants = {
|
15
15
|
Body: _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/cjs/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/cjs/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
|
},
|