@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
@@ -43,15 +43,18 @@ export var Thead = /*#__PURE__*/styled.thead.withConfig({
|
|
43
43
|
view === 'clear' ? 'none' : borderVariant === 'header' || borderVariant === 'rows' ? "inset 0 -1px 0 0 var(".concat(tokens.borderColor, ")") : "inset 0 1px 0 0 var(".concat(tokens.borderColor, "), inset 0 -1px 0 0 var(").concat(tokens.borderColor, ")")
|
44
44
|
);
|
45
45
|
}, Tr);
|
46
|
-
export var
|
46
|
+
export var Tbody = /*#__PURE__*/styled.tbody.withConfig({
|
47
47
|
componentId: "plasma-new-hope__sc-1nklm7n-3"
|
48
|
-
})(["
|
48
|
+
})([""]);
|
49
|
+
export var Resizer = /*#__PURE__*/styled.div.withConfig({
|
50
|
+
componentId: "plasma-new-hope__sc-1nklm7n-4"
|
51
|
+
})(["display:", ";position:absolute;z-index:1;top:-0.0625rem;bottom:0;right:-0.125rem;width:0.1875rem;background:var(--outline-accent);cursor:col-resize;user-select:none;touch-action:none;"], function (_ref6) {
|
49
52
|
var isResizing = _ref6.isResizing;
|
50
53
|
return isResizing ? 'block' : 'none';
|
51
54
|
});
|
52
55
|
export var Th = /*#__PURE__*/styled.th.withConfig({
|
53
|
-
componentId: "plasma-new-hope__sc-1nklm7n-
|
54
|
-
})(["padding:", ";position:relative;font-weight:600;text-align:left;height:var(", ");background-color:transparent;color:inherit;border-width:
|
56
|
+
componentId: "plasma-new-hope__sc-1nklm7n-5"
|
57
|
+
})(["padding:", ";position:relative;font-weight:600;text-align:left;height:var(", ");background-color:transparent;color:inherit;border-width:0.0625rem;border-top-width:0;border-bottom-width:0;border-style:solid;border-color:", ";&:hover{", "{display:block;}}"], function (_ref7) {
|
55
58
|
var selectionCell = _ref7.selectionCell;
|
56
59
|
return selectionCell ? "var(".concat(tokens.checkboxCellPadding, ")") : "var(".concat(tokens.cellPadding, ")");
|
57
60
|
}, tokens.headerRowHeight, function (_ref8) {
|
@@ -59,17 +62,17 @@ export var Th = /*#__PURE__*/styled.th.withConfig({
|
|
59
62
|
return borderVariant === 'all' ? "var(".concat(tokens.borderColor, ")") : 'transparent';
|
60
63
|
}, Resizer);
|
61
64
|
export var StyledCheckbox = /*#__PURE__*/styled(Checkbox).withConfig({
|
62
|
-
componentId: "plasma-new-hope__sc-1nklm7n-
|
65
|
+
componentId: "plasma-new-hope__sc-1nklm7n-6"
|
63
66
|
})(["", ":var(", ");", ":var(", ");", ":var(--text-accent);", ":var(--on-dark-text-primary);", ":var(--text-secondary);"], checkboxTokens.triggerSize, tokens.checkboxTriggerSize, checkboxTokens.triggerBorderRadius, tokens.checkboxTriggerBorderRadius, checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.triggerBorderColor);
|
64
67
|
export var StyledDivider = /*#__PURE__*/styled(Divider).withConfig({
|
65
|
-
componentId: "plasma-new-hope__sc-1nklm7n-
|
68
|
+
componentId: "plasma-new-hope__sc-1nklm7n-7"
|
66
69
|
})(["", ":0.0625rem;", ":var(--surface-transparent-tertiary);", ":0.0625rem;"], dividerTokens.baseSideSize, dividerTokens.background, dividerTokens.borderRadius);
|
67
70
|
export var Button = /*#__PURE__*/styled(ButtonBase).withConfig({
|
68
|
-
componentId: "plasma-new-hope__sc-1nklm7n-
|
71
|
+
componentId: "plasma-new-hope__sc-1nklm7n-8"
|
69
72
|
})(["", ":var(", ");", ":0.4;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], buttonTokens.buttonHeight, tokens.buttonHeight, buttonTokens.buttonDisabledOpacity, buttonTokens.buttonFontFamily, tokens.buttonFontFamily, buttonTokens.buttonFontSize, tokens.buttonFontSize, buttonTokens.buttonFontStyle, tokens.buttonFontStyle, buttonTokens.buttonFontWeight, tokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, tokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, tokens.buttonLineHeight);
|
70
73
|
export var ButtonAccent = /*#__PURE__*/styled(Button).withConfig({
|
71
|
-
componentId: "plasma-new-hope__sc-1nklm7n-
|
74
|
+
componentId: "plasma-new-hope__sc-1nklm7n-9"
|
72
75
|
})(["", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":var(--surface-accent);", ":var(--surface-accent-hover);", ":var(--surface-accent-active);"], buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive);
|
73
76
|
export var LinkButton = /*#__PURE__*/styled(LinkButtonBase).withConfig({
|
74
|
-
componentId: "plasma-new-hope__sc-1nklm7n-
|
77
|
+
componentId: "plasma-new-hope__sc-1nklm7n-10"
|
75
78
|
})(["", ":var(--text-primary);", ":var(--surface-transparent-clear);", ":var(--text-primary-hover);", ":var(--text-primary-active);", ":var(--surface-accent);", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], linkButtonTokens.linkButtonColor, linkButtonTokens.linkButtonBackgroundColor, linkButtonTokens.linkButtonColorHover, linkButtonTokens.linkButtonColorActive, linkButtonTokens.linkButtonFocusColor, linkButtonTokens.linkButtonFontFamily, tokens.linkButtonFontFamily, linkButtonTokens.linkButtonFontSize, tokens.linkButtonFontSize, linkButtonTokens.linkButtonFontStyle, tokens.linkButtonFontStyle, linkButtonTokens.linkButtonFontWeight, tokens.linkButtonFontWeight, linkButtonTokens.linkButtonLetterSpacing, tokens.linkButtonLetterSpacing, linkButtonTokens.linkButtonLineHeight, tokens.linkButtonLineHeight);
|
@@ -1,3 +1,11 @@
|
|
1
|
+
export var classes = {
|
2
|
+
editIcon: 'edit-icon',
|
3
|
+
sortingDefaultIcon: 'sorting-default-icon',
|
4
|
+
sortingAscIcon: 'sorting-asc-icon',
|
5
|
+
sortingDescIcon: 'sorting-desc-icon',
|
6
|
+
filterIcon: 'filter-icon',
|
7
|
+
resizeDivider: 'resize-divider'
|
8
|
+
};
|
1
9
|
export var tableTokens = {
|
2
10
|
fontFamily: '--plasma-table-font-family',
|
3
11
|
fontSize: '--plasma-table-font-size',
|
@@ -2,7 +2,7 @@ import styled from 'styled-components';
|
|
2
2
|
import { tableTokens as tokens } from '../../Table.tokens';
|
3
3
|
export var Td = /*#__PURE__*/styled.td.withConfig({
|
4
4
|
componentId: "plasma-new-hope__sc-1doamj5-0"
|
5
|
-
})(["position:relative;padding:", ";height:var(", ");border-width:
|
5
|
+
})(["position:relative;padding:", ";height:var(", ");border-width:0.0625rem;border-top-width:0;border-style:solid;border-color:", ";border-bottom-color:", ";box-sizing:border-box;"], function (_ref) {
|
6
6
|
var selectionCell = _ref.selectionCell;
|
7
7
|
return selectionCell ? "var(".concat(tokens.checkboxCellPadding, ")") : "var(".concat(tokens.cellPadding, ")");
|
8
8
|
}, tokens.rowHeight, function (_ref2) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var
|
1
|
+
var _Resizer;
|
2
2
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
3
3
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
4
4
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
@@ -12,6 +12,7 @@ import { SELECT_COLUMN_ID } from '../../Table';
|
|
12
12
|
import { useOutsideClick } from '../../../../hooks';
|
13
13
|
import { IconEditOutline, IconResetOutline, IconDoneCircleOutline } from '../../../_Icon';
|
14
14
|
import { getIconSize } from '../HeadCell/HeadCell';
|
15
|
+
import { classes } from '../../Table.tokens';
|
15
16
|
import { ContentWrapper, Td, IconDoneButton, Input, InnerWrapper, InputWrapper, EditModeWrapper, IconResetButton } from './EditableCell.styles';
|
16
17
|
var keys = {
|
17
18
|
Enter: 'Enter',
|
@@ -19,12 +20,13 @@ var keys = {
|
|
19
20
|
Escape: 'Escape'
|
20
21
|
};
|
21
22
|
export var EditableCell = function EditableCell(_ref) {
|
23
|
+
var _table$options$meta;
|
22
24
|
var size = _ref.size,
|
25
|
+
view = _ref.view,
|
23
26
|
cell = _ref.cell,
|
24
27
|
borderVariant = _ref.borderVariant,
|
25
28
|
table = _ref.table,
|
26
|
-
selected = _ref.selected
|
27
|
-
view = _ref.view;
|
29
|
+
selected = _ref.selected;
|
28
30
|
var _useState = useState(cell.getValue()),
|
29
31
|
_useState2 = _slicedToArray(_useState, 2),
|
30
32
|
value = _useState2[0],
|
@@ -33,7 +35,7 @@ export var EditableCell = function EditableCell(_ref) {
|
|
33
35
|
_useState4 = _slicedToArray(_useState3, 2),
|
34
36
|
editingMode = _useState4[0],
|
35
37
|
setEditingMode = _useState4[1];
|
36
|
-
var updateData = table.options.meta.updateData;
|
38
|
+
var updateData = (_table$options$meta = table.options.meta) === null || _table$options$meta === void 0 ? void 0 : _table$options$meta.updateData;
|
37
39
|
var ref = useOutsideClick(function () {
|
38
40
|
setEditingMode(false);
|
39
41
|
});
|
@@ -50,14 +52,18 @@ export var EditableCell = function EditableCell(_ref) {
|
|
50
52
|
};
|
51
53
|
var handleSubmit = function handleSubmit(e) {
|
52
54
|
e.stopPropagation();
|
53
|
-
updateData
|
55
|
+
if (updateData) {
|
56
|
+
updateData(cell.row.id, cell.column.id, value);
|
57
|
+
}
|
54
58
|
setEditingMode(false);
|
55
59
|
};
|
56
60
|
var handleKeyDown = function handleKeyDown(event) {
|
57
61
|
switch (event.code) {
|
58
62
|
case keys.Enter:
|
59
63
|
{
|
60
|
-
updateData
|
64
|
+
if (updateData) {
|
65
|
+
updateData(cell.row.id, cell.column.id, value);
|
66
|
+
}
|
61
67
|
setEditingMode(false);
|
62
68
|
break;
|
63
69
|
}
|
@@ -97,11 +103,11 @@ export var EditableCell = function EditableCell(_ref) {
|
|
97
103
|
tabIndex: -1
|
98
104
|
}, /*#__PURE__*/React.createElement(IconDoneCircleOutline, {
|
99
105
|
size: getIconSize(size)
|
100
|
-
}))) : /*#__PURE__*/React.createElement(ContentWrapper, null, flexRender(cell.column.columnDef.cell, cell.getContext()),
|
106
|
+
}))) : /*#__PURE__*/React.createElement(ContentWrapper, null, flexRender(cell.column.columnDef.cell, cell.getContext()), /*#__PURE__*/React.createElement(IconEditOutline, {
|
101
107
|
size: "xs",
|
102
|
-
className:
|
108
|
+
className: classes.editIcon,
|
103
109
|
color: "var(--text-secondary)"
|
104
|
-
})))
|
110
|
+
}))), cell.column.getIsResizing() && (_Resizer || (_Resizer = /*#__PURE__*/React.createElement(Resizer, {
|
105
111
|
isResizing: true
|
106
112
|
}))));
|
107
113
|
};
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import styled from 'styled-components';
|
2
2
|
import { component, mergeConfig } from '../../../../engines';
|
3
|
-
import { tableTokens as tokens } from '../../Table.tokens';
|
3
|
+
import { tableTokens as tokens, classes } from '../../Table.tokens';
|
4
4
|
import { iconButtonConfig, iconButtonTokens } from '../../../IconButton';
|
5
5
|
var mergedIndicatorConfig = /*#__PURE__*/mergeConfig(iconButtonConfig);
|
6
6
|
var IconButton = /*#__PURE__*/component(mergedIndicatorConfig);
|
7
7
|
export var Td = /*#__PURE__*/styled.td.withConfig({
|
8
8
|
componentId: "plasma-new-hope__sc-1uu72a1-0"
|
9
|
-
})(["position:relative;padding:", ";height:var(", ");border-width:
|
9
|
+
})(["position:relative;padding:", ";height:var(", ");border-width:0.0625rem;border-top-width:0;border-style:solid;border-color:", ";border-bottom-color:", ";cursor:pointer;box-sizing:border-box;& .", "{opacity:0;}&:hover .", "{opacity:1;}"], function (_ref) {
|
10
10
|
var selectionCell = _ref.selectionCell,
|
11
11
|
editingMode = _ref.editingMode;
|
12
12
|
return (
|
@@ -24,7 +24,7 @@ export var Td = /*#__PURE__*/styled.td.withConfig({
|
|
24
24
|
}, function (_ref3) {
|
25
25
|
var borderVariant = _ref3.borderVariant;
|
26
26
|
return borderVariant === 'all' || borderVariant === 'rows' ? "var(".concat(tokens.borderColor, ")") : 'transparent';
|
27
|
-
});
|
27
|
+
}, classes.editIcon, classes.editIcon);
|
28
28
|
export var InnerWrapper = /*#__PURE__*/styled.div.withConfig({
|
29
29
|
componentId: "plasma-new-hope__sc-1uu72a1-1"
|
30
30
|
})(["display:flex;align-items:center;justify-content:space-between;width:100%;height:100%;"]);
|
@@ -36,7 +36,7 @@ export var EditModeWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
36
36
|
})(["display:flex;align-items:center;justify-content:space-between;gap:var(", ");height:100%;"], tokens.editableCellPadding);
|
37
37
|
export var InputWrapper = /*#__PURE__*/styled.div.withConfig({
|
38
38
|
componentId: "plasma-new-hope__sc-1uu72a1-4"
|
39
|
-
})(["display:flex;align-items:center;height:100%;flex:1;padding:var(", ");background:var(", ");border:
|
39
|
+
})(["display:flex;align-items:center;height:100%;flex:1;padding:var(", ");background:var(", ");border:0.0625rem solid var(", ");border-radius:var(", ");box-sizing:border-box;gap:var(", ");"], tokens.editableCellInputPadding, tokens.editableCellInputBackground, tokens.editableCellInputBorderColor, tokens.editableCellInputBorderRadius, tokens.editableCellIconGap);
|
40
40
|
export var Input = /*#__PURE__*/styled.input.withConfig({
|
41
41
|
componentId: "plasma-new-hope__sc-1uu72a1-5"
|
42
42
|
})(["width:auto;border:none;padding:0;background:transparent;outline:none;caret-color:var(--text-accent);font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight);
|
@@ -3,7 +3,8 @@ import React from 'react';
|
|
3
3
|
import { Th, Resizer } from '../../Table.styles';
|
4
4
|
import { IconSwapVert, IconArrowDown, IconArrowUp } from '../../../_Icon';
|
5
5
|
import { SELECT_COLUMN_ID } from '../../Table';
|
6
|
-
import {
|
6
|
+
import { classes } from '../../Table.tokens';
|
7
|
+
import { ControlButtons, ThWrapper, IconWrapper } from './HeadCell.styles';
|
7
8
|
import { Filter } from './ui/Filter/Filter';
|
8
9
|
export var getIconSize = function getIconSize(size) {
|
9
10
|
return size === 's' ? 'xs' : 's';
|
@@ -30,23 +31,22 @@ export var HeadCell = function HeadCell(_ref) {
|
|
30
31
|
size: size,
|
31
32
|
outerFiltered: outerFiltered,
|
32
33
|
tableContainerRef: tableContainerRef
|
33
|
-
}), header.column.getCanSort() && /*#__PURE__*/React.createElement(
|
34
|
-
style: {
|
35
|
-
lineHeight: 0,
|
36
|
-
cursor: 'pointer',
|
37
|
-
userSelect: 'none'
|
38
|
-
},
|
34
|
+
}), header.column.getCanSort() && /*#__PURE__*/React.createElement(IconWrapper, {
|
39
35
|
onClick: header.column.getToggleSortingHandler()
|
40
36
|
}, (_asc$desc = {
|
41
37
|
asc: /*#__PURE__*/React.createElement(IconArrowUp, {
|
42
|
-
size: getIconSize(size)
|
38
|
+
size: getIconSize(size),
|
39
|
+
className: classes.sortingAscIcon
|
43
40
|
}),
|
44
41
|
desc: /*#__PURE__*/React.createElement(IconArrowDown, {
|
45
|
-
size: getIconSize(size)
|
42
|
+
size: getIconSize(size),
|
43
|
+
className: classes.sortingDescIcon
|
46
44
|
})
|
47
45
|
}[header.column.getIsSorted()]) !== null && _asc$desc !== void 0 ? _asc$desc : /*#__PURE__*/React.createElement(IconSwapVert, {
|
48
|
-
size: getIconSize(size)
|
46
|
+
size: getIconSize(size),
|
47
|
+
className: classes.sortingDefaultIcon
|
49
48
|
}))))), header.column.getCanResize() && /*#__PURE__*/React.createElement(Resizer, {
|
49
|
+
className: classes.resizeDivider,
|
50
50
|
onMouseDown: header.getResizeHandler(),
|
51
51
|
onTouchStart: header.getResizeHandler(),
|
52
52
|
isResizing: header.column.getIsResizing()
|
@@ -4,4 +4,7 @@ export var ControlButtons = /*#__PURE__*/styled.div.withConfig({
|
|
4
4
|
})(["display:flex;justify-content:space-between;align-items:center;gap:0.5rem;"]);
|
5
5
|
export var ThWrapper = /*#__PURE__*/styled.div.withConfig({
|
6
6
|
componentId: "plasma-new-hope__sc-haivw3-1"
|
7
|
-
})(["display:flex;justify-content:space-between;align-items:center;gap:0.5rem;"]);
|
7
|
+
})(["display:flex;justify-content:space-between;align-items:center;gap:0.5rem;"]);
|
8
|
+
export var IconWrapper = /*#__PURE__*/styled.div.withConfig({
|
9
|
+
componentId: "plasma-new-hope__sc-haivw3-2"
|
10
|
+
})(["line-height:0;cursor:pointer;user-select:none;"]);
|
@@ -14,6 +14,7 @@ import { useDidMountEffect } from '../../../../../../hooks';
|
|
14
14
|
import { IconFilterFunnel } from '../../../../../_Icon';
|
15
15
|
import { getIconSize } from '../../HeadCell';
|
16
16
|
import { ButtonAccent, LinkButton } from '../../../../Table.styles';
|
17
|
+
import { classes } from '../../../../Table.tokens';
|
17
18
|
import { IconFilterWrapper, StyledIndicator, Select, StyledDivider, ControlPanel } from './Filter.styles';
|
18
19
|
var getSelectWidth = function getSelectWidth(size) {
|
19
20
|
switch (size) {
|
@@ -76,7 +77,8 @@ export var Filter = function Filter(_ref) {
|
|
76
77
|
onChange: setLocalFiltered,
|
77
78
|
renderTarget: function renderTarget() {
|
78
79
|
return /*#__PURE__*/React.createElement(IconFilterWrapper, null, /*#__PURE__*/React.createElement(IconFilterFunnel, {
|
79
|
-
size: getIconSize(size)
|
80
|
+
size: getIconSize(size),
|
81
|
+
className: classes.filterIcon
|
80
82
|
}), filtered.length ? _StyledIndicator || (_StyledIndicator = /*#__PURE__*/React.createElement(StyledIndicator, {
|
81
83
|
size: "s",
|
82
84
|
view: "accent"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
-
var _excluded = ["size", "children", "breakWord", "noWrap", "bold", "
|
2
|
+
var _excluded = ["size", "children", "breakWord", "noWrap", "bold", "color", "className", "style"];
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -21,7 +21,6 @@ export var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
|
21
21
|
noWrap = props.noWrap,
|
22
22
|
_props$bold = props.bold,
|
23
23
|
bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
|
24
|
-
medium = props.medium,
|
25
24
|
color = props.color,
|
26
25
|
className = props.className,
|
27
26
|
style = props.style,
|
@@ -29,10 +28,11 @@ export var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
|
29
28
|
return /*#__PURE__*/React.createElement(Root, _extends({
|
30
29
|
size: size,
|
31
30
|
ref: ref,
|
32
|
-
className: cx(noWrap && classes.typoWithNoWrap, breakWord && classes.typoWithBreakWord, bold && classes.typoBold,
|
31
|
+
className: cx(noWrap && classes.typoWithNoWrap, breakWord && classes.typoWithBreakWord, bold && classes.typoBold, className),
|
33
32
|
style: _objectSpread(_objectSpread({
|
34
33
|
color: color
|
35
|
-
}, style), applySpacing(rest))
|
34
|
+
}, style), applySpacing(rest)),
|
35
|
+
bold: bold
|
36
36
|
}, rest), children);
|
37
37
|
});
|
38
38
|
};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { css } from 'styled-components';
|
2
2
|
import { applyHyphens, applyHyphensNormal } from '../../mixins';
|
3
3
|
import { classes, tokens } from './tokens';
|
4
|
-
export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{font-weight:var(", ");}&.", "{
|
4
|
+
export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{font-weight:var(", ");}&.", "{white-space:nowrap;}", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, classes.typoBold, tokens.typoFontWeightBold, classes.typoWithNoWrap, applyHyphensNormal, classes.typoWithBreakWord, applyHyphens);
|
@@ -23,22 +23,6 @@ title: Typography
|
|
23
23
|
По умолчанию в типографике если текст превышает ширину элемента, то слова будут переноситься по пробелам.
|
24
24
|
Чтобы запретить перенос по пробелам, необходимо установить свойство `noWrap` в значении `true`.
|
25
25
|
|
26
|
-
## Смена тега
|
27
|
-
Если при использовании компонентов необходимо сменить тег, то можно использовать свойство `as`:
|
28
|
-
|
29
|
-
```tsx live
|
30
|
-
import React from 'react';
|
31
|
-
import { BodyM } from '@salutejs/{{ package }}';
|
32
|
-
|
33
|
-
export function App() {
|
34
|
-
return (
|
35
|
-
<BodyM as="h3">
|
36
|
-
BodyM
|
37
|
-
</BodyM>
|
38
|
-
);
|
39
|
-
}
|
40
|
-
```
|
41
|
-
|
42
26
|
## Состав
|
43
27
|
|
44
28
|
### Hero unit
|
@@ -52,15 +36,12 @@ export function App() {
|
|
52
36
|
<div style=\{{ display: 'block' }}>
|
53
37
|
<DsplL bold={false}>DsplL</DsplL>
|
54
38
|
<DsplL>DsplL Bold</DsplL>
|
55
|
-
<DsplL medium>DsplL Medium</DsplL>
|
56
39
|
|
57
40
|
<DsplM bold={false}>DsplM</DsplM>
|
58
41
|
<DsplM>DsplM Bold</DsplM>
|
59
|
-
<DsplM medium>DsplM Medium</DsplM>
|
60
42
|
|
61
43
|
<DsplS bold={false}>DsplS</DsplS>
|
62
44
|
<DsplS>DsplS Bold</DsplS>
|
63
|
-
<DsplS medium>DsplS Medium</DsplS>
|
64
45
|
</div>
|
65
46
|
);
|
66
47
|
}
|
@@ -77,23 +58,18 @@ export function App() {
|
|
77
58
|
<div style=\{{ display: 'block' }}>
|
78
59
|
<H1 bold={false}>H1</H1>
|
79
60
|
<H1>H1 Bold</H1>
|
80
|
-
<H1 medium>H1 Medium</H1>
|
81
61
|
|
82
62
|
<H2 bold={false}>H2</H2>
|
83
63
|
<H2>H2 Bold</H2>
|
84
|
-
<H2 medium>H2 Medium</H2>
|
85
64
|
|
86
65
|
<H3 bold={false}>H3</H3>
|
87
66
|
<H3>H3 Bold</H3>
|
88
|
-
<H3 medium>H3 Medium</H3>
|
89
67
|
|
90
68
|
<H4 bold={false}>H4</H4>
|
91
69
|
<H4>H4 Bold</H4>
|
92
|
-
<H4 medium>H4 Medium</H4>
|
93
70
|
|
94
71
|
<H5 bold={false}>H5</H5>
|
95
72
|
<H5>H5 Bold</H5>
|
96
|
-
<H5 medium>H5 Medium</H5>
|
97
73
|
</div>
|
98
74
|
);
|
99
75
|
}
|
@@ -110,24 +86,19 @@ export function App() {
|
|
110
86
|
return (
|
111
87
|
<div style=\{{ display: 'block' }}>
|
112
88
|
<BodyL>BodyL</BodyL>
|
113
|
-
<BodyL bold>BodyL
|
114
|
-
<BodyL medium>BodyL Medium</BodyL>
|
89
|
+
<BodyL bold>BodyL полужирный</BodyL>
|
115
90
|
|
116
91
|
<BodyM>BodyM</BodyM>
|
117
|
-
<BodyM bold>BodyM
|
118
|
-
<BodyM medium>BodyM Medium</BodyM>
|
92
|
+
<BodyM bold>BodyM полужирный</BodyM>
|
119
93
|
|
120
94
|
<BodyS>BodyS</BodyS>
|
121
|
-
<BodyS bold>BodyS
|
122
|
-
<BodyS medium>BodyS Medium</BodyS>
|
95
|
+
<BodyS bold>BodyS полужирный</BodyS>
|
123
96
|
|
124
97
|
<BodyXS>BodyXS</BodyXS>
|
125
|
-
<BodyXS bold>BodyXS
|
126
|
-
<BodyXS medium>BodyXS Medium</BodyXS>
|
98
|
+
<BodyXS bold>BodyXS полужирный</BodyXS>
|
127
99
|
|
128
100
|
<BodyXXS>BodyXXS</BodyXXS>
|
129
|
-
<BodyXXS bold>BodyXXS
|
130
|
-
<BodyXXS medium>BodyXXS Medium</BodyXXS>
|
101
|
+
<BodyXXS bold>BodyXXS полужирный</BodyXXS>
|
131
102
|
</div>
|
132
103
|
);
|
133
104
|
}
|
@@ -144,20 +115,16 @@ export function App() {
|
|
144
115
|
return (
|
145
116
|
<div style=\{{ display: 'block' }}>
|
146
117
|
<TextL>TextL</TextL>
|
147
|
-
<TextL bold>TextL
|
148
|
-
<TextL medium>TextL Medium</TextL>
|
118
|
+
<TextL bold>TextL полужирный</TextL>
|
149
119
|
|
150
120
|
<TextM>TextM</TextM>
|
151
|
-
<TextM bold>TextM
|
152
|
-
<TextM medium>TextM Medium</TextM>
|
121
|
+
<TextM bold>TextM полужирный</TextM>
|
153
122
|
|
154
123
|
<TextS>TextS</TextS>
|
155
|
-
<TextS bold>TextS
|
156
|
-
<TextS medium>TextS Medium</TextS>
|
124
|
+
<TextS bold>TextS полужирный</TextS>
|
157
125
|
|
158
126
|
<TextXS>TextXS</TextXS>
|
159
|
-
<TextXS bold>TextXS
|
160
|
-
<TextXS medium>TextXS Medium</TextXS>
|
127
|
+
<TextXS bold>TextXS полужирный</TextXS>
|
161
128
|
</div>
|
162
129
|
);
|
163
130
|
}
|
@@ -1,8 +1,7 @@
|
|
1
1
|
export var classes = {
|
2
2
|
typoWithNoWrap: 'with-no-wrap',
|
3
3
|
typoWithBreakWord: 'with-break-word',
|
4
|
-
typoBold: 'typography-bold'
|
5
|
-
typoMedium: 'typography-medium'
|
4
|
+
typoBold: 'typography-bold'
|
6
5
|
};
|
7
6
|
export var tokens = {
|
8
7
|
typoFontFamily: '--typo-font-family',
|
@@ -10,7 +9,6 @@ export var tokens = {
|
|
10
9
|
typoFontStyle: '--typo-font-style',
|
11
10
|
typoFontWeight: '--typo-font-weight',
|
12
11
|
typoFontWeightBold: '--typo-font-weight-bold',
|
13
|
-
typoFontWeightMedium: '--typo-font-weight-medium',
|
14
12
|
typoFontLetterSpacing: '--typo-font-letter-spacing',
|
15
13
|
typoFontLineHeight: '--typo-font-line-height'
|
16
14
|
};
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import React, { useRef, ComponentProps, useState } from 'react';
|
2
2
|
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
import { getConfigVariations } from '@salutejs/plasma-sb-utils';
|
3
4
|
|
4
5
|
import { WithTheme } from '../../../_helpers';
|
5
6
|
import { ButtonGroup } from '../ButtonGroup/ButtonGroup';
|
@@ -8,12 +9,12 @@ import { IconButton } from '../IconButton/IconButton';
|
|
8
9
|
import { IconEditOutline } from '../../../../components/_Icon';
|
9
10
|
import { Dropdown } from '../Dropdown/Dropdown';
|
10
11
|
|
12
|
+
import { config } from './Table.config';
|
11
13
|
import { Table } from './Table';
|
12
14
|
|
13
15
|
type StoryTableProps = ComponentProps<typeof Table>;
|
14
16
|
|
15
|
-
const
|
16
|
-
const size = ['s', 'm', 'l'];
|
17
|
+
const { views, sizes } = getConfigVariations(config);
|
17
18
|
const borderVariant = ['rows', 'header', 'all'];
|
18
19
|
|
19
20
|
const meta: Meta<StoryTableProps> = {
|
@@ -23,11 +24,11 @@ const meta: Meta<StoryTableProps> = {
|
|
23
24
|
argTypes: {
|
24
25
|
view: {
|
25
26
|
control: 'select',
|
26
|
-
options:
|
27
|
+
options: views,
|
27
28
|
},
|
28
29
|
size: {
|
29
30
|
control: 'select',
|
30
|
-
options:
|
31
|
+
options: sizes,
|
31
32
|
},
|
32
33
|
borderVariant: {
|
33
34
|
control: 'select',
|
@@ -514,8 +515,8 @@ const StoryComplex = (args: StoryTableProps) => {
|
|
514
515
|
<Button text="Очистить выбранные" view="warning" size="xs" onClick={clearSelected} />
|
515
516
|
<Button text="Убрать сортировку" view="warning" size="xs" onClick={clearSorted} />
|
516
517
|
<Button text="Очистить фильтры" view="warning" size="xs" onClick={clearFiltered} />
|
517
|
-
<Button text="Очистить все" view="
|
518
|
-
<Button text="Добавить строку" view="
|
518
|
+
<Button text="Очистить все" view="negative" size="xs" onClick={clearAll} />
|
519
|
+
<Button text="Добавить строку" view="positive" size="xs" onClick={addRow} />
|
519
520
|
</ButtonGroup>
|
520
521
|
|
521
522
|
<br />
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import React, { useRef, ComponentProps, useState } from 'react';
|
2
2
|
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
import { getConfigVariations } from '@salutejs/plasma-sb-utils';
|
3
4
|
|
4
5
|
import { WithTheme } from '../../../_helpers';
|
5
6
|
import { ButtonGroup } from '../ButtonGroup/ButtonGroup';
|
@@ -7,13 +8,13 @@ import { Button } from '../Button/Button';
|
|
7
8
|
import { IconButton } from '../IconButton/IconButton';
|
8
9
|
import { IconEditOutline } from '../../../../components/_Icon';
|
9
10
|
import { Dropdown } from '../Dropdown/Dropdown';
|
11
|
+
import { config } from '../../../plasma_b2c/components/Table/Table.config';
|
10
12
|
|
11
13
|
import { Table } from './Table';
|
12
14
|
|
13
15
|
type StoryTableProps = ComponentProps<typeof Table>;
|
14
16
|
|
15
|
-
const
|
16
|
-
const size = ['s', 'm', 'l'];
|
17
|
+
const { views, sizes } = getConfigVariations(config);
|
17
18
|
const borderVariant = ['rows', 'header', 'all'];
|
18
19
|
|
19
20
|
const meta: Meta<StoryTableProps> = {
|
@@ -23,11 +24,11 @@ const meta: Meta<StoryTableProps> = {
|
|
23
24
|
argTypes: {
|
24
25
|
view: {
|
25
26
|
control: 'select',
|
26
|
-
options:
|
27
|
+
options: views,
|
27
28
|
},
|
28
29
|
size: {
|
29
30
|
control: 'select',
|
30
|
-
options:
|
31
|
+
options: sizes,
|
31
32
|
},
|
32
33
|
borderVariant: {
|
33
34
|
control: 'select',
|
@@ -514,8 +515,8 @@ const StoryComplex = (args: StoryTableProps) => {
|
|
514
515
|
<Button text="Очистить выбранные" view="warning" size="xs" onClick={clearSelected} />
|
515
516
|
<Button text="Убрать сортировку" view="warning" size="xs" onClick={clearSorted} />
|
516
517
|
<Button text="Очистить фильтры" view="warning" size="xs" onClick={clearFiltered} />
|
517
|
-
<Button text="Очистить все" view="
|
518
|
-
<Button text="Добавить строку" view="
|
518
|
+
<Button text="Очистить все" view="negative" size="xs" onClick={clearAll} />
|
519
|
+
<Button text="Добавить строку" view="positive" size="xs" onClick={addRow} />
|
519
520
|
</ButtonGroup>
|
520
521
|
|
521
522
|
<br />
|
@@ -6,11 +6,11 @@ export var config = {
|
|
6
6
|
},
|
7
7
|
variations: {
|
8
8
|
size: {
|
9
|
-
l: /*#__PURE__*/css(["", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-
|
10
|
-
m: /*#__PURE__*/css(["", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":var(--plasma-typo-body-m-
|
11
|
-
s: /*#__PURE__*/css(["", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":var(--plasma-typo-body-s-
|
12
|
-
xs: /*#__PURE__*/css(["", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-
|
13
|
-
xxs: /*#__PURE__*/css(["", ":var(--plasma-typo-body-xxs-font-family);", ":var(--plasma-typo-body-xxs-font-size);", ":var(--plasma-typo-body-xxs-font-style);", ":var(--plasma-typo-body-xxs-font-weight);", ":var(--plasma-typo-body-xxs-bold-font-weight);", ":var(--plasma-typo-body-xxs-
|
9
|
+
l: /*#__PURE__*/css(["", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
m: /*#__PURE__*/css(["", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
11
|
+
s: /*#__PURE__*/css(["", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
12
|
+
xs: /*#__PURE__*/css(["", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
13
|
+
xxs: /*#__PURE__*/css(["", ":var(--plasma-typo-body-xxs-font-family);", ":var(--plasma-typo-body-xxs-font-size);", ":var(--plasma-typo-body-xxs-font-style);", ":var(--plasma-typo-body-xxs-font-weight);", ":var(--plasma-typo-body-xxs-bold-font-weight);", ":var(--plasma-typo-body-xxs-letter-spacing);", ":var(--plasma-typo-body-xxs-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 { Body } from './Body';
|
|
9
9
|
import { config } from './Body.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Body> = {
|
12
|
-
title: '
|
12
|
+
title: 'Data Display/Typography/Body',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Body,
|
15
15
|
argTypes: {
|
@@ -19,27 +19,11 @@ const meta: Meta<typeof Body> = {
|
|
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,9 +6,9 @@ export var config = {
|
|
6
6
|
},
|
7
7
|
variations: {
|
8
8
|
size: {
|
9
|
-
l: /*#__PURE__*/css(["", ":var(--plasma-typo-dspl-l-font-family);", ":var(--plasma-typo-dspl-l-font-size);", ":var(--plasma-typo-dspl-l-font-style);", ":var(--plasma-typo-dspl-l-font-weight);", ":var(--plasma-typo-dspl-l-bold-font-weight);", ":var(--plasma-typo-dspl-l-
|
10
|
-
m: /*#__PURE__*/css(["", ":var(--plasma-typo-dspl-m-font-family);", ":var(--plasma-typo-dspl-m-font-size);", ":var(--plasma-typo-dspl-m-font-style);", ":var(--plasma-typo-dspl-m-font-weight);", ":var(--plasma-typo-dspl-m-bold-font-weight);", ":var(--plasma-typo-dspl-m-
|
11
|
-
s: /*#__PURE__*/css(["", ":var(--plasma-typo-dspl-s-font-family);", ":var(--plasma-typo-dspl-s-font-size);", ":var(--plasma-typo-dspl-s-font-style);", ":var(--plasma-typo-dspl-s-font-weight);", ":var(--plasma-typo-dspl-s-bold-font-weight);", ":var(--plasma-typo-dspl-s-
|
9
|
+
l: /*#__PURE__*/css(["", ":var(--plasma-typo-dspl-l-font-family);", ":var(--plasma-typo-dspl-l-font-size);", ":var(--plasma-typo-dspl-l-font-style);", ":var(--plasma-typo-dspl-l-font-weight);", ":var(--plasma-typo-dspl-l-bold-font-weight);", ":var(--plasma-typo-dspl-l-letter-spacing);", ":var(--plasma-typo-dspl-l-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
m: /*#__PURE__*/css(["", ":var(--plasma-typo-dspl-m-font-family);", ":var(--plasma-typo-dspl-m-font-size);", ":var(--plasma-typo-dspl-m-font-style);", ":var(--plasma-typo-dspl-m-font-weight);", ":var(--plasma-typo-dspl-m-bold-font-weight);", ":var(--plasma-typo-dspl-m-letter-spacing);", ":var(--plasma-typo-dspl-m-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
11
|
+
s: /*#__PURE__*/css(["", ":var(--plasma-typo-dspl-s-font-family);", ":var(--plasma-typo-dspl-s-font-size);", ":var(--plasma-typo-dspl-s-font-style);", ":var(--plasma-typo-dspl-s-font-weight);", ":var(--plasma-typo-dspl-s-bold-font-weight);", ":var(--plasma-typo-dspl-s-letter-spacing);", ":var(--plasma-typo-dspl-s-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
12
12
|
}
|
13
13
|
}
|
14
14
|
};
|