@salutejs/plasma-new-hope 0.317.0-canary.1888.14214679698.0 → 0.318.0-canary.1888.14216501427.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.
Files changed (168) hide show
  1. package/cjs/components/Table/Table.css +8 -8
  2. package/cjs/components/Table/ui/Cell/Cell.css +8 -8
  3. package/cjs/components/Table/ui/EditableCell/EditableCell.css +8 -8
  4. package/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +1 -1
  5. package/cjs/components/Table/ui/EditableCell/EditableCell.styles.js.map +1 -1
  6. package/cjs/components/Table/ui/EditableCell/{EditableCell.styles_d8duzc.css → EditableCell.styles_1g3clv2.css} +1 -1
  7. package/cjs/components/Table/ui/HeadCell/HeadCell.css +8 -8
  8. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +8 -8
  9. package/cjs/engines/linaria.js +4 -2
  10. package/cjs/engines/linaria.js.map +1 -1
  11. package/cjs/index.css +8 -8
  12. package/emotion/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +8 -8
  13. package/emotion/cjs/components/Typography/Typography.template-doc.mdx +16 -0
  14. package/emotion/cjs/examples/typography/components/Body/Body.stories.tsx +4 -1
  15. package/emotion/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  16. package/emotion/cjs/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  17. package/emotion/cjs/examples/typography/components/Text/Text.stories.tsx +4 -1
  18. package/emotion/es/components/Table/ui/EditableCell/EditableCell.styles.js +8 -8
  19. package/emotion/es/components/Typography/Typography.template-doc.mdx +16 -0
  20. package/emotion/es/examples/typography/components/Body/Body.stories.tsx +4 -1
  21. package/emotion/es/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  22. package/emotion/es/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  23. package/emotion/es/examples/typography/components/Text/Text.stories.tsx +4 -1
  24. package/es/components/Table/Table.css +8 -8
  25. package/es/components/Table/ui/Cell/Cell.css +8 -8
  26. package/es/components/Table/ui/EditableCell/EditableCell.css +8 -8
  27. package/es/components/Table/ui/EditableCell/EditableCell.styles.js +1 -1
  28. package/es/components/Table/ui/EditableCell/EditableCell.styles.js.map +1 -1
  29. package/es/components/Table/ui/EditableCell/{EditableCell.styles_d8duzc.css → EditableCell.styles_1g3clv2.css} +1 -1
  30. package/es/components/Table/ui/HeadCell/HeadCell.css +8 -8
  31. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +8 -8
  32. package/es/engines/linaria.js +4 -2
  33. package/es/engines/linaria.js.map +1 -1
  34. package/es/index.css +8 -8
  35. package/package.json +2 -2
  36. package/styled-components/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +1 -1
  37. package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +16 -0
  38. package/styled-components/cjs/examples/typography/components/Body/Body.stories.tsx +4 -1
  39. package/styled-components/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  40. package/styled-components/cjs/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  41. package/styled-components/cjs/examples/typography/components/Text/Text.stories.tsx +4 -1
  42. package/styled-components/es/components/Table/ui/EditableCell/EditableCell.styles.js +1 -1
  43. package/styled-components/es/components/Typography/Typography.template-doc.mdx +16 -0
  44. package/styled-components/es/examples/typography/components/Body/Body.stories.tsx +4 -1
  45. package/styled-components/es/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  46. package/styled-components/es/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  47. package/styled-components/es/examples/typography/components/Text/Text.stories.tsx +4 -1
  48. package/types/components/Table/ui/EditableCell/EditableCell.styles.d.ts.map +1 -1
  49. package/types/components/Typography/Body/Body.d.ts +2 -2
  50. package/types/components/Typography/Body/Body.d.ts.map +1 -1
  51. package/types/components/Typography/Dspl/Dspl.d.ts +2 -2
  52. package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
  53. package/types/components/Typography/Heading/Heading.d.ts +2 -2
  54. package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  55. package/types/components/Typography/Text/Text.d.ts +2 -2
  56. package/types/components/Typography/Text/Text.d.ts.map +1 -1
  57. package/types/components/Typography/Typography.d.ts +1 -1
  58. package/types/components/Typography/Typography.d.ts.map +1 -1
  59. package/types/components/Typography/Typography.types.d.ts +2 -1
  60. package/types/components/Typography/Typography.types.d.ts.map +1 -1
  61. package/emotion/cjs/examples/typography/components/Old/Body/Body.config.js +0 -20
  62. package/emotion/cjs/examples/typography/components/Old/Body/Body.js +0 -11
  63. package/emotion/cjs/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  64. package/emotion/cjs/examples/typography/components/Old/Button/Button.config.js +0 -19
  65. package/emotion/cjs/examples/typography/components/Old/Button/Button.js +0 -11
  66. package/emotion/cjs/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  67. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.config.js +0 -18
  68. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.js +0 -11
  69. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  70. package/emotion/cjs/examples/typography/components/Old/Display/Display.config.js +0 -20
  71. package/emotion/cjs/examples/typography/components/Old/Display/Display.js +0 -11
  72. package/emotion/cjs/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  73. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +0 -19
  74. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.js +0 -11
  75. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  76. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.config.js +0 -21
  77. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.js +0 -11
  78. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  79. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -19
  80. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +0 -11
  81. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  82. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -18
  83. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +0 -11
  84. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  85. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.config.js +0 -18
  86. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.js +0 -11
  87. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  88. package/emotion/es/examples/typography/components/Old/Body/Body.config.js +0 -14
  89. package/emotion/es/examples/typography/components/Old/Body/Body.js +0 -5
  90. package/emotion/es/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  91. package/emotion/es/examples/typography/components/Old/Button/Button.config.js +0 -13
  92. package/emotion/es/examples/typography/components/Old/Button/Button.js +0 -5
  93. package/emotion/es/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  94. package/emotion/es/examples/typography/components/Old/Caption/Caption.config.js +0 -12
  95. package/emotion/es/examples/typography/components/Old/Caption/Caption.js +0 -5
  96. package/emotion/es/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  97. package/emotion/es/examples/typography/components/Old/Display/Display.config.js +0 -14
  98. package/emotion/es/examples/typography/components/Old/Display/Display.js +0 -5
  99. package/emotion/es/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  100. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.config.js +0 -13
  101. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.js +0 -5
  102. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  103. package/emotion/es/examples/typography/components/Old/Headline/Headline.config.js +0 -15
  104. package/emotion/es/examples/typography/components/Old/Headline/Headline.js +0 -5
  105. package/emotion/es/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  106. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -13
  107. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.js +0 -5
  108. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  109. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -12
  110. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.js +0 -5
  111. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  112. package/emotion/es/examples/typography/components/Old/Underline/Underline.config.js +0 -12
  113. package/emotion/es/examples/typography/components/Old/Underline/Underline.js +0 -5
  114. package/emotion/es/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  115. package/styled-components/cjs/examples/typography/components/Old/Body/Body.config.js +0 -20
  116. package/styled-components/cjs/examples/typography/components/Old/Body/Body.js +0 -11
  117. package/styled-components/cjs/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  118. package/styled-components/cjs/examples/typography/components/Old/Button/Button.config.js +0 -19
  119. package/styled-components/cjs/examples/typography/components/Old/Button/Button.js +0 -11
  120. package/styled-components/cjs/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  121. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.config.js +0 -18
  122. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.js +0 -11
  123. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  124. package/styled-components/cjs/examples/typography/components/Old/Display/Display.config.js +0 -20
  125. package/styled-components/cjs/examples/typography/components/Old/Display/Display.js +0 -11
  126. package/styled-components/cjs/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  127. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +0 -19
  128. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.js +0 -11
  129. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  130. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.config.js +0 -21
  131. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.js +0 -11
  132. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  133. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -19
  134. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +0 -11
  135. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  136. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -18
  137. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +0 -11
  138. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  139. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.config.js +0 -18
  140. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.js +0 -11
  141. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  142. package/styled-components/es/examples/typography/components/Old/Body/Body.config.js +0 -14
  143. package/styled-components/es/examples/typography/components/Old/Body/Body.js +0 -5
  144. package/styled-components/es/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  145. package/styled-components/es/examples/typography/components/Old/Button/Button.config.js +0 -13
  146. package/styled-components/es/examples/typography/components/Old/Button/Button.js +0 -5
  147. package/styled-components/es/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  148. package/styled-components/es/examples/typography/components/Old/Caption/Caption.config.js +0 -12
  149. package/styled-components/es/examples/typography/components/Old/Caption/Caption.js +0 -5
  150. package/styled-components/es/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  151. package/styled-components/es/examples/typography/components/Old/Display/Display.config.js +0 -14
  152. package/styled-components/es/examples/typography/components/Old/Display/Display.js +0 -5
  153. package/styled-components/es/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  154. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.config.js +0 -13
  155. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.js +0 -5
  156. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  157. package/styled-components/es/examples/typography/components/Old/Headline/Headline.config.js +0 -15
  158. package/styled-components/es/examples/typography/components/Old/Headline/Headline.js +0 -5
  159. package/styled-components/es/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  160. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -13
  161. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.js +0 -5
  162. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  163. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -12
  164. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.js +0 -5
  165. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  166. package/styled-components/es/examples/typography/components/Old/Underline/Underline.config.js +0 -12
  167. package/styled-components/es/examples/typography/components/Old/Underline/Underline.js +0 -5
  168. package/styled-components/es/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
