@eleven-labs/design-system 0.5.3

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 (136) hide show
  1. package/LICENSE +21 -0
  2. package/Readme.md +35 -0
  3. package/dist/components/Atoms/Button/Button.d.ts +9 -0
  4. package/dist/components/Atoms/Button/index.d.ts +1 -0
  5. package/dist/components/Atoms/Icon/Icon.d.ts +7 -0
  6. package/dist/components/Atoms/Icon/index.d.ts +1 -0
  7. package/dist/components/Atoms/Layout/Box/Box.d.ts +3 -0
  8. package/dist/components/Atoms/Layout/Box/index.d.ts +1 -0
  9. package/dist/components/Atoms/Layout/Flex/Flex.d.ts +6 -0
  10. package/dist/components/Atoms/Layout/Flex/index.d.ts +1 -0
  11. package/dist/components/Atoms/Layout/index.d.ts +2 -0
  12. package/dist/components/Atoms/Logo/Logo.d.ts +6 -0
  13. package/dist/components/Atoms/Logo/index.d.ts +1 -0
  14. package/dist/components/Atoms/Svgs/AccessTime.d.ts +3 -0
  15. package/dist/components/Atoms/Svgs/ArrowBack.d.ts +3 -0
  16. package/dist/components/Atoms/Svgs/BlogLogo.d.ts +3 -0
  17. package/dist/components/Atoms/Svgs/Calendar.d.ts +3 -0
  18. package/dist/components/Atoms/Svgs/Close.d.ts +3 -0
  19. package/dist/components/Atoms/Svgs/Facebook.d.ts +3 -0
  20. package/dist/components/Atoms/Svgs/Language.d.ts +3 -0
  21. package/dist/components/Atoms/Svgs/Link.d.ts +3 -0
  22. package/dist/components/Atoms/Svgs/Linkedin.d.ts +3 -0
  23. package/dist/components/Atoms/Svgs/Logo.d.ts +3 -0
  24. package/dist/components/Atoms/Svgs/Message.d.ts +3 -0
  25. package/dist/components/Atoms/Svgs/Person.d.ts +3 -0
  26. package/dist/components/Atoms/Svgs/Reddit.d.ts +3 -0
  27. package/dist/components/Atoms/Svgs/Rss.d.ts +3 -0
  28. package/dist/components/Atoms/Svgs/Search.d.ts +3 -0
  29. package/dist/components/Atoms/Svgs/Twitter.d.ts +3 -0
  30. package/dist/components/Atoms/Svgs/WebsiteLogo.d.ts +3 -0
  31. package/dist/components/Atoms/Svgs/Welcometothejungle.d.ts +3 -0
  32. package/dist/components/Atoms/Svgs/index.d.ts +18 -0
  33. package/dist/components/Atoms/Typography/Heading/Heading.d.ts +6 -0
  34. package/dist/components/Atoms/Typography/Heading/index.d.ts +1 -0
  35. package/dist/components/Atoms/Typography/Text/Text.d.ts +6 -0
  36. package/dist/components/Atoms/Typography/Text/index.d.ts +1 -0
  37. package/dist/components/Atoms/Typography/index.d.ts +2 -0
  38. package/dist/components/Atoms/index.d.ts +6 -0
  39. package/dist/components/Molecules/Link/Link.d.ts +7 -0
  40. package/dist/components/Molecules/Link/index.d.ts +1 -0
  41. package/dist/components/Molecules/SearchField/SearchField.d.ts +10 -0
  42. package/dist/components/Molecules/SearchField/index.d.ts +1 -0
  43. package/dist/components/Molecules/TextHighlight/TextHighlight.d.ts +8 -0
  44. package/dist/components/Molecules/TextHighlight/index.d.ts +1 -0
  45. package/dist/components/Molecules/index.d.ts +3 -0
  46. package/dist/components/index.d.ts +2 -0
  47. package/dist/constants/cssProperties.d.ts +195 -0
  48. package/dist/constants/cssPropertyNameList.d.ts +11 -0
  49. package/dist/constants/index.d.ts +7 -0
  50. package/dist/constants/matchMediaQueryList.d.ts +9 -0
  51. package/dist/constants/mediaQueriesList.d.ts +2 -0
  52. package/dist/constants/systemProps/colorSystemProps.d.ts +2 -0
  53. package/dist/constants/systemProps/flexBoxSystemProps.d.ts +2 -0
  54. package/dist/constants/systemProps/hiddenSystemProps.d.ts +2 -0
  55. package/dist/constants/systemProps/index.d.ts +7 -0
  56. package/dist/constants/systemProps/layoutSystemProps.d.ts +2 -0
  57. package/dist/constants/systemProps/spacingSystemProps.d.ts +4 -0
  58. package/dist/constants/systemProps/systemProps.d.ts +2 -0
  59. package/dist/constants/systemProps/typographySystemProps.d.ts +2 -0
  60. package/dist/constants/tokenNameList.d.ts +10 -0
  61. package/dist/constants/tokenVariables.d.ts +393 -0
  62. package/dist/documentations/imgs/atomic-design-tokens.jpg +0 -0
  63. package/dist/documentations/imgs/logo.svg +8 -0
  64. package/dist/fonts/WorkSans-Bold.woff +0 -0
  65. package/dist/fonts/WorkSans-Bold.woff2 +0 -0
  66. package/dist/fonts/WorkSans-Medium.woff +0 -0
  67. package/dist/fonts/WorkSans-Medium.woff2 +0 -0
  68. package/dist/fonts/WorkSans-Regular.woff +0 -0
  69. package/dist/fonts/WorkSans-Regular.woff2 +0 -0
  70. package/dist/helpers/stringHelper.d.ts +3 -0
  71. package/dist/helpers/systemPropsHelper/classNameWithModifier.d.ts +5 -0
  72. package/dist/helpers/systemPropsHelper/classNamesWithModifiers.d.ts +6 -0
  73. package/dist/helpers/systemPropsHelper/colorSystemClassName.d.ts +2 -0
  74. package/dist/helpers/systemPropsHelper/flexBoxSystemClassName.d.ts +2 -0
  75. package/dist/helpers/systemPropsHelper/forwardRef.d.ts +7 -0
  76. package/dist/helpers/systemPropsHelper/hiddenSystemClassName.d.ts +2 -0
  77. package/dist/helpers/systemPropsHelper/index.d.ts +11 -0
  78. package/dist/helpers/systemPropsHelper/layoutSystemClassName.d.ts +2 -0
  79. package/dist/helpers/systemPropsHelper/omitSystemProps.d.ts +4 -0
  80. package/dist/helpers/systemPropsHelper/spacingSystemClassName.d.ts +2 -0
  81. package/dist/helpers/systemPropsHelper/systemClassName.d.ts +2 -0
  82. package/dist/helpers/systemPropsHelper/typographySystemClassName.d.ts +2 -0
  83. package/dist/hooks/index.d.ts +2 -0
  84. package/dist/hooks/useLayoutEffect.d.ts +2 -0
  85. package/dist/hooks/useMediaQuery.d.ts +2 -0
  86. package/dist/index.d.ts +4 -0
  87. package/dist/index.es.js +1899 -0
  88. package/dist/index.umd.cjs +31 -0
  89. package/dist/scss/abstracts/_index.scss +3 -0
  90. package/dist/scss/abstracts/functions/_index.scss +1 -0
  91. package/dist/scss/abstracts/functions/_list.scss +25 -0
  92. package/dist/scss/abstracts/mixins/_create-media-queries.scss +30 -0
  93. package/dist/scss/abstracts/mixins/_index.scss +2 -0
  94. package/dist/scss/abstracts/mixins/_utility-classes.scss +35 -0
  95. package/dist/scss/abstracts/variables/_css-properties.scss +81 -0
  96. package/dist/scss/abstracts/variables/_index.scss +3 -0
  97. package/dist/scss/abstracts/variables/_token-variables.scss +167 -0
  98. package/dist/scss/abstracts/variables/_variables.scss +41 -0
  99. package/dist/style.css +1 -0
  100. package/dist/svgs/access-time.svg +1 -0
  101. package/dist/svgs/arrow-back.svg +1 -0
  102. package/dist/svgs/blog-logo.svg +1 -0
  103. package/dist/svgs/calendar.svg +1 -0
  104. package/dist/svgs/close.svg +1 -0
  105. package/dist/svgs/facebook.svg +1 -0
  106. package/dist/svgs/language.svg +1 -0
  107. package/dist/svgs/link.svg +1 -0
  108. package/dist/svgs/linkedin.svg +1 -0
  109. package/dist/svgs/logo.svg +1 -0
  110. package/dist/svgs/message.svg +1 -0
  111. package/dist/svgs/person.svg +1 -0
  112. package/dist/svgs/reddit.svg +1 -0
  113. package/dist/svgs/rss.svg +1 -0
  114. package/dist/svgs/search.svg +1 -0
  115. package/dist/svgs/twitter.svg +1 -0
  116. package/dist/svgs/website-logo.svg +1 -0
  117. package/dist/svgs/welcometothejungle.svg +1 -0
  118. package/dist/types/MatchBreakpointsType.d.ts +1 -0
  119. package/dist/types/MediaQueryType.d.ts +2 -0
  120. package/dist/types/SystemProps/AsProps.d.ts +4 -0
  121. package/dist/types/SystemProps/ColorSystemProps.d.ts +11 -0
  122. package/dist/types/SystemProps/ComponentWithAs.d.ts +16 -0
  123. package/dist/types/SystemProps/FlexBoxSystemProps.d.ts +48 -0
  124. package/dist/types/SystemProps/HiddenSystemProps.d.ts +11 -0
  125. package/dist/types/SystemProps/LayoutSystemProps.d.ts +31 -0
  126. package/dist/types/SystemProps/SpacingSystemProps.d.ts +63 -0
  127. package/dist/types/SystemProps/SystemProps.d.ts +3 -0
  128. package/dist/types/SystemProps/TypographySystemProps.d.ts +27 -0
  129. package/dist/types/SystemProps/index.d.ts +9 -0
  130. package/dist/types/TypeWithModifier.d.ts +3 -0
  131. package/dist/types/cssPropertyTypes.d.ts +12 -0
  132. package/dist/types/index.d.ts +6 -0
  133. package/dist/types/tokenTypes.d.ts +10 -0
  134. package/dist/typings.d.ts +5 -0
  135. package/dist/vite-env.d.ts +1 -0
  136. package/package.json +110 -0
