thread-ui 0.9.0 → 0.10.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 (89) hide show
  1. package/README.md +6 -0
  2. package/dist/components/data-display/filter-controls/variants/filter-controls.js +1 -1
  3. package/dist/components/data-display/filter-controls/variants/filter-controls.js.map +1 -1
  4. package/dist/components/data-display/filter-controls/variants/inline-filter-controls.js +1 -1
  5. package/dist/components/data-display/filter-controls/variants/inline-filter-controls.js.map +1 -1
  6. package/dist/components/data-display/sort-controls/sort-controls.js +1 -1
  7. package/dist/components/data-display/sort-controls/sort-controls.js.map +1 -1
  8. package/dist/components/form-elements/form-label/form-label.js +1 -1
  9. package/dist/components/form-elements/form-label/form-label.js.map +1 -1
  10. package/dist/components/media/image-panel/image-panel.js +1 -1
  11. package/dist/components/media/image-panel/image-panel.js.map +1 -1
  12. package/dist/components/media/media-card/media-card.js +22 -5
  13. package/dist/components/media/media-card/media-card.js.map +1 -1
  14. package/dist/components/navigation/nav-menu/components/nav-link/nav-link.js +2 -4
  15. package/dist/components/navigation/nav-menu/components/nav-link/nav-link.js.map +1 -1
  16. package/dist/components/typography/body/body.types.d.ts +29 -0
  17. package/dist/components/typography/body/body.types.js +2 -0
  18. package/dist/components/typography/body/body.types.js.map +1 -0
  19. package/dist/components/typography/body/list.d.ts +15 -0
  20. package/dist/components/typography/body/list.js +47 -0
  21. package/dist/components/typography/body/list.js.map +1 -0
  22. package/dist/components/typography/body/text.d.ts +12 -0
  23. package/dist/components/typography/body/text.js +29 -0
  24. package/dist/components/typography/body/text.js.map +1 -0
  25. package/dist/components/typography/code/code.d.ts +2 -0
  26. package/dist/components/typography/code/code.js +22 -0
  27. package/dist/components/typography/code/code.js.map +1 -0
  28. package/dist/components/typography/code/code.types.d.ts +7 -0
  29. package/dist/components/typography/code/code.types.js +2 -0
  30. package/dist/components/typography/code/code.types.js.map +1 -0
  31. package/dist/components/typography/heading/heading.d.ts +38 -0
  32. package/dist/components/typography/heading/heading.js +53 -0
  33. package/dist/components/typography/heading/heading.js.map +1 -0
  34. package/dist/components/typography/heading/heading.types.d.ts +13 -0
  35. package/dist/components/typography/heading/heading.types.js +2 -0
  36. package/dist/components/typography/heading/heading.types.js.map +1 -0
  37. package/dist/components/typography/heading/render-heading.d.ts +16 -0
  38. package/dist/components/typography/heading/render-heading.js +52 -0
  39. package/dist/components/typography/heading/render-heading.js.map +1 -0
  40. package/dist/components/typography/index.d.ts +8 -2
  41. package/dist/components/typography/index.js +4 -1
  42. package/dist/components/typography/index.js.map +1 -1
  43. package/dist/components/typography/page-header/page-header.js +5 -8
  44. package/dist/components/typography/page-header/page-header.js.map +1 -1
  45. package/dist/components/typography/shared-utils/get-presentation-styles.d.ts +2 -0
  46. package/dist/components/typography/shared-utils/get-presentation-styles.js +27 -0
  47. package/dist/components/typography/shared-utils/get-presentation-styles.js.map +1 -0
  48. package/dist/components/typography/shared-utils/get-typography-styles.d.ts +3 -0
  49. package/dist/components/typography/shared-utils/get-typography-styles.js +55 -0
  50. package/dist/components/typography/shared-utils/get-typography-styles.js.map +1 -0
  51. package/dist/components/typography/typography.d.ts +55 -22
  52. package/dist/components/typography/typography.js +197 -127
  53. package/dist/components/typography/typography.js.map +1 -1
  54. package/dist/components/typography/typography.types.d.ts +21 -0
  55. package/dist/components/typography/typography.types.js +2 -0
  56. package/dist/components/typography/typography.types.js.map +1 -0
  57. package/dist/styled-system/styles.css +1 -1
  58. package/dist/styled-system/tokens/index.js +477 -353
  59. package/dist/styled-system/tokens/tokens.d.ts +19 -19
  60. package/dist/styles/panda.css +1 -1
  61. package/dist/styles/theme.css +36 -0
  62. package/dist/theme/css-name-configurations/theme-css-names.d.ts +53 -0
  63. package/dist/theme/css-name-configurations/theme-css-names.js +51 -0
  64. package/dist/theme/css-name-configurations/theme-css-names.js.map +1 -1
  65. package/dist/theme/default-theme.js +52 -0
  66. package/dist/theme/default-theme.js.map +1 -1
  67. package/dist/theme/index.d.ts +1 -0
  68. package/dist/theme/index.js +1 -0
  69. package/dist/theme/index.js.map +1 -1
  70. package/dist/theme/theme-typography-system.d.ts +10 -0
  71. package/dist/theme/theme-typography-system.js +51 -0
  72. package/dist/theme/theme-typography-system.js.map +1 -0
  73. package/dist/types/theme/theme.types.d.ts +89 -7
  74. package/dist/utils/theme-utilities/get-resolved-typography-values/get-resolved-typography-values.d.ts +12 -0
  75. package/dist/utils/theme-utilities/get-resolved-typography-values/get-resolved-typography-values.js +13 -0
  76. package/dist/utils/theme-utilities/get-resolved-typography-values/get-resolved-typography-values.js.map +1 -0
  77. package/dist/utils/theme-utilities/get-resolved-typography-values/index.d.ts +1 -0
  78. package/dist/utils/theme-utilities/get-resolved-typography-values/index.js +2 -0
  79. package/dist/utils/theme-utilities/get-resolved-typography-values/index.js.map +1 -0
  80. package/dist/utils/theme-utilities/get-text-color-styles/get-text-color-styles.d.ts +11 -0
  81. package/dist/utils/theme-utilities/get-text-color-styles/get-text-color-styles.js +34 -0
  82. package/dist/utils/theme-utilities/get-text-color-styles/get-text-color-styles.js.map +1 -0
  83. package/dist/utils/theme-utilities/get-text-color-styles/index.d.ts +1 -0
  84. package/dist/utils/theme-utilities/get-text-color-styles/index.js +2 -0
  85. package/dist/utils/theme-utilities/get-text-color-styles/index.js.map +1 -0
  86. package/dist/utils/theme-utilities/index.d.ts +2 -0
  87. package/dist/utils/theme-utilities/index.js +2 -0
  88. package/dist/utils/theme-utilities/index.js.map +1 -1
  89. package/package.json +1 -1