@@ -1,5 +0,0 @@
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);
@@ -1,40 +0,0 @@
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
- };
@@ -1,12 +0,0 @@
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
- };
@@ -1,5 +0,0 @@
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);
@@ -1,40 +0,0 @@
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
- };
@@ -1,14 +0,0 @@
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
- };
@@ -1,5 +0,0 @@
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);
@@ -1,40 +0,0 @@
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
- };
@@ -1,13 +0,0 @@
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
- };
@@ -1,5 +0,0 @@
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);
@@ -1,40 +0,0 @@
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
- };
@@ -1,15 +0,0 @@
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
- };
@@ -1,5 +0,0 @@
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);
@@ -1,40 +0,0 @@
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
- };
@@ -1,13 +0,0 @@
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
- };
@@ -1,5 +0,0 @@
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);
@@ -1,42 +0,0 @@
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
- };
@@ -1,12 +0,0 @@
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
- };
@@ -1,5 +0,0 @@
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);
@@ -1,39 +0,0 @@
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
- };
@@ -1,12 +0,0 @@
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
- };
@@ -1,5 +0,0 @@
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);
@@ -1,40 +0,0 @@
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 { underlineConfig } from '../../../../../components/Typography';
7
-
8
- import { Underline } from './Underline';
9
- import { config } from './Underline.config';
10
-
11
- const meta: Meta<typeof Underline> = {
12
- title: 'Data Display/Typography/Old/Underline',
13
- decorators: [WithTheme],
14
- component: Underline,
15
- argTypes: {
16
- ...argTypesFromConfig(mergeConfig(underlineConfig, 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 Underline> = {
32
- render: (props) => {
33
- return (
34
- <Underline {...props}>
35
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
36
- distinctio modi quo, provident quod.
37
- </Underline>
38
- );
39
- },
40
- };