@@ -0,0 +1,393 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Thu, 02 Mar 2023 12:57:56 GMT
4
+ */
5
+ export declare const tokenVariables: {
6
+ asset: {
7
+ font: {
8
+ 'WorkSans-Regular': {
9
+ value: string;
10
+ family: string;
11
+ weight: string;
12
+ extensions: string[];
13
+ };
14
+ 'WorkSans-Medium': {
15
+ value: string;
16
+ family: string;
17
+ weight: string;
18
+ extensions: string[];
19
+ };
20
+ 'WorkSans-Bold': {
21
+ value: string;
22
+ family: string;
23
+ weight: string;
24
+ extensions: string[];
25
+ };
26
+ };
27
+ icon: {
28
+ 'access-time': {
29
+ value: string;
30
+ };
31
+ 'arrow-back': {
32
+ value: string;
33
+ };
34
+ calendar: {
35
+ value: string;
36
+ };
37
+ close: {
38
+ value: string;
39
+ };
40
+ facebook: {
41
+ value: string;
42
+ };
43
+ language: {
44
+ value: string;
45
+ };
46
+ link: {
47
+ value: string;
48
+ };
49
+ linkedin: {
50
+ value: string;
51
+ };
52
+ rss: {
53
+ value: string;
54
+ };
55
+ message: {
56
+ value: string;
57
+ };
58
+ person: {
59
+ value: string;
60
+ };
61
+ search: {
62
+ value: string;
63
+ };
64
+ twitter: {
65
+ value: string;
66
+ };
67
+ welcometothejungle: {
68
+ value: string;
69
+ };
70
+ };
71
+ logo: {
72
+ website: {
73
+ value: string;
74
+ };
75
+ blog: {
76
+ value: string;
77
+ };
78
+ };
79
+ };
80
+ breakpoint: {
81
+ xs: {
82
+ value: string;
83
+ description: string;
84
+ };
85
+ sm: {
86
+ value: string;
87
+ description: string;
88
+ };
89
+ md: {
90
+ value: string;
91
+ description: string;
92
+ };
93
+ lg: {
94
+ value: string;
95
+ description: string;
96
+ };
97
+ };
98
+ color: {
99
+ primary: {
100
+ azure: {
101
+ value: string;
102
+ };
103
+ navy: {
104
+ value: string;
105
+ };
106
+ };
107
+ secondary: {
108
+ lavender: {
109
+ value: string;
110
+ };
111
+ amaranth: {
112
+ value: string;
113
+ };
114
+ yellow: {
115
+ value: string;
116
+ };
117
+ };
118
+ greyscale: {
119
+ 'ultra-light-grey': {
120
+ value: string;
121
+ };
122
+ 'light-grey': {
123
+ value: string;
124
+ };
125
+ grey: {
126
+ value: string;
127
+ };
128
+ 'dark-grey': {
129
+ value: string;
130
+ };
131
+ 'ultra-dark-grey': {
132
+ value: string;
133
+ };
134
+ black: {
135
+ value: string;
136
+ };
137
+ white: {
138
+ value: string;
139
+ };
140
+ };
141
+ };
142
+ height: {
143
+ full: {
144
+ value: string;
145
+ };
146
+ screen: {
147
+ value: string;
148
+ };
149
+ };
150
+ spacing: {
151
+ '0': {
152
+ value: string;
153
+ };
154
+ 'xxs-3': {
155
+ value: string;
156
+ };
157
+ 'xxs-2': {
158
+ value: string;
159
+ };
160
+ xxs: {
161
+ value: string;
162
+ };
163
+ xs: {
164
+ value: string;
165
+ };
166
+ s: {
167
+ value: string;
168
+ };
169
+ m: {
170
+ value: string;
171
+ };
172
+ l: {
173
+ value: string;
174
+ };
175
+ xl: {
176
+ value: string;
177
+ };
178
+ xxl: {
179
+ value: string;
180
+ };
181
+ 'xxl-2': {
182
+ value: string;
183
+ };
184
+ 'xxl-3': {
185
+ value: string;
186
+ };
187
+ };
188
+ 'font-family': {
189
+ base: {
190
+ value: string;
191
+ };
192
+ 'work-sans': {
193
+ value: string;
194
+ };
195
+ };
196
+ 'font-size': {
197
+ xxs: {
198
+ value: string;
199
+ };
200
+ xs: {
201
+ value: string;
202
+ };
203
+ s: {
204
+ value: string;
205
+ };
206
+ m: {
207
+ value: string;
208
+ };
209
+ l: {
210
+ value: string;
211
+ };
212
+ xl: {
213
+ value: string;
214
+ };
215
+ xxl: {
216
+ value: string;
217
+ };
218
+ 'xxl-2': {
219
+ value: string;
220
+ };
221
+ 'xxl-3': {
222
+ value: string;
223
+ };
224
+ };
225
+ 'font-weight': {
226
+ regular: {
227
+ value: string;
228
+ };
229
+ medium: {
230
+ value: string;
231
+ };
232
+ bold: {
233
+ value: string;
234
+ };
235
+ };
236
+ typography: {
237
+ heading: {
238
+ base: {
239
+ 'line-height': {
240
+ value: string;
241
+ };
242
+ 'font-weight': {
243
+ value: string;
244
+ };
245
+ };
246
+ xl: {
247
+ 'font-weight': {
248
+ value: string;
249
+ };
250
+ };
251
+ };
252
+ text: {
253
+ base: {
254
+ 'line-height': {
255
+ value: string;
256
+ };
257
+ };
258
+ xs: {
259
+ 'line-height': {
260
+ value: string;
261
+ };
262
+ };
263
+ m: {
264
+ 'line-height': {
265
+ value: string;
266
+ };
267
+ };
268
+ };
269
+ };
270
+ mobile: {
271
+ typography: {
272
+ heading: {
273
+ s: {
274
+ 'font-size': {
275
+ value: string;
276
+ };
277
+ };
278
+ m: {
279
+ 'font-size': {
280
+ value: string;
281
+ };
282
+ };
283
+ l: {
284
+ 'font-size': {
285
+ value: string;
286
+ };
287
+ };
288
+ xl: {
289
+ 'font-size': {
290
+ value: string;
291
+ };
292
+ };
293
+ };
294
+ text: {
295
+ xs: {
296
+ 'font-size': {
297
+ value: string;
298
+ };
299
+ 'icon-size': {
300
+ value: string;
301
+ };
302
+ };
303
+ s: {
304
+ 'font-size': {
305
+ value: string;
306
+ };
307
+ 'icon-size': {
308
+ value: string;
309
+ };
310
+ };
311
+ m: {
312
+ 'font-size': {
313
+ value: string;
314
+ };
315
+ 'icon-size': {
316
+ value: string;
317
+ };
318
+ };
319
+ };
320
+ };
321
+ };
322
+ desktop: {
323
+ typography: {
324
+ heading: {
325
+ s: {
326
+ 'font-size': {
327
+ value: string;
328
+ };
329
+ };
330
+ m: {
331
+ 'font-size': {
332
+ value: string;
333
+ };
334
+ };
335
+ l: {
336
+ 'font-size': {
337
+ value: string;
338
+ };
339
+ };
340
+ xl: {
341
+ 'font-size': {
342
+ value: string;
343
+ };
344
+ };
345
+ };
346
+ text: {
347
+ xs: {
348
+ 'font-size': {
349
+ value: string;
350
+ };
351
+ 'icon-size': {
352
+ value: string;
353
+ };
354
+ };
355
+ s: {
356
+ 'font-size': {
357
+ value: string;
358
+ };
359
+ 'icon-size': {
360
+ value: string;
361
+ };
362
+ };
363
+ m: {
364
+ 'font-size': {
365
+ value: string;
366
+ };
367
+ 'icon-size': {
368
+ value: string;
369
+ };
370
+ };
371
+ };
372
+ };
373
+ };
374
+ 'line-height': {
375
+ base: {
376
+ value: string;
377
+ };
378
+ medium: {
379
+ value: string;
380
+ };
381
+ large: {
382
+ value: string;
383
+ };
384
+ };
385
+ width: {
386
+ full: {
387
+ value: string;
388
+ };
389
+ screen: {
390
+ value: string;
391
+ };
392
+ };
393
+ };
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 117 21">
2
+ <g fill="#3767B6" fill-rule="evenodd" clip-path="url(#logo)" clip-rule="evenodd">
3
+ <path d="M16.956 8.038a.556.556 0 0 1-.78-.053.551.551 0 0 1 .053-.777l2.277-1.924a.556.556 0 0 1 .78.054c.2.228.176.578-.053.776l-2.277 1.924Zm-.091 3.702c.06-.39.257-.745.554-1.004l1.03-.886c1.285-1.117 3.46-4.692 4.743-6.905.367-.633-.262-1.376-.949-1.123-2.413.886-6.322 2.424-7.618 3.524-.02.015-.822.704-1.032.883a1.684 1.684 0 0 1-1.078.398c-3.48.041-4.507 1.398-4.507 1.398l.452.47s2.02-.291 3.162 1.032l-.963.82.581.672-.669.575 1.25 1.494.13-.16-.577-1.572 1.445 1.655.34-.29-.426-1.83s.723.78 1.152 1.274c1.143 1.32.525 3.295.525 3.295l.4.515s1.5-.811 2.055-4.235Z"/><path d="M10.99 19.915a9.533 9.533 0 0 1-8.256-3.938c-.094-.13.063-.288.195-.199 2.316 1.591 5.994 1.116 8.37-3.196C-.684 15.906.803.792 10.466.93c3.383.047 6.357 1.766 8.05 4.42l.033-.027a.567.567 0 0 1 .704-.04.554.554 0 0 1 .038.856l-.225.194a9.43 9.43 0 0 1 .93 4.321c-.115 4.928-4.066 8.997-9.006 9.262M10.466 0C4.694 0 0 4.678 0 10.43c0 5.75 4.694 10.428 10.465 10.428 5.77 0 10.465-4.678 10.465-10.429C20.93 4.68 16.236 0 10.466 0"/></g>
4
+ <path fill="#3767B6" d="M29.47 15V5.1h7.17v1.38h-5.565v2.85h4.35v1.35h-4.35v2.94h5.775V15h-7.38ZM40.341 4.125V12.9c0 .37.065.625.195.765s.345.21.645.21c.18 0 .33-.01.45-.03.13-.03.29-.08.48-.15l-.18 1.2c-.17.08-.365.14-.585.18-.22.05-.44.075-.66.075-.67 0-1.165-.17-1.485-.51-.31-.35-.465-.885-.465-1.605v-8.91h1.605Zm6.413 11.025c-.75 0-1.41-.155-1.98-.465a3.3 3.3 0 0 1-1.335-1.335c-.31-.59-.465-1.29-.465-2.1s.155-1.505.465-2.085c.32-.59.76-1.04 1.32-1.35.56-.31 1.195-.465 1.905-.465.73 0 1.35.15 1.86.45.51.3.9.71 1.17 1.23.27.52.405 1.11.405 1.77 0 .18-.005.35-.015.51-.01.16-.025.3-.045.42h-6.03V10.5h5.325l-.795.24c0-.68-.17-1.2-.51-1.56-.34-.37-.805-.555-1.395-.555-.43 0-.805.1-1.125.3-.32.2-.565.5-.735.9-.17.39-.255.87-.255 1.44 0 .56.09 1.035.27 1.425.18.39.435.685.765.885.33.2.72.3 1.17.3.5 0 .905-.095 1.215-.285.31-.19.555-.455.735-.795l1.275.6c-.18.36-.425.675-.735.945-.3.26-.66.46-1.08.6-.42.14-.88.21-1.38.21ZM56.841 7.5h1.68L55.536 15h-1.755l-3-7.5h1.755l2.13 6.105L56.841 7.5Zm6.305 7.65c-.75 0-1.41-.155-1.98-.465a3.3 3.3 0 0 1-1.335-1.335c-.31-.59-.465-1.29-.465-2.1s.155-1.505.465-2.085c.32-.59.76-1.04 1.32-1.35.56-.31 1.195-.465 1.905-.465.73 0 1.35.15 1.86.45.51.3.9.71 1.17 1.23.27.52.405 1.11.405 1.77 0 .18-.005.35-.015.51-.01.16-.025.3-.045.42H60.4V10.5h5.325l-.795.24c0-.68-.17-1.2-.51-1.56-.34-.37-.805-.555-1.395-.555-.43 0-.805.1-1.125.3-.32.2-.565.5-.735.9-.17.39-.255.87-.255 1.44 0 .56.09 1.035.27 1.425.18.39.435.685.765.885.33.2.72.3 1.17.3.5 0 .905-.095 1.215-.285.31-.19.555-.455.735-.795l1.275.6c-.18.36-.425.675-.735.945-.3.26-.66.46-1.08.6-.42.14-.88.21-1.38.21Zm5.371-.15V7.5h1.425l.106 1.95-.21-.21c.14-.43.34-.785.6-1.065.27-.29.584-.5.944-.63.37-.13.76-.195 1.17-.195.53 0 1.005.105 1.425.315.43.2.77.505 1.02.915.25.41.376.93.376 1.56V15h-1.606v-4.365c0-.74-.154-1.25-.465-1.53-.3-.29-.68-.435-1.14-.435-.33 0-.65.08-.96.24-.31.15-.57.395-.78.735-.2.34-.3.795-.3 1.365V15h-1.605Zm15.996-1.38h5.46V15h-7.066V5.1h1.606v8.52Zm11.484-3.435c0-.5-.14-.885-.42-1.155-.27-.28-.645-.42-1.125-.42-.45 0-.835.105-1.155.315-.32.21-.555.55-.705 1.02l-1.35-.57a2.7 2.7 0 0 1 1.11-1.47c.56-.37 1.28-.555 2.16-.555.6 0 1.13.1 1.59.3.46.19.82.48 1.08.87.27.39.405.89.405 1.5v3.345c0 .37.185.555.555.555.18 0 .355-.025.525-.075l-.09 1.11c-.23.11-.52.165-.87.165-.32 0-.61-.055-.87-.165-.25-.12-.45-.295-.6-.525-.14-.24-.21-.535-.21-.885v-.105l.33-.015c-.09.39-.275.715-.555.975-.28.25-.605.44-.975.57-.37.12-.745.18-1.125.18-.47 0-.895-.075-1.275-.225a2.003 2.003 0 0 1-.885-.675c-.21-.31-.315-.69-.315-1.14 0-.56.18-1.02.54-1.38.37-.36.89-.605 1.56-.735l2.91-.57-.015 1.125-2.115.435c-.42.08-.735.195-.945.345-.21.15-.315.37-.315.66 0 .28.105.505.315.675.22.16.51.24.87.24.25 0 .49-.03.72-.09.24-.06.455-.155.645-.285.19-.14.335-.315.435-.525.11-.22.165-.48.165-.78v-2.04Zm8.24 4.965c-.44 0-.845-.085-1.215-.255a2.646 2.646 0 0 1-.915-.705 3.142 3.142 0 0 1-.555-1.035l.195-.255-.12 2.1h-1.41V4.125h1.605V9.39l-.18-.255c.19-.52.515-.945.975-1.275.46-.34 1.015-.51 1.665-.51.6 0 1.15.155 1.65.465.51.31.91.755 1.2 1.335.29.58.435 1.285.435 2.115 0 .81-.15 1.505-.45 2.085-.29.58-.69 1.025-1.2 1.335-.5.31-1.06.465-1.68.465Zm-.345-1.29c.65 0 1.155-.23 1.515-.69.37-.47.555-1.11.555-1.92 0-.81-.18-1.445-.54-1.905-.36-.46-.865-.69-1.515-.69-.42 0-.785.11-1.095.33-.31.21-.555.51-.735.9-.17.39-.255.855-.255 1.395 0 .53.085.99.255 1.38.17.38.41.675.72.885.32.21.685.315 1.095.315Zm8.579 1.29a4.79 4.79 0 0 1-2.055-.435c-.62-.29-1.11-.7-1.47-1.23l1.11-.96c.22.41.535.74.945.99.42.24.92.36 1.5.36.46 0 .825-.08 1.095-.24.27-.16.405-.385.405-.675a.704.704 0 0 0-.195-.495c-.12-.15-.355-.265-.705-.345l-1.575-.33c-.8-.16-1.37-.415-1.71-.765-.34-.36-.51-.815-.51-1.365 0-.41.12-.79.36-1.14.24-.35.59-.63 1.05-.84.47-.22 1.03-.33 1.68-.33.75 0 1.39.135 1.92.405.53.26.935.635 1.215 1.125l-1.11.93c-.19-.4-.47-.695-.84-.885-.37-.2-.755-.3-1.155-.3-.32 0-.595.04-.825.12-.23.08-.405.19-.525.33a.736.736 0 0 0-.18.495c0 .2.075.375.225.525.15.15.42.265.81.345l1.71.36c.72.14 1.225.38 1.515.72.3.33.45.735.45 1.215 0 .48-.125.905-.375 1.275-.25.36-.61.64-1.08.84-.47.2-1.03.3-1.68.3Z"/>
5
+ <defs>
6
+ <clipPath id="logo"><path fill="#3767B6" d="M0 0h24v21H0z"/></clipPath>
7
+ </defs>
8
+ </svg>
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ export declare const kebabCase: (str: string) => string;
2
+ export declare const pascalCase: (str: string) => string;
3
+ export declare const capitalize: (str: string) => string;
@@ -0,0 +1,5 @@
1
+ export declare const classNameWithModifier: <TPropValue extends string | number | boolean>(options: {
2
+ className: string;
3
+ defaultModifier: string;
4
+ propValue?: TPropValue | undefined;
5
+ }) => string | undefined;
@@ -0,0 +1,6 @@
1
+ import { TypeWithModifierType } from '../../types';
2
+ export declare const classNamesWithModifiers: <TModifierType extends string, TPropValue extends string | number | boolean>(options: {
3
+ className: string;
4
+ defaultModifier?: string | undefined;
5
+ propValue?: TPropValue | Partial<Record<TModifierType, TPropValue>> | undefined;
6
+ }) => string[];
@@ -0,0 +1,2 @@
1
+ import type { ColorSystemProps } from '../../types';
2
+ export declare const colorSystemClassName: <TProps extends ColorSystemProps>(props: TProps) => string;
@@ -0,0 +1,2 @@
1
+ import type { FlexBoxSystemProps } from '../../types';
2
+ export declare const flexBoxSystemClassName: <TProps extends FlexBoxSystemProps>(props: TProps) => string;
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { As, ComponentWithAs, PropsOf, RightJoinProps } from '../../types';
3
+ export declare function forwardRef<Props extends object, Component extends As>(component: React.ForwardRefRenderFunction<any, // eslint-disable-line @typescript-eslint/no-explicit-any
4
+ // eslint-disable-line @typescript-eslint/no-explicit-any
5
+ RightJoinProps<PropsOf<Component>, Props> & {
6
+ as?: As;
7
+ }>): ComponentWithAs<Component, Props>;
@@ -0,0 +1,2 @@
1
+ import { HiddenSystemProps } from '../../types';
2
+ export declare const hiddenSystemClassName: <TProps extends HiddenSystemProps>(props: TProps) => string;
@@ -0,0 +1,11 @@
1
+ export * from './classNameWithModifier';
2
+ export * from './classNamesWithModifiers';
3
+ export * from './colorSystemClassName';
4
+ export * from './flexBoxSystemClassName';
5
+ export * from './layoutSystemClassName';
6
+ export * from './spacingSystemClassName';
7
+ export * from './typographySystemClassName';
8
+ export * from './hiddenSystemClassName';
9
+ export * from './omitSystemProps';
10
+ export * from './systemClassName';
11
+ export * from './forwardRef';
@@ -0,0 +1,2 @@
1
+ import type { LayoutSystemProps } from '../../types';
2
+ export declare const layoutSystemClassName: <TProps extends LayoutSystemProps>(props: TProps) => string;
@@ -0,0 +1,4 @@
1
+ export declare const omitSystemProps: <TProps extends Record<string, unknown>>(options: {
2
+ props: TProps;
3
+ systemPropNames: string[];
4
+ }) => Record<string, unknown>;
@@ -0,0 +1,2 @@
1
+ import type { SpacingSystemProps } from '../../types';
2
+ export declare const spacingSystemClassName: <TProps extends SpacingSystemProps>(props: TProps) => string;
@@ -0,0 +1,2 @@
1
+ import { SystemProps } from '../../types';
2
+ export declare const systemClassName: <TProps extends SystemProps = SystemProps>(props: TProps) => string;
@@ -0,0 +1,2 @@
1
+ import { TypographySystemProps } from '../../types';
2
+ export declare const typographySystemClassName: <TProps extends TypographySystemProps>({ textAlign, ...props }: TProps) => string;
@@ -0,0 +1,2 @@
1
+ export * from './useLayoutEffect';
2
+ export * from './useMediaQuery';
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const useLayoutEffect: typeof React.useLayoutEffect;
@@ -0,0 +1,2 @@
1
+ import type { MatchBreakpointsType } from '../types';
2
+ export declare const useMediaQuery: (query: MatchBreakpointsType) => boolean;
@@ -0,0 +1,4 @@
1
+ export * from './components';
2
+ export * from './hooks';
3
+ export * from './types';
4
+ export * from './helpers/systemPropsHelper/forwardRef';