@salutejs/plasma-new-hope 0.317.0-canary.1886.14214080050.0 → 0.317.0-canary.1888.14214679698.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/components/Table/Table.css +24 -22
- package/cjs/components/Table/Table.js +11 -16
- package/cjs/components/Table/Table.js.map +1 -1
- package/cjs/components/Table/Table.styles.js +17 -11
- package/cjs/components/Table/Table.styles.js.map +1 -1
- package/cjs/components/Table/Table.styles_xngwgy.css +12 -0
- package/cjs/components/Table/Table.tokens.js +9 -0
- package/cjs/components/Table/Table.tokens.js.map +1 -1
- package/cjs/components/Table/ui/Cell/Cell.css +24 -22
- package/cjs/components/Table/ui/Cell/Cell.js.map +1 -1
- package/cjs/components/Table/ui/Cell/Cell.styles.js +1 -1
- package/cjs/components/Table/ui/Cell/Cell.styles.js.map +1 -1
- package/cjs/components/Table/ui/Cell/Cell.styles_1q2mjxm.css +1 -0
- package/cjs/components/Table/ui/EditableCell/EditableCell.css +25 -23
- package/cjs/components/Table/ui/EditableCell/EditableCell.js +15 -9
- package/cjs/components/Table/ui/EditableCell/EditableCell.js.map +1 -1
- package/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +5 -5
- package/cjs/components/Table/ui/EditableCell/EditableCell.styles.js.map +1 -1
- package/{es/components/Table/ui/EditableCell/EditableCell.styles_277bjm.css → cjs/components/Table/ui/EditableCell/EditableCell.styles_d8duzc.css} +2 -2
- package/cjs/components/Table/ui/HeadCell/HeadCell.css +24 -22
- package/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
- package/cjs/components/Table/ui/HeadCell/HeadCell.js.map +1 -1
- package/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +7 -1
- package/cjs/components/Table/ui/HeadCell/HeadCell.styles.js.map +1 -1
- package/{es/components/Table/ui/HeadCell/HeadCell.styles_1lo3lcf.css → cjs/components/Table/ui/HeadCell/HeadCell.styles_155gsrn.css} +1 -0
- package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +24 -22
- package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
- package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js.map +1 -1
- package/cjs/components/Typography/Body/Body.css +1 -1
- package/cjs/components/Typography/Typography.js +4 -4
- 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_c0qunc.css → Typography.styles_fa07dt.css} +1 -1
- package/cjs/components/Typography/tokens.js +1 -3
- package/cjs/components/Typography/tokens.js.map +1 -1
- package/cjs/engines/linaria.js +2 -4
- package/cjs/engines/linaria.js.map +1 -1
- package/cjs/index.css +27 -25
- package/emotion/cjs/components/Table/Table.js +14 -16
- package/emotion/cjs/components/Table/Table.styles.js +20 -16
- package/emotion/cjs/components/Table/Table.tokens.js +9 -1
- package/emotion/cjs/components/Table/ui/Cell/Cell.styles.js +2 -2
- package/emotion/cjs/components/Table/ui/EditableCell/EditableCell.js +15 -9
- package/emotion/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +9 -9
- package/emotion/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
- package/emotion/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +17 -5
- package/emotion/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
- package/emotion/cjs/components/Typography/Typography.js +4 -4
- package/emotion/cjs/components/Typography/Typography.styles.js +1 -1
- package/emotion/cjs/components/Typography/Typography.template-doc.mdx +9 -42
- package/emotion/cjs/components/Typography/tokens.js +1 -3
- package/emotion/cjs/examples/plasma_b2c/components/Table/Table.stories.tsx +7 -6
- package/emotion/cjs/examples/plasma_web/components/Table/Table.stories.tsx +7 -6
- package/emotion/cjs/examples/typography/components/Body/Body.config.js +5 -5
- package/emotion/cjs/examples/typography/components/Body/Body.stories.tsx +1 -17
- package/emotion/cjs/examples/typography/components/Dspl/Dspl.config.js +3 -3
- package/emotion/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +1 -17
- package/emotion/cjs/examples/typography/components/Heading/Heading.config.js +5 -5
- package/emotion/cjs/examples/typography/components/Heading/Heading.stories.tsx +1 -17
- package/emotion/cjs/examples/typography/components/Old/Body/Body.config.js +20 -0
- package/emotion/cjs/examples/typography/components/Old/Body/Body.js +11 -0
- package/emotion/cjs/examples/typography/components/Old/Body/Body.stories.tsx +40 -0
- package/emotion/cjs/examples/typography/components/Old/Button/Button.config.js +19 -0
- package/emotion/cjs/examples/typography/components/Old/Button/Button.js +11 -0
- package/emotion/cjs/examples/typography/components/Old/Button/Button.stories.tsx +40 -0
- package/emotion/cjs/examples/typography/components/Old/Caption/Caption.config.js +18 -0
- package/emotion/cjs/examples/typography/components/Old/Caption/Caption.js +11 -0
- package/emotion/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +40 -0
- package/emotion/cjs/examples/typography/components/Old/Display/Display.config.js +20 -0
- package/emotion/cjs/examples/typography/components/Old/Display/Display.js +11 -0
- package/emotion/cjs/examples/typography/components/Old/Display/Display.stories.tsx +40 -0
- package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +19 -0
- package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.js +11 -0
- package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +40 -0
- package/emotion/cjs/examples/typography/components/Old/Headline/Headline.config.js +21 -0
- package/emotion/cjs/examples/typography/components/Old/Headline/Headline.js +11 -0
- package/emotion/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +40 -0
- package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +19 -0
- package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +11 -0
- package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +42 -0
- package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +18 -0
- package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +11 -0
- package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +39 -0
- package/emotion/cjs/examples/typography/components/Old/Underline/Underline.config.js +18 -0
- package/emotion/cjs/examples/typography/components/Old/Underline/Underline.js +11 -0
- package/emotion/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +40 -0
- package/emotion/cjs/examples/typography/components/Text/Text.config.js +4 -4
- package/emotion/cjs/examples/typography/components/Text/Text.stories.tsx +1 -17
- package/emotion/es/components/Table/Table.js +15 -17
- package/emotion/es/components/Table/Table.styles.js +19 -15
- package/emotion/es/components/Table/Table.tokens.js +8 -0
- package/emotion/es/components/Table/ui/Cell/Cell.styles.js +2 -2
- package/emotion/es/components/Table/ui/EditableCell/EditableCell.js +15 -9
- package/emotion/es/components/Table/ui/EditableCell/EditableCell.styles.js +10 -10
- package/emotion/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
- package/emotion/es/components/Table/ui/HeadCell/HeadCell.styles.js +16 -4
- package/emotion/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
- package/emotion/es/components/Typography/Typography.js +4 -4
- package/emotion/es/components/Typography/Typography.styles.js +1 -1
- package/emotion/es/components/Typography/Typography.template-doc.mdx +9 -42
- package/emotion/es/components/Typography/tokens.js +1 -3
- package/emotion/es/examples/plasma_b2c/components/Table/Table.stories.tsx +7 -6
- package/emotion/es/examples/plasma_web/components/Table/Table.stories.tsx +7 -6
- package/emotion/es/examples/typography/components/Body/Body.config.js +5 -5
- package/emotion/es/examples/typography/components/Body/Body.stories.tsx +1 -17
- package/emotion/es/examples/typography/components/Dspl/Dspl.config.js +3 -3
- package/emotion/es/examples/typography/components/Dspl/Dspl.stories.tsx +1 -17
- package/emotion/es/examples/typography/components/Heading/Heading.config.js +5 -5
- package/emotion/es/examples/typography/components/Heading/Heading.stories.tsx +1 -17
- package/emotion/es/examples/typography/components/Old/Body/Body.config.js +14 -0
- package/emotion/es/examples/typography/components/Old/Body/Body.js +5 -0
- package/emotion/es/examples/typography/components/Old/Body/Body.stories.tsx +40 -0
- package/emotion/es/examples/typography/components/Old/Button/Button.config.js +13 -0
- package/emotion/es/examples/typography/components/Old/Button/Button.js +5 -0
- package/emotion/es/examples/typography/components/Old/Button/Button.stories.tsx +40 -0
- package/emotion/es/examples/typography/components/Old/Caption/Caption.config.js +12 -0
- package/emotion/es/examples/typography/components/Old/Caption/Caption.js +5 -0
- package/emotion/es/examples/typography/components/Old/Caption/Caption.stories.tsx +40 -0
- package/emotion/es/examples/typography/components/Old/Display/Display.config.js +14 -0
- package/emotion/es/examples/typography/components/Old/Display/Display.js +5 -0
- package/emotion/es/examples/typography/components/Old/Display/Display.stories.tsx +40 -0
- package/emotion/es/examples/typography/components/Old/Footnote/Footnote.config.js +13 -0
- package/emotion/es/examples/typography/components/Old/Footnote/Footnote.js +5 -0
- package/emotion/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +40 -0
- package/emotion/es/examples/typography/components/Old/Headline/Headline.config.js +15 -0
- package/emotion/es/examples/typography/components/Old/Headline/Headline.js +5 -0
- package/emotion/es/examples/typography/components/Old/Headline/Headline.stories.tsx +40 -0
- package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +13 -0
- package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.js +5 -0
- package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +42 -0
- package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +12 -0
- package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.js +5 -0
- package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +39 -0
- package/emotion/es/examples/typography/components/Old/Underline/Underline.config.js +12 -0
- package/emotion/es/examples/typography/components/Old/Underline/Underline.js +5 -0
- package/emotion/es/examples/typography/components/Old/Underline/Underline.stories.tsx +40 -0
- package/emotion/es/examples/typography/components/Text/Text.config.js +4 -4
- package/emotion/es/examples/typography/components/Text/Text.stories.tsx +1 -17
- package/es/components/Table/Table.css +24 -22
- package/es/components/Table/Table.js +13 -18
- package/es/components/Table/Table.js.map +1 -1
- package/es/components/Table/Table.styles.js +17 -12
- package/es/components/Table/Table.styles.js.map +1 -1
- package/es/components/Table/Table.styles_xngwgy.css +12 -0
- package/es/components/Table/Table.tokens.js +9 -1
- package/es/components/Table/Table.tokens.js.map +1 -1
- package/es/components/Table/ui/Cell/Cell.css +24 -22
- package/es/components/Table/ui/Cell/Cell.js.map +1 -1
- package/es/components/Table/ui/Cell/Cell.styles.js +1 -1
- package/es/components/Table/ui/Cell/Cell.styles.js.map +1 -1
- package/es/components/Table/ui/Cell/Cell.styles_1q2mjxm.css +1 -0
- package/es/components/Table/ui/EditableCell/EditableCell.css +25 -23
- package/es/components/Table/ui/EditableCell/EditableCell.js +15 -9
- package/es/components/Table/ui/EditableCell/EditableCell.js.map +1 -1
- package/es/components/Table/ui/EditableCell/EditableCell.styles.js +5 -5
- package/es/components/Table/ui/EditableCell/EditableCell.styles.js.map +1 -1
- package/{cjs/components/Table/ui/EditableCell/EditableCell.styles_277bjm.css → es/components/Table/ui/EditableCell/EditableCell.styles_d8duzc.css} +2 -2
- package/es/components/Table/ui/HeadCell/HeadCell.css +24 -22
- package/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
- package/es/components/Table/ui/HeadCell/HeadCell.js.map +1 -1
- package/es/components/Table/ui/HeadCell/HeadCell.styles.js +7 -2
- package/es/components/Table/ui/HeadCell/HeadCell.styles.js.map +1 -1
- package/{cjs/components/Table/ui/HeadCell/HeadCell.styles_1lo3lcf.css → es/components/Table/ui/HeadCell/HeadCell.styles_155gsrn.css} +1 -0
- package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +24 -22
- package/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
- package/es/components/Table/ui/HeadCell/ui/Filter/Filter.js.map +1 -1
- package/es/components/Typography/Body/Body.css +1 -1
- package/es/components/Typography/Typography.js +4 -4
- 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_c0qunc.css → Typography.styles_fa07dt.css} +1 -1
- package/es/components/Typography/tokens.js +1 -3
- package/es/components/Typography/tokens.js.map +1 -1
- package/es/engines/linaria.js +2 -4
- package/es/engines/linaria.js.map +1 -1
- package/es/index.css +27 -25
- package/package.json +2 -2
- package/styled-components/cjs/components/Table/Table.js +14 -16
- package/styled-components/cjs/components/Table/Table.styles.js +13 -10
- package/styled-components/cjs/components/Table/Table.tokens.js +9 -1
- package/styled-components/cjs/components/Table/ui/Cell/Cell.styles.js +1 -1
- package/styled-components/cjs/components/Table/ui/EditableCell/EditableCell.js +15 -9
- package/styled-components/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +3 -3
- package/styled-components/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
- package/styled-components/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +5 -2
- package/styled-components/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
- package/styled-components/cjs/components/Typography/Typography.js +4 -4
- package/styled-components/cjs/components/Typography/Typography.styles.js +1 -1
- package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +9 -42
- package/styled-components/cjs/components/Typography/tokens.js +1 -3
- package/styled-components/cjs/examples/plasma_b2c/components/Table/Table.stories.tsx +7 -6
- package/styled-components/cjs/examples/plasma_web/components/Table/Table.stories.tsx +7 -6
- package/styled-components/cjs/examples/typography/components/Body/Body.config.js +5 -5
- package/styled-components/cjs/examples/typography/components/Body/Body.stories.tsx +1 -17
- package/styled-components/cjs/examples/typography/components/Dspl/Dspl.config.js +3 -3
- package/styled-components/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +1 -17
- package/styled-components/cjs/examples/typography/components/Heading/Heading.config.js +5 -5
- package/styled-components/cjs/examples/typography/components/Heading/Heading.stories.tsx +1 -17
- package/styled-components/cjs/examples/typography/components/Old/Body/Body.config.js +20 -0
- package/styled-components/cjs/examples/typography/components/Old/Body/Body.js +11 -0
- package/styled-components/cjs/examples/typography/components/Old/Body/Body.stories.tsx +40 -0
- package/styled-components/cjs/examples/typography/components/Old/Button/Button.config.js +19 -0
- package/styled-components/cjs/examples/typography/components/Old/Button/Button.js +11 -0
- package/styled-components/cjs/examples/typography/components/Old/Button/Button.stories.tsx +40 -0
- package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.config.js +18 -0
- package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.js +11 -0
- package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +40 -0
- package/styled-components/cjs/examples/typography/components/Old/Display/Display.config.js +20 -0
- package/styled-components/cjs/examples/typography/components/Old/Display/Display.js +11 -0
- package/styled-components/cjs/examples/typography/components/Old/Display/Display.stories.tsx +40 -0
- package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +19 -0
- package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.js +11 -0
- package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +40 -0
- package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.config.js +21 -0
- package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.js +11 -0
- package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +40 -0
- package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +19 -0
- package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +11 -0
- package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +42 -0
- package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +18 -0
- package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +11 -0
- package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +39 -0
- package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.config.js +18 -0
- package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.js +11 -0
- package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +40 -0
- package/styled-components/cjs/examples/typography/components/Text/Text.config.js +4 -4
- package/styled-components/cjs/examples/typography/components/Text/Text.stories.tsx +1 -17
- package/styled-components/es/components/Table/Table.js +15 -17
- package/styled-components/es/components/Table/Table.styles.js +12 -9
- package/styled-components/es/components/Table/Table.tokens.js +8 -0
- package/styled-components/es/components/Table/ui/Cell/Cell.styles.js +1 -1
- package/styled-components/es/components/Table/ui/EditableCell/EditableCell.js +15 -9
- package/styled-components/es/components/Table/ui/EditableCell/EditableCell.styles.js +4 -4
- package/styled-components/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
- package/styled-components/es/components/Table/ui/HeadCell/HeadCell.styles.js +4 -1
- package/styled-components/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
- package/styled-components/es/components/Typography/Typography.js +4 -4
- package/styled-components/es/components/Typography/Typography.styles.js +1 -1
- package/styled-components/es/components/Typography/Typography.template-doc.mdx +9 -42
- package/styled-components/es/components/Typography/tokens.js +1 -3
- package/styled-components/es/examples/plasma_b2c/components/Table/Table.stories.tsx +7 -6
- package/styled-components/es/examples/plasma_web/components/Table/Table.stories.tsx +7 -6
- package/styled-components/es/examples/typography/components/Body/Body.config.js +5 -5
- package/styled-components/es/examples/typography/components/Body/Body.stories.tsx +1 -17
- package/styled-components/es/examples/typography/components/Dspl/Dspl.config.js +3 -3
- package/styled-components/es/examples/typography/components/Dspl/Dspl.stories.tsx +1 -17
- package/styled-components/es/examples/typography/components/Heading/Heading.config.js +5 -5
- package/styled-components/es/examples/typography/components/Heading/Heading.stories.tsx +1 -17
- package/styled-components/es/examples/typography/components/Old/Body/Body.config.js +14 -0
- package/styled-components/es/examples/typography/components/Old/Body/Body.js +5 -0
- package/styled-components/es/examples/typography/components/Old/Body/Body.stories.tsx +40 -0
- package/styled-components/es/examples/typography/components/Old/Button/Button.config.js +13 -0
- package/styled-components/es/examples/typography/components/Old/Button/Button.js +5 -0
- package/styled-components/es/examples/typography/components/Old/Button/Button.stories.tsx +40 -0
- package/styled-components/es/examples/typography/components/Old/Caption/Caption.config.js +12 -0
- package/styled-components/es/examples/typography/components/Old/Caption/Caption.js +5 -0
- package/styled-components/es/examples/typography/components/Old/Caption/Caption.stories.tsx +40 -0
- package/styled-components/es/examples/typography/components/Old/Display/Display.config.js +14 -0
- package/styled-components/es/examples/typography/components/Old/Display/Display.js +5 -0
- package/styled-components/es/examples/typography/components/Old/Display/Display.stories.tsx +40 -0
- package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.config.js +13 -0
- package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.js +5 -0
- package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +40 -0
- package/styled-components/es/examples/typography/components/Old/Headline/Headline.config.js +15 -0
- package/styled-components/es/examples/typography/components/Old/Headline/Headline.js +5 -0
- package/styled-components/es/examples/typography/components/Old/Headline/Headline.stories.tsx +40 -0
- package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +13 -0
- package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.js +5 -0
- package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +42 -0
- package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +12 -0
- package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.js +5 -0
- package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +39 -0
- package/styled-components/es/examples/typography/components/Old/Underline/Underline.config.js +12 -0
- package/styled-components/es/examples/typography/components/Old/Underline/Underline.js +5 -0
- package/styled-components/es/examples/typography/components/Old/Underline/Underline.stories.tsx +40 -0
- package/styled-components/es/examples/typography/components/Text/Text.config.js +4 -4
- package/styled-components/es/examples/typography/components/Text/Text.stories.tsx +1 -17
- package/types/components/Table/Table.d.ts +2 -15
- package/types/components/Table/Table.d.ts.map +1 -1
- package/types/components/Table/Table.styles.d.ts +1 -0
- package/types/components/Table/Table.styles.d.ts.map +1 -1
- package/types/components/Table/Table.tokens.d.ts +8 -0
- package/types/components/Table/Table.tokens.d.ts.map +1 -1
- package/types/components/Table/Table.types.d.ts +11 -1
- package/types/components/Table/Table.types.d.ts.map +1 -1
- package/types/components/Table/ui/Cell/Cell.d.ts +3 -2
- package/types/components/Table/ui/Cell/Cell.d.ts.map +1 -1
- package/types/components/Table/ui/EditableCell/EditableCell.d.ts +12 -1
- package/types/components/Table/ui/EditableCell/EditableCell.d.ts.map +1 -1
- package/types/components/Table/ui/HeadCell/HeadCell.d.ts +11 -1
- package/types/components/Table/ui/HeadCell/HeadCell.d.ts.map +1 -1
- package/types/components/Table/ui/HeadCell/HeadCell.styles.d.ts +1 -0
- package/types/components/Table/ui/HeadCell/HeadCell.styles.d.ts.map +1 -1
- package/types/components/Table/ui/HeadCell/ui/Filter/Filter.d.ts +10 -1
- package/types/components/Table/ui/HeadCell/ui/Filter/Filter.d.ts.map +1 -1
- package/types/components/Typography/Body/Body.d.ts +10 -2
- package/types/components/Typography/Body/Body.d.ts.map +1 -1
- package/types/components/Typography/Dspl/Dspl.d.ts +10 -2
- package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
- package/types/components/Typography/Heading/Heading.d.ts +10 -2
- package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
- package/types/components/Typography/Text/Text.d.ts +10 -2
- package/types/components/Typography/Text/Text.d.ts.map +1 -1
- package/types/components/Typography/Typography.d.ts +5 -1
- 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 +5 -23
- package/types/components/Typography/Typography.types.d.ts.map +1 -1
- package/types/components/Typography/tokens.d.ts +0 -2
- package/types/components/Typography/tokens.d.ts.map +1 -1
- package/cjs/components/Table/Table.styles_1eg2zsx.css +0 -11
- package/cjs/components/Table/ui/Cell/Cell.styles_1ikyrwt.css +0 -1
- package/es/components/Table/Table.styles_1eg2zsx.css +0 -11
- package/es/components/Table/ui/Cell/Cell.styles_1ikyrwt.css +0 -1
@@ -9,7 +9,7 @@ import { Dspl } from './Dspl';
|
|
9
9
|
import { config } from './Dspl.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Dspl> = {
|
12
|
-
title: '
|
12
|
+
title: 'Data Display/Typography/Dspl',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Dspl,
|
15
15
|
argTypes: {
|
@@ -19,27 +19,11 @@ const meta: Meta<typeof Dspl> = {
|
|
19
19
|
type: 'color',
|
20
20
|
},
|
21
21
|
},
|
22
|
-
as: {
|
23
|
-
control: 'text',
|
24
|
-
},
|
25
|
-
bold: {
|
26
|
-
control: {
|
27
|
-
type: 'boolean',
|
28
|
-
},
|
29
|
-
if: { arg: 'medium', truthy: false },
|
30
|
-
},
|
31
|
-
medium: {
|
32
|
-
control: {
|
33
|
-
type: 'boolean',
|
34
|
-
},
|
35
|
-
if: { arg: 'bold', truthy: false },
|
36
|
-
},
|
37
22
|
},
|
38
23
|
args: {
|
39
24
|
noWrap: false,
|
40
25
|
breakWord: true,
|
41
26
|
bold: false,
|
42
|
-
medium: false,
|
43
27
|
},
|
44
28
|
};
|
45
29
|
|
@@ -6,11 +6,11 @@ export var config = {
|
|
6
6
|
},
|
7
7
|
variations: {
|
8
8
|
size: {
|
9
|
-
h1: /*#__PURE__*/css(["", ":var(--plasma-typo-h1-font-family);", ":var(--plasma-typo-h1-font-size);", ":var(--plasma-typo-h1-font-style);", ":var(--plasma-typo-h1-font-weight);", ":var(--plasma-typo-h1-bold-font-weight);", ":var(--plasma-typo-h1-
|
10
|
-
h2: /*#__PURE__*/css(["", ":var(--plasma-typo-h2-font-family);", ":var(--plasma-typo-h2-font-size);", ":var(--plasma-typo-h2-font-style);", ":var(--plasma-typo-h2-font-weight);", ":var(--plasma-typo-h2-bold-font-weight);", ":var(--plasma-typo-h2-
|
11
|
-
h3: /*#__PURE__*/css(["", ":var(--plasma-typo-h3-font-family);", ":var(--plasma-typo-h3-font-size);", ":var(--plasma-typo-h3-font-style);", ":var(--plasma-typo-h3-font-weight);", ":var(--plasma-typo-h3-bold-font-weight);", ":var(--plasma-typo-h3-
|
12
|
-
h4: /*#__PURE__*/css(["", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":var(--plasma-typo-h4-
|
13
|
-
h5: /*#__PURE__*/css(["", ":var(--plasma-typo-h5-font-family);", ":var(--plasma-typo-h5-font-size);", ":var(--plasma-typo-h5-font-style);", ":var(--plasma-typo-h5-font-weight);", ":var(--plasma-typo-h5-bold-font-weight);", ":var(--plasma-typo-h5-
|
9
|
+
h1: /*#__PURE__*/css(["", ":var(--plasma-typo-h1-font-family);", ":var(--plasma-typo-h1-font-size);", ":var(--plasma-typo-h1-font-style);", ":var(--plasma-typo-h1-font-weight);", ":var(--plasma-typo-h1-bold-font-weight);", ":var(--plasma-typo-h1-letter-spacing);", ":var(--plasma-typo-h1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
h2: /*#__PURE__*/css(["", ":var(--plasma-typo-h2-font-family);", ":var(--plasma-typo-h2-font-size);", ":var(--plasma-typo-h2-font-style);", ":var(--plasma-typo-h2-font-weight);", ":var(--plasma-typo-h2-bold-font-weight);", ":var(--plasma-typo-h2-letter-spacing);", ":var(--plasma-typo-h2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
11
|
+
h3: /*#__PURE__*/css(["", ":var(--plasma-typo-h3-font-family);", ":var(--plasma-typo-h3-font-size);", ":var(--plasma-typo-h3-font-style);", ":var(--plasma-typo-h3-font-weight);", ":var(--plasma-typo-h3-bold-font-weight);", ":var(--plasma-typo-h3-letter-spacing);", ":var(--plasma-typo-h3-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
12
|
+
h4: /*#__PURE__*/css(["", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
13
|
+
h5: /*#__PURE__*/css(["", ":var(--plasma-typo-h5-font-family);", ":var(--plasma-typo-h5-font-size);", ":var(--plasma-typo-h5-font-style);", ":var(--plasma-typo-h5-font-weight);", ":var(--plasma-typo-h5-bold-font-weight);", ":var(--plasma-typo-h5-letter-spacing);", ":var(--plasma-typo-h5-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
14
14
|
}
|
15
15
|
}
|
16
16
|
};
|
@@ -9,7 +9,7 @@ import { Heading } from './Heading';
|
|
9
9
|
import { config } from './Heading.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Heading> = {
|
12
|
-
title: '
|
12
|
+
title: 'Data Display/Typography/Heading',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Heading,
|
15
15
|
argTypes: {
|
@@ -19,27 +19,11 @@ const meta: Meta<typeof Heading> = {
|
|
19
19
|
type: 'color',
|
20
20
|
},
|
21
21
|
},
|
22
|
-
as: {
|
23
|
-
control: 'text',
|
24
|
-
},
|
25
|
-
bold: {
|
26
|
-
control: {
|
27
|
-
type: 'boolean',
|
28
|
-
},
|
29
|
-
if: { arg: 'medium', truthy: false },
|
30
|
-
},
|
31
|
-
medium: {
|
32
|
-
control: {
|
33
|
-
type: 'boolean',
|
34
|
-
},
|
35
|
-
if: { arg: 'bold', truthy: false },
|
36
|
-
},
|
37
22
|
},
|
38
23
|
args: {
|
39
24
|
noWrap: false,
|
40
25
|
breakWord: true,
|
41
26
|
bold: false,
|
42
|
-
medium: false,
|
43
27
|
},
|
44
28
|
};
|
45
29
|
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { css } from 'styled-components';
|
2
|
+
import { tokens } from '../../../../../components/Typography/tokens';
|
3
|
+
export var config = {
|
4
|
+
defaults: {
|
5
|
+
size: 'body1'
|
6
|
+
},
|
7
|
+
variations: {
|
8
|
+
size: {
|
9
|
+
body1: /*#__PURE__*/css(["", ":var(--plasma-typo-body1-font-family);", ":var(--plasma-typo-body1-font-size);", ":var(--plasma-typo-body1-font-style);", ":var(--plasma-typo-body1-font-weight);", ":var(--plasma-typo-body1-letter-spacing);", ":var(--plasma-typo-body1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
body2: /*#__PURE__*/css(["", ":var(--plasma-typo-body2-font-family);", ":var(--plasma-typo-body2-font-size);", ":var(--plasma-typo-body2-font-style);", ":var(--plasma-typo-body2-font-weight);", ":var(--plasma-typo-body2-letter-spacing);", ":var(--plasma-typo-body2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
11
|
+
body3: /*#__PURE__*/css(["", ":var(--plasma-typo-body3-font-family);", ":var(--plasma-typo-body3-font-size);", ":var(--plasma-typo-body3-font-style);", ":var(--plasma-typo-body3-font-weight);", ":var(--plasma-typo-body3-letter-spacing);", ":var(--plasma-typo-body3-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
12
|
+
}
|
13
|
+
}
|
14
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { oldBodyConfig } from '../../../../../components/Typography';
|
2
|
+
import { component, mergeConfig } from '../../../../../engines';
|
3
|
+
import { config } from './Body.config';
|
4
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(oldBodyConfig, config);
|
5
|
+
export var OldBody = /*#__PURE__*/component(mergedConfig);
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
|
4
|
+
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
+
import { mergeConfig } from '../../../../../engines';
|
6
|
+
import { oldBodyConfig } from '../../../../../components/Typography';
|
7
|
+
|
8
|
+
import { OldBody } from './Body';
|
9
|
+
import { config } from './Body.config';
|
10
|
+
|
11
|
+
const meta: Meta<typeof OldBody> = {
|
12
|
+
title: 'Data Display/Typography/Old/Body',
|
13
|
+
decorators: [WithTheme],
|
14
|
+
component: OldBody,
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(oldBodyConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
23
|
+
args: {
|
24
|
+
noWrap: false,
|
25
|
+
breakWord: true,
|
26
|
+
},
|
27
|
+
};
|
28
|
+
|
29
|
+
export default meta;
|
30
|
+
|
31
|
+
export const Default: StoryObj<typeof OldBody> = {
|
32
|
+
render: (props) => {
|
33
|
+
return (
|
34
|
+
<OldBody {...props}>
|
35
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
36
|
+
distinctio modi quo, provident quod.
|
37
|
+
</OldBody>
|
38
|
+
);
|
39
|
+
},
|
40
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { css } from 'styled-components';
|
2
|
+
import { tokens } from '../../../../../components/Typography/tokens';
|
3
|
+
export var config = {
|
4
|
+
defaults: {
|
5
|
+
size: 'button1'
|
6
|
+
},
|
7
|
+
variations: {
|
8
|
+
size: {
|
9
|
+
button1: /*#__PURE__*/css(["", ":var(--plasma-typo-button1-font-family);", ":var(--plasma-typo-button1-font-size);", ":var(--plasma-typo-button1-font-style);", ":var(--plasma-typo-button1-font-weight);", ":var(--plasma-typo-button1-letter-spacing);", ":var(--plasma-typo-button1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
button2: /*#__PURE__*/css(["", ":var(--plasma-typo-button2-font-family);", ":var(--plasma-typo-button2-font-size);", ":var(--plasma-typo-button2-font-style);", ":var(--plasma-typo-button2-font-weight);", ":var(--plasma-typo-button2-letter-spacing);", ":var(--plasma-typo-button2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
11
|
+
}
|
12
|
+
}
|
13
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { buttonTypographyConfig } from '../../../../../components/Typography';
|
2
|
+
import { component, mergeConfig } from '../../../../../engines';
|
3
|
+
import { config } from './Button.config';
|
4
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(buttonTypographyConfig, config);
|
5
|
+
export var Button = /*#__PURE__*/component(mergedConfig);
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
|
4
|
+
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
+
import { mergeConfig } from '../../../../../engines';
|
6
|
+
import { buttonTypographyConfig } from '../../../../../components/Typography';
|
7
|
+
|
8
|
+
import { Button } from './Button';
|
9
|
+
import { config } from './Button.config';
|
10
|
+
|
11
|
+
const meta: Meta<typeof Button> = {
|
12
|
+
title: 'Data Display/Typography/Old/Button',
|
13
|
+
decorators: [WithTheme],
|
14
|
+
component: Button,
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(buttonTypographyConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
23
|
+
args: {
|
24
|
+
noWrap: false,
|
25
|
+
breakWord: true,
|
26
|
+
},
|
27
|
+
};
|
28
|
+
|
29
|
+
export default meta;
|
30
|
+
|
31
|
+
export const Default: StoryObj<typeof Button> = {
|
32
|
+
render: (props) => {
|
33
|
+
return (
|
34
|
+
<Button {...props}>
|
35
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
36
|
+
distinctio modi quo, provident quod.
|
37
|
+
</Button>
|
38
|
+
);
|
39
|
+
},
|
40
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { css } from 'styled-components';
|
2
|
+
import { tokens } from '../../../../../components/Typography/tokens';
|
3
|
+
export var config = {
|
4
|
+
defaults: {
|
5
|
+
size: 'm'
|
6
|
+
},
|
7
|
+
variations: {
|
8
|
+
size: {
|
9
|
+
m: /*#__PURE__*/css(["", ":var(--plasma-typo-caption-font-family);", ":var(--plasma-typo-caption-font-size);", ":var(--plasma-typo-caption-font-style);", ":var(--plasma-typo-caption-font-weight);", ":var(--plasma-typo-caption-letter-spacing);", ":var(--plasma-typo-caption-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
10
|
+
}
|
11
|
+
}
|
12
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { captionConfig } from '../../../../../components/Typography';
|
2
|
+
import { component, mergeConfig } from '../../../../../engines';
|
3
|
+
import { config } from './Caption.config';
|
4
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(captionConfig, config);
|
5
|
+
export var Caption = /*#__PURE__*/component(mergedConfig);
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
|
4
|
+
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
+
import { mergeConfig } from '../../../../../engines';
|
6
|
+
import { captionConfig } from '../../../../../components/Typography';
|
7
|
+
|
8
|
+
import { Caption } from './Caption';
|
9
|
+
import { config } from './Caption.config';
|
10
|
+
|
11
|
+
const meta: Meta<typeof Caption> = {
|
12
|
+
title: 'Data Display/Typography/Old/Caption',
|
13
|
+
decorators: [WithTheme],
|
14
|
+
component: Caption,
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(captionConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
23
|
+
args: {
|
24
|
+
noWrap: false,
|
25
|
+
breakWord: true,
|
26
|
+
},
|
27
|
+
};
|
28
|
+
|
29
|
+
export default meta;
|
30
|
+
|
31
|
+
export const Default: StoryObj<typeof Caption> = {
|
32
|
+
render: (props) => {
|
33
|
+
return (
|
34
|
+
<Caption {...props}>
|
35
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
36
|
+
distinctio modi quo, provident quod.
|
37
|
+
</Caption>
|
38
|
+
);
|
39
|
+
},
|
40
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { css } from 'styled-components';
|
2
|
+
import { tokens } from '../../../../../components/Typography/tokens';
|
3
|
+
export var config = {
|
4
|
+
defaults: {
|
5
|
+
size: 'display1'
|
6
|
+
},
|
7
|
+
variations: {
|
8
|
+
size: {
|
9
|
+
display1: /*#__PURE__*/css(["", ":var(--plasma-typo-display1-font-family);", ":var(--plasma-typo-display1-font-size);", ":var(--plasma-typo-display1-font-style);", ":var(--plasma-typo-display1-font-weight);", ":var(--plasma-typo-display1-letter-spacing);", ":var(--plasma-typo-display1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
display2: /*#__PURE__*/css(["", ":var(--plasma-typo-display2-font-family);", ":var(--plasma-typo-display2-font-size);", ":var(--plasma-typo-display2-font-style);", ":var(--plasma-typo-display2-font-weight);", ":var(--plasma-typo-display2-letter-spacing);", ":var(--plasma-typo-display2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
11
|
+
display3: /*#__PURE__*/css(["", ":var(--plasma-typo-display3-font-family);", ":var(--plasma-typo-display3-font-size);", ":var(--plasma-typo-display3-font-style);", ":var(--plasma-typo-display3-font-weight);", ":var(--plasma-typo-display3-letter-spacing);", ":var(--plasma-typo-display3-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
12
|
+
}
|
13
|
+
}
|
14
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { displayConfig } from '../../../../../components/Typography';
|
2
|
+
import { component, mergeConfig } from '../../../../../engines';
|
3
|
+
import { config } from './Display.config';
|
4
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(displayConfig, config);
|
5
|
+
export var Display = /*#__PURE__*/component(mergedConfig);
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
|
4
|
+
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
+
import { mergeConfig } from '../../../../../engines';
|
6
|
+
import { displayConfig } from '../../../../../components/Typography';
|
7
|
+
|
8
|
+
import { Display } from './Display';
|
9
|
+
import { config } from './Display.config';
|
10
|
+
|
11
|
+
const meta: Meta<typeof Display> = {
|
12
|
+
title: 'Data Display/Typography/Old/Display',
|
13
|
+
decorators: [WithTheme],
|
14
|
+
component: Display,
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(displayConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
23
|
+
args: {
|
24
|
+
noWrap: false,
|
25
|
+
breakWord: true,
|
26
|
+
},
|
27
|
+
};
|
28
|
+
|
29
|
+
export default meta;
|
30
|
+
|
31
|
+
export const Default: StoryObj<typeof Display> = {
|
32
|
+
render: (props) => {
|
33
|
+
return (
|
34
|
+
<Display {...props}>
|
35
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
36
|
+
distinctio modi quo, provident quod.
|
37
|
+
</Display>
|
38
|
+
);
|
39
|
+
},
|
40
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { css } from 'styled-components';
|
2
|
+
import { tokens } from '../../../../../components/Typography/tokens';
|
3
|
+
export var config = {
|
4
|
+
defaults: {
|
5
|
+
size: 'footnote1'
|
6
|
+
},
|
7
|
+
variations: {
|
8
|
+
size: {
|
9
|
+
footnote1: /*#__PURE__*/css(["", ":var(--plasma-typo-footnote1-font-family);", ":var(--plasma-typo-footnote1-font-size);", ":var(--plasma-typo-footnote1-font-style);", ":var(--plasma-typo-footnote1-font-weight);", ":var(--plasma-typo-footnote1-letter-spacing);", ":var(--plasma-typo-footnote1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
footnote2: /*#__PURE__*/css(["", ":var(--plasma-typo-footnote2-font-family);", ":var(--plasma-typo-footnote2-font-size);", ":var(--plasma-typo-footnote2-font-style);", ":var(--plasma-typo-footnote2-font-weight);", ":var(--plasma-typo-footnote2-letter-spacing);", ":var(--plasma-typo-footnote2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
11
|
+
}
|
12
|
+
}
|
13
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { footnoteConfig } from '../../../../../components/Typography';
|
2
|
+
import { component, mergeConfig } from '../../../../../engines';
|
3
|
+
import { config } from './Footnote.config';
|
4
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(footnoteConfig, config);
|
5
|
+
export var Footnote = /*#__PURE__*/component(mergedConfig);
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
|
4
|
+
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
+
import { mergeConfig } from '../../../../../engines';
|
6
|
+
import { footnoteConfig } from '../../../../../components/Typography';
|
7
|
+
|
8
|
+
import { Footnote } from './Footnote';
|
9
|
+
import { config } from './Footnote.config';
|
10
|
+
|
11
|
+
const meta: Meta<typeof Footnote> = {
|
12
|
+
title: 'Data Display/Typography/Old/Footnote',
|
13
|
+
decorators: [WithTheme],
|
14
|
+
component: Footnote,
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(footnoteConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
23
|
+
args: {
|
24
|
+
noWrap: false,
|
25
|
+
breakWord: true,
|
26
|
+
},
|
27
|
+
};
|
28
|
+
|
29
|
+
export default meta;
|
30
|
+
|
31
|
+
export const Default: StoryObj<typeof Footnote> = {
|
32
|
+
render: (props) => {
|
33
|
+
return (
|
34
|
+
<Footnote {...props}>
|
35
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
36
|
+
distinctio modi quo, provident quod.
|
37
|
+
</Footnote>
|
38
|
+
);
|
39
|
+
},
|
40
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { css } from 'styled-components';
|
2
|
+
import { tokens } from '../../../../../components/Typography/tokens';
|
3
|
+
export var config = {
|
4
|
+
defaults: {
|
5
|
+
size: 'headline1'
|
6
|
+
},
|
7
|
+
variations: {
|
8
|
+
size: {
|
9
|
+
headline1: /*#__PURE__*/css(["", ":var(--plasma-typo-headline1-font-family);", ":var(--plasma-typo-headline1-font-size);", ":var(--plasma-typo-headline1-font-style);", ":var(--plasma-typo-headline1-font-weight);", ":var(--plasma-typo-headline1-letter-spacing);", ":var(--plasma-typo-headline1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
headline2: /*#__PURE__*/css(["", ":var(--plasma-typo-headline2-font-family);", ":var(--plasma-typo-headline2-font-size);", ":var(--plasma-typo-headline2-font-style);", ":var(--plasma-typo-headline2-font-weight);", ":var(--plasma-typo-headline2-letter-spacing);", ":var(--plasma-typo-headline2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
11
|
+
headline3: /*#__PURE__*/css(["", ":var(--plasma-typo-headline3-font-family);", ":var(--plasma-typo-headline3-font-size);", ":var(--plasma-typo-headline3-font-style);", ":var(--plasma-typo-headline3-font-weight);", ":var(--plasma-typo-headline3-letter-spacing);", ":var(--plasma-typo-headline3-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
12
|
+
headline4: /*#__PURE__*/css(["", ":var(--plasma-typo-headline4-font-family);", ":var(--plasma-typo-headline4-font-size);", ":var(--plasma-typo-headline4-font-style);", ":var(--plasma-typo-headline4-font-weight);", ":var(--plasma-typo-headline4-letter-spacing);", ":var(--plasma-typo-headline4-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
13
|
+
}
|
14
|
+
}
|
15
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { headlineConfig } from '../../../../../components/Typography';
|
2
|
+
import { component, mergeConfig } from '../../../../../engines';
|
3
|
+
import { config } from './Headline.config';
|
4
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(headlineConfig, config);
|
5
|
+
export var Headline = /*#__PURE__*/component(mergedConfig);
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
|
4
|
+
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
+
import { mergeConfig } from '../../../../../engines';
|
6
|
+
import { headlineConfig } from '../../../../../components/Typography';
|
7
|
+
|
8
|
+
import { Headline } from './Headline';
|
9
|
+
import { config } from './Headline.config';
|
10
|
+
|
11
|
+
const meta: Meta<typeof Headline> = {
|
12
|
+
title: 'Data Display/Typography/Old/Headline',
|
13
|
+
decorators: [WithTheme],
|
14
|
+
component: Headline,
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(headlineConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
23
|
+
args: {
|
24
|
+
noWrap: false,
|
25
|
+
breakWord: true,
|
26
|
+
},
|
27
|
+
};
|
28
|
+
|
29
|
+
export default meta;
|
30
|
+
|
31
|
+
export const Default: StoryObj<typeof Headline> = {
|
32
|
+
render: (props) => {
|
33
|
+
return (
|
34
|
+
<Headline {...props}>
|
35
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
36
|
+
distinctio modi quo, provident quod.
|
37
|
+
</Headline>
|
38
|
+
);
|
39
|
+
},
|
40
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { css } from 'styled-components';
|
2
|
+
import { tokens } from '../../../../../components/Typography/tokens';
|
3
|
+
export var config = {
|
4
|
+
defaults: {
|
5
|
+
size: 'paragraph1'
|
6
|
+
},
|
7
|
+
variations: {
|
8
|
+
size: {
|
9
|
+
paragraph1: /*#__PURE__*/css(["", ":var(--plasma-typo-paragraph1-font-family);", ":var(--plasma-typo-paragraph1-font-size);", ":var(--plasma-typo-paragraph1-font-style);", ":var(--plasma-typo-paragraph1-font-weight);", ":var(--plasma-typo-paragraph1-letter-spacing);", ":var(--plasma-typo-paragraph1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
paragraph2: /*#__PURE__*/css(["", ":var(--plasma-typo-paragraph2-font-family);", ":var(--plasma-typo-paragraph2-font-size);", ":var(--plasma-typo-paragraph2-font-style);", ":var(--plasma-typo-paragraph2-font-weight);", ":var(--plasma-typo-paragraph2-letter-spacing);", ":var(--plasma-typo-paragraph2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
11
|
+
}
|
12
|
+
}
|
13
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { paragraphConfig } from '../../../../../components/Typography';
|
2
|
+
import { component, mergeConfig } from '../../../../../engines';
|
3
|
+
import { config } from './Paragraph.config';
|
4
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(paragraphConfig, config);
|
5
|
+
export var Paragraph = /*#__PURE__*/component(mergedConfig);
|
package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
|
4
|
+
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
+
import { mergeConfig } from '../../../../../engines';
|
6
|
+
import { paragraphConfig } from '../../../../../components/Typography';
|
7
|
+
|
8
|
+
import { Paragraph } from './Paragraph';
|
9
|
+
import { config } from './Paragraph.config';
|
10
|
+
|
11
|
+
const meta: Meta<typeof Paragraph> = {
|
12
|
+
title: 'Data Display/Typography/Old/Paragraph',
|
13
|
+
decorators: [WithTheme],
|
14
|
+
component: Paragraph,
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(paragraphConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
23
|
+
args: {
|
24
|
+
noWrap: false,
|
25
|
+
breakWord: true,
|
26
|
+
resetMargin: false,
|
27
|
+
m: 2,
|
28
|
+
},
|
29
|
+
};
|
30
|
+
|
31
|
+
export default meta;
|
32
|
+
|
33
|
+
export const Default: StoryObj<typeof Paragraph> = {
|
34
|
+
render: (props) => {
|
35
|
+
return (
|
36
|
+
<Paragraph {...props}>
|
37
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
38
|
+
distinctio modi quo, provident quod.
|
39
|
+
</Paragraph>
|
40
|
+
);
|
41
|
+
},
|
42
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { css } from 'styled-components';
|
2
|
+
import { tokens } from '../../../../../components/Typography/tokens';
|
3
|
+
export var config = {
|
4
|
+
defaults: {
|
5
|
+
size: 'm'
|
6
|
+
},
|
7
|
+
variations: {
|
8
|
+
size: {
|
9
|
+
m: /*#__PURE__*/css(["", ":var(--plasma-typo-subtitle-font-family);", ":var(--plasma-typo-subtitle-font-size);", ":var(--plasma-typo-subtitle-font-style);", ":var(--plasma-typo-subtitle-font-weight);", ":var(--plasma-typo-subtitle-letter-spacing);", ":var(--plasma-typo-subtitle-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
10
|
+
}
|
11
|
+
}
|
12
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { subtitleConfig } from '../../../../../components/Typography';
|
2
|
+
import { component, mergeConfig } from '../../../../../engines';
|
3
|
+
import { config } from './Subtitle.config';
|
4
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(subtitleConfig, config);
|
5
|
+
export var Subtitle = /*#__PURE__*/component(mergedConfig);
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
|
4
|
+
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
+
import { mergeConfig } from '../../../../../engines';
|
6
|
+
import { subtitleConfig } from '../../../../../components/Typography';
|
7
|
+
|
8
|
+
import { Subtitle } from './Subtitle';
|
9
|
+
import { config } from './Subtitle.config';
|
10
|
+
|
11
|
+
const meta: Meta<typeof Subtitle> = {
|
12
|
+
title: 'Data Display/Typography/Old/Subtitle',
|
13
|
+
decorators: [WithTheme],
|
14
|
+
component: Subtitle,
|
15
|
+
argTypes: {
|
16
|
+
...argTypesFromConfig(mergeConfig(subtitleConfig, config)),
|
17
|
+
color: {
|
18
|
+
control: {
|
19
|
+
type: 'color',
|
20
|
+
},
|
21
|
+
},
|
22
|
+
},
|
23
|
+
args: {
|
24
|
+
noWrap: false,
|
25
|
+
},
|
26
|
+
};
|
27
|
+
|
28
|
+
export default meta;
|
29
|
+
|
30
|
+
export const Default: StoryObj<typeof Subtitle> = {
|
31
|
+
render: (props) => {
|
32
|
+
return (
|
33
|
+
<Subtitle {...props}>
|
34
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
35
|
+
distinctio modi quo, provident quod.
|
36
|
+
</Subtitle>
|
37
|
+
);
|
38
|
+
},
|
39
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { css } from 'styled-components';
|
2
|
+
import { tokens } from '../../../../../components/Typography/tokens';
|
3
|
+
export var config = {
|
4
|
+
defaults: {
|
5
|
+
size: 'm'
|
6
|
+
},
|
7
|
+
variations: {
|
8
|
+
size: {
|
9
|
+
m: /*#__PURE__*/css(["", ":var(--plasma-typo-underline-font-family);", ":var(--plasma-typo-underline-font-size);", ":var(--plasma-typo-underline-font-style);", ":var(--plasma-typo-underline-font-weight);", ":var(--plasma-typo-underline-letter-spacing);", ":var(--plasma-typo-underline-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
10
|
+
}
|
11
|
+
}
|
12
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { underlineConfig } from '../../../../../components/Typography';
|
2
|
+
import { component, mergeConfig } from '../../../../../engines';
|
3
|
+
import { config } from './Underline.config';
|
4
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(underlineConfig, config);
|
5
|
+
export var Underline = /*#__PURE__*/component(mergedConfig);
|