@deskpro/deskpro-ui 4.4.1 → 4.5.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 (91) hide show
  1. package/dist/cjs/components/Button/Button.js +2 -0
  2. package/dist/cjs/components/Button/Button.js.map +1 -1
  3. package/dist/cjs/components/Button/GroupByButton.js +83 -0
  4. package/dist/cjs/components/Button/GroupByButton.js.map +1 -0
  5. package/dist/cjs/components/Button/index.js +3 -1
  6. package/dist/cjs/components/Button/index.js.map +1 -1
  7. package/dist/cjs/components/Button/styles.js +13 -22
  8. package/dist/cjs/components/Button/styles.js.map +1 -1
  9. package/dist/cjs/components/Checkbox/Checkbox.js +38 -15
  10. package/dist/cjs/components/Checkbox/Checkbox.js.map +1 -1
  11. package/dist/cjs/components/Dialog/Dialog.js +1 -1
  12. package/dist/cjs/components/Dropdown/styles.js +7 -4
  13. package/dist/cjs/components/Dropdown/styles.js.map +1 -1
  14. package/dist/cjs/components/LabelTag/Tag.js +44 -31
  15. package/dist/cjs/components/LabelTag/Tag.js.map +1 -1
  16. package/dist/cjs/components/Menu/Menu.js +1 -1
  17. package/dist/cjs/components/Menu/Menu.js.map +1 -1
  18. package/dist/cjs/components/Modal/Modal.js +10 -4
  19. package/dist/cjs/components/Modal/Modal.js.map +1 -1
  20. package/dist/cjs/components/Radio/Radio.js +34 -10
  21. package/dist/cjs/components/Radio/Radio.js.map +1 -1
  22. package/dist/cjs/components/TabBar/styles/button.js +2 -2
  23. package/dist/cjs/components/TabBar/styles/button.js.map +1 -1
  24. package/dist/cjs/components/TabBar/styles/nav.js +2 -2
  25. package/dist/cjs/components/TabBar/styles/nav.js.map +1 -1
  26. package/dist/cjs/components/TabBar/styles/tab.js +1 -1
  27. package/dist/cjs/components/TabBar/styles/tab.js.map +1 -1
  28. package/dist/cjs/components/Tooltip/Tooltip.js +4 -4
  29. package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
  30. package/dist/cjs/components/Typography/TSpan.js +61 -0
  31. package/dist/cjs/components/Typography/TSpan.js.map +1 -0
  32. package/dist/cjs/components/Typography/index.js +25 -1
  33. package/dist/cjs/components/Typography/index.js.map +1 -1
  34. package/dist/cjs/components/Typography/v1/Typography.js +223 -0
  35. package/dist/cjs/components/Typography/v1/Typography.js.map +1 -0
  36. package/dist/cjs/components/Typography/v1/styles.js +233 -0
  37. package/dist/cjs/components/Typography/v1/styles.js.map +1 -0
  38. package/dist/cjs/components/Typography/v2/Typography.js +327 -0
  39. package/dist/cjs/components/Typography/v2/Typography.js.map +1 -0
  40. package/dist/cjs/components/Typography/v2/styles.js +378 -0
  41. package/dist/cjs/components/Typography/v2/styles.js.map +1 -0
  42. package/dist/cjs/style/theme/lightTheme.js +18 -0
  43. package/dist/cjs/style/theme/lightTheme.js.map +1 -1
  44. package/dist/deskpro-ui.d.ts +775 -19
  45. package/dist/esm/components/Button/Button.js +3 -1
  46. package/dist/esm/components/Button/Button.js.map +1 -1
  47. package/dist/esm/components/Button/GroupByButton.js +80 -0
  48. package/dist/esm/components/Button/GroupByButton.js.map +1 -0
  49. package/dist/esm/components/Button/index.js +1 -0
  50. package/dist/esm/components/Button/index.js.map +1 -1
  51. package/dist/esm/components/Button/styles.js +12 -21
  52. package/dist/esm/components/Button/styles.js.map +1 -1
  53. package/dist/esm/components/Checkbox/Checkbox.js +39 -16
  54. package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
  55. package/dist/esm/components/Dialog/Dialog.js +1 -1
  56. package/dist/esm/components/Dropdown/styles.js +7 -4
  57. package/dist/esm/components/Dropdown/styles.js.map +1 -1
  58. package/dist/esm/components/LabelTag/Tag.js +45 -32
  59. package/dist/esm/components/LabelTag/Tag.js.map +1 -1
  60. package/dist/esm/components/Menu/Menu.js +1 -1
  61. package/dist/esm/components/Menu/Menu.js.map +1 -1
  62. package/dist/esm/components/Modal/Modal.js +10 -4
  63. package/dist/esm/components/Modal/Modal.js.map +1 -1
  64. package/dist/esm/components/Radio/Radio.js +34 -10
  65. package/dist/esm/components/Radio/Radio.js.map +1 -1
  66. package/dist/esm/components/TabBar/styles/button.js +1 -1
  67. package/dist/esm/components/TabBar/styles/button.js.map +1 -1
  68. package/dist/esm/components/TabBar/styles/nav.js +1 -1
  69. package/dist/esm/components/TabBar/styles/nav.js.map +1 -1
  70. package/dist/esm/components/TabBar/styles/tab.js +1 -1
  71. package/dist/esm/components/TabBar/styles/tab.js.map +1 -1
  72. package/dist/esm/components/Tooltip/Tooltip.js +4 -4
  73. package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
  74. package/dist/esm/components/Typography/TSpan.js +58 -0
  75. package/dist/esm/components/Typography/TSpan.js.map +1 -0
  76. package/dist/esm/components/Typography/index.js +21 -1
  77. package/dist/esm/components/Typography/index.js.map +1 -1
  78. package/dist/esm/components/Typography/v1/Typography.js +220 -0
  79. package/dist/esm/components/Typography/v1/Typography.js.map +1 -0
  80. package/dist/esm/components/Typography/{Typography.js → v1/styles.js} +6 -273
  81. package/dist/esm/components/Typography/v1/styles.js.map +1 -0
  82. package/dist/esm/components/Typography/v2/Typography.js +324 -0
  83. package/dist/esm/components/Typography/v2/Typography.js.map +1 -0
  84. package/dist/esm/components/Typography/v2/styles.js +375 -0
  85. package/dist/esm/components/Typography/v2/styles.js.map +1 -0
  86. package/dist/esm/style/theme/lightTheme.js +18 -0
  87. package/dist/esm/style/theme/lightTheme.js.map +1 -1
  88. package/package.json +7 -6
  89. package/dist/cjs/components/Typography/Typography.js +0 -500
  90. package/dist/cjs/components/Typography/Typography.js.map +0 -1
  91. package/dist/esm/components/Typography/Typography.js.map +0 -1