@@ -1,145 +1,192 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { getColoredTextColor } from '../../utils';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { css, cva, cx } from '../../styled-system/css';
3
+ import { getResolvedTypographyValues, getTextColorStyles } from '../../utils';
4
+ /** Typography CVA — map individual token keys to style declarations. */
5
+ const getTypographyStyles = cva({
6
+ variants: {
7
+ fontFamily: {
8
+ body: { fontFamily: 'body' },
9
+ heading: { fontFamily: 'heading' },
10
+ mono: { fontFamily: 'mono' },
11
+ },
12
+ fontSize: {
13
+ 'heading.sm': { fontSize: 'heading.sm' },
14
+ 'heading.md': { fontSize: 'heading.md' },
15
+ 'heading.lg': { fontSize: 'heading.lg' },
16
+ 'heading.xl': { fontSize: 'heading.xl' },
17
+ 'body.xxs': { fontSize: 'body.xxs' },
18
+ 'body.xs': { fontSize: 'body.xs' },
19
+ 'body.sm': { fontSize: 'body.sm' },
20
+ 'body.md': { fontSize: 'body.md' },
21
+ 'body.lg': { fontSize: 'body.lg' },
22
+ 'body.xl': { fontSize: 'body.xl' },
23
+ },
24
+ fontWeight: {
25
+ regular: { fontWeight: 'regular' },
26
+ medium: { fontWeight: 'medium' },
27
+ semibold: { fontWeight: 'semibold' },
28
+ bold: { fontWeight: 'bold' },
29
+ },
30
+ lineHeight: {
31
+ tighter: { lineHeight: 'tighter' },
32
+ tight: { lineHeight: 'tight' },
33
+ normal: { lineHeight: 'normal' },
34
+ loose: { lineHeight: 'loose' },
35
+ looser: { lineHeight: 'looser' },
36
+ },
37
+ letterSpacing: {
38
+ tight: { letterSpacing: 'tight' },
39
+ normal: { letterSpacing: 'normal' },
40
+ wide: { letterSpacing: 'wide' },
41
+ },
42
+ marginBottom: {
43
+ none: { marginBottom: 'none' },
44
+ xxs: { marginBottom: 'xxs' },
45
+ xs: { marginBottom: 'xs' },
46
+ sm: { marginBottom: 'sm' },
47
+ md: { marginBottom: 'md' },
48
+ lg: { marginBottom: 'lg' },
49
+ xl: { marginBottom: 'xl' },
50
+ xxl: { marginBottom: 'xxl' },
51
+ },
52
+ },
53
+ });
54
+ /** Presentation CVA for align/truncate. Not part of the typography chord. */
55
+ const getPresentationStyles = cva({
56
+ variants: {
57
+ align: {
58
+ left: { textAlign: 'left' },
59
+ center: { textAlign: 'center' },
60
+ },
61
+ truncate: {
62
+ true: {
63
+ overflow: 'hidden',
64
+ whiteSpace: 'nowrap',
65
+ textOverflow: 'ellipsis',
66
+ },
67
+ },
68
+ indent: {
69
+ true: {
70
+ textIndent: '4',
71
+ },
72
+ false: {},
73
+ },
74
+ },
75
+ });
76
+ /** Subtitle role mapping: subtitle under a heading uses one-step-down typography role. */
77
+ const SUBTITLE_ROLE_MAP = {
78
+ title: 'h1',
79
+ h1: 'h2',
80
+ h2: 'h3',
81
+ h3: 'body',
82
+ };
83
+ /**
84
+ * Internal helper rendering a heading with optional subtitle.
85
+ * Wraps in <hgroup> when subtitle is present.
86
+ *
87
+ */
88
+ const renderHeading = (role, HeadingTag, { children, align = 'left', inline = false, color = 'standard', truncate = false, subtitle, }) => {
89
+ // If no subtitle, pass marginBottom through unless inline
90
+ if (!subtitle) {
91
+ const resolved = getResolvedTypographyValues({
92
+ role,
93
+ marginBottom: inline ? 'none' : undefined,
94
+ });
95
+ const headingClass = cx(getTypographyStyles(resolved), getPresentationStyles({ align, truncate: truncate || undefined }), getTextColorStyles(color));
96
+ return _jsx(HeadingTag, { className: headingClass, children: children });
97
+ }
98
+ // Wrap subtitle and heading in hgroup, add margin to wrapper
99
+ const headingResolved = getResolvedTypographyValues({
100
+ role,
101
+ marginBottom: 'none',
102
+ });
103
+ const headingClass = cx(getTypographyStyles(headingResolved), getPresentationStyles({ align, truncate: truncate || undefined }), getTextColorStyles(color));
104
+ const subtitleRole = SUBTITLE_ROLE_MAP[role];
105
+ const subtitleResolved = getResolvedTypographyValues({
106
+ role: subtitleRole,
107
+ fontFamily: 'heading',
108
+ marginBottom: 'none',
109
+ });
110
+ const subtitleClass = cx(getTypographyStyles(subtitleResolved), getPresentationStyles({ align, truncate: truncate || undefined }), getTextColorStyles('text-secondary'));
111
+ // Derive hgroup outer margin from heading
112
+ const wrapperResolved = getResolvedTypographyValues({
113
+ role,
114
+ marginBottom: inline ? 'none' : undefined,
115
+ });
116
+ const wrapperClass = getTypographyStyles({
117
+ fontSize: wrapperResolved.fontSize,
118
+ marginBottom: wrapperResolved.marginBottom,
119
+ });
120
+ return (_jsxs("hgroup", { className: wrapperClass, children: [_jsx(HeadingTag, { className: headingClass, children: children }), _jsx("p", { className: subtitleClass, children: subtitle })] }));
121
+ };
3
122
  /**
4
- * Display-level heading. Renders as `h1` at 3rem/700 weight.
123
+ * Display-level heading. Renders as `h1`
5
124
  *
6
125
  * @example
7
126
  * <Title align="center">Welcome</Title>
127
+ * <Title subtitle="Last updated March 2025">Welcome</Title>
8
128
  */
