@apify/ui-library 1.119.0 → 1.120.1
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/dist/src/components/boring_avatar.d.ts +13 -0
- package/dist/src/components/boring_avatar.d.ts.map +1 -0
- package/dist/src/components/boring_avatar.js +98 -0
- package/dist/src/components/boring_avatar.js.map +1 -0
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +2 -0
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/components/simple_markdown/simple_markdown_components.d.ts.map +1 -1
- package/dist/src/components/simple_markdown/simple_markdown_components.js +23 -6
- package/dist/src/components/simple_markdown/simple_markdown_components.js.map +1 -1
- package/dist/src/components/store/actor_avatar.d.ts +18 -0
- package/dist/src/components/store/actor_avatar.d.ts.map +1 -0
- package/dist/src/components/store/actor_avatar.js +64 -0
- package/dist/src/components/store/actor_avatar.js.map +1 -0
- package/dist/src/components/store/index.d.ts +3 -0
- package/dist/src/components/store/index.d.ts.map +1 -0
- package/dist/src/components/store/index.js +3 -0
- package/dist/src/components/store/index.js.map +1 -0
- package/dist/src/components/store/store_actor_header.d.ts +13 -0
- package/dist/src/components/store/store_actor_header.d.ts.map +1 -0
- package/dist/src/components/store/store_actor_header.js +70 -0
- package/dist/src/components/store/store_actor_header.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -2
- package/src/components/boring_avatar.stories.tsx +188 -0
- package/src/components/boring_avatar.tsx +262 -0
- package/src/components/card_container.stories.tsx +2 -1
- package/src/components/code/code_block/code_block.stories.jsx +1 -1
- package/src/components/code/inline_code/inline_code.stories.tsx +1 -1
- package/src/components/code/one_line_code/one_line_code.stories.tsx +1 -1
- package/src/components/index.ts +2 -0
- package/src/components/readme_renderer/table_of_contents.stories.tsx +476 -0
- package/src/components/simple_markdown/simple_markdown.stories.tsx +1 -1
- package/src/components/simple_markdown/simple_markdown_components.tsx +27 -5
- package/src/components/store/actor_avatar.stories.tsx +65 -0
- package/src/components/store/actor_avatar.tsx +129 -0
- package/src/components/store/index.ts +2 -0
- package/src/components/store/store_actor_header.stories.tsx +126 -0
- package/src/components/store/store_actor_header.tsx +131 -0
- package/src/components/text/heading_content.stories.tsx +167 -0
- package/src/components/text/heading_marketing.stories.tsx +123 -0
- package/src/components/text/heading_shared.stories.tsx +118 -0
- package/src/components/text/text_content.stories.tsx +189 -0
- package/src/components/text/text_marketing.stories.tsx +187 -0
- package/src/components/text/text_shared.stories.tsx +246 -0
- package/src/components/tile/horizontal_tile.stories.tsx +105 -0
- package/src/components/tile/vertical_tile.stories.tsx +167 -0
- package/src/components/to_consolidate/card.stories.tsx +91 -0
- package/src/components/to_consolidate/markdown.stories.tsx +160 -0
- package/src/components/to_consolidate/pagination.stories.tsx +64 -0
- package/src/components/to_consolidate/tab_number_chip.stories.tsx +113 -0
- package/src/components/text/text.stories.tsx +0 -61
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
import { HeadingShared, type HeadingSharedProps } from './heading_shared.js';
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: 'Design Tokens/Typography/HeadingShared',
|
|
8
|
+
component: HeadingShared,
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: 'Shared headings are the standard typography component used throughout the console and shared components. '
|
|
13
|
+
+ 'This is the default choice for most heading needs. **If you\'re unsure which heading component to use, choose this one.**',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
argTypes: {
|
|
18
|
+
type: {
|
|
19
|
+
control: { type: 'select' },
|
|
20
|
+
options: ['titleXs', 'titleS', 'titleM', 'titleL', 'titleXl', 'title2xl', 'title3xl'],
|
|
21
|
+
description: 'The heading size type (responsive across mobile/tablet/desktop)',
|
|
22
|
+
},
|
|
23
|
+
as: {
|
|
24
|
+
control: 'text',
|
|
25
|
+
description: 'The HTML element to render as (overrides default for each type)',
|
|
26
|
+
},
|
|
27
|
+
children: {
|
|
28
|
+
control: 'text',
|
|
29
|
+
description: 'The heading text content',
|
|
30
|
+
},
|
|
31
|
+
color: {
|
|
32
|
+
control: 'color',
|
|
33
|
+
description: 'Custom color for the heading',
|
|
34
|
+
},
|
|
35
|
+
align: {
|
|
36
|
+
control: { type: 'select' },
|
|
37
|
+
options: ['left', 'center', 'right'],
|
|
38
|
+
description: 'Text alignment',
|
|
39
|
+
},
|
|
40
|
+
italic: {
|
|
41
|
+
control: 'boolean',
|
|
42
|
+
description: 'Apply italic style',
|
|
43
|
+
},
|
|
44
|
+
uppercase: {
|
|
45
|
+
control: 'boolean',
|
|
46
|
+
description: 'Transform text to uppercase',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
} as Meta<HeadingSharedProps>;
|
|
50
|
+
|
|
51
|
+
type Story = StoryObj<HeadingSharedProps>;
|
|
52
|
+
|
|
53
|
+
const StoryWrapper = styled.div`
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
gap: 2rem;
|
|
57
|
+
padding: 2rem;
|
|
58
|
+
`;
|
|
59
|
+
|
|
60
|
+
const HeadingShowcase = styled.div`
|
|
61
|
+
border-bottom: 1px solid #e0e0e0;
|
|
62
|
+
padding-bottom: 1rem;
|
|
63
|
+
|
|
64
|
+
small {
|
|
65
|
+
display: block;
|
|
66
|
+
color: #666;
|
|
67
|
+
font-size: 0.875rem;
|
|
68
|
+
margin-bottom: 0.5rem;
|
|
69
|
+
}
|
|
70
|
+
`;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Default shared heading
|
|
74
|
+
*/
|
|
75
|
+
export const Default: Story = {
|
|
76
|
+
args: {
|
|
77
|
+
type: 'titleL',
|
|
78
|
+
children: 'Shared Typography Heading',
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* All shared heading sizes displayed together
|
|
84
|
+
*/
|
|
85
|
+
export const AllSizes: Story = {
|
|
86
|
+
render: () => (
|
|
87
|
+
<StoryWrapper>
|
|
88
|
+
<HeadingShowcase>
|
|
89
|
+
<small>title3xl (default: h1)</small>
|
|
90
|
+
<HeadingShared type="title3xl">Largest Shared Title</HeadingShared>
|
|
91
|
+
</HeadingShowcase>
|
|
92
|
+
<HeadingShowcase>
|
|
93
|
+
<small>title2xl (default: h1)</small>
|
|
94
|
+
<HeadingShared type="title2xl">Extra Large Shared Title</HeadingShared>
|
|
95
|
+
</HeadingShowcase>
|
|
96
|
+
<HeadingShowcase>
|
|
97
|
+
<small>titleXl (default: h2)</small>
|
|
98
|
+
<HeadingShared type="titleXl">Very Large Shared Title</HeadingShared>
|
|
99
|
+
</HeadingShowcase>
|
|
100
|
+
<HeadingShowcase>
|
|
101
|
+
<small>titleL (default: h3)</small>
|
|
102
|
+
<HeadingShared type="titleL">Large Shared Title</HeadingShared>
|
|
103
|
+
</HeadingShowcase>
|
|
104
|
+
<HeadingShowcase>
|
|
105
|
+
<small>titleM (default: h4)</small>
|
|
106
|
+
<HeadingShared type="titleM">Medium Shared Title</HeadingShared>
|
|
107
|
+
</HeadingShowcase>
|
|
108
|
+
<HeadingShowcase>
|
|
109
|
+
<small>titleS (default: h5)</small>
|
|
110
|
+
<HeadingShared type="titleS">Small Shared Title</HeadingShared>
|
|
111
|
+
</HeadingShowcase>
|
|
112
|
+
<HeadingShowcase>
|
|
113
|
+
<small>titleXs (default: h6)</small>
|
|
114
|
+
<HeadingShared type="titleXs">Extra Small Shared Title</HeadingShared>
|
|
115
|
+
</HeadingShowcase>
|
|
116
|
+
</StoryWrapper>
|
|
117
|
+
),
|
|
118
|
+
};
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
import { type ContentTextProps, TextContent } from './text_content.js';
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: 'Design Tokens/Typography/TextContent',
|
|
8
|
+
component: TextContent,
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: '⚠️ **Internal Component**: This component is specifically designed for use within the SimpleMarkdown component.'
|
|
13
|
+
+ ' It provides content-specific text styles for markdown rendering (paragraphs and code snippets).'
|
|
14
|
+
+ ' For general text usage, use TextShared or TextMarketing instead.',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
argTypes: {
|
|
19
|
+
type: {
|
|
20
|
+
control: { type: 'select' },
|
|
21
|
+
options: ['paragraph', 'snippet'],
|
|
22
|
+
description: 'Text type: paragraph for regular markdown text, snippet for inline code',
|
|
23
|
+
},
|
|
24
|
+
weight: {
|
|
25
|
+
control: { type: 'select' },
|
|
26
|
+
options: ['normal', 'bold'],
|
|
27
|
+
description: 'Font weight',
|
|
28
|
+
},
|
|
29
|
+
as: {
|
|
30
|
+
control: 'text',
|
|
31
|
+
description: 'The HTML element to render as (default: p)',
|
|
32
|
+
},
|
|
33
|
+
children: {
|
|
34
|
+
control: 'text',
|
|
35
|
+
description: 'The text content',
|
|
36
|
+
},
|
|
37
|
+
color: {
|
|
38
|
+
control: 'color',
|
|
39
|
+
description: 'Custom color for the text',
|
|
40
|
+
},
|
|
41
|
+
align: {
|
|
42
|
+
control: { type: 'select' },
|
|
43
|
+
options: ['left', 'center', 'right'],
|
|
44
|
+
description: 'Text alignment',
|
|
45
|
+
},
|
|
46
|
+
italic: {
|
|
47
|
+
control: 'boolean',
|
|
48
|
+
description: 'Apply italic style',
|
|
49
|
+
},
|
|
50
|
+
uppercase: {
|
|
51
|
+
control: 'boolean',
|
|
52
|
+
description: 'Transform text to uppercase',
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
} as Meta<ContentTextProps>;
|
|
56
|
+
|
|
57
|
+
type Story = StoryObj<ContentTextProps>;
|
|
58
|
+
|
|
59
|
+
const StoryWrapper = styled.div`
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
gap: 1.5rem;
|
|
63
|
+
padding: 2rem;
|
|
64
|
+
max-width: 800px;
|
|
65
|
+
`;
|
|
66
|
+
|
|
67
|
+
const TextShowcase = styled.div`
|
|
68
|
+
padding: 1rem;
|
|
69
|
+
background: #f5f5f5;
|
|
70
|
+
border-radius: 4px;
|
|
71
|
+
|
|
72
|
+
small {
|
|
73
|
+
display: block;
|
|
74
|
+
color: #666;
|
|
75
|
+
font-size: 0.75rem;
|
|
76
|
+
margin-bottom: 0.5rem;
|
|
77
|
+
font-family: monospace;
|
|
78
|
+
}
|
|
79
|
+
`;
|
|
80
|
+
|
|
81
|
+
const WarningBanner = styled.div`
|
|
82
|
+
background: #fff3cd;
|
|
83
|
+
border: 1px solid #ffc107;
|
|
84
|
+
border-radius: 4px;
|
|
85
|
+
padding: 1rem;
|
|
86
|
+
margin-bottom: 1.5rem;
|
|
87
|
+
|
|
88
|
+
strong {
|
|
89
|
+
color: #856404;
|
|
90
|
+
display: block;
|
|
91
|
+
margin-bottom: 0.5rem;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
p {
|
|
95
|
+
color: #856404;
|
|
96
|
+
margin: 0;
|
|
97
|
+
font-size: 0.875rem;
|
|
98
|
+
}
|
|
99
|
+
`;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Default content text (used by SimpleMarkdown)
|
|
103
|
+
*
|
|
104
|
+
* ⚠️ This component is for internal use by SimpleMarkdown only
|
|
105
|
+
*/
|
|
106
|
+
export const Default: Story = {
|
|
107
|
+
args: {
|
|
108
|
+
type: 'paragraph',
|
|
109
|
+
weight: 'normal',
|
|
110
|
+
children: 'Content text for markdown rendering.',
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* All content text variants as used in SimpleMarkdown component
|
|
116
|
+
*
|
|
117
|
+
* ⚠️ These text styles are specifically designed for markdown content rendering.
|
|
118
|
+
* For general application text, use TextShared or TextMarketing.
|
|
119
|
+
*/
|
|
120
|
+
export const AllVariants: Story = {
|
|
121
|
+
render: () => (
|
|
122
|
+
<StoryWrapper>
|
|
123
|
+
<WarningBanner>
|
|
124
|
+
<strong>⚠️ Internal Component</strong>
|
|
125
|
+
<p>
|
|
126
|
+
TextContent is used exclusively by the SimpleMarkdown component for rendering
|
|
127
|
+
markdown paragraphs and inline code snippets. For general text usage in your
|
|
128
|
+
application, use TextShared or TextMarketing components instead.
|
|
129
|
+
</p>
|
|
130
|
+
</WarningBanner>
|
|
131
|
+
|
|
132
|
+
<div>
|
|
133
|
+
<h3 style={{ marginTop: 0, marginBottom: '1rem' }}>Paragraph Type</h3>
|
|
134
|
+
<p style={{ fontSize: '0.875rem', color: '#666', marginBottom: '1rem' }}>
|
|
135
|
+
Used for regular text content in markdown documents
|
|
136
|
+
</p>
|
|
137
|
+
|
|
138
|
+
<TextShowcase>
|
|
139
|
+
<small>type=paragraph, weight=normal</small>
|
|
140
|
+
<TextContent type="paragraph" weight="normal">
|
|
141
|
+
This is a paragraph with normal weight, used for standard markdown text content.
|
|
142
|
+
It provides optimal readability for documentation and readme files.
|
|
143
|
+
</TextContent>
|
|
144
|
+
</TextShowcase>
|
|
145
|
+
|
|
146
|
+
<TextShowcase>
|
|
147
|
+
<small>type=paragraph, weight=bold</small>
|
|
148
|
+
<TextContent type="paragraph" weight="bold">
|
|
149
|
+
This is a paragraph with bold weight, used for **strong text** in markdown.
|
|
150
|
+
It creates emphasis for important information within the content.
|
|
151
|
+
</TextContent>
|
|
152
|
+
</TextShowcase>
|
|
153
|
+
</div>
|
|
154
|
+
|
|
155
|
+
<div>
|
|
156
|
+
<h3 style={{ marginBottom: '1rem' }}>Snippet Type</h3>
|
|
157
|
+
<p style={{ fontSize: '0.875rem', color: '#666', marginBottom: '1rem' }}>
|
|
158
|
+
Used for inline code within markdown text (e.g., `code`)
|
|
159
|
+
</p>
|
|
160
|
+
|
|
161
|
+
<TextShowcase>
|
|
162
|
+
<small>type=snippet, weight=normal</small>
|
|
163
|
+
<TextContent type="snippet" weight="normal">
|
|
164
|
+
const inlineCode = "monospace text for code snippets";
|
|
165
|
+
</TextContent>
|
|
166
|
+
</TextShowcase>
|
|
167
|
+
|
|
168
|
+
<TextShowcase>
|
|
169
|
+
<small>type=snippet, weight=bold</small>
|
|
170
|
+
<TextContent type="snippet" weight="bold">
|
|
171
|
+
function boldCodeSnippet() { return "emphasized code"; }
|
|
172
|
+
</TextContent>
|
|
173
|
+
</TextShowcase>
|
|
174
|
+
</div>
|
|
175
|
+
|
|
176
|
+
<div style={{ marginTop: '2rem', padding: '1.5rem', border: '1px solid #e0e0e0', borderRadius: '4px' }}>
|
|
177
|
+
<h4 style={{ marginTop: 0 }}>Example in Markdown Context</h4>
|
|
178
|
+
<TextContent type="paragraph" weight="normal" mb="space8">
|
|
179
|
+
The SimpleMarkdown component uses these styles to render markdown. For example,
|
|
180
|
+
when you write code like <TextContent type="snippet" weight="normal" as="span">npm install</TextContent> inline,
|
|
181
|
+
it uses the snippet type.
|
|
182
|
+
</TextContent>
|
|
183
|
+
<TextContent type="paragraph" weight="bold">
|
|
184
|
+
Bold text in markdown is rendered using paragraph with bold weight.
|
|
185
|
+
</TextContent>
|
|
186
|
+
</div>
|
|
187
|
+
</StoryWrapper>
|
|
188
|
+
),
|
|
189
|
+
};
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
import { type MarketingTextProps, TextMarketing } from './text_marketing.js';
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: 'Design Tokens/Typography/TextMarketing',
|
|
8
|
+
component: TextMarketing,
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: 'Marketing text is designed for promotional and web-facing content.'
|
|
13
|
+
+ ' These typography elements are primarily used for marketing pages, landing pages,'
|
|
14
|
+
+ ' and other web components where engaging, conversion-focused text is needed.',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
argTypes: {
|
|
19
|
+
size: {
|
|
20
|
+
control: { type: 'select' },
|
|
21
|
+
options: ['large', 'regular', 'small', 'extraSmall'],
|
|
22
|
+
description: 'Text size (responsive across mobile/tablet/desktop)',
|
|
23
|
+
},
|
|
24
|
+
weight: {
|
|
25
|
+
control: { type: 'select' },
|
|
26
|
+
options: ['normal', 'medium', 'bold'],
|
|
27
|
+
description: 'Font weight',
|
|
28
|
+
},
|
|
29
|
+
as: {
|
|
30
|
+
control: 'text',
|
|
31
|
+
description: 'The HTML element to render as (default: p)',
|
|
32
|
+
},
|
|
33
|
+
children: {
|
|
34
|
+
control: 'text',
|
|
35
|
+
description: 'The text content',
|
|
36
|
+
},
|
|
37
|
+
color: {
|
|
38
|
+
control: 'color',
|
|
39
|
+
description: 'Custom color for the text',
|
|
40
|
+
},
|
|
41
|
+
align: {
|
|
42
|
+
control: { type: 'select' },
|
|
43
|
+
options: ['left', 'center', 'right'],
|
|
44
|
+
description: 'Text alignment',
|
|
45
|
+
},
|
|
46
|
+
italic: {
|
|
47
|
+
control: 'boolean',
|
|
48
|
+
description: 'Apply italic style',
|
|
49
|
+
},
|
|
50
|
+
uppercase: {
|
|
51
|
+
control: 'boolean',
|
|
52
|
+
description: 'Transform text to uppercase',
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
} as Meta<MarketingTextProps>;
|
|
56
|
+
|
|
57
|
+
type Story = StoryObj<MarketingTextProps>;
|
|
58
|
+
|
|
59
|
+
const StoryWrapper = styled.div`
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
gap: 1.5rem;
|
|
63
|
+
padding: 2rem;
|
|
64
|
+
max-width: 800px;
|
|
65
|
+
`;
|
|
66
|
+
|
|
67
|
+
const TextShowcase = styled.div`
|
|
68
|
+
padding: 1rem;
|
|
69
|
+
background: #f5f5f5;
|
|
70
|
+
border-radius: 4px;
|
|
71
|
+
|
|
72
|
+
small {
|
|
73
|
+
display: block;
|
|
74
|
+
color: #666;
|
|
75
|
+
font-size: 0.75rem;
|
|
76
|
+
margin-bottom: 0.5rem;
|
|
77
|
+
font-family: monospace;
|
|
78
|
+
}
|
|
79
|
+
`;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Default marketing text
|
|
83
|
+
*/
|
|
84
|
+
export const Default: Story = {
|
|
85
|
+
args: {
|
|
86
|
+
size: 'regular',
|
|
87
|
+
weight: 'normal',
|
|
88
|
+
children: 'Marketing text for web pages and promotional content.',
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* All marketing text sizes and weights
|
|
94
|
+
*/
|
|
95
|
+
export const AllVariants: Story = {
|
|
96
|
+
render: () => (
|
|
97
|
+
<StoryWrapper>
|
|
98
|
+
<div>
|
|
99
|
+
<h3 style={{ marginTop: 0 }}>Large Size</h3>
|
|
100
|
+
<TextShowcase>
|
|
101
|
+
<small>size=large, weight=normal</small>
|
|
102
|
+
<TextMarketing size="large" weight="normal">
|
|
103
|
+
Large marketing text with normal weight for introductory paragraphs.
|
|
104
|
+
</TextMarketing>
|
|
105
|
+
</TextShowcase>
|
|
106
|
+
<TextShowcase>
|
|
107
|
+
<small>size=large, weight=medium</small>
|
|
108
|
+
<TextMarketing size="large" weight="medium">
|
|
109
|
+
Large marketing text with medium weight for emphasis.
|
|
110
|
+
</TextMarketing>
|
|
111
|
+
</TextShowcase>
|
|
112
|
+
<TextShowcase>
|
|
113
|
+
<small>size=large, weight=bold</small>
|
|
114
|
+
<TextMarketing size="large" weight="bold">
|
|
115
|
+
Large marketing text with bold weight for strong statements.
|
|
116
|
+
</TextMarketing>
|
|
117
|
+
</TextShowcase>
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
<div>
|
|
121
|
+
<h3>Regular Size</h3>
|
|
122
|
+
<TextShowcase>
|
|
123
|
+
<small>size=regular, weight=normal</small>
|
|
124
|
+
<TextMarketing size="regular" weight="normal">
|
|
125
|
+
Regular marketing text with normal weight for body content.
|
|
126
|
+
</TextMarketing>
|
|
127
|
+
</TextShowcase>
|
|
128
|
+
<TextShowcase>
|
|
129
|
+
<small>size=regular, weight=medium</small>
|
|
130
|
+
<TextMarketing size="regular" weight="medium">
|
|
131
|
+
Regular marketing text with medium weight for emphasis.
|
|
132
|
+
</TextMarketing>
|
|
133
|
+
</TextShowcase>
|
|
134
|
+
<TextShowcase>
|
|
135
|
+
<small>size=regular, weight=bold</small>
|
|
136
|
+
<TextMarketing size="regular" weight="bold">
|
|
137
|
+
Regular marketing text with bold weight for highlights.
|
|
138
|
+
</TextMarketing>
|
|
139
|
+
</TextShowcase>
|
|
140
|
+
</div>
|
|
141
|
+
|
|
142
|
+
<div>
|
|
143
|
+
<h3>Small Size</h3>
|
|
144
|
+
<TextShowcase>
|
|
145
|
+
<small>size=small, weight=normal</small>
|
|
146
|
+
<TextMarketing size="small" weight="normal">
|
|
147
|
+
Small marketing text with normal weight for captions and metadata.
|
|
148
|
+
</TextMarketing>
|
|
149
|
+
</TextShowcase>
|
|
150
|
+
<TextShowcase>
|
|
151
|
+
<small>size=small, weight=medium</small>
|
|
152
|
+
<TextMarketing size="small" weight="medium">
|
|
153
|
+
Small marketing text with medium weight for emphasis.
|
|
154
|
+
</TextMarketing>
|
|
155
|
+
</TextShowcase>
|
|
156
|
+
<TextShowcase>
|
|
157
|
+
<small>size=small, weight=bold</small>
|
|
158
|
+
<TextMarketing size="small" weight="bold">
|
|
159
|
+
Small marketing text with bold weight for labels.
|
|
160
|
+
</TextMarketing>
|
|
161
|
+
</TextShowcase>
|
|
162
|
+
</div>
|
|
163
|
+
|
|
164
|
+
<div>
|
|
165
|
+
<h3>Extra Small Size</h3>
|
|
166
|
+
<TextShowcase>
|
|
167
|
+
<small>size=extraSmall, weight=normal</small>
|
|
168
|
+
<TextMarketing size="extraSmall" weight="normal">
|
|
169
|
+
Extra small marketing text with normal weight for fine print.
|
|
170
|
+
</TextMarketing>
|
|
171
|
+
</TextShowcase>
|
|
172
|
+
<TextShowcase>
|
|
173
|
+
<small>size=extraSmall, weight=medium</small>
|
|
174
|
+
<TextMarketing size="extraSmall" weight="medium">
|
|
175
|
+
Extra small marketing text with medium weight for emphasis.
|
|
176
|
+
</TextMarketing>
|
|
177
|
+
</TextShowcase>
|
|
178
|
+
<TextShowcase>
|
|
179
|
+
<small>size=extraSmall, weight=bold</small>
|
|
180
|
+
<TextMarketing size="extraSmall" weight="bold">
|
|
181
|
+
Extra small marketing text with bold weight for micro labels.
|
|
182
|
+
</TextMarketing>
|
|
183
|
+
</TextShowcase>
|
|
184
|
+
</div>
|
|
185
|
+
</StoryWrapper>
|
|
186
|
+
),
|
|
187
|
+
};
|