@@ -0,0 +1,223 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.P18 = exports.P17 = exports.P16 = exports.P15 = exports.P14 = exports.Code = exports.P13 = exports.P12 = exports.P11 = exports.P10 = exports.P9 = exports.P8 = exports.P7 = exports.P6 = exports.P5 = exports.P4 = exports.P3 = exports.P2 = exports.P1 = exports.H11 = exports.H10 = exports.H9 = exports.H8 = exports.H7 = exports.H6 = exports.H5 = exports.H4 = exports.H3 = exports.H2 = exports.H1 = exports.H0 = void 0;
4
+ const styled_components_1 = require("styled-components");
5
+ const styles_1 = require("./styles");
6
+ /**
7
+ * @public
8
+ */
9
+ exports.H0 = styled_components_1.default.h1.attrs({ type: "h0" }) `
10
+ ${styles_1.common};
11
+ ${styles_1.headingStyles.h0}
12
+ `;
13
+ /**
14
+ * @public
15
+ */
16
+ exports.H1 = styled_components_1.default.h1.attrs({ type: "h1" }) `
17
+ ${styles_1.common};
18
+ ${styles_1.headingStyles.h1}
19
+ `;
20
+ /**
21
+ * @public
22
+ */
23
+ exports.H2 = styled_components_1.default.h2.attrs({ type: "h2" }) `
24
+ ${styles_1.common};
25
+ ${styles_1.headingStyles.h2}
26
+ `;
27
+ /**
28
+ * @public
29
+ */
30
+ exports.H3 = styled_components_1.default.h3.attrs({ type: "h3" }) `
31
+ ${styles_1.common};
32
+ ${styles_1.headingStyles.h3}
33
+ `;
34
+ /**
35
+ * @public
36
+ */
37
+ exports.H4 = styled_components_1.default.h4.attrs({ type: "h4" }) `
38
+ ${styles_1.common};
39
+ ${styles_1.headingStyles.h4}
40
+ `;
41
+ /**
42
+ * @public
43
+ */
44
+ exports.H5 = styled_components_1.default.h5.attrs({ type: "h5" }) `
45
+ ${styles_1.common};
46
+ ${styles_1.headingStyles.h5}
47
+ `;
48
+ /**
49
+ * @public
50
+ */
51
+ exports.H6 = styled_components_1.default.h6.attrs({ type: "h6" }) `
52
+ ${styles_1.common};
53
+ ${styles_1.headingStyles.h6}
54
+ `;
55
+ /**
56
+ * @public
57
+ */
58
+ exports.H7 = styled_components_1.default.h6.attrs({ type: "h7" }) `
59
+ ${styles_1.common};
60
+ ${styles_1.headingStyles.h7}
61
+ `;
62
+ /**
63
+ * @public
64
+ */
65
+ exports.H8 = styled_components_1.default.h6.attrs({ type: "h8" }) `
66
+ ${styles_1.common};
67
+ ${styles_1.headingStyles.h8}
68
+ `;
69
+ /**
70
+ * @public
71
+ */
72
+ exports.H9 = styled_components_1.default.h1.attrs({ type: "h9" }) `
73
+ ${styles_1.common};
74
+ ${styles_1.headingStyles.h9}
75
+ `;
76
+ /**
77
+ * @public
78
+ */
79
+ exports.H10 = styled_components_1.default.h1.attrs({ type: "h10" }) `
80
+ ${styles_1.common};
81
+ ${styles_1.headingStyles.h10}
82
+ `;
83
+ /**
84
+ * @public
85
+ */
86
+ exports.H11 = styled_components_1.default.h1.attrs({ type: "h11" }) `
87
+ ${styles_1.common};
88
+ ${styles_1.headingStyles.h11}
89
+ `;
90
+ /**
91
+ * @public
92
+ */
93
+ exports.P1 = styled_components_1.default.p.attrs({ type: "p1" }) `
94
+ ${styles_1.common};
95
+ ${styles_1.paragraphStyled.p1}
96
+ `;
97
+ /**
98
+ * @public
99
+ */
100
+ exports.P2 = styled_components_1.default.p.attrs({ type: "p2" }) `
101
+ ${styles_1.common};
102
+ ${styles_1.paragraphStyled.p2}
103
+ `;
104
+ /**
105
+ * @public
106
+ */
107
+ exports.P3 = styled_components_1.default.p.attrs({ type: "p3" }) `
108
+ ${styles_1.common};
109
+ ${styles_1.paragraphStyled.p3}
110
+ `;
111
+ /**
112
+ * @public
113
+ */
114
+ exports.P4 = styled_components_1.default.p.attrs({ type: "p4" }) `
115
+ ${styles_1.common};
116
+ ${styles_1.paragraphStyled.p4}
117
+ `;
118
+ /**
119
+ * @public
120
+ */
121
+ exports.P5 = styled_components_1.default.p.attrs({ type: "p5" }) `
122
+ ${styles_1.common};
123
+ ${styles_1.paragraphStyled.p5}
124
+ `;
125
+ /**
126
+ * @public
127
+ */
128
+ exports.P6 = styled_components_1.default.p.attrs({ type: "p6" }) `
129
+ ${styles_1.common};
130
+ ${styles_1.paragraphStyled.p6}
131
+ `;
132
+ /**
133
+ * @public
134
+ */
135
+ exports.P7 = styled_components_1.default.p.attrs({ type: "p7" }) `
136
+ ${styles_1.common};
137
+ ${styles_1.paragraphStyled.p7}
138
+ `;
139
+ /**
140
+ * @public
141
+ */
142
+ exports.P8 = styled_components_1.default.p.attrs({ type: "p8" }) `
143
+ ${styles_1.common};
144
+ ${styles_1.paragraphStyled.p8}
145
+ `;
146
+ /**
147
+ * @public
148
+ */
149
+ exports.P9 = styled_components_1.default.p.attrs({ type: "p9" }) `
150
+ ${styles_1.common};
151
+ ${styles_1.paragraphStyled.p9}
152
+ `;
153
+ /**
154
+ * @public
155
+ */
156
+ exports.P10 = styled_components_1.default.p.attrs({ type: "p10" }) `
157
+ ${styles_1.common};
158
+ ${styles_1.paragraphStyled.p10}
159
+ `;
160
+ /**
161
+ * @public
162
+ */
163
+ exports.P11 = styled_components_1.default.p.attrs({ type: "p11" }) `
164
+ ${styles_1.common};
165
+ ${styles_1.paragraphStyled.p11}
166
+ `;
167
+ /**
168
+ * @public
169
+ */
170
+ exports.P12 = styled_components_1.default.p.attrs({ type: "p12" }) `
171
+ ${styles_1.common};
172
+ ${styles_1.paragraphStyled.p12}
173
+ `;
174
+ /**
175
+ * @public
176
+ */
177
+ exports.P13 = styled_components_1.default.p.attrs({ type: "p13" }) `
178
+ ${styles_1.common};
179
+ ${styles_1.paragraphStyled.p13}
180
+ `;
181
+ /**
182
+ * @public
183
+ */
184
+ exports.Code = styled_components_1.default.code `
185
+ ${styles_1.common};
186
+ ${styles_1.paragraphStyled.p13}
187
+ `;
188
+ /**
189
+ * @public
190
+ */
191
+ exports.P14 = styled_components_1.default.code `
192
+ ${styles_1.common};
193
+ ${styles_1.paragraphStyled.p14}
194
+ `;
195
+ /**
196
+ * @public
197
+ */
198
+ exports.P15 = styled_components_1.default.code `
199
+ ${styles_1.common};
200
+ ${styles_1.paragraphStyled.p15}
201
+ `;
202
+ /**
203
+ * @public
204
+ */
205
+ exports.P16 = styled_components_1.default.p.attrs({ type: "p16" }) `
206
+ ${styles_1.common};
207
+ ${styles_1.paragraphStyled.p16}
208
+ `;
209
+ /**
210
+ * @public
211
+ */
212
+ exports.P17 = styled_components_1.default.p.attrs({ type: "p17" }) `
213
+ ${styles_1.common};
214
+ ${styles_1.paragraphStyled.p17}
215
+ `;
216
+ /**
217
+ * @public
218
+ */
219
+ exports.P18 = styled_components_1.default.p.attrs({ type: "p18" }) `
220
+ ${styles_1.common};
221
+ ${styles_1.paragraphStyled.p18}
222
+ `;
223
+ //# sourceMappingURL=Typography.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Typography.js","sourceRoot":"","sources":["../../../../../src/components/Typography/v1/Typography.ts"],"names":[],"mappings":";;;AAAA,yDAAuC;AACvC,qCAAkE;AAElE;;GAEG;AACU,QAAA,EAAE,GAAG,2BAAM,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;IAC7C,eAAM;IACN,sBAAa,CAAC,EAAE;CACnB,CAAC;AAEF;;GAEG;AACU,QAAA,EAAE,GAAG,2BAAM,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;IAC7C,eAAM;IACN,sBAAa,CAAC,EAAE;CACnB,CAAC;AAEF;;GAEG;AACU,QAAA,EAAE,GAAG,2BAAM,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;IAC7C,eAAM;IACN,sBAAa,CAAC,EAAE;CACnB,CAAC;AAEF;;GAEG;AACU,QAAA,EAAE,GAAG,2BAAM,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;IAC7C,eAAM;IACN,sBAAa,CAAC,EAAE;CACnB,CAAC;AAEF;;GAEG;AACU,QAAA,EAAE,GAAG,2BAAM,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;IAC7C,eAAM;IACN,sBAAa,CAAC,EAAE;CACnB,CAAC;AAEF;;GAEG;AACU,QAAA,EAAE,GAAG,2BAAM,CAAC,EAAE,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eAAM;IACN,wBAAe,CAAC,GAAG;CACtB,CAAC;AAEF;;GAEG;AACU,QAAA,GAAG,GAAG,2BAAM,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAA;IAC9C,eAAM;IACN,wBAAe,CAAC,GAAG;CACtB,CAAC;AAEF;;GAEG;AACU,QAAA,GAAG,GAAG,2BAAM,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAA;IAC9C,eAAM;IACN,wBAAe,CAAC,GAAG;CACtB,CAAC"}
@@ -0,0 +1,233 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paragraphStyled = exports.headingStyles = exports.common = void 0;
4
+ const styled_components_1 = require("styled-components");
5
+ exports.common = (0, styled_components_1.css) `
6
+ margin: 0;
7
+ padding: 0;
8
+ `;
9
+ // Heading Text
10
+ const h0 = (0, styled_components_1.css) `
11
+ font-size: 14px;
12
+ font-weight: 500;
13
+ font-family: ${(props) => props.theme.fonts.headingPrimary};
14
+ line-height: 110%;
15
+ `;
16
+ const h1 = (0, styled_components_1.css) `
17
+ font-size: 12px;
18
+ font-weight: 500;
19
+ font-family: ${(props) => props.theme.fonts.headingPrimary};
20
+ line-height: 110%;
21
+ `;
22
+ const h2 = (0, styled_components_1.css) `
23
+ font-size: 12px;
24
+ font-weight: normal;
25
+ font-family: ${(props) => props.theme.fonts.headingPrimary};
26
+ line-height: 110%;
27
+ `;
28
+ const h3 = (0, styled_components_1.css) `
29
+ font-size: 11px;
30
+ font-weight: 500;
31
+ font-family: ${(props) => props.theme.fonts.headingPrimary};
32
+ line-height: 110%;
33
+ `;
34
+ const h4 = (0, styled_components_1.css) `
35
+ font-size: 11px;
36
+ font-weight: normal;
37
+ font-family: ${(props) => props.theme.fonts.headingPrimary};
38
+ line-height: 110%;
39
+ `;
40
+ const h5 = (0, styled_components_1.css) `
41
+ font-size: 10px;
42
+ font-weight: 500;
43
+ font-family: ${(props) => props.theme.fonts.headingPrimary};
44
+ line-height: 110%;
45
+ `;
46
+ const h6 = (0, styled_components_1.css) `
47
+ font-size: 9px;
48
+ font-weight: 500;
49
+ font-family: ${(props) => props.theme.fonts.headingPrimary};
50
+ line-height: 110%;
51
+ `;
52
+ const h7 = (0, styled_components_1.css) `
53
+ font-size: 11px;
54
+ font-weight: 600;
55
+ font-family: ${(props) => props.theme.fonts.headingPrimary};
56
+ line-height: 150%;
57
+ `;
58
+ const h8 = (0, styled_components_1.css) `
59
+ font-size: 11px;
60
+ font-weight: 600;
61
+ font-family: ${(props) => props.theme.fonts.inter};
62
+ line-height: 150%;
63
+ `;
64
+ const h9 = (0, styled_components_1.css) `
65
+ font-size: 14px;
66
+ font-weight: 500;
67
+ font-family: ${(props) => props.theme.fonts.inter};
68
+ line-height: 100%;
69
+ `;
70
+ const h10 = (0, styled_components_1.css) `
71
+ font-size: 16px;
72
+ font-weight: 600;
73
+ font-family: ${(props) => props.theme.fonts.inter};
74
+ line-height: 112%;
75
+ `;
76
+ const h11 = (0, styled_components_1.css) `
77
+ font-size: 16px;
78
+ font-weight: 500;
79
+ font-family: ${(props) => props.theme.fonts.headingPrimary};
80
+ line-height: 120%;
81
+ `;
82
+ /**
83
+ * @public
84
+ * @deprecated Don't use outside this file, use the styled typography components instead eg <TSpan type="h0" /> or <H0 />
85
+ */
86
+ exports.headingStyles = {
87
+ h0,
88
+ h1,
89
+ h2,
90
+ h3,
91
+ h4,
92
+ h5,
93
+ h6,
94
+ h7,
95
+ h8,
96
+ h9,
97
+ h10,
98
+ h11,
99
+ };
100
+ // Paragraph Text
101
+ const p1 = (0, styled_components_1.css) `
102
+ font-size: 12px;
103
+ font-weight: normal;
104
+ font-family: ${(props) => props.theme.fonts.primary};
105
+ line-height: 150%;
106
+ `;
107
+ const p2 = (0, styled_components_1.css) `
108
+ font-size: 12px;
109
+ font-weight: 500;
110
+ font-family: ${(props) => props.theme.fonts.primary};
111
+ line-height: 150%;
112
+ `;
113
+ const p3 = (0, styled_components_1.css) `
114
+ font-size: 12px;
115
+ font-weight: 600;
116
+ font-family: ${(props) => props.theme.fonts.primary};
117
+ line-height: 150%;
118
+ `;
119
+ const p4 = (0, styled_components_1.css) `
120
+ font-size: 12px;
121
+ font-weight: bold;
122
+ font-family: ${(props) => props.theme.fonts.primary};
123
+ line-height: 150%;
124
+ `;
125
+ const p5 = (0, styled_components_1.css) `
126
+ font-size: 11px;
127
+ font-weight: normal;
128
+ font-family: ${(props) => props.theme.fonts.primary};
129
+ line-height: 150%;
130
+ `;
131
+ const p6 = (0, styled_components_1.css) `
132
+ font-size: 11px;
133
+ font-weight: 500;
134
+ font-family: ${(props) => props.theme.fonts.primary};
135
+ line-height: 150%;
136
+ `;
137
+ const p7 = (0, styled_components_1.css) `
138
+ font-size: 11px;
139
+ font-weight: 600;
140
+ font-family: ${(props) => props.theme.fonts.primary};
141
+ line-height: 150%;
142
+ `;
143
+ const p8 = (0, styled_components_1.css) `
144
+ font-size: 10px;
145
+ font-weight: 500;
146
+ font-family: ${(props) => props.theme.fonts.primary};
147
+ line-height: 150%;
148
+ `;
149
+ const p9 = (0, styled_components_1.css) `
150
+ font-size: 10px;
151
+ font-weight: bold;
152
+ font-family: ${(props) => props.theme.fonts.primary};
153
+ line-height: 150%;
154
+ `;
155
+ const p10 = (0, styled_components_1.css) `
156
+ font-size: 9px;
157
+ font-weight: 600;
158
+ font-family: ${(props) => props.theme.fonts.primary};
159
+ line-height: 150%;
160
+ `;
161
+ const p11 = (0, styled_components_1.css) `
162
+ font-size: 9px;
163
+ font-weight: 500;
164
+ font-family: ${(props) => props.theme.fonts.primary};
165
+ line-height: 150%;
166
+ `;
167
+ const p12 = (0, styled_components_1.css) `
168
+ font-size: 9px;
169
+ font-weight: normal;
170
+ font-family: ${(props) => props.theme.fonts.monospace};
171
+ line-height: 150%;
172
+ `;
173
+ const p13 = (0, styled_components_1.css) `
174
+ font-size: 11px;
175
+ font-weight: normal;
176
+ font-family: ${(props) => props.theme.fonts.monospace};
177
+ line-height: 150%;
178
+ `;
179
+ const p14 = (0, styled_components_1.css) `
180
+ font-size: 9px;
181
+ font-weight: 600;
182
+ font-family: ${(props) => props.theme.fonts.monospace};
183
+ line-height: 150%;
184
+ `;
185
+ const p15 = (0, styled_components_1.css) `
186
+ font-size: 10px;
187
+ font-weight: 400;
188
+ font-family: ${(props) => props.theme.fonts.primary};
189
+ line-height: 150%;
190
+ `;
191
+ const p16 = (0, styled_components_1.css) `
192
+ font-size: 12px;
193
+ font-weight: 500;
194
+ font-family: ${(props) => props.theme.fonts.inter};
195
+ line-height: 150%;
196
+ `;
197
+ const p17 = (0, styled_components_1.css) `
198
+ font-size: 13px;
199
+ font-weight: 600;
200
+ font-family: ${(props) => props.theme.fonts.inter};
201
+ line-height: 100%;
202
+ `;
203
+ const p18 = (0, styled_components_1.css) `
204
+ font-size: 11px;
205
+ font-weight: 500;
206
+ font-family: ${(props) => props.theme.fonts.primary};
207
+ line-height: 120%;
208
+ `;
209
+ /**
210
+ * @public
211
+ * @deprecated Don't use outside this file, use the styled typography components instead eg <TSpan type="p1" /> or <P1 />
212
+ */
213
+ exports.paragraphStyled = {
214
+ p1,
215
+ p2,
216
+ p3,
217
+ p4,
218
+ p5,
219
+ p6,
220
+ p7,
221
+ p8,
222
+ p9,
223
+ p10,
224
+ p11,
225
+ p12,
226
+ p13,
227
+ p14,
228
+ p15,
229
+ p16,
230
+ p17,
231
+ p18,
232
+ };
233
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/components/Typography/v1/styles.ts"],"names":[],"mappings":";;;AAAA,yDAAwC;AAE3B,QAAA,MAAM,GAAG,IAAA,uBAAG,EAAA;;;CAGxB,CAAC;AAEF,eAAe;AAEf,MAAM,EAAE,GAAG,IAAA,uBAAG,EAAA;;;iBAGG,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KA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