9
- export const Title = ({ children, align = 'left', inline = false, color = 'standard', truncate = false, }) => {
10
- const styles = {
11
- fontSize: '3rem',
12
- fontWeight: 700,
13
- lineHeight: 1.3,
14
- marginBottom: inline ? 0 : '40px',
15
- textAlign: align,
16
- color: getColoredTextColor(color),
17
- ...(truncate && {
18
- overflow: 'hidden',
19
- whiteSpace: 'nowrap',
20
- textOverflow: 'ellipsis',
21
- }),
22
- };
23
- return _jsx("h1", { style: styles, children: children });
24
- };
129
+ export const Title = (props) => renderHeading('title', 'h1', props);
25
130
  /**
26
- * Primary heading. Renders as `h1` at 2rem/600 weight.
131
+ * Primary heading
27
132
  *
28
133
  * @example
29
134
  * <H1>Page Title</H1>
30
135
  */
31
- export const H1 = ({ children, align = 'left', color = 'standard', inline = false, truncate = false, }) => {
32
- const styles = {
33
- fontSize: '2rem',
34
- fontWeight: 600,
35
- lineHeight: 1.3,
36
- marginBottom: inline ? 0 : '32px',
37
- textAlign: align,
38
- color: getColoredTextColor(color),
39
- ...(truncate && {
40
- overflow: 'hidden',
41
- whiteSpace: 'nowrap',
42
- textOverflow: 'ellipsis',
43
- }),
44
- };
45
- return _jsx("h1", { style: styles, children: children });
46
- };
136
+ export const H1 = (props) => renderHeading('h1', 'h1', props);
47
137
  /**
48
- * Secondary heading. Renders as `h2` at 1.5rem/600 weight.
138
+ * Secondary heading
49
139
  *
50
140
  * @example
51
141
  * <H2>Section Title</H2>
52
142
  */
53
- export const H2 = ({ children, align = 'left', color = 'standard', inline = false, truncate = false, }) => {
54
- const styles = {
55
- fontSize: '1.5rem',
56
- fontWeight: 600,
57
- lineHeight: 1.3,
58
- marginBottom: inline ? 0 : '24px',
59
- textAlign: align,
60
- color: getColoredTextColor(color),
61
- ...(truncate && {
62
- overflow: 'hidden',
63
- whiteSpace: 'nowrap',
64
- textOverflow: 'ellipsis',
65
- }),
66
- };
67
- return _jsx("h2", { style: styles, children: children });
68
- };
143
+ export const H2 = (props) => renderHeading('h2', 'h2', props);
69
144
  /**
70
- * Tertiary heading. Renders as `h3` at 1.25rem/600 weight.
145
+ * Tertiary heading
71
146
  *
72
147
  * @example
73
148
  * <H3>Subsection Title</H3>
74
149
  */
75
- export const H3 = ({ children, align = 'left', color = 'standard', inline = false, truncate = false, }) => {
76
- const styles = {
77
- fontSize: '1.25rem',
78
- fontWeight: 600,
79
- lineHeight: 1.3,
80
- marginBottom: inline ? 0 : '16px',
81
- textAlign: align,
82
- color: getColoredTextColor(color),
83
- ...(truncate && {
84
- overflow: 'hidden',
85
- whiteSpace: 'nowrap',
86
- textOverflow: 'ellipsis',
87
- }),
88
- };
89
- return _jsx("h3", { style: styles, children: children });
90
- };
91
- const TEXT_SIZES = {
92
- xxs: '0.625rem',
93
- xs: '0.75rem',
94
- sm: '0.875rem',
95
- md: '1rem',
96
- lg: '1.125rem',
97
- xl: '1.25rem',
98
- xxl: '1.375rem',
99
- };
150
+ export const H3 = (props) => renderHeading('h3', 'h3', props);
100
151
  /**
101
152
  * Body text. Renders as `p` by default or `span` when `inline` is true.
102
153
  *
154
+ * Allows for individual attribute overrides for customization
155
+ *
103
156
  * @example
104
- * <Text size="sm" bold>Important note</Text>
157
+ * <Text>Default Text</Text>
158
+ * @example
159
+ * <Text size="sm" weight="semibold">Important note</Text>
105
160
  */
106
- export const Text = ({ children, align = 'left', inline = false, color = 'standard', bold = false, size = 'md', truncate = false, }) => {
161
+ export const Text = ({ children, align = 'left', inline = false, color = 'standard', size = 'md', weight, lineHeight, letterSpacing, marginBottom, truncate = false, indent, }) => {
107
162
  const Component = inline ? 'span' : 'p';
108
- const styles = {
109
- fontSize: TEXT_SIZES[size],
110
- fontWeight: bold ? 600 : 400,
111
- lineHeight: 1.5,
112
- marginBottom: inline ? 0 : '0.25em',
113
- textAlign: align,
114
- color: getColoredTextColor(color),
115
- ...(truncate && {
116
- overflow: 'hidden',
117
- whiteSpace: 'nowrap',
118
- textOverflow: 'ellipsis',
119
- }),
120
- };
121
- return _jsx(Component, { style: styles, children: children });
163
+ const resolved = getResolvedTypographyValues({
164
+ role: 'body',
165
+ fontSize: `body.${size}`,
166
+ fontWeight: weight,
167
+ lineHeight,
168
+ letterSpacing,
169
+ marginBottom: inline ? 'none' : marginBottom,
170
+ });
171
+ const className = cx(getTypographyStyles(resolved), getPresentationStyles({ indent, align, truncate: truncate || undefined }), getTextColorStyles(color));
172
+ return _jsx(Component, { className: className, children: children });
122
173
  };
123
174
  /**
124
- * Secondary text rendered as an inline `span`. Fluid font size between 0.875rem and 1.5rem.
175
+ * Standalone secondary text rendered as an inline `span`.
176
+ * For subtitles attached to headings, use the `subtitle` prop on Title/H1/H2/H3 instead.
125
177
  *
126
178
  * @example
127
179
  * <Subtitle>Last updated March 2025</Subtitle>
128
180
  */
129
- export const Subtitle = ({ children, align = 'left', color = 'text-secondary', truncate = false, }) => {
130
- const styles = {
131
- display: 'block',
132
- fontSize: '0.875rem',
133
- marginTop: '0.2em',
134
- textAlign: align,
135
- color: getColoredTextColor(color),
136
- ...(truncate && {
137
- overflow: 'hidden',
138
- whiteSpace: 'nowrap',
139
- textOverflow: 'ellipsis',
140
- }),
141
- };
142
- return _jsx("span", { style: styles, children: children });
181
+ export const Subtitle = ({ children, align = 'left', color = 'secondary', truncate = false, fontFamily, indent, }) => {
182
+ const resolved = getResolvedTypographyValues({
183
+ role: 'body',
184
+ fontSize: 'body.sm',
185
+ marginBottom: 'none',
186
+ fontFamily,
187
+ });
188
+ const className = cx(getTypographyStyles(resolved), getPresentationStyles({ indent, align, truncate: truncate || undefined }), getTextColorStyles(color));
189
+ return (_jsx("span", { className: className, style: { display: 'block', marginTop: '0.2em' }, children: children }));
143
190
  };
144
191
  /**
145
192
  * Unordered list with configurable marker style, size, and color.
@@ -147,16 +194,22 @@ export const Subtitle = ({ children, align = 'left', color = 'text-secondary', t
147
194
  * @example
148
195
  * <List items={['Apples', 'Oranges', 'Bananas']} decoration="circle" />
149
196
  */
150
- export const List = ({ align = 'left', color = 'standard', size = 'md', items, decoration = 'disc', }) => {
151
- const styles = {
152
- fontSize: TEXT_SIZES[size],
153
- lineHeight: 1.5,
154
- textAlign: align,
155
- color: getColoredTextColor(color),
197
+ export const List = ({ align = 'left', color = 'standard', size = 'md', weight, lineHeight, letterSpacing, items, decoration = 'disc', }) => {
198
+ const resolved = getResolvedTypographyValues({
199
+ role: 'body',
200
+ fontSize: `body.${size}`,
201
+ fontWeight: weight,
202
+ lineHeight,
203
+ letterSpacing,
204
+ marginBottom: 'none',
205
+ });
206
+ const itemClass = cx(getTypographyStyles(resolved), getPresentationStyles({ align }), getTextColorStyles(color));
207
+ const listStyles = {
208
+ padding: 0,
156
209
  listStyleType: decoration === 'blank' ? 'none' : decoration,
157
210
  marginLeft: decoration !== 'none' ? '1em' : undefined,
158
211
  };
159
- return (_jsx("ul", { style: { padding: 0 }, children: items.map((item, index) => (_jsx("li", { style: styles, children: item }, index))) }));
212
+ return (_jsx("ul", { style: listStyles, children: items.map((item, index) => (_jsx("li", { className: itemClass, children: item }, index))) }));
160
213
  };
161
214
  /**
162
215
  * Ordered list with decimal numbering.
@@ -164,15 +217,32 @@ export const List = ({ align = 'left', color = 'standard', size = 'md', items, d
164
217
  * @example
165
218
  * <OrderedList items={['First', 'Second', 'Third']} />
166
219
  */
167
- export const OrderedList = ({ align = 'left', color = 'standard', size = 'md', items, }) => {
168
- const styles = {
169
- fontSize: TEXT_SIZES[size],
170
- lineHeight: 1.5,
171
- textAlign: align,
172
- color: getColoredTextColor(color),
173
- listStyleType: 'decimal',
174
- marginLeft: '1em',
175
- };
176
- return (_jsx("ol", { style: { padding: 0 }, children: items.map((item, index) => (_jsx("li", { style: styles, children: item }, index))) }));
220
+ export const OrderedList = ({ align = 'left', color = 'standard', size = 'md', weight, lineHeight, letterSpacing, items, }) => {
221
+ const resolved = getResolvedTypographyValues({
222
+ role: 'body',
223
+ fontSize: `body.${size}`,
224
+ fontWeight: weight,
225
+ lineHeight,
226
+ letterSpacing,
227
+ marginBottom: 'none',
228
+ });
229
+ const itemClass = cx(getTypographyStyles(resolved), getPresentationStyles({ align }), getTextColorStyles(color));
230
+ return (_jsx("ol", { style: { padding: 0, listStyleType: 'decimal', marginLeft: '1em' }, children: items.map((item, index) => (_jsx("li", { className: itemClass, children: item }, index))) }));
231
+ };
232
+ export const Code = ({ children, align = 'left', color = 'standard', size = 'sm', truncate = false, }) => {
233
+ const resolved = getResolvedTypographyValues({
234
+ role: 'code',
235
+ fontSize: `body.${size}`,
236
+ });
237
+ const className = cx(css({
238
+ paddingY: '2px',
239
+ paddingX: '3px',
240
+ backgroundColor: 'structure.subtle',
241
+ borderRadius: 'xs',
242
+ borderWidth: 'sm',
243
+ borderColor: 'structure.default',
244
+ letterSpacing: 'wide',
245
+ }), getTypographyStyles(resolved), getPresentationStyles({ align, truncate: truncate || undefined }), getTextColorStyles(color));
246
+ return _jsx("code", { className: className, children: children });
177
247
  };
178
248
  //# sourceMappingURL=typography.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"typography.js","sourceRoot":"","sources":["../../../src/components/typography/typography.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAe9C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,EACrB,QAAQ,EACR,KAAK,GAAG,MAAM,EACd,MAAM,GAAG,KAAK,EACd,KAAK,GAAG,UAAU,EAClB,QAAQ,GAAG,KAAK,GACC,EAAE,EAAE;IACrB,MAAM,MAAM,GAAkB;QAC7B,QAAQ,EAAE,MAAM;QAChB,UAAU,EAAE,GAAG;QACf,UAAU,EAAE,GAAG;QACf,YAAY,EAAE,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AI,IADG,KAAK,CAET,CACL,CAAC,GACE,CACL,CAAC;AACH,CAAC,CAAC;AAaF,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,EACpB,QAAQ,EACR,KAAK,GAAG,MAAM,EACd,KAAK,GAAG,UAAU,EAClB,IAAI,GAAG,IAAI,EACX,QAAQ,GAAG,KAAK,GACL,EAAE,EAAE;IACf,MAAM,QAAQ,GAAG,2BAA2B,CAAC;QAC5C,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,QAAQ,IAAI,EAAW;KACjC,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,EAAE,CACnB,GAAG,CAAC;QACH,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;QACf,eAAe,EAAE,kBAAkB;QACnC,YAAY,EAAE,IAAI;QAClB,WAAW,EAAE,IAAI;QACjB,WAAW,EAAE,mBAAmB;QAChC,aAAa,EAAE,MAAM;KACrB,CAAC,EACF,mBAAmB,CAAC,QAAQ,CAAC,EAC7B,qBAAqB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,IAAI,SAAS,EAAE,CAAC,EACjE,kBAAkB,CAAC,KAAK,CAAC,CACzB,CAAC;IAEF,OAAO,eAAM,SAAS,EAAE,SAAS,YAAG,QAAQ,GAAQ,CAAC;AACtD,CAAC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { ColoredTextOptions, Prettify } from '../../types';
2
+ import { ReactNode } from 'react';
3
+ export type BaseTypographyPresentationProps = {
4
+ /** Text alignment @default `'left'` */
5
+ align?: 'left' | 'center';
6
+ /** Removes bottom margin when true @default `false` */
7
+ inline?: boolean;
8
+ /** Truncates text to a single line with ellipsis @default `false` */
9
+ truncate?: boolean;
10
+ };
11
+ export type ExpandedTypographyPresentationProps = Prettify<BaseTypographyPresentationProps & {
12
+ /** Optionally indent text */
13
+ indent?: boolean;
14
+ }>;
15
+ /** Shared Typography Props */
16
+ export type TypographyProps = Prettify<BaseTypographyPresentationProps & {
17
+ /** Content */
18
+ children: ReactNode;
19
+ /** Text color variant @default `'standard'` */
20
+ color?: ColoredTextOptions;
21
+ }>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=typography.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.types.js","sourceRoot":"","sources":["../../../src/components/typography/typography.types.ts"],"names":[],"mappings":""}